- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 939 for Buffers (0.04 seconds)
-
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(16, SMBUtil.readInt2(buffer, 4)); // NameLength field (2 bytes) - should be 4 for "RqLs" assertEquals(4, SMBUtil.readInt2(buffer, 6)); // Reserved field (2 bytes) - should be 0 assertEquals(0, SMBUtil.readInt2(buffer, 8)); // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding) assertEquals(24, SMBUtil.readInt2(buffer, 10));
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
): Long { var byteCount = 0L val buffer: Buffer = if (countBytes) Buffer() else sink!!.buffer for (i in 0 until encodedNames.size) { if (i > 0) buffer.writeByte('&'.code) buffer.writeUtf8(encodedNames[i]) buffer.writeByte('='.code) buffer.writeUtf8(encodedValues[i]) } if (countBytes) { byteCount = buffer.size buffer.clear() } return byteCount }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
byte[] buffer = new byte[512]; // When int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Then assertTrue(bytesWritten > 0); // Verify structure size assertEquals(36, SMBUtil.readInt2(buffer, 0)); // Verify dialect count assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; this.fid = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.typeOfLock = buffer[bufferIndex]; if ((this.typeOfLock & 0x10) == 0x10) { this.largeFile = true; } this.newOpLockLevel = buffer[bufferIndex + 1]; bufferIndex += 2;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/util/Strings.java
/** * Finds the null termination in a UTF-16LE encoded string buffer. * * @param buffer the byte buffer to search * @param bufferIndex the starting position in the buffer * @param maxLen the maximum length to search * @return position of terminating null bytes */ public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) { int len = 0;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
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) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/hash/Java8Compatibility.java
import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
/** * Gets the send buffer size of the underlying SMB connection * @return the send buffer size of the underlying connection * @throws CIFSException if an error occurs retrieving the buffer size */ int getSendBufferSize() throws CIFSException; /** * Gets the receive buffer size of the underlying SMB connection * @return the receive buffer size of the underlying connectionCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0)