Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for AtomicBoolean (0.07 sec)

  1. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

    import org.opensearch.index.query.QueryBuilders;
    
    public class QueryProcessorTest extends UnitFessTestCase {
    
        public void test_executeWithFilter() {
            final AtomicBoolean called = new AtomicBoolean(false);
            QueryProcessor queryProcessor = new QueryProcessor() {
                protected FilterChain createDefaultFilterChain() {
                    return (context, query, boost) -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private ServerSocket makeMyServerExampleWithFrq(AtomicBoolean finalizeReferentRan)
          throws IOException {
        MyServerExampleWithFrq myServer = MyServerExampleWithFrq.create(finalizeReferentRan);
        assertThat(myServer.serverSocket.isClosed()).isFalse();
        return myServer.serverSocket;
      }
    
      @Test
      public void testMyServerExampleWithFrq() throws Exception {
        AtomicBoolean finalizeReferentRan = new AtomicBoolean(false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private ServerSocket makeMyServerExampleWithFrq(AtomicBoolean finalizeReferentRan)
          throws IOException {
        MyServerExampleWithFrq myServer = MyServerExampleWithFrq.create(finalizeReferentRan);
        assertThat(myServer.serverSocket.isClosed()).isFalse();
        return myServer.serverSocket;
      }
    
      @Test
      public void testMyServerExampleWithFrq() throws Exception {
        AtomicBoolean finalizeReferentRan = new AtomicBoolean(false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            result = jobExecutor.execute("", "");
            assertEquals("Executed:  ", result);
        }
    
        public void test_addShutdownListener() {
            // Test adding shutdown listener
            AtomicBoolean shutdownCalled = new AtomicBoolean(false);
            ShutdownListener listener = new ShutdownListener() {
                @Override
                public void onShutdown() {
                    shutdownCalled.set(true);
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

          Monitor monitor,
          boolean expectedIsOccupied,
          boolean expectedIsOccupiedByCurrentThread,
          int expectedOccupiedDepth) {
        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.configure(1000, 100, true, true);
        }
    
        /**
         * Test resource for tracking
         */
        static class TestResource implements AutoCloseable {
            private final AtomicBoolean closed = new AtomicBoolean(false);
            private final String name;
    
            TestResource(String name) {
                this.name = name;
            }
    
            @Override
            public void close() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

        private static final int MAX_LOOP_COUNT = 10;
    
        /** The thread being monitored. */
        protected Thread runningThread;
    
        /** Flag indicating if the thread is still running. */
        protected AtomicBoolean running = new AtomicBoolean();
    
        /**
         * Constructs an AccessTimeoutTarget with the specified thread.
         * @param thread The thread to monitor.
         */
        public AccessTimeoutTarget(final Thread thread) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        public void test_shutdownCommonsHttpClient_withException() throws Exception {
            // Create a hook that simulates an exception scenario
            AtomicBoolean exceptionHandled = new AtomicBoolean(false);
    
            FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() {
                @Override
                public void hook(final FwAssistantDirector assistantDirector) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            assertEquals("a_a", ldapManager.replaceWithUnderscores("a/a"));
        }
    
        public void test_allowEmptyGroupAndRole() {
            final AtomicBoolean allowEmptyPermission = new AtomicBoolean();
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                public boolean isLdapAllowEmptyPermission() {
                    return allowEmptyPermission.get();
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top