Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runSearchWrappers (0.35 sec)

  1. src/sort/search_test.go

    	if runtime.GOMAXPROCS(0) > 1 {
    		t.Skip("skipping; GOMAXPROCS>1")
    	}
    	allocs := testing.AllocsPerRun(100, runSearchWrappers)
    	if allocs != 0 {
    		t.Errorf("expected no allocs for runSearchWrappers, got %v", allocs)
    	}
    }
    
    func BenchmarkSearchWrappers(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		runSearchWrappers()
    	}
    }
    
    // Abstract exhaustive test: all sizes up to 100,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 07 14:42:13 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top