- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for longValue (0.1 sec)
-
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue(); UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned); assertThat(unsignedSum.longValue()).isEqualTo(expected); } } } public void testMinus() { for (long a : TEST_LONGS) { for (long b : TEST_LONGS) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b); long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue(); UnsignedLong unsignedSum = aUnsigned.plus(bUnsigned); assertThat(unsignedSum.longValue()).isEqualTo(expected); } } } public void testMinus() { for (long a : TEST_LONGS) { for (long b : TEST_LONGS) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
checkNotNull(updaterFunction); Long result = map.compute( key, (k, value) -> updaterFunction.applyAsLong((value == null) ? 0L : value.longValue())); return requireNonNull(result); } /** * Updates the value currently associated with {@code key} with the specified function, and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
for (int i = 0; i < 100; i++) { long p = BigInteger.probablePrime(bits, rand).longValue(); long q = BigInteger.probablePrime(bits, rand).longValue(); assertFalse(LongMath.isPrime(p * q)); } } } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrimeThrowsOnNegative() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
if (!arList.isEmpty()) { final long commitMarginTime = fessConfig.getIndexerWebfsCommitMarginTimeAsInteger().longValue(); for (final AccessResult<?> ar : arList.toArray(new AccessResult[arList.size()])) { if (ar.getCreateTime().longValue() > execTime - commitMarginTime) { arList.remove(ar); } } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/AccessTokenService.java
final Set<String> permissionSet = new HashSet<>(); final Long expiredTime = accessToken.getExpiredTime(); if (expiredTime != null && expiredTime.longValue() > 0 && expiredTime.longValue() < ComponentUtil.getSystemHelper().getCurrentTimeAsLong()) { throw new InvalidAccessTokenException("invalid_token",
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleUtils.java
BigInteger absX = x.abs(); int exponent = absX.bitLength() - 1; // exponent == floor(log2(abs(x))) if (exponent < Long.SIZE - 1) { return x.longValue(); } else if (exponent > MAX_EXPONENT) { return x.signum() * POSITIVE_INFINITY; } /* * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
at.set(x); assertEquals((int) x, at.intValue()); } } /** longValue returns current value. */ public void testLongValue() { AtomicDouble at = new AtomicDouble(); assertEquals(0L, at.longValue()); for (double x : VALUES) { at.set(x); assertEquals((long) x, at.longValue()); } } /** floatValue returns current value. */ public void testFloatValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
if (maxContentLength != null && responseData.getContentLength() > maxContentLength.longValue()) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over " + maxContentLength.longValue() + " byte. The url is " + responseData.getUrl()); } } protected ResponseData doGet(final String url) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.9K bytes - Viewed (0)