Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,832 for net (0.59 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. hack/verify-netparse-cve.sh

        \) -name '*.go'
    }
    
    # find files using net.ParseIP()
    netparseip_matches=$(find_files | xargs grep -nE "net.ParseIP\(.*\)" 2>/dev/null) || true
    if [[ -n "${netparseip_matches}" ]]; then
      echo "net.ParseIP reject leading zeros in the dot-decimal notation of IPv4 addresses since golang 1.17:" >&2
      echo "${netparseip_matches}" >&2
      echo >&2
      echo "Use k8s.io/utils/net ParseIPSloppy() to parse IP addresses. Kubernetes #100895" >&2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/cidrset/cidr_set.go

    			ipIntLeft := binary.BigEndian.Uint64(cidr.IP[:net.IPv6len/2]) | (^binary.BigEndian.Uint64(cidr.Mask[:net.IPv6len/2]))
    			ipIntRight := binary.BigEndian.Uint64(cidr.IP[net.IPv6len/2:]) | (^binary.BigEndian.Uint64(cidr.Mask[net.IPv6len/2:]))
    			binary.BigEndian.PutUint64(ip[:net.IPv6len/2], ipIntLeft)
    			binary.BigEndian.PutUint64(ip[net.IPv6len/2:], ipIntRight)
    		}
    		end, err = s.getIndexForIP(net.IP(ip).Mask(s.nodeMask))
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_version_tooold.txt

    env TESTGO_VERSION=go1.22.0
    
    ! go mod tidy -go=1.21
    stderr '^go: example.net/a@v0.1.0 requires go@1.22, but 1.21 is requested$'
    
    -- go.mod --
    module example
    
    go 1.22
    
    require example.net/a v0.1.0
    
    replace example.net/a v0.1.0 => ./a
    -- example.go --
    package example
    
    import "example.net/a"
    -- a/go.mod --
    module example.net/a
    
    go 1.22
    -- a/a.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 00:53:46 UTC 2023
    - 358 bytes
    - Viewed (0)
Back to top