Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for AtomicBoolean (0.13 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

    import assertk.assertions.isTrue
    import java.io.IOException
    import java.io.InputStreamReader
    import java.io.Reader
    import java.nio.charset.StandardCharsets
    import java.util.concurrent.atomic.AtomicBoolean
    import kotlin.test.assertFailsWith
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okhttp3.internal.and
    import okio.Buffer
    import okio.BufferedSource
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

        }
    
        public void test_store_and_stop_lifecycle() {
            // Test full lifecycle: store then stop
            final AtomicBoolean storeCalled = new AtomicBoolean(false);
            final AtomicBoolean stopCalled = new AtomicBoolean(false);
            final AtomicBoolean isActive = new AtomicBoolean(false);
    
            dataStore = new DataStore() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        private final AtomicLong currentWindowStart = new AtomicLong(System.currentTimeMillis());
    
        // Cleanup scheduler
        private final ScheduledExecutorService cleanupScheduler;
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        // Statistics
        private final AtomicLong totalAttemptsBlocked = new AtomicLong(0);
        private final AtomicLong totalAccountsLocked = new AtomicLong(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top