Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K 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 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  4. 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)
  5. android/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 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  6. 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 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                log.debug("getDiskFreeSpace", ex);
                switch ( ex.getNtStatus() ) {
                case NtStatus.NT_STATUS_INVALID_INFO_CLASS:
                case NtStatus.NT_STATUS_UNSUCCESSFUL: // NetApp Filer
                    if ( !th.isSMB2() ) {
                        // SMB_FS_FULL_SIZE_INFORMATION not supported by the server.
                        ai = queryFSInformation(th, AllocInfo.class, FileSystemInformation.SMB_INFO_ALLOCATION);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K 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 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/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 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  10. 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 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
Back to top