Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LockFreeBitArray (0.1 sec)

  1. android/guava/src/com/google/common/hash/BloomFilter.java

        final Strategy strategy;
    
        SerialForm(BloomFilter<T> bf) {
          this.data = LockFreeBitArray.toPlainArray(bf.bits.data);
          this.numHashFunctions = bf.numHashFunctions;
          this.funnel = bf.funnel;
          this.strategy = bf.strategy;
        }
    
        Object readResolve() {
          return new BloomFilter<T>(new LockFreeBitArray(data), numHashFunctions, funnel, strategy);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      @AndroidIncompatible // OutOfMemoryError
      public void testLargeBloomFilterDoesntOverflow() {
        long numBits = Integer.MAX_VALUE;
        numBits++;
    
        LockFreeBitArray bitArray = new LockFreeBitArray(numBits);
        assertTrue(
            "BitArray.bitSize() must return a positive number, but was " + bitArray.bitSize(),
            bitArray.bitSize() > 0);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top