Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ptrtimes (0.21 sec)

  1. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * checked exceptions.
       */
      public class CheckedBarrier extends CyclicBarrier {
        public CheckedBarrier(int parties) {
          super(parties);
        }
    
        @Override
        public int await() {
          try {
            return super.await(2 * LONG_DELAY_MS, MILLISECONDS);
          } catch (TimeoutException e) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
       *     new ImmutableSortedSet.Builder<Number>(ODDS_FIRST_COMPARATOR)
       *         .addAll(SINGLE_DIGIT_PRIMES)
       *         .add(42)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

       */
      @GwtIncompatible // TODO
      public static boolean isPrime(long n) {
        if (n < 2) {
          checkNonNegative("n", n);
          return false;
        }
        if (n < 66) {
          // Encode all primes less than 66 into mask without 0 and 1.
          long mask =
              (1L << (2 - 2))
                  | (1L << (3 - 2))
                  | (1L << (5 - 2))
                  | (1L << (7 - 2))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Fingerprint2011.java

     */
    @ElementTypesAreNonnullByDefault
    final class Fingerprint2011 extends AbstractNonStreamingHashFunction {
      static final HashFunction FINGERPRINT_2011 = new Fingerprint2011();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xa5b85c5e198ed849L;
      private static final long K1 = 0x8d58ac26afe12e47L;
      private static final long K2 = 0xc47b6e9e3a970ed3L;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * checked exceptions.
       */
      public class CheckedBarrier extends CyclicBarrier {
        public CheckedBarrier(int parties) {
          super(parties);
        }
    
        public int await() {
          try {
            return super.await(2 * LONG_DELAY_MS, MILLISECONDS);
          } catch (TimeoutException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <pre>{@code
       * public static final ImmutableSortedSet<Number> LUCKY_NUMBERS =
       *     new ImmutableSortedSet.Builder<Number>(ODDS_FIRST_COMPARATOR)
       *         .addAll(SINGLE_DIGIT_PRIMES)
       *         .add(42)
       *         .build();
       * }</pre>
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

     */
    @ElementTypesAreNonnullByDefault
    final class FarmHashFingerprint64 extends AbstractNonStreamingHashFunction {
      static final HashFunction FARMHASH_FINGERPRINT_64 = new FarmHashFingerprint64();
    
      // Some primes between 2^63 and 2^64 for various uses.
      private static final long K0 = 0xc3a5c85c97cb3127L;
      private static final long K1 = 0xb492b66fbe98f273L;
      private static final long K2 = 0x9ae16a3b2f90404fL;
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 01 22:39:48 GMT 2022
    - 7.6K bytes
    - Viewed (0)
Back to top