kubernetes/vendor/github.com/modern-go/reflect2/unsafe_slice.go

type sliceHeader

type UnsafeSliceType

func newUnsafeSliceType(cfg *frozenConfig, type1 reflect.Type) SliceType {}

func (type2 *UnsafeSliceType) Set(obj interface{}

func (type2 *UnsafeSliceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) {}

func (type2 *UnsafeSliceType) IsNil(obj interface{}

func (type2 *UnsafeSliceType) UnsafeIsNil(ptr unsafe.Pointer) bool {}

func (type2 *UnsafeSliceType) SetNil(obj interface{}

func (type2 *UnsafeSliceType) UnsafeSetNil(ptr unsafe.Pointer) {}

func (type2 *UnsafeSliceType) MakeSlice(length int, cap int) interface{}

func (type2 *UnsafeSliceType) UnsafeMakeSlice(length int, cap int) unsafe.Pointer {}

func (type2 *UnsafeSliceType) LengthOf(obj interface{}

func (type2 *UnsafeSliceType) UnsafeLengthOf(obj unsafe.Pointer) int {}

func (type2 *UnsafeSliceType) SetIndex(obj interface{}

func (type2 *UnsafeSliceType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer) {}

func (type2 *UnsafeSliceType) GetIndex(obj interface{}

func (type2 *UnsafeSliceType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer {}

func (type2 *UnsafeSliceType) Append(obj interface{}

func (type2 *UnsafeSliceType) UnsafeAppend(obj unsafe.Pointer, elem unsafe.Pointer) {}

func (type2 *UnsafeSliceType) Cap(obj interface{}

func (type2 *UnsafeSliceType) UnsafeCap(ptr unsafe.Pointer) int {}

func (type2 *UnsafeSliceType) Grow(obj interface{}

func (type2 *UnsafeSliceType) UnsafeGrow(obj unsafe.Pointer, newLength int) {}

func calcNewCap(cap int, expectedCap int) int {}