Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,546 for adds (0.02 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // Thread 1: Continuously adds trees
            executor.submit(() -> {
                try {
                    for (int i = 0; i < iterations; i++) {
                        session.getSmbTree("share" + i, null);
                        successCount.incrementAndGet();
                    }
                } catch (Exception e) {
                    exceptions.add(e);
                } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
            return u;
        }
    
        /**
         * Adds an authentication chain to the manager.
         * @param chain The authentication chain to add.
         */
        public void addChain(final AuthenticationChain chain) {
            chains = ArrayUtils.addAll(chains, chain);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. internal/lru/lru.go

    		ent.Value = value
    		ent.ExpiresAt = now.Add(c.ttl)
    		c.addToBucket(ent)
    		return false
    	}
    
    	// Add new item
    	ent := c.evictList.PushFrontExpirable(key, value, now.Add(c.ttl))
    	c.items[key] = ent
    	c.addToBucket(ent) // adds the entry to the appropriate bucket and sets entry.expireBucket
    
    	evict := c.size > 0 && c.evictList.Length() > c.size
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/FacetInfo.java

                    }
                }
            }
            return BucketOrder.count(false);
        }
    
        /**
         * Adds a query facet to the existing query array.
         * If no queries exist, creates a new array with the provided query.
         *
         * @param s the query string to add as a facet
         */
        public void addQuery(final String s) {
            if (query == null) {
                query = new String[] { s };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top