Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 0x00ffffff (0.25 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      @Override
      <E extends Comparable<E>> ImmutableSortedSet.Builder<E> builder() {
        return ImmutableSortedSet.naturalOrder();
      }
    
      @Override
      int getComplexBuilderSetLastElement() {
        return 0x00FFFFFF;
      }
    
      public void testLegacyComparable_of() {
        ImmutableSortedSet<LegacyComparable> set0 = ImmutableSortedSet.of();
        assertThat(set0).isEmpty();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      @Override
      <E extends Comparable<E>> ImmutableSortedSet.Builder<E> builder() {
        return ImmutableSortedSet.naturalOrder();
      }
    
      @Override
      int getComplexBuilderSetLastElement() {
        return 0x00FFFFFF;
      }
    
      public void testLegacyComparable_of() {
        ImmutableSortedSet<LegacyComparable> set0 = ImmutableSortedSet.of();
        assertThat(set0).isEmpty();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  5. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

      private static final ImmutableSet<Long> TEST_LONGS;
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    
      static {
        ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
        ImmutableSet.Builder<Long> testLongsBuilder = ImmutableSet.builder();
        for (int i = -3; i <= 3; i++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/IntMathTest.java

        }
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInteger.java

      private final int value;
    
      private UnsignedInteger(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        this.value = value & 0xffffffff;
      }
    
      /**
       * Returns an {@code UnsignedInteger} corresponding to a given bit representation. The argument is
       * interpreted as an unsigned 32-bit value. Specifically, the sign bit of {@code bits} is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

        coercedHash |= 0xe0000000;
    
        // Fixup to avoid some "illegal" values. Currently the only potential
        // illegal value is 255.255.255.255.
        if (coercedHash == 0xffffffff) {
          coercedHash = 0xfffffffe;
        }
    
        return getInet4Address(Ints.toByteArray(coercedHash));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

          int count = 0;
          // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues
          int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1);
          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            int key2 = key1 ^ (1 << i);
            // get hashes
            int hash1 = function.hashInt(key1).asInt();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

        }
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
Back to top