Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 360 for resps (0.17 sec)

  1. src/internal/fuzz/worker.go

    			dur, cov, errMsg := fuzzOnce(entry)
    			if errMsg != "" {
    				resp.Err = errMsg
    				return resp
    			}
    			if cov != nil {
    				resp.CoverageData = cov
    				resp.InterestingDuration = dur
    				return resp
    			}
    			if shouldStop() {
    				return resp
    			}
    		}
    	}
    }
    
    func (ws *workerServer) minimize(ctx context.Context, args minimizeArgs) (resp minimizeResponse) {
    	start := time.Now()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    			w.Header()[k[len(trim):]] = v
    		}
    	}
    }
    
    func fwdStatusToAPIError(resp *http.Response) *APIError {
    	if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" && StatusCode(status) > -1 {
    		apiErr := &APIError{
    			HTTPStatusCode: StatusCode(status),
    			Description:    resp.Header.Get(xhttp.AmzFwdErrorMessage),
    			Code:           resp.Header.Get(xhttp.AmzFwdErrorCode),
    		}
    		if apiErr.HTTPStatusCode == http.StatusOK {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. pkg/wasm/httpfetcher.go

    		if retryable(resp.StatusCode) {
    			// Limit wasm module to 256mb; in reality it must be much smaller
    			body, err := io.ReadAll(io.LimitReader(resp.Body, 1024*1024*256))
    			if err != nil {
    				return nil, err
    			}
    			wasmLog.Debugf("wasm module download failed: status code %v, body %v", resp.StatusCode, string(body))
    			err = resp.Body.Close()
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/discovery.go

    	b, err := c.Schema(runtime.ContentTypeJSON)
    	if err != nil {
    		return nil, err
    	}
    	resp := new(schemaResponse)
    	err = json.Unmarshal(b, resp)
    	if err != nil {
    		return nil, err
    	}
    	ref, err := resolveRef(resp, gvk)
    	if err != nil {
    		return nil, err
    	}
    	s, err := PopulateRefs(func(ref string) (*spec.Schema, bool) {
    		s, ok := resp.Components.Schemas[strings.TrimPrefix(ref, refPrefix)]
    		return s, ok
    	}, ref)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 17:23:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    	client := &http.Client{
    		Transport: tr,
    	}
    	resp, err := client.Post(source, "application/octet-stream", strings.NewReader(post))
    	if err != nil {
    		return nil, fmt.Errorf("http post %s: %v", source, err)
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("http post %s: %v", source, statusCodeError(resp))
    	}
    	return io.ReadAll(resp.Body)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	// populate cache
    	if resp, ok, err := a.AuthenticateToken(context.Background(), "usertoken1"); err != nil || !ok || resp.User.GetName() != "user1" {
    		t.Errorf("Expected user1")
    	}
    	if resp, ok, err := a.AuthenticateToken(context.Background(), "usertoken2"); err != nil || !ok || resp.User.GetName() != "user2" {
    		t.Errorf("Expected user2")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  7. pilot/pkg/xds/workload_test.go

    )
    
    func buildExpect(t *testing.T) func(resp *discovery.DeltaDiscoveryResponse, names ...string) {
    	return func(resp *discovery.DeltaDiscoveryResponse, names ...string) {
    		t.Helper()
    		want := sets.New(names...)
    		have := sets.New[string]()
    		for _, r := range resp.Resources {
    			have.Insert(r.Name)
    		}
    		if len(resp.RemovedResources) > 0 {
    			t.Fatalf("unexpected removals: %v", resp.RemovedResources)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. pkg/istio-agent/xds_proxy.go

    						case forwardEnvoyCh <- resp:
    						case <-con.stopChan:
    						}
    					})
    				} else {
    					// Otherwise, forward ECDS resource update directly to Envoy.
    					forwardToEnvoy(con, resp)
    				}
    			default:
    				if strings.HasPrefix(resp.TypeUrl, model.DebugType) {
    					p.forwardToTap(resp)
    				} else {
    					forwardToEnvoy(con, resp)
    				}
    			}
    		case resp := <-forwardEnvoyCh:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/legacy.go

    		Consumes(mediaTypes...).
    		Writes(metav1.APIVersions{}))
    	return ws
    }
    
    func (s *legacyRootAPIHandler) restfulHandle(req *restful.Request, resp *restful.Response) {
    	s.ServeHTTP(resp.ResponseWriter, req.Request)
    }
    
    func (s *legacyRootAPIHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
    	clientIP := utilnet.GetClientIP(req)
    	apiVersions := &metav1.APIVersions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 22:44:49 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. pkg/proxy/healthcheck/proxier_health.go

    	hs *ProxierHealthServer
    }
    
    func (h healthzHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
    	nodeEligible := h.hs.NodeEligible()
    	healthy, lastUpdated := h.hs.isHealthy()
    	currentTime := h.hs.clock.Now()
    
    	healthy = healthy && nodeEligible
    	resp.Header().Set("Content-Type", "application/json")
    	resp.Header().Set("X-Content-Type-Options", "nosniff")
    	if !healthy {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 10:41:18 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top