This file contains 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
Building package cpuid in /home/marco/.dub/packages/cpuid-0.2.4/ | |
Generating test runner configuration '__test__library__' for 'library' (library). | |
Performing "unittest" build using dmd for x86. | |
cpuid 0.2.4: building configuration "__test__library__"... | |
Linking... | |
Running .dub/packages/cpuid-0.2.4/__test__library__ | |
################ Unified Information ################ | |
Cores per CPU = 1 | |
Threads per CPU = 1 | |
------------------ TLB Information ------------------ |
This file contains 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
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "nvidia" | |
Inactive "intel" | |
EndSection | |
Section "Device" | |
Identifier "nvidia" | |
Driver "nvidia" | |
BusID "4:0:0" |
This file contains 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
// Compile with: | |
// ldc2 -O5 -check-printf-calls -fdata-sections -ffunction-sections -release -singleobj -strip-debug -wi -disable-boundscheck -L=--gc-sections -L=-s D.d | |
@safe: | |
import std.conv, std.stdio, std.parallelism; | |
enum LEVEL_SIZE = 50; /// Width and height of a level | |
enum ROOMS = 100; /// Maximum number of rooms in a level | |
enum ROOM_SIZE_BASE = 2; /// Rooms will be at least this value plus one in size. | |
enum ROOM_SIZE_MOD = 8; /// Random additional room size: [0 .. ROOM_SIZE_MOD) |