Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for MIN_VALUE (0.12 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy

            integer(Integer.MAX_VALUE)              | _
            integer(Integer.MIN_VALUE)              | _
            new LongValueSnapshot(123L)             | _
            new LongValueSnapshot(0L)               | _
            new LongValueSnapshot(Long.MAX_VALUE)   | _
            new LongValueSnapshot(Long.MIN_VALUE)   | _
            new ShortValueSnapshot(123 as short)    | _
            new ShortValueSnapshot(0 as short)      | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

    @GwtCompatible(emulated = true)
    public class SignedBytesTest extends TestCase {
      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
    
      private static final byte LEAST = Byte.MIN_VALUE;
      private static final byte GREATEST = Byte.MAX_VALUE;
    
      private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/IntMath.java

      }
    
      /**
       * Returns {@code true} if {@code x} represents a power of two.
       *
       * <p>This differs from {@code Integer.bitCount(x) == 1}, because {@code
       * Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#MIN_VALUE} is not a power of two.
       */
      public static boolean isPowerOfTwo(int x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc

          status = absl::InternalError(
              "Cannot find min/max values for calibration statistics.");
          return;
        }
    
        const auto [min_value, max_value] = *min_max_values;
        mlir::OpBuilder builder(aggregator_op);
        aggregator_op->setAttr("min", builder.getF32FloatAttr(min_value));
        aggregator_op->setAttr("max", builder.getF32FloatAttr(max_value));
      });
      return status;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

            "byte[]"                             | "[Byte.MIN_VALUE, Byte.MAX_VALUE]"        | "[-128, 127]"
            "short[]"                            | "[Short.MIN_VALUE, Short.MAX_VALUE]"      | "[-32768, 32767]"
            "int[]"                              | integerArray()                            | "[-2147483648, 2147483647]"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

    @GwtCompatible(emulated = true)
    public class SignedBytesTest extends TestCase {
      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
    
      private static final byte LEAST = Byte.MIN_VALUE;
      private static final byte GREATEST = Byte.MAX_VALUE;
    
      private static final byte[] VALUES = {LEAST, -1, 0, 1, GREATEST};
    
      public void testCheckedCast() {
        for (byte value : VALUES) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/LongMathTest.java

        assertMean(0, -1, 2);
        assertMean(0, Long.MIN_VALUE + 2, Long.MAX_VALUE);
        assertMean(0, 0, 1);
        assertMean(-1, -1, 0);
        assertMean(-1, Long.MIN_VALUE, Long.MAX_VALUE);
    
        // x == y == mean
        assertMean(1, 1, 1);
        assertMean(0, 0, 0);
        assertMean(-1, -1, -1);
        assertMean(Long.MIN_VALUE, Long.MIN_VALUE, Long.MIN_VALUE);
        assertMean(Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc

          const float min_value = min_tensor.scalar<float>()();
          const float max_value = max_tensor.scalar<float>()();
          auto histogram_flat = histogram_tensor.flat<int64_t>();
          absl::Span<const int64_t> histogram_data =
              absl::MakeSpan(histogram_flat.data(), histogram_flat.size());
          id_to_collector_[ids_[idx]]->Collect(min_value, max_value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
        Value min = tf_op.getMin(), max = tf_op.getMax();
        DenseFPElementsAttr min_value, max_value;
        if (auto id1 = dyn_cast_or_null<TF::IdentityOp>(min.getDefiningOp())) {
          id1.replaceAllUsesWith(id1.getInput());
          min = tf_op.getMin();
          rewriter.eraseOp(id1);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top