MCPcopy Create free account

hub / github.com/badgerodon/collections / functions

Functions109 in github.com/badgerodon/collections

↓ 6 callersMethodSize
()
collections.go:49
↓ 5 callersFunctionmod
(x, y T)
collections.go:112
↓ 4 callersFunctionMap
Map maps all the values in a collection to a new collection.
collection.go:17
↓ 4 callersFunctionNewPair
NewPair creates a new Pair.
tuples.go:10
↓ 3 callersMethodDelete
(value T)
collections.go:46
↓ 3 callersMethodPopBack
()
collections.go:14
↓ 3 callersMethodPushBack
(value T)
collections.go:16
↓ 3 callersMethodSet
(key TKey, value TValue)
collections.go:28
↓ 3 callersMethodresize
(size int)
slice.go:105
↓ 2 callersMethodForEach
(callback func(T) bool)
collections.go:47
↓ 2 callersMethodGet
(key TKey)
collections.go:26
↓ 2 callersMethodHas
(value T)
collections.go:48
↓ 2 callersMethodPopFront
()
collections.go:15
↓ 2 callersMethodmaybeGrow
()
slice.go:88
↓ 1 callersMethodAdd
(value T)
collections.go:44
↓ 1 callersMethodKeys
()
collections.go:27
↓ 1 callersFunctionNewSlice
NewSlice creates a new slice from a collection.
collections.go:83
↓ 1 callersMethodPeekBack
()
slice.go:20
↓ 1 callersMethodPeekFront
()
slice.go:28
↓ 1 callersMethodPushFront
(value T)
collections.go:17
↓ 1 callersMethodisFull
()
slice.go:80
↓ 1 callersMethodisSparse
()
slice.go:84
↓ 1 callersFunctionnewDictionaryViaMap
()
map.go:9
↓ 1 callersFunctionnewSetViaBTree
(less func(T, T) bool)
btree.go:76
MethodAdd
(value T)
map.go:66
MethodAdd
(value T)
btree.go:83
MethodClear
()
collections.go:11
MethodClear
()
collections.go:23
MethodClear
()
collections.go:35
MethodClear
()
collections.go:45
MethodClear
()
collections.go:54
MethodClear
()
map.go:15
MethodClear
()
map.go:70
MethodClear
()
btree.go:21
MethodClear
()
btree.go:87
MethodClear
()
slice.go:15
MethodClear
()
slice.go:125
MethodClear
()
slice.go:162
MethodDelete
(key TKey)
collections.go:24
MethodDelete
(key TKey)
map.go:19
MethodDelete
(value T)
map.go:74
MethodDelete
(key TKey)
btree.go:29
MethodDelete
(value T)
btree.go:91
MethodForEach
(callback func(T) bool)
collections.go:5
MethodForEach
(callback func(Pair[TKey, TValue]) bool)
collections.go:25
MethodForEach
(callback func(entry Pair[TKey, TValue]) bool)
map.go:23
MethodForEach
(callback func(T) bool)
map.go:78
MethodForEach
(callback func(T) bool)
collection.go:8
MethodForEach
(callback func(Pair[TKey, TValue]) bool)
btree.go:34
MethodForEach
(callback func(T) bool)
btree.go:95
MethodGet
(key TKey)
map.go:31
MethodGet
(key TKey)
btree.go:40
MethodHas
(value T)
map.go:86
MethodHas
(value T)
btree.go:99
MethodKeys
()
map.go:36
MethodKeys
()
btree.go:49
FunctionNewDeque
NewDeque creates a new Deque implemented using a slice as a ring buffer.
collections.go:63
FunctionNewDictionary
NewDictionary creates a new Dictionary implemented using a map.
collections.go:68
FunctionNewQueue
NewQueue creates a new Queue implemented using a slice.
collections.go:73
FunctionNewSet
NewSet creates a new Set implemented using a map.
collections.go:78
FunctionNewSortedDictionary
NewSortedDictionary creates a new Dictionary implemented using a btree, providing sorted iteration by the less function.
collections.go:93
FunctionNewSortedSet
NewSortedSet creates a new Set implemented using a btree, providing sorted iteration by the less function.
collections.go:98
FunctionNewStack
NewStack creates a new Stack implemented using a slice.
collections.go:103
MethodPeek
()
collections.go:36
MethodPeek
()
collections.go:55
MethodPeek
()
slice.go:129
MethodPeek
()
slice.go:166
MethodPeekBack
()
collections.go:12
MethodPeekFront
()
collections.go:13
MethodPop
()
collections.go:37
MethodPop
()
collections.go:56
MethodPop
()
slice.go:136
MethodPop
()
slice.go:173
MethodPopBack
()
slice.go:36
MethodPopFront
()
slice.go:47
MethodPush
(value T)
collections.go:38
MethodPush
(value T)
collections.go:57
MethodPush
(value T)
slice.go:144
MethodPush
(value T)
slice.go:181
MethodPushBack
(value T)
slice.go:58
MethodPushFront
(value T)
slice.go:65
MethodSet
(key TKey, value TValue)
map.go:42
MethodSet
(key TKey, value TValue)
btree.go:55
MethodSize
()
collections.go:6
MethodSize
()
collections.go:18
MethodSize
()
collections.go:29
MethodSize
()
collections.go:39
MethodSize
()
collections.go:58
MethodSize
()
map.go:46
MethodSize
()
map.go:91
MethodSize
()
collection.go:12
MethodSize
()
btree.go:59
MethodSize
()
btree.go:104
MethodSize
()
slice.go:72
MethodSize
()
slice.go:148
MethodSize
()
slice.go:185
FunctionTestDequeViaRingSlice
(t *testing.T)
slice_test.go:9
FunctionTestMapSet
(t *testing.T)
map_test.go:9
FunctionTestMapViaBTree
(t *testing.T)
btree_test.go:11
MethodValues
()
collections.go:30
next →1–100 of 109, ranked by callers