Go to the documentation of this file.
25 #define LOG_TEST(x) gpr_log(GPR_INFO, "%s", x)
59 for (
i = 1;
i <=
n;
i++) {
65 for (
i = 1;
i <=
n;
i++) {
87 for (
i = 1;
i <=
n;
i++) {
110 LOG_TEST(
"test_delete_evens_sweep");
114 for (
i = 1;
i <=
n;
i++) {
117 for (
i = 1;
i <=
n;
i++) {
132 LOG_TEST(
"test_delete_evens_incremental");
136 for (
i = 1;
i <=
n;
i++) {
153 LOG_TEST(
"test_periodic_compaction");
158 for (
i = 1;
i <=
n;
i++) {
170 int main(
int argc,
char** argv) {
static void test_delete_evens_sweep(uint32_t n)
int main(int argc, char **argv)
static void verify_for_each(void *user_data, uint32_t stream_id, void *ptr)
static void test_no_op(void)
void grpc_chttp2_stream_map_add(grpc_chttp2_stream_map *map, uint32_t key, void *value)
static void test_empty_find(void)
void * grpc_chttp2_stream_map_find(grpc_chttp2_stream_map *map, uint32_t key)
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
void grpc_chttp2_stream_map_for_each(grpc_chttp2_stream_map *map, void(*f)(void *user_data, uint32_t key, void *value), void *user_data)
static void check_delete_evens(grpc_chttp2_stream_map *map, uint32_t n)
void * grpc_chttp2_stream_map_delete(grpc_chttp2_stream_map *map, uint32_t key)
_W64 unsigned int uintptr_t
size_t grpc_chttp2_stream_map_size(grpc_chttp2_stream_map *map)
void grpc_chttp2_stream_map_destroy(grpc_chttp2_stream_map *map)
void grpc_chttp2_stream_map_init(grpc_chttp2_stream_map *map, size_t initial_capacity)
static void test_basic_add_find(uint32_t n)
static void test_delete_evens_incremental(uint32_t n)
static void test_periodic_compaction(uint32_t n)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:20