Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,590 for parsable (3.48 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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. cmd/kubeadm/app/discovery/discovery.go

    		return token.RetrieveValidatedConfigInfo(&cfg.Discovery, timeout)
    	default:
    		return nil, errors.New("couldn't find a valid discovery configuration")
    	}
    }
    
    // isHTTPSURL checks whether the string is parsable as a URL and whether the Scheme is https
    func isHTTPSURL(s string) bool {
    	u, err := url.Parse(s)
    	return err == nil && u.Scheme == "https"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    // devices are determined by looking up all TPU devices associated with each
    // TPU_SYSTEM:0 device found, alongside associated `topology_attr` and
    // `device_assignment_attr`. If `topology_attr` not an empty string (parsable to
    // TopologyProto), `device_assignment_attr` must not be empty also. When
    // `topology_attr` and `device_assignment_attr` are not empty, a general device
    // assignment based on those two attributes are used. Otherwise when
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

      size_t numRead;
      mlir::Attribute attr = mlir::parseAttribute(input, context, {}, &numRead);
      if (!attr || !mlir::isa<mlir::StringAttr>(attr)) {
        LOG(ERROR) << "Input is not parsable as a MLIR StringAttr.";
        return nullptr;
      }
      auto str_attr = mlir::cast<mlir::StringAttr>(attr);
    
      mlir::DialectRegistry registry;
      RegisterMlirInputDialects(registry);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top