MCPcopy Create free account
hub / github.com/valyala/bytebufferpool / Less

Method Less

pool.go:131–133  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

129}
130
131func (ci callSizes) Less(i, j int) bool {
132 return ci[i].calls > ci[j].calls
133}
134
135func (ci callSizes) Swap(i, j int) {
136 ci[i], ci[j] = ci[j], ci[i]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected