- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 869 for buffer3 (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
/** Inflates [buffer] in place as described in RFC 7692 section 7.2.2. */ @Throws(IOException::class) fun inflate(buffer: Buffer) { require(deflatedBytes.size == 0L) val inflater = this.inflater ?: Inflater(true).also { this.inflater = it } val inflaterSource = this.inflaterSource ?: InflaterSource(deflatedBytes, inflater).also { this.inflaterSource = it }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
SMBUtil.writeInt4(0, buffer, offset + 4); // sin6_flowinfo System.arraycopy(address.getAddress(), 0, buffer, offset + 8, 16); // sin6_addr SMBUtil.writeInt4(0, buffer, offset + 24); // sin6_scope_id } else { // IPv4 sockaddr_in structure (Windows AF_INET = 2) SMBUtil.writeInt2(2, buffer, offset); // sa_family: AF_INET
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java
@Override public String extendedToString() { StringBuilder buffer = new StringBuilder(256); buffer.append(LS).append("Artifact Metadata").append(LS).append("--------------------------"); buffer.append(LS).append("GroupId: ").append(getGroupId()); buffer.append(LS).append("ArtifactId: ").append(getArtifactId()); buffer.append(LS).append("Metadata Type: ").append(getClass().getName());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(stream.readBytes.total).isEqualTo(0L) assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android")) val source = stream.source val buffer = Buffer() buffer.writeAll(source) assertThat(source.read(buffer, 1)).isEqualTo(-1) assertThat(buffer.size).isEqualTo(150) val synStream = peer.takeFrame() assertThat(synStream.type).isEqualTo(Http2.TYPE_HEADERS) for (i in 0..2) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java
} @Override public int decode(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; this.pathConsumed = SMBUtil.readInt2(buffer, bufferIndex) / 2; bufferIndex += 2; this.numReferrals = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.tflags = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
buffer.putInt(0); // nextEntryOffset (0 = last entry) buffer.putInt(FileNotifyInformation.FILE_ACTION_MODIFIED); buffer.putInt(fileNameBytes3.length); buffer.put(fileNameBytes3); // Return only the used portion of the buffer byte[] result = new byte[buffer.position()]; buffer.rewind(); buffer.get(result); return result; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt4(2, buffer, notifyOffset + 4); // Action (REMOVED) SMBUtil.writeInt4(10, buffer, notifyOffset + 8); System.arraycopy("file2".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 10); // Third notification at offset 164 (120 + 44) notifyOffset = 164; SMBUtil.writeInt4(0, buffer, notifyOffset); // NextEntryOffset (last)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeTime(testTime, buffer, 32); // changeTime SMBUtil.writeInt8(1024L, buffer, 40); // endOfFile SMBUtil.writeInt8(2048L, buffer, 48); // allocationSize SMBUtil.writeInt4(0x20, buffer, 56); // extFileAttributes SMBUtil.writeInt4(512, buffer, 64); // eaSize // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length); byte[] buffer = new byte[10]; // When int bytesRead = transCallNamedPipe.readSetupWireFormat(buffer, 0, buffer.length); // Then assertEquals(0, bytesRead); } @Test @DisplayName("Test writeParametersWireFormat returns 0")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
byte[] buffer = new byte[512]; int bufferIndex = 0; // Set structure size to 9 (valid) SMBUtil.writeInt2(9, buffer, bufferIndex); // Set buffer offset (relative to header start) SMBUtil.writeInt2(80, buffer, bufferIndex + 2); // Set buffer length (empty directory) SMBUtil.writeInt4(0, buffer, bufferIndex + 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0)