Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for heapDebugString (0.13 sec)

  1. src/internal/trace/batchcursor_test.go

    		t.Fatalf("heap update failed, expected %d as heap min: %s", -21, heapDebugString(heap))
    	}
    
    	// Update the minimum element to be smaller. There should be no change.
    	heap[0].ev.time = -22
    	heapUpdate(heap, 0)
    	checkHeap(t, heap)
    	if heap[0].ev.time != -22 {
    		t.Fatalf("heap update failed, expected %d as heap min: %s", -22, heapDebugString(heap))
    	}
    
    	// Update the last element to be larger. There should be no change.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top