Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for BitSet (0.47 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

        int keyBits = 32;
        int hashBits = function.bits();
    
        // output loop tests input bit
        for (int i = 0; i < keyBits; i++) {
          int same = 0x0; // bitset for output bits with same values
          int diff = 0x0; // bitset for output bits with different values
          int count = 0;
          // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

              bytes[15], bytes[14], bytes[13], bytes[12], bytes[11], bytes[10], bytes[9], bytes[8]);
        }
      };
    
      /**
       * Models a lock-free array of bits.
       *
       * <p>We use this instead of java.util.BitSet because we need access to the array of longs and we
       * need compare-and-swap.
       */
      static final class LockFreeBitArray {
        private static final int LONG_ADDRESSABLE_BITS = 6;
        final AtomicLongArray data;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

         * {@code null} is returned.
         */
        private static <K, V> Entry<K, V> @Nullable [] lastEntryForEachKey(
            Entry<K, V>[] entries, int size) {
          Set<K> seen = new HashSet<>();
          BitSet dups = new BitSet(); // slots that are overridden by a later duplicate key
          for (int i = size - 1; i >= 0; i--) {
            if (!seen.add(entries[i].getKey())) {
              dups.set(i);
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

        // Serial form:
        // 1 signed byte for the strategy
        // 1 unsigned byte for the number of hash functions
        // 1 big endian int, the number of longs in our bitset
        // N big endian longs of our bitset
        DataOutputStream dout = new DataOutputStream(out);
        dout.writeByte(SignedBytes.checkedCast(strategy.ordinal()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

          }
        }
    
        private @Nullable Object[] lastEntryForEachKey(
            @Nullable Object[] localAlternatingKeysAndValues, int size) {
          Set<Object> seenKeys = new HashSet<>();
          BitSet dups = new BitSet(); // slots that are overridden by a later duplicate key
          for (int i = size - 1; i >= 0; i--) {
            Object key = requireNonNull(localAlternatingKeysAndValues[2 * i]);
            if (!seenKeys.add(key)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * @throws CIFSException if an error occurs accessing the resource
         */
        long fileIndex() throws CIFSException;
    
        /**
         * Return the attributes of this file. Attributes are represented as a
         * bitset that must be masked with <code>ATTR_*</code> constants to determine
         * if they are set or unset. The value returned is suitable for use with
         * the <code>setAttributes()</code> method.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. CHANGELOG/CHANGELOG-1.21.md

    ## Dependencies
    
    ### Added
    - github.com/bits-and-blooms/bitset: [v1.2.0](https://github.com/bits-and-blooms/bitset/tree/v1.2.0)
    
    ### Changed
    - github.com/cilium/ebpf: [v0.5.0 → v0.6.2](https://github.com/cilium/ebpf/compare/v0.5.0...v0.6.2)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
    
            setPathInformation(0, 0L, time);
        }
    
        /**
         * Return the attributes of this file. Attributes are represented as a
         * bitset that must be masked with {@code ATTR_*} constants to determine
         * if they are set or unset. The value returned is suitable for use with
         * the {@code setAttributes()} method.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.22.md

    - github.com/antihax/optional: [v1.0.0](https://github.com/antihax/optional/tree/v1.0.0)
    - github.com/benbjohnson/clock: [v1.0.3](https://github.com/benbjohnson/clock/tree/v1.0.3)
    - github.com/bits-and-blooms/bitset: [v1.2.0](https://github.com/bits-and-blooms/bitset/tree/v1.2.0)
    - github.com/certifi/gocertifi: [2c3bb06](https://github.com/certifi/gocertifi/tree/2c3bb06)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.20.md

    - github.com/sean-/seed: [e2103e2](https://github.com/sean-/seed/tree/e2103e2)
    - github.com/subosito/gotenv: [v1.2.0](https://github.com/subosito/gotenv/tree/v1.2.0)
    - github.com/willf/bitset: [d5bec33](https://github.com/willf/bitset/tree/d5bec33)
    - gopkg.in/ini.v1: v1.51.0
    - gopkg.in/yaml.v3: 9f266ea
    - rsc.io/quote/v3: v3.1.0
    - rsc.io/sampler: v1.3.0
    
    ### Changed
    - cloud.google.com/go/bigquery: v1.0.1 → v1.4.0
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
Back to top