Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/mpallocbits_test.go

    func invertPallocBits(b *PallocBits) {
    	for i := range b {
    		b[i] = ^b[i]
    	}
    }
    
    // Ensures two packed summaries are identical, and reports a detailed description
    // of the difference if they're not.
    func checkPallocSum(t testing.TB, got, want PallocSum) {
    	if got.Start() != want.Start() {
    		t.Errorf("inconsistent start: got %d, want %d", got.Start(), want.Start())
    	}
    	if got.Max() != want.Max() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 22:00:17 UTC 2020
    - 13.7K bytes
    - Viewed (0)
Back to top