Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UnsignedLongs (0.13 sec)

  1. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          longs[i] = random();
          divisors[i] = randomDivisor(longs[i]);
          decimalStrings[i] = UnsignedLongs.toString(longs[i]);
          binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
          hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
          prefixedHexStrings[i] = "0x" + hexStrings[i];
        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLong.java

       * @since 14.0
       */
      public UnsignedLong dividedBy(UnsignedLong val) {
        return fromLongBits(UnsignedLongs.divide(value, checkNotNull(val).value));
      }
    
      /**
       * Returns this modulo {@code val}.
       *
       * @since 14.0
       */
      public UnsignedLong mod(UnsignedLong val) {
        return fromLongBits(UnsignedLongs.remainder(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

       * @since 14.0
       */
      public UnsignedLong dividedBy(UnsignedLong val) {
        return fromLongBits(UnsignedLongs.divide(value, checkNotNull(val).value));
      }
    
      /**
       * Returns this modulo {@code val}.
       *
       * @since 14.0
       */
      public UnsignedLong mod(UnsignedLong val) {
        return fromLongBits(UnsignedLongs.remainder(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/src/com/google/common/primitives/package-info.java

     *   <li>{@link Doubles}
     *   <li>{@link Floats}
     *   <li>{@link Ints}
     *       <ul>
     *         <li>{@link UnsignedInts}
     *       </ul>
     *   <li>{@link Longs}
     *       <ul>
     *         <li>{@link UnsignedLongs}
     *       </ul>
     *   <li>{@link Shorts}
     * </ul>
     *
     * <h3>General static utilities</h3>
     *
     * <ul>
     *   <li>{@link Primitives}
     * </ul>
     */
    @ParametersAreNonnullByDefault
    @CheckReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top