Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stepsForValue (0.39 sec)

  1. src/reflect/abi.go

    	}
    	println()
    	println("stack", a.stackBytes)
    	println("iregs", a.iregs)
    	println("fregs", a.fregs)
    }
    
    // stepsForValue returns the ABI instructions for translating
    // the i'th Go argument or return value represented by this
    // abiSeq to the Go ABI.
    func (a *abiSeq) stepsForValue(i int) []abiStep {
    	s := a.valueStart[i]
    	var e int
    	if i == len(a.valueStart)-1 {
    		e = len(a.steps)
    	} else {
    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/value.go

    	default:
    		panic("unknown ABI parameter kind")
    	}
    
    	// Translate the rest of the arguments.
    	for i, t := range valueFuncType.InSlice() {
    		valueSteps := valueABI.call.stepsForValue(i)
    		methodSteps := methodABI.call.stepsForValue(i + 1)
    
    		// Zero-sized types are trivial: nothing to do.
    		if len(valueSteps) == 0 {
    			if len(methodSteps) != 0 {
    				panic("method ABI and value ABI do not align")
    			}
    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