MCPcopy Create free account

hub / github.com/cockroachdb/swiss / types & classes

Types & classes26 in github.com/cockroachdb/swiss

↓ 7 callersTypeAliasctrl
Each slot in the hash table has a control byte which can have one of three states: empty, deleted, and full. They have the following bit patterns:
map.go:1477
↓ 4 callersTypeAliasbitset
bitset represents a set of slots within a group. The underlying representation uses one byte per slot, where each byte is either 0x80 if the slot is
map.go:1441
↓ 2 callersTypeAliasctrlGroup
ctrlGroup is a fixed size array of groupSize control bytes stored in a uint64. See Get() and Set() methods implemented in endian_*.go.
map.go:1483
InterfaceAllocator
Allocator specifies an interface for allocating and releasing memory used by a Map. The default allocator utilizes Go's builtin make() and allows the
options.go:60
StructGroup
Group holds groupSize control bytes and slots.
map.go:229
StructMap
Map is an unordered map from keys to values with Put, Get, Delete, and All operations. Map is inspired by Google's Swiss Tables design as implemented
map.go:283
InterfaceOption
Option provides an interface for passing configuration parameters for Map initialization.
options.go:21
StructallocatorOption
options.go:78
InterfacebenchTypes
bench_test.go:113
Structbucket
bucket implements Google's Swiss Tables hash table design. A Map is composed of 1 or more buckets that are addressed using extendible hashing.
map.go:236
StructcountingAllocator
map_test.go:454
StructdefaultAllocator
options.go:69
FuncTypehashFn
func(key unsafe.Pointer, seed uintptr) uintptr
runtime_go1.20.go:34
StructhashOption
options.go:25
StructmaxBucketCapacityOption
options.go:38
StructnoCopy
noCopy may be added to structs which must not be copied after the first use. See https://golang.org/issues/8005#issuecomment-190753527 for details.
map.go:1707
StructprobeSeq
probeSeq maintains the state for a probe sequence that iterates through the groups in a bucket. The sequence is a triangular progression of the form
map.go:1609
StructrtEface
From runtime/runtime2.go:eface
runtime_go1.20.go:56
StructrtMapType
From internal/abi/type.go:MapType In go 1.24, this is a prefix of both abi.SwissMapType and abi.OldMapType.
runtime_go1.20.go:63
TypeAliasrtNameOff
runtime_go1.20.go:75
TypeAliasrtTFlag
runtime_go1.20.go:74
StructrtType
From internal/abi/type.go:Type
runtime_go1.20.go:79
TypeAliasrtTypeOff
runtime_go1.20.go:76
Structslot
slot holds a key and value.
map.go:223
StructslotGroup
slotGroup is a fixed size array of groupSize slots. The keys and values are stored interleaved in slots with a memory layout that looks like K/V/K/V/
map.go:1581
StructunsafeSlice
unsafeSlice provides semi-ergonomic limited slice-like functionality without bounds checking for fixed sized slices.
map.go:1660