- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 636 for Avoid (0.02 sec)
-
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// Test implementation of ThumbnailManager to avoid container dependencies private class TestThumbnailManager extends ThumbnailManager { @Override public void init() { // Do nothing to avoid container access } @Override protected void storeQueue(List<Tuple3<String, String, String>> taskList) { // Override to avoid database operations taskList.clear();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
.testEquals(); } /* * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer` * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
.testEquals(); } /* * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer` * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
static final Iterable<Integer> ALL_INTEGER_CANDIDATES; static { ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder(); // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31). intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE); // Add values up to 40. This covers cases like "square of a prime" and such. for (int i = 1; i <= 40; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
public boolean apply(@ParametricNullness T t) { // Avoid using the Iterator to avoid generating garbage (issue 820). for (int i = 0; i < components.size(); i++) { if (!components.get(i).apply(t)) { return false; } } return true; } @Override public int hashCode() { // add a random number to avoid collisions with OrPredicate
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); } public void test_printStackTrace() { // Test printStackTrace doesn't throw exception DictionaryExpiredException exception = new DictionaryExpiredException(); try { // Redirect to ByteArrayOutputStream to avoid console output ByteArrayOutputStream baos = new ByteArrayOutputStream();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableList.java
static final ImmutableList<Object> EMPTY = new RegularImmutableList<Object>(emptyList()); private final List<E> delegate; RegularImmutableList(List<E> delegate) { // TODO(cpovirk): avoid redundant unmodifiableList wrapping this.delegate = unmodifiableList(delegate); } @Override List<E> delegateList() { return delegate; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SingletonImmutableSet.java
* @author Nick Kralevich */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class SingletonImmutableSet<E> extends ImmutableSet<E> { // We deliberately avoid caching the asList and hashCode here, to ensure that with // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes. final transient E element; SingletonImmutableSet(E element) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* * <p>Example: * * {@snippet : * future.addCallback( * new FutureCallback<QueryResult>() { * public void onSuccess(QueryResult result) { * storeInCache(result); * } * public void onFailure(Throwable t) { * reportError(t); * } * }, executor); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/AppendableWriter.java
public void write(int c) throws IOException { checkNotClosed(); target.append((char) c); } @Override public void write(String str) throws IOException { checkNotNull(str); checkNotClosed(); target.append(str); } @Override public void write(String str, int off, int len) throws IOException { checkNotNull(str); checkNotClosed(); // tricky: append takes start, end pair...
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 3.4K bytes - Viewed (0)