Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 54 of 54 for unsigned (0.17 sec)

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

        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
            UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
            long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue();
            UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned);
            assertThat(unsignedSum.longValue()).isEqualTo(expected);
          }
        }
      }
    
    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)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
        // so more than (maximumSize / #segments) keys could get assigned to the same segment, which
        // would cause one to be evicted.
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

          }
          asciiDigits = result;
        }
    
        static int digit(char c) {
          return (c < 128) ? asciiDigits[c] : -1;
        }
      }
    
      /**
       * Parses the specified string as a signed decimal long value. The ASCII character {@code '-'} (
       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
       * <p>It is not specified if any performance benefits apply if {@code expectedSize} is close to,
       * but not exactly, the number of entries added to the builder.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
Back to top