Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for Peal (0.19 sec)

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

        future2 = null;
    
        /*
         * Futures should be collected even if combiner never runs. This is kind of a silly test, since
         * the combiner is almost certain to hold its own reference to the futures, and a real app would
         * hold a reference to the executor and thus to the combiner. What we really care about is that
         * the futures are released once the combiner is done running. But we happen to provide this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/DoubleUtils.java

         * down. twiceSignifFloor will contain the top SIGNIFICAND_BITS + 2 bits, and signifFloor the
         * top SIGNIFICAND_BITS + 1.
         *
         * It helps to consider the real number signif = absX * 2^(SIGNIFICAND_BITS - exponent).
         */
        int shift = exponent - SIGNIFICAND_BITS - 1;
        long twiceSignifFloor = absX.shiftRight(shift).longValue();
        long signifFloor = twiceSignifFloor >> 1;
    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)
  3. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        suite.addTestSuite(ImmutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CaseFormat.java

        checkNotNull(str);
        return (format == this) ? str : convert(format, str);
      }
    
      /** Enum values can override for performance reasons. */
      String convert(CaseFormat format, String s) {
        // deal with camel conversion
        StringBuilder out = null;
        int i = 0;
        int j = -1;
        while ((j = wordBoundary.indexIn(s, ++j)) != -1) {
          if (i == 0) {
            // include some extra space for separators
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        suite.addTestSuite(MutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testMumurHash64() {
        byte[] bytes = "test".getBytes(UTF_8);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import java.util.Collection;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    
    /**
     * {@link LoadingCache} tests that deal with empty caches.
     *
     * @author mike nonemacher
     */
    
    public class EmptyCachesTest extends TestCase {
    
      public void testEmpty() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     *       rate when using completely <i>random</i> sample input. The true test of a hash function is
     *       how it performs on representative real-world data, which tends to contain many hidden
     *       patterns and clumps. The goal of a good hash function is to stamp these patterns out as
     *       thoroughly as possible.
    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)
  9. android/guava/src/com/google/common/base/Strings.java

       * <p>In certain cases, such as outputting debugging information or constructing a message to be
       * used for another unchecked exception, an exception during string formatting would serve little
       * purpose except to supplant the real information you were trying to provide. These are the cases
       * this method is made for; it instead generates a best-effort string with all supplied argument
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Verify.java

     * except that they are always enabled. These methods should be used instead of Java assertions
     * whenever there is a chance the check may fail "in real life". Example:
     *
     * <pre>{@code
     * Bill bill = remoteService.getLastUnpaidBill();
     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
Back to top