Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for PtrBytes (0.12 sec)

  1. src/cmd/compile/internal/types/type.go

    	// TODO(mdempsky): Fix Type rekinding.
    	t.kind = underlying.kind
    	t.extra = underlying.extra
    	t.width = underlying.width
    	t.align = underlying.align
    	t.alg = underlying.alg
    	t.ptrBytes = underlying.ptrBytes
    	t.intRegs = underlying.intRegs
    	t.floatRegs = underlying.floatRegs
    	t.underlying = underlying.underlying
    
    	if underlying.NotInHeap() {
    		t.SetNotInHeap(true)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/runtime/slice.go

    			// from and to only ever refer to memory representing whole values of
    			// type et. See the comment on bulkBarrierPreWrite.
    			bulkBarrierPreWriteSrcOnly(uintptr(p), uintptr(oldPtr), lenmem-et.Size_+et.PtrBytes, et)
    		}
    	}
    	memmove(p, oldPtr, lenmem)
    
    	return slice{p, newLen, newcap}
    }
    
    // nextslicecap computes the next appropriate slice length.
    func nextslicecap(newLen, oldCap int) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/runtime/heapdump.go

    		dwrite(unsafe.Pointer(unsafe.StringData(pkgpath)), uintptr(len(pkgpath)))
    		dwritebyte('.')
    		dwrite(unsafe.Pointer(unsafe.StringData(name)), uintptr(len(name)))
    	}
    	dumpbool(t.Kind_&abi.KindDirectIface == 0 || t.PtrBytes != 0)
    }
    
    // dump an object.
    func dumpobj(obj unsafe.Pointer, size uintptr, bv bitvector) {
    	dumpint(tagObject)
    	dumpint(uint64(uintptr(obj)))
    	dumpmemrange(obj, size)
    	dumpfields(bv)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top