Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkAll (0.06 sec)

  1. src/cmd/api/api_test.go

    	}
    	for _, tt := range tests {
    		got := !internalPkg.MatchString(tt.pkg)
    		if got != tt.want {
    			t.Errorf("%s is internal = %v; want %v", tt.pkg, got, tt.want)
    		}
    	}
    }
    
    func BenchmarkAll(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		for _, context := range contexts {
    			w := NewWalker(context, filepath.Join(testenv.GOROOT(b), "src"))
    			for _, name := range w.stdPackages {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top