Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 237 for IsSame (0.07 sec)

  1. src/os/stat_test.go

    		t.Errorf("stat of open %q file and stat of %q should be the same", path, path)
    	}
    
    	if params.isLink {
    		if os.SameFile(sfi2, lsfi) {
    			t.Errorf("stat of opened %q file and lstat of %q should not be the same", path, path)
    		}
    	} else {
    		if !os.SameFile(sfi2, lsfi) {
    			t.Errorf("stat of opened %q file and lstat of %q should be the same", path, path)
    		}
    	}
    
    	parentdir, base := filepath.Split(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DefaultDecompressionCoordinator.java

            // withFileLock prevents other processes from extracting into the expandedDir at the same time
            // but multiple threads in this process could still try to extract into the same directory.
            cache.withFileLock(() -> {
                // guardByKey prevents multiple threads in this process from extracting into the same directory at the same time.
                guard.guardByKey(expandedDir, () -> {
                    action.run();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. releasenotes/notes/49489.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - 49489
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 12:24:21 UTC 2024
    - 271 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    query_or_cookie_extractor(["query_or_cookie_extractor"])
    
    read_query["/items/"]
    
    query_extractor --> query_or_cookie_extractor --> read_query
    ```
    
    ## Using the same dependency multiple times
    
    If one of your dependencies is declared multiple times for the same *path operation*, for example, multiple dependencies have a common sub-dependency, **FastAPI** will know to call that sub-dependency only once per request.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/named_test.go

    // a named type remain the same as long as the same source and AddMethod calls
    // are presented to the type checker in the same order (go.dev/issue/61298).
    func TestMethodOrdering(t *testing.T) {
    	const src = `
    package p
    
    type T struct{}
    
    func (T) a() {}
    func (T) c() {}
    func (T) b() {}
    `
    	// should get the same method order each time
    	var methods []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 21:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations
    
    In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
    
    ## Import Path
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-forms-and-files.md

    # Request Forms and Files
    
    You can define files and form fields at the same time using `File` and `Form`.
    
    !!! info
        To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        E.g. `pip install python-multipart`.
    
    ## Import `File` and `Form`
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/tf_to_corert_pipeline.mlir

    // CHECK-LABEL: func @__forward_call_369
    // CHECK-SAME: ([[in_chain:%.*]]: !tfrt.chain
    // CHECK-SAME: [[arg1:%.*]]: !tfrt_fallback.tf_tensor {tf._user_specified_name = "inputs"},
    // CHECK-SAME: [[arg2:%.*]]: !tfrt_fallback.tf_tensor, [[arg3:%.*]]: !tfrt_fallback.tf_tensor, [[arg4:%.*]]: !tfrt_fallback.tf_tensor, [[arg5:%.*]]: !tfrt_fallback.tf_tensor)
    // CHECK-SAME: -> (!tfrt.chain
    // CHECK: [[o1:%.*]] = tfrt_fallback_async.const_dense_tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/net/http/roundtrip.go

    //go:build !js
    
    package http
    
    import _ "unsafe" // for linkname
    
    // RoundTrip should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/erda-project/erda-infra
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname badRoundTrip net/http.(*Transport).RoundTrip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 988 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/xla_call_module_to_call.mlir

    module {
      // CHECK-LABEL: func.func @main
      func.func @main(%arg0: tensor<1x1024xf32>) -> tensor<1x3xf32> {
        // CHECK: call @composite_dot_general_fn_1
        // CHECK-SAME: (tensor<1x1024xf32>, tensor<1024x3xf32>) -> tensor<1x3xf32>
        // CHECK-NOT: tf.XlaCallModule
        %0 = "tf.Const"() <{value = dense<0.5> : tensor<1024x3xf32>}> : () -> tensor<1024x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 20:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top