Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,163 for net (0.11 sec)

  1. src/net/file_wasip1_test.go

    // support this approach for UDP sockets. Instead, we test the internals that
    // make it possible for WASI host runtimes and guest programs to integrate
    // socket extensions with the net package using net.FileConn/net.FileListener.
    //
    // Note that the creation of net.Conn and net.Listener values for TCP sockets
    // has an end-to-end test in src/runtime/internal/wasitest, here we are only
    // verifying the code paths specific to UDP, and error handling for invalid use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:06:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/net/iprawsock.go

    //
    // The packages golang.org/x/net/ipv4 and golang.org/x/net/ipv6 can be
    // used to manipulate IP-level socket options in oob.
    func (c *IPConn) ReadMsgIP(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
    	if !c.ok() {
    		return 0, 0, 0, nil, syscall.EINVAL
    	}
    	n, oobn, flags, addr, err = c.readMsg(b, oob)
    	if err != nil {
    		err = &OpError{Op: "read", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/syscall/mkerrors.sh

    #include <sys/termios.h>
    #include <sys/ttycom.h>
    #include <sys/wait.h>
    #include <net/bpf.h>
    #include <net/if.h>
    #include <net/if_types.h>
    #include <net/if_var.h>
    #include <net/route.h>
    #include <netinet/in.h>
    #include <netinet/in_systm.h>
    #include <netinet/ip.h>
    #include <netinet/ip_mroute.h>
    #include <netinet/if_ether.h>
    #include <net/if_bridge.h>
    
    // We keep some constants not supported in OpenBSD 5.5 and beyond for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_graph_version.txt

    // that module is lower under Go 1.17 semantics than under Go 1.16.
    module example.com/m
    
    go 1.17
    
    replace (
    	example.net/lazy v0.1.0 => ./lazy
    	example.net/requireincompatible v0.1.0 => ./requireincompatible
    )
    
    require (
    	example.com/retract/incompatible v1.0.0 // indirect
    	example.net/lazy v0.1.0
    )
    -- lazy/go.mod --
    // Module lazy requires example.com/retract/incompatible v1.0.0.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 21:10:42 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt

      @Test fun overflowMaxCodePoint() {
        assertNull(Punycode.decode("xn--a-b.net"))
        assertNull(Punycode.decode("xn--a-9b.net"))
        assertEquals("a՚.net", Punycode.decode("xn--a-99b.net"))
        assertEquals("a溠.net", Punycode.decode("xn--a-999b.net"))
        assertEquals("a\uD8E2\uDF5C.net", Punycode.decode("xn--a-9999b.net"))
        assertNull(Punycode.decode("xn--a-99999b.net"))
      }
    
      @Test fun dashInPrefix() {
        testEncodeDecode(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/install_move_not_stale.txt

    # even when it's been moved to a different directory.
    # Simulate that by creating a symlink to the tree.
    
    # We use net instead of std because stale std has
    # the behavior of checking that all std targets
    # are stale rather than any of them.
    
    [!symlink] skip
    [short] skip
    
    go build net
    ! stale net
    
    symlink new -> $GOROOT
    env OLDGOROOT=$GOROOT
    env GOROOT=$WORK${/}gopath${/}src${/}new
    go env GOROOT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:51:12 UTC 2022
    - 625 bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/interfaces.go

    import (
    	"errors"
    	"fmt"
    	"net"
    
    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    // Interface manages the allocation of IP addresses out of a range. Interface
    // should be threadsafe.
    type Interface interface {
    	Allocate(net.IP) error
    	AllocateNext() (net.IP, error)
    	Release(net.IP) error
    	ForEach(func(net.IP))
    	CIDR() net.IPNet
    	IPFamily() api.IPFamily
    	Has(ip net.IP) bool
    	Destroy()
    	EnableMetrics()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

     */
    package okhttp3.internal.platform
    
    import java.security.KeyStore
    import java.security.Provider
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    
    /**
     * Platform using OpenJSSE (https://github.com/openjsse/openjsse) if installed as the first
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/log/syslog/syslog_test.go

    	defer func() { crashy = false }()
    
    	const N = 10
    	const M = 100
    	net := "unix"
    	if !testableNetwork(net) {
    		net = "tcp"
    		if !testableNetwork(net) {
    			t.Skipf("skipping on %s/%s; neither 'unix' or 'tcp' is supported", runtime.GOOS, runtime.GOARCH)
    		}
    	}
    	done := make(chan string, N*M)
    	addr, sock, srvWG := startServer(t, net, "", done)
    	if net == "unix" {
    		defer os.Remove(addr)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  10. src/net/file_wasip1.go

    	switch fd.net {
    	case "tcp":
    		return &TCPListener{fd: fd}
    	default:
    		panic("unsupported network for file listener: " + fd.net)
    	}
    }
    
    func newFileConn(fd *netFD) Conn {
    	switch fd.net {
    	case "tcp":
    		return &TCPConn{conn{fd: fd}}
    	case "udp":
    		return &UDPConn{conn{fd: fd}}
    	default:
    		panic("unsupported network for file connection: " + fd.net)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 12 23:11:39 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top