int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_init(); test_no_op(); test_resize_then_destroy(); test_resource_user_no_op(); test_instant_alloc_then_free(); test_instant_alloc_free_pair(); test_simple_async_alloc(); test_async_alloc_blocked_by_size(); test_scavenge(); test_scavenge_blocked(); test_blocked_until_scheduled_reclaim(); test_blocked_until_scheduled_reclaim_and_scavenge(); test_blocked_until_scheduled_destructive_reclaim(); test_unused_reclaim_is_cancelled(); test_benign_reclaim_is_preferred(); test_multiple_reclaims_can_be_triggered(); test_resource_user_stays_allocated_until_memory_released(); test_resource_user_stays_allocated_and_reclaimers_unrun_until_memory_released(); test_reclaimers_can_be_posted_repeatedly(); test_one_slice(); test_one_slice_deleted_late(); grpc_shutdown(); return 0; }
int main(void) { test_no_op(); test_simple(); test_percentile(); test_merge(); return 0; }
int main(int argc, char **argv) { grpc_test_init(argc, argv); test_no_op(); test_create_string(); test_create_metadata(); test_create_many_ephemeral_metadata(); test_create_many_persistant_metadata(); test_spin_creating_the_same_thing(); test_things_stick_around(); test_slices_work(); test_base64_and_huffman_works(); return 0; }
int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_iomgr_init(); test_no_op(); test_wait_empty(); test_cq_end_op(); test_pluck(); test_threading(1, 1); test_threading(1, 10); test_threading(10, 1); test_threading(10, 10); grpc_iomgr_shutdown(); return 0; }
int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_init(); test_no_op(); test_wait_empty(); test_shutdown_then_next_polling(); test_shutdown_then_next_with_timeout(); test_cq_end_op(); test_pluck(); test_threading(1, 1); test_threading(1, 10); test_threading(10, 1); test_threading(10, 10); grpc_shutdown(); return 0; }
int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_iomgr_init(); grpc_pollset_init(&g_pollset); test_no_op(); test_no_op_with_start(); test_no_op_with_port(); test_no_op_with_port_and_start(); test_connect(1); test_connect(10); grpc_pollset_shutdown(&g_pollset, destroy_pollset, &g_pollset); grpc_iomgr_shutdown(); return 0; }
int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_iomgr_init(); test_no_op(); test_wait_empty(); test_cq_end_read(); test_cq_end_write_accepted(); test_cq_end_finish_accepted(); test_cq_end_client_metadata_read(); test_pluck(); test_threading(1, 1); test_threading(1, 10); test_threading(10, 1); test_threading(10, 10); grpc_iomgr_shutdown(); return 0; }
int main(int argc, char **argv) { grpc_test_init(argc, argv); grpc_iomgr_init(); gpr_mu_init(&mu); gpr_cv_init(&cv); test_no_op(); test_no_op_with_start(); test_no_op_with_port(); test_no_op_with_port_and_start(); test_connect(1); test_connect(10); grpc_iomgr_shutdown(); gpr_mu_destroy(&mu); gpr_cv_destroy(&cv); return 0; }
int main(int argc, char **argv) { grpc_closure destroyed; grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; grpc_test_init(argc, argv); grpc_init(); g_pollset = gpr_malloc(grpc_pollset_size()); grpc_pollset_init(g_pollset, &g_mu); test_no_op(); test_no_op_with_start(); test_no_op_with_port(); test_no_op_with_port_and_start(); test_receive(1); test_receive(10); grpc_closure_init(&destroyed, destroy_pollset, g_pollset); grpc_pollset_shutdown(&exec_ctx, g_pollset, &destroyed); grpc_exec_ctx_finish(&exec_ctx); gpr_free(g_pollset); grpc_iomgr_shutdown(); return 0; }
int main(int argc, char **argv) { uint32_t n = 1; uint32_t prev = 1; uint32_t tmp; grpc_test_init(argc, argv); test_no_op(); test_empty_find(); test_double_deletion(); while (n < 100000) { test_basic_add_find(n); test_delete_evens_sweep(n); test_delete_evens_incremental(n); test_periodic_compaction(n); tmp = n; n += prev; prev = tmp; } return 0; }
void no_op(grpc_end2end_test_config config) { test_no_op(config); }