Classes | Namespaces | Functions
cord_rep_test_util.h File Reference
#include <cassert>
#include <memory>
#include <random>
#include <string>
#include <vector>
#include "absl/base/config.h"
#include "absl/base/internal/raw_logging.h"
#include "absl/strings/internal/cord_internal.h"
#include "absl/strings/internal/cord_rep_btree.h"
#include "absl/strings/internal/cord_rep_flat.h"
#include "absl/strings/string_view.h"
Include dependency graph for cord_rep_test_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  absl::cordrep_testing::AutoUnref
 

Namespaces

 absl
 
 absl::cordrep_testing
 

Functions

std::vector< cord_internal::CordRep * > absl::cordrep_testing::CordCollectReps (cord_internal::CordRep *rep)
 
template<typename Predicate >
std::vector< cord_internal::CordRep * > absl::cordrep_testing::CordCollectRepsIf (Predicate &&predicate, cord_internal::CordRep *rep)
 
cord_internal::CordRepBtree * absl::cordrep_testing::CordRepBtreeFromFlats (absl::Span< cord_internal::CordRep *const > flats)
 
std::string absl::cordrep_testing::CordToString (cord_internal::CordRep *rep)
 
void absl::cordrep_testing::CordToString (cord_internal::CordRep *rep, std::string &s)
 
template<typename Fn >
void absl::cordrep_testing::CordVisitReps (cord_internal::CordRep *rep, Fn &&fn)
 
std::vector< cord_internal::CordRep * > absl::cordrep_testing::CreateFlatsFromString (absl::string_view data, size_t chunk_size)
 
std::string absl::cordrep_testing::CreateRandomString (size_t n)
 
cord_internal::CordRepExternal * absl::cordrep_testing::MakeExternal (absl::string_view s)
 
cord_internal::CordRepFlat * absl::cordrep_testing::MakeFlat (absl::string_view value)
 
cord_internal::CordRepSubstring * absl::cordrep_testing::MakeSubstring (size_t start, size_t len, cord_internal::CordRep *rep)
 


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