Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NoneFree (0.07 sec)

  1. src/runtime/mpallocbits_test.go

    	var emptySum = PackPallocSum(PallocChunkPages, PallocChunkPages, PallocChunkPages)
    	type test struct {
    		free []BitRange // Ranges of free (zero) bits.
    		hits []PallocSum
    	}
    	tests := make(map[string]test)
    	tests["NoneFree"] = test{
    		free: []BitRange{},
    		hits: []PallocSum{
    			PackPallocSum(0, 0, 0),
    		},
    	}
    	tests["OnlyStart"] = test{
    		free: []BitRange{{0, 10}},
    		hits: []PallocSum{
    			PackPallocSum(10, 10, 0),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 22:00:17 UTC 2020
    - 13.7K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge_test.go

    		}
    		tests["AllScavenged"+suffix] = test{
    			scavenged: []BitRange{{0, PallocChunkPages}},
    			min:       m,
    			max:       PallocChunkPages,
    			want:      BitRange{0, 0},
    		}
    		tests["NoneFree"+suffix] = test{
    			alloc:     []BitRange{{0, PallocChunkPages}},
    			scavenged: []BitRange{{PallocChunkPages / 2, PallocChunkPages / 2}},
    			min:       m,
    			max:       PallocChunkPages,
    			want:      BitRange{0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top