Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,935 for parsable (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/controller/job/indexed_job_utils.go

    //   - there is no annotation - for example the pod was created when the BackoffLimitPerIndex
    //     feature was temporarily disabled, or the annotation was manually removed by the user,
    //   - the value of the annotation isn't parsable as int - for example because
    //     it was set by a malicious user,
    //   - the value of the annotation is negative or greater by int32 - for example
    //     because it was set by a malicious user.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 00:44:53 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_messages_test.go

    					t.Errorf("#%d got:%#v want:%#v %x", i, m, m1, marshaled)
    					break
    				}
    
    				if i >= 3 {
    					// The first three message types (ClientHello,
    					// ServerHello and Finished) are allowed to
    					// have parsable prefixes because the extension
    					// data is optional and the length of the
    					// Finished varies across versions.
    					for j := 0; j < len(marshaled); j++ {
    						if m.unmarshal(marshaled[0:j]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    				}
    			}
    		}
    	}
    	return allErrs
    }
    
    // ValidateURLs validates the URLs given in the string slice, makes sure they are parsable. Optionally, it can enforces HTTPS usage.
    func ValidateURLs(urls []string, requireHTTPS bool, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	for _, urlstr := range urls {
    		u, err := url.Parse(urlstr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

      }
    
      /**
       * Parses a media type from its string representation.
       *
       * @throws IllegalArgumentException if the input is not parsable
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static MediaType parse(String input) {
        checkNotNull(input);
        Tokenizer tokenizer = new Tokenizer(input);
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/MediaType.java

      }
    
      /**
       * Parses a media type from its string representation.
       *
       * @throws IllegalArgumentException if the input is not parsable
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static MediaType parse(String input) {
        checkNotNull(input);
        Tokenizer tokenizer = new Tokenizer(input);
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		{"1E12", decQuantity(1, 12, DecimalExponent)},
    		{"1e15", decQuantity(1, 15, DecimalExponent)},
    		{"1E18", decQuantity(1, 18, DecimalExponent)},
    
    		// Nonstandard but still parsable
    		{"1e14", decQuantity(1, 14, DecimalExponent)},
    		{"1e13", decQuantity(1, 13, DecimalExponent)},
    		{"1e3", decQuantity(1, 3, DecimalExponent)},
    		{"100.035k", decQuantity(100035, 0, DecimalSI)},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/revived_types/variable.h

      // Variable is movable, but not copyable.
      Variable(Variable&& other) = default;
      Variable& operator=(Variable&& other) = default;
    
      ~Variable() override;
    
     private:
      Variable(ImmediateExecutionContext* ctx, DataType dtype, TensorShape shape,
               absl::optional<std::string> name, ImmediateTensorHandlePtr handle);
      Variable(const Variable& variable) = delete;
      Variable& operator=(const Variable&) = delete;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top