- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 70 for longValue (0.05 sec)
-
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java
} final Long seqNo = esEntity.asDocMeta().seqNo(); if (seqNo != null && seqNo.longValue() != SequenceNumbers.UNASSIGNED_SEQ_NO) { esEntity.asDocMeta().seqNo(seqNo); } final Long primaryTerm = esEntity.asDocMeta().primaryTerm(); if (primaryTerm != null && primaryTerm.longValue() != SequenceNumbers.UNASSIGNED_PRIMARY_TERM) { esEntity.asDocMeta().primaryTerm(primaryTerm);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
public Integer getCookieSearchParameterMaxLengthAsInteger() { return 10; // Very small limit } }); String longValue = "a".repeat(1000); getMockRequest().setParameter("q", longValue); searchHelper.storeSearchParameters(); Cookie[] cookies = getMockResponse().getCookies(); assertEquals(0, cookies.length); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K 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());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
int radix = r; // tests can successfully parse a number string with this radix. String maxAsString = max.toString(radix); assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue()); assertThrows( NumberFormatException.class, () -> { BigInteger overflow = max.add(ONE); String overflowAsString = overflow.toString(radix);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
return (i == Integer.MIN_VALUE) ? null : i - 1; } @Override Integer offset(Integer origin, long distance) { checkNonnegative(distance, "distance"); return Ints.checkedCast(origin.longValue() + distance); } @Override public long distance(Integer start, Integer end) { return (long) end - start; } @Override public Integer minValue() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
*/ @GwtIncompatible // TODO @SuppressWarnings("fallthrough") public static int log10(BigInteger x, RoundingMode mode) { checkPositive("x", x); if (fitsInLong(x)) { return LongMath.log10(x.longValue(), mode); } int approxLog10 = (int) (log2(x, FLOOR) * LN_2 / LN_10); BigInteger approxPow = BigInteger.TEN.pow(approxLog10); int approxCmp = approxPow.compareTo(x); /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
final boolean exceeded = numFound > maxSearchDocSize; if (exceeded) { logger.warn("Max document size is exceeded({}>{}): {}", numFound, fessConfig.getIndexerMaxSearchDocSize(), queryBuilder); } if (numFound > fessConfig.getIndexerMaxResultWindowSizeAsInteger().longValue()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
} public void testParse_maximumSize() { CacheBuilderSpec spec = parse("maximumSize=9000"); assertNull(spec.initialCapacity); assertEquals(9000, spec.maximumSize.longValue()); assertNull(spec.concurrencyLevel); assertNull(spec.keyStrength); assertNull(spec.valueStrength); assertNull(spec.writeExpirationTimeUnit); assertNull(spec.accessExpirationTimeUnit);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 19.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
if (!responseTimeHistory.isEmpty()) { long sum = responseTimeHistory.stream().mapToLong(Long::longValue).sum(); avgResponseTime.set(sum / responseTimeHistory.size()); // Calculate 95th percentile long[] sortedTimes = responseTimeHistory.stream().mapToLong(Long::longValue).sorted().toArray(); int p95Index = (int) Math.ceil(0.95 * sortedTimes.length) - 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0)