Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 25 of 824) sorted by relevance

12345678910>>...33

/external/lisa/libs/utils/platforms/
Dpixel_energy.py23 ( 307200, ActiveState(capacity=149, power=90)),
24 ( 384000, ActiveState(capacity=188, power=111)),
25 ( 460800, ActiveState(capacity=225, power=133)),
26 ( 537600, ActiveState(capacity=257, power=160)),
27 ( 614400, ActiveState(capacity=281, power=182)),
28 ( 691200, ActiveState(capacity=315, power=210)),
29 ( 768000, ActiveState(capacity=368, power=251)),
30 ( 844800, ActiveState(capacity=406, power=306)),
31 ( 902400, ActiveState(capacity=428, power=332)),
32 ( 979200, ActiveState(capacity=469, power=379)),
[all …]
Dhikey_energy.py23 ( 208000, ActiveState(capacity=178, power=16)),
24 ( 432000, ActiveState(capacity=369, power=29)),
25 ( 729000, ActiveState(capacity=622, power=47)),
26 ( 960000, ActiveState(capacity=819, power=75)),
27 (1200000, ActiveState(capacity=1024, power=112))
37 ( 208000, ActiveState(capacity=178, power=69)),
38 ( 432000, ActiveState(capacity=369, power=124)),
39 ( 729000, ActiveState(capacity=622, power=224)),
40 ( 960000, ActiveState(capacity=819, power=367)),
41 (1200000, ActiveState(capacity=1024, power=670))
Djuno_energy.py38 (450000, ActiveState(capacity=235, power=33)),
39 (575000, ActiveState(capacity=302, power=46)),
40 (700000, ActiveState(capacity=368, power=61)),
41 (775000, ActiveState(capacity=406, power=76)),
42 (850000, ActiveState(capacity=447, power=93)),
73 (450000, ActiveState(capacity=417, power=168)),
74 (625000, ActiveState(capacity=579, power=251)),
75 (800000, ActiveState(capacity=744, power=359)),
76 (950000, ActiveState(capacity=883, power=479)),
77 (1100000, ActiveState(capacity=1023, power=616)),
/external/icu/icu4c/source/common/
Dutrace.cpp93 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar() argument
105 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ in outputChar()
106 (c=='\n' && *outIx>=capacity)) /* case 3 */ in outputChar()
110 if (*outIx < capacity) { in outputChar()
117 if (*outIx < capacity) { in outputChar()
129 char *outBuf, int32_t *outIx, int32_t capacity) { in outputHexBytes() argument
134 outputChar(c, outBuf, outIx, capacity, 0); in outputHexBytes()
139 static void outputPtrBytes(void *val, char *outBuf, int32_t *outIx, int32_t capacity) { in outputPtrBytes() argument
153 outputHexBytes(*p, 2, outBuf, outIx, capacity); in outputPtrBytes()
158 static void outputString(const char *s, char *outBuf, int32_t *outIx, int32_t capacity, int32_t ind… in outputString() argument
[all …]
Duscript.cpp30 UScriptCode *dest, int32_t capacity, UErrorCode *err) { in setCodes() argument
33 if(length > capacity) { in setCodes()
44 setOneCode(UScriptCode script, UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in setOneCode() argument
46 if(1 > capacity) { in setOneCode()
56 UScriptCode *scripts, int32_t capacity, UErrorCode *err) { in getCodesFromLocale() argument
69 return setCodes(JAPANESE, UPRV_LENGTHOF(JAPANESE), scripts, capacity, err); in getCodesFromLocale()
72 return setCodes(KOREAN, UPRV_LENGTHOF(KOREAN), scripts, capacity, err); in getCodesFromLocale()
79 return setCodes(HAN_BOPO, UPRV_LENGTHOF(HAN_BOPO), scripts, capacity, err); in getCodesFromLocale()
88 return setOneCode(scriptCode, scripts, capacity, err); in getCodesFromLocale()
98 int32_t capacity, in uscript_getCode() argument
[all …]
Dcmemory.h310 MaybeStackArray() : ptr(stackArray), capacity(stackCapacity), needToRelease(FALSE) {} in MaybeStackArray()
317 if (capacity < newCapacity) { resize(newCapacity); } in MaybeStackArray()
327 int32_t getCapacity() const { return capacity; } in getCapacity()
337 T *getArrayLimit() const { return getAlias()+capacity; } in getArrayLimit()
364 capacity=otherCapacity; in aliasInstead()
392 int32_t capacity; variable
431 if(length>capacity) { in resize()
432 length=capacity; in resize()
441 capacity=newCapacity; in resize()
458 if(length>capacity) { in orphanOrClone()
[all …]
Duvectr64.cpp28 capacity(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
37 capacity(0), in UVector64()
61 capacity = initialCapacity; in _init()
126 if (capacity >= minimumCapacity) { in expandCapacity()
133 if (capacity > (INT32_MAX - 1) / 2) { // integer overflow check in expandCapacity()
137 int32_t newCap = capacity * 2; in expandCapacity()
156 capacity = newCap; in expandCapacity()
170 if (capacity <= maxCapacity || maxCapacity == 0) { in setMaxCapacity()
184 capacity = maxCapacity; in setMaxCapacity()
185 if (count > capacity) { in setMaxCapacity()
[all …]
/external/icu/icu4c/source/layoutex/
DRunArrays.cpp52 void RunArray::init(le_int32 capacity) in init() argument
54 fLimits = LE_NEW_ARRAY(le_int32, capacity); in init()
94 void FontRuns::init(le_int32 capacity) in init() argument
96 RunArray::init(capacity); in init()
97 fFonts = LE_NEW_ARRAY(const LEFontInstance *, capacity); in init()
100 void FontRuns::grow(le_int32 capacity) in grow() argument
102 RunArray::grow(capacity); in grow()
103 fFonts = (const LEFontInstance **) LE_GROW_ARRAY(fFonts, capacity); in grow()
146 void LocaleRuns::init(le_int32 capacity) in init() argument
148 RunArray::init(capacity); in init()
[all …]
/external/emma/core/java12/com/vladium/util/
DByteArrayOStream.java52 final int capacity = pos + 2; in write2() local
56 if (mbuflen < capacity) in write2()
58 final byte [] newbuf = new byte [Math.max (mbuflen << 1, capacity)]; in write2()
70 m_pos = capacity; in write2()
76 final int capacity = pos + 3; in write3() local
80 if (mbuflen < capacity) in write3()
82 final byte [] newbuf = new byte [Math.max (mbuflen << 1, capacity)]; in write3()
95 m_pos = capacity; in write3()
101 final int capacity = pos + 4; in write4() local
105 if (mbuflen < capacity) in write4()
[all …]
/external/emma/core/java12/com/vladium/jcd/cls/
DElementFactory.java21 public static IAttributeCollection newAttributeCollection (final int capacity) in newAttributeCollection() argument
23 return new AttributeCollection (capacity); in newAttributeCollection()
26 public static IConstantCollection newConstantCollection (final int capacity) in newConstantCollection() argument
28 return new ConstantCollection (capacity); in newConstantCollection()
31 public static IFieldCollection newFieldCollection (final int capacity) in newFieldCollection() argument
33 return new FieldCollection (capacity); in newFieldCollection()
36 public static IInterfaceCollection newInterfaceCollection (final int capacity) in newInterfaceCollection() argument
38 return new InterfaceCollection (capacity); in newInterfaceCollection()
41 public static IMethodCollection newMethodCollection (final int capacity) in newMethodCollection() argument
43 return new MethodCollection (capacity); in newMethodCollection()
/external/libcxx/test/std/containers/sequences/vector/vector.capacity/
Dreserve.pass.cpp25 assert(v.capacity() >= 10); in main()
30 assert(v.capacity() == 100); in main()
33 assert(v.capacity() == 100); in main()
36 assert(v.capacity() == 150); in main()
42 assert(v.capacity() == 100); in main()
45 assert(v.capacity() == 100); in main()
48 assert(v.capacity() == 150); in main()
55 assert(v.capacity() >= 10); in main()
60 assert(v.capacity() == 100); in main()
63 assert(v.capacity() == 100); in main()
[all …]
Dresize_size.pass.cpp29 assert(v.capacity() == 100); in main()
33 assert(v.capacity() >= 200); in main()
41 assert(v.capacity() == 100); in main()
45 assert(v.capacity() >= 200); in main()
53 assert(v.capacity() == 100); in main()
57 assert(v.capacity() >= 200); in main()
65 assert(v.capacity() == 100); in main()
69 assert(v.capacity() >= 200); in main()
76 assert(v.capacity() == 100); in main()
80 assert(v.capacity() >= 200); in main()
Dresize_size_value.pass.cpp26 assert(v.capacity() == 100); in main()
30 assert(v.capacity() >= 200); in main()
42 assert(v.capacity() == 100); in main()
45 assert(v.capacity() >= 200); in main()
53 assert(v.capacity() == 100); in main()
58 assert(v.capacity() >= 200); in main()
69 assert(v.capacity() == 100); in main()
73 assert(v.capacity() >= 200); in main()
/external/webrtc/webrtc/base/
Dbuffer_unittest.cc26 void TestBuf(const Buffer& b1, size_t size, size_t capacity) { in TestBuf() argument
28 EXPECT_EQ(b1.capacity(), capacity); in TestBuf()
49 EXPECT_EQ(buf.capacity(), 7u); in TEST()
56 EXPECT_EQ(buf.capacity(), 14u); in TEST()
63 EXPECT_EQ(buf.capacity(), 16u); in TEST()
70 EXPECT_EQ(buf2.capacity(), 16u); in TEST()
88 EXPECT_EQ(buf.capacity(), 9u); in TEST()
104 EXPECT_EQ(buf.capacity(), 15u); // Hasn't shrunk. in TEST()
112 EXPECT_EQ(buf.capacity(), 15u); in TEST()
115 EXPECT_EQ(buf.capacity(), 20u); // Has grown. in TEST()
[all …]
/external/tensorflow/tensorflow/python/training/
Dinput.py116 capacity=32, argument
179 q = data_flow_ops.FIFOQueue(capacity=capacity,
189 math_ops.to_float(q.size()) * (1. / capacity))
198 capacity=32, argument
256 capacity=capacity,
259 summary_name="fraction_of_%d_full" % capacity,
265 capacity=32, shared_name=None, name=None): argument
297 range_tensor, [], num_epochs, shuffle, seed, capacity,
298 shared_name, "fraction_of_%d_full" % capacity, name)
303 capacity=32, shared_name=None, name=None): argument
[all …]
/external/libcxx/test/std/containers/sequences/vector.bool/
Dreserve.pass.cpp25 assert(v.capacity() >= 10); in main()
29 assert(v.capacity() >= 100); in main()
32 assert(v.capacity() >= 100); in main()
35 assert(v.capacity() >= 150); in main()
41 assert(v.capacity() >= 10); in main()
45 assert(v.capacity() >= 100); in main()
48 assert(v.capacity() >= 100); in main()
51 assert(v.capacity() >= 150); in main()
Dswap.pass.cpp27 assert(v1.capacity() >= 200); in main()
29 assert(v2.capacity() >= 100); in main()
37 assert(v1.capacity() >= 200); in main()
39 assert(v2.capacity() >= 100); in main()
49 assert(v1.capacity() >= 200); in main()
51 assert(v2.capacity() >= 100); in main()
71 assert(v1.capacity() >= 200); in main()
73 assert(v2.capacity() >= 100); in main()
81 assert(v1.capacity() >= 200); in main()
83 assert(v2.capacity() >= 100); in main()
Dcapacity.pass.cpp24 assert(v.capacity() == 0); in main()
28 assert(v.capacity() >= 100); in main()
30 assert(v.capacity() >= 101); in main()
35 assert(v.capacity() == 0); in main()
39 assert(v.capacity() >= 100); in main()
41 assert(v.capacity() >= 101); in main()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ir_allocator.h37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0) in simple_allocator()
50 if (capacity <= count) { in allocate()
51 capacity = MAX2(16, capacity * 2); in allocate()
52 sizes = (unsigned *)realloc(sizes, capacity * sizeof(unsigned)); in allocate()
53 offsets = (unsigned *)realloc(offsets, capacity * sizeof(unsigned)); in allocate()
83 unsigned capacity;
/external/mesa3d/src/gallium/auxiliary/util/
Du_dynarray.h43 unsigned capacity; member
67 if(newsize > buf->capacity) in util_dynarray_resize()
69 unsigned newcap = buf->capacity << 1; in util_dynarray_resize()
72 buf->data = REALLOC(buf->data, buf->capacity, newcap); in util_dynarray_resize()
73 buf->capacity = newcap; in util_dynarray_resize()
90 if (buf->size != buf->capacity) { in util_dynarray_trim()
92 buf->data = REALLOC(buf->data, buf->capacity, buf->size); in util_dynarray_trim()
93 buf->capacity = buf->size; in util_dynarray_trim()
98 buf->capacity = 0; in util_dynarray_trim()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBenchmark.java33 @Param({"10", "100", "1000"}) int capacity; field in MonitorBenchmark
47 queue = (BlockingQueue<String>) constructor.newInstance(capacity); in setUp()
49 strings = new String[capacity]; in setUp()
50 for (int i = 0; i < capacity; i++) { in setUp()
56 int capacity = this.capacity; in addsAndRemoves() local
60 for (int j = 0; j < capacity; j++) { in addsAndRemoves()
63 for (int j = 0; j < capacity; j++) { in addsAndRemoves()
/external/skqp/tests/
DDynamicHashTest.cpp27 int capacity() const { return this->INHERITED::capacity(); } in capacity() function in __anondef8c9d80111::Hash
46 ASSERT(hash.capacity() == 0); in DEF_TEST()
49 ASSERT(hash.capacity() == 4); in DEF_TEST()
52 ASSERT(hash.capacity() == 4); in DEF_TEST()
55 ASSERT(hash.capacity() == 4); in DEF_TEST()
58 ASSERT(hash.capacity() == 8); in DEF_TEST()
61 ASSERT(hash.capacity() == 8); in DEF_TEST()
197 ASSERT(hash.capacity() == 0); in TestResetOrRewind()
201 ASSERT(hash.capacity() == 4); in TestResetOrRewind()
205 ASSERT(hash.capacity() == 0); in TestResetOrRewind()
[all …]
/external/skia/tests/
DDynamicHashTest.cpp27 int capacity() const { return this->INHERITED::capacity(); } in capacity() function in __anona60072010111::Hash
46 ASSERT(hash.capacity() == 0); in DEF_TEST()
49 ASSERT(hash.capacity() == 4); in DEF_TEST()
52 ASSERT(hash.capacity() == 4); in DEF_TEST()
55 ASSERT(hash.capacity() == 4); in DEF_TEST()
58 ASSERT(hash.capacity() == 8); in DEF_TEST()
61 ASSERT(hash.capacity() == 8); in DEF_TEST()
197 ASSERT(hash.capacity() == 0); in TestResetOrRewind()
201 ASSERT(hash.capacity() == 4); in TestResetOrRewind()
205 ASSERT(hash.capacity() == 0); in TestResetOrRewind()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DLoadPathToFileCache.java37 public LoadPathToFileCache(int capacity) { in LoadPathToFileCache() argument
38 cache = new LRUCache<String, String>(capacity); in LoadPathToFileCache()
116 private final int capacity; field in LoadPathToFileCache.LRUCache
118 LRUCache(int capacity) { in LRUCache() argument
119 super(capacity, 0.75f, true); in LRUCache()
120 this.capacity = capacity; in LRUCache()
145 return size() > capacity; in removeEldestEntry()
/external/compiler-rt/test/asan/TestCases/
Dcontiguous_container.cc11 void TestContainer(size_t capacity) { in TestContainer() argument
12 char *beg = new char[capacity]; in TestContainer()
13 char *end = beg + capacity; in TestContainer()
14 char *mid = beg + capacity; in TestContainer()
18 size_t size = rand() % (capacity + 1); in TestContainer()
19 assert(size <= capacity); in TestContainer()
26 for (size_t idx = size; idx < capacity; idx++) in TestContainer()
45 for (size_t idx = 0; idx < capacity; idx++) in TestContainer()

12345678910>>...33