Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 224 for Implementations (0.54 seconds)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * one of the predefined {@link Policies} or specify a custom implementation. Implementations must
       * be thread-safe.
       *
       * @since 13.0
       */
      public interface Policy {
    
        /**
         * Called when a potential deadlock is encountered. Implementations can throw the given {@code
         * exception} and/or execute other desired logic.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  2. clause/clause.go

    // Package clause provides the clause interface and common clause implementations for GORM.
    package clause
    
    // Interface clause interface
    type Interface interface {
    	Name() string
    	Build(Builder)
    	MergeClause(*Clause)
    }
    
    // ClauseBuilder clause builder, allows to customize how to build clause
    type ClauseBuilder func(Clause, Builder)
    
    type Writer interface {
    	WriteByte(byte) error
    	WriteString(string) (int, error)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to test listenable future implementations.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ListenableFutureTester {
    
      private final ExecutorService exec;
      private final ListenableFuture<?> future;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            EmptySearchLogEvent emptyEvent = new EmptySearchLogEvent();
            assertEquals("", emptyEvent.getEventType());
        }
    
        // Test multiple implementations
        @Test
        public void test_multipleImplementations() {
            // Create different implementations
            SearchLogEvent event1 = new TestSearchLogEvent("id1", 1L, "type1");
            SearchLogEvent event2 = new NullSearchLogEvent();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.ExecutorService;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Used to test listenable future implementations.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ListenableFutureTester {
    
      private final ExecutorService exec;
      private final ListenableFuture<?> future;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTest.java

    import java.io.IOException;
    import java.io.StringReader;
    import java.io.Writer;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

                        }
                        return new StandardImplForwardingMap<>(map);
                      }
                    })
                .named("ForwardingMap[LinkedHashMap] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

     */
    @NullUnmarked
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      // From "How Provider Implementations Are Requested and Supplied" from
      // https://docs.oracle.com/en/java/javase/25/security/java-cryptography-architecture-jca-reference-guide.html#:~:text=How%20Provider%20Implementations%20Are%20Requested%20and%20Supplied
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/CharSinkTest.java

    import java.io.IOException;
    import java.io.StringReader;
    import java.io.Writer;
    import java.util.EnumSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSink} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSinkTest extends IoTestCase {
    
      private static final String STRING = ASCII + I18N;
    
      private TestCharSink sink;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            try {
                manager.process(null, null, null);
                assertTrue(manager.isProcessCalled());
            } catch (NullPointerException e) {
                // Expected for some implementations
            }
        }
    
        @Test
        public void test_process_withStatusCodeSetting() throws IOException, ServletException {
            // Test setting different status codes
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
Back to Top