- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,153 for valueOf (0.22 sec)
-
guava-tests/test/com/google/common/math/LongMathTest.java
} 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; } if (big.compareTo(MIN_LONG) < 0) { return Long.MIN_VALUE; } return big.longValue(); }
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/BigDecimalMathTest.java
new RoundToDoubleTester(BigDecimal.valueOf((-1L << 54) - 4)) .setExpectation(-Math.pow(2, 54) - 4, values()) .test(); } public void testRoundToDouble_minDouble() { BigDecimal minDoubleAsBD = new BigDecimal(-Double.MAX_VALUE); new RoundToDoubleTester(minDoubleAsBD).setExpectation(-Double.MAX_VALUE, values()).test(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertWithMessage(UnsignedLongs.toString(value)) .that(UnsignedLong.fromLongBits(value).longValue()) .isEqualTo(value); } } public void testAsUnsignedBigIntegerValue() { for (long value : TEST_LONGS) { BigInteger expected = (value >= 0) ? BigInteger.valueOf(value) : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64));
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/math/IntMathTest.java
} private static final BigInteger MAX_INT = BigInteger.valueOf(Integer.MAX_VALUE); 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(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
new RoundToDoubleTester(BigDecimal.valueOf((-1L << 54) - 4)) .setExpectation(-Math.pow(2, 54) - 4, values()) .test(); } public void testRoundToDouble_minDouble() { BigDecimal minDoubleAsBD = new BigDecimal(-Double.MAX_VALUE); new RoundToDoubleTester(minDoubleAsBD).setExpectation(-Double.MAX_VALUE, values()).test(); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertWithMessage(UnsignedLongs.toString(value)) .that(UnsignedLong.fromLongBits(value).longValue()) .isEqualTo(value); } } public void testAsUnsignedBigIntegerValue() { for (long value : TEST_LONGS) { BigInteger expected = (value >= 0) ? BigInteger.valueOf(value) : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
} 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; } if (big.compareTo(MIN_LONG) < 0) { return Long.MIN_VALUE; } return big.longValue(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class)); assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class)); assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class)); assertEquals(Long.valueOf(0), ArbitraryInstances.get(Long.class)); assertEquals(Float.valueOf(0), ArbitraryInstances.get(float.class));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToUpdateCrudTable(GLOBAL, String.valueOf(body.id))); return null; }).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(body.id))); return null; }); protwordsService.store(body.dictId, entity); return asJson(
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.2K bytes - Viewed (0) -
callbacks/create.go
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Apr 08 03:29:55 GMT 2024 - 12.5K bytes - Viewed (0)