Skip to content

Instantly share code, notes, and snippets.

View nicolasnoble's full-sized avatar
😪
I may be slow to respond.

Nicolas Noble nicolasnoble

😪
I may be slow to respond.
View GitHub Profile
#ifdef RUBY_TYPED_FREE_IMMEDIATELY
static void grpc_rb_shutdown(VALUE val) {
(void)val;
grpc_shutdown();
}
#endif
void HandleRpcs() {
new CallData(&service_, cq_.get());
void* tag;
bool ok;
while (true) {
switch (cq_->AsyncNext(&tag, &ok, gpr_inf_past) {
case TIMEOUT:
doSomethingElseForALittleWhile();
continue;
case SHUTDOWN:
#define __DBL_MIN_EXP__ (-1021)
#define __UINT_LEAST16_MAX__ 65535
#define __ATOMIC_ACQUIRE 2
#define __FLT_MIN__ 1.17549435082228750797e-38F
#define __GCC_IEC_559_COMPLEX 2
#define __UINT_LEAST8_TYPE__ unsigned char
#define _WIN32 1
#define __INTMAX_C(c) c ## LL
#define __CHAR_BIT__ 8
#define __UINT8_MAX__ 255
;; Function int main() (main, funcdef_no=1196, decl_uid=28518, cgraph_uid=322)
int main() ()
{
int D.29914;
struct __ostream_type & D.29913;
int D.29912;
bool D.29911;
void (*<T5f4>) (void) D.29910;
struct __lambda0 D.28533;
#include <iostream>
#include <typeinfo>
#include <string>
#include <memory>
#include <cxxabi.h>
using namespace std;
string demangle(const char * name) {
int status = -1;