- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 2,390 for when (0.02 sec)
-
android/guava/src/com/google/common/cache/Striped64.java
/** Table of cells. When non-null, size is a power of 2. */ transient volatile Cell @Nullable [] cells; /** * Base value, used mainly when there is no contention, but also as a fallback during table * initialization races. Updated via CAS. */ transient volatile long base; /** Spinlock (locked via CAS) used when resizing and/or creating Cells. */ transient volatile int busy;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
FileInformation internalInfo = mock(FileInformation.class); // Set different levels when(basicInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO); when(standardInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_STANDARD_INFO); when(internalInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_INTERNAL_INFO); // Verify each has correct level
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
And then, right after the `yield`, we unload the model. This code will be executed **after** the application **finishes handling requests**, right before the *shutdown*. This could, for example, release resources like memory or a GPU. /// tip The `shutdown` would happen when you are **stopping** the application.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
// Test with smaller maximum buffer size when(mockConfig.getMaximumBufferSize()).thenReturn(8192); when(mockConfig.getListSize()).thenReturn(16384); request = new Smb2QueryDirectoryRequest(mockConfig); assertNotNull(request); // Test with smaller list size when(mockConfig.getMaximumBufferSize()).thenReturn(16384); when(mockConfig.getListSize()).thenReturn(8192);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
assertNotNull(connection, "Connection should not be null even when jcifs is in handler path."); assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it."); } @Test void testOpenConnection_NullSystemProperty_UsesDefaultHandlers() throws Exception { // This test verifies that when the system property is null, the handlerRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
fun prepNightlyTaskName() = nightlyTaskName("prep") fun promoteMilestoneTaskName(): String = when { isRelease -> "promoteReleaseMilestone" else -> "promoteMilestone" } fun promoteFinalReleaseTaskName(): String = when { isMaster -> throw UnsupportedOperationException("No final release job on master branch")Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jun 17 09:57:45 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining"); assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0"); assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining"); assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining"); assertNull(block.andx, "andx should be cleared when not chaining"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
tests/update_has_many_test.go
user := *GetUser("update-has-many", Config{}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User DB.Preload("Pets").Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user)Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
* * Do not confuse this class with the misnamed `HttpURLConnection`, which isn't so much a connection * as a single request/response exchange. * * ## Modern TLS * * There are trade-offs when selecting which options to include when negotiating a secure connection * to a remote host. Newer TLS options are quite useful: * * * Server Name Indication (SNI) enables one IP address to negotiate secure connections for
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
@Test @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config") void constructorUsesConfigurationAndAllocatesWithConfiguredSize() { when(cfg.getBufferCacheSize()).thenReturn(2); when(cfg.getMaximumBufferSize()).thenReturn(5); BufferCacheImpl impl = new BufferCacheImpl(cfg); // Verify interactions happen exactly once during constructionRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0)