/external/guava/android/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 49 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
|
D | BloomFilter.java | 179 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/ |
D | BloomFilterStrategies.java | 49 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
|
D | BloomFilter.java | 180 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/ |
D | DotZLib.cs | 230 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/ |
D | RSACoreEngine.java | 53 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/ |
D | RSACoreEngine.java | 54 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/ |
D | RSACoreEngine.java | 54 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/ |
D | IntegerParameterType.h | 63 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/ |
D | vktRenderPassMultisampleTests.cpp | 1562 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/ |
D | drcDec_reader.cpp | 453 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/ |
D | BloomFilterTest.java | 66 "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/ |
D | BloomFilterTest.java | 67 "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/ |
D | vktSpvAsmTrinaryMinMaxTests.cpp | 538 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/ |
D | nv50_ir_from_nir.cpp | 300 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/ |
D | builder_misc.cpp | 1091 uint32_t bitSize = pType->getIntegerBitWidth(); in GetTypeSize() local 1092 return bitSize / 8; in GetTypeSize()
|