- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,064 for readn (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
shift += 7 } else { result += b shl shift // Last byte. break } } return result } /** Reads a potentially Huffman encoded byte string. */ @Throws(IOException::class) fun readByteString(): ByteString { val firstByte = readByte() val huffmanDecode = firstByte and 0x80 == 0x80 // 1NNNNNNN
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
public T get() { // Another variant of Double Checked Locking. // // We use two volatile reads. We could reduce this to one by // putting our fields into a holder class, but (at least on x86) // the extra memory consumption and indirection are more // expensive than the extra volatile reads. long nanos = expirationNanos; long now = System.nanoTime(); if (nanos == 0 || now - nanos >= 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
assertThat(inputStream.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo('D'.code) assertThat(inputStream.read()).isEqualTo('E'.code) assertThat(inputStream.read()).isEqualTo('F'.code) assertThat(inputStream.read()).isEqualTo(-1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
ServerMessageBlock.writeInt2(0, buf, 42); assertThrows(RuntimeException.class, () -> block.decode(buf, 0)); } @Test @DisplayName("readAndXWireFormat reads chained plain SMB and marks received") void testReadAndXWireFormatWithPlainSMB() { DummyPlainSMB next = new DummyPlainSMB(); // The implementation uses andx.wordCount, which starts at 0 by default
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
} // Test concurrent reads Thread[] readThreads = new Thread[3]; for (int i = 0; i < readThreads.length; i++) { readThreads[i] = new Thread(() -> { for (int j = 0; j < 100; j++) { List<DirectoryCacheEntry.FileInfo> children = entry.getChildren(); // Just read, don't assert specific counts due to race conditions
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/en/docs/index.md
<summary>About the command <code>fastapi dev main.py</code>...</summary> The command `fastapi dev` reads your `main.py` file, detects the **FastAPI** app in it, and starts a server using <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a>. By default, `fastapi dev` will start with auto-reload enabled for local development.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* Tests to see if the file this <code>SmbFile</code> represents can be * read. Because any file, directory, or other resource can be read if it * exists, this method simply calls the <code>exists</code> method. * * @return <code>true</code> if the file is read-only * @throws SmbException if an error occurs while checking read permissions */ public boolean canRead() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Fix: Don't call `EventListener.responseHeadersStart()` or `responseBodyStart()` until bytes have been received. Previously these events were incorrectly sent too early, when OkHttp was ready to read the response headers or body, which mislead tracing tools. Note that the `responseFailed()` event always used to follow one of these events; now it may be sent without them. * New: Upgrade to Kotlin 1.3.61.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(inputStream!!.read()).isEqualTo('A'.code) assertThat(inputStream.read()).isEqualTo('B'.code) assertThat(inputStream.read()).isEqualTo('C'.code) assertThat(inputStream.read()).isEqualTo('D'.code) assertThat(inputStream.read()).isEqualTo('E'.code) assertThat(inputStream.read()).isEqualTo('F'.code) assertThat(inputStream.read()).isEqualTo(-1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertEquals(TransPeekNamedPipeResponse.STATUS_LISTENING, response.getStatus()); // Middle bytes were read but not used } @Test @DisplayName("Test consecutive reads update state correctly") void testConsecutiveReads() { // First read byte[] buffer1 = new byte[10]; SMBUtil.writeInt2(100, buffer1, 0); SMBUtil.writeInt2(0, buffer1, 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)