- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for ReadUint8 (0.32 sec)
-
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.fileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
// LeaseState (4 bytes) this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseDuration (8 bytes) this.leaseDuration = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; return bufferIndex - start; } @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
* @param bufferIndex starting index * @return decoded transform */ public static Smb2RdmaTransform decode(byte[] buffer, int bufferIndex) { long offset = SMBUtil.readInt8(buffer, bufferIndex); int token = SMBUtil.readInt4(buffer, bufferIndex + 8); int length = SMBUtil.readInt4(buffer, bufferIndex + 12); return new Smb2RdmaTransform(offset, token, length); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(0, SMBUtil.readInt4(buffer, 44)); // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved) assertEquals(0, SMBUtil.readInt8(buffer, 48)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
bufferIndex += 2; // Read flags header.flags = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; // Read session ID header.sessionId = SMBUtil.readInt8(buffer, bufferIndex); return header; } /** * Get the associated data for AEAD encryption (everything except signature) * * @return byte array containing associated dataRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
@Test void testInt8ReadWrite() { byte[] buffer = new byte[8]; long value = 0x123456789ABCDEF0L; ServerMessageBlock.writeInt8(value, buffer, 0); assertEquals(value, ServerMessageBlock.readInt8(buffer, 0)); } @Test void testTimeReadWrite() { byte[] buffer = new byte[8]; long time = System.currentTimeMillis(); ServerMessageBlock.writeTime(time, buffer, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify directory-specific data assertEquals(DirectoryCacheScope.RECURSIVE_TREE.ordinal(), SMBUtil.readInt4(buffer, 56)); // CacheScope assertEquals(45000L, SMBUtil.readInt8(buffer, 60)); // MaxCacheAge // Verify flags (RECURSIVE_TREE + NOTIFICATIONS) int expectedFlags = DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_RECURSIVE | DirectoryLeaseContext.DIRECTORY_LEASE_FLAG_NOTIFICATIONS;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
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); this.notificationEnabled = (flags & DIRECTORY_LEASE_FLAG_NOTIFICATIONS) != 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Then assertTrue(bytesWritten > 0); // Verify negotiate context offset/count area is zeroed assertEquals(0, SMBUtil.readInt8(buffer, 28)); } @Test @DisplayName("Should read empty bytes from wire format") void testReadBytesWireFormat() { // Given request = new Smb2NegotiateRequest(mockConfig, 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)