- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 247 for 1000KB (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/util/SmbCircuitBreaker.java
if (total == 0) { return 100.0; } return (totalSuccesses.get() * 100.0) / total; } /** * Calculate availability * * @return availability as percentage (0-100) */ private double calculateAvailability() { long total = totalRequests.get(); if (total == 0) { return 100.0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
} public void testByteArrayRoundTrips() { Random r = new Random(5); byte[] b = new byte[Ints.BYTES]; // total overkill, but, it takes 0.1 sec so why not... for (int i = 0; i < 10000; i++) { int num = r.nextInt(); assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num); r.nextBytes(b); assertThat(Ints.toByteArray(Ints.fromByteArray(b))).isEqualTo(b); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
// Defer correctness tests to Long.isPrime // Check the first 100,000 integers for (int i = 0; i < 100000; i++) { assertEquals(LongMath.isPrime(i), IntMath.isPrime(i)); } // Then check 1000 deterministic pseudo-random int values. Random rand = new Random(1); for (int i = 0; i < 1000; i++) { int n = rand.nextInt(Integer.MAX_VALUE); assertEquals(LongMath.isPrime(n), IntMath.isPrime(n));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
String query = "*"; int allRecordCount = 1000; int pageSize = 100; int offset = 0; try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) { rankFusionProcessor.setSearcher(new TestMainSearcher(allRecordCount)); rankFusionProcessor.register(new TestSubSearcher(10, 0, 0)); rankFusionProcessor.init();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
} /** Interval for checking user information in milliseconds (default: 10 minutes). */ protected long userCheckInterval = 10 * 60 * 1000L; // 10 min /** Maximum size of the user information cache. */ protected int userInfoCacheSize = 10000; /** Queue for storing search logs. */ protected Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>(); /** Queue for storing click logs. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 29.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
/** * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked. */ private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000; /** * Various scenarios to be generated for each method under test. The actual scenario generation * (determining which scenarios are applicable to which methods and what the outcome should be)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
*/ @J2ktIncompatible @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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
*/ @J2ktIncompatible @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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
/** * How long to wait when determining that a thread is blocked if we DON'T expect it to be blocked. */ private static final long UNEXPECTED_HANG_DELAY_MILLIS = 10000; /** * Various scenarios to be generated for each method under test. The actual scenario generation * (determining which scenarios are applicable to which methods and what the outcome should be)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
} @Test fun multipleSettingsFramesAreMerged() { // Write the mocking script. val settings1 = Settings() settings1[Settings.HEADER_TABLE_SIZE] = 10000 settings1[Settings.INITIAL_WINDOW_SIZE] = 20000 settings1[Settings.MAX_FRAME_SIZE] = 30000 peer.sendFrame().settings(settings1) peer.acceptFrame() // ACK SETTINGS val settings2 = Settings()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0)