- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,356 for afterFn (0.05 seconds)
-
src/test/java/jcifs/SmbTreeHandleTest.java
assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true"); when(smbTreeHandle.isConnected()).thenReturn(false); assertFalse(smbTreeHandle.isConnected(), "isConnected() should return false after status change"); } /** * Test for getServerTimeZoneOffset() method. * Verifies that the method returns the correct time zone offset. * @throws CIFSException */ @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java
// Modify the middle resource resources.get(1).addInclude("*.properties"); // Verify order is preserved after modification List<Resource> resourcesAfter = project.getResources(); assertEquals(3, resourcesAfter.size(), "Should still have three resources"); assertEquals(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 12.6K bytes - Click Count (0) -
cmd/batch-rotate.go
// skip all objects that are created before the specified time. return false } if !r.Flags.Filter.CreatedBefore.IsZero() && r.Flags.Filter.CreatedBefore.After(info.ModTime) { // skip all objects that are created after the specified time. return false } if len(r.Flags.Filter.Tags) > 0 { // Only parse object tags if tags filter is specified. tagMap := map[string]string{}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.7K bytes - Click Count (0) -
docs_src/app_testing/tutorial004_py39.py
response = client.get("/items/foo") assert response.status_code == 200 assert response.json() == {"name": "Fighters"} # After the requests is done, the items are still there assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}} # The end of the "with TestClient" block simulates terminating the app, soCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.2K bytes - Click Count (0) -
fastapi/middleware/asyncexitstack.py
from contextlib import AsyncExitStack from starlette.types import ASGIApp, Receive, Scope, Send # Used mainly to close files after the request is done, dependencies are closed # in their own AsyncExitStack class AsyncExitStackMiddleware: def __init__( self, app: ASGIApp, context_name: str = "fastapi_middleware_astack" ) -> None: self.app = app self.context_name = context_nameCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 637 bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
msg.setFlag(0x4, true); assertTrue(msg.getFlag(0x4), "Bit should be set after setFlag(true)"); } @Test @DisplayName("setFlag false clears the bit") void testSetFlagFalse() { msg.setFlag(0x4, true); msg.setFlag(0x4, false); assertFalse(msg.getFlag(0x4), "Bit should be cleared after setFlag(false)"); } // ---------------- Static read tests -----------------
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
// TODO(b/192446998): Remove this override after tools understand nullness better. public @Nullable V put(K key, @ParametricNullness V value) { return super.put(key, value); } @CanIgnoreReturnValue @Override @SuppressWarnings("RedundantOverride") // b/192446478: RedundantOverride ignores some annotations. // TODO(b/192446998): Remove this override after tools understand nullness better.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
assertThrows(NullPointerException.class, () -> putAll(containsNullKey)); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported putAll(containsNullKey)"); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPutAll_nullValueSupported() { putAll(containsNullValue);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/JobLogService.java
// Default constructor } /** * Configuration settings for the Fess application. */ @Resource protected FessConfig fessConfig; /** * Time interval in milliseconds after which jobs are considered expired. * Default is 2 hours (2 * 60 * 60 * 1000L). */ protected long expiredJobInterval = 2 * 60 * 60 * 1000L; // 2hours /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
assertThrows(NullPointerException.class, () -> putAll(containsNullKey)); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported putAll(containsNullKey)"); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) public void testPutAll_nullValueSupported() { putAll(containsNullValue);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0)