- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 287 for serons (0.42 sec)
-
src/test/java/jcifs/http/HandlerTest.java
assertThrows(IllegalStateException.class, () -> { Handler.setURLStreamHandlerFactory(mockFactory2); // Second call, should fail. }, "Setting the factory a second time should throw IllegalStateException."); } @Test void testOpenConnection_WithCustomFactory() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
private final CIFSContext context; private final ScheduledExecutorService cleanupExecutor; private static final long DEFAULT_LEASE_CLEANUP_INTERVAL = 60000; // 60 seconds private static final int DEFAULT_LEASE_BREAK_TIMEOUT = 60; // 60 seconds per MS-SMB2 /** * Create a new lease manager * * @param context CIFS context */ public LeaseManager(CIFSContext context) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
.gitignore
bin/ .classpath .project /target /.settings
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 53 bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
// Context handle (20 bytes) - this is both input and output (modified) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1); // Return it unchanged (which will have default values = empty results) return response; });Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
*/ protected ObjectUtil() { } /** * Returns true if the two objects are equal, or both are null. * * @param object1 the first object * @param object2 the second object * @return true if equal or both null, false otherwise */ public static boolean equals(final Object object1, final Object object2) { if (object1 == object2) { return true; }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
CompletableFuture<Void> future = CompletableFuture.runAsync(() -> { handleLeaseBreak(key, newState); }); try { future.get(5, TimeUnit.SECONDS); // 5 second timeout } catch (TimeoutException e) { // Force lease release if break handling times out releaseLease(key); log.warn("Lease break timeout for key: {}", key); } } ```
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
if (t != 0L) { t = (t + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L; } writeInt8(t, dst, dstIndex); } /** * Reads a Unix time value (32-bit seconds) and converts it to Java time in milliseconds * @param buffer the source byte array * @param bufferIndex the starting index in the source array * @return the time value in milliseconds since January 1, 1970 UTC
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
// Signal all threads to start at once startLatch.countDown(); // Wait for all threads to complete assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS)); // All threads should fail with the same IOException (endpoint is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0)