- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for qmove (0.12 sec)
-
android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* <li>When the RateLimiter is used, this goes left (down to zero), since if we have * storedPermits, we serve from those first * <li>When _unused_, we go right at a constant rate! The rate at which we move to the right is * chosen as maxPermits / warmupPeriod. This ensures that the time it takes to go from 0 to * maxPermits is equal to warmupPeriod.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 19.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
* * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsTransformValuesUnmodifiableIteratorTest extends MapInterfaceTest<String, String> { // TODO(jlevy): Move shared code of this class and MapsTransformValuesTest // to a superclass. public MapsTransformValuesUnmodifiableIteratorTest() { super(true, true, false /*supportsPut*/, true, true, false); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
assertThrows(IllegalArgumentException.class, () -> moveHelper(false, asciiFile, asciiFile)); } private void moveHelper(boolean success, File from, File to) throws IOException { try { Files.move(from, to); if (success) { assertFalse(from.exists()); assertTrue(to.exists()); } else { fail("expected exception"); } } catch (IOException possiblyExpected) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* with linear probing in its implementation. The returned size is the smallest power of two that * can hold setSize elements with the desired load factor. Always returns at least setSize + 2. */ // TODO(cpovirk): Move to Hashing or something, since it's used elsewhere in the Android version. static int chooseTableSize(int setSize) { setSize = Math.max(setSize, 2); // Correct the size for open addressing to match desired load factor.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 35.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
while (head != null) { Listener tmp = head; head = head.next; tmp.next = reversedList; reversedList = tmp; } return reversedList; } // TODO(user): move parts into a default method on ListenableFuture? @Override public String toString() { // TODO(cpovirk): Presize to something plausible? StringBuilder builder = new StringBuilder();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
* @param h hash code */ static int rehash(int h) { // Spread bits to regularize both segment and index locations, // using variant of single-word Wang/Jenkins hash. // TODO(kevinb): use Hashing/move this to Hashing? h += (h << 15) ^ 0xffffcd7d; h ^= (h >>> 10); h += (h << 3); h ^= (h >>> 6); h += (h << 2) + (h << 14); return h ^ (h >>> 16); } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
protected Entry<K, V> entry(K key, V value) { return Helpers.mapEntry(key, value); } @Override protected void expectContents(Collection<Entry<K, V>> expected) { // TODO: move this to invariant checks once the appropriate hook exists? super.expectContents(expected); for (Entry<K, V> entry : expected) { assertEquals(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/EndpointPairTest.java
.addEqualityGroup(orderedMirror) .addEqualityGroup(unordered, unorderedMirror) .testEquals(); } // Tests for Graph.edges() and Network.asGraph().edges() methods // TODO(user): Move these to a more appropriate location in the test suite. @Test public void endpointPair_directedGraph() { MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* {@code expectContents()} invokes this version</strong>. * * @param expected expected value of {@link #container} */ /* * TODO: improve this and other implementations and move out of this framework * for wider use * * TODO: could we incorporate the overriding logic from AbstractListTester, by * examining whether the features include KNOWN_ORDER? */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/EndpointPairTest.java
.addEqualityGroup(orderedMirror) .addEqualityGroup(unordered, unorderedMirror) .testEquals(); } // Tests for Graph.edges() and Network.asGraph().edges() methods // TODO(user): Move these to a more appropriate location in the test suite. @Test public void endpointPair_directedGraph() { MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.4K bytes - Viewed (0)