Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 237 for bargs (0.4 sec)

  1. istioctl/pkg/tag/tag.go

    without manual relabeling of the "istio.io/rev" tag.
    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(tagSetCommand(ctx))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			}
    			// reflection requires that the value be addressable in order to call set,
    			// so we must ensure the value we created is available on the heap (not a problem
    			// for normal usage)
    			if !tt.args.v.CanAddr() {
    				x := reflect.New(tt.args.v.Type())
    				x.Elem().Set(tt.args.v)
    				tt.args.v = x.Elem()
    			}
    			growSlice(tt.args.v, tt.args.maxCapacity, tt.args.sizes...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/cc_test.go

    func (c *config) goCmdWithExperiments(subcommand string, args []string, experiments []string) *exec.Cmd {
    	cmd := exec.Command("go", subcommand)
    	cmd.Args = append(cmd.Args, c.goFlags...)
    	cmd.Args = append(cmd.Args, args...)
    	replaceEnv(cmd, "CGO_CFLAGS", strings.Join(c.cFlags, " "))
    	replaceEnv(cmd, "CGO_LDFLAGS", strings.Join(c.ldFlags, " "))
    	appendExperimentEnv(cmd, experiments)
    	return cmd
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    		},
    		{
    			description:       "Invalid command args - missing service name",
    			args:              strings.Split("group create -n bar", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload name\n",
    		},
    		{
    			description:       "Invalid command args - missing service namespace",
    			args:              strings.Split("group create --name foo", " "),
    			expectedException: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		}
    		v.reset(OpSelect1)
    		v.Type = t
    		v.AddArg(z)
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64ISEL(v *Value) bool {
    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (ISEL [a] x (MOVDconst [0]) z)
    	// result: (ISELZ [a] x z)
    	for {
    		a := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if v_1.Op != OpPPC64MOVDconst || auxIntToInt64(v_1.AuxInt) != 0 {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/ExecuteActionsTaskExecuterTest.groovy

            executer.execute(task, state, executionContext)
    
            then:
            1 * standardOutputCapture.start()
            then:
            1 * buildOperationRunnerForTaskExecution.run(_ as RunnableBuildOperation) >> { args -> args[0].run(Stub(BuildOperationContext)) }
            then:
            1 * action1.execute(task) >> {
                assert state.executing
            }
            then:
            1 * action1.clearInputChanges()
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/gccgo.go

    				return "", nil, err
    			}
    			args = append(args, "-I", root)
    		}
    	}
    	if embedcfg != nil && b.gccSupportsFlag(args[:1], "-fgo-embedcfg=/dev/null") {
    		if err := sh.writeFile(objdir+"embedcfg", embedcfg); err != nil {
    			return "", nil, err
    		}
    		args = append(args, "-fgo-embedcfg="+objdir+"embedcfg")
    	}
    
    	if b.gccSupportsFlag(args[:1], "-ffile-prefix-map=a=b") {
    		if cfg.BuildTrimpath {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    func Test_clusterMatch(t *testing.T) {
    	type args struct {
    		proxy          *model.Proxy
    		cluster        *cluster.Cluster
    		matchCondition *networking.EnvoyFilter_EnvoyConfigObjectMatch
    		operation      networking.EnvoyFilter_Patch_Operation
    		host           host.Name
    	}
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    		{
    			name: "name mismatch",
    			args: args{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. src/os/exec/exec_test.go

    	"hang":          cmdHang,
    }
    
    func cmdEcho(args ...string) {
    	iargs := []any{}
    	for _, s := range args {
    		iargs = append(iargs, s)
    	}
    	fmt.Println(iargs...)
    }
    
    func cmdEchoEnv(args ...string) {
    	for _, s := range args {
    		fmt.Println(os.Getenv(s))
    	}
    }
    
    func cmdCat(args ...string) {
    	if len(args) == 0 {
    		io.Copy(os.Stdout, os.Stdin)
    		return
    	}
    	exit := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_test.go

    	}
    }
    
    func Test_dedupPorts(t *testing.T) {
    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top