Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindSucc (0.21 sec)

  1. src/runtime/mranges.go

    	a.sysStat = sysStat
    	a.totalBytes = 0
    }
    
    // findSucc returns the first index in a such that addr is
    // less than the base of the addrRange at that index.
    func (a *addrRanges) findSucc(addr uintptr) int {
    	base := offAddr{addr}
    
    	// Narrow down the search space via a binary search
    	// for large addrRanges until we have at most iterMax
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    	for _, r := range a.addrRanges.ranges {
    		result = append(result, AddrRange{r})
    	}
    	return result
    }
    
    // FindSucc returns the successor to base. See addrRanges.findSucc
    // for more details.
    func (a *AddrRanges) FindSucc(base uintptr) int {
    	return a.findSucc(base)
    }
    
    // Add adds a new AddrRange to the AddrRanges.
    //
    // The AddrRange must be mutable (i.e. created by NewAddrRanges),
    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