- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 373 for steste (1.92 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
import jcifs.internal.CommonServerMessageBlockRequest; import jcifs.internal.NotifyResponse; import jcifs.internal.smb1.trans.nt.NtTransNotifyChange; import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest; /** * Tests for SmbWatchHandleImpl focusing on behavior and interactions. */ @ExtendWith(MockitoExtension.class) class SmbWatchHandleImplTest { @Mock SmbFileHandleImpl handle; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} this.isExists = true; return fh; } } /** * Determines the appropriate lease state based on the requested access * * @param access the desired access flags * @return the appropriate lease state */ private int determineLeaseState(final int access) { // Check if this is a directory boolean isDir = false; try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
assertNotNull(nodeAddress, "Node address should not be null"); // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test // These methods require network operations and are integration test material } @Test void readRDataWireFormat_shouldSetNbtAddress_whenAddressIsNonZero_groupNameTrue_nodeTypeNonZero()
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test @DisplayName("fetchMore() handles NT_STATUS_NO_MORE_FILES via exception") void fetchMore_handles_no_more_files_exception() throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator); when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
SortBuilders.fieldSort(OpenSearchUrlQueue.WEIGHT).order(SortOrder.DESC), SortBuilders.fieldSort(CREATE_TIME).order(SortOrder.ASC)); } /** * Saves the session state (currently not implemented). * * @param sessionId The session ID. */ @Override public void saveSession(final String sessionId) { // TODO use cache } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 16.9K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Test toString method behavior - requires valid configuration */ @Test @DisplayName("Test toString requires valid configuration") public void testToStringRequiresValidConfig() { // Constructor with null config throws exception, so we can't test toString with null config // Instead, test that toString works with a valid config // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(0, result); // Test with different parameters result = netShareEnum.readParametersWireFormat(buffer, 25, 75); assertEquals(0, result); // Test with zero length result = netShareEnum.readParametersWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test @DisplayName("Test readDataWireFormat returns 0")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
response = new TestSmbComNtTransactionResponse(mockConfig); } @Test @DisplayName("Test constructor with Configuration") void testConstructor() { assertNotNull(response); // Verify configuration is set through parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test readParameterWordsWireFormat with zero setup count")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
@ExtendWith(MockitoExtension.class) class SIDCacheImplTest { // Helper to create a SID from text without throwing in the test body private static SID sid(String textual) { try { return new SID(textual); } catch (SmbException e) { throw new RuntimeException(e); } } @Test @DisplayName("resolveSids(DcerpcHandle,...) populates acct, domain and type for known types")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected long durableHandleTimeout = 120000; // 2 minutes /** Maximum number of retry attempts for handle reconnection */ protected int handleReconnectRetries = 3; /** Directory to store persistent handle state */ protected String handleStateDirectory; // Directory leasing configuration fields /** * Whether to use directory leasing for cached directory listings */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)