Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,935 for parsable (0.13 sec)

  1. pkg/util/net/ip.go

    	for _, i := range ips {
    		ip, err := netip.ParseAddr(i)
    		if err != nil {
    			log.Debugf("ignoring un-parsable IP address: %v", err)
    			continue
    		}
    		if ip.Is4() {
    			ipv4 = append(ipv4, ip.String())
    		} else if ip.Is6() {
    			ipv6 = append(ipv6, ip.String())
    		} else {
    			log.Debugf("ignoring un-parsable IP address: %v", ip)
    		}
    	}
    	return
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/kernel_version_solaris.go

    	// Therefore, we use the Version field on Solaris when available.
    	ver := un.Version[:]
    	if runtime.GOOS == "illumos" {
    		// Illumos distributions use different formats without a parsable
    		// and unified pattern for the Version field while Release level
    		// string is guaranteed to be in x.y or x.y.z format regardless of
    		// whether the kernel is Solaris or illumos.
    		ver = un.Release[:]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/sts/client_grants/sts_element.py

            """
            try:
                return cls(root_name, cElementTree.fromstring(data))
            except _ETREE_EXCEPTIONS as error:
                raise InvalidXMLError(
                    '"{}" XML is not parsable. Message: {}'.format(
                        root_name, error.message
                    )
                )
    
        def findall(self, name):
            """Similar to ElementTree.Element.findall()
    
            """
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h

        return *this;
      }
    
      // Enable printing of debug information. If 'pretty_form' is set to true,
      // debug information is printed in a more readable 'pretty' form but this
      // pretty form is not parsable (so only for human readability).
      MlirDumpConfig& emit_location_information(bool pretty_form = false) {
        this->op_printing_flags.enableDebugInfo(/*enable=*/true, pretty_form);
        return *this;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 24 09:43:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  5. pkg/util/kernel/version_test.go

    			},
    			err:      errors.New("failed to read os-release file: open /proc/sys/kernel/osrelease: failed to read file"),
    			expected: nil,
    		},
    		{
    			name: "version not parsable",
    			readFileFunc: func(_ string) ([]byte, error) {
    				return []byte("5-15-0"), nil
    			},
    			err:      errors.New("failed to parse kernel version: illegal version string \"5-15-0\""),
    			expected: nil,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. cmd/net_test.go

    			sortedIPList: []string{"127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostame and gets preserved
    		// as the left most elements, regardless of IP based sorting.
    		{
    			ipList:       []string{"hostname", "127.0.0.1", "192.168.1.106"},
    			sortedIPList: []string{"hostname", "192.168.1.106", "127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      /**
       * Returns an {@code UnsignedInteger} holding the value of the specified {@code String}, parsed as
       * an unsigned {@code int} value.
       *
       * @throws NumberFormatException if the string does not contain a parsable unsigned {@code int}
       *     value
       */
      public static UnsignedInteger valueOf(String string) {
        return valueOf(string, 10);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/UnsignedInteger.java

      /**
       * Returns an {@code UnsignedInteger} holding the value of the specified {@code String}, parsed as
       * an unsigned {@code int} value.
       *
       * @throws NumberFormatException if the string does not contain a parsable unsigned {@code int}
       *     value
       */
      public static UnsignedInteger valueOf(String string) {
        return valueOf(string, 10);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLong.java

      /**
       * Returns an {@code UnsignedLong} holding the value of the specified {@code String}, parsed as an
       * unsigned {@code long} value.
       *
       * @throws NumberFormatException if the string does not contain a parsable unsigned {@code long}
       *     value
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(String string) {
        return valueOf(string, 10);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedLong.java

      /**
       * Returns an {@code UnsignedLong} holding the value of the specified {@code String}, parsed as an
       * unsigned {@code long} value.
       *
       * @throws NumberFormatException if the string does not contain a parsable unsigned {@code long}
       *     value
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(String string) {
        return valueOf(string, 10);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
Back to top