HomeSort by relevance Sort by last modified time
    Searched defs:tableSize (Results 1 - 25 of 218) 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;
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);
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;
HashBiMap.java 112 int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR);
113 this.hashTableKToV = createTable(tableSize);
114 this.hashTableVToK = createTable(tableSize);
115 this.mask = tableSize - 1;
  /prebuilts/go/darwin-x86/src/compress/lzw/
writer.go 39 // valid hash table entries at any given point in time. tableSize is 4x that.
40 tableSize = 4 * 1 << 12
41 tableMask = tableSize - 1
73 table [tableSize]uint32
  /prebuilts/go/linux-x86/src/compress/lzw/
writer.go 39 // valid hash table entries at any given point in time. tableSize is 4x that.
40 tableSize = 4 * 1 << 12
41 tableMask = tableSize - 1
73 table [tableSize]uint32
  /external/gptfdisk/
gptcl.h 37 uint32_t tableSize;
  /prebuilts/go/darwin-x86/src/compress/flate/
deflatefast.go 12 tableSize = 1 << tableBits // Size of the table.
13 tableMask = tableSize - 1 // Mask for table indices. Redundant, but can eliminate bounds checks.
49 table [tableSize]tableEntry
  /prebuilts/go/linux-x86/src/compress/flate/
deflatefast.go 12 tableSize = 1 << tableBits // Size of the table.
13 tableMask = tableSize - 1 // Mask for table indices. Redundant, but can eliminate bounds checks.
49 table [tableSize]tableEntry
  /external/brotli/java/org/brotli/dec/
Huffman.java 96 int tableSize = 1 << tableBits;
97 int totalSize = tableSize;
112 replicateValue(rootTable, tableOffset + key, step, tableSize, len << 16 | sorted[symbol++]);
124 currentOffset += tableSize;
126 tableSize = 1 << tableBits;
127 totalSize += tableSize;
132 replicateValue(rootTable, currentOffset + (key >> rootBits), step, 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;
  /external/mesa3d/src/mesa/drivers/dri/common/
xmlconfig.h 79 unsigned int tableSize;
  /external/icu/icu4c/source/common/
ucol_data.h 79 uint32_t tableSize;
  /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;
225 constexpr size_t tableSize = 10;
226 void* memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(float) * tableSize +
243 sizeof(SkGammas) + sizeof(float) * tableSize);
259 gammas->fData[1].fTable.fSize = tableSize;
263 gammas->fData[2].fParamOffset = sizeof(float) * tableSize;
ICCTest.cpp 184 constexpr size_t tableSize = 10;
185 void* memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(float) * tableSize);
189 gammas->fData[i].fTable.fSize = tableSize;
251 memory = sk_malloc_throw(sizeof(SkGammas) + sizeof(float) * tableSize +
268 sizeof(SkGammas) + sizeof(float) * tableSize);
281 gammas->fData[1].fTable.fSize = tableSize;
285 gammas->fData[2].fParamOffset = sizeof(float) * tableSize;
294 gammas->fData[0].fTable.fSize = tableSize;
  /frameworks/av/media/libstagefright/codecs/aacenc/
AACEncoder.cpp 101 const int32_t tableSize = sizeof(kSampleRateTable) / sizeof(kSampleRateTable[0]);
102 for (int32_t i = 0; i < tableSize; ++i) {
SoftAACEncoder.cpp 365 const int32_t tableSize =
368 for (int32_t i = 0; i < tableSize; ++i) {
  /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,
  /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/icu/icu4c/source/common/unicode/
utext.h     [all...]
  /external/skia/src/core/
SkColorSpace_Base.h 99 int tableSize(int i) const {
  /external/tpm2/
CpriHash.c 136 UINT32 i, tableSize;
138 tableSize = sizeof(g_hashData) / sizeof(g_hashData[0]);
139 for(i = 0; i < tableSize - 1; i++)
144 return &g_hashData[tableSize-1];
    [all...]
  /frameworks/av/media/libstagefright/
AACWriter.cpp 200 const int tableSize =
204 for (int index = 0; index < tableSize; ++index) {

Completed in 1317 milliseconds

1 2 3 4 5 6 7 8 9