Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 333 for opens (0.01 sec)

  1. docs/contribute/concurrency.md

    require a fair amount of overhead and added latency. OkHttp will make every effort to reuse existing connections to avoid this overhead and added latency.
    
    Every OkHttpClient uses a connection pool. Its job is to maintain a reference to all open connections. When an HTTP request is started, OkHttp will attempt to reuse an existing connection from the pool. If there are no existing connections, a new one is created and put into the connection pool. For HTTP/2, the connection can be reused immediately....
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>For example, if {@code rangeMap} had the entries {@code [1, 5] => "foo", (6, 8) => "bar",
       * (10, ∞) => "baz"} then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map
       * with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}.
       *
       * <p>The returned range map supports all optional operations that this range map supports, except
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          }
    
          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
            "Still ${connectionPool.connectionCount()} connections open"
          }
        }
      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

       * elements will appear in the returned list in the same order they appeared in {@code elements}.
       *
       * <p><b>Performance note:</b> According to our
       * benchmarking
       * on Open JDK 7, {@link #immutableSortedCopy} generally performs better (in both time and space)
       * than this method, and this method in turn generally performs better than copying the list and
       * calling {@link Collections#sort(List)}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

    /*
     * Copyright (C) 2010 The Android Open Source Project
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        `OkUrlFactory` to create new instances of `HttpURLConnection`:
    
        ```java
        // OkHttp 1.x:
        HttpURLConnection connection = client.open(url);
    
        // OkHttp 2.x:
        HttpURLConnection connection = new OkUrlFactory(client).open(url);
        ```
    
     *  **Custom caches are no longer supported.** In OkHttp 1.x it was possible to
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. CLAUDE.md

    1. Fork repo
    2. Create feature branch (`feature/amazing-feature`)
    3. Make focused commits
    4. Add tests
    5. Format code (`mvn formatter:format && mvn license:format`)
    6. Run tests (`mvn test`)
    7. Open Pull Request
    
    ---
    
    ## Common Development Tasks
    
    ### Adding a Protocol Client
    
    1. **Implement `CrawlerClient`**:
    ```java
    public class MyClient extends AbstractCrawlerClient {
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                    final ExtractData extractData = extractor.getText(in, params);
                    return extractData.getContent();
                } catch (final IOException e) {
                    throw new ExtractException("Could not open " + outputFile.getAbsolutePath(), e);
                }
            }
            try {
                return new String(FileUtil.readBytes(outputFile), outputEncoding);
            } catch (final UnsupportedEncodingException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/HandlerTest.java

        }
    
        @Test
        void testOpenConnection_UnknownProtocol_ThrowsIOException() {
            // This test verifies that attempting to open a connection for an unsupported protocol
            // results in an IOException, as no default handler should be found.
            assertThrows(IOException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Context.java

                }
            }
        }
    
        /*
         * Prepare reflective access to ExtendedGSSContext. The reflective access
         * abstracts the access so far, that Oracle JDK, Open JDK and IBM JDK are
         * supported.
         *
         * At the time of the first implementation only a test on Oracle JDK was
         * done.
         */
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
Back to top