Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 343 for consumer (0.17 sec)

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

      /**
       * {@inheritDoc}
       *
       * <p>Elements that occur multiple times in the multiset will be passed to the {@code Consumer}
       * correspondingly many times, though not necessarily sequentially.
       */
      @Override
      default void forEach(Consumer<? super E> action) {
        checkNotNull(action);
        entrySet()
            .forEach(
                entry -> {
                  E elem = entry.getElement();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * any other derivation method on the original {@code ClosingFuture} instance.
       *
       * @param consumer a callback whose method will be called (using {@code executor}) when this
       *     operation is done
       */
      public void finishToValueAndCloser(
          ValueAndCloserConsumer<? super V> consumer, Executor executor) {
        checkNotNull(consumer);
        if (!compareAndUpdateState(OPEN, WILL_CREATE_VALUE_AND_CLOSER)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multimaps.java

          return CollectSpliterators.map(multimap.entries().spliterator(), Map.Entry::getKey);
        }
    
        @Override
        public void forEach(Consumer<? super K> consumer) {
          checkNotNull(consumer);
          multimap.entries().forEach(entry -> consumer.accept(entry.getKey()));
        }
    
        @Override
        int distinctElements() {
          return multimap.asMap().size();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/UrlEscapers.java

       * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these
       * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
       * Additionally, the escaper escapes the slash character ("/"). While slashes are acceptable in
       * URL paths, they are considered by the specification to be separators between "path segments."
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SSPContextTest.java

                // Only stub supportsIntegrity - isEstablished won't be called due to short-circuit
                when(mockCtx.supportsIntegrity()).thenReturn(false);
    
                // A small consumer that only uses MIC if advertised as available
                byte[] data = new byte[] { 1, 2 };
                if (mockCtx.supportsIntegrity() && mockCtx.isEstablished()) {
                    mockCtx.calculateMIC(data);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              // The cache cannot be written.
            }
          }
        }
    
        return response
      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/UrlEscapers.java

       * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these
       * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
       * Additionally, the escaper escapes the slash character ("/"). While slashes are acceptable in
       * URL paths, they are considered by the specification to be separators between "path segments."
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ComponentUtil.java

     */
    package org.codelibs.fess.util;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Consumer;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.crypto.CachedCipher;
    import org.codelibs.core.misc.DynamicProperties;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.Consumer;
    
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.Crawler;
    import org.codelibs.fess.crawler.entity.AccessResult;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            String processOutput = "Test output";
            RuntimeException throwException = null;
    
            @Override
            public JobProcess startProcess(String sessionId, List<String> cmdList, java.util.function.Consumer<ProcessBuilder> pbConsumer) {
                if (throwException != null) {
                    throw throwException;
                }
    
                startProcessCalled = true;
                capturedSessionId = sessionId;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top