- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 979 for buffer (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
private fun writeOrCountBytes( sink: BufferedSink?, countBytes: Boolean, ): Long { var sink = sink var byteCount = 0L var byteCountBuffer: Buffer? = null if (countBytes) { byteCountBuffer = Buffer() sink = byteCountBuffer } for (p in 0 until parts.size) { val part = parts[p] val headers = part.headers val body = part.body
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
} /** * Gets the buffer size for data transfers. * * @return The buffer size */ public int getBufferSize() { return bufferSize; } /** * Sets the buffer size for data transfers. * * @param bufferSize The buffer size */ public void setBufferSize(final int bufferSize) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 39.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.io import java.io.IOException import okio.Buffer import okio.FileSystem import okio.ForwardingFileSystem import okio.ForwardingSink import okio.Path import okio.Sink class FaultyFileSystem constructor( delegate: FileSystem?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
* Server flags2 field from the SMB header. */ public int sflags2; /** * Maximum number of outstanding multiplex requests. */ public int smaxMpxCount; /** * Maximum buffer size the server can handle. */ public int maxBufferSize; /** * Session key for this connection. */ public int sessKey; /** * Server capabilities bitmap. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[4]); } @Test void testReadParameterWordsReturnsZero() { byte[] buffer = new byte[2]; int rc = instance.readParameterWordsWireFormat(buffer, 0); assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB"); } @Test void testWriteBytesReturnsZero() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
cmd/object_api_suite_test.go
t.Fatalf("%s: <ERROR> %s", instanceType, err) } if objInfo.ETag != expectedETaghex { t.Errorf("Md5 Mismatch") } } for key, value := range objects { var byteBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
webSocket = slackApi.rtm(rtmStartResponse.url, this); } // TODO(jwilson): can I read the response body? Do I have to? // the body from slack is a 0-byte-buffer @Override public synchronized void onOpen(WebSocket webSocket, Response response) { System.out.println("onOpen: " + response); } // TOOD(jwilson): decode incoming messages and dispatch them somewhere.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
dstIndex += dataLength; return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
NdrShort ndrShort = new NdrShort(50); NdrBuffer buffer1 = mock(NdrBuffer.class); NdrBuffer buffer2 = mock(NdrBuffer.class); when(buffer2.dec_ndr_short()).thenReturn(75); // When: Performing multiple operations ndrShort.encode(buffer1); ndrShort.decode(buffer2); // Then: Should handle both operations correctly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
Process mockProcess = createMockProcess("large buffer test"); JobProcess jobProcess = new JobProcess(mockProcess, 10000, null); assertNotNull(jobProcess.getInputStreamThread()); } public void test_constructor_withMaxBufferSize() throws IOException { Process mockProcess = createMockProcess("max buffer test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 8.5K bytes - Viewed (0)