Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for convol (0.14 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(Iterators.all(list.iterator(), predicate));
        list.add("pants");
        assertFalse(Iterators.all(list.iterator(), predicate));
      }
    
      public void testFind_firstElement() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool")));
        assertEquals("pants", iterator.next());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "www.rave.ca.",
              "cnn.ca",
              "ledger-enquirer.com",
              "it-trace.ch",
              "cool.dk",
              "cool.co.uk",
              "cool.de",
              "cool.es",
              "cool\uFF61fr", // Alternate dot character
              "cool.nl",
              "members.blah.nl.",
              "cool.se",
              "utenti.blah.it",
              "kt.co",
              "a\u7f51\u7edcA.\u7f51\u7edc.Cn" // "a网络A.网络.Cn"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
       * monitor, either by unlocking all of its held locks, or by starting to wait for a guard. This
       * includes exceptional exits, so all control paths involving signalling must be protected by a
       * finally block.
       *
       * Further optimizations of this algorithm become increasingly subtle. A wait that terminates
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Closeables.java

    @ElementTypesAreNonnullByDefault
    public final class Closeables {
      @VisibleForTesting static final Logger logger = Logger.getLogger(Closeables.class.getName());
    
      private Closeables() {}
    
      /**
       * Closes a {@link Closeable}, with control over whether an {@code IOException} may be thrown.
       * This is primarily useful in a finally block, where a thrown exception needs to be logged but
       * not propagated (otherwise the original exception will be lost).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * UncheckedTimeoutException} to the caller.
       *
       * <p>It is important to note that the primary purpose of the proxy object is to return control to
       * the caller when the timeout elapses; aborting the target method call is of secondary concern.
       * The particular nature and strength of the guarantees made by the proxy is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * are choreographed via the various methods on this class.
     *
     * <p>A "lock-like object" is really any object that may be used for concurrency control. If the
     * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a
     * method equivalent to {@link java.util.concurrent.locks.ReentrantLock#hasQueuedThread(Thread)}. If
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/Utf8Test.java

        assertNotWellFormed(0xF4, 0x90, 0xAD, 0xA2);
      }
    
      /** Tests some hard-coded test cases. */
      public void testSomeSequences() {
        // Empty
        assertWellFormed();
        // One-byte characters, including control characters
        assertWellFormed(0x00, 0x61, 0x62, 0x63, 0x7F); // "\u0000abc\u007f"
        // Two-byte characters
        assertWellFormed(0xC2, 0xA2, 0xC2, 0xA2); // "\u00a2\u00a2"
        // Three-byte characters
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimap.java

     * </ul>
     *
     * Guava contains a number of other multimap implementations, such as {@link ArrayListMultimap}. In
     * new code, we recommend using {@link MultimapBuilder} instead: It provides better control of how
     * keys and values are stored.
     *
     * <h3>Other Notes</h3>
     *
     * <p>As with {@code Map}, the behavior of a {@code Multimap} is not specified if key objects
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * A lock's behavior when a cycle is detected, however, is defined by the {@code Policy} of the
     * factory that created it. This allows detection of cycles across components while delegating
     * control over lock behavior to individual components.
     *
     * <p>Applications are encouraged to use a {@code CycleDetectingLockFactory} to create any locks for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top