- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 178 for contention (2.06 sec)
-
src/test/java/jcifs/SmbTransportPoolTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Comprehensive test suite for SmbTransportPool interface. * Tests all transport pool operations including connection management, * authentication, and lifecycle operations. */ @ExtendWith(MockitoExtension.class) @DisplayName("SmbTransportPool Tests") class SmbTransportPoolTest { @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
continue; } } catch (final SmbAuthException sae) { log.warn("Auth failed", sae); } catch (final SmbException se) { log.warn("Connection failed", se); if (se.getNtStatus() != NtStatus.NT_STATUS_UNSUCCESSFUL) { throw se; } } if (dirents[i].isDirectory()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Echo response message. * * This response confirms that the server is still active * and the connection is working properly. * * @author mbechler */ public class Smb2EchoResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 echo response * @param config the client configurationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
int RPC_PT_CANCEL = 0x12; /** * Acknowledgment packet type */ int RPC_PT_ACK = 0x13; /** * Reject packet type */ int RPC_PT_REJECT = 0x14; /** * Connection-oriented cancel packet type */ int RPC_PT_CO_CANCEL = 0x15; /** * Orphaned packet type */ int RPC_PT_ORPHANED = 0x16; // RPC_C_PF_ flags (packet flags) /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
// Log circuit breaker rejection auditLogger.logSecurityViolation("Circuit breaker open for SMB connection", java.util.Map.of("address", address.getHostAddress(), "port", String.valueOf(port))); throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e); } catch (RuntimeException e) { // Unwrap IOException from RuntimeExceptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to succeed doNothing().when(transport).connect(); // Simulate failed tree connect doThrow(new SmbException("Connection failed")).when(session).send(any(ServerMessageBlock.class), any(ServerMessageBlock.class)); assertThrows(SmbException.class, () -> tree.treeConnect(null, null));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
4. **Edge Cases**: Null, empty, and boundary conditions are covered 5. **Resources**: Test resources are properly managed and cleaned up ## Contributing When adding new tests: 1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>` 2. Add clear JavaDoc comments explaining the test purpose 3. Ensure tests are independent and can run in any order 4. Clean up resources in finally blocks or use try-with-resources
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
/** * Named pipe status indicating the pipe is listening for connections. */ public static final int STATUS_LISTENING = 2; /** * Named pipe status indicating the connection is established and operational. */ public static final int STATUS_CONNECTION_OK = 3; /** * Named pipe status indicating the server end of the pipe is closed. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
*/ package jcifs.smb1.dcerpc; import jcifs.smb1.dcerpc.ndr.NdrBuffer; import jcifs.smb1.dcerpc.ndr.NdrException; /** * DCERPC Bind message for establishing a connection context. * This class handles the binding of DCERPC interfaces for RPC communication. */ public class DcerpcBind extends DcerpcMessage {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
if (witnessClient != null) { witnessClient.close(); } super.logoff(); } ``` ### 5.2 Tree Connection Integration ```java // In SmbTree.java public void connectWithWitnessSupport() throws IOException { // Perform normal tree connection super.connect(); // Register for witness notifications for this share if (session.isWitnessEnabled()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0)