Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ParseMAC (0.16 sec)

  1. src/net/mac_test.go

    	for i, tt := range parseMACTests {
    		out, err := ParseMAC(tt.in)
    		if !reflect.DeepEqual(out, tt.out) || !match(err, tt.err) {
    			t.Errorf("ParseMAC(%q) = %v, %v, want %v, %v", tt.in, out, err, tt.out, tt.err)
    		}
    		if tt.err == "" {
    			// Verify that serialization works too, and that it round-trips.
    			s := out.String()
    			out2, err := ParseMAC(s)
    			if err != nil {
    				t.Errorf("%d. ParseMAC(%q) = %v", i, s, err)
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 02:36:14 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  2. src/net/mac.go

    	for i, b := range a {
    		if i > 0 {
    			buf = append(buf, ':')
    		}
    		buf = append(buf, hexDigit[b>>4])
    		buf = append(buf, hexDigit[b&0xF])
    	}
    	return string(buf)
    }
    
    // ParseMAC parses s as an IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet
    // IP over InfiniBand link-layer address using one of the following formats:
    //
    //	00:00:5e:00:53:01
    //	02:00:5e:10:00:00:00:01
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/formats.go

    	"ipv6",         // an IPv6 IP as parsed by Golang net.ParseIP
    	"cidr",         // a CIDR as parsed by Golang net.ParseCIDR
    	"mac",          // a MAC address as parsed by Golang net.ParseMAC
    	"uuid",         // an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 09 09:26:38 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go

    	// - ipv4: an IPv4 IP as parsed by Golang net.ParseIP
    	// - ipv6: an IPv6 IP as parsed by Golang net.ParseIP
    	// - cidr: a CIDR as parsed by Golang net.ParseCIDR
    	// - mac: a MAC address as parsed by Golang net.ParseMAC
    	// - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go

    	// - ipv4: an IPv4 IP as parsed by Golang net.ParseIP
    	// - ipv6: an IPv6 IP as parsed by Golang net.ParseIP
    	// - cidr: a CIDR as parsed by Golang net.ParseCIDR
    	// - mac: a MAC address as parsed by Golang net.ParseMAC
    	// - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      // - ipv4: an IPv4 IP as parsed by Golang net.ParseIP
      // - ipv6: an IPv6 IP as parsed by Golang net.ParseIP
      // - cidr: a CIDR as parsed by Golang net.ParseCIDR
      // - mac: a MAC address as parsed by Golang net.ParseMAC
      // - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      // - ipv4: an IPv4 IP as parsed by Golang net.ParseIP
      // - ipv6: an IPv6 IP as parsed by Golang net.ParseIP
      // - cidr: a CIDR as parsed by Golang net.ParseCIDR
      // - mac: a MAC address as parsed by Golang net.ParseMAC
      // - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

    name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

    name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
Back to top