Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for bit (0.18 sec)

  1. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        for (int b = 0; b < 4; ++b) {
          for (int bit = 128; bit != 0; bit >>= 1) {
            expected[b][bit] = next;
            next = advanceOneBit(next);
          }
        }
        for (int b = 0; b < 4; ++b) {
          expected[b][0] = 0;
          for (int bit = 2; bit < 256; bit <<= 1) {
            for (int i = bit + 1; i < (bit << 1); i++) {
              expected[b][i] = expected[b][bit] ^ expected[b][i ^ bit];
            }
          }
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

       * SipHash-2-4 algorithm</a> using a seed value of {@code k = 00 01 02 ...}.
       *
       * @since 15.0
       */
      public static HashFunction sipHash24() {
        return SipHashFunction.SIP_HASH_24;
      }
    
      /**
       * Returns a hash function implementing the <a href="https://131002.net/siphash/">64-bit
       * SipHash-2-4 algorithm</a> using the given seed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/DoubleUtils.java

        signifFloor &= SIGNIFICAND_MASK; // remove the implied bit
    
        /*
         * We round up if either the fractional part of signif is strictly greater than 0.5 (which is
         * true if the 0.5 bit is set and any lower bit is set), or if the fractional part of signif is
         * >= 0.5 and signifFloor is odd (which is true if both the 0.5 bit and the 1 bit are set).
         */
        boolean increment =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:37:52 GMT 2021
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Charsets.java

      /**
       * UTF-8: eight-bit UCS Transformation Format.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_8} instead.
       *
       */
      public static final Charset UTF_8 = Charset.forName("UTF-8");
    
      /**
       * UTF-16BE: sixteen-bit UCS Transformation Format, big-endian byte order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          }
        }
    
        /**
         * Continues executing tasks from {@link #queue} until it is empty.
         *
         * <p>The thread's interrupt bit is cleared before execution of each task.
         *
         * <p>If the Thread in use is interrupted before or during execution of the tasks in {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInteger.java

        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        this.value = value & 0xffffffff;
      }
    
      /**
       * Returns an {@code UnsignedInteger} corresponding to a given bit representation. The argument is
       * interpreted as an unsigned 32-bit value. Specifically, the sign bit of {@code bits} is
       * interpreted as a normal bit, and all other bits are treated as usual.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashFunction.java

     *       byte sequences under the covers.
     *   <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length
     *       (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number,
     *       while {@link Hashing#murmur3_32()} yields only 32 bits. Because a {@code long} value is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

    /**
     * Works around an android bug, where parking for more than INT_MAX seconds can produce an abort
     * signal on 32 bit devices running Android Q.
     */
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class OverflowAvoidingLockSupport {
      // Represents the max nanoseconds representable on a linux timespec with a 32 bit tv_sec
      static final long MAX_NANOSECONDS_THRESHOLD = (1L + Integer.MAX_VALUE) * 1_000_000_000L - 1L;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLong.java

      private UnsignedLong(long value) {
        this.value = value;
      }
    
      /**
       * Returns an {@code UnsignedLong} corresponding to a given bit representation. The argument is
       * interpreted as an unsigned 64-bit value. Specifically, the sign bit of {@code bits} is
       * interpreted as a normal bit, and all other bits are treated as usual.
       *
       * <p>If the argument is nonnegative, the returned result will be equal to {@code bits},
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

      /**
       * Sorts the array, treating its elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
      public static void sort(int[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top