Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,187 for adds (0.04 sec)

  1. guava/src/com/google/common/collect/TopKSelector.java

        this.buffer = (T[]) new Object[Math.multiplyExact(k, 2)];
        this.bufferSize = 0;
        this.threshold = null;
      }
    
      /**
       * Adds {@code elem} as a candidate for the top {@code k} elements. This operation takes amortized
       * O(1) time.
       */
      public void offer(@ParametricNullness T elem) {
        if (k == 0) {
          return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

      @GuardedBy("lock")
      private final List<LogRecord> list = new ArrayList<>();
    
      /** Adds the most recently logged record to our list. */
      @Override
      public void publish(@Nullable LogRecord record) {
        synchronized (lock) {
          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
     */
    @GwtCompatible
    final class ForwardingFluentFuture<V extends @Nullable Object> extends FluentFuture<V> {
      private final ListenableFuture<V> delegate;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/JobExecutor.java

         */
        public void shutdown() {
            shutdownListener.onShutdown();
        }
    
        /**
         * Adds a shutdown listener to be notified when the executor is shutting down.
         *
         * @param listener the shutdown listener to add
         */
        public void addShutdownListener(final ShutdownListener listener) {
            shutdownListener = listener;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/searchlist/EditForm.java

     */
    package org.codelibs.fess.app.web.admin.searchlist;
    
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    /**
     * The edit form for Search List.
     * This form extends CreateForm and adds fields necessary for editing existing search list entries.
     */
    public class EditForm extends CreateForm {
    
        /** Unique identifier for the search list entry */
        public String id;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

        }
    
        /**
         * Adds a new duplicate host rule to the list.
         * Initializes the list if it doesn't exist.
         *
         * @param duplicateHost the duplicate host rule to add
         */
        public void add(final DuplicateHost duplicateHost) {
            if (duplicateHostList == null) {
                duplicateHostList = new ArrayList<>();
            }
            duplicateHostList.add(duplicateHost);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            } else {
                searchLog.setVirtualHost(StringUtil.EMPTY);
            }
    
            addDocumentsInResponse(queryResponseList, searchLog);
    
            searchLogQueue.add(searchLog);
        }
    
        /**
         * Adds documents in the response to the search log.
         *
         * @param queryResponseList The list of query responses.
         * @param searchLog The search log.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

         */
        protected Map<String, CorsHandler> handerMap = new HashMap<>();
    
        /**
         * Adds a CORS handler for the specified origin.
         *
         * @param origin the origin pattern (can be "*" for wildcard)
         * @param handler the CORS handler to associate with the origin
         */
        public void add(final String origin, final CorsHandler handler) {
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      }
    
      public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) {
        return new EquivalenceTester<>(equivalence);
      }
    
      /**
       * Adds a group of objects that are supposed to be equivalent to each other and not equivalent to
       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      }
    
      /**
       * Atomically adds the given value to the element at index {@code i}.
       *
       * @param i the index
       * @param delta the value to add
       * @return the previous value
       */
      @CanIgnoreReturnValue
      public final double getAndAdd(int i, double delta) {
        return getAndAccumulate(i, delta, Double::sum);
      }
    
      /**
       * Atomically adds the given value to the element at index {@code i}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top