Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 3,649 for Code (0.02 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            .url("https://sni.cloudflaressl.com/cdn-cgi/trace")
            .header("Host", "cloudflare-dns.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
    
          assertThat(response.body.string()).contains("h=cloudflare-dns.com")
        }
      }
    
      @Test
      fun getWithDns() {
        client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset#count}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/request-forms.md

    但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。
    
    编码和表单字段详见 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> Web 文档的 <code>POST</code></a>小节。
    
    ///
    
    /// warning | "警告"
    
    可在一个*路径操作*中声明多个 `Form` 参数,但不能同时声明要接收 JSON 的 `Body` 字段。因为此时请求体的编码是 `application/x-www-form-urlencoded`,不是 `application/json`。
    
    这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

       * }</pre>
       *
       * <p>For <i>small</i> immutable maps, the {@code ImmutableMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate maps that iterate over entries in the order they
       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    + Make commits of logical units.
    + Respect the original code style: by using the same [codestyle][code-style],
      patches should only highlight the actual difference, not being disturbed by any formatting issues:
      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
        If you feel the source code should be reformatted, create a separate PR for this change.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sun Oct 10 09:48:27 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

            .override(
              Encoding.SKIP,
              '\t'.code,
              '\n'.code,
              '\u000c'.code,
              '\r'.code,
            )
            .override(
              Encoding.PERCENT,
              ' '.code,
              '"'.code,
              '#'.code,
              '<'.code,
              '>'.code,
              '?'.code,
              '`'.code,
            )
            .override(
              Encoding.PERCENT,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      }
    
      /**
       * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is
       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

         * @param context The environmental context used to determine the activation status of a profile, must not be
         *            {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         * @return The profiles that have been activated, never {@code null}.
         */
        List<Profile> getActiveProfiles(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolver.java

         *
         * @param node1 the first artifact declaration
         * @param node2 the second artifact declaration
         * @return the artifact declaration to use: <code>node1</code>; <code>node2</code>; or <code>null</code>if
         *         this conflict cannot be resolved
         * @since 3.0
         */
        ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingSortedSet.java

     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedSet} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
     * the behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top