- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,189 for cases (0.15 sec)
-
src/cmd/asm/internal/asm/asm.go
switch valueAddr.Type { case obj.TYPE_CONST: switch sz { case 1, 2, 4, 8: nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, sz, valueAddr.Offset) default: p.errorf("bad int size for DATA argument: %d", sz) } case obj.TYPE_FCONST: switch sz { case 4: nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64))) case 8:Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 21 15:13:08 UTC 2025 - 26.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
@Test @DisplayName("should compare versions correctly") void shouldCompareVersionsCorrectly() { // Based on the actual implementation, it only handles specific cases assertTrue(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", "4.1.0")); assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.0.0", "4.1.0"));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
/** * Tests for SmbFilenameFilter interface behaviors via simple implementations. * Each test creates a concrete filter to validate expected contract semantics * including normal operation, null handling, edge cases, and exception flow. */ @ExtendWith(MockitoExtension.class) class SmbFilenameFilterTest { @Mock SmbFile mockDir; /** * Happy-path: a filter that accepts any name. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Test cases for {@link SettableFuture}. * * @author Sven Mawson */ @NullUnmarked public class SettableFutureTest extends TestCase { private SettableFuture<String> future; private ListenableFutureTester tester;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
// These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes(); assertEquals("YWJj", Base64Util.encode(data1)); // Test case 2: Single padding final byte[] data2 = "abcd".getBytes();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
You can also combine `dataclasses` with other type annotations to make nested data structures. In some cases, you might still have to use Pydantic's version of `dataclasses`. For example, if you have errors with the automatically generated API documentation. In that case, you can simply swap the standard `dataclasses` with `pydantic.dataclasses`, which is a drop-in replacement:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
`app.add_middleware()` receives a middleware class as the first argument and any additional arguments to be passed to the middleware. ## Integrated middlewares { #integrated-middlewares } **FastAPI** includes several middlewares for common use cases, we'll see next how to use them. /// note | Technical Details For the next examples, you could also use `from starlette.middleware.something import SomethingMiddleware`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
// may change and break assumptions in this test [*]. This is not a bug in the implementation of // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as // regards edge cases. // The Unicode point {@code 00df} is the lowercase form of sharp-S (ß), whose uppercase is "SS". assertEquals("PASSWORD", "pa\u00dfword".toUpperCase()); // [*]
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* future.transform(...).transform(...).transform(...)....}), they may overflow the stack. * (In simple cases, callers can avoid this by registering all tasks with the same {@link * MoreExecutors#newSequentialExecutor} wrapper around {@code directExecutor()}. More * complex cases may require using thread pools or making deeper changes.)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
# HTTP Basic Auth { #http-basic-auth } For the simplest cases, you can use HTTP Basic Auth. In HTTP Basic Auth, the application expects a header that contains a username and a password. If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error. And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter. That tells the browser to show the integrated prompt for a username and password.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0)