Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for Peaches (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/Service.java

       *
       * @param timeout the maximum time to wait
       * @param unit the time unit of the timeout argument
       * @throws TimeoutException if the service has not reached the given state within the deadline
       * @throws IllegalStateException if the service reaches a state from which it is not possible to
       *     enter the {@link State#RUNNING RUNNING} state. e.g. if the {@code state} is {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteStreams.java

       * @throws EOFException if this stream reaches the end before reading all the bytes.
       * @throws IOException if an I/O error occurs.
       */
      public static void readFully(InputStream in, byte[] b, int off, int len) throws IOException {
        int read = read(in, b, off, len);
        if (read != len) {
          throw new EOFException(
              "reached end of stream after reading " + read + " bytes; " + len + " bytes expected");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

                .removalListener(removalListener)
                .build(loader);
    
        // caches 2
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(cache.asMap().keySet()).containsExactly(2);
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(0);
    
        // caches 3, evicts 2
        assertThat(cache.getUnchecked(3)).isEqualTo(3);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

          object : Task(name, cancelable) {
            override fun runOnce(): Long {
              block()
              return -1L
            }
          },
          delayNanos,
        )
      }
    
      /** Returns a latch that reaches 0 when the queue is next idle. */
      fun idleLatch(): CountDownLatch {
        taskRunner.lock.withLock {
          // If the queue is already idle, that's easy.
          if (activeTask == null && futureTasks.isEmpty()) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharStreams.java

       * amount has been skipped. Does not close the reader.
       *
       * @param reader the reader to read from
       * @param n the number of characters to skip
       * @throws EOFException if this stream reaches the end before skipping all the characters
       * @throws IOException if an I/O error occurs
       */
      public static void skipFully(Reader reader, long n) throws IOException {
        checkNotNull(reader);
        while (n > 0) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

                .removalListener(removalListener)
                .build(loader);
    
        // caches 2
        assertThat(cache.getUnchecked(2)).isEqualTo(2);
        assertThat(cache.asMap().keySet()).containsExactly(2);
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(0);
    
        // caches 3, evicts 2
        assertThat(cache.getUnchecked(3)).isEqualTo(3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

      /**
       * Waits for the {@link ServiceManager} to become {@linkplain #isHealthy() healthy}. The manager
       * will become healthy after all the component services have reached the {@linkplain State#RUNNING
       * running} state.
       *
       * @throws IllegalStateException if the service manager reaches a state from which it cannot
       *     become {@linkplain #isHealthy() healthy}.
       */
      public void awaitHealthy() {
        state.awaitHealthy();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsToFalse(Predicates.and(FALSE, NEVER_REACHED));
      }
    
      public void testAnd_equalityBinary() {
        new EqualsTester()
            .addEqualityGroup(Predicates.and(TRUE, NEVER_REACHED), Predicates.and(TRUE, NEVER_REACHED))
            .addEqualityGroup(Predicates.and(NEVER_REACHED, TRUE))
            .addEqualityGroup(Predicates.and(TRUE))
            .addEqualityGroup(Predicates.or(TRUE, NEVER_REACHED))
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Splitter.java

      public Splitter omitEmptyStrings() {
        return new Splitter(strategy, true, trimmer, limit);
      }
    
      /**
       * Returns a splitter that behaves equivalently to {@code this} splitter but stops splitting after
       * it reaches the limit. The limit defines the maximum number of items returned by the iterator,
       * or the maximum size of the list returned by {@link #splitToList}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsToFalse(Predicates.and(FALSE, NEVER_REACHED));
      }
    
      public void testAnd_equalityBinary() {
        new EqualsTester()
            .addEqualityGroup(Predicates.and(TRUE, NEVER_REACHED), Predicates.and(TRUE, NEVER_REACHED))
            .addEqualityGroup(Predicates.and(NEVER_REACHED, TRUE))
            .addEqualityGroup(Predicates.and(TRUE))
            .addEqualityGroup(Predicates.or(TRUE, NEVER_REACHED))
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
Back to top