OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bucketCount
(Results
1 - 8
of
8
) 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
...]
/frameworks/native/libs/utils/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
...]
/external/icu4c/test/intltest/
alphaindextst.cpp
391
int32_t
bucketCount
= 0;
394
bucketCount
++;
415
TEST_ASSERT(
bucketCount
> 25);
/external/webkit/Source/WebKit/chromium/public/
WebKitClient.h
215
// CustomCounts histogram has exponential bucket sizes, so that min=1, max=1000000,
bucketCount
=50 would do.
216
virtual void histogramCustomCounts(const char* name, int sample, int min, int max, int
bucketCount
) { }
/frameworks/native/include/utils/
BasicHashtable.h
217
inline size_t
bucketCount
() const {
/external/webkit/Source/WebCore/platform/chromium/
PlatformBridge.h
240
static void histogramCustomCounts(const char* name, int sample, int min, int max, int
bucketCount
);
/external/webkit/Source/WebKit/chromium/src/
PlatformBridge.cpp
677
void PlatformBridge::histogramCustomCounts(const char* name, int sample, int min, int max, int
bucketCount
)
679
webKitClient()->histogramCustomCounts(name, sample, min, max,
bucketCount
);
[
all
...]
Completed in 460 milliseconds