- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,090 for net (0.04 sec)
-
src/crypto/tls/conn_test.go
} // hairpinConn is a net.Conn that makes a “hairpin” call when closed, back into // the tls.Conn which is calling it. type hairpinConn struct { net.Conn tlsConn *Conn } func (conn *hairpinConn) Close() error { conn.tlsConn.ConnectionState() return nil } func TestHairpinInClose(t *testing.T) { // This tests that the underlying net.Conn can call back into the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 21:35:01 UTC 2023 - 10.5K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/TcpConnectorTest.groovy
when: outgoingConnector.connect(address) then: ConnectException e = thrown() e.message.startsWith "Could not connect to server ${address}." e.cause instanceof java.net.ConnectException } def "the exception includes last failure when cannot connect"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 10.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import java.io.IOException import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import java.net.SocketTimeoutException import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketPolicy.ResetStreamAtStart
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue May 14 17:48:07 UTC 2024 - 11.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} init { val platformSystemProperty = getPlatformSystemProperty() if (platformSystemProperty == JDK9_PROPERTY) { if (System.getProperty("javax.net.debug") == null) { System.setProperty("javax.net.debug", "") } } else if (platformSystemProperty == CONSCRYPT_PROPERTY) { if (Security.getProviders()[0].name != "Conscrypt") {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
import assertk.assertions.isEqualTo import assertk.assertions.startsWith import assertk.fail import java.io.IOException import java.net.ServerSocket import java.net.Socket import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit.MILLISECONDS import javax.net.ServerSocketFactory import javax.net.SocketFactory import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0) -
cluster/images/etcd/migrate/integration_test.go
cryptorand "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "flag" "fmt" "math/big" "net" "os" "path/filepath" "strings" "sync" "testing" "time" "github.com/blang/semver/v4" "k8s.io/klog/v2" netutils "k8s.io/utils/net" ) var ( testSupportedVersions = mustParseSupportedVersions([]string{"3.0.17", "3.1.12"})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 28 07:33:23 UTC 2022 - 11.4K bytes - Viewed (0) -
src/net/http/cookie.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http import ( "errors" "fmt" "log" "net" "net/http/internal/ascii" "net/textproto" "strconv" "strings" "time" ) // A Cookie represents an HTTP cookie as sent in the Set-Cookie header of an // HTTP response or the Cookie header of an HTTP request. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
src/net/http/cookiejar/jar.go
// license that can be found in the LICENSE file. // Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar. package cookiejar import ( "cmp" "errors" "fmt" "net" "net/http" "net/http/internal/ascii" "net/url" "slices" "strings" "sync" "time" ) // PublicSuffixList provides the public suffix of a domain. For example: // - the public suffix of "example.com" is "com",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15K bytes - Viewed (0) -
src/net/mockserver_test.go
lc = new(ListenConfig) case 1: lc = lcOpt[0] default: t.Helper() t.Fatal("too many ListenConfigs passed to newLocalListener: want 0 or 1") } listen := func(net, addr string) Listener { ln, err := lc.Listen(context.Background(), net, addr) if err != nil { t.Helper() t.Fatal(err) } return ln } switch network { case "tcp": if supportsIPv4() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 13.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go
limitations under the License. */ package filters import ( "bytes" "context" "crypto/tls" "fmt" "io" "io/ioutil" "math/rand" "net" "net/http" "net/http/httptest" "reflect" "sync" "testing" "time" "golang.org/x/net/http2" ) func TestProbabilisticGoawayDecider(t *testing.T) { cases := []struct { name string chance float64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 12:58:54 UTC 2021 - 13.9K bytes - Viewed (0)