- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 939 for Buffers (0.08 seconds)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// Create a buffer with null terminator within the max length byte[] buffer = new byte[20]; System.arraycopy("Test".getBytes(), 0, buffer, 0, 4); buffer[4] = 0; // null terminator System.arraycopy("String".getBytes(), 0, buffer, 5, 6); String result = testBlock.readString(buffer, 0, buffer.length, 10, false); assertEquals("Test", result);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
int bytesWritten = context.encode(buffer, 0); assertEquals(6, bytesWritten); assertEquals(2, SMBUtil.readInt2(buffer, 0)); assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, SMBUtil.readInt2(buffer, 2)); assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, SMBUtil.readInt2(buffer, 4)); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
bufferIndex += 2; pathOffset = readInt2(buffer, bufferIndex); bufferIndex += 2; altPathOffset = readInt2(buffer, bufferIndex); bufferIndex += 2; nodeOffset = readInt2(buffer, bufferIndex); bufferIndex += 2; path = readString(buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
import okhttp3.internal.http.HttpMethod import okhttp3.internal.http.StatusLine import okhttp3.internal.platform.Platform import okhttp3.internal.platform.Platform.Companion.WARN import okhttp3.internal.toLongOrDefault import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString.Companion.decodeBase64 import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString import okio.FileSystem
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 26.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
this.dataCount = dataCount; } /** * Sets the transaction buffer * @param buffer * the transaction buffer to use */ public void setBuffer(final byte[] buffer) { this.txn_buf = buffer; } /** * Releases and returns the transaction buffer * @return the txn_buf */ public byte[] releaseBuffer() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
/** * Creates a security descriptor by decoding from a byte buffer. * * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
* * @param buffer memory buffer to register * @param access access permissions */ public RdmaMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access) { this.buffer = buffer; this.accessFlags = access; this.localKey = generateLocalKey(); this.remoteKey = generateRemoteKey(); this.address = getBufferAddress(buffer); this.valid = true; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.3K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertEquals(blob.get().hashCode(), blob.hashCode(), "hashCode should delegate to internal array"); } // Confirms constructor handles null by producing an empty buffer @Test @DisplayName("Constructor with null sets empty buffer") void constructor_withNull_setsEmpty() { // Arrange & Act SecurityBlob blob = new SecurityBlob(null); // Assert
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 22 14:09:32 GMT 2024 - 5.2K bytes - Click Count (0)