MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / Count

Method Count

internal/caches/list_interface.go:43–43  ·  view source on GitHub ↗

Count 总数量

()

Source from the content-addressed store, hash-verified

41
42 // Count 总数量
43 Count() (int64, error)
44
45 // OnAdd 添加事件
46 OnAdd(f func(item *Item))

Callers 15

VersionToLongFunction · 0.65
TestList_GCFunction · 0.65
TestList_MemoryFunction · 0.65
TestTable_CountFunction · 0.65
TestMemoryList_AddFunction · 0.65
TestMemoryList_RemoveFunction · 0.65
TestMemoryList_PurgeFunction · 0.65
TestMemoryList_PurgeLFUFunction · 0.65
TestMemoryList_CleanAllFunction · 0.65
purgeLoopMethod · 0.65
CountItemsMethod · 0.65

Implementers 3

MemoryListinternal/caches/list_memory.go
KVFileListinternal/caches/list_file_kv.go
SQLiteFileListinternal/caches/list_file_sqlite.go

Calls

no outgoing calls

Tested by 15

TestList_GCFunction · 0.52
TestList_MemoryFunction · 0.52
TestTable_CountFunction · 0.52
TestMemoryList_AddFunction · 0.52
TestMemoryList_RemoveFunction · 0.52
TestMemoryList_PurgeFunction · 0.52
TestMemoryList_PurgeLFUFunction · 0.52
TestMemoryList_CleanAllFunction · 0.52
TestKVFileList_CountFunction · 0.52
TestFileList_ExistFunction · 0.52
TestFileList_RemoveFunction · 0.52