- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 246 for reusing (0.07 seconds)
-
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 keysCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 15.9K bytes - Click Count (0) -
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 Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
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: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 40K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
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 Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 51.4K bytes - Click Count (0) -
src/bytes/bytes.go
// is too large we are basically just thrashing the CPU D-cache. // So if the result length is larger than an empirically-found // limit (8KB), we stop growing the source string once the limit // is reached and keep reusing the same source string - that // should therefore be always resident in the L1 cache - until we // have completed the construction of the result. // This yields significant speedups (up to +100%) in cases where
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 16:42:15 GMT 2025 - 35.5K bytes - Click Count (0) -
internal/grid/connection.go
dst = make([]byte, 0, hdr.Length+hdr.Length>>3) } if !hdr.Fin { hdr.Length = -1 } return readAllInto(dst[:0], &wsReader, hdr.Length) } } // Keep reusing the same buffer. var msg []byte for atomic.LoadUint32((*uint32)(&c.state)) == StateConnected { if cap(msg) > readBufferSize*4 { // Don't keep too much memory around. msg = nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0) -
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.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0)