Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for reusing (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection
     * currently carrying zero streams is an idle stream. We keep it alive because reusing an existing
     * connection is typically faster than establishing a new one.
     *
     * When a single logical call requires multiple streams due to redirects or authorization
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

          long lastEntry = entries[srcIndex];
          entries[dstIndex] = lastEntry;
          entries[srcIndex] = UNSET;
    
          // also need to update whoever's "next" pointer was pointing to the last entry place
          // reusing "tableIndex" and "next"; these variables were no longer needed
          int tableIndex = getHash(lastEntry) & hashTableMask();
          int lastNext = table[tableIndex];
          if (lastNext == srcIndex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Striped.java

       *     {@link #get(Object)}; may contain duplicates), in an increasing index order.
       */
      public Iterable<L> bulkGet(Iterable<? extends Object> keys) {
        // Initially using the list to store the keys, then reusing it to store the respective L's
        List<Object> result = newArrayList(keys);
        if (result.isEmpty()) {
          return ImmutableList.of();
        }
        int[] stripes = new int[result.size()];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                        log.debug("Error while checking for reuse", e);
                        continue;
                    }
    
                    if (log.isTraceEnabled()) {
                        log.trace("Reusing transport connection " + conn);
                    }
                    return conn.acquire();
                }
            }
    
            return null;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/crypto/CachedCipher.java

    import org.codelibs.core.misc.Base64Util;
    
    /**
     * A high-performance utility class for encrypting and decrypting data using cached {@link Cipher} instances.
     * <p>
     * This class provides efficient encryption/decryption by pooling and reusing cipher instances,
     * reducing the overhead of repeated cipher initialization. It supports both string-based keys
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                    LeaseEntry entry = leases.get(existingKey);
                    if (entry != null && !entry.breaking) {
                        entry.lastAccessTime = System.currentTimeMillis();
                        log.debug("Reusing existing lease for path: {}", path);
                        return existingKey;
                    }
                }
    
                // Check if we've reached max leases
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

     * group, and symbolic links.
     *
     * <p>
     * The class uses Apache Commons Net library for FTP communication. It maintains a queue of FTPClient
     * instances to improve performance by reusing connections.
     * </p>
     *
     * <p>
     * The client can be configured with FTP-specific settings via init parameters, such as:
     * </p>
     * <ul>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

            while (iter.hasNext()) {
                final SmbSessionImpl ssn = iter.next();
                if (ssn.matches(tf, targetHost, targetDomain)) {
                    if (log.isTraceEnabled()) {
                        log.trace("Reusing existing session " + ssn);
                    }
                    return ssn.acquire();
                }
                if (log.isTraceEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * automatic-closing approach described above is safer.
     *
     * @param <V> the type of the value of this step
     * @since 30.0
     */
    // TODO(dpb): Consider reusing one CloseableList for the entire pipeline, modulo combinations.
    @DoNotMock("Use ClosingFuture.from(Futures.immediate*Future)")
    @J2ktIncompatible
    @GwtIncompatible // TODO(dpb): GWT compatibility.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
Back to top