- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 473 for 0x00 (0.02 seconds)
-
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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
void testConstructor() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file"); assertEquals("/file", getPrivateField(cmd, "path")); assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount")); assertEquals(4096, getPrivateField(cmd, "maxDataCount")); } @Test @DisplayName("writeSetupWireFormat writes subCommand and padding")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
public static final int SMB2_LEASE_NONE = 0x00; /** * Read caching lease (R) */ public static final int SMB2_LEASE_READ_CACHING = 0x01; /** * Handle caching lease (H) */ public static final int SMB2_LEASE_HANDLE_CACHING = 0x02; /** * Write caching lease (W) */ public static final int SMB2_LEASE_WRITE_CACHING = 0x04; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
// flags private static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; private static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; private static final int FLAGS_RETURN_RESUME_KEYS = 0x04; private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private static final int DEFAULT_LIST_SIZE = 65535;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/util/HexdumpTest.java
@DisplayName("Hexdump Utility Tests") class HexdumpTest extends BaseTest { @Test @DisplayName("Should convert byte array to hex string") void testToHexString() { // Given byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 }; // When String result = Hexdump.toHexString(data); // Then assertNotNull(result); assertEquals("000FFF7F80", result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java
this.request = new DfsReferralRequestBuffer(filename, maxReferralLevel); this.totalDataCount = 0; this.maxParameterCount = 0; this.maxDataCount = 4096; this.maxSetupCount = (byte) 0x00; } /** * {@inheritDoc} * * @see jcifs.internal.smb1.ServerMessageBlock#isForceUnicode() */ @Override public boolean isForceUnicode() { return true; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80)); } @Override protected int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = this.getSubCommand(); dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
} writeInt2(writeMode, dst, dstIndex); dstIndex += 2; writeInt2(remaining, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(dataLength, dst, dstIndex); dstIndex += 2; writeInt2(dataOffset, dst, dstIndex); dstIndex += 2; writeInt4(offset >> 32, dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.3K bytes - Click Count (0)