Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findLargeN (0.07 sec)

  1. src/runtime/mpallocbits.go

    //
    // Returns a ^uint(0) index on failure and the new searchIdx should be ignored.
    //
    // findLargeN assumes npages > 64, where any such run of free pages
    // crosses at least one aligned 64-bit boundary in the bits.
    func (b *pallocBits) findLargeN(npages uintptr, searchIdx uint) (uint, uint) {
    	start, size, newSearchIdx := ^uint(0), uint(0), ^uint(0)
    	for i := searchIdx / 64; i < uint(len(b)); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top