- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 284 for 0xA0 (7.54 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
// Verify resumeKey (4 bytes) assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6)); // Verify tflags (2 bytes) - should be 0x00 assertEquals(0x00, SMBUtil.readInt2(buffer, 10)); // Verify filename String actualFilename = readString(buffer, 12, written - 12); assertEquals(TEST_FILENAME, actualFilename);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
// Verify little-endian encoding assertEquals((byte) 0xA1, encoded[0], "First byte of first character"); assertEquals((byte) 0x00, encoded[1], "Second byte of first character"); assertEquals((byte) 0xA2, encoded[2], "First byte of second character"); assertEquals((byte) 0x00, encoded[3], "Second byte of second character"); } @Test public void testAsciiEncoding() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPair.java
* Provides common functionality for encoding and decoding attribute-value pairs. * * @author mbechler */ public class AvPair { /** * EOL type */ public static final int MsvAvEOL = 0x0; /** * Flags type */ public static final int MsvAvFlags = 0x6; /** * Timestamp type */ public static final int MsvAvTimestamp = 0x7; /**Registered: 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/netbios/SessionServicePacket.java
* Creates a new session service packet instance. */ public SessionServicePacket() { // Default constructor } // session service packet types static final int SESSION_MESSAGE = 0x00; static final int SESSION_REQUEST = 0x81; /** * NetBIOS positive session response packet type. */ public static final int POSITIVE_SESSION_RESPONSE = 0x82; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
this.maxDataCount = 0xFFFF; this.maxSetupCount = (byte) 0x00; this.setupCount = 2; this.name = "\\PIPE\\"; } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; SMBUtil.writeInt2(this.pipeFid, dst, dstIndex); dstIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00; invalidBuffer[2] = 0x00; invalidBuffer[3] = 0x00; assertThrows(IllegalArgumentException.class, () -> { Smb2TransformHeader.decode(invalidBuffer, 0); }); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
int written = trans2QueryFSInfo.writeSetupWireFormat(buffer, 0); // Should write 2 bytes: subcommand and 0x00 assertEquals(2, written); assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); } @Test @DisplayName("Test writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
@Test void returnsProvidedValues_happyPath() { // Arrange SmbBasicFileInfo info = new TestInfo(0x20 /* ARCHIVE */, 1_600_000_000_000L, 1_700_000_000_000L, 1_650_000_000_000L, 42L); // Act & Assert Assertions.assertEquals(0x20, info.getAttributes(), "attributes should match"); Assertions.assertEquals(1_600_000_000_000L, info.getCreateTime(), "create time should match");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
this.sid = sid; this.resumeKey = resumeKey; this.filename = filename; this.informationLevel = Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO; this.tflags = 0x00; this.maxParameterCount = 8; this.maxItems = batchCount; this.maxDataCount = batchSize; this.maxSetupCount = 0; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0)