Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 514 for 1200 (0.1 sec)

  1. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListenableFuture<?> future = executor.submit(incrementTask);
        assertTrue(future.isDone());
        assertListenerRunImmediately(future);
        assertEquals(1, threadLocalCount.get().intValue());
        otherThread.join(1000);
        assertEquals(Thread.State.TERMINATED, otherThread.getState());
        Throwable throwable = throwableFromOtherThread.get();
        assertNull(
            "Throwable from other thread: "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
                double percentFree = (fileFsFullSizeInfo.getFree() * 100.0) / fileFsFullSizeInfo.getCapacity();
                double percentUsed =
                        ((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity();
    
                // Then
                assertEquals(25.0, percentFree, 0.001);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        }
    
        public void test_setDefaultRowSize() {
            indexingHelper.setDefaultRowSize(50);
            assertEquals(50, indexingHelper.defaultRowSize);
    
            indexingHelper.setDefaultRowSize(1000);
            assertEquals(1000, indexingHelper.defaultRowSize);
        }
    
        public void test_setRequestInterval() {
            indexingHelper.setRequestInterval(1000L);
            assertEquals(1000L, indexingHelper.requestInterval);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertTrue(Striped.lock(100).size() >= 100);
        assertTrue(Striped.lock(256).size() == 256);
        assertTrue(Striped.lazyWeakLock(100).size() >= 100);
        assertTrue(Striped.lazyWeakLock(256).size() == 256);
      }
    
      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertTrue(Striped.lock(100).size() >= 100);
        assertTrue(Striped.lock(256).size() == 256);
        assertTrue(Striped.lazyWeakLock(100).size() >= 100);
        assertTrue(Striped.lazyWeakLock(256).size() == 256);
      }
    
      @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Fingerprint2011.java

    /**
     * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011}
     * for information on the behaviour of the algorithm.
     *
     * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to
     * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds.
     *
     * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            notification.addNewIPAddress(InetAddress.getByName("192.168.1.101"));
    
            client.processNotification(notification);
    
            // Verify notification was delivered
            assertTrue(listener.waitForNotification(1000));
            assertNotNull(listener.getLastNotification());
            assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType());
    
            client.close();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

        /** Name of the logger used for statistics output. */
        protected String loggerName = "fess.log.crawler.stats";
    
        /** Maximum number of statistics objects to cache. */
        protected long maxCacheSize = 1000;
    
        /** Time in milliseconds after which cache entries expire after write. */
        protected long cacheExpireAfterWrite = 10 * 60 * 1000L;
    
        /** Cache for storing statistics objects keyed by crawler object identifiers. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertEquals(message, exception.getMessage());
        }
    
        public void test_veryLongMessage() {
            // Test with very long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Very long error message line ").append(i).append(". ");
            }
            String longMessage = sb.toString();
    
            GsaConfigException exception = new GsaConfigException(longMessage);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            validate(form, messages -> {}, () -> asListHtml(null));
            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
                if (header == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top