- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 312 for maxValue (0.05 sec)
-
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
searchRenderData.setAllRecordCount(Long.MAX_VALUE); searchRenderData.setCurrentStartRecordNumber(Long.MAX_VALUE - 10); searchRenderData.setCurrentEndRecordNumber(Long.MAX_VALUE); searchRenderData.setPageSize(Integer.MAX_VALUE); searchRenderData.setAllPageCount(Integer.MAX_VALUE); searchRenderData.setCurrentPageNumber(Integer.MAX_VALUE);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
throw new AssertionError("cannot store more than MAX_VALUE elements"); } // careful of overflow! int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; if (newCapacity < minCapacity) { newCapacity = Integer.highestOneBit(minCapacity - 1) << 1; } if (newCapacity < 0) { newCapacity = Integer.MAX_VALUE; // guaranteed to be >= newCapacity }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
ms.add("a", Integer.MAX_VALUE); ms.add("b", Integer.MAX_VALUE); ms.add("c", 3); assertEquals(Integer.MAX_VALUE, ms.count("a")); assertEquals(Integer.MAX_VALUE, ms.count("b")); assertEquals(3, ms.count("c")); assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size()); assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE)); assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE)); assertEquals(24L, MemoryUtil.sizeOf(Short.MAX_VALUE)); assertEquals(24L, MemoryUtil.sizeOf(Float.MAX_VALUE)); assertEquals(24L, MemoryUtil.sizeOf(Double.MAX_VALUE)); assertEquals(24L, MemoryUtil.sizeOf(Byte.MAX_VALUE)); assertEquals(16L, MemoryUtil.sizeOf(Boolean.TRUE));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } } public void testSaturatedAbs() { assertEquals(Long.MAX_VALUE, LongMath.saturatedAbs(Long.MIN_VALUE)); assertEquals(Long.MAX_VALUE, LongMath.saturatedAbs(Long.MAX_VALUE)); assertEquals(Long.MAX_VALUE, LongMath.saturatedAbs(-Long.MAX_VALUE)); assertEquals(0, LongMath.saturatedAbs(0)); assertEquals(1, LongMath.saturatedAbs(1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
/** * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too * large, or [defaultValue] if it cannot be parsed. */ internal fun String?.toNonNegativeInt(defaultValue: Int): Int { try { val value = this?.toLong() ?: return defaultValue return when { value > Int.MAX_VALUE -> Int.MAX_VALUE value < 0 -> 0 else -> value.toInt() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
ImmutableList.of( Striped.lazyWeakLock(Integer.MAX_VALUE), Striped.lazyWeakSemaphore(Integer.MAX_VALUE, Integer.MAX_VALUE), Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) { for (int i = 0; i < 3; i++) { // doesn't throw exception Object unused = striped.getAt(Integer.MAX_VALUE - i); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
ImmutableList.of( Striped.lazyWeakLock(Integer.MAX_VALUE), Striped.lazyWeakSemaphore(Integer.MAX_VALUE, Integer.MAX_VALUE), Striped.lazyWeakReadWriteLock(Integer.MAX_VALUE))) { for (int i = 0; i < 3; i++) { // doesn't throw exception Object unused = striped.getAt(Integer.MAX_VALUE - i); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
int n = rand.nextInt(Integer.MAX_VALUE); assertEquals(LongMath.isPrime(n), IntMath.isPrime(n)); } } public void testSaturatedAbs() { assertEquals(Integer.MAX_VALUE, IntMath.saturatedAbs(Integer.MIN_VALUE)); assertEquals(Integer.MAX_VALUE, IntMath.saturatedAbs(Integer.MAX_VALUE)); assertEquals(Integer.MAX_VALUE, IntMath.saturatedAbs(-Integer.MAX_VALUE)); assertEquals(0, IntMath.saturatedAbs(0));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
var uriHost: String = "example.com" var uriPort: Int = 1 fun newConnection( pool: RealConnectionPool, route: Route, idleAtNanos: Long = Long.MAX_VALUE, taskRunner: TaskRunner = this.taskRunner, ): RealConnection { val result = RealConnection.newTestConnection( taskRunner = taskRunner, connectionPool = pool, route = route,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0)