Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for heapBitsSlice (0.27 sec)

  1. src/runtime/mbitmap.go

    	if span.npages == 1 {
    		// This will be inlined and constant-folded down.
    		return heapBitsSlice(span.base(), pageSize)
    	}
    	return heapBitsSlice(span.base(), span.npages*pageSize)
    }
    
    // Helper for constructing a slice for the span's heap bits.
    //
    //go:nosplit
    func heapBitsSlice(spanBase, spanSize uintptr) []uintptr {
    	bitmapSize := spanSize / goarch.PtrSize / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top