Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 84 for MIN_VALUE (0.15 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInts.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInts {
      static final long INT_MASK = 0xffffffffL;
    
      private UnsignedInts() {}
    
      static int flip(int value) {
        return value ^ Integer.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code int} values, treating them as unsigned values between {@code
       * 0} and {@code 2^32 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedInts.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class UnsignedInts {
      static final long INT_MASK = 0xffffffffL;
    
      private UnsignedInts() {}
    
      static int flip(int value) {
        return value ^ Integer.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code int} values, treating them as unsigned values between {@code
       * 0} and {@code 2^32 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
      private static final byte[] ARRAY234 = {(byte) 2, (byte) 3, (byte) 4};
    
      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      public void testHashCode() {
        for (byte value : VALUES) {
          assertThat(Bytes.hashCode(value)).isEqualTo(((Byte) value).hashCode());
        }
      }
    
      public void testContains() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedLongs.java

       * longs, that is, {@code a <= b} as unsigned longs if and only if {@code flip(a) <= flip(b)} as
       * signed longs.
       */
      private static long flip(long a) {
        return a ^ Long.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code long} values, treating them as unsigned values between {@code
       * 0} and {@code 2^64 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * longs, that is, {@code a <= b} as unsigned longs if and only if {@code flip(a) <= flip(b)} as
       * signed longs.
       */
      private static long flip(long a) {
        return a ^ Long.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code long} values, treating them as unsigned values between {@code
       * 0} and {@code 2^64 - 1} inclusive.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name());
        }
      }
    
      /** Timeout values to combine with each {@link Scenario}. */
      private enum Timeout {
        MIN(Long.MIN_VALUE, "-oo"),
        MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"),
        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, name());
        }
      }
    
      /** Timeout values to combine with each {@link Scenario}. */
      private enum Timeout {
        MIN(Long.MIN_VALUE, "-oo"),
        MINUS_SMALL(-SMALL_TIMEOUT_MILLIS, "-" + SMALL_TIMEOUT_MILLIS + "ms"),
        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

            if (isLeaf ^ current.tailPos.isNull()) {
                throw new IOException(String.format("Mismatched leaf/tail-node in %s", current));
            }
    
            long min = Long.MIN_VALUE;
            for (IndexEntry entry : current.entries) {
                if (isLeaf ^ entry.childIndexBlock.isNull()) {
                    throw new IOException(String.format("Mismatched leaf/non-leaf entry in %s", current));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

            This will be the source to calculate min and max values from.
          calibration_options_serialized: Serialized `CalibrationOptions`. Specifies
            how the min / max should be calculated.
    
        Returns:
          (min_value, max_value): Min and max calculated using calib_opts. `None`
          upon error.
        """
        # LINT.ThenChange(py_function_lib.h:get_calibration_min_max_value)
    
        # Deserialize values passed from c++.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       * @param p false positive rate (must be 0 < p < 1)
       */
      @VisibleForTesting
      static long optimalNumOfBits(long n, double p) {
        if (p == 0) {
          p = Double.MIN_VALUE;
        }
        return (long) (-n * Math.log(p) / (Math.log(2) * Math.log(2)));
      }
    
      private Object writeReplace() {
        return new SerialForm<T>(this);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top