Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 356 for Timeouts (0.05 sec)

  1. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public boolean calibrateCpuLoad() {
            return calibrateCpuLoad(0L);
        }
    
        /**
         * Calibrates the CPU load with a timeout.
         *
         * @param timeoutInMillis The timeout in milliseconds.
         * @return true if the CPU load is within the acceptable range, false otherwise.
         */
        public boolean calibrateCpuLoad(final long timeoutInMillis) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
      }
    
      /*
       * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has
       * a better chance of completing each within its per-test-method timeout.
       */
    
      public void testFuzzyCompare0() {
        runTestFuzzyCompare(0);
      }
    
      public void testFuzzyCompare1() {
        runTestFuzzyCompare(1);
      }
    
      public void testFuzzyCompare2() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

          for (Thread hook : hooks) {
            hook.start();
          }
          for (Thread hook : hooks) {
            hook.join();
          }
        }
      }
    
      /* Half of a 1-second timeout in nanoseconds */
      private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2;
    
      public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount"));
            assertEquals(0, getFieldValue(netServerEnum2, "setupCount"));
            assertEquals(5000, getFieldValue(netServerEnum2, "timeout"));
        }
    
        @Test
        @DisplayName("Test constructor with empty domain")
        void testConstructorEmptyDomain() {
            String domain = "";
            int serverTypes = NetServerEnum2.SV_TYPE_DOMAIN_ENUM;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                    }
                });
            }
    
            startLatch.countDown(); // Start all threads
            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            long overallEnd = System.nanoTime();
            double overallTimeMs = (overallEnd - overallStart) / 1_000_000.0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.util.transport.TransportException;
    
    /**
     * This class encapsulates the logic for switching tree connections
     *
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
     *
     * @author mbechler
     *
     */
    class SmbTreeConnection implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeConnection.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testSignSeqProperty() {
                testBlock.setSignSeq(42);
                assertEquals(42, testBlock.getSignSeq());
            }
    
            @Test
            @DisplayName("Test override timeout property")
            void testOverrideTimeoutProperty() {
                assertNull(testBlock.getOverrideTimeout());
                testBlock.setOverrideTimeout(5000);
                assertEquals(5000, testBlock.getOverrideTimeout());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    }
                }
            }
    
            /**
             * Waits for the crawling thread to terminate within a specified time limit.
             * This method blocks until the thread completes or the timeout expires.
             *
             * @param mills maximum time to wait in milliseconds
             */
            public void awaitTermination(final long mills) {
                try {
                    join(mills);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                        latch.countDown();
                    }
                });
            }
    
            // Then
            assertTrue(latch.await(10, TimeUnit.SECONDS), "Concurrent test should complete within timeout");
            executor.shutdown();
            assertEquals(0, collisions.get(), "No nonce collisions should occur in concurrent generation");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                    }
                });
            }
    
            startLatch.countDown();
            boolean completed = endLatch.await(30, TimeUnit.SECONDS);
            assertTrue("Test should complete within timeout", completed);
            executor.shutdown();
    
            assertEquals(threadCount * operationsPerThread * 2, successCount.get());
            assertEquals(threadCount * operationsPerThread, transformer.getTransformCallCount());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top