- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 212 for THREE (0.02 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (int i = 0; i < 8; i++) { limiter.acquire(); // // #1 } stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire) for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period limiter.acquire(); // #3 } limiter.setRate(4.0); // double the rate! limiter.acquire(); // #4, we repay the debt of the last acquire (imposed by the old rate)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (int i = 0; i < 8; i++) { limiter.acquire(); // // #1 } stopwatch.sleepMillis(4500); // #2: back to cold state (warmup period + repay last acquire) for (int i = 0; i < 3; i++) { // only three steps, we're somewhere in the warmup period limiter.acquire(); // #3 } limiter.setRate(4.0); // double the rate! limiter.acquire(); // #4, we repay the debt of the last acquire (imposed by the old rate)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertEquals("single", singleKeyword[0]); } @Test public void testParseQueryWithTooManyTerms() { // Test query with more than MAX_QUERY_TERM_NUM (5) terms String query = "one two three four five six seven"; String field = "content"; String[] keywords = SuggestUtil.parseQuery(query, field); assertNotNull(keywords); assertEquals(0, keywords.length); // Should return empty array
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hasher.java
* resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they * were inserted, not how those bytes were chunked into discrete put() operations. For example, the * following three expressions all generate colliding hash codes: * * {@snippet : * newHasher().putByte(b1).putByte(b2).putByte(b3).hash() * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
List<Double> one = Arrays.asList(1.0); assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1); double[] array = {0.0, 1.0, Math.PI}; List<Double> three = Arrays.asList(0.0, 1.0, Math.PI); assertThat(Doubles.toArray(three)).isEqualTo(array); assertThat(Doubles.toArray(Doubles.asList(array))).isEqualTo(array); } public void testToArray_threadSafe() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
List<Long> one = Arrays.asList(1L); assertThat(Longs.toArray(one)).isEqualTo(ARRAY1); long[] array = {0L, 1L, 0x0FF1C1AL}; List<Long> three = Arrays.asList(0L, 1L, 0x0FF1C1AL); assertThat(Longs.toArray(three)).isEqualTo(array); assertThat(Longs.toArray(Longs.asList(array))).isEqualTo(array); } public void testToArray_threadSafe() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
List<Short> one = Arrays.asList((short) 1); assertThat(Shorts.toArray(one)).isEqualTo(ARRAY1); short[] array = {(short) 0, (short) 1, (short) 3}; List<Short> three = Arrays.asList((short) 0, (short) 1, (short) 3); assertThat(Shorts.toArray(three)).isEqualTo(array); assertThat(Shorts.toArray(Shorts.asList(array))).isEqualTo(array); } public void testToArray_threadSafe() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
cmd/veeam-sos-api.go
// - SOSAPI Protocol Version // - Model Name of the vendor plus version for statistical analysis. // - List of Smart Object Storage protocol capabilities supported by the server. // Currently, there are three capabilities supported: // - Capacity Reporting // - Backup data locality for upload sessions (Veeam Smart Entity)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
User user1 = createTestUser("user1", "User One"); User user2 = createTestUser("user2", "User Two"); User user3 = createTestUser("user3", "User Three"); chain.update(user1); chain.update(user2); chain.update(user3); assertEquals(3, chain.updateCalls.size()); assertEquals(user1, chain.updateCalls.get(0));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* * {@snippet : * static final ImmutableBiMap<String, Integer> WORD_TO_INT = * new ImmutableBiMap.Builder<String, Integer>() * .put("one", 1) * .put("two", 2) * .put("three", 3) * .buildOrThrow(); * } * * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods are even more * convenient. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0)