Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 490 for sub (0.06 seconds)

  1. tests/test_dependency_yield_scope.py

        def iter_data():
            yield json.dumps(
                {"func_is_open": function_session.open, "req_is_open": request_session.open}
            )
    
        return StreamingResponse(iter_data())
    
    
    @app.get("/sub")
    def get_sub(sessions: NamedSessionsDep) -> Any:
        def iter_data():
            yield json.dumps(
                {"named_session_open": sessions[0].open, "session_open": sessions[1].open}
            )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        RangeMap<Integer, Integer> sub = rangeMap.subRangeMap(Range.closed(5, 11));
        assertEquals(
            ImmutableMap.of(Range.closedOpen(5, 7), 1, Range.closed(9, 10), 2), sub.asMapOfRanges());
        sub.put(Range.closed(7, 9), 4);
        assertEquals(
            ImmutableMap.of(
                Range.closedOpen(5, 7), 1, Range.closed(7, 9), 4, Range.openClosed(9, 10), 2),
            sub.asMapOfRanges());
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  3. internal/handlers/proxy.go

    	// e.g. Forwarded: for=192.0.2.60;proto=https;by=203.0.113.43
    	forwarded = http.CanonicalHeaderKey("Forwarded")
    	// Allows for a sub-match of the first value after 'for=' to the next
    	// comma, semi-colon or space. The match is case-insensitive.
    	forRegex = regexp.MustCompile(`(?i)(?:for=)([^(;|,| )]+)(.*)`)
    	// Allows for a sub-match for the first instance of scheme (http|https)
    	// prefixed by 'proto='. The match is case-insensitive.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    Let's create a dependency `get_current_user`.
    
    Remember that dependencies can have sub-dependencies?
    
    `get_current_user` will have a dependency with the same `oauth2_scheme` we created before.
    
    The same as we were doing before in the *path operation* directly, our new dependency `get_current_user` will receive a `token` as a `str` from the sub-dependency `oauth2_scheme`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                    return true;
                }
    
                id = project.getGroupId() + id;
    
                return id.equals(selector);
            }
    
            // relative path, e.g. "sub", "../sub" or "."
            else if (reactorDirectory != null) {
                File selectedProject =
                        new File(new File(reactorDirectory, selector).toURI().normalize());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/RestIntegTestTask.java

     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal.test;
    
    import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask;
    import org.gradle.api.tasks.CacheableTask;
    
    /**
     * Sub typed version of {@link StandaloneRestIntegTestTask}  that is used to differentiate between plain standalone
     * integ test tasks based on {@link StandaloneRestIntegTestTask} and
     * conventional configured tasks of {@link RestIntegTestTask}
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 862 bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    For example, let's say you have 4 API endpoints (*path operations*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    then you could add different permission requirements for each of them just with dependencies and sub-dependencies:
    
    ```mermaid
    graph TB
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    But we also pass a `list` of scopes, in this case with just one scope: `items` (it could have more).
    
    And the dependency function `get_current_active_user` can also declare sub-dependencies, not only with `Depends` but also with `Security`. Declaring its own sub-dependency function (`get_current_user`), and more scope requirements.
    
    In this case, it requires the scope `me` (it could require more than one scope).
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. doc/go_spec.html

    	<br>
    	If <code>a<sub>i</sub></code> is an untyped constant <code>c<sub>j</sub></code>,
    	and <code>typeof(p<sub>i</sub>)</code> is a bound type parameter <code>P<sub>k</sub></code>,
    	the pair <code>(c<sub>j</sub>, P<sub>k</sub>)</code> is collected separately from
    	the type equations.
    	</p>
    </li>
    <li>
    	<p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * that selects a particular version and downloads the artifact into the local repository.
     * The {@link org.apache.maven.api.DownloadedArtifact} sub-interface is used when
     * an artifact has been resolved and the {@link org.apache.maven.api.ProducedArtifact} sub-interface when
     * an artifact is being produced by a project.</p>
     *
     * <p>{@link org.apache.maven.api.DependencyCoordinates} instances represent a dependency element in a POM.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
Back to Top