Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for null_type (0.15 sec)

  1. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java

        private static final byte ISOLATABLE_TYPE = (byte) 0;
        private static final byte ARRAY_TYPE = (byte) 1;
        private static final byte OTHER_TYPE = (byte) 2;
        private static final byte NULL_TYPE = (byte) 3;
    
        private final IsolatableSerializer<?>[] isolatableSerializers = {
            new StringValueSnapshotSerializer(),
            new BooleanValueSnapshotSerializer(),
            new ShortValueSnapshotSerializer(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	// IntType is equivalent to the CEL 'int' type which is a 64-bit signed int.
    	IntType = NewSimpleTypeWithMinSize("int", cel.IntType, types.IntZero, MinNumberSize)
    
    	// NullType is equivalent to the CEL 'null_type'.
    	NullType = NewSimpleTypeWithMinSize("null_type", cel.NullType, types.NullValue, 4)
    
    	// StringType is equivalent to the CEL 'string' type which is expected to be a UTF-8 string.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.m.size() == 2",
    				"'a' in self.m",
    				"type(self.m['a']) == null_type", // null check using runtime type checking
    				//"self.m['a'] == null",
    
    				"self.l.size() == 2",
    				"type(self.l[0]) == null_type",
    				//"self.l[0] == null",
    
    				"self.s.size() == 2",
    				"type(self.s[0]) == null_type",
    				//"self.s[0] == null",
    			},
    			errors: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				// We treat null fields as absent fields, not as null valued fields.
    				// Note that this is different than how we treat nullable list items or map values.
    				"type(self.setNullableStr) != null_type": 4,
    
    				// a field that is set to null is treated the same as an absent field in validation rules
    				"!has(self.setToNullNullableStr)": 2,
    			},
    		},
    		{name: "null values in container types",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/model/attr_spec.h

      const string& full_type() const { return full_type_; }
      const string& base_type() const { return base_type_; }
      const AttrValue& default_value() const { return default_value_; }
      const bool is_list() const { return is_list_; }
    
     private:
      explicit AttrSpec(const OpDef::AttrDef& attr_def);
    
      string name_;
      string description_;
      string full_type_;
      string base_type_;
      AttrValue default_value_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/abstract_tensor_handle.h

      // can be used to set a FullTypeDef based on dtype in a derived class if
      // appropriate.
      virtual tensorflow::FullTypeDef FullType() const = 0;
    
      // The default debug string includes a shape, dtype and FullType.
      // Implementations are free to override it with something more informative.
      virtual std::string DebugString() const;
    
      AbstractTensorHandleKind getKind() const { return kind_; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:30:36 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/validation/validation_test.go

    					Key:             "something",
    					ValueExpression: "true",
    				}},
    			},
    		},
    		expectedError: `spec.auditAnnotations[0].valueExpression: Invalid value: "true": must evaluate to one of [string null_type]`,
    	}, {
    		name: "invalid auditAnnotations valueExpression",
    		config: &admissionregistration.ValidatingAdmissionPolicy{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "config",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/stablehlo_quantizer_odml_oss.ipynb

    {
      "cells": [
        {
          "cell_type": "markdown",
          "metadata": {
            "id": "tWhm0JFMPJ5I"
          },
          "source": [
            "Copyright 2024 Google LLC.\n",
            "\n",
            "Licensed under the Apache License, Version 2.0 (the \"License\");"
          ]
        },
        {
          "cell_type": "markdown",
          "metadata": {
            "id": "RJcqTAlfPQjk"
          },
          "source": [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 12 03:40:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

        return absl::StrCat("SetAttr", toUpperCamel(attr_.full_type()));
      } else {
        return absl::StrCat("SetAttr", toUpperCamel(attr_.base_type()), "List");
      }
    }
    
    std::vector<string> AttrView::SetterArgs() const {
      if (attr_.full_type() == "string") {
        return {AttrNameString(), VariableName(), VariableStrLen()};
      } else if (attr_.full_type() == "list(string)") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/model/attr_spec.cc

      name_ = attr_def.name();
      description_ = attr_def.description();
      full_type_ = attr_def.type();
      default_value_ = attr_def.default_value();
      if (str_util::StartsWith(full_type_, "list(")) {
        is_list_ = true;
        // strip surrounding "list(%s)"
        base_type_ = full_type_.substr(5, full_type_.length() - 6);
      } else {
        is_list_ = false;
        base_type_ = full_type_;
      }
    }
    
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top