Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bpn (0.04 sec)

  1. src/runtime/mem_sbrk.go

    		return
    	}
    	for ; p.next != 0; p = p.next.ptr() {
    		if bpn > uintptr(unsafe.Pointer(p)) && bpn < uintptr(unsafe.Pointer(p.next)) {
    			break
    		}
    	}
    	if bpn+bp.size == uintptr(unsafe.Pointer(p.next)) {
    		bp.size += p.next.ptr().size
    		bp.next = p.next.ptr().next
    		*p.next.ptr() = memHdr{}
    	} else {
    		bp.next = p.next
    	}
    	if uintptr(unsafe.Pointer(p))+p.size == bpn {
    		p.size += bp.size
    		p.next = bp.next
    		*bp = memHdr{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top