OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:constantWeigher
(Results
1 - 5
of
5
) sorted by null
/external/guava/guava-tests/test/com/google/common/cache/
TestingWeighers.java
27
static Weigher<Object, Object>
constantWeigher
(int constant) {
28
return new
ConstantWeigher
(constant);
45
static final class
ConstantWeigher
implements Weigher<Object, Object> {
48
ConstantWeigher
(int constant) {
CacheEvictionTest.java
19
import static com.google.common.cache.TestingWeighers.
constantWeigher
;
58
.weigher(
constantWeigher
(1))
84
.weigher(
constantWeigher
(2))
119
.weigher(
constantWeigher
(2))
140
.weigher(
constantWeigher
(Integer.MAX_VALUE))
CacheBuilderTest.java
24
import static com.google.common.cache.TestingWeighers.
constantWeigher
;
211
.weigher(
constantWeigher
(42));
222
.weigher(
constantWeigher
(42))
229
.weigher(
constantWeigher
(42));
CacheBuilderSpecTest.java
20
import static com.google.common.cache.TestingWeighers.
constantWeigher
;
496
.weigher(
constantWeigher
(42))
511
.weigher(
constantWeigher
(42))
LocalCacheTest.java
27
import static com.google.common.cache.TestingWeighers.
constantWeigher
;
325
.weigher(
constantWeigher
(1)));
[
all
...]
Completed in 2552 milliseconds