Classes | Enumerations | Functions | Variables
grpc_core::chttp2 Namespace Reference

Classes

class  FlowControlAction
 
class  StreamFlowControl
 
class  TestOnlyTransportTargetWindowEstimatesMocker
 
class  TransportFlowControl
 

Enumerations

enum  StallEdge { StallEdge::kNoChange, StallEdge::kStalled, StallEdge::kUnstalled }
 

Functions

static double AdjustForMemoryPressure (double memory_pressure, double target)
 
std::ostream & operator<< (std::ostream &out, const FlowControlAction &action)
 
std::ostream & operator<< (std::ostream &out, FlowControlAction::Urgency u)
 
 TEST (FlowControl, GradualReadsUpdate)
 
 TEST (FlowControl, InitialStreamUpdate)
 
 TEST (FlowControl, InitialTransportUpdate)
 
 TEST (FlowControl, NoOp)
 
 TEST (FlowControl, NoUpdateWithoutReader)
 
 TEST (FlowControl, RecvData)
 
 TEST (FlowControl, SendData)
 
 TEST (FlowControl, TrackMinProgressSize)
 

Variables

TestOnlyTransportTargetWindowEstimatesMockerg_test_only_transport_target_window_estimates_mocker
 
static constexpr uint32_t kDefaultFrameSize = 16384
 
static constexpr uint32_t kDefaultWindow = 65535
 
static constexpr uint32_t kFrameSize = 1024 * 1024
 
static constexpr const uint32_t kMaxInitialWindowSize = (1u << 30)
 
static constexpr int64_t kMaxWindow = static_cast<int64_t>((1u << 31) - 1)
 
static constexpr const int64_t kMaxWindowDelta = (1u << 20)
 
static constexpr const uint32_t kMinInitialWindowSize = 128
 

Enumeration Type Documentation

◆ StallEdge

Enumerator
kNoChange 
kStalled 
kUnstalled 

Definition at line 66 of file flow_control.h.

Function Documentation

◆ AdjustForMemoryPressure()

static double grpc_core::chttp2::AdjustForMemoryPressure ( double  memory_pressure,
double  target 
)
static

Definition at line 183 of file flow_control.cc.

◆ operator<<() [1/2]

std::ostream & grpc_core::chttp2::operator<< ( std::ostream &  out,
const FlowControlAction action 
)

Definition at line 97 of file flow_control.cc.

◆ operator<<() [2/2]

std::ostream & grpc_core::chttp2::operator<< ( std::ostream &  out,
FlowControlAction::Urgency  u 
)

Definition at line 70 of file flow_control.cc.

◆ TEST() [1/8]

grpc_core::chttp2::TEST ( FlowControl  ,
GradualReadsUpdate   
)

Definition at line 139 of file flow_control_test.cc.

◆ TEST() [2/8]

grpc_core::chttp2::TEST ( FlowControl  ,
InitialStreamUpdate   
)

Definition at line 62 of file flow_control_test.cc.

◆ TEST() [3/8]

grpc_core::chttp2::TEST ( FlowControl  ,
InitialTransportUpdate   
)

Definition at line 55 of file flow_control_test.cc.

◆ TEST() [4/8]

grpc_core::chttp2::TEST ( FlowControl  ,
NoOp   
)

Definition at line 30 of file flow_control_test.cc.

◆ TEST() [5/8]

grpc_core::chttp2::TEST ( FlowControl  ,
NoUpdateWithoutReader   
)

Definition at line 117 of file flow_control_test.cc.

◆ TEST() [6/8]

grpc_core::chttp2::TEST ( FlowControl  ,
RecvData   
)

Definition at line 70 of file flow_control_test.cc.

◆ TEST() [7/8]

grpc_core::chttp2::TEST ( FlowControl  ,
SendData   
)

Definition at line 43 of file flow_control_test.cc.

◆ TEST() [8/8]

grpc_core::chttp2::TEST ( FlowControl  ,
TrackMinProgressSize   
)

Definition at line 81 of file flow_control_test.cc.

Variable Documentation

◆ g_test_only_transport_target_window_estimates_mocker

TestOnlyTransportTargetWindowEstimatesMocker * grpc_core::chttp2::g_test_only_transport_target_window_estimates_mocker

Definition at line 48 of file flow_control.cc.

◆ kDefaultFrameSize

constexpr uint32_t grpc_core::chttp2::kDefaultFrameSize = 16384
staticconstexpr

Definition at line 54 of file flow_control.h.

◆ kDefaultWindow

constexpr uint32_t grpc_core::chttp2::kDefaultWindow = 65535
staticconstexpr

Definition at line 53 of file flow_control.h.

◆ kFrameSize

constexpr uint32_t grpc_core::chttp2::kFrameSize = 1024 * 1024
staticconstexpr

Definition at line 57 of file flow_control.h.

◆ kMaxInitialWindowSize

constexpr const uint32_t grpc_core::chttp2::kMaxInitialWindowSize = (1u << 30)
staticconstexpr

Definition at line 59 of file flow_control.h.

◆ kMaxWindow

constexpr int64_t grpc_core::chttp2::kMaxWindow = static_cast<int64_t>((1u << 31) - 1)
staticconstexpr

Definition at line 55 of file flow_control.h.

◆ kMaxWindowDelta

constexpr const int64_t grpc_core::chttp2::kMaxWindowDelta = (1u << 20)
staticconstexpr

Definition at line 61 of file flow_control.h.

◆ kMinInitialWindowSize

constexpr const uint32_t grpc_core::chttp2::kMinInitialWindowSize = 128
staticconstexpr

Definition at line 58 of file flow_control.h.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:38