Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 0xffffffffffffffff (0.93 sec)

  1. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

      @Param("1234")
      int randomSeed;
    
      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
      private static final long NONNEGATIVE_LONG_MASK = 0x7FFFFFFFFFFFFFFFL;
    
      @BeforeExperiment
      void setUp() {
        Random random = new Random(randomSeed);
        xInts = new int[SAMPLE_SIZE];
        yInts = new int[SAMPLE_SIZE];
        xLongs = new long[SAMPLE_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      }
    
      // Test for common pitfall regarding sign extension.
      // For example: (long) data[i++] | (long) data[i++] << 8 | ...
      // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80,
      // masking the remaining seven bytes.
      // To test this, we give an input where bit 7 is not cleared. For example:
      // (1) 00 01 02 03 04 05 06 07 80
      // (2) 00 01 02 03 04 05 06 07 81
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedLong.java

     * @author Colin Evans
     * @since 11.0
     */
    @GwtCompatible
    public final class UnsignedLong extends Number implements Comparable<UnsignedLong> {
    
      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
      public static final UnsignedLong MAX_VALUE = new UnsignedLong(-1L);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top