- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 3,933 for avoid (0.64 sec)
-
android/guava/src/com/google/common/hash/Hasher.java
* newHasher().putByte(b1).putByte(b2).putByte(b3).hash() * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash() * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash() * } * * <p>If you wish to avoid this, you should either prepend or append the size of each chunk. Keep in * mind that when dealing with char sequences, the encoded form of two concatenated char sequences
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
import org.jspecify.annotations.Nullable; /** * A {@link Multimap} whose contents will never change, with many other important properties * detailed at {@link ImmutableCollection}. * * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableMultimap} as a type (as with * {@link Multimap} itself). Prefer subtypes such as {@link ImmutableSetMultimap} or {@linkRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
* type is determined by the crawler data serializer configuration. * </p> * <p> * The class is thread-safe and uses ThreadLocal to maintain Kryo instances * per thread to avoid synchronization overhead. * </p> * */ public class DataSerializer { /** Logger for this class. */ private static final Logger logger = LogManager.getLogger(DataSerializer.class);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (3) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
void releaseStoresAndZeroesBuffer() { BufferCacheImpl impl = new BufferCacheImpl(2, 10); byte[] b = new byte[10]; // Fill with non-zero to verify zeroing on release for (int i = 0; i < b.length; i++) { b[i] = (byte) (i + 1); } // Act: release should zero immediately to avoid leaks impl.releaseBuffer(b);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
HandshakeCertificates .Builder() .addTrustedCertificate(rootCa.certificate) .build() client = clientTestRule .newClientBuilder() .fastFallback(false) // Avoid data races. .dns(dns) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ).build() val serverHandshakeCertificates =Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception { SettableFuture<@Nullable Void> settableFuture = SettableFuture.create(); ListenableFuture<@Nullable Void> unused = serializer.submitAsync( new AsyncCallable<@Nullable Void>() { @Override public ListenableFuture<@Nullable Void> call() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
*/ public void releaseBuffer(ByteBuffer buffer) { // For direct buffers, we rely on GC // Could implement a more sophisticated buffer pool here } /** * Clean up all pooled regions * * This method should be called when shutting down to * release all resources. */ public void cleanup() { // Clean up all pooled regionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
docs/recipes.md
```java private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); client.newCall(request).enqueue(new Callback() { @Override public void onFailure(Call call, IOException e) { e.printStackTrace(); }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
private final AtomicReference<ListenableFuture<@Nullable Void>> ref = new AtomicReference<>(immediateVoidFuture()); @LazyInit private ThreadConfinedTaskQueue latestTaskQueue = new ThreadConfinedTaskQueue(); /** * This object is unsafely published, but avoids problematic races by relying exclusively on the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
import com.google.caliper.Param; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks against the Apache Commons Math utilities. * * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency. * * @author Louis Wasserman */ @NullUnmarked public class ApacheBenchmark { private enum Impl { GUAVA { @Override public double factorialDouble(int n) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.9K bytes - Viewed (0)