Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,434 for arguments_ (0.25 sec)

  1. cmd/kubeadm/app/apis/kubeadm/argument_test.go

    		expectedArgs []Arg
    	}{
    		{
    			testName:     "update 1 argument",
    			args:         []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}},
    			name:         "foo",
    			value:        "zz",
    			nArgs:        1,
    			expectedArgs: []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "zz"}},
    		},
    		{
    			testName:     "update all arguments",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/encoding/gob/error.go

    type gobError struct {
    	err error
    }
    
    // errorf is like error_ but takes Printf-style arguments to construct an error.
    // It always prefixes the message with "gob: ".
    func errorf(format string, args ...any) {
    	error_(fmt.Errorf("gob: "+format, args...))
    }
    
    // error_ wraps the argument error and uses it as the argument to panic.
    func error_(err error) {
    	panic(gobError{err})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 23:03:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/math/gamma.go

    // interval (2,3).  Large arguments are handled by Stirling's
    // formula. Large negative arguments are made positive using
    // a reflection formula.
    //
    // ACCURACY:
    //
    //                      Relative error:
    // arithmetic   domain     # trials      peak         rms
    //    DEC      -34, 34      10000       1.3e-16     2.5e-17
    //    IEEE    -170,-33      20000       2.3e-15     3.3e-16
    //    IEEE     -33,  33     20000       9.4e-16     2.2e-16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec2InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                // Typed nulls
                [fromString(), "Runtime.getRuntime().exec(command, null as String[])", "", ""],
                // type-wrapped arguments
                [fromGroovyString(), "Runtime.getRuntime().exec(command as String, null)", "", ""],
                [fromObjectList(), "Runtime.getRuntime().exec(command as String[], null)", "", ""],
                // Null-safe calls
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/workcmd/init.go

    current directory, in effect creating a new workspace at the current
    directory.
    
    go work init optionally accepts paths to the workspace modules as
    arguments. If the argument is omitted, an empty workspace with no
    modules will be created.
    
    Each argument path is added to a use directive in the go.work file. The
    current go version will also be listed in the go.work file.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    func Convert_kubeadm_DNS_To_v1beta3_DNS(in *kubeadm.DNS, out *DNS, s conversion.Scope) error {
    	return autoConvert_kubeadm_DNS_To_v1beta3_DNS(in, out, s)
    }
    
    // convertToArgs takes a argument map and converts it to a slice of arguments.
    // Te resulting argument slice is sorted alpha-numerically.
    func convertToArgs(in map[string]string) []kubeadm.Arg {
    	if in == nil {
    		return nil
    	}
    	args := make([]kubeadm.Arg, 0, len(in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/initialization/ParallelismConfigurationCommandLineConverterTest.groovy

            where:
            value << ["foo", "0"]
        }
    
        def "throws exception for invalid max workers argument when converting"() {
            when:
            convert("--max-workers", "-1")
    
            then:
            Throwable t = thrown(CommandLineArgumentException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 07 06:09:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/internal/objabi/flag.go

    }
    
    // expandArgs expands "response files" arguments in the provided slice.
    //
    // A "response file" argument starts with '@' and the rest of that
    // argument is a filename with CR-or-CRLF-separated arguments. Each
    // argument in the named files can also contain response file
    // arguments. See Issue 18468.
    //
    // The returned slice 'out' aliases 'in' iff the input did not contain
    // any response file arguments.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 23:08:09 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/errorsas/errorsas.go

    			return
    		}
    		if len(call.Args) < 2 {
    			return // not enough arguments, e.g. called with return values of another function
    		}
    		if err := checkAsTarget(pass, call.Args[1]); err != nil {
    			pass.ReportRangef(call, "%v", err)
    		}
    	})
    	return nil, nil
    }
    
    var errorType = types.Universe.Lookup("error").Type()
    
    // checkAsTarget reports an error if the second argument to errors.As is invalid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy

        def "can configure searchUpwards via build arguments"() {
            given:
            file('build.gradle') << "assert !gradle.startParameter.searchUpwards"
    
            when:
            withConnection {
                it.newBuild().withArguments('-u').run()
            }
    
            then:
            noExceptionThrown()
        }
    
        def "can overwrite task names via build arguments"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top