Home
last modified time | relevance | path

Searched refs:bitSize (Results 1 – 16 of 16) sorted by relevance

/external/guava/android/guava/src/com/google/common/hash/
DBloomFilterStrategies.java49 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local
61 bitsChanged |= bits.set(combinedHash % bitSize); in MURMUR128_MITZ_32()
69 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local
80 if (!bits.get(combinedHash % bitSize)) { in MURMUR128_MITZ_32()
97 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local
106 bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize); in MURMUR128_MITZ_64()
115 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local
123 if (!bits.get((combinedHash & Long.MAX_VALUE) % bitSize)) { in MURMUR128_MITZ_64()
216 long bitSize() { in bitSize() method in BloomFilterStrategies.LockFreeBitArray
DBloomFilter.java179 return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); in expectedFpp()
190 long bitSize = bits.bitSize(); in approximateElementCount() local
199 double fractionOfBitsSet = (double) bitCount / bitSize; in approximateElementCount()
201 -Math.log1p(-fractionOfBitsSet) * bitSize / numHashFunctions, RoundingMode.HALF_UP); in approximateElementCount()
206 long bitSize() { in bitSize() method in BloomFilter
207 return bits.bitSize(); in bitSize()
229 && this.bitSize() == that.bitSize() in isCompatible()
252 this.bitSize() == that.bitSize(), in putAll()
254 this.bitSize(), in putAll()
255 that.bitSize()); in putAll()
/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java49 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local
61 bitsChanged |= bits.set(combinedHash % bitSize); in MURMUR128_MITZ_32()
69 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local
80 if (!bits.get(combinedHash % bitSize)) { in MURMUR128_MITZ_32()
97 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local
106 bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize); in MURMUR128_MITZ_64()
115 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local
123 if (!bits.get((combinedHash & Long.MAX_VALUE) % bitSize)) { in MURMUR128_MITZ_64()
216 long bitSize() { in bitSize() method in BloomFilterStrategies.LockFreeBitArray
DBloomFilter.java180 return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); in expectedFpp()
191 long bitSize = bits.bitSize(); in approximateElementCount() local
200 double fractionOfBitsSet = (double) bitCount / bitSize; in approximateElementCount()
202 -Math.log1p(-fractionOfBitsSet) * bitSize / numHashFunctions, RoundingMode.HALF_UP); in approximateElementCount()
207 long bitSize() { in bitSize() method in BloomFilter
208 return bits.bitSize(); in bitSize()
230 && this.bitSize() == that.bitSize() in isCompatible()
253 this.bitSize() == that.bitSize(), in putAll()
255 this.bitSize(), in putAll()
256 that.bitSize()); in putAll()
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/
DDotZLib.cs230 private static int bitSize(uint bits) in bitSize() method in DotZLib.Info
263 public int SizeOfUInt { get { return bitSize(_flags & 3); } }
268 public int SizeOfULong { get { return bitSize((_flags >> 2) & 3); } }
273 public int SizeOfPointer { get { return bitSize((_flags >> 4) & 3); } }
278 public int SizeOfOffset { get { return bitSize((_flags >> 6) & 3); } }
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRSACoreEngine.java53 int bitSize = key.getModulus().bitLength(); in getInputBlockSize() local
57 return (bitSize + 7) / 8 - 1; in getInputBlockSize()
61 return (bitSize + 7) / 8; in getInputBlockSize()
74 int bitSize = key.getModulus().bitLength(); in getOutputBlockSize() local
78 return (bitSize + 7) / 8; in getOutputBlockSize()
82 return (bitSize + 7) / 8 - 1; in getOutputBlockSize()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DRSACoreEngine.java54 int bitSize = key.getModulus().bitLength(); in getInputBlockSize() local
58 return (bitSize + 7) / 8 - 1; in getInputBlockSize()
62 return (bitSize + 7) / 8; in getInputBlockSize()
75 int bitSize = key.getModulus().bitLength(); in getOutputBlockSize() local
79 return (bitSize + 7) / 8; in getOutputBlockSize()
83 return (bitSize + 7) / 8 - 1; in getOutputBlockSize()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/engines/
DRSACoreEngine.java54 int bitSize = key.getModulus().bitLength(); in getInputBlockSize() local
58 return (bitSize + 7) / 8 - 1; in getInputBlockSize()
62 return (bitSize + 7) / 8; in getInputBlockSize()
75 int bitSize = key.getModulus().bitLength(); in getOutputBlockSize() local
79 return (bitSize + 7) / 8; in getOutputBlockSize()
83 return (bitSize + 7) / 8 - 1; in getOutputBlockSize()
/external/parameter-framework/upstream/parameter/
DIntegerParameterType.h63 template <bool isSigned, size_t bitSize>
68 using CType = typename detail::IntegerTraits<isSigned, bitSize>::CType;
94 setSize(bitSize / 8); in fromXml()
117 xmlElement.setAttribute("Size", bitSize); in toXml()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp1562 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local
1575 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal()
1607 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local
1620 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal()
1657 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local
1670 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal()
1827 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in init() local
1833 while (nextSrcBit < de::min(bitSize, 10u)) in init()
1889 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in init() local
1895 while (nextSrcBit < de::min(bitSize, 10u)) in init()
[all …]
/external/aac/libDRCdec/src/
DdrcDec_reader.cpp453 int k, bitSizeLen, extSizeBits, bitSize; in _readUniDrcGainExtension() local
462 bitSize = FDKreadBits(hBs, extSizeBits); in _readUniDrcGainExtension()
463 pExt->extBitSize[k] = bitSize + 1; in _readUniDrcGainExtension()
1638 int k, bitSizeLen, extSizeBits, bitSize; in _readUniDrcConfigExtension() local
1649 bitSize = FDKreadBits(hBs, extSizeBits); in _readUniDrcConfigExtension()
1650 pExt->extBitSize[k] = bitSize + 1; in _readUniDrcConfigExtension()
1957 int k, bitSizeLen, extSizeBits, bitSize; in _readLoudnessInfoSetExtension() local
1968 bitSize = FDKreadBits(hBs, extSizeBits); in _readLoudnessInfoSetExtension()
1969 pExt->extBitSize[k] = bitSize + 1; in _readLoudnessInfoSetExtension()
/external/guava/android/guava-tests/test/com/google/common/hash/
DBloomFilterTest.java66 "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(), in testLargeBloomFilterDoesntOverflow()
67 bitArray.bitSize() > 0); in testLargeBloomFilterDoesntOverflow()
351 BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize()); in testBitSize()
/external/guava/guava-tests/test/com/google/common/hash/
DBloomFilterTest.java67 "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(), in testLargeBloomFilterDoesntOverflow()
68 bitArray.bitSize() > 0); in testLargeBloomFilterDoesntOverflow()
352 BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize()); in testBitSize()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp538 const std::string bitSize = de::toString(m_params.componentSize() * 8u); in getSpirVReplacements() local
549 baseTypeName = typePrefix + "int" + bitSize + "_t"; in getSpirVReplacements()
550 replacements["TYPES"] += "%" + baseTypeName + " = OpTypeInt " + bitSize + " " + signBit + "\n"; in getSpirVReplacements()
574 const std::string baseTypeName = "float" + bitSize + "_t"; in getSpirVReplacements()
575 replacements["TYPES"] += "%" + baseTypeName + " = OpTypeFloat " + bitSize + "\n"; in getSpirVReplacements()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp300 Converter::getDType(nir_op op, uint8_t bitSize) in getDType() argument
302 DataType ty = typeOfSize(bitSize / 8, isResultFloat(op), isResultSigned(op)); in getDType()
304 ERROR("couldn't get Type for op %s with bitSize %u\n", nir_op_infos[op].name, bitSize); in getDType()
333 uint8_t bitSize; in getSType() local
335 bitSize = src.ssa->bit_size; in getSType()
337 bitSize = src.reg.reg->bit_size; in getSType()
339 DataType ty = typeOfSize(bitSize / 8, isFloat, isSigned); in getSType()
348 ERROR("couldn't get Type for %s with bitSize %u\n", str, bitSize); in getSType()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp1091 uint32_t bitSize = pType->getIntegerBitWidth(); in GetTypeSize() local
1092 return bitSize / 8; in GetTypeSize()