Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for f000 (0.01 sec)

  1. android/guava-tests/test/com/google/common/base/StopwatchTest.java

      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 ns", stopwatch.toString());
        ticker.advance(998);
        assertEquals("999.0 ns", stopwatch.toString());
        ticker.advance(1);
        assertEquals("1.000 \u03bcs", stopwatch.toString());
        ticker.advance(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.start();
    
            // Give the thread time to process exceptions
            Thread.sleep(2000);
    
            // Clean up the thread
            indexUpdater.setFinishCrawling(true);
            indexUpdater.interrupt();
            indexUpdater.join(2000);
    
            // Test passes if no exception is thrown and thread terminates properly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String messageWithSpecialChars = "Error: offset > 1000 && offset < 2000 | \"quotes\" 'single' \n\t tab";
            ResultOffsetExceededException exception = new ResultOffsetExceededException(messageWithSpecialChars);
    
            assertEquals(messageWithSpecialChars, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            for (int i = 0; i < 1000; i++) {
                longMessage.append("Error ").append(i).append(" ");
            }
            String message = longMessage.toString();
    
            DataStoreException exception = new DataStoreException(message);
            assertEquals(message, exception.getMessage());
            assertTrue(exception.getMessage().length() > 5000);
        }
    
        public void test_getLocalizedMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.2);
      }
    
      public void testOneSecondBurst() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        stopwatch.sleepMillis(1000); // max capacity reached
        stopwatch.sleepMillis(1000); // this makes no difference
        limiter.acquire(1); // R0.00, since it's the first request
    
        limiter.acquire(1); // R0.00, from capacity
        limiter.acquire(3); // R0.00, from capacity
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertThat(limiter.acquire()).isWithin(EPSILON).of(0.2);
      }
    
      public void testOneSecondBurst() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        stopwatch.sleepMillis(1000); // max capacity reached
        stopwatch.sleepMillis(1000); // this makes no difference
        limiter.acquire(1); // R0.00, since it's the first request
    
        limiter.acquire(1); // R0.00, from capacity
        limiter.acquire(3); // R0.00, from capacity
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Map<String, String> infoMap = new HashMap<>();
            infoMap.put(Constants.CRAWLER_STATUS, Constants.TRUE);
            infoMap.put("CrawlerStartTime", "2024-01-01T10:00:00");
            infoMap.put("CrawlerEndTime", "2024-01-01T11:00:00");
    
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
                fail("Should not throw exception: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue("Heap is not intact initially", mmHeap.isIntact());
        Iterator<Integer> it = mmHeap.iterator();
        assertEquals((Integer) 1, it.next());
        assertEquals((Integer) 20, it.next());
        assertEquals((Integer) 1000, it.next());
        assertEquals((Integer) 2, it.next());
        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

       */
      @GwtIncompatible // QueuingRemovalListener
    
      public void testRemovalNotification_get_basher() throws InterruptedException {
        int nTasks = 1000;
        int nThreads = 100;
        int getsPerTask = 1000;
        int nUniqueKeys = 10000;
        Random random = new Random(); // Randoms.insecureRandom();
    
        QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

       */
      @GwtIncompatible // QueuingRemovalListener
    
      public void testRemovalNotification_get_basher() throws InterruptedException {
        int nTasks = 1000;
        int nThreads = 100;
        int getsPerTask = 1000;
        int nUniqueKeys = 10000;
        Random random = new Random(); // Randoms.insecureRandom();
    
        QueuingRemovalListener<String, String> removalListener = queuingRemovalListener();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top