- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,245 for timeIt (0.08 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
verify(transport, times(1)).acquire(); } @Test @DisplayName("close/release manage usage and transport lifecycle") void testReleaseLifecycle() { SmbSessionImpl session = newSession(); // First release drops usage to zero and releases transport session.release(); verify(transport, times(1)).release(); assertFalse(session.isInUse());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val response1 = getResponse(newRequest("/a")) response1.body .source() .timeout() .timeout(100, TimeUnit.MILLISECONDS) assertContent("This connection won't pool properly", response1) assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Give the server time to enact the socket policy if it's one that could happen after the // client has received the response.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
cmd/data-usage-cache.go
type currentScannerCycle struct { current uint64 next uint64 started time.Time cycleCompleted []time.Time } // clone returns a clone. func (z currentScannerCycle) clone() currentScannerCycle { z.cycleCompleted = append(make([]time.Time, 0, len(z.cycleCompleted)), z.cycleCompleted...) return z
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
assertTrue(out.length > 0); // Verify interactions: flags and an empty optimistic token are used verify(this.mechContext, times(1)).getFlags(); ArgumentCaptor<byte[]> cap = ArgumentCaptor.forClass(byte[].class); verify(this.mechContext, times(1)).initSecContext(cap.capture(), eq(0), eq(0)); assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/resources/fess_config.properties
index.admin.required.fields=url,title,role,boost # timeout # Timeout for index search operations. index.search.timeout=3m # Timeout for scroll search operations. index.scroll.search.timeout=3m # Timeout for index operations. index.index.timeout=3m # Timeout for bulk index operations. index.bulk.timeout=3m # Timeout for delete operations in the index. index.delete.timeout=3m # Timeout for index health checks.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 14:45:37 UTC 2025 - 54.7K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
Guava's main yardstick for evaluating proposed features can be summed up as [utility times ubiquity](https://github.com/google/guava/wiki/PhilosophyExplained#utility-times-ubiquity). #### Utility: compare with alternatives There is always *some* alternative to adding a new feature to Guava, even if it's just
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN); assertFalse(filter.accept(file), "Attributes not matching should be rejected"); verify(file, times(1)).getAttributes(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
* Asserts that the expected completion time has passed (and not "too much" time beyond that). */ void assertCompletionExpected() { assertAtLeastTimePassed(stopwatch, expectedCompletionWaitMillis); assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis + LONG_DELAY_MS); } /** * Asserts that at least {@code timeout} has passed but the expected completion time has not. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
default -> throw new IllegalArgumentException("Unsupported time encoding"); }; } /* * Decode times */ /** * Decodes a Date value according to the specified time encoding type. * * @param src the source byte array * @param si the starting index in the source array * @param enc the time encoding type (e.g., TIME_1970_SEC_32BE)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
raf.writeFloat(1.0f); raf.writeDouble(1.0); // Verify length counts - using times() to check exact counts verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(4)); // int and float verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(8)); // long and double } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)