Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMallocBitsPopcntRange (0.47 sec)

  1. src/runtime/mpallocbits_test.go

    		t.Errorf("inconsistent max: got %d, want %d", got.Max(), want.Max())
    	}
    	if got.End() != want.End() {
    		t.Errorf("inconsistent end: got %d, want %d", got.End(), want.End())
    	}
    }
    
    func TestMallocBitsPopcntRange(t *testing.T) {
    	type test struct {
    		i, n uint // bit range to popcnt over.
    		want uint // expected popcnt result on that range.
    	}
    	tests := map[string]struct {
    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