Documentation ¶
Overview ¶
Package internal Author: hyphen Copyright 2024 hyphen. All rights reserved. Create-time: 2024/3/12
Package internal Author: hyphen Copyright 2024 hyphen. All rights reserved. Create-time: 2024/3/18
Package internal Author: hyphen Copyright 2024 hyphen. All rights reserved. Create-time: 2024/3/12
Package internal Author: hyphen Copyright 2024 hyphen. All rights reserved. Create-time: 2024/4/2
Index ¶
- Constants
- func Lowhash(hash uintptr, B uint8) uintptr
- func MemAllocMmap[T any](len int) (uintptr, uintptr, error)
- func MemFreeMunmap(addr uintptr, offset uintptr) error
- func MemFreeMunmapG[T any](addr uintptr, len int) error
- func OverLoadFactor(count int, B uint8) bool
- func ScaleG[T any](data uintptr, old, new int, sw *uintptr) (uintptr, uintptr, error)
- func Tophash(hash uintptr) uint8
- type Hasher
- type SysCallErr
- type TestType
Constants ¶
View Source
const PtrSize = 4 << (^uintptr(0) >> 63)
Variables ¶
This section is empty.
Functions ¶
func MemFreeMunmap ¶
func OverLoadFactor ¶ added in v0.1.0
Types ¶
type Hasher ¶ added in v0.0.2
func GetRuntimeHasher ¶ added in v0.0.2
func GetRuntimeHasher[K comparable]() (h Hasher, seed uintptr)
type SysCallErr ¶
func NewSysCallErr ¶
func NewSysCallErr(e syscall.Errno, m string) *SysCallErr
func (*SysCallErr) Error ¶
func (s *SysCallErr) Error() string
type TestType ¶ added in v0.1.0
type TestType struct { Str string Map map[string]string Value int Str2 string Str3 string Str4 string Str5 string Str6 string Str7 string Str8 string Value2 int Value3 int Value4 int Value5 int Value6 int Value7 int }
func GenTestType ¶ added in v0.1.0
func GenTestType() *TestType
Click to show internal directories.
Click to hide internal directories.