Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 392 for Apply (0.02 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

      private val configuredLoggers = CopyOnWriteArraySet<Logger>()
    
      fun enableHttp2() = enable(Http2::class)
    
      fun enableTaskRunner() = enable(TaskRunner::class)
    
      fun logHandler() =
        ConsoleHandler().apply {
          level = Level.FINE
          formatter =
            object : SimpleFormatter() {
              override fun format(record: LogRecord) = String.format("[%1\$tF %1\$tT] %2\$s %n", record.millis, record.message)
            }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        }
    
        @Override
        void forEachRemaining(Consumer<? super E> action) {
          spliteratorOfPrimitive.forEachRemaining(consumerizer.apply(action));
        }
    
        @Override
        boolean tryAdvance(Consumer<? super E> action) {
          return spliteratorOfPrimitive.tryAdvance(consumerizer.apply(action));
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        }
    
        @Override
        void forEachRemaining(Consumer<? super E> action) {
          spliteratorOfPrimitive.forEachRemaining(consumerizer.apply(action));
        }
    
        @Override
        boolean tryAdvance(Consumer<? super E> action) {
          return spliteratorOfPrimitive.tryAdvance(consumerizer.apply(action));
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeTraverser.java

       * This is useful if the function instance already exists, or so that you can supply a lambda
       * expressions. If those circumstances don't apply, you probably don't need to use this; subclass
       * {@code TreeTraverser} and implement its {@link #children} method directly.
       *
       * @since 20.0
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> filtered =
            filter(
                unfiltered,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    throw new AssertionFailedError("Should never be evaluated");
                  }
                });
    
        List<String> expected = emptyList();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

      object : ThreadLocal<DateFormat>() {
        override fun initialValue(): DateFormat {
          // Date format specified by RFC 7231 section 7.1.1.1.
          return SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US).apply {
            isLenient = false
            timeZone = UTC
          }
        }
      }
    
    /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

         *
         * @param context the query context containing search configuration
         * @param query the Lucene query to convert (must be a FuzzyQuery)
         * @param boost the boost factor to apply to the query
         * @return OpenSearch QueryBuilder for fuzzy matching
         * @throws InvalidQueryException if the query is not a FuzzyQuery
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/BooleanFunction.java

    @FunctionalInterface
    public interface BooleanFunction<T> {
        /**
         * Applies this function to the given argument.
         * @param t the function argument
         * @return the function result
         */
        boolean apply(T t);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

      }
    
      @Override
      protected String getSuccessfulResult() {
        return RESULT_DATA;
      }
    
      private class ComposeFunction implements Function<Integer, String> {
        @Override
        public String apply(Integer input) {
          if (input.intValue() == VALID_INPUT_DATA) {
            return RESULT_DATA;
          } else {
            throw WRAPPED_EXCEPTION;
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

            return !changed || ComponentUtil.getFessConfig().isLdapAdminSyncPassword();
        }
    
        @Override
        public User load(final User user) {
            ComponentUtil.getLdapManager().apply(user);
            return user;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top