Namespaces | Functions
protobuf/third_party/benchmark/src/string_util.cc File Reference
#include "string_util.h"
#include <array>
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <memory>
#include <sstream>
#include "arraysize.h"
Include dependency graph for protobuf/third_party/benchmark/src/string_util.cc:

Go to the source code of this file.

Namespaces

 benchmark
 

Functions

void benchmark::AppendHumanReadable (int n, std::string *str)
 
std::string benchmark::ExponentToPrefix (int64_t exponent, bool iec)
 
std::string benchmark::HumanReadableNumber (double n)
 
void benchmark::ReplaceAll (std::string *str, const std::string &from, const std::string &to)
 
std::string benchmark::StringPrintF (const char *format,...)
 
std::string benchmark::StringPrintFImp (const char *msg, va_list args)
 
std::string benchmark::ToBinaryStringFullySpecified (double value, double threshold, int precision)
 
void benchmark::ToExponentAndMantissa (double val, double thresh, int precision, double one_k, std::string *mantissa, int64_t *exponent)
 


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