OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bucketCount
(Results
1 - 9
of
9
) sorted by null
/system/core/libcutils/
hashmap.c
36
size_t
bucketCount
;
55
map->
bucketCount
= 1;
56
while (map->
bucketCount
<= minimumBucketCount) {
58
map->
bucketCount
<<= 1;
61
map->buckets = calloc(map->
bucketCount
, sizeof(Entry*));
97
static inline size_t calculateIndex(size_t
bucketCount
, int hash) {
98
return ((size_t) hash) & (
bucketCount
- 1);
103
if (map->size > (map->
bucketCount
* 3 / 4)) {
105
size_t newBucketCount = map->
bucketCount
<< 1;
114
for (i = 0; i < map->
bucketCount
; i++)
[
all
...]
/frameworks/base/core/java/android/net/
NetworkStatsHistory.java
71
private int
bucketCount
;
111
bucketCount
= 0;
129
bucketCount
= bucketStart.length;
136
writeLongArray(out, bucketStart,
bucketCount
);
137
writeLongArray(out, activeTime,
bucketCount
);
138
writeLongArray(out, rxBytes,
bucketCount
);
139
writeLongArray(out, rxPackets,
bucketCount
);
140
writeLongArray(out, txBytes,
bucketCount
);
141
writeLongArray(out, txPackets,
bucketCount
);
142
writeLongArray(out, operations,
bucketCount
);
[
all
...]
/system/core/libutils/tests/
BasicHashtable_test.cpp
159
ALOGD("hashtable %p, size=%u, capacity=%u,
bucketCount
=%u",
160
&h, h.size(), h.capacity(), h.
bucketCount
());
161
for (size_t i = 0; i < h.
bucketCount
(); i++) {
183
EXPECT_EQ(5U, h.
bucketCount
());
192
EXPECT_EQ(97U, h.
bucketCount
());
200
EXPECT_EQ(46U, h.capacity()); // must be one less than
bucketCount
because loadFactor == 1.0f
201
EXPECT_EQ(47U, h.
bucketCount
());
209
EXPECT_EQ(46U, h.capacity()); // must be one less than
bucketCount
because loadFactor == 1.0f
210
EXPECT_EQ(47U, h.
bucketCount
());
316
EXPECT_EQ(5U, h.
bucketCount
());
[
all
...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactLocaleUtils.java
176
final int
bucketCount
= getBucketCount();
177
final ArrayList<String> labels = new ArrayList<String>(
bucketCount
);
178
for(int i = 0; i <
bucketCount
; ++i) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
VaryingConfiguration.java
264
int
bucketCount
= mVariationCount + 1;
265
double inchesPerBucket = (biggest - smallest) /
bucketCount
;
/external/icu4c/test/intltest/
alphaindextst.cpp
448
int32_t
bucketCount
= 0;
451
bucketCount
++;
472
TEST_ASSERT(
bucketCount
> 25);
/external/chromium_org/third_party/WebKit/public/platform/
Platform.h
528
// CustomCounts histogram has exponential bucket sizes, so that min=1, max=1000000,
bucketCount
=50 would do.
529
virtual void histogramCustomCounts(const char* name, int sample, int min, int max, int
bucketCount
) { }
/system/core/include/utils/
BasicHashtable.h
218
inline size_t
bucketCount
() const {
/frameworks/base/services/java/com/android/server/print/
UserState.java
[
all
...]
Completed in 961 milliseconds