- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,174 for readN (0.07 sec)
-
src/test/java/jcifs/netbios/NameServicePacketTest.java
NameServicePacket.writeInt2(2, src, 6); NameServicePacket.writeInt2(3, src, 8); NameServicePacket.writeInt2(4, src, 10); int read = packet.readHeaderWireFormat(src, 0); assertEquals(NameServicePacket.HEADER_LENGTH, read); assertEquals(0x1234, packet.nameTrnId); assertTrue(packet.isResponse); assertEquals(NameServicePacket.QUERY, packet.opCode);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Progress.java
return new ForwardingSource(source) { long totalBytesRead = 0L; @Override public long read(Buffer sink, long byteCount) throws IOException { long bytesRead = super.read(sink, byteCount); // read() returns the number of bytes read, or -1 if this source is exhausted. totalBytesRead += bytesRead != -1 ? bytesRead : 0;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.start(); // Wait until writer thread is ready synchronized (w) { long deadline = System.currentTimeMillis() + 2000; while (!w.isReady() && System.currentTimeMillis() < deadline) { w.wait(10); } assertTrue(w.isReady(), "WriterThread should be ready"); // Submit a write that will throw inside the writer thread
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in)); } catch (Exception e) { throw new MisconfiguredToolchainException( "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e); } } else if (userToolchainsFile != null) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset(); assertTrue(Arrays.equals(new byte[0], source.read())); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.close(); } private static boolean isAndroid() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
ByteStreams.skipFully(multi, 20); assertEquals(20, multi.read()); } public void testReadSingle_noStackOverflow() throws IOException { // https://github.com/google/guava/issues/2996 // no data, just testing that there's no StackOverflowException assertEquals(-1, tenMillionEmptySources().read()); } public void testReadArray_noStackOverflow() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/tr/docs/project-generation.md
* Full **Docker** entegrasyonu (Docker based). * Docker Swarm Mode ile deployment. * **Docker Compose** entegrasyonu ve lokal geliştirme için optimizasyon. * Uvicorn ve Gunicorn ile **Production ready** Python web server'ı. * Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a> backend:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 6K bytes - Viewed (0) -
.github/workflows/check-commits.yml
- synchronize permissions: {} jobs: # See .github/workflows/CheckBadMerge.groovy for explanation check_bad_merge: if: github.event.pull_request.base.ref == 'master' permissions: contents: read issues: write runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up JDK 17
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Sep 04 22:13:34 UTC 2025 - 3K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB") // newSignV4ChunkedReader returns a new s3ChunkedReader that translates the data read from r // out of HTTP "chunked" format before returning it. // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read. // // NewChunkedReader is not needed by normal applications. The http package // automatically decodes chunking when reading response bodies.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 18.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
exchange.finishRequest() } } catch (e: IOException) { if (e is ConnectionShutdownException) { throw e // No request was sent so there's no response to read. } if (!exchange.hasFailure) { throw e // Don't attempt to read the response; we failed to send the request. } sendRequestException = e } try { if (responseBuilder == null) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0)