예제 #1
0
static void some_really_long_function_name(
    struct device *dev, struct device_driver *drv)
{
    if ((some_variable_name &&
         somefunction(param1, param2, param3))) {
        asdfghjk = asdfasdfasd.aasdfasd +
                   (asdfasd.asdas * 1234.65);
    }

    for (struct something_really_really_excessive *
         a_long_ptr_name = get_first_item();
         a_long_ptr_name != NULL;
         a_long_ptr_name = get_next_item(a_long_ptr_name))
    {
    }

    for (a = get_first(); a != NULL; a = get_next(a))
    {
    }

    for (a_ptr = get_first();
         a_ptr != NULL;
         a_ptr = get_next(a))
    {
    }

    register_clcmd(
        "examine", "do_examine", -1,
        "-Allows a player to examine the health and armor of a teammate" );
    register_clcmd(
        "/examine", "do_examine", -1,
        "-Allows a player to examine the health and armor of a teammate" );
}
예제 #2
0
int main(int argc, char *argv[])
{
  Foo F;
  const Bar &B1 = F.getBar(); // This works.
  const Bar &B2 = somefunction(F);

  return(0);
}
예제 #3
0
파일: main.cpp 프로젝트: BumblingCoder/qbs
int main()
{
    printf("meow\n");
    if (&somefunction != nullptr)
        printf("somefunction existed and it returned %d\n", somefunction());
    else
        printf("somefunction did not exist\n");
#if SHOULD_INSTALL_LIB
    indirect();
#endif
    return 0;
}
예제 #4
0
파일: main.cpp 프로젝트: CCJY/coliru
int main()
{
    somefunction();
}
예제 #5
0
파일: test.c 프로젝트: chengyi818/kata
int main()
{
    return somefunction();
}