Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/reflect/export_test.go

    	return v.flag&flagStickyRO != 0
    }
    
    var CallGC = &callGC
    
    // FuncLayout calls funcLayout and returns a subset of the results for testing.
    //
    // Bitmaps like stack, gc, inReg, and outReg are expanded such that each bit
    // takes up one byte, so that writing out test cases is a little clearer.
    // If ptrs is false, gc will be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/reflect/makefunc.go

    	}
    
    	t := typ.common()
    	ftyp := (*funcType)(unsafe.Pointer(t))
    
    	code := abi.FuncPCABI0(makeFuncStub)
    
    	// makeFuncImpl contains a stack map for use by the runtime
    	_, _, abid := funcLayout(ftyp, nil)
    
    	impl := &makeFuncImpl{
    		makeFuncCtxt: makeFuncCtxt{
    			fn:      code,
    			stack:   abid.stackPtrs,
    			argLen:  abid.stackCallArgsSize,
    			regPtrs: abid.inRegPtrs,
    		},
    		ftyp: ftyp,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top