Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for funcLayout (0.14 sec)

  1. src/reflect/type.go

    // the name for possible debugging use.
    func funcLayout(t *funcType, rcvr *abi.Type) (frametype *abi.Type, framePool *sync.Pool, abid abiDesc) {
    	if t.Kind() != abi.Func {
    		panic("reflect: funcLayout of non-func type " + stringFor(&t.Type))
    	}
    	if rcvr != nil && rcvr.Kind() == abi.Interface {
    		panic("reflect: funcLayout with interface receiver " + stringFor(rcvr))
    	}
    	k := layoutKey{t, rcvr}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    			if typ.Size() != lt.size {
    				t.Errorf("funcLayout(%v, %v).size=%d, want %d", lt.typ, lt.rcvr, typ.Size(), lt.size)
    			}
    			if argsize != lt.argsize {
    				t.Errorf("funcLayout(%v, %v).argsize=%d, want %d", lt.typ, lt.rcvr, argsize, lt.argsize)
    			}
    			if retOffset != lt.retOffset {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/reflect/value.go

    	// has its own ABI ("method ABI"). Everything that follows is a translation
    	// between the two.
    	_, _, valueABI := funcLayout(valueFuncType, nil)
    	valueFrame, valueRegs := frame, regs
    	methodFrameType, methodFramePool, methodABI := funcLayout(valueFuncType, rcvrType)
    
    	// Make a new frame that is one word bigger so we can store the receiver.
    	// This space is used for both arguments and return values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top