Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lenNeeded (0.1 sec)

  1. src/cmd/link/internal/ld/outbuf.go

    		return out.off, out.buf
    	}
    
    	// Not enough space in the mmaped area, write to heap area instead.
    	heapPos := out.off - bufLen
    	heapLen := int64(len(out.heap))
    	lenNeeded := heapPos + lenToWrite
    	if lenNeeded > heapLen { // do we need to grow the heap storage?
    		// The heap variables aren't protected by a mutex. For now, just bomb if you
    		// try to use OutBuf in parallel. (Note this probably could be fixed.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 8.1K bytes
    - Viewed (0)
Back to top