Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,798 for argps (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/rest/delete_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if tt.args.strategy == nil {
    				tt.args.strategy = mockStrategy{}
    			}
    			if tt.args.ctx == nil {
    				tt.args.ctx = context.Background()
    			}
    
    			gotGraceful, gotGracefulPending, err := BeforeDelete(tt.args.strategy, tt.args.ctx, tt.args.pod, tt.args.options)
    			if (err != nil) != tt.wantErr {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 11:44:07 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. tests/integration/pilot/istioctl_test.go

    			}
    
    			var output string
    			var args []string
    			g := NewWithT(t)
    
    			args = []string{
    				"--namespace=dummy",
    				"pc", "bootstrap", fmt.Sprintf("%s.%s", podID, apps.Namespace.Name()),
    			}
    			output, _ = istioCtl.InvokeOrFail(t, args)
    			jsonOutput := jsonUnmarshallOrFail(t, strings.Join(args, " "), output)
    			g.Expect(jsonOutput).To(HaveKey("bootstrap"))
    
    			args = []string{
    				"--namespace=dummy",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInvocationSpec.groovy

                this.mavenOpts.addAll(args)
                this
            }
    
            InvocationBuilder args(String... args) {
                this.args.addAll(Arrays.asList(args))
                this
            }
    
            InvocationBuilder args(Iterable<String> args) {
                this.args.addAll(args)
                this
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    		allErrs = append(allErrs, err)
    	}
    	if args.MinCandidateNodesPercentage == 0 && args.MinCandidateNodesAbsolute == 0 {
    		allErrs = append(allErrs,
    			field.Invalid(percentagePath, args.MinCandidateNodesPercentage, "cannot be zero at the same time as minCandidateNodesAbsolute"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/GccCompilerArgsTransformer.java

            List<String> args = new ArrayList<>();
            addToolSpecificArgs(spec, args);
            addMacroArgs(spec, args);
            addUserArgs(spec, args);
            addIncludeArgs(spec, args);
            return args;
        }
    
        protected void addToolSpecificArgs(T spec, List<String> args) {
            Collections.addAll(args, "-x", getLanguage());
            args.add("-c");
            if (spec.isPositionIndependentCode()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/cpp/renderers/renderer.h

      template <typename... Args>
      Renderer CommentLine(absl::string_view text, const Args &...args) {
        return CommentLine(absl::Substitute(text, args...));
      }
    
      // Append a line of code which starts a new block: trailing with '{') and
      // indenting.
      Renderer &BlockOpen(const string &text);
      template <typename... Args>
      Renderer BlockOpen(absl::string_view text, const Args &...args) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/net/rpc/jsonrpc/all_test.go

    	defer client.Close()
    
    	// Synchronous calls
    	args := &Args{7, 8}
    	reply := new(Reply)
    	err := client.Call("Arith.Add", args, reply)
    	if err != nil {
    		t.Errorf("Add: expected no error but got string %q", err.Error())
    	}
    	if reply.C != args.A+args.B {
    		t.Errorf("Add: got %d expected %d", reply.C, args.A+args.B)
    	}
    
    	args = &Args{7, 8}
    	reply = new(Reply)
    	err = client.Call("Arith.Mul", args, reply)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:09:53 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/tls_test.go

    			args{
    				match:     &v1alpha3.TLSMatchAttributes{},
    				namespace: "bar",
    			},
    			true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := matchTLS(tt.args.match, tt.args.proxyLabels, tt.args.gateways, tt.args.port, tt.args.namespace); got != tt.want {
    				t.Errorf("matchTLS() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestMatchTCP(t *testing.T) {
    	type args struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. security/tools/jwt/samples/gen-jwt.py

            # expire in one hour.
            "exp": now + args.expire,
            "iat": now,
        }
        if args.iss:
            payload["iss"] = args.iss
        if args.sub:
            payload["sub"] = args.sub
        else:
            payload["sub"] = args.iss
    
        if args.aud:
            if "," in args.aud:
                payload["aud"] = args.aud.split(",")
            else:
                payload["aud"] = args.aud
    
        if args.claims:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top