- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 572 for bundle (0.06 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
System.arraycopy(buffer, bodyOffset + 8, actualPath, 0, pathBytes.length); assertArrayEquals(pathBytes, actualPath); } @Test @DisplayName("Should handle chain operation correctly") void testChain() { // Given ServerMessageBlock2 nextMessage = mock(ServerMessageBlock2.class); // When boolean result = request.chain(nextMessage);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K 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/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/SmbTreeHandleTest.java
assertTrue(smbTreeHandle.isSameTree(smbTreeHandle), "isSameTree should return true for the same handle"); assertFalse(smbTreeHandle.isSameTree(anotherHandle), "isSameTree should return false for a different handle"); } /** * Test for isSMB2() method. * Verifies that the method returns the correct SMB protocol version status. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K 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/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
import jcifs.internal.smb2.create.CreateContextRequest; import jcifs.internal.util.SMBUtil; /** * SMB2 Durable Handle Reconnect Create Context (DHnC) * * MS-SMB2 Section 2.2.13.2.5 */ public class DurableHandleReconnect implements CreateContextRequest { /** * Context name for durable handle reconnect */ public static final String CONTEXT_NAME = "DHnC";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
CIFSException expectedException = new CIFSException("Failed to close handle"); doThrow(expectedException).when(watchHandle).close(); // Execute and verify CIFSException thrown = assertThrows(CIFSException.class, () -> { watchHandle.close(); }); assertEquals("Failed to close handle", thrown.getMessage()); verify(watchHandle, times(1)).close(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0)