Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 420 for reusing (0.05 seconds)

  1. android/guava/src/com/google/common/graph/Graphs.java

        return hasCycle(network.asGraph());
      }
    
      /**
       * Performs a traversal of the nodes reachable from {@code startNode}. If we ever reach a node
       * we've already visited (following only outgoing edges and without reusing edges), we know
       * there's a cycle in the graph.
       */
      private static <N> boolean subgraphHasCycle(
          Graph<N> graph, Map<Object, NodeVisitState> visitedNodes, N startNode) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                            logger.debug("Reusing existing session (both userId null). sessionId={}", sessionId);
                        }
                        return session;
                    } else if (userId != null && userId.equals(sessionUserId)) {
                        session.touch();
                        if (logger.isDebugEnabled()) {
                            logger.debug("Reusing existing session. sessionId={}, userId={}", sessionId, userId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  3. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  4. 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
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. android/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()];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  8. 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>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  9. 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()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  10. 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:
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
Back to Top