Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countAlloc (0.08 sec)

  1. src/runtime/mbitmap.go

    			srcx := (*uintptr)(unsafe.Pointer(src + i))
    			p := buf.get2()
    			p[0] = *dstx
    			p[1] = *srcx
    		}
    	}
    }
    
    // countAlloc returns the number of objects allocated in span s by
    // scanning the mark bitmap.
    func (s *mspan) countAlloc() int {
    	count := 0
    	bytes := divRoundUp(uintptr(s.nelems), 8)
    	// Iterate over each 8-byte chunk and count allocations
    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