- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 966 for buffer2 (0.04 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testWriteReadSymmetry(int value, boolean isInt2) { byte[] buffer = new byte[10]; if (isInt2) { SessionServicePacket.writeInt2(value, buffer, 0); int result = SessionServicePacket.readInt2(buffer, 0); assertEquals(value & 0xFFFF, result); } else { SessionServicePacket.writeInt4(value, buffer, 0); int result = SessionServicePacket.readInt4(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
) synchronized(this@Relay) { // Append new upstream bytes into the buffer. Trim it to its max size. buffer.write(upstreamBuffer, upstreamBytesRead) if (buffer.size > bufferMaxSize) { buffer.skip(buffer.size - bufferMaxSize) } // Now that the file and buffer have bytes, adjust upstreamPos. ******@****.***amPos += upstreamBytesRead }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java
@Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; status = readInt2(buffer, bufferIndex); bufferIndex += 2; converter = readInt2(buffer, bufferIndex); bufferIndex += 2;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
bufferIndex += 4; final int outputOffset = SMBUtil.readInt4(buffer, bufferIndex) + getHeaderStart(); bufferIndex += 4; final int outputCount = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.ioctlFlags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; bufferIndex += 4; // Reserved2Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
host: String, type: Int, ): ByteString = Buffer() .apply { writeShort(0) // query id writeShort(256) // flags with recursion writeShort(1) // question count writeShort(0) // answerCount writeShort(0) // authorityResourceCount writeShort(0) // additional val nameBuf = Buffer() val labels = host.split('.').dropLastWhile { it.isEmpty() }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
ByteBuffer buffer = ByteBuffer.allocateDirect(1024); EnumSet<RdmaAccess> access = EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.LOCAL_WRITE); RdmaMemoryRegion region = provider.registerMemory(buffer, access); assertNotNull(region, "Memory region should not be null"); assertEquals(buffer, region.getBuffer(), "Buffer should match");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java
@Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.chunkBytesWritten = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.totalBytesWritten = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
} @Override protected void process(ByteBuffer buffer) { b += CHUNK_SIZE; processM(buffer.getLong()); } @Override protected void processRemaining(ByteBuffer buffer) { b += buffer.remaining(); for (int i = 0; buffer.hasRemaining(); i += 8) { finalM ^= (buffer.get() & 0xFFL) << i; } } @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
*/ @Test void testReadSetupWireFormat() { byte[] buffer = new byte[10]; int result = netServerEnum2.readSetupWireFormat(buffer, 0, 10); assertEquals(0, result); } /** * Test the readParametersWireFormat method. */ @Test void testReadParametersWireFormat() { byte[] buffer = new byte[10];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrObject.java
} /** * Encodes this NDR object into the specified buffer * @param dst the destination buffer for encoding * @throws NdrException if encoding fails */ public abstract void encode(NdrBuffer dst) throws NdrException; /** * Decodes this NDR object from the specified buffer * @param src the source buffer for decoding * @throws NdrException if decoding fails */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0)