- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 920 for dana (0.1 sec)
-
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
int offset = 10; // When int bytesRead = request.readBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesRead, "Cancel requests do not read response data"); } @Test @DisplayName("Test multiple property settings") void testMultiplePropertySettings() { // Given long mid = 99999L; long asyncId = 88888L;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/smb2/info/Smb2SetInfoResponseTest.java
void testReadBytesWireFormatPreservesBuffer() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Fill buffer with test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } // Set structure size to 2 SMBUtil.writeInt2(2, buffer, bufferIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/mail/CrawlerPostcard.java
return postcard; } // =================================================================================== // Meta Data // ========= @Override protected String getBodyFile() { return PATH; } @OverrideRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
assertThrows(RuntimeException.class, () -> { smb.readString(buffer, 0, 10, false); }); } @Test void testEncodeDecode() { // Setup SMB with some data smb.command = ServerMessageBlock.SMB_COM_ECHO; smb.mid = 123; smb.pid = 456; smb.tid = 789; smb.uid = 101; smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
/** * Constructs a tree connect AndX request to establish a connection to a shared resource. * * @param ctx the CIFS context containing configuration * @param server the server data containing security information * @param path the UNC path to the shared resource * @param service the service type (e.g., "A:" for disk share, "LPT1:" for printer)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
} ptype = buf.dec_ndr_small(); flags = buf.dec_ndr_small(); if (buf.dec_ndr_long() != 0x00000010) { /* Little-endian / ASCII / IEEE */ throw new NdrException("Data representation not supported"); } length = buf.dec_ndr_short(); if (buf.dec_ndr_short() != 0) { throw new NdrException("DCERPC authentication not supported"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(0, dst[35], "Reserved byte should be 0"); } @Test void testWriteParameterWordsWireFormat_ZeroCounts() { // Test with zero parameter and data counts to check conditional logic. smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT; smbComNtTransaction.parameterCount = 0; smbComNtTransaction.dataCount = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
int encodedLength = request.encode(buffer, offset); // Verify encoded length assertEquals(request.size(), encodedLength); // Verify data at correct offset assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, offset)); assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, offset + 20));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
public void testIsValidWithUnicode() { SmbNegotiationRequest request = mock(SmbNegotiationRequest.class); response.getServerData().scapabilities = SmbConstants.CAP_UNICODE; // Set some required server data for valid response response.getServerData().smaxMpxCount = 1; response.getServerData().maxBufferSize = 16384; assertTrue(response.isValid(mockContext, request));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
import jcifs.SmbPipeResource; import jcifs.internal.smb1.com.SmbComNTCreateAndX; import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse; /** * This class will allow a Java program to read and write data to Named * Pipes and Transact NamedPipes. * * <p> * There are three Win32 function calls provided by the Windows SDK * that are important in the context of using jCIFS. They are: * * <ul>
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)