- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 301 for 0x20 (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101 // Check reserved bytes (4 bytes of 0x00) assertEquals(0x00, buffer[2]); assertEquals(0x00, buffer[3]); assertEquals(0x00, buffer[4]); assertEquals(0x00, buffer[5]); // Check that filename is written correctly (starting at offset 6)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
final int start = bufferIndex; this.fid = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.typeOfLock = buffer[bufferIndex]; if ((this.typeOfLock & 0x10) == 0x10) { this.largeFile = true; } this.newOpLockLevel = buffer[bufferIndex + 1]; bufferIndex += 2; this.timeout = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java
maxSetupCount = (byte) 0x00; } @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeInt2(fid, dst, dstIndex); dstIndex += 2; dst[dstIndex] = (byte) 0x00; // Reserved dstIndex++;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
writeInt2(nameTrnId, dst, dstIndex); dst[dstIndex + OPCODE_OFFSET] = (byte) ((isResponse ? 0x80 : 0x00) + (opCode << 3 & 0x78) + (isAuthAnswer ? 0x04 : 0x00) + (isTruncated ? 0x02 : 0x00) + (isRecurDesired ? 0x01 : 0x00)); dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((isRecurAvailable ? 0x80 : 0x00) + (isBroadcast ? 0x10 : 0x00) + (resultCode & 0x0F)); writeInt2(questionCount, dst, start + QUESTION_OFFSET);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
dst[dstIndex + OPCODE_OFFSET] = (byte) ((this.isResponse ? 0x80 : 0x00) + (this.opCode << 3 & 0x78) + (this.isAuthAnswer ? 0x04 : 0x00) + (this.isTruncated ? 0x02 : 0x00) + (this.isRecurDesired ? 0x01 : 0x00)); dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((this.isRecurAvailable ? 0x80 : 0x00) + (this.isBroadcast ? 0x10 : 0x00) + (this.resultCode & 0x0F));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java
maxSetupCount = (byte) 0x00; setupCount = 2; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmon dst[dstIndex++] = (byte) 0x00; // no FID dst[dstIndex++] = (byte) 0x00; return 4; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NodeStatusRequest.java
this.isBroadcast = false; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { final int tmp = this.questionName.hexCode; this.questionName.hexCode = 0x00; // type has to be 0x00 for node status final int result = writeQuestionSectionWireFormat(dst, dstIndex); this.questionName.hexCode = tmp; return result; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals(0x37, SMBUtil.readInt2(buffer, 0)); // Verify max items assertEquals(100, SMBUtil.readInt2(buffer, 2)); // Verify flags (should be 0x00) assertEquals(0x00, SMBUtil.readInt2(buffer, 4)); // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO) assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, SMBUtil.readInt2(buffer, 6));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
maxParameterCount = 0; maxDataCount = 0xFFFF; maxSetupCount = (byte) 0x00; setupCount = 2; name = "\\PIPE\\"; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(pipeFid, dst, dstIndex); dstIndex += 2; return 4; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
// Offset 2-3: Reserved (2 bytes, should be 0x00) // Offset 4-7: Security Information (4 bytes) assertEquals(8, bytesWritten); // Check FID assertEquals(0xABCD, SMBUtil.readInt2(dst, 10)); // Check reserved bytes are zero assertEquals(0x00, dst[12]); assertEquals(0x00, dst[13]); // Check security information
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)