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