Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,211 for examples (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *         .transform((closer, result) -> result.get("userName"), directExecutor())
     *         .catching(DBException.class, e -> "no user", directExecutor())
     *         .finishToFuture();
     * }
     *
     * In this example, when the {@code userName} {@link Future} is done, the transaction and the query
     * result cursor will both be closed, even if the operation is cancelled or fails.
     *
     * <h4>Manually closing</h4>
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-fields.md

    Você irá aprender mais sobre adicionar informações extras posteriormente nessa documentação, quando estiver aprendendo a declarar exemplos.
    
    /// warning | Atenção
    
    Chaves extras passadas para `Field` também estarão presentes no schema OpenAPI resultante da sua aplicação.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. LICENSE

    distributors to deny you these rights or to ask you to surrender these
    rights.  These restrictions translate to certain responsibilities for
    you if you distribute copies of the library or if you modify it.
    
      For example, if you distribute copies of the library, whether gratis
    or for a fee, you must give the recipients all the rights that we gave
    you.  You must make sure that they, too, receive or can get the source
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  4. docs/zh/docs/deployment/https.md

    这个操作一般只需要在最开始执行一次。
    
    /// tip
    
    域名这部分发生在 HTTPS 之前,由于这一切都依赖于域名和 IP 地址,所以先在这里提一下。
    
    ///
    
    ### DNS
    
    现在让我们关注真正的 HTTPS 部分。
    
    首先,浏览器将通过 **DNS 服务器** 查询**域名的IP** 是什么,在本例中为 `someapp.example.com`。
    
    DNS 服务器会告诉浏览器使用某个特定的 **IP 地址**。 这将是你在 DNS 服务器中为你的服务器配置的公共 IP 地址。
    
    <img src="/img/deployment/https/https01.drawio.svg">
    
    ### TLS 握手开始
    
    然后,浏览器将在**端口 443**(HTTPS 端口)上与该 IP 地址进行通信。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns a stream in which each element is the result of passing the corresponding element of
       * each of {@code streamA} and {@code streamB} to {@code function}.
       *
       * <p>For example:
       *
       * {@snippet :
       * Streams.zip(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> arg1 + ":" + arg2)
       * }
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            String text = "test@example.com #hashtag $100";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertEquals(5, tokens.size());
            assertEquals("test", tokens.get(0).getTerm());
            assertEquals("example", tokens.get(1).getTerm());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/maven/conf/settings.xml

       | the build process. Profiles provided in the settings.xml are intended to provide local machine-
       | specific paths and repository locations which allow the build to work in the local environment.
       |
       | For example, if you have an integration testing plugin - like cactus - that needs to know where
       | your Tomcat instance is installed, you can provide a variable here such that the variable is
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 07:44:50 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/handling-errors.md

    本例中,客户端用 `ID` 请求的 `item` 不存在时,触发状态码为 `404` 的异常:
    
    {* ../../docs_src/handling_errors/tutorial001.py hl[11] *}
    
    ### 响应结果
    
    请求为 `http://example.com/items/foo`(`item_id` 为 `「foo」`)时,客户端会接收到 HTTP 状态码 - 200 及如下 JSON 响应结果:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    
    ```
    
    但如果客户端请求 `http://example.com/items/bar`(`item_id` `「bar」` 不存在时),则会接收到 HTTP 状态码 - 404(「未找到」错误)及如下 JSON 响应结果:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeVisitor.java

     * default, no recursion is done for type arguments or type bounds. But subclasses can opt to do
     * recursion by calling {@link #visit} for any {@code Type} while visitation is in progress. For
     * example, this can be used to reject wildcards or type variables contained in a type as in:
     *
     * {@snippet :
     * new TypeVisitor() {
     *   protected void visitParameterizedType(ParameterizedType t) {
     *     visit(t.getOwnerType());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

          dummy += cache.getUnchecked(nextRandomKey());
        }
        requests.addAndGet(reps);
        return dummy;
      }
    
      private int nextRandomKey() {
        int a = random.nextInt(max);
    
        /*
         * For example, if concentration=2.0, the following takes the square root of
         * the uniformly-distributed random integer, then truncates any fractional
         * part, so higher integers would appear (in this case linearly) more often
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top