SYMBOL INDEX (218 symbols across 12 files) FILE: common.go type Kind (line 69) | type Kind constant Invalid (line 72) | Invalid Kind = iota constant Bool (line 73) | Bool constant Int (line 74) | Int constant Int8 (line 75) | Int8 constant Int16 (line 76) | Int16 constant Int32 (line 77) | Int32 constant Int64 (line 78) | Int64 constant Uint (line 79) | Uint constant Uint8 (line 80) | Uint8 constant Uint16 (line 81) | Uint16 constant Uint32 (line 82) | Uint32 constant Uint64 (line 83) | Uint64 constant Uintptr (line 84) | Uintptr constant Float32 (line 85) | Float32 constant Float64 (line 86) | Float64 constant Complex64 (line 87) | Complex64 constant Complex128 (line 88) | Complex128 constant Array (line 89) | Array constant Chan (line 90) | Chan constant Func (line 91) | Func constant Interface (line 92) | Interface constant Map (line 93) | Map constant Ptr (line 94) | Ptr constant ByteSlice (line 95) | ByteSlice constant String (line 96) | String constant Struct (line 97) | Struct constant UnsafePointer (line 98) | UnsafePointer function Marshal (line 122) | func Marshal(kind Kind, content interface{}) (data []byte, err error) { function UnMarshal (line 155) | func UnMarshal(kind Kind, data []byte) (content interface{}, err error) { function RawToByte (line 173) | func RawToByte(kind Kind, content interface{}) (data []byte, err error) { function ByteToRaw (line 179) | func ByteToRaw(kind Kind, data []byte) (content interface{}, err error) { FILE: example/xmap_test0.go function TestMap (line 49) | func TestMap(mm xmm.XMemory) { function TestHashMap (line 155) | func TestHashMap(mm xmm.XMemory) { function main (line 266) | func main() { FILE: example/xmap_test1.go function main (line 14) | func main() { FILE: example/xslice_test0.go function main (line 14) | func main() { FILE: xmap/concurrent_hash_map_benchmark_test.go function BenchmarkCHM_Put (line 37) | func BenchmarkCHM_Put(b *testing.B) { function BenchmarkCHM_Get (line 61) | func BenchmarkCHM_Get(b *testing.B) { function Test_CHM_Concurrent_Get (line 91) | func Test_CHM_Concurrent_Get(t *testing.T) { function TestGoCreateEntry (line 131) | func TestGoCreateEntry(t *testing.T) { function TestCreateEntry (line 152) | func TestCreateEntry(t *testing.T) { function TestFieldCopy (line 188) | func TestFieldCopy(t *testing.T) { FILE: xmap/concurrent_hash_map_test.go function TestMap (line 39) | func TestMap(t *testing.T) { function TestConcurrentRawHashMap_Performance (line 57) | func TestConcurrentRawHashMap_Performance(t *testing.T) { function TestConcurrentRawHashMap_Function_Second (line 78) | func TestConcurrentRawHashMap_Function_Second(t *testing.T) { function TestConcurrentRawHashMap_Function1 (line 131) | func TestConcurrentRawHashMap_Function1(t *testing.T) { function TestMMM (line 183) | func TestMMM(t *testing.T) { type A (line 216) | type A struct function TestSizeOf (line 221) | func TestSizeOf(t *testing.T) { type Bucket2 (line 226) | type Bucket2 struct function TestMMCopyString (line 239) | func TestMMCopyString(t *testing.T) { function TestGoCopyString (line 255) | func TestGoCopyString(t *testing.T) { type KV (line 271) | type KV struct function TestDataSet (line 276) | func TestDataSet(t *testing.T) { function RandString (line 291) | func RandString(len int) string { FILE: xmap/concurrent_raw_hash_map.go constant MinTransferStride (line 38) | MinTransferStride = 16 constant maximumCapacity (line 39) | maximumCapacity = 1 << 30 constant KeyExists (line 42) | KeyExists = true constant KeyNotExists (line 45) | KeyNotExists = false type ConcurrentRawHashMap (line 60) | type ConcurrentRawHashMap struct method getBucket (line 139) | func (chm *ConcurrentRawHashMap) getBucket(h uint64, tab *[]uintptr) *... method Get (line 150) | func (chm *ConcurrentRawHashMap) Get(key []byte) (val []byte, keyExist... method initForwardingEntries (line 171) | func (chm *ConcurrentRawHashMap) initForwardingEntries(newBuckets *[]u... method assignmentForwardingEntries (line 181) | func (chm *ConcurrentRawHashMap) assignmentForwardingEntries(newBucket... method initEntries (line 187) | func (chm *ConcurrentRawHashMap) initEntries(entry *entry.NodeEntry, i... method assignmentEntries (line 197) | func (chm *ConcurrentRawHashMap) assignmentEntries(entries *Bucket, en... method getStride (line 202) | func (chm *ConcurrentRawHashMap) getStride(length uint64) (stride uint... method resizeStamp (line 215) | func (chm *ConcurrentRawHashMap) resizeStamp(length uint64) (stride in... method helpTransform (line 219) | func (chm *ConcurrentRawHashMap) helpTransform(entry *entry.NodeEntry,... method indexAndInitBucket (line 237) | func (chm *ConcurrentRawHashMap) indexAndInitBucket(entry *entry.NodeE... method index (line 258) | func (chm *ConcurrentRawHashMap) index(h uint64, length int) uint64 { method tabAt (line 263) | func (chm *ConcurrentRawHashMap) tabAt(buckets *[]uintptr, idx uint64)... method getAndInitBucket (line 274) | func (chm *ConcurrentRawHashMap) getAndInitBucket(entry *entry.NodeEnt... method increaseSize (line 292) | func (chm *ConcurrentRawHashMap) increaseSize() (newSize uint64) { method createEntry (line 311) | func (chm *ConcurrentRawHashMap) createEntry(key []byte, val []byte, h... method entryAssignment (line 325) | func (chm *ConcurrentRawHashMap) entryAssignment(keyPtr []byte, valPtr... method entryAssignmentCpy (line 331) | func (chm *ConcurrentRawHashMap) entryAssignmentCpy(keyPtr []byte, val... method putVal (line 342) | func (chm *ConcurrentRawHashMap) putVal(key []byte, val []byte, h uint... method Put (line 366) | func (chm *ConcurrentRawHashMap) Put(key []byte, val []byte) error { method Del (line 381) | func (chm *ConcurrentRawHashMap) Del(key []byte) error { method delVal (line 386) | func (chm *ConcurrentRawHashMap) delVal(key []byte, h uint64) error { method freeEntry (line 445) | func (chm *ConcurrentRawHashMap) freeEntry(removeNode *entry.NodeEntry... method growTree (line 462) | func (chm *ConcurrentRawHashMap) growTree(bucket *Bucket) error { method PutBucketValue (line 485) | func (chm *ConcurrentRawHashMap) PutBucketValue(bucket *Bucket, node *... method expandCap (line 525) | func (chm *ConcurrentRawHashMap) expandCap(tab *[]uintptr) (s *Snapsho... method reHashSize (line 567) | func (chm *ConcurrentRawHashMap) reHashSize(tab *[]uintptr) error { method freeBuckets (line 620) | func (chm *ConcurrentRawHashMap) freeBuckets(buckets *[]uintptr) error { method increaseTransferIndex (line 635) | func (chm *ConcurrentRawHashMap) increaseTransferIndex(cap uint64, str... method reSizeBuckets (line 648) | func (chm *ConcurrentRawHashMap) reSizeBuckets(s *Snapshot) error { method reSizeBucket (line 712) | func (chm *ConcurrentRawHashMap) reSizeBucket(entries *Bucket, s *Snap... method TreeSplice (line 755) | func (chm *ConcurrentRawHashMap) TreeSplice(node *entry.NodeEntry, ind... method spliceEntry2 (line 769) | func (chm *ConcurrentRawHashMap) spliceEntry2(entries *Bucket, mask ui... method spliceBucket2 (line 810) | func (chm *ConcurrentRawHashMap) spliceBucket2(old *entry.NodeEntry, n... method indexBucket (line 831) | func (chm *ConcurrentRawHashMap) indexBucket(idx int, tab *[]uintptr) ... method ForEach (line 842) | func (chm *ConcurrentRawHashMap) ForEach(fun func(key, val []byte) err... method TreeForEach (line 863) | func (chm *ConcurrentRawHashMap) TreeForEach(fun func(key, val []byte)... type Bucket (line 84) | type Bucket struct type ForwardingBucket (line 96) | type ForwardingBucket struct type Snapshot (line 104) | type Snapshot struct function NewDefaultConcurrentRawHashMap (line 112) | func NewDefaultConcurrentRawHashMap(mm xmm.XMemory) (*ConcurrentRawHashM... function NewConcurrentRawHashMap (line 121) | func NewConcurrentRawHashMap(mm xmm.XMemory, cap uintptr, fact float64, ... type Chain (line 688) | type Chain struct method Add (line 694) | func (c *Chain) Add(node *entry.NodeEntry) { method GetHead (line 705) | func (c *Chain) GetHead() *entry.NodeEntry { function BKDRHashWithSpread (line 876) | func BKDRHashWithSpread(str []byte) uint64 { FILE: xmap/entry/rbtree.go type NodeEntry (line 38) | type NodeEntry struct method String (line 137) | func (n *NodeEntry) String() string { method Parent (line 145) | func (n *NodeEntry) Parent() *NodeEntry { method SetColor (line 150) | func (n *NodeEntry) SetColor(color Color) { method Color (line 155) | func (n *NodeEntry) Color() Color { method Left (line 160) | func (n *NodeEntry) Left() *NodeEntry { method Right (line 165) | func (n *NodeEntry) Right() *NodeEntry { function round (line 50) | func round(n, a uint64) uint64 { type encodedNodeEntry (line 54) | type encodedNodeEntry struct type Color (line 96) | type Color method String (line 101) | func (c Color) String() string { type Direction (line 99) | type Direction method String (line 110) | func (d Direction) String() string { constant BLACK (line 124) | BLACK, RED Color = true, false constant LEFT (line 127) | LEFT Direction = iota constant RIGHT (line 128) | RIGHT constant NODIR (line 129) | NODIR type Visitor (line 170) | type Visitor interface type Visitable (line 175) | type Visitable interface type Comparator (line 182) | type Comparator function IntComparator (line 187) | func IntComparator(o1, o2 interface{}) int { function StringComparator (line 203) | func StringComparator(o1, o2 interface{}) int { type Tree (line 210) | type Tree struct method SetComparator (line 254) | func (t *Tree) SetComparator(c Comparator) { method Get (line 260) | func (t *Tree) Get(key []byte) (bool, []byte) { method getNode (line 272) | func (t *Tree) getNode(key interface{}) (bool, *NodeEntry) { method getMinimum (line 295) | func (t *Tree) getMinimum(x *NodeEntry) *NodeEntry { method GetParent (line 306) | func (t *Tree) GetParent(key interface{}) (found bool, parent *NodeEnt... method internalLookup (line 320) | func (t *Tree) internalLookup(parent *NodeEntry, this *NodeEntry, key ... method RotateRight (line 336) | func (t *Tree) RotateRight(y *NodeEntry) { method RotateLeft (line 367) | func (t *Tree) RotateLeft(x *NodeEntry) { method Put (line 400) | func (t *Tree) Put(node *NodeEntry) error { method fixupPut (line 465) | func (t *Tree) fixupPut(z *NodeEntry) { method Size (line 542) | func (t *Tree) Size() uint64 { method Has (line 549) | func (t *Tree) Has(key interface{}) bool { method transplant (line 558) | func (t *Tree) transplant(u *NodeEntry, v *NodeEntry) { method Delete (line 573) | func (t *Tree) Delete(key []byte) *NodeEntry { method fixupDelete (line 626) | func (t *Tree) fixupDelete(x *NodeEntry) { method Walk (line 720) | func (t *Tree) Walk(visitor Visitor) { method GetRoot (line 725) | func (t *Tree) GetRoot() *NodeEntry { function init (line 220) | func init() { function TraceOn (line 225) | func TraceOn() { function TraceOff (line 231) | func TraceOff() { function SetOutput (line 236) | func SetOutput(w io.Writer) { function NewTree (line 244) | func NewTree() *Tree { function NewTreeWith (line 249) | func NewTreeWith(c Comparator) *Tree { function isRed (line 448) | func isRed(n *NodeEntry) bool { type countingVisitor (line 731) | type countingVisitor struct method Visit (line 736) | func (v *countingVisitor) Visit(node *NodeEntry) { type InorderVisitor (line 749) | type InorderVisitor struct method Eq (line 754) | func (v *InorderVisitor) Eq(other *InorderVisitor) bool { method trim (line 761) | func (v *InorderVisitor) trim(s string) string { method String (line 766) | func (v *InorderVisitor) String() string { method Visit (line 771) | func (v *InorderVisitor) Visit(node *NodeEntry) { type HookVisitor (line 785) | type HookVisitor struct method Visit (line 790) | func (v *HookVisitor) Visit(node *NodeEntry) { function mustBeValidKey (line 809) | func mustBeValidKey(key interface{}) error { FILE: xmap/map_test.go type User (line 45) | type User struct function round (line 54) | func round(n uintptr) uintptr { type mmanClass (line 58) | type mmanClass method sizeclass (line 64) | func (sc mmanClass) sizeclass() int8 { method noscan (line 68) | func (sc mmanClass) noscan() bool { function makemmanClass (line 60) | func makemmanClass(sizeclass uint8, noscan bool) mmanClass { function bool2int (line 72) | func bool2int(x bool) int { function Init (line 78) | func Init() { function Test_xmmanPool222 (line 94) | func Test_xmmanPool222(t *testing.T) { function TestPointer2 (line 141) | func TestPointer2(t *testing.T) { function TestPointer (line 180) | func TestPointer(t *testing.T) { function TestRBTree (line 224) | func TestRBTree(t *testing.T) { function Test_NewDefaultConcurrentHashMap (line 254) | func Test_NewDefaultConcurrentHashMap(t *testing.T) { function TestXmap_ForEach (line 278) | func TestXmap_ForEach(t *testing.T) { FILE: xmap/xmap.go type XMap (line 34) | type XMap struct method Set (line 78) | func (xm *XMap) Set(key interface{}, val interface{}) (err error) { method Remove (line 83) | func (xm *XMap) Remove(key interface{}) (err error) { method Get (line 88) | func (xm *XMap) Get(key interface{}) (val interface{}, keyExists bool,... method Each (line 93) | func (xm *XMap) Each(f func(key, val interface{}) error) error { method Len (line 98) | func (xm *XMap) Len() uint64 { function NewMap (line 48) | func NewMap(mm xmm.XMemory, keyKind xds.Kind, valKind xds.Kind) (*XMap, ... function NewMapEx (line 69) | func NewMapEx(mm xmm.XMemory, keyKind xds.Kind, valKind xds.Kind, capSiz... type RawMap (line 110) | type RawMap struct method Set (line 125) | func (xm *RawMap) Set(key []byte, val []byte) error { method Remove (line 130) | func (xm *RawMap) Remove(key []byte) error { method Get (line 135) | func (xm *RawMap) Get(key []byte) ([]byte, bool, error) { method Each (line 140) | func (xm *RawMap) Each(f func(key, val []byte) error) error { method Len (line 145) | func (xm *RawMap) Len() uint64 { function NewHashMap (line 116) | func NewHashMap(mm xmm.XMemory) (*RawMap, error) { type ConcurrentHashMap (line 161) | type ConcurrentHashMap struct method Get (line 191) | func (chm *ConcurrentHashMap) Get(key interface{}) (val interface{}, k... method Put (line 210) | func (chm *ConcurrentHashMap) Put(key interface{}, val interface{}) (e... method Del (line 222) | func (chm *ConcurrentHashMap) Del(key interface{}) (err error) { method ForEach (line 232) | func (chm *ConcurrentHashMap) ForEach(fun func(key, val interface{}) e... method Len (line 247) | func (chm *ConcurrentHashMap) Len() uint64 { function NewDefaultConcurrentHashMap (line 171) | func NewDefaultConcurrentHashMap(mm xmm.XMemory, keyKind, valKind xds.Ki... function NewConcurrentHashMap (line 182) | func NewConcurrentHashMap(mm xmm.XMemory, cap uintptr, fact float64, tre... FILE: xslice/xslice.go type _gap (line 13) | type _gap constant _blockSize (line 14) | _blockSize int = 8 type Xslice (line 16) | type Xslice struct method Append (line 61) | func(xs *Xslice) Append(v interface{}) (*Xslice,error) { method Set (line 94) | func (xs *Xslice) Set(n int,v interface{}) error { method Get (line 121) | func (xs *Xslice) Get(n int) (interface{}, error) { method Free (line 137) | func (xs *Xslice) Free () { method ForEach (line 149) | func(xs *Xslice) ForEach(f func(i int, v interface{}) error) error{ method Len (line 177) | func (xs *Xslice) Len() int { method increase (line 184) | func (xs *Xslice) increase() *Xslice { function NewXslice (line 42) | func NewXslice(_type xds.Kind,_cap int) *Xslice { FILE: xslice/xslice_test.go function TestNewXslice (line 11) | func TestNewXslice(t *testing.T) { function TestXslice_Append (line 16) | func TestXslice_Append(t *testing.T) { function TestXslice_Set (line 27) | func TestXslice_Set(t *testing.T) { function TestXslice_Get (line 40) | func TestXslice_Get(t *testing.T) { function TestXslice_Free (line 56) | func TestXslice_Free(t *testing.T) { function TestXslice_ForEach (line 70) | func TestXslice_ForEach(t *testing.T) { function TestXslice_Len (line 90) | func TestXslice_Len(t *testing.T) {