Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,653 for net (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package proxy
    
    import (
    	"context"
    	"crypto/tls"
    	"fmt"
    	"net"
    	"net/http"
    	"net/url"
    
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apimachinery/third_party/forked/golang/netutil"
    	"k8s.io/klog/v2"
    )
    
    // DialURL will dial the specified URL using the underlying dialer held by the passed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/net/fd_unix.go

    		},
    		family: family,
    		sotype: sotype,
    		net:    net,
    	}
    	return ret, nil
    }
    
    func (fd *netFD) init() error {
    	return fd.pfd.Init(fd.net, true)
    }
    
    func (fd *netFD) name() string {
    	var ls, rs string
    	if fd.laddr != nil {
    		ls = fd.laddr.String()
    	}
    	if fd.raddr != nil {
    		rs = fd.raddr.String()
    	}
    	return fd.net + ":" + ls + "->" + rs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 20:19:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. pkg/h2c/wrapper.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package h2c
    
    import (
    	"net/http"
    	"net/textproto"
    
    	"golang.org/x/net/http/httpguts"
    	"golang.org/x/net/http2"
    	"golang.org/x/net/http2/h2c" // nolint: depguard
    )
    
    // NewHandler returns an http.Handler that wraps h, intercepting any h2c
    // traffic. See h2c.NewHandler for details.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 09 08:02:48 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/internal/wasitest/testdata/tcpecho.go

    	}
    	return handleConn(c)
    }
    
    func handleConn(c net.Conn) error {
    	defer c.Close()
    
    	var buf [128]byte
    	n, err := c.Read(buf[:])
    	if err != nil {
    		return err
    	}
    	if _, err := c.Write(buf[:n]); err != nil {
    		return err
    	}
    	if err := c.(*net.TCPConn).CloseWrite(); err != nil {
    		return err
    	}
    	return c.Close()
    }
    
    func findListener() (net.Listener, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:41 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonJvmOptions.java

        public static final String SSL_KEYSTORE_KEY = "javax.net.ssl.keyStore";
        public static final String SSL_KEYSTOREPASSWORD_KEY = "javax.net.ssl.keyStorePassword";
        public static final String SSL_KEYSTORETYPE_KEY = "javax.net.ssl.keyStoreType";
        public static final String SSL_TRUSTSTORE_KEY = "javax.net.ssl.trustStore";
        public static final String SSL_TRUSTPASSWORD_KEY = "javax.net.ssl.trustStorePassword";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/net/fd_windows.go

    // for the given network type.
    func canUseConnectEx(net string) bool {
    	switch net {
    	case "tcp", "tcp4", "tcp6":
    		return true
    	}
    	// ConnectEx windows API does not support connectionless sockets.
    	return false
    }
    
    func newFD(sysfd syscall.Handle, family, sotype int, net string) (*netFD, error) {
    	ret := &netFD{
    		pfd: poll.FD{
    			Sysfd:         sysfd,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

     * limitations under the License.
     */
    package okhttp3.internal.proxy
    
    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    /**
     * A proxy selector that always returns the [Proxy.NO_PROXY].
     */
    object NullProxySelector : ProxySelector() {
      override fun select(uri: URI?): List<Proxy> {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. pkg/istio-agent/health/health_check_test.go

    package health
    
    import (
    	"fmt"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"strconv"
    	"strings"
    	"syscall"
    	"testing"
    	"time"
    
    	"go.uber.org/atomic"
    
    	"istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    // DelayedListener is like net.Listener but delays the Listen() syscall.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. pkg/kubelet/client/kubelet_client_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package client
    
    import (
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"net/http/httputil"
    	"net/url"
    	"strconv"
    	"testing"
    )
    
    func TestMakeTransportInvalid(t *testing.T) {
    	config := &KubeletClientConfig{
    		// Invalid certificate and key path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 01:34:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. okhttp-java-net-cookiejar/README.md

    OkHttp java.net.CookieHandler
    =============================
    
    This module integrates OkHttp with `CookieHandler` from `java.net`.
    This used to be part of `okhttp-urlconnection`
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:4.12.0")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 285 bytes
    - Viewed (0)
Back to top