Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,202 for different (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertEquals("Expected structureSize = 24", exception.getMessage());
            }
    
            @ParameterizedTest
            @DisplayName("Should read different oplock levels correctly")
            @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })
            void testReadDifferentOplockLevels(byte oplockLevel) throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Test equal trees (same share and service)
            assertEquals(tree1, tree2);
    
            // Test non-equal trees (different share)
            assertNotEquals(tree1, tree3);
    
            // Test non-equal trees (different service)
            assertNotEquals(tree1, tree4);
    
            // Test with different object type
            assertNotEquals(tree1, new Object());
    
            // Test with null
            assertNotEquals(tree1, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/async-tests.md

    由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。
    
    /// tip
    
    如果您在测试程序中集成异步函数调用的时候遇到一个 `RuntimeError: Task attached to a different loop` 的报错(例如,使用 <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB 的 MotorClient</a> 时),请记住,只能在异步函数中实例化需要事件循环的对象,例如通过 `'@app.on_event("startup")` 回调函数进行初始化。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttp.kt

       * custom builds of OkHttp please include a qualifier your version name, like "4.7.0-mycompany.3".
       * The version string is configured in the root project's `build.gradle`.
       *
       * Note that OkHttp's runtime version may be different from the version specified in your
       * project's build file due to the dependency resolution features of your build tool.
       *
       * [semver]: https://semver.org
       */
      val VERSION: String
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 20:33:04 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/async-tests.md

    /// tip | Подсказка
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. 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")` 콜백 내에서 인스턴스화하는 것이 좋습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 10 11:03:16 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. 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 }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. 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.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. 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();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top