26 void writeStderr(
const char*
s,
size_t len) {
29 void writeStderr(
const char*
s) {
30 writeStderr(s, strlen(s));
39 const char*
function) {
40 writeStderr(
"\n\nAssertion failure: ");
41 writeStderr(expr + 1, strlen(expr) - 2);
42 writeStderr(
"\nMessage: ");
44 writeStderr(
"\nFile: ");
46 writeStderr(
"\nLine: ");
50 writeStderr(
"\nFunction: ");
51 writeStderr(
function);
uint32_t uint64ToBufferUnsafe(uint64_t v, char *const buffer)
void assertionFailure(const char *expr, const char *msg, const char *file, unsigned int line, const char *function)
—— Concurrent Priority Queue Implementation ——
ssize_t writeFull(int fd, const void *buf, size_t count)