Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 850 for Implementations (0.05 sec)

  1. guava-tests/test/com/google/common/io/ByteSinkTest.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /**
     * Test for {@link Network} methods which have default implementations. Currently those
     * implementations are in {@link AbstractNetwork}; in future they might be in {@link Network}
     * itself, once we are willing to use Java 8 default methods.
     */
    @AndroidIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            public String getHeader(String name) {
                if ("Origin".equals(name)) {
                    return originHeader;
                }
                return null;
            }
    
            // Minimal implementations for other required methods
            @Override
            public String getAuthType() {
                return null;
            }
    
            @Override
            public jakarta.servlet.http.Cookie[] getCookies() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

    import java.util.Random;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import org.jspecify.annotations.NullUnmarked;
    
    /** A benchmark comparing the various striped implementations. */
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class StripedBenchmark {
      private static final Supplier<Lock> LOCK_SUPPLIER =
          new Supplier<Lock>() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.atomic.AtomicInteger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utility {@link RemovalListener} implementations intended for use in testing.
     *
     * @author mike nonemacher
     */
    @GwtCompatible
    @NullUnmarked
    final class TestingRemovalListeners {
    
      /** Returns a new no-op {@code RemovalListener}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

        return new AnEnum[length];
      }
    
      /** Sorts the enums according to their natural ordering. */
      /*
       * While the current implementation returns `this`, that's not something we mean to guarantee.
       * Callers of TestContainerGenerator.order need to be prepared for implementations to return a new
       * collection.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/score/QueryRescorer.java

     */
    package org.codelibs.fess.score;
    
    import java.util.Map;
    
    import org.opensearch.search.rescore.RescorerBuilder;
    
    /**
     * Interface for query rescoring implementations.
     */
    public interface QueryRescorer {
        /**
         * Evaluates the rescorer with the given parameters.
         *
         * @param params the parameters for rescoring
         * @return the rescorer builder
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Functional interface for building XContent with custom logic.
         * Allows clients to provide custom content building implementations.
         */
        public interface XContentBuilderCallback {
            /**
             * Applies custom logic to build XContent using the provided builder and parameters.
             *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.CyclicBarrier;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Dispatcher} implementations.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class DispatcherTest extends TestCase {
    
      private final EventBus bus = new EventBus();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link
     * #getInstance} are available.
     *
     * <p>Generally, implementations don't support {@link #put} and {@link #putAll} because there is no
     * way to check an object at runtime to be an instance of a {@link TypeToken}. Instead, caller
     * should use the type safe {@link #putInstance}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top