- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 234 for writeInt8 (0.07 sec)
-
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
return 0; } writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; writeInt2(0x0001, dst, dstIndex); dstIndex += 2; writeInt2(maxDataCount, dst, dstIndex); dstIndex += 2; return dstIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
cmd/local-locker_gen.go
err = en.Append(0x86, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c) if err != nil { return } err = en.WriteInt(z.Total) if err != nil { err = msgp.WrapError(err, "Total") return } // write "Writes" err = en.Append(0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x73) if err != nil { return } err = en.WriteInt(z.Writes) if err != nil { err = msgp.WrapError(err, "Writes") return } // write "Reads"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 31 19:54:34 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(24, dst, dstIndex); SMBUtil.writeInt2(this.closeFlags, dst, dstIndex + 2); dstIndex += 4; dstIndex += 4; // Reserved System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
final byte[] raw = p.getRaw(); SMBUtil.writeInt2(p.getType(), enc, pos); SMBUtil.writeInt2(raw.length, enc, pos + 2); System.arraycopy(raw, 0, enc, pos + 4, raw.length); pos += 4 + raw.length; } // MsvAvEOL SMBUtil.writeInt2(AvPair.MsvAvEOL, enc, pos); SMBUtil.writeInt2(0, enc, pos + 2); pos += 4; return enc; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] buffer = new byte[100]; // Write non-aligned next entry offset (not divisible by 4) SMBUtil.writeInt4(7, buffer, 0); // 7 is not aligned to 4 bytes SMBUtil.writeInt4(FileNotifyInformation.FILE_ACTION_ADDED, buffer, 4); SMBUtil.writeInt4(8, buffer, 8); // file name length assertThrows(SMBProtocolDecodingException.class, () -> {
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/smb1/smb1/Trans2GetDfsReferralTest.java
setPrivateField(cmd, "maxReferralLevel", 0x12AB); byte[] buffer = new byte[100]; int len = cmd.writeParametersWireFormat(buffer, 0); assertTrue(len >= 2); // writeInt2 writes in little-endian format (LSB first) assertEquals(0xAB, buffer[0] & 0xFF); assertEquals(0x12, buffer[1] & 0xFF); // Check that the path is written after the referral level
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
final int start = dstIndex; SMBUtil.writeInt2(this.hashAlgos != null ? this.hashAlgos.length : 0, dst, dstIndex); SMBUtil.writeInt2(this.salt != null ? this.salt.length : 0, dst, dstIndex + 2); dstIndex += 4; if (this.hashAlgos != null) { for (final int hashAlgo : this.hashAlgos) { SMBUtil.writeInt2(hashAlgo, dst, dstIndex); dstIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java
final int start = dstIndex; SMBUtil.writeInt2(9, dst, dstIndex); SMBUtil.writeInt2(this.treeFlags, dst, dstIndex + 2); dstIndex += 4; final byte[] data = this.path.getBytes(StandardCharsets.UTF_16LE); final int offsetOffset = dstIndex; SMBUtil.writeInt2(data.length, dst, dstIndex + 2); dstIndex += 4; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
byte[] buffer = new byte[1024]; int bufferIndex = 100; // Write structure size = 4 SMBUtil.writeInt2(4, buffer, bufferIndex); int result = echoResponse.readBytesWireFormat(buffer, bufferIndex); assertEquals(0, result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
Multiset<E> multiset, ObjectOutputStream stream) throws IOException { int entryCount = multiset.entrySet().size(); stream.writeInt(entryCount); for (Multiset.Entry<E> entry : multiset.entrySet()) { stream.writeObject(entry.getElement()); stream.writeInt(entry.getCount()); } } /** * Populates a multiset by reading an input stream, as part of deserialization. See {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0)