- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for bitSize (0.06 seconds)
-
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
} bitsChanged |= bits.set(combinedHash % bitSize); } return bitsChanged; } @Override public <T extends @Nullable Object> boolean mightContain( @ParametricNullness T object, Funnel<? super T> funnel, int numHashFunctions, LockFreeBitArray bits) { long bitSize = bits.bitSize(); long hash64 = murmur3_128().hashObject(object, funnel).asLong();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* @since 22.0 */ public long approximateElementCount() { long bitSize = bits.bitSize(); long bitCount = bits.bitCount(); /* * Each insertion is expected to reduce the # of clear bits by a factor of * `numHashFunctions/bitSize`. So, after n insertions, expected bitCount is `bitSize * (1 - (1 - * numHashFunctions/bitSize)^n)`. Solving that for n, and approximating `ln x` as `x - 1` when x
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 10 22:28:12 GMT 2026 - 27.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
numBits++; LockFreeBitArray bitArray = new LockFreeBitArray(numBits); assertTrue( "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(), bitArray.bitSize() > 0); // Ideally we would also test the bitSize() overflow of this BF, but it runs out of heap space // BloomFilter.create(Funnels.unencodedCharsFunnel(), 244412641, 1e-11); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
/** * Atomically sets the value to the given updated value if the current value is <a * href="#bitEquals">bitwise equal</a> to the expected value. * * @param expect the expected value * @param update the new value * @return {@code true} if successful. False return indicates that the actual value was not * bitwise equal to the expected value. */ public final boolean compareAndSet(double expect, double update) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* variables. * * <p><a id="bitEquals"></a>This class compares primitive {@code double} values in methods such as * {@link #compareAndSet} by comparing their bitwise representation using {@link * Double#doubleToRawLongBits}, which differs from both the primitive double {@code ==} operator and * from {@link Double#equals}, as if implemented by: * * {@snippet :
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0) -
docs/en/docs/python-types.md
#### Union { #union } You can declare that a variable can be any of **several types**, for example, an `int` or a `str`. To define it you use the <dfn title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</dfn> to separate both types. This is called a "union", because the variable can be anything in the union of those two sets of types.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/zh/docs/python-types.md
* 这个 `dict` 的键是 `str` 类型(比如,每个条目的名称)。 * 这个 `dict` 的值是 `float` 类型(比如,每个条目的价格)。 #### Union { #union } 你可以声明一个变量可以是若干种类型中的任意一种,比如既可以是 `int` 也可以是 `str`。 定义时使用<dfn title='也叫“按位或运算符(bitwise or operator)”,但这里与该含义无关'>竖线(`|`)</dfn>把两种类型分开。 这称为“联合类型”(union),因为变量可以是这两类类型集合的并集中的任意一个。 ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial008b_py310.py!} ``` 这表示 `item` 可以是 `int` 或 `str`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.6K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/riscv64.s
SEXTB X16, X17 // 93184860 SEXTH X17, X18 // 13995860 XNOR X18, X19, X20 // 33ca2941 or 33ca2901134afaff XNOR X18, X19 // b3c92941 or b3c9290193c9f9ff ZEXTH X19, X20 // 3bca0908 // 28.4.2: Bitwise Rotation (Zbb) ROL X8, X9, X10 // 33958460 or b30f8040b3dff4013395840033e5af00 ROL X8, X9 // b3948460 or b30f8040b3dff401b3948400b3e49f00 ROLW X9, X10, X11 // bb159560 or b30f9040bb5ff501bb159500b3e5bf00
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Sat Apr 04 05:25:40 GMT 2026 - 74.2K bytes - Click Count (0) -
doc/go_spec.html
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1) -
doc/asm.html
<p> This is the list of instructions and their spellings as known to the assembler and linker for that architecture. Each instruction begins with an initial capital <code>A</code> in this list, so <code>AAND</code> represents the bitwise and instruction, <code>AND</code> (without the leading <code>A</code>), and is written in assembly source as <code>AND</code>. The enumeration is mostly in alphabetical order.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:09:46 GMT 2025 - 36.5K bytes - Click Count (0)