Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 262 for reqTests (0.12 sec)

  1. src/net/http/request.go

    //
    // For outgoing client request, the context controls the entire
    // lifetime of a request and its response: obtaining a connection,
    // sending the request, and reading the response headers and body.
    //
    // To create a new request with a context, use [NewRequestWithContext].
    // To make a deep copy of a request with a new context, use [Request.Clone].
    func (r *Request) WithContext(ctx context.Context) *Request {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. plugin/pkg/admission/limitranger/admission_test.go

    	}
    	return res
    }
    
    func getResourceRequirements(requests, limits api.ResourceList) api.ResourceRequirements {
    	res := api.ResourceRequirements{}
    	res.Requests = requests
    	res.Limits = limits
    	return res
    }
    
    func getVolumeResourceRequirements(requests, limits api.ResourceList) api.VolumeResourceRequirements {
    	res := api.VolumeResourceRequirements{}
    	res.Requests = requests
    	res.Limits = limits
    	return res
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		// waits for both client goroutines to have gotten a response (expected to be timeouts).
    		// The second request sits in the queue until the timeout filter does its thing, which
    		// it does concurrently to both requests.  For the first request this should make the client
    		// get a timeout response without directly affecting execution.  For the second request, the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    func (t *Transport) prepareTransportCancel(req *Request, origCancel context.CancelCauseFunc) context.CancelCauseFunc {
    	// Historically, RoundTrip has not modified the Request in any way.
    	// We could avoid the need to keep a map of all in-flight requests by adding
    	// a field to the Request containing its cancel func, and setting that field
    	// while the request is in-flight. Callers aren't supposed to reuse a Request
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
    	//
    	// - 'object' - The object from the incoming request. The value is null for DELETE requests.
    	// - 'oldObject' - The existing object. The value is null for CREATE requests.
    	// - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      //
      // 'object' - The object from the incoming request. The value is null for DELETE requests.
      // 'oldObject' - The existing object. The value is null for CREATE requests.
      // 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest).
      // 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
    	//
    	// - 'object' - The object from the incoming request. The value is null for DELETE requests.
    	// - 'oldObject' - The existing object. The value is null for CREATE requests.
    	// - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      //
      // 'object' - The object from the incoming request. The value is null for DELETE requests.
      // 'oldObject' - The existing object. The value is null for CREATE requests.
      // 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest).
      // 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("This is the new location!")
        val request1 = server.takeRequest()
        assertThat(request1.path).isEqualTo("/")
        val request2 = server.takeRequest()
        assertThat(request2.path).isEqualTo("/foo")
      }
    
      @ParameterizedTest
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/defaults_test.go

    				}
    			}
    		}
    
    		if len(got.Resources.Requests) != len(expected.Resources.Requests) {
    			return fmt.Errorf("different number of resources.Requests: got <%v>, expected <%v>", len(got.Resources.Requests), (expected.Resources.Requests))
    		}
    
    		for k, v := range got.Resources.Requests {
    			if ev, found := expected.Resources.Requests[v1.ResourceName(k)]; !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top