Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 850 for net (0.02 sec)

  1. src/net/dial.go

    	case *UnixAddr:
    		la, _ := la.(*UnixAddr)
    		c, err = sd.dialUnix(ctx, la, ra)
    	default:
    		return nil, &OpError{Op: "dial", Net: sd.network, Source: la, Addr: ra, Err: &AddrError{Err: "unexpected address type", Addr: sd.address}}
    	}
    	if err != nil {
    		return nil, &OpError{Op: "dial", Net: sd.network, Source: la, Addr: ra, Err: err} // c is non-nil interface containing nil pointer
    	}
    	return c, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

    import assertk.fail
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.security.cert.X509Certificate
    import java.util.Arrays
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicInteger
    import java.util.concurrent.atomic.AtomicReference
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLPeerUnverifiedException
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    				IPs:      []net.IP{{127, 0, 0, 1}},
    			},
    			&certutil.AltNames{
    				DNSNames: []string{"a"},
    				IPs:      []net.IP{{127, 0, 0, 1}},
    			},
    		},
    		{
    			&certutil.AltNames{
    				DNSNames: []string{"a"},
    				IPs:      []net.IP{{127, 0, 0, 1}, {127, 0, 0, 1}},
    			},
    			&certutil.AltNames{
    				DNSNames: []string{"a"},
    				IPs:      []net.IP{{127, 0, 0, 1}},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top