Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for yet (0.14 sec)

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

          // the worker has yet to start) then we don't need to start the worker.
          if (workerRunningState == RUNNING || workerRunningState == QUEUED) {
            queue.add(task);
            return;
          }
    
          oldRunCount = workerRunCount;
    
          // If the worker is not yet running, the delegate Executor might reject our attempt to start
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

       *     sure you are passing the two parameters in the right order.
       * @param actual The type that the formal type variable(s) are mapped to. It can be or contain yet
       *     other type variables, in which case these type variables will be further resolved if
       *     corresponding mappings exist in the current {@code TypeResolver} instance.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/package-info.java

     *       ordered pair of keys, a row key and column key.
     *   <dt>{@link Multiset}
     *   <dd>An extension of {@link java.util.Collection} that may contain duplicate values like a
     *       {@link java.util.List}, yet has order-independent equality like a {@link java.util.Set}.
     *       One typical use for a multiset is to represent a histogram.
     *   <dt>{@link ClassToInstanceMap}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
       * started execution. It is unclear from the {@code ExecutorService} specification if these should
       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
         * might be cancelled before we set the runner thread. That would make it impossible to
         * interrupt, yet it will still run, since interruptTask will leave the runner value null,
         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
        if (!compareAndSet(null, currentThread)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        assertFalse(fakePool.hasNext());
        e.execute(intCounter);
        // A task should have been scheduled
        assertTrue(fakePool.hasNext());
        e.execute(intCounter);
        // Our executor hasn't run any tasks yet.
        assertEquals(0, totalCalls.get());
        fakePool.runAll();
        assertEquals(2, totalCalls.get());
        // Queue is empty so no runner should be scheduled.
        assertFalse(fakePool.hasNext());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ReaderInputStream.java

      /**
       * charBuffer holds characters that have been read from the Reader but not encoded yet. The buffer
       * is perpetually "flipped" (unencoded characters between position and limit).
       */
      private CharBuffer charBuffer;
    
      /**
       * byteBuffer holds encoded characters that have not yet been sent to the caller of the input
       * stream. When encoding it is "unflipped" (encoded bytes between 0 and position) and when
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * accepted (in which case it returns {@code true}). If it returns {@code false}, the {@code
       * Future} may have previously been set asynchronously, in which case its result may not be known
       * yet. That result, though not yet known, cannot be overridden by a call to a {@code set*}
       * method, only by a call to {@link #cancel}.
       *
       * <p>Beware of completing a future while holding a lock. Its listeners may do slow work or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        } else {
          prevInInsertionOrder[next] = prev;
        }
      }
    
      /**
       * Updates the K-to-V hash table to include the entry at the specified index, which is assumed to
       * have not yet been added.
       */
      private void insertIntoTableKToV(int entry, int keyHash) {
        checkArgument(entry != ABSENT);
        int keyBucket = bucket(keyHash);
        nextInBucketKToV[entry] = hashTableKToV[keyBucket];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

        private static final long serialVersionUID = 0L;
      }
    
      static void checkMemoize(CountingSupplier countingSupplier, Supplier<Integer> memoizedSupplier) {
        // the underlying supplier hasn't executed yet
        assertEquals(0, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    
        // now it has
        assertEquals(1, countingSupplier.calls);
    
        assertEquals(10, (int) memoizedSupplier.get());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
Back to top