This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module nested.in_.too.many.packages.because.that.is_.furthering.encapsulation; | |
| version (core_reflect) | |
| { | |
| import core.reflect.utils; | |
| alias fullyQualifiedName = fqn; | |
| } | |
| version (phobos_fqn) | |
| { | |
| import std.traits; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import core.reflect.reflect; | |
| import core.reflect.transitiveVisitor; | |
| import std_stdio = std.xml; | |
| struct PadDetctedTuple | |
| { | |
| string aggregateName; | |
| Location aggregateLocation; | |
| ulong number_of_pad_bytes; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import linenoise_c; | |
| import reflectionHelper; | |
| import core.stdc.stdio; | |
| import core.stdc.string; | |
| import core.stdc.stdlib; | |
| import core.reflect.reflect; | |
| //pragma(msg, function_names); | |
| //static const functionNames_ = getFreeFunctionsFromModule.functionNames(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern(C): | |
| struct Ctx; | |
| void method0(Ctx* ctx); | |
| void setMmethod0(Ctx* ctx, int x); | |
| int getMethod0(Ctx* ctx); | |
| void setMmethod20(Ctx* ctx, void* x); | |
| void* getMethod20(Ctx* ctx); | |
| void method1(Ctx* ctx); | |
| void setMmethod1(Ctx* ctx, int x); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void f(int[] a, int[] b) | |
| { | |
| a[0..16] = b[0..16]; | |
| } | |
| fbody: BlockStatement = { | |
| internalPointer: unhandled, | |
| serial: 31523, | |
| astTypeName: "CompoundStatement", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import core.reflect.reflect; | |
| import core.reflect.transitiveVisitor; | |
| int f() | |
| { | |
| int x; | |
| g(&x); | |
| return x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| extern (C): | |
| alias tb_color = ushort; | |
| enum LAST_ATTR_INIT = 0xFFFF; | |
| // attributes | |
| enum TB_BOLD = 0x0100; | |
| enum TB_UNDERLINE = 0x0400; | |
| enum TB_REVERSE = 0x0800; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import std.file; | |
| void main(string[] args) | |
| { | |
| // () @safe { assert(args.length == 2, "exactly one argument must be given") } (); | |
| auto text = cast(string) read(args[1]); | |
| long indent_level; | |
| long beginParenPos; | |
| bool inString = false; | |
| bool inStruct = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <valgrind/callgrind.h> | |
| extern "C" void callgrind_start(void) | |
| { | |
| CALLGRIND_START_INSTRUMENTATION; | |
| } | |
| extern "C" void callgrind_stop(void) | |
| { | |
| CALLGRIND_STOP_INSTRUMENTATION; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import core.reflect.reflect; | |
| import core.reflect.dscope; | |
| import core.internal.string : unsignedToTempString; | |
| import core.stdc.stdio; | |
| import std.stdio; | |
| import Iobject = object; | |
| pragma(msg, (const ClassDeclaration cd) { | |
| string result; |