Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,173 for ulong (0.3 sec)

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

            .isEqualTo(1);
        assertThat(
                Longs.indexOf(
                    new long[] {(long) 2, (long) 3, (long) 2, (long) 3, (long) 4, (long) 2, (long) 3},
                    new long[] {(long) 2, (long) 3, (long) 4}))
            .isEqualTo(2);
        assertThat(
                Longs.indexOf(
                    new long[] {(long) 2, (long) 2, (long) 3, (long) 4, (long) 2, (long) 3, (long) 4},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

            .isEqualTo(1);
        assertThat(
                Longs.indexOf(
                    new long[] {(long) 2, (long) 3, (long) 2, (long) 3, (long) 4, (long) 2, (long) 3},
                    new long[] {(long) 2, (long) 3, (long) 4}))
            .isEqualTo(2);
        assertThat(
                Longs.indexOf(
                    new long[] {(long) 2, (long) 2, (long) 3, (long) 4, (long) 2, (long) 3, (long) 4},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * 0} and {@code 2^64 - 1} inclusive.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#compareUnsigned(long, long)} instead.
       *
       * @param a the first unsigned {@code long} to compare
       * @param b the second unsigned {@code long} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java

            long _10_bytes = 10L;
            assertEquals("10 B", format.format(_10_bytes));
    
            long _15_bytes = 15L;
            assertEquals("15 B", format.format(_15_bytes));
    
            long _999_bytes = 999L;
            assertEquals("999 B", format.format(_999_bytes));
    
            long _1000_bytes = 1000L;
            assertEquals("1.0 kB", format.format(_1000_bytes));
    
            long _5500_bytes = 5500L;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
        long doubleConversionTest = 0xfffffffffffff402L;
    
        for (long i = -3; i <= 3; i++) {
          testLongsBuilder
              .add(i)
              .add(Long.MAX_VALUE + i)
              .add(Long.MIN_VALUE + i)
              .add(Integer.MIN_VALUE + i)
              .add(Integer.MAX_VALUE + i)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

        int leadingZeros =
            Long.numberOfLeadingZeros(a)
                + Long.numberOfLeadingZeros(~a)
                + Long.numberOfLeadingZeros(b)
                + Long.numberOfLeadingZeros(~b);
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
        // the return value if we will overflow (which we calculate by overflowing a long :) )
        long limit = Long.MAX_VALUE + ((a ^ b) >>> (Long.SIZE - 1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedLongs.java

       * 0} and {@code 2^64 - 1} inclusive.
       *
       * <p><b>Java 8+ users:</b> use {@link Long#compareUnsigned(long, long)} instead.
       *
       * @param a the first unsigned {@code long} to compare
       * @param b the second unsigned {@code long} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/LongMathTest.java

        assertMean(0, 0, 0);
        assertMean(-1, -1, -1);
        assertMean(Long.MIN_VALUE, Long.MIN_VALUE, Long.MIN_VALUE);
        assertMean(Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE);
    
        // Exhaustive checks
        for (long x : ALL_LONG_CANDIDATES) {
          for (long y : ALL_LONG_CANDIDATES) {
            assertMean(x, y);
          }
        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

        int leadingZeros =
            Long.numberOfLeadingZeros(a)
                + Long.numberOfLeadingZeros(~a)
                + Long.numberOfLeadingZeros(b)
                + Long.numberOfLeadingZeros(~b);
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
        // the return value if we will overflow (which we calculate by overflowing a long :) )
        long limit = Long.MAX_VALUE + ((a ^ b) >>> (Long.SIZE - 1));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        @CheckForNull
        public Long previous(Long value) {
          long l = value;
          return (l == Long.MIN_VALUE) ? null : l - 1;
        }
    
        @Override
        Long offset(Long origin, long distance) {
          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top