Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for wantnil (0.11 sec)

  1. src/syscall/syscall_linux_test.go

    			// wanted value for KEEPCAPS.
    			for k := 0; k < routines; k++ {
    				question <- want
    			}
    
    			// At this point, we should have a large
    			// number of locked OS threads all wanting to
    			// reply.
    			for k := 0; k < routines; k++ {
    				if got := <-response; got != want {
    					t.Errorf("[%d,%d,%d] waiter result got=%d, want=%d", i, j, k, got, want)
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            return this;
        }
    
        @Override
        public void registerNode(ModelNodeInternal node, Multimap<ModelActionRole, ? extends ModelAction> actions) {
            // Disabled before 2.3 release due to not wanting to validate task names (which may contain invalid chars), at least not yet
            // ModelPath.validateName(name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    				}
    			} else {
    				if got.Method != "HEAD" {
    					t.Errorf("Wrong method for destination: %q", got.Method)
    				}
    				gotURL := got.URL.String()
    				wantURL := ts.URL + "/"
    				if gotURL != wantURL {
    					t.Errorf("Got URL %q, want %q", gotURL, wantURL)
    				}
    			}
    		})
    	}
    }
    
    func TestOnProxyConnectResponse(t *testing.T) {
    
    	var tcases = []struct {
    		proxyStatusCode int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. 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)
  5. src/net/http/h2_bundle.go

    		if clientGone {
    			// TODO: could we also get into this state if
    			// the peer does a half close
    			// (e.g. CloseWrite) because they're done
    			// sending frames but they're still wanting
    			// our open replies?  Investigate.
    			// TODO: add CloseWrite to crypto/tls.Conn first
    			// so we have a way to test this? I suppose
    			// just for testing we could have a non-TLS mode.
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top