- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for longValue (0.07 sec)
-
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
} String longValue = longValueBuilder.toString(); String[] values = { longValue }; RequestParameter param = new RequestParameter(longName, values); assertEquals(longName, param.getName()); assertNotNull(param.getValues()); assertEquals(1, param.getValues().length); assertEquals(longValue, param.getValues()[0]); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
*/ public static Long toLong(final Object o, final String pattern) { return switch (o) { case null -> null; case Long l -> l; case Number n -> n.longValue(); case String s -> toLong(s); case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime(); case Boolean b -> b ? 1L : 0L;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
@Override public long longValue() { return toLong(value); } /** * Returns the value of this {@code UnsignedInteger} as a {@code float}, analogous to a widening * primitive conversion from {@code int} to {@code float}, and correctly rounded. */ @Override public float floatValue() { return longValue(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java
@BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { exponents[i] = randomExponent(); positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue(); nonnegative[i] = randomNonNegativeBigInteger(Long.SIZE - 1).longValue(); longs[i] = RANDOM_SOURCE.nextLong(); factorialArguments[i] = RANDOM_SOURCE.nextInt(30);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
} do { for (int j = 0; j < 2; j++) { intsToAdd[i][j] = randomBigInteger(Integer.SIZE - 2).intValue(); } } while (!Impl.GUAVA.noAddOverflow(intsToAdd[i][0], intsToAdd[i][1])); do { for (int j = 0; j < 2; j++) { longsToAdd[i][j] = randomBigInteger(Long.SIZE - 2).longValue(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LongAdder.java
* (method {@link #add}) are contended across threads, the set of variables may grow dynamically to * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current * total combined across the variables maintaining the sum. * * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
@BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue(); longs[i] = RANDOM_SOURCE.nextLong(); } } @Benchmark int log2(int reps) { int tmp = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
.that(UnsignedInteger.fromIntBits(value).longValue()) .isEqualTo(expected); } } public void testValueOfLong() { long min = 0; long max = (1L << 32) - 1; for (long value : TEST_LONGS) { boolean expectSuccess = value >= min && value <= max; try { assertThat(UnsignedInteger.valueOf(value).longValue()).isEqualTo(value); assertThat(expectSuccess).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.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",
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0)