- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 323 for ValueOf (0.25 sec)
-
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
@GwtIncompatible public void testRoundToDouble_smallPositive() { new RoundToDoubleTester(BigInteger.valueOf(16)).setExpectation(16.0, values()).test(); } @J2ktIncompatible @GwtIncompatible public void testRoundToDouble_maxPreciselyRepresentable() { new RoundToDoubleTester(BigInteger.valueOf(1L << 53)) .setExpectation(Math.pow(2, 53), values()) .test(); } @J2ktIncompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertThrows( UnsupportedOperationException.class, () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5))); } public void testPutAllThrows() { assertThrows( UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), Integer.valueOf(5)))); } public void testEntrySetMutationThrows() { map.putInstance(String.class, "test");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 7.9K bytes - Viewed (0) -
schema/constraint_test.go
} for _, name := range []string{"Name", "Constraint"} { if reflect.ValueOf(result).FieldByName(name).Interface() != reflect.ValueOf(v).FieldByName(name).Interface() { t.Errorf( "check %v %v should equal, expects %v, got %v", k, name, reflect.ValueOf(result).FieldByName(name).Interface(), reflect.ValueOf(v).FieldByName(name).Interface(), ) } } } }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
BigInteger lastBigInt = BigInteger.valueOf(last); BigInteger firstBigInt = BigInteger.valueOf(first); BigInteger completeBigInt = lastBigInt.add(firstBigInt.shiftLeft(32)); completeBigInt = completeBigInt.divide(BigInteger.valueOf(10000L)); completeBigInt = completeBigInt.add(BigInteger.valueOf(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601));
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jul 21 21:19:58 GMT 2018 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
* * @since 14.0 */ public static UnsignedInteger fromIntBits(int bits) { return new UnsignedInteger(bits); } /** * Returns an {@code UnsignedInteger} that is equal to {@code value}, if possible. The inverse * operation of {@link #longValue()}. */ public static UnsignedInteger valueOf(long value) { checkArgument(
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) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
assertEquals(new BigDecimal("10"), BigDecimalConversionUtil.toBigDecimal(Short.valueOf((short) 10))); assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100))); assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L)));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
return addUnconditionalHolder(name, String.valueOf(value)); } /** * Adds a name/value pair to the formatted output in {@code name=value} format. * * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.add()}). */ @CanIgnoreReturnValue public ToStringHelper add(String name, char value) { return addUnconditionalHolder(name, String.valueOf(value)); } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Oct 13 14:11:58 GMT 2023 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
for (int i = 0; i < num; i++) { hmap.put("a" + String.valueOf(i), null); } System.out.println("HashMap.put:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { cimap.put("a" + String.valueOf(i), null); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4K bytes - Viewed (0) -
callbacks/update.go
) func SetupUpdateReflectValue(db *gorm.DB) { if db.Error == nil && db.Statement.Schema != nil { if !db.Statement.ReflectValue.CanAddr() || db.Statement.Model != db.Statement.Dest { db.Statement.ReflectValue = reflect.ValueOf(db.Statement.Model) for db.Statement.ReflectValue.Kind() == reflect.Ptr { db.Statement.ReflectValue = db.Statement.ReflectValue.Elem() } if dest, ok := db.Statement.Dest.(map[string]interface{}); ok {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Mar 18 05:44:55 GMT 2024 - 9.4K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
* `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer` * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple * `Integer.valueOf` calls into one! So we stick with the deprecated `Integer` constructor. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0)