Macros | Functions
resource_quota_server.cc File Reference
#include <stdio.h>
#include <string.h>
#include <grpc/byte_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include "test/core/end2end/cq_verifier.h"
#include "test/core/end2end/end2end_tests.h"
Include dependency graph for resource_quota_server.cc:

Go to the source code of this file.

Macros

#define CLIENT_BASE_TAG   0x1000
 
#define NUM_CALLS   100
 
#define SERVER_END_BASE_TAG   0x4000
 
#define SERVER_RECV_BASE_TAG   0x3000
 
#define SERVER_START_BASE_TAG   0x2000
 

Functions

static grpc_end2end_test_fixture begin_test (grpc_end2end_test_config config, const char *test_name, grpc_channel_args *client_args, grpc_channel_args *server_args)
 
static void drain_cq (grpc_completion_queue *cq)
 
static void end_test (grpc_end2end_test_fixture *f)
 
static gpr_timespec five_seconds_from_now (void)
 
static grpc_slice generate_random_slice ()
 
static gpr_timespec n_seconds_from_now (int n)
 
void resource_quota_server (grpc_end2end_test_config config)
 
void resource_quota_server_pre_init (void)
 
static void shutdown_client (grpc_end2end_test_fixture *f)
 
static void shutdown_server (grpc_end2end_test_fixture *f)
 
static void * tag (intptr_t t)
 

Macro Definition Documentation

◆ CLIENT_BASE_TAG

#define CLIENT_BASE_TAG   0x1000

◆ NUM_CALLS

#define NUM_CALLS   100

◆ SERVER_END_BASE_TAG

#define SERVER_END_BASE_TAG   0x4000

◆ SERVER_RECV_BASE_TAG

#define SERVER_RECV_BASE_TAG   0x3000

◆ SERVER_START_BASE_TAG

#define SERVER_START_BASE_TAG   0x2000

Function Documentation

◆ begin_test()

static grpc_end2end_test_fixture begin_test ( grpc_end2end_test_config  config,
const char *  test_name,
grpc_channel_args client_args,
grpc_channel_args server_args 
)
static

Definition at line 32 of file resource_quota_server.cc.

◆ drain_cq()

static void drain_cq ( grpc_completion_queue cq)
static

Definition at line 52 of file resource_quota_server.cc.

◆ end_test()

static void end_test ( grpc_end2end_test_fixture f)
static

Definition at line 77 of file resource_quota_server.cc.

◆ five_seconds_from_now()

static gpr_timespec five_seconds_from_now ( void  )
static

Definition at line 48 of file resource_quota_server.cc.

◆ generate_random_slice()

static grpc_slice generate_random_slice ( )
static

Definition at line 88 of file resource_quota_server.cc.

◆ n_seconds_from_now()

static gpr_timespec n_seconds_from_now ( int  n)
static

Definition at line 44 of file resource_quota_server.cc.

◆ resource_quota_server()

void resource_quota_server ( grpc_end2end_test_config  config)

Definition at line 103 of file resource_quota_server.cc.

◆ resource_quota_server_pre_init()

void resource_quota_server_pre_init ( void  )

Definition at line 380 of file resource_quota_server.cc.

◆ shutdown_client()

static void shutdown_client ( grpc_end2end_test_fixture f)
static

Definition at line 71 of file resource_quota_server.cc.

◆ shutdown_server()

static void shutdown_server ( grpc_end2end_test_fixture f)
static

Definition at line 59 of file resource_quota_server.cc.

◆ tag()

static void* tag ( intptr_t  t)
static

Definition at line 30 of file resource_quota_server.cc.



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