- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 234 for writeInt4 (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
frame.writeByte(Http2.TYPE_SETTINGS) frame.writeByte(FLAG_NONE) frame.writeInt(0) // Settings are always on the connection stream 0. frame.writeShort(1) // SETTINGS_HEADER_TABLE_SIZE frame.writeInt(reducedTableSizeBytes) frame.writeShort(2) // SETTINGS_ENABLE_PUSH frame.writeInt(0) reader.nextFrame( requireSettings = false, object : BaseTestHandler() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
dos.writeInt(Integer.reverseBytes(3)); // 3 buffers dos.writeInt(Integer.reverseBytes(PacConstants.PAC_VERSION)); // Write buffer entries dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO)); dos.writeInt(Integer.reverseBytes(10)); dos.writeLong(Long.reverseBytes(100));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
*/ @Override public void writeFloat(float v) throws IOException { writeInt(Float.floatToIntBits(v)); } /** * Writes an {@code int} as specified by {@link DataOutputStream#writeInt(int)}, except using * little-endian byte order. * * @throws IOException if an I/O error occurs */ @Override public void writeInt(int v) throws IOException { out.write(0xFF & v);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
buffer[34] = (byte) 0x42; // andxCommand SMBUtil.writeInt2(83, buffer, 36); // andxOffset (33 + 50) SMBUtil.writeInt2(20, buffer, 42); // byteCount // Setup andx command data at offset 83 (absolute position from buffer start) buffer[83] = 2; // andx wordCount SMBUtil.writeInt2(10, buffer, 88); // andx byteCount int length = testBlock.decode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex); dstIndex += 2; if (this.ciphers != null) { for (final int cipher : this.ciphers) { SMBUtil.writeInt2(cipher, dst, dstIndex); dstIndex += 2; } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
void testDecodeMultipleHashAlgosWithSalt() throws SMBProtocolDecodingException { SMBUtil.writeInt2(3, buffer, 0); SMBUtil.writeInt2(2, buffer, 2); SMBUtil.writeInt2(0x01, buffer, 4); SMBUtil.writeInt2(0x02, buffer, 6); SMBUtil.writeInt2(0x03, buffer, 8); byte[] salt = { 0x0A, 0x0B }; System.arraycopy(salt, 0, buffer, 10, 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
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) -
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/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/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
void testDecode() throws SMBProtocolDecodingException { // Prepare buffer with known value long expectedValue = 0x0123456789ABCDEFL; byte[] buffer = new byte[16]; SMBUtil.writeInt8(expectedValue, buffer, 0); // Decode int bytesRead = fileInfo.decode(buffer, 0, buffer.length); // Verify bytes read assertEquals(8, bytesRead);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)