- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 183 for constant (0.16 sec)
-
guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE];
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
import static com.google.common.math.StatsTesting.ALL_MANY_VALUES; import static com.google.common.math.StatsTesting.ALL_PAIRED_STATS; import static com.google.common.math.StatsTesting.CONSTANT_VALUES_PAIRED_STATS; import static com.google.common.math.StatsTesting.DUPLICATE_MANY_VALUES_PAIRED_STATS; import static com.google.common.math.StatsTesting.EMPTY_PAIRED_STATS;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
import static com.google.common.math.StatsTesting.ALL_MANY_VALUES; import static com.google.common.math.StatsTesting.ALL_PAIRED_STATS; import static com.google.common.math.StatsTesting.CONSTANT_VALUES_PAIRED_STATS; import static com.google.common.math.StatsTesting.DUPLICATE_MANY_VALUES_PAIRED_STATS; import static com.google.common.math.StatsTesting.EMPTY_PAIRED_STATS;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingWeighers.java
} static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant; ConstantWeigher(int constant) { this.constant = constant; } @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
return count.get(); } } static final class ConstantLoader<K, V> extends CacheLoader<K, V> { private final V constant; ConstantLoader(V constant) { this.constant = constant; } @Override public V load(K key) { return constant; } } /** * Returns a {@code new Object()} for every request, and increments a counter for every request.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed May 09 15:17:25 GMT 2018 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
* load on the garbage collector by only using a constant number of internal objects. * * <p>This class should not be assumed to be universally superior to {@code * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory * consumption at the price of moderately increased constant factors of CPU. Only use this class
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Enums.java
Class<T> enumClass) { synchronized (enumConstantCache) { Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass); if (constants == null) { constants = populateCache(enumClass); } return constants; } } /** * Returns a serializable converter that converts between strings and {@code enum} values of type
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 26 11:56:44 GMT 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Charsets.java
* * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link * java.nio.charset.StandardCharsets#ISO_8859_1} instead. * */ public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1"); /** * UTF-8: eight-bit UCS Transformation Format. * * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/TestingWeighers.java
} static final class ConstantWeigher implements Weigher<Object, Object> { private final int constant; ConstantWeigher(int constant) { this.constant = constant; } @Override public int weigh(Object key, Object value) { return constant; } } static final class IntKeyWeigher implements Weigher<Integer, Object> { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java
long[] xLongs; long[] yLongs; int[] constant; private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL; @BeforeExperiment void setUp() { Random random = new Random(randomSeed); xInts = new int[SAMPLE_SIZE]; yInts = new int[SAMPLE_SIZE]; xLongs = new long[SAMPLE_SIZE]; yLongs = new long[SAMPLE_SIZE]; constant = new int[SAMPLE_SIZE];
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0)