Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for bits (0.41 sec)

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

            @ParametricNullness T object,
            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits);
    
        /**
         * Queries {@code numHashFunctions} bits of the given bit array, by hashing a user element;
         * returns {@code true} if and only if all selected bits are set.
         */
        <T extends @Nullable Object> boolean mightContain(
            @ParametricNullness T object,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack.cc

      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
            return tensorflow::errors::InvalidArgument(
                "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits);
          }
          *tf_dtype = TF_DataType::TF_BOOL;
          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
            case 8:
              *tf_dtype = TF_DataType::TF_UINT8;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

      public static HashFunction goodFastHash(int minimumBits) {
        int bits = checkPositiveAndMakeMultipleOf32(minimumBits);
    
        if (bits == 32) {
          return Murmur3_32HashFunction.GOOD_FAST_HASH_32;
        }
        if (bits <= 128) {
          return Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        }
    
        // Otherwise, join together some 128-bit murmur3s
        int hashFunctionsNeeded = (bits + 127) / 128;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
     *    121 : Disallowed
     *    122 : Mapped inline to the sequence: [b2].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/BigIntegerMath.java

        long numeratorAccum = n;
        long denominatorAccum = 1;
    
        int bits = LongMath.log2(n, CEILING);
    
        int numeratorBits = bits;
    
        for (int i = 1; i < k; i++) {
          int p = n - i;
          int q = i + 1;
    
          // log2(p) >= bits - 1, because p >= n/2
    
          if (numeratorBits + bits >= Long.SIZE - 1) {
            // The numerator is as big as it can get without risking overflow.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LongMathTest.java

        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 100; i++) {
            long p = BigInteger.probablePrime(bits, rand).longValue();
            assertTrue(LongMath.isPrime(p));
          }
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeOnRandomComposites() {
        Random rand = new Random(1);
        for (int bits = 5; bits < 32; bits++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/networking/v1alpha1/generated.proto

      optional k8s.io.api.core.v1.NodeSelector nodeSelector = 1;
    
      // perNodeHostBits defines the number of host bits to be configured per node.
      // A subnet mask determines how much of the address is used for network bits
      // and host bits. For example an IPv4 address of 192.168.0.0/24, splits the
      // address into 24 bits for the network portion and 8 bits for the host portion.
      // To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6).
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/LongMathTest.java

        for (int bits = 10; bits < 63; bits++) {
          for (int i = 0; i < 100; i++) {
            long p = BigInteger.probablePrime(bits, rand).longValue();
            assertTrue(LongMath.isPrime(p));
          }
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeOnRandomComposites() {
        Random rand = new Random(1);
        for (int bits = 5; bits < 32; bits++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

      /** Stores the hash table mask as the number of bits needed to represent an index. */
      private void setHashTableMask(int mask) {
        int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask);
        metadata =
            CompactHashing.maskCombine(metadata, hashTableBits, CompactHashing.HASH_TABLE_BITS_MASK);
      }
    
      /** Gets the hash table mask using the stored number of hash table bits. */
      private int hashTableMask() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashSet.java

      /** Stores the hash table mask as the number of bits needed to represent an index. */
      private void setHashTableMask(int mask) {
        int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask);
        metadata =
            CompactHashing.maskCombine(metadata, hashTableBits, CompactHashing.HASH_TABLE_BITS_MASK);
      }
    
      /** Gets the hash table mask using the stored number of hash table bits. */
      private int hashTableMask() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top