Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,912 for ulong (0.08 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-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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    //	stream: message ...
    //	message: prefix body
    //	prefix: 4 byte uint32 in BigEndian order, denotes length of body
    //	body: bytes (0..prefix)
    //
    // If the buffer passed to Read is not long enough to contain an entire frame, io.ErrShortRead
    // will be returned along with the number of bytes read.
    func NewLengthDelimitedFrameReader(r io.ReadCloser) io.ReadCloser {
    	return &lengthDelimitedFrameReader{r: r}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K 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