HomeSort by relevance Sort by last modified time
    Searched full:maxsize (Results 26 - 50 of 831) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
Queue.py 24 If maxsize is <= 0, the queue size is infinite.
26 def __init__(self, maxsize=0):
27 self.maxsize = maxsize
28 self._init(maxsize)
103 n = 0 < self.maxsize == self._qsize()
120 if self.maxsize > 0:
122 if self._qsize() == self.maxsize:
125 while self._qsize() == self.maxsize:
131 while self._qsize() == self.maxsize
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
Queue.py 24 If maxsize is <= 0, the queue size is infinite.
26 def __init__(self, maxsize=0):
27 self.maxsize = maxsize
28 self._init(maxsize)
103 n = 0 < self.maxsize == self._qsize()
120 if self.maxsize > 0:
122 if self._qsize() == self.maxsize:
125 while self._qsize() == self.maxsize:
131 while self._qsize() == self.maxsize
    [all...]
  /external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
AndroidShimResponseCache.java 42 public static AndroidShimResponseCache create(File directory, long maxSize) throws IOException {
43 Cache cache = new Cache(directory, maxSize);
47 public boolean isEquivalent(File directory, long maxSize) {
50 && installedCache.getMaxSize() == maxSize
84 * this cache. This may be greater than the {@link #maxSize} if a background
95 public long maxSize() {
  /external/v8/test/mjsunit/regress/
regress-319722-ArrayBuffer.js 29 var maxSize = %_MaxSmi() + 1;
35 ab = new ArrayBuffer(maxSize * k);
45 new constr(ab, 0, maxSize);
regress-319722-TypedArrays.js 30 var maxSize = %_MaxSmi() + 1;
33 new constr(maxSize);
  /packages/apps/Camera2/src/com/android/camera/data/
GlideFilmstripManager.java 187 * to fit within the maxSize bounding box and to be less than the provided area.
191 private static Size clampSize(Size original, double maxArea, Size maxSize) {
193 original.getWidth() < maxSize.getWidth() &&
194 original.getHeight() < maxSize.getHeight()) {
208 if (width > maxSize.width() || height > maxSize.height()) {
209 return computeFitWithinSize(original, maxSize);
215 private static Size computeFitWithinSize(Size original, Size maxSize) {
216 double widthRatio = (double) maxSize.width() / original.width();
217 double heightRatio = (double) maxSize.height() / original.height()
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_priority_queue.h 48 AK_FORCE_INLINE void setMaxSize(const int maxSize) {
49 mMaxSize = maxSize;
56 AK_FORCE_INLINE void clearAndResize(const int maxSize) {
57 mMaxSize = maxSize;
  /external/opencv/cv/src/
cvcanny.cpp 66 int mapstep, maxsize; local
134 maxsize = MAX( 1 << 10, size.width*size.height/10 );
135 CV_CALL( stack_top = stack_bottom = (uchar**)cvAlloc( maxsize*sizeof(stack_top[0]) ));
219 if( (stack_top - stack_bottom) + size.width > maxsize )
222 maxsize = MAX( maxsize * 3/2, maxsize + size.width );
223 CV_CALL( new_stack_bottom = (uchar**)cvAlloc( maxsize * sizeof(stack_top[0])) );
308 if( (stack_top - stack_bottom) + 8 > maxsize )
311 maxsize = MAX( maxsize * 3/2, maxsize + 8 )
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_build.c 351 unsigned maxsize )
357 if( maxsize <= size )
372 if (maxsize <= size)
386 if (maxsize <= size) {
400 if (maxsize <= size) {
416 if( maxsize <= size )
435 if (maxsize <= size)
449 if (maxsize <= size) {
465 if (maxsize <= size) {
547 unsigned maxsize )
    [all...]
  /external/clang/utils/ABITest/
TypeGen.py 324 def __init__(self, typeGen, maxSize, useIncomplete=False, useZero=False):
329 self.maxSize = int(maxSize)
330 self.W = useIncomplete + useZero + self.maxSize
352 def __init__(self, typeGen, useUnion, maxSize):
356 self.maxSize = int(maxSize)
361 if self.maxSize is aleph0:
365 for i in range(self.maxSize+1):
373 fields = map(self.typeGen.get,getNthTuple(I,self.maxSize,self.typeGen.cardinality)
    [all...]
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
HttpResponseCache.java 67 * @param maxSize the maximum size of the cache in bytes.
73 public static synchronized HttpResponseCache install(File directory, long maxSize) throws
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() {
124 return shimResponseCache.maxSize();
  /cts/tests/camera/src/android/hardware/camera2/cts/
ImageWriterTest.java 188 Size maxSize = sizes.get(0);
190 Log.v(TAG, "Testing size " + maxSize);
195 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, listenerForCamera);
202 mReaderForWriter = createImageReader(maxSize, format, MAX_NUM_IMAGES, listenerForWriter);
249 validateOpaqueImages(maxSize, listenerForCamera, listenerForWriter, captureListener,
279 String img1FileName = DEBUG_FILE_NAME_BASE + "/" + maxSize + "_image1_copy.yuv";
280 String outputImg1FileName = DEBUG_FILE_NAME_BASE + "/" + maxSize
299 String img2FileName = DEBUG_FILE_NAME_BASE + "/" + maxSize + "_image2.yuv";
316 String outputImgFileName = DEBUG_FILE_NAME_BASE + "/" + maxSize +
336 private void validateOpaqueImages(Size maxSize, SimpleImageReaderListener listenerForCamera
    [all...]
  /external/compiler-rt/test/profile/
instrprof-without-libc.c 25 const uint64_t MaxSize = 10000;
26 static char Buffer[MaxSize];
29 if (Size > MaxSize)
  /external/jetty/src/java/org/eclipse/jetty/io/
BuffersFactory.java 23 public static Buffers newBuffers(Buffers.Type headerType, int headerSize, Buffers.Type bufferType, int bufferSize, Buffers.Type otherType,int maxSize)
25 if (maxSize>=0)
26 return new PooledBuffers(headerType,headerSize,bufferType,bufferSize,otherType,maxSize);
  /external/pcre/dist/doc/html/
pcre_jit_stack_alloc.html 23 <b> int <i>maxsize</i>);</b>
27 <b> int <i>maxsize</i>);</b>
31 <b> int <i>maxsize</i>);</b>
  /external/compiler-rt/test/lsan/TestCases/
large_allocation_leak.cc 10 // maxsize in primary allocator is always less than this (1 << 25).
  /external/pdfium/xfa/src/fxbarcode/datamatrix/
BC_EncoderContext.h 20 void setSizeConstraints(CBC_Dimension* minSize, CBC_Dimension* maxSize);
  /frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
FakeBackgroundService.java 92 int maxSize = display.getMaximumSizeDimension();
93 maxSize *= 2;
94 lp.x = maxSize;
95 lp.y = maxSize;
  /external/elfutils/libelf/
elf_begin.c 53 file_read_ar (int fildes, void *map_address, off_t offset, size_t maxsize,
59 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent,
76 size_t maxsize)
147 if (unlikely (ehdr.e32->e_shoff >= maxsize)
148 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr)))
185 if (ehdr.e32->e_shoff > maxsize
186 || maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr) * result)
196 if (unlikely (ehdr.e64->e_shoff >= maxsize)
197 || unlikely (ehdr.e64->e_shoff + sizeof (Elf64_Shdr) > maxsize))
237 if (ehdr.e64->e_shoff > maxsize
942 size_t maxsize; local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
ObjectCache.java 45 public ObjectCache(Callback<T> callbacks, int maxSize) {
47 mMaxSize = maxSize;
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/
fix_renames.py 4 * sys.maxint -> sys.maxsize
13 MAPPING = {"sys": {"maxint" : "maxsize"},
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/
fix_renames.py 4 * sys.maxint -> sys.maxsize
13 MAPPING = {"sys": {"maxint" : "maxsize"},
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_renames.py 4 * sys.maxint -> sys.maxsize
13 MAPPING = {"sys": {"maxint" : "maxsize"},
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_renames.py 4 * sys.maxint -> sys.maxsize
13 MAPPING = {"sys": {"maxint" : "maxsize"},
  /cts/tests/tests/media/src/android/media/cts/
MidiSoloTest.java 125 int maxSize = 11;
126 MyMidiReceiver myReceiver = new MyMidiReceiver(maxSize);
127 assertEquals("MidiReceiver set size wrong.", maxSize,
161 int maxSize = 11;
162 MyMidiReceiver myReceiver = new MyMidiReceiver(maxSize);
163 assertEquals("MidiReceiver set size wrong.", maxSize,

Completed in 1638 milliseconds

12 3 4 5 6 7 8 91011>>