Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 1,521 for given (0.09 seconds)

  1. guava-tests/test/com/google/common/cache/TestingWeighers.java

    /**
     * Utility {@link Weigher} implementations intended for use in testing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public final class TestingWeighers {
    
      /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */
      static Weigher<Object, Object> constantWeigher(int constant) {
        return new ConstantWeigher(constant);
      }
    
      /** Returns a {@link Weigher} that uses the integer key as the weight. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/filter/LoadControlFilter.java

            }
    
            if (isApiPath) {
                sendApiResponse(httpResponse);
            } else {
                httpResponse.sendError(429);
            }
        }
    
        /**
         * Checks if the given path should be excluded from load control.
         * @param path the request path
         * @return true if the path should be excluded
         */
        protected boolean isExcludedPath(final String path) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/CharSinkTester.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A generator of {@code TestSuite} instances for testing {@code CharSink} implementations.
     * Generates tests of all methods on a {@code CharSink} given various inputs written to it.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java

         *
         * @return the logger instance
         */
        @Override
        public Logger getLogger() {
            return logger;
        }
    
        /**
         * Gets the appropriate extractor for the given response data.
         * Selects an extractor based on the MIME type or falls back to the Tika extractor.
         *
         * @param responseData the response data containing the document to extract
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/HashingInputStream.java

     *
     * @author Qian Huang
     * @since 16.0
     */
    @Beta
    public final class HashingInputStream extends FilterInputStream {
      private final Hasher hasher;
    
      /**
       * Creates an input stream that hashes using the given {@link HashFunction} and delegates all data
       * read from it to the underlying {@link InputStream}.
       *
       * <p>The {@link InputStream} should not be read from before or after the hand-off.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java

    import org.apache.maven.plugin.PluginResolutionException;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Lifecycle mapping delegate component interface. Calculates project build execution plan given {@link Lifecycle} and
     * lifecycle phase. Standard lifecycles use plugin execution {@code <phase>} or mojo default lifecycle phase to
     * calculate the execution plan, but custom lifecycles can use alternative mapping strategies.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ExplicitOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that compares objects according to a given order. */
    @GwtCompatible
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ExplicitOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that compares objects according to a given order. */
    @GwtCompatible
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

    import org.apache.maven.model.PluginContainer;
    
    /** @deprecated */
    @Deprecated
    public final class ModelUtils {
    
        /**
         * This should be the resulting ordering of plugins after merging:
         * <p>
         * Given:
         * <pre>
         * parent: X -&gt; A -&gt; B -&gt; D -&gt; E
         * child: Y -&gt; A -&gt; C -&gt; D -&gt; F
         * </pre>
         * Result:
         * <pre>
         * X -&gt; Y -&gt; A -&gt; B -&gt; C -&gt; D -&gt; E -&gt; F
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

    import java.util.Collection;
    import java.util.List;
    
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Calculates the active profiles among a given collection of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ProfileSelector {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top