Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,120 for promises (0.23 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/pledge_openbsd.go

    //
    // This changes both the promises and execpromises; use PledgePromises or
    // PledgeExecpromises to only change the promises or execpromises
    // respectively.
    //
    // For more information see pledge(2).
    func Pledge(promises, execpromises string) error {
    	if err := pledgeAvailable(); err != nil {
    		return err
    	}
    
    	pptr, err := BytePtrFromString(promises)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

      let summary = "Allocate futures and corresponding promises";
    
      let description = [{
        Allocate futures and corresponding promises.
    
        $num: The number of futures to be allocated.
    
        $promises: There are $num promises, and promises[i] shares the state with futures[i].
        $futures: There are $num futures, and futures[i] shares the state with promises[i].
      }];
    
      let arguments = (ins
        I32Attr:$num
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

        headersDelayAmount = delay
        headersDelayUnit = unit
      }
    
      fun getHeadersDelay(unit: TimeUnit): Long = unit.convert(headersDelayAmount, headersDelayUnit)
    
      fun withPush(promise: PushPromise) =
        apply {
          promises.add(promise)
        }
    
      fun withSettings(settings: Settings) =
        apply {
          this.settings = settings
        }
    
      fun withWebSocketUpgrade(listener: WebSocketListener) =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

      func.return
    }
    
    // -----
    
    // Test correctness when there are both data and control promises in a stream function.
    
    // CHECK-LABEL: func private @main_stream_1
    // CHECK-SAME: ([[PROMISE:%.*]]: !mlrt.promise, [[CONTROL_PROMISE:%.*]]: !mlrt.promise)
    // CHECK: tf.DummySideEffecting
    // CHECK: "tf_mlrt.tf_promise"([[PROMISE]]
    // CHECK: mlrt.promise_control [[CONTROL_PROMISE]]
    
    func.func @main() -> tensor<i32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/jit/xla_tensor.h

      // stream.
      void WaitForDefinitionEventOnStream(se::Stream* stream);
    
      // (Re)sets the definition event of the tensor to 'event', and promises that
      // the tensor has already been defined on stream. Removes any previous
      // definition event or any previous promises about the tensor being defined on
      // streams.
      // It is legal to reset the definition event of a tensor when overwriting the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/promise/counting.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package promise
    
    import (
    	"sync"
    
    	"k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apiserver/pkg/util/flowcontrol/counter"
    	promiseifc "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/promise"
    )
    
    // countingPromise implements the WriteOnce interface.
    // This implementation is based on a condition variable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 10 14:37:53 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. src/compress/gzip/example_test.go

    		}
    	}()
    
    	// Send an HTTP request to the test server.
    	req, err := http.NewRequest("PUT", ts.URL, bodyReader)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// Note that passing req to http.Client.Do promises that it
    	// will close the body, in this case bodyReader.
    	resp, err := ts.Client().Do(req)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// Check whether there was an error compressing the data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 22 16:24:14 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top