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

Method hash

internal/caches/storage_memory.go:431–433  ·  view source on GitHub ↗

计算Key Hash

(key string)

Source from the content-addressed store, hash-verified

429
430// 计算Key Hash
431func (this *MemoryStorage) hash(key string) uint64 {
432 return xxhash.Sum64String(key)
433}
434
435// 清理任务
436func (this *MemoryStorage) purgeLoop() {

Callers 7

OpenReaderMethod · 0.95
openWriterMethod · 0.95
DeleteMethod · 0.95
AddToListMethod · 0.95
flushItemMethod · 0.95
deleteWithoutLockerMethod · 0.95

Calls

no outgoing calls

Tested by 1