- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,270 for cases (0.06 sec)
-
cmd/os-reliable.go
switch { case isSysErrNotDir(err) && !osIsNotExist(err): // Windows can have both isSysErrNotDir(err) and osIsNotExist(err) returning // true if the source file path contains an non-existent directory. In that case, // we want to return errFileNotFound instead, which will honored in subsequent // switch cases return errFileAccessDenied case isSysErrPathNotFound(err):
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
} } @Test @DisplayName("Should handle case sensitivity") void testCaseSensitivity() { // Given String upperCase = "SERVER"; String lowerCase = "server"; String mixedCase = "Server"; // Test different cases when(mockNetbiosName.getName()).thenReturn(upperCase);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
nil, nil, }, // Test - 4 - parse the chunk reader properly. { bufio.NewReader(readers[3]), nil, []byte("1000"), []byte("111123333333333333334444211"), }, } // Valid test cases for each chunk line. for i, tt := range testCases { chunkSize, chunkSignature, err := readChunkLine(tt.reader) if err != tt.expectedErr { t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
*/ package com.google.common.math; import java.math.BigInteger; import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Utilities for benchmarks. * * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary * the input itself, so most methods which generate values use an exponential distribution varying
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
You can combine normal FastAPI *path operations* with GraphQL on the same application. /// tip **GraphQL** solves some very specific use cases. It has **advantages** and **disadvantages** when compared to common **web APIs**. Make sure you evaluate if the **benefits** for your use case compensate the **drawbacks**. 🤓 /// ## GraphQL Libraries { #graphql-libraries }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TestUtil.java
assertThat(networkA.nodeOrder()).isEqualTo(networkB.nodeOrder()); assertThat(networkA.edgeOrder()).isEqualTo(networkB.edgeOrder()); assertThat(networkA).isEqualTo(networkB); } /** * In some cases our graph implementations return custom sets that define their own size() and * contains(). Verify that these sets are consistent with the elements of their iterator. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Function; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Test cases for {@link Tables#transformValues}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class TablesTransformValuesTest extends AbstractTableTest<Character> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Supplier.java
* to this supplier. * * <p><b>Warning: do not depend</b> on the behavior of this method. * * <p>Historically, {@code Supplier} instances in this library have implemented this method to * recognize certain cases where distinct {@code Supplier} instances would in fact behave * identically. However, as code migrates to {@code java.util.function}, that behavior will * disappear. It is best not to depend on it. */ @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 19 17:20:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
/** * Tests for SMBProtocolDowngradeException covering all constructors and behaviors. */ @ExtendWith(MockitoExtension.class) class SMBProtocolDowngradeExceptionTest { /** * Provides messages including edge cases (null and empty) for parameterized testing. */ static Stream<Arguments> messages() { return Stream.of(Arguments.of((String) null), Arguments.of(""), Arguments.of("unexpected downgrade")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
<div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## Forbid Extra Headers { #forbid-extra-headers } In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive. You can use Pydantic's model configuration to `forbid` any `extra` fields:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0)