Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for NARGS (0.04 sec)

  1. src/runtime/syscall_windows.go

    }
    
    //go:linkname syscall_Syscall9 syscall.Syscall9
    //go:nosplit
    func syscall_Syscall9(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) {
    	args := [...]uintptr{a1, a2, a3, a4, a5, a6, a7, a8, a9}
    	return syscall_SyscallN(fn, args[:nargs]...)
    }
    
    //go:linkname syscall_Syscall12 syscall.Syscall12
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/go/types/builtins.go

    		nargs = len(argList)
    	}
    
    	// check argument count
    	{
    		msg := ""
    		if nargs < bin.nargs {
    			msg = "not enough"
    		} else if !bin.variadic && nargs > bin.nargs {
    			msg = "too many"
    		}
    		if msg != "" {
    			check.errorf(argErrPos(call), WrongArgCount, invalidOp+"%s arguments for %v (expected %d, found %d)", msg, call, bin.nargs, nargs)
    			return
    		}
    	}
    
    	switch id {
    	case _Append:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/builtins.go

    		nargs = len(argList)
    	}
    
    	// check argument count
    	{
    		msg := ""
    		if nargs < bin.nargs {
    			msg = "not enough"
    		} else if !bin.variadic && nargs > bin.nargs {
    			msg = "too many"
    		}
    		if msg != "" {
    			check.errorf(argErrPos(call), WrongArgCount, invalidOp+"%s arguments for %v (expected %d, found %d)", msg, call, bin.nargs, nargs)
    			return
    		}
    	}
    
    	switch id {
    	case _Append:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/call.go

    	// --------------+------------------+----------------+
    	// standard func | nargs == npars   | invalid        |
    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  5. src/go/types/call.go

    	// --------------+------------------+----------------+
    	// standard func | nargs == npars   | invalid        |
    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/check.go

    		for _, v := range b.Values {
    			// Check to make sure argument count makes sense (argLen of -1 indicates
    			// variable length args)
    			nArgs := opcodeTable[v.Op].argLen
    			if nArgs != -1 && int32(len(v.Args)) != nArgs {
    				f.Fatalf("value %s has %d args, expected %d", v.LongString(),
    					len(v.Args), nArgs)
    			}
    
    			// Check to make sure aux values make sense.
    			canHaveAux := false
    			canHaveAuxInt := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/writebarrier.go

    	args = append(args, mem)
    
    	// issue call
    	argTypes := make([]*types.Type, nargs, 3) // at most 3 args; allows stack allocation
    	for i := 0; i < nargs; i++ {
    		argTypes[i] = typ
    	}
    	call := b.NewValue0A(pos, OpStaticCall, types.TypeResultMem, StaticAuxCall(fn, b.Func.ABIDefault.ABIAnalyzeTypes(argTypes, nil)))
    	call.AddArgs(args...)
    	call.AuxInt = int64(nargs) * typ.Size()
    	return b.NewValue1I(pos, OpSelectN, types.TypeMem, 0, call)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  8. src/syscall/syscall_solaris.go

    func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Implemented in asm_solaris_amd64.s.
    func rawSysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func sysvicall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    type SockaddrDatalink struct {
    	Family uint16
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/op.go

    	for i := int64(0); i < a.NResults(); i++ {
    		tys = append(tys, a.TypeOfResult(i))
    	}
    	tys = append(tys, types.TypeMem)
    	return types.NewResults(tys)
    }
    
    // NArgs returns the number of arguments (including receiver, if there is one).
    func (a *AuxCall) NArgs() int64 {
    	return int64(len(a.abiInfo.InParams()))
    }
    
    // String returns "AuxCall{<fn>}"
    func (a *AuxCall) String() string {
    	var fn string
    	if a.Fn == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. src/syscall/syscall_aix.go

    func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Implemented in runtime/syscall_aix.go.
    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Constant expected by package but not supported
    const (
    	_ = iota
    	TIOCSCTTY
    	SYS_EXECVE
    	SYS_FCNTL
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top