Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for onReset (0.57 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

    import okio.BufferedSource
    
    /**
     * [HTTP/2][Protocol.HTTP_2] only. Processes server-initiated HTTP requests on the client.
     * Implementations must quickly dispatch callbacks to avoid creating a bottleneck.
     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
     * correlated by stream ID.
     *
     *  * [onRequest]
     *  * [onHeaders] (unless canceled)
     *  * [onData] (optional sequence of data frames)
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

              }
            }
          }
        }
      }
    
      internal fun pushResetLater(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        pushQueue.execute("$connectionName[$streamId] onReset") {
          pushObserver.onReset(streamId, errorCode)
          this.withLock {
            currentPushRequests.remove(streamId)
          }
        }
      }
    
      /** Listener of streams and settings initiated by the peer. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        ): Boolean {
          events.add(AssertionError("onData"))
          notifyAll()
          return false
        }
    
        @Synchronized override fun onReset(
          streamId: Int,
          errorCode: ErrorCode,
        ) {
          events.add(AssertionError("onReset"))
          notifyAll()
        }
      }
    
      companion object {
        fun roundUp(
          num: Int,
          divisor: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/custom_device_test.cc

      TFE_OpReset(reused_op.get(), "Identity", custom_device_name, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_EQ(tensorflow::string(TFE_OpGetDevice(reused_op.get(), status.get())),
                tensorflow::string(custom_device_name));
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TFE_OpReset(reused_op.get(), "Identity",
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        if (TF_GetCode(status) != TF_OK) return;
        TFE_OpSetDevice(op_.get(), device_.c_str(), status);
        if (TF_GetCode(status) != TF_OK) return;
      } else {
        TFE_OpReset(op_.get(), operation_name, device_.c_str(), status);
        if (TF_GetCode(status) != TF_OK) return;
      }
      TFE_OpAddAttrs(op_.get(), attributes);
      for (int input_index = 0; input_index < inputs.size(); ++input_index) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. tensorflow/c/eager/c_api_experimental.cc

    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/strcat.h"
    #include "tsl/framework/cancellation.h"
    
    using tensorflow::string;
    
    void TFE_OpReset(TFE_Op* op_to_reset, const char* op_or_function_name,
                     const char* raw_device_name, TF_Status* status) {
      if (op_to_reset) {
        tensorflow::ImmediateExecutionOperation* op =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  7. tensorflow/c/eager/c_api_test.cc

      TFE_Op* matmul = TFE_NewOp(ctx, "MatMul", status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_TensorHandle* retvals[1];
      int num_retvals = 1;
      for (auto s : state) {
        TFE_OpReset(matmul, "MatMul", nullptr, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_OpAddInput(matmul, m, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api_experimental.h

    // than separately calling it because if the existing op has the same
    // `raw_device_name`, it skips parsing and just leave as it is.
    TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
                                           const char* op_or_function_name,
                                           const char* raw_device_name,
                                           TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top