MCPcopy Create free account
hub / github.com/Super-long/ChubbyGo / Count

Method Count

BaseServer/concurrentHashMap.go:142–144  ·  view source on GitHub ↗

Returns the number of elements within the map. 返回目前map中的数据总量

()

Source from the content-addressed store, hash-verified

140// Returns the number of elements within the map.
141// 返回目前map中的数据总量
142func (m ConcurrentHashMap) Count() uint64 {
143 return m.NowKeyNumber
144}
145
146// Looks up an item under specified key
147func (m ConcurrentHashMap) Has(key string) bool {

Callers 2

IsEmptyMethod · 0.95
KeysMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected