Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 378 for args_ (0.19 sec)

  1. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    			}
    		})
    	}
    }
    
    func TestCoreDNSAddon(t *testing.T) {
    	type args struct {
    		cfg           *kubeadmapi.ClusterConfiguration
    		client        clientset.Interface
    		printManifest bool
    	}
    	tests := []struct {
    		name    string
    		args    args
    		wantOut string
    		wantErr bool
    	}{
    		{
    			name: "cfg is empty",
    			args: args{
    				cfg:           &kubeadmapi.ClusterConfiguration{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/JavaRecordCodec.kt

            val fields = clazz.relevantFields
    
            val args = readFields(fields)
            val types = fields.map { it.type }.toTypedArray()
            return try {
                clazz.getConstructor(*types).newInstance(*args.toTypedArray())
            } catch (ex: Exception) {
                throw IllegalStateException("Failed to create instance of ${clazz.name} with args $args", ex)
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tests/integration/pilot/piggyback_test.go

    					argsToTest := []struct {
    						args []string
    					}{
    						{[]string{"x", "proxy-status", "--plaintext", "--xds-address", pf.Address()}},
    						{[]string{"proxy-status", "--plaintext", "--xds-address", pf.Address()}},
    					}
    					for _, args := range argsToTest {
    						istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{Cluster: t.Clusters().Default()})
    						output, _, err := istioCtl.Invoke(args.args)
    						if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/diff_test.go

    	testCases := []struct {
    		name          string
    		args          []string
    		expectedError bool
    	}{
    		{
    			name:          "valid: valid manifest path",
    			args:          []string{apiServerManifest, controllerManagerManifest, schedulerManifest},
    			expectedError: false,
    		},
    		{
    			name:          "invalid: one is empty path",
    			args:          []string{apiServerManifest, controllerManagerManifest, ""},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 04:08:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/order.go

    		return
    	case EvGoUnblock, EvGoSysExit:
    		g = ev.Args[0]
    		init = gState{ev.Args[1], gWaiting}
    		next = gState{ev.Args[1] + 1, gRunnable}
    		return
    	case EvGoUnblockLocal, EvGoSysExitLocal:
    		g = ev.Args[0]
    		init = gState{noseq, gWaiting}
    		next = gState{seqinc, gRunnable}
    		return
    	case EvGCStart:
    		g = garbage
    		init = gState{ev.Args[0], gDead}
    		next = gState{ev.Args[0] + 1, gDead}
    		return
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/helper/helpers_test.go

    		}
    	}
    }
    
    func TestMatchTopologySelectorTerms(t *testing.T) {
    	type args struct {
    		topologySelectorTerms []v1.TopologySelectorTerm
    		labels                labels.Set
    	}
    
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    		{
    			name: "nil term list",
    			args: args{
    				topologySelectorTerms: nil,
    				labels:                nil,
    			},
    			want: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

            """
    
            when:
            run("run", "--args", "2")
    
            then:
            executedAndNotSkipped ":run"
            assertOutputFileIs("2\n")
    
            when:
            run("run", "--args", "2")
    
            then:
            skipped ":run"
    
            when:
            file("out.txt").delete()
    
            and:
            run("run", "--args", "2")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt

                            name = f
                            args = [
                                FunctionArgument.Positional [indexes: 2..3, line/column: 1/3..1/4, file: test] (
                                    expr = IntLiteral [indexes: 2..3, line/column: 1/3..1/4, file: test] (1)
                                )
                            ]
                        )
                        args = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. buildscripts/verify-healing.sh

    	first_time=$(find ${WORK_DIR}/ | grep format.json | wc -l)
    
    	start_port=$1
    	args=""
    	for d in $(seq 1 3 5); do
    		args="$args http://127.0.0.1:$((start_port + 1))${WORK_DIR}/1/${d}/ http://127.0.0.1:$((start_port + 2))${WORK_DIR}/2/${d}/ http://127.0.0.1:$((start_port + 3))${WORK_DIR}/3/${d}/ "
    		d=$((d + 1))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/go/build/read.go

    func parseGoEmbed(args string, pos token.Position) ([]fileEmbed, error) {
    	trimBytes := func(n int) {
    		pos.Offset += n
    		pos.Column += utf8.RuneCountInString(args[:n])
    		args = args[n:]
    	}
    	trimSpace := func() {
    		trim := strings.TrimLeftFunc(args, unicode.IsSpace)
    		trimBytes(len(args) - len(trim))
    	}
    
    	var list []fileEmbed
    	for trimSpace(); args != ""; trimSpace() {
    		var path string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top