Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ getC
Method
getC
internal/utils/bfs/gzip_reader_pool.go:60–66 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
58
}
59
60
func
(this *GzipReaderPool) getC()
chan
*gzip.Reader {
61
var
procId = percpu.GetProcId()
62
if
procId < len(this.cList) {
63
return
this.cList[procId]
64
}
65
return
this.c
66
}
Callers
2
Get
Method · 0.95
Put
Method · 0.95
Calls
1
GetProcId
Function · 0.92
Tested by
no test coverage detected