Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 3,659 for casts (0.14 sec)

  1. pkg/controlplane/controller/crdregistration/crdregistration_controller.go

    		),
    	}
    	c.syncHandler = c.handleVersionUpdate
    
    	crdinformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    			cast := obj.(*apiextensionsv1.CustomResourceDefinition)
    			c.enqueueCRD(cast)
    		},
    		UpdateFunc: func(oldObj, newObj interface{}) {
    			// Enqueue both old and new object to make sure we remove and add appropriate API services.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/input-tracking/src/main/java/org/gradle/internal/configuration/inputs/AccessTrackingSet.java

                // The elements of result have to be of some subtype of E because of Set's invariant,
                // so the inner cast is safe. The outer cast might be problematic if T is a some subtype
                // of E and the factory function returns some other subtype. However, this is unlikely
                // to happen in our use cases. Only System.getProperties().entrySet implementation uses
                // this conversion.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

      for (VariableV2Op variable_v2_op : variable_v2s_to_replace) {
        builder.setInsertionPoint(variable_v2_op);
        ShapedType shaped_type =
            mlir::cast<ShapedType>(variable_v2_op.getResult().getType());
        TensorType tensor_type = mlir::cast<TensorType>(DropRefType(shaped_type));
        StringAttr device_attr =
            variable_v2_op->getAttrOfType<StringAttr>("device");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/gen/constFoldGen.go

    				// different types on the LHS and RHS.
    				continue
    			}
    			fmt.Fprintf(w, "func TestConstFold%s%s(t *testing.T) {\n", s.name, o.name)
    			fmt.Fprintf(w, "\tvar x, y, r %s\n", s.name)
    			// unsigned test cases
    			for _, c := range s.u {
    				fmt.Fprintf(w, "\tx = %d\n", c)
    				for _, d := range s.u {
    					if d == 0 && (o.symbol == "/" || o.symbol == "%") {
    						continue
    					}
    					fmt.Fprintf(w, "\ty = %d\n", d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Reflection.java

       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
       * interoperating with a legacy framework, this method helps to keep the code less ugly.
       *
       * @throws ExceptionInInitializerError if an exception is thrown during initialization of a class
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Reflection.java

       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
       * interoperating with a legacy framework, this method helps to keep the code less ugly.
       *
       * @throws ExceptionInInitializerError if an exception is thrown during initialization of a class
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    func (e *FuncExpr) evalSQLFnNode(r Record, tableAlias string) (res *Value, err error) {
    	// Handle functions that have phrase arguments
    	switch e.getFunctionName() {
    	case sqlFnCast:
    		expr := e.Cast.Expr
    		res, err = expr.castTo(r, strings.ToUpper(e.Cast.CastType), tableAlias)
    		return
    
    	case sqlFnSubstring:
    		return handleSQLSubstring(r, e.Substring, tableAlias)
    
    	case sqlFnExtract:
    		return handleSQLExtract(r, e.Extract, tableAlias)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      ShapedType type;
      InspectResult result = {};
      if (auto cst = dyn_cast<ConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else if (auto cst = dyn_cast<QConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else {
        result.can_compress = false;
        return result;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

        // Handle per tensor cases only.
        if (!mlir::isa<quant::UniformQuantizedType>(
                (getElementTypeOrSelf(op.getType())))) {
          return failure();
        }
    
        // Remove identity reshape with both static result and input shape.
        auto result_type = mlir::cast<ShapedType>(op.getType());
        auto input_type = mlir::cast<ShapedType>(op.getInput().getType());
    
        // Constant folding
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/AbstractDependenciesMetadataAdapter.java

                // This is not super nice, but dependencies are created through reflection, for decoration
                // and assume a constructor with 3 arguments (Group, Name, Version) which is suitable for
                // most cases. We could create an empty attribute set directly in the AbstractDependencyImpl,
                // but then it wouldn't be mutable. Therefore we proceed with "late injection" of the attributes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top