Searched defs:maxSize (Results 1 - 25 of 74) sorted by relevance

123

/external/v8/test/mjsunit/regress/
H A Dregress-319722-TypedArrays.js30 var maxSize = %_MaxSmi() + 1; variable
33 new constr(maxSize);
H A Dregress-319722-ArrayBuffer.js29 var maxSize = %_MaxSmi() + 1; variable
35 ab = new ArrayBuffer(maxSize * k);
45 new constr(ab, 0, maxSize);
/external/icu/icu4c/source/tools/gencmn/
H A Dgencmn.c51 uint32_t maxSize; local
104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0);
113 maxSize, sourceTOC, verbose, NULL);
/external/jetty/src/java/org/eclipse/jetty/io/
H A DBuffersFactory.java23 public static Buffers newBuffers(Buffers.Type headerType, int headerSize, Buffers.Type bufferType, int bufferSize, Buffers.Type otherType,int maxSize) argument
25 if (maxSize>=0)
26 return new PooledBuffers(headerType,headerSize,bufferType,bufferSize,otherType,maxSize);
H A DPooledBuffers.java36 public PooledBuffers(Buffers.Type headerType, int headerSize, Buffers.Type bufferType, int bufferSize, Buffers.Type otherType,int maxSize) argument
44 _maxSize=maxSize;
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
H A DShortArrayCodeOutput.java30 * @param maxSize the maximum number of code units that will be written
32 public ShortArrayCodeOutput(int maxSize) { argument
33 if (maxSize < 0) {
34 throw new IllegalArgumentException("maxSize < 0");
37 this.array = new short[maxSize];
/external/guava/guava/src/com/google/common/collect/
H A DEvictingQueue.java51 final int maxSize; field in class:EvictingQueue
53 private EvictingQueue(int maxSize) { argument
54 checkArgument(maxSize >= 0, "maxSize (%s) must >= 0", maxSize);
56 this.maxSize = maxSize;
60 * Creates and returns a new evicting queue that will hold up to {@code maxSize} elements.
62 * <p>When {@code maxSize} is zero, elements will be evicted immediately after being added to the
65 public static <E> EvictingQueue<E> create(int maxSize) { argument
[all...]
/external/lzma/CPP/Windows/
H A DFileMapping.h15 WRes Create(DWORD protect, UInt64 maxSize, LPCTSTR name) argument
17 _handle = ::CreateFileMapping(INVALID_HANDLE_VALUE, NULL, protect, (DWORD)(maxSize >> 32), (DWORD)maxSize, name);
/external/skia/src/codec/
H A DSkCodec.cpp56 const int32_t maxSize = 1 << 27; local
57 if (codec && codec->getInfo().width() * codec->getInfo().height() > maxSize) {
H A DSkCodec_libico.cpp167 uint32_t maxSize = 0; local
172 if (size > maxSize) {
173 maxSize = size;
/external/aac/libAACenc/src/
H A DaacEnc_ram.h156 #define maxSize(a,b) ( ((a)>(b)) ? (a) : (b) ) macro
177 #define BUF_SIZE_1 ( ALIGN_SIZE(maxSize(sizeof(PSY_DYNAMIC), \
/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp197 int maxSize = 0; local
198 gl.getIntegerv(GL_MAX_RENDERBUFFER_SIZE, &maxSize);
200 width = (width == glu::RenderConfig::DONT_CARE) ? maxSize : width;
201 height = (height == glu::RenderConfig::DONT_CARE) ? maxSize : height;
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
H A DDiskLruCacheWrapper.java30 private final int maxSize; field in class:DiskLruCacheWrapper
39 * @param maxSize The max size for the disk cache
42 public static synchronized DiskCache get(File directory, int maxSize) { argument
45 wrapper = new DiskLruCacheWrapper(directory, maxSize);
50 protected DiskLruCacheWrapper(File directory, int maxSize) { argument
52 this.maxSize = maxSize;
58 diskLruCache = DiskLruCache.open(directory, APP_VERSION, VALUE_COUNT, maxSize);
/external/glide/library/src/main/java/com/bumptech/glide/util/
H A DLruCache.java15 private int maxSize; field in class:LruCache
26 this.maxSize = size;
40 maxSize = Math.round(initialMaxSize * multiplier);
68 return maxSize;
111 if (itemSize >= maxSize) {
167 trimToSize(maxSize);
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
H A DAndroidShimResponseCache.java42 public static AndroidShimResponseCache create(File directory, long maxSize) throws IOException { argument
43 Cache cache = new Cache(directory, maxSize);
47 public boolean isEquivalent(File directory, long maxSize) { argument
50 && installedCache.getMaxSize() == maxSize
84 * this cache. This may be greater than the {@link #maxSize} if a background
95 public long maxSize() { method in class:AndroidShimResponseCache
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
H A DHttpResponseCache.java67 * @param maxSize the maximum size of the cache in bytes.
73 public static synchronized HttpResponseCache install(File directory, long maxSize) throws argument
81 if (trueResponseCache.isEquivalent(directory, maxSize)) {
90 AndroidShimResponseCache.create(directory, maxSize);
107 * this cache. This may be greater than the {@link #maxSize} if a background
123 public long maxSize() { method in class:HttpResponseCache
124 return shimResponseCache.maxSize();
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegisterSpecSet.java43 * @param maxSize {@code >= 0;} the maximum register number (exclusive) that
46 public RegisterSpecSet(int maxSize) { argument
47 super(maxSize != 0);
49 this.specs = new RegisterSpec[maxSize];
/external/proguard/src/proguard/evaluation/
H A DTracedStack.java47 public TracedStack(int maxSize) argument
49 super(maxSize);
51 producerStack = new Stack(maxSize);
52 actualProducerStack = new Stack(maxSize);
H A DStack.java47 public Stack(int maxSize) argument
49 values = new Value[maxSize];
79 public void reset(int maxSize) argument
82 if (maxSize > values.length)
85 values = new Value[maxSize];
/external/skia/tests/
H A DPackBitsTest.cpp52 size_t maxSize = SkPackBits::ComputeMaxSize16(size); local
53 REPORTER_ASSERT(reporter, maxSize >= dstSize);
87 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); local
90 REPORTER_ASSERT(reporter, dstSize <= maxSize);
106 size_t maxSize = SkPackBits::ComputeMaxSize8(size); local
107 REPORTER_ASSERT(reporter, maxSize >= dstSize);
/external/eigen/test/
H A Dnomalloc.cpp104 const int maxSize = 16; local
110 maxSize, maxSize> Matrix;
115 maxSize, 1> Vector;
120 maxSize, maxSize> ComplexMatrix;
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DLruBitmapPool.java28 private int maxSize; field in class:LruBitmapPool
36 LruBitmapPool(int maxSize, LruPoolStrategy strategy) { argument
37 this.initialMaxSize = maxSize;
38 this.maxSize = maxSize;
46 * @param maxSize The initial maximum size of the pool in bytes.
48 public LruBitmapPool(int maxSize) { argument
49 this(maxSize, getDefaultStrategy());
54 return maxSize;
59 maxSize
[all...]
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheTesting.java375 * Assuming the given cache has maximum size {@code maxSize}, this method populates the cache (by
381 static void checkRecency(LoadingCache<Integer, Integer> cache, int maxSize, argument
385 warmUp(cache, 0, 2 * maxSize);
390 assertEquals(maxSize, accessQueueSize(cache));
391 assertEquals(maxSize, cache.size());
/external/icu/icu4c/source/tools/toolutil/
H A Dpkg_gencmn.c77 static uint32_t maxSize; variable
134 maxSize = max_size;
458 /* do not add files that are longer than maxSize */
459 if(maxSize && length>maxSize) {
461 printf("%s ignored (size %ld > %ld)\n", fullPath, (long)length, (long)maxSize);
/external/libnfc-nxp/src/
H A DphFriNfc_NdefMap.c1239 NFCSTATUS phFriNfc_NdefMap_GetContainerSize(const phFriNfc_NdefMap_t *NdefMap,uint32_t *maxSize, uint32_t *actualSize) argument
1246 if( (NdefMap == NULL) || (maxSize == NULL) || (actualSize == NULL))
1262 *maxSize = NdefMap->MifareULContainer.RemainingSize;
1280 *maxSize = NdefMap->DesfireCapContainer.NdefFileSize - 2;
1293 *maxSize = NdefMap->TopazContainer.RemainingSize;
1304 *maxSize = NdefMap->TopazContainer.NDEFRWSize;
1321 *maxSize = NdefMap->StdMifareContainer.remainingSize;
1365 *maxSize = (((30 * (16 * 3)) + (sect_index * (16 * 15))) - 4);
1369 *maxSize = (((actual_sect_index - 1) * (16 * 3)) - 4);
1373 *maxSize
[all...]

Completed in 659 milliseconds

123