Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 15 of 15) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/util/
DIdentityHashMap.java61 transient int threshold; field in IdentityHashMap
256 threshold = getThreshold(maxSize);
270 int arraySize = (int) (((long) threshold * 10000) / loadFactor) * 2;
465 if (++size > threshold) {
517 threshold = (int) ((long) (elementData.length / 2) * loadFactor / 10000);
803 threshold = getThreshold(DEFAULT_MAX_SIZE);
DHashMap.java100 private transient int threshold; field in HashMap
113 threshold = -1; // Forces first put invocation to replace EMPTY_TABLE in HashMap()
133 threshold = -1; // Forces first put() to replace EMPTY_TABLE in HashMap()
390 if (size++ > threshold) { in put()
544 threshold = (newCapacity >> 1) + (newCapacity >> 2); // 3/4 capacity in makeTable()
DHashtable.java104 private transient int threshold; field in Hashtable
118 threshold = -1; // Forces first put invocation to replace EMPTY_TABLE in Hashtable()
137 threshold = -1; // Forces first put() to replace EMPTY_TABLE in Hashtable()
392 if (size++ > threshold) { in put()
502 threshold = (newCapacity >> 1) + (newCapacity >> 2); // 3/4 capacity in makeTable()
DWeakHashMap.java46 private int threshold; field in WeakHashMap
267 threshold = (int) ((long) elementData.length * loadFactor / 10000); in computeMaxSize()
625 if (++elementCount > threshold) {
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
DTwoKeyHashMap.java50 int threshold = 0; field in TwoKeyHashMap
88 threshold = (int) (arrSize * loadFactor); in TwoKeyHashMap()
174 if (size > threshold) { in put()
212 threshold = (int) (arrSize * loadFactor); in rehash()
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
DConcurrentHashMap.java273 transient int threshold; field in ConcurrentHashMap.Segment
303 threshold = (int)(newTable.length * loadFactor); in setTable()
419 if (c++ > threshold) // ensure capacity in put()
467 threshold = (int)(newTable.length * loadFactor); in rehash()
/dalvik/vm/
DGlobals.h690 unsigned short threshold; member
DInit.c901 gDvmJit.threshold = atoi(argv[i] + 12); in dvmProcessOptions()
1019 gDvmJit.threshold = 200; in setCommandLineDefaults()
/dalvik/tools/dmtracedump/
DTraceDump.c224 int threshold; member
1633 return (percentage < gOptions.threshold) ? 0 : 1; in checkThreshold()
2928 gOptions.threshold = atoi(optarg); in parseOptions()
2942 gOptions.threshold = -1; in main()
2950 if (gOptions.threshold < 0 || 100 <= gOptions.threshold) { in main()
2951 gOptions.threshold = 20; in main()
/dalvik/vm/interp/
DJit.c150 gDvmJit.threshold, gDvmJit.blockingMode ? "Blocking" : "Non-blocking"); in dvmJitStats()
/dalvik/vm/mterp/armv5te/
Dfooter.S162 GOTO_OPCODE_IFNE(ip) @ if not threshold, fallthrough otherwise */
/dalvik/vm/mterp/out/
DInterpAsm-armv7-a.S9088 GOTO_OPCODE_IFNE(ip) @ if not threshold, fallthrough otherwise */
DInterpAsm-armv5te-vfp.S9152 GOTO_OPCODE_IFNE(ip) @ if not threshold, fallthrough otherwise */
DInterpAsm-armv4t.S9634 GOTO_OPCODE_IFNE(ip) @ if not threshold, fallthrough otherwise */
DInterpAsm-armv5te.S9628 GOTO_OPCODE_IFNE(ip) @ if not threshold, fallthrough otherwise */