- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 46 for ReadUint8 (0.05 seconds)
-
src/main/java/jcifs/ntlmssp/av/AvTimestamp.java
return data; } /** * Gets the timestamp value from this AV pair * * @return the timestamp */ public long getTimestamp() { return SMBUtil.readInt8(getRaw(), 0); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
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;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (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); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 3K bytes - Click Count (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() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.7K bytes - Click Count (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)); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (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 dataCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (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;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0)