Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for BigInteger (0.42 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInteger.java

       */
      @Override
      public double doubleValue() {
        return longValue();
      }
    
      /** Returns the value of this {@code UnsignedInteger} as a {@link BigInteger}. */
      public BigInteger bigIntegerValue() {
        return BigInteger.valueOf(longValue());
      }
    
      /**
       * Compares this unsigned integer to another unsigned integer. Returns {@code 0} if they are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.math.BigInteger.ONE;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.NullPointerTester;
    import java.math.BigInteger;
    import java.util.Arrays;
    import java.util.Comparator;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       * Returns the {@code Inet4Address} corresponding to a given {@code BigInteger}.
       *
       * @param address BigInteger representing the IPv4 address
       * @return Inet4Address representation of the given BigInteger
       * @throws IllegalArgumentException if the BigInteger is not between 0 and 2^32-1
       * @since 28.2
       */
      public static Inet4Address fromIPv4BigInteger(BigInteger address) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

    package com.google.common.math;
    
    import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
    import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
    import static org.junit.Assert.assertThrows;
    
    import java.lang.reflect.Method;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link DoubleUtils}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

          BigInteger.valueOf(Integer.MAX_VALUE)
              .multiply(BigInteger.valueOf(3L))
              .divide(BigInteger.valueOf(4L))
              .doubleValue();
      static final double LARGE_INTEGER_VALUES_POPULATION_VARIANCE =
          BigInteger.valueOf(Integer.MAX_VALUE)
              .multiply(BigInteger.valueOf(Integer.MAX_VALUE))
              .divide(BigInteger.valueOf(16L))
              .doubleValue();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()))
            .isNull();
        assertWithMessage("Max long * 10")
            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
        assertWithMessage("Min long - 1")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()))
            .isNull();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()))
            .isNull();
        assertWithMessage("Max long * 10")
            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).multiply(BigInteger.TEN).toString()))
            .isNull();
        assertWithMessage("Min long - 1")
            .that(Longs.tryParse(BigInteger.valueOf(MIN_VALUE).subtract(BigInteger.ONE).toString()))
            .isNull();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                    if ( !pvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION)) ) {
                        throw new PACDecodingException("Invalid kerberos version");
                    }
                    break;
                case 1:
                    ASN1Integer msgType = ASN1Util.as(ASN1Integer.class, tagged);
                    if ( !msgType.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_AP_REQ)) )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import java.math.BigDecimal;
    import java.math.BigInteger;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     *
     */
    public class BigDecimalConversionUtilTest extends TestCase {
        private static final BigDecimal ZERO = new BigDecimal("0");
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac.kerberos;
    
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.math.BigInteger;
    import java.security.GeneralSecurityException;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top