Classes | Functions
lhash_test.cc File Reference
#include <openssl/lhash.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <memory>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <openssl/mem.h>
#include <gtest/gtest.h>
#include "internal.h"
Include dependency graph for lhash_test.cc:

Go to the source code of this file.

Classes

struct  FreeLHASH_OF_char
 

Functions

static const char * Lookup (std::map< std::string, std::unique_ptr< char[]>> *dummy_lh, const char *key)
 
static std::unique_ptr< char[]> RandString (void)
 
 TEST (LHashTest, Basic)
 

Function Documentation

◆ Lookup()

static const char* Lookup ( std::map< std::string, std::unique_ptr< char[]>> *  dummy_lh,
const char *  key 
)
static

Definition at line 53 of file lhash_test.cc.

◆ RandString()

static std::unique_ptr<char[]> RandString ( void  )
static

Definition at line 37 of file lhash_test.cc.

◆ TEST()

TEST ( LHashTest  ,
Basic   
)

Definition at line 63 of file lhash_test.cc.



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