- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 355 for SECOND (0.03 sec)
-
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
fileFsSizeInfo.decode(buffer1.array(), 0, 24); long firstCapacity = fileFsSizeInfo.getCapacity(); long firstFree = fileFsSizeInfo.getFree(); // When - second decode with different values ByteBuffer buffer2 = ByteBuffer.allocate(24); buffer2.order(ByteOrder.LITTLE_ENDIAN); buffer2.putLong(2000L); buffer2.putLong(1500L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
AtomicInteger calls = new AtomicInteger(); doAnswer(inv -> { int len = inv.getArgument(2); // First call returns len-1, second returns 1 return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1; }).when(raf).read(any(byte[].class), anyInt(), anyInt()); byte[] dst = new byte[4];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
val originalRequest = chain.request() val originalResponse = chain.proceed( originalRequest .newBuilder() .addHeader("Request-Interceptor", "Bob") // 2. Added second. .build(), ) originalResponse .newBuilder() .addHeader("Response-Interceptor", "Cupcake") // 3. Added third. .build() } val request =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
for (Thread hook : hooks) { hook.start(); } for (Thread hook : hooks) { hook.join(); } } } /* Half of a 1-second timeout in nanoseconds */ private static final long HALF_SECOND_NANOS = NANOSECONDS.convert(1L, SECONDS) / 2; public void testShutdownAndAwaitTermination_immediateShutdown() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
n = 1; } do { try { send(request, response, config.getNetbiosRetryTimeout()); } catch (final InterruptedIOException ioe) { // second query thread to finish gets interrupted so this is expected if (log.isTraceEnabled()) { log.trace("Failed to send nameservice request for " + name.name, ioe); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(200L, SMBUtil.readInt8(buffer, chunkStart + 8)); assertEquals(300, SMBUtil.readInt4(buffer, chunkStart + 16)); // Verify second chunk chunkStart += CHUNK_SIZE; assertEquals(400L, SMBUtil.readInt8(buffer, chunkStart)); assertEquals(500L, SMBUtil.readInt8(buffer, chunkStart + 8));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
long afterCreation = System.currentTimeMillis(); // Set a reasonable TTL auth.setAuthenticationTTL(1000); // 1 second // Should not be expired immediately assertFalse(auth.isExpired()); // Wait half the TTL Thread.sleep(500); assertFalse(auth.isExpired());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(1000, response.getAllocationSize()); assertEquals(500, response.getEndOfFile()); assertEquals(0x01, response.getFileAttributes()); // Second read with different values byte[] buffer2 = new byte[60]; SMBUtil.writeInt2(60, buffer2, 0); SMBUtil.writeInt2(2, buffer2, 2); SMBUtil.writeInt8(2000, buffer2, 40);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
requestBody1.flush() }.also { expected -> assertThat(expected.message) .isEqualTo("stream was reset: CANCEL") } body1.awaitSuccess() // Second duplex request proceeds normally. val requestBody2 = (call.request().body as AsyncRequestBody?)!!.takeSink() requestBody2.writeUtf8("request body\n") requestBody2.close()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
Future<?> scheduled = executorService.schedule(task, delay, timeUnit); /* * Even when the user interrupts the task, we pass `false` to `cancel` so that we don't * interrupt a second time after the interruption performed by TrustedListenableFutureTask. */ task.addListener(() -> scheduled.cancel(false), directExecutor()); return task; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0)