Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newAbiDesc (0.1 sec)

  1. src/reflect/abi.go

    	println()
    }
    
    func dumpPtrBitMap(b abi.IntArgRegBitmap) {
    	for i := 0; i < intArgRegs; i++ {
    		x := 0
    		if b.Get(i) {
    			x = 1
    		}
    		print(" ", x)
    	}
    }
    
    func newAbiDesc(t *funcType, rcvr *abi.Type) abiDesc {
    	// We need to add space for this argument to
    	// the frame so that it can spill args into it.
    	//
    	// The size of this space is just the sum of the sizes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/reflect/type.go

    	}
    	k := layoutKey{t, rcvr}
    	if lti, ok := layoutCache.Load(k); ok {
    		lt := lti.(layoutType)
    		return lt.t, lt.framePool, lt.abid
    	}
    
    	// Compute the ABI layout.
    	abid = newAbiDesc(t, rcvr)
    
    	// build dummy rtype holding gc program
    	x := &abi.Type{
    		Align_: goarch.PtrSize,
    		// Don't add spill space here; it's only necessary in
    		// reflectcall's frame, not in the allocated frame.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top