- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 524 for advance (0.1 seconds)
-
guava/src/com/google/common/collect/Iterators.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
list.add("b"); Iterator<String> iterator = list.iterator(); advance(iterator, 1); assertThat(iterator.next()).isEqualTo("b"); } public void testAdvance_pastEnd() { List<String> list = new ArrayList<>(); list.add("a"); list.add("b"); Iterator<String> iterator = list.iterator(); advance(iterator, 5); assertFalse(iterator.hasNext()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
taskFaker.runNextTask() assertThat(log).containsExactly( "red:starting@0", "blue:starting@0", ) assertThat(taskFaker.executeCallCount).isEqualTo(2) // Advance time until the tasks complete. taskFaker.advanceUntil(100.µs) assertThat(log).containsExactly( "red:starting@0", "blue:starting@0", "red:finishing@100000", "blue:finishing@100000",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 23K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
} /** * Inserts element at current put position, advances, and signals. Call only when occupying * monitor. */ private void insert(E x) { items[putIndex] = x; putIndex = inc(putIndex); ++count; } /** * Extracts element at current take position, advances, and signals. Call only when occupying * monitor. */ private E extract() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
if (advanceTo(nextEntry) || nextInChain()) { return true; } } } return false; } /** * Advances to the given entry. Returns {@code true} if the entry was valid, {@code false} if it * should be skipped. */ boolean advanceTo(E entry) { try { K key = entry.getKey();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
public void testElapsed_notRunning() { ticker.advance(1); stopwatch.start(); ticker.advance(4); stopwatch.stop(); ticker.advance(9); assertEquals(4, stopwatch.elapsed(NANOSECONDS)); } public void testElapsed_multipleSegments() { stopwatch.start(); ticker.advance(9); stopwatch.stop(); ticker.advance(16); stopwatch.start();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Configure mocks for NdrBuffer interactions lenient().when(mockDeferredBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer); lenient().doNothing().when(mockDeferredBuffer).advance(anyInt()); // Set up index field for derive operations mockDeferredBuffer.index = 0; } @Nested @DisplayName("Protocol Information Tests") class ProtocolInfoTests {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
* streams. * * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class * are <i>lazy</i>, which means that their iterators only advance the backing iteration when * absolutely necessary. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code * Iterables}</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(0, 10); cache.put(2, 30); fakeTicker.advance(999, MILLISECONDS); assertThat(cache.getIfPresent(2)).isEqualTo(30); fakeTicker.advance(1, MILLISECONDS); assertThat(cache.getIfPresent(2)).isEqualTo(30); fakeTicker.advance(1000, MILLISECONDS); assertThat(cache.getIfPresent(0)).isNull(); } @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
_dst.enc_ndr_long(_name_buffers); _dst.enc_ndr_long(0); _dst.enc_ndr_long(_name_bufferl); final int _name_bufferi = _dst.index; _dst.advance(2 * _name_bufferl); _dst = _dst.derive(_name_bufferi); for (int _i = 0; _i < _name_bufferl; _i++) { _dst.enc_ndr_short(this.name.buffer[_i]); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (0)