- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 90 for small (0.17 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
builder.initialCapacity(16); fail(); } catch (IllegalStateException expected) { } } @GwtIncompatible // CacheTesting public void testInitialCapacity_small() { LoadingCache<?, ?> cache = CacheBuilder.newBuilder().initialCapacity(5).build(identityLoader()); LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); assertThat(map.segments).hasLength(4);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* * <p>Note that this function is necessarily well-defined for any discrete type. * * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if * the distance is too small or too large, respectively. */ public abstract long distance(C start, C end); /** * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
* limitations under the License. */ package com.google.common.cache; import static com.google.common.cache.CacheBuilder.EMPTY_STATS; import static com.google.common.cache.LocalCacheTest.SMALL_MAX_SIZE; import static com.google.common.cache.TestingCacheLoaders.identityLoader; import static com.google.common.truth.Truth.assertThat; import com.google.common.cache.LocalCache.LocalLoadingCache;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 12.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
* * @author Osvaldo Doederlein */ public class ToStringHelperBenchmark { @Param({"0", "1", "5"}) int dataSize; @Param({"false", "true"}) boolean omitNulls; enum Dataset { SMALL { void addEntries(MoreObjects.ToStringHelper helper) { helper .add(SHORT_NAME, 10) .addValue(10L) .add(SHORT_NAME, 3.14f) .addValue(3.14d)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 14 22:05:11 GMT 2021 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
the key was too small, but at any rate it would not open any of them. However, on the second time round, she came upon a low curtain she had not noticed before, and behind it was a little door about fifteen inches high: she tried the little golden key in the lock, and to her great delight it fitted! Alice opened the door and found that it led into a small
Plain Text - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 29 21:35:03 GMT 2012 - 145.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
int numStripes; @Param Impl impl; enum Impl { EAGER { @Override Striped<Lock> get(int stripes) { return Striped.lock(stripes); } }, LAZY_SMALL { @Override Striped<Lock> get(int stripes) { return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER); } }, LAZY_LARGE { @Override Striped<Lock> get(int stripes) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
int numStripes; @Param Impl impl; enum Impl { EAGER { @Override Striped<Lock> get(int stripes) { return Striped.lock(stripes); } }, LAZY_SMALL { @Override Striped<Lock> get(int stripes) { return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER); } }, LAZY_LARGE { @Override Striped<Lock> get(int stripes) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java
assertEscaping(xmlEscaper, "\uFFFD", ch); } } // Test _all_ allowed characters (including surrogate values). for (char ch = 0x20; ch <= 0xFFFD; ch++) { // There are a small number of cases to consider, so just do it manually. if (ch == '&') { assertEscaping(xmlEscaper, "&", ch); } else if (ch == '<') { assertEscaping(xmlEscaper, "<", ch);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
this.safeOctets = createSafeOctets(safeChars); } /** * Creates a boolean array with entries corresponding to the character values specified in * safeChars set to true. The array is as small as is required to hold the given character * information. */ private static boolean[] createSafeOctets(String safeChars) { int maxChar = -1; char[] safeCharArray = safeChars.toCharArray();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* * @author Dimitris Andreou * @since 13.0 */ // TODO(user): switch to nano precision. A natural unit of cost is "bytes", and a micro precision // would mean a maximum rate of "1MB/s", which might be small in some cases. @Beta @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public abstract class RateLimiter { /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 18.2K bytes - Viewed (0)