Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 755 for escopo (0.06 seconds)

  1. docs/zh/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | 技术细节
    
    `Request` 拥有 `request.scope` 属性,它就是一个 Python `dict`,包含与请求相关的元数据。
    
    `Request` 还包含 `request.receive`,它是一个用于“接收”请求体的函数。
    
    `scope` 字典和 `receive` 函数都是 ASGI 规范的一部分。
    
    创建一个新的 `Request` 实例需要这两样:`scope` 和 `receive`。
    
    想了解更多关于 `Request` 的信息,请查看 [Starlette 的 Request 文档](https://www.starlette.dev/requests/)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/escape/PackageSanityTests.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 1K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/common/bytes/BytesArrayReadLongBenchmark.java

    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    
    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    
    @Warmup(iterations = 5)
    @Measurement(iterations = 7)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Thread)
    @Fork(value = 1)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/common/bytes/PagedBytesReferenceReadLongBenchmark.java

    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    
    import java.io.IOException;
    import java.util.concurrent.TimeUnit;
    
    @Warmup(iterations = 5)
    @Measurement(iterations = 7)
    @BenchmarkMode(Mode.AverageTime)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @State(Scope.Thread)
    @Fork(value = 1)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Apr 12 20:25:06 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Verifies scope of root project is preserved regardless of parent dependency management.
     *
     * @see <a href="https://issues.apache.org/jira/browse/MNG-2919">MNG-2919</a>
     */
    @Deprecated
    @SuppressWarnings("checkstyle:UnusedLocalVariable")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

     * <p>
     * The following objects will be bound to the mojo execution scope:
     *     <ul>
     *         <li>{@code org.apache.maven.api.MojoExecution}</li>
     *         <li>{@code org.apache.maven.api.Project}</li>
     *         <li>{@code org.apache.maven.api.plugin.Log}</li>
     *     </ul>
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 12 06:14:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | 技術細節
    
    `Request` 具有 `request.scope` 屬性,它其實就是一個 Python 的 `dict`,包含與該請求相關的中繼資料。
    
    `Request` 也有 `request.receive`,那是一個用來「接收」請求本文的函式。
    
    `scope` 這個 `dict` 與 `receive` 函式都是 ASGI 規格的一部分。
    
    而 `scope` 與 `receive` 這兩者,就是建立一個新的 `Request` 實例所需的資料。
    
    想了解更多 `Request`,請參考 [Starlette 的 Request 文件](https://www.starlette.dev/requests/)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  8. internal/config/identity/openid/openid.go

    		if scopeList := getCfgVal(Scopes); scopeList != "" {
    			var scopes []string
    			for scope := range strings.SplitSeq(scopeList, ",") {
    				scope = strings.TrimSpace(scope)
    				if scope == "" {
    					return c, config.Errorf("empty scope value is not allowed '%s', please refer to our documentation", scopeList)
    				}
    				scopes = append(scopes, scope)
    			}
    			// Replace the discovery document scopes by client customized scopes.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/benchmark/indices/breaker/MemoryStatsBenchmark.java

    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Mode;
    import org.openjdk.jmh.annotations.OutputTimeUnit;
    import org.openjdk.jmh.annotations.Param;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Threads;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.infra.Blackhole;
    
    import java.lang.management.ManagementFactory;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  10. tests/test_stream_cancellation.py

        async def send(message: dict) -> None:  # type: ignore[type-arg]
            if message["type"] == "http.response.body":
                chunks.append(message.get("body", b""))
    
        scope = {
            "type": "http",
            "asgi": {"version": "3.0", "spec_version": "2.0"},
            "http_version": "1.1",
            "method": "GET",
            "path": path,
            "query_string": b"",
            "root_path": "",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top