- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 305 for maxValue (0.04 sec)
-
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) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
} }; @BeforeExperiment void setUp() throws Exception { executorService = new ThreadPoolExecutor( NUM_THREADS, NUM_THREADS, Long.MAX_VALUE, SECONDS, new ArrayBlockingQueue<Runnable>(1000)); executorService.prestartAllCoreThreads(); AtomicInteger integer = new AtomicInteger();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
@StartStop private val server = MockWebServer() private var client = clientTestRule .newClientBuilder() .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE)) .build() @Test fun trailersHttp1() { trailers(Protocol.HTTP_1_1) } @Test fun trailersHttp2() { trailers(Protocol.HTTP_2) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
new Function<Supplier<Boolean>, Supplier<Boolean>>() { @Override public Supplier<Boolean> apply(Supplier<Boolean> supplier) { return Suppliers.memoizeWithExpiration(supplier, Long.MAX_VALUE, NANOSECONDS); } }; testSupplierThreadSafe(memoizer); } @J2ktIncompatible @GwtIncompatible // Thread public void testMemoizedSupplierThreadSafe() throws Throwable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
val contentLength = response.headersContentLength() if (contentLength == -1L) return val body = newFixedLengthSource(response.request.url, contentLength) body.skipAll(Int.MAX_VALUE, MILLISECONDS) body.close() } /** An HTTP request body. */ private inner class KnownLengthSink : Sink { private val timeout = ForwardingTimeout(socket.sink.timeout())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K 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) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test fun authenticator() { var authenticator: Authenticator = Authenticator { route, response -> TODO() } } @Test fun cache() { val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong()) cache.initialize() cache.delete() cache.evictAll() val urls: MutableIterator<String> = cache.urls() val writeAbortCount: Int = cache.writeAbortCount()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
int result = SMBUtil.readInt4(buffer, 0); assertEquals((int) (input & 0xFFFFFFFFL), result); } @ParameterizedTest @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEF0L }) void testWriteReadInt8RoundTrip(long input) { byte[] buffer = new byte[8]; SMBUtil.writeInt8(input, buffer, 0); long result = SMBUtil.readInt8(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Assert assertNotNull(transPeekNamedPipe); assertNull(transPeekNamedPipe.name); } @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0xFFFF }) @DisplayName("Constructor should handle various FID values") void testConstructorWithVariousFids(int fid) { // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)