Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BaseChunkIdx (0.15 sec)

  1. src/runtime/mpagealloc_test.go

    			chunks: []ChunkIdx{
    				BaseChunkIdx, BaseChunkIdx + 2, BaseChunkIdx + 4, BaseChunkIdx + 6,
    				BaseChunkIdx + 8, BaseChunkIdx + 10, BaseChunkIdx + 12, BaseChunkIdx + 14,
    				BaseChunkIdx + 16, BaseChunkIdx + 18, BaseChunkIdx + 20, BaseChunkIdx + 22,
    				BaseChunkIdx + 24, BaseChunkIdx + 26, BaseChunkIdx + 28, BaseChunkIdx + 30,
    				BaseChunkIdx + 32, BaseChunkIdx + 34, BaseChunkIdx + 36, BaseChunkIdx + 38,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 32.6K bytes
    - Viewed (0)
  2. src/runtime/mpagecache_test.go

    				BaseChunkIdx: {{0, 256}},
    			},
    		},
    		"ManyArena": {
    			beforeAlloc: map[ChunkIdx][]BitRange{
    				BaseChunkIdx:     {{0, PallocChunkPages}},
    				BaseChunkIdx + 1: {{0, PallocChunkPages}},
    				BaseChunkIdx + 2: {{0, PallocChunkPages - 64}},
    			},
    			beforeScav: map[ChunkIdx][]BitRange{
    				BaseChunkIdx:     {{0, PallocChunkPages}},
    				BaseChunkIdx + 1: {{0, PallocChunkPages}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 10.8K bytes
    - Viewed (0)
  3. src/runtime/mgcscavenge_test.go

    		si := NewScavengeIndex(BaseChunkIdx, BaseChunkIdx+64)
    
    		// Initialize all the chunks as dense and empty.
    		//
    		// Also, reset search addresses so that we can get page offsets.
    		si.AllocRange(PageBase(BaseChunkIdx, 0), PageBase(BaseChunkIdx+64, 0))
    		si.NextGen()
    		si.FreeRange(PageBase(BaseChunkIdx, 0), PageBase(BaseChunkIdx+64, 0))
    		for ci := BaseChunkIdx; ci < BaseChunkIdx+64; ci++ {
    			si.SetEmpty(ci)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    		}
    	}
    }
    
    // BaseChunkIdx is a convenient chunkIdx value which works on both
    // 64 bit and 32 bit platforms, allowing the tests to share code
    // between the two.
    //
    // This should not be higher than 0x100*pallocChunkBytes to support
    // mips and mipsle, which only have 31-bit address spaces.
    var BaseChunkIdx = func() ChunkIdx {
    	var prefix uintptr
    	if pageAlloc64Bit != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top