Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Vidler (0.2 sec)

  1. guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
        // Test the thorough test inputs, which also includes special constants in the Miller-Rabin
        // tests.
        for (long l : POSITIVE_LONG_CANDIDATES) {
          assertEquals(BigInteger.valueOf(l).isProbablePrime(100), LongMath.isPrime(l));
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

        assertHash32(0x041701A6, ADLER_32, "hell");
        assertHash32(0x062C0215, ADLER_32, "hello");
        assertHash32(0x08610235, ADLER_32, "hello ");
        assertHash32(0x0B0D02AC, ADLER_32, "hello w");
        assertHash32(0x0E28031B, ADLER_32, "hello wo");
        assertHash32(0x11B5038D, ADLER_32, "hello wor");
        assertHash32(0x5BDC0FDA, ADLER_32, "The quick brown fox jumps over the lazy dog");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          } catch (InterruptedException e) {
            /* ignore */
          }
          try {
            // Fill up heap so soft references get cleared.
            filler = new byte[Math.max(filler.length, filler.length * 2)];
          } catch (OutOfMemoryError e) {
          }
        }
    
        CacheTesting.processPendingNotifications(cache);
        assertEquals(1, cache.size());
        assertEquals(1, removalListener.getCount());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

       * @since 14.0
       */
      public static HashFunction adler32() {
        return ChecksumType.ADLER_32.hashFunction;
      }
    
      @Immutable
      enum ChecksumType implements ImmutableSupplier<Checksum> {
        CRC_32("Hashing.crc32()") {
          @Override
          public Checksum get() {
            return new CRC32();
          }
        },
        ADLER_32("Hashing.adler32()") {
          @Override
          public Checksum get() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       *
       * @param expected expected value of {@link #container}
       */
      /*
       * TODO: improve this and other implementations and move out of this framework
       * for wider use
       *
       * TODO: could we incorporate the overriding logic from AbstractListTester, by
       * examining whether the features include KNOWN_ORDER?
       */
      protected void expectContents(Collection<E> expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

          }
        }
        throw new AssertionError();
      }
    
      /*
       * If n <= millerRabinBases[i][0], then testing n against bases millerRabinBases[i][1..] suffices
       * to prove its primality. Values from miller-rabin.appspot.com.
       *
       * NOTE: We could get slightly better bases that would be treated as unsigned, but benchmarks
       * showed negligible performance improvements.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          } catch (InterruptedException e) {
            /* ignore */
          }
          try {
            // Fill up heap so soft references get cleared.
            filler = new byte[Math.max(filler.length, filler.length * 2)];
          } catch (OutOfMemoryError e) {
          }
        }
    
        CacheTesting.processPendingNotifications(cache);
        assertEquals(1, cache.size());
        assertEquals(1, removalListener.getCount());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       *
       * @param expected expected value of {@link #container}
       */
      /*
       * TODO: improve this and other implementations and move out of this framework
       * for wider use
       *
       * TODO: could we incorporate the overriding logic from AbstractListTester, by
       * examining whether the features include KNOWN_ORDER?
       */
      protected void expectContents(Collection<E> expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.util.transport.TransportException;
    
    
    /**
     * This class encapsulates the logic for switching tree connections
     * 
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
     * 
     * @author mbechler
     *
     */
    class SmbTreeConnection {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeConnection.class);
    
    Java
    - Registered: Sun Apr 14 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Ascii.java

       * response to the sender.
       *
       * @since 8.0
       */
      public static final byte NAK = 21;
    
      /**
       * Synchronous Idle: A communication control character used by a synchronous transmission system
       * in the absence of any other character to provide a signal from which synchronism may be
       * achieved or retained.
       *
       * @since 8.0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top