Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for Down (0.2 sec)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and
       * is now at some position before {@code index}. The second element is the one that was swapped
       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
       */
      @VisibleForTesting
      @CanIgnoreReturnValue
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

              instance,
              ArbitraryInstances.get(mutableClass));
        }
      }
    
      private enum EmptyEnum {}
    
      private enum Direction {
        UP,
        DOWN
      }
    
      public interface SomeInterface {}
    
      public abstract static class SomeAbstractClass {
        public static final SomeAbstractClass INSTANCE = new SomeAbstractClass() {};
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
        long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
        assertEquals(string, b.toString());
        assertEquals(string.length(), copied);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
        long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
        assertEquals(string, b.toString());
        assertEquals(string.length(), copied);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        for (LogRecord record : logHandler.getStoredLogRecords()) {
          assertThat(logFormatter.format(record)).doesNotContain("NoOpService");
        }
      }
    
      /**
       * Tests that a ServiceManager can be fully shut down if one of its failure listeners is slow or
       * even permanently blocked.
       */
      public void testListenerDeadlock() throws InterruptedException {
        final CountDownLatch failEnter = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        offer(e); // never need to block
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E poll() {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          return q.poll();
        } finally {
          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          result.descendingSet = this;
        }
        return result;
      }
    
      // Most classes should implement this as new DescendingImmutableSortedSet<E>(this),
      // but we push down that implementation because ProGuard can't eliminate it even when it's always
      // overridden.
      @GwtIncompatible // NavigableSet
      abstract ImmutableSortedSet<E> createDescendingSet();
    
      /** @since 12.0 */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

       * NavigableSets inherit the tests for filtered Iterables, Collections, Sets, and SortedSets. The
       * actual implementation tests are further down.
       */
    
      public abstract static class AbstractFilteredIterableTest<C extends Iterable<Integer>>
          extends TestCase {
        abstract C createUnfiltered(Iterable<Integer> contents);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TraverserTest.java

       * }</pre>
       */
      private static final SuccessorsFunction<Character> JAVADOC_GRAPH =
          createUndirectedGraph("ba", "ad", "be", "ac", "ec", "cf");
    
      /**
       * A diamond shaped directed graph (arrows going down):
       *
       * <pre>{@code
       *   a
       *  / \
       * b   c
       *  \ /
       *   d
       * }</pre>
       */
      private static final SuccessorsFunction<Character> DIAMOND_GRAPH =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
Back to top