- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 486 for parseDir (0.18 sec)
-
src/net/ipsock_test.go
t.Errorf("#%v: got %v; want %v", i, len(addrs), expectedLen) } } } func TestAddrListPartition(t *testing.T) { addrs := addrList{ &IPAddr{IP: ParseIP("fe80::"), Zone: "eth0"}, &IPAddr{IP: ParseIP("fe80::1"), Zone: "eth0"}, &IPAddr{IP: ParseIP("fe80::2"), Zone: "eth0"}, } cases := []struct { lastByte byte primaries addrList fallbacks addrList }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 15 22:22:09 UTC 2017 - 6.8K bytes - Viewed (0) -
cmd/signature-v4-parser.go
Harshavardhana <******@****.***> 1705561397 -0800
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
src/net/netip/slow_test.go
if zone == "" { return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): no zone after zone specifier", s) } default: return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): too many zone specifiers", s) // TODO: less specific? } // IPv4 by itself is easy to do in a helper. if strings.Count(s, ":") == 0 { if zone != "" { return Addr{}, fmt.Errorf("netaddr.ParseIP(%q): IPv4 addresses cannot have a zone", s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 19:54:31 UTC 2024 - 5.8K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http/httpproxy/proxy.go
continue } if p == "*" { c.ipMatchers = []matcher{allMatch{}} c.domainMatchers = []matcher{allMatch{}} return } // IPv4/CIDR, IPv6/CIDR if _, pnet, err := net.ParseCIDR(p); err == nil { c.ipMatchers = append(c.ipMatchers, cidrMatch{cidr: pnet}) continue } // IPv4:port, [IPv6]:port phost, pport, err := net.SplitHostPort(p) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 10K bytes - Viewed (0) -
src/net/iprawsock_test.go
{"ip", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, {"ip6", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, {"ip6:ipv6-icmp", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, {"ip6:IPv6-ICMP", "::1", &IPAddr{IP: ParseIP("::1")}, nil}, {"ip", "::1%en0", &IPAddr{IP: ParseIP("::1"), Zone: "en0"}, nil}, {"ip6", "::1%911", &IPAddr{IP: ParseIP("::1"), Zone: "911"}, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6K bytes - Viewed (0) -
pkg/apis/certificates/v1beta1/helpers.go
See the License for the specific language governing permissions and limitations under the License. */ package v1beta1 import ( "crypto/x509" "encoding/pem" "errors" ) // ParseCSR decodes a PEM encoded CSR func ParseCSR(pemBytes []byte) (*x509.CertificateRequest, error) { // extract PEM from request object block, _ := pem.Decode(pemBytes) if block == nil || block.Type != "CERTIFICATE REQUEST" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 27 10:17:55 UTC 2020 - 1K bytes - Viewed (0) -
src/net/dial_test.go
{"tcp4", "127.0.0.1", &TCPAddr{}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("0.0.0.0")}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("0.0.0.0").To4()}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("::")}, &AddrError{Err: "some error"}}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("127.0.0.1").To4()}, nil}, {"tcp4", "127.0.0.1", &TCPAddr{IP: ParseIP("127.0.0.1").To16()}, nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 30.3K bytes - Viewed (0) -
pkg/apis/certificates/v1/helpers.go
See the License for the specific language governing permissions and limitations under the License. */ package v1 import ( "crypto/x509" "encoding/pem" "errors" ) // ParseCSR decodes a PEM encoded CSR func ParseCSR(pemBytes []byte) (*x509.CertificateRequest, error) { // extract PEM from request object block, _ := pem.Decode(pemBytes) if block == nil || block.Type != "CERTIFICATE REQUEST" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 05 04:47:24 UTC 2020 - 1K bytes - Viewed (0) -
src/net/interface_freebsd.go
return nil, err } return route.ParseRIB(route.RIBTypeInterface, rib) } // interfaceMulticastAddrTable returns addresses for a specific // interface. func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) { rib, err := route.FetchRIB(syscall.AF_UNSPEC, syscall.NET_RT_IFMALIST, ifi.Index) if err != nil { return nil, err } msgs, err := route.ParseRIB(syscall.NET_RT_IFMALIST, rib) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 02 16:05:55 UTC 2021 - 1.3K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/message.go
} // A SysType represents a type of operating system-specific // information. type SysType int const ( SysMetrics SysType = iota SysStats ) // ParseRIB parses b as a routing information base and returns a list // of routing messages. func ParseRIB(typ RIBType, b []byte) ([]Message, error) { if !typ.parseable() { return nil, errUnsupportedMessage } var msgs []Message nmsgs, nskips := 0, 0 for len(b) > 4 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.5K bytes - Viewed (0)