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
| #if 1 | |
| #define CRASH_1 | |
| #else | |
| #define CRASH_2 | |
| #endif | |
| #include <vector> | |
| #include <string> | |
| using namespace std; |
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 <cstdint> | |
| uint64_t FinalSum(uint64_t a, uint64_t b, uint64_t c, uint64_t d) { | |
| return a + b + c + d; | |
| } | |
| uint64_t Sum(uint64_t a, uint64_t b, uint64_t c, uint64_t d) { | |
| return FinalSum(a, b, c, d); | |
| } |
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
| unsigned int factorial(unsigned int n) { | |
| if (n == 0) | |
| return 1; | |
| return n * factorial(n - 1); | |
| } | |
| int main(int argc, char** args) { | |
| return factorial(2); | |
| } |
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 <random> | |
| int main(int argc, const char** args) | |
| { | |
| const int num_data = 255; | |
| unsigned char data[num_data]; | |
| srand(0); | |
| for (int k = 0; k < num_data; k++) { |
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 <stdio.h> | |
| #include <stdlib.h> | |
| void bayer(int* matrix, int n, int recursion_level = 0, int start_number = 0, int x = 0, int y = 0) { | |
| int stride = (1<<recursion_level); | |
| int log_2_matrix_size = n; | |
| int increment = (1<<(2*(log_2_matrix_size-recursion_level-1))); | |
| if (increment == 1) { | |
| int matrix_size = (1<<n); |
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
Show hidden characters
| { | |
| "build_systems": | |
| [ | |
| { | |
| "encoding": "cp850", | |
| "file_regex": "([a-zA-Z]:[\\\\/a-zA-Z0-9_. ()]+)\\(([0-9]+)?,?([0-9]+)?\\): (.+)", | |
| "name": "BuildExample", | |
| "windows": | |
| { | |
| "cmd": |
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
| Build started... | |
| 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------ | |
| 1>Checking Build System | |
| 1>CMake is re-running because D:/builds/cling/CMakeFiles/generate.stamp is out-of-date. | |
| 1> the file 'D:/builds/cling/LLVMBuild.cmake' | |
| 1> is newer than 'D:/builds/cling/CMakeFiles/generate.stamp.depend' | |
| 1> result='-1' | |
| 1>CMake Warning at CMakeLists.txt:37 (message): | |
| 1> Visual Studio generators use the x86 host compiler by default, even for | |
| 1> 64-bit targets. This can result in linker instability and out of memory |
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
| Unreal port exploration | |
| PORT TO NEW ENGINE | |
| ================== | |
| * Better graphics | |
| * Easier to add new features | |
| STAY ON SDK2013 | |
| =============== |
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
| Symbols | |
| ============================================================ | |
| Mod 0000 | `C:\Users\Jorge\source\repos\Project2\Project2\x64\Debug\Source.obj`: | |
| 4 | S_OBJNAME [size = 76] sig=0, `C:\Users\Jorge\source\repos\Project2\Project2\x64\Debug\Source.obj` | |
| 80 | S_COMPILE3 [size = 60] | |
| machine = intel x86-x64, Ver = Microsoft (R) Optimizing Compiler, language = c++ | |
| frontend = 19.30.30528.0, backend = 19.30.30528.0 | |
| flags = edit and continue | security checks | hot patchable | sdl |
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
| $ ./build.bat | |
| ------------------------ | |
| building sgl | |
| ------------------------ | |
| -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042. | |
| -- Found libarchive. Enabling archive file loading support. | |
| CMake Warning at C:/Program Files/CMake/share/cmake-3.20/Modules/FindBoost.cmake:1354 (message): | |
| New Boost version may have incorrect or missing dependencies and imported | |
| targets | |
| Call Stack (most recent call first): |