MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Swap

Method Swap

sdk/cliproxy/auth/auto_refresh_loop.go:430–434  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

428}
429
430func (h refreshMinHeap) Swap(i, j int) {
431 h[i], h[j] = h[j], h[i]
432 h[i].index = i
433 h[j].index = j
434}
435
436func (h *refreshMinHeap) Push(x any) {
437 item, ok := x.(*refreshHeapItem)

Callers 3

SetSignatureCacheEnabledFunction · 0.80
SwapGlobalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected