- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 418 for 123 (0.01 seconds)
-
src/test/java/jcifs/SmbResourceTest.java
// When InputStream is1 = mockResource.openInputStream(); InputStream is2 = mockResource.openInputStream(1); InputStream is3 = mockResource.openInputStream(1, 2, 3); // Then assertNotNull(is1, "Default input stream should not be null"); assertNotNull(is2, "Input stream with sharing should not be null");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@Test @DisplayName("getServerEncryptionKey returns expected bytes") void serverEncryptionKey_variants() { byte[] key = new byte[] { 1, 2, 3 }; when(transport.getServerEncryptionKey()).thenReturn(key); assertArrayEquals(key, transport.getServerEncryptionKey()); verify(transport).getServerEncryptionKey(); // Empty arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
getResponse( Request( url = server.url("/"), body = "123".toRequestBody(null), ), ), ) val request1 = server.takeRequest() assertThat(request1.exchangeIndex).isEqualTo(0) val request2 = server.takeRequest() assertThat(request2.body?.utf8()).isEqualTo("123") assertThat(request2.exchangeIndex).isEqualTo(0) } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
docs/pt/docs/advanced/stream-data.md
Se você declarar `response_class=StreamingResponse` na sua função de operação de rota, você pode usar `yield` para enviar cada bloco de dados em sequência. {* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *} O FastAPI entregará cada bloco de dados para `StreamingResponse` como está, não tentará convertê-lo para JSON nem nada semelhante.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:13 GMT 2026 - 5.7K bytes - Click Count (0) -
docs/zh/docs/advanced/stream-data.md
## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-yield } 如果你在*路径操作函数*中声明 `response_class=StreamingResponse`,你就可以使用 `yield` 依次发送每个数据块。 {* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *} FastAPI 会将每个数据块原样交给 `StreamingResponse`,不会尝试将其转换为 JSON 或做类似处理。 ### 非 async 的*路径操作函数* { #non-async-path-operation-functions } 你也可以使用常规的 `def` 函数(不带 `async`),并以相同方式使用 `yield`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
buildHeader(buf, headerStart, NtStatus.NT_STATUS_SUCCESS, 0x0001, 0xCAFEBABECAFEF00DL); int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH; byte[] blob = new byte[] { 1, 2, 3 }; int secBufOffset = Smb2Constants.SMB2_HEADER_LENGTH + 8; int sessionFlags = 0; // not guest/null buildSessionSetupBody(buf, headerStart, bodyStart, sessionFlags, secBufOffset, blob);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
} /** * Returns a string containing the supplied {@code char} values separated by {@code separator}. * For example, {@code join("-", '1', '2', '3')} returns the string {@code "1-2-3"}. * * @param separator the text that should appear between consecutive values in the resulting string * (but not at the start or end)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
docs/uk/docs/advanced/stream-data.md
Якщо ви оголосите `response_class=StreamingResponse` у вашій функції операції шляху, ви можете використовувати `yield`, щоб послідовно надсилати кожний фрагмент даних. {* ../../docs_src/stream_data/tutorial001_py310.py ln[1:23] hl[20,23] *} FastAPI передаватиме кожний фрагмент даних до `StreamingResponse` як є; він не намагатиметься перетворити його на JSON чи щось подібне. ### Не-async функції операції шляху { #non-async-path-operation-functions }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:25:54 GMT 2026 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
} } return flip(max); } /** * Returns a string containing the supplied unsigned {@code int} values separated by {@code * separator}. For example, {@code join("-", 1, 2, 3)} returns the string {@code "1-2-3"}. * * @param separator the text that should appear between consecutive values in the resulting string * (but not at the start or end)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 13.9K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * } * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch * that is already in the desired state. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (0)