Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 735 for avoid (0.01 sec)

  1. 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)
  2. android/guava/src/com/google/common/cache/Striped64.java

       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, int @Nullable [] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
        } else h = hc[0];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

            LockFreeBitArray lockFreeBitArray = (LockFreeBitArray) o;
            // TODO(lowasser): avoid allocation here
            return Arrays.equals(toPlainArray(data), toPlainArray(lockFreeBitArray.data));
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // TODO(lowasser): avoid allocation here
          return Arrays.hashCode(toPlainArray(data));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

              return this.node.equals(((Pred<?>) that).node);
            } else {
              return false;
            }
          }
    
          @Override
          public int hashCode() {
            // Adding the class hashCode to avoid a clash with Succ instances.
            return Pred.class.hashCode() + node.hashCode();
          }
        }
    
        static final class Succ<N> extends NodeConnection<N> {
          Succ(N node) {
            super(node);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

            @Override
            public void execute(Runnable command) {}
          };
        }
    
        @Override
        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       * @since 15.0
       */
      @Override
      public final void awaitRunning() {
        delegate.awaitRunning();
      }
    
      /**
       * @since 28.0
       */
      @Override
      public final void awaitRunning(Duration timeout) throws TimeoutException {
        Service.super.awaitRunning(timeout);
      }
    
      /**
       * @since 15.0
       */
      @Override
      public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top