MCPcopy Create free account
hub / github.com/cloudwego/netpoll / newOperatorCache

Function newOperatorCache

fd_operator_cache.go:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21)
22
23func newOperatorCache() *operatorCache {
24 return &operatorCache{
25 cache: make([]*FDOperator, 0, 1024),
26 freelist: make([]int32, 0, 1024),
27 }
28}
29
30type operatorCache struct {
31 first *FDOperator

Callers 5

openDefaultPollFunction · 0.85
TestPersistFDOperatorFunction · 0.85
openDefaultPollFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestPersistFDOperatorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…