Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPallocBitsAlloc (0.17 sec)

  1. src/runtime/mpallocbits_test.go

    			checkPallocSum(b, buf.Summarize(), SummarizeSlow(buf))
    			for i := 0; i < b.N; i++ {
    				buf.Summarize()
    			}
    		})
    	}
    }
    
    // Ensures page allocation works.
    func TestPallocBitsAlloc(t *testing.T) {
    	tests := map[string]struct {
    		before []BitRange
    		after  []BitRange
    		npages uintptr
    		hits   []uint
    	}{
    		"AllFree1": {
    			npages: 1,
    			hits:   []uint{0, 1, 2, 3, 4, 5},
    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