- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for makeBatchCursor (0.23 sec)
-
src/internal/trace/batchcursor_test.go
) func TestHeap(t *testing.T) { var heap []*batchCursor // Insert a bunch of values into the heap. checkHeap(t, heap) heap = heapInsert(heap, makeBatchCursor(5)) checkHeap(t, heap) for i := int64(-20); i < 20; i++ { heap = heapInsert(heap, makeBatchCursor(i)) checkHeap(t, heap) } // Update an element in the middle to be the new minimum. for i := range heap { if heap[i].ev.time == 5 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3K bytes - Viewed (0)