Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,832 for net (0.02 sec)

  1. src/net/rpc/jsonrpc/all_test.go

    	}
    	return err
    }
    
    func (p *pipe) LocalAddr() net.Addr {
    	return pipeAddr(0)
    }
    
    func (p *pipe) RemoteAddr() net.Addr {
    	return pipeAddr(0)
    }
    
    func (p *pipe) SetTimeout(nsec int64) error {
    	return errors.New("net.Pipe does not support timeouts")
    }
    
    func (p *pipe) SetReadTimeout(nsec int64) error {
    	return errors.New("net.Pipe does not support timeouts")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:09:53 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/testdata/script/mod_run_nonmain.txt

    ! go run $PWD
    ! stderr 'no packages loaded'
    stderr '^package example.net/nonmain is not a main package$'
    
    ! go run .
    stderr '^package example.net/nonmain is not a main package$'
    
    ! go run ./...
    stderr '^go: warning: "\./\.\.\." matched only non-main packages$'
    stderr '^go: no packages loaded from \./\.\.\.$'
    
    -- go.mod --
    module example.net/nonmain
    
    go 1.17
    -- nonmain.go --
    // Package nonmain is not a main package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 435 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top