HelenOS sources
MAX_ERROR_STR_LENGTH 160 uspace/app/hbench/main.c char *error_msg = malloc(MAX_ERROR_STR_LENGTH + 1);
MAX_ERROR_STR_LENGTH 165 uspace/app/hbench/main.c str_cpy(error_msg, MAX_ERROR_STR_LENGTH, "");
MAX_ERROR_STR_LENGTH 168 uspace/app/hbench/main.c bench_run_init(&helper_run, error_msg, MAX_ERROR_STR_LENGTH);
MAX_ERROR_STR_LENGTH 186 uspace/app/hbench/main.c str_cpy(error_msg, MAX_ERROR_STR_LENGTH, "Workload too small even for 1 << 63");
MAX_ERROR_STR_LENGTH 192 uspace/app/hbench/main.c bench_run_init(&run, error_msg, MAX_ERROR_STR_LENGTH);
MAX_ERROR_STR_LENGTH 211 uspace/app/hbench/main.c snprintf(error_msg, MAX_ERROR_STR_LENGTH, "failed allocating memory");
MAX_ERROR_STR_LENGTH 215 uspace/app/hbench/main.c bench_run_init(&runs[i], error_msg, MAX_ERROR_STR_LENGTH);
HelenOS homepage, sources at GitHub