Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/hash/
DBloomFilterStrategies.java47 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local
59 bitsChanged |= bits.set(combinedHash % bitSize); in MURMUR128_MITZ_32()
66 long bitSize = bits.bitSize(); in MURMUR128_MITZ_32() local
77 if (!bits.get(combinedHash % bitSize)) { in MURMUR128_MITZ_32()
94 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local
103 bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize); in MURMUR128_MITZ_64()
112 long bitSize = bits.bitSize(); in MURMUR128_MITZ_64() local
120 if (!bits.get((combinedHash & Long.MAX_VALUE) % bitSize)) { in MURMUR128_MITZ_64()
174 long bitSize() { in bitSize() method in BloomFilterStrategies.BitArray
DBloomFilter.java180 return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); in expectedFpp()
186 @VisibleForTesting long bitSize() { in bitSize() method in BloomFilter
187 return bits.bitSize(); in bitSize()
209 (this.bitSize() == that.bitSize()) && in isCompatible()
230 checkArgument(this.bitSize() == that.bitSize(), in putAll()
232 this.bitSize(), that.bitSize()); in putAll()
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpbngetext.c84 cpSize bitSize = BITSIZE_BNU(BN_NUMBER(pBN), BN_SIZE(pBN)); variable
85 if(0==bitSize)
86 bitSize = 1;
88 COPY_BNU(pData, (Ipp32u*)BN_NUMBER(pBN), BITS2WORD32_SIZE(bitSize));
92 *pBitSize = bitSize;
Dpcpprngen_pattern.c64 int cpPRNGenPattern(BNU_CHUNK_T* pRand, int bitSize, in cpPRNGenPattern() argument
68 BNU_CHUNK_T topMask = MASK_BNU_CHUNK(bitSize); in cpPRNGenPattern()
69 cpSize randLen = BITS_BNU_CHUNK(bitSize); in cpPRNGenPattern()
71 IppStatus sts = rndFunc((Ipp32u*)pRand, bitSize, pRndParam); in cpPRNGenPattern()
Dpcpmont_set.c60 int bitSize = 32; in cpGetBitSize() local
62 while ((val & (1 << bitSize)) == 0) bitSize--; in cpGetBitSize()
63 return offset + bitSize; in cpGetBitSize()
Dpcpprime_isprob.h97 static int cpIsProbablyPrime(BNU_CHUNK_T* pPrime, int bitSize, in cpIsProbablyPrime() argument
104 int ret = cpMimimalPrimeTest((Ipp32u*)pPrime, BITS2WORD32_SIZE(bitSize)); in cpIsProbablyPrime()
108 int ns = BITS_BNU_CHUNK(bitSize); in cpIsProbablyPrime()
137 pOdd, bitSize - a, a, in cpIsProbablyPrime()
Dpcpprngen_range.c71 int bitSize = BITSIZE_BNU(pHi,hiLen); in cpPRNGenRange() local
72 BNU_CHUNK_T topMask = MASK_BNU_CHUNK(bitSize); in cpPRNGenRange()
78 IppStatus sts = rndFunc((Ipp32u*)pRand, bitSize, pRndParam); in cpPRNGenRange()
Dpcpngmontexpstuff_avx512.h67 __INLINE int cpDigitNum_avx512(int bitSize, int digSize) in cpDigitNum_avx512() argument
68 { return (bitSize + digSize-1)/digSize; } in cpDigitNum_avx512()
Dpcpngmontexpstuff_sse2.h68 __INLINE int cpDigitNum_sse2(int bitSize, int digSize) in cpDigitNum_sse2() argument
69 { return (bitSize + digSize-1)/digSize; } in cpDigitNum_sse2()
Dpcpngmontexpstuff_avx2.h68 __INLINE int cpDigitNum_avx2(int bitSize, int digSize) in cpDigitNum_avx2() argument
69 { return (bitSize + digSize-1)/digSize; } in cpDigitNum_avx2()
Dpcpprng.h85 int cpPRNGenPattern(BNU_CHUNK_T* pRand, int bitSize,
/external/zlib/src/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/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/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/syzkaller/prog/
Dsize.go17 bitSize := lenType.BitSize
18 if bitSize == 0 {
19 bitSize = 8
24 return a.VmaSize * 8 / bitSize
28 return a.Size() * 8 / bitSize
32 return arg.Size() * 8 / bitSize
/external/syzkaller/vendor/golang.org/x/net/http2/
Dgotrack.go78 func parseUintBytes(s []byte, base int, bitSize int) (n uint64, err error) {
81 if bitSize == 0 {
82 bitSize = int(strconv.IntSize)
117 maxVal = 1<<uint(bitSize) - 1
/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.cpp1446 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local
1459 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal()
1491 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local
1504 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal()
1541 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in iterateInternal() local
1554 while (nextSrcBit < de::min(bitSize, 10u)) in iterateInternal()
1709 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in init() local
1715 while (nextSrcBit < de::min(bitSize, 10u)) in init()
1771 const deUint32 bitSize (bits[0] + bits[1] + bits[2] + bits[3]); in init() local
1777 while (nextSrcBit < de::min(bitSize, 10u)) in init()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DBloomFilterTest.java50 "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(), in testLargeBloomFilterDoesntOverflow()
51 bitArray.bitSize() > 0); in testLargeBloomFilterDoesntOverflow()
307 BloomFilter.create(Funnels.unencodedCharsFunnel(), i, fpp).bitSize()); in testBitSize()
/external/aac/libDRCdec/src/
DdrcDec_reader.cpp456 int k, bitSizeLen, extSizeBits, bitSize; in _readUniDrcGainExtension() local
465 bitSize = FDKreadBits(hBs, extSizeBits); in _readUniDrcGainExtension()
466 pExt->extBitSize[k] = bitSize + 1; in _readUniDrcGainExtension()
1632 int k, bitSizeLen, extSizeBits, bitSize; in _readUniDrcConfigExtension() local
1643 bitSize = FDKreadBits(hBs, extSizeBits); in _readUniDrcConfigExtension()
1644 pExt->extBitSize[k] = bitSize + 1; in _readUniDrcConfigExtension()
1951 int k, bitSizeLen, extSizeBits, bitSize; in _readLoudnessInfoSetExtension() local
1962 bitSize = FDKreadBits(hBs, extSizeBits); in _readLoudnessInfoSetExtension()
1963 pExt->extBitSize[k] = bitSize + 1; in _readLoudnessInfoSetExtension()
/external/syzkaller/pkg/compiler/
Dtypes.go194 var bitSize uint64
197 bitSize = 8
200 bitSize = byteSize * 8
202 bitSize = 1
207 BitSize: bitSize,
/external/vixl/src/
Dutils-vixl.h487 inline T SignExtend(T val, int bitSize) { in SignExtend() argument
488 VIXL_ASSERT(bitSize > 0); in SignExtend()
489 T mask = (T(2) << (bitSize - 1)) - T(1); in SignExtend()
491 T sign_bits = -((val >> (bitSize - 1)) << bitSize); in SignExtend()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp1729 uint32_t bitSize = pType->getIntegerBitWidth(); in GetTypeSize() local
1730 return bitSize / 8; in GetTypeSize()
/external/epid-sdk/epid/common/math/src/
Dpairing.c149 int bitSize = 0; in NewPairingState() local
236 sts = ippsRef_BN(0, &bitSize, 0, e->ipp_bn); in NewPairingState()
238 sts = ippsGFpScratchBufferSize(1, bitSize, Fq2, &bufferSize); in NewPairingState()
/external/epid-sdk/ext/ipp/include/
Dippcp.h589 IPPAPI(IppStatus, ippsRef_BN,(IppsBigNumSGN* pSgn, int* bitSize, Ipp32u** const ppData,