Documentation
¶
Index ¶
- Constants
- func ChoiceKeyFromMap[T int32 | float32 | string, V int32 | float32 | string | bool | uint32](m map[T]V) T
- func EncodeValueAndRIDToDicOrderComparableVarchar(orgVal *types.Value, rid *page.RID) *types.Value
- func ExtractOrgKeyFromDicOrderComparableEncodedVarchar(encodedVal *types.Value, valType types.TypeID) *types.Value
- func FileExists(filename string) bool
- func GetPonterOfValue(value types.Value) *types.Value
- func GetRandomPrimitiveVal[T int32 | float32 | string](keyType types.TypeID, maxVal interface{}) T
- func GetRandomStr(maxLength int32) *string
- func GetValueForSkipListEntry(val interface{}) uint64
- func IsContainList[T comparable](list interface{}, searchItem interface{}) bool
- func IsFlagUp(val uint32) bool
- func PackRIDtoUint32(value *page.RID) uint32
- func PackRIDtoUint64(value *page.RID) uint64
- func RemovePrimitiveFromList[T int32 | float32 | string](list []T, elem T) []T
- func SetFlag(val uint32) uint32
- func StrideAdd(base interface{}, k interface{}) interface{}
- func StrideMul(base interface{}, k interface{}) interface{}
- func TimeoutPanic()
- func UnpackUint32toRID(value uint32) page.RID
- func UnpackUint64toRID(value uint64) page.RID
- func UnsetFlag(val uint32) uint32
Constants ¶
View Source
const SIGN_MASK_BIG uint32 = 0x80000000
View Source
const SIGN_MASK_SMALL byte = 0x80
Variables ¶
This section is empty.
Functions ¶
func ChoiceKeyFromMap ¶ added in v0.0.4
func EncodeValueAndRIDToDicOrderComparableVarchar ¶ added in v0.0.4
func ExtractOrgKeyFromDicOrderComparableEncodedVarchar ¶ added in v0.0.4
func FileExists ¶
func GetRandomPrimitiveVal ¶
maxVal is *int32 when get int32 and float32
func GetValueForSkipListEntry ¶
func GetValueForSkipListEntry(val interface{}) uint64
func IsContainList ¶
func IsContainList[T comparable](list interface{}, searchItem interface{}) bool
func PackRIDtoUint32 ¶
func PackRIDtoUint64 ¶
func RemovePrimitiveFromList ¶
func TimeoutPanic ¶
func TimeoutPanic()
func UnpackUint32toRID ¶
func UnpackUint64toRID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.