Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 217 for bits (0.03 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

          return MoreObjects.firstNonNull(existing, created);
        }
    
        @Override
        public int size() {
          return size;
        }
      }
    
      /** A bit mask were all bits are set. */
      private static final int ALL_SET = ~0;
    
      private static int ceilToPowerOfTwo(int x) {
        return 1 << IntMath.log2(x, RoundingMode.CEILING);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/InetAddressesTest.java

                "0:1:2:3::4:5:6:7", // :: must remove at least one 0.
                "3ffe:0:0:0:0:0:0:0:1", // too many parts (9 instead of 8)
                "3ffe::10000", // hextet exceeds 16 bits
                "3ffe::goog",
                "3ffe::-0",
                "3ffe::+0",
                "3ffe::-1",
                ":",
                ":::",
                "::1.2.3",
                "::1.2.3.4.5",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                });
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("Could not create BloomFilter of 3327428144502 bits");
      }
    
      @AndroidIncompatible // OutOfMemoryError
      public void testLargeNumberOfInsertions() {
        // We use horrible FPPs here to keep Java from OOM'ing
        BloomFilter<String> unused =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MapMakerInternalMap.java

       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    </p>
    
    <pre>
    const (
    	bit0, mask0 = 1 &lt;&lt; iota, 1&lt;&lt;iota - 1  // bit0 == 1, mask0 == 0  (iota == 0)
    	bit1, mask1                           // bit1 == 2, mask1 == 1  (iota == 1)
    	_, _                                  //                        (iota == 2, unused)
    	bit3, mask3                           // bit3 == 8, mask3 == 7  (iota == 3)
    )
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
        // using variant of single-word Wang/Jenkins hash.
        // TODO(kevinb): use Hashing/move this to Hashing?
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. doc/go_spec.html

    </p>
    
    <pre>
    const (
    	bit0, mask0 = 1 &lt;&lt; iota, 1&lt;&lt;iota - 1  // bit0 == 1, mask0 == 0  (iota == 0)
    	bit1, mask1                           // bit1 == 2, mask1 == 1  (iota == 1)
    	_, _                                  //                        (iota == 2, unused)
    	bit3, mask3                           // bit3 == 8, mask3 == 7  (iota == 3)
    )
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  8. api/go1.3.txt

    pkg syscall (openbsd-386), type Dirent struct, Fileno uint64
    pkg syscall (openbsd-386), type Dirent struct, Off int64
    pkg syscall (openbsd-386), type Dirent struct, X__d_padding [4]uint8
    pkg syscall (openbsd-386), type FdSet struct, Bits [32]uint32
    pkg syscall (openbsd-386), type Kevent_t struct, Data int64
    pkg syscall (openbsd-386), type Mclpool struct, Grown int32
    pkg syscall (openbsd-386), type RtMetrics struct, Expire int64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

            K castKey = (K) key;
            result.put(castKey, value);
            hits++;
          }
        }
        globalStatsCounter.recordHits(hits);
        globalStatsCounter.recordMisses(misses);
        return result.buildKeepingLast();
      }
    
      ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        int hits = 0;
        int misses = 0;
    
        Map<K, V> result = Maps.newLinkedHashMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

                result *= n;
                result /= i;
              }
              return result;
            } else {
              int nBits = LongMath.log2(n, RoundingMode.CEILING);
    
              long result = 1;
              long numerator = n--;
              long denominator = 1;
    
              int numeratorBits = nBits;
              // This is an upper bound on log2(numerator, ceiling).
    
              /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top