Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1531 - 1540 of 6,957 for Class (0.02 sec)

  1. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

    /** Implements the policy specified by [StartStop]. */
    internal class StartStopExtension :
      BeforeEachCallback,
      BeforeAllCallback {
      override fun beforeAll(context: ExtensionContext) {
        val store = context.getStore(Namespace.create(StartStop::class.java))
    
        val staticFields =
          findAnnotatedFields(
            context.requiredTestClass,
            StartStop::class.java,
          ) { Modifier.isStatic(it.modifiers) }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

    import org.apache.logging.log4j.Logger;
    
    /**
     * Factory class for managing and organizing document ingesters.
     * The factory maintains a sorted collection of ingesters based on their priority
     * and provides methods to add new ingesters and retrieve the current collection.
     *
     * Ingesters are automatically sorted by priority, with lower numbers having higher priority.
     */
    public class IngestFactory {
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

            Lists.<Object>newArrayList(FIRST, SECOND),
            recorder.eventsReceived);
      }
    
      public class EventProcessor {
        @Subscribe
        public void listenForStrings(String event) {
          bus.post(SECOND);
        }
      }
    
      public class EventRecorder {
        final List<Object> eventsReceived = new ArrayList<>();
    
        @Subscribe
        public void listenForEverything(Object event) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

            assertTrue(message.contains(description));
        }
    
        @Test
        @DisplayName("getErrorString for unknown error class")
        void testUnknownErrorClass() {
            int unknownClass = 1234;
            String expected = "unknown error class: 1234";
            assertEquals(expected, NbtException.getErrorString(unknownClass, 0));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                    }
                  });
        }
      }
    
      @AfterExperiment
      void tearDown() throws Exception {
        executorService.shutdown();
      }
    
      @Footprint(exclude = {Runnable.class, Executor.class})
      public Object measureSize() {
        list = impl.newExecutionList();
        for (int i = 0; i < numListeners; i++) {
          list.add(listener, directExecutor());
        }
        return list.getImpl();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        tearDownStack.runTearDown();
      }
    
      public void testNull() throws Exception {
        new NullPointerTester()
            .setDefault(CountDownLatch.class, new CountDownLatch(0))
            .setDefault(Semaphore.class, new Semaphore(999))
            .testAllPublicStaticMethods(Uninterruptibles.class);
      }
    
      // IncrementableCountDownLatch.await() tests
    
      // CountDownLatch.await() tests
    
      // Condition.await() tests
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

            "next() should still return last element after peeking", "C", peekingIterator.next());
    
        assertThrows(NoSuchElementException.class, () -> peekingIterator.peek());
        assertThrows(NoSuchElementException.class, () -> peekingIterator.peek());
        assertThrows(NoSuchElementException.class, () -> peekingIterator.next());
      }
    
      public void testCantRemoveAfterPeek() {
        List<String> list = Lists.newArrayList("A", "B", "C");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

     * at runtime. When a MIME type is not found in the mapping, a default value
     * is returned.
     */
    public class FileTypeHelper {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FileTypeHelper.class);
    
        /** Default file type value returned when MIME type is not found in mappings */
        protected String defaultValue = "others";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing related query configurations.
     * This class provides functionality to load, cache, and retrieve related queries
     * based on search terms and virtual hosts. Related queries are used to suggest
     * alternative or supplementary search terms to improve search results.
     */
    public class RelatedQueryHelper extends AbstractConfigHelper {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.InjectMocks;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Unit tests for the {@link TransTransactNamedPipeResponse} class.
     */
    class TransTransactNamedPipeResponseTest {
    
        @Mock
        private SmbNamedPipe mockPipe;
    
        @Mock
        private TransactNamedPipeInputStream mockPipeIn;
    
        @InjectMocks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top