Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 397 for Times (0.02 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        } finally {
          executor.shutdownNow();
        }
    
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.atLeastOnce;
    import static org.mockito.Mockito.inOrder;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLStreamHandler;
    import java.net.UnknownHostException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. ci/official/utilities/setup.sh

    # Generate an overview page describing the build
    if [[ "$TFCI_INDEX_HTML_ENABLE" == 1 ]]; then
      ./ci/official/utilities/generate_index_html.sh "$TFCI_OUTPUT_DIR/index.html"
    fi
    
    # Re-try `bazel --version` multiple times to get around
    # Bazel download issues.
    set +e
    MAX_RETRIES=2
    for ((i=1; i <= $MAX_RETRIES; i++)); do
      tfrun bazel --version
    done
    set -e
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * operation in order to trigger shutdown, consider instead registering a listener and
       * implementing {@code stopping}. Note, however, that {@code stopping} does not run at exactly the
       * same times as {@code triggerShutdown}.
       */
      protected void triggerShutdown() {}
    
      /**
       * Returns the {@link Executor} that will be used to run this service. Subclasses may override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/LogStreamTest.java

            String output = testOutput.toString();
            assertTrue(output.contains("test message"));
        }
    
        @Test
        void testSetInstanceMultipleTimes() {
            // Test setting instance multiple times
            PrintStream stream1 = new PrintStream(new ByteArrayOutputStream());
            PrintStream stream2 = new PrintStream(new ByteArrayOutputStream());
    
            LogStream.setInstance(stream1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. docs/features/events.md

        .url("https://www.nytimes.com/")
        .build();
    client.newCall(newYorkTimesRequest).enqueue(new Callback() {
      ...
    });
    ```
    
    Running this race over home WiFi shows the Times (`0002`) completes just slightly sooner than the Post (`0001`):
    
    ```
    0001 https://www.washingtonpost.com/
    0001 0.000 callStart
    0002 https://www.nytimes.com/
    0002 0.000 callStart
    0002 0.010 dnsStart
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertEquals(1.0, stats.successRate);
        }
    
        @Test
        @DisplayName("Test circuit opens after failure threshold")
        void testCircuitOpensAfterThreshold() {
            // Fail 3 times to open the circuit
            for (int i = 0; i < 3; i++) {
                try {
                    circuitBreaker.call(() -> {
                        throw new RuntimeException("Test failure");
                    });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

        /**
         * The detailed error log or stack trace for the failure.
         * This field contains the full error information for debugging purposes.
         */
        public String errorLog;
    
        /**
         * The number of times this URL has failed.
         * This is a required field that tracks repeated failures for the same URL.
         */
        @Required
        @ValidateTypeFailure
        public String errorCount;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            CountDownLatch endLatch = new CountDownLatch(threadCount);
            AtomicInteger releaseCount = new AtomicInteger(0);
            AtomicInteger acquireCount = new AtomicInteger(0);
    
            // Acquire session multiple times
            for (int i = 0; i < threadCount - 1; i++) {
                session.acquire();
            }
    
            // When - Multiple threads try to release/acquire concurrently
            for (int t = 0; t < threadCount; t++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top