Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 4,244 for Accept (0.03 sec)

  1. src/main/java/org/codelibs/core/stream/StreamUtil.java

             * @param stream the {@link Consumer} to process the {@link Stream}
             */
            public void of(final Consumer<Stream<T>> stream) {
                try (Stream<T> s = supplier.get()) {
                    stream.accept(s);
                }
            }
    
            /**
             * Applies the given function to a stream created by the supplier and returns the result.
             * The stream is automatically closed after the function is applied.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/QueryContext.java

         */
        public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) {
            final List<FilterFunctionBuilder> list = new ArrayList<>();
            functionScoreQuery.accept(list);
            queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()]));
        }
    
        /**
         * Adds additional query clauses using a boolean query builder.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            }, docPerReq, () -> {
                systemHelper.calibrateCpuLoad();
                ThreadUtil.sleep(interval);
            }).then(response -> {
                refresh();
                success.accept(true);
            }).error(t -> error.accept(t));
        }
    
        /**
         * Purges old suggest data from documents.
         *
         * @param time The timestamp to purge data before.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * always very useful information.
     *
     * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to
     * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the
     * appropriate {@code copyOf} method itself.
     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                    assertEquals("(memberOf=%s)", groupFilter);
    
                    // Test callback
                    String[] callbackRoles = new String[] { "role1", "role2" };
                    callback.accept(callbackRoles);
                    rolesFromCallback.set(callbackRoles);
    
                    // Return roles from LDAP
                    return new String[] { "Rgroup1", "Rgroup2" };
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapValues.java

            return super.writeReplace();
          }
        };
      }
    
      @GwtIncompatible
      @Override
      public void forEach(Consumer<? super V> action) {
        checkNotNull(action);
        map.forEach((k, v) -> action.accept(v));
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
                .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
                .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
                .put("SEC_WEBSOCKET_EXTENSIONS", "Sec-WebSocket-Extensions")
                .put("SEC_WEBSOCKET_KEY", "Sec-WebSocket-Key")
                .put("SEC_WEBSOCKET_PROTOCOL", "Sec-WebSocket-Protocol")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

      private fun run() {
        val serverSocket = ServerSocket(8888)
        serverSocket.reuseAddress = true
        while (true) {
          var socket: Socket? = null
          try {
            socket = serverSocket.accept()
            val sslSocket = doSsl(socket)
            val protocolString = Platform.get().getSelectedProtocol(sslSocket)
            val protocol = if (protocolString != null) get(protocolString) else null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/RemovalListener.java

       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
      void onRemoval(RemovalNotification<K, V> notification);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top