Go to the documentation of this file.
22 #include "absl/flags/flag.h"
23 #include "absl/flags/parse.h"
24 #include "absl/strings/str_cat.h"
37 ABSL_FLAG(
bool, minstack,
false,
"Use minimal stack");
42 std::vector<const char*> args_c;
43 args_c.reserve(
args.size());
45 args_c.push_back(
arg.c_str());
59 int main(
int argc,
char** argv) {
63 char* lslash = strrchr(me,
'/');
66 std::vector<const char*>
args;
70 memcpy(
root, me,
static_cast<size_t>(lslash - me));
71 root[lslash - me] = 0;
90 if ((
status = cli.Join()) != 0) {
96 return svr.Join() == 0 ? 0 : 2;
std::string StrCat(const AlphaNum &a, const AlphaNum &b)
int main(int argc, char **argv)
_Use_decl_annotations_ int __cdecl printf(const char *_Format,...)
ABSL_FLAG(int, warmup, 100, "Warmup iterations")
const char * gpr_subprocess_binary_extension()
std::vector< char * > ParseCommandLine(int argc, char *argv[])
Subprocess(std::vector< std::string > args)
static void warmup(const char *path)
void gpr_subprocess_interrupt(gpr_subprocess *p)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
RefCountedPtr< grpc_tls_certificate_provider > root
std::string JoinHostPort(absl::string_view host, int port)
gpr_subprocess * process_
ABSL_MUST_USE_RESULT T GetFlag(const absl::Flag< T > &flag)
int grpc_pick_unused_port_or_die(void)
struct gpr_subprocess gpr_subprocess
gpr_subprocess * gpr_subprocess_create(int argc, const char **argv)
int gpr_subprocess_join(gpr_subprocess *p)
void gpr_subprocess_destroy(gpr_subprocess *p)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:36