- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 2,390 for when (0.02 sec)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
+ (throwable == null ? null : Throwables.getStackTraceAsString(throwable)), throwableFromOtherThread.get()); } /** * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks * completed. */ public void testDirectExecutorService_awaitTermination_missedSignal() { ExecutorService service = newDirectExecutorService(); Thread waiter =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
* convenient. It is invoked exactly once on service shutdown, even when {@link #stopAsync} is * called multiple times. * * <p>When this method is called {@link #state()} will return {@link State#STOPPING}, which is the * external state observable by the caller of {@link #stopAsync}. * * @since 27.0 */ @ForOverride protected void doCancelStart() {} @CanIgnoreReturnValue @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
// GIVEN an unknown auth type int unknownAuthType = -1; byte[] emptyToken = new byte[0]; // WHEN parsing the auth data List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys); // THEN the result should be an empty list assertNotNull(result, "The result should not be null.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbConnectionTest.java
assertTrue(config.isUseBatching(), "Batching should be enabled"); // When both are enabled, batch limits should be available int limit = config.getBatchLimit("TreeConnectAndX.QueryInformation"); assertTrue(limit >= 0, "Batch limit should be non-negative when Unicode and batching enabled"); } /** * Test configuration when batching is disabled */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* at one time; if a value is not available to be edited then [edit] will return null. * * * When an entry is being **created** it is necessary to supply a full set of values; the empty * value should be used as a placeholder if necessary. * * * When an entry is being **edited**, it is not necessary to supply data for every value; values * default to their previous value.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
@BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); when(mockConfig.getListSize()).thenReturn(65536); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) i;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
# WebSockets When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it. It is provided directly by Starlette, but you can import it from `fastapi`: ```python from fastapi import WebSocket ``` /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.7K bytes - Viewed (0) -
tests/create_test.go
t.Fatalf("errors happened when query: %v", err) } else { CheckUser(t, newUser, u1) } type user struct { ID int `gorm:"primaryKey;->:false"` Name string Age int } var u2 user if results := DB.Create(&u2); results.Error != nil { t.Fatalf("errors happened when create: %v", results.Error) } else if results.RowsAffected != 1 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
docs/en/docs/virtual-environments.md
/// tip You normally have to do this only **once**, when you create the virtual environment. /// ## Deactivate the Virtual Environment { #deactivate-the-virtual-environment } Once you are done working on your project you can **deactivate** the virtual environment. <div class="termy"> ```console $ deactivate ``` </div>Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 22.4K bytes - Viewed (0) -
cmd/metrics-v3-cluster-iam.go
pluginAuthnServiceFailedRequestsMinuteMD = NewCounterMD(pluginAuthnServiceFailedRequestsMinute, "When plugin authentication is configured, returns failed requests count in the last full minute") pluginAuthnServiceLastFailSecondsMD = NewCounterMD(pluginAuthnServiceLastFailSeconds, "When plugin authentication is configured, returns time (in seconds) since the last failed request to the service")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu May 02 08:20:42 UTC 2024 - 4.5K bytes - Viewed (0)