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
220
) sorted by null
1
2
3
4
5
6
7
8
9
/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
);
/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
145
const size_t
tableSize
= typeface->getTableSize(tag);
146
if (!
tableSize
)
149
char* buffer = reinterpret_cast<char*>(malloc(
tableSize
));
152
size_t actualSize = typeface->getTableData(tag, 0,
tableSize
, buffer);
153
if (
tableSize
!= actualSize) {
158
return hb_blob_create(const_cast<char*>(buffer),
tableSize
,
/external/gptfdisk/
gptcl.h
37
uint32_t
tableSize
;
/external/skia/src/core/
SkColorSpaceXformPriv.h
20
static inline float interp_lut(float input, const float* table, int
tableSize
) {
21
float index = input * (
tableSize
- 1);
SkICC.cpp
63
const size_t bytes = gammas->
tableSize
(index) * sizeof(float);
86
tables->fStorage = SkData::MakeUninitialized(gammas->
tableSize
(0) * sizeof(float));
89
tables->fRed.fCount = tables->fGreen.fCount = tables->fBlue.fCount = gammas->
tableSize
(0);
97
storageSize += gammas->
tableSize
(i) * sizeof(float);
112
rgb[i].fCount = gammas->
tableSize
(i);
/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
79
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
...]
/external/skia/tests/
ColorSpaceXformTest.cpp
142
constexpr size_t
tableSize
= 10;
143
void* memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(float) *
tableSize
);
147
gammas->fData[i].fTable.fSize =
tableSize
;
221
constexpr size_t
tableSize
= 10;
222
void* memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(float) *
tableSize
+
239
sizeof(SkGammas) + sizeof(float) *
tableSize
);
252
gammas->fData[1].fTable.fSize =
tableSize
;
256
gammas->fData[2].fParamOffset = sizeof(float) *
tableSize
;
ICCTest.cpp
177
constexpr size_t
tableSize
= 10;
178
void* memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(float) *
tableSize
);
182
gammas->fData[i].fTable.fSize =
tableSize
;
244
memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(float) *
tableSize
+
261
sizeof(SkGammas) + sizeof(float) *
tableSize
);
274
gammas->fData[1].fTable.fSize =
tableSize
;
278
gammas->fData[2].fParamOffset = sizeof(float) *
tableSize
;
287
gammas->fData[0].fTable.fSize =
tableSize
;
/prebuilts/go/darwin-x86/src/strings/
export_test.go
29
if int(m) != r.
tableSize
&& t.table[m] != nil {
replace.go
124
// genericReplacer.
tableSize
will be 5. Node n0's table will be
163
t.table = make([]*trieNode, r.
tableSize
)
212
if int(index) == r.
tableSize
{
233
//
tableSize
is the size of a trie node's lookup table. It is the number
235
tableSize
int
251
r.
tableSize
+= int(b)
257
r.mapping[i] = byte(r.
tableSize
)
264
r.root.table = make([]*trieNode, r.
tableSize
)
320
if index == r.
tableSize
|| r.root.table[index] == nil {
/prebuilts/go/linux-x86/src/strings/
export_test.go
29
if int(m) != r.
tableSize
&& t.table[m] != nil {
replace.go
124
// genericReplacer.
tableSize
will be 5. Node n0's table will be
163
t.table = make([]*trieNode, r.
tableSize
)
212
if int(index) == r.
tableSize
{
233
//
tableSize
is the size of a trie node's lookup table. It is the number
235
tableSize
int
251
r.
tableSize
+= int(b)
257
r.mapping[i] = byte(r.
tableSize
)
264
r.root.table = make([]*trieNode, r.
tableSize
)
320
if index == r.
tableSize
|| r.root.table[index] == nil {
/cts/common/device-side/util/src/com/android/compatibility/common/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
) {
/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/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) {
Completed in 2189 milliseconds
1
2
3
4
5
6
7
8
9