75 std::ostream &
print(std::ostream &out)
const {
76 if (
m_buf !=
nullptr) {
88 return (obj.
print(out));
Definition: buf0block_hint.cc:30
const std::string FILE("FILE")
const void * m_buf
Definition: ut.h:83
std::ostream & print(std::ostream &out) const
Definition: ut.h:75
ulint m_len
Definition: ut.h:84
PrintBuffer(const void *buf, ulint len)
Definition: ut.h:73
Version control for database, common definitions, and include files.
#define UNIV_COLD
Definition: univ.i:267
unsigned long int ulint
Definition: univ.i:406
void ut_sprintf_timestamp(char *buf)
Sprintfs a timestamp to a buffer, 13..14 chars plus terminating NUL.
Definition: ut.cc:136
void ut_print_buf(FILE *file, const void *buf, ulint len)
NOTE: The functions in this file should only use functions from other files in library.
Definition: ut.cc:47
void ut_print_buf_hex(std::ostream &o, const void *buf, ulint len)
Prints the contents of a memory buffer in hex.
Definition: ut.cc:78
void ut_print_timestamp(FILE *file) UNIV_COLD
Prints a timestamp to a file.
Definition: ut.cc:109
std::ostream & operator<<(std::ostream &out, const PrintBuffer &obj)
Definition: ut.h:87
ulint ut_strlcpy_rev(char *dst, const char *src, ulint size)
Like ut_strlcpy, but if src doesn't fit in dst completely, copies the last (size - 1) bytes of src,...
Definition: ut.cc:163