- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 238 for teardown (0.18 sec)
-
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
Duration.ofSeconds(2), // short lockout for testing Duration.ofMinutes(1) // cleanup interval ); } @AfterEach public void tearDown() { if (rateLimiter != null) { rateLimiter.close(); } } @Test public void testNormalAuthentication() throws Exception { // Normal authentication should be allowed
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
public void setUp() throws Exception { masterPassword = "MasterPassword123!@#".toCharArray(); storage = new SecureCredentialStorage(masterPassword.clone()); } @AfterEach public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) { try { storage.close(); } catch (Exception e) { // Ignore cleanup exceptions
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
WebSocketReader( isClient = true, source = data, frameCallback = callback.asFrameCallback(), perMessageDeflate = true, noContextTakeover = false, ) @AfterEach fun tearDown() { callback.assertExhausted() } @Test fun controlFramesMustBeFinal() { data.write("0a00".decodeHex()) // Empty pong. assertFailsWith<ProtocolException> { clientReader.processNextFrame()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
* be a SynchronousQueue. */ private ExecutorService threadPool; @Override public void setUp() { threadPool = newCachedThreadPool(); } @Override public void tearDown() throws InterruptedException { threadPool.shutdown(); assertTrue("Some worker didn't finish in time", threadPool.awaitTermination(10, SECONDS)); } private static <T> int drain( BlockingQueue<T> q,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
@Override public void run() { integer.getAndIncrement(); } }); } } @AfterExperiment void tearDown() throws Exception { executorService.shutdown(); } @Footprint(exclude = {Runnable.class, Executor.class}) public Object measureSize() { list = impl.newExecutionList();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
@BeforeEach public void setUp() { keyManager = new SecureKeyManager(); testKey = new byte[16]; new SecureRandom().nextBytes(testKey); } @AfterEach public void tearDown() { if (keyManager != null) { keyManager.close(); } } @Test public void testStoreAndRetrieveKey() { String sessionId = "test-session-1";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
private val addressB = factory.newAddress("b") private val routeB1 = factory.newRoute(addressB) private val addressC = factory.newAddress("c") private val routeC1 = factory.newRoute(addressC) @AfterEach fun tearDown() { factory.close() peer.close() } @Test fun connectionsEvictedWhenIdleLongEnough() { val pool = factory.newConnectionPool() val c1 = factory.newConnection(pool, routeA1, 50L)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
startJob(NAME_PREFIX); waitJob(NAME_PREFIX); refresh(); } @BeforeEach protected void init() { refresh(); } @AfterEach protected void tearDown() { } @AfterAll protected static void tearDownAll() { deleteDocuments("label:" + CRAWL_LABEL); deleteLabel(labelId); deleteLabel(crawlLabelId);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
} finished = true; } @Override protected HashCode makeHash() { if (!finished) { // processRemaining does teardown we always want to do -- the folding together of the four // rolling CRCs. So we call it on an empty ByteBuffer if we didn't already. processRemaining(EMPTY); } return HashCode.fromInt(~crc0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 21.2K bytes - Viewed (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
# Dependencias con yield FastAPI admite dependencias que realizan algunos <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>pasos adicionales después de finalizar</abbr>. Para hacer esto, usa `yield` en lugar de `return` y escribe los pasos adicionales (código) después. /// tip | Consejo Asegúrate de usar `yield` una sola vez por dependencia. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 13K bytes - Viewed (0)