- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 275 for ValueOf (0.03 sec)
-
src/test/java/jcifs/pac/PacDataInputStreamTest.java
// A non-null date long time = System.currentTimeMillis(); BigInteger filetime = BigInteger.valueOf(time) .add(BigInteger.valueOf(SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601)) .multiply(BigInteger.valueOf(10000L)); byte[] data = new byte[8]; long low = filetime.longValue(); long high = filetime.shiftRight(32).longValue();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
public BigInteger apply(Integer from) { BigInteger v = BigInteger.valueOf(from); // Math.sin is very slow for values outside 4*pi // Need to take absolute value to avoid inverting the value. for (double i = 0; i < 100; i += 20) { v = v.add( v.multiply( BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue()))); } return v;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
@Override public SampleElements<BigInteger> samples() { return new SampleElements<>( BigInteger.valueOf(1), BigInteger.valueOf(4), BigInteger.valueOf(3), BigInteger.valueOf(2), BigInteger.valueOf(5)); } @Override public BigInteger[] createArray(int length) { return new BigInteger[length]; } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java
/** * @author higa * */ public class ByteConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToByte() throws Exception { assertEquals(Byte.valueOf("100"), ByteConversionUtil.toByte("100")); } /** * @throws Exception */ public void testToPrimitiveByte() throws Exception { assertEquals(100, ByteConversionUtil.toPrimitiveByte("100"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java
/** * @author higa * */ public class DoubleConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToDouble() throws Exception { assertEquals(Double.valueOf("1000.5"), DoubleConversionUtil.toDouble("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveDouble() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/FloatConversionUtilTest.java
/** * @author higa * */ public class FloatConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToFloat() throws Exception { assertEquals(Float.valueOf("1000.5"), FloatConversionUtil.toFloat("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveFloat() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
private static final BigDecimal MAX_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MAX_VALUE); private static final BigDecimal MIN_INT_AS_BIG_DECIMAL = BigDecimal.valueOf(Integer.MIN_VALUE); private static final BigDecimal MAX_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MAX_VALUE); private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE); public void testConstantsMaxFactorial() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathTesting.java
public Long apply(Integer n) { return Long.valueOf(n); } }; /* Helper function to make a BigInteger value from a Long. */ private static final Function<Long, BigInteger> TO_BIGINTEGER = new Function<Long, BigInteger>() { @Override public BigInteger apply(Long n) { return BigInteger.valueOf(n); } };
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 11.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
this( groupId, name, version, type, scopeString == null ? ArtifactScopeEnum.DEFAULT_SCOPE : ArtifactScopeEnum.valueOf(scopeString), classifier, artifactUri, why, resolved, error); } public ArtifactMetadata(Artifact af) {}
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 8K bytes - Viewed (0)