Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 871 for net (0.09 sec)

  1. pkg/proxy/util/utils_test.go

    	}
    }
    
    func mustParseIPAddr(str string) net.Addr {
    	a, err := net.ResolveIPAddr("ip", str)
    	if err != nil {
    		panic("mustParseIPAddr")
    	}
    	return a
    }
    func mustParseIPNet(str string) net.Addr {
    	_, n, err := netutils.ParseCIDRSloppy(str)
    	if err != nil {
    		panic("mustParseIPNet")
    	}
    	return n
    }
    func mustParseUnix(str string) net.Addr {
    	n, err := net.ResolveUnixAddr("unix", str)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/nettest/conntest.go

    import (
    	"bytes"
    	"encoding/binary"
    	"io"
    	"math/rand"
    	"net"
    	"runtime"
    	"sync"
    	"testing"
    	"time"
    )
    
    // MakePipe creates a connection between two endpoints and returns the pair
    // as c1 and c2, such that anything written to c1 is read by c2 and vice-versa.
    // The stop function closes all resources, including c1, c2, and the underlying
    // net.Listener (if there is one), and should not be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. pkg/proxy/serviceport.go

    type BaseServicePortInfo struct {
    	clusterIP                net.IP
    	port                     int
    	protocol                 v1.Protocol
    	nodePort                 int
    	loadBalancerVIPs         []net.IP
    	sessionAffinityType      v1.ServiceAffinity
    	stickyMaxAgeSeconds      int
    	externalIPs              []net.IP
    	loadBalancerSourceRanges []*net.IPNet
    	healthCheckNodePort      int
    	externalPolicyLocal      bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 08:17:56 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/ipallocator.go

    func (dry dryRunAllocator) Allocate(ip net.IP) error {
    	return dry.real.allocateService(nil, ip, dryRunTrue)
    
    }
    
    func (dry dryRunAllocator) AllocateNext() (net.IP, error) {
    	return dry.real.allocateNextService(nil, dryRunTrue)
    }
    
    func (dry dryRunAllocator) Release(ip net.IP) error {
    	return dry.real.release(ip, dryRunTrue)
    }
    
    func (dry dryRunAllocator) ForEach(cb func(net.IP)) {
    	dry.real.ForEach(cb)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. src/crypto/tls/tls.go

    func NewListener(inner net.Listener, config *Config) net.Listener {
    	l := new(listener)
    	l.Listener = inner
    	l.config = config
    	return l
    }
    
    // Listen creates a TLS listener accepting connections on the
    // given network address using net.Listen.
    // The configuration config must be non-nil and must include
    // at least one certificate or else set GetCertificate.
    func Listen(network, laddr string, config *Config) (net.Listener, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

    import net.rubygrapefruit.platform.Native;
    import net.rubygrapefruit.platform.NativeException;
    import net.rubygrapefruit.platform.NativeIntegrationUnavailableException;
    import net.rubygrapefruit.platform.Process;
    import net.rubygrapefruit.platform.ProcessLauncher;
    import net.rubygrapefruit.platform.SystemInfo;
    import net.rubygrapefruit.platform.WindowsRegistry;
    import net.rubygrapefruit.platform.file.FileEvents;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    #include <sys/mman.h>
    #include <sys/mount.h>
    #include <sys/wait.h>
    #include <sys/ioctl.h>
    #include <net/bpf.h>
    #include <net/if.h>
    #include <net/if_clone.h>
    #include <net/if_types.h>
    #include <net/route.h>
    #include <netinet/in.h>
    #include <termios.h>
    #include <netinet/ip.h>
    #include <net/ip_mroute/ip_mroute.h>
    '
    
    includes_FreeBSD='
    #include <sys/capsicum.h>
    #include <sys/param.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    // based on environment variables, as provided by net/http's
    // ProxyFromEnvironment function.
    //
    // The API is not subject to the Go 1 compatibility promise and may change at
    // any time.
    package httpproxy
    
    import (
    	"errors"
    	"fmt"
    	"net"
    	"net/url"
    	"os"
    	"strings"
    	"unicode/utf8"
    
    	"golang.org/x/net/idna"
    )
    
    // Config holds configuration for HTTP proxy settings. See
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/cidrallocator.go

    	return true
    }
    
    // ipToAddr converts a net.IP to a netip.Addr
    // if the net.IP is not valid it returns an empty netip.Addr{}
    func ipToAddr(ip net.IP) netip.Addr {
    	// https://pkg.go.dev/net/netip#AddrFromSlice can return an IPv4 in IPv6 format
    	// so we have to check the IP family to return exactly the format that we want
    	// address, _ := netip.AddrFromSlice(net.ParseIPSloppy(192.168.0.1)) returns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

    import java.io.InterruptedIOException
    import java.net.HttpURLConnection.HTTP_CLIENT_TIMEOUT
    import java.net.HttpURLConnection.HTTP_MOVED_PERM
    import java.net.HttpURLConnection.HTTP_MOVED_TEMP
    import java.net.HttpURLConnection.HTTP_MULT_CHOICE
    import java.net.HttpURLConnection.HTTP_PROXY_AUTH
    import java.net.HttpURLConnection.HTTP_SEE_OTHER
    import java.net.HttpURLConnection.HTTP_UNAUTHORIZED
    import java.net.HttpURLConnection.HTTP_UNAVAILABLE
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top