MCPcopy Index your code
hub / github.com/VirusTotal/vt-cli / Len

Method Len

utils/pqueue.go:25–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23type PQueue []PQueueNode
24
25func (pq PQueue) Len() int { return len(pq) }
26func (pq PQueue) Less(i, j int) bool { return pq[i].Priority < pq[j].Priority }
27func (pq PQueue) Swap(i, j int) { pq[i], pq[j] = pq[j], pq[i] }
28

Callers 5

TestPQueueFunction · 0.95
filterMapFunction · 0.45
EncodeMethod · 0.45
flattenSliceFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestPQueueFunction · 0.76