/libcore/luni/src/main/java/libcore/util/ |
D | BasicLruCache.java | 31 private final int maxSize; field in BasicLruCache 34 public BasicLruCache(int maxSize) { in BasicLruCache() argument 35 if (maxSize <= 0) { in BasicLruCache() 38 this.maxSize = maxSize; in BasicLruCache() 73 trimToSize(maxSize); in get() 96 trimToSize(maxSize); in put() 100 private void trimToSize(int maxSize) { in trimToSize() argument 101 while (map.size() > maxSize) { in trimToSize()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Cache.java | 253 private int maxSize; field in MemoryCache 260 public MemoryCache(boolean soft, int maxSize) { in MemoryCache() argument 261 this(soft, maxSize, 0); in MemoryCache() 264 public MemoryCache(boolean soft, int maxSize, int lifetime) { in MemoryCache() argument 265 this.maxSize = maxSize; in MemoryCache() 272 int buckets = (int)(maxSize / LOAD_FACTOR) + 1; in MemoryCache() 370 if (maxSize > 0 && cacheMap.size() > maxSize) { in put() 372 if (cacheMap.size() > maxSize) { // still too large? in put() 425 maxSize = size > 0 ? size : 0; in setCapacity()
|
D | DisabledAlgorithmConstraints.java | 471 private int maxSize; // the maximal available key size field in DisabledAlgorithmConstraints.KeySizeConstraint 479 this.maxSize = Integer.MAX_VALUE; in KeySizeConstraint() 484 this.maxSize = length; in KeySizeConstraint() 488 this.maxSize = Integer.MAX_VALUE; in KeySizeConstraint() 492 this.maxSize = Integer.MAX_VALUE; in KeySizeConstraint() 496 this.maxSize = length; in KeySizeConstraint() 500 this.maxSize = length > 1 ? (length - 1) : 0; in KeySizeConstraint() 505 this.maxSize = -1; in KeySizeConstraint() 555 return !((size < minSize) || (size > maxSize) || in permitsImpl()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | MemoryCache.java | 24 public MemoryCache(boolean soft, int maxSize) { in MemoryCache() argument 28 public MemoryCache(boolean soft, int maxSize, int lifetime) { in MemoryCache() argument 93 private int maxSize; field in MemoryCache
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoublePipeline.java | 352 public final DoubleStream limit(long maxSize) { 353 if (maxSize < 0) 354 throw new IllegalArgumentException(Long.toString(maxSize)); 355 return SliceOps.makeDouble(this, (long) 0, maxSize);
|
D | IntPipeline.java | 389 public final IntStream limit(long maxSize) { 390 if (maxSize < 0) 391 throw new IllegalArgumentException(Long.toString(maxSize)); 392 return SliceOps.makeInt(this, 0, maxSize);
|
D | LongPipeline.java | 370 public final LongStream limit(long maxSize) { 371 if (maxSize < 0) 372 throw new IllegalArgumentException(Long.toString(maxSize)); 373 return SliceOps.makeLong(this, 0, maxSize);
|
D | ReferencePipeline.java | 415 public final Stream<P_OUT> limit(long maxSize) { 416 if (maxSize < 0) 417 throw new IllegalArgumentException(Long.toString(maxSize)); 418 return SliceOps.makeRef(this, 0, maxSize);
|
D | DoubleStream.java | 251 DoubleStream limit(long maxSize); in limit() argument
|
D | IntStream.java | 244 IntStream limit(long maxSize); in limit() argument
|
D | LongStream.java | 249 LongStream limit(long maxSize); in limit() argument
|
D | Stream.java | 450 Stream<T> limit(long maxSize); in limit() argument
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | IcuZoneRulesProvider.java | 297 ZoneRulesCache(int maxSize) { in ZoneRulesCache() argument 298 super(maxSize); in ZoneRulesCache()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Security.java | 940 int maxSize = Integer.parseInt(prop); in isConstraintSatisfied() local 941 if (requestedSize <= maxSize) { in isConstraintSatisfied()
|