- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for longValue (0.19 sec)
-
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) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K bytes - Viewed (0) -
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) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K 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() { try { LongMath.isPrime(-1);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
android/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() { try { LongMath.isPrime(-1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K 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); } } }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 24.2K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Nov 17 15:50:51 GMT 2023 - 6K 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",
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue()); assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue()); assertEquals(Float.parseFloat(expected), DocumentUtil.getValue(doc, "key1", Float.class).floatValue()); assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
} fessConfig = ComponentUtil.getFessConfig(); cache = CacheBuilder.newBuilder().maximumSize(fessConfig.getSuggestPopularWordCacheSizeAsInteger().longValue()) .expireAfterWrite(fessConfig.getSuggestPopularWordCacheExpireAsInteger().longValue(), TimeUnit.MINUTES).build(); } public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles,
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.6K bytes - Viewed (0)