- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 254 for readInt4 (0.29 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
byte[] buffer = new byte[512]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); assertEquals(sid, SMBUtil.readInt2(buffer, 0)); assertEquals(batchCount, SMBUtil.readInt2(buffer, 2)); assertEquals(resumeKey, SMBUtil.readInt4(buffer, 6)); } @ParameterizedTest
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/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
// Verify data at correct offset assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, offset)); assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, offset + 20)); assertEquals(defaultDialects.length, SMBUtil.readInt2(buffer, offset + 22)); } @Test @DisplayName("Test encode with empty dialects") void testEncodeWithEmptyDialects() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java
final int start = bufferIndex; this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.chunkBytesWritten = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.totalBytesWritten = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; return bufferIndex - start; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
assertEquals(0, SMBUtil.readInt2(buffer, 72)); // Verify input buffer length (should be 0 when no input buffer) assertEquals(0, SMBUtil.readInt4(buffer, 76)); // Verify additional information assertEquals(0x12345678, SMBUtil.readInt4(buffer, 80)); // Verify query flags assertEquals(0xABCDEF00, SMBUtil.readInt4(buffer, 84));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
final int start = bufferIndex; this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.bytesPerSect = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
this.structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (this.structureSize != 36) { throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize); } bufferIndex += 2; // Reserved (2 bytes) bufferIndex += 2; // Flags (4 bytes) this.flags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
// these are common between SYNC/ASYNC SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; SMBUtil.readInt2(buffer, bufferIndex); this.creditCharge = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4; this.status = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.command = SMBUtil.readInt2(buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
desc2.writeParametersWireFormat(dst2, 0); desc3.writeParametersWireFormat(dst3, 0); assertEquals(0x1111, SMBUtil.readInt2(dst1, 0)); assertEquals(0x2222, SMBUtil.readInt2(dst2, 0)); assertEquals(0x3333, SMBUtil.readInt2(dst3, 0)); } @Test @DisplayName("Test parameter wire format structure") void testParameterWireFormatStructure() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
// Read total allocation units. this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // skip actual free units bufferIndex += 8; this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
if (length > 24 + getStandardLeaseSize()) { int scopeOrdinal = SMBUtil.readInt4(buffer, dataOffset); this.cacheScope = DirectoryCacheScope.values()[scopeOrdinal]; dataOffset += 4; this.maxCacheAge = SMBUtil.readInt8(buffer, dataOffset); dataOffset += 8; int flags = SMBUtil.readInt4(buffer, dataOffset);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0)