- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,199 for diferente (0.07 seconds)
-
docs/ko/docs/advanced/async-tests.md
/// tip | 팁 테스트에 비동기 함수 호출을 통합할 때 (예: <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB의 MotorClient</a>를 사용할 때) `RuntimeError: Task attached to a different loop` 오류가 발생한다면, 이벤트 루프가 필요한 객체는 반드시 비동기 함수 내에서만 인스턴스화해야 한다는 점을 주의하세요! 예를 들어 `@app.on_event("startup")` 콜백 내에서 인스턴스화하는 것이 좋습니다.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 10 11:03:16 GMT 2024 - 4.7K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
/// ## Separating tests { #separating-tests } In a real application, you probably would have your tests in a different file. And your **FastAPI** application might also be composed of several files/modules, etc. ### **FastAPI** app file { #fastapi-app-file }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java
import java.util.List; /** * Holds a list of FtpAuthentication objects and provides methods to add and retrieve them based on a given path. * This class is designed to manage FTP authentication details for different paths. */ public class FtpAuthenticationHolder { List<FtpAuthentication> authenticationList = new ArrayList<>(); /** * Constructs a new FtpAuthenticationHolder. */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java
} } /** * Benchmark with multiple different bean types to test method cache effectiveness. */ @Benchmark public void benchmarkOriginalHelperMultipleTypes() throws Exception { // Test with different bean types RealisticTestBean bean1 = new RealisticTestBean(); TestBean bean2 = new TestBean();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} assertTrue(latch.await(5, TimeUnit.SECONDS), "All threads should complete"); executor.shutdown(); // Verify each result has a unique signature (different input = different signature) for (int i = 0; i < threadCount; i++) { byte[] sig1 = Arrays.copyOfRange(results[i], SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
assertEquals("main-thread", CrawlingParameterUtil.getUrlQueue().getSessionId()); assertEquals("main-context", CrawlingParameterUtil.getCrawlerContext().getSessionId()); // Test in a different thread final CountDownLatch latch = new CountDownLatch(1); final AtomicReference<String> otherThreadUrlQueueSessionId = new AtomicReference<>();
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 14.6K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
long elapsed = (System.nanoTime() - time) / 1000000; long wait = waittime * (numTasks - 1); assertTrue(elapsed + " >= " + wait, elapsed + 1L >= wait); } /** * Test that different hosts can be accessed concurrently without delay */ public void test_multipleHosts_concurrent() { final int numTasks = 10; final Long waittime = 100L;Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// When int bytesRead = request.readBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesRead); } @DisplayName("Should handle different completion filter combinations") @ParameterizedTest @CsvSource({ "1, FILE_NOTIFY_CHANGE_FILE_NAME", "2, FILE_NOTIFY_CHANGE_DIR_NAME", "4, FILE_NOTIFY_CHANGE_ATTRIBUTES",Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(0, context.getSalt().length); } @ParameterizedTest @ValueSource(ints = { 0, 1, 3, 5, 10 }) @DisplayName("Should calculate size correctly for different hash algo counts") void testSizeCalculation(int hashAlgoCount) { // Arrange int[] hashAlgos = new int[hashAlgoCount]; byte[] salt = new byte[16];
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
break; } /* Message was sent to WINS but * failed to receive response. * Try a different WINS server. */ if (request.addr == NbtAddress.getWINSAddress()) { NbtAddress.switchWINS(); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0)