- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 108 for fileId3 (1.7 sec)
-
tests/non_std_test.go
DB.First(&animal, animal.Counter) if animal.Name != "amazing horse" { t.Errorf("Update a filed with a default value should occur. But got %v\n", animal.Name) } // When changing a field with a default value with blank value animal.Name = "" DB.Save(&animal) DB.First(&animal, animal.Counter) if animal.Name != "" { t.Errorf("Update a filed to blank with a default value should occur. But got %v\n", animal.Name) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
entry.markComplete(); // Test FILE_ADDED - should invalidate cache directoryLeaseManager.handleDirectoryChange(directoryPath, "file3.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED); assertFalse(entry.isComplete()); // Re-setup for next test entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
private void setupSmb2(NotifyResponse resp, byte[] fileId) throws Exception { when(handle.isValid()).thenReturn(true); when(handle.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(handle.getFileId()).thenReturn(fileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
} /** * Add a durable handle reconnect context to this request * @param fileId the 16-byte file ID from the previous open */ public void addDurableHandleReconnectContext(byte[] fileId) { addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleReconnect(fileId)); } /** * Check if this request has durable handle contexts
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
} @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Constructor should initialize with config, fileId and fileName") void testConstructorWithAllParameters() { // When Smb2CloseResponse closeResponse = new Smb2CloseResponse(mockConfig, testFileId, testFileName); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
public void test_getCacheKey_sorting() { String seed = "test_seed"; String[] tags = { "zzz", "aaa", "mmm" }; String[] roles = { "role3", "role1", "role2" }; String[] fields = { "field3", "field1", "field2" }; String[] excludes = { "exclude3", "exclude1", "exclude2" }; String result = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes); assertNotNull(result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0x55); request.setFileId(newFileId); // FileId is set internally assertNotNull(request); } @Test @DisplayName("Test createResponse method") void testCreateResponse() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
QueryFieldConfig queryFieldConfig = new QueryFieldConfig() { @Override public String[] getResponseFields() { return new String[] { "field1", "field2", "field3" }; } }; ComponentUtil.register(queryFieldConfig, "queryFieldConfig"); String[] responseFields = searchRequestParams.getResponseFields(); assertNotNull(responseFields);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, notifications.get(1).getAction()); // Verify third notification assertEquals("file3.txt", notifications.get(2).getFileName()); assertEquals(FileNotifyInformation.FILE_ACTION_MODIFIED, notifications.get(2).getAction()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Thread.sleep(5); // Small delay to ensure different timestamps Smb2LeaseKey key3 = limitedManager.requestLease("/share/file3.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING); // key3 should definitely exist (just created) assertNotNull(limitedManager.getLease(key3)); // key1 should have been evicted (oldest)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0)