Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,337 for casts (0.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    				},
    			},
    		},
    	}
    	for _, tc := range cases {
    		for _, op := range tc.opts {
    			for _, typ := range tc.costs {
    				t.Run(typ.comparableLiteral+op, func(t *testing.T) {
    					e := typ.comparableLiteral + op
    					testCost(t, e, typ.expectedEstimatedCost, typ.expectedRuntimeCost)
    				})
    			}
    		}
    	}
    }
    
    func TestIndexOfCost(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensions.kt

        (this as NamedDomainObjectCollection<T>).named(name, type.java, configuration)
    
    
    /**
     * Locates an object by name and casts it to the expected type [T].
     *
     * If an object with the given [name] is not found, [UnknownDomainObjectException] is thrown.
     * If the object is found but cannot be cast to the expected type [T], [IllegalArgumentException] is thrown.
     *
     * @param name object name
     * @return the object, never null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/GeneralRange.java

      }
    
      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
      boolean tooLow(@ParametricNullness T t) {
        if (!hasLowerBound()) {
          return false;
        }
        // The cast is safe because of the hasLowerBound() check.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
      boolean tooLow(@ParametricNullness T t) {
        if (!hasLowerBound()) {
          return false;
        }
        // The cast is safe because of the hasLowerBound() check.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        }
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DenseImmutableTable.java

        }
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

    //===----------------------------------------------------------------------===//
    // Op quantization pass-through patterns.
    //===----------------------------------------------------------------------===//
    // Casts result type of $1 to a quantized type by using the quantization
    // parameters from the type in $0.
    class UpdateShapeWithAxis<int i> : NativeCodeCall<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc

      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::quant::CreateReplaceCastHacksWithTFXLAOpsPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass());
      // Use optimize pass to remove double casts that are inserted when inlining
      // functions.
      pm.addNestedPass<mlir::func::FuncOp>(mlir::quant::CreateOptimizePass());
    }
    
    }  // namespace quantization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/model/internal/type/ModelType.java

                return builder.build();
            } else {
                return Collections.emptyList();
            }
        }
    
        /**
         * Casts this {@code ModelType} object to represent a subclass of the class
         * represented by the specified class object.  Checks that the cast
         * is valid, and throws a {@code ClassCastException} if it is not.  If
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        if (!input_tensor_type || !output_tensor_type) {
          return failure();
        }
    
        // Canonicalize two tfr.cast pairs with different element type to
        // two tfr.casts with the same element type followed by a tf.Cast.
        if ((input_tensor_type.getElementType() !=
             output_tensor_type.getElementType()) &&
            !isQuantizedType(input_type) && !isQuantizedType(output_type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
Back to top