- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 297 for MAX_VALUE (0.04 sec)
-
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
} else if (bodyIsStreaming(response)) { logger.log("<-- END HTTP (streaming)") } else { val source = responseBody.source() source.request(Long.MAX_VALUE) // Buffer the entire body. val totalMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs) var buffer = source.buffer var gzippedLength: Long? = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
try { Properties props = new Properties(); try (FileInputStream in = new FileInputStream(touchfile)) { try (FileLock lock = in.getChannel().lock(0, Long.MAX_VALUE, true)) { getLogger().debug("Reading resolution-state from: " + touchfile); props.load(in); return props; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
@Override public List<FileNotifyInformation> watch() throws CIFSException { try { // Simulate blocking indefinitely Thread.sleep(Long.MAX_VALUE); } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new CIFSException("Watch interrupted"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}. * * <p>Files are mapped from offset 0 to its length. * * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes. * * @param file the file to map * @return a read-only buffer reflecting {@code file} * @throws FileNotFoundException if the {@code file} does not exist * @throws IOException if an I/O error occurs
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
* like a worthwhile tradeoff in a browser). */ public CharMatcher precomputed() { return Platform.precomputeCharMatcher(this); } private static final int DISTINCT_CHARS = Character.MAX_VALUE - Character.MIN_VALUE + 1; /** * This is the actual implementation of {@link #precomputed}, but we bounce calls through a method * on {@link Platform} so that we can have different behavior in GWT. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertEquals("", execJob.logLevel); execJob.lastaEnv(""); assertEquals("", execJob.lastaEnv); // Test with very long timeout execJob.timeout(Integer.MAX_VALUE); assertEquals(Integer.MAX_VALUE, execJob.timeout); // Test with minimum timeout execJob.timeout(Integer.MIN_VALUE); assertEquals(Integer.MIN_VALUE, execJob.timeout); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
testRequest.setAsyncId(12345L); assertTrue(testRequest.isResponseAsync()); } @ParameterizedTest @ValueSource(longs = { 1L, 100L, Long.MAX_VALUE }) @DisplayName("isResponseAsync should return true for various non-zero asyncIds") void testIsResponseAsyncWithDifferentValues(long asyncId) { testRequest.setAsyncId(asyncId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Use large but valid time values long largeTime = System.currentTimeMillis() + 365L * 24 * 60 * 60 * 1000; // 1 year from now int maxAttributes = Integer.MAX_VALUE; FileBasicInfo info = new FileBasicInfo(largeTime, largeTime, largeTime, largeTime, maxAttributes); // Encode and decode byte[] buffer = new byte[50]; info.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
} // Test getTimeAdjustTimeMillisAsLong values public void test_getTimeAdjustTimeMillisAsLong_values() { Long[] testValues = { 0L, 1L, -1L, 1000L, -1000L, 60000L, -60000L, 3600000L, -3600000L, Long.MAX_VALUE, Long.MIN_VALUE }; for (Long value : testValues) { FessConfig testConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8)); } @ParameterizedTest @DisplayName("Test with various timeout values") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L }) void testWithVariousTimeoutValues(long timeout) { // Setup String pipeName = "TestPipe";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)