Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 99 for MIN_VALUE (0.21 sec)

  1. 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)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/NotMostRecentlyUsedDaemonExpirationStrategy.java

        }
    
        private boolean isMostRecentlyUsed(Collection<DaemonInfo> daemonInfos, DaemonContext thisDaemonContext) {
            String mruUid = null;
            Date mruTimestamp = new Date(Long.MIN_VALUE);
            for (DaemonInfo daemonInfo : daemonInfos) {
                Date daemonAccessTime = daemonInfo.getLastBusy();
                if (daemonAccessTime.after(mruTimestamp)) {
                    mruUid = daemonInfo.getUid();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. android/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)
  6. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          }
    
          // If 'Max-Age' is present, it takes precedence over 'Expires', regardless of the order the two
          // attributes are declared in the cookie string.
          if (deltaSeconds == Long.MIN_VALUE) {
            expiresAt = Long.MIN_VALUE
          } else if (deltaSeconds != -1L) {
            val deltaMilliseconds =
              if (deltaSeconds <= Long.MAX_VALUE / 1000) {
                deltaSeconds * 1000
              } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertMean(0, -1, 2);
        assertMean(0, Integer.MIN_VALUE + 2, Integer.MAX_VALUE);
        assertMean(0, 0, 1);
        assertMean(-1, -1, 0);
        assertMean(-1, Integer.MIN_VALUE, Integer.MAX_VALUE);
    
        // x == y == mean
        assertMean(1, 1, 1);
        assertMean(0, 0, 0);
        assertMean(-1, -1, -1);
        assertMean(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
        }
        assertCastFails(1L << 32);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

      }
    
      /**
       * Returns {@code true} if {@code x} represents a power of two.
       *
       * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code
       * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two.
       */
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long 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
    - 44.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
        }
        assertCastFails(1L << 32);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top