Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for argsize (0.15 sec)

  1. src/reflect/abi.go

    }
    
    // intFromReg loads an argSize sized integer from reg and places it at to.
    //
    // argSize must be non-zero, fit in a register, and a power-of-two.
    func intFromReg(r *abi.RegArgs, reg int, argSize uintptr, to unsafe.Pointer) {
    	memmove(to, r.IntRegArgAddr(reg, argSize), argSize)
    }
    
    // intToReg loads an argSize sized integer and stores it into reg.
    //
    // argSize must be non-zero, fit in a register, and a power-of-two.
    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/runtime/export_debug_test.go

    	}
    	argp := a.data
    	var argSize uintptr
    	if argp != nil {
    		argSize = (*ptrtype)(unsafe.Pointer(a._type)).Elem.Size_
    	}
    
    	h := new(debugCallHandler)
    	h.gp = gp
    	// gp may not be running right now, but we can still get the M
    	// it will run on since it's locked.
    	h.mp = gp.lockedm.ptr()
    	h.fv, h.regArgs, h.argp, h.argSize = fv, regArgs, argp, argSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/reflect/export_test.go

    func FuncLayout(t Type, rcvr Type) (frametype Type, argSize, retOffset uintptr, stack, gc, inReg, outReg []byte, ptrs bool) {
    	var ft *abi.Type
    	var abid abiDesc
    	if rcvr != nil {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.common())), rcvr.common())
    	} else {
    		ft, _, abid = funcLayout((*funcType)(unsafe.Pointer(t.(*rtype))), nil)
    	}
    	// Extract size information.
    	argSize = abid.stackCallArgsSize
    	retOffset = abid.retOffset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    	// The "-argSize" may be missing; if so, set it to objabi.ArgsSizeUnknown.
    	// Parse left to right.
    	op := operands[next]
    	if len(op) < 2 || op[0].ScanToken != '$' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. src/internal/abi/symtab.go

    	FuncID_runtime_main
    	FuncID_sigpanic
    	FuncID_systemstack
    	FuncID_systemstack_switch
    	FuncIDWrapper // any autogenerated code (hash/eq algorithms, method wrappers, etc.)
    )
    
    // ArgsSizeUnknown is set in Func.argsize to mark all functions
    // whose argument size is unknown (C vararg functions, and
    // assembly code without an explicit specification).
    // This value is generated by the compiler, assembler, or linker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 14:25:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "CALLtail", argLength: -1, reg: call, aux: "CallOff", call: true, tailCall: true}, // tail call static function aux.(*gc.Sym). last arg=mem, auxint=argsize, returns mem
    		{name: "CALLclosure", argLength: -1, reg: callClosure, aux: "CallOff", call: true},       // call function via closure. arg0=codeptr, arg1=closure, last arg=mem, auxint=argsize, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    				break
    			}
    		}
    
    		lines := strings.SplitAfter(string(content), "\n")
    		var (
    			fn                 *asmFunc
    			fnName             string
    			abi                string
    			localSize, argSize int
    			wroteSP            bool
    			noframe            bool
    			haveRetArg         bool
    			retLine            []int
    		)
    
    		flushRet := func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. src/runtime/stack.go

    	guard = g->stackguard
    	frame = function's stack frame size
    	argsize = size of function arguments (call + return)
    
    	stack frame size <= StackSmall:
    		CMPQ guard, SP
    		JHI 3(PC)
    		MOVQ m->morearg, $(argsize << 32)
    		CALL morestack(SB)
    
    	stack frame size > StackSmall but < StackBig
    		LEAQ (frame-StackSmall)(SP), R0
    		CMPQ guard, R0
    		JHI 3(PC)
    		MOVQ m->morearg, $(argsize << 32)
    		CALL morestack(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "CALLtail", argLength: -1, reg: regInfo{clobbers: callerSave}, aux: "CallOff", clobberFlags: true, call: true, tailCall: true},                         // tail call static function aux.(*obj.LSym).  arg0=mem, auxint=argsize, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen_test_h.golden

      // Number of variables for the compiled computation.
      static constexpr size_t kNumVariables = 3;
    
      // Byte size of each argument buffer. There are kNumArgs entries.
      static const ::int64_t ArgSize(::tensorflow::int32 index) {
        return BufferInfos()[ArgIndexToBufferIndex()[index]].size();
      }
    
      // Returns static data used to create an XlaCompiledCpuFunction.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top