Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCountSortOps (0.12 sec)

  1. src/sort/sort_test.go

    		}
    		algo(&td)
    		t.Logf("%s %8d elements: %11d Swap, %10d Less", name, n, td.nswap, td.ncmp)
    	}
    }
    
    func TestCountStableOps(t *testing.T) { countOps(t, Stable, "Stable") }
    func TestCountSortOps(t *testing.T)   { countOps(t, Sort, "Sort  ") }
    
    func bench(b *testing.B, size int, algo func(Interface), name string) {
    	if stringspkg.HasSuffix(testenv.Builder(), "-race") && size > 1e4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top