Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 126 for MIN_VALUE (0.14 sec)

  1. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        }
      }
    
      public static final class ShortsAsListHeadSubListGenerator extends TestShortListGenerator {
        @Override
        protected List<Short> create(Short[] elements) {
          Short[] suffix = {Short.MIN_VALUE, Short.MAX_VALUE};
          Short[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

        }
      }
    
      public static final class BytesAsListHeadSubListGenerator extends TestByteListGenerator {
        @Override
        protected List<Byte> create(Byte[] elements) {
          Byte[] suffix = {Byte.MIN_VALUE, Byte.MAX_VALUE};
          Byte[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
      public static final class BytesAsListTailSubListGenerator extends TestByteListGenerator {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

        }
      }
    
      public static final class CharsAsListHeadSubListGenerator extends TestCharListGenerator {
        @Override
        protected List<Character> create(Character[] elements) {
          Character[] suffix = {Character.MIN_VALUE, Character.MAX_VALUE};
          Character[] all = concat(elements, suffix);
          return asList(all).subList(0, elements.length);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top