Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for levelShift (0.17 sec)

  1. src/runtime/mpagealloc_64bit.go

    	summaryLevelBits,
    	summaryLevelBits,
    	summaryLevelBits,
    }
    
    // levelShift is the number of bits to shift to acquire the radix for a given level
    // in the super summary structure.
    //
    // With levelShift, one can compute the index of the summary at level l related to a
    // pointer p by doing:
    //
    //	p >> levelShift[l]
    var levelShift = [summaryLevels]uint{
    	heapAddrBits - summaryL0Bits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/runtime/mpagealloc_32bit.go

    )
    
    // See comment in mpagealloc_64bit.go.
    var levelBits = [summaryLevels]uint{
    	summaryL0Bits,
    	summaryLevelBits,
    	summaryLevelBits,
    	summaryLevelBits,
    }
    
    // See comment in mpagealloc_64bit.go.
    var levelShift = [summaryLevels]uint{
    	heapAddrBits - summaryL0Bits,
    	heapAddrBits - summaryL0Bits - 1*summaryLevelBits,
    	heapAddrBits - summaryL0Bits - 2*summaryLevelBits,
    	heapAddrBits - summaryL0Bits - 3*summaryLevelBits,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top