Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fromLongBits (0.18 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

              ArithmeticException.class,
              () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO));
        }
      }
    
      public void testMod() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            if (b != 0) {
              UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
              UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
              long expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

              ArithmeticException.class,
              () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO));
        }
      }
    
      public void testMod() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            if (b != 0) {
              UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
              UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
              long expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLong.java

        return fromLongBits(UnsignedLongs.parseUnsignedLong(string, radix));
      }
    
      /**
       * Returns the result of adding this and {@code val}. If the result would have more than 64 bits,
       * returns the low 64 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedLong plus(UnsignedLong val) {
        return fromLongBits(this.value + checkNotNull(val).value);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedLong.java

        return fromLongBits(UnsignedLongs.parseUnsignedLong(string, radix));
      }
    
      /**
       * Returns the result of adding this and {@code val}. If the result would have more than 64 bits,
       * returns the low 64 bits of the result.
       *
       * @since 14.0
       */
      public UnsignedLong plus(UnsignedLong val) {
        return fromLongBits(this.value + checkNotNull(val).value);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      UnsignedInteger generateUnsignedInteger() {
        return UnsignedInteger.fromIntBits(generateInt());
      }
    
      @Generates
      UnsignedLong generateUnsignedLong() {
        return UnsignedLong.fromLongBits(generateLong());
      }
    
      @Generates
      BigInteger generateBigInteger() {
        return BigInteger.valueOf(generateInt());
      }
    
      @Generates
      BigDecimal generateBigDecimal() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Generates
      UnsignedInteger generateUnsignedInteger() {
        return UnsignedInteger.fromIntBits(generateInt());
      }
    
      @Generates
      UnsignedLong generateUnsignedLong() {
        return UnsignedLong.fromLongBits(generateLong());
      }
    
      @Generates
      BigInteger generateBigInteger() {
        return BigInteger.valueOf(generateInt());
      }
    
      @Generates
      BigDecimal generateBigDecimal() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top