Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for stream_id (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          inFinished: Boolean,
          streamId: Int,
          source: BufferedSource,
          length: Int,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_DATA
          this.inFinished = inFinished
          this.streamId = streamId
          this.data = source.readByteString(length.toLong()).toByteArray()
        }
    
        override fun rstStream(
          streamId: Int,
          errorCode: ErrorCode,
        ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

       *
       * ```
       * direction streamID length type flags
       * ```
       *
       * Where direction is `<<` for inbound and `>>` for outbound.
       *
       * For example, the following would indicate a HEAD request sent from the client.
       * ```
       * `<< 0x0000000f    12 HEADERS       END_HEADERS|END_STREAM
       * ```
       */
      fun frameLog(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        type: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http2/Http2FlowControlConnectionListener.kt

      val start = System.currentTimeMillis()
    
      override fun receivingStreamWindowChanged(
        streamId: Int,
        windowCounter: WindowCounter,
        bufferSize: Long,
      ) {
        println("${System.currentTimeMillis() - start},$streamId,${windowCounter.unacknowledged},$bufferSize")
      }
    
      override fun receivingConnectionWindowChanged(windowCounter: WindowCounter) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

        check(acknowledged >= 0)
    
        this.total += total
        this.acknowledged += acknowledged
    
        check(this.acknowledged <= this.total)
      }
    
      override fun toString(): String {
        return "WindowCounter(streamId=$streamId, total=$total, acknowledged=$acknowledged, unacknowledged=$unacknowledged)"
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        }
    
        @Synchronized override fun onRequest(
          streamId: Int,
          requestHeaders: List<Header>,
        ): Boolean {
          assertThat(streamId).isEqualTo(2)
          events.add(requestHeaders)
          notifyAll()
          return false
        }
    
        @Synchronized override fun onHeaders(
          streamId: Int,
          responseHeaders: List<Header>,
          last: Boolean,
        ): Boolean {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/FlowControlListener.kt

      /**
       * Notification that the receiving stream flow control window has changed.
       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
      fun receivingStreamWindowChanged(
        streamId: Int,
        windowCounter: WindowCounter,
        bufferSize: Long,
      )
    
      /**
       * Notification that the receiving connection flow control window has changed.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/OAuthSession.java

      public final String team_name;
      public final String team_id;
    
      public OAuthSession(
          boolean ok, String accessToken, String scope, String userId, String teamName, String teamId) {
        this.ok = ok;
        this.access_token = accessToken;
        this.scope = scope;
        this.user_id = userId;
        this.team_name = teamName;
        this.team_id = teamId;
      }
    
      @Override public String toString() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Oct 23 15:24:22 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_host_send_device_context.cc

      auto status = stream_->Memcpy(device_memory_base_, cpu_tensor->data(),
                                    device_memory_base_->size());
      if (!status.ok()) {
        done(status);
        return;
      }
      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_host_recv_device_context.cc

      *cpu_tensor = Tensor(dtype, tensor_shape);
    
      status = stream_->Memcpy(cpu_tensor->data(), device_memory_base_,
                               device_memory_base_.size());
      if (!status.ok()) {
        done(status);
        return;
      }
      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_device_context.cc

        if (UseMultipleStreams() &&
            !transfer_manager_->CanShapedBufferBeAccessedNow(
                stream_->parent(), xla_tensor->shaped_buffer())) {
          // Initially wait for the compute stream so that memory allocations are
          // synchronized.
          TF_RETURN_IF_ERROR(host_to_device_stream_->WaitFor(stream_.get()));
        }
    
        TF_RETURN_IF_ERROR(transfer_manager_->TransferLiteralToDeviceAsync(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top