Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wantnil (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    				l:            &sync.Mutex{},
    				lastResponse: &kmsPluginHealthzResponse{},
    			},
    			wantTTL: kmsPluginHealthzNegativeTTL,
    		},
    	}
    
    	for _, tt := range testCases {
    		t.Run(tt.desc, func(t *testing.T) {
    			_ = tt.probe.check()
    			if tt.probe.ttl != tt.wantTTL {
    				t.Fatalf("want ttl %v, got ttl %v", tt.wantTTL, tt.probe.ttl)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    	}
    	w.ctx = nil
    	w.done = true
    
    	w.result <- connOrError{pc: pc, err: err, idleAt: idleAt}
    	close(w.result)
    
    	return true
    }
    
    // cancel marks w as no longer wanting a result (for example, due to cancellation).
    // If a connection has been delivered already, cancel returns it with t.putOrCloseIdleConn.
    func (w *wantConn) cancel(t *Transport, err error) {
    	w.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top