- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 3,635 for avoid (0.26 sec)
-
internal/lru/lru.go
} // Remove removes e from its list, decrements l.len func (l *LruList[K, V]) Remove(e *Entry[K, V]) V { e.prev.next = e.next e.next.prev = e.prev e.next = nil // avoid memory leaks e.prev = nil // avoid memory leaks e.list = nil l.len-- return e.Value } // move moves e to next to at. func (l *LruList[K, V]) move(e, at *Entry[K, V]) { if e == at { return }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(dim1 * dim2).isAtLeast(0); testConcatOverflow(dim1, dim2); } private static void testConcatOverflow(int arraysDim1, int arraysDim2) { assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); double[][] arrays = new double[arraysDim1][]; // it's shared to avoid using too much memory in tests double[] sharedArray = new double[arraysDim2];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
* AbstractFutureTest test methods in these degenerate classloaders. */ @NullUnmarked public class AbstractFutureFallbackAtomicHelperTest extends TestCase { // stash these in static fields to avoid loading them over and over again (speeds up test // execution significantly) /** * This classloader disallows {@link java.lang.invoke.VarHandle}, which will prevent us from
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* as {@code findFirst()} or {@code iterator()} is invoked. (Even though {@code Stream} * contains all the right method <i>signatures</i> to implement {@link Iterable}, it does not * actually do so, to avoid implying repeat-iterability.) {@code FluentIterable}, on the other * hand, is multiple-use, and does implement {@link Iterable}. * <li>Streams offer many features not found here, including {@code min/max}, {@code distinct},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* as {@code findFirst()} or {@code iterator()} is invoked. (Even though {@code Stream} * contains all the right method <i>signatures</i> to implement {@link Iterable}, it does not * actually do so, to avoid implying repeat-iterability.) {@code FluentIterable}, on the other * hand, is multiple-use, and does implement {@link Iterable}. * <li>Streams offer many features not found here, including {@code min/max}, {@code distinct},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
this.output = output; } @Override public void start() { // Mock implementation } // Custom join method to avoid overriding final Thread.join() public void waitForCompletion(long millis) { // Mock implementation } @Override public String getOutput() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K 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) -
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 (0) -
cmd/xl-storage.go
// Small file threshold below which data accompanies metadata from storage layer. smallFileThreshold = 128 * humanize.KiByte // Optimized for NVMe/SSDs // For hardrives it is possible to set this to a lower value to avoid any // spike in latency. But currently we are simply keeping it optimal for SSDs. // bigFileThreshold is the point where we add readahead to put operations. bigFileThreshold = 128 * humanize.MiByte
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K 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)