Macros | Functions
stream_map_test.cc File Reference
#include "src/core/ext/transport/chttp2/transport/stream_map.h"
#include <grpc/support/log.h>
#include "test/core/util/test_config.h"
Include dependency graph for stream_map_test.cc:

Go to the source code of this file.

Macros

#define LOG_TEST(x)   gpr_log(GPR_INFO, "%s", x)
 

Functions

static void check_delete_evens (grpc_chttp2_stream_map *map, uint32_t n)
 
int main (int argc, char **argv)
 
static void test_basic_add_find (uint32_t n)
 
static void test_delete_evens_incremental (uint32_t n)
 
static void test_delete_evens_sweep (uint32_t n)
 
static void test_empty_find (void)
 
static void test_no_op (void)
 
static void test_periodic_compaction (uint32_t n)
 
static void verify_for_each (void *user_data, uint32_t stream_id, void *ptr)
 

Macro Definition Documentation

◆ LOG_TEST

#define LOG_TEST (   x)    gpr_log(GPR_INFO, "%s", x)

Definition at line 25 of file stream_map_test.cc.

Function Documentation

◆ check_delete_evens()

static void check_delete_evens ( grpc_chttp2_stream_map map,
uint32_t  n 
)
static

Definition at line 80 of file stream_map_test.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 170 of file stream_map_test.cc.

◆ test_basic_add_find()

static void test_basic_add_find ( uint32_t  n)
static

Definition at line 49 of file stream_map_test.cc.

◆ test_delete_evens_incremental()

static void test_delete_evens_incremental ( uint32_t  n)
static

Definition at line 128 of file stream_map_test.cc.

◆ test_delete_evens_sweep()

static void test_delete_evens_sweep ( uint32_t  n)
static

Definition at line 106 of file stream_map_test.cc.

◆ test_empty_find()

static void test_empty_find ( void  )
static

Definition at line 38 of file stream_map_test.cc.

◆ test_no_op()

static void test_no_op ( void  )
static

Definition at line 28 of file stream_map_test.cc.

◆ test_periodic_compaction()

static void test_periodic_compaction ( uint32_t  n)
static

Definition at line 148 of file stream_map_test.cc.

◆ verify_for_each()

static void verify_for_each ( void *  user_data,
uint32_t  stream_id,
void *  ptr 
)
static

Definition at line 73 of file stream_map_test.cc.



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