MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / C

Method C

internal/utils/percpu/chan.go:30–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (this *Chan[T]) C() chan T {
31 var procId = GetProcId()
32 if procId < this.count {
33 return this.cList[procId]
34 }
35 return this.c
36}

Callers 1

TestChan_CFunction · 0.80

Calls 1

GetProcIdFunction · 0.85

Tested by 1

TestChan_CFunction · 0.64