Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for null_type (0.34 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. 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)
  4. tensorflow/c/eager/c_api_unified_experimental_test.cc

      // Test that full type information can be accessed.
      auto outs = unwrap(add_outputs);
      auto h = outs->outputs[0];
      ASSERT_NE(h, nullptr);
      ASSERT_EQ(h->FullType().type_id(), TFT_UNSET);
      ASSERT_EQ(unwrap(inputs[0])->FullType().type_id(), TFT_UNSET);
    
      // Clean up operation and inputs.
      TF_DeleteAbstractOp(add_op);
    
      TF_AbstractFunction* func =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    }
    
    func (v *fakeAuditAnnotationCondition) GetExpression() string {
    	return v.ValueExpression
    }
    
    func (v *fakeAuditAnnotationCondition) ReturnTypes() []*celgo.Type {
    	return []*celgo.Type{celgo.StringType, celgo.NullType}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/value_test.go

    		{float64(1.2), types.DoubleType},
    		{int64(-42), types.IntType},
    		{uint64(63), types.UintType},
    		{time.Duration(300), types.DurationType},
    		{time.Now().UTC(), types.TimestampType},
    		{types.NullValue, types.NullType},
    		{NewListValue(), types.ListType},
    		{NewMapValue(), types.MapType},
    		{[]byte("bytes"), types.BytesType},
    		{NewObjectValue(objType), objType},
    	}
    	for i, tc := range tests {
    		idx := i
    		tst := tc
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/value.go

    		return types.Uint(v), UintType, nil
    	case time.Duration:
    		return types.Duration{Duration: v}, DurationType, nil
    	case time.Time:
    		return types.Timestamp{Time: v}, TimestampType, nil
    	case types.Null:
    		return v, NullType, nil
    	case *ListValue:
    		return v, ListType, nil
    	case *MapValue:
    		return v, MapType, nil
    	case *ObjectValue:
    		return v, v.objectType, nil
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

        return ptr->getKind() == kMlir;
      }
    
      // Return default (TFT_UNSET) full type information. This could be updated in
      // the future if full type information is needed.
      tensorflow::FullTypeDef FullType() const override {
        return tensorflow::FullTypeDef();
      }
    
     private:
      Value value_;
    };
    
    class MlirFunctionContext;
    
    class MlirAbstractOp : public TracingOperation {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    			}
    		default:
    			return nil, fmt.Errorf("expression must return a string or a list of strings")
    		}
    
    		if len(result) == 0 {
    			return nil, nil
    		}
    
    		return result, nil
    	case celgo.NullType.TypeName():
    		return nil, nil
    	default:
    		return nil, fmt.Errorf("expression must return a string or a list of strings")
    	}
    }
    
    // messageFunc is a function that returns a message for a validation rule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top