- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for WriteUint8 (0.06 sec)
-
cmd/xl-storage-format-v2_gen.go
return } err = en.WriteUint8(uint8(z.Type)) if err != nil { err = msgp.WrapError(err, "Type") return } err = en.WriteUint8(uint8(z.Flags)) if err != nil { err = msgp.WrapError(err, "Flags") return } err = en.WriteUint8(z.EcN) if err != nil { err = msgp.WrapError(err, "EcN") return } err = en.WriteUint8(z.EcM) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Dec 15 22:50:12 UTC 2024 - 56K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt8(testTime, buffer, offset + 8); SMBUtil.writeInt8(testTime + 1000, buffer, offset + 16); SMBUtil.writeInt8(testTime + 2000, buffer, offset + 24); SMBUtil.writeInt8(testTime + 3000, buffer, offset + 32); SMBUtil.writeInt8(8192, buffer, offset + 40); SMBUtil.writeInt8(2048, buffer, offset + 48);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
SMBUtil.writeInt8(indexNumber1, buffer1, 0); fileInternalInfo.decode(buffer1, 0, buffer1.length); assertEquals(indexNumber1, fileInternalInfo.getIndexNumber()); // Second decode - should overwrite previous value byte[] buffer2 = new byte[8]; long indexNumber2 = 0x2222222222222222L; SMBUtil.writeInt8(indexNumber2, buffer2, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
boolean expectedDeletePending = true; boolean expectedDirectory = false; // Encode test data int offset = 0; SMBUtil.writeInt8(expectedAllocationSize, buffer, offset); offset += 8; SMBUtil.writeInt8(expectedEndOfFile, buffer, offset); offset += 8; SMBUtil.writeInt4(expectedNumberOfLinks, buffer, offset); offset += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt8(0, buffer, 8); // creationTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 16); // lastAccessTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 24); // lastWriteTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 32); // changeTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 40); // endOfFile
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 0x12, dst[7]); // Test with max value SMBUtil.writeInt8(0xFFFFFFFFFFFFFFFFL, dst, 8); for (int i = 8; i < 16; i++) { assertEquals((byte) 0xFF, dst[i]); } // Test with zero SMBUtil.writeInt8(0L, dst, 16); for (int i = 16; i < 24; i++) { assertEquals((byte) 0x00, dst[i]); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
public class AvTimestampTest { /** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertNotNull(avTimestamp); assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Next command SMBUtil.writeInt4(0, buffer, bufferIndex + 20); // Message ID SMBUtil.writeInt8(1, buffer, bufferIndex + 24); // Reserved/Async ID SMBUtil.writeInt8(0, buffer, bufferIndex + 32); // Session ID SMBUtil.writeInt8(0, buffer, bufferIndex + 40); // Signature System.arraycopy(new byte[16], 0, buffer, bufferIndex + 48, 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java
final int start = dstIndex; writeTime(createTime, dst, dstIndex); dstIndex += 8; writeInt8(0L, dst, dstIndex); dstIndex += 8; writeTime(lastWriteTime, dst, dstIndex); dstIndex += 8; writeInt8(0L, dst, dstIndex); dstIndex += 8; /* Samba 2.2.7 needs ATTR_NORMAL */ writeInt2(0x80 | attributes, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
when(response.getHeaderStart()).thenReturn(0); // Write FileFsFullSizeInformation data (32 bytes) SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units SMBUtil.writeInt8(500000, buffer, 28); // Caller available units SMBUtil.writeInt8(600000, buffer, 36); // Actual available units SMBUtil.writeInt4(512, buffer, 44); // Sectors per unit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0)