OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tableSize
(Results
1 - 25
of
110
) sorted by null
1
2
3
4
5
/external/guava/guava/src/com/google/common/collect/
Hashing.java
60
int
tableSize
= Integer.highestOneBit(expectedEntries);
62
if (expectedEntries > (int) (loadFactor *
tableSize
)) {
63
tableSize
<<= 1;
64
return (
tableSize
> 0) ?
tableSize
: MAX_TABLE_SIZE;
66
return
tableSize
;
69
static boolean needsResizing(int size, int
tableSize
, double loadFactor) {
70
return size > loadFactor *
tableSize
&&
tableSize
< MAX_TABLE_SIZE;
ImmutableSet.java
189
int
tableSize
= chooseTableSize(n);
190
Object[] table = new Object[
tableSize
];
191
int mask =
tableSize
- 1;
217
} else if (
tableSize
!= chooseTableSize(uniques)) {
251
int
tableSize
= Integer.highestOneBit(setSize - 1) << 1;
252
while (
tableSize
* DESIRED_LOAD_FACTOR < setSize) {
253
tableSize
<<= 1;
255
return
tableSize
;
RegularImmutableMap.java
55
int
tableSize
= Hashing.closedTableSize(size, MAX_LOAD_FACTOR);
56
table = createEntryArray(
tableSize
);
57
mask =
tableSize
- 1;
80
int
tableSize
= Hashing.closedTableSize(size, MAX_LOAD_FACTOR);
81
table = createEntryArray(
tableSize
);
82
mask =
tableSize
- 1;
RegularImmutableBiMap.java
56
int
tableSize
= Hashing.closedTableSize(n, MAX_LOAD_FACTOR);
57
this.mask =
tableSize
- 1;
58
ImmutableMapEntry<K, V>[] keyTable = createEntryArray(
tableSize
);
59
ImmutableMapEntry<K, V>[] valueTable = createEntryArray(
tableSize
);
105
int
tableSize
= Hashing.closedTableSize(n, MAX_LOAD_FACTOR);
106
this.mask =
tableSize
- 1;
107
ImmutableMapEntry<K, V>[] keyTable = createEntryArray(
tableSize
);
108
ImmutableMapEntry<K, V>[] valueTable = createEntryArray(
tableSize
);
/bootable/recovery/minzip/
Hash.c
61
pHashTable->
tableSize
= roundUpPower2(initialSize);
65
(HashEntry*) calloc((size_t)pHashTable->
tableSize
, sizeof(HashTable));
83
for (i = 0; i < pHashTable->
tableSize
; i++, pEnt++) {
119
for (count = i = 0; i < pHashTable->
tableSize
; i++) {
148
for (i = 0; i < pHashTable->
tableSize
; i++) {
166
pHashTable->
tableSize
= newSize;
185
assert(pHashTable->
tableSize
> 0);
190
pEntry = &pHashTable->pEntries[itemHash & (pHashTable->
tableSize
-1)];
191
pEnd = &pHashTable->pEntries[pHashTable->
tableSize
];
203
if (pHashTable->
tableSize
== 1
[
all
...]
Hash.h
62
int
tableSize
; /* must be power of 2 */
108
return sizeof(HashTable) + pHashTable->
tableSize
* sizeof(HashEntry);
154
int lim = pIter->pHashTable->
tableSize
;
168
return (pIter->idx >= pIter->pHashTable->
tableSize
);
171
assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->
tableSize
);
/external/guava/guava/src/com/google/common/base/
SmallCharMatcher.java
83
int
tableSize
= Integer.highestOneBit(setSize - 1) << 1;
84
while (
tableSize
* DESIRED_LOAD_FACTOR < setSize) {
85
tableSize
<<= 1;
87
return
tableSize
;
/frameworks/base/core/jni/android/graphics/
HarfBuzzNGFaceSkia.cpp
144
const size_t
tableSize
= typeface->getTableSize(tag);
145
if (!
tableSize
)
148
char* buffer = reinterpret_cast<char*>(malloc(
tableSize
));
151
size_t actualSize = typeface->getTableData(tag, 0,
tableSize
, buffer);
152
if (
tableSize
!= actualSize) {
157
return hb_blob_create(const_cast<char*>(buffer),
tableSize
,
MinikinSkia.cpp
83
const size_t
tableSize
= mTypeface->getTableSize(tag);
84
*size =
tableSize
;
85
return
tableSize
!= 0;
/external/gptfdisk/
gptcl.h
37
uint32_t
tableSize
;
gptcl.cc
33
tableSize
= GPT_SIZE;
100
{"resize-table", 'S', POPT_ARG_INT, &
tableSize
, 'S', "resize partition table", "numparts"},
352
if (SetGPTSize(
tableSize
) == 0)
/frameworks/minikin/sample/
MinikinSkia.cpp
63
const size_t
tableSize
= mTypeface->getTableSize(tag);
64
*size =
tableSize
;
65
return
tableSize
!= 0;
/external/aac/libMpegTPDec/include/
tp_data.h
312
UINT sf_index,
tableSize
=sizeof(SamplingRateTable)/sizeof(UINT);
314
for (sf_index=0; sf_index<
tableSize
; sf_index++) {
318
if (sf_index>
tableSize
-1) {
319
return
tableSize
-1;
/external/aac/libMpegTPEnc/include/
tp_data.h
312
UINT sf_index,
tableSize
=sizeof(SamplingRateTable)/sizeof(UINT);
314
for (sf_index=0; sf_index<
tableSize
; sf_index++) {
318
if (sf_index>
tableSize
-1) {
319
return
tableSize
-1;
/external/icu/icu4c/source/common/
ucol_data.h
77
uint32_t
tableSize
;
/external/mesa3d/src/mesa/drivers/dri/common/
xmlconfig.h
76
GLuint
tableSize
;
xmlconfig.c
111
GLuint size = 1 << cache->
tableSize
, mask = size - 1;
119
hash = (hash >> (16-cache->
tableSize
/2)) & mask;
137
GLuint size = 1 << cache->
tableSize
;
704
info->
tableSize
= log2size;
897
cache->
tableSize
= info->
tableSize
;
898
cache->values = MALLOC ((1<<info->
tableSize
) * sizeof (driOptionValue));
904
(1<<info->
tableSize
) * sizeof (driOptionValue));
999
GLuint i, size = 1 << info->
tableSize
;
[
all
...]
/cts/libs/deviceutil/src/android/cts/util/
ReadElf.java
372
long tableOffset, long
tableSize
) throws IOException {
375
while (mFile.getFilePointer() < tableOffset +
tableSize
) {
411
private String readStrTabEntry(long tableOffset, long
tableSize
, long strOffset)
413
if (tableOffset == 0 || strOffset < 0 || strOffset >=
tableSize
) {
/frameworks/minikin/libs/minikin/
CmapCoverage.cpp
162
const size_t
tableSize
= cmap_size - offset;
164
success = getCoverageFormat4(coverageVec, tableData,
tableSize
);
166
success = getCoverageFormat12(coverageVec, tableData,
tableSize
);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
CatchStructs.java
202
int
tableSize
= table.size();
203
for (int i = 0; i <
tableSize
; i++) {
/dalvik/dx/src/com/android/dx/dex/file/
CatchStructs.java
199
int
tableSize
= table.size();
200
for (int i = 0; i <
tableSize
; i++) {
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
CatchStructs.java
200
int
tableSize
= table.size();
201
for (int i = 0; i <
tableSize
; i++) {
/external/guava/guava-tests/test/com/google/common/collect/
ImmutableSetTest.java
196
private void verifyTableSize(int inputSize, int setSize, int
tableSize
) {
204
tableSize
, ((RegularImmutableSet<Integer>) set).table.length);
/frameworks/av/media/libstagefright/
AACWriter.cpp
200
const int
tableSize
=
204
for (int index = 0; index <
tableSize
; ++index) {
/external/libpcap/msdos/
ndis2.h
238
WORD
tableSize
;
290
WORD
tableSize
;
332
WORD
tableSize
;
Completed in 593 milliseconds
1
2
3
4
5