Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for null_type (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataType.kt

     */
    
    package org.gradle.declarative.dsl.schema
    
    import org.gradle.tooling.ToolingModelContract
    import java.io.Serializable
    
    
    @ToolingModelContract(subTypes = [
        DataType.NullType::class,
        DataType.UnitType::class,
        DataType.ConstantType::class,
        DataType.IntDataType::class,
        DataType.LongDataType::class,
        DataType.StringDataType::class,
        DataType.BooleanDataType::class,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt

        is DataType.IntDataType -> right is DataType.IntDataType
        is DataType.LongDataType -> right is DataType.LongDataType
        is DataType.StringDataType -> right is DataType.StringDataType
        is DataType.NullType -> right is DataType.NullType
        is DataType.UnitType -> right is DataType.UnitType
    }
    
    
    internal
    fun TypeRefContext.getDataType(objectOrigin: ObjectOrigin): DataType = when (objectOrigin) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "xla/tsl/c/tsl_status_internal.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    #include "tensorflow/core/framework/shape_inference.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/DataTypeInternal.kt

            override fun toString(): String = "Boolean"
            private
            fun readResolve(): Any = DefaultBooleanDataType
        }
    
        @Serializable
        @SerialName("null")
        data object DefaultNullType : DataType.NullType {
            override fun toString(): String = "Null"
            private
            fun readResolve(): Any = DefaultNullType
        }
    
        @Serializable
        @SerialName("unit")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    	case cel.DoubleType:
    		return apiservercel.DoubleType
    	case cel.DurationType:
    		return apiservercel.DurationType
    	case cel.IntType:
    		return apiservercel.IntType
    	case cel.NullType:
    		return apiservercel.NullType
    	case cel.StringType:
    		return apiservercel.StringType
    	case cel.TimestampType:
    		return apiservercel.TimestampType
    	case cel.UintType:
    		return apiservercel.UintType
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top