Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,316 for promises (0.17 sec)

  1. docs_src/generate_clients/tutorial004.js

    import * as fs from 'fs'
    
    async function modifyOpenAPIFile(filePath) {
      try {
        const data = await fs.promises.readFile(filePath)
        const openapiContent = JSON.parse(data)
    
        const paths = openapiContent.paths
        for (const pathKey of Object.keys(paths)) {
          const pathData = paths[pathKey]
          for (const method of Object.keys(pathData)) {
            const operation = pathData[method]
            if (operation.tags && operation.tags.length > 0) {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 14 11:40:05 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

    }
    
    def PromiseOp: TensorflowMlrt_Op<"promise", []> {
      let summary = "Set a tensor in a promise";
    
      let description = [{
        Set a tensor in a promise.
    
        $promise: A value of type !mlrt.promise. The underlying value must be a tensorflow tensor.
        $tensor: A tensorflow tensor.
      }];
    
      let arguments = (ins
        MlrtPromiseType:$promise,
        TFTensorType:$tensor
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      // CHECK: tf_mlrt.promise [[promise_b]], [[b]]
      "tf_mlrt.tf_promise"(%promise_b, %b) : (!mlrt.promise, tensor<i32>) -> ()
      // CHECK: return
      return
    }
    
    // CHECK-LABEL: @main_stream_1
    // CHECK-SAME: ([[input1:%.*]]: !tf_mlrt.tensor, [[promise_c:%.*]]: !mlrt.promise, [[promise_d:%.*]]: !mlrt.promise)
    func.func @main_stream_1(%input1: tensor<i32>, %promise_c: !mlrt.promise, %promise_d: !mlrt.promise) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          }
        }
    
        @Throws(IOException::class)
        private fun pushPromises(
          stream: Http2Stream,
          request: RecordedRequest,
          promises: List<PushPromise>,
        ) {
          for (pushPromise in promises) {
            val pushedHeaders = mutableListOf<Header>()
            pushedHeaders.add(Header(Header.TARGET_AUTHORITY, url(pushPromise.path).host))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. src/mime/multipart/multipart.go

    		dashBoundary:     b[2 : len(b)-2],
    	}
    }
    
    // stickyErrorReader is an io.Reader which never calls Read on its
    // underlying Reader once an error has been seen. (the io.Reader
    // interface's contract promises nothing about the return values of
    // Read calls after an error, yet this package does do multiple Reads
    // after error)
    type stickyErrorReader struct {
    	r   io.Reader
    	err error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/runtime/metrics/doc.go

    the documentation of the Name field of the Description struct.
    
    # A note about floats
    
    This package supports metrics whose values have a floating-point representation. In
    order to improve ease-of-use, this package promises to never produce the following
    classes of floating-point values: NaN, infinity.
    
    # Supported metrics
    
    Below is the full list of supported metrics, ordered lexicographically.
    
    	/cgo/go-to-c-calls:calls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/math/big/natdiv.go

    q̂ = ⌊uₙuₙ₋₁ / vₙ₋₁⌋ into the refined guess ⌊uₙuₙ₋₁uₙ₋₂ / vₙ₋₁vₙ₋₂⌋.
    Although not mentioned above, the Good Guess Guarantee also promises that this
    3-by-2-digit division guess is more precise and at most one away from the real
    answer q. The improvement from the 2-by-1 to the 3-by-2 guess can also be done
    without n-digit math.
    
    If we have a guess q̂ = ⌊uₙuₙ₋₁ / vₙ₋₁⌋ and we want to see if it also equal to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/service-provider/src/main/java/org/gradle/internal/service/Provides.java

    import java.lang.annotation.Target;
    
    /**
     * Used to register service factory methods on a {@link ServiceRegistrationProvider}.
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @Keep
    public @interface Provides {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:03 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    								"access_token": "groups_token"
    						}
    				},
    				"exp": %d
    			}`, valid.Unix()),
    			claimToResponseMap: map[string]string{
    				// Doesn't contain the "groups" claim as it promises.
    				"groups": fmt.Sprintf(`{
    					"iss": "{{.URL}}",
    				    "aud": "my-client",
    					"exp": %d
    			     }`, valid.Unix()),
    			},
    			openIDConfig: `{
    					"issuer": "{{.URL}}",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

        )
        val url = server.url("/a")
        assertThat(get(url).body.string()).isEqualTo("a")
        val i: Iterator<String> = cache.urls()
        cache.evictAll()
    
        // The URL was evicted before hasNext() made any promises.
        assertThat(i.hasNext()).isFalse()
        assertFailsWith<NoSuchElementException> {
          i.next()
        }
      }
    
      /** Test https://github.com/square/okhttp/issues/1712.  */
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top