- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 360 for resps (0.04 sec)
-
cmd/kubeadm/app/util/apiclient/wait.go
return false, err } resp, err := client.Do(req) if err != nil { lastError = formatError(fmt.Sprintf("error: %v", err)) return false, nil } defer func() { _ = resp.Body.Close() }() if resp.StatusCode != http.StatusOK { lastError = formatError(fmt.Sprintf("status code: %d", resp.StatusCode)) return false, nil } return true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
if (i == 0) { head = chain; } } } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held segment.removeEntryFromChain(chain, head); dummy += segment.count;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1beta1_test.go
authenticated, tt.expectedAuthenticated) } if resp != nil && tt.expectedUser != nil && !reflect.DeepEqual(resp.User, tt.expectedUser) { t.Errorf("Plugin returned incorrect user. Got %#v, expected %#v", resp.User, tt.expectedUser) } if resp != nil && tt.expectedAuds != nil && !reflect.DeepEqual(resp.Audiences, tt.expectedAuds) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 00:47:42 UTC 2022 - 19.2K bytes - Viewed (0) -
pkg/test/echo/parse.go
alpnFieldRegex = regexp.MustCompile(string(AlpnField) + "=(.*)") ) func ParseResponses(req *proto.ForwardEchoRequest, resp *proto.ForwardEchoResponse) Responses { responses := make([]Response, len(resp.Output)) for i, output := range resp.Output { responses[i] = parseResponse(output) responses[i].RequestURL = req.Url } return responses } func parseResponse(output string) Response {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 23 22:25:46 UTC 2022 - 4.3K bytes - Viewed (0) -
internal/event/target/webhook.go
} req.Header.Set("Content-Type", "application/json") resp, err := target.httpClient.Do(req) if err != nil { return err } defer xhttp.DrainBody(resp.Body) if resp.StatusCode < 200 || resp.StatusCode > 299 { return fmt.Errorf("sending event failed with %v", resp.Status) } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/test/echo/responses.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 23 22:25:46 UTC 2022 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken.go
if len(token) == 0 { // The space before the token case if len(parts) == 3 { warning.AddWarning(req.Context(), "", invalidTokenWithSpaceWarning) } return nil, false, nil } resp, ok, err := a.auth.AuthenticateToken(req.Context(), token) // if we authenticated successfully, go ahead and remove the bearer token so that no one // is ever tempted to use it inside of the API server if ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 25 13:22:28 UTC 2022 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/group.go
Writes(metav1.APIGroup{})) return ws } // handle returns a handler which will return the api.GroupAndVersion of the group. func (s *APIGroupHandler) handle(req *restful.Request, resp *restful.Response) { s.ServeHTTP(resp.ResponseWriter, req.Request) } func (s *APIGroupHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 20:38:08 UTC 2022 - 2.5K bytes - Viewed (0) -
security/pkg/nodeagent/caclient/providers/citadel/client.go
ctx := metadata.NewOutgoingContext(context.Background(), metadata.Pairs("ClusterID", c.opts.ClusterID)) resp, err := c.client.CreateCertificate(ctx, req) if err != nil { return nil, fmt.Errorf("create certificate: %v", err) } if len(resp.CertChain) <= 1 { return nil, errors.New("invalid empty CertChain") } return resp.CertChain, nil } func (c *CitadelClient) getTLSOptions() *istiogrpc.TLSOptions {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptModelRepositoryTest.kt
} // submit the first response // this response should satisfy the very first request val resp1 = newModelResponse().also(nextResponse::put) val (_, asyncResp1) = pendingTasks[0] assertThat( asyncResp1.await(), sameInstance(resp1) ) // now we expect to receive the most recent request since the last request that got a response,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.3K bytes - Viewed (0)