- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 880 for bargs (0.04 sec)
-
cmd/kubeadm/app/apis/kubeadm/argument.go
// nArgs holds how many existing arguments with this name should be set. // If nArgs is less than 1, all of them will be updated. func SetArgValues(args []Arg, name, value string, nArgs int) []Arg { var count int var found bool for i := len(args) - 1; i >= 0; i-- { if args[i].Name == name { found = true args[i].Value = value if nArgs < 1 { continue } count++
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named_test.go
b.ResetTimer() for i := 0; i < b.N; i++ { _ = test.typ.Underlying() } }) } }) } func mustInstantiate(tb testing.TB, orig Type, targs ...Type) Type { inst, err := Instantiate(nil, orig, targs, true) if err != nil { tb.Fatal(err) } return inst } // Test that types do not expand infinitely, as in go.dev/issue/52715. func TestFiniteTypeExpansion(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 21:06:56 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/proxy-override-args.yaml
- name: hello image: "fake.docker.io/google-samples/hello-go-gke:1.0" - name: istio-proxy image: auto # Test that we can override a complex field like the command args: ["-c", "my-config.yaml"] command:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 07 23:55:05 UTC 2020 - 471 bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/argument_test.go
value: "zz", nArgs: -1, expectedArgs: []Arg{{Name: "foo", Value: "bar1"}, {Name: "foo", Value: "bar2"}, {Name: "z", Value: "zz"}}, }, } for _, rt := range tests { t.Run(rt.testName, func(t *testing.T) { args := SetArgValues(rt.args, rt.name, rt.value, rt.nArgs) if !reflect.DeepEqual(args, rt.expectedArgs) { t.Errorf("expected args: %#v, got: %#v", rt.expectedArgs, args) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 3.4K bytes - Viewed (0) -
Makefile
clean: ## cleanup all generated assets @echo "Cleaning up all the generated files" @find . -name '*.test' | xargs rm -fv @find . -name '*~' | xargs rm -fv @find . -name '.#*#' | xargs rm -fv @find . -name '#*#' | xargs rm -fv @rm -rvf minio @rm -rvf build @rm -rvf release @rm -rvf .verify* @rm -rvf minio-release @rm -rvf minio.RELEASE*.hotfix.*
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 10.1K bytes - Viewed (0) -
src/go/types/call.go
// add partial list of type arguments, if any if i < len(atargs) { targs = append(targs, atargs[i]...) } // make sure targs and tparams have the same length for len(targs) < len(tparams) { targs = append(targs, nil) } genericArgs = append(genericArgs, i) } } } assert(len(tparams) == len(targs)) // at the moment we only support implicit instantiations of argument functions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
security/tools/jwt/samples/gen-jwt.py
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 11 16:38:57 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LexerTest.kt
) ) ) } @Test fun `extracts package name`() { assertThat( lex("\n" + "/* ... */\n" + "// she-bangs! ///////_*&@ because why not! _-|\n" + "\n" + "#!/something/something\n" + "\n" + "\n" + "/* first file annotation */\n" +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-resource-args.pbtxt
Adrian Kuegel <******@****.***> 1698648479 -0700
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 1.8K bytes - Viewed (0) -
cluster/gce/gci/flexvolume_node_setup.sh
filecount=$(cd "$driver_dir"; find . -mindepth 1 -maxdepth 1 -print0 | xargs -0 -n1 basename | wc -l) if [ "$filecount" -gt 1 ]; then echo "ERROR: Expected 1 file in the FlexVolume directory but found $filecount." exit 1 fi driver_file=$(cd "$driver_dir"; find . -mindepth 1 -maxdepth 1 -print0 | xargs -0 -n1 basename | head -n 1)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 13 17:58:51 UTC 2020 - 5.8K bytes - Viewed (0)