Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 5,028 for ulong (0.13 sec)

  1. 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)
  2. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

        } else {
          return hashLength65Plus(bytes, offset, length);
        }
      }
    
      private static long shiftMix(long val) {
        return val ^ (val >>> 47);
      }
    
      private static long hashLength16(long u, long v, long mul) {
        long a = (u ^ v) * mul;
        a ^= (a >>> 47);
        long b = (v ^ a) * mul;
        b ^= (b >>> 47);
        b *= mul;
        return b;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/FarmHashFingerprint64.java

        } else {
          return hashLength65Plus(bytes, offset, length);
        }
      }
    
      private static long shiftMix(long val) {
        return val ^ (val >>> 47);
      }
    
      private static long hashLength16(long u, long v, long mul) {
        long a = (u ^ v) * mul;
        a ^= (a >>> 47);
        long b = (v ^ a) * mul;
        b ^= (b >>> 47);
        b *= mul;
        return b;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 01 22:39:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

    /**
     * {@link Long}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class LongConversionUtil {
    
        /**
         * {@link Long}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@link Long}
         */
        public static Long toLong(final Object o) {
            return toLong(o, null);
        }
    
        /**
         * {@link Long}に変換します。
         *
         * @param o
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K 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. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java

            long bytes = kiloBytes * KILO_FACTOR;
            return new MemoryAmount(bytes, bytes + "k");
        }
    
        public static MemoryAmount ofMegaBytes(long megaBytes) {
            long bytes = megaBytes * MEGA_FACTOR;
            return new MemoryAmount(bytes, bytes + "m");
        }
    
        public static MemoryAmount ofGigaBytes(long gigaBytes) {
            long bytes = gigaBytes * GIGA_FACTOR;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

         */
        public static long[] toPlainArray(AtomicLongArray atomicLongArray) {
          long[] array = new long[atomicLongArray.length()];
          for (int i = 0; i < array.length; ++i) {
            array[i] = atomicLongArray.get(i);
          }
          return array;
        }
    
        /** Number of bits */
        long bitSize() {
          return (long) data.length() * Long.SIZE;
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top