MCPcopy
hub / github.com/cilium/cilium / Len

Method Len

pkg/container/bitlpm/trie.go:99–99  ·  view source on GitHub ↗

Len returns the number of entries in the Trie

()

Source from the content-addressed store, hash-verified

97 Delete(prefix uint, key K) bool
98 // Len returns the number of entries in the Trie
99 Len() uint
100 // ForEach iterates over every element of the Trie in no particular
101 // order. If the function argument returns false the iteration stops.
102 ForEach(fn func(uint, K, T) bool)

Callers 15

TestAgentEventSubTypeMapFunction · 0.65
TestEventTypesFunction · 0.65
TestAddRemoveEndpointFunction · 0.65
TestLocalKeysFunction · 0.65
TestWatchRemoteKVStoreFunction · 0.65
TestCacheValidatorsFunction · 0.65
TestImmSetFuncFunction · 0.65
TestImmSetFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestAgentEventSubTypeMapFunction · 0.52
TestEventTypesFunction · 0.52
TestAddRemoveEndpointFunction · 0.52
TestLocalKeysFunction · 0.52
TestWatchRemoteKVStoreFunction · 0.52
TestCacheValidatorsFunction · 0.52
TestImmSetFuncFunction · 0.52
TestImmSetFunction · 0.52