- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 653 for HANDLE (0.04 sec)
-
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
import jcifs.SmbTreeHandle; /** * Internal interface for SMB tree handle operations. * * This interface provides internal methods for managing * SMB tree connections and their lifecycle. * * @author mbechler */ public interface SmbTreeHandleInternal extends SmbTreeHandle { /** * Releases this tree handle back to the pool for reuse */ void release(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
assertEquals(0, response.readParametersWireFormat(buffer, 0, 100)); assertEquals(0, response.readDataWireFormat(buffer, 0, 100)); } @Test @DisplayName("Methods should handle null buffer without validation") void testMethodsWithNullBuffer() { // The implementation doesn't validate null buffers // These methods simply return 0 without accessing the buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertEquals(rootNames[i], entries[i].getName()); assertEquals(8, entries[i].getType()); // TYPE_SHARE constant value } } @Test @DisplayName("getEntries should handle single DFS root correctly") void testGetEntries_singleEntry() throws Exception { // Create array with single entry netdfs.DfsEnumArray200 singleArray = new netdfs.DfsEnumArray200();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertEquals(encoded, decoded); assertArrayEquals(originalCiphers, decodedContext.getCiphers()); } @Test @DisplayName("Should handle round-trip at non-zero offset") void testRoundTripWithOffset() throws SMBProtocolDecodingException { int offset = 100;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
assertEquals(1, buffer.getReferrals()[0].getVersion()); assertEquals(1, buffer.getReferrals()[1].getVersion()); } @ParameterizedTest @DisplayName("Should handle various pathConsumed values") @CsvSource({ "0, 0", "10, 5", "100, 50", "1000, 500", "65534, 32767" }) void testPathConsumedValues(int rawValue, int expectedResult) { byte[] testBuffer = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
/** * Construct bind message * */ public DcerpcBind() { } DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) { this.binding = binding; this.max_xmit = handle.getMaxXmit(); this.max_recv = handle.getMaxRecv(); this.ptype = 11; this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
/** * Constructs a new DcerpcBind message. */ public DcerpcBind() { } DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) { this.binding = binding; max_xmit = handle.max_xmit; max_recv = handle.max_recv; ptype = 11; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
@Test @DisplayName("Should handle empty or null ApplyToText") void shouldHandleEmptyApplyToText() { ACE ace1 = mock(ACE.class); ACE ace2 = mock(ACE.class); when(ace1.getApplyToText()).thenReturn(""); when(ace2.getApplyToText()).thenReturn(null); assertEquals("", ace1.getApplyToText(), "Should handle empty apply text");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
verify(mockConfig).getDefaultUsername(); verify(mockConfig).getDefaultPassword(); verify(mockConfig).getDefaultDomain(); } @Test @DisplayName("Constructor should handle credentials from configuration") void testConstructorWithCredentials() throws CIFSException { // Given Configuration configWithCreds = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0)