Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for didreq (0.17 sec)

  1. src/net/http/transport_test.go

    	})).ts
    	c := ts.Client()
    	tr = c.Transport.(*Transport)
    
    	didreq := make(chan bool)
    	go func() {
    		res, err := c.Get(ts.URL)
    		if err != nil {
    			t.Error(err)
    		} else {
    			res.Body.Close() // returns idle conn
    		}
    		didreq <- true
    	}()
    	unblockCh <- true
    	<-didreq
    }
    
    // Test that the transport doesn't close the TCP connection early,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/workload.go

    	// However, other code will merge "Partial push + Full push -> Full push", so skipping full pushes isn't viable.
    	full := (isReq && w.Wildcard) || (!isReq && req.Full && len(req.ConfigsUpdated) == 0)
    
    	// Nothing to do
    	if len(addresses) == 0 && !full {
    		if isReq {
    			// We need to respond for requests, even if we have nothing to respond with
    			return make(model.Resources, 0), nil, model.XdsLogDetails{}, false, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. cmd/bucket-handlers_test.go

    	// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called.
    
    	nilBucket := "dummy-bucket"
    	nilReq, err := newTestRequest(http.MethodGet, getBucketLocationURL("", nilBucket), 0, nil)
    	if err != nil {
    		t.Errorf("MinIO %s: Failed to create HTTP request for testing the response when object Layer is set to `nil`.", instanceType)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. src/net/http/client.go

    					host = req.Host
    				}
    			}
    			ireq := reqs[0]
    			req = &Request{
    				Method:   redirectMethod,
    				Response: resp,
    				URL:      u,
    				Header:   make(Header),
    				Host:     host,
    				Cancel:   ireq.Cancel,
    				ctx:      ireq.ctx,
    			}
    			if includeBody && ireq.GetBody != nil {
    				req.Body, err = ireq.GetBody()
    				if err != nil {
    					resp.closeBody()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    	// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called.
    	nilBucket := "dummy-bucket"
    
    	nilReq, err := newTestSignedRequestV4(http.MethodPut, getPutPolicyURL("", nilBucket),
    		0, nil, "", "", nil)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	nilReq.Header.Set("X-Amz-Copy-Source", url.QueryEscape(SlashSeparator+nilBucket+SlashSeparator+nilObject))
    
    	// execute the object layer set to `nil` test.
    	// `ExecObjectLayerAPINilTest` manages the operation.
    	ExecObjectLayerAPINilTest(t, nilBucket, nilObject, instanceType, apiRouter, nilReq)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    			return
    		}
    	}
    
    	var updatedAt time.Time
    	if updReq.IsRemove {
    		updatedAt, err = globalIAMSys.RemoveUsersFromGroup(ctx, updReq.Group, updReq.Members)
    	} else {
    		// Check if group already exists
    		if _, gerr := globalIAMSys.GetGroupDescription(updReq.Group); gerr != nil {
    			// If group does not exist, then check if the group has beginning and end space characters
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/podresources/server_v1_test.go

    				Memory:           mockMemoryProvider,
    				DynamicResources: mockDynamicResourcesProvider,
    			}
    			server := NewV1PodResourcesServer(providers)
    			podReq := &podresourcesapi.GetPodResourcesRequest{PodName: podName, PodNamespace: podNamespace}
    			resp, err := server.Get(context.TODO(), podReq)
    
    			if err != nil {
    				if err.Error() != tc.err.Error() {
    					t.Errorf("want exit = %v, got %v", tc.err, err)
    				}
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/components/KaAbstractResolver.kt

                KtTokens.MULTEQ -> KaCompoundAccess.CompoundAssign.Kind.TIMES_ASSIGN
                KtTokens.PERCEQ -> KaCompoundAccess.CompoundAssign.Kind.REM_ASSIGN
                KtTokens.DIVEQ -> KaCompoundAccess.CompoundAssign.Kind.DIV_ASSIGN
                else -> error("unexpected operator $operationToken")
            }
            return compoundAssignKind
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. pkg/controller/volume/expand/expand_controller.go

    		AddFunc: expc.enqueuePVC,
    		UpdateFunc: func(old, new interface{}) {
    			oldPVC, ok := old.(*v1.PersistentVolumeClaim)
    			if !ok {
    				return
    			}
    
    			oldReq := oldPVC.Spec.Resources.Requests[v1.ResourceStorage]
    			oldCap := oldPVC.Status.Capacity[v1.ResourceStorage]
    			newPVC, ok := new.(*v1.PersistentVolumeClaim)
    			if !ok {
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top