Functions | Variables
c_slice_buffer_test.cc File Reference
#include <grpc/grpc.h>
#include <grpc/slice_buffer.h>
#include <grpc/support/log.h>
#include "src/core/lib/slice/slice_internal.h"
#include "test/core/util/test_config.h"
Include dependency graph for c_slice_buffer_test.cc:

Go to the source code of this file.

Functions

static void free_data (void *data, size_t len)
 
int main (int argc, char **argv)
 
void test_slice_buffer_add ()
 
void test_slice_buffer_add_contiguous_slices ()
 
void test_slice_buffer_first ()
 
void test_slice_buffer_move_first ()
 

Variables

static constexpr size_t kTotalDataLength = 4096
 

Function Documentation

◆ free_data()

static void free_data ( void *  data,
size_t  len 
)
static

Definition at line 64 of file c_slice_buffer_test.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 182 of file c_slice_buffer_test.cc.

◆ test_slice_buffer_add()

void test_slice_buffer_add ( )

Definition at line 28 of file c_slice_buffer_test.cc.

◆ test_slice_buffer_add_contiguous_slices()

void test_slice_buffer_add_contiguous_slices ( )

Definition at line 69 of file c_slice_buffer_test.cc.

◆ test_slice_buffer_first()

void test_slice_buffer_first ( )

Definition at line 141 of file c_slice_buffer_test.cc.

◆ test_slice_buffer_move_first()

void test_slice_buffer_move_first ( )

Definition at line 93 of file c_slice_buffer_test.cc.

Variable Documentation

◆ kTotalDataLength

constexpr size_t kTotalDataLength = 4096
staticconstexpr

Definition at line 26 of file c_slice_buffer_test.cc.



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