Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 890 for thread (0.07 seconds)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                try {
                    // Wait before retry (except first attempt)
                    if (attempt > 0) {
                        long delay = retryDelay * (1L << attempt); // Exponential backoff
                        Thread.sleep(delay);
                        log.debug("Reconnection attempt {} for {}", attempt + 1, info.getPath());
                    }
    
                    // Perform the actual reconnection
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 8.5K bytes
    - Click Count (1)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        clientListener.assertFailure(
          SocketTimeoutException::class.java,
          "timeout",
          "Read timed out",
        )
        assertThat(webSocket.close(1000, null)).isFalse()
      }
    
      /**
       * There's no read timeout when reading the first byte of a new frame. But as soon as we start
       * reading a frame we enable the read timeout. In this test we have the server returning the first
       * byte of a frame but no more frames.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java

            @Override
            protected SearchResult search(String query, SearchRequestParams params, OptionalThing<FessUserBean> userBean) {
                try {
                    Thread.sleep(delayMs);
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
    
                SearchResultBuilder builder = SearchResult.create();
                for (int i = 0; i < 10; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * undocumented and subject to change.
       *
       * <p>This method is safe to use even when {@code sortedMultiset} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws NullPointerException if {@code sortedMultiset} or any of its elements is null
       */
      public static <E> ImmutableSortedMultiset<E> copyOfSorted(SortedMultiset<E> sortedMultiset) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

                return null;
            }
        }
    
        private void loadTestProperties() {
            // Load system.properties from test classpath
            try (InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("system.properties")) {
                if (is != null) {
                    Properties props = new Properties();
                    props.load(is);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java

    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    
    @Warmup(iterations = 5)
    @Measurement(iterations = 7)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Thread)
    @Fork(value = 1)
    public class BytesArrayReadLongBenchmark {
    
        @Param(value = { "1" })
        private int dataMb;
    
        private BytesReference bytesArray;
    
        private StreamInput streamInput;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  7. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java

    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    
    @Warmup(iterations = 5)
    @Measurement(iterations = 7)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Thread)
    @Fork(value = 1)
    public class PagedBytesReferenceReadLongBenchmark {
    
        @Param(value = { "1" })
        private int dataMb;
    
        private BytesReference pagedBytes;
    
        private StreamInput streamInput;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            assertEquals(1, rateLimitHelper.getBlockedIpCount());
    
            // Guava Cache handles expiration automatically
            // Wait for cache to expire and call cleanup
            try {
                Thread.sleep(100L);
            } catch (final InterruptedException e) {
                // ignore
            }
    
            rateLimitHelper.cleanup();
            // After cleanup, the expired entry should be removed
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            this.attrs = attrs;
            this.options = options;
            this.tree = tree.acquire();
            this.tree_num = tree.getTreeId();
    
            if (cfg.isTraceResourceUsage()) {
                this.creationBacktrace = Thread.currentThread().getStackTrace();
            } else {
                this.creationBacktrace = null;
            }
        }
    
        /**
         * @param cfg
         * @param fid
         * @param tree
         * @param unc
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  10. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadVLongBenchmark.java

    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    
    @Warmup(iterations = 5)
    @Measurement(iterations = 7)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Thread)
    @Fork(value = 1)
    public class BytesArrayReadVLongBenchmark {
    
        @Param(value = { "10000000" })
        int entries;
    
        private StreamInput streamInput;
    
        @Setup
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.2K bytes
    - Click Count (0)
Back to Top