Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 2,798 for 2$ (0.02 sec)

  1. tests/test_ambiguous_params.py

                pass  # pragma: nocover
    
    
    def test_multiple_annotations():
        async def dep():
            pass  # pragma: nocover
    
        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
                }
            }
        }
    
        private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?"))
    
        fun isPublicApiPackage(packageName: String) =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        List<?> act = copyToList(actual);
        String actString = act.toString();
    
        // Of course we could take pains to give the complete description of the
        // problem on any failure.
    
        // Yeah it's n^2.
        for (Object object : exp) {
          if (!act.remove(object)) {
            fail(
                "did not contain expected element "
                    + object
                    + ", "
                    + "expected = "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertThat(network.degree(N1)).isEqualTo(2);
        addEdge(N1, N2, E12);
        assertThat(network.degree(N1)).isEqualTo(3);
      }
    
      @Test
      public void inDegree_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.inDegree(N1)).isEqualTo(1);
        addEdge(N4, N1, E41);
        assertThat(network.inDegree(N1)).isEqualTo(2);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertThat(network.degree(N1)).isEqualTo(2);
        addEdge(N1, N2, E12);
        assertThat(network.degree(N1)).isEqualTo(3);
      }
    
      @Test
      public void inDegree_selfLoop() {
        assume().that(network.allowsSelfLoops()).isTrue();
    
        addEdge(N1, N1, E11);
        assertThat(network.inDegree(N1)).isEqualTo(1);
        addEdge(N4, N1, E41);
        assertThat(network.inDegree(N1)).isEqualTo(2);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        filters.add(new HighestVersionFilter(num));
                    } else if ("l".equals(expression)) {
                        filters.add(new LowestVersionFilter());
                    } else if (expression.startsWith("l(") && expression.endsWith(")")) {
                        int num = Integer.parseInt(expression.substring(2, expression.length() - 1));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       *
       * Because the encoding of interleaved data is not well-defined for HTTP/1, duplex request
       * bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request
       * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not
       * use this feature.
       *
       * ### Duplex APIs
       *
       * With regular request bodies it is not legal to write bytes to the sink passed to
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                }
                dfsPathSplit(ref.getNode(), arr);
                dr.server = arr[ 1 ];
                dr.share = arr[ 2 ];
                dr.path = arr[ 3 ];
                dr.pathConsumed = consumed;
    
                /*
                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  9. docs/tr/docs/python-types.md

    * `title()` ile değişkenlerin ilk karakterlerini büyütür.
    * Değişkenleri aralarında bir boşlukla beraber <abbr title="Onları bir bütün olarak sırayla birleştirir.">Birleştirir</abbr>.
    
    ```Python hl_lines="2"
    {!../../docs_src/python_types/tutorial001.py!}
    ```
    
    ### Düzenle
    
    Bu çok basit bir program.
    
    Ama şimdi sıfırdan yazdığınızı hayal edin.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/custom-docs-ui-assets.md

    * `swagger_css_url`: the URL where the HTML for your Swagger UI docs can get the **CSS** file. This is the custom CDN URL.
    
    And similarly for ReDoc...
    
    {* ../../docs_src/custom_docs_ui/tutorial001.py hl[2:6,11:19,22:24,27:33] *}
    
    /// tip
    
    The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top