- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 305 for maxValue (0.24 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
@BeforeEach fun setUp() { platform.assumeNotOpenJSSE() server.protocolNegotiationEnabled = false fileSystem.emulateUnix() cache = Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE) client = clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
* overflowing or underflowing, by bounding the value between 0 and (Long.MAX_VALUE / 4) * 3. * Actually waiting for more than 219 years is not supported! */ private static long toSafeNanos(long time, TimeUnit unit) { long timeoutNanos = unit.toNanos(time); return Longs.constrainToRange(timeoutNanos, 0L, (Long.MAX_VALUE / 4) * 3); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
private static final String DISABLE_URL_ENCODE = "#DISABLE_URL_ENCODE"; /** * Maximum number of URLs to access during crawling. */ protected long maxAccessCount = Long.MAX_VALUE; /** * Interval time in milliseconds between crawling executions. */ protected long crawlingExecutionInterval = Constants.DEFAULT_CRAWLING_EXECUTION_INTERVAL; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
* infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not * representable as a double, but {@code roundToDouble(BigInteger.valueOf(2).pow(2000), HALF_UP)} * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}. * * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
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/test/java/org/codelibs/fess/util/WebApiUtilTest.java
WebApiUtil.setObject("listValue", list); java.util.Map<String, String> map = new java.util.HashMap<>(); map.put("key", "value"); WebApiUtil.setObject("mapValue", map); } catch (Exception e) { fail("setObject should handle different object types: " + e.getMessage()); } } public void test_error_handling_edge_cases() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
} } @DisplayName("Test exception handling for invalid information levels") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE }) void testInvalidInformationLevels(int invalidLevel) { // Skip valid levels if (invalidLevel == FileSystemInformation.SMB_INFO_ALLOCATION || invalidLevel == FileSystemInformation.FS_SIZE_INFO) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
monitor.leave(); } } else { return null; } } // this doc comment is overridden to remove the reference to collections // greater in size than Integer.MAX_VALUE /** * Returns the number of elements in this queue. * * @return the number of elements in this queue */ @CanIgnoreReturnValue @Override public int size() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
assertDoesNotThrow(() -> impl.fixupDomain(domain)); } @ParameterizedTest @ValueSource(ints = { 0, -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("Should handle various values in stripPathConsumed") void testStripPathConsumedWithVariousValues(int value) { // Test with mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
HashTestUtils.assertInvariants(Hashing.goodFastHash(256)); } public void testConsistentHash_correctness() { long[] interestingValues = {-1, 0, 1, 2, Long.MAX_VALUE, Long.MIN_VALUE}; for (long h : interestingValues) { checkConsistentHashCorrectness(h); } Random r = new Random(7); for (int i = 0; i < 20; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
// Setup File file = createTempFile(); // Test assertThrows( IllegalArgumentException.class, () -> Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1)); } public void testGetFileExtension() { assertEquals("txt", Files.getFileExtension(".txt")); assertEquals("txt", Files.getFileExtension("blah.txt"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0)