- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 557 for Cases (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
verify(tree, atLeastOnce()).release(); } @ParameterizedTest @ValueSource(strings = { "", " ", "*", "?" }) @DisplayName("Supports various wildcard values without throwing (edge cases)") void wildcardEdgeCases(String wildcard) throws Exception { // minimal successful first response with a single entry
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
import org.mockito.Spy; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SecurityBlobTest { // Parameter source for toString() hex rendering cases static Stream<Arguments> hexCases() { return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
readBytes.setAccessible(true); assertEquals(0, readBytes.invoke(cancel, buffer, position)); } } @Nested @DisplayName("Edge Cases") class EdgeCaseTests { @Test @DisplayName("Should handle empty byte arrays") void testWithEmptyArrays() throws Exception { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* new value. * * <p><b>Warning:</b> this method silently converts checked exceptions to unchecked exceptions, * and should not be used with cache loaders which throw checked exceptions. In such cases use * {@link #get} instead. * * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * explained in the last paragraph above, this should be an unchecked exception only.)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
import java.math.BigInteger; import org.jspecify.annotations.Nullable; /** * A wrapper class for unsigned {@code int} values, supporting arithmetic operations. * * <p>In some cases, when speed is more important than code readability, it may be faster simply to * treat primitive {@code int} values as unsigned, using the methods from {@link UnsignedInts}. * * <p>See the Guava User Guide article on <aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
Sending a body with a `GET` request has an undefined behavior in the specifications, nevertheless, it is supported by FastAPI, only for very complex/extreme use cases. As it is discouraged, the interactive docs with Swagger UI won't show the documentation for the body when using `GET`, and proxies in the middle might not support it. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/en/docs/environment-variables.md
You can also read more about them in the [Wikipedia for Environment Variable](https://en.wikipedia.org/wiki/Environment_variable). In many cases it's not very obvious how environment variables would be useful and applicable right away. But they keep showing up in many different scenarios when you are developing, so it's good to know about them.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
internal/dsync/drwmutex_test.go
expected := false if locked != expected { t.Errorf("TestDualWriteLockTimedOut(): \nexpected %#v\ngot %#v", expected, locked) } } // Test cases below are copied 1 to 1 from sync/rwmutex_test.go (adapted to use DRWMutex) // Borrowed from rwmutex_test.go func parallelReader(ctx context.Context, m *DRWMutex, clocked, cunlock, cdone chan bool) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/zh/docs/advanced/stream-data.md
# 流式数据 { #stream-data } 如果你要流式传输可以结构化为 JSON 的数据,你应该[流式传输 JSON Lines](../tutorial/stream-json-lines.md)。 但如果你想流式传输纯二进制数据或字符串,可以按下面的方法操作。 /// info | 信息 自 FastAPI 0.134.0 起新增。 /// ## 使用场景 { #use-cases } 如果你想流式传输纯字符串,例如直接来自某个 AI LLM 服务的输出,可以使用它。 你也可以用它来流式传输大型二进制文件,在读取的同时按块发送,无需一次性把所有内容读入内存。 你还可以用这种方式流式传输视频或音频,甚至可以在处理的同时生成并发送。 ## 使用 `yield` 的 `StreamingResponse` { #a-streamingresponse-with-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) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* * Our usages should at least be *relatively* safe: Typically, threads started by a test are dying * at the end of the test, so there is no object state put at risk by stopping the threads * abruptly. In other cases, a test may put a thread into an uninterruptible operation * intentionally, so there is no other way to clean up these threads. (The better solution,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0)