/external/glide/library/src/main/java/com/bumptech/glide/util/ |
LruCache.java | 15 private int maxSize; 26 this.maxSize = size; 40 maxSize = Math.round(initialMaxSize * multiplier); 68 return maxSize; 111 if (itemSize >= maxSize) { 167 trimToSize(maxSize);
|
/external/icu/icu4c/source/tools/gencmn/ |
gencmn.c | 51 uint32_t maxSize; 75 "%csage: %s [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -C, --comment comment ] [ -d, --destdir dir ] [ -n, --name filename ] [ -t, --type filetype ] [ -S, --source tocfile ] [ -e, --entrypoint name ] maxsize listfile\n", argc < 0 ? 'u' : 'U', *argv); 79 "file from specified files. Omit any files larger than maxsize, if maxsize > 0.\n"); 104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); 113 maxSize, sourceTOC, verbose, NULL);
|
gencmn.8.in | 41 .I maxsize 56 .I maxsize 58 .I maxsize
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
SendRequest.java | 95 * @param maxSize maximum number of bytes to read 99 final int maxSize) { 110 // Request one extra byte to make sure file not bigger than maxSize 111 final byte[] readBuf = new byte[maxSize+1]; 112 final int bytesRead = inStream.read(readBuf, 0, maxSize+1); 117 if (bytesRead > maxSize) {
|
/external/clang/utils/ABITest/ |
Enumeration.py | 161 def getNthTuple(N, maxSize=aleph0, maxElement=aleph0, useDivmod=False, useLeftToRight=False): 162 """getNthTuple(N, maxSize, maxElement) -> x 164 Return the N-th tuple where len(x) < maxSize and for y in x, 0 <= 172 if maxSize is aleph0: 174 bounds = [maxElement**i for i in range(1, maxSize+1)] 177 S,M = getNthPairBounded(N, maxSize, useDivmod=useDivmod) 179 def getNthTupleChecked(N, maxSize=aleph0, maxElement=aleph0, 181 # FIXME: maxsize is inclusive 182 t = GNT(N,maxSize,maxElement,useDivmod,useLeftToRight) 183 assert len(t) <= maxSize [all...] |
/external/opencv3/modules/features2d/src/ |
keypoint.cpp | 121 SizePredicate( float _minSize, float _maxSize ) : minSize(_minSize), maxSize(_maxSize) 127 return (size < minSize) || (size > maxSize); 130 float minSize, maxSize; 133 void KeyPointsFilter::runByKeypointSize( std::vector<KeyPoint>& keypoints, float minSize, float maxSize ) 136 CV_Assert( maxSize >= 0); 137 CV_Assert( minSize <= maxSize ); 139 keypoints.erase( std::remove_if(keypoints.begin(), keypoints.end(), SizePredicate(minSize, maxSize)),
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
LruPool.java | 114 * @param maxSize Sets the size of the Lru Pool. 116 public LruPool(int maxSize) { 117 this(maxSize, new Configuration<TKey, TValue>()); 120 public LruPool(int maxSize, Configuration<TKey, TValue> configuration) { 121 Preconditions.checkArgument(maxSize > 0, "maxSize must be > 0."); 123 mMaxSize = maxSize;
|
/external/opencv3/modules/cudaimgproc/src/cuda/ |
generalized_hough.cu | 169 PtrStep<short2> r_table, int* r_sizes, int maxSize, 186 if (ind < maxSize) 259 const int maxSize, const float dp, const int threshold) 277 if (ind < maxSize) 285 int Ballard_Pos_findPosInHist_gpu(PtrStepSzi hist, float4* out, int3* votes, int maxSize, float dp, int threshold) 297 Ballard_Pos_findPosInHist<<<grid, block>>>(hist, out, votes, maxSize, dp, threshold); 305 totalCount = ::min(totalCount, maxSize); 464 int* sizes, const int maxSize, 499 if (ind < maxSize) 523 int* sizes, int maxSize, [all...] |
hough_segments.cu | 57 int4* out, const int maxSize, 186 if (ind < maxSize) 206 if (ind < maxSize) 217 int houghLinesProbabilistic_gpu(PtrStepSzb mask, PtrStepSzi accum, int4* out, int maxSize, float rho, float theta, int lineGap, int lineLength) 230 out, maxSize, 241 totalCount = ::min(totalCount, maxSize);
|
/external/skia/src/gpu/ |
GrGpu.cpp | 117 int maxSize = this->caps()->maxTextureSize(); 118 if (desc.fWidth > maxSize || desc.fHeight > maxSize) { 170 int maxSize = this->caps()->maxTextureSize(); 171 if (desc.fWidth > maxSize || desc.fHeight > maxSize) { 206 int maxSize = this->caps()->maxTextureSize(); 207 if (desc.fWidth > maxSize || desc.fHeight > maxSize) {
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DisabledAlgorithmConstraints.java | 402 private int maxSize; // the maximal available key size 409 this.maxSize = Integer.MAX_VALUE; 414 this.maxSize = length; 418 this.maxSize = Integer.MAX_VALUE; 422 this.maxSize = Integer.MAX_VALUE; 426 this.maxSize = length; 430 this.maxSize = length > 1 ? (length - 1) : 0; 435 this.maxSize = -1; 446 return ((size < minSize) || (size > maxSize) ||
|
Cache.java | 253 private int maxSize; 260 public MemoryCache(boolean soft, int maxSize) { 261 this(soft, maxSize, 0); 264 public MemoryCache(boolean soft, int maxSize, int lifetime) { 265 this.maxSize = maxSize; 272 int buckets = (int)(maxSize / LOAD_FACTOR) + 1; 370 if (maxSize > 0 && cacheMap.size() > maxSize) { 372 if (cacheMap.size() > maxSize) { // still too large [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_index.py | 5 maxsize = test_support.MAX_Py_ssize_t variable 6 minsize = -maxsize-1 265 self.assertEqual(x[self.neg:self.pos].indices(maxsize), 266 (0, maxsize, 1)) 267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 268 (0, maxsize, 1)) 281 self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize)) 282 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 283 (0, maxsize, 1))
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_index.py | 5 maxsize = test_support.MAX_Py_ssize_t variable 6 minsize = -maxsize-1 265 self.assertEqual(x[self.neg:self.pos].indices(maxsize), 266 (0, maxsize, 1)) 267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 268 (0, maxsize, 1)) 281 self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize)) 282 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 283 (0, maxsize, 1))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_index.py | 5 maxsize = test_support.MAX_Py_ssize_t variable 6 minsize = -maxsize-1 265 self.assertEqual(x[self.neg:self.pos].indices(maxsize), 266 (0, maxsize, 1)) 267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 268 (0, maxsize, 1)) 281 self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize)) 282 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 283 (0, maxsize, 1))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_index.py | 5 maxsize = test_support.MAX_Py_ssize_t variable 6 minsize = -maxsize-1 265 self.assertEqual(x[self.neg:self.pos].indices(maxsize), 266 (0, maxsize, 1)) 267 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 268 (0, maxsize, 1)) 281 self.assertEqual(x[self.neg:self.pos], (maxint+minsize, maxsize)) 282 self.assertEqual(x[self.neg:self.pos:1].indices(maxsize), 283 (0, maxsize, 1))
|
/ndk/sources/host-tools/make-3.81/ |
strcache.c | 186 int totsize = 0, avgsize, maxsize = 0, minsize = bufsize; local 199 maxsize = (sz > maxsize ? sz : maxsize); 213 prefix, totsize, maxsize, minsize, avgsize);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
BaseContainerView.java | 66 int maxSize = getResources().getDimensionPixelSize(R.dimen.container_max_width); 70 if (maxSize > 0) { 71 mHorizontalPadding = Math.max(minMargin, (width - maxSize) / 2);
|
/external/vboot_reference/utility/ |
chromeos-tpm-recovery-test | 105 maxsize=$(cat space.$index.size) 106 if [ $(($size > $maxsize)) -eq 1 ]; then 107 echo "size $size too large for space (max is $maxsize)" 118 maxsize=$(cat space.$index.size) 119 if [ $(($size > $maxsize)) -eq 1 ]; then 120 echo "size $size too large for space (max is $(($maxsize)))"
|
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
ImageLoader.java | 91 BitmapCache(int maxSize) { 92 super(maxSize);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
BitmapPreFiller.java | 56 final int maxSize = memoryCache.getMaxSize() - memoryCache.getCurrentSize() + bitmapPool.getMaxSize(); 63 final float bytesPerWeight = maxSize / (float) totalWeight;
|
/packages/services/Car/libvehiclenetwork/native/ |
VehicleNetworkProtoUtil.cpp | 440 int maxSize = in.float_maxs_size(); 442 if (maxSize != minSize) { 443 ALOGW("Zoned property 0x%x, config maxSize %d minSize %d", out.prop, maxSize, 447 if (maxSize == 0) { 452 } else if (maxSize == 1) { // one for all 458 if (numZones != maxSize) { 459 ALOGW("Zoned property 0x%x, config maxSize %d num Zones %d", out.prop, maxSize, 501 int maxSize = in.int32_maxs_size() [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSignatureRawRSA.java | 100 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); 101 inputBuffer = new byte[maxSize]; 118 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); 119 inputBuffer = new byte[maxSize];
|
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
DiskLruCache.java | 142 private long maxSize; 176 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { 183 this.maxSize = maxSize; 192 * @param maxSize the maximum number of bytes this cache should use to store 195 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) 197 if (maxSize <= 0) { 198 throw new IllegalArgumentException("maxSize <= 0"); 217 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); 236 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); [all...] |
/external/mesa3d/src/egl/main/ |
eglarray.c | 45 new_size = array->MaxSize; 57 array->MaxSize = new_size; 74 array->MaxSize = (init_size > 0) ? init_size : 1; 107 if (array->Size >= array->MaxSize && !_eglGrowArray(array))
|