code
stringlengths 3
10M
| language
stringclasses 31
values |
|---|---|
suited to or suggestive of a grave or burial
|
D
|
instance Mod_7338_OUT_Lebensmittelhaendler_REL (Npc_Default)
{
// ------ NSC ------
name = "Rudolf";
guild = GIL_OUT;
id = 7338;
voice = 5;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ AIVARS ------
aivar[AIV_ToughGuy] = TRUE;
aivar[AIV_ToughGuyNewsOverride] = TRUE;
aivar[AIV_IGNORE_Murder] = TRUE;
aivar[AIV_IGNORE_Theft] = TRUE;
aivar[AIV_IGNORE_Sheepkiller] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapter (self, 3);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_STRONG;
// ------ Equippte Waffen ------
EquipItem (self, ItMw_2H_Eminem_Goldschwert_01);
// ------ Inventory ------
//CreateInvItems (self, ItWr_Passierschein, 1);wird jetzt über Dialog vergeben, damit nicht mehr im Trade auftaucht
CreateInvItems (self, ItMi_Gold, 50);
// ------ visuals ------
if (Mod_RudolfSchnaps == 0)
{
B_SetNpcVisual (self, MALE, "Hum_Head_FatBald", 10, BodyTex_N, KhorataHaendler_01);
}
else
{
B_SetNpcVisual (self, MALE, "Hum_Head_FatBald", 222, BodyTex_N, KhorataHaendler_01);
};
Mdl_SetModelFatness (self,1.8);
Mdl_ApplyOverlayMds (self, "Humans_Arrogance.mds");
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------
B_SetFightSkills (self, 50);
// ------ TA anmelden ------
daily_routine = Rtn_Start_7338;
};
FUNC VOID Rtn_Start_7338()
{
TA_Stand_ArmsCrossed (07,45,21,45,"REL_CITY_049");
TA_Sleep (21,45,07,45,"REL_CITY_258");
};
FUNC VOID Rtn_Tot_7338()
{
TA_Stand_ArmsCrossed (07,00,23,00,"TOT");
TA_Sit_Throne (23,00,07,00,"TOT");
};
|
D
|
.hd dsdbiu "dump contents of dynamic storage block" 02/25/80
subroutine dsdbiu (block, form)
pointer block
character form
.sp
Library: vswtlb (standard Subsystem library)
.fs
'Dsdbiu' is called by 'dsdump' to dump the contents of a block
of storage that has been allocated by 'dsget'.
The first argument is a pointer to the control words of the block;
the second is LETTER for a character dump, DIGIT for a numeric dump.
.sp
This routine is technically not available for direct call by the user,
since the format and location of block control words is subject to
change.
.im
The SIZE control word of the block is read to obtain the size of the
block, and that many words are written to ERROUT via 'print' in
the particular format specified.
The first argument is incremented to point to the end of the block.
.am
block
.ca
print
.bu
None that can be helped.
.sa
dsget (2), dsfree (2), dsinit (2), dsdump (2)
|
D
|
import database;
import vibe.data.json;
import vibe.core.log;
import std.file;
struct ShoxyServerSettings
{
string url;
ushort port;
string dbHost;
ushort dbPort;
string dbName;
string dbUser;
string dbPassword;
bool allowVariableshortCodeLength;
ushort minShortcodeLength;
ushort maxShortcodeLength;
ushort defaultShortcodeLength;;
bool proxyResources;
string expirationPolicy;
string expireCheckInterval;
string[string] expirationPolicySettings;;
}
class ShoxyServerConfig
{
private:
string readFile(string filePath)
{
try
{
return readText(filePath);
}
catch(FileException e)
{
logInfo("Can't read file %s.", filePath);
}
catch(Exception e)
{
logInfo("Exception while reading file %s.", filePath);
}
return null;
}
public:
string filePath;
ShoxyServerSettings settings;
this(string filePath)
{
this.filePath = filePath;
string jsonString = readFile(filePath);
this.settings = deserializeJson!ShoxyServerSettings(jsonString);
}
}
|
D
|
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Routing.build/RouteBuilder+Grouping.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Method+Wildcard.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Parameterizable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteBuilder+Grouping.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Request+Routing.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteGroup.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteBuilder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Router+Responder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Router.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Utilities.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Parameters.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Routing.build/RouteBuilder+Grouping~partial.swiftmodule : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Method+Wildcard.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Parameterizable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteBuilder+Grouping.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Request+Routing.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteGroup.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteBuilder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Router+Responder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Router.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Utilities.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Parameters.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Routing.build/RouteBuilder+Grouping~partial.swiftdoc : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Method+Wildcard.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Parameterizable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteBuilder+Grouping.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Request+Routing.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteGroup.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/RouteBuilder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Router+Responder.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Router.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Utilities.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Parameters.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/URI.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/TLS.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Branches.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Sockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Transport.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
|
D
|
module typed;
import command.uda;
class TypedExample {
@CommandNamespace("typed"):
@TypedCommand("foo", "Foobar", 1, 1)
int foo(int bar) {
return bar;
}
@TypedCommand("hello", "Say hello to someone!", 1, 1)
string hello(string name) {
return "Hello, " ~ name ~ "!";
}
}
mixin RegisterModule!TypedExample;
|
D
|
a small byte
gentle biting
bite off very small pieces
bite gently
eat intermittently
|
D
|
/**
Command line tool that identifies equivalent lines in an input stream. Equivalent
lines are identified using either the full line or a set of fields as the key. By
default, input is written to standard output, retaining only the first occurrence of
equivalent lines. There are also options for marking and numbering equivalent lines
rather, without filtering out duplicates.
This tool is similar in spirit to the Unix 'uniq' tool, with some key differences.
First, the key can be composed of individual fields, not just the full line. Second,
input does not need to be sorted. (Unix 'uniq' only detects equivalent lines when
they are adjacent, hence the usual need for sorting.)
There are a couple alternative to uniq'ing the input lines. One is to mark lines with
an equivalence ID, which is a one-upped counter. The other is to number lines, with
each unique key have its own set of numbers.
Copyright (c) 2015-2019, eBay Software Foundation
Initially written by Jon Degenhardt
License: Boost Licence 1.0 (http://boost.org/LICENSE_1_0.txt)
*/
module tsv_utils.tsv_uniq;
import std.stdio;
import std.format : format;
import std.typecons : tuple;
auto helpText = q"EOS
Synopsis: tsv-uniq [options] [file...]
tsv-uniq filters out duplicate lines using fields as a key. Filtering is
based on the entire line when key fields are not provided. Options are
also available for assigning a unique id to each key and numbering the
occurrences of each key. Use '--help-verbose' for more details.
Options:
EOS";
auto helpTextVerbose = q"EOS
Synopsis: tsv-uniq [options] [file...]
tsv-uniq identifies equivalent lines in tab-separated value files. Input
is read line by line, recording a key for each line based on one or more
of the fields. Two lines are equivalent if they have the same key. The
first time a key is seen its line is written to standard output.
Subsequent lines containing the same key are discarded. This command
uniq's a file on fields 2 and 3:
tsv-uniq -f 2,3 file.tsv
This is similar to the Unix 'uniq' program, but based on individual
fields and without requiring sorted data.
tsv-uniq can be run without specifying a key field. In this case the
whole line is used as a key, same as the Unix 'uniq' program. This works
on any line-oriented text file, not just TSV files.
The above is the default behavior ('uniq' mode). The alternates to 'uniq'
mode are 'number' mode and 'equiv-class' mode. In 'equiv-class' mode, all
lines are written to standard output, but with a field appended marking
equivalent entries with an ID. The ID is a one-upped counter. Example:
tsv-uniq --header -f 2,3 --equiv file.tsv
'Number' mode also writes all lines to standard output, but with a field
appended numbering the occurrence count for the line's key. The first line
with a specific key is assigned the number '1', the second with the key is
assigned number '2', etc. 'Number' and 'equiv-class' modes can be combined.
The '--r|repeated' option can be used to print only lines occurring more
than once. Specifically, the second occurrence of a key is printed. The
'--a|at-least N' option is similar, printing lines occurring at least N
times. (Like repeated, the Nth line with the key is printed.)
The '--m|max MAX' option changes the behavior to output the first MAX
lines for each key, rather than just the first line for each key.
If both '--a|at-least' and '--m|max' are specified, the occurrences
starting with 'at-least' and ending with 'max' are output.
Options:
EOS";
/** Container for command line options.
*/
struct TsvUniqOptions
{
enum defaultEquivHeader = "equiv_id";
enum defaultEquivStartID = 1;
enum defaultNumberHeader = "equiv_line";
string programName;
bool helpVerbose = false; // --h|help-verbose
bool versionWanted = false; // --V|version
size_t[] fields; // --f|fields
bool hasHeader = false; // --H|header
bool onlyRepeated = false; // --r|repeated. Shorthand for '--atleast 2'
size_t atLeast = 0; // --a|at-least. Zero implies default behavior.
size_t max = 0; // --m|max. Zero implies default behavior.
bool numberMode = false; // --z|number
string numberHeader = defaultNumberHeader; // --number-header
bool equivMode = false; // --e|equiv
string equivHeader = defaultEquivHeader; // --equiv-header
long equivStartID = defaultEquivStartID; // --equiv-start
bool ignoreCase = false; // --i|ignore-case
char delim = '\t'; // --d|delimiter
bool keyIsFullLine = false; // Derived. True if no fields specified or '--f|fields 0'
/* Returns a tuple. First value is true if command line arguments were successfully
* processed and execution should continue, or false if an error occurred or the user
* asked for help. If false, the second value is the appropriate exit code (0 or 1).
*
* Returning true (execution continues) means args have been validated and derived
* values calculated. In addition, field indices have been converted to zero-based.
* If the whole line is the key, the individual fields list will be cleared.
*
* Repeat count control variables 'atLeast' and max' - These values are left at zero
* if no repeat count options are specified. They are set if repeat count options
* are specified, as follows:
* * atLeast - Will be zero unless --r|repeated or --a|at-least is specified.
* --r|repeated option sets it 2, --a|at-least sets it to the specified value.
* * max - Default to zero. Is set to the --m|max value if provided. Is set to
* 'atLeast' if --r|repeated or --a|at-least is provided.
*
* An exception to the above: If --e|equiv-mode is specified, then (max == 0)
* represents the default "output all values" case. In this case max may be less
* than the at-least value.
*/
auto processArgs (ref string[] cmdArgs)
{
import std.algorithm : any, each;
import std.getopt;
import std.path : baseName, stripExtension;
import std.typecons : Yes, No;
import tsv_utils.common.utils : makeFieldListOptionHandler;
programName = (cmdArgs.length > 0) ? cmdArgs[0].stripExtension.baseName : "Unknown_program_name";
try
{
arraySep = ","; // Use comma to separate values in command line options
auto r = getopt(
cmdArgs,
"help-verbose", " Print full help.", &helpVerbose,
std.getopt.config.caseSensitive,
"V|version", " Print version information and exit.", &versionWanted,
"H|header", " Treat the first line of each file as a header.", &hasHeader,
std.getopt.config.caseInsensitive,
"f|fields", "<field-list> Fields to use as the key. Default: 0 (entire line).",
fields.makeFieldListOptionHandler!(size_t, No.convertToZeroBasedIndex,Yes.allowFieldNumZero),
"i|ignore-case", " Ignore case when comparing keys.", &ignoreCase,
"r|repeated", " Output only lines that are repeated (based on the key).", &onlyRepeated,
"a|at-least", "INT Output only lines that are repeated INT times (based on the key). Zero and one are ignored.", &atLeast,
"m|max", "INT Max number of each unique key to output (zero is ignored).", &max,
"e|equiv", " Output equivalence class IDs rather than uniq'ing entries.", &equivMode,
"equiv-header", "STR Use STR as the equiv-id field header (when using '-H --equiv'). Default: 'equiv_id'.", &equivHeader,
"equiv-start", "INT Use INT as the first equiv-id. Default: 1.", &equivStartID,
"z|number", " Output equivalence class occurrence counts rather than uniq'ing entries.", &numberMode,
"number-header", "STR Use STR as the '--number' field header (when using '-H --number)'. Default: 'equiv_line'.", &numberHeader,
"d|delimiter", "CHR Field delimiter. Default: TAB. (Single byte UTF-8 characters only.)", &delim,
);
if (r.helpWanted)
{
defaultGetoptPrinter(helpText, r.options);
return tuple(false, 0);
}
else if (helpVerbose)
{
defaultGetoptPrinter(helpTextVerbose, r.options);
return tuple(false, 0);
}
else if (versionWanted)
{
import tsv_utils.common.tsvutils_version;
writeln(tsvutilsVersionNotice("tsv-uniq"));
return tuple(false, 0);
}
/* Consistency checks */
if (!equivMode)
{
if (equivHeader != defaultEquivHeader)
{
throw new Exception("--equiv-header requires --e|equiv");
}
else if (equivStartID != defaultEquivStartID)
{
throw new Exception("--equiv-start requires --e|equiv");
}
}
if (!numberMode && numberHeader != defaultNumberHeader)
{
throw new Exception("--number-header requires --z|number");
}
if (fields.length > 1 && fields.any!(x => x == 0))
{
throw new Exception("Whole line as key (--f|field 0) cannot be combined with multiple fields.");
}
/* Derivations */
if (fields.length == 0)
{
keyIsFullLine = true;
}
else if (fields.length == 1 && fields[0] == 0)
{
keyIsFullLine = true;
fields.length = 0;
}
if (onlyRepeated && atLeast <= 1) atLeast = 2;
if (atLeast >= 2 && max < atLeast)
{
// Don't modify max if it is zero and equivMode or numberMode is in effect.
if (max != 0 || (!equivMode && !numberMode)) max = atLeast;
}
if (!keyIsFullLine) fields.each!((ref x) => --x); // Convert to 0-based indexing.
}
catch (Exception exc)
{
stderr.writefln("[%s] Error processing command line arguments: %s", programName, exc.msg);
return tuple(false, 1);
}
return tuple(true, 0);
}
}
static if (__VERSION__ >= 2085) extern(C) __gshared string[] rt_options = [ "gcopt=cleanup:none" ];
/** Main program. Processes command line arguments and calls tsvUniq which implements
* the main processing logic.
*/
int main(string[] cmdArgs)
{
/* When running in DMD code coverage mode, turn on report merging. */
version(D_Coverage) version(DigitalMars)
{
import core.runtime : dmd_coverSetMerge;
dmd_coverSetMerge(true);
}
TsvUniqOptions cmdopt;
auto r = cmdopt.processArgs(cmdArgs);
if (!r[0]) return r[1];
version(LDC_Profile)
{
import ldc.profile : resetAll;
resetAll();
}
try tsvUniq(cmdopt, cmdArgs[1..$]);
catch (Exception exc)
{
stderr.writefln("Error [%s]: %s", cmdopt.programName, exc.msg);
return 1;
}
return 0;
}
/** Outputs the unique lines from all the input files.
*
* Processes the lines in each input file. All lines are added to an associated array.
* The first time a line is seen it is output. If key fields are being used these are
* used as the basis for the associative array entries rather than the full line.
*/
void tsvUniq(in TsvUniqOptions cmdopt, in string[] inputFiles)
{
import tsv_utils.common.utils : InputFieldReordering, bufferedByLine, BufferedOutputRange, joinAppend;
import std.algorithm : splitter;
import std.array : appender;
import std.conv : to;
import std.range;
import std.uni : asLowerCase;
import std.utf : byChar;
/* InputFieldReordering maps the key fields from an input line to a separate buffer. */
auto keyFieldsReordering = cmdopt.keyIsFullLine ? null : new InputFieldReordering!char(cmdopt.fields);
/* BufferedOutputRange is a performance enhancement for writing to stdout. */
auto bufferedOutput = BufferedOutputRange!(typeof(stdout))(stdout);
/* The master hash. The key is the specified fields concatenated together (including
* separators). The value is a struct with the equiv-id and occurrence count.
*/
static struct EquivEntry { size_t equivID; size_t count; }
EquivEntry[string] equivHash;
/* Reusable buffers for multi-field keys and case-insensitive keys. */
auto multiFieldKeyBuffer = appender!(char[]);
auto lowerKeyBuffer = appender!(char[]);
const size_t numKeyFields = cmdopt.fields.length;
long nextEquivID = cmdopt.equivStartID;
bool headerWritten = false;
foreach (filename; (inputFiles.length > 0) ? inputFiles : ["-"])
{
auto inputStream = (filename == "-") ? stdin : filename.File();
foreach (lineNum, line; inputStream.bufferedByLine.enumerate(1))
{
if (cmdopt.hasHeader && lineNum == 1)
{
/* Header line. */
if (!headerWritten)
{
bufferedOutput.append(line);
if (cmdopt.equivMode)
{
bufferedOutput.append(cmdopt.delim);
bufferedOutput.append(cmdopt.equivHeader);
}
if (cmdopt.numberMode)
{
bufferedOutput.append(cmdopt.delim);
bufferedOutput.append(cmdopt.numberHeader);
}
bufferedOutput.appendln();
headerWritten = true;
}
}
else
{
/* Regular line (not header). Start by finding the key. */
typeof(line) key;
if (cmdopt.keyIsFullLine)
{
key = line;
}
else
{
assert(keyFieldsReordering !is null);
/* Copy the key fields to a new buffer. */
keyFieldsReordering.initNewLine;
foreach (fieldIndex, fieldValue; line.splitter(cmdopt.delim).enumerate)
{
keyFieldsReordering.processNextField(fieldIndex, fieldValue);
if (keyFieldsReordering.allFieldsFilled) break;
}
if (!keyFieldsReordering.allFieldsFilled)
{
throw new Exception(
format("Not enough fields in line. File: %s, Line: %s",
(filename == "-") ? "Standard Input" : filename, lineNum));
}
if (numKeyFields == 1)
{
key = keyFieldsReordering.outputFields[0];
}
else
{
multiFieldKeyBuffer.clear();
keyFieldsReordering.outputFields.joinAppend(multiFieldKeyBuffer, cmdopt.delim);
key = multiFieldKeyBuffer.data;
}
}
if (cmdopt.ignoreCase)
{
/* Equivalent to key = key.toLower, but without memory allocation. */
lowerKeyBuffer.clear();
lowerKeyBuffer.put(key.asLowerCase.byChar);
key = lowerKeyBuffer.data;
}
bool isOutput = false;
EquivEntry currEntry;
EquivEntry* priorEntry = (key in equivHash);
if (priorEntry is null)
{
isOutput = (cmdopt.atLeast <= 1);
currEntry.equivID = nextEquivID;
currEntry.count = 1;
equivHash[key.to!string] = currEntry;
nextEquivID++;
}
else
{
(*priorEntry).count++;
currEntry = *priorEntry;
if ((currEntry.count <= cmdopt.max && currEntry.count >= cmdopt.atLeast) ||
(cmdopt.equivMode && cmdopt.max == 0) ||
(cmdopt.numberMode && cmdopt.max == 0))
{
isOutput = true;
}
}
if (isOutput)
{
bufferedOutput.append(line);
if (cmdopt.equivMode)
{
bufferedOutput.append(cmdopt.delim);
bufferedOutput.append(currEntry.equivID.to!string);
}
if (cmdopt.numberMode)
{
bufferedOutput.append(cmdopt.delim);
bufferedOutput.append(currEntry.count.to!string);
}
bufferedOutput.appendln();
}
}
}
}
}
|
D
|
/**
* Benchmark hash with cache stomping.
*
* Copyright: Copyright Martin Nowak 2015 - .
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Martin Nowak
*/
import std.file, std.algorithm, std.random, std.math;
// exponential distribution around mean
struct ExpRandom
{
double mean;
Xorshift32 gen;
this(double mean)
{
this.mean = mean;
gen = Xorshift32(unpredictableSeed);
}
size_t front()
{
return lround(mean * -log(uniform!"()"(0.0, 1.0, gen)));
}
alias gen this;
}
struct CacheStomper
{
ExpRandom rnd;
size_t i;
ubyte[] mem;
this(size_t avgBytesPerCall)
{
rnd = ExpRandom(avgBytesPerCall / 64.0);
mem = new ubyte[](32 * 1024 * 1024);
}
void stomp()
{
immutable n = rnd.front();
rnd.popFront();
foreach (_; 0 .. n)
++mem[(i += 64) & ($ - 1)];
}
}
void main(string[] args)
{
auto path = args.length > 1 ? args[1] : "extra-files/dante.txt";
auto words = splitter(cast(string) read(path), ' ');
size_t[string] aa;
auto stomper = CacheStomper(1000);
foreach (_; 0 .. 10)
{
foreach (word; words)
{
++aa[word];
stomper.stomp();
}
}
}
|
D
|
/**
<script type="text/javascript">inhibitQuickIndex = 1</script>
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions)
)
$(TR $(TDNW Template API) $(TD $(MYREF isDigest) $(MYREF DigestType) $(MYREF hasPeek)
$(MYREF ExampleDigest) $(MYREF _digest) $(MYREF hexDigest) $(MYREF makeDigest)
)
)
$(TR $(TDNW OOP API) $(TD $(MYREF Digest)
)
)
$(TR $(TDNW Helper functions) $(TD $(MYREF toHexString))
)
$(TR $(TDNW Implementation helpers) $(TD $(MYREF digestLength) $(MYREF WrapperDigest))
)
)
* This module describes the digest APIs used in Phobos. All digests follow these APIs.
* Additionally, this module contains useful helper methods which can be used with every _digest type.
*
* APIs:
* There are two APIs for digests: The template API and the OOP API. The template API uses structs
* and template helpers like $(LREF isDigest). The OOP API implements digests as classes inheriting
* the $(LREF Digest) interface. All digests are named so that the template API struct is called "$(B x)"
* and the OOP API class is called "$(B x)Digest". For example we have $(D MD5) <--> $(D MD5Digest),
* $(D CRC32) <--> $(D CRC32Digest), etc.
*
* The template API is slightly more efficient. It does not have to allocate memory dynamically,
* all memory is allocated on the stack. The OOP API has to allocate in the finish method if no
* buffer was provided. If you provide a buffer to the OOP APIs finish function, it doesn't allocate,
* but the $(LREF Digest) classes still have to be created using $(D new) which allocates them using the GC.
*
* The OOP API is useful to change the _digest function and/or _digest backend at 'runtime'. The benefit here
* is that switching e.g. Phobos MD5Digest and an OpenSSLMD5Digest implementation is ABI compatible.
*
* If just one specific _digest type and backend is needed, the template API is usually a good fit.
* In this simplest case, the template API can even be used without templates: Just use the "$(B x)" structs
* directly.
*
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>
* Authors:
* Johannes Pfau
*
* Source: $(PHOBOSSRC std/_digest/_digest.d)
*
* Macros:
* MYREF = <font face='Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace'><a href="#$1">$1</a> </font>
* MYREF2 = <font face='Consolas, "Bitstream Vera Sans Mono", "Andale Mono", Monaco, "DejaVu Sans Mono", "Lucida Console", monospace'><a href="#$2">$1</a> </font>
* MYREF3 = <a href="#$2">$(D $1)</a>
*
* CTFE:
* Digests do not work in CTFE
*
* TODO:
* Digesting single bits (as opposed to bytes) is not implemented. This will be done as another
* template constraint helper (hasBitDigesting!T) and an additional interface (BitDigest)
*/
/* Copyright Johannes Pfau 2012.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
module std.digest.digest;
import std.exception, std.range, std.traits;
import std.algorithm : copy;
import std.typetuple : allSatisfy;
import std.ascii : LetterCase;
///
unittest
{
import std.digest.crc;
//Simple example
char[8] hexHash = hexDigest!CRC32("The quick brown fox jumps over the lazy dog");
assert(hexHash == "39A34F41");
//Simple example, using the API manually
CRC32 context = makeDigest!CRC32();
context.put(cast(ubyte[])"The quick brown fox jumps over the lazy dog");
ubyte[4] hash = context.finish();
assert(toHexString(hash) == "39A34F41");
}
///
unittest
{
//Generating the hashes of a file, idiomatic D way
import std.digest.crc, std.digest.sha, std.digest.md;
import std.stdio;
// Digests a file and prints the result.
void digestFile(Hash)(string filename) if(isDigest!Hash)
{
auto file = File(filename);
auto result = digest!Hash(file.byChunk(4096 * 1024));
writefln("%s (%s) = %s", Hash.stringof, filename, toHexString(result));
}
void main(string[] args)
{
foreach (name; args[1 .. $])
{
digestFile!MD5(name);
digestFile!SHA1(name);
digestFile!CRC32(name);
}
}
}
///
unittest
{
//Generating the hashes of a file using the template API
import std.digest.crc, std.digest.sha, std.digest.md;
import std.stdio;
// Digests a file and prints the result.
void digestFile(Hash)(ref Hash hash, string filename) if(isDigest!Hash)
{
File file = File(filename);
//As digests imlement OutputRange, we could use std.algorithm.copy
//Let's do it manually for now
foreach (buffer; file.byChunk(4096 * 1024))
hash.put(buffer);
auto result = hash.finish();
writefln("%s (%s) = %s", Hash.stringof, filename, toHexString(result));
}
void uMain(string[] args)
{
MD5 md5;
SHA1 sha1;
CRC32 crc32;
md5.start();
sha1.start();
crc32.start();
foreach (arg; args[1 .. $])
{
digestFile(md5, arg);
digestFile(sha1, arg);
digestFile(crc32, arg);
}
}
}
///
unittest
{
import std.digest.crc, std.digest.sha, std.digest.md;
import std.stdio;
// Digests a file and prints the result.
void digestFile(Digest hash, string filename)
{
File file = File(filename);
//As digests implement OutputRange, we could use std.algorithm.copy
//Let's do it manually for now
foreach (buffer; file.byChunk(4096 * 1024))
hash.put(buffer);
ubyte[] result = hash.finish();
writefln("%s (%s) = %s", typeid(hash).toString(), filename, toHexString(result));
}
void umain(string[] args)
{
auto md5 = new MD5Digest();
auto sha1 = new SHA1Digest();
auto crc32 = new CRC32Digest();
foreach (arg; args[1 .. $])
{
digestFile(md5, arg);
digestFile(sha1, arg);
digestFile(crc32, arg);
}
}
}
version(StdDdoc)
version = ExampleDigest;
version(ExampleDigest)
{
/**
* This documents the general structure of a Digest in the template API.
* All digest implementations should implement the following members and therefore pass
* the $(LREF isDigest) test.
*
* Note:
* $(UL
* $(LI A digest must be a struct (value type) to pass the $(LREF isDigest) test.)
* $(LI A digest passing the $(LREF isDigest) test is always an $(D OutputRange))
* )
*/
struct ExampleDigest
{
public:
/**
* Use this to feed the digest with data.
* Also implements the $(XREF range, OutputRange) interface for $(D ubyte) and
* $(D const(ubyte)[]).
* The following usages of $(D put) must work for any type which passes $(LREF isDigest):
* Examples:
* ----
* ExampleDigest dig;
* dig.put(cast(ubyte)0); //single ubyte
* dig.put(cast(ubyte)0, cast(ubyte)0); //variadic
* ubyte[10] buf;
* dig.put(buf); //buffer
* ----
*/
@trusted void put(scope const(ubyte)[] data...)
{
}
/**
* This function is used to (re)initialize the digest.
* It must be called before using the digest and it also works as a 'reset' function
* if the digest has already processed data.
*/
@trusted void start()
{
}
/**
* The finish function returns the final hash sum and resets the Digest.
*
* Note:
* The actual type returned by finish depends on the digest implementation.
* $(D ubyte[16]) is just used as an example. It is guaranteed that the type is a
* static array of ubytes.
*
* $(UL
* $(LI Use $(LREF DigestType) to obtain the actual return type.)
* $(LI Use $(LREF digestLength) to obtain the length of the ubyte array.)
* )
*/
@trusted ubyte[16] finish()
{
return (ubyte[16]).init;
}
}
}
///
unittest
{
//Using the OutputRange feature
import std.algorithm : copy;
import std.range : repeat;
import std.digest.md;
auto oneMillionRange = repeat!ubyte(cast(ubyte)'a', 1000000);
auto ctx = makeDigest!MD5();
copy(oneMillionRange, &ctx); //Note: You must pass a pointer to copy!
assert(ctx.finish().toHexString() == "7707D6AE4E027C70EEA2A935C2296F21");
}
/**
* Use this to check if a type is a digest. See $(LREF ExampleDigest) to see what
* a type must provide to pass this check.
*
* Note:
* This is very useful as a template constraint (see examples)
*
* BUGS:
* $(UL
* $(LI Does not yet verify that put takes scope parameters.)
* $(LI Should check that finish() returns a ubyte[num] array)
* )
*/
template isDigest(T)
{
enum bool isDigest = isOutputRange!(T, const(ubyte)[]) && isOutputRange!(T, ubyte) &&
is(T == struct) &&
is(typeof(
{
T dig = void; //Can define
dig.put(cast(ubyte)0, cast(ubyte)0); //varags
dig.start(); //has start
auto value = dig.finish(); //has finish
}));
}
///
unittest
{
import std.digest.crc;
static assert(isDigest!CRC32);
}
///
unittest
{
import std.digest.crc;
void myFunction(T)() if(isDigest!T)
{
T dig;
dig.start();
auto result = dig.finish();
}
myFunction!CRC32();
}
/**
* Use this template to get the type which is returned by a digest's $(LREF finish) method.
*/
template DigestType(T)
{
static if(isDigest!T)
{
alias DigestType =
ReturnType!(typeof(
{
T dig = void;
return dig.finish();
}));
}
else
static assert(false, T.stringof ~ " is not a digest! (fails isDigest!T)");
}
///
unittest
{
import std.digest.crc;
assert(is(DigestType!(CRC32) == ubyte[4]));
}
///
unittest
{
import std.digest.crc;
CRC32 dig;
dig.start();
DigestType!CRC32 result = dig.finish();
}
/**
* Used to check if a digest supports the $(D peek) method.
* Peek has exactly the same function signatures as finish, but it doesn't reset
* the digest's internal state.
*
* Note:
* $(UL
* $(LI This is very useful as a template constraint (see examples))
* $(LI This also checks if T passes $(LREF isDigest))
* )
*/
template hasPeek(T)
{
enum bool hasPeek = isDigest!T &&
is(typeof(
{
T dig = void; //Can define
DigestType!T val = dig.peek();
}));
}
///
unittest
{
import std.digest.crc, std.digest.md;
assert(!hasPeek!(MD5));
assert(hasPeek!CRC32);
}
///
unittest
{
import std.digest.crc;
void myFunction(T)() if(hasPeek!T)
{
T dig;
dig.start();
auto result = dig.peek();
}
myFunction!CRC32();
}
private template isDigestibleRange(Range)
{
import std.digest.md;
enum bool isDigestibleRange = isInputRange!Range && is(typeof(
{
MD5 ha; //Could use any conformant hash
ElementType!Range val;
ha.put(val);
}));
}
/**
* This is a convenience function to calculate a hash using the template API.
* Every digest passing the $(LREF isDigest) test can be used with this function.
*
* Params:
* range= an $(D InputRange) with $(D ElementType) $(D ubyte), $(D ubyte[]) or $(D ubyte[num])
*/
DigestType!Hash digest(Hash, Range)(auto ref Range range) if(!isArray!Range
&& isDigestibleRange!Range)
{
Hash hash;
hash.start();
copy(range, &hash);
return hash.finish();
}
///
unittest
{
import std.digest.md;
auto testRange = repeat!ubyte(cast(ubyte)'a', 100);
auto md5 = digest!MD5(testRange);
}
/**
* This overload of the digest function handles arrays.
*
* Params:
* data= one or more arrays of any type
*/
DigestType!Hash digest(Hash, T...)(scope const T data) if(allSatisfy!(isArray, typeof(data)))
{
Hash hash;
hash.start();
foreach(datum; data)
hash.put(cast(const(ubyte[]))datum);
return hash.finish();
}
///
unittest
{
import std.digest.md, std.digest.sha, std.digest.crc;
auto md5 = digest!MD5( "The quick brown fox jumps over the lazy dog");
auto sha1 = digest!SHA1( "The quick brown fox jumps over the lazy dog");
auto crc32 = digest!CRC32("The quick brown fox jumps over the lazy dog");
assert(toHexString(crc32) == "39A34F41");
}
///
unittest
{
import std.digest.crc;
auto crc32 = digest!CRC32("The quick ", "brown ", "fox jumps over the lazy dog");
assert(toHexString(crc32) == "39A34F41");
}
/**
* This is a convenience function similar to $(LREF digest), but it returns the string
* representation of the hash. Every digest passing the $(LREF isDigest) test can be used with this
* function.
*
* Params:
* order= the order in which the bytes are processed (see $(LREF toHexString))
* range= an $(D InputRange) with $(D ElementType) $(D ubyte), $(D ubyte[]) or $(D ubyte[num])
*/
char[digestLength!(Hash)*2] hexDigest(Hash, Order order = Order.increasing, Range)(ref Range range)
if(!isArray!Range && isDigestibleRange!Range)
{
return toHexString!order(digest!Hash(range));
}
///
unittest
{
import std.digest.md;
auto testRange = repeat!ubyte(cast(ubyte)'a', 100);
assert(hexDigest!MD5(testRange) == "36A92CC94A9E0FA21F625F8BFB007ADF");
}
/**
* This overload of the hexDigest function handles arrays.
*
* Params:
* order= the order in which the bytes are processed (see $(LREF toHexString))
* data= one or more arrays of any type
*/
char[digestLength!(Hash)*2] hexDigest(Hash, Order order = Order.increasing, T...)(scope const T data)
if(allSatisfy!(isArray, typeof(data)))
{
return toHexString!order(digest!Hash(data));
}
///
unittest
{
import std.digest.crc;
assert(hexDigest!(CRC32, Order.decreasing)("The quick brown fox jumps over the lazy dog") == "414FA339");
}
///
unittest
{
import std.digest.crc;
assert(hexDigest!(CRC32, Order.decreasing)("The quick ", "brown ", "fox jumps over the lazy dog") == "414FA339");
}
/**
* This is a convenience function which returns an initialized digest, so it's not necessary to call
* start manually.
*/
Hash makeDigest(Hash)()
{
Hash hash;
hash.start();
return hash;
}
///
unittest
{
import std.digest.md;
auto md5 = makeDigest!MD5();
md5.put(0);
assert(toHexString(md5.finish()) == "93B885ADFE0DA089CDF634904FD59F71");
}
/*+*************************** End of template part, welcome to OOP land **************************/
/**
* This describes the OOP API. To understand when to use the template API and when to use the OOP API,
* see the module documentation at the top of this page.
*
* The Digest interface is the base interface which is implemented by all digests.
*
* Note:
* A Digest implementation is always an $(D OutputRange)
*/
interface Digest
{
public:
/**
* Use this to feed the digest with data.
* Also implements the $(XREF range, OutputRange) interface for $(D ubyte) and
* $(D const(ubyte)[]).
*
* Examples:
* ----
* void test(Digest dig)
* {
* dig.put(cast(ubyte)0); //single ubyte
* dig.put(cast(ubyte)0, cast(ubyte)0); //variadic
* ubyte[10] buf;
* dig.put(buf); //buffer
* }
* ----
*/
@trusted nothrow void put(scope const(ubyte)[] data...);
/**
* Resets the internal state of the digest.
* Note:
* $(LREF finish) calls this internally, so it's not necessary to call
* $(D reset) manually after a call to $(LREF finish).
*/
@trusted nothrow void reset();
/**
* This is the length in bytes of the hash value which is returned by $(LREF finish).
* It's also the required size of a buffer passed to $(LREF finish).
*/
@trusted nothrow @property size_t length() const;
/**
* The finish function returns the hash value. It takes an optional buffer to copy the data
* into. If a buffer is passed, it must be at least $(LREF length) bytes big.
*/
@trusted nothrow ubyte[] finish();
///ditto
nothrow ubyte[] finish(scope ubyte[] buf);
//@@@BUG@@@ http://d.puremagic.com/issues/show_bug.cgi?id=6549
/*in
{
assert(buf.length >= this.length);
}*/
/**
* This is a convenience function to calculate the hash of a value using the OOP API.
*/
final @trusted nothrow ubyte[] digest(scope const(void[])[] data...)
{
this.reset();
foreach(datum; data)
this.put(cast(ubyte[])datum);
return this.finish();
}
}
///
unittest
{
//Using the OutputRange feature
import std.algorithm : copy;
import std.range : repeat;
import std.digest.md;
auto oneMillionRange = repeat!ubyte(cast(ubyte)'a', 1000000);
auto ctx = new MD5Digest();
copy(oneMillionRange, ctx);
assert(ctx.finish().toHexString() == "7707D6AE4E027C70EEA2A935C2296F21");
}
///
unittest
{
import std.digest.md, std.digest.sha, std.digest.crc;
ubyte[] md5 = (new MD5Digest()).digest("The quick brown fox jumps over the lazy dog");
ubyte[] sha1 = (new SHA1Digest()).digest("The quick brown fox jumps over the lazy dog");
ubyte[] crc32 = (new CRC32Digest()).digest("The quick brown fox jumps over the lazy dog");
assert(crcHexString(crc32) == "414FA339");
}
///
unittest
{
import std.digest.crc;
ubyte[] crc32 = (new CRC32Digest()).digest("The quick ", "brown ", "fox jumps over the lazy dog");
assert(crcHexString(crc32) == "414FA339");
}
unittest
{
assert(!isDigest!(Digest));
assert(isOutputRange!(Digest, ubyte));
}
///
unittest
{
void test(Digest dig)
{
dig.put(cast(ubyte)0); //single ubyte
dig.put(cast(ubyte)0, cast(ubyte)0); //variadic
ubyte[10] buf;
dig.put(buf); //buffer
}
}
/*+*************************** End of OOP part, helper functions follow ***************************/
/**
* See $(LREF toHexString)
*/
enum Order : bool
{
increasing, ///
decreasing ///
}
/**
* Used to convert a hash value (a static or dynamic array of ubytes) to a string.
* Can be used with the OOP and with the template API.
*
* The additional order parameter can be used to specify the order of the input data.
* By default the data is processed in increasing order, starting at index 0. To process it in the
* opposite order, pass Order.decreasing as a parameter.
*
* The additional letterCase parameter can be used to specify the case of the output data.
* By default the output is in upper case. To change it to the lower case
* pass LetterCase.lower as a parameter.
*/
char[num*2] toHexString(Order order = Order.increasing, size_t num, LetterCase letterCase = LetterCase.upper)
(in ubyte[num] digest)
{
static if (letterCase == LetterCase.upper)
{
import std.ascii : hexDigits = hexDigits;
}
else
{
import std.ascii : hexDigits = lowerHexDigits;
}
char[num*2] result;
size_t i;
static if(order == Order.increasing)
{
foreach(u; digest)
{
result[i++] = hexDigits[u >> 4];
result[i++] = hexDigits[u & 15];
}
}
else
{
size_t j = num - 1;
while(i < num*2)
{
result[i++] = hexDigits[digest[j] >> 4];
result[i++] = hexDigits[digest[j] & 15];
j--;
}
}
return result;
}
///ditto
auto toHexString(LetterCase letterCase, Order order = Order.increasing, size_t num)(in ubyte[num] digest)
{
return toHexString!(order, num, letterCase)(digest);
}
///ditto
string toHexString(Order order = Order.increasing, LetterCase letterCase = LetterCase.upper)
(in ubyte[] digest)
{
static if (letterCase == LetterCase.upper)
{
import std.ascii : hexDigits = hexDigits;
}
else
{
import std.ascii : hexDigits = lowerHexDigits;
}
auto result = new char[digest.length*2];
size_t i;
static if(order == Order.increasing)
{
foreach(u; digest)
{
result[i++] = hexDigits[u >> 4];
result[i++] = hexDigits[u & 15];
}
}
else
{
foreach(u; retro(digest))
{
result[i++] = hexDigits[u >> 4];
result[i++] = hexDigits[u & 15];
}
}
return assumeUnique(result);
}
///ditto
auto toHexString(LetterCase letterCase, Order order = Order.increasing)(in ubyte[] digest)
{
return toHexString!(order, letterCase)(digest);
}
//For more example unittests, see Digest.digest, digest
///
unittest
{
import std.digest.crc;
//Test with template API:
auto crc32 = digest!CRC32("The quick ", "brown ", "fox jumps over the lazy dog");
//Lower case variant:
assert(toHexString!(LetterCase.lower)(crc32) == "39a34f41");
//Usually CRCs are printed in this order, though:
assert(toHexString!(Order.decreasing)(crc32) == "414FA339");
assert(toHexString!(LetterCase.lower, Order.decreasing)(crc32) == "414fa339");
}
///
unittest
{
import std.digest.crc;
// With OOP API
auto crc32 = (new CRC32Digest()).digest("The quick ", "brown ", "fox jumps over the lazy dog");
//Usually CRCs are printed in this order, though:
assert(toHexString!(Order.decreasing)(crc32) == "414FA339");
}
unittest
{
ubyte[16] data;
assert(toHexString(data) == "00000000000000000000000000000000");
assert(toHexString(cast(ubyte[4])[42, 43, 44, 45]) == "2A2B2C2D");
assert(toHexString(cast(ubyte[])[42, 43, 44, 45]) == "2A2B2C2D");
assert(toHexString!(Order.decreasing)(cast(ubyte[4])[42, 43, 44, 45]) == "2D2C2B2A");
assert(toHexString!(Order.decreasing, LetterCase.lower)(cast(ubyte[4])[42, 43, 44, 45]) == "2d2c2b2a");
assert(toHexString!(Order.decreasing)(cast(ubyte[])[42, 43, 44, 45]) == "2D2C2B2A");
}
/*+*********************** End of public helper part, private helpers follow ***********************/
/*
* Used to convert from a ubyte[] slice to a ref ubyte[N].
* This helper is used internally in the WrapperDigest template to wrap the template API's
* finish function.
*/
ref T[N] asArray(size_t N, T)(ref T[] source, string errorMsg = "")
{
assert(source.length >= N, errorMsg);
return *cast(T[N]*)source.ptr;
}
/**
* This helper is used internally in the WrapperDigest template, but it might be
* useful for other purposes as well. It returns the length (in bytes) of the hash value
* produced by T.
*/
template digestLength(T) if(isDigest!T)
{
enum size_t digestLength = (ReturnType!(T.finish)).length;
}
/**
* Wraps a template API hash struct into a Digest interface.
* Modules providing digest implementations will usually provide
* an alias for this template (e.g. MD5Digest, SHA1Digest, ...).
*/
class WrapperDigest(T) if(isDigest!T) : Digest
{
protected:
T _digest;
public final:
/**
* Initializes the digest.
*/
this()
{
_digest.start();
}
/**
* Use this to feed the digest with data.
* Also implements the $(XREF range, OutputRange) interface for $(D ubyte) and
* $(D const(ubyte)[]).
*/
@trusted nothrow void put(scope const(ubyte)[] data...)
{
_digest.put(data);
}
/**
* Resets the internal state of the digest.
* Note:
* $(LREF finish) calls this internally, so it's not necessary to call
* $(D reset) manually after a call to $(LREF finish).
*/
@trusted nothrow void reset()
{
_digest.start();
}
/**
* This is the length in bytes of the hash value which is returned by $(LREF finish).
* It's also the required size of a buffer passed to $(LREF finish).
*/
@trusted nothrow @property size_t length() const pure
{
return digestLength!T;
}
/**
* The finish function returns the hash value. It takes an optional buffer to copy the data
* into. If a buffer is passed, it must have a length at least $(LREF length) bytes.
*
* Examples:
* --------
*
* import std.digest.md;
* ubyte[16] buf;
* auto hash = new WrapperDigest!MD5();
* hash.put(cast(ubyte)0);
* auto result = hash.finish(buf[]);
* //The result is now in result (and in buf). If you pass a buffer which is bigger than
* //necessary, result will have the correct length, but buf will still have it's original
* //length
* --------
*/
nothrow ubyte[] finish(scope ubyte[] buf)
in
{
assert(buf.length >= this.length);
}
body
{
enum string msg = "Buffer needs to be at least " ~ digestLength!(T).stringof ~ " bytes " ~
"big, check " ~ typeof(this).stringof ~ ".length!";
asArray!(digestLength!T)(buf, msg) = _digest.finish();
return buf[0 .. digestLength!T];
}
///ditto
@trusted nothrow ubyte[] finish()
{
enum len = digestLength!T;
auto buf = new ubyte[len];
asArray!(digestLength!T)(buf) = _digest.finish();
return buf;
}
version(StdDdoc)
{
/**
* Works like $(D finish) but does not reset the internal state, so it's possible
* to continue putting data into this WrapperDigest after a call to peek.
*
* These functions are only available if $(D hasPeek!T) is true.
*/
@trusted ubyte[] peek(scope ubyte[] buf) const;
///ditto
@trusted ubyte[] peek() const;
}
else static if(hasPeek!T)
{
@trusted ubyte[] peek(scope ubyte[] buf) const
in
{
assert(buf.length >= this.length);
}
body
{
enum string msg = "Buffer needs to be at least " ~ digestLength!(T).stringof ~ " bytes " ~
"big, check " ~ typeof(this).stringof ~ ".length!";
asArray!(digestLength!T)(buf, msg) = _digest.peek();
return buf[0 .. digestLength!T];
}
@trusted ubyte[] peek() const
{
enum len = digestLength!T;
auto buf = new ubyte[len];
asArray!(digestLength!T)(buf) = _digest.peek();
return buf;
}
}
}
///
unittest
{
import std.digest.md;
//Simple example
auto hash = new WrapperDigest!MD5();
hash.put(cast(ubyte)0);
auto result = hash.finish();
}
///
unittest
{
//using a supplied buffer
import std.digest.md;
ubyte[16] buf;
auto hash = new WrapperDigest!MD5();
hash.put(cast(ubyte)0);
auto result = hash.finish(buf[]);
//The result is now in result (and in buf). If you pass a buffer which is bigger than
//necessary, result will have the correct length, but buf will still have it's original
//length
}
|
D
|
/*
* $Id: ship.d,v 1.4 2005/09/11 00:47:40 kenta Exp $
*
* Copyright 2005 Kenta Cho. Some rights reserved.
*/
module abagames.gr.ship;
private import std.math;
private import opengl;
private import abagames.util.vector;
private import abagames.util.rand;
private import abagames.util.math;
private import abagames.util.sdl.pad;
private import abagames.util.sdl.twinstick;
private import abagames.util.sdl.mouse;
private import abagames.util.sdl.recordableinput;
private import abagames.util.sdl.shape;
private import abagames.gr.field;
private import abagames.gr.gamemanager;
private import abagames.gr.screen;
private import abagames.gr.particle;
private import abagames.gr.letter;
private import abagames.gr.shot;
private import abagames.gr.enemy;
private import abagames.gr.stagemanager;
private import abagames.gr.soundmanager;
private import abagames.gr.prefmanager;
private import abagames.gr.shape;
private import abagames.gr.mouseandpad;
/**
* Player's ship.
*/
public class Ship {
private:
static const float SCROLL_SPEED_BASE = 0.01f;
static const float SCROLL_SPEED_MAX = 0.1f;
static const float SCROLL_START_Y = 2.5f;
Field field;
Boat[2] boat;
int gameMode;
int boatNum;
InGameState gameState;
float scrollSpeed, _scrollSpeedBase;
Vector _midstPos, _higherPos, _lowerPos, _nearPos, _nearVel;
BaseShape bridgeShape;
invariant() {
assert(boatNum >= 1 && boatNum <= boat.length);
assert(scrollSpeed > 0);
assert(_scrollSpeedBase > 0);
}
public this(Pad pad, TwinStick twinStick, Mouse mouse, RecordableMouseAndPad mouseAndPad,
Field field, Screen screen,
SparkPool sparks, SmokePool smokes, FragmentPool fragments, WakePool wakes) {
this.field = field;
Boat.init();
int i = 0;
foreach (ref Boat b; boat) {
b = new Boat(i, this, pad, twinStick, mouse, mouseAndPad,
field, screen, sparks, smokes, fragments, wakes);
i++;
}
boatNum = 1;
scrollSpeed = _scrollSpeedBase = SCROLL_SPEED_BASE;
_midstPos = new Vector;
_higherPos = new Vector;
_lowerPos = new Vector;
_nearPos = new Vector;
_nearVel = new Vector;
bridgeShape = new BaseShape(0.3f, 0.2f, 0.1f, BaseShape.ShapeType.BRIDGE, 0.3f, 0.7f, 0.7f);
}
public void setRandSeed(long seed) {
Boat.setRandSeed(seed);
}
public void close() {
foreach (Boat b; boat)
b.close();
}
public void setShots(ShotPool shots) {
foreach (Boat b; boat)
b.setShots(shots);
}
public void setEnemies(EnemyPool enemies) {
foreach (Boat b; boat)
b.setEnemies(enemies);
}
public void setStageManager(StageManager stageManager) {
foreach (Boat b; boat)
b.setStageManager(stageManager);
}
public void setGameState(InGameState gameState) {
this.gameState = gameState;
foreach (Boat b; boat)
b.setGameState(gameState);
}
public void start(int gameMode) {
this.gameMode = gameMode;
if (gameMode == InGameState.GameMode.DOUBLE_PLAY)
boatNum = 2;
else
boatNum = 1;
_scrollSpeedBase = SCROLL_SPEED_BASE;
for (int i = 0; i < boatNum; i++)
boat[i].start(gameMode);
_midstPos.x = _midstPos.y = 0;
_higherPos.x = _higherPos.y = 0;
_lowerPos.x = _lowerPos.y = 0;
_nearPos.x = _nearPos.y = 0;
_nearVel.x = _nearVel.y = 0;
restart();
}
public void restart() {
scrollSpeed = _scrollSpeedBase;
for (int i = 0; i < boatNum; i++)
boat[i].restart();
}
public void move() {
field.scroll(scrollSpeed);
float sf = false;
for (int i = 0; i < boatNum; i++) {
boat[i].move();
if (boat[i].hasCollision &&
boat[i].pos.x > field.size.x / 3 && boat[i].pos.y < -field.size.y / 4 * 3)
sf = true;
}
if (sf)
gameState.shrinkScoreReel();
if (higherPos.y >= SCROLL_START_Y)
scrollSpeed += (SCROLL_SPEED_MAX - scrollSpeed) * 0.1f;
else
scrollSpeed += (_scrollSpeedBase - scrollSpeed) * 0.1f;
_scrollSpeedBase += (SCROLL_SPEED_MAX - _scrollSpeedBase) * 0.00001f;
}
public bool checkBulletHit(Vector p, Vector pp) {
for (int i = 0; i < boatNum; i++)
if (boat[i].checkBulletHit(p, pp))
return true;
return false;
}
public void clearBullets() {
gameState.clearBullets();
}
public void destroyed() {
for (int i = 0; i < boatNum; i++)
boat[i].destroyedBoat();
}
public void draw() {
for (int i = 0; i < boatNum; i++)
boat[i].draw();
if (gameMode == InGameState.GameMode.DOUBLE_PLAY && boat[0].hasCollision) {
Screen.setColor(0.5f, 0.5f, 0.9f, 0.8f);
glBegin(GL_LINE_STRIP);
glVertex2f(boat[0].pos.x, boat[0].pos.y);
Screen.setColor(0.5f, 0.5f, 0.9f, 0.3f);
glVertex2f(midstPos.x, midstPos.y);
Screen.setColor(0.5f, 0.5f, 0.9f, 0.8f);
glVertex2f(boat[1].pos.x, boat[1].pos.y);
glEnd();
glPushMatrix();
Screen.glTranslate(midstPos);
glRotatef(-degAmongBoats * 180 / PI, 0, 0, 1);
bridgeShape.draw();
glPopMatrix();
}
}
public void drawFront() {
for (int i = 0; i < boatNum; i++)
boat[i].drawFront();
}
public void drawShape() {
boat[0].drawShape();
}
public float scrollSpeedBase() {
return _scrollSpeedBase;
}
public void setReplayMode(float turnSpeed, bool reverseFire) {
foreach (Boat b; boat)
b.setReplayMode(turnSpeed, reverseFire);
}
public void unsetReplayMode() {
foreach (Boat b; boat)
b.unsetReplayMode();
}
public bool replayMode() {
return boat[0].replayMode();
}
public Vector midstPos() {
_midstPos.x = _midstPos.y = 0;
for (int i = 0; i < boatNum; i++) {
_midstPos.x += boat[i].pos.x;
_midstPos.y += boat[i].pos.y;
}
_midstPos /= boatNum;
return _midstPos;
}
public Vector higherPos() {
_higherPos.y = -99999;
for (int i = 0; i < boatNum; i++) {
if (boat[i].pos.y > _higherPos.y) {
_higherPos.x = boat[i].pos.x;
_higherPos.y = boat[i].pos.y;
}
}
return _higherPos;
}
public Vector lowerPos() {
_lowerPos.y = 99999;
for (int i = 0; i < boatNum; i++) {
if (boat[i].pos.y < _lowerPos.y) {
_lowerPos.x = boat[i].pos.x;
_lowerPos.y = boat[i].pos.y;
}
}
return _lowerPos;
}
public Vector nearPos(Vector p) {
float dist = 99999;
for (int i = 0; i < boatNum; i++) {
if (boat[i].pos.dist(p) < dist) {
dist = boat[i].pos.dist(p);
_nearPos.x = boat[i].pos.x;
_nearPos.y = boat[i].pos.y;
}
}
return _nearPos;
}
public Vector nearVel(Vector p) {
float dist = 99999;
for (int i = 0; i < boatNum; i++) {
if (boat[i].pos.dist(p) < dist) {
dist = boat[i].pos.dist(p);
_nearVel.x = boat[i].vel.x;
_nearVel.y = boat[i].vel.y;
}
}
return _nearVel;
}
public float distAmongBoats() {
return boat[0].pos.dist(boat[1].pos);
}
public float degAmongBoats() {
if (distAmongBoats < 0.1f)
return 0;
else
return atan2(boat[0].pos.x - boat[1].pos.x, boat[0].pos.y - boat[1].pos.y);
}
}
public class Boat {
private:
static const int RESTART_CNT = 300;
static const int INVINCIBLE_CNT = 228;
static const float HIT_WIDTH = 0.02f;
static const int FIRE_INTERVAL = 2;
static const int FIRE_INTERVAL_MAX = 4;
static const int FIRE_LANCE_INTERVAL = 15;
static const float SPEED_BASE = 0.15f;
static const float TURN_RATIO_BASE = 0.2f;
static const float SLOW_TURN_RATIO = 0;
static const float TURN_CHANGE_RATIO = 0.5f;
static Rand rand;
static PadState padInput;
static TwinStickState stickInput;
static MouseState mouseInput;
RecordablePad pad;
RecordableTwinStick twinStick;
RecordableMouse mouse;
RecordableMouseAndPad mouseAndPad;
Field field;
Screen screen;
ShotPool shots;
SparkPool sparks;
SmokePool smokes;
FragmentPool fragments;
WakePool wakes;
EnemyPool enemies;
StageManager stageManager;
InGameState gameState;
Vector _pos;
Vector firePos;
float deg;
float speed;
float turnRatio;
BaseShape _shape;
BaseShape bridgeShape;
int fireCnt;
int fireSprCnt;
float fireInterval;
float fireSprDeg;
int fireLanceCnt;
float fireDeg;
bool aPressed, bPressed;
int cnt;
bool onBlock;
Vector _vel;
Vector refVel;
int shieldCnt;
ShieldShape shieldShape;
bool _replayMode;
float turnSpeed;
bool reverseFire;
int gameMode;
float vx, vy;
int idx;
Ship ship;
invariant() {
assert(_pos.x < 15 && _pos.x > -15);
assert(_pos.y < 20 && _pos.y > -20);
assert(firePos.x < 15 && firePos.x > -15);
assert(firePos.y < 20 && firePos.y > -20);
assert(deg <>= 0);
assert(speed >= 0 && speed <= SPEED_BASE);
assert(turnRatio >= 0 && turnRatio <= TURN_RATIO_BASE);
assert(turnSpeed >= 0);
assert(fireInterval >= FIRE_INTERVAL);
assert(fireSprDeg <>= 0);
assert(cnt >= -RESTART_CNT);
assert(_vel.x < 2 && _vel.x > -2);
assert(_vel.y < 2 && _vel.y > -2);
assert(refVel.x < 1 && refVel.x > -1);
assert(refVel.y < 1 && refVel.y > -1);
assert(shieldCnt >= 0);
}
public static void init() {
rand = new Rand;
}
public static void setRandSeed(long seed) {
rand.setSeed(seed);
}
public this(int idx, Ship ship,
Pad pad, TwinStick twinStick, Mouse mouse, RecordableMouseAndPad mouseAndPad,
Field field, Screen screen,
SparkPool sparks, SmokePool smokes, FragmentPool fragments, WakePool wakes) {
this.idx = idx;
this.ship = ship;
this.pad = cast(RecordablePad) pad;
this.twinStick = cast(RecordableTwinStick) twinStick;
this.mouse = cast(RecordableMouse) mouse;
this.mouseAndPad = mouseAndPad;
this.field = field;
this.screen = screen;
this.sparks = sparks;
this.smokes = smokes;
this.fragments = fragments;
this.wakes = wakes;
_pos = new Vector;
firePos = new Vector;
_vel = new Vector;
refVel = new Vector;
switch (idx) {
case 0:
_shape = new BaseShape(0.7f, 0.6f, 0.6f, BaseShape.ShapeType.SHIP_ROUNDTAIL, 0.5f, 0.7f, 0.5f);
bridgeShape = new BaseShape(0.3f, 0.6f, 0.6f, BaseShape.ShapeType.BRIDGE, 0.3f, 0.7f, 0.3f);
break;
case 1:
_shape = new BaseShape(0.7f, 0.6f, 0.6f, BaseShape.ShapeType.SHIP_ROUNDTAIL, 0.4f, 0.3f, 0.8f);
bridgeShape = new BaseShape(0.3f, 0.6f, 0.6f, BaseShape.ShapeType.BRIDGE, 0.2f, 0.3f, 0.6f);
break;
default:
break;
}
deg = 0;
speed = 0;
turnRatio = 0;
turnSpeed = 1;
fireInterval = FIRE_INTERVAL;
fireSprDeg = 0;
cnt = 0;
shieldCnt = 0;
shieldShape = new ShieldShape;
}
public void close() {
_shape.close();
bridgeShape.close();
shieldShape.close();
}
public void setShots(ShotPool shots) {
this.shots = shots;
}
public void setEnemies(EnemyPool enemies) {
this.enemies = enemies;
}
public void setStageManager(StageManager stageManager) {
this.stageManager = stageManager;
}
public void setGameState(InGameState gameState) {
this.gameState = gameState;
}
public void start(int gameMode) {
this.gameMode = gameMode;
if (gameMode == InGameState.GameMode.DOUBLE_PLAY) {
switch (idx) {
case 0:
_pos.x = -field.size.x * 0.5f;
break;
case 1:
_pos.x = field.size.x * 0.5f;
break;
default:
break;
}
} else {
_pos.x = 0;
}
_pos.y = -field.size.y * 0.8f;
firePos.x = firePos.y = 0;
_vel.x = _vel.y = 0;
deg = 0;
speed = SPEED_BASE;
turnRatio = TURN_RATIO_BASE;
cnt = -INVINCIBLE_CNT;
aPressed = bPressed = true;
padInput = pad.getNullState();
stickInput = twinStick.getNullState();
mouseInput = mouse.getNullState();
}
public void restart() {
switch (gameMode) {
case InGameState.GameMode.NORMAL:
fireCnt = 99999;
fireInterval = 99999;
break;
case InGameState.GameMode.TWIN_STICK:
case InGameState.GameMode.DOUBLE_PLAY:
case InGameState.GameMode.MOUSE:
fireCnt = 0;
fireInterval = FIRE_INTERVAL;
break;
default:
break;
}
fireSprCnt = 0;
fireSprDeg = 0.5f;
fireLanceCnt = 0;
if (field.getBlock(_pos) >= 0)
onBlock = true;
else
onBlock = false;
refVel.x = refVel.y = 0;
shieldCnt = 20 * 60;
}
public void move() {
float px = _pos.x, py = _pos.y;
cnt++;
vx = vy = 0;
switch (gameMode) {
case InGameState.GameMode.NORMAL:
moveNormal();
break;
case InGameState.GameMode.TWIN_STICK:
moveTwinStick();
break;
case InGameState.GameMode.DOUBLE_PLAY:
moveDoublePlay();
break;
case InGameState.GameMode.MOUSE:
moveMouse();
break;
default:
break;
}
if (gameState.isGameOver) {
clearBullets();
if (cnt < -INVINCIBLE_CNT)
cnt = -RESTART_CNT;
} else if (cnt < -INVINCIBLE_CNT) {
clearBullets();
}
vx *= speed;
vy *= speed;
vx += refVel.x;
vy += refVel.y;
refVel *= 0.9f;
if (field.checkInField(_pos.x, _pos.y - field.lastScrollY))
_pos.y -= field.lastScrollY;
if ((onBlock || field.getBlock(_pos.x + vx, _pos.y) < 0) &&
field.checkInField(_pos.x + vx, _pos.y)) {
_pos.x += vx;
_vel.x = vx;
} else {
_vel.x = 0;
refVel.x = 0;
}
bool srf = false;
if ((onBlock || field.getBlock(px, _pos.y + vy) < 0) &&
field.checkInField(_pos.x, _pos.y + vy)) {
_pos.y += vy;
_vel.y = vy;
} else {
_vel.y = 0;
refVel.y = 0;
}
if (field.getBlock(_pos.x, _pos.y) >= 0) {
if (!onBlock)
if (cnt <= 0)
onBlock = true;
else {
if (field.checkInField(_pos.x, _pos.y - field.lastScrollY)) {
_pos.x = px;
_pos.y = py;
} else {
destroyed();
}
}
} else {
onBlock = false;
}
switch (gameMode) {
case InGameState.GameMode.NORMAL:
fireNormal();
break;
case InGameState.GameMode.TWIN_STICK:
fireTwinStick();
break;
case InGameState.GameMode.DOUBLE_PLAY:
fireDobulePlay();
break;
case InGameState.GameMode.MOUSE:
fireMouse();
break;
default:
break;
}
if (cnt % 3 == 0 && cnt >= -INVINCIBLE_CNT) {
float sp;
if (vx != 0 || vy != 0)
sp = 0.4f;
else
sp = 0.2f;
sp *= 1 + rand.nextSignedFloat(0.33f);
sp *= SPEED_BASE;
_shape.addWake(wakes, _pos, deg, sp);
}
Enemy he = enemies.checkHitShip(pos.x, pos.y);
if (he) {
float rd;
if (pos.dist(he.pos) < 0.1f)
rd = 0;
else
rd = atan2(_pos.x - he.pos.x, _pos.y - he.pos.y);
assert(rd <>= 0);
float sz = he.size;
const float rdSin = sin(rd);
const float rdCos = cos(rd);
refVel.x = rdSin * sz * 0.1f;
refVel.y = rdCos * sz * 0.1f;
float rs = refVel.vctSize;
if (rs > 1) {
refVel.x /= rs;
refVel.y /= rs;
}
}
if (shieldCnt > 0)
shieldCnt--;
}
private void moveNormal() {
if (!_replayMode) {
padInput = pad.getState();
} else {
try {
padInput = pad.replay();
} catch (NoRecordDataException e) {
gameState.isGameOver = true;
padInput = pad.getNullState();
}
}
if (gameState.isGameOver || cnt < -INVINCIBLE_CNT)
padInput.clear();
if (padInput.dir & PadState.Dir.UP)
vy = 1;
if (padInput.dir & PadState.Dir.DOWN)
vy = -1;
if (padInput.dir & PadState.Dir.RIGHT)
vx = 1;
if (padInput.dir & PadState.Dir.LEFT)
vx = -1;
if (vx != 0 && vy != 0) {
vx *= 0.7f;
vy *= 0.7f;
}
if (vx != 0 || vy != 0) {
float ad = atan2(vx, vy);
assert(ad <>= 0);
Math.normalizeDeg(ad);
ad -= deg;
Math.normalizeDeg(ad);
deg += ad * turnRatio * turnSpeed;
Math.normalizeDeg(deg);
}
}
private void moveTwinStick() {
if (!_replayMode) {
stickInput = twinStick.getState();
} else {
try {
stickInput = twinStick.replay();
} catch (NoRecordDataException e) {
gameState.isGameOver = true;
stickInput = twinStick.getNullState();
}
}
if (gameState.isGameOver || cnt < -INVINCIBLE_CNT)
stickInput.clear();
vx = stickInput.left.x;
vy = stickInput.left.y;
if (vx != 0 || vy != 0) {
float ad = atan2(vx, vy);
assert(ad <>= 0);
Math.normalizeDeg(ad);
ad -= deg;
Math.normalizeDeg(ad);
deg += ad * turnRatio * turnSpeed;
Math.normalizeDeg(deg);
}
}
private void moveDoublePlay() {
switch (idx) {
case 0:
if (!_replayMode) {
stickInput = twinStick.getState();
} else {
try {
stickInput = twinStick.replay();
} catch (NoRecordDataException e) {
gameState.isGameOver = true;
stickInput = twinStick.getNullState();
}
}
if (gameState.isGameOver || cnt < -INVINCIBLE_CNT)
stickInput.clear();
vx = stickInput.left.x;
vy = stickInput.left.y;
break;
case 1:
vx = stickInput.right.x;
vy = stickInput.right.y;
break;
default:
break;
}
if (vx != 0 || vy != 0) {
float ad = atan2(vx, vy);
assert(ad <>= 0);
Math.normalizeDeg(ad);
ad -= deg;
Math.normalizeDeg(ad);
deg += ad * turnRatio * turnSpeed;
Math.normalizeDeg(deg);
}
}
private void moveMouse() {
if (!_replayMode) {
MouseAndPadState mps = mouseAndPad.getState();
padInput = mps.padState;
mouseInput = mps.mouseState;
} else {
try {
MouseAndPadState mps = mouseAndPad.replay();
padInput = mps.padState;
mouseInput = mps.mouseState;
} catch (NoRecordDataException e) {
gameState.isGameOver = true;
padInput = pad.getNullState();
mouseInput = mouse.getNullState();
}
}
if (gameState.isGameOver || cnt < -INVINCIBLE_CNT) {
padInput.clear();
mouseInput.clear();
}
if (padInput.dir & PadState.Dir.UP)
vy = 1;
if (padInput.dir & PadState.Dir.DOWN)
vy = -1;
if (padInput.dir & PadState.Dir.RIGHT)
vx = 1;
if (padInput.dir & PadState.Dir.LEFT)
vx = -1;
if (vx != 0 && vy != 0) {
vx *= 0.7f;
vy *= 0.7f;
}
if (vx != 0 || vy != 0) {
float ad = atan2(vx, vy);
assert(ad <>= 0);
Math.normalizeDeg(ad);
ad -= deg;
Math.normalizeDeg(ad);
deg += ad * turnRatio * turnSpeed;
Math.normalizeDeg(deg);
}
}
private void fireNormal() {
if (padInput.button & PadState.Button.A) {
turnRatio += (SLOW_TURN_RATIO - turnRatio) * TURN_CHANGE_RATIO;
fireInterval = FIRE_INTERVAL;
if (!aPressed) {
fireCnt = 0;
aPressed = true;
}
} else {
turnRatio += (TURN_RATIO_BASE - turnRatio) * TURN_CHANGE_RATIO;
aPressed = false;
fireInterval *= 1.033f;
if (fireInterval > FIRE_INTERVAL_MAX)
fireInterval = 99999;
}
fireDeg = deg;
if (reverseFire)
fireDeg += PI;
if (fireCnt <= 0) {
SoundManager.playSe("shot.wav");
Shot s = shots.getInstance();
int foc = (fireSprCnt % 2) * 2 - 1;
const float fireDegSin = sin(fireDeg + cast(float)(PI));
const float fireDegCos = cos(fireDeg + cast(float)(PI));
firePos.x = _pos.x + fireDegCos * 0.2f * foc;
firePos.y = _pos.y - fireDegSin * 0.2f * foc;
if (s)
s.set(firePos, fireDeg);
fireCnt = cast(int) fireInterval;
float td;
switch (foc) {
case -1:
td = fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.2f;
break;
case 1:
td = -fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.2f;
break;
default:
break;
}
fireSprCnt++;
s = shots.getInstance();
if (s)
s.set(firePos, fireDeg + td);
Smoke sm = smokes.getInstanceForced();
float sd = fireDeg + td / 2;
const float sdSin = sin(sd);
const float sdCos = cos(sd);
sm.set(firePos, sdSin * Shot.SPEED * 0.33f, sdCos * Shot.SPEED * 0.33f, 0,
Smoke.SmokeType.SPARK, 10, 0.33f);
}
fireCnt--;
if (padInput.button & PadState.Button.B) {
if (!bPressed && fireLanceCnt <= 0 && !shots.existsLance()) {
SoundManager.playSe("lance.wav");
float fd = deg;
if (reverseFire)
fd += PI;
Shot s = shots.getInstance();
if (s)
s.set(pos, fd, true);
for (int i = 0; i < 4; i++) {
Smoke sm = smokes.getInstanceForced();
float sd = fd + rand.nextSignedFloat(1);
const float sdSin = sin(sd);
const float sdCos = cos(sd);
sm.set(pos,
sdSin * Shot.LANCE_SPEED * i * 0.2f,
sdCos * Shot.LANCE_SPEED * i * 0.2f,
0, Smoke.SmokeType.SPARK, 15, 0.5f);
}
fireLanceCnt = FIRE_LANCE_INTERVAL;
}
bPressed = true;
} else {
bPressed = false;
}
fireLanceCnt--;
}
private void fireTwinStick() {
if (fabs(stickInput.right.x) + fabs(stickInput.right.y) > 0.01f) {
fireDeg = atan2(stickInput.right.x, stickInput.right.y);
assert(fireDeg <>= 0);
if (fireCnt <= 0) {
SoundManager.playSe("shot.wav");
int foc = (fireSprCnt % 2) * 2 - 1;
float rsd = stickInput.right.vctSize;
if (rsd > 1)
rsd = 1;
fireSprDeg = 1 - rsd + 0.05f;
const float fireDegSin = sin(fireDeg + cast(float)(PI));
const float fireDegCos = cos(fireDeg + cast(float)(PI));
firePos.x = _pos.x + fireDegCos * 0.2f * foc;
firePos.y = _pos.y - fireDegSin * 0.2f * foc;
fireCnt = cast(int) fireInterval;
float td;
switch (foc) {
case -1:
td = fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.2f;
break;
case 1:
td = -fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.2f;
break;
default:
break;
}
fireSprCnt++;
Shot s = shots.getInstance();
if (s)
s.set(firePos, fireDeg + td / 2, false, 2);
s = shots.getInstance();
if (s)
s.set(firePos, fireDeg + td, false, 2);
Smoke sm = smokes.getInstanceForced();
float sd = fireDeg + td / 2;
const float sdSin = sin(sd);
const float sdCos = cos(sd);
sm.set(firePos, sdSin * Shot.SPEED * 0.33f, sdCos * Shot.SPEED * 0.33f, 0,
Smoke.SmokeType.SPARK, 10, 0.33f);
}
} else {
fireDeg = 99999;
}
fireCnt--;
}
private void fireDobulePlay() {
if (gameState.isGameOver || cnt < -INVINCIBLE_CNT)
return;
float dist = ship.distAmongBoats();
fireInterval = FIRE_INTERVAL + 10.0f / (dist + 0.005f);
if (dist < 2)
fireInterval = 99999;
else if (dist < 4)
fireInterval *= 3;
else if (dist < 6)
fireInterval *= 1.6f;
if (fireCnt > fireInterval)
fireCnt = cast(int) fireInterval;
if (fireCnt <= 0) {
SoundManager.playSe("shot.wav");
int foc = (fireSprCnt % 2) * 2 - 1;
fireDeg = 0;//ship.degAmongBoats() + PI / 2;
const float fireDegSin = sin(fireDeg + cast(float)(PI));
const float fireDegCos = cos(fireDeg + cast(float)(PI));
firePos.x = _pos.x + fireDegCos * 0.2f * foc;
firePos.y = _pos.y - fireDegSin * 0.2f * foc;
Shot s = shots.getInstance();
if (s)
s.set(firePos, fireDeg, false , 2);
fireCnt = cast(int) fireInterval;
Smoke sm = smokes.getInstanceForced();
float sd = fireDeg;
const float sdSin = sin(sd);
const float sdCos = cos(sd);
sm.set(firePos, sdSin * Shot.SPEED * 0.33f, sdCos * Shot.SPEED * 0.33f, 0,
Smoke.SmokeType.SPARK, 10, 0.33f);
if (idx == 0) {
float fd = ship.degAmongBoats() + PI / 2;
float td;
switch (foc) {
case -1:
td = fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.15f;
break;
case 1:
td = -fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.15f;
break;
default:
break;
}
const float fdSin1 = sin(fd + cast(float)(PI));
const float fdCos1 = cos(fd + cast(float)(PI));
firePos.x = ship.midstPos.x + fdCos1 * 0.2f * foc;
firePos.y = ship.midstPos.y - fdSin1 * 0.2f * foc;
s = shots.getInstance();
if (s)
s.set(firePos, fd, false, 2);
s = shots.getInstance();
if (s)
s.set(firePos, fd + td, false , 2);
sm = smokes.getInstanceForced();
const float fdSin2 = sin(fd + td / 2);
const float fdCos2 = cos(fd + td / 2);
sm.set(firePos, fdSin2 * Shot.SPEED * 0.33f, fdCos2 * Shot.SPEED * 0.33f, 0,
Smoke.SmokeType.SPARK, 10, 0.33f);
}
fireSprCnt++;
}
fireCnt--;
}
private void fireMouse() {
float fox = mouseInput.x - _pos.x;
float foy = mouseInput.y - _pos.y;
if (fabs(fox) < 0.01f)
fox = 0.01f;
if (fabs(foy) < 0.01f)
foy = 0.01f;
fireDeg = atan2(fox, foy);
assert(fireDeg <>= 0);
if (mouseInput.button & (MouseState.Button.LEFT | MouseState.Button.RIGHT)) {
if (fireCnt <= 0) {
SoundManager.playSe("shot.wav");
int foc = (fireSprCnt % 2) * 2 - 1;
float rsd = stickInput.right.vctSize;
float fstd = 0.05f;
if (mouseInput.button & MouseState.Button.RIGHT)
fstd += 0.5f;
fireSprDeg += (fstd - fireSprDeg) * 0.16f;
const float fireDegSin = sin(fireDeg + cast(float)(PI));
const float fireDegCos = cos(fireDeg + cast(float)(PI));
firePos.x = _pos.x + fireDegCos * 0.2f * foc;
firePos.y = _pos.y - fireDegSin * 0.2f * foc;
fireCnt = cast(int) fireInterval;
float td;
switch (foc) {
case -1:
td = fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.2f;
break;
case 1:
td = -fireSprDeg * (fireSprCnt / 2 % 4 + 1) * 0.2f;
break;
default:
break;
}
fireSprCnt++;
Shot s = shots.getInstance();
if (s)
s.set(firePos, fireDeg + td / 2, false, 2);
s = shots.getInstance();
if (s)
s.set(firePos, fireDeg + td, false, 2);
Smoke sm = smokes.getInstanceForced();
float sd = fireDeg + td / 2;
const float sdSin = sin(sd);
const float sdCos = cos(sd);
sm.set(firePos, sdSin * Shot.SPEED * 0.33f, sdCos * Shot.SPEED * 0.33f, 0,
Smoke.SmokeType.SPARK, 10, 0.33f);
}
}
fireCnt--;
}
public bool checkBulletHit(Vector p, Vector pp) {
if (cnt <= 0)
return false;
float bmvx, bmvy, inaa;
bmvx = pp.x;
bmvy = pp.y;
bmvx -= p.x;
bmvy -= p.y;
inaa = bmvx * bmvx + bmvy * bmvy;
if (inaa > 0.00001) {
float sofsx, sofsy, inab, hd;
sofsx = _pos.x;
sofsy = _pos.y;
sofsx -= p.x;
sofsy -= p.y;
inab = bmvx * sofsx + bmvy * sofsy;
if (inab >= 0 && inab <= inaa) {
hd = sofsx * sofsx + sofsy * sofsy - inab * inab / inaa;
if (hd >= 0 && hd <= HIT_WIDTH) {
destroyed();
return true;
}
}
}
return false;
}
private void destroyed() {
if (cnt <= 0)
return;
if (shieldCnt > 0) {
destroyedBoatShield();
return;
}
ship.destroyed();
gameState.shipDestroyed();
}
private void destroyedBoatShield() {
for (int i = 0; i < 100; i++) {
Spark sp = sparks.getInstanceForced();
sp.set(pos, rand.nextSignedFloat(1), rand.nextSignedFloat(1),
0.5f + rand.nextFloat(0.5f), 0.5f + rand.nextFloat(0.5f), 0,
40 + rand.nextInt(40));
}
SoundManager.playSe("ship_shield_lost.wav");
screen.setScreenShake(30, 0.02f);
shieldCnt = 0;
cnt = -INVINCIBLE_CNT / 2;
}
public void destroyedBoat() {
for (int i = 0; i < 128; i++) {
Spark sp = sparks.getInstanceForced();
sp.set(pos, rand.nextSignedFloat(1), rand.nextSignedFloat(1),
0.5f + rand.nextFloat(0.5f), 0.5f + rand.nextFloat(0.5f), 0,
40 + rand.nextInt(40));
}
SoundManager.playSe("ship_destroyed.wav");
for (int i = 0; i < 64; i++) {
Smoke s = smokes.getInstanceForced();
s.set(pos, rand.nextSignedFloat(0.2f), rand.nextSignedFloat(0.2f),
rand.nextFloat(0.1f),
Smoke.SmokeType.EXPLOSION, 50 + rand.nextInt(30), 1);
}
screen.setScreenShake(60, 0.05f);
restart();
cnt = -RESTART_CNT;
}
public bool hasCollision() {
if (cnt < -INVINCIBLE_CNT)
return false;
else
return true;
}
public void draw() {
if (cnt < -INVINCIBLE_CNT)
return;
if (fireDeg < 99999) {
Screen.setColor(0.5f, 0.9f, 0.7f, 0.4f);
glBegin(GL_LINE_STRIP);
glVertex2f(_pos.x, _pos.y);
Screen.setColor(0.5f, 0.9f, 0.7f, 0.8f);
const float fireDegSin = sin(fireDeg);
const float fireDegCos = cos(fireDeg);
glVertex2f(_pos.x + fireDegSin * 20, _pos.y + fireDegCos * 20);
glEnd();
}
if (cnt < 0 && (-cnt % 32) < 16)
return;
glPushMatrix();
Screen.glTranslate(pos);
glRotatef(-deg * 180 / PI, 0, 0, 1);
_shape.draw();
bridgeShape.draw();
if (shieldCnt > 0) {
float ss = 0.66f;
if (shieldCnt < 120)
ss *= cast(float) shieldCnt / 120;
glScalef(ss, ss, ss);
glRotatef(shieldCnt * 5, 0, 0, 1);
shieldShape.draw();
}
glPopMatrix();
}
public void drawFront() {
if (cnt < -INVINCIBLE_CNT)
return;
if (gameMode == InGameState.GameMode.MOUSE) {
Screen.setColor(0.7f, 0.9f, 0.8f, 1.0f);
Screen.lineWidth(2);
drawSight(mouseInput.x, mouseInput.y, 0.3f);
float ss = 0.9f - 0.8f * ((cnt + 1024) % 32) / 32;
Screen.setColor(0.5f, 0.9f, 0.7f, 0.8f);
drawSight(mouseInput.x, mouseInput.y, ss);
Screen.lineWidth(1);
}
}
private void drawSight(float x, float y, float size) {
glBegin(GL_LINE_STRIP);
glVertex2f(x - size, y - size * 0.5f);
glVertex2f(x - size, y - size);
glVertex2f(x - size * 0.5f, y - size);
glEnd();
glBegin(GL_LINE_STRIP);
glVertex2f(x + size, y - size * 0.5f);
glVertex2f(x + size, y - size);
glVertex2f(x + size * 0.5f, y - size);
glEnd();
glBegin(GL_LINE_STRIP);
glVertex2f(x + size, y + size * 0.5f);
glVertex2f(x + size, y + size);
glVertex2f(x + size * 0.5f, y + size);
glEnd();
glBegin(GL_LINE_STRIP);
glVertex2f(x - size, y + size * 0.5f);
glVertex2f(x - size, y + size);
glVertex2f(x - size * 0.5f, y + size);
glEnd();
}
public void drawShape() {
_shape.draw();
bridgeShape.draw();
}
public void clearBullets() {
gameState.clearBullets();
}
public Vector pos() {
return _pos;
}
public Vector vel() {
return _vel;
}
public void setReplayMode(float turnSpeed, bool reverseFire) {
_replayMode = true;
this.turnSpeed = turnSpeed;
this.reverseFire = reverseFire;
}
public void unsetReplayMode() {
_replayMode = false;
turnSpeed = GameManager.shipTurnSpeed;
reverseFire = GameManager.shipReverseFire;
}
public bool replayMode() {
return _replayMode;
}
}
|
D
|
module std.extra.http;
import std.extra.zlib;
public import std.net.curl;
public import std.outbuffer;
@property public void postMessage(HTTP http, string message){
http.contentLength = message.length;
http.onSend = (void[] data) {
auto msg = cast(void[])message;
size_t len = msg.length > data.length ? data.length : msg.length;
if (len == 0) return len;
data[0..len] = msg[0..len];
message = message[len..$];
return len;
};
}
public void onReceiveWriteOnlyTo(HTTP http, OutBuffer buffer){
http.onReceive = (ubyte[] data) {
buffer.write(data);
return data.length;
};
}
/**
* Sets onReceive of http to its own method.
* Calls perform on http.
* Decrypts the received data.
* Sets onReceive of http to a do nothing method.
*/
public string performAndDecryptGzip(HTTP http){
OutBuffer buffer = new OutBuffer();
http.onReceiveWriteOnlyTo(buffer);
http.perform();
http.onReceive = (ubyte[] data){
return data.length;
};
return fromGzip(buffer);
}
|
D
|
/*
Copyright (c) 2011-2017 Timur Gafarov
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
*/
module dlib.image.arithmetics;
private
{
import dlib.image.image;
import dlib.image.color;
}
SuperImage add(SuperImage a, SuperImage b, float t = 1.0f)
{
return add(a, b, null, 1.0f);
}
SuperImage add(SuperImage a, SuperImage b, SuperImage outp, float t = 1.0f)
in
{
assert(a.width == b.width);
assert(a.height == b.height);
}
body
{
SuperImage img;
if (outp)
img = outp;
else
img = a.dup;
foreach(y; 0..img.height)
foreach(x; 0..img.width)
{
Color4f acol = Color4f(a[x, y]);
Color4f bcol = Color4f(b[x, y]);
Color4f col = acol + (bcol * t);
img[x, y] = col;
//a.updateProgress();
//b.updateProgress();
}
//a.resetProgress();
//b.resetProgress();
return img;
}
SuperImage subtract(SuperImage a, SuperImage b, float t = 1.0f)
{
return subtract(a, b, null, 1.0f);
}
SuperImage subtract(SuperImage a, SuperImage b, SuperImage outp, float t = 1.0f)
in
{
assert(a.width == b.width);
assert(a.height == b.height);
}
body
{
SuperImage img;
if (outp)
img = outp;
else
img = a.dup;
foreach(y; 0..img.height)
foreach(x; 0..img.width)
{
Color4f acol = Color4f(a[x, y]);
Color4f bcol = Color4f(b[x, y]);
Color4f col = acol - (bcol * t);
img[x, y] = col;
//a.updateProgress();
//b.updateProgress();
}
//a.resetProgress();
//b.resetProgress();
return img;
}
SuperImage multiply(SuperImage a, SuperImage b, float t = 1.0f)
{
return multiply(a, b, null, 1.0f);
}
SuperImage multiply(SuperImage a, SuperImage b, SuperImage outp, float t = 1.0f)
in
{
assert(a.width == b.width);
assert(a.height == b.height);
}
body
{
SuperImage img;
if (outp)
img = outp;
else
img = a.dup;
foreach(y; 0..img.height)
foreach(x; 0..img.width)
{
Color4f acol = Color4f(a[x, y]);
Color4f bcol = Color4f(b[x, y]);
Color4f col = acol * (bcol * t);
img[x, y] = col;
//a.updateProgress();
//b.updateProgress();
}
//a.resetProgress();
//b.resetProgress();
return img;
}
SuperImage divide(SuperImage a, SuperImage b, float t = 1.0f)
{
return divide(a, b, null, 1.0f);
}
SuperImage divide(SuperImage a, SuperImage b, SuperImage outp, float t = 1.0f)
in
{
assert(a.width == b.width);
assert(a.height == b.height);
}
body
{
SuperImage img;
if (outp)
img = outp;
else
img = a.dup;
foreach(y; 0..img.height)
foreach(x; 0..img.width)
{
Color4f acol = Color4f(a[x, y]);
Color4f bcol = Color4f(b[x, y]);
Color4f col = acol / (bcol * t);
img[x, y] = col;
//a.updateProgress();
//b.updateProgress();
}
//a.resetProgress();
//b.resetProgress();
return img;
}
SuperImage invert(SuperImage a)
{
return invert(a, null);
}
SuperImage invert(SuperImage a, SuperImage outp)
{
SuperImage img;
if (outp)
img = outp;
else
img = a.dup;
foreach(y; 0..img.height)
foreach(x; 0..img.width)
{
img[x, y] = a[x, y].inverse;
//a.updateProgress();
}
//a.resetProgress();
return img;
}
|
D
|
module tests.server_match;
import cucumber;
import cucumber.reflection;
import unit_threaded;
void testNoMatches() {
checkEqual(findMatch!__MODULE__("foobarbaz"), MatchResult.init);
}
@Match(`^we are wired$`)
void wereWired() {
}
private void checkNumCaptures(in string[] captures, int num) {
checkEqual(captures.length, num + 1); //+1 because idx 0 is the whole thing
}
void testOneMatch() {
auto match = findMatch!__MODULE__("we are wired");
checkTrue(match);
checkNumCaptures(match.captures, 0);
checkEqual(match.id, 1); //1st one in the file
}
private int result;
@Match(`I add (\d+) and (\d+)`)
void addTwo(int a, int b) {
result = a + b;
}
void testAddTwo() {
const step_str = "I add 3 and 5";
const func = findMatch!__MODULE__(step_str);
result = 0;
func();
checkEqual(result, 8);
checkEqual(func.captures, [step_str, "3", "5"]);
checkEqual(func.id, 2);
checkEqual(func.regex, `I add (\d+) and (\d+)`);
}
|
D
|
module hunt.wechat.bean.paymch.PayProfitsharingOperation;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
class PayProfitsharingOperation : MchBase {
//@XmlJavaTypeAdapter(value = ReceiverOperation.typeid(JsonXmlAdapter))
private ReceiverOperation receiver;
public ReceiverOperation getReceiver() {
return receiver;
}
public void setReceiver(ReceiverOperation receiver) {
this.receiver = receiver;
}
}
|
D
|
E: c372, c166, c390, c507, c415, c500, c355, c455, c23, c463, c171, c349, c448, c190, c176, c161, c287, c249, c12, c397, c401, c423, c467, c50, c477, c272, c354, c175, c425, c63, c183, c131, c142, c319, c188, c499, c379, c28, c483, c413, c133, c282, c136, c505, c268, c492, c459, c25, c321, c39, c75, c462, c495, c465, c261, c320, c311, c488, c264, c82, c493, c490, c417, c207, c44, c329, c36, c148, c309, c92, c225, c426, c18, c250, c435, c78, c112, c270, c274, c83, c137, c360, c400, c498, c10, c318, c373, c411, c301, c323, c233, c7, c220, c284, c162, c271, c333, c437, c281, c24, c299, c158, c368, c392, c296, c334, c405, c339, c427, c32, c168, c306, c102, c480, c387, c380, c344, c291, c17, c138, c454, c391, c67, c219, c361, c169, c180, c119, c76, c147, c111, c273, c6, c381, c234, c280, c77, c85, c408, c285, c341, c217, c389, c278, c91, c89, c237, c374, c164, c154, c504, c60, c114, c365, c94, c35, c81, c30, c221, c444, c129, c513, c452, c478, c196, c88, c456, c402, c302, c222, c235, c517, c265, c489, c258, c254, c377, c107, c371, c80, c246, c434, c42, c152, c69, c0, c378, c101, c276, c95, c295, c307, c450, c267, c56, c209, c283, c223, c346, c420, c312, c170, c187, c305, c486, c99, c511, c13, c125, c104, c14, c328, c407, c68, c386, c443, c485, c105, c41, c236, c96, c205, c277, c11, c51, c103, c297, c376, c298, c145, c510, c73, c353, c422, c38, c193, c198, c410, c441, c369, c375, c211, c364, c494, c497, c347, c351, c469, c330, c65, c29, c242, c160, c84, c229, c370, c240, c458, c293, c106, c471, c245, c476, c115, c201, c403, c248, c118, c366, c59, c256, c109, c149, c327, c252, c208, c213, c363.
p4(E,E)
c372,c166
c477,c272
c131,c142
c188,c499
c379,c28
c483,c413
c136,c505
c415,c390
c354,c507
c488,c264
c225,c23
c78,c112
c274,c83
c318,c373
c18,c18
c373,c271
c299,c493
c413,c23
c32,c168
c306,c102
c507,c480
c390,c291
c138,c318
c147,c111
c25,c381
c164,c154
c427,c401
c35,c81
c408,c25
c133,c498
c268,c500
c77,c114
c158,c235
c454,c389
c168,c401
c463,c107
c434,c42
c152,c107
c0,c368
c452,c361
c209,c283
c187,c305
c407,c68
c486,c99
c105,c41
c271,c452
c500,c355
c297,c339
c166,c311
c513,c369
c125,c274
c377,c452
c465,c517
c205,c276
c301,c273
c82,c448
c196,c411
c375,c273
c136,c38
c249,c12
c11,c136
c391,c67
c490,c417
c166,c480
c222,c411
c354,c107
c18,c489
c78,c278
c180,c490
c14,c245
c341,c365
c281,c267
c422,c248
c95,c366
c376,c455
c301,c323
c423,c319
c137,c149
c467,c28
c149,c327
c252,c208
c205,c489
c498,c422
c88,c213
.
p2(E,E)
c390,c507
c463,c171
c50,c190
c133,c282
c268,c492
c462,c495
c465,c261
c207,c44
c372,c426
c78,c10
c373,c233
c413,c284
c368,c392
c296,c334
c427,c397
c306,c387
c380,c344
c408,c459
c166,c320
c196,c88
c222,c425
c258,c161
c168,c254
c299,c349
c17,c371
c75,c437
c415,c80
c17,c246
c32,c307
c312,c170
c488,c511
c13,c234
c158,c125
c14,c328
c188,c443
c205,c101
c301,c103
c498,c278
c249,c63
c297,c405
c376,c298
c164,c490
c187,c75
c69,c107
c278,c198
c437,c410
c205,c265
c507,c320
c377,c81
c467,c391
c271,c497
c18,c225
c63,c351
c354,c417
c493,c330
c274,c333
c82,c349
c35,c242
c225,c455
c490,c465
c441,c401
c301,c277
c51,c365
c486,c389
c407,c513
c0,c458
c250,c339
c77,c365
c77,c60
c105,c476
c136,c437
c175,c106
c270,c329
c391,c498
c423,c240
c403,c237
c411,c118
c18,c94
c152,c369
c129,c360
c423,c346
c162,c321
c423,c148
.
p0(E,E)
c415,c415
c423,c423
c467,c467
c354,c354
c175,c175
c379,c379
c50,c50
c18,c18
c270,c270
c137,c137
c498,c498
c7,c220
c162,c162
c281,c281
c24,c24
c158,c158
c454,c454
c250,c250
c76,c76
c136,c136
c413,c413
c133,c133
c507,c507
c513,c513
c77,c77
c271,c271
c377,c377
c69,c69
c299,c299
c378,c378
c95,c95
c488,c488
c138,c138
c477,c477
c14,c14
c17,c17
c105,c105
c131,c131
c188,c188
c32,c32
c486,c486
c225,c225
c82,c82
c11,c11
c35,c35
c147,c147
c434,c434
c427,c427
c375,c375
c274,c274
c368,c368
c500,c500
c380,c380
c341,c341
c166,c166
c96,c96
c205,c205
c408,c408
c452,c452
c312,c312
c164,c164
c297,c297
c180,c180
c408,c115
c249,c249
c125,c125
c187,c187
c222,c222
c152,c152
c411,c411
c483,c483
c278,c278
c306,c306
c463,c463
.
p9(E,E)
c500,c355
c249,c12
c175,c425
c63,c183
c423,c319
c75,c505
c82,c493
c490,c417
c493,c92
c250,c435
c413,c23
c301,c323
c488,c264
c274,c83
c166,c311
c17,c168
c391,c67
c462,c169
c225,c23
c77,c85
c78,c278
c341,c365
c444,c168
c129,c400
c271,c452
c463,c107
c411,c80
c270,c36
c368,c246
c152,c107
c187,c305
c486,c99
c281,c267
c437,c274
c164,c154
c168,c517
c465,c517
c166,c480
c306,c102
c76,c236
c296,c96
c162,c39
c11,c136
c82,c448
c51,c302
c297,c339
c434,c42
c73,c353
c18,c489
c136,c38
c136,c505
c441,c125
c205,c276
c196,c411
c125,c274
c24,c341
c35,c81
c222,c411
c75,c217
c77,c302
c407,c68
c268,c500
c160,c94
c138,c318
c390,c291
c42,c119
c454,c389
c6,c467
c133,c498
c477,c272
c373,c271
c441,c42
c372,c166
c77,c114
c377,c452
c299,c493
c18,c18
c50,c73
c408,c25
c380,c56
c403,c374
c13,c250
c51,c85
c434,c125
c170,c363
c136,c490
.
p1(E,E)
c455,c23
c349,c448
c190,c176
c397,c401
c459,c25
c321,c39
c320,c311
c349,c493
c329,c36
c148,c309
c360,c400
c425,c411
c333,c83
c437,c505
c465,c417
c405,c339
c387,c102
c219,c361
c180,c119
c495,c169
c381,c249
c234,c280
c285,c341
c217,c389
c237,c374
c60,c114
c94,c18
c30,c221
c365,c302
c261,c517
c265,c489
c246,c168
c101,c276
c450,c267
c344,c56
c477,c490
c125,c235
c389,c99
c277,c273
c511,c264
c278,c422
c193,c355
c171,c107
c44,c223
c490,c154
c63,c12
c410,c274
c498,c67
c80,c390
c284,c23
c364,c413
c371,c494
c346,c347
c469,c318
c298,c455
c65,c369
c320,c480
c443,c499
c391,c28
c401,c125
c198,c370
c240,c319
c458,c368
c161,c469
c106,c425
c339,c435
c328,c245
c107,c462
c351,c183
c401,c42
c513,c68
c221,c136
c437,c217
c254,c517
c88,c411
c81,c452
c170,c59
c494,c28
c426,c166
c476,c41
c492,c500
c369,c107
c417,c507
c225,c489
c233,c271
.
p5(E,E)
c161,c287
c504,c380
c293,c10
c264,c341
c273,c494
.
p10(E,E)
c273,c6
c386,c270
c211,c219
c76,c351
.
p3(E,E)
c91,c89
c295,c455
c81,c420
c485,c489
.
p7(E,E)
c478,c311
c84,c229
c201,c89
.
p8(E,E)
c456,c249
c223,c346
c145,c510
c256,c109
.
p6(E,E)
c285,c402
c104,c219
c29,c36
c351,c471
.
|
D
|
/Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxDataSources.build/Objects-normal/x86_64/Array+Extensions.o : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/Deprecated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxTableViewSectionedReloadDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxCollectionViewSectionedReloadDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/TableViewSectionedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/CollectionViewSectionedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxTableViewSectionedAnimatedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxCollectionViewSectionedAnimatedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/IntegerType+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/FloatingPointType+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/String+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/UI+SectionedViewType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/AnimationConfiguration.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/ViewTransition.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxPickerViewAdapter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/DataSources.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/Array+Extensions.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/Differentiator/Differentiator.framework/Modules/Differentiator.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/RxRelay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RX.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxCocoa/RxCocoa-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/Differentiator/Differentiator-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxDataSources/RxDataSources-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxRelay/RxRelay-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/RxCocoa.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXObjCRuntime.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/RxCocoaRuntime.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXKVOObserver.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/Differentiator/Differentiator.framework/Headers/Differentiator-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXDelegateProxy.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxDataSources.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxCocoa.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/Differentiator.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxRelay.build/module.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit.modulemap /Users/MohamedNawar/Desktop/sharzein/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxDataSources.build/Objects-normal/x86_64/Array+Extensions~partial.swiftmodule : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/Deprecated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxTableViewSectionedReloadDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxCollectionViewSectionedReloadDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/TableViewSectionedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/CollectionViewSectionedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxTableViewSectionedAnimatedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxCollectionViewSectionedAnimatedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/IntegerType+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/FloatingPointType+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/String+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/UI+SectionedViewType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/AnimationConfiguration.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/ViewTransition.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxPickerViewAdapter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/DataSources.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/Array+Extensions.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/Differentiator/Differentiator.framework/Modules/Differentiator.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/RxRelay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RX.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxCocoa/RxCocoa-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/Differentiator/Differentiator-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxDataSources/RxDataSources-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxRelay/RxRelay-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/RxCocoa.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXObjCRuntime.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/RxCocoaRuntime.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXKVOObserver.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/Differentiator/Differentiator.framework/Headers/Differentiator-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXDelegateProxy.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxDataSources.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxCocoa.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/Differentiator.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxRelay.build/module.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit.modulemap /Users/MohamedNawar/Desktop/sharzein/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxDataSources.build/Objects-normal/x86_64/Array+Extensions~partial.swiftdoc : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/Deprecated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxTableViewSectionedReloadDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxCollectionViewSectionedReloadDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/TableViewSectionedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/CollectionViewSectionedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxTableViewSectionedAnimatedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxCollectionViewSectionedAnimatedDataSource.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/IntegerType+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/FloatingPointType+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/String+IdentifiableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/UI+SectionedViewType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/AnimationConfiguration.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/ViewTransition.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/RxPickerViewAdapter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/DataSources.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxDataSources/Sources/RxDataSources/Array+Extensions.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/Differentiator/Differentiator.framework/Modules/Differentiator.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/RxRelay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RX.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxCocoa/RxCocoa-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/Differentiator/Differentiator-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxDataSources/RxDataSources-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxRelay/RxRelay-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/RxCocoa.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXObjCRuntime.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/RxCocoaRuntime.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXKVOObserver.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/Differentiator/Differentiator.framework/Headers/Differentiator-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-Swift.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxCocoa/RxCocoa/Runtime/include/_RXDelegateProxy.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxDataSources.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxCocoa.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/Differentiator.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/module.modulemap /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxRelay.build/module.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit.modulemap /Users/MohamedNawar/Desktop/sharzein/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
import std.string, std.array, std.conv, std.algorithm, std.math, std.stdio;
alias lg = log2;
auto manipulateInformation(in char[] line)
{
auto buf = line.split(',');
immutable size_t m = buf[0].split()[1].to!size_t();
real[] lgerr;
foreach (f; buf[1..$])
lgerr ~= f.to!real();
struct Ret
{
immutable size_t m;
immutable real rms, sup;
string toString()
{
return "%d,%.15f,%.15f".format(m, rms, sup);
}
}
immutable sup = lgerr.reduce!max();
real ss = 0;
foreach (e; lgerr)
ss += e.exp2().pow(2);
immutable rms = (ss / lgerr.length).lg() / 2;
return Ret(m, rms, sup);
}
void main()
{
foreach (line; stdin.byLine())
line.strip().manipulateInformation().writeln();
}
|
D
|
/**
* POSIX signal handlers.
*
* License:
* This Source Code Form is subject to the terms of
* the Mozilla Public License, v. 2.0. If a copy of
* the MPL was not distributed with this file, You
* can obtain one at http://mozilla.org/MPL/2.0/.
*
* Authors:
* Vladimir Panteleev <vladimir@thecybershadow.net>
*/
module ae.sys.signals;
public import core.sys.posix.signal;
void addSignalHandler(int signum, void delegate() fn)
{
if (handlers[signum].length == 0)
{
auto old = signal(signum, &sighandle);
assert(old == SIG_DFL, "A signal handler was already set");
}
handlers[signum] ~= fn;
}
void removeSignalHandler(int signum, void delegate() fn)
{
foreach (i, lfn; handlers[signum])
if (lfn is fn)
{
handlers[signum] = handlers[signum][0..i] ~ handlers[signum][i+1..$];
if (handlers[signum].length == 0)
signal(signum, SIG_DFL);
return;
}
assert(0);
}
private:
enum SIGMAX = 100;
shared void delegate()[][SIGMAX] handlers;
extern(C) void sighandle(int signum)
{
if (signum >= 0 && signum < handlers.length)
foreach (fn; handlers[signum])
fn();
}
|
D
|
a central point or locus of an infection in an organism
a nest in which spiders or insects deposit their eggs
|
D
|
/**
* Written in the D programming language.
* This module provides Solaris-specific support for sections.
*
* Copyright: Copyright Martin Nowak 2012-2013.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Martin Nowak
* Source: $(DRUNTIMESRC rt/_sections_solaris.d)
*/
module rt.sections_solaris;
version (LDC) { /* implemented in rt.sections_ldc */ } else:
version (Solaris):
// debug = PRINTF;
debug(PRINTF) import core.stdc.stdio;
import core.stdc.stdlib : malloc, free;
import rt.deh, rt.minfo;
struct SectionGroup
{
static int opApply(scope int delegate(ref SectionGroup) dg)
{
return dg(_sections);
}
static int opApplyReverse(scope int delegate(ref SectionGroup) dg)
{
return dg(_sections);
}
@property immutable(ModuleInfo*)[] modules() const nothrow @nogc
{
return _moduleGroup.modules;
}
@property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc
{
return _moduleGroup;
}
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
{
auto pbeg = cast(immutable(FuncTable)*)&__start_deh;
auto pend = cast(immutable(FuncTable)*)&__stop_deh;
return pbeg[0 .. pend - pbeg];
}
@property inout(void[])[] gcRanges() inout nothrow @nogc
{
return _gcRanges[];
}
private:
ModuleGroup _moduleGroup;
void[][1] _gcRanges;
}
void initSections() nothrow @nogc
{
auto mbeg = cast(immutable ModuleInfo**)&__start_minfo;
auto mend = cast(immutable ModuleInfo**)&__stop_minfo;
_sections.moduleGroup = ModuleGroup(mbeg[0 .. mend - mbeg]);
auto pbeg = cast(void*)&__dso_handle;
auto pend = cast(void*)&_end;
_sections._gcRanges[0] = pbeg[0 .. pend - pbeg];
}
void finiSections() nothrow @nogc
{
}
void[] initTLSRanges() nothrow @nogc
{
auto pbeg = cast(void*)&_tlsstart;
auto pend = cast(void*)&_tlsend;
return pbeg[0 .. pend - pbeg];
}
void finiTLSRanges(void[] rng) nothrow @nogc
{
}
void scanTLSRanges(void[] rng, scope void delegate(void* pbeg, void* pend) nothrow dg) nothrow
{
dg(rng.ptr, rng.ptr + rng.length);
}
private:
__gshared SectionGroup _sections;
extern(C)
{
/* Symbols created by the compiler/linker and inserted into the
* object file that 'bracket' sections.
*/
extern __gshared
{
void* __start_deh;
void* __stop_deh;
void* __start_minfo;
void* __stop_minfo;
int __dso_handle;
int _end;
}
extern
{
void* _tlsstart;
void* _tlsend;
}
}
|
D
|
instance DIA_Larius_EXIT(C_Info)
{
npc = VLK_400_Larius;
nr = 999;
condition = DIA_Larius_EXIT_Condition;
information = DIA_Larius_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Larius_EXIT_Condition()
{
return TRUE;
};
func void DIA_Larius_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Larius_Hello(C_Info)
{
npc = VLK_400_Larius;
nr = 1;
condition = DIA_Larius_Hello_Condition;
information = DIA_Larius_Hello_Info;
permanent = FALSE;
important = TRUE;
};
func int DIA_Larius_Hello_Condition()
{
if(Npc_IsInState(self,ZS_Talk))
{
return TRUE;
};
};
func void DIA_Larius_Hello_Info()
{
AI_Output(self,other,"DIA_Larius_Hello_01_00"); //Что ты делаешь здесь? Если тебе что-то нужно, запишись на прием.
if(hero.guild == GIL_PAL)
{
AI_Output(self,other,"DIA_Larius_Richterueberfall_01_02"); //Даже если ты воин Инноса...
};
if(hero.guild == GIL_KDF)
{
AI_Output(self,other,"DIA_Larius_Richterueberfall_01_03"); //Даже если ты посвященный маг...
};
};
instance DIA_Larius_WhoAreYou(C_Info)
{
npc = VLK_400_Larius;
nr = 1;
condition = DIA_Larius_WhoAreYou_Condition;
information = DIA_Larius_WhoAreYou_Info;
permanent = FALSE;
description = "Кто ты?";
};
func int DIA_Larius_WhoAreYou_Condition()
{
return TRUE;
};
func void DIA_Larius_WhoAreYou_Info()
{
AI_Output(other,self,"DIA_Larius_WhoAreYou_15_00"); //Кто ты?
AI_Output(self,other,"DIA_Larius_WhoAreYou_01_01"); //Я Лариус, губернатор.
AI_Output(self,other,"DIA_Larius_WhoAreYou_01_02"); //Даже если я не кажусь тебе таковым в данный момент, я самый влиятельный человек в этом городе.
AI_Output(other,self,"DIA_Larius_WhoAreYou_15_03"); //То есть ты всем здесь заправляешь?
AI_Output(self,other,"DIA_Larius_WhoAreYou_01_04"); //Я... ну... в настоящий момент мои руки связаны.
AI_Output(self,other,"DIA_Larius_WhoAreYou_01_05"); //Здесь командует этот лорд Хаген, по крайней мере, пока он в городе.
};
instance DIA_Larius_Disturb(C_Info)
{
npc = VLK_400_Larius;
nr = 2;
condition = DIA_Larius_Disturb_Condition;
information = DIA_Larius_Disturb_Info;
permanent = TRUE;
description = "Я не хотел помешать.";
};
func int DIA_Larius_Disturb_Condition()
{
return TRUE;
};
func void DIA_Larius_Disturb_Info()
{
AI_Output(other,self,"DIA_Larius_Disturb_15_00"); //Я не хотел помешать.
if(!Npc_KnowsInfo(other,DIA_Larius_Dragons_Proof))
{
AI_Output(self,other,"DIA_Larius_Disturb_01_01"); //Но, тем не менее, помешал! Убирайся!
}
else
{
B_Say(self,other,"$ABS_GOOD");
};
};
instance DIA_Larius_DieLage(C_Info)
{
npc = VLK_400_Larius;
nr = 3;
condition = DIA_Larius_DieLage_Condition;
information = DIA_Larius_DieLage_Info;
permanent = TRUE;
description = "Как дела?";
};
func int DIA_Larius_DieLage_Condition()
{
return TRUE;
};
func void DIA_Larius_DieLage_Info()
{
AI_Output(other,self,"DIA_Larius_DieLage_15_00"); //Как дела?
if(!Npc_KnowsInfo(other,DIA_Larius_Dragons_Proof))
{
AI_Output(self,other,"DIA_Larius_DieLage_01_01"); //Тебе до этого какое дело? Пока паладины здесь, лорд Хаген занимается всеми делами, касающимися жизни города.
}
else
{
AI_Output(self,other,"DIA_Lothar_Add_01_47"); //Опять ты.
};
};
instance DIA_Larius_Richterueberfall(C_Info)
{
npc = VLK_400_Larius;
nr = 4;
condition = DIA_Larius_Richterueberfall_Condition;
information = DIA_Larius_Richterueberfall_Info;
description = "Судья нанял бандитов, чтобы они убили тебя.";
};
func int DIA_Larius_Richterueberfall_Condition()
{
if(SCKnowsRichterKomproBrief == TRUE)
{
return TRUE;
};
};
func void DIA_Larius_Richterueberfall_Info()
{
AI_Output(other,self,"DIA_Larius_Richterueberfall_15_00"); //Судья нанял бандитов, чтобы они убили тебя. Я могу доказать это.
AI_Output(self,other,"DIA_Larius_Richterueberfall_01_01"); //Не пори чепухи, или ты хочешь, чтобы я заковал тебя в кандалы?
AI_Output(self,other,"DIA_Larius_Richterueberfall_01_04"); //Мое слово все еще имеет вес в этом городе. Не смей даже пытаться запятнать светлое имя нашего судьи!
if(Npc_KnowsInfo(other,DIA_Larius_Dragons_Proof))
{
AI_Output(other,self,"DIA_Sekob_Heilung_15_02"); //(себе под нос) Тяжелый случай.
};
B_GivePlayerXP(XP_Ambient);
AI_StopProcessInfos(self);
};
instance DIA_Larius_Dragons(C_Info)
{
npc = VLK_400_Larius;
nr = 1;
condition = DIA_Larius_Dragons_Condition;
information = DIA_Larius_Dragons_Info;
description = "Послушай - этому городу угрожают драконы!";
};
func int DIA_Larius_Dragons_Condition()
{
if((Npc_KnowsInfo(other,DIA_Larius_WhoAreYou) || Npc_KnowsInfo(other,DIA_Gaertner_Job)) && (Kapitel < 5))
{
return TRUE;
};
};
func void DIA_Larius_Dragons_Info()
{
AI_Output(other,self,"DIA_Lothar_Dragons_15_00"); //Послушай - этому городу угрожают драконы!
AI_Output(self,other,"DIA_Larius_Richterueberfall_01_01"); //Не пори чепухи, или ты хочешь, чтобы я заковал тебя в кандалы?
B_Say(self,other,"$GETUPANDBEGONE");
Player_TalkedAboutDragonsToSomeone = TRUE;
AI_StopProcessInfos(self);
};
instance DIA_Larius_Dragons_Proof(C_Info)
{
npc = VLK_400_Larius;
nr = 1;
condition = DIA_Larius_Dragons_Proof_Condition;
information = DIA_Larius_Dragons_Proof_Info;
description = "У меня есть доказательство! Вот письмо от командующего Гаронда!";
};
func int DIA_Larius_Dragons_Proof_Condition()
{
if(Npc_KnowsInfo(other,DIA_Larius_Dragons) && Npc_HasItems(other,ItWr_PaladinLetter_MIS))
{
return TRUE;
};
};
func void DIA_Larius_Dragons_Proof_Info()
{
DIA_Lothar_OWRunningBrief_Info();
B_GivePlayerXP(100);
};
instance DIA_Larius_PICKPOCKET(C_Info)
{
npc = VLK_400_Larius;
nr = 900;
condition = DIA_Larius_PICKPOCKET_Condition;
information = DIA_Larius_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_40;
};
func int DIA_Larius_PICKPOCKET_Condition()
{
return C_Beklauen(35,120);
};
func void DIA_Larius_PICKPOCKET_Info()
{
Info_ClearChoices(DIA_Larius_PICKPOCKET);
Info_AddChoice(DIA_Larius_PICKPOCKET,Dialog_Back,DIA_Larius_PICKPOCKET_BACK);
Info_AddChoice(DIA_Larius_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Larius_PICKPOCKET_DoIt);
};
func void DIA_Larius_PICKPOCKET_DoIt()
{
B_Beklauen();
Info_ClearChoices(DIA_Larius_PICKPOCKET);
};
func void DIA_Larius_PICKPOCKET_BACK()
{
Info_ClearChoices(DIA_Larius_PICKPOCKET);
};
|
D
|
an inhabitant of Scandinavia
a native or inhabitant of Norway
the northern family of Germanic languages that are spoken in Scandinavia and Iceland
of or relating to Scandinavia or its peoples or cultures
of or relating to Norway or its people or culture or language
|
D
|
module org.serviio.library.local.metadata.extractor.video.OnlineVideoSourcesMetadataExtractor;
import java.lang;
import java.io.File;
import java.io.IOException;
import java.util.Date;
import org.serviio.library.entities.MediaItem;
import org.serviio.library.entities.MetadataDescriptor;
import org.serviio.library.entities.Repository;
import org.serviio.library.local.ContentType;
import org.serviio.library.local.metadata.LocalItemMetadata;
import org.serviio.library.local.metadata.VideoMetadata;
import org.serviio.library.local.metadata.extractor.ExtractorType;
import org.serviio.library.local.metadata.extractor.InvalidMediaFormatException;
import org.serviio.library.local.metadata.extractor.MetadataExtractor;
import org.serviio.library.local.metadata.extractor.MetadataFile;
import org.serviio.library.local.metadata.extractor.MetadataSourceNotAccessibleException;
import org.serviio.library.metadata.MediaFileType;
import org.serviio.library.local.metadata.extractor.video.SearchSourceAdaptor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class OnlineVideoSourcesMetadataExtractor : MetadataExtractor
{
private static Logger log;
static this()
{
log = LoggerFactory.getLogger!(OnlineVideoSourcesMetadataExtractor);
}
override public ExtractorType getExtractorType()
{
return ExtractorType.ONLINE_VIDEO_SOURCES;
}
override protected MetadataFile getMetadataFile(File mediaFile, MediaFileType fileType, Repository repository)
{
VideoDescription videoDescription = FileNameParser.parse(mediaFile, repository);
if ((videoDescription.isSearchRecommended()) && (videoDescription.getType() != VideoType.SPECIAL) && (fileType == MediaFileType.VIDEO))
{
SearchSourceAdaptor adaptor = SearchSourceFactory.getSearchSourceAdaptor(videoDescription.getType());
if (adaptor !is null)
{
String metadataId = adaptor.search(videoDescription);
if (metadataId !is null)
{
MetadataFile metadataFile = new MetadataFile(getExtractorType(), new Date(), metadataId, adaptor);
return metadataFile;
}
log.warn(java.lang.String.format("Online metadata search returned no results for file %s [%s]", cast(Object[])[ mediaFile.getName(), videoDescription.toString() ]));
return null;
}
return null;
}
return null;
}
override public bool isMetadataUpdated(File mediaFile, MediaItem mediaItem, MetadataDescriptor metadataDescriptor)
{
if (metadataDescriptor !is null) {
return false;
}
return true;
}
override protected void retrieveMetadata(MetadataFile metadataDescriptor, LocalItemMetadata metadata)
{
SearchSourceAdaptor adaptor = cast(SearchSourceAdaptor)metadataDescriptor.getExtractable();
adaptor.retrieveMetadata(metadataDescriptor.getIdentifier(), cast(VideoMetadata)metadata);
setMetadataContentType(cast(VideoMetadata)metadata, cast(SearchSourceAdaptor)metadataDescriptor.getExtractable());
}
protected void setMetadataContentType(VideoMetadata metadata, SearchSourceAdaptor adaptor)
{
if (( cast(TheMovieDBSourceAdaptor)adaptor !is null )) {
metadata.setContentType(ContentType.MOVIE);
} else if (( cast(TheTVDBSourceAdaptor)adaptor !is null )) {
metadata.setContentType(ContentType.EPISODE);
}
}
}
/* Location: C:\Users\Main\Downloads\serviio.jar
* Qualified Name: org.serviio.library.local.metadata.extractor.video.OnlineVideoSourcesMetadataExtractor
* JD-Core Version: 0.7.0.1
*/
|
D
|
// Copyright Ferdinand Majerech 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
///Makes an entity able to collide with other entities.
module component.collidablecomponent;
import std.exception;
import util.yaml;
import component.entitysystem;
/**
* Makes an entity able to collide with other entities.
*
* An entity with CollidableComponent collides with anything that has a volume,
* regardless of whether it has its own CollidableComponent or not.
*/
struct CollidableComponent
{
private:
/**
* Entities that collided with this entity last CollisionSystem update.
*
* This is a slice into FixedArray storage.
*/
Entity*[] colliders_ = null;
public:
///Construct an axis aligned bounding box from a rectangle.
this(ref YAMLNode yaml)
{
enforce(yaml.isNull,
new YAMLException("CollidableComponent currently supports no YAML data"));
}
///Get IDs of all entities that collided with this entity last CollisionSystem update.
@property Entity*[] colliders() pure nothrow
in
{
assert(colliders_ !is null,
"Trying to get colliders of an entity that has no colliders, "
"or before CollisionSystem update.");
}
body{return colliders_;}
///Set colliders of this entity.
@property void colliders(Entity*[] rhs) pure nothrow {colliders_ = rhs;}
///Did this entity collide with anything last CollisionSystem update?
@property bool hasColliders() const pure nothrow {return colliders_ !is null;}
}
|
D
|
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.build/Worker.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Void.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/FutureType.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Collection+Future.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+DoCatch.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Global.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Transform.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Flatten.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Map.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Worker.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/QueueHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/AsyncError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.build/Worker~partial.swiftmodule : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Void.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/FutureType.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Collection+Future.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+DoCatch.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Global.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Transform.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Flatten.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Map.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Worker.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/QueueHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/AsyncError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.build/Worker~partial.swiftdoc : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Void.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/FutureType.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Collection+Future.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+DoCatch.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Global.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Transform.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Flatten.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future+Map.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Worker.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/QueueHandler.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/AsyncError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
|
D
|
module unit_threaded.asserts;
import std.conv;
@safe:
/**
* Helper to call the standard assert
*/
void assertEqual(T, U)(T t, U u, string file = __FILE__, ulong line = __LINE__) @trusted /* std.conv.to */ {
assert(t == u, "\n" ~ file ~ ":" ~ line.to!string ~ "\nExp: " ~ u.to!string ~ "\nGot: " ~ t.to!string);
}
|
D
|
module android.java.android.net.UrlQuerySanitizer_ParameterValuePair;
public import android.java.android.net.UrlQuerySanitizer_ParameterValuePair_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!UrlQuerySanitizer_ParameterValuePair;
import import1 = android.java.java.lang.Class;
|
D
|
module UnrealScript.Engine.MaterialExpressionFrac;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.MaterialExpression;
extern(C++) interface MaterialExpressionFrac : MaterialExpression
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass() { mixin(MGSCC("Class Engine.MaterialExpressionFrac")); }
private static __gshared MaterialExpressionFrac mDefaultProperties;
@property final static MaterialExpressionFrac DefaultProperties() { mixin(MGDPC("MaterialExpressionFrac", "MaterialExpressionFrac Engine.Default__MaterialExpressionFrac")); }
@property final auto ref MaterialExpression.ExpressionInput InputVar() { mixin(MGPC("MaterialExpression.ExpressionInput", 108)); }
}
|
D
|
module voxelman.edit.plugininfo;
enum id = "voxelman.edit";
enum semver = "0.5.0";
enum deps = [];
enum clientdeps = [];
enum serverdeps = [];
|
D
|
module android.java.android.app.LauncherActivity_IconResizer_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.android.graphics.drawable.Drawable_d_interface;
import import2 = android.java.java.lang.Class_d_interface;
import import0 = android.java.android.app.LauncherActivity_d_interface;
@JavaName("LauncherActivity$IconResizer")
final class LauncherActivity_IconResizer : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import this(import0.LauncherActivity);
@Import import1.Drawable createIconThumbnail(import1.Drawable);
@Import import2.Class getClass();
@Import int hashCode();
@Import bool equals(IJavaObject);
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Landroid/app/LauncherActivity$IconResizer;";
}
|
D
|
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
static if (isSomeChar!(ElementType!Arg)) {
args[0] = readln.chomp.to!Arg;
} else {
args[0] = readln.split.to!Arg;
}
} else static if (isTuple!Arg) {
auto input = readln.split;
static foreach (i; 0..Fields!Arg.length) {
args[0][i] = input[i].to!(Fields!Arg[i]);
}
} else {
args[0] = readln.chomp.to!Arg;
}
} else {
auto input = readln.split;
assert(input.length == Args.length);
static foreach (i; 0..Args.length) {
args[i] = input[i].to!(Args[i]);
}
}
}
void get_lines(Args...)(size_t N, ref Args args)
{
import std.traits, std.range;
static foreach (i; 0..Args.length) {
static assert(isArray!(Args[i]));
args[i].length = N;
}
foreach (i; 0..N) {
static if (Args.length == 1) {
get(args[0][i]);
} else {
auto input = readln.split;
static foreach (j; 0..Args.length) {
args[j][i] = input[j].to!(ElementType!(Args[j]));
}
}
}
}
void main()
{
int N; long K; get(N, K);
alias F = Tuple!(long, "a", long, "b");
F[] fs; get_lines(N, fs);
sort!"a.a < b.a"(fs);
foreach (f; fs) {
if (K >= f.a) {
K += f.b;
} else {
break;
}
}
writeln(K);
}
|
D
|
module hunt.wechat.bean.poi.Business;
//import com.alibaba.fastjson.annotation.JSONField;
/**
* 门店信息-提交对象
*
*
*
*/
class Business {
@JSONField(name = "base_info")
private BaseInfo baseInfo;
public this() {
}
public this(BaseInfo baseInfo) {
this.baseInfo = baseInfo;
}
public BaseInfo getBaseInfo() {
return baseInfo;
}
public void setBaseInfo(BaseInfo baseInfo) {
this.baseInfo = baseInfo;
}
}
|
D
|
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop, core.stdc.stdio;
immutable long MOD = 10^^9 + 7;
void main() {
auto N = readln.chomp.to!int;
auto dp = new long[][](N+1, 4);
dp[0][0] = 1;
foreach (i; 1..N+1) {
foreach (j; 0..4) {
foreach (k; 0..4) {
if (k == 0) continue;
if (j == k) continue;
if (i-k < 0) continue;
(dp[i][k] += dp[i-k][j]) %= MOD;
}
}
}
writeln((dp[N][1] + dp[N][2] + dp[N][3]) % MOD);
}
|
D
|
/Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintLayoutGuideDSL.o : /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintConfig.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Debugging.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintItem.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/LayoutConstraintItem.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintRelation.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintDescription.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMaker.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Typealiases.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuide+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintInsets.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Constraint.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/LayoutConstraint.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintView.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintPriority.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintLayoutGuideDSL~partial.swiftmodule : /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintConfig.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Debugging.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintItem.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/LayoutConstraintItem.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintRelation.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintDescription.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMaker.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Typealiases.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuide+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintInsets.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Constraint.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/LayoutConstraint.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintView.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintPriority.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintLayoutGuideDSL~partial.swiftdoc : /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutSupportDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintViewDSL.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuide.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerExtendable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerRelatable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerEditable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerFinalizable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMakerPriortizable.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintConfig.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Debugging.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintItem.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/LayoutConstraintItem.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintRelation.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintDescription.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMaker.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Typealiases.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintAttributes.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutGuide+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/UILayoutSupport+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintView+Extensions.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintInsets.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintRelatableTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintMultiplierTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintOffsetTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintInsetTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintConstantTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintPriorityTarget.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/Constraint.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/LayoutConstraint.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintLayoutSupport.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintView.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/SnapKit/Source/ConstraintPriority.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/Target\ Support\ Files/SnapKit/SnapKit-umbrella.h /Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
instance PIR_1396_Addon_InExtremo_Flex(Npc_Default)
{
name[0] = "Τλεκρ";
npcType = npctype_main;
guild = GIL_NONE;
level = 4;
flags = 0;
voice = 13;
id = 1396;
flags = NPC_FLAG_IMMORTAL;
attribute[ATR_STRENGTH] = 20;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 88;
attribute[ATR_HITPOINTS] = 88;
CreateInvItem(self,ItMi_IEDudelBlau);
B_CreateAmbientInv(self);
Mdl_SetVisual(self,"HUMANS.MDS");
Mdl_SetVisualBody(self,"Hum_IE_Flex_INSTRUMENT",DEFAULT,DEFAULT,"HUM_HEAD_Flex",DEFAULT,DEFAULT,-1);
fight_tactic = FAI_HUMAN_STRONG;
Npc_SetTalentSkill(self,NPC_TALENT_1H,1);
daily_routine = Rtn_Start_1396;
};
func void Rtn_Start_1396()
{
TA_Stand_Eating(5,0,20,0,"WP_POTION_ALCHEMY");
TA_Stand_Eating(20,0,5,0,"WP_POTION_ALCHEMY");
};
func void Rtn_Concert_1396()
{
TA_Concert(5,0,20,0,"WP_POTION_ALCHEMY");
TA_Concert(20,0,5,0,"WP_POTION_ALCHEMY");
};
|
D
|
/*
* pagecolor.d
*
* This is the simple page coloring module. It isnt that exciting.
* Makes sure that when a virtual page is mapped to a physical one that their color bits match.
* Uses the Bitmap.bitmap code, b/c Bitmap.bitmap index = PPN
*
*/
module kernel.mem.pagecolor;
// Import system info to get info about RAM
import kernel.system.info;
// Import kernel foo
import kernel.core.error;
import kernel.core.log;
import kernel.core.kprintf;
// Import arch foo
import architecture.vm;
//Import the Bitmap.bitmap stuff
import Bitmap = kernel.mem.bitmap;
import kernel.system.definitions;
import architecture.cpu;
ErrorVal initialize() {
//need to determine number of sets for the L2 cache
uint num_sets = System.processorInfo[Cpu.identifier].L2Cache.length;
num_sets = num_sets/(System.processorInfo[Cpu.identifier].L2Cache.associativity * System.processorInfo[Cpu.identifier].L2Cache.blockSize);
kprintfln!("PageColor: L2 A: {} B: {} C: {}")(
System.processorInfo[Cpu.identifier].L2Cache.associativity,
System.processorInfo[Cpu.identifier].L2Cache.blockSize,
System.processorInfo[Cpu.identifier].L2Cache.length);
kprintfln!("PageColor: num_sets: {}")(num_sets);
uint set_bits = 0;
uint temp = num_sets;
while(temp > 1) {
set_bits++;
temp = temp/2;
}
uint block_bits = 0;
temp = System.processorInfo[Cpu.identifier].L2Cache.blockSize; while(temp > 1) {
block_bits++;
temp = temp/2;
}
uint page_bits = 0;
temp = VirtualMemory.getPageSize();
while(temp > 1) {
page_bits++;
temp = temp/2;
}
kprintfln!("block bits: {} set bits: {} page bits: {}")(block_bits, set_bits, page_bits);
color_bits = set_bits + block_bits - page_bits;
color_mask = (((1 << color_bits)-1) << page_bits);
kprintfln!("color_mask: {b}")(color_mask);
return Bitmap.initialize();
}
ErrorVal reportCore() {
return ErrorVal.Success;
}
void* allocPage() {
return Bitmap.allocPage();
}
void* allocPage(void* virtAddr) {
// Find a page
ulong index = findPage(virtAddr);
if (index == 0xffffffffffffffffUL) {
return Bitmap.allocPage(virtAddr);
}
// Return the address
return cast(void*)(index * VirtualMemory.getPageSize());
}
ErrorVal freePage(void* address) {
return Bitmap.freePage(address);
}
uint length() {
return Bitmap.length();
}
ubyte* start() {
return Bitmap.start();
}
ubyte* virtualStart() {
return Bitmap.virtualStart();
}
void virtualStart(void* newAddr) {
return Bitmap.virtualStart(newAddr);
}
private {
uint color_bits; //defines the #of color_bits
ulong color_mask;
// A helper function to mark off a range of memory
void markOffRegion(void* start, ulong length) {
// When aligning to a page, floor the start, ceiling the end
// Get the first pageIndex
ulong startAddr, endAddr;
// Get the logical range
startAddr = cast(ulong)start;
endAddr = startAddr + length;
startAddr -= startAddr % VirtualMemory.getPageSize();
if ((endAddr % VirtualMemory.getPageSize())>0) {
endAddr += VirtualMemory.getPageSize() - (endAddr % VirtualMemory.getPageSize());
}
// startAddr is the start address of the region aligned to a page
// endAddr is the end address of the region aligned to a page
// Now, we will get the page indices and mark off each page
ulong pageIndex = startAddr / VirtualMemory.getPageSize();
ulong maxIndex = (endAddr - startAddr) / VirtualMemory.getPageSize();
maxIndex += pageIndex;
for(; pageIndex<maxIndex; pageIndex++) {
markOffPage(pageIndex);
}
}
void markOffPage(ulong pageIndex) {
// Go to the specific ulong
// Set the corresponding bit
if (pageIndex >= Bitmap.totalPages) {
return;
}
ulong byteNumber = pageIndex / 64;
ulong bitNumber = pageIndex % 64;
Bitmap.bitmap[byteNumber] |= (1 << bitNumber);
}
// Returns the page index of a free page
ulong findPage(void * virtAddr) {
ulong* curPtr = Bitmap.bitmap;
ulong curIndex = 0;
ulong color = cast(ulong) virtAddr & color_mask;
ulong color_shift = color / VirtualMemory.getPageSize();
//kprintfln!("findPage: {x} color: {x}:{x} curPtr: {x}")(virtAddr, color, color_shift, curPtr);
while(true) {
// this would mean that there is a 0 in there somewhere
if (*curPtr < 0xffffffffffffffffUL) {
// look for the 0
ulong tmpVal = *curPtr;
ulong subIndex = curIndex;
for (uint b; b < 64; b++) {
if((tmpVal & 0x1) == 0) {
if ((subIndex < Bitmap.totalPages) && ((subIndex & color_shift) == color_shift)) {
// mark it off as used
*curPtr |= cast(ulong)(1UL << b);
//kprintfln!("found: {} : {}")(subIndex, subIndex & color_shift);
// return the page index
return subIndex;
}
else if (subIndex >= Bitmap.totalPages) {
//kprintfln!("foobar")();
return 0xffffffffffffffffUL;
}
}
tmpVal >>= 1;
subIndex++;
}
}
curIndex += 64;
if (curIndex >= Bitmap.totalPages) {
//kprintfln!("foobar2")();
return 0xffffffffffffffffUL;
}
curPtr++;
}
return 0xffffffffffffffffUL;
}
}
|
D
|
import std.stdio;
import std.uni;
import std.array;
import std.conv;
import std.file;
import std.string;
import printed.canvas;
import state;
import character;
// goal is to generate part of the rules PDF
// and eventually simulate game from the same code
void main()
{
// Simulates a game
GameState game = new GameState(5);
while (!game.finished)
{
game.playATurn();
}
game.displayWinners();
}
void printADeck()
{
// Generate a deck
CardInstance[] cards = makeDeck(MAX_PLAYERS);
writefln("Printing a deck of %s cards", cards.length);
auto pdfDoc = new PDFDocument(210, 297);
float cardWidth = 63.5f;
float cardHeight = 88.9f;
auto context = cast(IRenderingContext2D) pdfDoc;
context.fontSize = 11.0f;
const columnsPerPage = 3;
const rowsPerPage = 3;
const marginLeft = 0.5f * (context.pageWidth - columnsPerPage * cardWidth);
const marginTop = 0.5f * (context.pageHeight - rowsPerPage * cardHeight);
int currentColumn = 0;
int currentRow = 0;
int currentPage = 0;
void incrementPosition()
{
currentColumn += 1;
if (currentColumn >= columnsPerPage)
{
currentColumn = 0;
currentRow += 1;
if (currentRow >= rowsPerPage)
{
currentRow = 0;
context.newPage;
}
}
}
void drawCard(float x, float y, CardInstance card)
{
context.fontFace = "Comic Sans Ms";
context.fontSize = 11.0f;
context.fontStyle = FontStyle.normal;
float left = x + cardWidth * currentColumn;
float right = left + cardWidth;
float top = y + cardHeight * currentRow;
float bottom = top + cardHeight;
context.fillStyle = Brush("white");
context.fillRect(x, y, cardWidth, cardHeight);
context.fillStyle = Brush("black");
context.fillRect(x + 0.2, y + 0.2, cardWidth - 0.4, cardHeight - 0.4);
context.fillStyle = Brush("#eee");
context.fillRect(x + 3, y + 3, cardWidth - 6, cardHeight - 6);
// text area
context.fillStyle = Brush("#fff");
context.fillRect(x + 4, y + 42, cardWidth - 8, cardHeight - 47);
string name = card.type.getName();
int rank = card.type.getRank();
string desc = card.type.getDescription();
name = to!string(name.asUpperCase.array);
context.fillStyle = Brush("black");
context.fillText(name, x + 5, y + 8);
context.fillText(format("Rang %s", rank), x + cardWidth - 16, y + 8);
}
foreach(int cardIndex, card; cards)
{
// get position of the card rect
float left = marginLeft + cardWidth * currentColumn;
float top = marginTop + cardHeight * currentRow;
drawCard(left, top, card);
// not the last card, increment position
if (cardIndex + 1 < cards.length)
incrementPosition;
}
auto bytes = pdfDoc.bytes;
std.file.write("cartes.pdf", bytes);
writefln("Written %s bytes to cartes.pdf", bytes.length);
}
|
D
|
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/SQLite.build/Row/SQLiteData.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteData.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteGeneric.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/Deprecated.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteBind.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteStorage.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteCreateTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteAlterTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDataTypeStaticRepresentable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteQueryExpressionRepresentable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteDataConvertible.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteDataType.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteDatabase.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/DatabaseIdentifier+SQLite.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteBoolLiteral.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDefaultLiteral.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteColumn.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteCollation.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteConnection.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteFunction.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteAlterTableBuilder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteDataDecoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteRowDecoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteDataEncoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/SQLiteError.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/Exports.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteStatement.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDropIndex.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLitePrimaryKey.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/cpp_magic.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/ifaddrs-android.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIODarwin/include/CNIODarwin.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/CNIOLinux.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio-zlib-support.git-1048424751408724151/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/SQLite.build/SQLiteData~partial.swiftmodule : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteData.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteGeneric.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/Deprecated.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteBind.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteStorage.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteCreateTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteAlterTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDataTypeStaticRepresentable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteQueryExpressionRepresentable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteDataConvertible.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteDataType.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteDatabase.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/DatabaseIdentifier+SQLite.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteBoolLiteral.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDefaultLiteral.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteColumn.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteCollation.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteConnection.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteFunction.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteAlterTableBuilder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteDataDecoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteRowDecoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteDataEncoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/SQLiteError.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/Exports.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteStatement.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDropIndex.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLitePrimaryKey.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/cpp_magic.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/ifaddrs-android.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIODarwin/include/CNIODarwin.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/CNIOLinux.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio-zlib-support.git-1048424751408724151/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/SQLite.build/SQLiteData~partial.swiftdoc : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteData.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteGeneric.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/Deprecated.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteBind.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteStorage.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteCreateTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteAlterTable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDataTypeStaticRepresentable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteQueryExpressionRepresentable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteDataConvertible.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteDataType.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteDatabase.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/DatabaseIdentifier+SQLite.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteBoolLiteral.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDefaultLiteral.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteColumn.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteCollation.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteConnection.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteFunction.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteAlterTableBuilder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteDataDecoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteRowDecoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Codable/SQLiteDataEncoder.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/SQLiteError.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Utilities/Exports.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Database/SQLiteStatement.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteDropIndex.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLitePrimaryKey.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/SQL/SQLiteQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/cpp_magic.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/ifaddrs-android.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIODarwin/include/CNIODarwin.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/CNIOLinux/include/CNIOLinux.h /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio-zlib-support.git-1048424751408724151/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
module daemon;
import core.thread;
import core.time;
import std.algorithm;
import std.datetime;
import std.range;
import std.stdio;
import std.string;
import ae.sys.d.manager;
import ae.sys.file;
import ae.sys.log;
import ae.utils.json;
import ae.utils.path : nullFileName;
import common;
import runner;
static import ae.sys.net.ae;
debug
{
enum updateInterval = 1.minutes;
enum idleDuration = 0.minutes;
}
else
{
enum updateInterval = 5.minutes;
enum idleDuration = 1.minutes;
}
const jsonPath = "web/data/data.json.gz"; /// Path to write data for the web interface
void main()
{
if (quiet)
{
auto f = File(nullFileName, "wb");
std.stdio.stdout = f;
std.stdio.stderr = f;
}
auto state = loadState();
mainLoop:
while (true)
{
state.update();
auto todo = state.getToDo();
state.atomic!saveJson(jsonPath, todo.stats);
auto start = Clock.currTime;
log("Running tests...");
foreach (entry; todo.entries)
{
debug log("Running tests for commit: %s (%s, score %d)".format(entry.commit.hash, entry.commit.time, entry.score));
if (!state.prepareCommit(entry.commit))
continue;
state.runTests(entry.commit);
if (Clock.currTime - start > updateInterval)
continue mainLoop;
}
log("Idling...");
Thread.sleep(idleDuration);
}
}
void saveJson(in ref State state, string target, Stats stats)
{
log("Saving results...");
static struct JsonData
{
struct Commit
{
string commit, message;
long time;
bool error;
}
Commit[] commits;
struct Result
{
string testID, commit;
long value;
string error;
}
Result[] results;
struct Test
{
string name, description, id;
Unit unit;
bool exact;
}
Test[] tests;
Stats stats;
}
JsonData data;
foreach (ref commit; state.commits)
data.commits ~= JsonData.Commit(commit.hash, commit.message.join("\n"), commit.time.toUnixTime, state.badCommits.get(commit.hash, false));
foreach (string testID, string commit, long value, string error; query("SELECT [TestID], [Commit], [Value], [Error] FROM [Results]").iterate())
data.results ~= JsonData.Result(testID, commit, value, error);
foreach (test; tests)
data.tests ~= JsonData.Test(test.name, test.description, test.id, test.unit, test.exact);
data.stats = stats;
auto json = data.toJson();
import ae.utils.gzip, ae.sys.data;
ensurePathExists(target);
auto f = File(target, "wb");
foreach (datum; compress([Data(json)], ZlibOptions(9)))
f.rawWrite(datum.contents);
}
|
D
|
module vector;
import std.math;
import std.stdio;
import std.conv;
import dsfml.system;
struct Vector{
double x;
double y;
double z;
//Constructors
//From position
this(double x, double y, double z){
this.x = x;
this.y = y;
this.z = z;
}
this(double x, double y){
this(x, y, 0);
}
//From angle
this(double ang){
Vector v = fromAngle(ang);
this(v.x, v.y);
}
//Copy other vector
this(Vector v){
this.x = v.x;
this.y = v.y;
}
//From vector2 type
this(Vector2!float v){
this.x = v.x;
this.y = v.y;
this.z = 0;
}
//Static methods
static Vector fromAngle(double ang){ //2D only, radians to clockwise by
return new Vector(0, -1).rotate(ang);
}
Vector rotate(double ang){ //Note that math.PI isn't exact PI and therefore sin(PI) is about 1.22e-16
double t = x;
x = x*cos(ang) - y*sin(ang);
y = t*sin(ang) + y*cos(ang);
return copy();
}
Vector add(double x, double y){
return add(x, y, 0);
}
Vector add(double x, double y, double z){
this.x += x;
this.y += y;
this.z += z;
return copy();
}
Vector add(Vector v){
this.x += v.x;
this.y += v.y;
this.z += v.z;
return copy();
}
Vector add(Vector* v){
this.x += v.x;
this.y += v.y;
this.z += v.z;
return copy();
}
Vector sub(double x, double y, double z) {
this.x -= x;
this.y -= y;
this.z -= z;
return copy();
}
Vector sub(double x, double y) {
return sub(x, y, 0);
}
Vector sub(Vector v) {
return sub(v.x, v.y, v.z);
}
Vector mult(double f) {
this.x *= f;
this.y *= f;
this.z *= f;
return copy();
}
Vector div(double f) {
return mult(1f/f);
}
double mag() {
return sqrt(magSq());
}
double magSq() {
return sq(x)+sq(y)+sq(z);
}
Vector limit(double f) {
if (mag()>f) {
setMag(f);
}
return copy();
}
Vector normalise() {
double m = mag();
if (m != 0f && m != 1f) {
div(m);
}
return copy();
}
Vector setMag(double m) {
normalise();
mult(m);
return copy();
}
Vector copy(){
return Vector(x, y, z);
}
Vector2f as2f(){ //ONLY 2d
return Vector2f(cast(float)x, cast(float)y);
}
float heading(){
return atan2(x, y);
}
Vector lerp(Vector v, double amt){
this.x = flerp(this.x, v.x, amt);
this.y = flerp(this.y, v.y, amt);
this.z = flerp(this.z, v.z, amt);
return copy();
}
//Outputs
void print(){
writeln("["~to!string(this.x)~", "~to!string(this.y)~", "~to!string(this.z)~"]");
}
}
double sq(double x){
return pow(x, 2);
}
double flerp(float s, float e, float a){
return s+(e-s)*a;
}
|
D
|
instance DIA_Jan_EXIT(C_Info)
{
npc = DJG_714_Jan;
nr = 999;
condition = DIA_Jan_EXIT_Condition;
information = DIA_Jan_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Jan_EXIT_Condition()
{
return TRUE;
};
func void DIA_Jan_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_JAN_Hello(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_Hello_Condition;
information = DIA_Jan_Hello_Info;
permanent = FALSE;
important = TRUE;
};
func int DIA_Jan_Hello_Condition()
{
if((Kapitel >= 4) && Npc_IsInState(self,ZS_Talk) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void DIA_Jan_Hello_Info()
{
AI_Output(self,other,"DIA_Jan_Hello_10_00"); //И какой идиот затащил меня сюда?!
AI_Output(self,other,"DIA_Jan_Hello_10_01"); //Я думал, здесь для меня действительно найдется настоящая работа. Но здесь ничего нет кроме нескольких высокомерных паладинов и банды орков.
};
instance DIA_JAN_Dragons(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_Dragons_Condition;
information = DIA_Jan_Dragons_Info;
permanent = FALSE;
description = "Ты забыл о драконах!";
};
func int DIA_Jan_Dragons_Condition()
{
if(Npc_KnowsInfo(other,DIA_JAN_Hello) && (MIS_JanBecomesSmith == FALSE) && (Kapitel == 4) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void DIA_Jan_Dragons_Info()
{
AI_Output(other,self,"DIA_Jan_Dragons_15_00"); //Ты забыл о драконах!
AI_Output(self,other,"DIA_Jan_Dragons_10_01"); //(с издевкой) Как же я мог забыть?! Знаешь что? Я кузнец, а не воин.
AI_Output(self,other,"DIA_Jan_Dragons_10_02"); //Я делаю оружие. А сражаются им путь другие.
AI_Output(other,self,"DIA_Jan_Dragons_15_03"); //Тогда почему ты не стоишь за этой наковальней?
AI_Output(self,other,"DIA_Jan_Dragons_10_04"); //Паладины не подпускают меня к кузнице. Если я подойду к ней, меня бросят за решетку.
if(hero.guild == GIL_PAL)
{
AI_Output(self,other,"DIA_Jan_Dragons_10_05"); //Ты ведь один из них. Может, замолвишь за меня словечко?
};
Info_ClearChoices(DIA_JAN_Dragons);
Info_AddChoice(DIA_JAN_Dragons,"Мне нужно идти.",DIA_JAN_Dragons_ShitHappen);
Info_AddChoice(DIA_JAN_Dragons,"И что я получу за то, что помогу тебе?",DIA_JAN_Dragons_Reward);
Info_AddChoice(DIA_JAN_Dragons,"Я попробую помочь тебе.",DIA_JAN_Dragons_HelpYou);
};
func void DIA_JAN_Dragons_HelpYou()
{
AI_Output(other,self,"DIA_JAN_Dragons_HelpYou_15_00"); //Я попробую помочь тебе.
AI_Output(self,other,"DIA_JAN_Dragons_HelpYou_10_01"); //Как тебе это удастся? Парсиваль приказал страже ни к чему нас не подпускать.
AI_Output(self,other,"DIA_JAN_Dragons_HelpYou_10_02"); //Никто не осмелится нарушить его.
AI_Output(other,self,"DIA_JAN_Dragons_HelpYou_15_03"); //Я сделаю все, что смогу.
AI_Output(self,other,"DIA_JAN_Dragons_HelpYou_10_04"); //Представить себе не могу, что он послушает тебя.
Log_CreateTopic(TOPIC_JanBecomesSmith,LOG_MISSION);
Log_SetTopicStatus(TOPIC_JanBecomesSmith,LOG_Running);
B_LogEntry(TOPIC_JanBecomesSmith,"Охотник на драконов Ян, находящийся в замке Долины рудников, хочет работать в кузнице. Но Парсиваль запрещает ему это.");
MIS_JanBecomesSmith = LOG_Running;
Info_ClearChoices(DIA_JAN_Dragons);
};
func void DIA_JAN_Dragons_Reward()
{
AI_Output(other,self,"DIA_JAN_Dragons_Reward_15_00"); //А что мне будет, если я помогу тебе?
AI_Output(self,other,"DIA_JAN_Dragons_Reward_10_01"); //У меня ничего нет. Единственно, я могу научить тебя чему-нибудь.
if((hero.guild == GIL_SLD) || (hero.guild == GIL_DJG))
{
AI_Output(self,other,"DIA_JAN_Dragons_Reward_10_02"); //Я знаю способ, как сделать клинок, выкованный из магической руды, еще прочнее.
};
Jan_TeachPlayer = TRUE;
};
func void DIA_JAN_Dragons_ShitHappen()
{
AI_Output(other,self,"DIA_JAN_Dragons_ShitHappen_15_00"); //Мне нужно идти.
AI_Output(self,other,"DIA_JAN_Dragons_ShitHappen_10_01"); //Все просто ужасно. Я не могу покинуть этот замок и не могу работать в кузнице.
Info_ClearChoices(DIA_JAN_Dragons);
};
instance DIA_JAN_Home(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_Home_Condition;
information = DIA_Jan_Home_Info;
permanent = FALSE;
description = "Откуда ты?";
};
func int DIA_Jan_Home_Condition()
{
if(Npc_KnowsInfo(other,DIA_JAN_Hello) && (Kapitel >= 4) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void DIA_Jan_Home_Info()
{
AI_Output(other,self,"DIA_Jan_Home_15_00"); //Откуда ты пришел?
AI_Output(self,other,"DIA_Jan_Home_10_01"); //Я присоединился к парням с гор. И мы направились в эту долину, чтобы разбогатеть, охотясь на драконов.
AI_Output(self,other,"DIA_Jan_Home_10_02"); //Их главаря звали Сильвио. Такая сволочь! Он обращался со мной как со своей собственностью.
};
instance DIA_JAN_OldCamp(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_OldCamp_Condition;
information = DIA_Jan_OldCamp_Info;
permanent = TRUE;
description = "Что произошло в замке?";
};
func int DIA_Jan_OldCamp_Condition()
{
if(Npc_KnowsInfo(other,DIA_JAN_Hello) && (Kapitel == 4) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void DIA_Jan_OldCamp_Info()
{
AI_Output(other,self,"DIA_Jan_OldCamp_15_00"); //А что произошло в замке?
AI_Output(self,other,"DIA_Jan_OldCamp_10_01"); //Ничего, насколько я слышал. Но, конечно, меня очень волнует, что произошло ВНЕ замка.
};
instance DIA_JAN_Parcival(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_Parcival_Condition;
information = DIA_Jan_Parcival_Info;
permanent = FALSE;
description = "Я поговорил с Парсивалем.";
};
func int DIA_Jan_Parcival_Condition()
{
if((MIS_JanBecomesSmith != LOG_SUCCESS) && Npc_KnowsInfo(other,DIA_Parcival_Jan) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void DIA_Jan_Parcival_Info()
{
AI_Output(other,self,"DIA_Jan_Parcival_15_00"); //Я поговорил с Парсивалем.
AI_Output(self,other,"DIA_Jan_Parcival_10_01"); //И?
if(hero.guild == GIL_DJG)
{
AI_Output(other,self,"DIA_Jan_Parcival_15_02"); //Он не доверяет нам, охотникам на драконов.
}
else
{
AI_Output(other,self,"DIA_Jan_Parcival_15_03"); //Он не доверяет вам, охотникам на драконов.
};
AI_Output(self,other,"DIA_Jan_Parcival_10_04"); //Черт. Я так хочу работать.
AI_Output(self,other,"DIA_Jan_Parcival_10_05"); //Что ж, видимо, придется смириться. Только Гаронд может помочь мне теперь.
};
instance DIA_JAN_JanIsSmith(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_JanIsSmith_Condition;
information = DIA_Jan_JanIsSmith_Info;
permanent = FALSE;
description = "Берись за молот, для тебя есть работа.";
};
func int DIA_Jan_JanIsSmith_Condition()
{
if((MIS_JanBecomesSmith == LOG_SUCCESS) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void DIA_Jan_JanIsSmith_Info()
{
AI_Output(other,self,"DIA_Jan_JanIsSmith_15_00"); //Берись за молот, для тебя есть работа.
AI_Output(self,other,"DIA_Jan_JanIsSmith_10_01"); //Ты сделал это? Как тебе удалось?
AI_Output(other,self,"DIA_Jan_JanIsSmith_15_02"); //Мне пришлось поручиться за тебя, так что не разочаруй меня.
AI_Output(self,other,"DIA_Jan_JanIsSmith_10_03"); //Не волнуйся. Я так рад, что опять могу работать.
AI_StopProcessInfos(self);
Npc_ExchangeRoutine(self,"SMITH");
};
instance DIA_JAN_SellWeapons(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_SellWeapons_Condition;
information = DIA_Jan_SellWeapons_Info;
permanent = FALSE;
description = "Ты продаешь оружие?";
};
func int DIA_Jan_SellWeapons_Condition()
{
if((MIS_JanBecomesSmith == LOG_SUCCESS) && Npc_KnowsInfo(other,DIA_JAN_JanIsSmith) && (Jan_TeachPlayer == FALSE) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void DIA_Jan_SellWeapons_Info()
{
AI_Output(other,self,"DIA_Jan_SellWeapons_15_00"); //Ты продаешь оружие?
if(hero.guild == GIL_PAL)
{
AI_Output(self,other,"DIA_Jan_SellWeapons_10_01"); //Ни за что. Чтобы потом твои собратья бросили меня в темницу за торговлю из-под полы? Нет, забудь об этом!
}
else
{
AI_Output(self,other,"DIA_Jan_SellWeapons_10_02"); //Мог бы, если бы оно у меня было. Но сначала я должен обеспечить оружием паладинов в замке.
};
AI_Output(self,other,"DIA_Jan_SellWeapons_10_03"); //Но я могу показать тебе, как ковать хорошее оружие.
Jan_TeachPlayer = TRUE;
};
instance Jan_Training_Talente(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = Jan_Training_Talente_Condition;
information = Jan_Training_Talente_Info;
permanent = TRUE;
description = "Обучи меня кузнечному делу.";
};
func int Jan_Training_Talente_Condition()
{
if((Jan_TeachPlayer == TRUE) && Npc_KnowsInfo(other,DIA_JAN_JanIsSmith) && (MIS_OCGateOpen == FALSE))
{
return 1;
};
};
func void Jan_Training_Talente_Info()
{
AI_Output(other,self,"DIA_Jan_TeachPlayer_15_00"); //Обучи меня кузнечному делу.
AI_Output(self,other,"DIA_Jan_TeachPlayer_10_01"); //Что именно ты хочешь научиться ковать?
Info_ClearChoices(Jan_Training_Talente);
Info_AddChoice(Jan_Training_Talente,Dialog_Back,Jan_Training_Smith_Back);
if(PLAYER_TALENT_SMITH[WEAPON_Common] == FALSE)
{
Info_AddChoice(Jan_Training_Talente,B_BuildLearnString("Научиться кузнечному делу",B_GetLearnCostTalent(other,NPC_TALENT_SMITH,WEAPON_Common)),Jan_Training_Smith_Common);
};
if(PLAYER_TALENT_SMITH[WEAPON_Common] == TRUE)
{
if((PLAYER_TALENT_SMITH[WEAPON_1H_Special_01] == FALSE) && ((hero.guild == GIL_SLD) || (hero.guild == GIL_DJG)))
{
Info_AddChoice(Jan_Training_Talente,B_BuildLearnString(NAME_ItMw_1H_Special_01,B_GetLearnCostTalent(other,NPC_TALENT_SMITH,WEAPON_1H_Special_01)),Jan_Training_Smith_1hSpecial1);
};
if((PLAYER_TALENT_SMITH[WEAPON_2H_Special_01] == FALSE) && ((hero.guild == GIL_SLD) || (hero.guild == GIL_DJG)))
{
Info_AddChoice(Jan_Training_Talente,B_BuildLearnString(NAME_ItMw_2H_Special_01,B_GetLearnCostTalent(other,NPC_TALENT_SMITH,WEAPON_2H_Special_01)),Jan_Training_Smith_2hSpecial1);
};
if((PLAYER_TALENT_SMITH[WEAPON_1H_Special_02] == FALSE) && ((hero.guild == GIL_SLD) || (hero.guild == GIL_DJG)))
{
Info_AddChoice(Jan_Training_Talente,B_BuildLearnString(NAME_ItMw_1H_Special_02,B_GetLearnCostTalent(other,NPC_TALENT_SMITH,WEAPON_1H_Special_02)),Jan_Training_Smith_1hSpecial2);
};
if((PLAYER_TALENT_SMITH[WEAPON_2H_Special_02] == FALSE) && ((hero.guild == GIL_SLD) || (hero.guild == GIL_DJG)))
{
Info_AddChoice(Jan_Training_Talente,B_BuildLearnString(NAME_ItMw_2H_Special_02,B_GetLearnCostTalent(other,NPC_TALENT_SMITH,WEAPON_2H_Special_02)),Jan_Training_Smith_2hSpecial2);
};
};
};
func void Jan_Training_Smith_Back()
{
Info_ClearChoices(Jan_Training_Talente);
};
func void Jan_Training_Smith_Common()
{
B_TeachPlayerTalentSmith(self,other,WEAPON_Common);
};
func void Jan_Training_Smith_1hSpecial1()
{
B_TeachPlayerTalentSmith(self,other,WEAPON_1H_Special_01);
};
func void Jan_Training_Smith_2hSpecial1()
{
B_TeachPlayerTalentSmith(self,other,WEAPON_2H_Special_01);
};
func void Jan_Training_Smith_1hSpecial2()
{
B_TeachPlayerTalentSmith(self,other,WEAPON_1H_Special_02);
};
func void Jan_Training_Smith_2hSpecial2()
{
B_TeachPlayerTalentSmith(self,other,WEAPON_2H_Special_02);
};
var int DIA_JAN_SellArmor_permanent;
instance DIA_JAN_SellArmor(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_SellArmor_Condition;
information = DIA_Jan_SellArmor_Info;
permanent = TRUE;
description = "Могу я купить у тебя доспехи?";
};
func int DIA_Jan_SellArmor_Condition()
{
if((MIS_JanBecomesSmith == LOG_SUCCESS) && Npc_KnowsInfo(other,DIA_JAN_JanIsSmith) && (MIS_OCGateOpen == FALSE) && (DIA_JAN_SellArmor_permanent == FALSE))
{
return 1;
};
};
func void DIA_Jan_SellArmor_Info()
{
AI_Output(other,self,"DIA_Jan_SellArmor_15_00"); //Могу я купить у тебя доспехи?
if(hero.guild == GIL_PAL)
{
AI_Output(self,other,"DIA_Jan_SellArmor_10_01"); //Мои доспехи не идут ни в какое сравнение с теми, что у тебя сейчас есть. Забудь об этом.
}
else if(hero.guild == GIL_KDF)
{
AI_Output(self,other,"DIA_Jan_SellArmor_10_02"); //Маг, который нуждается в доспехах? Забудь об этом - тебе лучше обратиться к портному. Я не могу сделать доспехи для тебя.
}
else
{
AI_Output(self,other,"DIA_Jan_SellArmor_10_03"); //Если бы они у меня были, я бы продал их тебе. Но, к сожалению, у меня их нет.
Info_ClearChoices(DIA_JAN_SellArmor);
Info_AddChoice(DIA_JAN_SellArmor,"Думаю, ничего не получится.",DIA_JAN_SellArmor_Sorry);
Info_AddChoice(DIA_JAN_SellArmor,"Ты можешь изготовить что-нибудь для меня?",DIA_JAN_SellArmor_BuildOne);
};
};
func void DIA_JAN_SellArmor_Sorry()
{
AI_Output(other,self,"DIA_JAN_SellArmor_Sorry_15_00"); //Думаю, ничего не получится.
AI_Output(self,other,"DIA_JAN_SellArmor_Sorry_10_01"); //Ну, если все же что-нибудь придумаешь, дай мне знать.
Info_ClearChoices(DIA_JAN_SellArmor);
};
func void DIA_JAN_SellArmor_BuildOne()
{
AI_Output(other,self,"DIA_JAN_SellArmor_BuildOne_15_00"); //Ты можешь изготовить что-нибудь для меня?
AI_Output(self,other,"DIA_JAN_SellArmor_BuildOne_10_01"); //Ну, если ты хочешь что-нибудь получше, ты должен принести мне необходимые материалы.
AI_Output(other,self,"DIA_JAN_SellArmor_BuildOne_15_02"); //А что нужно?
AI_Output(self,other,"DIA_JAN_SellArmor_BuildOne_10_03"); //Ты хочешь сражаться с драконами, да? Принеси мне драконьи чешуйки - из них я смогу собрать что-нибудь для тебя.
AI_Output(self,other,"DIA_JAN_SellArmor_BuildOne_10_04"); //20 чешуек должно быть достаточно.
DIA_JAN_SellArmor_permanent = TRUE;
Info_ClearChoices(DIA_JAN_SellArmor);
};
var int Jan_Sells_Armor;
instance DIA_JAN_Dragonscales(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_Dragonscales_Condition;
information = DIA_Jan_Dragonscales_Info;
permanent = TRUE;
description = "Я принес драконьи чешуйки.";
};
func int DIA_Jan_Dragonscales_Condition()
{
if((MIS_JanBecomesSmith == LOG_SUCCESS) && Npc_KnowsInfo(other,DIA_JAN_JanIsSmith) && (MIS_OCGateOpen == FALSE) && (DIA_JAN_SellArmor_permanent == TRUE) && (Jan_Sells_Armor == FALSE) && (Npc_HasItems(other,ItAt_DragonScale) >= 1))
{
return 1;
};
};
var int DIA_JAN_Dragonscales_OneTime;
func void DIA_Jan_Dragonscales_Info()
{
AI_Output(other,self,"DIA_JAN_Dragonscales_15_00"); //Я принес драконьи чешуйки.
if(Npc_HasItems(other,ItAt_DragonScale) >= 20)
{
B_GiveInvItems(other,self,ItAt_DragonScale,20);
AI_Output(self,other,"DIA_JAN_Dragonscales_10_01"); //Хорошо. Думаю, из этого что-нибудь получится.
AI_Output(self,other,"DIA_JAN_Dragonscales_10_02"); //Заходи завтра и получишь свои новые доспехи.
if(DIA_JAN_Dragonscales_OneTime == FALSE)
{
B_GivePlayerXP(XP_Addon_JanSellsArmor);
DIA_JAN_Dragonscales_OneTime = TRUE;
};
Jan_Sells_Armor = Wld_GetDay();
}
else
{
AI_Output(self,other,"DIA_JAN_Dragonscales_10_03"); //Мне нужно 20 драконьих чешуек, иначе я не смогу сделать тебе доспехи.
};
};
var int DJG_Armor_is_offered;
var int DIA_JAN_ArmorReady_NoPerm;
instance DIA_JAN_ArmorReady(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_ArmorReady_Condition;
information = DIA_Jan_ArmorReady_Info;
permanent = TRUE;
description = "Доспехи готовы?";
};
func int DIA_Jan_ArmorReady_Condition()
{
if((MIS_OCGateOpen == FALSE) && (Jan_Sells_Armor != FALSE) && (DIA_JAN_ArmorReady_NoPerm == FALSE))
{
return 1;
};
};
func void DIA_Jan_ArmorReady_Info()
{
AI_Output(other,self,"DIA_JAN_ArmorReady_15_00"); //Доспехи готовы?
if(Jan_Sells_Armor == Wld_GetDay())
{
AI_Output(self,other,"DIA_JAN_ArmorReady_10_01"); //Пока еще нет. Заходи завтра.
}
else
{
AI_Output(self,other,"DIA_JAN_ArmorReady_10_02"); //Да. Это настоящее произведение искусства. Ты можешь купить их, если хочешь.
AI_Output(self,other,"DIA_JAN_ArmorReady_10_03"); //Для тебя особая цена. 12,000 золотых монет.
AI_Output(other,self,"DIA_JAN_ArmorReady_15_04"); //Что!? И это после всего, что я сделал для тебя
AI_Output(self,other,"DIA_JAN_ArmorReady_10_05"); //Ну не надо так. Мне же тоже нужно зарабатывать на жизнь. Не хочешь, не бери.
DJG_Armor_is_offered = TRUE;
DIA_JAN_ArmorReady_NoPerm = TRUE;
};
};
var int Jan_DIA_Jan_DJG_ARMOR_M_permanent;
instance DIA_Jan_DJG_ARMOR_M(C_Info)
{
npc = DJG_714_Jan;
nr = 4;
condition = DIA_Jan_DJG_ARMOR_M_Condition;
information = DIA_Jan_DJG_ARMOR_M_Info;
permanent = TRUE;
description = "Средние доспехи охотника на драконов: Защита: оружие 80, стрелы 80. (12000 золота)";
};
func int DIA_Jan_DJG_ARMOR_M_Condition()
{
if((Jan_DIA_Jan_DJG_ARMOR_M_permanent == FALSE) && (hero.guild == GIL_DJG) && (DJG_Armor_is_offered == TRUE))
{
return TRUE;
};
};
func void DIA_Jan_DJG_ARMOR_M_Info()
{
AI_Output(other,self,"DIA_Jan_DJG_ARMOR_M_15_00"); //Я хочу купить эти доспехи.
if(Npc_HasItems(other,ItMi_Gold) >= 12000)
{
AI_Output(self,other,"DIA_Jan_DJG_ARMOR_M_10_01"); //Ты увидишь, они стоят своих денег.
B_GiveInvItems(other,self,ItMi_Gold,12000);
CreateInvItems(self,itar_djg_m,1);
B_GiveInvItems(self,other,itar_djg_m,1);
Jan_DIA_Jan_DJG_ARMOR_M_permanent = TRUE;
}
else
{
AI_Output(self,other,"DIA_Jan_DJG_ARMOR_M_10_02"); //У тебя недостаточно золота.
};
};
instance DIA_Jan_DragonPlettBericht(C_Info)
{
npc = DJG_714_Jan;
nr = 3;
condition = DIA_Jan_DragonPlettBericht_Condition;
information = DIA_Jan_DragonPlettBericht_Info;
description = "Насчет драконов ...";
};
var int DIA_Jan_DragonPlettBericht_NoPerm;
func int DIA_Jan_DragonPlettBericht_Condition()
{
if((Kapitel >= 4) && Npc_KnowsInfo(other,DIA_JAN_Dragons) && (DIA_Jan_DragonPlettBericht_NoPerm == FALSE) && (MIS_OCGateOpen == FALSE) && (MIS_KilledDragons != 0))
{
return TRUE;
};
};
func void DIA_Jan_DragonPlettBericht_Info()
{
if(MIS_KilledDragons == 1)
{
AI_Output(other,self,"DIA_Jan_DragonPlettBericht_15_00"); //Я убил дракона.
}
else if((MIS_KilledDragons == 2) || (MIS_KilledDragons == 3))
{
AI_Output(other,self,"DIA_Jan_DragonPlettBericht_15_01"); //Я убил несколько драконов.
}
else
{
AI_Output(other,self,"DIA_Jan_DragonPlettBericht_15_02"); //Я убил всех драконов.
};
if(hero.guild == GIL_DJG)
{
AI_Output(self,other,"DIA_Jan_DragonPlettBericht_10_03"); //И что? Ты ведь охотник на драконов, разве нет?
AI_Output(other,self,"DIA_Jan_DragonPlettBericht_15_04"); //А ты разве нет?
}
else
{
AI_Output(self,other,"DIA_Jan_DragonPlettBericht_10_05"); //Да, конечно, но если честно, то мне это не интересно.
};
AI_Output(self,other,"DIA_Jan_DragonPlettBericht_10_06"); //Я уже говорил тебе, мне больше нравится делать оружие, чем убивать драконов.
if((hero.guild != GIL_DJG) && (hero.guild != GIL_SLD))
{
AI_Output(self,other,"DIA_Jan_DragonPlettBericht_10_07"); //Впрочем, есть кое-что, что может заинтересовать меня.
AI_Output(self,other,"DIA_Jan_DragonPlettBericht_10_08"); //Если бы ты принес мне драконьей крови, я бы хорошо заплатил за нее.
Jan_WantsDragonBlood = TRUE;
};
};
instance DIA_Jan_DragonBlood(C_Info)
{
npc = DJG_714_Jan;
nr = 3;
condition = DIA_Jan_DragonBlood_Condition;
information = DIA_Jan_DragonBlood_Info;
permanent = TRUE;
description = "Я принес тебе драконью кровь.";
};
func int DIA_Jan_DragonBlood_Condition()
{
if((Jan_WantsDragonBlood == TRUE) && (MIS_OCGateOpen == FALSE) && Npc_HasItems(other,ItAt_DragonBlood) && ((hero.guild != GIL_DJG) && (hero.guild != GIL_SLD)))
{
return TRUE;
};
};
func void DIA_Jan_DragonBlood_Info()
{
AI_Output(other,self,"DIA_Jan_DragonBlood_15_00"); //Я принес тебе драконью кровь.
AI_Output(self,other,"DIA_Jan_DragonBlood_10_01"); //Отлично. Приноси мне всю кровь, что найдешь.
Info_ClearChoices(DIA_Jan_DragonBlood);
Info_AddChoice(DIA_Jan_DragonBlood,Dialog_Back,DIA_Jan_DragonBlood_BACK);
if(Npc_HasItems(other,ItAt_DragonBlood) >= 1)
{
Info_AddChoice(DIA_Jan_DragonBlood,"(Все)",DIA_Jan_DragonBlood_all);
Info_AddChoice(DIA_Jan_DragonBlood,"(Одну пробирку)",DIA_Jan_DragonBlood_1);
};
};
func void DIA_Jan_DragonBlood_BACK()
{
Info_ClearChoices(DIA_Jan_DragonBlood);
};
func void DIA_Jan_DragonBlood_1()
{
var int DragonBloodCount;
var int DragonBloodGeld;
var int XP_DJG_BringDragonBloods;
var string BloodText;
var string BloodLeft;
DragonBloodCount = 1;
B_GiveInvItems(other,self,ItAt_DragonBlood,DragonBloodCount);
XP_DJG_BringDragonBloods = DragonBloodCount * XP_AmbientKap4;
B_GivePlayerXP(XP_DJG_BringDragonBloods);
DragonBloodGeld = DragonBloodCount * Value_DragonBlood;
CreateInvItems(self,ItMi_Gold,DragonBloodGeld);
B_GiveInvItems(self,other,ItMi_Gold,DragonBloodGeld);
Info_ClearChoices(DIA_Jan_DragonBlood);
Info_AddChoice(DIA_Jan_DragonBlood,Dialog_Back,DIA_Jan_DragonBlood_BACK);
if(Npc_HasItems(other,ItAt_DragonBlood) >= 1)
{
Info_AddChoice(DIA_Jan_DragonBlood,"(Все)",DIA_Jan_DragonBlood_all);
Info_AddChoice(DIA_Jan_DragonBlood,"(Одну пробирку)",DIA_Jan_DragonBlood_1);
};
BloodLeft = IntToString(Npc_HasItems(other,ItAt_DragonBlood));
BloodText = ConcatStrings(BloodLeft,PRINT_NumberLeft);
AI_PrintScreen(BloodText,-1,-1,FONT_ScreenSmall,2);
};
func void DIA_Jan_DragonBlood_all()
{
var int DragonBloodCount;
var int DragonBloodGeld;
var int XP_DJG_BringDragonBloods;
var string BloodText;
var string BloodLeft;
DragonBloodCount = Npc_HasItems(other,ItAt_DragonBlood);
B_GiveInvItems(other,self,ItAt_DragonBlood,DragonBloodCount);
XP_DJG_BringDragonBloods = DragonBloodCount * XP_AmbientKap4;
B_GivePlayerXP(XP_DJG_BringDragonBloods);
DragonBloodGeld = DragonBloodCount * Value_DragonBlood;
CreateInvItems(self,ItMi_Gold,DragonBloodGeld);
B_GiveInvItems(self,other,ItMi_Gold,DragonBloodGeld);
Info_ClearChoices(DIA_Jan_DragonBlood);
Info_AddChoice(DIA_Jan_DragonBlood,Dialog_Back,DIA_Jan_DragonBlood_BACK);
if(Npc_HasItems(other,ItAt_DragonBlood) >= 1)
{
Info_AddChoice(DIA_Jan_DragonBlood,"(Все)",DIA_Jan_DragonBlood_all);
Info_AddChoice(DIA_Jan_DragonBlood,"(Одну пробирку)",DIA_Jan_DragonBlood_1);
};
BloodLeft = IntToString(Npc_HasItems(other,ItAt_DragonBlood));
BloodText = ConcatStrings(BloodLeft,PRINT_NumberLeft);
AI_PrintScreen(BloodText,-1,-1,FONT_ScreenSmall,2);
};
instance DIA_Jan_NACHOCGATEOPEN(C_Info)
{
npc = DJG_714_Jan;
nr = 3;
condition = DIA_Jan_NACHOCGATEOPEN_Condition;
information = DIA_Jan_NACHOCGATEOPEN_Info;
permanent = TRUE;
description = "Все в порядке?";
};
func int DIA_Jan_NACHOCGATEOPEN_Condition()
{
if(MIS_OCGateOpen == TRUE)
{
return TRUE;
};
};
func void DIA_Jan_NACHOCGATEOPEN_Info()
{
AI_Output(other,self,"DIA_Jan_NACHOCGATEOPEN_15_00"); //Все в порядке?
AI_Output(self,other,"DIA_Jan_NACHOCGATEOPEN_10_01"); //Абсолютно ничего не ясно!
if(hero.guild == GIL_PAL)
{
AI_Output(self,other,"DIA_Jan_NACHOCGATEOPEN_10_02"); //Зачем эти идиоты открыли ворота? Вы, паладины, ни на что не годитесь!
}
else
{
AI_Output(self,other,"DIA_Jan_NACHOCGATEOPEN_10_03"); //Они вот так вот просто взяли и открыли ворота. Идиоты! Мне такое не понять.
};
AI_StopProcessInfos(self);
};
instance DIA_Jan_PICKPOCKET(C_Info)
{
npc = DJG_714_Jan;
nr = 900;
condition = DIA_Jan_PICKPOCKET_Condition;
information = DIA_Jan_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_40;
};
func int DIA_Jan_PICKPOCKET_Condition()
{
return C_Beklauen(37,95);
};
func void DIA_Jan_PICKPOCKET_Info()
{
Info_ClearChoices(DIA_Jan_PICKPOCKET);
Info_AddChoice(DIA_Jan_PICKPOCKET,Dialog_Back,DIA_Jan_PICKPOCKET_BACK);
Info_AddChoice(DIA_Jan_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Jan_PICKPOCKET_DoIt);
};
func void DIA_Jan_PICKPOCKET_DoIt()
{
B_Beklauen();
Info_ClearChoices(DIA_Jan_PICKPOCKET);
};
func void DIA_Jan_PICKPOCKET_BACK()
{
Info_ClearChoices(DIA_Jan_PICKPOCKET);
};
|
D
|
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Port to the D programming language:
* Bill Baxter <bill@billbaxter.com>
*******************************************************************************/
module menu.Snippet152;
/*
* Control example snippet: update a status line when an item is armed
*
* For a list of all SWT example snippets see
* http://www.eclipse.org/swt/snippets/
*
* @since 3.0
*/
import dwt.DWT;
import dwt.widgets.Display;
import dwt.widgets.Shell;
import dwt.widgets.Event;
import dwt.widgets.Listener;
import dwt.widgets.Label;
import dwt.widgets.Menu;
import dwt.widgets.MenuItem;
import dwt.layout.FormLayout;
import dwt.layout.FormData;
import dwt.layout.FormAttachment;
void main() {
Display display = new Display();
Shell shell = new Shell(display);
FormLayout layout = new FormLayout();
shell.setLayout(layout);
Label label = new Label(shell, DWT.BORDER);
Listener armListener = new class Listener {
public void handleEvent(Event event) {
MenuItem item = cast(MenuItem) event.widget;
label.setText(item.getText());
label.update();
}
};
Listener showListener = new class Listener {
public void handleEvent(Event event) {
Menu menu = cast(Menu) event.widget;
MenuItem item = menu.getParentItem();
if (item !is null) {
label.setText(item.getText());
label.update();
}
}
};
Listener hideListener = new class Listener {
public void handleEvent(Event event) {
label.setText("");
label.update();
}
};
FormData labelData = new FormData();
labelData.left = new FormAttachment(0);
labelData.right = new FormAttachment(100);
labelData.bottom = new FormAttachment(100);
label.setLayoutData(labelData);
Menu menuBar = new Menu(shell, DWT.BAR);
shell.setMenuBar(menuBar);
MenuItem fileItem = new MenuItem(menuBar, DWT.CASCADE);
fileItem.setText("File");
fileItem.addListener(DWT.Arm, armListener);
MenuItem editItem = new MenuItem(menuBar, DWT.CASCADE);
editItem.setText("Edit");
editItem.addListener(DWT.Arm, armListener);
Menu fileMenu = new Menu(shell, DWT.DROP_DOWN);
fileMenu.addListener(DWT.Hide, hideListener);
fileMenu.addListener(DWT.Show, showListener);
fileItem.setMenu(fileMenu);
char[][] fileStrings = [ "New", "Close", "Exit" ];
for (int i = 0; i < fileStrings.length; i++) {
MenuItem item = new MenuItem(fileMenu, DWT.PUSH);
item.setText(fileStrings[i]);
item.addListener(DWT.Arm, armListener);
}
Menu editMenu = new Menu(shell, DWT.DROP_DOWN);
editMenu.addListener(DWT.Hide, hideListener);
editMenu.addListener(DWT.Show, showListener);
char[][] editStrings = [ "Cut", "Copy", "Paste" ];
editItem.setMenu(editMenu);
for (int i = 0; i < editStrings.length; i++) {
MenuItem item = new MenuItem(editMenu, DWT.PUSH);
item.setText(editStrings[i]);
item.addListener(DWT.Arm, armListener);
}
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) display.sleep();
}
display.dispose();
}
|
D
|
/*
TEST_OUTPUT:
---
fail_compilation/b20780.d(12): Error: @identifier or @(ArgumentList) expected, not `@)`
fail_compilation/b20780.d(12): Error: valid attributes are `@property`, `@safe`, `@trusted`, `@system`, `@disable`, `@nogc`
fail_compilation/b20780.d(13): Error: @identifier or @(ArgumentList) expected, not `@,`
fail_compilation/b20780.d(13): Error: valid attributes are `@property`, `@safe`, `@trusted`, `@system`, `@disable`, `@nogc`
fail_compilation/b20780.d(13): Error: basic type expected, not `,`
---
*/
void f(@){}
void g(@,){}
|
D
|
module android.java.java.nio.channels.Pipe_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.nio.channels.Pipe_d_interface;
import import0 = android.java.java.nio.channels.Pipe_SourceChannel_d_interface;
import import1 = android.java.java.nio.channels.Pipe_SinkChannel_d_interface;
import import3 = android.java.java.lang.Class_d_interface;
final class Pipe : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import import0.Pipe_SourceChannel source();
@Import import1.Pipe_SinkChannel sink();
@Import static import2.Pipe open();
@Import import3.Class getClass();
@Import int hashCode();
@Import bool equals(IJavaObject);
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Ljava/nio/channels/Pipe;";
}
|
D
|
/* Converted to D from gsl_const_mks.h by htod
* and edited by daniel truemper <truemped.dsource <with> hence22.org>
*/
module auxc.gsl.gsl_const_mks;
/* const/gsl_const_mks.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
* 2006 Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
|
D
|
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/App.build/Models/KSModel.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/configure.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/Log.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/KSModel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/Session.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/app.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/RecordsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/LogsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/SessionsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/routes.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/boot.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/SQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/PostgreSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/FluentSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/HTTP.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Validation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Vapor.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/WebSocket.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOWebSocket.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/TemplateKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Fluent.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/asn1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/tls1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pem2.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.9.2/include/openssl/md5.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509.h /usr/local/Cellar/libressl/2.9.2/include/openssl/sha.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dsa.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.9.2/include/openssl/rsa.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /usr/local/Cellar/libressl/2.9.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.9.2/include/openssl/hmac.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ec.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/2.9.2/include/openssl/rand.h /usr/local/Cellar/libressl/2.9.2/include/openssl/conf.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dh.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.9.2/include/openssl/lhash.h /usr/local/Cellar/libressl/2.9.2/include/openssl/stack.h /usr/local/Cellar/libressl/2.9.2/include/openssl/safestack.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pem.h /usr/local/Cellar/libressl/2.9.2/include/openssl/bn.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/2.9.2/include/openssl/bio.h /usr/local/Cellar/libressl/2.9.2/include/openssl/crypto.h /usr/local/Cellar/libressl/2.9.2/include/openssl/srtp.h /usr/local/Cellar/libressl/2.9.2/include/openssl/evp.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.9.2/include/openssl/buffer.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.9.2/include/openssl/err.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.9.2/include/openssl/objects.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslv.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509_vfy.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/App.build/Models/KSModel~partial.swiftmodule : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/configure.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/Log.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/KSModel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/Session.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/app.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/RecordsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/LogsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/SessionsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/routes.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/boot.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/SQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/PostgreSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/FluentSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/HTTP.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Validation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Vapor.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/WebSocket.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOWebSocket.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/TemplateKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Fluent.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/asn1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/tls1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pem2.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.9.2/include/openssl/md5.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509.h /usr/local/Cellar/libressl/2.9.2/include/openssl/sha.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dsa.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.9.2/include/openssl/rsa.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /usr/local/Cellar/libressl/2.9.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.9.2/include/openssl/hmac.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ec.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/2.9.2/include/openssl/rand.h /usr/local/Cellar/libressl/2.9.2/include/openssl/conf.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dh.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.9.2/include/openssl/lhash.h /usr/local/Cellar/libressl/2.9.2/include/openssl/stack.h /usr/local/Cellar/libressl/2.9.2/include/openssl/safestack.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pem.h /usr/local/Cellar/libressl/2.9.2/include/openssl/bn.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/2.9.2/include/openssl/bio.h /usr/local/Cellar/libressl/2.9.2/include/openssl/crypto.h /usr/local/Cellar/libressl/2.9.2/include/openssl/srtp.h /usr/local/Cellar/libressl/2.9.2/include/openssl/evp.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.9.2/include/openssl/buffer.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.9.2/include/openssl/err.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.9.2/include/openssl/objects.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslv.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509_vfy.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/App.build/Models/KSModel~partial.swiftdoc : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/configure.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/Log.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/KSModel.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Models/Session.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/app.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/RecordsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/LogsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/Controllers/SessionsController.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/routes.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/Sources/App/boot.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/SQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/PostgreSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/FluentSQL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOOpenSSL.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/HTTP.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOTLS.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Random.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Validation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Crypto.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Vapor.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/WebSocket.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOWebSocket.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/TemplateKit.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Fluent.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/asn1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/tls1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pem2.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.9.2/include/openssl/md5.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509.h /usr/local/Cellar/libressl/2.9.2/include/openssl/sha.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dsa.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.9.2/include/openssl/rsa.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /usr/local/Cellar/libressl/2.9.2/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.9.2/include/openssl/hmac.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ec.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /usr/local/Cellar/libressl/2.9.2/include/openssl/rand.h /usr/local/Cellar/libressl/2.9.2/include/openssl/conf.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.9.2/include/openssl/dh.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.9.2/include/openssl/lhash.h /usr/local/Cellar/libressl/2.9.2/include/openssl/stack.h /usr/local/Cellar/libressl/2.9.2/include/openssl/safestack.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ssl.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.9.2/include/openssl/pem.h /usr/local/Cellar/libressl/2.9.2/include/openssl/bn.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /usr/local/Cellar/libressl/2.9.2/include/openssl/bio.h /usr/local/Cellar/libressl/2.9.2/include/openssl/crypto.h /usr/local/Cellar/libressl/2.9.2/include/openssl/srtp.h /usr/local/Cellar/libressl/2.9.2/include/openssl/evp.h /usr/local/Cellar/libressl/2.9.2/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.9.2/include/openssl/buffer.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.9.2/include/openssl/err.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.9.2/include/openssl/objects.h /usr/local/Cellar/libressl/2.9.2/include/openssl/opensslv.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /usr/local/Cellar/libressl/2.9.2/include/openssl/x509_vfy.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CBase32/include/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/CBcrypt/include/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-ssl-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
#!/usr/bin/env rdmd
// "2 to the 5th" programming competition @ engineering.cerner.com
//
// Read in the ASCII art file and simply print it to the console.
// Note: This assumes you are executing "rdmd art.d" in the current
// working directory.
import std.stdio;
import std.string;
void main()
{
File file = File("../art/alan.txt", "r");
while (!file.eof()) {
writeln(chomp(file.readln()));
}
}
|
D
|
/**
* Image module.
*
* License:
* MIT. See LICENSE for full details.
*/
module tkd.image;
public import tkd.image.gif;
public import tkd.image.image;
public import tkd.image.imageformat;
public import tkd.image.imageposition;
public import tkd.image.png;
|
D
|
/Users/edward.wangcrypto.com/study/substrate_lesson_advance/lesson_work/substrate_advance_lesson/lesson_5/target/release/deps/thiserror-e61c5c41b52a73b7.rmeta: /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/lib.rs /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/aserror.rs /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/display.rs
/Users/edward.wangcrypto.com/study/substrate_lesson_advance/lesson_work/substrate_advance_lesson/lesson_5/target/release/deps/libthiserror-e61c5c41b52a73b7.rlib: /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/lib.rs /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/aserror.rs /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/display.rs
/Users/edward.wangcrypto.com/study/substrate_lesson_advance/lesson_work/substrate_advance_lesson/lesson_5/target/release/deps/thiserror-e61c5c41b52a73b7.d: /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/lib.rs /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/aserror.rs /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/display.rs
/Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/lib.rs:
/Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/aserror.rs:
/Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.29/src/display.rs:
|
D
|
/*
TEST_OUTPUT:
---
fail_compilation/test13667.d(112): Error: cannot cast expression `this` of type `const(Array1!int)` to `Array1!int*`
fail_compilation/test13667.d(116): Error: template instance `test13667.Array1!int` error instantiating
fail_compilation/test13667.d(121): Error: cannot cast expression `this` of type `const(Array2!int)` to `B*`
fail_compilation/test13667.d(125): Error: template instance `test13667.Array2!int` error instantiating
fail_compilation/test13667.d(136): Error: cannot cast expression `this` of type `const(Array3!int)` to `C*`
fail_compilation/test13667.d(140): Error: template instance `test13667.Array3!int` error instantiating
fail_compilation/test13667.d(151): Error: cannot cast expression `this` of type `const(Array4!int)` to `D*`
fail_compilation/test13667.d(155): Error: template instance `test13667.Array4!int` error instantiating
fail_compilation/test13667.d(172): Error: cannot cast expression `this` of type `const(Array5!int)` to `F*`
fail_compilation/test13667.d(176): Error: template instance `test13667.Array5!int` error instantiating
---
*/
// https://issues.dlang.org/show_bug.cgi?id=13667
#line 100
// 0, no error but also crashed before
struct Array0(T)
{
Array0!(T) impConv() const { return cast(typeof(return))this; }
alias impConv this;
}
alias AI0 = Array0!int;
// 1
struct Array1(T)
{
Array1!(T) impConv() const { return *cast(typeof(return)*)this; }
alias impConv this;
}
alias AI1 = Array1!int;
// 2
struct Array2(T)
{
B impConv() const { return cast(B*)this; }
alias impConv this;
}
alias AI2 = Array2!int;
struct B
{
AI2 get() { return AI2(); }
alias get this;
}
// 3
struct Array3(T)
{
C impConv() const { return cast(C*)this; }
alias impConv this;
}
alias AI3 = Array3!int;
struct C
{
C get() { return C(); }
alias get this;
}
// 4
struct Array4(T)
{
D impConv() const { return cast(D*)this; }
alias impConv this;
}
alias AI4 = Array4!int;
struct D
{
E get() { return E(); }
alias get this;
}
struct E
{
AI4 ai;
alias ai this;
}
// 5: test enum based on struct, needed to use base type (toBasetype())
struct Array5(T)
{
F impConv() const { return cast(F*)this; }
alias impConv this;
}
alias AI5 = Array5!int;
enum F : AI5
{
f = AI5()
}
|
D
|
module hunt.wechat.bean.datacube.interfaces.InterfacesummaryResult;
import hunt.collection.List;
class InterfacesummaryResult {
private List!(Interfacesummary) list;
public List!(Interfacesummary) getList() {
return list;
}
public void setList(List!(Interfacesummary) list) {
this.list = list;
}
}
|
D
|
/*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package androidx.slice;
import static androidx.core.content.PermissionChecker.PERMISSION_DENIED;
import static androidx.core.content.PermissionChecker.PERMISSION_GRANTED;
import static org.junit.Assert.assertEquals;
import android.content.Context;
import android.content.pm.PackageManager.NameNotFoundException;
import android.net.Uri;
import android.os.Process;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
@SmallTest
public class SlicePermissionTest {
private static final Uri BASE_URI = Uri.parse("content://androidx.slice.view.test/");
private final Context mContext = InstrumentationRegistry.getContext();
private String mTestPkg;
private int mTestUid;
private int mTestPid;
private SliceManager mSliceManager;
@Before
public void setup() throws NameNotFoundException {
mSliceManager = SliceManager.getInstance(mContext);
mTestPkg = mContext.getPackageName();
mTestUid = mContext.getPackageManager().getPackageUid(mTestPkg, 0);
mTestPid = Process.myPid();
}
@After
public void tearDown() {
mSliceManager.revokeSlicePermission(mTestPkg, BASE_URI);
}
@Test
public void testGrant() {
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, BASE_URI);
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
}
@Test
public void testGrantParent() {
Uri uri = BASE_URI.buildUpon()
.appendPath("something")
.build();
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, BASE_URI);
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
}
@Test
public void testGrantParentExpands() {
Uri uri = BASE_URI.buildUpon()
.appendPath("something")
.build();
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, uri);
// Only sub-path granted.
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, BASE_URI);
// Now all granted.
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
}
@Test
public void testGrantChild() {
Uri uri = BASE_URI.buildUpon()
.appendPath("something")
.build();
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, uri);
// Still no permission because only a child was granted
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
}
@Test
public void testRevoke() {
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, BASE_URI);
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
mSliceManager.revokeSlicePermission(mTestPkg, BASE_URI);
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
}
@Test
public void testRevokeParent() {
Uri uri = BASE_URI.buildUpon()
.appendPath("something")
.build();
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, uri);
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
mSliceManager.revokeSlicePermission(mTestPkg, BASE_URI);
// Revoked because parent was revoked
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(uri, mTestPid, mTestUid));
}
@Test
public void testRevokeChild() {
Uri uri = BASE_URI.buildUpon()
.appendPath("something")
.build();
assertEquals(PERMISSION_DENIED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
mSliceManager.grantSlicePermission(mTestPkg, BASE_URI);
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
mSliceManager.revokeSlicePermission(mTestPkg, uri);
// Not revoked because child was revoked.
assertEquals(PERMISSION_GRANTED,
mSliceManager.checkSlicePermission(BASE_URI, mTestPid, mTestUid));
}
}
|
D
|
/Users/yinheng/Desktop/code/node/rs/httpie/target/debug/deps/libproc_macro_error_attr-34e90f3dc62613ba.dylib: /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/lib.rs /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/parse.rs /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/settings.rs
/Users/yinheng/Desktop/code/node/rs/httpie/target/debug/deps/proc_macro_error_attr-34e90f3dc62613ba.d: /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/lib.rs /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/parse.rs /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/settings.rs
/Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/lib.rs:
/Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/parse.rs:
/Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/src/settings.rs:
|
D
|
///* Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
// * distributed under the License is distributed on an "AS IS" BASIS,
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// * See the License for the specific language governing permissions and
// * limitations under the License.
// */
//
//
//import static flow.engine.impl.test.TestHelper.EMPTY_LINE;
//
//import java.util.Arrays;
//import hunt.collection.HashSet;
//import hunt.collection.List;
//import hunt.collection.Map;
//import hunt.collection.Set;
//
//import flow.common.api.FlowableOptimisticLockingException;
//import flow.common.db.SchemaManager;
//import flow.common.interceptor.Command;
//import flow.common.interceptor.CommandConfig;
//import flow.common.interceptor.CommandContext;
//import flow.common.interceptor.CommandExecutor;
//import flow.common.test.CleanTest;
//import flow.common.test.EnsureCleanDb;
//import flow.engine.ManagementService;
//import flow.engine.ProcessEngine;
//import flow.engine.ProcessEngineConfiguration;
//import flow.engine.RepositoryService;
//import flow.engine.impl.cfg.ProcessEngineConfigurationImpl;
//import flow.engine.impl.history.DefaultHistoryManager;
//import flow.engine.impl.history.HistoryManager;
//import flow.engine.impl.util.CommandContextUtil;
//import flow.engine.test.Deployment;
//import flow.engine.test.DeploymentId;
//import flow.job.service.api.HistoryJob;
//import org.junit.jupiter.api.TestInstance;
//import org.junit.jupiter.api.extension.AfterAllCallback;
//import org.junit.jupiter.api.extension.AfterEachCallback;
//import org.junit.jupiter.api.extension.BeforeEachCallback;
//import org.junit.jupiter.api.extension.ExtensionContext;
//import org.junit.jupiter.api.extension.ParameterContext;
//import org.junit.jupiter.api.extension.ParameterResolver;
//import org.junit.platform.commons.support.AnnotationSupport;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//
///**
// * Base internal extension for JUnit Jupiter. This is a basis for other internal extensions. It allows:
// * <ul>
// * <li>
// * Performs a deployment before each test when a test method is annotated with {@link Deployment}
// * </li>
// * <li>
// * Validates the history data after each test
// * </li>
// * <li>
// * Delete history jobs and deployment after each test
// * </li>
// * <li>
// * Assert and ensure a clean db after each test or after all tests (depending on the {@link TestInstance.Lifecycle}.
// * </li>
// * <li>
// * Support for injecting the {@link ProcessEngine}, services, {@link ProcessEngineConfiguration} and the id of the deployment done via
// * {@link Deployment} into test methods and lifecycle methods within tests.
// * </li>
// * </ul>
// * @author Filip Hrisafov
// */
//abstract class InternalFlowableExtension implements AfterEachCallback, BeforeEachCallback, AfterAllCallback, ParameterResolver {
//
// protected static final string ANNOTATION_DEPLOYMENT_ID_KEY = "deploymentIdFromDeploymentAnnotation";
//
// protected final Logger logger = LoggerFactory.getLogger(getClass());
//
// override
// public void beforeEach(ExtensionContext context) {
// ProcessEngine processEngine = getProcessEngine(context);
//
// AnnotationSupport.findAnnotation(context.getTestMethod(), Deployment.class)
// .ifPresent(deployment -> {
// string deploymentIdFromDeploymentAnnotation = TestHelper
// .annotationDeploymentSetUp(processEngine, context.getRequiredTestClass(), context.getRequiredTestMethod(), deployment);
// getStore(context).put(context.getUniqueId() + ANNOTATION_DEPLOYMENT_ID_KEY, deploymentIdFromDeploymentAnnotation);
// });
// }
//
// override
// public void afterEach(ExtensionContext context) throws Exception {
// ProcessEngine processEngine = getProcessEngine(context);
//
// // Always reset authenticated user to avoid any mistakes
// processEngine.getIdentityService().setAuthenticatedUserId(null);
//
// try {
// AbstractFlowableTestCase.validateHistoryData(processEngine);
// } finally {
// doFinally(context, TestInstance.Lifecycle.PER_METHOD);
// }
// }
//
// override
// public void afterAll(ExtensionContext context) throws Exception {
// doFinally(context, TestInstance.Lifecycle.PER_CLASS);
// }
//
// protected void doFinally(ExtensionContext context, TestInstance.Lifecycle lifecycleForClean) {
// ProcessEngine processEngine = getProcessEngine(context);
// ProcessEngineConfigurationImpl processEngineConfiguration = (ProcessEngineConfigurationImpl) processEngine.getProcessEngineConfiguration();
// bool isAsyncHistoryEnabled = processEngineConfiguration.isAsyncHistoryEnabled();
//
// if (isAsyncHistoryEnabled) {
// ManagementService managementService = processEngine.getManagementService();
// List!HistoryJob jobs = managementService.createHistoryJobQuery().list();
// for (HistoryJob job : jobs) {
// managementService.deleteHistoryJob(job.getId());
// }
// }
//
// HistoryManager asyncHistoryManager = null;
// try {
// if (isAsyncHistoryEnabled) {
// processEngineConfiguration.setAsyncHistoryEnabled(false);
// asyncHistoryManager = processEngineConfiguration.getHistoryManager();
// processEngineConfiguration
// .setHistoryManager(new DefaultHistoryManager(processEngineConfiguration,
// processEngineConfiguration.getHistoryLevel(), processEngineConfiguration.isUsePrefixId()));
// }
//
// string annotationDeploymentKey = context.getUniqueId() + ANNOTATION_DEPLOYMENT_ID_KEY;
// string deploymentIdFromDeploymentAnnotation = getStore(context).get(annotationDeploymentKey, string.class);
// if (deploymentIdFromDeploymentAnnotation !is null) {
// TestHelper.annotationDeploymentTearDown(processEngine, deploymentIdFromDeploymentAnnotation, context.getRequiredTestClass(),
// context.getRequiredTestMethod().getName());
// getStore(context).remove(annotationDeploymentKey);
// }
//
// AnnotationSupport.findAnnotation(context.getTestMethod(), CleanTest.class)
// .ifPresent(cleanTest -> removeDeployments(processEngine.getRepositoryService()));
//
// AbstractFlowableTestCase.cleanDeployments(processEngine);
//
// if (context.getTestInstanceLifecycle().orElse(TestInstance.Lifecycle.PER_METHOD) == lifecycleForClean
// && processEngineConfiguration.isUsingRelationalDatabase()) { // the logic only is applicable to a relational database with tables
// cleanTestAndAssertAndEnsureCleanDb(context, processEngine);
// }
//
// } finally {
//
// if (isAsyncHistoryEnabled) {
// processEngineConfiguration.setAsyncHistoryEnabled(true);
// processEngineConfiguration.setHistoryManager(asyncHistoryManager);
// }
//
// processEngineConfiguration.getClock().reset();
// }
// }
//
// protected void cleanTestAndAssertAndEnsureCleanDb(ExtensionContext context, ProcessEngine processEngine) {
// AnnotationSupport.findAnnotation(context.getRequiredTestClass(), CleanTest.class)
// .ifPresent(cleanTest -> removeDeployments(getProcessEngine(context).getRepositoryService()));
// AnnotationSupport.findAnnotation(context.getRequiredTestClass(), EnsureCleanDb.class)
// .ifPresent(ensureCleanDb -> assertAndEnsureCleanDb(processEngine, context, ensureCleanDb));
// }
//
// /**
// * Each test is assumed to clean up all DB content it entered. After a test method executed, this method scans all tables to see if the DB is completely clean. It throws AssertionFailed in case
// * the DB is not clean. If the DB is not clean, it is cleaned by performing a create a drop.
// */
// protected void assertAndEnsureCleanDb(ProcessEngine processEngine, ExtensionContext context, EnsureCleanDb ensureCleanDb) {
// logger.debug("verifying that db is clean after test");
// Set!string tableNamesExcludedFromDbCleanCheck = new HashSet<>(Arrays.asList(ensureCleanDb.excludeTables()));
// ManagementService managementService = processEngine.getManagementService();
// ProcessEngineConfiguration processEngineConfiguration = processEngine.getProcessEngineConfiguration();
// Map!(string, Long) tableCounts = managementService.getTableCount();
// StringBuilder outputMessage = new StringBuilder();
// for (string tableName : tableCounts.keySet()) {
// string tableNameWithoutPrefix = tableName.replace(processEngineConfiguration.getDatabaseTablePrefix(), "");
// if (!tableNamesExcludedFromDbCleanCheck.contains(tableNameWithoutPrefix)) {
// Long count = tableCounts.get(tableName);
// if (count != 0L) {
// outputMessage.append(" ").append(tableName).append(": ").append(count).append(" record(s) ");
// }
// }
// }
// if (outputMessage.length() > 0) {
// outputMessage.insert(0, "DB NOT CLEAN: \n");
// logger.error(EMPTY_LINE);
// logger.error(outputMessage.toString());
//
// logger.info("dropping and recreating db");
//
// if (ensureCleanDb.dropDb()) {
// CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutor();
// CommandConfig config = new CommandConfig().transactionNotSupported();
// commandExecutor.execute(config, new Command!Object() {
//
// override
// public Object execute(CommandContext commandContext) {
// SchemaManager schemaManager = CommandContextUtil.getProcessEngineConfiguration(commandContext).getSchemaManager();
// schemaManager.schemaDrop();
// schemaManager.schemaCreate();
// return null;
// }
// });
// }
//
// if (!context.getExecutionException().isPresent()) {
// throw new AssertionError(outputMessage.toString());
// }
// } else {
// logger.info("database was clean");
// }
// }
//
// protected void removeDeployments(RepositoryService repositoryService) {
// for (flow.engine.repository.Deployment deployment : repositoryService.createDeploymentQuery().list()) {
// try {
// repositoryService.deleteDeployment(deployment.getId(), true);
// } catch (FlowableOptimisticLockingException flowableOptimisticLockingException) {
// logger.warn("Caught exception, retrying", flowableOptimisticLockingException);
// repositoryService.deleteDeployment(deployment.getId(), true);
// }
// }
// }
//
// override
// public bool supportsParameter(ParameterContext parameterContext, ExtensionContext context) {
// Class<?> parameterType = parameterContext.getParameter().getType();
// return ProcessEngine.class.equals(parameterType) || parameterContext.isAnnotated(DeploymentId.class);
// }
//
// override
// public Object resolveParameter(ParameterContext parameterContext, ExtensionContext context) {
// if (parameterContext.isAnnotated(DeploymentId.class)) {
// return getStore(context).get(context.getUniqueId() + ANNOTATION_DEPLOYMENT_ID_KEY, string.class);
// }
// return getProcessEngine(context);
// }
//
// protected abstract ProcessEngine getProcessEngine(ExtensionContext context);
//
// protected abstract ExtensionContext.Store getStore(ExtensionContext context);
//}
|
D
|
// EXTRA_SOURCES: imports/test40a.d
// PERMUTE_ARGS:
// REQUIRED_ARGS:
import std.stdio;
import imports.test40a;
class Foo {
mixin Mix;
}
void main() {
Bar.foobar();
}
|
D
|
* KELVIN LABORATORY, UNIVERSITY OF GLASGOW
* Default configuration data for STR200 fastbus scaler
* JRM Annand 28th Sept 1990
* JRM Annand 18th Jan 1991 reg 11(hex) set for read & clear
* Register Subaddr Data
0x3 0
0x7 0
0x10 0
0x11 ffffffff
0x12 ffffffff
|
D
|
// MVC - a TreeStore example using append() to populate the model
import std.stdio;
import std.string;
import gtk.MainWindow;
import gtk.Main;
import gtk.Widget;
import gtk.Box;
import gtk.ScrolledWindow;
import gtk.TreeView;
import gtk.TreeStore;
import gtk.TreeIter;
import gtk.TreePath;
import gtk.TreeViewColumn;
import gtk.CellRendererText;
import pango.PgCairoFontMap;
import pango.PgFontMap;
import pango.PgFontFamily;
import pango.PgFontDescription;
void main(string[] args)
{
TestRigWindow testRigWindow;
Main.init(args);
testRigWindow = new TestRigWindow();
Main.run();
} // main()
class TestRigWindow : MainWindow
{
string title = "TreeStore (multi-append)";
AppBox appBox;
int minimumWidth, naturalWidth, minimumHeight, naturalHeight;
this()
{
super(title);
setSizeRequest(250, 250);
addOnDestroy(&quitApp);
appBox = new AppBox();
add(appBox);
showAll();
} // this() CONSTRUCTOR
void quitApp(Widget widget)
{
writeln("Bye.");
Main.quit();
} // quitApp()
} // class TestRigWindow
class AppBox : Box
{
int globalPadding = 10;
int localPadding = 0;
bool expand = true, fill = true;
MyScrolledWindow myScrolledWindow;
this()
{
super(Orientation.VERTICAL, globalPadding);
myScrolledWindow = new MyScrolledWindow();
packStart(myScrolledWindow, expand, fill, localPadding);
} // this()
} // class AppBox
class MyScrolledWindow : ScrolledWindow
{
MyTreeView myTreeView;
this()
{
myTreeView = new MyTreeView();
super();
add(myTreeView);
} // this()
} // class MyScrolledWindow
public class MyTreeView : TreeView
{
FamilyTreeStore familyTreeStore;
ParentColumn parentColumn;
ChildColumn childColumn;
this()
{
super();
familyTreeStore = new FamilyTreeStore();
setModel(familyTreeStore);
parentColumn = new ParentColumn();
appendColumn(parentColumn);
childColumn = new ChildColumn();
appendColumn(childColumn);
} // this()
} // class MyTreeView
public class ParentColumn : TreeViewColumn
{
CellRendererText cellRendererText;
string columnTitle = "Parent";
string attributeType = "text";
int columnNumber = 0;
this()
{
cellRendererText = new CellRendererText();
super(columnTitle, cellRendererText, attributeType, columnNumber);
} // this()
} // class ParentColumn
public class ChildColumn : TreeViewColumn
{
private:
CellRendererText cellRendererText;
string columnTitle = "Children";
string attributeType = "text";
int columnNumber = 1;
public:
this()
{
cellRendererText = new CellRendererText();
super(columnTitle, cellRendererText, attributeType, columnNumber);
} // this()
} // class ChildColumn
class FamilyTreeStore : TreeStore
{
int parentColumn = 0, childColumn = 1;
TreeIter parentIter, childIter;
this()
{
super([GType.STRING, GType.STRING]);
parentIter = append(null); // first header row
setValue(parentIter, parentColumn, "Mom #1");
append(childIter, parentIter);
setValue(childIter, childColumn, "Kid #1");
append(childIter, parentIter);
setValue(childIter, childColumn, "Kid #2");
parentIter = append(null); // first header row
setValue(parentIter, parentColumn, "Dad #1");
append(childIter, parentIter);
setValue(childIter, childColumn, "Kid #3");
append(childIter, parentIter);
setValue(childIter, childColumn, "Kid #4");
parentIter = append(null); // first header row
setValue(parentIter, parentColumn, "Mom #2");
append(childIter, parentIter);
setValue(childIter, childColumn, "Kid #5");
append(childIter, parentIter);
setValue(childIter, childColumn, "Kid #6");
append(childIter, parentIter);
setValue(childIter, childColumn, "Kid #7");
} // this()
} // class FamilyTreeStore
|
D
|
the face of a timepiece
the control on a radio or television set that is used for tuning
the circular graduated indicator on various measuring instruments
a disc on a telephone that is rotated a fixed distance for each number called
operate a dial to select a telephone number
choose by means of a dial
|
D
|
/******************************************************************************
Custom DlsClient with the support for Redistribute request.
copyright:
Copyright (c) 2016-2017 sociomantic labs GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
******************************************************************************/
module dlsredist.client.DlsClient;
/******************************************************************************
Imports
******************************************************************************/
import SwarmClient = dlsproto.client.DlsClient;
/******************************************************************************
Custom DlsClient with support for Redistribute request.
******************************************************************************/
class DlsClient: SwarmClient.DlsClient
{
import swarm.util.ExtensibleClass;
import dlsproto.client.legacy.DlsConst;
import dlsproto.client.legacy.internal.RequestSetup;
import swarm.Const: NodeItem;
import dlsproto.client.legacy.internal.request.params.RedistributeInfo;
/***************************************************************************
Constructor.
Params:
epoll = EpollSelectDispatcher instance.
***************************************************************************/
public this ( EpollSelectDispatcher epoll )
{
super (epoll);
}
/**************************************************************************
Redistribute Request
**************************************************************************/
private struct Redistribute
{
mixin RequestBase;
mixin IODelegate;
mixin RequestParamsSetup;
}
public Redistribute redistribute ( RequestParams.RedistributeDg input,
RequestNotification.Callback notifier )
{
return *Redistribute(DlsConst.Command.E.Redistribute, notifier).io(input);
}
}
|
D
|
/Users/will/Code/advent_of_code/2018/10/target/release/build/memchr-49dbeafa85e4f6b8/build_script_build-49dbeafa85e4f6b8: /Users/will/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.1.2/build.rs
/Users/will/Code/advent_of_code/2018/10/target/release/build/memchr-49dbeafa85e4f6b8/build_script_build-49dbeafa85e4f6b8.d: /Users/will/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.1.2/build.rs
/Users/will/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.1.2/build.rs:
|
D
|
module dwt.internal.mozilla.nsICancelable;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
const char[] NS_ICANCELABLE_IID_STR = "d94ac0a0-bb18-46b8-844e-84159064b0bd";
const nsIID NS_ICANCELABLE_IID=
{
0xd94ac0a0, 0xbb18, 0x46b8,
[ 0x84, 0x4e, 0x84, 0x15, 0x90, 0x64, 0xb0, 0xbd ]
};
interface nsICancelable :
nsISupports
{
static const char[] IID_STR = NS_ICANCELABLE_IID_STR;
static const nsIID IID = NS_ICANCELABLE_IID;
extern(System):
nsresult Cancel(nsresult aReason);
}
|
D
|
/Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/Follow.swift.o : /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/File.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Time.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Milestone.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Issue.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/String+PercentEncoding.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Label.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Configuration.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/User.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Repositories.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Releases.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Stars.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Parameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/URL+URLParameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Octokit.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PullRequest.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Gist.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Review.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Follow.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PublicKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RunnerLib.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Require.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/MarathonCore.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Logger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Danger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerShellExecutor.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerFixtures.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Releases.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/dangertest.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/Follow~partial.swiftmodule : /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/File.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Time.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Milestone.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Issue.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/String+PercentEncoding.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Label.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Configuration.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/User.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Repositories.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Releases.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Stars.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Parameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/URL+URLParameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Octokit.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PullRequest.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Gist.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Review.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Follow.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PublicKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RunnerLib.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Require.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/MarathonCore.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Logger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Danger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerShellExecutor.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerFixtures.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Releases.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/dangertest.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/Follow~partial.swiftdoc : /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/File.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Time.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Milestone.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Issue.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/String+PercentEncoding.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Label.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Configuration.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/User.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Repositories.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Releases.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Stars.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Parameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/URL+URLParameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Octokit.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PullRequest.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Gist.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Review.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Follow.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PublicKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RunnerLib.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Require.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/MarathonCore.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Logger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Danger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerShellExecutor.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerFixtures.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Releases.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/dangertest.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/Follow~partial.swiftsourceinfo : /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/File.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Time.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Milestone.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Issue.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/String+PercentEncoding.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Label.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Configuration.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/User.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Repositories.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Releases.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Stars.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Parameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/URL+URLParameters.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Octokit.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PullRequest.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Gist.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Review.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Follow.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/PublicKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.swiftmodule /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RunnerLib.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Require.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/MarathonCore.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Logger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Danger.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerShellExecutor.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/DangerFixtures.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Releases.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RequestKit.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/dangertest.build/module.modulemap /Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
/home/uzair/iot_folder/shadowing/target/debug/deps/shadowing-8e8da4b73fad36ae.rmeta: src/main.rs
/home/uzair/iot_folder/shadowing/target/debug/deps/shadowing-8e8da4b73fad36ae.d: src/main.rs
src/main.rs:
|
D
|
/Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/TagCollectionCell.swift.o : /Users/abuzeid/workspace/DevPods/DevTag/TagCollectionCell.swift /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/DerivedSources/resource_bundle_accessor.swift /Users/abuzeid/workspace/DevPods/DevTag/LeftAlignedCollectionViewFlowLayout.swift /Users/abuzeid/workspace/DevPods/DevTag/TagView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevNetwork.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevPlayer.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevExtensions.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevComponents.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/TagCollectionCell~partial.swiftmodule : /Users/abuzeid/workspace/DevPods/DevTag/TagCollectionCell.swift /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/DerivedSources/resource_bundle_accessor.swift /Users/abuzeid/workspace/DevPods/DevTag/LeftAlignedCollectionViewFlowLayout.swift /Users/abuzeid/workspace/DevPods/DevTag/TagView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevNetwork.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevPlayer.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevExtensions.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevComponents.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/TagCollectionCell~partial.swiftdoc : /Users/abuzeid/workspace/DevPods/DevTag/TagCollectionCell.swift /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/DerivedSources/resource_bundle_accessor.swift /Users/abuzeid/workspace/DevPods/DevTag/LeftAlignedCollectionViewFlowLayout.swift /Users/abuzeid/workspace/DevPods/DevTag/TagView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevNetwork.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevPlayer.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevExtensions.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevComponents.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/TagCollectionCell~partial.swiftsourceinfo : /Users/abuzeid/workspace/DevPods/DevTag/TagCollectionCell.swift /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/DerivedSources/resource_bundle_accessor.swift /Users/abuzeid/workspace/DevPods/DevTag/LeftAlignedCollectionViewFlowLayout.swift /Users/abuzeid/workspace/DevPods/DevTag/TagView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevTag.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevNetwork.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevPlayer.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevExtensions.build/module.modulemap /Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevComponents.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AFError.o : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AFError~partial.swiftmodule : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AFError~partial.swiftdoc : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Stewart Gordon
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_iprtrmib.d)
*/
module core.sys.windows.iprtrmib;
version (Windows):
import core.sys.windows.ipifcons;
import core.sys.windows.windef;
// FIXME: check types of constants
enum size_t
MAXLEN_PHYSADDR = 8,
MAXLEN_IFDESCR = 256,
MAX_INTERFACE_NAME_LEN = 256;
enum {
MIB_IPNET_TYPE_OTHER = 1,
MIB_IPNET_TYPE_INVALID,
MIB_IPNET_TYPE_DYNAMIC,
MIB_IPNET_TYPE_STATIC
}
enum {
MIB_TCP_RTO_OTHER = 1,
MIB_TCP_RTO_CONSTANT,
MIB_TCP_RTO_RSRE,
MIB_TCP_RTO_VANJ
}
enum {
MIB_TCP_STATE_CLOSED = 1,
MIB_TCP_STATE_LISTEN,
MIB_TCP_STATE_SYN_SENT,
MIB_TCP_STATE_SYN_RCVD,
MIB_TCP_STATE_ESTAB,
MIB_TCP_STATE_FIN_WAIT1,
MIB_TCP_STATE_FIN_WAIT2,
MIB_TCP_STATE_CLOSE_WAIT,
MIB_TCP_STATE_CLOSING,
MIB_TCP_STATE_LAST_ACK,
MIB_TCP_STATE_TIME_WAIT,
MIB_TCP_STATE_DELETE_TCB // = 12
}
enum DWORD
MIB_USE_CURRENT_TTL = -1,
MIB_USE_CURRENT_FORWARDING = -1,
MIB_TCP_MAXCONN_DYNAMIC = -1;
struct MIB_IPADDRROW {
DWORD dwAddr;
DWORD dwIndex;
DWORD dwMask;
DWORD dwBCastAddr;
DWORD dwReasmSize;
ushort unused1;
ushort unused2;
}
alias MIB_IPADDRROW* PMIB_IPADDRROW;
struct MIB_IPADDRTABLE {
DWORD dwNumEntries;
MIB_IPADDRROW[1] _table;
MIB_IPADDRROW* table() return { return _table.ptr; }
}
alias MIB_IPADDRTABLE* PMIB_IPADDRTABLE;
struct MIB_IPFORWARDROW {
DWORD dwForwardDest;
DWORD dwForwardMask;
DWORD dwForwardPolicy;
DWORD dwForwardNextHop;
DWORD dwForwardIfIndex;
DWORD dwForwardType;
DWORD dwForwardProto;
DWORD dwForwardAge;
DWORD dwForwardNextHopAS;
DWORD dwForwardMetric1;
DWORD dwForwardMetric2;
DWORD dwForwardMetric3;
DWORD dwForwardMetric4;
DWORD dwForwardMetric5;
}
alias MIB_IPFORWARDROW* PMIB_IPFORWARDROW;
struct MIB_IPFORWARDTABLE {
DWORD dwNumEntries;
MIB_IPFORWARDROW[1] _table;
MIB_IPFORWARDROW* table() return { return _table.ptr; }
}
alias MIB_IPFORWARDTABLE* PMIB_IPFORWARDTABLE;
struct MIB_IPNETROW {
DWORD dwIndex;
DWORD dwPhysAddrLen;
BYTE[MAXLEN_PHYSADDR] bPhysAddr;
DWORD dwAddr;
DWORD dwType;
}
alias MIB_IPNETROW* PMIB_IPNETROW;
struct MIB_IPNETTABLE {
DWORD dwNumEntries;
MIB_IPNETROW[1] _table;
MIB_IPNETROW* table() return { return _table.ptr; }
}
alias MIB_IPNETTABLE* PMIB_IPNETTABLE;
struct MIBICMPSTATS {
DWORD dwMsgs;
DWORD dwErrors;
DWORD dwDestUnreachs;
DWORD dwTimeExcds;
DWORD dwParmProbs;
DWORD dwSrcQuenchs;
DWORD dwRedirects;
DWORD dwEchos;
DWORD dwEchoReps;
DWORD dwTimestamps;
DWORD dwTimestampReps;
DWORD dwAddrMasks;
DWORD dwAddrMaskReps;
}
alias MIBICMPSTATS* PMIBICMPSTATS;
struct MIBICMPINFO {
MIBICMPSTATS icmpInStats;
MIBICMPSTATS icmpOutStats;
}
alias MIBICMPINFO* PMIBICMPINFO;
struct MIB_ICMP {
MIBICMPINFO stats;
}
alias MIB_ICMP* PMIB_ICMP;
struct MIB_IFROW {
WCHAR[MAX_INTERFACE_NAME_LEN] wszName = 0;
DWORD dwIndex;
DWORD dwType;
DWORD dwMtu;
DWORD dwSpeed;
DWORD dwPhysAddrLen;
BYTE[MAXLEN_PHYSADDR] bPhysAddr;
DWORD dwAdminStatus;
DWORD dwOperStatus;
DWORD dwLastChange;
DWORD dwInOctets;
DWORD dwInUcastPkts;
DWORD dwInNUcastPkts;
DWORD dwInDiscards;
DWORD dwInErrors;
DWORD dwInUnknownProtos;
DWORD dwOutOctets;
DWORD dwOutUcastPkts;
DWORD dwOutNUcastPkts;
DWORD dwOutDiscards;
DWORD dwOutErrors;
DWORD dwOutQLen;
DWORD dwDescrLen;
BYTE[MAXLEN_IFDESCR] bDescr;
}
alias MIB_IFROW* PMIB_IFROW;
struct MIB_IFTABLE {
DWORD dwNumEntries;
MIB_IFROW[1] _table;
MIB_IFROW* table() return { return _table.ptr; }
}
alias MIB_IFTABLE* PMIB_IFTABLE;
struct MIB_IPSTATS {
DWORD dwForwarding;
DWORD dwDefaultTTL;
DWORD dwInReceives;
DWORD dwInHdrErrors;
DWORD dwInAddrErrors;
DWORD dwForwDatagrams;
DWORD dwInUnknownProtos;
DWORD dwInDiscards;
DWORD dwInDelivers;
DWORD dwOutRequests;
DWORD dwRoutingDiscards;
DWORD dwOutDiscards;
DWORD dwOutNoRoutes;
DWORD dwReasmTimeout;
DWORD dwReasmReqds;
DWORD dwReasmOks;
DWORD dwReasmFails;
DWORD dwFragOks;
DWORD dwFragFails;
DWORD dwFragCreates;
DWORD dwNumIf;
DWORD dwNumAddr;
DWORD dwNumRoutes;
}
alias MIB_IPSTATS* PMIB_IPSTATS;
struct MIB_TCPSTATS {
DWORD dwRtoAlgorithm;
DWORD dwRtoMin;
DWORD dwRtoMax;
DWORD dwMaxConn;
DWORD dwActiveOpens;
DWORD dwPassiveOpens;
DWORD dwAttemptFails;
DWORD dwEstabResets;
DWORD dwCurrEstab;
DWORD dwInSegs;
DWORD dwOutSegs;
DWORD dwRetransSegs;
DWORD dwInErrs;
DWORD dwOutRsts;
DWORD dwNumConns;
}
alias MIB_TCPSTATS* PMIB_TCPSTATS;
struct MIB_TCPROW {
DWORD dwState;
DWORD dwLocalAddr;
DWORD dwLocalPort;
DWORD dwRemoteAddr;
DWORD dwRemotePort;
}
alias MIB_TCPROW* PMIB_TCPROW;
struct MIB_TCPTABLE {
DWORD dwNumEntries;
MIB_TCPROW[1] _table;
MIB_TCPROW* table() return { return _table.ptr; }
}
alias MIB_TCPTABLE* PMIB_TCPTABLE;
struct MIB_UDPSTATS {
DWORD dwInDatagrams;
DWORD dwNoPorts;
DWORD dwInErrors;
DWORD dwOutDatagrams;
DWORD dwNumAddrs;
}
alias MIB_UDPSTATS* PMIB_UDPSTATS;
struct MIB_UDPROW {
DWORD dwLocalAddr;
DWORD dwLocalPort;
}
alias MIB_UDPROW* PMIB_UDPROW;
struct MIB_UDPTABLE {
DWORD dwNumEntries;
MIB_UDPROW[1] _table;
MIB_UDPROW* table() return { return _table.ptr; }
}
alias MIB_UDPTABLE* PMIB_UDPTABLE;
|
D
|
/**
Copyright: Copyright (c) 2017-2018 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
/// IR Index. Points to any entity in function's IR
module ir.ir_index;
import std.format : formattedWrite;
import std.bitmanip : bitfields;
import all;
/// Represent index of any IR entity inside function's ir array
@(IrValueKind.none)
struct IrIndex
{
this(uint _storageUintIndex, IrValueKind _kind)
{
storageUintIndex = _storageUintIndex;
kind = _kind;
}
static IrIndex fromUint(uint data)
{
IrIndex res;
res.asUint = data;
return res;
}
union
{
mixin(bitfields!(
uint, "storageUintIndex", 28, // may be 0 for defined index
IrValueKind, "kind", 4 // is never 0 for defined index
));
uint asUint; // is 0 for undefined index
}
static assert(IrValueKind.max <= 0b1111, "4 bits are reserved");
bool isDefined() { return asUint != 0; }
void toString(scope void delegate(const(char)[]) sink) const {
if (asUint == 0) {
sink("<null>");
return;
}
switch(kind) with(IrValueKind) {
default: sink.formattedWrite("0x%X", asUint); break;
case listItem: sink.formattedWrite("l.%s", storageUintIndex); break;
case instruction: sink.formattedWrite("i.%s", storageUintIndex); break;
case basicBlock: sink.formattedWrite("@%s", storageUintIndex); break;
case constant: sink.formattedWrite("c.%s", storageUintIndex); break;
case phi: sink.formattedWrite("phi.%s", storageUintIndex); break;
case memoryAddress: sink.formattedWrite("m.%s", storageUintIndex); break;
case stackSlot: sink.formattedWrite("s.%s", storageUintIndex); break;
case virtualRegister: sink.formattedWrite("v.%s", storageUintIndex); break;
case physicalRegister: sink.formattedWrite("p.%s", storageUintIndex); break;
}
}
/// When this index represents index of 0's array item, produces
/// index of this array items. Calling with 0 returns itself.
IrIndex indexOf(T)(size_t offset)
{
static assert(T.alignof == 4, "Can only point to types aligned to 4 bytes");
IrIndex result = this;
result.storageUintIndex = cast(uint)(storageUintIndex + divCeil(T.sizeof, uint.sizeof) * offset);
return result;
}
bool isInstruction() { return kind == IrValueKind.instruction; }
bool isBasicBlock() { return kind == IrValueKind.basicBlock; }
bool isPhi() { return kind == IrValueKind.phi; }
bool isConstant() { return kind == IrValueKind.constant; }
bool isVirtReg() { return kind == IrValueKind.virtualRegister; }
bool isPhysReg() { return kind == IrValueKind.physicalRegister; }
bool isSomeReg() {
return kind == IrValueKind.virtualRegister ||
kind == IrValueKind.physicalRegister;
}
bool isStackSlot() { return kind == IrValueKind.stackSlot; }
}
|
D
|
/*
* Copyright (c) 2008, Nicolas Cannasse
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE HAXE PROJECT CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE HAXE PROJECT CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*/
module arc.x.blaze.dynamics.material;
class Material {
float restitution;
float friction;
float density;
this ( float restitution, float friction, float density ) {
this.restitution = restitution;
this.friction = friction;
this.density = density;
}
}
|
D
|
/**
Copyright: Copyright (c) 2015-2016 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module pluginlib.pluginmanager;
import std.experimental.logger;
import std.string : format;
import pluginlib;
class PluginManager : IPluginManager, IResourceManagerRegistry
{
IPlugin[TypeInfo] plugins;
IPlugin[string] pluginsById;
IResourceManager[TypeInfo] resourceManagers;
void registerPlugin(IPlugin pluginInstance)
{
assert(pluginInstance);
assert(
typeid(pluginInstance) !in plugins &&
pluginInstance.id !in pluginsById,
format("Duplicate plugin registered: id=\"%s\" type=\"%s\"",
pluginInstance.id, pluginInstance));
plugins[typeid(pluginInstance)] = pluginInstance;
pluginsById[pluginInstance.id] = pluginInstance;
}
void registerResourceManager(IResourceManager rmInstance)
{
assert(rmInstance);
assert(typeid(rmInstance) !in resourceManagers,
format("Duplicate resource manager registered: id=\"%s\" type=\"%s\"",
rmInstance.id, rmInstance));
resourceManagers[typeid(rmInstance)] = rmInstance;
}
// IPluginManager
IPlugin findPlugin(TypeInfo pluginType)
{
return plugins.get(pluginType, null);
}
IPlugin findPluginById(string pluginId)
{
return pluginsById.get(pluginId, null);
}
// IResourceManagerRegistry
IResourceManager findResourceManager(TypeInfo rmType)
{
return resourceManagers.get(rmType, null);
}
void initPlugins()
{
// Register resources
foreach(IPlugin p; plugins)
{
tracef("registerResourceManagers %s", p.id);
p.registerResourceManagers(®isterResourceManager);
}
foreach(IResourceManager rm; resourceManagers)
{
tracef("preInit %s", rm.id);
rm.preInit();
}
foreach(IResourceManager rm; resourceManagers)
{
tracef("init %s", rm.id);
rm.init(this);
}
foreach(IPlugin p; plugins)
{
tracef("registerResources %s", p.id);
p.registerResources(this);
}
// Load resources
foreach(IResourceManager rm; resourceManagers)
{
tracef("loadResources %s", rm.id);
rm.loadResources();
}
foreach(IResourceManager rm; resourceManagers)
{
tracef("postInit %s", rm.id);
rm.postInit();
}
// Load plugins
foreach(IPlugin p; plugins)
{
tracef("preInit %s", p.id);
p.preInit();
}
foreach(IPlugin p; plugins)
{
tracef("init %s", p.id);
p.init(this);
}
foreach(IPlugin p; plugins)
{
tracef("postInit %s", p.id);
p.postInit();
}
size_t i = 1;
infof("Loaded %s plugins", plugins.length);
foreach(IPlugin p; plugins)
{
infof("Loaded #%s %s %s", i, p.id, p.semver);
++i;
}
}
}
|
D
|
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIO.build/GetaddrinfoResolver.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIO.build/GetaddrinfoResolver~partial.swiftmodule : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIO.build/GetaddrinfoResolver~partial.swiftdoc : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes
|
D
|
/root/Documents/daily/3_6_20/target/debug/build/getrandom-68b8d23c2f119a59/build_script_build-68b8d23c2f119a59: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/build.rs
/root/Documents/daily/3_6_20/target/debug/build/getrandom-68b8d23c2f119a59/build_script_build-68b8d23c2f119a59.d: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/build.rs
/root/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.14/build.rs:
|
D
|
INSTANCE Info_Mod_Wesen_08_Hi (C_INFO)
{
npc = Monster_11032_Wesen_HALU;
nr = 1;
condition = Info_Mod_Wesen_08_Hi_Condition;
information = Info_Mod_Wesen_08_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Wesen_08_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Wesen_08_Hi_Info()
{
AI_Output(self, hero, "Info_Mod_Wesen_08_Hi_18_00"); //Bilder der Vergangenheit leuchten ... oder sind es Bilder der Zukunft?
AI_StopProcessInfos (self);
};
|
D
|
module fragments.constraintpairs.collisionconstraintpair;
import armos.math;
import fragments.entity;
import fragments.constraints.utils;
import fragments.contactpoint;
import fragments.constraints;
/++
+/
struct CollisionConstraintPair(NumericType) {
alias N = NumericType;
alias V3 = Vector!(N, 3);
alias M33 = Matrix!(N, 3, 3);
public{
///
this(
ref DynamicEntity!N dynamicEntity,
ref ContactPoint!N contactPoint,
){
_dynamicEntity = dynamicEntity;
immutable V3 applicationPoint = contactPoint.applicationPoint - dynamicEntity.position;
immutable relativeVelocity = dynamicEntity.linearVelocity + dynamicEntity.angularVelocity.vectorProduct(applicationPoint);
immutable bias = 0.0;
immutable slop = N(0);
import std.math;
immutable unitTime = 1.0/30.0;
// immutable biasTerm = (bias * fmax(N(0), contactPoint.distance+slop))/unitTime;
immutable biasTerm = N(0);
auto staticEntity = contactPoint.staticEntity;
immutable jacDiagInv = collisionJacDiagInv(
applicationPoint,
dynamicEntity.massInv,
dynamicEntity.inertiaGlobalInv,
staticEntity.normal
);
//set constraints
collisionConstraint = CollisionConstraint!N(
relativeVelocity,
jacDiagInv,
applicationPoint,
staticEntity.normal,
biasTerm,
);
}
///
this(DynamicEntity!N dynamicEntity){
_dynamicEntity = dynamicEntity;
}
///
void update(
in ContactPoint!(N)[] contactPoints,
){
_isColliding = contactPoints.length > 0;
_depth = V3.zero;
if(isColliding){
const contactPoint = contactPoints[0];
immutable V3 applicationPoint = contactPoint.applicationPoint - _dynamicEntity.position;
immutable relativeVelocity = _dynamicEntity.linearVelocity + _dynamicEntity.angularVelocity.vectorProduct(applicationPoint);
// immutable bias = 0.0;
// immutable slop = N(0);
// import std.math;
// immutable biasTerm = (bias * fmax(N(0), contactPoint.distance+slop))/unitTime;
immutable biasTerm = N(0);
const staticEntity = contactPoints[0].staticEntity;
immutable jacDiagInv = collisionJacDiagInv(
applicationPoint,
_dynamicEntity.massInv,
_dynamicEntity.inertiaGlobalInv,
staticEntity.normal
);
//set constraints
collisionConstraint = CollisionConstraint!N(
relativeVelocity,
jacDiagInv,
applicationPoint,
staticEntity.normal,
biasTerm,
);
updateFrictionConstraints(staticEntity, relativeVelocity, applicationPoint, jacDiagInv);
_depth = contactPoint.distance * contactPoint.normal;
}
};
///
bool isColliding()const{return _isColliding;}
/++
+/
DynamicEntity!(N) entity(){return _dynamicEntity;};
/++
+/
CollisionConstraint!(N) collisionConstraint;
/++
+/
V3 depth()const{
return _depth;
};
/++
+/
N dynamicFriction()const{
return _dynamicFriction;
}
/++
+/
N staticFriction()const{
return _staticFriction;
}
FrictionConstraint!(N)[2] frictionConstraints;
}//public
private{
DynamicEntity!(N) _dynamicEntity;
V3 _depth;
bool _isColliding;
N _staticFriction;
N _dynamicFriction;
void updateFrictionConstraints(
in StaticEntity!N staticEntity,
in V3 relativeVelocity,
in V3 applicationPoint,
in N jacDiagInv,
){
_staticFriction = (_dynamicEntity.material.staticFriction * staticEntity.material.staticFriction)^^N(0.5);
_dynamicFriction = (_dynamicEntity.material.dynamicFriction * staticEntity.material.dynamicFriction)^^N(0.5);
V3[2] frictionAxes;
if(relativeVelocity.vectorProduct(staticEntity.normal).norm > 0){
frictionAxes[0] = relativeVelocity.vectorProduct(staticEntity.normal).normalized;
frictionAxes[1] = frictionAxes[0].vectorProduct(staticEntity.normal);
}else{
frictionAxes[0] = V3(0, 0, 0);
frictionAxes[1] = V3(0, 0, 0);
}
foreach (int index, frictionAxis; frictionAxes) {
frictionConstraints[index] = FrictionConstraint!N(
relativeVelocity,
jacDiagInv,
applicationPoint,
frictionAxis,
);
}
}
}//private
}//struct CollisionConstraintPair
|
D
|
/Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/HNote.build/Debug-iphoneos/HNote.build/Objects-normal/arm64/RichTextController.o : /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/AppDelegate.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/MenuTableViewCell.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/coreData/CoreDataManager.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/NoteContentController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/RichTextController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/ViewController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/SettingViewController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/NoteItem+CoreDataProperties.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/NoteItem+CoreDataClass.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/PopMenu.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/SidebarTableView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/NotesTableView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/SidebarTableCellView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/NotesTableCellView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/PopMenuView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Modules/MarkdownView.swiftmodule/arm64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Headers/MarkdownView-umbrella.h /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Headers/MarkdownView-Swift.h /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/HNote.build/Debug-iphoneos/HNote.build/Objects-normal/arm64/RichTextController~partial.swiftmodule : /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/AppDelegate.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/MenuTableViewCell.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/coreData/CoreDataManager.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/NoteContentController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/RichTextController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/ViewController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/SettingViewController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/NoteItem+CoreDataProperties.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/NoteItem+CoreDataClass.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/PopMenu.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/SidebarTableView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/NotesTableView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/SidebarTableCellView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/NotesTableCellView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/PopMenuView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Modules/MarkdownView.swiftmodule/arm64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Headers/MarkdownView-umbrella.h /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Headers/MarkdownView-Swift.h /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/HNote.build/Debug-iphoneos/HNote.build/Objects-normal/arm64/RichTextController~partial.swiftdoc : /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/AppDelegate.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/MenuTableViewCell.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/coreData/CoreDataManager.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/NoteContentController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/RichTextController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/ViewController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/SettingViewController.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/NoteItem+CoreDataProperties.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/NoteItem+CoreDataClass.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/PopMenu.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/SidebarTableView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/NotesTableView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/SidebarTableCellView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/view/NotesTableCellView.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/PopMenuView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Modules/MarkdownView.swiftmodule/arm64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Headers/MarkdownView-umbrella.h /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Headers/MarkdownView-Swift.h /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/Debug-iphoneos/MarkdownView/MarkdownView.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
enum DYNCAST : int
{
DYNCAST_OBJECT, DYNCAST_EXPRESSION, DYNCAST_DSYMBOL, DYNCAST_TYPE,
DYNCAST_IDENTIFIER, DYNCAST_TUPLE, DYNCAST_PARAMETER,
}
alias MATCHnomatch = MATCH.MATCHnomatch;
|
D
|
module minexewgames.app;
import minexewgames.di;
import minexewgames.di.Proxy;
import minexewgames.engine;
import minexewgames.engineimpl.EngineImpl;
import minexewgames.n3d2.Renderer;
import minexewgames.ntile.MainMenu;
import std.conv;
import std.stdio;
import minexewgames.cfx2.node;
class Game {
@Autowired DisplayInterface di;
@Autowired Proxy!Scene scene;
@Autowired MainLoop mainLoop;
@Autowired Renderer r;
void run() {
di.createWindow();
r.startup();
scene.instance = diGet!MainMenu;
mainLoop.run();
}
}
void startup() {
//try {
// Inject Scene as a proxy so that we can swap it at runtime
diProvidedBy!(Scene, Proxy!Scene);
Engine engine = diGet!Engine;
engine.startup();
(diGet!Game).run();
/*}
catch (Exception e) {
std.stdio.writeln(e.msg);
}*/
}
void shutdown() {
try {
Engine engine = diGet!Engine;
engine.shutdown();
}
catch (Exception e) {
std.stdio.writeln(e.msg);
}
}
void dumpNode(Node node) {
writef("<%s=%s", node.name, node.text);
foreach (attrib; node.attributes) {
writef(" %s=%s", attrib.name, attrib.value);
}
writeln(">");
foreach (child ; node.children)
dumpNode(child);
writefln("</%s>", node.name);
}
void main(string[] args) {
startup();
shutdown();
}
|
D
|
/**
* D header file to interface with the
* $(HTTP pubs.opengroup.org/onlinepubs/9699919799/basedefs/aio.h.html, Posix AIO API).
*
* Copyright: Copyright D Language Foundation 2018.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: $(HTTPS github.com/darredevil, Alexandru Razvan Caciulescu)
*/
module core.sys.posix.aio;
private import core.sys.posix.signal;
version (Posix):
extern (C):
@system:
@nogc:
nothrow:
version (CRuntime_Glibc)
{
version (X86_64)
{
struct aiocb
{
int aio_fildes;
int aio_lio_opcode;
int aio_reqprio;
void *aio_buf; //volatile
size_t aio_nbytes;
sigevent aio_sigevent;
ubyte[24] internal_members_padding;
off_t aio_offset;
ubyte[32] __glibc_reserved;
}
}
else
static assert(0);
}
else
static assert(false, "Unsupported platform");
/* Return values of cancelation function. */
enum
{
AIO_CANCELED,
AIO_NOTCANCELED,
AIO_ALLDONE
};
/* Operation codes for `aio_lio_opcode'. */
enum
{
LIO_READ,
LIO_WRITE,
LIO_NOP
};
/* Synchronization options for `lio_listio' function. */
enum
{
LIO_WAIT,
LIO_NOWAIT
};
int aio_read(aiocb *aiocbp);
int aio_write(aiocb *aiocbp);
int aio_fsync(int op, aiocb *aiocbp);
int aio_error(const(aiocb)* aiocbp);
ssize_t aio_return(const(aiocb)* aiocbp);
int aio_suspend(const(aiocb*)* aiocb_list, int nitems, const(timespec)* timeout);
int aio_cancel(int fd, aiocb *aiocbp);
int lio_listio(int mode, const(aiocb*)* aiocb_list, int nitems, sigevent *sevp);
|
D
|
module stb.rectpack;
import
std.typecons,
std.algorithm,
stb,
stb.rectpack.binding;
struct TexturePacker
{
this(stbrp_rect[] rects)
{
_rects = rects;
_nodes = new stbrp_node[TEX_MAX];
}
auto process()
{
auto w = binarySearch(0, TEX_MAX, a => canPack(a, a) ? -1 : 1);
auto h = binarySearch(0, w, a => canPack(w, a) ? -1 : 1);
// call once more because binarySearch can do some extra failing tries
canPack(w, h);
return tuple!(`w`, `h`)(w, h);
}
private:
enum TEX_MAX = 16384;
bool canPack(int w, int h)
{
stbrp_init_target(&_context, w, h, _nodes.ptr, cast(uint)_nodes.length);
return !!stbrp_pack_rects(&_context, _rects.ptr, cast(uint)_rects.length);
}
stbrp_rect[] _rects;
stbrp_node[] _nodes;
stbrp_context _context;
}
unittest
{
stbrp_rect[3] arr;
arr[0] = stbrp_rect(0, 10, 20); // id, w, h
arr[1] = stbrp_rect(1, 20, 20);
arr[2] = stbrp_rect(2, 40, 20);
auto res = TexturePacker(arr).process;
assert(res.w == 40 && res.h == 40);
assert(arr[].all!(a => a.was_packed));
}
|
D
|
/**
* Constants and data structures specific to the x86 platform.
*
* Copyright: Copyright (C) 1985-1998 by Symantec
* Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/code_x86.d, backend/code_x86.d)
* Documentation: https://dlang.org/phobos/dmd_backend_code_x86.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/code_x86.d
*/
module dmd.backend.code_x86;
// Online documentation: https://dlang.org/phobos/dmd_backend_code_x86.html
import dmd.backend.cdef;
import dmd.backend.cc : config;
import dmd.backend.code;
import dmd.backend.codebuilder : CodeBuilder;
import dmd.backend.el : elem;
import dmd.backend.ty : I64;
import dmd.backend.barray;
nothrow:
@safe:
alias opcode_t = uint; // CPU opcode
enum opcode_t NoOpcode = 0xFFFF; // not a valid opcode_t
/* Register definitions */
enum
{
AX = 0,
CX = 1,
DX = 2,
BX = 3,
SP = 4,
BP = 5,
SI = 6,
DI = 7,
// #defining R12-R15 interfere with setjmps' _JUMP_BUFFER members
R8 = 8,
R9 = 9,
R10 = 10,
R11 = 11,
R12 = 12,
R13 = 13,
R14 = 14,
R15 = 15,
XMM0 = 16,
XMM1 = 17,
XMM2 = 18,
XMM3 = 19,
XMM4 = 20,
XMM5 = 21,
XMM6 = 22,
XMM7 = 23,
/* There are also XMM8..XMM14 */
XMM15 = 31,
}
bool isXMMreg(reg_t reg) pure { return reg >= XMM0 && reg <= XMM15; }
enum PICREG = BX;
enum ES = 24;
enum NUMGENREGS = 16;
// fishy naming as it covers XMM7 but not XMM15
// currently only used as a replacement for mES in cgcod.c
enum NUMREGS = 25;
enum PSW = 25;
enum STACK = 26; // top of stack
enum ST0 = 27; // 8087 top of stack register
enum ST01 = 28; // top two 8087 registers; for complex types
enum reg_t NOREG = 29; // no register
enum
{
AL = 0,
CL = 1,
DL = 2,
BL = 3,
AH = 4,
CH = 5,
DH = 6,
BH = 7,
}
enum
{
mAX = 1,
mCX = 2,
mDX = 4,
mBX = 8,
mSP = 0x10,
mBP = 0x20,
mSI = 0x40,
mDI = 0x80,
mR8 = (1 << R8),
mR9 = (1 << R9),
mR10 = (1 << R10),
mR11 = (1 << R11),
mR12 = (1 << R12),
mR13 = (1 << R13),
mR14 = (1 << R14),
mR15 = (1 << R15),
mXMM0 = (1 << XMM0),
mXMM1 = (1 << XMM1),
mXMM2 = (1 << XMM2),
mXMM3 = (1 << XMM3),
mXMM4 = (1 << XMM4),
mXMM5 = (1 << XMM5),
mXMM6 = (1 << XMM6),
mXMM7 = (1 << XMM7),
XMMREGS = (mXMM0 |mXMM1 |mXMM2 |mXMM3 |mXMM4 |mXMM5 |mXMM6 |mXMM7),
mES = (1 << ES), // 0x1000000
mPSW = (1 << PSW), // 0x2000000
mSTACK = (1 << STACK), // 0x4000000
mST0 = (1 << ST0), // 0x20000000
mST01 = (1 << ST01), // 0x40000000
}
// Flags for getlvalue (must fit in regm_t)
enum RMload = (1 << 30);
enum RMstore = (1 << 31);
// To support positional independent code,
// must be able to remove BX from available registers
enum ALLREGS_INIT = (mAX|mBX|mCX|mDX|mSI|mDI);
enum ALLREGS_INIT_PIC = (mAX|mCX|mDX|mSI|mDI);
enum BYTEREGS_INIT = (mAX|mBX|mCX|mDX);
enum BYTEREGS_INIT_PIC = (mAX|mCX|mDX);
/* We use the same IDXREGS for the 386 as the 8088, because if
we used ALLREGS, it would interfere with mMSW
*/
enum IDXREGS = (mBX|mSI|mDI);
enum FLOATREGS_64 = mAX;
enum FLOATREGS2_64 = mDX;
enum DOUBLEREGS_64 = mAX;
enum DOUBLEREGS2_64 = mDX;
enum FLOATREGS_32 = mAX;
enum FLOATREGS2_32 = mDX;
enum DOUBLEREGS_32 = (mAX|mDX);
enum DOUBLEREGS2_32 = (mCX|mBX);
enum FLOATREGS_16 = (mDX|mAX);
enum FLOATREGS2_16 = (mCX|mBX);
enum DOUBLEREGS_16 = (mAX|mBX|mCX|mDX);
/*#define _8087REGS (mST0|mST1|mST2|mST3|mST4|mST5|mST6|mST7)*/
/* Segment registers */
enum
{
SEG_ES = 0,
SEG_CS = 1,
SEG_SS = 2,
SEG_DS = 3,
}
/*********************
* Masks for register pairs.
* Note that index registers are always LSWs. This is for the convenience
* of implementing far pointers.
*/
static if (0)
{
// Give us an extra one so we can enregister a long
enum mMSW = mCX|mDX|mDI|mES; // most significant regs
enum mLSW = mAX|mBX|mSI; // least significant regs
}
else
{
enum mMSW = mCX|mDX|mES; // most significant regs
enum mLSW = mAX|mBX|mSI|mDI; // least significant regs
}
/* Return !=0 if there is a SIB byte */
uint issib(uint rm) { return (rm & 7) == 4 && (rm & 0xC0) != 0xC0; }
static if (0)
{
// relocation field size is always 32bits
//enum is32bitaddr(x,Iflags) (1)
}
else
{
//
// is32bitaddr works correctly only when x is 0 or 1. This is
// true today for the current definition of I32, but if the definition
// of I32 changes, this macro will need to change as well
//
// Note: even for linux targets, CFaddrsize can be set by the inline
// assembler.
bool is32bitaddr(bool x,code_flags_t Iflags) { return I64 || (x ^ ((Iflags & CFaddrsize) !=0)); }
}
/**********************
* C library routines.
* See callclib().
*/
enum CLIB
{
lcmp,
lmul,
ldiv,
lmod,
uldiv,
ulmod,
dmul,ddiv,dtst0,dtst0exc,dcmp,dcmpexc,dneg,dadd,dsub,
fmul,fdiv,ftst0,ftst0exc,fcmp,fcmpexc,fneg,fadd,fsub,
dbllng,lngdbl,dblint,intdbl,
dbluns,unsdbl,
dblulng,
ulngdbl,
dblflt,fltdbl,
dblllng,
llngdbl,
dblullng,
ullngdbl,
dtst,
vptrfptr,cvptrfptr,
_87topsw,fltto87,dblto87,dblint87,dbllng87,
ftst,
fcompp,
ftest,
ftest0,
fdiv87,
// Complex numbers
cmul,
cdiv,
ccmp,
u64_ldbl,
ld_u64,
MAX
}
alias code_flags_t = uint;
enum
{
CFes = 1, // generate an ES: segment override for this instr
CFjmp16 = 2, // need 16 bit jump offset (long branch)
CFtarg = 4, // this code is the target of a jump
CFseg = 8, // get segment of immediate value
CFoff = 0x10, // get offset of immediate value
CFss = 0x20, // generate an SS: segment override (not with
// CFes at the same time, though!)
CFpsw = 0x40, // we need the flags result after this instruction
CFopsize = 0x80, // prefix with operand size
CFaddrsize = 0x100, // prefix with address size
CFds = 0x200, // need DS override (not with ES, SS, or CS )
CFcs = 0x400, // need CS override
CFfs = 0x800, // need FS override
CFgs = CFcs | CFfs, // need GS override
CFwait = 0x1000, // If I32 it indicates when to output a WAIT
CFselfrel = 0x2000, // if self-relative
CFunambig = 0x4000, // indicates cannot be accessed by other addressing
// modes
CFtarg2 = 0x8000, // like CFtarg, but we can't optimize this away
CFvolatile = 0x10000, // volatile reference, do not schedule
CFclassinit = 0x20000, // class init code
CFoffset64 = 0x40000, // offset is 64 bits
CFpc32 = 0x80000, // I64: PC relative 32 bit fixup
CFvex = 0x10_0000, // vex prefix
CFvex3 = 0x20_0000, // 3 byte vex prefix
CFjmp5 = 0x40_0000, // always a 5 byte jmp
CFswitch = 0x80_0000, // kludge for switch table fixups
CFindirect = 0x100_0000, // OSX32: indirect fixups
/* These are for CFpc32 fixups, they're the negative of the offset of the fixup
* from the program counter
*/
CFREL = 0x700_0000,
CFSEG = CFes | CFss | CFds | CFcs | CFfs | CFgs,
CFPREFIX = CFSEG | CFopsize | CFaddrsize,
}
struct code
{
code *next;
code_flags_t Iflags;
union
{
opcode_t Iop;
struct Svex
{
nothrow:
align(1):
ubyte op;
// [R X B m-mmmm] [W vvvv L pp]
ushort _pp;
@property ushort pp() const { return _pp & 3; }
@property void pp(ushort v) { _pp = (_pp & ~3) | (v & 3); }
@property ushort l() const { return (_pp >> 2) & 1; }
@property void l(ushort v) { _pp = cast(ushort)((_pp & ~4) | ((v & 1) << 2)); }
@property ushort vvvv() const { return (_pp >> 3) & 0x0F; }
@property void vvvv(ushort v) { _pp = cast(ushort)((_pp & ~0x78) | ((v & 0x0F) << 3)); }
@property ushort w() const { return (_pp >> 7) & 1; }
@property void w(ushort v) { _pp = cast(ushort)((_pp & ~0x80) | ((v & 1) << 7)); }
@property ushort mmmm() const { return (_pp >> 8) & 0x1F; }
@property void mmmm(ushort v) { _pp = cast(ushort)((_pp & ~0x1F00) | ((v & 0x1F) << 8)); }
@property ushort b() const { return (_pp >> 13) & 1; }
@property void b(ushort v) { _pp = cast(ushort)((_pp & ~0x2000) | ((v & 1) << 13)); }
@property ushort x() const { return (_pp >> 14) & 1; }
@property void x(ushort v) { _pp = cast(ushort)((_pp & ~0x4000) | ((v & 1) << 14)); }
@property ushort r() const { return (_pp >> 15) & 1; }
@property void r(ushort v) { _pp = cast(ushort)((_pp & ~0x8000) | (v << 15)); }
ubyte pfx; // always 0xC4
}
Svex Ivex;
}
/* The _EA is the "effective address" for the instruction, and consists of the modregrm byte,
* the sib byte, and the REX prefix byte. The 16 bit code generator just used the modregrm,
* the 32 bit x86 added the sib, and the 64 bit one added the rex.
*/
union
{
uint Iea;
struct
{
ubyte Irm; // reg/mode
ubyte Isib; // SIB byte
ubyte Irex; // REX prefix
}
}
/* IFL1 and IEV1 are the first operand, which usually winds up being the offset to the Effective
* Address. IFL1 is the tag saying which variant type is in IEV1. IFL2 and IEV2 is the second
* operand, usually for immediate instructions.
*/
ubyte IFL1,IFL2; // FLavors of 1st, 2nd operands
evc IEV1; // 1st operand, if any
evc IEV2; // 2nd operand, if any
nothrow:
void orReg(uint reg)
{ if (reg & 8)
Irex |= REX_R;
Irm |= modregrm(0, reg & 7, 0);
}
void setReg(uint reg)
{
Irex &= ~REX_R;
Irm &= cast(ubyte)~cast(uint)modregrm(0, 7, 0);
orReg(reg);
}
bool isJumpOP() { return Iop == JMP || Iop == JMPS; }
extern (C++) void print() // pretty-printer
{
code_print(&this);
}
}
/*******************
* Some instructions.
*/
enum
{
SEGES = 0x26,
SEGCS = 0x2E,
SEGSS = 0x36,
SEGDS = 0x3E,
SEGFS = 0x64,
SEGGS = 0x65,
CMP = 0x3B,
CALL = 0xE8,
JMP = 0xE9, // Intra-Segment Direct
JMPS = 0xEB, // JMP SHORT
JCXZ = 0xE3,
LOOP = 0xE2,
LES = 0xC4,
LEA = 0x8D,
LOCK = 0xF0,
INT3 = 0xCC,
HLT = 0xF4,
ENTER = 0xC8,
LEAVE = 0xC9,
MOVSXb = 0x0FBE,
MOVSXw = 0x0FBF,
MOVZXb = 0x0FB6,
MOVZXw = 0x0FB7,
STOSB = 0xAA,
STOS = 0xAB,
STO = 0x89,
LOD = 0x8B,
JO = 0x70,
JNO = 0x71,
JC = 0x72,
JB = 0x72,
JNC = 0x73,
JAE = 0x73,
JE = 0x74,
JNE = 0x75,
JBE = 0x76,
JA = 0x77,
JS = 0x78,
JNS = 0x79,
JP = 0x7A,
JNP = 0x7B,
JL = 0x7C,
JGE = 0x7D,
JLE = 0x7E,
JG = 0x7F,
UD2 = 0x0F0B,
PAUSE = 0xF390, // aka REP NOP
// NOP is used as a placeholder in the linked list of instructions, no
// actual code will be generated for it.
NOP = SEGCS, // don't use 0x90 because the
// Windows stuff wants to output 0x90's
ASM = SEGSS, // string of asm bytes
ESCAPE = SEGDS, // marker that special information is here
// (Iop2 is the type of special information)
ENDBR32 = 0xF30F1EFB,
ENDBR64 = 0xF30F1EFA,
}
enum ESCAPEmask = 0xFF; // code.Iop & ESCAPEmask ==> actual Iop
enum
{
ESClinnum = (1 << 8), // line number information
ESCctor = (2 << 8), // object is constructed
ESCdtor = (3 << 8), // object is destructed
ESCmark = (4 << 8), // mark eh stack
ESCrelease = (5 << 8), // release eh stack
ESCoffset = (6 << 8), // set code offset for eh
ESCadjesp = (7 << 8), // adjust ESP by IEV2.Vint
ESCmark2 = (8 << 8), // mark eh stack
ESCrelease2 = (9 << 8), // release eh stack
ESCframeptr = (10 << 8), // replace with load of frame pointer
ESCdctor = (11 << 8), // D object is constructed
ESCddtor = (12 << 8), // D object is destructed
ESCadjfpu = (13 << 8), // adjust fpustackused by IEV2.Vint
ESCfixesp = (14 << 8), // reset ESP to end of local frame
}
/*********************************
* Macros to ease generating code
* modregrm: generate mod reg r/m field
* modregxrm: reg could be R8..R15
* modregrmx: rm could be R8..R15
* modregxrmx: reg or rm could be R8..R15
* NEWREG: change reg field of x to r
* genorreg: OR t,f
*/
ubyte modregrm (uint m, uint r, uint rm) { return cast(ubyte)((m << 6) | (r << 3) | rm); }
uint modregxrm (uint m, uint r, uint rm) { return ((r&8)<<15)|modregrm(m,r&7,rm); }
uint modregrmx (uint m, uint r, uint rm) { return ((rm&8)<<13)|modregrm(m,r,rm&7); }
uint modregxrmx(uint m, uint r, uint rm) { return ((r&8)<<15)|((rm&8)<<13)|modregrm(m,r&7,rm&7); }
void NEWREXR(ref ubyte x, uint r) { x = (x&~REX_R)|((r&8)>>1); }
void NEWREG (ref ubyte x, uint r) { x = cast(ubyte)((x & ~(7 << 3)) | (r << 3)); }
void code_newreg(code* c, uint r) { NEWREG(c.Irm,r&7); NEWREXR(c.Irex,r); }
//#define genorreg(c,t,f) genregs((c),0x09,(f),(t))
enum
{
REX = 0x40, // REX prefix byte, OR'd with the following bits:
REX_W = 8, // 0 = default operand size, 1 = 64 bit operand size
REX_R = 4, // high bit of reg field of modregrm
REX_X = 2, // high bit of sib index reg
REX_B = 1, // high bit of rm field, sib base reg, or opcode reg
}
uint VEX2_B1(code.Svex ivex)
{
return
ivex.r << 7 |
ivex.vvvv << 3 |
ivex.l << 2 |
ivex.pp;
}
uint VEX3_B1(code.Svex ivex)
{
return
ivex.r << 7 |
ivex.x << 6 |
ivex.b << 5 |
ivex.mmmm;
}
uint VEX3_B2(code.Svex ivex)
{
return
ivex.w << 7 |
ivex.vvvv << 3 |
ivex.l << 2 |
ivex.pp;
}
@trusted
bool ADDFWAIT() { return config.target_cpu <= TARGET_80286; }
/************************************
*/
extern (C++):
struct NDP
{
elem *e; // which elem is stored here (NULL if none)
uint offset; // offset from e (used for complex numbers)
}
struct Globals87
{
NDP[8] stack; // 8087 stack
int stackused = 0; // number of items on the 8087 stack
Barray!NDP save; // 8087 values spilled to memory
}
|
D
|
import vibe.vibe, std.file, std.getopt, std.path, std.process, std.stdio;
// basic RESTful stuff!
@path("/api")
interface IMyAPI
{
// GET /api/greeting
@property string greeting();
// PUT /api/greeting
@property void greeting(string text);
// POST /api/users
@path("/users")
void addNewUser(string name);
// GET /api/users
@property string[] users();
// GET /api/:id/name
string getName(int id);
// GET /some_custom_json
Json getSomeCustomJson();
}
// vibe.d takes care of all JSON encoding/decoding
// and actual API implementation can work directly
// with native types
class API : IMyAPI
{
private {
string m_greeting;
string[] m_users;
}
@property string greeting() { return m_greeting; }
@property void greeting(string text) { m_greeting = text; }
void addNewUser(string name) { m_users ~= name; }
@property string[] users() { return m_users; }
string getName(int id) { return m_users[id]; }
Json getSomeCustomJson()
{
Json ret = Json.emptyObject;
ret["somefield"] = "Hello, World!";
return ret;
}
}
int main()
{
scope settings = new HTTPServerSettings;
settings.port = 8080;
settings.bindAddresses = ["127.0.0.1"];
//bool help;
auto router = new URLRouter;
// add Rest stuff
router.registerRestInterface(new API());
readOption("bind|b", &settings.bindAddresses[0],
"Sets the address used for serving. (default 127.0.0.1)");
readOption("port|p", &settings.port, "Sets the port used for serving. (default 8080)");
// returns false if a help screen has been requested and displayed (--help)
string[] args;
if (!finalizeCommandLineOptions(&args))
return 0;
auto path = args.length > 1 ? args[1] : ".";
if (path.isDir)
{
writefln("serving '%s'", path);
router.get("*", serveStaticFiles(path));
listenHTTP(settings, router);
}
else
{
path = path.absolutePath.buildNormalizedPath;
auto folder = path.dirName;
writefln("serving '%s'", folder.relativePath);
router.get("*", serveStaticFiles(folder));
listenHTTP(settings, router);
if (path.extension == ".html")
{
auto url = URL("http", settings.bindAddresses[0], settings.port,
Path(path.chompPrefix(folder)));
writefln("opening %s in a browser", url);
browse(url.toString());
}
}
lowerPrivileges();
return runEventLoop();
}
|
D
|
instance DIA_Addon_Lennar_EXIT(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 999;
condition = DIA_Addon_Lennar_EXIT_Condition;
information = DIA_Addon_Lennar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende_v2;
};
func int DIA_Addon_Lennar_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Lennar_EXIT_Info()
{
DIA_Common_IHaveToGo_v2();
AI_WaitTillEnd(self,other);
AI_StopProcessInfos(self);
};
instance DIA_Addon_Lennar_Hi(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 1;
condition = DIA_Addon_Lennar_Hi_Condition;
information = DIA_Addon_Lennar_Hi_Info;
permanent = FALSE;
description = "Привет.";
};
func int DIA_Addon_Lennar_Hi_Condition()
{
return TRUE;
};
func void DIA_Addon_Lennar_Hi_Info()
{
AI_Output(other,self,"DIA_Addon_Lennar_Hi_15_00"); //Привет.
AI_Output(self,other,"DIA_Addon_Lennar_Hi_01_01"); //Привет. Меня зовут Леннар. Добро пожаловать в лагерь рудокопов.
AI_Output(other,self,"DIA_Addon_Lennar_Hi_15_02"); //Рудокопов? Я думал, это бандитский лагерь...
AI_Output(self,other,"DIA_Addon_Lennar_Hi_01_03"); //Верно, но бандиты здесь только для того, чтобы добывать руду. (пожимает плечами) Так что...
};
instance DIA_Addon_Lennar_Attentat(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 2;
condition = DIA_Addon_Lennar_Attentat_Condition;
information = DIA_Addon_Lennar_Attentat_Info;
permanent = FALSE;
description = DIALOG_ADDON_ATTENTAT_DESCRIPTION2;
};
func int DIA_Addon_Lennar_Attentat_Condition()
{
if(MIS_Judas == LOG_Running)
{
return TRUE;
};
};
func void DIA_Addon_Lennar_Attentat_Info()
{
B_Say(other,self,"$ATTENTAT_ADDON_DESCRIPTION2");
AI_Output(self,other,"DIA_Addon_Lennar_ATTENTAT_01_00"); //Слушаю?
AI_Output(other,self,"DIA_Addon_Lennar_ATTENTAT_15_01"); //У тебя есть предположения насчет того, кто за этим стоит?
AI_Output(self,other,"DIA_Addon_Lennar_ATTENTAT_01_02"); //Конечно!
AI_Output(self,other,"DIA_Addon_Lennar_ATTENTAT_01_03"); //(возбужденно) Я уверен, что во всем виноват Эмилио!
AI_Output(self,other,"DIA_Addon_Lennar_ATTENTAT_01_04"); //(возбужденно) Он всегда рвался в шахту, как ужаленный, и копал до изнеможения.
AI_Output(self,other,"DIA_Addon_Lennar_ATTENTAT_01_05"); //Но с момента нападения он только и делает, что сидит на скамейке.
AI_Output(self,other,"DIA_Addon_Lennar_ATTENTAT_01_06"); //Это же очевидно! Чтобы попасть в шахту, он должен получить у Эстебана красную табличку.
AI_Output(self,other,"DIA_Addon_Lennar_ATTENTAT_01_07"); //(шепотом) Думаю, он просто не в силах посмотреть ему в глаза.
B_LogEntry(Topic_Addon_Esteban,"Леннар подозревает Эмилио, потому что он больше не ходит к Эстебану.");
};
instance DIA_Addon_Lennar_Inspektor(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 3;
condition = DIA_Addon_Lennar_Inspektor_Condition;
information = DIA_Addon_Lennar_Inspektor_Info;
permanent = FALSE;
description = "Но что получил бы Эмилио от смерти Эстебана?";
};
func int DIA_Addon_Lennar_Inspektor_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Lennar_Attentat))
{
return TRUE;
};
};
func void DIA_Addon_Lennar_Inspektor_Info()
{
AI_Output(other,self,"DIA_Addon_Lennar_Inspektor_15_00"); //Но что получил бы Эмилио от смерти Эстебана?
AI_Output(self,other,"DIA_Addon_Lennar_Inspektor_01_01"); //Откуда мне знать? Может, у него есть приятель, который бы занял место Эстебана.
AI_Output(self,other,"DIA_Addon_Lennar_Inspektor_01_02"); //Да, это звучит довольно логично...
};
instance DIA_Addon_Lennar_Mine(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 4;
condition = DIA_Addon_Lennar_Mine_Condition;
information = DIA_Addon_Lennar_Mine_Info;
permanent = FALSE;
description = DIALOG_ADDON_MINE_DESCRIPTION;
};
func int DIA_Addon_Lennar_Mine_Condition()
{
if((MIS_Send_Buddler == LOG_Running) && (Player_SentBuddler < 3) && Npc_HasItems(other,ItMi_Addon_Stone_01))
{
return TRUE;
};
};
func void DIA_Addon_Lennar_Mine_Info()
{
B_Say(other,self,"$MINE_ADDON_DESCRIPTION");
B_GiveInvItems(other,self,ItMi_Addon_Stone_01,1);
AI_Output(self,other,"DIA_Addon_Lennar_Mine_01_00"); //У тебя действительно есть для меня красная табличка?
AI_Output(self,other,"DIA_Addon_Lennar_Mine_01_01"); //Отлично! Ну теперь-то я разнесу эту чертову скалу на кусочки! Я уже знаю, где именно буду работать!
AI_Output(self,other,"DIA_Addon_Lennar_Mine_01_02"); //Да, один совет: когда ты работаешь с породой, не бей киркой слишком сильно. Иначе она может застрять в золоте!
B_Upgrade_Hero_HackChance(10);
Player_SentBuddler += 1;
B_GivePlayerXP(XP_Addon_MINE);
AI_StopProcessInfos(self);
Npc_ExchangeRoutine(self,"MINE");
};
instance DIA_Addon_Lennar_Gold(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 5;
condition = DIA_Addon_Lennar_Gold_Condition;
information = DIA_Addon_Lennar_Gold_Info;
permanent = FALSE;
description = "Ты мне можешь рассказать что-нибудь о добыче золота?";
};
func int DIA_Addon_Lennar_Gold_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Lennar_Hi))
{
return TRUE;
};
};
func void DIA_Addon_Lennar_Gold_Info()
{
AI_Output(other,self,"DIA_Addon_Lennar_Gold_15_00"); //Ты мне можешь рассказать что-нибудь о добыче золота?
AI_Output(self,other,"DIA_Addon_Lennar_Gold_01_01"); //Конечно! Но если я обучу тебя, ты сможешь добывать больше золота.
AI_Output(other,self,"DIA_Addon_Lennar_Gold_15_02"); //Поэтому я тебя и спрашиваю.
AI_Output(self,other,"DIA_Addon_Lennar_Gold_01_03"); //Да. Но если ты сможешь добывать больше золота, то было бы честно, если бы ты поделился им со мной.
AI_Output(other,self,"DIA_Addon_Lennar_Gold_15_04"); //Ну...
AI_Output(self,other,"DIA_Addon_Lennar_Gold_01_05"); //Впрочем, ты можешь заплатить мне мою долю авансом. Скажем...
AI_Output(self,other,"DIA_Addon_Lennar_Gold_01_06"); //Пятьдесят золотых.
};
var int Lennar_TeachGold;
instance DIA_Addon_Lennar_Train(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 6;
condition = DIA_Addon_Lennar_Train_Condition;
information = DIA_Addon_Lennar_Train_Info;
permanent = TRUE;
description = B_BuildPriceString("Я готов учиться добыче золота!",50);
};
func int DIA_Addon_Lennar_Train_Condition()
{
if(Npc_KnowsInfo(other,DIA_Addon_Lennar_Gold) && (Lennar_TeachGold == FALSE))
{
return TRUE;
};
};
func void DIA_Addon_Lennar_Train_Info()
{
AI_Output(other,self,"DIA_Addon_Lennar_Train_15_00"); //Я готов учиться добыче золота!
if(B_GiveInvItems(other,self,ItMi_Gold,50))
{
AI_Output(self,other,"DIA_Addon_Lennar_Train_01_01"); //Знай: основная работа производится размеренными ударами. Не перенапрягайся, но и не засыпай при работе.
AI_Output(self,other,"DIA_Addon_Lennar_Train_01_02"); //И не стоит бить все время в одно и то же место. Обрабатывай широкую зону породы - это увеличит твои шансы найти самородок большого размера.
AI_Output(self,other,"DIA_Addon_Lennar_Train_01_03"); //Запомни эти приемы: они помогут тебе стать мастером в рудокопном деле.
B_Upgrade_Hero_HackChance(10);
Lennar_TeachGold = TRUE;
}
else
{
AI_Output(self,other,"DIA_Addon_Lennar_Train_01_04"); //Сначала я хочу получить свою долю!
};
};
instance DIA_Addon_Lennar_Hacker(C_Info)
{
npc = BDT_1096_Addon_Lennar;
nr = 9;
condition = DIA_Addon_Lennar_Hacker_Condition;
information = DIA_Addon_Lennar_Hacker_Info;
permanent = TRUE;
description = "Как дела?";
};
func int DIA_Addon_Lennar_Hacker_Condition()
{
if(Npc_GetDistToWP(self,"ADW_MINE_PICK_09") <= 500)
{
return TRUE;
};
};
func void DIA_Addon_Lennar_Hacker_Info()
{
AI_Output(other,self,"DIA_Addon_BDT_10004_Lennar_Hacker_15_00"); //Как дела?
AI_Output(self,other,"DIA_Addon_BDT_10004_Lennar_Hacker_01_01"); //Все спокойно.
};
|
D
|
/Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/build/EggGame.build/Debug-iphoneos/EggGame.build/Objects-normal/arm64/Level_Three.o : /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameScene.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Two.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/SharedData.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/AssetViewController.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_One.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Three.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameViewController.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/AppDelegate.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Five.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Four.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameSelectionScene.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Constants.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SpriteKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/GLKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/simd.swiftmodule
/Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/build/EggGame.build/Debug-iphoneos/EggGame.build/Objects-normal/arm64/Level_Three~partial.swiftmodule : /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameScene.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Two.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/SharedData.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/AssetViewController.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_One.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Three.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameViewController.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/AppDelegate.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Five.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Four.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameSelectionScene.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Constants.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SpriteKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/GLKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/simd.swiftmodule
/Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/build/EggGame.build/Debug-iphoneos/EggGame.build/Objects-normal/arm64/Level_Three~partial.swiftdoc : /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameScene.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Two.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/SharedData.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/AssetViewController.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_One.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Three.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameViewController.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/AppDelegate.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Five.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Four.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameSelectionScene.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Constants.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SpriteKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/GLKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/simd.swiftmodule
|
D
|
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/lexer.d, _lexer.d)
* Documentation: https://dlang.org/phobos/dmd_lexer.html
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/lexer.d
*/
module dmd.lexer;
import core.stdc.ctype;
import core.stdc.errno;
import core.stdc.stdarg;
import core.stdc.stdio;
import core.stdc.string;
import core.stdc.time;
import dmd.entity;
import dmd.errors;
import dmd.globals;
import dmd.id;
import dmd.identifier;
import dmd.root.ctfloat;
import dmd.root.outbuffer;
import dmd.root.port;
import dmd.root.rmem;
import dmd.tokens;
import dmd.utf;
enum LS = 0x2028; // UTF line separator
enum PS = 0x2029; // UTF paragraph separator
/********************************************
* Do our own char maps
*/
static immutable cmtable = () {
ubyte[256] table;
foreach (const c; 0 .. table.length)
{
if ('0' <= c && c <= '7')
table[c] |= CMoctal;
if (c_isxdigit(c))
table[c] |= CMhex;
if (c_isalnum(c) || c == '_')
table[c] |= CMidchar;
switch (c)
{
case 'x': case 'X':
case 'b': case 'B':
table[c] |= CMzerosecond;
break;
case '0': .. case '9':
case 'e': case 'E':
case 'f': case 'F':
case 'l': case 'L':
case 'p': case 'P':
case 'u': case 'U':
case 'i':
case '.':
case '_':
table[c] |= CMzerosecond | CMdigitsecond;
break;
default:
break;
}
switch (c)
{
case '\\':
case '\n':
case '\r':
case 0:
case 0x1A:
case '\'':
break;
default:
if (!(c & 0x80))
table[c] |= CMsinglechar;
break;
}
}
return table;
}();
enum CMoctal = 0x1;
enum CMhex = 0x2;
enum CMidchar = 0x4;
enum CMzerosecond = 0x8;
enum CMdigitsecond = 0x10;
enum CMsinglechar = 0x20;
bool isoctal(const char c)
{
return (cmtable[c] & CMoctal) != 0;
}
bool ishex(const char c)
{
return (cmtable[c] & CMhex) != 0;
}
bool isidchar(const char c)
{
return (cmtable[c] & CMidchar) != 0;
}
bool isZeroSecond(const char c)
{
return (cmtable[c] & CMzerosecond) != 0;
}
bool isDigitSecond(const char c)
{
return (cmtable[c] & CMdigitsecond) != 0;
}
bool issinglechar(const char c)
{
return (cmtable[c] & CMsinglechar) != 0;
}
private bool c_isxdigit(const int c)
{
return (( c >= '0' && c <= '9') ||
( c >= 'a' && c <= 'f') ||
( c >= 'A' && c <= 'F'));
}
private bool c_isalnum(const int c)
{
return (( c >= '0' && c <= '9') ||
( c >= 'a' && c <= 'z') ||
( c >= 'A' && c <= 'Z'));
}
unittest
{
//printf("lexer.unittest\n");
/* Not much here, just trying things out.
*/
string text = "int"; // We rely on the implicit null-terminator
scope Lexer lex1 = new Lexer(null, text.ptr, 0, text.length, 0, 0);
TOK tok;
tok = lex1.nextToken();
//printf("tok == %s, %d, %d\n", Token::toChars(tok), tok, TOK.int32);
assert(tok == TOK.int32);
tok = lex1.nextToken();
assert(tok == TOK.endOfFile);
tok = lex1.nextToken();
assert(tok == TOK.endOfFile);
tok = lex1.nextToken();
assert(tok == TOK.endOfFile);
}
unittest
{
// We don't want to see Lexer error output during these tests.
uint errors = global.startGagging();
scope(exit) global.endGagging(errors);
// Test malformed input: even malformed input should end in a TOK.endOfFile.
static immutable char[][] testcases =
[ // Testcase must end with 0 or 0x1A.
[0], // not malformed, but pathological
['\'', 0],
['\'', 0x1A],
['{', '{', 'q', '{', 0],
[0xFF, 0],
[0xFF, 0x80, 0],
[0xFF, 0xFF, 0],
[0xFF, 0xFF, 0],
['x', '"', 0x1A],
];
foreach (testcase; testcases)
{
scope Lexer lex2 = new Lexer(null, testcase.ptr, 0, testcase.length-1, 0, 0);
TOK tok = lex2.nextToken();
size_t iterations = 1;
while ((tok != TOK.endOfFile) && (iterations++ < testcase.length))
{
tok = lex2.nextToken();
}
assert(tok == TOK.endOfFile);
tok = lex2.nextToken();
assert(tok == TOK.endOfFile);
}
}
/**
Handles error messages
*/
class ErrorHandler
{
/**
Report an error message.
Params:
format = format string for error
... = format string arguments
*/
abstract void error(const(char)* format, ...);
/**
Report an error message.
Params:
loc = Location of error
format = format string for error
... = format string arguments
*/
abstract void error(Loc loc, const(char)* format, ...);
}
/***********************************************************
*/
class Lexer : ErrorHandler
{
__gshared OutBuffer stringbuffer;
Loc scanloc; // for error messages
Loc prevloc; // location of token before current
const(char)* base; // pointer to start of buffer
const(char)* end; // pointer to last element of buffer
const(char)* p; // current character
const(char)* line; // start of current line
Token token;
bool doDocComment; // collect doc comment information
bool anyToken; // seen at least one token
bool commentToken; // comments are TOK.comment's
int lastDocLine; // last line of previous doc comment
bool errors; // errors occurred during lexing or parsing
/*********************
* Creates a Lexer for the source code base[begoffset..endoffset+1].
* The last character, base[endoffset], must be null (0) or EOF (0x1A).
*
* Params:
* filename = used for error messages
* base = source code, must be terminated by a null (0) or EOF (0x1A) character
* begoffset = starting offset into base[]
* endoffset = the last offset to read into base[]
* doDocComment = handle documentation comments
* commentToken = comments become TOK.comment's
*/
this(const(char)* filename, const(char)* base, size_t begoffset, size_t endoffset, bool doDocComment, bool commentToken)
{
scanloc = Loc(filename, 1, 1);
//printf("Lexer::Lexer(%p,%d)\n",base,length);
//printf("lexer.filename = %s\n", filename);
token = Token.init;
this.base = base;
this.end = base + endoffset;
p = base + begoffset;
line = p;
this.doDocComment = doDocComment;
this.commentToken = commentToken;
this.lastDocLine = 0;
//initKeywords();
/* If first line starts with '#!', ignore the line
*/
if (p && p[0] == '#' && p[1] == '!')
{
p += 2;
while (1)
{
char c = *p++;
switch (c)
{
case 0:
case 0x1A:
p--;
goto case;
case '\n':
break;
default:
continue;
}
break;
}
endOfLine();
}
}
final TOK nextToken()
{
prevloc = token.loc;
if (token.next)
{
Token* t = token.next;
memcpy(&token, t, Token.sizeof);
t.free();
}
else
{
scan(&token);
}
//printf(token.toChars());
return token.value;
}
/***********************
* Look ahead at next token's value.
*/
final TOK peekNext()
{
return peek(&token).value;
}
/***********************
* Look 2 tokens ahead at value.
*/
final TOK peekNext2()
{
Token* t = peek(&token);
return peek(t).value;
}
/****************************
* Turn next token in buffer into a token.
*/
final void scan(Token* t)
{
const lastLine = scanloc.linnum;
Loc startLoc;
t.blockComment = null;
t.lineComment = null;
while (1)
{
t.ptr = p;
//printf("p = %p, *p = '%c'\n",p,*p);
t.loc = loc();
switch (*p)
{
case 0:
case 0x1A:
t.value = TOK.endOfFile; // end of file
// Intentionally not advancing `p`, such that subsequent calls keep returning TOK.endOfFile.
return;
case ' ':
case '\t':
case '\v':
case '\f':
p++;
continue; // skip white space
case '\r':
p++;
if (*p != '\n') // if CR stands by itself
endOfLine();
continue; // skip white space
case '\n':
p++;
endOfLine();
continue; // skip white space
case '0':
if (!isZeroSecond(p[1])) // if numeric literal does not continue
{
++p;
t.unsvalue = 0;
t.value = TOK.int32Literal;
return;
}
goto Lnumber;
case '1': .. case '9':
if (!isDigitSecond(p[1])) // if numeric literal does not continue
{
t.unsvalue = *p - '0';
++p;
t.value = TOK.int32Literal;
return;
}
Lnumber:
t.value = number(t);
return;
case '\'':
if (issinglechar(p[1]) && p[2] == '\'')
{
t.unsvalue = p[1]; // simple one character literal
t.value = TOK.charLiteral;
p += 3;
}
else
t.value = charConstant(t);
return;
case 'r':
if (p[1] != '"')
goto case_ident;
p++;
goto case '`';
case '`':
wysiwygStringConstant(t);
return;
case 'x':
if (p[1] != '"')
goto case_ident;
p++;
t.value = hexStringConstant(t);
deprecation("Built-in hex string literals are deprecated, use `std.conv.hexString` instead.");
return;
case 'q':
if (p[1] == '"')
{
p++;
delimitedStringConstant(t);
return;
}
else if (p[1] == '{')
{
p++;
tokenStringConstant(t);
return;
}
else
goto case_ident;
case '"':
escapeStringConstant(t);
return;
case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
case 'g':
case 'h':
case 'i':
case 'j':
case 'k':
case 'l':
case 'm':
case 'n':
case 'o':
case 'p':
/*case 'q': case 'r':*/
case 's':
case 't':
case 'u':
case 'v':
case 'w':
/*case 'x':*/
case 'y':
case 'z':
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
case 'G':
case 'H':
case 'I':
case 'J':
case 'K':
case 'L':
case 'M':
case 'N':
case 'O':
case 'P':
case 'Q':
case 'R':
case 'S':
case 'T':
case 'U':
case 'V':
case 'W':
case 'X':
case 'Y':
case 'Z':
case '_':
case_ident:
{
while (1)
{
const c = *++p;
if (isidchar(c))
continue;
else if (c & 0x80)
{
const s = p;
const u = decodeUTF();
if (isUniAlpha(u))
continue;
error("char 0x%04x not allowed in identifier", u);
p = s;
}
break;
}
Identifier id = Identifier.idPool(cast(char*)t.ptr, cast(uint)(p - t.ptr));
t.ident = id;
t.value = cast(TOK)id.getValue();
anyToken = 1;
if (*t.ptr == '_') // if special identifier token
{
__gshared bool initdone = false;
__gshared char[11 + 1] date;
__gshared char[8 + 1] time;
__gshared char[24 + 1] timestamp;
if (!initdone) // lazy evaluation
{
initdone = true;
time_t ct;
.time(&ct);
const p = ctime(&ct);
assert(p);
sprintf(&date[0], "%.6s %.4s", p + 4, p + 20);
sprintf(&time[0], "%.8s", p + 11);
sprintf(×tamp[0], "%.24s", p);
}
if (id == Id.DATE)
{
t.ustring = date.ptr;
goto Lstr;
}
else if (id == Id.TIME)
{
t.ustring = time.ptr;
goto Lstr;
}
else if (id == Id.VENDOR)
{
t.ustring = global.compiler.vendor;
goto Lstr;
}
else if (id == Id.TIMESTAMP)
{
t.ustring = timestamp.ptr;
Lstr:
t.value = TOK.string_;
t.postfix = 0;
t.len = cast(uint)strlen(t.ustring);
}
else if (id == Id.VERSIONX)
{
t.value = TOK.int64Literal;
t.unsvalue = global.versionNumber();
}
else if (id == Id.EOFX)
{
t.value = TOK.endOfFile;
// Advance scanner to end of file
while (!(*p == 0 || *p == 0x1A))
p++;
}
}
//printf("t.value = %d\n",t.value);
return;
}
case '/':
p++;
switch (*p)
{
case '=':
p++;
t.value = TOK.divAssign;
return;
case '*':
p++;
startLoc = loc();
while (1)
{
while (1)
{
const c = *p;
switch (c)
{
case '/':
break;
case '\n':
endOfLine();
p++;
continue;
case '\r':
p++;
if (*p != '\n')
endOfLine();
continue;
case 0:
case 0x1A:
error("unterminated /* */ comment");
p = end;
t.loc = loc();
t.value = TOK.endOfFile;
return;
default:
if (c & 0x80)
{
const u = decodeUTF();
if (u == PS || u == LS)
endOfLine();
}
p++;
continue;
}
break;
}
p++;
if (p[-2] == '*' && p - 3 != t.ptr)
break;
}
if (commentToken)
{
t.loc = startLoc;
t.value = TOK.comment;
return;
}
else if (doDocComment && t.ptr[2] == '*' && p - 4 != t.ptr)
{
// if /** but not /**/
getDocComment(t, lastLine == startLoc.linnum, startLoc.linnum - lastDocLine > 1);
lastDocLine = scanloc.linnum;
}
continue;
case '/': // do // style comments
startLoc = loc();
while (1)
{
const c = *++p;
switch (c)
{
case '\n':
break;
case '\r':
if (p[1] == '\n')
p++;
break;
case 0:
case 0x1A:
if (commentToken)
{
p = end;
t.loc = startLoc;
t.value = TOK.comment;
return;
}
if (doDocComment && t.ptr[2] == '/')
{
getDocComment(t, lastLine == startLoc.linnum, startLoc.linnum - lastDocLine > 1);
lastDocLine = scanloc.linnum;
}
p = end;
t.loc = loc();
t.value = TOK.endOfFile;
return;
default:
if (c & 0x80)
{
const u = decodeUTF();
if (u == PS || u == LS)
break;
}
continue;
}
break;
}
if (commentToken)
{
p++;
endOfLine();
t.loc = startLoc;
t.value = TOK.comment;
return;
}
if (doDocComment && t.ptr[2] == '/')
{
getDocComment(t, lastLine == startLoc.linnum, startLoc.linnum - lastDocLine > 1);
lastDocLine = scanloc.linnum;
}
p++;
endOfLine();
continue;
case '+':
{
int nest;
startLoc = loc();
p++;
nest = 1;
while (1)
{
char c = *p;
switch (c)
{
case '/':
p++;
if (*p == '+')
{
p++;
nest++;
}
continue;
case '+':
p++;
if (*p == '/')
{
p++;
if (--nest == 0)
break;
}
continue;
case '\r':
p++;
if (*p != '\n')
endOfLine();
continue;
case '\n':
endOfLine();
p++;
continue;
case 0:
case 0x1A:
error("unterminated /+ +/ comment");
p = end;
t.loc = loc();
t.value = TOK.endOfFile;
return;
default:
if (c & 0x80)
{
uint u = decodeUTF();
if (u == PS || u == LS)
endOfLine();
}
p++;
continue;
}
break;
}
if (commentToken)
{
t.loc = startLoc;
t.value = TOK.comment;
return;
}
if (doDocComment && t.ptr[2] == '+' && p - 4 != t.ptr)
{
// if /++ but not /++/
getDocComment(t, lastLine == startLoc.linnum, startLoc.linnum - lastDocLine > 1);
lastDocLine = scanloc.linnum;
}
continue;
}
default:
break;
}
t.value = TOK.div;
return;
case '.':
p++;
if (isdigit(*p))
{
/* Note that we don't allow ._1 and ._ as being
* valid floating point numbers.
*/
p--;
t.value = inreal(t);
}
else if (p[0] == '.')
{
if (p[1] == '.')
{
p += 2;
t.value = TOK.dotDotDot;
}
else
{
p++;
t.value = TOK.slice;
}
}
else
t.value = TOK.dot;
return;
case '&':
p++;
if (*p == '=')
{
p++;
t.value = TOK.andAssign;
}
else if (*p == '&')
{
p++;
t.value = TOK.andAnd;
}
else
t.value = TOK.and;
return;
case '|':
p++;
if (*p == '=')
{
p++;
t.value = TOK.orAssign;
}
else if (*p == '|')
{
p++;
t.value = TOK.orOr;
}
else
t.value = TOK.or;
return;
case '-':
p++;
if (*p == '=')
{
p++;
t.value = TOK.minAssign;
}
else if (*p == '-')
{
p++;
t.value = TOK.minusMinus;
}
else
t.value = TOK.min;
return;
case '+':
p++;
if (*p == '=')
{
p++;
t.value = TOK.addAssign;
}
else if (*p == '+')
{
p++;
t.value = TOK.plusPlus;
}
else
t.value = TOK.add;
return;
case '<':
p++;
if (*p == '=')
{
p++;
t.value = TOK.lessOrEqual; // <=
}
else if (*p == '<')
{
p++;
if (*p == '=')
{
p++;
t.value = TOK.leftShiftAssign; // <<=
}
else
t.value = TOK.leftShift; // <<
}
else
t.value = TOK.lessThan; // <
return;
case '>':
p++;
if (*p == '=')
{
p++;
t.value = TOK.greaterOrEqual; // >=
}
else if (*p == '>')
{
p++;
if (*p == '=')
{
p++;
t.value = TOK.rightShiftAssign; // >>=
}
else if (*p == '>')
{
p++;
if (*p == '=')
{
p++;
t.value = TOK.unsignedRightShiftAssign; // >>>=
}
else
t.value = TOK.unsignedRightShift; // >>>
}
else
t.value = TOK.rightShift; // >>
}
else
t.value = TOK.greaterThan; // >
return;
case '!':
p++;
if (*p == '=')
{
p++;
t.value = TOK.notEqual; // !=
}
else
t.value = TOK.not; // !
return;
case '=':
p++;
if (*p == '=')
{
p++;
t.value = TOK.equal; // ==
}
else if (*p == '>')
{
p++;
t.value = TOK.goesTo; // =>
}
else
t.value = TOK.assign; // =
return;
case '~':
p++;
if (*p == '=')
{
p++;
t.value = TOK.concatenateAssign; // ~=
}
else
t.value = TOK.tilde; // ~
return;
case '^':
p++;
if (*p == '^')
{
p++;
if (*p == '=')
{
p++;
t.value = TOK.powAssign; // ^^=
}
else
t.value = TOK.pow; // ^^
}
else if (*p == '=')
{
p++;
t.value = TOK.xorAssign; // ^=
}
else
t.value = TOK.xor; // ^
return;
case '(':
p++;
t.value = TOK.leftParentheses;
return;
case ')':
p++;
t.value = TOK.rightParentheses;
return;
case '[':
p++;
t.value = TOK.leftBracket;
return;
case ']':
p++;
t.value = TOK.rightBracket;
return;
case '{':
p++;
t.value = TOK.leftCurly;
return;
case '}':
p++;
t.value = TOK.rightCurly;
return;
case '?':
p++;
t.value = TOK.question;
return;
case ',':
p++;
t.value = TOK.comma;
return;
case ';':
p++;
t.value = TOK.semicolon;
return;
case ':':
p++;
t.value = TOK.colon;
return;
case '$':
p++;
t.value = TOK.dollar;
return;
case '@':
p++;
t.value = TOK.at;
return;
case '*':
p++;
if (*p == '=')
{
p++;
t.value = TOK.mulAssign;
}
else
t.value = TOK.mul;
return;
case '%':
p++;
if (*p == '=')
{
p++;
t.value = TOK.modAssign;
}
else
t.value = TOK.mod;
return;
case '#':
{
p++;
Token n;
scan(&n);
if (n.value == TOK.identifier)
{
if (n.ident == Id.line)
{
poundLine();
continue;
}
else
{
const locx = loc();
warning(locx, "C preprocessor directive `#%s` is not supported", n.ident.toChars());
}
}
else if (n.value == TOK.if_)
{
error("C preprocessor directive `#if` is not supported, use `version` or `static if`");
}
t.value = TOK.pound;
return;
}
default:
{
dchar c = *p;
if (c & 0x80)
{
c = decodeUTF();
// Check for start of unicode identifier
if (isUniAlpha(c))
goto case_ident;
if (c == PS || c == LS)
{
endOfLine();
p++;
continue;
}
}
if (c < 0x80 && isprint(c))
error("character '%c' is not a valid token", c);
else
error("character 0x%02x is not a valid token", c);
p++;
continue;
}
}
}
}
final Token* peek(Token* ct)
{
Token* t;
if (ct.next)
t = ct.next;
else
{
t = Token.alloc();
scan(t);
ct.next = t;
}
return t;
}
/*********************************
* tk is on the opening (.
* Look ahead and return token that is past the closing ).
*/
final Token* peekPastParen(Token* tk)
{
//printf("peekPastParen()\n");
int parens = 1;
int curlynest = 0;
while (1)
{
tk = peek(tk);
//tk.print();
switch (tk.value)
{
case TOK.leftParentheses:
parens++;
continue;
case TOK.rightParentheses:
--parens;
if (parens)
continue;
tk = peek(tk);
break;
case TOK.leftCurly:
curlynest++;
continue;
case TOK.rightCurly:
if (--curlynest >= 0)
continue;
break;
case TOK.semicolon:
if (curlynest)
continue;
break;
case TOK.endOfFile:
break;
default:
continue;
}
return tk;
}
}
/*******************************************
* Parse escape sequence.
*/
final uint escapeSequence()
{
return Lexer.escapeSequence(this, p);
}
/**
Parse the given string literal escape sequence into a single character.
Params:
handler = the error handler object
sequence = pointer to string with escape sequence to parse. this is a reference
variable that is also used to return the position after the sequence
Returns:
the escaped sequence as a single character
*/
static dchar escapeSequence(ErrorHandler handler, ref const(char)* sequence)
{
const(char)* p = sequence; // cache sequence reference on stack
scope(exit) sequence = p;
uint c = *p;
int ndigits;
switch (c)
{
case '\'':
case '"':
case '?':
case '\\':
Lconsume:
p++;
break;
case 'a':
c = 7;
goto Lconsume;
case 'b':
c = 8;
goto Lconsume;
case 'f':
c = 12;
goto Lconsume;
case 'n':
c = 10;
goto Lconsume;
case 'r':
c = 13;
goto Lconsume;
case 't':
c = 9;
goto Lconsume;
case 'v':
c = 11;
goto Lconsume;
case 'u':
ndigits = 4;
goto Lhex;
case 'U':
ndigits = 8;
goto Lhex;
case 'x':
ndigits = 2;
Lhex:
p++;
c = *p;
if (ishex(cast(char)c))
{
uint v = 0;
int n = 0;
while (1)
{
if (isdigit(cast(char)c))
c -= '0';
else if (islower(c))
c -= 'a' - 10;
else
c -= 'A' - 10;
v = v * 16 + c;
c = *++p;
if (++n == ndigits)
break;
if (!ishex(cast(char)c))
{
handler.error("escape hex sequence has %d hex digits instead of %d", n, ndigits);
break;
}
}
if (ndigits != 2 && !utf_isValidDchar(v))
{
handler.error("invalid UTF character \\U%08x", v);
v = '?'; // recover with valid UTF character
}
c = v;
}
else
{
handler.error("undefined escape hex sequence \\%c%c", sequence[0], c);
p++;
}
break;
case '&':
// named character entity
for (const idstart = ++p; 1; p++)
{
switch (*p)
{
case ';':
c = HtmlNamedEntity(idstart, p - idstart);
if (c == ~0)
{
handler.error("unnamed character entity &%.*s;", cast(int)(p - idstart), idstart);
c = '?';
}
p++;
break;
default:
if (isalpha(*p) || (p != idstart && isdigit(*p)))
continue;
handler.error("unterminated named entity &%.*s;", cast(int)(p - idstart + 1), idstart);
c = '?';
break;
}
break;
}
break;
case 0:
case 0x1A:
// end of file
c = '\\';
break;
default:
if (isoctal(cast(char)c))
{
uint v = 0;
int n = 0;
do
{
v = v * 8 + (c - '0');
c = *++p;
}
while (++n < 3 && isoctal(cast(char)c));
c = v;
if (c > 0xFF)
handler.error("escape octal sequence \\%03o is larger than \\377", c);
}
else
{
handler.error("undefined escape sequence \\%c", c);
p++;
}
break;
}
return c;
}
/**
Lex a wysiwyg string. `p` must be pointing to the first character before the
contents of the string literal. The character pointed to by `p` will be used as
the terminating character (i.e. backtick or double-quote).
Params:
result = pointer to the token that accepts the result
*/
final void wysiwygStringConstant(Token* result)
{
result.value = TOK.string_;
Loc start = loc();
auto terminator = p[0];
p++;
stringbuffer.reset();
while (1)
{
dchar c = p[0];
p++;
switch (c)
{
case '\n':
endOfLine();
break;
case '\r':
if (p[0] == '\n')
continue; // ignore
c = '\n'; // treat EndOfLine as \n character
endOfLine();
break;
case 0:
case 0x1A:
error("unterminated string constant starting at %s", start.toChars());
result.setString();
// rewind `p` so it points to the EOF character
p--;
return;
default:
if (c == terminator)
{
result.setString(stringbuffer);
stringPostfix(result);
return;
}
else if (c & 0x80)
{
p--;
const u = decodeUTF();
p++;
if (u == PS || u == LS)
endOfLine();
stringbuffer.writeUTF8(u);
continue;
}
break;
}
stringbuffer.writeByte(c);
}
}
/**************************************
* Lex hex strings:
* x"0A ae 34FE BD"
*/
final TOK hexStringConstant(Token* t)
{
Loc start = loc();
uint n = 0;
uint v = ~0; // dead assignment, needed to suppress warning
p++;
stringbuffer.reset();
while (1)
{
dchar c = *p++;
switch (c)
{
case ' ':
case '\t':
case '\v':
case '\f':
continue; // skip white space
case '\r':
if (*p == '\n')
continue; // ignore '\r' if followed by '\n'
// Treat isolated '\r' as if it were a '\n'
goto case '\n';
case '\n':
endOfLine();
continue;
case 0:
case 0x1A:
error("unterminated string constant starting at %s", start.toChars());
t.setString();
// decrement `p`, because it needs to point to the next token (the 0 or 0x1A character is the TOK.endOfFile token).
p--;
return TOK.hexadecimalString;
case '"':
if (n & 1)
{
error("odd number (%d) of hex characters in hex string", n);
stringbuffer.writeByte(v);
}
t.setString(stringbuffer);
stringPostfix(t);
return TOK.hexadecimalString;
default:
if (c >= '0' && c <= '9')
c -= '0';
else if (c >= 'a' && c <= 'f')
c -= 'a' - 10;
else if (c >= 'A' && c <= 'F')
c -= 'A' - 10;
else if (c & 0x80)
{
p--;
const u = decodeUTF();
p++;
if (u == PS || u == LS)
endOfLine();
else
error("non-hex character \\u%04x in hex string", u);
}
else
error("non-hex character '%c' in hex string", c);
if (n & 1)
{
v = (v << 4) | c;
stringbuffer.writeByte(v);
}
else
v = c;
n++;
break;
}
}
assert(0); // see bug 15731
}
/**
Lex a delimited string. Some examples of delimited strings are:
---
q"(foo(xxx))" // "foo(xxx)"
q"[foo$(LPAREN)]" // "foo$(LPAREN)"
q"/foo]/" // "foo]"
q"HERE
foo
HERE" // "foo\n"
---
It is assumed that `p` points to the opening double-quote '"'.
Params:
result = pointer to the token that accepts the result
*/
final void delimitedStringConstant(Token* result)
{
result.value = TOK.string_;
Loc start = loc();
dchar delimleft = 0;
dchar delimright = 0;
uint nest = 1;
uint nestcount = ~0; // dead assignment, needed to suppress warning
Identifier hereid = null;
uint blankrol = 0;
uint startline = 0;
p++;
stringbuffer.reset();
while (1)
{
dchar c = *p++;
//printf("c = '%c'\n", c);
switch (c)
{
case '\n':
Lnextline:
endOfLine();
startline = 1;
if (blankrol)
{
blankrol = 0;
continue;
}
if (hereid)
{
stringbuffer.writeUTF8(c);
continue;
}
break;
case '\r':
if (*p == '\n')
continue; // ignore
c = '\n'; // treat EndOfLine as \n character
goto Lnextline;
case 0:
case 0x1A:
error("unterminated delimited string constant starting at %s", start.toChars());
result.setString();
// decrement `p`, because it needs to point to the next token (the 0 or 0x1A character is the TOK.endOfFile token).
p--;
return;
default:
if (c & 0x80)
{
p--;
c = decodeUTF();
p++;
if (c == PS || c == LS)
goto Lnextline;
}
break;
}
if (delimleft == 0)
{
delimleft = c;
nest = 1;
nestcount = 1;
if (c == '(')
delimright = ')';
else if (c == '{')
delimright = '}';
else if (c == '[')
delimright = ']';
else if (c == '<')
delimright = '>';
else if (isalpha(c) || c == '_' || (c >= 0x80 && isUniAlpha(c)))
{
// Start of identifier; must be a heredoc
Token tok;
p--;
scan(&tok); // read in heredoc identifier
if (tok.value != TOK.identifier)
{
error("identifier expected for heredoc, not %s", tok.toChars());
delimright = c;
}
else
{
hereid = tok.ident;
//printf("hereid = '%s'\n", hereid.toChars());
blankrol = 1;
}
nest = 0;
}
else
{
delimright = c;
nest = 0;
if (isspace(c))
error("delimiter cannot be whitespace");
}
}
else
{
if (blankrol)
{
error("heredoc rest of line should be blank");
blankrol = 0;
continue;
}
if (nest == 1)
{
if (c == delimleft)
nestcount++;
else if (c == delimright)
{
nestcount--;
if (nestcount == 0)
goto Ldone;
}
}
else if (c == delimright)
goto Ldone;
if (startline && (isalpha(c) || c == '_' || (c >= 0x80 && isUniAlpha(c))) && hereid)
{
Token tok;
auto psave = p;
p--;
scan(&tok); // read in possible heredoc identifier
//printf("endid = '%s'\n", tok.ident.toChars());
if (tok.value == TOK.identifier && tok.ident.equals(hereid))
{
/* should check that rest of line is blank
*/
goto Ldone;
}
p = psave;
}
stringbuffer.writeUTF8(c);
startline = 0;
}
}
Ldone:
if (*p == '"')
p++;
else if (hereid)
error("delimited string must end in %s\"", hereid.toChars());
else
error("delimited string must end in %c\"", delimright);
result.setString(stringbuffer);
stringPostfix(result);
}
/**
Lex a token string. Some examples of token strings are:
---
q{ foo(xxx) } // " foo(xxx) "
q{foo$(LPAREN)} // "foo$(LPAREN)"
q{{foo}"}"} // "{foo}"}""
---
It is assumed that `p` points to the opening curly-brace '{'.
Params:
result = pointer to the token that accepts the result
*/
final void tokenStringConstant(Token* result)
{
result.value = TOK.string_;
uint nest = 1;
const start = loc();
const pstart = ++p;
while (1)
{
Token tok;
scan(&tok);
switch (tok.value)
{
case TOK.leftCurly:
nest++;
continue;
case TOK.rightCurly:
if (--nest == 0)
{
result.setString(pstart, p - 1 - pstart);
stringPostfix(result);
return;
}
continue;
case TOK.endOfFile:
error("unterminated token string constant starting at %s", start.toChars());
result.setString();
return;
default:
continue;
}
}
}
/**
Scan a double-quoted string while building the processed string value by
handling escape sequences. The result is returned in the given `t` token.
This function assumes that `p` currently points to the opening double-quote
of the string.
Params:
t = the token to set the resulting string to
*/
final void escapeStringConstant(Token* t)
{
t.value = TOK.string_;
const start = loc();
p++;
stringbuffer.reset();
while (1)
{
dchar c = *p++;
switch (c)
{
case '\\':
switch (*p)
{
case 'u':
case 'U':
case '&':
c = escapeSequence();
stringbuffer.writeUTF8(c);
continue;
default:
c = escapeSequence();
break;
}
break;
case '\n':
endOfLine();
break;
case '\r':
if (*p == '\n')
continue; // ignore
c = '\n'; // treat EndOfLine as \n character
endOfLine();
break;
case '"':
t.setString(stringbuffer);
stringPostfix(t);
return;
case 0:
case 0x1A:
// decrement `p`, because it needs to point to the next token (the 0 or 0x1A character is the TOK.endOfFile token).
p--;
error("unterminated string constant starting at %s", start.toChars());
t.setString();
return;
default:
if (c & 0x80)
{
p--;
c = decodeUTF();
if (c == LS || c == PS)
{
c = '\n';
endOfLine();
}
p++;
stringbuffer.writeUTF8(c);
continue;
}
break;
}
stringbuffer.writeByte(c);
}
}
/**************************************
*/
final TOK charConstant(Token* t)
{
TOK tk = TOK.charLiteral;
//printf("Lexer::charConstant\n");
p++;
dchar c = *p++;
switch (c)
{
case '\\':
switch (*p)
{
case 'u':
t.unsvalue = escapeSequence();
tk = TOK.wcharLiteral;
break;
case 'U':
case '&':
t.unsvalue = escapeSequence();
tk = TOK.dcharLiteral;
break;
default:
t.unsvalue = escapeSequence();
break;
}
break;
case '\n':
L1:
endOfLine();
goto case;
case '\r':
goto case '\'';
case 0:
case 0x1A:
// decrement `p`, because it needs to point to the next token (the 0 or 0x1A character is the TOK.endOfFile token).
p--;
goto case;
case '\'':
error("unterminated character constant");
t.unsvalue = '?';
return tk;
default:
if (c & 0x80)
{
p--;
c = decodeUTF();
p++;
if (c == LS || c == PS)
goto L1;
if (c < 0xD800 || (c >= 0xE000 && c < 0xFFFE))
tk = TOK.wcharLiteral;
else
tk = TOK.dcharLiteral;
}
t.unsvalue = c;
break;
}
if (*p != '\'')
{
error("unterminated character constant");
t.unsvalue = '?';
return tk;
}
p++;
return tk;
}
/***************************************
* Get postfix of string literal.
*/
final void stringPostfix(Token* t)
{
switch (*p)
{
case 'c':
case 'w':
case 'd':
t.postfix = *p;
p++;
break;
default:
t.postfix = 0;
break;
}
}
/**************************************
* Read in a number.
* If it's an integer, store it in tok.TKutok.Vlong.
* integers can be decimal, octal or hex
* Handle the suffixes U, UL, LU, L, etc.
* If it's double, store it in tok.TKutok.Vdouble.
* Returns:
* TKnum
* TKdouble,...
*/
final TOK number(Token* t)
{
int base = 10;
const start = p;
uinteger_t n = 0; // unsigned >=64 bit integer type
int d;
bool err = false;
bool overflow = false;
bool anyBinaryDigitsUS = false;
bool anyHexDigitsNoSingleUS = false;
dchar c = *p;
if (c == '0')
{
++p;
c = *p;
switch (c)
{
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
base = 8;
break;
case 'x':
case 'X':
++p;
base = 16;
break;
case 'b':
case 'B':
++p;
base = 2;
break;
case '.':
if (p[1] == '.')
goto Ldone; // if ".."
if (isalpha(p[1]) || p[1] == '_' || p[1] & 0x80)
goto Ldone; // if ".identifier" or ".unicode"
goto Lreal; // '.' is part of current token
case 'i':
case 'f':
case 'F':
goto Lreal;
case '_':
++p;
base = 8;
break;
case 'L':
if (p[1] == 'i')
goto Lreal;
break;
default:
break;
}
}
while (1)
{
c = *p;
switch (c)
{
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
++p;
d = c - '0';
break;
case 'a':
case 'b':
case 'c':
case 'd':
case 'e':
case 'f':
case 'A':
case 'B':
case 'C':
case 'D':
case 'E':
case 'F':
++p;
if (base != 16)
{
if (c == 'e' || c == 'E' || c == 'f' || c == 'F')
goto Lreal;
}
if (c >= 'a')
d = c + 10 - 'a';
else
d = c + 10 - 'A';
break;
case 'L':
if (p[1] == 'i')
goto Lreal;
goto Ldone;
case '.':
if (p[1] == '.')
goto Ldone; // if ".."
if (base == 10 && (isalpha(p[1]) || p[1] == '_' || p[1] & 0x80))
goto Ldone; // if ".identifier" or ".unicode"
goto Lreal; // otherwise as part of a floating point literal
case 'p':
case 'P':
case 'i':
Lreal:
p = start;
return inreal(t);
case '_':
anyBinaryDigitsUS = true;
++p;
continue;
default:
goto Ldone;
}
// got a digit here, set any necessary flags, check for errors
anyHexDigitsNoSingleUS = true;
anyBinaryDigitsUS = true;
if (!err && d >= base)
{
error("%s digit expected, not `%c`", base == 2 ? "binary".ptr :
base == 8 ? "octal".ptr :
"decimal".ptr, c);
err = true;
}
// Avoid expensive overflow check if we aren't at risk of overflow
if (n <= 0x0FFF_FFFF_FFFF_FFFFUL)
n = n * base + d;
else
{
import core.checkedint : mulu, addu;
n = mulu(n, base, overflow);
n = addu(n, d, overflow);
}
}
Ldone:
if (overflow && !err)
{
error("integer overflow");
err = true;
}
// Deprecated in 2018-06.
// Change to error in 2019-06.
// @@@DEPRECATED_2019-06@@@
if ((base == 2 && !anyBinaryDigitsUS) ||
(base == 16 && !anyHexDigitsNoSingleUS))
deprecation("`%.*s` isn't a valid integer literal, use `%.*s0` instead", cast(int)(p - start), start, 2, start);
enum FLAGS : int
{
none = 0,
decimal = 1, // decimal
unsigned = 2, // u or U suffix
long_ = 4, // L suffix
}
FLAGS flags = (base == 10) ? FLAGS.decimal : FLAGS.none;
// Parse trailing 'u', 'U', 'l' or 'L' in any combination
const psuffix = p;
while (1)
{
FLAGS f;
switch (*p)
{
case 'U':
case 'u':
f = FLAGS.unsigned;
goto L1;
case 'l':
f = FLAGS.long_;
error("lower case integer suffix 'l' is not allowed. Please use 'L' instead");
goto L1;
case 'L':
f = FLAGS.long_;
L1:
p++;
if ((flags & f) && !err)
{
error("unrecognized token");
err = true;
}
flags = cast(FLAGS)(flags | f);
continue;
default:
break;
}
break;
}
if (base == 8 && n >= 8)
{
if (err)
// can't translate invalid octal value, just show a generic message
error("octal literals larger than 7 are no longer supported");
else
error("octal literals `0%llo%.*s` are no longer supported, use `std.conv.octal!%llo%.*s` instead", n, p - psuffix, psuffix, n, p - psuffix, psuffix);
}
TOK result;
switch (flags)
{
case FLAGS.none:
/* Octal or Hexadecimal constant.
* First that fits: int, uint, long, ulong
*/
if (n & 0x8000000000000000L)
result = TOK.uns64Literal;
else if (n & 0xFFFFFFFF00000000L)
result = TOK.int64Literal;
else if (n & 0x80000000)
result = TOK.uns32Literal;
else
result = TOK.int32Literal;
break;
case FLAGS.decimal:
/* First that fits: int, long, long long
*/
if (n & 0x8000000000000000L)
{
if (!err)
{
error("signed integer overflow");
err = true;
}
result = TOK.uns64Literal;
}
else if (n & 0xFFFFFFFF80000000L)
result = TOK.int64Literal;
else
result = TOK.int32Literal;
break;
case FLAGS.unsigned:
case FLAGS.decimal | FLAGS.unsigned:
/* First that fits: uint, ulong
*/
if (n & 0xFFFFFFFF00000000L)
result = TOK.uns64Literal;
else
result = TOK.uns32Literal;
break;
case FLAGS.decimal | FLAGS.long_:
if (n & 0x8000000000000000L)
{
if (!err)
{
error("signed integer overflow");
err = true;
}
result = TOK.uns64Literal;
}
else
result = TOK.int64Literal;
break;
case FLAGS.long_:
if (n & 0x8000000000000000L)
result = TOK.uns64Literal;
else
result = TOK.int64Literal;
break;
case FLAGS.unsigned | FLAGS.long_:
case FLAGS.decimal | FLAGS.unsigned | FLAGS.long_:
result = TOK.uns64Literal;
break;
default:
debug
{
printf("%x\n", flags);
}
assert(0);
}
t.unsvalue = n;
return result;
}
/**************************************
* Read in characters, converting them to real.
* Bugs:
* Exponent overflow not detected.
* Too much requested precision is not detected.
*/
final TOK inreal(Token* t)
{
//printf("Lexer::inreal()\n");
debug
{
assert(*p == '.' || isdigit(*p));
}
bool isWellformedString = true;
stringbuffer.reset();
auto pstart = p;
bool hex = false;
dchar c = *p++;
// Leading '0x'
if (c == '0')
{
c = *p++;
if (c == 'x' || c == 'X')
{
hex = true;
c = *p++;
}
}
// Digits to left of '.'
while (1)
{
if (c == '.')
{
c = *p++;
break;
}
if (isdigit(c) || (hex && isxdigit(c)) || c == '_')
{
c = *p++;
continue;
}
break;
}
// Digits to right of '.'
while (1)
{
if (isdigit(c) || (hex && isxdigit(c)) || c == '_')
{
c = *p++;
continue;
}
break;
}
if (c == 'e' || c == 'E' || (hex && (c == 'p' || c == 'P')))
{
c = *p++;
if (c == '-' || c == '+')
{
c = *p++;
}
bool anyexp = false;
while (1)
{
if (isdigit(c))
{
anyexp = true;
c = *p++;
continue;
}
if (c == '_')
{
c = *p++;
continue;
}
if (!anyexp)
{
error("missing exponent");
isWellformedString = false;
}
break;
}
}
else if (hex)
{
error("exponent required for hex float");
isWellformedString = false;
}
--p;
while (pstart < p)
{
if (*pstart != '_')
stringbuffer.writeByte(*pstart);
++pstart;
}
stringbuffer.writeByte(0);
auto sbufptr = cast(const(char)*)stringbuffer.data;
TOK result;
bool isOutOfRange = false;
t.floatvalue = (isWellformedString ? CTFloat.parse(sbufptr, &isOutOfRange) : CTFloat.zero);
switch (*p)
{
case 'F':
case 'f':
if (isWellformedString && !isOutOfRange)
isOutOfRange = Port.isFloat32LiteralOutOfRange(sbufptr);
result = TOK.float32Literal;
p++;
break;
default:
if (isWellformedString && !isOutOfRange)
isOutOfRange = Port.isFloat64LiteralOutOfRange(sbufptr);
result = TOK.float64Literal;
break;
case 'l':
error("use 'L' suffix instead of 'l'");
goto case 'L';
case 'L':
result = TOK.float80Literal;
p++;
break;
}
if (*p == 'i' || *p == 'I')
{
if (*p == 'I')
error("use 'i' suffix instead of 'I'");
p++;
switch (result)
{
case TOK.float32Literal:
result = TOK.imaginary32Literal;
break;
case TOK.float64Literal:
result = TOK.imaginary64Literal;
break;
case TOK.float80Literal:
result = TOK.imaginary80Literal;
break;
default:
break;
}
}
const isLong = (result == TOK.float80Literal || result == TOK.imaginary80Literal);
if (isOutOfRange && !isLong)
{
const char* suffix = (result == TOK.float32Literal || result == TOK.imaginary32Literal) ? "f" : "";
error(scanloc, "number `%s%s` is not representable", sbufptr, suffix);
}
debug
{
switch (result)
{
case TOK.float32Literal:
case TOK.float64Literal:
case TOK.float80Literal:
case TOK.imaginary32Literal:
case TOK.imaginary64Literal:
case TOK.imaginary80Literal:
break;
default:
assert(0);
}
}
return result;
}
final Loc loc()
{
scanloc.charnum = cast(uint)(1 + p - line);
return scanloc;
}
final override void error(const(char)* format, ...)
{
va_list ap;
va_start(ap, format);
.verror(token.loc, format, ap);
va_end(ap);
errors = true;
}
final override void error(Loc loc, const(char)* format, ...)
{
va_list ap;
va_start(ap, format);
.verror(loc, format, ap);
va_end(ap);
errors = true;
}
final void deprecation(const(char)* format, ...)
{
va_list ap;
va_start(ap, format);
.vdeprecation(token.loc, format, ap);
va_end(ap);
if (global.params.useDeprecated == 0)
errors = true;
}
/*********************************************
* parse:
* #line linnum [filespec]
* also allow __LINE__ for linnum, and __FILE__ for filespec
*/
final void poundLine()
{
auto linnum = this.scanloc.linnum;
const(char)* filespec = null;
const loc = this.loc();
Token tok;
scan(&tok);
if (tok.value == TOK.int32Literal || tok.value == TOK.int64Literal)
{
const lin = cast(int)(tok.unsvalue - 1);
if (lin != tok.unsvalue - 1)
error("line number `%lld` out of range", cast(ulong)tok.unsvalue);
else
linnum = lin;
}
else if (tok.value == TOK.line)
{
}
else
goto Lerr;
while (1)
{
switch (*p)
{
case 0:
case 0x1A:
case '\n':
Lnewline:
this.scanloc.linnum = linnum;
if (filespec)
this.scanloc.filename = filespec;
return;
case '\r':
p++;
if (*p != '\n')
{
p--;
goto Lnewline;
}
continue;
case ' ':
case '\t':
case '\v':
case '\f':
p++;
continue; // skip white space
case '_':
if (memcmp(p, "__FILE__".ptr, 8) == 0)
{
p += 8;
filespec = mem.xstrdup(scanloc.filename);
continue;
}
goto Lerr;
case '"':
if (filespec)
goto Lerr;
stringbuffer.reset();
p++;
while (1)
{
uint c;
c = *p;
switch (c)
{
case '\n':
case '\r':
case 0:
case 0x1A:
goto Lerr;
case '"':
stringbuffer.writeByte(0);
filespec = mem.xstrdup(cast(const(char)*)stringbuffer.data);
p++;
break;
default:
if (c & 0x80)
{
uint u = decodeUTF();
if (u == PS || u == LS)
goto Lerr;
}
stringbuffer.writeByte(c);
p++;
continue;
}
break;
}
continue;
default:
if (*p & 0x80)
{
uint u = decodeUTF();
if (u == PS || u == LS)
goto Lnewline;
}
goto Lerr;
}
}
Lerr:
error(loc, "#line integer [\"filespec\"]\\n expected");
}
/********************************************
* Decode UTF character.
* Issue error messages for invalid sequences.
* Return decoded character, advance p to last character in UTF sequence.
*/
final uint decodeUTF()
{
const s = p;
assert(*s & 0x80);
// Check length of remaining string up to 6 UTF-8 characters
size_t len;
for (len = 1; len < 6 && s[len]; len++)
{
}
size_t idx = 0;
dchar u;
const msg = utf_decodeChar(s, len, idx, u);
p += idx - 1;
if (msg)
{
error("%s", msg);
}
return u;
}
/***************************************************
* Parse doc comment embedded between t.ptr and p.
* Remove trailing blanks and tabs from lines.
* Replace all newlines with \n.
* Remove leading comment character from each line.
* Decide if it's a lineComment or a blockComment.
* Append to previous one for this token.
*
* If newParagraph is true, an extra newline will be
* added between adjoining doc comments.
*/
final void getDocComment(Token* t, uint lineComment, bool newParagraph)
{
/* ct tells us which kind of comment it is: '/', '*', or '+'
*/
const ct = t.ptr[2];
/* Start of comment text skips over / * *, / + +, or / / /
*/
const(char)* q = t.ptr + 3; // start of comment text
const(char)* qend = p;
if (ct == '*' || ct == '+')
qend -= 2;
/* Scan over initial row of ****'s or ++++'s or ////'s
*/
for (; q < qend; q++)
{
if (*q != ct)
break;
}
/* Remove leading spaces until start of the comment
*/
int linestart = 0;
if (ct == '/')
{
while (q < qend && (*q == ' ' || *q == '\t'))
++q;
}
else if (q < qend)
{
if (*q == '\r')
{
++q;
if (q < qend && *q == '\n')
++q;
linestart = 1;
}
else if (*q == '\n')
{
++q;
linestart = 1;
}
}
/* Remove trailing row of ****'s or ++++'s
*/
if (ct != '/')
{
for (; q < qend; qend--)
{
if (qend[-1] != ct)
break;
}
}
/* Comment is now [q .. qend].
* Canonicalize it into buf[].
*/
OutBuffer buf;
void trimTrailingWhitespace()
{
const s = buf.peekSlice();
auto len = s.length;
while (len && (s[len - 1] == ' ' || s[len - 1] == '\t'))
--len;
buf.setsize(len);
}
for (; q < qend; q++)
{
char c = *q;
switch (c)
{
case '*':
case '+':
if (linestart && c == ct)
{
linestart = 0;
/* Trim preceding whitespace up to preceding \n
*/
trimTrailingWhitespace();
continue;
}
break;
case ' ':
case '\t':
break;
case '\r':
if (q[1] == '\n')
continue; // skip the \r
goto Lnewline;
default:
if (c == 226)
{
// If LS or PS
if (q[1] == 128 && (q[2] == 168 || q[2] == 169))
{
q += 2;
goto Lnewline;
}
}
linestart = 0;
break;
Lnewline:
c = '\n'; // replace all newlines with \n
goto case;
case '\n':
linestart = 1;
/* Trim trailing whitespace
*/
trimTrailingWhitespace();
break;
}
buf.writeByte(c);
}
/* Trim trailing whitespace (if the last line does not have newline)
*/
trimTrailingWhitespace();
// Always end with a newline
const s = buf.peekSlice();
if (s.length == 0 || s[$ - 1] != '\n')
buf.writeByte('\n');
// It's a line comment if the start of the doc comment comes
// after other non-whitespace on the same line.
auto dc = (lineComment && anyToken) ? &t.lineComment : &t.blockComment;
// Combine with previous doc comment, if any
if (*dc)
*dc = combineComments(*dc, buf.peekString(), newParagraph);
else
*dc = buf.extractString();
}
/********************************************
* Combine two document comments into one,
* separated by an extra newline if newParagraph is true.
*/
static const(char)* combineComments(const(char)* c1, const(char)* c2, bool newParagraph)
{
//printf("Lexer::combineComments('%s', '%s', '%i')\n", c1, c2, newParagraph);
auto c = c2;
const(int) newParagraphSize = newParagraph ? 1 : 0; // Size of the combining '\n'
if (c1)
{
c = c1;
if (c2)
{
size_t len1 = strlen(c1);
size_t len2 = strlen(c2);
int insertNewLine = 0;
if (len1 && c1[len1 - 1] != '\n')
{
++len1;
insertNewLine = 1;
}
auto p = cast(char*)mem.xmalloc(len1 + newParagraphSize + len2 + 1);
memcpy(p, c1, len1 - insertNewLine);
if (insertNewLine)
p[len1 - 1] = '\n';
if (newParagraph)
p[len1] = '\n';
memcpy(p + len1 + newParagraphSize, c2, len2);
p[len1 + newParagraphSize + len2] = 0;
c = p;
}
}
return c;
}
private:
void endOfLine()
{
scanloc.linnum++;
line = p;
}
}
unittest
{
static class AssertErrorHandler : ErrorHandler
{
override final void error(const(char)* format, ...) { assert(0); }
override final void error(Loc loc, const(char)* format, ...) { assert(0); }
}
static void test(T)(string sequence, T expected)
{
scope assertOnError = new AssertErrorHandler();
auto p = cast(const(char)*)sequence.ptr;
assert(expected == Lexer.escapeSequence(assertOnError, p));
assert(p == sequence.ptr + sequence.length);
}
test(`'`, '\'');
test(`"`, '"');
test(`?`, '?');
test(`\`, '\\');
test(`0`, '\0');
test(`a`, '\a');
test(`b`, '\b');
test(`f`, '\f');
test(`n`, '\n');
test(`r`, '\r');
test(`t`, '\t');
test(`v`, '\v');
test(`x00`, 0x00);
test(`xff`, 0xff);
test(`xFF`, 0xff);
test(`xa7`, 0xa7);
test(`x3c`, 0x3c);
test(`xe2`, 0xe2);
test(`1`, '\1');
test(`42`, '\42');
test(`357`, '\357');
test(`u1234`, '\u1234');
test(`uf0e4`, '\uf0e4');
test(`U0001f603`, '\U0001f603');
test(`"`, '"');
test(`<`, '<');
test(`>`, '>');
}
unittest
{
static class ExpectErrorHandler : ErrorHandler
{
string expected;
bool gotError;
this(string expected) { this.expected = expected; }
override final void error(const(char)* format, ...)
{
gotError = true;
char[100] buffer;
va_list ap;
va_start(ap, format);
auto actual = buffer[0 .. vsprintf(buffer.ptr, format, ap)];
va_end(ap);
assert(expected == actual);
}
override final void error(Loc loc, const(char)* format, ...) { assert(0); }
}
static void test(string sequence, string expectedError, dchar expectedReturnValue, uint expectedScanLength)
{
scope handler = new ExpectErrorHandler(expectedError);
auto p = cast(const(char)*)sequence.ptr;
auto actualReturnValue = Lexer.escapeSequence(handler, p);
assert(handler.gotError);
assert(expectedReturnValue == actualReturnValue);
auto actualScanLength = p - sequence.ptr;
assert(expectedScanLength == actualScanLength);
}
test("c", `undefined escape sequence \c`, 'c', 1);
test("!", `undefined escape sequence \!`, '!', 1);
test("x1", `escape hex sequence has 1 hex digits instead of 2`, '\x01', 2);
test("u1" , `escape hex sequence has 1 hex digits instead of 4`, 0x1, 2);
test("u12" , `escape hex sequence has 2 hex digits instead of 4`, 0x12, 3);
test("u123", `escape hex sequence has 3 hex digits instead of 4`, 0x123, 4);
test("U0" , `escape hex sequence has 1 hex digits instead of 8`, 0x0, 2);
test("U00" , `escape hex sequence has 2 hex digits instead of 8`, 0x00, 3);
test("U000" , `escape hex sequence has 3 hex digits instead of 8`, 0x000, 4);
test("U0000" , `escape hex sequence has 4 hex digits instead of 8`, 0x0000, 5);
test("U0001f" , `escape hex sequence has 5 hex digits instead of 8`, 0x0001f, 6);
test("U0001f6" , `escape hex sequence has 6 hex digits instead of 8`, 0x0001f6, 7);
test("U0001f60", `escape hex sequence has 7 hex digits instead of 8`, 0x0001f60, 8);
test("ud800" , `invalid UTF character \U0000d800`, '?', 5);
test("udfff" , `invalid UTF character \U0000dfff`, '?', 5);
test("U00110000", `invalid UTF character \U00110000`, '?', 9);
test("xg0" , `undefined escape hex sequence \xg`, 'g', 2);
test("ug000" , `undefined escape hex sequence \ug`, 'g', 2);
test("Ug0000000", `undefined escape hex sequence \Ug`, 'g', 2);
test("&BAD;", `unnamed character entity &BAD;` , '?', 5);
test(""", `unterminated named entity "`, '?', 5);
test("400", `escape octal sequence \400 is larger than \377`, 0x100, 3);
}
|
D
|
import std.stdio;
import qte5; // Графическая библиотека QtE5
import core.runtime; // Обработка входных параметров
const strGreen = "background: #F79F81";
/*
Концепция обмена информацией QtE5 <--> QML
------------------------------------------
1 - Нет регистрации объектов, т.к. создать объект в D использующий метасистему Qt (слот/сигнал)
можно, но сложно. Пример есть в dqml - но очень сложно и не документировано
2 - Все взаимодействие строится на регистрации Property --> qmlEngine.setContextProperty("test", w1.acTest);
Фактически мы в QML вкидываем новое свойство/объект. В QML оно может запомнить или выдать всего
два параметра (одна строка и одно число) и имеет возможность вызвать один слот QtE5 передавая ему число в
качестве параметра.
3 - Со стороны QtE5 все взаимодействие построено на QAction, который наделен фиксированным набором
слотов и сигналов, в том числе и для взвимодействия с QML.
С QML это qstr - присваеваем, значит в QAction пишется строка, читаем, значит читаем строку из QAction
qint - присваеваем, значит в QAction пишется число, читаем, значит читаем число из QAction
С QtE читать и писать эту строку и число можно используя методы QAction:
fromQmlString(), toQmlString(T)(T str), fromQmlInt(), toQmlInt(int str)
*/
// __________________________________________________________________
extern (C) {
void onTest(MyWindow* uk, int n) { (*uk).runTest(n); }
void onTest2(MyWindow* uk, int n, int ob) { (*uk).runTest2(n, ob); }
}
class MyWindow: QWidget {
public:
QAction acTest, acKn;
QPushButton knAdd; // Кнопки управления
QLineEdit leRead;
QHBoxLayout vblCmd;
this() {
super(null);
resize(300, 200);
setWindowTitle("Окно QtE5");
vblCmd = new QHBoxLayout(null); // Выравниватель для кнопок управления
// acTest - это актион для взаимодействие с QML
acTest = new QAction(this, &onTest2, aThis, 1); // При вызове слота с QML будет вызван onTest2
acTest.toQmlString("Еще более пламенный привет"); // Строка для передачи в QML
acKn = new QAction(this, &onTest, aThis, 1);
knAdd = new QPushButton("Строку в QML", this);
connects(knAdd, "clicked()", acKn, "Slot_AN()");
leRead = new QLineEdit(this);
vblCmd.addWidget(leRead).addWidget(knAdd);
setLayout(vblCmd);
}
void runTest(int n) {
writeln("call runTest from kn n = ", n);
// Мы здесь, поскольку нажата кнопка в окне QtE5
acTest.toQmlString(leRead.text!string()); // и записываем в QML
}
void runTest2(int n, int ob) {
// А этот слот вызван из QML путем строки: test.Qml_Slot_ANI(13);
writeln("call runTest n = ", n, " ob = ", ob);
string s = acTest.fromQmlString; // Читаем строку из актиона, которую туда положил QML
leRead.setText(s);
}
}
int main(string[] args) {
if (1 == LoadQt(dll.QtE5Widgets + dll.QtE5Qml, false)) return 1;
QApplication app = new QApplication(&Runtime.cArgs.argc, Runtime.cArgs.argv, 1);
MyWindow w1 = new MyWindow(); w1.saveThis(&w1);
w1.show(); w1.setStyleSheet(strGreen);
QQmlApplicationEngine qmlEngine = new QQmlApplicationEngine(null);
qmlEngine.setContextProperty("test", w1.acTest);
qmlEngine.evaluate("var mgw = 'Привет из Dlang';");
qmlEngine.load( args[1] ); // Грузим файл из параметра
return app.exec();
}
|
D
|
immature of its kind
relating to or typical of a larva
|
D
|
/Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Intermediates/CodeCollab.build/Debug-iphonesimulator/CodeCollab.build/Objects-normal/x86_64/SignUpViewController.o : /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoginViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/SignUpViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackLeftTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/IdeaCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/DetailedHackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/AppDelegate.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoadingViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ChatViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/Classes.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseServerValue.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FTransactionResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FMutableData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseApp.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FQuery.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FEventType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FDataSnapshot.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FConfig.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTask.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFExecutor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkTarget.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkResolving.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
/Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Intermediates/CodeCollab.build/Debug-iphonesimulator/CodeCollab.build/Objects-normal/x86_64/SignUpViewController~partial.swiftmodule : /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoginViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/SignUpViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackLeftTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/IdeaCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/DetailedHackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/AppDelegate.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoadingViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ChatViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/Classes.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseServerValue.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FTransactionResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FMutableData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseApp.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FQuery.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FEventType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FDataSnapshot.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FConfig.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTask.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFExecutor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkTarget.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkResolving.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
/Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Intermediates/CodeCollab.build/Debug-iphonesimulator/CodeCollab.build/Objects-normal/x86_64/SignUpViewController~partial.swiftdoc : /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoginViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/SignUpViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/HackLeftTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/IdeaCardTableViewCell.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/DetailedHackathonViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/AppDelegate.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/LoadingViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/ChatViewController.swift /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/CodeCollab/Classes.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseServerValue.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FTransactionResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FMutableData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FirebaseApp.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FQuery.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FEventType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FDataSnapshot.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FConfig.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthType.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/FAuthData.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Headers/Firebase-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Firebase.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTaskCompletionSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFTask.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFExecutor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenSource.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationTokenRegistration.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFCancellationToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFWebViewAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFURL.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFMeasurementEvent.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkTarget.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkReturnToRefererController.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkResolving.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLinkNavigation.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink_Internal.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/BFAppLink.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Headers/Bolts-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/Bolts.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfilePictureView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKProfile.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMutableCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphErrorRecoveryProcessor.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKTestUsersManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKSettings.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestDataAttachment.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkUtility.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppLinkResolver.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKApplicationDelegate.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAppEvents.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKMacros.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKGraphRequestConnection.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCopying.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Headers/FBSDKCoreKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/Modules/module.modulemap /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManagerLoginResult.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginConstants.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKTooltipView.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginManager.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginButton.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Headers/FBSDKLoginKit-umbrella.h /Users/Avinash/Documents/Code/CodeCollab/CodeCollab/DerivedData/CodeCollab/Build/Products/Debug-iphonesimulator/FBSDKLoginKit.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
|
D
|
/**
* Copyright: © 2014-2015 Anton Gushcha
* License: Subject to the terms of the Boost 1.0 license as specified in LICENSE file
* Authors: Anton Gushcha <ncrashed@gmail.com>
*
* Template for aggregates members expection - extension of std.traits;
*/
module stribog.meta.members;
import std.traits : isIntegral;
import std.typetuple : staticIndexOf;
import stribog.meta.base;
import stribog.meta.filter;
/**
* More useful version of allMembers trait, that returns only
* fields and methods of class/struct/interface/union without
* service members like constructors and Object members.
*
* Note: if Object methods are explicitly override in $(B T)
* (not other base class), then the methods are included into
* the result.
*/
template fieldsAndMethods(T)
{
static if(is(T == class) || is(T == struct) || is(T == interface) || is(T == union))
{
/// Getting all inherited members from Object exluding overrided
private template derivedFromObject()
{
alias objectMembers = ExpressionList!(__traits(allMembers, Object));
alias derivedMembers = ExpressionList!(__traits(derivedMembers, T));
private template removeDerived(string name)
{
enum removeDerived = staticIndexOf!(name, derivedMembers);
}
alias derivedFromObject = staticFilter!(removeDerived, objectMembers);
}
/// Filter unrelated symbols like constructors and Object methods
private template filterUtil(string name)
{
static if(name == "this")
{
enum filterUtil = false;
}
else
{
static if(is(T == class))
{
enum filterUtil = staticIndexOf!(name, derivedFromObject!()) == -1;
}
else
{
enum filterUtil = true;
}
}
}
alias fieldsAndMethods = staticFilter!(filterUtil, __traits(allMembers, T));
}
else
{
alias fieldsAndMethods = ExpressionList!();
}
}
/// Example
unittest
{
struct A
{
string a;
float b;
void foo();
string bar(float);
}
class B
{
string a;
float b;
void foo() {}
string bar(float) {return "";}
}
class C
{
override string toString() const {return "";}
}
static assert(staticEqual!(StrictExpressionList!(fieldsAndMethods!A), StrictExpressionList!("a", "b", "foo", "bar")));
static assert(staticEqual!(StrictExpressionList!(fieldsAndMethods!B), StrictExpressionList!("a", "b", "foo", "bar")));
static assert(staticEqual!(StrictExpressionList!(fieldsAndMethods!C), StrictExpressionList!("toString")));
}
/// Checks if $(B T1) and $(B T2) have an operator $(B op): T1 op T2
template hasOp(T1, T2, string op)
{
static if(isIntegral!T1 && isIntegral!T2 && op == "/")
{
enum hasOp = true; // to not fall into 0 divizion
} else
{
enum hasOp = __traits(compiles, mixin("T1.init" ~ op ~ "T2.init"));
}
}
///
unittest
{
static assert(hasOp!(float, int, "*"));
static assert(hasOp!(double, double, "/"));
static assert(!hasOp!(double, void, "/"));
static assert(hasOp!(int, int, "/"));
struct B {}
struct A
{
void opBinary(string op)(B b) if(op == "*") {}
}
static assert(hasOp!(A, B, "*"));
}
/// Shortcut for trait allMembers
template allMembers(T)
{
alias allMembers = ExpressionList!(__traits(allMembers, T));
}
// hack to feed up parser a traits alias
private template Alias(alias T)
{
alias Alias = T;
}
/// Shortcut for getMember
template getMember(T, string name)
{
alias getMember = Alias!(__traits(getMember, T, name));
}
|
D
|
instance Mod_1784_HEX_Hexe_PAT (Npc_Default)
{
// ------ NSC ------
name = NAME_hexe;
guild = GIL_strf;
id = 1784;
voice = 43;
flags = 0;
npctype = NPCTYPE_pat_hexe;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_STRONG;
// ------ Equippte Waffen ------
// ------ Inventory ------
B_CreateAmbientInv (self);
//EquipItem (self, ItMw_1h_Vlk_Dagger);
// ------ visuals ------
B_SetNpcVisual (self, FEMALE, "Hum_Head_BabeHair", FaceBabe_N_HairAndCloth, BodyTex_N, ITAR_hexe);
Mdl_ApplyOverlayMds (self, "Humans_Babe.mds");
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------
B_SetFightSkills (self, 30);
// ------ TA anmelden ------
daily_routine = Rtn_Start_1784;
};
FUNC VOID Rtn_Start_1784 ()
{
TA_Stand_Eating (05,00,06,00,"WP_PAT_LAGER_05_03");
TA_Stand_Eating (06,00,05,00,"WP_PAT_LAGER_05_03");
};
|
D
|
/Users/yinheng/Desktop/code/node/rs/axum_live/target/debug/deps/axum_live-6cfa7b4a0c508e62: src/main.rs
/Users/yinheng/Desktop/code/node/rs/axum_live/target/debug/deps/axum_live-6cfa7b4a0c508e62.d: src/main.rs
src/main.rs:
|
D
|
// Written in the D programming language.
/**
Utilities for manipulating files and scanning directories. Functions
in this module handle files as a unit, e.g., read or write one _file
at a time. For opening files and manipulating them via handles refer
to module $(MREF std, stdio).
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD General) $(TD
$(LREF exists)
$(LREF isDir)
$(LREF isFile)
$(LREF isSymlink)
$(LREF rename)
$(LREF thisExePath)
))
$(TR $(TD Directories) $(TD
$(LREF chdir)
$(LREF dirEntries)
$(LREF getcwd)
$(LREF mkdir)
$(LREF mkdirRecurse)
$(LREF rmdir)
$(LREF rmdirRecurse)
$(LREF tempDir)
))
$(TR $(TD Files) $(TD
$(LREF append)
$(LREF copy)
$(LREF read)
$(LREF readText)
$(LREF remove)
$(LREF slurp)
$(LREF write)
))
$(TR $(TD Symlinks) $(TD
$(LREF symlink)
$(LREF readLink)
))
$(TR $(TD Attributes) $(TD
$(LREF attrIsDir)
$(LREF attrIsFile)
$(LREF attrIsSymlink)
$(LREF getAttributes)
$(LREF getLinkAttributes)
$(LREF getSize)
$(LREF setAttributes)
))
$(TR $(TD Timestamp) $(TD
$(LREF getTimes)
$(LREF getTimesWin)
$(LREF setTimes)
$(LREF timeLastModified)
))
$(TR $(TD Other) $(TD
$(LREF DirEntry)
$(LREF FileException)
$(LREF PreserveAttributes)
$(LREF SpanMode)
))
)
Copyright: Copyright Digital Mars 2007 - 2011.
See_Also: The $(HTTP ddili.org/ders/d.en/files.html, official tutorial) for an
introduction to working with files in D, module
$(MREF std, stdio) for opening files and manipulating them via handles,
and module $(MREF std, path) for manipulating path strings.
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP digitalmars.com, Walter Bright),
$(HTTP erdani.org, Andrei Alexandrescu),
Jonathan M Davis
Source: $(PHOBOSSRC std/_file.d)
*/
module std.file;
import core.stdc.errno, core.stdc.stdlib, core.stdc.string;
import core.time : abs, dur, hnsecs, seconds;
import std.datetime.date : DateTime;
import std.datetime.systime : Clock, SysTime, unixTimeToStdTime;
import std.internal.cstring;
import std.meta;
import std.range.primitives;
import std.traits;
import std.typecons;
version (Windows)
{
import core.sys.windows.windows, std.windows.syserror;
}
else version (Posix)
{
import core.sys.posix.dirent, core.sys.posix.fcntl, core.sys.posix.sys.stat,
core.sys.posix.sys.time, core.sys.posix.unistd, core.sys.posix.utime;
}
else
static assert(false, "Module " ~ .stringof ~ " not implemented for this OS.");
// Character type used for operating system filesystem APIs
version (Windows)
{
private alias FSChar = wchar;
}
else version (Posix)
{
private alias FSChar = char;
}
else
static assert(0);
// Purposefully not documented. Use at your own risk
@property string deleteme() @safe
{
import std.conv : to;
import std.path : buildPath;
import std.process : thisProcessID;
static _deleteme = "deleteme.dmd.unittest.pid";
static _first = true;
if (_first)
{
_deleteme = buildPath(tempDir(), _deleteme) ~ to!string(thisProcessID);
_first = false;
}
return _deleteme;
}
version (unittest) private struct TestAliasedString
{
string get() @safe @nogc pure nothrow { return _s; }
alias get this;
@disable this(this);
string _s;
}
version(Android)
{
package enum system_directory = "/system/etc";
package enum system_file = "/system/etc/hosts";
}
else version(Posix)
{
package enum system_directory = "/usr/include";
package enum system_file = "/usr/include/assert.h";
}
/++
Exception thrown for file I/O errors.
+/
class FileException : Exception
{
import std.conv : text, to;
/++
OS error code.
+/
immutable uint errno;
/++
Constructor which takes an error message.
Params:
name = Name of file for which the error occurred.
msg = Message describing the error.
file = The _file where the error occurred.
line = The _line where the error occurred.
+/
this(in char[] name, in char[] msg, string file = __FILE__, size_t line = __LINE__) @safe pure
{
if (msg.empty)
super(name.idup, file, line);
else
super(text(name, ": ", msg), file, line);
errno = 0;
}
/++
Constructor which takes the error number ($(LUCKY GetLastError)
in Windows, $(D_PARAM errno) in Posix).
Params:
name = Name of file for which the error occurred.
errno = The error number.
file = The _file where the error occurred.
Defaults to $(D __FILE__).
line = The _line where the error occurred.
Defaults to $(D __LINE__).
+/
version(Windows) this(in char[] name,
uint errno = .GetLastError(),
string file = __FILE__,
size_t line = __LINE__) @safe
{
this(name, sysErrorString(errno), file, line);
this.errno = errno;
}
else version(Posix) this(in char[] name,
uint errno = .errno,
string file = __FILE__,
size_t line = __LINE__) @trusted
{
import std.exception : errnoString;
this(name, errnoString(errno), file, line);
this.errno = errno;
}
}
private T cenforce(T)(T condition, lazy const(char)[] name, string file = __FILE__, size_t line = __LINE__)
{
if (condition)
return condition;
version (Windows)
{
throw new FileException(name, .GetLastError(), file, line);
}
else version (Posix)
{
throw new FileException(name, .errno, file, line);
}
}
version (Windows)
@trusted
private T cenforce(T)(T condition, const(char)[] name, const(FSChar)* namez,
string file = __FILE__, size_t line = __LINE__)
{
if (condition)
return condition;
if (!name)
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
auto len = namez ? wcslen(namez) : 0;
name = to!string(namez[0 .. len]);
}
throw new FileException(name, .GetLastError(), file, line);
}
version (Posix)
@trusted
private T cenforce(T)(T condition, const(char)[] name, const(FSChar)* namez,
string file = __FILE__, size_t line = __LINE__)
{
if (condition)
return condition;
if (!name)
{
import core.stdc.string : strlen;
auto len = namez ? strlen(namez) : 0;
name = namez[0 .. len].idup;
}
throw new FileException(name, .errno, file, line);
}
@safe unittest
{
// issue 17102
try
{
cenforce(false, null, null,
__FILE__, __LINE__);
}
catch (FileException) {}
}
/* **********************************
* Basic File operations.
*/
/********************************************
Read entire contents of file $(D name) and returns it as an untyped
array. If the file size is larger than $(D upTo), only $(D upTo)
bytes are _read.
Params:
name = string or range of characters representing the file _name
upTo = if present, the maximum number of bytes to _read
Returns: Untyped array of bytes _read.
Throws: $(LREF FileException) on error.
*/
void[] read(R)(R name, size_t upTo = size_t.max)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isInfinite!R &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
return readImpl(name, name.tempCString!FSChar(), upTo);
else
return readImpl(null, name.tempCString!FSChar(), upTo);
}
///
@safe unittest
{
import std.utf : byChar;
scope(exit)
{
assert(exists(deleteme));
remove(deleteme);
}
write(deleteme, "1234"); // deleteme is the name of a temporary file
assert(read(deleteme, 2) == "12");
assert(read(deleteme.byChar) == "1234");
assert((cast(const(ubyte)[])read(deleteme)).length == 4);
}
/// ditto
void[] read(R)(auto ref R name, size_t upTo = size_t.max)
if (isConvertibleToString!R)
{
return read!(StringTypeOf!R)(name, upTo);
}
@safe unittest
{
static assert(__traits(compiles, read(TestAliasedString(null))));
}
version (Posix) private void[] readImpl(const(char)[] name, const(FSChar)* namez, size_t upTo = size_t.max) @trusted
{
import core.memory : GC;
import std.algorithm.comparison : min;
import std.array : uninitializedArray;
import std.conv : to;
// A few internal configuration parameters {
enum size_t
minInitialAlloc = 1024 * 4,
maxInitialAlloc = size_t.max / 2,
sizeIncrement = 1024 * 16,
maxSlackMemoryAllowed = 1024;
// }
immutable fd = core.sys.posix.fcntl.open(namez,
core.sys.posix.fcntl.O_RDONLY);
cenforce(fd != -1, name);
scope(exit) core.sys.posix.unistd.close(fd);
stat_t statbuf = void;
cenforce(fstat(fd, &statbuf) == 0, name, namez);
immutable initialAlloc = min(upTo, to!size_t(statbuf.st_size
? min(statbuf.st_size + 1, maxInitialAlloc)
: minInitialAlloc));
void[] result = uninitializedArray!(ubyte[])(initialAlloc);
scope(failure) GC.free(result.ptr);
size_t size = 0;
for (;;)
{
immutable actual = core.sys.posix.unistd.read(fd, result.ptr + size,
min(result.length, upTo) - size);
cenforce(actual != -1, name, namez);
if (actual == 0) break;
size += actual;
if (size >= upTo) break;
if (size < result.length) continue;
immutable newAlloc = size + sizeIncrement;
result = GC.realloc(result.ptr, newAlloc, GC.BlkAttr.NO_SCAN)[0 .. newAlloc];
}
return result.length - size >= maxSlackMemoryAllowed
? GC.realloc(result.ptr, size, GC.BlkAttr.NO_SCAN)[0 .. size]
: result[0 .. size];
}
version (Windows) private void[] readImpl(const(char)[] name, const(FSChar)* namez, size_t upTo = size_t.max) @safe
{
import core.memory : GC;
import std.algorithm.comparison : min;
import std.array : uninitializedArray;
static trustedCreateFileW(const(wchar)* namez, DWORD dwDesiredAccess, DWORD dwShareMode,
SECURITY_ATTRIBUTES *lpSecurityAttributes, DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) @trusted
{
return CreateFileW(namez, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition,
dwFlagsAndAttributes, hTemplateFile);
}
static trustedCloseHandle(HANDLE hObject) @trusted
{
return CloseHandle(hObject);
}
static trustedGetFileSize(HANDLE hFile, out ulong fileSize) @trusted
{
DWORD sizeHigh;
DWORD sizeLow = GetFileSize(hFile, &sizeHigh);
const bool result = sizeLow != INVALID_FILE_SIZE;
if (result)
fileSize = makeUlong(sizeLow, sizeHigh);
return result;
}
static trustedReadFile(HANDLE hFile, void *lpBuffer, ulong nNumberOfBytesToRead) @trusted
{
// Read by chunks of size < 4GB (Windows API limit)
ulong totalNumRead = 0;
while (totalNumRead != nNumberOfBytesToRead)
{
const uint chunkSize = min(nNumberOfBytesToRead - totalNumRead, 0xffff_0000);
DWORD numRead = void;
const result = ReadFile(hFile, lpBuffer + totalNumRead, chunkSize, &numRead, null);
if (result == 0 || numRead != chunkSize)
return false;
totalNumRead += chunkSize;
}
return true;
}
alias defaults =
AliasSeq!(GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE, (SECURITY_ATTRIBUTES*).init,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,
HANDLE.init);
auto h = trustedCreateFileW(namez, defaults);
cenforce(h != INVALID_HANDLE_VALUE, name, namez);
scope(exit) cenforce(trustedCloseHandle(h), name, namez);
ulong fileSize = void;
cenforce(trustedGetFileSize(h, fileSize), name, namez);
size_t size = min(upTo, fileSize);
auto buf = uninitializedArray!(ubyte[])(size);
scope(failure)
{
() @trusted { GC.free(buf.ptr); } ();
}
if (size)
cenforce(trustedReadFile(h, &buf[0], size), name, namez);
return buf[0 .. size];
}
version (linux) @safe unittest
{
// A file with "zero" length that doesn't have 0 length at all
auto s = std.file.readText("/proc/sys/kernel/osrelease");
assert(s.length > 0);
//writefln("'%s'", s);
}
@safe unittest
{
scope(exit) if (exists(deleteme)) remove(deleteme);
import std.stdio;
auto f = File(deleteme, "w");
f.write("abcd"); f.flush();
assert(read(deleteme) == "abcd");
}
/********************************************
Read and validates (using $(REF validate, std,utf)) a text file. $(D S)
can be a type of array of characters of any width and constancy. No
width conversion is performed; if the width of the characters in file
$(D name) is different from the width of elements of $(D S),
validation will fail.
Params:
name = string or range of characters representing the file _name
Returns: Array of characters read.
Throws: $(D FileException) on file error, $(D UTFException) on UTF
decoding error.
*/
S readText(S = string, R)(R name)
if (isSomeString!S &&
(isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) &&
!isConvertibleToString!R)
{
import std.utf : validate;
static auto trustedCast(void[] buf) @trusted { return cast(S) buf; }
auto result = trustedCast(read(name));
validate(result);
return result;
}
///
@safe unittest
{
import std.exception : enforce;
write(deleteme, "abc"); // deleteme is the name of a temporary file
scope(exit) remove(deleteme);
string content = readText(deleteme);
enforce(content == "abc");
}
/// ditto
S readText(S = string, R)(auto ref R name)
if (isConvertibleToString!R)
{
return readText!(S, StringTypeOf!R)(name);
}
@safe unittest
{
static assert(__traits(compiles, readText(TestAliasedString(null))));
}
/*********************************************
Write $(D buffer) to file $(D name).
Creates the file if it does not already exist.
Params:
name = string or range of characters representing the file _name
buffer = data to be written to file
Throws: $(D FileException) on error.
See_also: $(REF toFile, std,stdio)
*/
void write(R)(R name, const void[] buffer)
if ((isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
writeImpl(name, name.tempCString!FSChar(), buffer, false);
else
writeImpl(null, name.tempCString!FSChar(), buffer, false);
}
///
@system unittest
{
scope(exit)
{
assert(exists(deleteme));
remove(deleteme);
}
int[] a = [ 0, 1, 1, 2, 3, 5, 8 ];
write(deleteme, a); // deleteme is the name of a temporary file
assert(cast(int[]) read(deleteme) == a);
}
/// ditto
void write(R)(auto ref R name, const void[] buffer)
if (isConvertibleToString!R)
{
write!(StringTypeOf!R)(name, buffer);
}
@safe unittest
{
static assert(__traits(compiles, write(TestAliasedString(null), null)));
}
/*********************************************
Appends $(D buffer) to file $(D name).
Creates the file if it does not already exist.
Params:
name = string or range of characters representing the file _name
buffer = data to be appended to file
Throws: $(D FileException) on error.
*/
void append(R)(R name, const void[] buffer)
if ((isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
writeImpl(name, name.tempCString!FSChar(), buffer, true);
else
writeImpl(null, name.tempCString!FSChar(), buffer, true);
}
///
@system unittest
{
scope(exit)
{
assert(exists(deleteme));
remove(deleteme);
}
int[] a = [ 0, 1, 1, 2, 3, 5, 8 ];
write(deleteme, a); // deleteme is the name of a temporary file
int[] b = [ 13, 21 ];
append(deleteme, b);
assert(cast(int[]) read(deleteme) == a ~ b);
}
/// ditto
void append(R)(auto ref R name, const void[] buffer)
if (isConvertibleToString!R)
{
append!(StringTypeOf!R)(name, buffer);
}
@safe unittest
{
static assert(__traits(compiles, append(TestAliasedString("foo"), [0, 1, 2, 3])));
}
// Posix implementation helper for write and append
version(Posix) private void writeImpl(const(char)[] name, const(FSChar)* namez,
in void[] buffer, bool append) @trusted
{
import std.conv : octal;
// append or write
auto mode = append ? O_CREAT | O_WRONLY | O_APPEND
: O_CREAT | O_WRONLY | O_TRUNC;
immutable fd = core.sys.posix.fcntl.open(namez, mode, octal!666);
cenforce(fd != -1, name, namez);
{
scope(failure) core.sys.posix.unistd.close(fd);
immutable size = buffer.length;
size_t sum, cnt = void;
while (sum != size)
{
cnt = (size - sum < 2^^30) ? (size - sum) : 2^^30;
const numwritten = core.sys.posix.unistd.write(fd, buffer.ptr + sum, cnt);
if (numwritten != cnt)
break;
sum += numwritten;
}
cenforce(sum == size, name, namez);
}
cenforce(core.sys.posix.unistd.close(fd) == 0, name, namez);
}
// Windows implementation helper for write and append
version(Windows) private void writeImpl(const(char)[] name, const(FSChar)* namez,
in void[] buffer, bool append) @trusted
{
HANDLE h;
if (append)
{
alias defaults =
AliasSeq!(GENERIC_WRITE, 0, null, OPEN_ALWAYS,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,
HANDLE.init);
h = CreateFileW(namez, defaults);
cenforce(h != INVALID_HANDLE_VALUE, name, namez);
cenforce(SetFilePointer(h, 0, null, FILE_END) != INVALID_SET_FILE_POINTER,
name, namez);
}
else // write
{
alias defaults =
AliasSeq!(GENERIC_WRITE, 0, null, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,
HANDLE.init);
h = CreateFileW(namez, defaults);
cenforce(h != INVALID_HANDLE_VALUE, name, namez);
}
immutable size = buffer.length;
size_t sum, cnt = void;
DWORD numwritten = void;
while (sum != size)
{
cnt = (size - sum < 2^^30) ? (size - sum) : 2^^30;
WriteFile(h, buffer.ptr + sum, cast(uint) cnt, &numwritten, null);
if (numwritten != cnt)
break;
sum += numwritten;
}
cenforce(sum == size && CloseHandle(h), name, namez);
}
/***************************************************
* Rename file $(D from) _to $(D to).
* If the target file exists, it is overwritten.
* Params:
* from = string or range of characters representing the existing file name
* to = string or range of characters representing the target file name
* Throws: $(D FileException) on error.
*/
void rename(RF, RT)(RF from, RT to)
if ((isInputRange!RF && !isInfinite!RF && isSomeChar!(ElementEncodingType!RF) || isSomeString!RF)
&& !isConvertibleToString!RF &&
(isInputRange!RT && !isInfinite!RT && isSomeChar!(ElementEncodingType!RT) || isSomeString!RT)
&& !isConvertibleToString!RT)
{
// Place outside of @trusted block
auto fromz = from.tempCString!FSChar();
auto toz = to.tempCString!FSChar();
static if (isNarrowString!RF && is(Unqual!(ElementEncodingType!RF) == char))
alias f = from;
else
enum string f = null;
static if (isNarrowString!RT && is(Unqual!(ElementEncodingType!RT) == char))
alias t = to;
else
enum string t = null;
renameImpl(f, t, fromz, toz);
}
/// ditto
void rename(RF, RT)(auto ref RF from, auto ref RT to)
if (isConvertibleToString!RF || isConvertibleToString!RT)
{
import std.meta : staticMap;
alias Types = staticMap!(convertToString, RF, RT);
rename!Types(from, to);
}
@safe unittest
{
static assert(__traits(compiles, rename(TestAliasedString(null), TestAliasedString(null))));
static assert(__traits(compiles, rename("", TestAliasedString(null))));
static assert(__traits(compiles, rename(TestAliasedString(null), "")));
import std.utf : byChar;
static assert(__traits(compiles, rename(TestAliasedString(null), "".byChar)));
}
private void renameImpl(const(char)[] f, const(char)[] t, const(FSChar)* fromz, const(FSChar)* toz) @trusted
{
version(Windows)
{
import std.exception : enforce;
const result = MoveFileExW(fromz, toz, MOVEFILE_REPLACE_EXISTING);
if (!result)
{
import core.stdc.wchar_ : wcslen;
import std.conv : to, text;
if (!f)
f = to!(typeof(f))(fromz[0 .. wcslen(fromz)]);
if (!t)
t = to!(typeof(t))(toz[0 .. wcslen(toz)]);
enforce(false,
new FileException(
text("Attempting to rename file ", f, " to ", t)));
}
}
else version(Posix)
{
static import core.stdc.stdio;
cenforce(core.stdc.stdio.rename(fromz, toz) == 0, t, toz);
}
}
@safe unittest
{
import std.utf : byWchar;
auto t1 = deleteme, t2 = deleteme~"2";
scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove();
write(t1, "1");
rename(t1, t2);
assert(readText(t2) == "1");
write(t1, "2");
rename(t1, t2.byWchar);
assert(readText(t2) == "2");
}
/***************************************************
Delete file $(D name).
Params:
name = string or range of characters representing the file _name
Throws: $(D FileException) on error.
*/
void remove(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
removeImpl(name, name.tempCString!FSChar());
else
removeImpl(null, name.tempCString!FSChar());
}
/// ditto
void remove(R)(auto ref R name)
if (isConvertibleToString!R)
{
remove!(StringTypeOf!R)(name);
}
@safe unittest
{
static assert(__traits(compiles, remove(TestAliasedString("foo"))));
}
private void removeImpl(const(char)[] name, const(FSChar)* namez) @trusted
{
version(Windows)
{
cenforce(DeleteFileW(namez), name, namez);
}
else version(Posix)
{
static import core.stdc.stdio;
if (!name)
{
import core.stdc.string : strlen;
auto len = strlen(namez);
name = namez[0 .. len];
}
cenforce(core.stdc.stdio.remove(namez) == 0,
"Failed to remove file " ~ name);
}
}
version(Windows) private WIN32_FILE_ATTRIBUTE_DATA getFileAttributesWin(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R))
{
auto namez = name.tempCString!FSChar();
WIN32_FILE_ATTRIBUTE_DATA fad = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
{
static void getFA(const(char)[] name, const(FSChar)* namez, out WIN32_FILE_ATTRIBUTE_DATA fad) @trusted
{
import std.exception : enforce;
enforce(GetFileAttributesExW(namez, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, &fad),
new FileException(name.idup));
}
getFA(name, namez, fad);
}
else
{
static void getFA(const(FSChar)* namez, out WIN32_FILE_ATTRIBUTE_DATA fad) @trusted
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
import std.exception : enforce;
enforce(GetFileAttributesExW(namez, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, &fad),
new FileException(namez[0 .. wcslen(namez)].to!string));
}
getFA(namez, fad);
}
return fad;
}
version(Windows) private ulong makeUlong(DWORD dwLow, DWORD dwHigh) @safe pure nothrow @nogc
{
ULARGE_INTEGER li;
li.LowPart = dwLow;
li.HighPart = dwHigh;
return li.QuadPart;
}
/***************************************************
Get size of file $(D name) in bytes.
Params:
name = string or range of characters representing the file _name
Throws: $(D FileException) on error (e.g., file not found).
*/
ulong getSize(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
with (getFileAttributesWin(name))
return makeUlong(nFileSizeLow, nFileSizeHigh);
}
else version(Posix)
{
auto namez = name.tempCString();
static trustedStat(const(FSChar)* namez, out stat_t buf) @trusted
{
return stat(namez, &buf);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
stat_t statbuf = void;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
return statbuf.st_size;
}
}
/// ditto
ulong getSize(R)(auto ref R name)
if (isConvertibleToString!R)
{
return getSize!(StringTypeOf!R)(name);
}
@safe unittest
{
static assert(__traits(compiles, getSize(TestAliasedString("foo"))));
}
@safe unittest
{
// create a file of size 1
write(deleteme, "a");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
assert(getSize(deleteme) == 1);
// create a file of size 3
write(deleteme, "abc");
import std.utf : byChar;
assert(getSize(deleteme.byChar) == 3);
}
// Reads a time field from a stat_t with full precision.
version(Posix)
private SysTime statTimeToStdTime(char which)(ref stat_t statbuf)
{
auto unixTime = mixin(`statbuf.st_` ~ which ~ `time`);
long stdTime = unixTimeToStdTime(unixTime);
static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `tim`))))
stdTime += mixin(`statbuf.st_` ~ which ~ `tim.tv_nsec`) / 100;
else
static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `timensec`))))
stdTime += mixin(`statbuf.st_` ~ which ~ `timensec`) / 100;
else
static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `time_nsec`))))
stdTime += mixin(`statbuf.st_` ~ which ~ `time_nsec`) / 100;
else
static if (is(typeof(mixin(`statbuf.__st_` ~ which ~ `timensec`))))
stdTime += mixin(`statbuf.__st_` ~ which ~ `timensec`) / 100;
return SysTime(stdTime);
}
/++
Get the access and modified times of file or folder $(D name).
Params:
name = File/Folder _name to get times for.
accessTime = Time the file/folder was last accessed.
modificationTime = Time the file/folder was last modified.
Throws:
$(D FileException) on error.
+/
void getTimes(R)(R name,
out SysTime accessTime,
out SysTime modificationTime)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
import std.datetime.systime : FILETIMEToSysTime;
with (getFileAttributesWin(name))
{
accessTime = FILETIMEToSysTime(&ftLastAccessTime);
modificationTime = FILETIMEToSysTime(&ftLastWriteTime);
}
}
else version(Posix)
{
auto namez = name.tempCString();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
accessTime = statTimeToStdTime!'a'(statbuf);
modificationTime = statTimeToStdTime!'m'(statbuf);
}
}
/// ditto
void getTimes(R)(auto ref R name,
out SysTime accessTime,
out SysTime modificationTime)
if (isConvertibleToString!R)
{
return getTimes!(StringTypeOf!R)(name, accessTime, modificationTime);
}
@safe unittest
{
SysTime atime, mtime;
static assert(__traits(compiles, getTimes(TestAliasedString("foo"), atime, mtime)));
}
@system unittest
{
import std.stdio : writefln;
auto currTime = Clock.currTime();
write(deleteme, "a");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
SysTime accessTime1 = void;
SysTime modificationTime1 = void;
getTimes(deleteme, accessTime1, modificationTime1);
enum leeway = dur!"seconds"(5);
{
auto diffa = accessTime1 - currTime;
auto diffm = modificationTime1 - currTime;
scope(failure) writefln("[%s] [%s] [%s] [%s] [%s]", accessTime1, modificationTime1, currTime, diffa, diffm);
assert(abs(diffa) <= leeway);
assert(abs(diffm) <= leeway);
}
version(fullFileTests)
{
import core.thread;
enum sleepTime = dur!"seconds"(2);
Thread.sleep(sleepTime);
currTime = Clock.currTime();
write(deleteme, "b");
SysTime accessTime2 = void;
SysTime modificationTime2 = void;
getTimes(deleteme, accessTime2, modificationTime2);
{
auto diffa = accessTime2 - currTime;
auto diffm = modificationTime2 - currTime;
scope(failure) writefln("[%s] [%s] [%s] [%s] [%s]", accessTime2, modificationTime2, currTime, diffa, diffm);
//There is no guarantee that the access time will be updated.
assert(abs(diffa) <= leeway + sleepTime);
assert(abs(diffm) <= leeway);
}
assert(accessTime1 <= accessTime2);
assert(modificationTime1 <= modificationTime2);
}
}
version(StdDdoc)
{
/++
$(BLUE This function is Windows-Only.)
Get creation/access/modified times of file $(D name).
This is the same as $(D getTimes) except that it also gives you the file
creation time - which isn't possible on Posix systems.
Params:
name = File _name to get times for.
fileCreationTime = Time the file was created.
fileAccessTime = Time the file was last accessed.
fileModificationTime = Time the file was last modified.
Throws:
$(D FileException) on error.
+/
void getTimesWin(R)(R name,
out SysTime fileCreationTime,
out SysTime fileAccessTime,
out SysTime fileModificationTime)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R);
}
else version(Windows)
{
void getTimesWin(R)(R name,
out SysTime fileCreationTime,
out SysTime fileAccessTime,
out SysTime fileModificationTime)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
import std.datetime.systime : FILETIMEToSysTime;
with (getFileAttributesWin(name))
{
fileCreationTime = FILETIMEToSysTime(&ftCreationTime);
fileAccessTime = FILETIMEToSysTime(&ftLastAccessTime);
fileModificationTime = FILETIMEToSysTime(&ftLastWriteTime);
}
}
void getTimesWin(R)(auto ref R name,
out SysTime fileCreationTime,
out SysTime fileAccessTime,
out SysTime fileModificationTime)
if (isConvertibleToString!R)
{
getTimesWin!(StringTypeOf!R)(name, fileCreationTime, fileAccessTime, fileModificationTime);
}
}
version(Windows) @system unittest
{
import std.stdio : writefln;
auto currTime = Clock.currTime();
write(deleteme, "a");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
SysTime creationTime1 = void;
SysTime accessTime1 = void;
SysTime modificationTime1 = void;
getTimesWin(deleteme, creationTime1, accessTime1, modificationTime1);
enum leeway = dur!"seconds"(5);
{
auto diffc = creationTime1 - currTime;
auto diffa = accessTime1 - currTime;
auto diffm = modificationTime1 - currTime;
scope(failure)
{
writefln("[%s] [%s] [%s] [%s] [%s] [%s] [%s]",
creationTime1, accessTime1, modificationTime1, currTime, diffc, diffa, diffm);
}
// Deleting and recreating a file doesn't seem to always reset the "file creation time"
//assert(abs(diffc) <= leeway);
assert(abs(diffa) <= leeway);
assert(abs(diffm) <= leeway);
}
version(fullFileTests)
{
import core.thread;
Thread.sleep(dur!"seconds"(2));
currTime = Clock.currTime();
write(deleteme, "b");
SysTime creationTime2 = void;
SysTime accessTime2 = void;
SysTime modificationTime2 = void;
getTimesWin(deleteme, creationTime2, accessTime2, modificationTime2);
{
auto diffa = accessTime2 - currTime;
auto diffm = modificationTime2 - currTime;
scope(failure)
{
writefln("[%s] [%s] [%s] [%s] [%s]",
accessTime2, modificationTime2, currTime, diffa, diffm);
}
assert(abs(diffa) <= leeway);
assert(abs(diffm) <= leeway);
}
assert(creationTime1 == creationTime2);
assert(accessTime1 <= accessTime2);
assert(modificationTime1 <= modificationTime2);
}
{
SysTime ctime, atime, mtime;
static assert(__traits(compiles, getTimesWin(TestAliasedString("foo"), ctime, atime, mtime)));
}
}
/++
Set access/modified times of file or folder $(D name).
Params:
name = File/Folder _name to get times for.
accessTime = Time the file/folder was last accessed.
modificationTime = Time the file/folder was last modified.
Throws:
$(D FileException) on error.
+/
void setTimes(R)(R name,
SysTime accessTime,
SysTime modificationTime)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
import std.datetime.systime : SysTimeToFILETIME;
auto namez = name.tempCString!FSChar();
static auto trustedCreateFileW(const(FSChar)* namez, DWORD dwDesiredAccess, DWORD dwShareMode,
SECURITY_ATTRIBUTES *lpSecurityAttributes, DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) @trusted
{
return CreateFileW(namez, dwDesiredAccess, dwShareMode,
lpSecurityAttributes, dwCreationDisposition,
dwFlagsAndAttributes, hTemplateFile);
}
static auto trustedCloseHandle(HANDLE hObject) @trusted
{
return CloseHandle(hObject);
}
static auto trustedSetFileTime(HANDLE hFile, in FILETIME *lpCreationTime,
in ref FILETIME lpLastAccessTime, in ref FILETIME lpLastWriteTime) @trusted
{
return SetFileTime(hFile, lpCreationTime, &lpLastAccessTime, &lpLastWriteTime);
}
const ta = SysTimeToFILETIME(accessTime);
const tm = SysTimeToFILETIME(modificationTime);
alias defaults =
AliasSeq!(GENERIC_WRITE,
0,
null,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL |
FILE_ATTRIBUTE_DIRECTORY |
FILE_FLAG_BACKUP_SEMANTICS,
HANDLE.init);
auto h = trustedCreateFileW(namez, defaults);
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(h != INVALID_HANDLE_VALUE, names, namez);
scope(exit)
cenforce(trustedCloseHandle(h), names, namez);
cenforce(trustedSetFileTime(h, null, ta, tm), names, namez);
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static if (is(typeof(&utimensat)))
{
static auto trustedUtimensat(int fd, const(FSChar)* namez, const ref timespec[2] times, int flags) @trusted
{
return utimensat(fd, namez, times, flags);
}
timespec[2] t = void;
t[0] = accessTime.toTimeSpec();
t[1] = modificationTime.toTimeSpec();
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedUtimensat(AT_FDCWD, namez, t, 0) == 0, names, namez);
}
else
{
static auto trustedUtimes(const(FSChar)* namez, const ref timeval[2] times) @trusted
{
return utimes(namez, times);
}
timeval[2] t = void;
t[0] = accessTime.toTimeVal();
t[1] = modificationTime.toTimeVal();
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedUtimes(namez, t) == 0, names, namez);
}
}
}
/// ditto
void setTimes(R)(auto ref R name,
SysTime accessTime,
SysTime modificationTime)
if (isConvertibleToString!R)
{
setTimes!(StringTypeOf!R)(name, accessTime, modificationTime);
}
@safe unittest
{
if (false) // Test instatiation
setTimes(TestAliasedString("foo"), SysTime.init, SysTime.init);
}
@system unittest
{
import std.stdio : File;
string newdir = deleteme ~ r".dir";
string dir = newdir ~ r"/a/b/c";
string file = dir ~ "/file";
if (!exists(dir)) mkdirRecurse(dir);
{ auto f = File(file, "w"); }
void testTimes(int hnsecValue)
{
foreach (path; [file, dir]) // test file and dir
{
SysTime atime = SysTime(DateTime(2010, 10, 4, 0, 0, 30), hnsecs(hnsecValue));
SysTime mtime = SysTime(DateTime(2011, 10, 4, 0, 0, 30), hnsecs(hnsecValue));
setTimes(path, atime, mtime);
SysTime atime_res;
SysTime mtime_res;
getTimes(path, atime_res, mtime_res);
assert(atime == atime_res);
assert(mtime == mtime_res);
}
}
testTimes(0);
version (linux)
testTimes(123_456_7);
rmdirRecurse(newdir);
}
/++
Returns the time that the given file was last modified.
Throws:
$(D FileException) if the given file does not exist.
+/
SysTime timeLastModified(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
SysTime dummy;
SysTime ftm;
getTimesWin(name, dummy, dummy, ftm);
return ftm;
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
return statTimeToStdTime!'m'(statbuf);
}
}
/// ditto
SysTime timeLastModified(R)(auto ref R name)
if (isConvertibleToString!R)
{
return timeLastModified!(StringTypeOf!R)(name);
}
@safe unittest
{
static assert(__traits(compiles, timeLastModified(TestAliasedString("foo"))));
}
/++
Returns the time that the given file was last modified. If the
file does not exist, returns $(D returnIfMissing).
A frequent usage pattern occurs in build automation tools such as
$(HTTP gnu.org/software/make, make) or $(HTTP
en.wikipedia.org/wiki/Apache_Ant, ant). To check whether file $(D
target) must be rebuilt from file $(D source) (i.e., $(D target) is
older than $(D source) or does not exist), use the comparison
below. The code throws a $(D FileException) if $(D source) does not
exist (as it should). On the other hand, the $(D SysTime.min) default
makes a non-existing $(D target) seem infinitely old so the test
correctly prompts building it.
Params:
name = The _name of the file to get the modification time for.
returnIfMissing = The time to return if the given file does not exist.
Example:
--------------------
if (timeLastModified(source) >= timeLastModified(target, SysTime.min))
{
// must (re)build
}
else
{
// target is up-to-date
}
--------------------
+/
SysTime timeLastModified(R)(R name, SysTime returnIfMissing)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R))
{
version(Windows)
{
if (!exists(name))
return returnIfMissing;
SysTime dummy;
SysTime ftm;
getTimesWin(name, dummy, dummy, ftm);
return ftm;
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
return trustedStat(namez, statbuf) != 0 ?
returnIfMissing :
statTimeToStdTime!'m'(statbuf);
}
}
@safe unittest
{
//std.process.system("echo a > deleteme") == 0 || assert(false);
if (exists(deleteme))
remove(deleteme);
write(deleteme, "a\n");
scope(exit)
{
assert(exists(deleteme));
remove(deleteme);
}
// assert(lastModified("deleteme") >
// lastModified("this file does not exist", SysTime.min));
//assert(lastModified("deleteme") > lastModified(__FILE__));
}
// Tests sub-second precision of querying file times.
// Should pass on most modern systems running on modern filesystems.
// Exceptions:
// - FreeBSD, where one would need to first set the
// vfs.timestamp_precision sysctl to a value greater than zero.
// - OS X, where the native filesystem (HFS+) stores filesystem
// timestamps with 1-second precision.
version (FreeBSD) {} else
version (OSX) {} else
@system unittest
{
import core.thread;
if (exists(deleteme))
remove(deleteme);
SysTime lastTime;
foreach (n; 0 .. 3)
{
write(deleteme, "a");
auto time = timeLastModified(deleteme);
remove(deleteme);
assert(time != lastTime);
lastTime = time;
Thread.sleep(10.msecs);
}
}
/**
* Determine whether the given file (or directory) _exists.
* Params:
* name = string or range of characters representing the file _name
* Returns:
* true if the file _name specified as input _exists
*/
bool exists(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
return existsImpl(name.tempCString!FSChar());
}
/// ditto
bool exists(R)(auto ref R name)
if (isConvertibleToString!R)
{
return exists!(StringTypeOf!R)(name);
}
private bool existsImpl(const(FSChar)* namez) @trusted nothrow @nogc
{
version(Windows)
{
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
// fileio/base/getfileattributes.asp
return GetFileAttributesW(namez) != 0xFFFFFFFF;
}
else version(Posix)
{
/*
The reason why we use stat (and not access) here is
the quirky behavior of access for SUID programs: if
we used access, a file may not appear to "exist",
despite that the program would be able to open it
just fine. The behavior in question is described as
follows in the access man page:
> The check is done using the calling process's real
> UID and GID, rather than the effective IDs as is
> done when actually attempting an operation (e.g.,
> open(2)) on the file. This allows set-user-ID
> programs to easily determine the invoking user's
> authority.
While various operating systems provide eaccess or
euidaccess functions, these are not part of POSIX -
so it's safer to use stat instead.
*/
stat_t statbuf = void;
return lstat(namez, &statbuf) == 0;
}
else
static assert(0);
}
@safe unittest
{
assert(exists("."));
assert(!exists("this file does not exist"));
write(deleteme, "a\n");
scope(exit) { assert(exists(deleteme)); remove(deleteme); }
assert(exists(deleteme));
}
@safe unittest // Bugzilla 16573
{
enum S : string { foo = "foo" }
assert(__traits(compiles, S.foo.exists));
}
/++
Returns the attributes of the given file.
Note that the file attributes on Windows and Posix systems are
completely different. On Windows, they're what is returned by
$(HTTP msdn.microsoft.com/en-us/library/aa364944(v=vs.85).aspx,
GetFileAttributes), whereas on Posix systems, they're the $(LUCKY
st_mode) value which is part of the $(D stat struct) gotten by
calling the $(HTTP en.wikipedia.org/wiki/Stat_%28Unix%29, $(D stat))
function.
On Posix systems, if the given file is a symbolic link, then
attributes are the attributes of the file pointed to by the symbolic
link.
Params:
name = The file to get the attributes of.
Throws: $(D FileException) on error.
+/
uint getAttributes(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
auto namez = name.tempCString!FSChar();
static auto trustedGetFileAttributesW(const(FSChar)* namez) @trusted
{
return GetFileAttributesW(namez);
}
immutable result = trustedGetFileAttributesW(namez);
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(result != INVALID_FILE_ATTRIBUTES, names, namez);
return result;
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return stat(namez, &buf);
}
stat_t statbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedStat(namez, statbuf) == 0, names, namez);
return statbuf.st_mode;
}
}
/// ditto
uint getAttributes(R)(auto ref R name)
if (isConvertibleToString!R)
{
return getAttributes!(StringTypeOf!R)(name);
}
@safe unittest
{
static assert(__traits(compiles, getAttributes(TestAliasedString(null))));
}
/++
If the given file is a symbolic link, then this returns the attributes of the
symbolic link itself rather than file that it points to. If the given file
is $(I not) a symbolic link, then this function returns the same result
as getAttributes.
On Windows, getLinkAttributes is identical to getAttributes. It exists on
Windows so that you don't have to special-case code for Windows when dealing
with symbolic links.
Params:
name = The file to get the symbolic link attributes of.
Returns:
the attributes
Throws:
$(D FileException) on error.
+/
uint getLinkAttributes(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
return getAttributes(name);
}
else version(Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedLstat(const(FSChar)* namez, ref stat_t buf) @trusted
{
return lstat(namez, &buf);
}
stat_t lstatbuf = void;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedLstat(namez, lstatbuf) == 0, names, namez);
return lstatbuf.st_mode;
}
}
/// ditto
uint getLinkAttributes(R)(auto ref R name)
if (isConvertibleToString!R)
{
return getLinkAttributes!(StringTypeOf!R)(name);
}
@safe unittest
{
static assert(__traits(compiles, getLinkAttributes(TestAliasedString(null))));
}
/++
Set the _attributes of the given file.
Params:
name = the file _name
attributes = the _attributes to set the file to
Throws:
$(D FileException) if the given file does not exist.
+/
void setAttributes(R)(R name, uint attributes)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version (Windows)
{
auto namez = name.tempCString!FSChar();
static auto trustedSetFileAttributesW(const(FSChar)* namez, uint dwFileAttributes) @trusted
{
return SetFileAttributesW(namez, dwFileAttributes);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(trustedSetFileAttributesW(namez, attributes), names, namez);
}
else version (Posix)
{
auto namez = name.tempCString!FSChar();
static auto trustedChmod(const(FSChar)* namez, mode_t mode) @trusted
{
return chmod(namez, mode);
}
assert(attributes <= mode_t.max);
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias names = name;
else
string names = null;
cenforce(!trustedChmod(namez, cast(mode_t) attributes), names, namez);
}
}
/// ditto
void setAttributes(R)(auto ref R name, uint attributes)
if (isConvertibleToString!R)
{
return setAttributes!(StringTypeOf!R)(name, attributes);
}
@safe unittest
{
static assert(__traits(compiles, setAttributes(TestAliasedString(null), 0)));
}
/++
Returns whether the given file is a directory.
Params:
name = The path to the file.
Returns:
true if name specifies a directory
Throws:
$(D FileException) if the given file does not exist.
Example:
--------------------
assert(!"/etc/fonts/fonts.conf".isDir);
assert("/usr/share/include".isDir);
--------------------
+/
@property bool isDir(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
{
return (getAttributes(name) & FILE_ATTRIBUTE_DIRECTORY) != 0;
}
else version(Posix)
{
return (getAttributes(name) & S_IFMT) == S_IFDIR;
}
}
/// ditto
@property bool isDir(R)(auto ref R name)
if (isConvertibleToString!R)
{
return name.isDir!(StringTypeOf!R);
}
@safe unittest
{
static assert(__traits(compiles, TestAliasedString(null).isDir));
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
assert("C:\\Program Files\\".isDir);
if ("C:\\Windows\\system.ini".exists)
assert(!"C:\\Windows\\system.ini".isDir);
}
else version(Posix)
{
if (system_directory.exists)
assert(system_directory.isDir);
if (system_file.exists)
assert(!system_file.isDir);
}
}
@system unittest
{
version(Windows)
enum dir = "C:\\Program Files\\";
else version(Posix)
enum dir = system_directory;
if (dir.exists)
{
DirEntry de = DirEntry(dir);
assert(de.isDir);
assert(DirEntry(dir).isDir);
}
}
/++
Returns whether the given file _attributes are for a directory.
Params:
attributes = The file _attributes.
Returns:
true if attributes specifies a directory
Example:
--------------------
assert(!attrIsDir(getAttributes("/etc/fonts/fonts.conf")));
assert(!attrIsDir(getLinkAttributes("/etc/fonts/fonts.conf")));
--------------------
+/
bool attrIsDir(uint attributes) @safe pure nothrow @nogc
{
version(Windows)
{
return (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
}
else version(Posix)
{
return (attributes & S_IFMT) == S_IFDIR;
}
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
{
assert(attrIsDir(getAttributes("C:\\Program Files\\")));
assert(attrIsDir(getLinkAttributes("C:\\Program Files\\")));
}
if ("C:\\Windows\\system.ini".exists)
{
assert(!attrIsDir(getAttributes("C:\\Windows\\system.ini")));
assert(!attrIsDir(getLinkAttributes("C:\\Windows\\system.ini")));
}
}
else version(Posix)
{
if (system_directory.exists)
{
assert(attrIsDir(getAttributes(system_directory)));
assert(attrIsDir(getLinkAttributes(system_directory)));
}
if (system_file.exists)
{
assert(!attrIsDir(getAttributes(system_file)));
assert(!attrIsDir(getLinkAttributes(system_file)));
}
}
}
/++
Returns whether the given file (or directory) is a file.
On Windows, if a file is not a directory, then it's a file. So,
either $(D isFile) or $(D isDir) will return true for any given file.
On Posix systems, if $(D isFile) is $(D true), that indicates that the file
is a regular file (e.g. not a block not device). So, on Posix systems, it's
possible for both $(D isFile) and $(D isDir) to be $(D false) for a
particular file (in which case, it's a special file). You can use
$(D getAttributes) to get the attributes to figure out what type of special
it is, or you can use $(D DirEntry) to get at its $(D statBuf), which is the
result from $(D stat). In either case, see the man page for $(D stat) for
more information.
Params:
name = The path to the file.
Returns:
true if name specifies a file
Throws:
$(D FileException) if the given file does not exist.
Example:
--------------------
assert("/etc/fonts/fonts.conf".isFile);
assert(!"/usr/share/include".isFile);
--------------------
+/
@property bool isFile(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
return !name.isDir;
else version(Posix)
return (getAttributes(name) & S_IFMT) == S_IFREG;
}
/// ditto
@property bool isFile(R)(auto ref R name)
if (isConvertibleToString!R)
{
return isFile!(StringTypeOf!R)(name);
}
@system unittest // bugzilla 15658
{
DirEntry e = DirEntry(".");
static assert(is(typeof(isFile(e))));
}
@safe unittest
{
static assert(__traits(compiles, TestAliasedString(null).isFile));
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
assert(!"C:\\Program Files\\".isFile);
if ("C:\\Windows\\system.ini".exists)
assert("C:\\Windows\\system.ini".isFile);
}
else version(Posix)
{
if (system_directory.exists)
assert(!system_directory.isFile);
if (system_file.exists)
assert(system_file.isFile);
}
}
/++
Returns whether the given file _attributes are for a file.
On Windows, if a file is not a directory, it's a file. So, either
$(D attrIsFile) or $(D attrIsDir) will return $(D true) for the
_attributes of any given file.
On Posix systems, if $(D attrIsFile) is $(D true), that indicates that the
file is a regular file (e.g. not a block not device). So, on Posix systems,
it's possible for both $(D attrIsFile) and $(D attrIsDir) to be $(D false)
for a particular file (in which case, it's a special file). If a file is a
special file, you can use the _attributes to check what type of special file
it is (see the man page for $(D stat) for more information).
Params:
attributes = The file _attributes.
Returns:
true if the given file _attributes are for a file
Example:
--------------------
assert(attrIsFile(getAttributes("/etc/fonts/fonts.conf")));
assert(attrIsFile(getLinkAttributes("/etc/fonts/fonts.conf")));
--------------------
+/
bool attrIsFile(uint attributes) @safe pure nothrow @nogc
{
version(Windows)
{
return (attributes & FILE_ATTRIBUTE_DIRECTORY) == 0;
}
else version(Posix)
{
return (attributes & S_IFMT) == S_IFREG;
}
}
@safe unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
{
assert(!attrIsFile(getAttributes("C:\\Program Files\\")));
assert(!attrIsFile(getLinkAttributes("C:\\Program Files\\")));
}
if ("C:\\Windows\\system.ini".exists)
{
assert(attrIsFile(getAttributes("C:\\Windows\\system.ini")));
assert(attrIsFile(getLinkAttributes("C:\\Windows\\system.ini")));
}
}
else version(Posix)
{
if (system_directory.exists)
{
assert(!attrIsFile(getAttributes(system_directory)));
assert(!attrIsFile(getLinkAttributes(system_directory)));
}
if (system_file.exists)
{
assert(attrIsFile(getAttributes(system_file)));
assert(attrIsFile(getLinkAttributes(system_file)));
}
}
}
/++
Returns whether the given file is a symbolic link.
On Windows, returns $(D true) when the file is either a symbolic link or a
junction point.
Params:
name = The path to the file.
Returns:
true if name is a symbolic link
Throws:
$(D FileException) if the given file does not exist.
+/
@property bool isSymlink(R)(R name)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
version(Windows)
return (getAttributes(name) & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
else version(Posix)
return (getLinkAttributes(name) & S_IFMT) == S_IFLNK;
}
/// ditto
@property bool isSymlink(R)(auto ref R name)
if (isConvertibleToString!R)
{
return name.isSymlink!(StringTypeOf!R);
}
@safe unittest
{
static assert(__traits(compiles, TestAliasedString(null).isSymlink));
}
@system unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
assert(!"C:\\Program Files\\".isSymlink);
if ("C:\\Users\\".exists && "C:\\Documents and Settings\\".exists)
assert("C:\\Documents and Settings\\".isSymlink);
enum fakeSymFile = "C:\\Windows\\system.ini";
if (fakeSymFile.exists)
{
assert(!fakeSymFile.isSymlink);
assert(!fakeSymFile.isSymlink);
assert(!attrIsSymlink(getAttributes(fakeSymFile)));
assert(!attrIsSymlink(getLinkAttributes(fakeSymFile)));
assert(attrIsFile(getAttributes(fakeSymFile)));
assert(attrIsFile(getLinkAttributes(fakeSymFile)));
assert(!attrIsDir(getAttributes(fakeSymFile)));
assert(!attrIsDir(getLinkAttributes(fakeSymFile)));
assert(getAttributes(fakeSymFile) == getLinkAttributes(fakeSymFile));
}
}
else version(Posix)
{
if (system_directory.exists)
{
assert(!system_directory.isSymlink);
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
core.sys.posix.unistd.symlink(system_directory, symfile.ptr);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(!attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
if (system_file.exists)
{
assert(!system_file.isSymlink);
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
core.sys.posix.unistd.symlink(system_file, symfile.ptr);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(!attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
}
static assert(__traits(compiles, () @safe { return "dummy".isSymlink; }));
}
/++
Returns whether the given file attributes are for a symbolic link.
On Windows, return $(D true) when the file is either a symbolic link or a
junction point.
Params:
attributes = The file attributes.
Returns:
true if attributes are for a symbolic link
Example:
--------------------
core.sys.posix.unistd.symlink("/etc/fonts/fonts.conf", "/tmp/alink");
assert(!getAttributes("/tmp/alink").isSymlink);
assert(getLinkAttributes("/tmp/alink").isSymlink);
--------------------
+/
bool attrIsSymlink(uint attributes) @safe pure nothrow @nogc
{
version(Windows)
return (attributes & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
else version(Posix)
return (attributes & S_IFMT) == S_IFLNK;
}
/****************************************************
* Change directory to $(D pathname).
* Throws: $(D FileException) on error.
*/
void chdir(R)(R pathname)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
// Place outside of @trusted block
auto pathz = pathname.tempCString!FSChar();
version(Windows)
{
static auto trustedChdir(const(FSChar)* pathz) @trusted
{
return SetCurrentDirectoryW(pathz);
}
}
else version(Posix)
{
static auto trustedChdir(const(FSChar)* pathz) @trusted
{
return core.sys.posix.unistd.chdir(pathz) == 0;
}
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
cenforce(trustedChdir(pathz), pathStr, pathz);
}
/// ditto
void chdir(R)(auto ref R pathname)
if (isConvertibleToString!R)
{
return chdir!(StringTypeOf!R)(pathname);
}
@safe unittest
{
static assert(__traits(compiles, chdir(TestAliasedString(null))));
}
/****************************************************
Make directory $(D pathname).
Throws: $(D FileException) on Posix or $(D WindowsException) on Windows
if an error occured.
*/
void mkdir(R)(R pathname)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
// Place outside of @trusted block
const pathz = pathname.tempCString!FSChar();
version(Windows)
{
static auto trustedCreateDirectoryW(const(FSChar)* pathz) @trusted
{
return CreateDirectoryW(pathz, null);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
wenforce(trustedCreateDirectoryW(pathz), pathStr, pathz);
}
else version(Posix)
{
import std.conv : octal;
static auto trustedMkdir(const(FSChar)* pathz, mode_t mode) @trusted
{
return core.sys.posix.sys.stat.mkdir(pathz, mode);
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
cenforce(trustedMkdir(pathz, octal!777) == 0, pathStr, pathz);
}
}
/// ditto
void mkdir(R)(auto ref R pathname)
if (isConvertibleToString!R)
{
return mkdir!(StringTypeOf!R)(pathname);
}
@safe unittest
{
import std.path : mkdir;
static assert(__traits(compiles, mkdir(TestAliasedString(null))));
}
// Same as mkdir but ignores "already exists" errors.
// Returns: "true" if the directory was created,
// "false" if it already existed.
private bool ensureDirExists()(in char[] pathname)
{
import std.exception : enforce;
const pathz = pathname.tempCString!FSChar();
version(Windows)
{
if (() @trusted { return CreateDirectoryW(pathz, null); }())
return true;
cenforce(GetLastError() == ERROR_ALREADY_EXISTS, pathname.idup);
}
else version(Posix)
{
import std.conv : octal;
if (() @trusted { return core.sys.posix.sys.stat.mkdir(pathz, octal!777); }() == 0)
return true;
cenforce(errno == EEXIST || errno == EISDIR, pathname);
}
enforce(pathname.isDir, new FileException(pathname.idup));
return false;
}
/****************************************************
* Make directory and all parent directories as needed.
*
* Does nothing if the directory specified by
* $(D pathname) already exists.
*
* Throws: $(D FileException) on error.
*/
void mkdirRecurse(in char[] pathname) @safe
{
import std.path : dirName, baseName;
const left = dirName(pathname);
if (left.length != pathname.length && !exists(left))
{
mkdirRecurse(left);
}
if (!baseName(pathname).empty)
{
ensureDirExists(pathname);
}
}
@safe unittest
{
import std.exception : assertThrown;
{
import std.path : buildPath, buildNormalizedPath;
immutable basepath = deleteme ~ "_dir";
scope(exit) () @trusted { rmdirRecurse(basepath); }();
auto path = buildPath(basepath, "a", "..", "b");
mkdirRecurse(path);
path = path.buildNormalizedPath;
assert(path.isDir);
path = buildPath(basepath, "c");
write(path, "");
assertThrown!FileException(mkdirRecurse(path));
path = buildPath(basepath, "d");
mkdirRecurse(path);
mkdirRecurse(path); // should not throw
}
version(Windows)
{
assertThrown!FileException(mkdirRecurse(`1:\foobar`));
}
// bug3570
{
immutable basepath = deleteme ~ "_dir";
version (Windows)
{
immutable path = basepath ~ "\\fake\\here\\";
}
else version (Posix)
{
immutable path = basepath ~ `/fake/here/`;
}
mkdirRecurse(path);
assert(basepath.exists && basepath.isDir);
scope(exit) () @trusted { rmdirRecurse(basepath); }();
assert(path.exists && path.isDir);
}
}
/****************************************************
Remove directory $(D pathname).
Params:
pathname = Range or string specifying the directory name
Throws: $(D FileException) on error.
*/
void rmdir(R)(R pathname)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) &&
!isConvertibleToString!R)
{
// Place outside of @trusted block
auto pathz = pathname.tempCString!FSChar();
version(Windows)
{
static auto trustedRmdir(const(FSChar)* pathz) @trusted
{
return RemoveDirectoryW(pathz);
}
}
else version(Posix)
{
static auto trustedRmdir(const(FSChar)* pathz) @trusted
{
return core.sys.posix.unistd.rmdir(pathz) == 0;
}
}
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathStr = pathname;
else
string pathStr = null;
cenforce(trustedRmdir(pathz), pathStr, pathz);
}
/// ditto
void rmdir(R)(auto ref R pathname)
if (isConvertibleToString!R)
{
rmdir!(StringTypeOf!R)(pathname);
}
@safe unittest
{
static assert(__traits(compiles, rmdir(TestAliasedString(null))));
}
/++
$(BLUE This function is Posix-Only.)
Creates a symbolic _link (_symlink).
Params:
original = The file that is being linked. This is the target path that's
stored in the _symlink. A relative path is relative to the created
_symlink.
link = The _symlink to create. A relative path is relative to the
current working directory.
Throws:
$(D FileException) on error (which includes if the _symlink already
exists).
+/
version(StdDdoc) void symlink(RO, RL)(RO original, RL link)
if ((isInputRange!RO && !isInfinite!RO && isSomeChar!(ElementEncodingType!RO) ||
isConvertibleToString!RO) &&
(isInputRange!RL && !isInfinite!RL && isSomeChar!(ElementEncodingType!RL) ||
isConvertibleToString!RL));
else version(Posix) void symlink(RO, RL)(RO original, RL link)
if ((isInputRange!RO && !isInfinite!RO && isSomeChar!(ElementEncodingType!RO) ||
isConvertibleToString!RO) &&
(isInputRange!RL && !isInfinite!RL && isSomeChar!(ElementEncodingType!RL) ||
isConvertibleToString!RL))
{
static if (isConvertibleToString!RO || isConvertibleToString!RL)
{
import std.meta : staticMap;
alias Types = staticMap!(convertToString, RO, RL);
symlink!Types(original, link);
}
else
{
import std.conv : text;
auto oz = original.tempCString();
auto lz = link.tempCString();
alias posixSymlink = core.sys.posix.unistd.symlink;
immutable int result = () @trusted { return posixSymlink(oz, lz); } ();
cenforce(result == 0, text(link));
}
}
version(Posix) @safe unittest
{
if (system_directory.exists)
{
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
symlink(system_directory, symfile);
assert(symfile.exists);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(!attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
if (system_file.exists)
{
assert(!system_file.isSymlink);
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
symlink(system_file, symfile);
assert(symfile.exists);
assert(symfile.isSymlink);
assert(!attrIsSymlink(getAttributes(symfile)));
assert(attrIsSymlink(getLinkAttributes(symfile)));
assert(!attrIsDir(getAttributes(symfile)));
assert(!attrIsDir(getLinkAttributes(symfile)));
assert(attrIsFile(getAttributes(symfile)));
assert(!attrIsFile(getLinkAttributes(symfile)));
}
}
version(Posix) @safe unittest
{
static assert(__traits(compiles,
symlink(TestAliasedString(null), TestAliasedString(null))));
}
/++
$(BLUE This function is Posix-Only.)
Returns the path to the file pointed to by a symlink. Note that the
path could be either relative or absolute depending on the symlink.
If the path is relative, it's relative to the symlink, not the current
working directory.
Throws:
$(D FileException) on error.
+/
version(StdDdoc) string readLink(R)(R link)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) ||
isConvertibleToString!R);
else version(Posix) string readLink(R)(R link)
if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementEncodingType!R) ||
isConvertibleToString!R)
{
static if (isConvertibleToString!R)
{
return readLink!(convertToString!R)(link);
}
else
{
import std.conv : to;
import std.exception : assumeUnique;
alias posixReadlink = core.sys.posix.unistd.readlink;
enum bufferLen = 2048;
enum maxCodeUnits = 6;
char[bufferLen] buffer;
const linkz = link.tempCString();
auto size = () @trusted {
return posixReadlink(linkz, buffer.ptr, buffer.length);
} ();
cenforce(size != -1, to!string(link));
if (size <= bufferLen - maxCodeUnits)
return to!string(buffer[0 .. size]);
auto dynamicBuffer = new char[](bufferLen * 3 / 2);
foreach (i; 0 .. 10)
{
size = () @trusted {
return posixReadlink(linkz, dynamicBuffer.ptr,
dynamicBuffer.length);
} ();
cenforce(size != -1, to!string(link));
if (size <= dynamicBuffer.length - maxCodeUnits)
{
dynamicBuffer.length = size;
return () @trusted {
return assumeUnique(dynamicBuffer);
} ();
}
dynamicBuffer.length = dynamicBuffer.length * 3 / 2;
}
throw new FileException(to!string(link), "Path is too long to read.");
}
}
version(Posix) @safe unittest
{
import std.exception : assertThrown;
import std.string;
foreach (file; [system_directory, system_file])
{
if (file.exists)
{
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
symlink(file, symfile);
assert(readLink(symfile) == file, format("Failed file: %s", file));
}
}
assertThrown!FileException(readLink("/doesnotexist"));
}
version(Posix) @safe unittest
{
static assert(__traits(compiles, readLink(TestAliasedString("foo"))));
}
version(Posix) @system unittest // input range of dchars
{
mkdirRecurse(deleteme);
scope(exit) if (deleteme.exists) rmdirRecurse(deleteme);
write(deleteme ~ "/f", "");
import std.range.interfaces : InputRange, inputRangeObject;
import std.utf : byChar;
immutable string link = deleteme ~ "/l";
symlink("f", link);
InputRange!dchar linkr = inputRangeObject(link);
alias R = typeof(linkr);
static assert(isInputRange!R);
static assert(!isForwardRange!R);
assert(readLink(linkr) == "f");
}
/****************************************************
* Get the current working directory.
* Throws: $(D FileException) on error.
*/
version(Windows) string getcwd()
{
import std.conv : to;
/* GetCurrentDirectory's return value:
1. function succeeds: the number of characters that are written to
the buffer, not including the terminating null character.
2. function fails: zero
3. the buffer (lpBuffer) is not large enough: the required size of
the buffer, in characters, including the null-terminating character.
*/
wchar[4096] buffW = void; //enough for most common case
immutable n = cenforce(GetCurrentDirectoryW(to!DWORD(buffW.length), buffW.ptr),
"getcwd");
// we can do it because toUTFX always produces a fresh string
if (n < buffW.length)
{
return buffW[0 .. n].to!string;
}
else //staticBuff isn't enough
{
auto ptr = cast(wchar*) malloc(wchar.sizeof * n);
scope(exit) free(ptr);
immutable n2 = GetCurrentDirectoryW(n, ptr);
cenforce(n2 && n2 < n, "getcwd");
return ptr[0 .. n2].to!string;
}
}
else version (Solaris) string getcwd()
{
/* BUF_SIZE >= PATH_MAX */
enum BUF_SIZE = 4096;
/* The user should be able to specify any size buffer > 0 */
auto p = cenforce(core.sys.posix.unistd.getcwd(null, BUF_SIZE),
"cannot get cwd");
scope(exit) core.stdc.stdlib.free(p);
return p[0 .. core.stdc.string.strlen(p)].idup;
}
else version (Posix) string getcwd()
{
auto p = cenforce(core.sys.posix.unistd.getcwd(null, 0),
"cannot get cwd");
scope(exit) core.stdc.stdlib.free(p);
return p[0 .. core.stdc.string.strlen(p)].idup;
}
@system unittest
{
auto s = getcwd();
assert(s.length);
}
version (OSX)
private extern (C) int _NSGetExecutablePath(char* buf, uint* bufsize);
else version (FreeBSD)
private extern (C) int sysctl (const int* name, uint namelen, void* oldp,
size_t* oldlenp, const void* newp, size_t newlen);
else version (NetBSD)
private extern (C) int sysctl (const int* name, uint namelen, void* oldp,
size_t* oldlenp, const void* newp, size_t newlen);
/**
* Returns the full path of the current executable.
*
* Throws:
* $(REF1 Exception, object)
*/
@trusted string thisExePath ()
{
version (OSX)
{
import core.sys.posix.stdlib : realpath;
import std.conv : to;
import std.exception : errnoEnforce;
uint size;
_NSGetExecutablePath(null, &size); // get the length of the path
auto buffer = new char[size];
_NSGetExecutablePath(buffer.ptr, &size);
auto absolutePath = realpath(buffer.ptr, null); // let the function allocate
scope (exit)
{
if (absolutePath)
free(absolutePath);
}
errnoEnforce(absolutePath);
return to!(string)(absolutePath);
}
else version (linux)
{
return readLink("/proc/self/exe");
}
else version (Windows)
{
import std.conv : to;
import std.exception : enforce;
wchar[MAX_PATH] buf;
wchar[] buffer = buf[];
while (true)
{
auto len = GetModuleFileNameW(null, buffer.ptr, cast(DWORD) buffer.length);
enforce(len, sysErrorString(GetLastError()));
if (len != buffer.length)
return to!(string)(buffer[0 .. len]);
buffer.length *= 2;
}
}
else version (FreeBSD)
{
import std.exception : errnoEnforce, assumeUnique;
enum
{
CTL_KERN = 1,
KERN_PROC = 14,
KERN_PROC_PATHNAME = 12
}
int[4] mib = [CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1];
size_t len;
auto result = sysctl(mib.ptr, mib.length, null, &len, null, 0); // get the length of the path
errnoEnforce(result == 0);
auto buffer = new char[len - 1];
result = sysctl(mib.ptr, mib.length, buffer.ptr, &len, null, 0);
errnoEnforce(result == 0);
return buffer.assumeUnique;
}
else version (NetBSD)
{
return readLink("/proc/self/exe");
}
else version (Solaris)
{
import core.sys.posix.unistd : getpid;
import std.string : format;
// Only Solaris 10 and later
return readLink(format("/proc/%d/path/a.out", getpid()));
}
else
static assert(0, "thisExePath is not supported on this platform");
}
@safe unittest
{
import std.path : isAbsolute;
auto path = thisExePath();
assert(path.exists);
assert(path.isAbsolute);
assert(path.isFile);
}
version(StdDdoc)
{
/++
Info on a file, similar to what you'd get from stat on a Posix system.
+/
struct DirEntry
{
@safe:
/++
Constructs a $(D DirEntry) for the given file (or directory).
Params:
path = The file (or directory) to get a DirEntry for.
Throws:
$(D FileException) if the file does not exist.
+/
this(string path);
version (Windows)
{
private this(string path, in WIN32_FIND_DATAW *fd);
}
else version (Posix)
{
private this(string path, core.sys.posix.dirent.dirent* fd);
}
/++
Returns the path to the file represented by this $(D DirEntry).
Example:
--------------------
auto de1 = DirEntry("/etc/fonts/fonts.conf");
assert(de1.name == "/etc/fonts/fonts.conf");
auto de2 = DirEntry("/usr/share/include");
assert(de2.name == "/usr/share/include");
--------------------
+/
@property string name() const;
/++
Returns whether the file represented by this $(D DirEntry) is a
directory.
Example:
--------------------
auto de1 = DirEntry("/etc/fonts/fonts.conf");
assert(!de1.isDir);
auto de2 = DirEntry("/usr/share/include");
assert(de2.isDir);
--------------------
+/
@property bool isDir();
/++
Returns whether the file represented by this $(D DirEntry) is a file.
On Windows, if a file is not a directory, then it's a file. So,
either $(D isFile) or $(D isDir) will return $(D true).
On Posix systems, if $(D isFile) is $(D true), that indicates that
the file is a regular file (e.g. not a block not device). So, on
Posix systems, it's possible for both $(D isFile) and $(D isDir) to
be $(D false) for a particular file (in which case, it's a special
file). You can use $(D attributes) or $(D statBuf) to get more
information about a special file (see the stat man page for more
details).
Example:
--------------------
auto de1 = DirEntry("/etc/fonts/fonts.conf");
assert(de1.isFile);
auto de2 = DirEntry("/usr/share/include");
assert(!de2.isFile);
--------------------
+/
@property bool isFile();
/++
Returns whether the file represented by this $(D DirEntry) is a
symbolic link.
On Windows, return $(D true) when the file is either a symbolic
link or a junction point.
+/
@property bool isSymlink();
/++
Returns the size of the the file represented by this $(D DirEntry)
in bytes.
+/
@property ulong size();
/++
$(BLUE This function is Windows-Only.)
Returns the creation time of the file represented by this
$(D DirEntry).
+/
@property SysTime timeCreated() const;
/++
Returns the time that the file represented by this $(D DirEntry) was
last accessed.
Note that many file systems do not update the access time for files
(generally for performance reasons), so there's a good chance that
$(D timeLastAccessed) will return the same value as
$(D timeLastModified).
+/
@property SysTime timeLastAccessed();
/++
Returns the time that the file represented by this $(D DirEntry) was
last modified.
+/
@property SysTime timeLastModified();
/++
Returns the _attributes of the file represented by this $(D DirEntry).
Note that the file _attributes on Windows and Posix systems are
completely different. On, Windows, they're what is returned by
$(D GetFileAttributes)
$(HTTP msdn.microsoft.com/en-us/library/aa364944(v=vs.85).aspx, GetFileAttributes)
Whereas, an Posix systems, they're the $(D st_mode) value which is
part of the $(D stat) struct gotten by calling $(D stat).
On Posix systems, if the file represented by this $(D DirEntry) is a
symbolic link, then _attributes are the _attributes of the file
pointed to by the symbolic link.
+/
@property uint attributes();
/++
On Posix systems, if the file represented by this $(D DirEntry) is a
symbolic link, then $(D linkAttributes) are the attributes of the
symbolic link itself. Otherwise, $(D linkAttributes) is identical to
$(D attributes).
On Windows, $(D linkAttributes) is identical to $(D attributes). It
exists on Windows so that you don't have to special-case code for
Windows when dealing with symbolic links.
+/
@property uint linkAttributes();
version(Windows)
alias stat_t = void*;
/++
$(BLUE This function is Posix-Only.)
The $(D stat) struct gotten from calling $(D stat).
+/
@property stat_t statBuf();
}
}
else version(Windows)
{
struct DirEntry
{
@safe:
public:
alias name this;
this(string path)
{
import std.datetime.systime : FILETIMEToSysTime;
if (!path.exists())
throw new FileException(path, "File does not exist");
_name = path;
with (getFileAttributesWin(path))
{
_size = makeUlong(nFileSizeLow, nFileSizeHigh);
_timeCreated = FILETIMEToSysTime(&ftCreationTime);
_timeLastAccessed = FILETIMEToSysTime(&ftLastAccessTime);
_timeLastModified = FILETIMEToSysTime(&ftLastWriteTime);
_attributes = dwFileAttributes;
}
}
private this(string path, WIN32_FIND_DATAW *fd) @trusted
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
import std.datetime.systime : FILETIMEToSysTime;
import std.path : buildPath;
fd.cFileName[$ - 1] = 0;
size_t clength = wcslen(&fd.cFileName[0]);
_name = buildPath(path, fd.cFileName[0 .. clength].to!string);
_size = (cast(ulong) fd.nFileSizeHigh << 32) | fd.nFileSizeLow;
_timeCreated = FILETIMEToSysTime(&fd.ftCreationTime);
_timeLastAccessed = FILETIMEToSysTime(&fd.ftLastAccessTime);
_timeLastModified = FILETIMEToSysTime(&fd.ftLastWriteTime);
_attributes = fd.dwFileAttributes;
}
@property string name() const pure nothrow
{
return _name;
}
@property bool isDir() const pure nothrow
{
return (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
}
@property bool isFile() const pure nothrow
{
//Are there no options in Windows other than directory and file?
//If there are, then this probably isn't the best way to determine
//whether this DirEntry is a file or not.
return !isDir;
}
@property bool isSymlink() const pure nothrow
{
return (attributes & FILE_ATTRIBUTE_REPARSE_POINT) != 0;
}
@property ulong size() const pure nothrow
{
return _size;
}
@property SysTime timeCreated() const pure nothrow
{
return cast(SysTime)_timeCreated;
}
@property SysTime timeLastAccessed() const pure nothrow
{
return cast(SysTime)_timeLastAccessed;
}
@property SysTime timeLastModified() const pure nothrow
{
return cast(SysTime)_timeLastModified;
}
@property uint attributes() const pure nothrow
{
return _attributes;
}
@property uint linkAttributes() const pure nothrow
{
return _attributes;
}
private:
string _name; /// The file or directory represented by this DirEntry.
SysTime _timeCreated; /// The time when the file was created.
SysTime _timeLastAccessed; /// The time when the file was last accessed.
SysTime _timeLastModified; /// The time when the file was last modified.
ulong _size; /// The size of the file in bytes.
uint _attributes; /// The file attributes from WIN32_FIND_DATAW.
}
}
else version(Posix)
{
struct DirEntry
{
@safe:
public:
alias name this;
this(string path)
{
if (!path.exists)
throw new FileException(path, "File does not exist");
_name = path;
_didLStat = false;
_didStat = false;
_dTypeSet = false;
}
private this(string path, core.sys.posix.dirent.dirent* fd) @trusted
{
import std.path : buildPath;
import std.algorithm.searching : countUntil;
immutable len = fd.d_name[].countUntil(0);
_name = buildPath(path, fd.d_name[0 .. len]);
_didLStat = false;
_didStat = false;
//fd_d_type doesn't work for all file systems,
//in which case the result is DT_UNKOWN. But we
//can determine the correct type from lstat, so
//we'll only set the dtype here if we could
//correctly determine it (not lstat in the case
//of DT_UNKNOWN in case we don't ever actually
//need the dtype, thus potentially avoiding the
//cost of calling lstat).
static if (__traits(compiles, fd.d_type != DT_UNKNOWN))
{
if (fd.d_type != DT_UNKNOWN)
{
_dType = fd.d_type;
_dTypeSet = true;
}
else
_dTypeSet = false;
}
else
{
// e.g. Solaris does not have the d_type member
_dTypeSet = false;
}
}
@property string name() const pure nothrow
{
return _name;
}
@property bool isDir()
{
_ensureStatOrLStatDone();
return (_statBuf.st_mode & S_IFMT) == S_IFDIR;
}
@property bool isFile()
{
_ensureStatOrLStatDone();
return (_statBuf.st_mode & S_IFMT) == S_IFREG;
}
@property bool isSymlink()
{
_ensureLStatDone();
return (_lstatMode & S_IFMT) == S_IFLNK;
}
@property ulong size()
{
_ensureStatDone();
return _statBuf.st_size;
}
@property SysTime timeStatusChanged()
{
_ensureStatDone();
return statTimeToStdTime!'c'(_statBuf);
}
@property SysTime timeLastAccessed()
{
_ensureStatDone();
return statTimeToStdTime!'a'(_statBuf);
}
@property SysTime timeLastModified()
{
_ensureStatDone();
return statTimeToStdTime!'m'(_statBuf);
}
@property uint attributes()
{
_ensureStatDone();
return _statBuf.st_mode;
}
@property uint linkAttributes()
{
_ensureLStatDone();
return _lstatMode;
}
@property stat_t statBuf()
{
_ensureStatDone();
return _statBuf;
}
private:
/++
This is to support lazy evaluation, because doing stat's is
expensive and not always needed.
+/
void _ensureStatDone() @trusted
{
import std.exception : enforce;
if (_didStat)
return;
enforce(stat(_name.tempCString(), &_statBuf) == 0,
"Failed to stat file `" ~ _name ~ "'");
_didStat = true;
}
/++
This is to support lazy evaluation, because doing stat's is
expensive and not always needed.
Try both stat and lstat for isFile and isDir
to detect broken symlinks.
+/
void _ensureStatOrLStatDone() @trusted
{
if (_didStat)
return;
if (stat(_name.tempCString(), &_statBuf) != 0)
{
_ensureLStatDone();
_statBuf = stat_t.init;
_statBuf.st_mode = S_IFLNK;
}
else
{
_didStat = true;
}
}
/++
This is to support lazy evaluation, because doing stat's is
expensive and not always needed.
+/
void _ensureLStatDone() @trusted
{
import std.exception : enforce;
if (_didLStat)
return;
stat_t statbuf = void;
enforce(lstat(_name.tempCString(), &statbuf) == 0,
"Failed to stat file `" ~ _name ~ "'");
_lstatMode = statbuf.st_mode;
_dTypeSet = true;
_didLStat = true;
}
string _name; /// The file or directory represented by this DirEntry.
stat_t _statBuf = void; /// The result of stat().
uint _lstatMode; /// The stat mode from lstat().
ubyte _dType; /// The type of the file.
bool _didLStat = false; /// Whether lstat() has been called for this DirEntry.
bool _didStat = false; /// Whether stat() has been called for this DirEntry.
bool _dTypeSet = false; /// Whether the dType of the file has been set.
}
}
@system unittest
{
version(Windows)
{
if ("C:\\Program Files\\".exists)
{
auto de = DirEntry("C:\\Program Files\\");
assert(!de.isFile);
assert(de.isDir);
assert(!de.isSymlink);
}
if ("C:\\Users\\".exists && "C:\\Documents and Settings\\".exists)
{
auto de = DirEntry("C:\\Documents and Settings\\");
assert(de.isSymlink);
}
if ("C:\\Windows\\system.ini".exists)
{
auto de = DirEntry("C:\\Windows\\system.ini");
assert(de.isFile);
assert(!de.isDir);
assert(!de.isSymlink);
}
}
else version(Posix)
{
import std.exception : assertThrown;
if (system_directory.exists)
{
{
auto de = DirEntry(system_directory);
assert(!de.isFile);
assert(de.isDir);
assert(!de.isSymlink);
}
immutable symfile = deleteme ~ "_slink\0";
scope(exit) if (symfile.exists) symfile.remove();
core.sys.posix.unistd.symlink(system_directory, symfile.ptr);
{
auto de = DirEntry(symfile);
assert(!de.isFile);
assert(de.isDir);
assert(de.isSymlink);
}
symfile.remove();
core.sys.posix.unistd.symlink((deleteme ~ "_broken_symlink\0").ptr, symfile.ptr);
{
//Issue 8298
DirEntry de = DirEntry(symfile);
assert(!de.isFile);
assert(!de.isDir);
assert(de.isSymlink);
assertThrown(de.size);
assertThrown(de.timeStatusChanged);
assertThrown(de.timeLastAccessed);
assertThrown(de.timeLastModified);
assertThrown(de.attributes);
assertThrown(de.statBuf);
assert(symfile.exists);
symfile.remove();
}
}
if (system_file.exists)
{
auto de = DirEntry(system_file);
assert(de.isFile);
assert(!de.isDir);
assert(!de.isSymlink);
}
}
}
alias PreserveAttributes = Flag!"preserveAttributes";
version (StdDdoc)
{
/// Defaults to $(D Yes.preserveAttributes) on Windows, and the opposite on all other platforms.
PreserveAttributes preserveAttributesDefault;
}
else version(Windows)
{
enum preserveAttributesDefault = Yes.preserveAttributes;
}
else
{
enum preserveAttributesDefault = No.preserveAttributes;
}
/***************************************************
Copy file $(D from) _to file $(D to). File timestamps are preserved.
File attributes are preserved, if $(D preserve) equals $(D Yes.preserveAttributes).
On Windows only $(D Yes.preserveAttributes) (the default on Windows) is supported.
If the target file exists, it is overwritten.
Params:
from = string or range of characters representing the existing file name
to = string or range of characters representing the target file name
preserve = whether to _preserve the file attributes
Throws: $(D FileException) on error.
*/
void copy(RF, RT)(RF from, RT to, PreserveAttributes preserve = preserveAttributesDefault)
if (isInputRange!RF && !isInfinite!RF && isSomeChar!(ElementEncodingType!RF) && !isConvertibleToString!RF &&
isInputRange!RT && !isInfinite!RT && isSomeChar!(ElementEncodingType!RT) && !isConvertibleToString!RT)
{
// Place outside of @trusted block
auto fromz = from.tempCString!FSChar();
auto toz = to.tempCString!FSChar();
static if (isNarrowString!RF && is(Unqual!(ElementEncodingType!RF) == char))
alias f = from;
else
enum string f = null;
static if (isNarrowString!RT && is(Unqual!(ElementEncodingType!RT) == char))
alias t = to;
else
enum string t = null;
copyImpl(f, t, fromz, toz, preserve);
}
/// ditto
void copy(RF, RT)(auto ref RF from, auto ref RT to, PreserveAttributes preserve = preserveAttributesDefault)
if (isConvertibleToString!RF || isConvertibleToString!RT)
{
import std.meta : staticMap;
alias Types = staticMap!(convertToString, RF, RT);
copy!Types(from, to, preserve);
}
@safe unittest // issue 15319
{
assert(__traits(compiles, copy("from.txt", "to.txt")));
}
private void copyImpl(const(char)[] f, const(char)[] t, const(FSChar)* fromz, const(FSChar)* toz,
PreserveAttributes preserve) @trusted
{
version(Windows)
{
assert(preserve == Yes.preserveAttributes);
immutable result = CopyFileW(fromz, toz, false);
if (!result)
{
import core.stdc.wchar_ : wcslen;
import std.conv : to;
if (!t)
t = to!(typeof(t))(toz[0 .. wcslen(toz)]);
throw new FileException(t);
}
}
else version(Posix)
{
static import core.stdc.stdio;
import std.conv : to, octal;
immutable fdr = core.sys.posix.fcntl.open(fromz, O_RDONLY);
cenforce(fdr != -1, f, fromz);
scope(exit) core.sys.posix.unistd.close(fdr);
stat_t statbufr = void;
cenforce(fstat(fdr, &statbufr) == 0, f, fromz);
//cenforce(core.sys.posix.sys.stat.fstat(fdr, &statbufr) == 0, f, fromz);
immutable fdw = core.sys.posix.fcntl.open(toz,
O_CREAT | O_WRONLY, octal!666);
cenforce(fdw != -1, t, toz);
{
scope(failure) core.sys.posix.unistd.close(fdw);
stat_t statbufw = void;
cenforce(fstat(fdw, &statbufw) == 0, t, toz);
if (statbufr.st_dev == statbufw.st_dev && statbufr.st_ino == statbufw.st_ino)
throw new FileException(t, "Source and destination are the same file");
}
scope(failure) core.stdc.stdio.remove(toz);
{
scope(failure) core.sys.posix.unistd.close(fdw);
cenforce(ftruncate(fdw, 0) == 0, t, toz);
auto BUFSIZ = 4096u * 16;
auto buf = core.stdc.stdlib.malloc(BUFSIZ);
if (!buf)
{
BUFSIZ = 4096;
buf = core.stdc.stdlib.malloc(BUFSIZ);
if (!buf)
{
import core.exception : onOutOfMemoryError;
onOutOfMemoryError();
}
}
scope(exit) core.stdc.stdlib.free(buf);
for (auto size = statbufr.st_size; size; )
{
immutable toxfer = (size > BUFSIZ) ? BUFSIZ : cast(size_t) size;
cenforce(
core.sys.posix.unistd.read(fdr, buf, toxfer) == toxfer
&& core.sys.posix.unistd.write(fdw, buf, toxfer) == toxfer,
f, fromz);
assert(size >= toxfer);
size -= toxfer;
}
if (preserve)
cenforce(fchmod(fdw, to!mode_t(statbufr.st_mode)) == 0, f, fromz);
}
cenforce(core.sys.posix.unistd.close(fdw) != -1, f, fromz);
utimbuf utim = void;
utim.actime = cast(time_t) statbufr.st_atime;
utim.modtime = cast(time_t) statbufr.st_mtime;
cenforce(utime(toz, &utim) != -1, f, fromz);
}
}
@safe unittest
{
import std.algorithm, std.file; // issue 14817
auto t1 = deleteme, t2 = deleteme~"2";
scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove();
write(t1, "11");
copy(t1, t2);
assert(readText(t2) == "11");
write(t1, "2");
copy(t1, t2);
assert(readText(t2) == "2");
import std.utf : byChar;
copy(t1.byChar, t2.byChar);
assert(readText(t2.byChar) == "2");
}
@safe version(Posix) @safe unittest //issue 11434
{
import std.conv : octal;
auto t1 = deleteme, t2 = deleteme~"2";
scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove();
write(t1, "1");
setAttributes(t1, octal!767);
copy(t1, t2, Yes.preserveAttributes);
assert(readText(t2) == "1");
assert(getAttributes(t2) == octal!100767);
}
@safe unittest // issue 15865
{
import std.exception : assertThrown;
auto t = deleteme;
write(t, "a");
scope(exit) t.remove();
assertThrown!FileException(copy(t, t));
assert(readText(t) == "a");
}
/++
Remove directory and all of its content and subdirectories,
recursively.
Throws:
$(D FileException) if there is an error (including if the given
file is not a directory).
+/
void rmdirRecurse(in char[] pathname)
{
//No references to pathname will be kept after rmdirRecurse,
//so the cast is safe
rmdirRecurse(DirEntry(cast(string) pathname));
}
/++
Remove directory and all of its content and subdirectories,
recursively.
Throws:
$(D FileException) if there is an error (including if the given
file is not a directory).
+/
void rmdirRecurse(ref DirEntry de)
{
if (!de.isDir)
throw new FileException(de.name, "Not a directory");
if (de.isSymlink)
{
version (Windows)
rmdir(de.name);
else
remove(de.name);
}
else
{
// all children, recursively depth-first
foreach (DirEntry e; dirEntries(de.name, SpanMode.depth, false))
{
attrIsDir(e.linkAttributes) ? rmdir(e.name) : remove(e.name);
}
// the dir itself
rmdir(de.name);
}
}
///ditto
//Note, without this overload, passing an RValue DirEntry still works, but
//actually fully reconstructs a DirEntry inside the
//"rmdirRecurse(in char[] pathname)" implementation. That is needlessly
//expensive.
//A DirEntry is a bit big (72B), so keeping the "by ref" signature is desirable.
void rmdirRecurse(DirEntry de)
{
rmdirRecurse(de);
}
version(Windows) @system unittest
{
import std.exception : enforce;
auto d = deleteme ~ r".dir\a\b\c\d\e\f\g";
mkdirRecurse(d);
rmdirRecurse(deleteme ~ ".dir");
enforce(!exists(deleteme ~ ".dir"));
}
version(Posix) @system unittest
{
import std.exception : enforce, collectException;
import std.process : executeShell;
collectException(rmdirRecurse(deleteme));
auto d = deleteme~"/a/b/c/d/e/f/g";
enforce(collectException(mkdir(d)));
mkdirRecurse(d);
core.sys.posix.unistd.symlink((deleteme~"/a/b/c\0").ptr,
(deleteme~"/link\0").ptr);
rmdirRecurse(deleteme~"/link");
enforce(exists(d));
rmdirRecurse(deleteme);
enforce(!exists(deleteme));
d = deleteme~"/a/b/c/d/e/f/g";
mkdirRecurse(d);
version(Android) string link_cmd = "ln -s ";
else string link_cmd = "ln -sf ";
executeShell(link_cmd~deleteme~"/a/b/c "~deleteme~"/link");
rmdirRecurse(deleteme);
enforce(!exists(deleteme));
}
@system unittest
{
void[] buf;
buf = new void[10];
(cast(byte[]) buf)[] = 3;
string unit_file = deleteme ~ "-unittest_write.tmp";
if (exists(unit_file)) remove(unit_file);
write(unit_file, buf);
void[] buf2 = read(unit_file);
assert(buf == buf2);
string unit2_file = deleteme ~ "-unittest_write2.tmp";
copy(unit_file, unit2_file);
buf2 = read(unit2_file);
assert(buf == buf2);
remove(unit_file);
assert(!exists(unit_file));
remove(unit2_file);
assert(!exists(unit2_file));
}
/**
* Dictates directory spanning policy for $(D_PARAM dirEntries) (see below).
*/
enum SpanMode
{
/** Only spans one directory. */
shallow,
/** Spans the directory in
$(HTTPS en.wikipedia.org/wiki/Tree_traversal#Post-order,
_depth-first $(B post)-order), i.e. the content of any
subdirectory is spanned before that subdirectory itself. Useful
e.g. when recursively deleting files. */
depth,
/** Spans the directory in
$(HTTPS en.wikipedia.org/wiki/Tree_traversal#Pre-order, depth-first
$(B pre)-order), i.e. the content of any subdirectory is spanned
right after that subdirectory itself.
Note that $(D SpanMode.breadth) will not result in all directory
members occurring before any subdirectory members, i.e. it is not
_true
$(HTTPS en.wikipedia.org/wiki/Tree_traversal#Breadth-first_search,
_breadth-first traversal).
*/
breadth,
}
private struct DirIteratorImpl
{
@safe:
SpanMode _mode;
// Whether we should follow symlinked directories while iterating.
// It also indicates whether we should avoid functions which call
// stat (since we should only need lstat in this case and it would
// be more efficient to not call stat in addition to lstat).
bool _followSymlink;
DirEntry _cur;
DirHandle[] _stack;
DirEntry[] _stashed; //used in depth first mode
//stack helpers
void pushExtra(DirEntry de)
{
_stashed ~= de;
}
//ditto
bool hasExtra()
{
return _stashed.length != 0;
}
//ditto
DirEntry popExtra()
{
DirEntry de;
de = _stashed[$-1];
_stashed.popBack();
return de;
}
version(Windows)
{
WIN32_FIND_DATAW _findinfo;
struct DirHandle
{
string dirpath;
HANDLE h;
}
bool stepIn(string directory) @safe
{
import std.path : chainPath;
auto searchPattern = chainPath(directory, "*.*");
static auto trustedFindFirstFileW(typeof(searchPattern) pattern, WIN32_FIND_DATAW* findinfo) @trusted
{
return FindFirstFileW(pattern.tempCString!FSChar(), findinfo);
}
HANDLE h = trustedFindFirstFileW(searchPattern, &_findinfo);
cenforce(h != INVALID_HANDLE_VALUE, directory);
_stack ~= DirHandle(directory, h);
return toNext(false, &_findinfo);
}
bool next()
{
if (_stack.length == 0)
return false;
return toNext(true, &_findinfo);
}
bool toNext(bool fetch, WIN32_FIND_DATAW* findinfo) @trusted
{
import core.stdc.wchar_ : wcscmp;
if (fetch)
{
if (FindNextFileW(_stack[$-1].h, findinfo) == FALSE)
{
popDirStack();
return false;
}
}
while (wcscmp(&findinfo.cFileName[0], ".") == 0 ||
wcscmp(&findinfo.cFileName[0], "..") == 0)
if (FindNextFileW(_stack[$-1].h, findinfo) == FALSE)
{
popDirStack();
return false;
}
_cur = DirEntry(_stack[$-1].dirpath, findinfo);
return true;
}
void popDirStack() @trusted
{
assert(_stack.length != 0);
FindClose(_stack[$-1].h);
_stack.popBack();
}
void releaseDirStack() @trusted
{
foreach (d; _stack)
FindClose(d.h);
}
bool mayStepIn()
{
return _followSymlink ? _cur.isDir : _cur.isDir && !_cur.isSymlink;
}
}
else version(Posix)
{
struct DirHandle
{
string dirpath;
DIR* h;
}
bool stepIn(string directory)
{
static auto trustedOpendir(string dir) @trusted
{
return opendir(dir.tempCString());
}
auto h = directory.length ? trustedOpendir(directory) : trustedOpendir(".");
cenforce(h, directory);
_stack ~= (DirHandle(directory, h));
return next();
}
bool next() @trusted
{
if (_stack.length == 0)
return false;
for (dirent* fdata; (fdata = readdir(_stack[$-1].h)) != null; )
{
// Skip "." and ".."
if (core.stdc.string.strcmp(&fdata.d_name[0], ".") &&
core.stdc.string.strcmp(&fdata.d_name[0], ".."))
{
_cur = DirEntry(_stack[$-1].dirpath, fdata);
return true;
}
}
popDirStack();
return false;
}
void popDirStack() @trusted
{
assert(_stack.length != 0);
closedir(_stack[$-1].h);
_stack.popBack();
}
void releaseDirStack() @trusted
{
foreach (d; _stack)
closedir(d.h);
}
bool mayStepIn()
{
return _followSymlink ? _cur.isDir : attrIsDir(_cur.linkAttributes);
}
}
this(R)(R pathname, SpanMode mode, bool followSymlink)
if (isInputRange!R && isSomeChar!(ElementEncodingType!R))
{
_mode = mode;
_followSymlink = followSymlink;
static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char))
alias pathnameStr = pathname;
else
{
import std.array : array;
string pathnameStr = pathname.array;
}
if (stepIn(pathnameStr))
{
if (_mode == SpanMode.depth)
while (mayStepIn())
{
auto thisDir = _cur;
if (stepIn(_cur.name))
{
pushExtra(thisDir);
}
else
break;
}
}
}
@property bool empty()
{
return _stashed.length == 0 && _stack.length == 0;
}
@property DirEntry front()
{
return _cur;
}
void popFront()
{
switch (_mode)
{
case SpanMode.depth:
if (next())
{
while (mayStepIn())
{
auto thisDir = _cur;
if (stepIn(_cur.name))
{
pushExtra(thisDir);
}
else
break;
}
}
else if (hasExtra())
_cur = popExtra();
break;
case SpanMode.breadth:
if (mayStepIn())
{
if (!stepIn(_cur.name))
while (!empty && !next()){}
}
else
while (!empty && !next()){}
break;
default:
next();
}
}
~this()
{
releaseDirStack();
}
}
struct DirIterator
{
@safe:
private:
RefCounted!(DirIteratorImpl, RefCountedAutoInitialize.no) impl = void;
this(string pathname, SpanMode mode, bool followSymlink) @trusted
{
impl = typeof(impl)(pathname, mode, followSymlink);
}
public:
@property bool empty() { return impl.empty; }
@property DirEntry front() { return impl.front; }
void popFront() { impl.popFront(); }
}
/++
Returns an input range of $(D DirEntry) that lazily iterates a given directory,
also provides two ways of foreach iteration. The iteration variable can be of
type $(D string) if only the name is needed, or $(D DirEntry)
if additional details are needed. The span _mode dictates how the
directory is traversed. The name of each iterated directory entry
contains the absolute _path.
Params:
path = The directory to iterate over.
If empty, the current directory will be iterated.
pattern = Optional string with wildcards, such as $(RED
"*.d"). When present, it is used to filter the
results by their file name. The supported wildcard
strings are described under $(REF globMatch,
std,_path).
mode = Whether the directory's sub-directories should be
iterated in depth-first port-order ($(LREF depth)),
depth-first pre-order ($(LREF breadth)), or not at all
($(LREF shallow)).
followSymlink = Whether symbolic links which point to directories
should be treated as directories and their contents
iterated over.
Throws:
$(D FileException) if the directory does not exist.
Example:
--------------------
// Iterate a directory in depth
foreach (string name; dirEntries("destroy/me", SpanMode.depth))
{
remove(name);
}
// Iterate the current directory in breadth
foreach (string name; dirEntries("", SpanMode.breadth))
{
writeln(name);
}
// Iterate a directory and get detailed info about it
foreach (DirEntry e; dirEntries("dmd-testing", SpanMode.breadth))
{
writeln(e.name, "\t", e.size);
}
// Iterate over all *.d files in current directory and all its subdirectories
auto dFiles = dirEntries("", SpanMode.depth).filter!(f => f.name.endsWith(".d"));
foreach (d; dFiles)
writeln(d.name);
// Hook it up with std.parallelism to compile them all in parallel:
foreach (d; parallel(dFiles, 1)) //passes by 1 file to each thread
{
string cmd = "dmd -c " ~ d.name;
writeln(cmd);
std.process.system(cmd);
}
// Iterate over all D source files in current directory and all its
// subdirectories
auto dFiles = dirEntries("","*.{d,di}",SpanMode.depth);
foreach (d; dFiles)
writeln(d.name);
--------------------
+/
auto dirEntries(string path, SpanMode mode, bool followSymlink = true)
{
return DirIterator(path, mode, followSymlink);
}
/// Duplicate functionality of D1's $(D std.file.listdir()):
@safe unittest
{
string[] listdir(string pathname)
{
import std.algorithm;
import std.array;
import std.file;
import std.path;
return std.file.dirEntries(pathname, SpanMode.shallow)
.filter!(a => a.isFile)
.map!(a => std.path.baseName(a.name))
.array;
}
void main(string[] args)
{
import std.stdio;
string[] files = listdir(args[1]);
writefln("%s", files);
}
}
@system unittest
{
import std.algorithm.comparison : equal;
import std.algorithm.iteration : map;
import std.algorithm.searching : startsWith;
import std.array : array;
import std.conv : to;
import std.path : dirEntries, buildPath, absolutePath;
import std.process : thisProcessID;
import std.range.primitives : walkLength;
version(Android)
string testdir = deleteme; // This has to be an absolute path when
// called from a shared library on Android,
// ie an apk
else
string testdir = "deleteme.dmd.unittest.std.file" ~ to!string(thisProcessID); // needs to be relative
mkdirRecurse(buildPath(testdir, "somedir"));
scope(exit) rmdirRecurse(testdir);
write(buildPath(testdir, "somefile"), null);
write(buildPath(testdir, "somedir", "somedeepfile"), null);
// testing range interface
size_t equalEntries(string relpath, SpanMode mode)
{
import std.exception : enforce;
auto len = enforce(walkLength(dirEntries(absolutePath(relpath), mode)));
assert(walkLength(dirEntries(relpath, mode)) == len);
assert(equal(
map!(a => absolutePath(a.name))(dirEntries(relpath, mode)),
map!(a => a.name)(dirEntries(absolutePath(relpath), mode))));
return len;
}
assert(equalEntries(testdir, SpanMode.shallow) == 2);
assert(equalEntries(testdir, SpanMode.depth) == 3);
assert(equalEntries(testdir, SpanMode.breadth) == 3);
// testing opApply
foreach (string name; dirEntries(testdir, SpanMode.breadth))
{
//writeln(name);
assert(name.startsWith(testdir));
}
foreach (DirEntry e; dirEntries(absolutePath(testdir), SpanMode.breadth))
{
//writeln(name);
assert(e.isFile || e.isDir, e.name);
}
//issue 7264
foreach (string name; dirEntries(testdir, "*.d", SpanMode.breadth))
{
}
foreach (entry; dirEntries(testdir, SpanMode.breadth))
{
static assert(is(typeof(entry) == DirEntry));
}
//issue 7138
auto a = array(dirEntries(testdir, SpanMode.shallow));
// issue 11392
auto dFiles = dirEntries(testdir, SpanMode.shallow);
foreach (d; dFiles){}
// issue 15146
dirEntries("", SpanMode.shallow).walkLength();
}
/// Ditto
auto dirEntries(string path, string pattern, SpanMode mode,
bool followSymlink = true)
{
import std.algorithm.iteration : filter;
import std.path : globMatch, baseName;
bool f(DirEntry de) { return globMatch(baseName(de.name), pattern); }
return filter!f(DirIterator(path, mode, followSymlink));
}
@system unittest
{
import std.stdio : writefln;
immutable dpath = deleteme ~ "_dir";
immutable fpath = deleteme ~ "_file";
immutable sdpath = deleteme ~ "_sdir";
immutable sfpath = deleteme ~ "_sfile";
scope(exit)
{
if (dpath.exists) rmdirRecurse(dpath);
if (fpath.exists) remove(fpath);
if (sdpath.exists) remove(sdpath);
if (sfpath.exists) remove(sfpath);
}
mkdir(dpath);
write(fpath, "hello world");
version (Posix)
{
core.sys.posix.unistd.symlink((dpath ~ '\0').ptr, (sdpath ~ '\0').ptr);
core.sys.posix.unistd.symlink((fpath ~ '\0').ptr, (sfpath ~ '\0').ptr);
}
static struct Flags { bool dir, file, link; }
auto tests = [dpath : Flags(true), fpath : Flags(false, true)];
version (Posix)
{
tests[sdpath] = Flags(true, false, true);
tests[sfpath] = Flags(false, true, true);
}
auto past = Clock.currTime() - 2.seconds;
auto future = past + 4.seconds;
foreach (path, flags; tests)
{
auto de = DirEntry(path);
assert(de.name == path);
assert(de.isDir == flags.dir);
assert(de.isFile == flags.file);
assert(de.isSymlink == flags.link);
assert(de.isDir == path.isDir);
assert(de.isFile == path.isFile);
assert(de.isSymlink == path.isSymlink);
assert(de.size == path.getSize());
assert(de.attributes == getAttributes(path));
assert(de.linkAttributes == getLinkAttributes(path));
scope(failure) writefln("[%s] [%s] [%s] [%s]", past, de.timeLastAccessed, de.timeLastModified, future);
assert(de.timeLastAccessed > past);
assert(de.timeLastAccessed < future);
assert(de.timeLastModified > past);
assert(de.timeLastModified < future);
assert(attrIsDir(de.attributes) == flags.dir);
assert(attrIsDir(de.linkAttributes) == (flags.dir && !flags.link));
assert(attrIsFile(de.attributes) == flags.file);
assert(attrIsFile(de.linkAttributes) == (flags.file && !flags.link));
assert(!attrIsSymlink(de.attributes));
assert(attrIsSymlink(de.linkAttributes) == flags.link);
version(Windows)
{
assert(de.timeCreated > past);
assert(de.timeCreated < future);
}
else version(Posix)
{
assert(de.timeStatusChanged > past);
assert(de.timeStatusChanged < future);
assert(de.attributes == de.statBuf.st_mode);
}
}
}
/**
* Reads a file line by line and parses the line into a single value or a
* $(REF Tuple, std,typecons) of values depending on the length of `Types`.
* The lines are parsed using the specified format string. The format string is
* passed to $(REF formattedRead, std,_format), and therefore must conform to the
* _format string specification outlined in $(MREF std, _format).
*
* Params:
* Types = the types that each of the elements in the line should be returned as
* filename = the name of the file to read
* format = the _format string to use when reading
*
* Returns:
* If only one type is passed, then an array of that type. Otherwise, an
* array of $(REF Tuple, std,typecons)s.
*
* Throws:
* `Exception` if the format string is malformed. Also, throws `Exception`
* if any of the lines in the file are not fully consumed by the call
* to $(REF formattedRead, std,_format). Meaning that no empty lines or lines
* with extra characters are allowed.
*/
Select!(Types.length == 1, Types[0][], Tuple!(Types)[])
slurp(Types...)(string filename, in char[] format)
{
import std.array : appender;
import std.conv : text;
import std.exception : enforce;
import std.format : formattedRead;
import std.stdio : File;
auto app = appender!(typeof(return))();
ElementType!(typeof(return)) toAdd;
auto f = File(filename);
scope(exit) f.close();
foreach (line; f.byLine())
{
formattedRead(line, format, &toAdd);
enforce(line.empty,
text("Trailing characters at the end of line: `", line,
"'"));
app.put(toAdd);
}
return app.data;
}
///
@system unittest
{
import std.typecons : tuple;
scope(exit)
{
assert(exists(deleteme));
remove(deleteme);
}
write(deleteme, "12 12.25\n345 1.125"); // deleteme is the name of a temporary file
// Load file; each line is an int followed by comma, whitespace and a
// double.
auto a = slurp!(int, double)(deleteme, "%s %s");
assert(a.length == 2);
assert(a[0] == tuple(12, 12.25));
assert(a[1] == tuple(345, 1.125));
}
/**
Returns the path to a directory for temporary files.
On Windows, this function returns the result of calling the Windows API function
$(LINK2 http://msdn.microsoft.com/en-us/library/windows/desktop/aa364992.aspx, $(D GetTempPath)).
On POSIX platforms, it searches through the following list of directories
and returns the first one which is found to exist:
$(OL
$(LI The directory given by the $(D TMPDIR) environment variable.)
$(LI The directory given by the $(D TEMP) environment variable.)
$(LI The directory given by the $(D TMP) environment variable.)
$(LI $(D /tmp))
$(LI $(D /var/tmp))
$(LI $(D /usr/tmp))
)
On all platforms, $(D tempDir) returns $(D ".") on failure, representing
the current working directory.
The return value of the function is cached, so the procedures described
above will only be performed the first time the function is called. All
subsequent runs will return the same string, regardless of whether
environment variables and directory structures have changed in the
meantime.
The POSIX $(D tempDir) algorithm is inspired by Python's
$(LINK2 http://docs.python.org/library/tempfile.html#tempfile.tempdir, $(D tempfile.tempdir)).
*/
string tempDir() @trusted
{
static string cache;
if (cache is null)
{
version(Windows)
{
import std.conv : to;
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.85).aspx
wchar[MAX_PATH + 2] buf;
DWORD len = GetTempPathW(buf.length, buf.ptr);
if (len) cache = buf[0 .. len].to!string;
}
else version(Android)
{
// Don't check for a global temporary directory as
// Android doesn't have one.
}
else version(Posix)
{
import std.process : environment;
// This function looks through the list of alternative directories
// and returns the first one which exists and is a directory.
static string findExistingDir(T...)(lazy T alternatives)
{
foreach (dir; alternatives)
if (!dir.empty && exists(dir)) return dir;
return null;
}
cache = findExistingDir(environment.get("TMPDIR"),
environment.get("TEMP"),
environment.get("TMP"),
"/tmp",
"/var/tmp",
"/usr/tmp");
}
else static assert(false, "Unsupported platform");
if (cache is null) cache = getcwd();
}
return cache;
}
|
D
|
module lib.llvm.c.Support;
import lib.llvm.c.Core;
extern (C):
LLVMBool LLVMLoadLibraryPermanently(const(char)* Filename);
void LLVMParseCommandLineOptions(int argc, const(char*)* argv, const(char)* Overview);
void* LLVMSearchForAddressOfSymbol(const(char)* symbolName);
void LLVMAddSymbol(const(char)* symbolName, void* symbolValue);
|
D
|
/Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ElementAt.o : /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Amb.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AnonymousObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Buffer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Cancelable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Catch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Concat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ConnectableObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debunce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Deferred.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Delay.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DelaySubscription.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DistinctUntilChanged.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Do.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ElementAt.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Empty.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Error.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Errors.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Event.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Filter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Generate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Just.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Map.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Merge.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Multicast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Never.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Aggregate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Binding.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Concurrency.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Creation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Multiple.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Single.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+StandardSequenceOperators.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Time.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOnSerialDispatchQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObserverType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Linux.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Producer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Range.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Reactive.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Reduce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RefCount.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Repeat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RetryWhen.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sample.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Scan.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1WhileConnected.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SingleAsync.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Skip.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/StartWith.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SubscribeOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Switch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Take.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeLast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Throttle.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timeout.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ToArray.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Using.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Window.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/WithLatestFrom.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a18968/Develop/RxSwiftSampler/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ElementAt~partial.swiftmodule : /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Amb.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AnonymousObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Buffer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Cancelable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Catch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Concat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ConnectableObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debunce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Deferred.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Delay.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DelaySubscription.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DistinctUntilChanged.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Do.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ElementAt.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Empty.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Error.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Errors.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Event.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Filter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Generate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Just.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Map.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Merge.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Multicast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Never.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Aggregate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Binding.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Concurrency.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Creation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Multiple.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Single.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+StandardSequenceOperators.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Time.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOnSerialDispatchQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObserverType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Linux.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Producer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Range.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Reactive.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Reduce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RefCount.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Repeat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RetryWhen.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sample.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Scan.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1WhileConnected.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SingleAsync.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Skip.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/StartWith.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SubscribeOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Switch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Take.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeLast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Throttle.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timeout.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ToArray.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Using.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Window.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/WithLatestFrom.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a18968/Develop/RxSwiftSampler/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ElementAt~partial.swiftdoc : /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Amb.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AnonymousObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Buffer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Cancelable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Catch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Concat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ConnectableObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debunce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Deferred.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Delay.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DelaySubscription.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DistinctUntilChanged.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Do.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ElementAt.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Empty.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Error.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Errors.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Event.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Filter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Generate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Just.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Map.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Merge.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Multicast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Never.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Aggregate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Binding.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Concurrency.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Creation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Multiple.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Single.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+StandardSequenceOperators.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Time.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOnSerialDispatchQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObserverType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Linux.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Producer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Range.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Reactive.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Reduce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RefCount.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Repeat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RetryWhen.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sample.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Scan.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1WhileConnected.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SingleAsync.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Skip.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/StartWith.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SubscribeOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Switch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Take.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeLast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Throttle.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timeout.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ToArray.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Using.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Window.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/WithLatestFrom.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a18968/Develop/RxSwiftSampler/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
|
D
|
INSTANCE Mod_7065_DMR_Daemonenritter_MT (Npc_Default)
{
// ------ NSC ------
name = "Dämonenritter";
guild = GIL_STRF;
id = 7065;
voice = 12;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_STRONG;
// ------ Equippte Waffen ------
EquipItem (self, ItMw_1h_Sld_Sword);
// ------ Inventory ------
B_CreateAmbientInv (self);
CreateInvItems (self, ItMi_DemonArmor, 1);
// ------ visuals ------
B_SetNpcVisual (self, MALE, "Hum_Head_Fighter", 153, BodyTex_B, ITAR_Raven_Addon);
Mdl_SetModelFatness (self, 1);
Mdl_ApplyOverlayMds (self, "Humans_Militia.mds");
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------
B_SetFightSkills (self, 60);
// ------ TA anmelden ------
daily_routine = Rtn_Start_7065;
};
FUNC VOID Rtn_Start_7065()
{
TA_Stand_Guarding (08,00,23,00,"OCC_CHAPEL_ENTRANCE");
TA_Stand_Guarding (23,00,08,00,"OCC_CHAPEL_ENTRANCE");
};
|
D
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
module hunt.shiro.mgt.AuthenticatingSecurityManager;
import hunt.shiro.mgt.RealmSecurityManager;
import hunt.shiro.Exceptions;
import hunt.shiro.authc.AuthenticationInfo;
import hunt.shiro.authc.AuthenticationToken;
import hunt.shiro.authc.Authenticator;
import hunt.shiro.authc.pam.ModularRealmAuthenticator;
import hunt.shiro.util.LifecycleUtils;
import hunt.Exceptions;
/**
* Shiro support of a {@link SecurityManager} class hierarchy that delegates all
* authentication operations to a wrapped {@link Authenticator Authenticator} instance. That is, this class
* implements all the <tt>Authenticator</tt> methods in the {@link SecurityManager SecurityManager}
* interface, but in reality, those methods are merely passthrough calls to the underlying 'real'
* <tt>Authenticator</tt> instance.
*
* <p>All other <tt>SecurityManager</tt> (authorization, session, etc) methods are left to be implemented by subclasses.
*
* <p>In keeping with the other classes in this hierarchy and Shiro's desire to minimize configuration whenever
* possible, suitable default instances for all dependencies are created upon instantiation.
*
*/
abstract class AuthenticatingSecurityManager : RealmSecurityManager {
/**
* The internal <code>Authenticator</code> delegate instance that this SecurityManager instance will use
* to perform all authentication operations.
*/
private Authenticator authenticator;
/**
* Default no-arg constructor that initializes its internal
* <code>authenticator</code> instance to a
* {@link hunt.shiro.authc.pam.ModularRealmAuthenticator ModularRealmAuthenticator}.
*/
this() {
super();
this.authenticator = new ModularRealmAuthenticator();
}
/**
* Returns the delegate <code>Authenticator</code> instance that this SecurityManager uses to perform all
* authentication operations. Unless overridden by the
* {@link #setAuthenticator(hunt.shiro.authc.Authenticator) setAuthenticator}, the default instance is a
* {@link hunt.shiro.authc.pam.ModularRealmAuthenticator ModularRealmAuthenticator}.
*
* @return the delegate <code>Authenticator</code> instance that this SecurityManager uses to perform all
* authentication operations.
*/
Authenticator getAuthenticator() {
return authenticator;
}
/**
* Sets the delegate <code>Authenticator</code> instance that this SecurityManager uses to perform all
* authentication operations. Unless overridden by this method, the default instance is a
* {@link hunt.shiro.authc.pam.ModularRealmAuthenticator ModularRealmAuthenticator}.
*
* @param authenticator the delegate <code>Authenticator</code> instance that this SecurityManager will use to
* perform all authentication operations.
* @throws IllegalArgumentException if the argument is <code>null</code>.
*/
void setAuthenticator(Authenticator authenticator){
if (authenticator is null) {
string msg = "Authenticator argument cannot be null.";
throw new IllegalArgumentException(msg);
}
this.authenticator = authenticator;
}
/**
* Passes on the {@link #getRealms() realms} to the internal delegate <code>Authenticator</code> instance so
* that it may use them during authentication attempts.
*/
override protected void afterRealmsSet() {
super.afterRealmsSet();
ModularRealmAuthenticator authenticatorCast = cast(ModularRealmAuthenticator) this.authenticator;
if (authenticatorCast !is null) {
authenticatorCast.setRealms(getRealms());
}
}
/**
* Delegates to the wrapped {@link hunt.shiro.authc.Authenticator Authenticator} for authentication.
*/
AuthenticationInfo authenticate(AuthenticationToken token){
return this.authenticator.authenticate(token);
}
override void destroy() {
LifecycleUtils.destroy(cast(Object)getAuthenticator());
this.authenticator = null;
super.destroy();
}
}
|
D
|
// URL: https://yukicoder.me/problems/no/677
import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string;
version(unittest) {} else
void main()
{
int N; io.getV(N);
long[] f;
foreach (i; 0..N+1)
foreach (j; 0..N+1)
f ~= 2L^^i * 5L^^j;
f.sort;
foreach (fi; f) io.put(fi);
}
auto io = IO!()();
import lib.io;
|
D
|
///* Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
// * distributed under the License is distributed on an "AS IS" BASIS,
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// * See the License for the specific language governing permissions and
// * limitations under the License.
// */
//
//
//
//import flow.engine.compatibility.Flowable5CompatibilityHandler;
//
//class Flowable5CompatibilityContext {
//
// // Fallback handler is only set by the v5 CommandContextInterceptor
// protected static ThreadLocal!Flowable5CompatibilityHandler fallbackFlowable5CompatibilityHandlerThreadLocal = new ThreadLocal<>();
//
// public static Flowable5CompatibilityHandler getFallbackFlowable5CompatibilityHandler() {
// return fallbackFlowable5CompatibilityHandlerThreadLocal.get();
// }
//
// public static void setFallbackFlowable5CompatibilityHandler(Flowable5CompatibilityHandler flowable5CompatibilityHandler) {
// fallbackFlowable5CompatibilityHandlerThreadLocal.set(flowable5CompatibilityHandler);
// }
//
// public static void removeFallbackFlowable5CompatibilityHandler() {
// fallbackFlowable5CompatibilityHandlerThreadLocal.remove();
// }
//
//}
|
D
|
# FIXED
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.c
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stdint.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/_ti_config.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/linkage.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/_stdint40.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/stdint.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/cdefs.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/_types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/machine/_types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/machine/_stdint.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/_stdint.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/std.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stdarg.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stddef.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/targets/arm/elf/std.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/targets/arm/elf/M3.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/targets/std.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/xdc.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types__prologue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/package/package.defs.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types__epilogue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/package/package.defs.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags__prologue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IHeap.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error__prologue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error__epilogue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Memory.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IHeap.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/package/Memory_HeapProxy.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IHeap.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/package/Main_Module_GateProxy.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags__epilogue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Log.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Log__prologue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Text.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Log__epilogue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Assert.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Assert__prologue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Assert__epilogue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/BIOS.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/package/package.defs.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/interfaces/IHwi.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/Power.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stdbool.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/utils/List.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/power/PowerCC26XX.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/dpl/HwiP.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/dpl/ClockP.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/trng.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_types.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_chip_def.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_trng.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_memmap.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_ints.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/debug.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/interrupt.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_nvic.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/cpu.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_cpu_scs.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/rom.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.h
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.c:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stdint.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/_ti_config.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/linkage.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/_stdint40.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/stdint.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/cdefs.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/_types.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/machine/_types.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/machine/_stdint.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/sys/_stdint.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/std.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stdarg.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stddef.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/targets/arm/elf/std.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/targets/arm/elf/M3.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/targets/std.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/xdc.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types__prologue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/package/package.defs.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types__epilogue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__prologue.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/package/package.defs.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags__prologue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IHeap.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error__prologue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error__epilogue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Memory.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IHeap.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/package/Memory_HeapProxy.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IHeap.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/package/Main_Module_GateProxy.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags__epilogue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Log.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Log__prologue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Text.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Log__epilogue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Assert.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Assert__prologue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Main.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Diags.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Assert__epilogue.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/BIOS.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/BIOS__prologue.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/package/package.defs.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/package/BIOS_RtsGateProxy.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IGateProvider.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/BIOS__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/interfaces/IHwi.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Types.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IInstance.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/interfaces/package/package.defs.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/Error.h:
C:/ti/ccs1030/xdctools_3_62_00_08_core/packages/xdc/runtime/IModule.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/kernel/tirtos/packages/ti/sysbios/family/arm/m3/Hwi__epilogue.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/Power.h:
C:/ti/ccs1030/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include/stdbool.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/utils/List.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/power/PowerCC26XX.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/dpl/HwiP.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/drivers/dpl/ClockP.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/trng.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_types.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_chip_def.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_trng.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_memmap.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_ints.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/debug.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/interrupt.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_nvic.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/cpu.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/inc/hw_cpu_scs.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/devices/cc26x0r2/driverlib/rom.h:
C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.h:
|
D
|
module tinymt32;
/**
* @file tinymt32.h
*
* @brief Tiny Mersenne Twister only 127 bit internal state
*
* @author Mutsuo Saito (Hiroshima University)
* @author Makoto Matsumoto (University of Tokyo)
*
* Copyright (C) 2011 Mutsuo Saito, Makoto Matsumoto,
* Hiroshima University and The University of Tokyo.
* All rights reserved.
*
* The 3-clause BSD License is applied to this software, see
* LICENSE.txt
*/
uint UINT32_C(T)(T a)
{
return cast(uint)a;
}
const TINYMT32_MEXP = 127;
const TINYMT32_SH0 = 1;
const TINYMT32_SH1 = 10;
const TINYMT32_SH8 = 8;
const TINYMT32_MASK = UINT32_C(0x7fffffff);
const TINYMT32_MUL = (1.0f / 16777216.0f);
/**
* tinymt32 internal state vector and parameters
*/
struct tinymt32_t {
uint32_t[4] status;
uint32_t mat1;
uint32_t mat2;
uint32_t tmat;
}
/**
* This function always returns 127
* @param random not used
* @return always 127
*/
static int tinymt32_get_mexp(tinymt32_t * random) {
return TINYMT32_MEXP;
}
/**
* This function changes internal state of tinymt32.
* Users should not call this function directly.
* @param random tinymt internal status
*/
static void tinymt32_next_state(tinymt32_t * random) {
uint32_t x;
uint32_t y;
y = random.status[3];
x = (random.status[0] & TINYMT32_MASK)
^ random.status[1]
^ random.status[2];
x ^= (x << TINYMT32_SH0);
y ^= (y >> TINYMT32_SH0) ^ x;
random.status[0] = random.status[1];
random.status[1] = random.status[2];
random.status[2] = x ^ (y << TINYMT32_SH1);
random.status[3] = y;
random.status[1] ^= -(cast(int32_t)(y & 1)) & random.mat1;
random.status[2] ^= -(cast(int32_t)(y & 1)) & random.mat2;
}
/**
* This function outputs 32-bit unsigned integer from internal state.
* Users should not call this function directly.
* @param random tinymt internal status
* @return 32-bit unsigned pseudorandom number
*/
static uint32_t tinymt32_temper(tinymt32_t * random) {
uint32_t t0, t1;
t0 = random.status[3];
version(LINEARITY_CHECK)
{
t1 = random.status[0]
^ (random.status[2] >> TINYMT32_SH8);
}
else
{
t1 = random.status[0]
+ (random.status[2] >> TINYMT32_SH8);
}
t0 ^= t1;
t0 ^= -(cast(int32_t)(t1 & 1)) & random.tmat;
return t0;
}
/**
* This function outputs floating point number from internal state.
* Users should not call this function directly.
* @param random tinymt internal status
* @return floating point number r (1.0 <= r < 2.0)
*/
static float tinymt32_temper_conv(tinymt32_t * random) {
uint32_t t0, t1;
union Conv
{
uint32_t u;
float f;
}
Conv conv;
t0 = random.status[3];
version(LINEARITY_CHECK)
t1 = random.status[0]
^ (random.status[2] >> TINYMT32_SH8);
else
t1 = random.status[0]
+ (random.status[2] >> TINYMT32_SH8);
t0 ^= t1;
conv.u = ((t0 ^ (-(cast(int32_t)(t1 & 1)) & random.tmat)) >> 9)
| UINT32_C(0x3f800000);
return conv.f;
}
/**
* This function outputs floating point number from internal state.
* Users should not call this function directly.
* @param random tinymt internal status
* @return floating point number r (1.0 < r < 2.0)
*/
static float tinymt32_temper_conv_open(tinymt32_t * random) {
uint32_t t0, t1;
union Conv
{
uint32_t u;
float f;
}
Conv conv;
t0 = random.status[3];
version(LINEARITY_CHECK)
t1 = random.status[0]
^ (random.status[2] >> TINYMT32_SH8);
else
t1 = random.status[0]
+ (random.status[2] >> TINYMT32_SH8);
t0 ^= t1;
conv.u = ((t0 ^ (-(cast(int32_t)(t1 & 1)) & random.tmat)) >> 9)
| UINT32_C(0x3f800001);
return conv.f;
}
/**
* This function outputs 32-bit unsigned integer from internal state.
* @param random tinymt internal status
* @return 32-bit unsigned integer r (0 <= r < 2^32)
*/
static uint32_t tinymt32_generate_uint32(tinymt32_t * random) {
tinymt32_next_state(random);
return tinymt32_temper(random);
}
/**
* This function outputs floating point number from internal state.
* This function is implemented using multiplying by (1 / 2^24).
* floating point multiplication is faster than using union trick in
* my Intel CPU.
* @param random tinymt internal status
* @return floating point number r (0.0 <= r < 1.0)
*/
static float tinymt32_generate_float(tinymt32_t * random) {
tinymt32_next_state(random);
return (tinymt32_temper(random) >> 8) * TINYMT32_MUL;
}
/**
* This function outputs floating point number from internal state.
* This function is implemented using union trick.
* @param random tinymt internal status
* @return floating point number r (1.0 <= r < 2.0)
*/
static float tinymt32_generate_float12(tinymt32_t * random) {
tinymt32_next_state(random);
return tinymt32_temper_conv(random);
}
/**
* This function outputs floating point number from internal state.
* This function is implemented using union trick.
* @param random tinymt internal status
* @return floating point number r (0.0 <= r < 1.0)
*/
static float tinymt32_generate_float01(tinymt32_t * random) {
tinymt32_next_state(random);
return tinymt32_temper_conv(random) - 1.0f;
}
/**
* This function outputs floating point number from internal state.
* This function may return 1.0 and never returns 0.0.
* @param random tinymt internal status
* @return floating point number r (0.0 < r <= 1.0)
*/
static float tinymt32_generate_floatOC(tinymt32_t * random) {
tinymt32_next_state(random);
return 1.0f - tinymt32_generate_float(random);
}
/**
* This function outputs floating point number from internal state.
* This function returns neither 0.0 nor 1.0.
* @param random tinymt internal status
* @return floating point number r (0.0 < r < 1.0)
*/
static float tinymt32_generate_floatOO(tinymt32_t * random) {
tinymt32_next_state(random);
return tinymt32_temper_conv_open(random) - 1.0f;
}
/**
* This function outputs double precision floating point number from
* internal state. The returned value has 32-bit precision.
* In other words, this function makes one double precision floating point
* number from one 32-bit unsigned integer.
* @param random tinymt internal status
* @return floating point number r (0.0 < r <= 1.0)
*/
static double tinymt32_generate_32double(tinymt32_t * random) {
tinymt32_next_state(random);
return tinymt32_temper(random) * (1.0 / 4294967296.0);
}
/**
* @file tinymt32.c
*
* @brief Tiny Mersenne Twister only 127 bit internal state
*
* @author Mutsuo Saito (Hiroshima University)
* @author Makoto Matsumoto (The University of Tokyo)
*
* Copyright (C) 2011 Mutsuo Saito, Makoto Matsumoto,
* Hiroshima University and The University of Tokyo.
* All rights reserved.
*
* The 3-clause BSD License is applied to this software, see
* LICENSE.txt
*/
const MIN_LOOP = 8;
const PRE_LOOP = 8;
alias uint32_t = uint;
alias int32_t = int;
/**
* This function represents a function used in the initialization
* by init_by_array
* @param x 32-bit integer
* @return 32-bit integer
*/
static uint32_t ini_func1(uint32_t x) {
return (x ^ (x >> 27)) * UINT32_C(1664525);
}
/**
* This function represents a function used in the initialization
* by init_by_array
* @param x 32-bit integer
* @return 32-bit integer
*/
static uint32_t ini_func2(uint32_t x) {
return (x ^ (x >> 27)) * UINT32_C(1566083941);
}
/**
* This function certificate the period of 2^127-1.
* @param random tinymt state vector.
*/
static void period_certification(tinymt32_t* random) {
if ((random.status[0] & TINYMT32_MASK) == 0 &&
random.status[1] == 0 &&
random.status[2] == 0 &&
random.status[3] == 0) {
random.status[0] = 'T';
random.status[1] = 'I';
random.status[2] = 'N';
random.status[3] = 'Y';
}
}
/**
* This function initializes the internal state array with a 32-bit
* unsigned integer seed.
* @param random tinymt state vector.
* @param seed a 32-bit unsigned integer used as a seed.
*/
void tinymt32_init(tinymt32_t* random, uint32_t seed) {
random.status[0] = seed;
random.status[1] = random.mat1;
random.status[2] = random.mat2;
random.status[3] = random.tmat;
for (int i = 1; i < MIN_LOOP; i++) {
random.status[i & 3] ^= i + UINT32_C(1812433253)
* (random.status[(i - 1) & 3]
^ (random.status[(i - 1) & 3] >> 30));
}
period_certification(random);
for (int i = 0; i < PRE_LOOP; i++) {
tinymt32_next_state(random);
}
}
/**
* This function initializes the internal state array,
* with an array of 32-bit unsigned integers used as seeds
* @param random tinymt state vector.
* @param init_key the array of 32-bit integers, used as a seed.
* @param key_length the length of init_key.
*/
void tinymt32_init_by_array(tinymt32_t * random, uint32_t[] init_key, int key_length) {
const int lag = 1;
const int mid = 1;
const int size = 4;
int i, j;
int count;
uint32_t r;
uint32_t * st = &random.status[0];
st[0] = 0;
st[1] = random.mat1;
st[2] = random.mat2;
st[3] = random.tmat;
if (key_length + 1 > MIN_LOOP) {
count = key_length + 1;
} else {
count = MIN_LOOP;
}
r = ini_func1(st[0] ^ st[mid % size]
^ st[(size - 1) % size]);
st[mid % size] += r;
r += key_length;
st[(mid + lag) % size] += r;
st[0] = r;
count--;
for (i = 1, j = 0; (j < count) && (j < key_length); j++) {
r = ini_func1(st[i % size]
^ st[(i + mid) % size]
^ st[(i + size - 1) % size]);
st[(i + mid) % size] += r;
r += init_key[j] + i;
st[(i + mid + lag) % size] += r;
st[i % size] = r;
i = (i + 1) % size;
}
for (; j < count; j++) {
r = ini_func1(st[i % size]
^ st[(i + mid) % size]
^ st[(i + size - 1) % size]);
st[(i + mid) % size] += r;
r += i;
st[(i + mid + lag) % size] += r;
st[i % size] = r;
i = (i + 1) % size;
}
for (j = 0; j < size; j++) {
r = ini_func2(st[i % size]
+ st[(i + mid) % size]
+ st[(i + size - 1) % size]);
st[(i + mid) % size] ^= r;
r -= i;
st[(i + mid + lag) % size] ^= r;
st[i % size] = r;
i = (i + 1) % size;
}
period_certification(random);
for (i = 0; i < PRE_LOOP; i++) {
tinymt32_next_state(random);
}
}
|
D
|
instance DIA_LARES_LI_EXIT(C_Info)
{
npc = vlk_449_lares_li;
nr = 999;
condition = dia_lares_li_exit_condition;
information = dia_lares_li_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_lares_li_exit_condition()
{
return TRUE;
};
func void dia_lares_li_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_LARES_LI_TRAINING(C_Info)
{
npc = vlk_449_lares_li;
nr = 10;
condition = dia_lares_li_training_condition;
information = dia_lares_li_training_info;
permanent = TRUE;
description = "Nauč mě něco z tvých schopností.";
};
func int dia_lares_li_training_condition()
{
return TRUE;
};
func void dia_lares_li_training_info()
{
AI_Output(other,self,"DIA_Lares_DI_Training_15_00"); //Nauč mě něco z tvých schopností.
AI_Output(self,other,"DIA_Lares_DI_Training_09_01"); //Žádný problém.
Info_ClearChoices(dia_lares_li_training);
Info_AddChoice(dia_lares_li_training,Dialog_Back,dia_lares_li_training_back);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX1,B_GetLearnCostAttribute(other,ATR_DEXTERITY)),dia_lares_li_training_dex_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX5,B_GetLearnCostAttribute(other,ATR_DEXTERITY) * 5),dia_lares_li_training_dex_5);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h1,B_GetLearnCostTalent(other,NPC_TALENT_1H,1)),dia_lares_li_training_1h_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h5,B_GetLearnCostTalent(other,NPC_TALENT_1H,5)),dia_lares_li_training_1h_5);
};
func void dia_lares_li_training_back()
{
Info_ClearChoices(dia_lares_li_training);
};
func void dia_lares_li_training_1h_1()
{
if(B_TeachFightTalentPercent(self,other,NPC_TALENT_1H,1,100))
{
AI_Output(self,other,"DIA_Lares_DI_Training_1H_1_09_00"); //Musíš trochu ohnout přední nohu a narovnat záda. Tak získáš ten správný postoj.
};
Info_ClearChoices(dia_lares_li_training);
Info_AddChoice(dia_lares_li_training,Dialog_Back,dia_lares_li_training_back);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX1,B_GetLearnCostAttribute(other,ATR_DEXTERITY)),dia_lares_li_training_dex_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX5,B_GetLearnCostAttribute(other,ATR_DEXTERITY) * 5),dia_lares_li_training_dex_5);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h1,B_GetLearnCostTalent(other,NPC_TALENT_1H,1)),dia_lares_li_training_1h_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h5,B_GetLearnCostTalent(other,NPC_TALENT_1H,5)),dia_lares_li_training_1h_5);
};
func void dia_lares_li_training_1h_5()
{
if(B_TeachFightTalentPercent(self,other,NPC_TALENT_1H,5,100))
{
AI_Output(self,other,"DIA_Lares_DI_Training_1H_5_09_00"); //Zůstaň pružný v kyčlích. To ti umožní se vyhnout protiútoku.
};
Info_ClearChoices(dia_lares_li_training);
Info_AddChoice(dia_lares_li_training,Dialog_Back,dia_lares_li_training_back);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX1,B_GetLearnCostAttribute(other,ATR_DEXTERITY)),dia_lares_li_training_dex_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX5,B_GetLearnCostAttribute(other,ATR_DEXTERITY) * 5),dia_lares_li_training_dex_5);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h1,B_GetLearnCostTalent(other,NPC_TALENT_1H,1)),dia_lares_li_training_1h_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h5,B_GetLearnCostTalent(other,NPC_TALENT_1H,5)),dia_lares_li_training_1h_5);
};
func void dia_lares_li_training_dex_1()
{
if(B_TeachAttributePoints(self,other,ATR_DEXTERITY,1,T_MAX))
{
AI_Output(self,other,"DIA_Lares_DI_Training_DEX_1_09_00"); //Tvá horní polovina musí pracovat v souladu se zbytkem těla.
};
Info_ClearChoices(dia_lares_li_training);
Info_AddChoice(dia_lares_li_training,Dialog_Back,dia_lares_li_training_back);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX1,B_GetLearnCostAttribute(other,ATR_DEXTERITY)),dia_lares_li_training_dex_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX5,B_GetLearnCostAttribute(other,ATR_DEXTERITY) * 5),dia_lares_li_training_dex_5);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h1,B_GetLearnCostTalent(other,NPC_TALENT_1H,1)),dia_lares_li_training_1h_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h5,B_GetLearnCostTalent(other,NPC_TALENT_1H,5)),dia_lares_li_training_1h_5);
};
func void dia_lares_li_training_dex_5()
{
if(B_TeachAttributePoints(self,other,ATR_DEXTERITY,5,T_MAX))
{
AI_Output(self,other,"DIA_Lares_DI_Training_DEX_5_09_00"); //Vždycky by sis měl hlídat svůj postoj.
};
Info_ClearChoices(dia_lares_li_training);
Info_AddChoice(dia_lares_li_training,Dialog_Back,dia_lares_li_training_back);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX1,B_GetLearnCostAttribute(other,ATR_DEXTERITY)),dia_lares_li_training_dex_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforskills(PRINT_LearnDEX5,B_GetLearnCostAttribute(other,ATR_DEXTERITY) * 5),dia_lares_li_training_dex_5);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h1,B_GetLearnCostTalent(other,NPC_TALENT_1H,1)),dia_lares_li_training_1h_1);
Info_AddChoice(dia_lares_li_training,b_buildlearnstringforfight(PRINT_Learn1h5,B_GetLearnCostTalent(other,NPC_TALENT_1H,5)),dia_lares_li_training_1h_5);
};
instance DIA_LARES_LI_MISSMYGOLD(C_Info)
{
npc = vlk_449_lares_li;
nr = 2;
condition = dia_lares_li_missmygold_condition;
information = dia_lares_li_missmygold_info;
permanent = FALSE;
description = "Ty náhodou nevíš, kde je moje zlato?";
};
func int dia_lares_li_missmygold_condition()
{
if((BEGINGOLDSEEK == TRUE) && (MIS_MISSMYGOLD == LOG_Running))
{
return TRUE;
};
};
func void dia_lares_li_missmygold_info()
{
AI_Output(other,self,"DIA_Lares_LI_MissMyGold_01_01"); //Ty náhodou nevíš, kde je moje zlato?
AI_Output(self,other,"DIA_Lares_LI_MissMyGold_01_02"); //Ne kámo... (usmívá se) Nic jsem neviděl.
B_LogEntry(TOPIC_MISSMYGOLD,"Lares nic neví nic o zlatě, které se ztratilo z podpalubí lodi...");
};
instance DIA_LARES_LI_FINDMAGICORECAVE(C_Info)
{
npc = vlk_449_lares_li;
nr = 2;
condition = dia_lares_li_findmagicorecave_condition;
information = dia_lares_li_findmagicorecave_info;
permanent = FALSE;
description = "Našel jsem jeskyni s nálezišti magické rudy.";
};
func int dia_lares_li_findmagicorecave_condition()
{
if((MIS_FINDMAGICORECAVE == LOG_Running) && (LIBEFORETESTOK == FALSE) && (LITESTOK == FALSE) && (GOTOORECAPITAN == FALSE))
{
return TRUE;
};
};
func void dia_lares_li_findmagicorecave_info()
{
AI_Output(other,self,"DIA_Lares_LI_FindMagicOreCave_01_01"); //Našel jsem jeskyni s nalezištěm magické rudy.
AI_Output(self,other,"DIA_Lares_LI_FindMagicOreCave_01_02"); //Opravdu?!... (Překvapeně) V tom případě by sis o tom měl promluvit s našim kapitánem.
AI_Output(self,other,"DIA_Lares_LI_FindMagicOreCave_01_03"); //Myslím, že rád uslyší tuto novinku.
GOTOORECAPITAN = TRUE;
};
instance DIA_LARES_LI_CHANGECOURSE(C_Info)
{
npc = vlk_449_lares_li;
nr = 2;
condition = dia_lares_li_changecourse_condition;
information = dia_lares_li_changecourse_info;
permanent = FALSE;
important = TRUE;
};
func int dia_lares_li_changecourse_condition()
{
if(MIS_CHANGECOURSE == LOG_Running)
{
return TRUE;
};
};
func void dia_lares_li_changecourse_info()
{
B_GivePlayerXP(100);
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_00"); //Slyšel jsem, že se chceš vrátit zpět do Khorinisu?
AI_Output(other,self,"DIA_Lares_LI_ChangeCourse_01_01"); //Ano, to je pravda! Právě jsem o tom s tebou chtěl mluvit.
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_02"); //No... (usmívá se) A jestli chceš znát můj názor, tak budu následovat tvé rozhodnutí.
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_05"); //Ve svém životě jsem horko těžko potkal někoho dalšího jako si ty!
AI_Output(other,self,"DIA_Lares_LI_ChangeCourse_01_06"); //Opravdu?! A čím se tak odlišuju od ostatních?!
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_09"); //Ha ha... Někdy jsou tvé činy naprosto nepředvídatelné a nesou v sobě skrytý význam, které mé chápání ne a ne pobrat.
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_10"); //Jindy se mi zdá, že tvá cesta tady je řízena bohy, kteří tě po ní vedou!
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_12"); //Pamatuješ si, když jsem se s tebou setkal poprvé?
AI_Output(other,self,"DIA_Lares_LI_ChangeCourse_01_13"); //Ano, vzpomínám. Stalo se to v Novém táboře...
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_14"); //No, takže (zvážněl) už tehdy jsem podvědomně cítil, že je v tobě něco, co tě odlišuje od ostatních lidí. A měl jsem pravdu!
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_15"); //Nejdrříve jsi zahnal Spáče a spolu s ním zničil magická bariéra. Pak jsi zastavil Ravena, čímž si mu zabránil, aby přiveld temné zlo na tento svět.
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_16"); //A nakonec, téměř bez pomoci, to, co by se zdálo být i nad síly celé armádě paladinů - jsi zničil bytost, ve které byla soustředěna veškerá moc Temného boha!
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_17"); //Neříká tohle všechno samosebou hodně?... (sarkasticky)
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_18"); //A teď tady. Rozhodneš se vrátit zpět na Khorinisu. Upřímně řečeno, nedovedu si představit, jak tohle všechno skončí!
AI_Output(other,self,"DIA_Lares_LI_ChangeCourse_01_21"); //Mám takový pocit, že to zjistím jak dorazím do Khorinisu!
AI_Output(self,other,"DIA_Lares_LI_ChangeCourse_01_22"); //Máš pravdu! Vše je to jen otázka času...
B_LogEntry(TOPIC_CHANGECOURSE,"Laresovi je jedno, jestli se budem plavit zpět na Khorinis nebo poplujem na pevninu.");
CREWAGREEAWAYBACKPAL = CREWAGREEAWAYBACKPAL + 1;
CREWAGREEAWAYBACKPAL = CREWAGREEAWAYBACKSELL + 1;
COUNTPEOPLEDECIDEPRG = COUNTPEOPLEDECIDEPRG + 1;
if(COUNTPEOPLEDECIDEPRG >= COUNTPEOPLEDECIDE)
{
READYCHANGECOURSE = TRUE;
Log_AddEntry(TOPIC_CHANGECOURSE,"Zdá se, že už jsem mluvil se všemi členy posádky. Je čas informovat našeho kapitána.");
};
};
|
D
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.