Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for null_type (0.21 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/reflectObject.kt

            is DataType.ConstantType<*> -> ObjectReflection.DefaultValue(type, objectOrigin)
            is DataClass -> reflectData(OperationId(-1L, DefaultOperationGenerationId.preExisting), type, objectOrigin, context)
            is DataType.NullType -> error("Null type can't appear in property types")
            is DataType.UnitType -> error("Unit can't appear in property types")
            else -> { error("Unhandled data type: ${type.javaClass.simpleName}") }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/database/sql/sql_test.go

    		t.Errorf("error = %q; want %q", err, want)
    	}
    }
    
    type nullTestRow struct {
    	nullParam    any
    	notNullParam any
    	scanNullVal  any
    }
    
    type nullTestSpec struct {
    	nullType    string
    	notNullType string
    	rows        [6]nullTestRow
    }
    
    func TestNullStringParam(t *testing.T) {
    	spec := nullTestSpec{"nullstring", "string", [6]nullTestRow{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  8. RELEASE.md

    *   Fixes an integer overflow in math ops ([CVE-2022-36015](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36015))
    *   Fixes a `CHECK`-fail in `tensorflow::full_type::SubstituteFromAttrs` ([CVE-2022-36016](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36016))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top