Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for FakeOp (0.11 seconds)

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

        List<Integer> callOrder = new ArrayList<>();
    
        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
            callOrder.add(op);
          }
        }
    
        e.execute(new FakeOp(0));
        e.execute(new FakeOp(1));
        e.execute(new FakeOp(2));
        fakePool.runAll();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        List<Integer> callOrder = new ArrayList<>();
    
        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
            callOrder.add(op);
          }
        }
    
        e.execute(new FakeOp(0));
        e.execute(new FakeOp(1));
        e.execute(new FakeOp(2));
        fakePool.runAll();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

      static void parkNanos(@Nullable Object blocker, long nanos) {
        // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years,
        // this is indistinguishable from a spurious wakeup, which LockSupport allows.
        LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       * converts that into a <a
       * href="https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/concurrent/locks/Condition.html#implementation-considerations-heading">spurious
       * wakeup</a>. This means that resulting wait is not "uninterruptible" in the normal sense of
       * {@link Uninterruptibles}. Still, this method allows callers to write <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

                } catch (InterruptedException ie) {
                  // continue
                }
                LockSupport.unpark(Thread.currentThread()); // simulate a spurious wakeup.
                return null;
              }
    
              @Override
              boolean isDone() {
                return false;
              }
    
              @Override
              String toPendingString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

                } catch (InterruptedException ie) {
                  // continue
                }
                LockSupport.unpark(Thread.currentThread()); // simulate a spurious wakeup.
                return null;
              }
    
              @Override
              boolean isDone() {
                return false;
              }
    
              @Override
              String toPendingString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  7. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"application/vnd.japannet-jpnstore-wakeup",
    				"application/vnd.japannet-payment-wakeup",
    				"application/vnd.japannet-registration",
    				"application/vnd.japannet-registration-wakeup",
    				"application/vnd.japannet-setstore-wakeup",
    				"application/vnd.japannet-verification",
    				"application/vnd.japannet-verification-wakeup",
    				"application/vnd.jcp.javame.midlet-rms",
    				"application/vnd.jisp",
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Feb 11 01:15:55 GMT 2026
    - 50.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

       * tests that assert that a certain amount of time has passed, that the method returned `false`,
       * or even that an interrupt occurred (if the spurious wakeup happens before the interrupt).
       *
       * Fundamentally, there's not really anything we can do about that. In the unlikely event that it
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

       * tests that assert that a certain amount of time has passed, that the method returned `false`,
       * or even that an interrupt occurred (if the spurious wakeup happens before the interrupt).
       *
       * Fundamentally, there's not really anything we can do about that. In the unlikely event that it
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter1.interrupt();
    
        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
      public void testRemoveWaiter_polling() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
Back to Top