- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,832 for net (0.07 sec)
-
src/net/unixsock_posix.go
//go:build unix || js || wasip1 || windows package net import ( "context" "errors" "os" "syscall" ) func unixSocket(ctx context.Context, net string, laddr, raddr sockaddr, mode string, ctxCtrlFn func(context.Context, string, string, syscall.RawConn) error) (*netFD, error) { var sotype int switch net { case "unix": sotype = syscall.SOCK_STREAM case "unixgram":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:54:32 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/proxy/util/utils.go
// Addresses that pass the validation are returned as a string Set. func AddressSet(isValid func(ip net.IP) bool, addrs []net.Addr) sets.Set[string] { ips := sets.New[string]() for _, a := range addrs { var ip net.IP switch v := a.(type) { case *net.IPAddr: ip = v.IP case *net.IPNet: ip = v.IP default: continue } if isValid(ip) { ips.Insert(ip.String()) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 7.4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/ready/probe_test.go
err = probe.Check() g.Expect(err).NotTo(HaveOccurred()) g.Expect(probe.atleastOnceReady).Should(BeTrue()) server.Close() server = testserver.CreateAndStartServer(noServerStats) probe.AdminPort = uint16(server.Listener.Addr().(*net.TCPAddr).Port) err = probe.Check() g.Expect(err).NotTo(HaveOccurred()) g.Expect(probe.atleastOnceReady).Should(BeTrue()) server.Close() err = probe.Check()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 5.9K bytes - Viewed (0) -
tools/istio-iptables/pkg/validation/validator.go
} func (c *Client) Run() error { laddr, err := net.ResolveTCPAddr("tcp", "127.0.0.1:0") if err != nil { return err } if c.Config.ServerOriginalIP.Is6() { laddr, err = net.ResolveTCPAddr("tcp", "[::1]:0") if err != nil { return err } } sOriginalPort := fmt.Sprintf("%d", c.Config.ServerOriginalPort) serverOriginalAddress := net.JoinHostPort(c.Config.ServerOriginalIP.String(), sOriginalPort)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 5.5K bytes - Viewed (0) -
src/net/ipsock.go
if len(ips) == 1 && ips[0].IP.Equal(IPv6unspecified) { ips = append(ips, IPAddr{IP: IPv4zero}) } var filter func(IPAddr) bool if net != "" && net[len(net)-1] == '4' { filter = ipv4only } if net != "" && net[len(net)-1] == '6' { filter = ipv6only } return filterAddrList(filter, ips, inetaddr, host) } // loopbackIP should be an internal detail,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 9.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt
package okhttp3.internal.http import assertk.assertThat import assertk.assertions.containsExactly import java.io.IOException import java.net.InetSocketAddress import java.net.Proxy import java.net.ProxySelector import java.net.SocketAddress import java.net.URI import okhttp3.internal.format class RecordingProxySelector : ProxySelector() { @JvmField val proxies = mutableListOf<Proxy>()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt
// are higher. module example.com/m go 1.17 replace ( example.net/lazy v0.1.0 => ./lazy example.net/requireincompatible v0.1.0 => ./requireincompatible ) require example.net/lazy v0.1.0 -- m.go -- package m import _ "example.net/lazy" -- 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 May 30 14:56:56 UTC 2024 - 3.4K bytes - Viewed (0) -
src/syscall/creds_test.go
cliFile := os.NewFile(uintptr(fds[1]), "client") defer srvFile.Close() defer cliFile.Close() srv, err := net.FileConn(srvFile) if err != nil { t.Errorf("FileConn: %v", err) return } defer srv.Close() cli, err := net.FileConn(cliFile) if err != nil { t.Errorf("FileConn: %v", err) return } defer cli.Close() var ucred syscall.Ucred
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 02:43:05 UTC 2022 - 3.4K bytes - Viewed (0) -
src/net/platform_test.go
} } } // testableNetwork reports whether network is testable on the current // platform configuration. func testableNetwork(network string) bool { net, _, _ := strings.Cut(network, ":") switch net { case "ip+nopriv": case "ip", "ip4", "ip6": switch runtime.GOOS { case "plan9": return false default: if os.Getuid() != 0 { return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WindowsFileWatcherRegistryFactory.java
*/ package org.gradle.internal.watch.registry.impl; import net.rubygrapefruit.platform.NativeIntegrationUnavailableException; import net.rubygrapefruit.platform.file.FileEvents; import net.rubygrapefruit.platform.file.FileWatchEvent; import net.rubygrapefruit.platform.internal.jni.WindowsFileEventFunctions; import net.rubygrapefruit.platform.internal.jni.WindowsFileEventFunctions.WindowsFileWatcher;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 2.6K bytes - Viewed (0)