Macros | Functions | Variables
test-queue-foreach-delete.c File Reference
#include "uv.h"
#include "task.h"
#include <string.h>
Include dependency graph for test-queue-foreach-delete.c:

Go to the source code of this file.

Macros

#define DEFINE_GLOBALS_AND_CBS(name, ...)
 
#define END_ASSERTS(name)
 
#define INIT_AND_START(name, loop)
 

Functions

 TEST_IMPL (queue_foreach_delete)
 

Variables

static const unsigned first_handle_number_check = 2
 
static const unsigned first_handle_number_idle = 2
 
static const unsigned first_handle_number_prepare = 2
 

Macro Definition Documentation

◆ DEFINE_GLOBALS_AND_CBS

#define DEFINE_GLOBALS_AND_CBS (   name,
  ... 
)

Definition at line 68 of file test-queue-foreach-delete.c.

◆ END_ASSERTS

#define END_ASSERTS (   name)
Value:
do { \
ASSERT(name##_cb_calls[0] == 1); \
ASSERT(name##_cb_calls[1] == 0); \
ASSERT(name##_cb_calls[2] == 1); \
} while (0)

Definition at line 114 of file test-queue-foreach-delete.c.

◆ INIT_AND_START

#define INIT_AND_START (   name,
  loop 
)
Value:
do { \
size_t i; \
for (i = 0; i < ARRAY_SIZE(name); i++) { \
int r; \
r = uv_##name##_init((loop), &(name)[i]); \
ASSERT(r == 0); \
\
r = uv_##name##_start(&(name)[i], name##_cbs[i]); \
ASSERT(r == 0); \
} \
} while (0)

Definition at line 101 of file test-queue-foreach-delete.c.

Function Documentation

◆ TEST_IMPL()

TEST_IMPL ( queue_foreach_delete  )

Definition at line 169 of file test-queue-foreach-delete.c.

Variable Documentation

◆ first_handle_number_check

const unsigned first_handle_number_check = 2
static

Definition at line 62 of file test-queue-foreach-delete.c.

◆ first_handle_number_idle

const unsigned first_handle_number_idle = 2
static

Definition at line 60 of file test-queue-foreach-delete.c.

◆ first_handle_number_prepare

const unsigned first_handle_number_prepare = 2
static

Definition at line 61 of file test-queue-foreach-delete.c.

async_greeter_server_with_graceful_shutdown.loop
loop
Definition: async_greeter_server_with_graceful_shutdown.py:59
ARRAY_SIZE
#define ARRAY_SIZE(array)
Definition: bloaty.cc:101
grpc._server._start
def _start(state)
Definition: grpc/_server.py:925
setup.name
name
Definition: setup.py:542
fix_build_deps.r
r
Definition: fix_build_deps.py:491
i
uint64_t i
Definition: abseil-cpp/absl/container/btree_benchmark.cc:230


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