- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 173 for Seek (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(cache.getUnchecked(one)).isSameInstanceAs(one); assertThat(segment.recencyQueue.isEmpty()).isTrue(); assertThat(map.get(one)).isSameInstanceAs(one); assertThat(segment.recencyQueue.peek().getKey()).isSameInstanceAs(one); assertThat(cache.getUnchecked(one)).isSameInstanceAs(one); assertThat(segment.recencyQueue.isEmpty()).isFalse(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertThat(cache.getUnchecked(one)).isSameInstanceAs(one); assertThat(segment.recencyQueue.isEmpty()).isTrue(); assertThat(map.get(one)).isSameInstanceAs(one); assertThat(segment.recencyQueue.peek().getKey()).isSameInstanceAs(one); assertThat(cache.getUnchecked(one)).isSameInstanceAs(one); assertThat(segment.recencyQueue.isEmpty()).isFalse(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 13.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
} /** Checks that #drain() invocations behave correctly for a drained (empty) queue. */ private void assertDrained(BlockingQueue<Object> q) { assertThat(q.peek()).isNull(); assertInterruptibleDrained(q); assertUninterruptibleDrained(q); } private void assertInterruptibleDrained(BlockingQueue<Object> q) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* This stream class is unbuffered. Therefore this method will always * return 0 for streams connected to regular files. However, a * stream created from a Named Pipe this method will query the server using a * "peek named pipe" operation and return the number of available bytes * on the server. */ @Override public int available() throws IOException { SmbNamedPipe pipe; TransPeekNamedPipe req;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
api/go1.26.txt
pkg bytes, method (*Buffer) Peek(int) ([]uint8, error) #73794 pkg crypto, type Decapsulator interface { Decapsulate, Encapsulator } #75300 pkg crypto, type Decapsulator interface, Decapsulate([]uint8) ([]uint8, error) #75300 pkg crypto, type Decapsulator interface, Encapsulator() Encapsulator #75300 pkg crypto, type Encapsulator interface { Bytes, Encapsulate } #75300 pkg crypto, type Encapsulator interface, Bytes() []uint8 #75300
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
* This stream class is unbuffered. Therefore this method will always * return 0 for streams connected to regular files. However, a * stream created from a Named Pipe this method will query the server using a * "peek named pipe" operation and return the number of available bytes * on the server. */ @Override public int available() throws IOException { return 0; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
src/bytes/buffer_test.go
buf := NewBufferString(test.buffer) buf.Next(test.skip) bytes, err := buf.Peek(test.n) if string(bytes) != test.expected { t.Errorf("expected %q, got %q", test.expected, bytes) } if err != test.err { t.Errorf("expected error %v, got %v", test.err, err) } if buf.Len() != len(test.buffer)-test.skip { t.Errorf("bad length after peek: %d, want %d", buf.Len(), len(test.buffer)-test.skip) } } }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
drainRecencyQueue(); ReferenceEntry<K, V> e; while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) { if (!removeEntry(e, e.getHash(), RemovalCause.EXPIRED)) { throw new AssertionError(); } } while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { if (!removeEntry(e, e.getHash(), RemovalCause.EXPIRED)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
fun dispatcherFromMockWebServer() { val dispatcher = object : okhttp3.mockwebserver.Dispatcher() { override fun dispatch(request: RecordedRequest): MockResponse = TODO() override fun peek(): MockResponse = TODO() override fun shutdown() = TODO() } } @Test fun dns() { var dns: Dns = Dns { TODO() } val system: Dns = Dns.SYSTEM }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
Stopwatch stopwatch = Stopwatch.createStarted(); BlockingQueue<String> queue = new ArrayBlockingQueue<>(999); putUninterruptibly(queue, ""); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); assertThat(queue.peek()).isEqualTo(""); } public void testPutNoInterrupt() { TimedPutQueue queue = TimedPutQueue.createWithDelay(20); queue.putSuccessfully(); assertNotInterrupted(); }
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)