package reflect2

Import Path
	github.com/modern-go/reflect2 (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 2 packages


Package-Level Type Names (total 21)
/* sort by: | */
( API) Type2(type1 reflect.Type) Type ( API) TypeOf(obj interface{}) Type
( ArrayType) AssignableTo(anotherType Type) bool ( ArrayType) Elem() Type ( ArrayType) GetIndex(obj interface{}, index int) interface{} ( ArrayType) Implements(thatType Type) bool Indirect dereference object represented pointer to this type ( ArrayType) IsNil(obj interface{}) bool ( ArrayType) IsNullable() bool ( ArrayType) Kind() reflect.Kind ( ArrayType) Len() int interface{} of this type has pointer like behavior New return pointer to data of this type PackEFace cast a unsafe pointer to object represented pointer ( ArrayType) RType() uintptr ( ArrayType) Set(obj interface{}, val interface{}) ( ArrayType) SetIndex(obj interface{}, index int, elem interface{}) ( ArrayType) String() string Type1 returns reflect.Type ( ArrayType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer UnsafeIndirect dereference pointer to this type ( ArrayType) UnsafeIsNil(ptr unsafe.Pointer) bool UnsafeNew return the allocated space pointed by unsafe.Pointer ( ArrayType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) ( ArrayType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer) *UnsafeArrayType *UnsafeSliceType ArrayType : ListType ArrayType : PtrType ArrayType : Type ArrayType : expvar.Var ArrayType : fmt.Stringer
UseSafeImplementation bool ( Config) Froze() *frozenConfig
( InterfaceType) NumMethod() int UnsafeArrayType UnsafeEFaceType UnsafeIFaceType UnsafeMapType UnsafePtrType UnsafeSliceType UnsafeStructType *github.com/goccy/go-json/internal/runtime.Type *internal/abi.ArrayType *internal/abi.ChanType *internal/abi.FuncType *internal/abi.InterfaceType *internal/abi.OldMapType *internal/abi.PtrType *internal/abi.SliceType *internal/abi.StructType *internal/abi.SwissMapType *internal/abi.Type reflect.Type (interface) reflect.Value
( ListType) AssignableTo(anotherType Type) bool ( ListType) Elem() Type ( ListType) GetIndex(obj interface{}, index int) interface{} ( ListType) Implements(thatType Type) bool Indirect dereference object represented pointer to this type ( ListType) IsNil(obj interface{}) bool ( ListType) IsNullable() bool ( ListType) Kind() reflect.Kind interface{} of this type has pointer like behavior New return pointer to data of this type PackEFace cast a unsafe pointer to object represented pointer ( ListType) RType() uintptr ( ListType) Set(obj interface{}, val interface{}) ( ListType) SetIndex(obj interface{}, index int, elem interface{}) ( ListType) String() string Type1 returns reflect.Type ( ListType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer UnsafeIndirect dereference pointer to this type ( ListType) UnsafeIsNil(ptr unsafe.Pointer) bool UnsafeNew return the allocated space pointed by unsafe.Pointer ( ListType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) ( ListType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer) ArrayType (interface) SliceType (interface) *UnsafeArrayType *UnsafeSliceType ListType : PtrType ListType : Type ListType : expvar.Var ListType : fmt.Stringer
( MapIterator) HasNext() bool ( MapIterator) Next() (key interface{}, elem interface{}) ( MapIterator) UnsafeNext() (key unsafe.Pointer, elem unsafe.Pointer) *UnsafeMapIterator func MapType.Iterate(obj interface{}) MapIterator func MapType.UnsafeIterate(obj unsafe.Pointer) MapIterator func (*UnsafeMapType).Iterate(obj interface{}) MapIterator func (*UnsafeMapType).UnsafeIterate(obj unsafe.Pointer) MapIterator
( MapType) AssignableTo(anotherType Type) bool ( MapType) Elem() Type ( MapType) GetIndex(obj interface{}, key interface{}) interface{} ( MapType) Implements(thatType Type) bool Indirect dereference object represented pointer to this type ( MapType) IsNil(obj interface{}) bool ( MapType) IsNullable() bool ( MapType) Iterate(obj interface{}) MapIterator ( MapType) Key() Type ( MapType) Kind() reflect.Kind interface{} of this type has pointer like behavior ( MapType) MakeMap(cap int) interface{} New return pointer to data of this type PackEFace cast a unsafe pointer to object represented pointer ( MapType) RType() uintptr ( MapType) Set(obj interface{}, val interface{}) ( MapType) SetIndex(obj interface{}, key interface{}, elem interface{}) ( MapType) String() string ( MapType) TryGetIndex(obj interface{}, key interface{}) (interface{}, bool) Type1 returns reflect.Type ( MapType) UnsafeGetIndex(obj unsafe.Pointer, key unsafe.Pointer) unsafe.Pointer UnsafeIndirect dereference pointer to this type ( MapType) UnsafeIsNil(ptr unsafe.Pointer) bool ( MapType) UnsafeIterate(obj unsafe.Pointer) MapIterator ( MapType) UnsafeMakeMap(cap int) unsafe.Pointer UnsafeNew return the allocated space pointed by unsafe.Pointer ( MapType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) ( MapType) UnsafeSetIndex(obj unsafe.Pointer, key unsafe.Pointer, elem unsafe.Pointer) *UnsafeMapType MapType : PtrType MapType : Type MapType : expvar.Var MapType : fmt.Stringer
( PtrType) AssignableTo(anotherType Type) bool ( PtrType) Elem() Type ( PtrType) Implements(thatType Type) bool Indirect dereference object represented pointer to this type ( PtrType) IsNil(obj interface{}) bool ( PtrType) IsNullable() bool ( PtrType) Kind() reflect.Kind interface{} of this type has pointer like behavior New return pointer to data of this type PackEFace cast a unsafe pointer to object represented pointer ( PtrType) RType() uintptr ( PtrType) Set(obj interface{}, val interface{}) ( PtrType) String() string Type1 returns reflect.Type UnsafeIndirect dereference pointer to this type ( PtrType) UnsafeIsNil(ptr unsafe.Pointer) bool UnsafeNew return the allocated space pointed by unsafe.Pointer ( PtrType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) ArrayType (interface) ListType (interface) MapType (interface) SliceType (interface) *UnsafeArrayType *UnsafeEFaceType *UnsafeIFaceType *UnsafeMapType *UnsafePtrType *UnsafeSliceType *UnsafeStructType PtrType : Type PtrType : expvar.Var PtrType : fmt.Stringer func TypeOfPtr(obj interface{}) PtrType
( SliceType) Append(obj interface{}, elem interface{}) ( SliceType) AssignableTo(anotherType Type) bool ( SliceType) Cap(obj interface{}) int ( SliceType) Elem() Type ( SliceType) GetIndex(obj interface{}, index int) interface{} ( SliceType) Grow(obj interface{}, newLength int) ( SliceType) Implements(thatType Type) bool Indirect dereference object represented pointer to this type ( SliceType) IsNil(obj interface{}) bool ( SliceType) IsNullable() bool ( SliceType) Kind() reflect.Kind ( SliceType) LengthOf(obj interface{}) int interface{} of this type has pointer like behavior ( SliceType) MakeSlice(length int, cap int) interface{} New return pointer to data of this type PackEFace cast a unsafe pointer to object represented pointer ( SliceType) RType() uintptr ( SliceType) Set(obj interface{}, val interface{}) ( SliceType) SetIndex(obj interface{}, index int, elem interface{}) ( SliceType) SetNil(obj interface{}) ( SliceType) String() string Type1 returns reflect.Type ( SliceType) UnsafeAppend(obj unsafe.Pointer, elem unsafe.Pointer) ( SliceType) UnsafeCap(ptr unsafe.Pointer) int ( SliceType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer ( SliceType) UnsafeGrow(ptr unsafe.Pointer, newLength int) UnsafeIndirect dereference pointer to this type ( SliceType) UnsafeIsNil(ptr unsafe.Pointer) bool ( SliceType) UnsafeLengthOf(ptr unsafe.Pointer) int ( SliceType) UnsafeMakeSlice(length int, cap int) unsafe.Pointer UnsafeNew return the allocated space pointed by unsafe.Pointer ( SliceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) ( SliceType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer) ( SliceType) UnsafeSetNil(ptr unsafe.Pointer) *UnsafeSliceType SliceType : ListType SliceType : PtrType SliceType : Type SliceType : expvar.Var SliceType : fmt.Stringer
( StructField) Anonymous() bool ( StructField) Get(obj interface{}) interface{} ( StructField) Index() []int ( StructField) Name() string ( StructField) Offset() uintptr ( StructField) PkgPath() string ( StructField) Set(obj interface{}, value interface{}) ( StructField) Tag() reflect.StructTag ( StructField) Type() Type ( StructField) UnsafeGet(obj unsafe.Pointer) unsafe.Pointer ( StructField) UnsafeSet(obj unsafe.Pointer, value unsafe.Pointer) *UnsafeStructField StructField : github.com/polarsignals/frostdb/query/logicalplan.Named func StructType.Field(i int) StructField func StructType.FieldByIndex(index []int) StructField func StructType.FieldByName(name string) StructField func StructType.FieldByNameFunc(match func(string) bool) StructField func (*UnsafeStructType).Field(i int) StructField func (*UnsafeStructType).FieldByIndex(index []int) StructField func (*UnsafeStructType).FieldByName(name string) StructField func (*UnsafeStructType).FieldByNameFunc(match func(string) bool) StructField
( StructType) AssignableTo(anotherType Type) bool ( StructType) Field(i int) StructField ( StructType) FieldByIndex(index []int) StructField ( StructType) FieldByName(name string) StructField ( StructType) FieldByNameFunc(match func(string) bool) StructField ( StructType) Implements(thatType Type) bool Indirect dereference object represented pointer to this type ( StructType) IsNil(obj interface{}) bool ( StructType) IsNullable() bool ( StructType) Kind() reflect.Kind interface{} of this type has pointer like behavior New return pointer to data of this type ( StructType) NumField() int PackEFace cast a unsafe pointer to object represented pointer ( StructType) RType() uintptr ( StructType) Set(obj interface{}, val interface{}) ( StructType) String() string Type1 returns reflect.Type UnsafeIndirect dereference pointer to this type ( StructType) UnsafeIsNil(ptr unsafe.Pointer) bool UnsafeNew return the allocated space pointed by unsafe.Pointer ( StructType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) *UnsafeStructType StructType : Type StructType : expvar.Var StructType : fmt.Stringer
( Type) AssignableTo(anotherType Type) bool ( Type) Implements(thatType Type) bool Indirect dereference object represented pointer to this type ( Type) IsNil(obj interface{}) bool ( Type) IsNullable() bool ( Type) Kind() reflect.Kind interface{} of this type has pointer like behavior New return pointer to data of this type PackEFace cast a unsafe pointer to object represented pointer ( Type) RType() uintptr ( Type) Set(obj interface{}, val interface{}) ( Type) String() string Type1 returns reflect.Type UnsafeIndirect dereference pointer to this type ( Type) UnsafeIsNil(ptr unsafe.Pointer) bool UnsafeNew return the allocated space pointed by unsafe.Pointer ( Type) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) ArrayType (interface) ListType (interface) MapType (interface) PtrType (interface) SliceType (interface) StructType (interface) *UnsafeArrayType *UnsafeEFaceType *UnsafeIFaceType *UnsafeMapType *UnsafePtrType *UnsafeSliceType *UnsafeStructType Type : expvar.Var Type : fmt.Stringer func DefaultTypeOfKind(kind reflect.Kind) Type func PtrTo(typ Type) Type func Type2(type1 reflect.Type) Type func TypeByName(typeName string) Type func TypeByPackageName(pkgPath string, name string) Type func TypeOf(obj interface{}) Type func API.Type2(type1 reflect.Type) Type func API.TypeOf(obj interface{}) Type func ArrayType.Elem() Type func ListType.Elem() Type func MapType.Elem() Type func MapType.Key() Type func PtrType.Elem() Type func SliceType.Elem() Type func StructField.Type() Type func (*UnsafeMapType).Key() Type func (*UnsafeStructField).Type() Type func github.com/hamba/avro/v2.(*TypeResolver).Type(name string) (Type, error) func PtrTo(typ Type) Type func ArrayType.AssignableTo(anotherType Type) bool func ArrayType.Implements(thatType Type) bool func ListType.AssignableTo(anotherType Type) bool func ListType.Implements(thatType Type) bool func MapType.AssignableTo(anotherType Type) bool func MapType.Implements(thatType Type) bool func PtrType.AssignableTo(anotherType Type) bool func PtrType.Implements(thatType Type) bool func SliceType.AssignableTo(anotherType Type) bool func SliceType.Implements(thatType Type) bool func StructType.AssignableTo(anotherType Type) bool func StructType.Implements(thatType Type) bool func Type.AssignableTo(anotherType Type) bool func Type.Implements(thatType Type) bool func github.com/hamba/avro/v2.API.DecoderOf(schema avro.Schema, typ Type) avro.ValDecoder func github.com/hamba/avro/v2.API.EncoderOf(schema avro.Schema, typ Type) avro.ValEncoder func github.com/hamba/avro/v2.(*TypeResolver).Name(typ Type) ([]string, error) func github.com/json-iterator/go.API.DecoderOf(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.API.EncoderOf(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.DecoderExtension.CreateDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.DecoderExtension.CreateEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.DecoderExtension.CreateMapKeyDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.DecoderExtension.CreateMapKeyEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.DecoderExtension.DecorateDecoder(typ Type, decoder jsoniter.ValDecoder) jsoniter.ValDecoder func github.com/json-iterator/go.DecoderExtension.DecorateEncoder(typ Type, encoder jsoniter.ValEncoder) jsoniter.ValEncoder func github.com/json-iterator/go.(*DummyExtension).CreateDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.(*DummyExtension).CreateEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.(*DummyExtension).CreateMapKeyDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.(*DummyExtension).CreateMapKeyEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.(*DummyExtension).DecorateDecoder(typ Type, decoder jsoniter.ValDecoder) jsoniter.ValDecoder func github.com/json-iterator/go.(*DummyExtension).DecorateEncoder(typ Type, encoder jsoniter.ValEncoder) jsoniter.ValEncoder func github.com/json-iterator/go.EncoderExtension.CreateDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.EncoderExtension.CreateEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.EncoderExtension.CreateMapKeyDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.EncoderExtension.CreateMapKeyEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.EncoderExtension.DecorateDecoder(typ Type, decoder jsoniter.ValDecoder) jsoniter.ValDecoder func github.com/json-iterator/go.EncoderExtension.DecorateEncoder(typ Type, encoder jsoniter.ValEncoder) jsoniter.ValEncoder func github.com/json-iterator/go.Extension.CreateDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.Extension.CreateEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.Extension.CreateMapKeyDecoder(typ Type) jsoniter.ValDecoder func github.com/json-iterator/go.Extension.CreateMapKeyEncoder(typ Type) jsoniter.ValEncoder func github.com/json-iterator/go.Extension.DecorateDecoder(typ Type, decoder jsoniter.ValDecoder) jsoniter.ValDecoder func github.com/json-iterator/go.Extension.DecorateEncoder(typ Type, encoder jsoniter.ValEncoder) jsoniter.ValEncoder
unsafeType.safeType.Type reflect.Type Align returns the alignment in bytes of a value of this type when allocated in memory. (*UnsafeArrayType) AssignableTo(anotherType Type) bool Bits returns the size of the type in bits. It panics if the type's Kind is not one of the sized or unsized Int, Uint, Float, or Complex kinds. CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq]. CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2]. ChanDir returns a channel type's direction. It panics if the type's Kind is not Chan. Comparable reports whether values of this type are comparable. Even if Comparable returns true, the comparison may still panic. For example, values of interface type are comparable, but the comparison will panic if their dynamic type is not comparable. ConvertibleTo reports whether a value of the type is convertible to type u. Even if ConvertibleTo returns true, the conversion may still panic. For example, a slice of type []T is convertible to *[N]T, but the conversion will panic if its length is less than N. (*UnsafeArrayType) Elem() Type Field returns a struct type's i'th field. It panics if the type's Kind is not Struct. It panics if i is not in the range [0, NumField()). FieldAlign returns the alignment in bytes of a value of this type when used as a field in a struct. FieldByIndex returns the nested field corresponding to the index sequence. It is equivalent to calling Field successively for each index i. It panics if the type's Kind is not Struct. FieldByName returns the struct field with the given name and a boolean indicating if the field was found. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. FieldByNameFunc returns the struct field with a name that satisfies the match function and a boolean indicating if the field was found. FieldByNameFunc considers the fields in the struct itself and then the fields in any embedded structs, in breadth first order, stopping at the shallowest nesting depth containing one or more fields satisfying the match function. If multiple fields at that depth satisfy the match function, they cancel each other and FieldByNameFunc returns no match. This behavior mirrors Go's handling of name lookup in structs containing embedded fields. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. (*UnsafeArrayType) GetIndex(obj interface{}, index int) interface{} (*UnsafeArrayType) Implements(thatType Type) bool In returns the type of a function type's i'th input parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumIn()). (*UnsafeArrayType) Indirect(obj interface{}) interface{} (*UnsafeArrayType) IsNil(obj interface{}) bool (*UnsafeArrayType) IsNullable() bool IsVariadic reports whether a function type's final input parameter is a "..." parameter. If so, t.In(t.NumIn() - 1) returns the parameter's implicit actual type []T. For concreteness, if t represents func(x int, y ... float64), then t.NumIn() == 2 t.In(0) is the reflect.Type for "int" t.In(1) is the reflect.Type for "[]float64" t.IsVariadic() == true IsVariadic panics if the type's Kind is not Func. Key returns a map type's key type. It panics if the type's Kind is not Map. Kind returns the specific kind of this type. Len returns an array type's length. It panics if the type's Kind is not Array. (*UnsafeArrayType) LikePtr() bool Method returns the i'th method in the type's method set. It panics if i is not in the range [0, NumMethod()). For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver, and only exported methods are accessible. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Methods are sorted in lexicographic order. Calling this method will force the linker to retain all exported methods in all packages. This may make the executable binary larger but will not affect execution time. MethodByName returns the method with that name in the type's method set and a boolean indicating if the method was found. For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Calling this method will cause the linker to retain all methods with this name in all packages. If the linker can't determine the name, it will retain all exported methods. This may make the executable binary larger but will not affect execution time. Name returns the type's name within its package for a defined type. For other (non-defined) types it returns the empty string. (*UnsafeArrayType) New() interface{} NumField returns a struct type's field count. It panics if the type's Kind is not Struct. NumIn returns a function type's input parameter count. It panics if the type's Kind is not Func. NumMethod returns the number of methods accessible using Method. For a non-interface type, it returns the number of exported methods. For an interface type, it returns the number of exported and unexported methods. NumOut returns a function type's output parameter count. It panics if the type's Kind is not Func. Out returns the type of a function type's i'th output parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumOut()). OverflowComplex reports whether the complex128 x cannot be represented by type t. It panics if t's Kind is not Complex64 or Complex128. OverflowFloat reports whether the float64 x cannot be represented by type t. It panics if t's Kind is not Float32 or Float64. OverflowInt reports whether the int64 x cannot be represented by type t. It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64. OverflowUint reports whether the uint64 x cannot be represented by type t. It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64. (*UnsafeArrayType) PackEFace(ptr unsafe.Pointer) interface{} PkgPath returns a defined type's package path, that is, the import path that uniquely identifies the package, such as "encoding/base64". If the type was predeclared (string, error) or not defined (*T, struct{}, []int, or A where A is an alias for a non-defined type), the package path will be the empty string. (*UnsafeArrayType) RType() uintptr (*UnsafeArrayType) Set(obj interface{}, val interface{}) (*UnsafeArrayType) SetIndex(obj interface{}, index int, elem interface{}) Size returns the number of bytes needed to store a value of the given type; it is analogous to unsafe.Sizeof. String returns a string representation of the type. The string representation may use shortened package names (e.g., base64 instead of "encoding/base64") and is not guaranteed to be unique among types. To test for type identity, compare the Types directly. (*UnsafeArrayType) Type1() reflect.Type (*UnsafeArrayType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer (*UnsafeArrayType) UnsafeIndirect(ptr unsafe.Pointer) interface{} (*UnsafeArrayType) UnsafeIsNil(ptr unsafe.Pointer) bool (*UnsafeArrayType) UnsafeNew() unsafe.Pointer (*UnsafeArrayType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) (*UnsafeArrayType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer) *UnsafeArrayType : ArrayType UnsafeArrayType : InterfaceType *UnsafeArrayType : ListType *UnsafeArrayType : PtrType *UnsafeArrayType : Type UnsafeArrayType : github.com/polarsignals/frostdb/query/logicalplan.Named UnsafeArrayType : expvar.Var UnsafeArrayType : fmt.Stringer
unsafeType.safeType.Type reflect.Type Align returns the alignment in bytes of a value of this type when allocated in memory. (*UnsafeEFaceType) AssignableTo(anotherType Type) bool Bits returns the size of the type in bits. It panics if the type's Kind is not one of the sized or unsized Int, Uint, Float, or Complex kinds. CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq]. CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2]. ChanDir returns a channel type's direction. It panics if the type's Kind is not Chan. Comparable reports whether values of this type are comparable. Even if Comparable returns true, the comparison may still panic. For example, values of interface type are comparable, but the comparison will panic if their dynamic type is not comparable. ConvertibleTo reports whether a value of the type is convertible to type u. Even if ConvertibleTo returns true, the conversion may still panic. For example, a slice of type []T is convertible to *[N]T, but the conversion will panic if its length is less than N. (*UnsafeEFaceType) Elem() Type Field returns a struct type's i'th field. It panics if the type's Kind is not Struct. It panics if i is not in the range [0, NumField()). FieldAlign returns the alignment in bytes of a value of this type when used as a field in a struct. FieldByIndex returns the nested field corresponding to the index sequence. It is equivalent to calling Field successively for each index i. It panics if the type's Kind is not Struct. FieldByName returns the struct field with the given name and a boolean indicating if the field was found. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. FieldByNameFunc returns the struct field with a name that satisfies the match function and a boolean indicating if the field was found. FieldByNameFunc considers the fields in the struct itself and then the fields in any embedded structs, in breadth first order, stopping at the shallowest nesting depth containing one or more fields satisfying the match function. If multiple fields at that depth satisfy the match function, they cancel each other and FieldByNameFunc returns no match. This behavior mirrors Go's handling of name lookup in structs containing embedded fields. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. (*UnsafeEFaceType) Implements(thatType Type) bool In returns the type of a function type's i'th input parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumIn()). (*UnsafeEFaceType) Indirect(obj interface{}) interface{} (*UnsafeEFaceType) IsNil(obj interface{}) bool (*UnsafeEFaceType) IsNullable() bool IsVariadic reports whether a function type's final input parameter is a "..." parameter. If so, t.In(t.NumIn() - 1) returns the parameter's implicit actual type []T. For concreteness, if t represents func(x int, y ... float64), then t.NumIn() == 2 t.In(0) is the reflect.Type for "int" t.In(1) is the reflect.Type for "[]float64" t.IsVariadic() == true IsVariadic panics if the type's Kind is not Func. Key returns a map type's key type. It panics if the type's Kind is not Map. Kind returns the specific kind of this type. Len returns an array type's length. It panics if the type's Kind is not Array. (*UnsafeEFaceType) LikePtr() bool Method returns the i'th method in the type's method set. It panics if i is not in the range [0, NumMethod()). For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver, and only exported methods are accessible. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Methods are sorted in lexicographic order. Calling this method will force the linker to retain all exported methods in all packages. This may make the executable binary larger but will not affect execution time. MethodByName returns the method with that name in the type's method set and a boolean indicating if the method was found. For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Calling this method will cause the linker to retain all methods with this name in all packages. If the linker can't determine the name, it will retain all exported methods. This may make the executable binary larger but will not affect execution time. Name returns the type's name within its package for a defined type. For other (non-defined) types it returns the empty string. (*UnsafeEFaceType) New() interface{} NumField returns a struct type's field count. It panics if the type's Kind is not Struct. NumIn returns a function type's input parameter count. It panics if the type's Kind is not Func. NumMethod returns the number of methods accessible using Method. For a non-interface type, it returns the number of exported methods. For an interface type, it returns the number of exported and unexported methods. NumOut returns a function type's output parameter count. It panics if the type's Kind is not Func. Out returns the type of a function type's i'th output parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumOut()). OverflowComplex reports whether the complex128 x cannot be represented by type t. It panics if t's Kind is not Complex64 or Complex128. OverflowFloat reports whether the float64 x cannot be represented by type t. It panics if t's Kind is not Float32 or Float64. OverflowInt reports whether the int64 x cannot be represented by type t. It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64. OverflowUint reports whether the uint64 x cannot be represented by type t. It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64. (*UnsafeEFaceType) PackEFace(ptr unsafe.Pointer) interface{} PkgPath returns a defined type's package path, that is, the import path that uniquely identifies the package, such as "encoding/base64". If the type was predeclared (string, error) or not defined (*T, struct{}, []int, or A where A is an alias for a non-defined type), the package path will be the empty string. (*UnsafeEFaceType) RType() uintptr (*UnsafeEFaceType) Set(obj interface{}, val interface{}) Size returns the number of bytes needed to store a value of the given type; it is analogous to unsafe.Sizeof. String returns a string representation of the type. The string representation may use shortened package names (e.g., base64 instead of "encoding/base64") and is not guaranteed to be unique among types. To test for type identity, compare the Types directly. (*UnsafeEFaceType) Type1() reflect.Type (*UnsafeEFaceType) UnsafeIndirect(ptr unsafe.Pointer) interface{} (*UnsafeEFaceType) UnsafeIsNil(ptr unsafe.Pointer) bool (*UnsafeEFaceType) UnsafeNew() unsafe.Pointer (*UnsafeEFaceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) UnsafeEFaceType : InterfaceType *UnsafeEFaceType : PtrType *UnsafeEFaceType : Type UnsafeEFaceType : github.com/polarsignals/frostdb/query/logicalplan.Named UnsafeEFaceType : expvar.Var UnsafeEFaceType : fmt.Stringer
unsafeType.safeType.Type reflect.Type Align returns the alignment in bytes of a value of this type when allocated in memory. (*UnsafeIFaceType) AssignableTo(anotherType Type) bool Bits returns the size of the type in bits. It panics if the type's Kind is not one of the sized or unsized Int, Uint, Float, or Complex kinds. CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq]. CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2]. ChanDir returns a channel type's direction. It panics if the type's Kind is not Chan. Comparable reports whether values of this type are comparable. Even if Comparable returns true, the comparison may still panic. For example, values of interface type are comparable, but the comparison will panic if their dynamic type is not comparable. ConvertibleTo reports whether a value of the type is convertible to type u. Even if ConvertibleTo returns true, the conversion may still panic. For example, a slice of type []T is convertible to *[N]T, but the conversion will panic if its length is less than N. (*UnsafeIFaceType) Elem() Type Field returns a struct type's i'th field. It panics if the type's Kind is not Struct. It panics if i is not in the range [0, NumField()). FieldAlign returns the alignment in bytes of a value of this type when used as a field in a struct. FieldByIndex returns the nested field corresponding to the index sequence. It is equivalent to calling Field successively for each index i. It panics if the type's Kind is not Struct. FieldByName returns the struct field with the given name and a boolean indicating if the field was found. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. FieldByNameFunc returns the struct field with a name that satisfies the match function and a boolean indicating if the field was found. FieldByNameFunc considers the fields in the struct itself and then the fields in any embedded structs, in breadth first order, stopping at the shallowest nesting depth containing one or more fields satisfying the match function. If multiple fields at that depth satisfy the match function, they cancel each other and FieldByNameFunc returns no match. This behavior mirrors Go's handling of name lookup in structs containing embedded fields. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. (*UnsafeIFaceType) Implements(thatType Type) bool In returns the type of a function type's i'th input parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumIn()). (*UnsafeIFaceType) Indirect(obj interface{}) interface{} (*UnsafeIFaceType) IsNil(obj interface{}) bool (*UnsafeIFaceType) IsNullable() bool IsVariadic reports whether a function type's final input parameter is a "..." parameter. If so, t.In(t.NumIn() - 1) returns the parameter's implicit actual type []T. For concreteness, if t represents func(x int, y ... float64), then t.NumIn() == 2 t.In(0) is the reflect.Type for "int" t.In(1) is the reflect.Type for "[]float64" t.IsVariadic() == true IsVariadic panics if the type's Kind is not Func. Key returns a map type's key type. It panics if the type's Kind is not Map. Kind returns the specific kind of this type. Len returns an array type's length. It panics if the type's Kind is not Array. (*UnsafeIFaceType) LikePtr() bool Method returns the i'th method in the type's method set. It panics if i is not in the range [0, NumMethod()). For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver, and only exported methods are accessible. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Methods are sorted in lexicographic order. Calling this method will force the linker to retain all exported methods in all packages. This may make the executable binary larger but will not affect execution time. MethodByName returns the method with that name in the type's method set and a boolean indicating if the method was found. For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Calling this method will cause the linker to retain all methods with this name in all packages. If the linker can't determine the name, it will retain all exported methods. This may make the executable binary larger but will not affect execution time. Name returns the type's name within its package for a defined type. For other (non-defined) types it returns the empty string. (*UnsafeIFaceType) New() interface{} NumField returns a struct type's field count. It panics if the type's Kind is not Struct. NumIn returns a function type's input parameter count. It panics if the type's Kind is not Func. NumMethod returns the number of methods accessible using Method. For a non-interface type, it returns the number of exported methods. For an interface type, it returns the number of exported and unexported methods. NumOut returns a function type's output parameter count. It panics if the type's Kind is not Func. Out returns the type of a function type's i'th output parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumOut()). OverflowComplex reports whether the complex128 x cannot be represented by type t. It panics if t's Kind is not Complex64 or Complex128. OverflowFloat reports whether the float64 x cannot be represented by type t. It panics if t's Kind is not Float32 or Float64. OverflowInt reports whether the int64 x cannot be represented by type t. It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64. OverflowUint reports whether the uint64 x cannot be represented by type t. It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64. (*UnsafeIFaceType) PackEFace(ptr unsafe.Pointer) interface{} PkgPath returns a defined type's package path, that is, the import path that uniquely identifies the package, such as "encoding/base64". If the type was predeclared (string, error) or not defined (*T, struct{}, []int, or A where A is an alias for a non-defined type), the package path will be the empty string. (*UnsafeIFaceType) RType() uintptr (*UnsafeIFaceType) Set(obj interface{}, val interface{}) Size returns the number of bytes needed to store a value of the given type; it is analogous to unsafe.Sizeof. String returns a string representation of the type. The string representation may use shortened package names (e.g., base64 instead of "encoding/base64") and is not guaranteed to be unique among types. To test for type identity, compare the Types directly. (*UnsafeIFaceType) Type1() reflect.Type (*UnsafeIFaceType) UnsafeIndirect(ptr unsafe.Pointer) interface{} (*UnsafeIFaceType) UnsafeIsNil(ptr unsafe.Pointer) bool (*UnsafeIFaceType) UnsafeNew() unsafe.Pointer (*UnsafeIFaceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) UnsafeIFaceType : InterfaceType *UnsafeIFaceType : PtrType *UnsafeIFaceType : Type UnsafeIFaceType : github.com/polarsignals/frostdb/query/logicalplan.Named UnsafeIFaceType : expvar.Var UnsafeIFaceType : fmt.Stringer
hiter.B uint8 (*UnsafeMapIterator) HasNext() bool (*UnsafeMapIterator) Next() (interface{}, interface{}) (*UnsafeMapIterator) UnsafeNext() (unsafe.Pointer, unsafe.Pointer) *UnsafeMapIterator : MapIterator
unsafeType.safeType.Type reflect.Type Align returns the alignment in bytes of a value of this type when allocated in memory. (*UnsafeMapType) AssignableTo(anotherType Type) bool Bits returns the size of the type in bits. It panics if the type's Kind is not one of the sized or unsized Int, Uint, Float, or Complex kinds. CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq]. CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2]. ChanDir returns a channel type's direction. It panics if the type's Kind is not Chan. Comparable reports whether values of this type are comparable. Even if Comparable returns true, the comparison may still panic. For example, values of interface type are comparable, but the comparison will panic if their dynamic type is not comparable. ConvertibleTo reports whether a value of the type is convertible to type u. Even if ConvertibleTo returns true, the conversion may still panic. For example, a slice of type []T is convertible to *[N]T, but the conversion will panic if its length is less than N. (*UnsafeMapType) Elem() Type Field returns a struct type's i'th field. It panics if the type's Kind is not Struct. It panics if i is not in the range [0, NumField()). FieldAlign returns the alignment in bytes of a value of this type when used as a field in a struct. FieldByIndex returns the nested field corresponding to the index sequence. It is equivalent to calling Field successively for each index i. It panics if the type's Kind is not Struct. FieldByName returns the struct field with the given name and a boolean indicating if the field was found. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. FieldByNameFunc returns the struct field with a name that satisfies the match function and a boolean indicating if the field was found. FieldByNameFunc considers the fields in the struct itself and then the fields in any embedded structs, in breadth first order, stopping at the shallowest nesting depth containing one or more fields satisfying the match function. If multiple fields at that depth satisfy the match function, they cancel each other and FieldByNameFunc returns no match. This behavior mirrors Go's handling of name lookup in structs containing embedded fields. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. (*UnsafeMapType) GetIndex(obj interface{}, key interface{}) interface{} (*UnsafeMapType) Implements(thatType Type) bool In returns the type of a function type's i'th input parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumIn()). (*UnsafeMapType) Indirect(obj interface{}) interface{} (*UnsafeMapType) IsNil(obj interface{}) bool (*UnsafeMapType) IsNullable() bool IsVariadic reports whether a function type's final input parameter is a "..." parameter. If so, t.In(t.NumIn() - 1) returns the parameter's implicit actual type []T. For concreteness, if t represents func(x int, y ... float64), then t.NumIn() == 2 t.In(0) is the reflect.Type for "int" t.In(1) is the reflect.Type for "[]float64" t.IsVariadic() == true IsVariadic panics if the type's Kind is not Func. (*UnsafeMapType) Iterate(obj interface{}) MapIterator (*UnsafeMapType) Key() Type Kind returns the specific kind of this type. Len returns an array type's length. It panics if the type's Kind is not Array. (*UnsafeMapType) LikePtr() bool (*UnsafeMapType) MakeMap(cap int) interface{} Method returns the i'th method in the type's method set. It panics if i is not in the range [0, NumMethod()). For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver, and only exported methods are accessible. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Methods are sorted in lexicographic order. Calling this method will force the linker to retain all exported methods in all packages. This may make the executable binary larger but will not affect execution time. MethodByName returns the method with that name in the type's method set and a boolean indicating if the method was found. For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Calling this method will cause the linker to retain all methods with this name in all packages. If the linker can't determine the name, it will retain all exported methods. This may make the executable binary larger but will not affect execution time. Name returns the type's name within its package for a defined type. For other (non-defined) types it returns the empty string. (*UnsafeMapType) New() interface{} NumField returns a struct type's field count. It panics if the type's Kind is not Struct. NumIn returns a function type's input parameter count. It panics if the type's Kind is not Func. NumMethod returns the number of methods accessible using Method. For a non-interface type, it returns the number of exported methods. For an interface type, it returns the number of exported and unexported methods. NumOut returns a function type's output parameter count. It panics if the type's Kind is not Func. Out returns the type of a function type's i'th output parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumOut()). OverflowComplex reports whether the complex128 x cannot be represented by type t. It panics if t's Kind is not Complex64 or Complex128. OverflowFloat reports whether the float64 x cannot be represented by type t. It panics if t's Kind is not Float32 or Float64. OverflowInt reports whether the int64 x cannot be represented by type t. It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64. OverflowUint reports whether the uint64 x cannot be represented by type t. It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64. (*UnsafeMapType) PackEFace(ptr unsafe.Pointer) interface{} PkgPath returns a defined type's package path, that is, the import path that uniquely identifies the package, such as "encoding/base64". If the type was predeclared (string, error) or not defined (*T, struct{}, []int, or A where A is an alias for a non-defined type), the package path will be the empty string. (*UnsafeMapType) RType() uintptr (*UnsafeMapType) Set(obj interface{}, val interface{}) (*UnsafeMapType) SetIndex(obj interface{}, key interface{}, elem interface{}) Size returns the number of bytes needed to store a value of the given type; it is analogous to unsafe.Sizeof. String returns a string representation of the type. The string representation may use shortened package names (e.g., base64 instead of "encoding/base64") and is not guaranteed to be unique among types. To test for type identity, compare the Types directly. (*UnsafeMapType) TryGetIndex(obj interface{}, key interface{}) (interface{}, bool) (*UnsafeMapType) Type1() reflect.Type (*UnsafeMapType) UnsafeGetIndex(obj unsafe.Pointer, key unsafe.Pointer) unsafe.Pointer (*UnsafeMapType) UnsafeIndirect(ptr unsafe.Pointer) interface{} (*UnsafeMapType) UnsafeIsNil(ptr unsafe.Pointer) bool (*UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator (*UnsafeMapType) UnsafeMakeMap(cap int) unsafe.Pointer (*UnsafeMapType) UnsafeNew() unsafe.Pointer (*UnsafeMapType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) (*UnsafeMapType) UnsafeSetIndex(obj unsafe.Pointer, key unsafe.Pointer, elem unsafe.Pointer) UnsafeMapType : InterfaceType *UnsafeMapType : MapType *UnsafeMapType : PtrType *UnsafeMapType : Type UnsafeMapType : github.com/polarsignals/frostdb/query/logicalplan.Named UnsafeMapType : expvar.Var UnsafeMapType : fmt.Stringer
unsafeType.safeType.Type reflect.Type Align returns the alignment in bytes of a value of this type when allocated in memory. (*UnsafePtrType) AssignableTo(anotherType Type) bool Bits returns the size of the type in bits. It panics if the type's Kind is not one of the sized or unsized Int, Uint, Float, or Complex kinds. CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq]. CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2]. ChanDir returns a channel type's direction. It panics if the type's Kind is not Chan. Comparable reports whether values of this type are comparable. Even if Comparable returns true, the comparison may still panic. For example, values of interface type are comparable, but the comparison will panic if their dynamic type is not comparable. ConvertibleTo reports whether a value of the type is convertible to type u. Even if ConvertibleTo returns true, the conversion may still panic. For example, a slice of type []T is convertible to *[N]T, but the conversion will panic if its length is less than N. (*UnsafePtrType) Elem() Type Field returns a struct type's i'th field. It panics if the type's Kind is not Struct. It panics if i is not in the range [0, NumField()). FieldAlign returns the alignment in bytes of a value of this type when used as a field in a struct. FieldByIndex returns the nested field corresponding to the index sequence. It is equivalent to calling Field successively for each index i. It panics if the type's Kind is not Struct. FieldByName returns the struct field with the given name and a boolean indicating if the field was found. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. FieldByNameFunc returns the struct field with a name that satisfies the match function and a boolean indicating if the field was found. FieldByNameFunc considers the fields in the struct itself and then the fields in any embedded structs, in breadth first order, stopping at the shallowest nesting depth containing one or more fields satisfying the match function. If multiple fields at that depth satisfy the match function, they cancel each other and FieldByNameFunc returns no match. This behavior mirrors Go's handling of name lookup in structs containing embedded fields. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. (*UnsafePtrType) Implements(thatType Type) bool In returns the type of a function type's i'th input parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumIn()). (*UnsafePtrType) Indirect(obj interface{}) interface{} (*UnsafePtrType) IsNil(obj interface{}) bool (*UnsafePtrType) IsNullable() bool IsVariadic reports whether a function type's final input parameter is a "..." parameter. If so, t.In(t.NumIn() - 1) returns the parameter's implicit actual type []T. For concreteness, if t represents func(x int, y ... float64), then t.NumIn() == 2 t.In(0) is the reflect.Type for "int" t.In(1) is the reflect.Type for "[]float64" t.IsVariadic() == true IsVariadic panics if the type's Kind is not Func. Key returns a map type's key type. It panics if the type's Kind is not Map. Kind returns the specific kind of this type. Len returns an array type's length. It panics if the type's Kind is not Array. (*UnsafePtrType) LikePtr() bool Method returns the i'th method in the type's method set. It panics if i is not in the range [0, NumMethod()). For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver, and only exported methods are accessible. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Methods are sorted in lexicographic order. Calling this method will force the linker to retain all exported methods in all packages. This may make the executable binary larger but will not affect execution time. MethodByName returns the method with that name in the type's method set and a boolean indicating if the method was found. For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Calling this method will cause the linker to retain all methods with this name in all packages. If the linker can't determine the name, it will retain all exported methods. This may make the executable binary larger but will not affect execution time. Name returns the type's name within its package for a defined type. For other (non-defined) types it returns the empty string. (*UnsafePtrType) New() interface{} NumField returns a struct type's field count. It panics if the type's Kind is not Struct. NumIn returns a function type's input parameter count. It panics if the type's Kind is not Func. NumMethod returns the number of methods accessible using Method. For a non-interface type, it returns the number of exported methods. For an interface type, it returns the number of exported and unexported methods. NumOut returns a function type's output parameter count. It panics if the type's Kind is not Func. Out returns the type of a function type's i'th output parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumOut()). OverflowComplex reports whether the complex128 x cannot be represented by type t. It panics if t's Kind is not Complex64 or Complex128. OverflowFloat reports whether the float64 x cannot be represented by type t. It panics if t's Kind is not Float32 or Float64. OverflowInt reports whether the int64 x cannot be represented by type t. It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64. OverflowUint reports whether the uint64 x cannot be represented by type t. It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64. (*UnsafePtrType) PackEFace(ptr unsafe.Pointer) interface{} PkgPath returns a defined type's package path, that is, the import path that uniquely identifies the package, such as "encoding/base64". If the type was predeclared (string, error) or not defined (*T, struct{}, []int, or A where A is an alias for a non-defined type), the package path will be the empty string. (*UnsafePtrType) RType() uintptr (*UnsafePtrType) Set(obj interface{}, val interface{}) Size returns the number of bytes needed to store a value of the given type; it is analogous to unsafe.Sizeof. String returns a string representation of the type. The string representation may use shortened package names (e.g., base64 instead of "encoding/base64") and is not guaranteed to be unique among types. To test for type identity, compare the Types directly. (*UnsafePtrType) Type1() reflect.Type (*UnsafePtrType) UnsafeIndirect(ptr unsafe.Pointer) interface{} (*UnsafePtrType) UnsafeIsNil(ptr unsafe.Pointer) bool (*UnsafePtrType) UnsafeNew() unsafe.Pointer (*UnsafePtrType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) UnsafePtrType : InterfaceType *UnsafePtrType : PtrType *UnsafePtrType : Type UnsafePtrType : github.com/polarsignals/frostdb/query/logicalplan.Named UnsafePtrType : expvar.Var UnsafePtrType : fmt.Stringer
unsafeType.safeType.Type reflect.Type Align returns the alignment in bytes of a value of this type when allocated in memory. (*UnsafeSliceType) Append(obj interface{}, elem interface{}) (*UnsafeSliceType) AssignableTo(anotherType Type) bool Bits returns the size of the type in bits. It panics if the type's Kind is not one of the sized or unsized Int, Uint, Float, or Complex kinds. CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq]. CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2]. (*UnsafeSliceType) Cap(obj interface{}) int ChanDir returns a channel type's direction. It panics if the type's Kind is not Chan. Comparable reports whether values of this type are comparable. Even if Comparable returns true, the comparison may still panic. For example, values of interface type are comparable, but the comparison will panic if their dynamic type is not comparable. ConvertibleTo reports whether a value of the type is convertible to type u. Even if ConvertibleTo returns true, the conversion may still panic. For example, a slice of type []T is convertible to *[N]T, but the conversion will panic if its length is less than N. (*UnsafeSliceType) Elem() Type Field returns a struct type's i'th field. It panics if the type's Kind is not Struct. It panics if i is not in the range [0, NumField()). FieldAlign returns the alignment in bytes of a value of this type when used as a field in a struct. FieldByIndex returns the nested field corresponding to the index sequence. It is equivalent to calling Field successively for each index i. It panics if the type's Kind is not Struct. FieldByName returns the struct field with the given name and a boolean indicating if the field was found. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. FieldByNameFunc returns the struct field with a name that satisfies the match function and a boolean indicating if the field was found. FieldByNameFunc considers the fields in the struct itself and then the fields in any embedded structs, in breadth first order, stopping at the shallowest nesting depth containing one or more fields satisfying the match function. If multiple fields at that depth satisfy the match function, they cancel each other and FieldByNameFunc returns no match. This behavior mirrors Go's handling of name lookup in structs containing embedded fields. If the returned field is promoted from an embedded struct, then Offset in the returned StructField is the offset in the embedded struct. (*UnsafeSliceType) GetIndex(obj interface{}, index int) interface{} (*UnsafeSliceType) Grow(obj interface{}, newLength int) (*UnsafeSliceType) Implements(thatType Type) bool In returns the type of a function type's i'th input parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumIn()). (*UnsafeSliceType) Indirect(obj interface{}) interface{} (*UnsafeSliceType) IsNil(obj interface{}) bool (*UnsafeSliceType) IsNullable() bool IsVariadic reports whether a function type's final input parameter is a "..." parameter. If so, t.In(t.NumIn() - 1) returns the parameter's implicit actual type []T. For concreteness, if t represents func(x int, y ... float64), then t.NumIn() == 2 t.In(0) is the reflect.Type for "int" t.In(1) is the reflect.Type for "[]float64" t.IsVariadic() == true IsVariadic panics if the type's Kind is not Func. Key returns a map type's key type. It panics if the type's Kind is not Map. Kind returns the specific kind of this type. Len returns an array type's length. It panics if the type's Kind is not Array. (*UnsafeSliceType) LengthOf(obj interface{}) int (*UnsafeSliceType) LikePtr() bool (*UnsafeSliceType) MakeSlice(length int, cap int) interface{} Method returns the i'th method in the type's method set. It panics if i is not in the range [0, NumMethod()). For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver, and only exported methods are accessible. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Methods are sorted in lexicographic order. Calling this method will force the linker to retain all exported methods in all packages. This may make the executable binary larger but will not affect execution time. MethodByName returns the method with that name in the type's method set and a boolean indicating if the method was found. For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Calling this method will cause the linker to retain all methods with this name in all packages. If the linker can't determine the name, it will retain all exported methods. This may make the executable binary larger but will not affect execution time. Name returns the type's name within its package for a defined type. For other (non-defined) types it returns the empty string. (*UnsafeSliceType) New() interface{} NumField returns a struct type's field count. It panics if the type's Kind is not Struct. NumIn returns a function type's input parameter count. It panics if the type's Kind is not Func. NumMethod returns the number of methods accessible using Method. For a non-interface type, it returns the number of exported methods. For an interface type, it returns the number of exported and unexported methods. NumOut returns a function type's output parameter count. It panics if the type's Kind is not Func. Out returns the type of a function type's i'th output parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumOut()). OverflowComplex reports whether the complex128 x cannot be represented by type t. It panics if t's Kind is not Complex64 or Complex128. OverflowFloat reports whether the float64 x cannot be represented by type t. It panics if t's Kind is not Float32 or Float64. OverflowInt reports whether the int64 x cannot be represented by type t. It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64. OverflowUint reports whether the uint64 x cannot be represented by type t. It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64. (*UnsafeSliceType) PackEFace(ptr unsafe.Pointer) interface{} PkgPath returns a defined type's package path, that is, the import path that uniquely identifies the package, such as "encoding/base64". If the type was predeclared (string, error) or not defined (*T, struct{}, []int, or A where A is an alias for a non-defined type), the package path will be the empty string. (*UnsafeSliceType) RType() uintptr (*UnsafeSliceType) Set(obj interface{}, val interface{}) (*UnsafeSliceType) SetIndex(obj interface{}, index int, elem interface{}) (*UnsafeSliceType) SetNil(obj interface{}) Size returns the number of bytes needed to store a value of the given type; it is analogous to unsafe.Sizeof. String returns a string representation of the type. The string representation may use shortened package names (e.g., base64 instead of "encoding/base64") and is not guaranteed to be unique among types. To test for type identity, compare the Types directly. (*UnsafeSliceType) Type1() reflect.Type (*UnsafeSliceType) UnsafeAppend(obj unsafe.Pointer, elem unsafe.Pointer) (*UnsafeSliceType) UnsafeCap(ptr unsafe.Pointer) int (*UnsafeSliceType) UnsafeGetIndex(obj unsafe.Pointer, index int) unsafe.Pointer (*UnsafeSliceType) UnsafeGrow(obj unsafe.Pointer, newLength int) (*UnsafeSliceType) UnsafeIndirect(obj unsafe.Pointer) interface{} (*UnsafeSliceType) UnsafeIsNil(ptr unsafe.Pointer) bool (*UnsafeSliceType) UnsafeLengthOf(obj unsafe.Pointer) int (*UnsafeSliceType) UnsafeMakeSlice(length int, cap int) unsafe.Pointer (*UnsafeSliceType) UnsafeNew() unsafe.Pointer (*UnsafeSliceType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) (*UnsafeSliceType) UnsafeSetIndex(obj unsafe.Pointer, index int, elem unsafe.Pointer) (*UnsafeSliceType) UnsafeSetNil(ptr unsafe.Pointer) *UnsafeSliceType : ArrayType UnsafeSliceType : InterfaceType *UnsafeSliceType : ListType *UnsafeSliceType : PtrType *UnsafeSliceType : SliceType *UnsafeSliceType : Type UnsafeSliceType : github.com/polarsignals/frostdb/query/logicalplan.Named UnsafeSliceType : expvar.Var UnsafeSliceType : fmt.Stringer
StructField reflect.StructField (*UnsafeStructField) Anonymous() bool (*UnsafeStructField) Get(obj interface{}) interface{} (*UnsafeStructField) Index() []int IsExported reports whether the field is exported. (*UnsafeStructField) Name() string (*UnsafeStructField) Offset() uintptr (*UnsafeStructField) PkgPath() string (*UnsafeStructField) Set(obj interface{}, value interface{}) (*UnsafeStructField) Tag() reflect.StructTag (*UnsafeStructField) Type() Type (*UnsafeStructField) UnsafeGet(obj unsafe.Pointer) unsafe.Pointer (*UnsafeStructField) UnsafeSet(obj unsafe.Pointer, value unsafe.Pointer) *UnsafeStructField : StructField *UnsafeStructField : github.com/polarsignals/frostdb/query/logicalplan.Named
unsafeType.safeType.Type reflect.Type Align returns the alignment in bytes of a value of this type when allocated in memory. (*UnsafeStructType) AssignableTo(anotherType Type) bool Bits returns the size of the type in bits. It panics if the type's Kind is not one of the sized or unsized Int, Uint, Float, or Complex kinds. CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq]. CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2]. ChanDir returns a channel type's direction. It panics if the type's Kind is not Chan. Comparable reports whether values of this type are comparable. Even if Comparable returns true, the comparison may still panic. For example, values of interface type are comparable, but the comparison will panic if their dynamic type is not comparable. ConvertibleTo reports whether a value of the type is convertible to type u. Even if ConvertibleTo returns true, the conversion may still panic. For example, a slice of type []T is convertible to *[N]T, but the conversion will panic if its length is less than N. (*UnsafeStructType) Elem() Type (*UnsafeStructType) Field(i int) StructField FieldAlign returns the alignment in bytes of a value of this type when used as a field in a struct. (*UnsafeStructType) FieldByIndex(index []int) StructField (*UnsafeStructType) FieldByName(name string) StructField (*UnsafeStructType) FieldByNameFunc(match func(string) bool) StructField (*UnsafeStructType) Implements(thatType Type) bool In returns the type of a function type's i'th input parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumIn()). (*UnsafeStructType) Indirect(obj interface{}) interface{} (*UnsafeStructType) IsNil(obj interface{}) bool (*UnsafeStructType) IsNullable() bool IsVariadic reports whether a function type's final input parameter is a "..." parameter. If so, t.In(t.NumIn() - 1) returns the parameter's implicit actual type []T. For concreteness, if t represents func(x int, y ... float64), then t.NumIn() == 2 t.In(0) is the reflect.Type for "int" t.In(1) is the reflect.Type for "[]float64" t.IsVariadic() == true IsVariadic panics if the type's Kind is not Func. Key returns a map type's key type. It panics if the type's Kind is not Map. Kind returns the specific kind of this type. Len returns an array type's length. It panics if the type's Kind is not Array. (*UnsafeStructType) LikePtr() bool Method returns the i'th method in the type's method set. It panics if i is not in the range [0, NumMethod()). For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver, and only exported methods are accessible. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Methods are sorted in lexicographic order. Calling this method will force the linker to retain all exported methods in all packages. This may make the executable binary larger but will not affect execution time. MethodByName returns the method with that name in the type's method set and a boolean indicating if the method was found. For a non-interface type T or *T, the returned Method's Type and Func fields describe a function whose first argument is the receiver. For an interface type, the returned Method's Type field gives the method signature, without a receiver, and the Func field is nil. Calling this method will cause the linker to retain all methods with this name in all packages. If the linker can't determine the name, it will retain all exported methods. This may make the executable binary larger but will not affect execution time. Name returns the type's name within its package for a defined type. For other (non-defined) types it returns the empty string. (*UnsafeStructType) New() interface{} NumField returns a struct type's field count. It panics if the type's Kind is not Struct. NumIn returns a function type's input parameter count. It panics if the type's Kind is not Func. NumMethod returns the number of methods accessible using Method. For a non-interface type, it returns the number of exported methods. For an interface type, it returns the number of exported and unexported methods. NumOut returns a function type's output parameter count. It panics if the type's Kind is not Func. Out returns the type of a function type's i'th output parameter. It panics if the type's Kind is not Func. It panics if i is not in the range [0, NumOut()). OverflowComplex reports whether the complex128 x cannot be represented by type t. It panics if t's Kind is not Complex64 or Complex128. OverflowFloat reports whether the float64 x cannot be represented by type t. It panics if t's Kind is not Float32 or Float64. OverflowInt reports whether the int64 x cannot be represented by type t. It panics if t's Kind is not Int, Int8, Int16, Int32, or Int64. OverflowUint reports whether the uint64 x cannot be represented by type t. It panics if t's Kind is not Uint, Uintptr, Uint8, Uint16, Uint32, or Uint64. (*UnsafeStructType) PackEFace(ptr unsafe.Pointer) interface{} PkgPath returns a defined type's package path, that is, the import path that uniquely identifies the package, such as "encoding/base64". If the type was predeclared (string, error) or not defined (*T, struct{}, []int, or A where A is an alias for a non-defined type), the package path will be the empty string. (*UnsafeStructType) RType() uintptr (*UnsafeStructType) Set(obj interface{}, val interface{}) Size returns the number of bytes needed to store a value of the given type; it is analogous to unsafe.Sizeof. String returns a string representation of the type. The string representation may use shortened package names (e.g., base64 instead of "encoding/base64") and is not guaranteed to be unique among types. To test for type identity, compare the Types directly. (*UnsafeStructType) Type1() reflect.Type (*UnsafeStructType) UnsafeIndirect(ptr unsafe.Pointer) interface{} (*UnsafeStructType) UnsafeIsNil(ptr unsafe.Pointer) bool (*UnsafeStructType) UnsafeNew() unsafe.Pointer (*UnsafeStructType) UnsafeSet(ptr unsafe.Pointer, val unsafe.Pointer) UnsafeStructType : InterfaceType *UnsafeStructType : PtrType *UnsafeStructType : StructType *UnsafeStructType : Type UnsafeStructType : github.com/polarsignals/frostdb/query/logicalplan.Named UnsafeStructType : expvar.Var UnsafeStructType : fmt.Stringer
Package-Level Functions (total 14)
DefaultTypeOfKind return the non aliased default type for the kind
func IFaceToEFace(ptr unsafe.Pointer) interface{}
func IsNil(obj interface{}) bool
NoEscape hides a pointer from escape analysis. noescape is the identity function but escape analysis doesn't think the output depends on the input. noescape is inlined and currently compiles down to zero instructions. USE CAREFULLY!
func PtrOf(obj interface{}) unsafe.Pointer
func PtrTo(typ Type) Type
func RTypeOf(obj interface{}) uintptr
func Type2(type1 reflect.Type) Type
TypeByName return the type by its name, just like Class.forName in java
TypeByPackageName return the type by its package and name
func TypeOf(obj interface{}) Type
func TypeOfPtr(obj interface{}) PtrType
Package-Level Variables (total 2)