MCPcopy Index your code
hub / github.com/RoaringBitmap/roaring / Push

Method Push

priorityqueue.go:28–33  ·  view source on GitHub ↗
(x interface{})

Source from the content-addressed store, hash-verified

26}
27
28func (pq *priorityQueue) Push(x interface{}) {
29 n := len(*pq)
30 item := x.(*item)
31 item.index = n
32 *pq = append(*pq, item)
33}
34
35func (pq *priorityQueue) Pop() interface{} {
36 old := *pq

Callers 3

HeapOrFunction · 0.45
HeapXorFunction · 0.45
TestFastAggregationsContFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestFastAggregationsContFunction · 0.36