Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,023 for promises (0.17 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                // callable actually completes. (We could detect completion in our wrapper
                // `AsyncCallable task`.) However, our contract also promises:
                //
                // 2. not to cancel any Future the user returned from an AsyncCallable
                //
                // We promise this because, once we cancel that Future, we would no longer be able to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                // callable actually completes. (We could detect completion in our wrapper
                // `AsyncCallable task`.) However, our contract also promises:
                //
                // 2. not to cancel any Future the user returned from an AsyncCallable
                //
                // We promise this because, once we cancel that Future, we would no longer be able to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/proxy.go

    //
    // If GOPROXY is set to "off", TryProxies invokes f once with the argument
    // "off".
    func TryProxies(f func(proxy string) error) error {
    	proxies, err := proxyList()
    	if err != nil {
    		return err
    	}
    	if len(proxies) == 0 {
    		panic("GOPROXY list is empty")
    	}
    
    	// We try to report the most helpful error to the user. "direct" and "noproxy"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 15:21:05 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_openbsd_riscv64.go

    	SYS_LISTEN         = 106 // { int sys_listen(int s, int backlog); }
    	SYS_CHFLAGSAT      = 107 // { int sys_chflagsat(int fd, const char *path, \
    	SYS_PLEDGE         = 108 // { int sys_pledge(const char *promises, \
    	SYS_PPOLL          = 109 // { int sys_ppoll(struct pollfd *fds, \
    	SYS_PSELECT        = 110 // { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
    	SYS_SIGSUSPEND     = 111 // { int sys_sigsuspend(int mask); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top