CBMC
Loading...
Searching...
No Matches
string_hash.h File Reference

string hashing More...

#include <string>
#include <string_view>
+ Include dependency graph for string_hash.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  string_hash
 

Functions

std::size_t hash_string (std::string_view)
 
std::size_t hash_string (const char *s, std::size_t len)
 

Detailed Description

string hashing

Definition in file string_hash.h.

Function Documentation

◆ hash_string() [1/2]

std::size_t hash_string ( const char s,
std::size_t  len 
)

Definition at line 19 of file string_hash.cpp.

◆ hash_string() [2/2]

std::size_t hash_string ( std::string_view  s)

Definition at line 14 of file string_hash.cpp.