Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for slate (0.36 sec)

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

        int elements = Queues.drain(q, buf, -1, MAX_VALUE, NANOSECONDS);
        assertEquals(0, elements);
        assertThat(buf).isEmpty();
    
        // Free the producer thread, and give subsequent tests a clean slate.
        q.take();
      }
    
      public void testDrain_throws() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          testDrain_throws(q);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/QueuesTest.java

        int elements = Queues.drain(q, buf, -1, MAX_VALUE, NANOSECONDS);
        assertEquals(0, elements);
        assertThat(buf).isEmpty();
    
        // Free the producer thread, and give subsequent tests a clean slate.
        q.take();
      }
    
      public void testDrain_throws() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          testDrain_throws(q);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      Alice could see, as well as if she were looking over their
    shoulders, that all the jurors were writing down `stupid things!'
    on their slates, and she could even make out that one of them
    didn't know how to spell `stupid,' and that he had to ask his
    neighbour to tell him.  `A nice muddle their slates'll be in
    before the trial's over!' thought Alice.
    
      One of the jurors had a pencil that squeaked.  This of course,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractIterator.java

      }
    
      private boolean tryToComputeNext() {
        state = State.FAILED; // temporary pessimism
        next = computeNext();
        if (state != State.DONE) {
          state = State.READY;
          return true;
        }
        return false;
      }
    
      @CanIgnoreReturnValue // TODO(kak): Should we remove this?
      @Override
      @ParametricNullness
      public final T next() {
        if (!hasNext()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java

      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
      @Override
      public final boolean isRunning() {
        return delegate.isRunning();
      }
    
      @Override
      public final State state() {
        return delegate.state();
      }
    
      /** @since 13.0 */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 13:59:28 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
      @Override
      public final boolean isRunning() {
        return delegate.isRunning();
      }
    
      @Override
      public final State state() {
        return delegate.state();
      }
    
      /** @since 13.0 */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     *   <li>It is easy for the user to ensure that listeners are never invoked while holding locks.
     * </ul>
     *
     * The last point is subtle. Often the observable object will be managing its own internal state
     * using a lock, however it is dangerous to dispatch listeners while holding a lock because they
     * might run on the {@code directExecutor()} or be otherwise re-entrant (call back into your
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches(
                // J2kt nested class name does not use "$"
                "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ "
                    + "threw java\\.lang\\.UnsupportedOperationException> plate");
      }
    
      public void testLenientFormat_badArgumentToString_gwtFriendly() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        if (waiter.isAlive()) {
          waiter.interrupt();
          fail("awaitTermination failed to trigger after shutdown()");
        }
      }
    
      /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */
      void awaitTimedWaiting(Thread thread) {
        while (true) {
          switch (thread.getState()) {
            case BLOCKED:
            case NEW:
            case RUNNABLE:
            case WAITING:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/Escapers.java

          };
    
      /**
       * Returns a builder for creating simple, fast escapers. A builder instance can be reused and each
       * escaper that is created will be a snapshot of the current builder state. Builders are not
       * thread safe.
       *
       * <p>The initial state of the builder is such that:
       *
       * <ul>
       *   <li>There are no replacement mappings
       *   <li>{@code safeMin == Character.MIN_VALUE}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
Back to top