Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 243 for bits (0.16 sec)

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

        mutated[0]++;
        assertTrue(Arrays.equals(original, hash.asBytes()));
      }
    
      private static void assertReadableBytes(HashCode hashCode) {
        assertTrue(hashCode.bits() >= 32); // sanity
        byte[] hashBytes = hashCode.asBytes();
        int totalBytes = hashCode.bits() / 8;
    
        for (int bytes = 0; bytes < totalBytes; bytes++) {
          byte[] bb = new byte[bytes];
          hashCode.writeBytesTo(bb, 0, bb.length);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      /**
       * The hashtable. Its values are indexes to the keys, values, and entries arrays.
       *
       * <p>Currently, the UNSET value means "null pointer", and any non negative value x is the actual
       * index.
       *
       * <p>Its size must be a power of two.
       */
      private transient int[] table;
    
      /**
       * Contains the logical entries, in the range of [0, size()). The high 32 bits of each long is the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        mutated[0]++;
        assertTrue(Arrays.equals(original, hash.asBytes()));
      }
    
      private static void assertReadableBytes(HashCode hashCode) {
        assertTrue(hashCode.bits() >= 32); // sanity
        byte[] hashBytes = hashCode.asBytes();
        int totalBytes = hashCode.bits() / 8;
    
        for (int bytes = 0; bytes < totalBytes; bytes++) {
          byte[] bb = new byte[bytes];
          hashCode.writeBytesTo(bb, 0, bb.length);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack_test.cc

      EXPECT_EQ(dltensor_out->ndim, dltensor_in->ndim);
      EXPECT_EQ(dltensor_out->dtype.code, dltensor_in->dtype.code);
      EXPECT_EQ(dltensor_out->dtype.bits, dltensor_in->dtype.bits);
      EXPECT_EQ(dltensor_out->dtype.lanes, dltensor_in->dtype.lanes);
      for (int i = 0; i < dltensor_in->ndim; ++i) {
        EXPECT_EQ(dltensor_out->shape[i], dltensor_in->shape[i]);
        if (dltensor_out->strides) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       * which the superconstructor calls.
       */
    
      /**
       * Contains the link pointers corresponding with the entries, in the range of [0, size()). The
       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
       * (pointing to the nextEntry entry in the linked list). The pointers in [size(), entries.length)
       * are all "null" (UNSET).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 5.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      private static final int ENDPOINT = -2;
    
      /**
       * Contains the link pointers corresponding with the entries, in the range of [0, size()). The
       * high 32 bits of each long is the "prev" pointer, whereas the low 32 bits is the "succ" pointer
       * (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are
       * all "null" (UNSET).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/security/README.md

    Further any secret key (apart from the KMS-generated ones) is 256 bits long. The KMS-generated keys may be 256 bits but this depends on the KMS capabilities and configuration.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 13.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
        long doubleConversionTest = 0xfffffffffffff402L;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/DoubleUtilsTest.java

        assertThrows(IllegalArgumentException.class, () -> DoubleUtils.ensureNonNegative(Double.NaN));
      }
    
      public void testOneBits() {
        assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0));
      }
    
      private static void failFormat(String template, Object... args) {
        fail(String.format(template, args));
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/DoubleMath.java

     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.math.DoubleUtils.IMPLICIT_BIT;
    import static com.google.common.math.DoubleUtils.SIGNIFICAND_BITS;
    import static com.google.common.math.DoubleUtils.getSignificand;
    import static com.google.common.math.DoubleUtils.isFinite;
    import static com.google.common.math.DoubleUtils.isNormal;
    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)
Back to top