Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for NARGS (0.18 sec)

  1. src/internal/syscall/unix/at_solaris.go

    package unix
    
    import "syscall"
    
    // Implemented as sysvicall6 in runtime/syscall_solaris.go.
    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    // Implemented as rawsysvicall6 in runtime/syscall_solaris.go.
    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    //go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 814 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/syscall/dll_windows.go

    // Deprecated: Use [SyscallN] instead.
    func Syscall(trap, nargs, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall9(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. hack/verify-flags-underscore.py

    # limitations under the License.
    
    import argparse
    import os
    import re
    import sys
    
    parser = argparse.ArgumentParser()
    parser.add_argument("filenames", help="list of files to check, all files if unspecified", nargs='*')
    args = parser.parse_args()
    
    # Cargo culted from http://stackoverflow.com/questions/898669/how-can-i-detect-if-a-file-is-binary-non-text-in-python
    def is_binary(pathname):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. hack/boilerplate/boilerplate.py

    import datetime
    import difflib
    import glob
    import os
    import re
    import sys
    
    parser = argparse.ArgumentParser()
    parser.add_argument(
        "filenames", help="list of files to check, all files if unspecified", nargs="*"
    )
    
    rootdir = os.path.dirname(__file__) + "/../../"
    rootdir = os.path.abspath(rootdir)
    parser.add_argument("--rootdir", default=rootdir, help="root directory to examine")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top