// Uint16sUintptrsF creates a new slice with the results of calling the provided function on every element in the given array.
// If the given function returns an error, the element will be ignored.
Uint16sUintptrsF creates a new slice with the results of calling the provided function on every element in the given array.
If the given function returns an error, the element will be ignored.
// Uint16sUintptrsF creates a new slice with the results of calling the provided function on every element in the given array . // If the given function returns an error the element will be ignored .
func Uint16sUintptrsF(s []uint16, f func(s uint16) (uintptr, error)) uintptrs.Uintptrs {
	m := uintptrs.Uintptrs(make([]uintptr, 0, len(s)))
	var (
		x   uintptr
		err error
	)
	for _, v := range s {
		x, err = f(v)
		if err != nil {
			continue
		}
		m = append(m, x)
	}
	return m
}
func Uint16sUintptrsF ( s [ ] uint16 , f func ( s uint16 ) ( uintptr , error ) ) uintptrs . Uintptrs { m := uintptrs . Uintptrs ( make ( [ ] uintptr , 0 , len ( s ) ) ) var ( x uintptr err error ) for _ , v := range s { x , err = f ( v ) if err != nil { continue } m = append ( m , x ) } return m }
Uint16sUintptrsF creates a new slice with the results of calling the provided function on every element in the given array.
Uint16sUintptrsF creates a new slice with the results of calling the provided function on every element in the given array .