Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,389 for difference (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(testDialect, response.getDialect(), "Dialect should match");
        }
    
        @Test
        @DisplayName("Test decode with different buffer offset")
        void testDecodeWithDifferentOffset() throws SMBProtocolDecodingException {
            // Prepare test data with different offset
            byte[] buffer = new byte[100];
            int bufferIndex = 50;
    
            // Set test values
            int testCapabilities = 0xABCDEF00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/async-tests.md

    由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。
    
    /// tip | 提示
    
    如果您在测试程序中集成异步函数调用的时候遇到一个 `RuntimeError: Task attached to a different loop` 的报错(例如,使用 [MongoDB 的 MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop) 时),请记住,只能在异步函数中实例化需要事件循环的对象,例如在 `@app.on_event("startup")` 回调中初始化。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  3. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 20:33:04 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. build-logic/build.gradle.kts

            if (jvmArgs.size > 1) {
                throw GradleException("gradle.properties and build-logic/gradle.properties have different org.gradle.jvmargs " +
                    "which may cause two daemons to be spawned on CI and in IDEA. " +
                    "Use the same org.gradle.jvmargs for both builds.")
            }
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 09 03:14:32 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    ## Include the same router multiple times with different `prefix` { #include-the-same-router-multiple-times-with-different-prefix }
    
    You can also use `.include_router()` multiple times with the *same* router using different prefixes.
    
    This could be useful, for example, to expose the same API under different prefixes, e.g. `/api/v1` and `/api/latest`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Check reserved bytes (should be 0)
            int reserved = SMBUtil.readInt2(buffer, 4);
            assertEquals(0, reserved);
        }
    
        @DisplayName("Test writeParametersWireFormat with different FIDs")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 0xFFFF, 0x8000, 0x7FFF })
        void testWriteParametersWireFormatWithDifferentFids(int fid) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        public static Set<Coordinates> computeAllArtifactCoordinates(UpgradeContext context, Map<Path, Document> pomMap) {
            Set<Coordinates> coordinates = new HashSet<>();
    
            context.info("Computing artifacts for inference from " + pomMap.size() + " POM(s)...");
    
            // Extract artifact from all POMs in the project
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path pomPath = entry.getKey();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (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.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. okcurl/build.gradle.kts

      binaries {
        named("main") {
          imageName = "okcurl"
          mainClass = "okhttp3.curl.MainCommandLineKt"
          if (System.getProperty("os.name").lowercase().contains("windows")) {
            // windows requires a slightly different approach for some things
          } else {
            buildArgs("--no-fallback")
          }
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.4K bytes
    - Click Count (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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
Back to Top