Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,214 for examples (0.04 sec)

  1. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

        return result;
      }
    
      public abstract static class TestDoubleListGenerator implements TestListGenerator<Double> {
        @Override
        public SampleElements<Double> samples() {
          return new SampleDoubles();
        }
    
        @Override
        public List<Double> create(Object... elements) {
          Double[] array = new Double[elements.length];
          int i = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.noTransform).isTrue()
        assertThat(cacheControl.toString()).isEqualTo(header)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseIgnoreCacheControlExtensions() {
        // Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6
        val header = "private, community=\"UCI\""
        val cacheControl =
          parse(
            Headers
              .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     *   <li>Conversion of individual Hankaku Kana characters to Zenkaku Kana characters.</li>
     *   <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li>
     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
     * String normalized = normalizer.normalize("ガギグゲゴ", "field");
     * System.out.println(normalized); // Outputs: ガギグゲゴ
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

                    "'smb2://admin:admin123@192.168.1.1/folder', 'smb2://admin:******@192.168.1.1/folder'",
                    "'smbs://test:p@ssw0rd@example.com/share', 'smbs://test:******@example.com/share'" })
            void testMaskSecretValueWithCredentials(String input, String expected) {
                // When
                String result = Strings.maskSecretValue(input);
    
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            Map<String, Object> context = new HashMap<>();
            context.put("password", "secretpassword123");
            context.put("sessionId", "abc123def456");
            context.put("username", "john.doe@example.com");
    
            logger.logEvent(EventType.AUTHENTICATION_SUCCESS, Severity.INFO, "Login attempt", context);
    
            // The test verifies that the logger runs without errors when masking is enabled
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/app_a_py39/test_main.py hl[3] *}
    
    ...e ter o código para os testes como antes.
    
    ## Testando: exemplo estendido { #testing-extended-example }
    
    Agora vamos estender este exemplo e adicionar mais detalhes para ver como testar diferentes partes.
    
    ### Arquivo de aplicação **FastAPI** estendido { #extended-fastapi-app-file }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. docs/ru/docs/advanced/additional-responses.md

    Например, вы можете объявить ответ со статус-кодом `404`, который использует Pydantic-модель и имеет пользовательское `description`.
    
    А также ответ со статус-кодом `200`, который использует ваш `response_model`, но включает пользовательский `example`:
    
    {* ../../docs_src/additional_responses/tutorial003_py39.py hl[20:31] *}
    
    Всё это будет объединено и включено в ваш OpenAPI и отображено в документации API:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/ImmutableGraph.java

      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingGraph;
      }
    
      /**
       * A builder for creating {@link ImmutableGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * {@snippet :
       * static final ImmutableGraph<Country> COUNTRY_ADJACENCY_GRAPH =
       *     GraphBuilder.undirected()
       *         .<Country>immutable()
       *         .putEdge(FRANCE, GERMANY)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Optional.java

     * <p>Some uses of this class include
     *
     * <ul>
     *   <li>As a method return type, as an alternative to returning {@code null} to indicate that no
     *       value was available
     *   <li>To distinguish between "unknown" (for example, not present in a map) and "known to have no
     *       value" (present in the map, with value {@code Optional.absent()})
     *   <li>To wrap nullable references for storage in a collection that does not support {@code null}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    In some cases, it's even possible to have both Pydantic v1 and v2 models in the same **path operation** in your FastAPI app:
    
    {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}
    
    In this example above, the input model is a Pydantic v1 model, and the output model (defined in `response_model=ItemV2`) is a Pydantic v2 model.
    
    ### Pydantic v1 parameters { #pydantic-v1-parameters }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top