Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkHeap (0.45 sec)

  1. src/internal/trace/batchcursor_test.go

    	"slices"
    )
    
    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)
  2. src/runtime/time_test.go

    	"testing"
    	"time"
    )
    
    func TestFakeTime(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("faketime not supported on windows")
    	}
    
    	// Faketime is advanced in checkdead. External linking brings in cgo,
    	// causing checkdead not working.
    	testenv.MustInternalLink(t, false)
    
    	t.Parallel()
    
    	exe, err := buildTestProg(t, "testfaketime", "-tags=faketime")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 03:40:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BomSupportPluginsSmokeTest.groovy

                }
            """
            def resolve = new ResolveTestFixture(new TestFile(buildFile), 'testCompileClasspath')
            resolve.prepare()
    
            when:
            def runner = runner('checkDep')
            if (bomSupportProvider == "spring dependency management plugin") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top