Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 603 for arguments_ (0.23 sec)

  1. src/reflect/abi.go

    	// For instance, if this abiSeq represents 3 arguments
    	// passed to a function, then the 2nd argument's steps
    	// begin at steps[valueStart[1]].
    	//
    	// Because reflect accepts Go arguments in distinct
    	// Values and each Value is stored separately, each abiStep
    	// that begins a new argument will have its offset
    	// field == 0.
    	steps      []abiStep
    	valueStart []int
    
    	stackBytes   uintptr // stack space used
    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/cmd/compile/internal/types2/call.go

    // (and corresponding expressions).
    // If the callee is variadic, arguments adjusts its signature to match the provided
    // arguments. The type parameters and arguments of the callee and all its arguments
    // are used together to infer any missing type arguments, and the callee and argument
    // functions are instantiated as necessary.
    // The result signature is the (possibly adjusted and instantiated) function signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/builtins.go

    	// Note: We must do this _before_ calling exprList because exprList evaluates
    	//       all arguments.
    	if id == _Len || id == _Cap {
    		defer func(b bool) {
    			check.hasCallOrRecv = b
    		}(check.hasCallOrRecv)
    		check.hasCallOrRecv = false
    	}
    
    	// Evaluate arguments for built-ins that use ordinary (value) arguments.
    	// For built-ins with special argument handling (make, new, etc.),
    	// evaluation is done by the respective built-in code.
    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/internal/types/testdata/check/builtins0.go

    	_ = complex(f1()) // ERROR "not enough arguments"
    	_ = complex(f2())
    	_ = complex(f3()) // ERROR "too many arguments"
    }
    
    func copy1() {
    	copy() // ERROR "not enough arguments"
    	copy("foo") // ERROR "not enough arguments"
    	copy([ /* ERROR "copy expects slice arguments" */ ...]int{}, []int{})
    	copy([ /* ERROR "copy expects slice arguments" */ ]int{}, [...]int{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  5. src/runtime/syscall_windows.go

    	index uintptr
    	// args points to the argument block.
    	//
    	// For cdecl and stdcall, all arguments are on the stack.
    	//
    	// For fastcall, the trampoline spills register arguments to
    	// the reserved spill slots below the stack arguments,
    	// resulting in a layout equivalent to stdcall.
    	//
    	// For arm, the trampoline stores the register arguments just
    	// below the stack arguments, so again we can treat it as one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/infer.go

    // inference will attempt to infer the missing type arguments.
    // Available with go1.21.
    const enableReverseTypeInference = true // disable for debugging
    
    // infer attempts to infer the complete set of type arguments for generic function instantiation/call
    // based on the given type parameters tparams, type arguments targs, function parameters params, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/process/internal/JvmOptions.java

        }
    
        public void jvmArgs(Iterable<?> arguments) {
            addExtraJvmArgs(arguments);
            checkDebugConfiguration(extraJvmArgs);
        }
    
        public void jvmArgs(Object... arguments) {
            jvmArgs(Arrays.asList(arguments));
        }
    
        private void addExtraJvmArgs(Iterable<?> arguments) {
            for (Object argument : arguments) {
                String argStr = argument.toString();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/func.go

    	typecheckargs(n)
    	args := n.Args
    	if len(args) == 0 {
    		base.Errorf("missing arguments to delete")
    		n.SetType(nil)
    		return n
    	}
    
    	if len(args) == 1 {
    		base.Errorf("missing second (key) argument to delete")
    		n.SetType(nil)
    		return n
    	}
    
    	if len(args) != 2 {
    		base.Errorf("too many arguments to delete")
    		n.SetType(nil)
    		return n
    	}
    
    	l := args[0]
    	r := args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    		return false // We just can't tell; there could be many more arguments.
    	}
    	if argNum < len(call.Args) {
    		return true
    	}
    	// There are bad indexes in the format or there are fewer arguments than the format needs.
    	// This is the argument number relative to the format: Printf("%s", "hi") will give 1 for the "hi".
    	arg := argNum - state.firstArg + 1 // People think of arguments as 1-indexed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  10. src/runtime/stkframe.go

    			print("      no locals to adjust\n")
    		}
    	}
    
    	// Arguments. First fetch frame size and special-case argument maps.
    	var isReflect bool
    	args, isReflect = frame.argMapInternal()
    	if args.n > 0 && args.bytedata == nil {
    		// Non-empty argument frame, but not a special map.
    		// Fetch the argument map at pcdata.
    		stackmap := (*stackmap)(funcdata(f, abi.FUNCDATA_ArgsPointerMaps))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top