- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 231 for readInt2 (0.04 sec)
-
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
resultCode = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F; questionCount = readInt2(src, srcIndex + QUESTION_OFFSET); answerCount = readInt2(src, srcIndex + ANSWER_OFFSET); authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET); additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET); return HEADER_LENGTH; }
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
this.resultCode = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F; this.questionCount = readInt2(src, srcIndex + QUESTION_OFFSET); this.answerCount = readInt2(src, srcIndex + ANSWER_OFFSET); this.authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET); this.additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET); return HEADER_LENGTH; }
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/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertEquals(6, bytesWritten); assertEquals(2, SMBUtil.readInt2(buffer, 0)); assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, SMBUtil.readInt2(buffer, 2)); assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, SMBUtil.readInt2(buffer, 4)); } @Test @DisplayName("Should encode null ciphers as zero count")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
bufferIndex += 16; this.capabilities = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.maxTransactSize = SMBUtil.readInt4(buffer, bufferIndex); this.maxReadSize = SMBUtil.readInt4(buffer, bufferIndex + 4); this.maxWriteSize = SMBUtil.readInt4(buffer, bufferIndex + 8); // Validate reasonable buffer sizes to prevent resource exhaustionRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java
bufferIndex += 8; extFileAttributes = readInt4(buffer, bufferIndex); bufferIndex += 4; allocationSize = readInt8(buffer, bufferIndex); bufferIndex += 8; endOfFile = readInt8(buffer, bufferIndex); bufferIndex += 8; fileType = readInt2(buffer, bufferIndex); bufferIndex += 2; deviceState = readInt2(buffer, bufferIndex); bufferIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(minBuffer, 0)); // Large buffer byte[] largeBuffer = new byte[10000]; written = echoRequest.writeBytesWireFormat(largeBuffer, 5000); assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(largeBuffer, 5000)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java
final int start = bufferIndex; status = readInt2(buffer, bufferIndex); bufferIndex += 2; converter = readInt2(buffer, bufferIndex); bufferIndex += 2; numEntries = readInt2(buffer, bufferIndex); bufferIndex += 2; totalAvailableEntries = readInt2(buffer, bufferIndex); bufferIndex += 2; return bufferIndex - start; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
bufferIndex += 2; this.fileType = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.deviceState = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.action = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.serverFid = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 6;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
bufferIndex += 2; this.parameterDisplacement = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.dataCount = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.dataDisplacement = SMBUtil.readInt2(buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Structure size != 9"); } this.sessionFlags = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4; final int securityBufferOffset = SMBUtil.readInt2(buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1)