Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for big (0.04 sec)

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

        BigInteger min = BigInteger.ZERO;
        BigInteger max = UnsignedLong.MAX_VALUE.bigIntegerValue();
        for (BigInteger big : TEST_BIG_INTEGERS) {
          boolean expectSuccess = big.compareTo(min) >= 0 && big.compareTo(max) <= 0;
          try {
            assertThat(UnsignedLong.valueOf(big).bigIntegerValue()).isEqualTo(big);
            assertThat(expectSuccess).isTrue();
          } catch (IllegalArgumentException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        BigInteger min = BigInteger.ZERO;
        BigInteger max = UnsignedLong.MAX_VALUE.bigIntegerValue();
        for (BigInteger big : TEST_BIG_INTEGERS) {
          boolean expectSuccess = big.compareTo(min) >= 0 && big.compareTo(max) <= 0;
          try {
            assertThat(UnsignedLong.valueOf(big).bigIntegerValue()).isEqualTo(big);
            assertThat(expectSuccess).isTrue();
          } catch (IllegalArgumentException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg math/big, const MaxPrec ideal-int
    pkg math/big, const MinExp = -2147483648
    pkg math/big, const MinExp ideal-int
    pkg math/big, const ToNearestAway = 1
    pkg math/big, const ToNearestAway RoundingMode
    pkg math/big, const ToNearestEven = 0
    pkg math/big, const ToNearestEven RoundingMode
    pkg math/big, const ToNegativeInf = 4
    pkg math/big, const ToNegativeInf RoundingMode
    pkg math/big, const ToPositiveInf = 5
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/IntMathTest.java

      private static final BigInteger MIN_INT = BigInteger.valueOf(Integer.MIN_VALUE);
    
      private static int saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_INT) > 0) {
          return Integer.MAX_VALUE;
        }
        if (big.compareTo(MIN_INT) < 0) {
          return Integer.MIN_VALUE;
        }
        return big.intValue();
      }
    
      private void assertOperationEquals(int a, int b, String op, int expected, int actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    		// It was verified to work with GNU tar 1.27.1 and BSD tar 3.1.2.
    		//  dd if=/dev/zero bs=1G count=16 >> writer-big-long.tar
    		//  gnutar -xvf writer-big-long.tar
    		//  bsdtar -xvf writer-big-long.tar
    		//
    		// This file is in PAX format.
    		file: "testdata/writer-big-long.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

      private static final BigInteger MIN_INT = BigInteger.valueOf(Integer.MIN_VALUE);
    
      private static int saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_INT) > 0) {
          return Integer.MAX_VALUE;
        }
        if (big.compareTo(MIN_INT) < 0) {
          return Integer.MIN_VALUE;
        }
        return big.intValue();
      }
    
      private void assertOperationEquals(int a, int b, String op, int expected, int actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

            path = dir.getLocator().getCanonicalURL();
    
            if ( path.length() < 7 ) {
                out.println("<b><big>smb://</big></b><br>");
                path = ".";
            }
            else {
                out.println("<b><big>" + path + "</big></b><br>");
                path = "../";
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  8. api/go1.9.txt

    pkg image/png, type EncoderBufferPool interface, Get() *EncoderBuffer
    pkg image/png, type EncoderBufferPool interface, Put(*EncoderBuffer)
    pkg math/big, method (*Int) IsInt64() bool
    pkg math/big, method (*Int) IsUint64() bool
    pkg math/big, type Word uint
    pkg math/bits (darwin-amd64), const UintSize = 64
    pkg math/bits (darwin-amd64-cgo), const UintSize = 64
    pkg math/bits (freebsd-386), const UintSize = 32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/LittleEndianByteArray.java

            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            // Reverse the order of the bytes before storing, since we're on big-endian hardware.
            long littleEndianValue = Long.reverseBytes(value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/LongMathTest.java

      }
    
      private static boolean fitsInLong(BigInteger big) {
        return big.bitLength() <= 63;
      }
    
      private static final BigInteger MAX_LONG = BigInteger.valueOf(Long.MAX_VALUE);
      private static final BigInteger MIN_LONG = BigInteger.valueOf(Long.MIN_VALUE);
    
      private static long saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_LONG) > 0) {
          return Long.MAX_VALUE;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top