- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 776 for intervals (0.2 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package jcifs.internal.smb2.persistent; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.create.CreateContextResponse; import jcifs.internal.util.SMBUtil; /** * SMB2 Durable Handle V2 Response Create Context * * MS-SMB2 Section 2.2.14.2.4 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
* Get the timeout value in 100-nanosecond intervals as required by MS-SMB2 * @return the timeout in 100-nanosecond intervals */ public long getTimeoutFor100Ns() { if (timeoutMs == 0) { return 0L; // Persistent handles use 0 } // Convert milliseconds to 100-nanosecond intervals // 1 ms = 10,000 * 100ns intervals long intervals = timeoutMs * 10000L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
// Response sequence number (64-bit) responseSequenceNumber = buf.dec_ndr_hyper(); // Heartbeat interval (64-bit, in 100-nanosecond intervals) // Convert from FILETIME intervals to milliseconds long filetimeInterval = buf.dec_ndr_hyper(); heartbeatInterval = filetimeInterval / 10000; // Convert to milliseconds }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
long lastAccess = 1600000100000L; long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601) long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; writeLong(buffer, 0, (create + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
*/ public class ResourceManagerTest { private ResourceManager resourceManager; @BeforeEach void setUp() { resourceManager = ResourceManager.getInstance(); // Configure with shorter intervals for testing resourceManager.configure(1000, 100, true, true); } /** * Test resource for tracking */ static class TestResource implements AutoCloseable {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
return timestamp; } /** * Sets the notification timestamp. * * @param timestamp the timestamp value in FILETIME format (100-nanosecond intervals since January 1, 1601 UTC) */ public void setTimestamp(long timestamp) { this.timestamp = timestamp; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2CloseResponse functionality */ @ExtendWith(MockitoExtension.class) @DisplayName("Smb2CloseResponse Tests") class Smb2CloseResponseTest {
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/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java
/** * Gets the recommended heartbeat interval. * * @return the recommended heartbeat interval in milliseconds */ public long getRecommendedHeartbeatInterval() { return recommendedHeartbeatInterval; } /** * Sets the recommended heartbeat interval. * * @param recommendedHeartbeatInterval the recommended heartbeat interval in milliseconds */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
* * @param handle notification handle * @return polling interval in milliseconds */ private long determinePollInterval(ChangeNotificationHandle handle) { int failures = getFailureCount(handle); // Base interval starts at 1 second, increases with failures // Max interval is 30 seconds for inactive directories
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)