- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for currentDate (0.17 sec)
-
src/test/java/jcifs/util/EncdecTest.java
void testTimeOperations() { // Given Date currentDate = new Date(); byte[] buffer = new byte[8]; // When - Use direct encoding methods since time constants are private Encdec.enc_uint64le(currentDate.getTime(), buffer, 0); long decoded = Encdec.dec_uint64le(buffer, 0); // Then assertEquals(currentDate.getTime(), decoded, "Encoded and decoded time should match"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
State currentState = state.get(); if (currentState == State.OPEN && shouldAttemptReset()) { transitionTo(State.HALF_OPEN); currentState = State.HALF_OPEN; } if (currentState == State.OPEN) { throw new CircuitOpenException("Circuit breaker '" + name + "' is open"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
// Invalidate all parent directories up to root String currentPath = path; while (currentPath != null && !currentPath.isEmpty()) { DirectoryCacheEntry entry = leaseManager.getCacheEntry(currentPath); if (entry != null) { entry.invalidate(); } currentPath = getParentPath(currentPath); } // Invalidate all child directoriesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
*/ public <T> T call(Callable<T> callable, Callable<T> fallback) throws Exception { totalCalls.incrementAndGet(); State currentState = evaluateState(); if (currentState == State.OPEN) { rejectedCalls.incrementAndGet(); if (fallback != null) { log.debug("Circuit breaker {} is open, using fallback", name);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
bufferIndex += 4; return bufferIndex - start; } @Override public String toString() { return String.format("Smb2LeaseBreakNotification[leaseKey=%s,currentState=0x%x,newState=0x%x,reason=%d]", leaseKey, currentLeaseState, newLeaseState, breakReason); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.8K bytes - Viewed (0)