- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for choosing (0.37 sec)
-
src/net/http/transport_test.go
t.Errorf("After CloseIdleConnections expected %d idle conn cache keys; got %d", e, g) } } // Tests that the HTTP transport re-uses connections when a client // reads to the end of a response Body without closing it. func TestTransportReadToEndReusesConn(t *testing.T) { run(t, testTransportReadToEndReusesConn) } func testTransportReadToEndReusesConn(t *testing.T, mode testMode) { const msg = "foobar"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
assertThat(requestA.sequenceNumber).isEqualTo(0) val requestB = server.takeRequest() assertThat(requestB.sequenceNumber).isEqualTo(1) } /** * We had a bug where we weren't closing Gzip streams on redirects. * https://github.com/square/okhttp/issues/441 */ @Test fun gzipWithRedirectAndConnectionReuse() { server.enqueue( MockResponse.Builder()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
doc/go1.17_spec.html
records that no more values will be sent on the channel. It is an error if <code>c</code> is a receive-only channel. Sending to or closing a closed channel causes a <a href="#Run_time_panics">run-time panic</a>. Closing the nil channel also causes a <a href="#Run_time_panics">run-time panic</a>. After calling <code>close</code>, and after any previously
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/net/http/serve_test.go
} } else { // In HTTP/1, we expect a 431 from the server. // Some HTTP clients may fail on this undefined behavior (server replying and // closing the connection while the request is still being written), but // we do support it (at least currently), so we expect a response below. if err != nil { t.Fatalf("Do: %v", err) } if res.StatusCode != 431 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2
other, as they are represented in the oblong Figure PTMN; and then viewing them through a Prism DH held parallel to their Length, they appeared not co-incident, as when view'd with the naked Eye, but in the form of two distinct Spectrums _pt_ and _mn_ crossing one another in the middle after the manner of the Letter X. Which shews that the red of the one Spectrum and violet of the other, which were co-incident at PN and MT, being parted from one another by a greater Refraction of the violet to _p_ and...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 24 18:26:02 UTC 2018 - 129.4K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// We chopped off some number of path elements and // added vendor\path to produce c:\gopath\src\foo\bar\baz\vendor\path. // Now we want to know the import path for that directory. // Construct it by chopping the same number of path elements // (actually the same number of bytes) from parent's import path // and then append /vendor/path. chopped := len(dir) - i if chopped == len(importPath)+1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
// consulting : 2013-12-05 Dog Beach, LLC consulting // contact : 2015-01-08 Dog Beach, LLC contact // contractors : 2013-09-10 Binky Moon, LLC contractors // cooking : 2013-11-21 Registry Services, LLC cooking // cookingchannel : 2015-07-02 Lifestyle Domain Holdings, Inc. cookingchannel // cool : 2013-11-14 Binky Moon, LLC cool // corsica : 2014-09-25 Collectivité de Corse
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 240.3K bytes - Viewed (0) -
src/reflect/all_test.go
t.Errorf("send 123 then close; Recv %d, %t", i.Int(), ok) } if i, ok := cv.Recv(); i.Int() != 0 || ok { t.Errorf("after close Recv %d, %t", i.Int(), ok) } // Closing a read-only channel shouldPanic("", func() { c := make(<-chan int, 1) cv := ValueOf(c) cv.Close() }) } // check creation of unbuffered channel var c chan int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)