- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 292 for serons (2.49 sec)
-
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/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
int result = smbComRename.writeBytesWireFormat(dst, dstIndex); // Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator assertEquals((byte) 0x04, dst[secondBufferFormatIndex]); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
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) -
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) -
.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) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
} finally { latch.countDown(); } }); } latch.await(5, TimeUnit.SECONDS); executor.shutdown(); // Verify all listeners were added assertEquals(numThreads, fesenClient.onConnectListenerList.size()); } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K 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)