Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 842 for IOException (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import java.io.IOException
    import java.net.ProtocolException
    import okhttp3.Headers
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.TrailersSource
    import okhttp3.internal.UnreadableResponseBody
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                throw new IOException();
            }
    
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

            .build();
        client.newCall(washingtonPostRequest).enqueue(new Callback() {
          @Override public void onFailure(Call call, IOException e) {
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody body = response.body()) {
              // Consume and discard the response body.
              body.source().readByteString();
            }
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                posInc = 0;
            }
            return queue.size() > qSize;
        }
    
        @Override
        public void end() throws IOException {
            super.end();
            offsetAttr.setOffset(finalOffset, finalOffset);
        }
    
        @Override
        public void reset() throws IOException {
            super.reset();
            block.setLength(0);
            prevToken = null;
            readBufferIndex = BUFFER_SIZE;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        TO_BYTE_ARRAY_NEW_STRING {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            return new String(byteSource.read(), cs);
          }
        },
        USING_CHARSTREAMS_COPY {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            StringBuilder sb = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

            assertTrue(output.contains("folder/"));
        }
    
        /**
         * Test handling of IOException
         */
        @Test
        void testDoGet_IOException() throws Exception {
            // Create a test-specific NetworkExplorer that throws IOException
            networkExplorer = new NetworkExplorer() {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            public Collection<Part> getParts() throws IOException, ServletException {
                return null;
            }
    
            @Override
            public Part getPart(String name) throws IOException, ServletException {
                return null;
            }
    
            @Override
            public <T extends HttpUpgradeHandler> T upgrade(Class<T> handlerClass) throws IOException, ServletException {
                return null;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                            throw new IOException("Interrupted during retry delay", e);
                        }
                    }
                }
            }
    
            // All retries failed
            if (lastError instanceof IOException) {
                throw (IOException) lastError;
            } else {
                throw new IOException("RDMA operation failed after " + (retryCount + 1) + " attempts", lastError);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

            .build()
    
        val request = Request(server.url("/"))
        assertFailsWith<IOException> {
          client.newCall(request).execute()
        }.also { expected ->
          expected.assertSuppressed {
            val suppressed = it.single()
            assertThat(suppressed).isInstanceOf(IOException::class.java)
            assertThat(suppressed).isNotSameAs(expected)
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

         * Updates the dictionary file with content from an input stream.
         *
         * @param in The input stream containing the new dictionary content.
         * @throws IOException if an I/O error occurs.
         */
        public synchronized void update(final InputStream in) throws IOException {
            try (StopwordsUpdater updater = new StopwordsUpdater(null)) {
                reload(updater, in);
            }
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top