code
stringlengths
3
10M
language
stringclasses
31 values
the act of drawing or hauling something the quantity that was caught draw slowly or heavily transport in a vehicle
D
/home/liyun/clink/zkp_test/ckb-zkp/target/debug/deps/sha2-30b73a918bf14541.rmeta: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/lib.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/consts.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256_utils.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512_utils.rs /home/liyun/clink/zkp_test/ckb-zkp/target/debug/deps/libsha2-30b73a918bf14541.rlib: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/lib.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/consts.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256_utils.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512_utils.rs /home/liyun/clink/zkp_test/ckb-zkp/target/debug/deps/sha2-30b73a918bf14541.d: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/lib.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/consts.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256_utils.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512_utils.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/lib.rs: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/consts.rs: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256.rs: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha256_utils.rs: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512.rs: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/sha2-0.8.2/src/sha512_utils.rs:
D
instance CS_Eskorte2(Npc_Default) { name[0] = "Eskorta2"; slot = "guard"; guild = GIL_GRD; level = 5; flags = 0; voice = 11; id = 3023; attribute[ATR_STRENGTH] = 13; attribute[ATR_DEXTERITY] = 9; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 26; attribute[ATR_HITPOINTS] = 26; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Militia.MDS"); Mdl_SetVisualBody(self,"hum_body_Naked0",0,1,"Hum_Head_Fighter",18,2,grd_armor_i); B_Scale(self); Mdl_SetModelFatness(self,0); fight_tactic = FAI_HUMAN_Strong; Npc_SetTalentSkill(self,NPC_TALENT_1H,2); Npc_SetTalentSkill(self,NPC_TALENT_1H,2); Npc_SetTalentSkill(self,NPC_TALENT_2H,1); Npc_SetTalentSkill(self,NPC_TALENT_CROSSBOW,1); daily_routine = Rtn_start_3023; }; func void Rtn_start_3023() { TA_Position(0,0,24,0,"WP_INTRO07"); };
D
/* * Derived from Botan's Mlock Allocator * * This is a more advanced base allocator. * * (C) 2012,2014 Jack Lloyd * (C) 2014-2015 Etienne Cimon * (C) 2014,2015 Etienne Cimon * * Distributed under the terms of the Simplified BSD License (see Botan's license.txt) */ module memutils.securepool; import memutils.constants; static if (HasBotan || HasSecurePool): package: import memutils.rbtree; import std.algorithm; import core.sync.mutex; import std.conv : to; import memutils.allocators; import memutils.utils : Malloc; version(Posix) { version(linux) import core.sys.linux.sys.mman; else version(Posix) import core.sys.posix.sys.mman; import core.sys.posix.sys.resource; enum { RLIMIT_MEMLOCK = 8 } version(OSX) enum MAP_LOCKED = 0; enum { MADV_DONTDUMP = 16 } } version(Windows) { @nogc private nothrow pure: import core.sys.windows.windows; enum PROT_READ = 0; enum PROT_WRITE = 0; enum MAP_ANON = 0; enum MAP_SHARED = 0; enum MAP_LOCKED = 0; void* MAP_FAILED = null; extern(Windows) { BOOL VirtualLock(LPVOID lpAddress, SIZE_T dwSize); BOOL VirtualUnlock(LPVOID lpAddress, SIZE_T dwSize); LPVOID VirtualAlloc(LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect); BOOL VirtualFree(LPVOID lpAddress, SIZE_T dwSize, DWORD dwFreeType); BOOL SetProcessWorkingSetSize(HANDLE hProcess, SIZE_T dwMinimumWorkingSetSize, SIZE_T dwMaximumWorkingSetSize); } int mlock(void* ptr, size_t sz) { return cast(int) VirtualLock(cast(LPVOID) ptr, cast(SIZE_T) sz); } int munlock(void* ptr, size_t sz) { return cast(int) VirtualUnlock(cast(LPVOID) ptr, cast(SIZE_T) sz); } private void* mmap(void* ptr, size_t length, int prot, int flags, int fd, size_t offset) { enum MEM_RESERVE = 0x00002000; enum MEM_COMMIT = 0x00001000; enum PAGE_READWRITE = 0x04; return cast(void*) VirtualAlloc(cast(LPVOID) null, cast(SIZE_T) length, cast(DWORD) (MEM_RESERVE | MEM_COMMIT), cast(DWORD) PAGE_READWRITE); } void munmap(void* ptr, size_t sz) { enum MEM_RELEASE = 0x8000; VirtualFree(cast(LPVOID) ptr, cast(SIZE_T) sz, cast(DWORD) MEM_RELEASE); } } final class SecurePool { __gshared immutable size_t alignment = 0x08; public: void[] alloc(size_t n) { synchronized(m_mtx) { if (!m_pool) return null; if (n > m_pool.length || n > SecurePool_MLock_Max) return null; void[]* best_fit_ref; void[] best_fit; size_t i; foreach (ref slot; m_freelist[]) { // If we have a perfect fit, use it immediately if (slot.length == n && (cast(size_t)slot.ptr % alignment) == 0) { m_freelist.remove(slot); assert(cast(size_t)(slot.ptr - m_pool.ptr) % alignment == 0, "Returning correctly aligned pointer"); return slot; } if (slot.length >= (n + padding_for_alignment(cast(size_t)slot.ptr, alignment) ) && ( !best_fit_ref || (best_fit.length > slot.length) ) ) { best_fit_ref = &slot; best_fit = slot; } i++; } if (best_fit_ref) { const size_t alignment_padding = padding_for_alignment(cast(size_t)best_fit.ptr, alignment); // absorb misalignment void[] remainder = (best_fit.ptr + n + alignment_padding)[0 .. best_fit.length - (n + alignment_padding)]; if (remainder.length > 0) { *best_fit_ref = remainder; } else { m_freelist.remove(best_fit); } size_t offset = best_fit.ptr - m_pool.ptr; assert((cast(size_t)(m_pool.ptr) + offset + alignment_padding) % alignment == 0, "Returning correctly aligned pointer"); return (best_fit.ptr + alignment_padding)[0 .. n]; } return null; } } bool has(void[] mem) { synchronized(m_mtx) { if (!m_pool) return false; if (!ptr_in_pool(m_pool, mem.ptr, mem.length)) return false; } return true; } bool free(void[] mem) { if (!has(mem)) return false; synchronized(m_mtx) { import std.range : front, empty; bool is_merged; void[] combined; auto upper_range = m_freelist.upperBoundRange(mem); if (!upper_range.empty && upper_range.front().ptr > (mem.ptr + mem.length) && (upper_range.front().ptr - alignment) < (mem.ptr + mem.length)) { //import std.stdio : writeln; logTrace("Pool item (>): ", upper_range.front().ptr, " .. ", upper_range.front().ptr + upper_range.front().length, " <==> ", mem.ptr, " .. ", mem.ptr + mem.length); // we can merge with the next block void[] upper_elem = upper_range.front(); size_t alignment_padding = upper_elem.ptr - (mem.ptr + mem.length); assert(alignment_padding < alignment, "Alignment padding error on upper bound"); combined = mem.ptr[0 .. mem.length + alignment_padding + upper_elem.length]; m_freelist.remove(upper_elem); mem = combined; } auto lower_range = m_freelist.lowerBoundRange(mem); if (!lower_range.empty && (lower_range.back().ptr + lower_range.back().length) < mem.ptr && (lower_range.back().ptr + lower_range.back().length + alignment) > mem.ptr) { // import std.stdio : writeln; logTrace("Pool item (<): ", lower_range.back().ptr, " .. ", lower_range.back().ptr + lower_range.back().length, " <==> ", mem.ptr, " .. ", mem.ptr + mem.length); // we can merge with the next block void[] lower_elem = lower_range.back(); size_t alignment_padding = mem.ptr - ( lower_range.back().ptr + lower_range.back().length ); assert(alignment_padding < alignment, "Alignment padding error on lower bound " ~ mem.ptr.to!string ~ ": " ~ alignment_padding.to!string ~ "/" ~ alignment.to!string); combined = lower_elem.ptr[0 .. lower_elem.length + alignment_padding + mem.length]; m_freelist.remove(lower_elem); mem = combined; } m_freelist.insert(mem); return true; } } package: this() { logTrace("Loading SecurePool instance ..."); m_mtx = new Mutex; auto pool_size = mlock_limit(); if (pool_size) { void* pool_ptr; pool_ptr = mmap(null, pool_size, PROT_READ | PROT_WRITE, MAP_ANON | MAP_SHARED | MAP_LOCKED, -1, 0); if (pool_ptr == MAP_FAILED) { throw new Exception("Failed to mmap SecurePool pool"); } m_pool_unaligned = pool_ptr[0 .. pool_size]; import std.c.string : memset; memset(m_pool_unaligned.ptr, 0, m_pool_unaligned.length); if (mlock(m_pool_unaligned.ptr, m_pool_unaligned.length) != 0) { munmap(m_pool_unaligned.ptr, m_pool_unaligned.length); m_pool_unaligned = null; import core.stdc.errno; logError("Could not mlock " ~ to!string(pool_size) ~ " bytes: " ~ errno().to!string); return; } version(Posix) posix_madvise(m_pool_unaligned.ptr, m_pool_unaligned.length, MADV_DONTDUMP); m_pool = m_pool_unaligned.ptr[cast(size_t)m_pool_unaligned.ptr % alignment .. m_pool_unaligned.length - (m_pool_unaligned.length % alignment)]; m_freelist.insert(m_pool); } } ~this() { if (m_pool) { import std.c.string : memset; memset(m_pool_unaligned.ptr, 0, m_pool_unaligned.length); munlock(m_pool_unaligned.ptr, m_pool_unaligned.length); munmap(m_pool_unaligned.ptr, m_pool_unaligned.length); m_pool = null; m_pool_unaligned = null; } } private: __gshared Mutex m_mtx; RBTree!(void[], "a.ptr < b.ptr", false, Malloc) m_freelist; void[] m_pool; void[] m_pool_unaligned; } private: size_t mlock_limit() { /* * Linux defaults to only 64 KiB of mlockable memory per process * (too small) but BSDs offer a small fraction of total RAM (more * than we need). Bound the total mlock size to 512 KiB which is * enough to run the entire test suite without spilling to non-mlock * memory (and thus presumably also enough for many useful * programs), but small enough that we should not cause problems * even if many processes are mlocking on the same machine. */ __gshared immutable size_t MLOCK_UPPER_BOUND = 512*1024; version(Posix) { rlimit limits; getrlimit(RLIMIT_MEMLOCK, &limits); if (limits.rlim_cur < limits.rlim_max) { limits.rlim_cur = limits.rlim_max; setrlimit(RLIMIT_MEMLOCK, &limits); getrlimit(RLIMIT_MEMLOCK, &limits); } return std.algorithm.min(limits.rlim_cur, MLOCK_UPPER_BOUND); } version(Windows) { BOOL success = SetProcessWorkingSetSize(cast(void*)GetCurrentProcessId(), 512*1024, 315*4096); if (success == 0) return 0; return MLOCK_UPPER_BOUND; } } bool ptr_in_pool(in void[] pool, in void* buf_ptr, size_t bufsize) pure { if (buf_ptr < pool.ptr || buf_ptr >= pool.ptr + pool.length) return false; assert(buf_ptr + bufsize <= pool.ptr + pool.length, "Pointer does not partially overlap pool"); return true; } size_t padding_for_alignment(size_t offset, size_t desired_alignment) pure { size_t mod = offset % desired_alignment; if (mod == 0) return 0; // already right on return desired_alignment - mod; }
D
#!/usr/bin/env dub /++dub.sdl: name "tests_extractor" dependency "libdparse" version="~>0.8.0" +/ /* * Parses all public unittests that are visible on dlang.org * (= annotated with three slashes) * * Copyright (C) 2017 by D Language Foundation * * Author: Sebastian Wilzbach * * 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) */ // Written in the D programming language. import dparse.ast; import std.algorithm; import std.ascii : whitespace; import std.conv; import std.exception; import std.experimental.logger; import std.file; import std.path; import std.range; import std.stdio; class TestVisitor : ASTVisitor { File outFile; ubyte[] sourceCode; string moduleName; this(File outFile, ubyte[] sourceCode) { this.outFile = outFile; this.sourceCode = sourceCode; } alias visit = ASTVisitor.visit; override void visit(const Module m) { if (m.moduleDeclaration !is null) { moduleName = m.moduleDeclaration.moduleName.identifiers.map!(i => i.text).join("."); } else { // fallback: convert the file path to its module path, e.g. std/uni.d -> std.uni moduleName = outFile.name.replace(".d", "").replace(dirSeparator, ".").replace(".package", ""); } m.accept(this); } override void visit(const Declaration decl) { if (decl.unittest_ !is null && hasDdocHeader(sourceCode, decl)) print(decl.unittest_); decl.accept(this); } private: void print(const Unittest u) { /* Write the origin source code line u.line is the first line of the unittest block, hence we need to subtract two lines from it as we add "import <current.module>\n\n" at the top of the unittest. */ outFile.writefln("# line %d", u.line > 2 ? u.line - 2 : 0); // write the unittest block outFile.write("unittest\n{\n"); scope(exit) outFile.writeln("}\n"); // add an import to the current module outFile.writefln(" import %s;", moduleName); // write the content of the unittest block (but skip the first brace) auto k = cast(immutable(char)[]) sourceCode[u.blockStatement.startLocation .. u.blockStatement.endLocation]; k.findSkip("{"); outFile.write(k); // if the last line contains characters, we want to add an extra line for increased visual beauty if (k[$ - 1] != '\n') outFile.writeln; } } void parseFile(File inFile, File outFile) { import dparse.lexer; import dparse.parser : parseModule; import dparse.rollback_allocator : RollbackAllocator; import std.array : uninitializedArray; if (inFile.size == 0) warningf("%s is empty", inFile.name); ubyte[] sourceCode = uninitializedArray!(ubyte[])(to!size_t(inFile.size)); inFile.rawRead(sourceCode); LexerConfig config; auto cache = StringCache(StringCache.defaultBucketCount); auto tokens = getTokensForParser(sourceCode, config, &cache); RollbackAllocator rba; auto m = parseModule(tokens.array, inFile.name, &rba); auto visitor = new TestVisitor(outFile, sourceCode); visitor.visit(m); } void parseFileDir(string inputDir, string fileName, string outputDir) { import std.path : buildPath, dirSeparator, buildNormalizedPath; // file name without its parent directory, e.g. std/uni.d string fileNameNormalized = (inputDir == "." ? fileName : fileName.replace(inputDir, "")); // remove leading dots or slashes while (!fileNameNormalized.empty && fileNameNormalized[0] == '.') fileNameNormalized = fileNameNormalized[1 .. $]; if (fileNameNormalized.length >= dirSeparator.length && fileNameNormalized[0 .. dirSeparator.length] == dirSeparator) fileNameNormalized = fileNameNormalized[dirSeparator.length .. $]; // convert the file path to a nice output file, e.g. std/uni.d -> std_uni.d string outName = fileNameNormalized.replace(dirSeparator, "_"); parseFile(File(fileName), File(buildPath(outputDir, outName), "w")); } void main(string[] args) { import std.getopt; import std.variant : Algebraic, visit; string inputDir; string outputDir = "./out"; string ignoredFilesStr; string modulePrefix = ""; auto helpInfo = getopt(args, config.required, "inputdir|i", "Folder to start the recursive search for unittest blocks (can be a single file)", &inputDir, "outputdir|o", "Folder to which the extracted test files should be saved (stdout for a single file)", &outputDir, "ignore", "Comma-separated list of files to exclude (partial matching is supported)", &ignoredFilesStr); if (helpInfo.helpWanted) { return defaultGetoptPrinter(`phobos_tests_extractor Searches the input directory recursively for public unittest blocks, i.e. unittest blocks that are annotated with three slashes (///). The tests will be extracted as one file for each source file to in the output directory. `, helpInfo.options); } inputDir = inputDir.asNormalizedPath.array; Algebraic!(string, File) outputLocation = cast(string) outputDir.asNormalizedPath.array; if (!exists(outputDir)) mkdir(outputDir); // if the module prefix is std -> add a dot for the next modules to follow if (!modulePrefix.empty) modulePrefix ~= '.'; DirEntry[] files; if (inputDir.isFile) { files = [DirEntry(inputDir)]; inputDir = "."; // for single files use stdout by default if (outputDir == "./out") { outputLocation = stdout; } } else { files = dirEntries(inputDir, SpanMode.depth).filter!( a => a.name.endsWith(".d") && !a.name.canFind(".git")).array; } auto ignoringFiles = ignoredFilesStr.split(","); foreach (file; files) { if (!ignoringFiles.any!(x => file.name.canFind(x))) { stderr.writeln("parsing ", file); outputLocation.visit!( (string outputFolder) => parseFileDir(inputDir, file, outputFolder), (File outputFile) => parseFile(File(file.name, "r"), outputFile), ); } else { stderr.writeln("ignoring ", file); } } } bool hasDdocHeader(const(ubyte)[] sourceCode, const Declaration decl) { import std.algorithm.comparison : min; bool hasComment; size_t firstPos = size_t.max; if (decl.unittest_ !is null) { firstPos = decl.unittest_.location; hasComment = decl.unittest_.comment.length > 0; } else if (decl.functionDeclaration !is null) { // skip the return type firstPos = sourceCode.skipPreviousWord(decl.functionDeclaration.name.index); if (auto stClasses = decl.functionDeclaration.storageClasses) firstPos = min(firstPos, stClasses[0].token.index); hasComment = decl.functionDeclaration.comment.length > 0; } else if (decl.templateDeclaration !is null) { // skip the word `template` firstPos = sourceCode.skipPreviousWord(decl.templateDeclaration.name.index); hasComment = decl.templateDeclaration.comment.length > 0; } // libdparse will put any ddoc comment with at least one character in the comment field if (hasComment) return true; firstPos = min(firstPos, getAttributesStartLocation(decl.attributes)); // scan the previous line for ddoc header -> skip to last real character auto prevLine = sourceCode[0 .. firstPos].retro.find!(c => whitespace.countUntil(c) < 0); // if there is no comment annotation, only three possible cases remain. // one line ddoc: ///, multi-line comments: /** */ or /++ +/ return prevLine.filter!(c => !whitespace.canFind(c)).startsWith("///", "/+++/", "/***/") > 0; } /** The location of unittest token is known, but there might be attributes preceding it. */ private size_t getAttributesStartLocation(const Attribute[] attrs) { import dparse.lexer : tok; if (attrs.length == 0) return size_t.max; if (attrs[0].atAttribute !is null) return attrs[0].atAttribute.startLocation; if (attrs[0].attribute != tok!"") return attrs[0].attribute.index; return size_t.max; } private size_t skipPreviousWord(const(ubyte)[] sourceCode, size_t index) { return index - sourceCode[0 .. index] .retro .enumerate .find!(c => !whitespace.canFind(c.value)) .find!(c => whitespace.canFind(c.value)) .front.index; }
D
module droid.gateway.gateway; import core.time, std.functional, std.conv, std.stdio, std.typecons, std.random, std.experimental.logger; import vibe.core.core, vibe.http.common, vibe.http.client, vibe.http.websockets, vibe.inet.url, vibe.data.json; import droid.exception, droid.api, droid.gateway.opcode, droid.gateway.packet, droid.data.event_type; final class Gateway { // gateway url needs to be https to satisfy vibe's upgrade checks // Please do tell if this workaround isn't right! enum GATEWAY_URL = "https://gateway.discord.gg/?v=6&encoding=json"; private alias OpcodeDelegate = void delegate(in ref Packet); private alias OpcodeHandlerMap = OpcodeDelegate[Opcode]; private immutable OpcodeHandlerMap OPCODE_MAPPING; private immutable string gatewayUrl_; private API api_; private WebSocket ws_; private Timer heartbeatTimer_; private bool heartbeatNeedsACK_; private Logger logger_; private bool shuttingDown = false; private uint lastSeqNum_; private string sessionId_; private ubyte reconnectionAttempts; private alias DispatchDelegate = void delegate(in ref Json); private DispatchDelegate[][EventType] dispatchHandlers_; this(API api, in string gatewayUrl = GATEWAY_URL, Logger logger = null) { OPCODE_MAPPING = buildOpcodeHandlersMap(); gatewayUrl_ = gatewayUrl; api_ = api; logger_ = logger ? logger : defaultLogger; } void connect(in bool blocking = true, in bool reconnecting = false) { if (!tryConnect(gatewayUrl_)) { logger_.tracef("Could not connect to given gateway url %s, using API", gatewayUrl_); tryConnect(api_.getGatewayUrl(), true); } try { runTask(&this.handleEvents); if (sessionId_ && lastSeqNum_) resume(); else identify(); } catch (Exception e) { throw e; } if (blocking && !reconnecting) runEventLoop(); } void subscribe(in EventType event, DispatchDelegate handler) { dispatchHandlers_[event] ~= handler; } private void identify() { import std.system : os; version (Windows) { immutable osName = "windows"; } else { version (linux) { immutable osName = "linux"; } else { immutable osName = "unknown"; } } opcodeIdentifyHandle(Json([ "token": Json(api_.token), "properties": Json([ "$os": Json(osName), "$browser": Json("droid"), "$device": Json("droid") ]) ])); } private void resume() { opcodeResumeHandle(Json([ "token": Json(api_.token), "session_id": Json(sessionId_), "seq": Json(lastSeqNum_) ])); } private bool tryConnect(in string gatewayUrl, in bool throwEx = false) { ws_ = connectWebSocket(URL(gatewayUrl)); if (!ws_.connected) { if (throwEx) { throw new DroidException("Could not connect to the websocket at " ~ gatewayUrl ~ "!"); } return false; } return true; } private void handleEvents() { assert(ws_ && ws_.connected); while (ws_.waitForData()) { const packet = parseMessage(ws_.receiveText()); auto opcodeHandler = packet.opcode in OPCODE_MAPPING; if (opcodeHandler) { logger_.tracef("Handling opcode %s", to!string(packet.opcode)); (*opcodeHandler)(packet); } else { logger_.tracef("Ignored opcode %s", to!string(packet.opcode)); } } logger_.infof("Lost connection, close code %d (reason %s)", ws_.closeCode, ws_.closeReason); // User-initiated shutdown. if (shuttingDown) { exitEventLoop(true); return; } if (heartbeatTimer_) heartbeatTimer_.stop(); reconnectionAttempts++; uint timeToWait = reconnectionAttempts * 4; if (timeToWait >= 100) timeToWait = 100 + uniform(3, 14); logger_.infof("Attempting to %s after %s seconds", sessionId_ ? "resume" : "reconnect", timeToWait); sleep(timeToWait.seconds); // Reconnect connect(true, true); } private Packet parseMessage(in string data) { return deserializeJson!Packet(parseJsonString(data)); } private void heartbeat() { if (heartbeatNeedsACK_) { ws_.close(); throw new DroidException("Did not receive ACK for heartbeat -- zombie connection"); } logger_.tracef("Heartbeating"); ws_.send(Json(["op": Json(cast(uint) Opcode.HEARTBEAT), "d": Json(lastSeqNum_)]).toString()); heartbeatNeedsACK_ = true; } private immutable(OpcodeHandlerMap) buildOpcodeHandlersMap() { import std.exception : assumeUnique; OpcodeHandlerMap aaBuf; aaBuf[Opcode.DISPATCH] = toDelegate(&this.opcodeDispatchHandle); aaBuf[Opcode.HELLO] = toDelegate(&this.opcodeHelloHandle); aaBuf[Opcode.HEARTBEAT_ACK] = toDelegate(&this.opcodeHeartbeatACKHandle); aaBuf[Opcode.INVALID_SESSION] = toDelegate(&this.opcodeInvalidSessionHandle); aaBuf.rehash; return assumeUnique(aaBuf); } void send(Opcode opcode, Json data) { logger_.tracef("Sending op %s with the data of %s", cast(uint) opcode, data); ws_.send(Json(["op": Json(cast(uint) opcode), "d": data]).toString()); } /* Opcode handlers below */ private void opcodeDispatchHandle(in ref Packet packet) { // Just set the seq number for now if (packet.seq && packet.seq > lastSeqNum_) lastSeqNum_ = packet.seq; logger_.tracef("Got %s event in dispatch", packet.type); // We're only really interested in the READY callback here. if (packet.type == EventType.READY) { sessionId_ = packet.data["session_id"].get!string; logger_.tracef("Got session ID: %s", sessionId_); reconnectionAttempts = 0; } else if (packet.type == EventType.RESUMED) { opcodeResumedHandle(packet); } publish(packet); } private void publish(in ref Packet packet) { import std.algorithm.iteration : each; logger_.tracef("Publishing packet of type %s", packet.type); if (auto handlersPtr = packet.type in dispatchHandlers_) { (*handlersPtr).each!(handler => handler(packet.data)); } } private void opcodeHelloHandle(in ref Packet packet) { const heartbeatInterval = packet.data["heartbeat_interval"].to!long; logger_.tracef("Got heartbeat interval set at %d ms", heartbeatInterval); heartbeatTimer_ = setTimer(dur!"msecs"(heartbeatInterval), toDelegate(&this.heartbeat), true); } private void opcodeHeartbeatACKHandle(in ref Packet /* ignored */) { logger_.tracef("Heartbeat ACK'd"); heartbeatNeedsACK_ = false; } private void opcodeInvalidSessionHandle(in ref Packet /* ignored */) { logger_.tracef("Invalid Session - Reconnecting...."); // Reset the connection so they don't try and resume again. if (sessionId_) sessionId_ = null; ws_.close(); } private void opcodeResumedHandle(in ref Packet /* ignored */) { logger_.tracef("Resumed, all lost events should have been replayed."); } private void opcodeIdentifyHandle(in Json json) { logger_.tracef("Sending IDENTIFY"); ws_.send(Json(["op": Json(cast(uint) Opcode.IDENTIFY), "d": json]).toString()); } private void opcodeResumeHandle(in Json json) { logger_.tracef("Sending RESUME"); send(Opcode.RESUME, json); } /* End opcode handlers */ private auto defaultLogger() @property { return new class (stderr) FileLogger { import std.concurrency : Tid; import std.datetime.systime : SysTime; @disable this(); this(in string fn, const LogLevel lv = LogLevel.all) @safe { super(fn, lv); } this(File file, const LogLevel lv = LogLevel.all) @safe { super(file, lv); } override protected void beginLogMsg(string file, int line, string funcName, string prettyFuncName, string moduleName, LogLevel logLevel, Tid threadId, SysTime timestamp, Logger logger) @safe { import std.format : formattedWrite; super.beginLogMsg( file, line, funcName, prettyFuncName, moduleName, logLevel, threadId, timestamp, logger ); formattedWrite(super.file.lockingTextWriter(), "[GATEWAY] "); } }; } }
D
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/Fluent.build/SQL/SQL+Query.swift.o : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Filters.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/MemoryDriver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Comparison.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Scope.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Creator.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Field.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Modifier.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Fluent+Node.swift /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/Darwin.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/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Fluent.build/SQL+Query~partial.swiftmodule : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Filters.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/MemoryDriver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Comparison.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Scope.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Creator.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Field.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Modifier.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Fluent+Node.swift /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/Darwin.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/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Fluent.build/SQL+Query~partial.swiftdoc : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Driver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Entity/Entity.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Filters.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/Memory+Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Memory/MemoryDriver.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Database+Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Migration.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/Preparation.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Preparation/PreparationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Action.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Comparison.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Filter.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Group.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Join.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Limit.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Scope.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Query/Sort.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Children.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Parent.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/RelationError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Relations/Siblings.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Database+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Creator.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Field.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema+Modifier.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Schema/Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Query.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL+Schema.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQL.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/SQL/SQLSerializer.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/Fluent+Node.swift /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/CLibreSSL.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.apinotesc /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/Darwin.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/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.apinotesc /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/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Node.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/PathIndexable.swiftmodule /Users/mprechner/vapor-demo/HelloWorld/.build/debug/Polymorphic.swiftmodule
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; void main() { readln; writeln(readln.split.join(",")); }
D
module magic.vector; import std.math : approxEqual, PI, sqrt; import std.range; import std.algorithm; import std.format : format; import std.conv : text, to; import std.traits : isFloatingPoint, isIntegral; import std.meta : Repeat, allSatisfy, Alias, staticMap; import std.traits : Unconst; unittest { //v.array, v.e and xyzw,rgba should have the same data immutable v = Vector!(int,4)(1,2,3,4); assert(v.array == [1,2,3,4]); assert([v.e] == v.array); assert(v.x == v.r && v.r == v[0]); assert(v.y == v.g && v.g == v[1]); assert(v.z == v.b && v.b == v[2]); assert(v.w == v.a && v.a == v[3]); //Vector factory functions assert(vector(1,2,3,4,5) == [1,2,3,4,5]); assert(vec2.polar(PI/4).cwise!approxEqual(vec2(1,1).normalize)[].all); assert(vec2.polar(0,1337).cwise!approxEqual(vec2(1337,0))[].all); //Expand operation assert([v.e, v.e, v.e] == iota(1,5).cycle.take(12).array); assert([v.e[1..3]] == [2,3]); //Swizzling operations assert(v.xyzw == v.rgba && v.rgba == v); assert(v.zyz == [3,2,3]); assert(v.wwwww == [4,4,4,4,4]); assert(v.bgra == [3,2,1,4]); assert(v.xyxzwwxy == [1,2,1,3,4,4,1,2]); //Invalid swizzle mask should not compile static assert(!__traits(compiles, v.foobar)); //Swizzling components not present in vector should not compile static assert(!__traits(compiles, v.xyz.www)); //Test assignment operators ivec4 u; u = 2; assert(u[].all!(x => x==2)); u = [1,2,3,4]; assert(u == [1,2,3,4]); } unittest { //Arithmetic operators should work component-wise //v op u == [v.x op u.x, v.y op u.y, ...] immutable ivec3 v = [1,2,3], u = [4,5,6]; assert(v + u == [5,7,9]); assert(v + [4,5,6] == [5,7,9]); assert(v - u == ivec3(-3)); assert(v * u == [4,10,18]); assert(u / v == [4,2,2]); assert(u % v == [0,1,0]); //Vector op scalar treats scalar like a vector filled with that value assert(v + 3 == u); assert(3 + v == u); assert(u / 2 == ivec3(2,2,3)); //opOpAssign operations, taking both vectors & scalars as arguments ivec3 w = [7,8,9]; w += v; assert(w == [8,10,12]); w -= u; assert(w == u); w *= v; assert(w == v*u); w /= u; assert(w == v); w += 5; assert(w == v+5); w *= 7; assert(w == (v+5)*7); w /= 3; assert(w == ((v+5)*7)/3); } unittest { //Dot and cross product assert(dot(ivec3(1,2,3), ivec3(4,5,6)) == 32); assert(cross(ivec3(1,2,3), ivec3(4,5,6)) == [-3,6,-3]); //norm(v) returns 2-norm (magnitude) of the vector import std.math : approxEqual; assert(approxEqual(vec2(3,4).norm, 5)); assert(approxEqual(vec3(3,4,12).norm, 13)); //normalize(v) makes the norm 1, while preserving the ratio between vector components assert(vec2(3,4).normalize.cwise!approxEqual(vec2(0.6f,0.8f))[].all); assert(vec2(3,4).normalizeOrZero.cwise!approxEqual(vec2(3,4).normalize)[].all); assert(vec2(0).normalizeOrZero == vec2(0)); //scaleTo(v,n) works like normalize, except it makes the norm equal to n assert(vec2(3,4).scaleTo(3).cwise!approxEqual(vec2(1.8f, 2.4f))[].all); } unittest { /*cwise makes scalar-valued functions operate on vector arguments component-wise and return a vector of results*/ import std.math : abs, approxEqual; assert(cwise!max(vec3(1,2,3), vec3(3,2,1)) == [3,2,3]); assert(cwise!max(vec4(1,2,3,4), vec4(3)) == [3,3,3,4]); assert(cwise!abs(vector(-3,-2,-1,0,1,2)) == [3,2,1,0,1,2]); assert(ivec4(1,2,3,4).cwise!clamp(ivec4(0,3,1,2),ivec4(2,4,2,6)) == ivec4(1,3,2,4)); ivec3 v = [1,2,3]; assert(cwise!approxEqual(v, v.to!vec3)[].all); } /++ Vector data type, inspired by GLSL vectors. Examples: --- Vector!(int,3) v = [1,2,3]; //Create from static array ivec3 u = ivec3(4,5,6); ivec4 w = ivec4(2); //Fills all components with given value auto k = vector(1,2,5,-3,7); //Create using vector() factory function //Arithmetic operators work component-wise assert(v*u == [4,10,18]); assert(vec2(3,4).norm.approxEqual(5f)); assert(dot(ivec2(2,3), ivec2(4,5)) == 23); //cwise allows scalar-accepting functions to work on vectors! assert(k.cwise!abs == [1,2,5,3,7]); //Works with functions of any arity! (probably) assert(cwise!max(vec3(1,2,3), vec3(3,2,1)) == [3,2,3]); //Can be expanded like a tuple too! void foo(int r, int g, int b, int a); foo(w.expand); foo(w.e); --- +/ pure nothrow @safe @nogc struct Vector(T,size_t _length) { /// How many components this `Vector` has enum length = _length; /// alias ComponentType = T; union { /** This `Vector`'s components stored as static array. */ T[length] array; struct { /++ Allows `Vector` to be expanded like `std.typecons.Tuple`. Examples: --- vec3 getBackgroundColor() {/*code for calculating background color*/} import bindbc.opengl; glClearColor(getBackgroundColor().expand, 1f); --- vec3 v; vec4 u = [v.e, 1f]; --- +/ Repeat!(length,T) expand; alias e = expand; // Generate named fields: x,y,z,w, r,g,b,a static foreach(index,names; vectorComponents) static if(index < length) static foreach(name; names) mixin(text("alias ",name," = e[",index,"];")); } } alias array this; /// Creates a `Vector` from a static array of components. this(T[length] components...){array = components;} /// Creates a `Vector` with all components set to given value. this(T filler){array[] = filler;} static if(length == 2 && isFloatingPoint!T) { /** Params: angle = Angle between the created `Vector` and unit vector [1,0], in radians. norm = Returns: 2D `Vector` constructed from polar coordinates. */ static Vector polar(T angle, T norm=1) { import std.math : sin,cos; return Vector(cos(angle)*norm, sin(angle)*norm); } } /// Sets all components to values from given static array. void opAssign(T[length] components){array = components;} /// Sets all components to given value. void opAssign(T filler){array[] = filler;} Vector!(T,length) opUnary(string op)() const { mixin("T[length] result = "~op~"array[];"); return Vector!(T,length)(result); } Vector!(T,length) opBinary(string op)(auto ref const T[length] rhs) const { T[length] result; mixin("result[] = array[]"~op~"rhs[];"); return Vector!(T,length)(result); } auto opBinary(string op,S)(const S rhs) const if(!isVector!S && is(S : T) && op != "in") { mixin("T[length] result = array[]"~op~"rhs;"); return Vector!(T,length)(result); } auto opBinaryRight(string op,S)(const S lhs) const if(!isVector!S && is(S : T)) { mixin("T[length] result = lhs"~op~"array[];"); return Vector!(T,length)(result); } void opOpAssign(string op)(auto ref const T[length] rhs) { mixin("array[]"~op~"= rhs[];"); } void opOpAssign(string op,S)(const S rhs) if(!isVector!S && is(S : T)) { mixin("array[]"~op~"= rhs;"); } V opCast(V)() const if(isVector!V && V.length == length) { alias C = Unconst!(V.ComponentType); C[length] arr; static foreach(i; 0..length) arr[i] = cast(C) array[i]; return V(arr); } /// Swizzlling auto opDispatch(string swizzleMask)() const if(swizzleMask.length >= 2) { static foreach(comp; swizzleMask) static if(!__traits(compiles, mixin(comp.to!string))) static assert(0, "Invalid character '%s' found in swizzle mask \"%s\"".format(comp,swizzleMask)); mixin("return vector("~ swizzleMask.slide(1).map!(to!string).join(",") ~");"); } /// Returns: Pointer to the first component of this `Vector`. @property inout(T*) ptr() inout @trusted { return array.ptr; } } /// Returns: `Vector` with given components. Vector!(T,length) vector(T,size_t length)(const T[length] components...) pure nothrow @safe @nogc { return Vector!(T,length)(components); } /// Returns: Dot product of the arguments. T dot(T,size_t length)(auto ref const T[length] v, auto ref const T[length] u) pure nothrow @safe @nogc { T result = 0; foreach(i; 0..length) result += v[i]*u[i]; return result; } ///Returns: Cross product of the arguments. Vector!(T,3) cross(T)(auto ref const T[3] v, auto ref const T[3] u) pure nothrow @safe @nogc { return Vector!(T,3)(v[1]*u[2] - v[2]*u[1], v[2]*u[0] - v[0]*u[2], v[0]*u[1] - v[1]*u[0]); } /// Returns: 2-norm (also known as length/magnitude) of given vector. T norm(T,size_t length)(auto ref const T[length] v) pure nothrow @safe @nogc if(isFloatingPoint!T) { return sqrt(dot(v,v)); } /// Returns: 2-norm (also known as length/magnitude) of given vector. double norm(T,size_t length)(auto ref const T[length] v) pure nothrow @safe @nogc if(isIntegral!T) { return sqrt(cast(double) dot(v,v)); } /// Returns: `Vector` with the same direction as `v`, but norm equal to 1. auto normalize(T,size_t size)(auto ref const T[size] v) pure nothrow @safe @nogc if(isFloatingPoint!T) in(norm(v) != 0) { return 1/norm(v) * vector(v); } /// Returns: `normalize(v)` if `v` has non-zero norm, otherwise returns a vector with all components set to 0 auto normalizeOrZero(T,size_t size)(auto ref const T[size] v) { const norm2 = dot(v,v); static if(isFloatingPoint!T) return norm2.approxEqual(0) ? Vector!(T,size)(0) : 1/sqrt(norm2) * vector(v); else return norm2 == 0 ? Vector!(double,size)(0) : 1/sqrt(cast(double) norm2) * vector(v); } /// Returns: `normalize(v)` if `v` has non-zero norm, otherwise returns a vector with x=1 and all other components set to 0 auto normalizeOrUnitX(T,size_t size)(auto ref const T[size] v) { const norm2 = dot(v,v); static if(isFloatingPoint!T) return norm2.approxEqual(0) ? Vector!(T,size)(1,Repeat!(size-1,0)) : 1/sqrt(norm2) * vector(v); else return norm2 == 0 ? Vector!(double,size)(1,Repeat!(size-1,0)) : 1/sqrt(cast(double) norm2) * vector(v); } /// Returns: `Vector` with the same direction as `v`, but norm equal to `targetNorm`. auto scaleTo(T,size_t size)(auto ref const T[size] v, T targetNorm) pure nothrow @safe @nogc if(isFloatingPoint!T) { return (targetNorm/norm(v)) * vector(v); } /++ Given a function `op` which operates on scalars, applies it to `Vector` arguments component-wise. At least one argument must be a `Vector`. All `Vector` arguments must have the same length. --- //Equivalent to vec3(max(1,3), max(2,2), max(3,1)) assert(cwise!max(vec3(1,2,3), vec3(3,2,1)) == vec3(3,2,3)); --- ++/ auto cwise(alias op, Args...)(auto ref Args args) pure nothrow @safe @nogc if( allSatisfy!(isVector, Args) && allSatisfy!(Equal!(Alias!(Args[0].length)), staticMap!(VectorLength,Args)) ) { //We don't return anything if op returns void static if(is(typeof(op(mixin(cwiseCall(Args.length, 0)))) == void)) static foreach(i; 0..Args[0].length) mixin(cwiseCall(Args.length, i)); else mixin("return vector("~iota(Args[0].length).map!(i => cwiseCall(Args.length,i)).join(",")~");"); } /// enum isVector(T) = is(T == Vector!(U,length), U, size_t length); /// template VectorLength(T) if(isVector!T) { enum VectorLength = T.length; } /// template VectorComponentType(T) if(isVector!T) { alias VectorComponentType = T.ComponentType; } /* Short aliases for commonly used vector types */ alias vec(size_t length) = Vector!(float,length); alias dvec(size_t length) = Vector!(double,length); alias rvec(size_t length) = Vector!(real,length); alias ivec(size_t length) = Vector!(int,length); alias uvec(size_t length) = Vector!(uint,length); alias usvec(size_t length) = Vector!(ushort,length); alias ubvec(size_t length) = Vector!(ubyte,length); alias vec2 = vec!2; alias vec3 = vec!3; alias vec4 = vec!4; alias dvec2 = dvec!2; alias dvec3 = dvec!3; alias dvec4 = dvec!4; alias rvec2 = rvec!2; alias rvec3 = rvec!3; alias rvec4 = rvec!4; alias ivec2 = ivec!2; alias ivec3 = ivec!3; alias ivec4 = ivec!4; alias uvec2 = uvec!2; alias uvec3 = uvec!3; alias uvec4 = uvec!4; alias ubvec2 = ubvec!2; alias ubvec3 = ubvec!3; alias ubvec4 = ubvec!4; alias usvec2 = usvec!2; alias usvec3 = usvec!3; alias usvec4 = usvec!4; private: //Creates mixin string for function call `op(args[0][i], args[1][i], args[2][i], ...)` string cwiseCall(size_t argsLength, size_t index) { return "op(" ~ iota(argsLength).map!(i => "args[%s][%s]".format(i,index)).join(", ") ~ ")"; } enum vectorComponents = [ ["x","r"], ["y","g"], ["z","b"], ["w","a"] ]; template Equal(alias val){ template Equal(alias x){ enum Equal = x == val; } }
D
module xf.dcuda.CutFunctions; private { import xf.dcuda.CutConsts; import xf.dcuda.CutFunctionPtrs; } void loadCutFunctions_(void* function(char*) loadFuncFromLib) { *cast(void**)&cutFree = loadFuncFromLib("cutFree"); *cast(void**)&cutCheckBankAccess = loadFuncFromLib("cutCheckBankAccess"); *cast(void**)&cutFindFilePath = loadFuncFromLib("cutFindFilePath"); *cast(void**)&cutReadFilef = loadFuncFromLib("cutReadFilef"); *cast(void**)&cutReadFiled = loadFuncFromLib("cutReadFiled"); *cast(void**)&cutReadFilei = loadFuncFromLib("cutReadFilei"); *cast(void**)&cutReadFileui = loadFuncFromLib("cutReadFileui"); *cast(void**)&cutReadFileb = loadFuncFromLib("cutReadFileb"); *cast(void**)&cutReadFileub = loadFuncFromLib("cutReadFileub"); *cast(void**)&cutWriteFilef = loadFuncFromLib("cutWriteFilef"); // *cast(void**)&cutWriteFiled = loadFuncFromLib("cutWriteFiled"); *cast(void**)&cutWriteFilei = loadFuncFromLib("cutWriteFilei"); *cast(void**)&cutWriteFileui = loadFuncFromLib("cutWriteFileui"); *cast(void**)&cutWriteFileb = loadFuncFromLib("cutWriteFileb"); *cast(void**)&cutWriteFileub = loadFuncFromLib("cutWriteFileub"); *cast(void**)&cutLoadPGMub = loadFuncFromLib("cutLoadPGMub"); *cast(void**)&cutLoadPPMub = loadFuncFromLib("cutLoadPPMub"); *cast(void**)&cutLoadPPM4ub = loadFuncFromLib("cutLoadPPM4ub"); *cast(void**)&cutLoadPGMi = loadFuncFromLib("cutLoadPGMi"); *cast(void**)&cutLoadPGMs = loadFuncFromLib("cutLoadPGMs"); *cast(void**)&cutLoadPGMf = loadFuncFromLib("cutLoadPGMf"); *cast(void**)&cutSavePGMub = loadFuncFromLib("cutSavePGMub"); *cast(void**)&cutSavePPMub = loadFuncFromLib("cutSavePPMub"); *cast(void**)&cutSavePPM4ub = loadFuncFromLib("cutSavePPM4ub"); *cast(void**)&cutSavePGMi = loadFuncFromLib("cutSavePGMi"); *cast(void**)&cutSavePGMs = loadFuncFromLib("cutSavePGMs"); *cast(void**)&cutSavePGMf = loadFuncFromLib("cutSavePGMf"); *cast(void**)&cutCheckCmdLineFlag = loadFuncFromLib("cutCheckCmdLineFlag"); *cast(void**)&cutGetCmdLineArgumenti = loadFuncFromLib("cutGetCmdLineArgumenti"); *cast(void**)&cutGetCmdLineArgumentf = loadFuncFromLib("cutGetCmdLineArgumentf"); *cast(void**)&cutGetCmdLineArgumentstr = loadFuncFromLib("cutGetCmdLineArgumentstr"); // *cast(void**)&cutGetCmdLineArgumentListstr = loadFuncFromLib("cutGetCmdLineArgumentListstr"); *cast(void**)&cutCheckCondition = loadFuncFromLib("cutCheckCondition"); *cast(void**)&cutComparef = loadFuncFromLib("cutComparef"); *cast(void**)&cutComparei = loadFuncFromLib("cutComparei"); *cast(void**)&cutCompareuit = loadFuncFromLib("cutCompareuit"); *cast(void**)&cutCompareub = loadFuncFromLib("cutCompareub"); *cast(void**)&cutCompareubt = loadFuncFromLib("cutCompareubt"); *cast(void**)&cutCompareube = loadFuncFromLib("cutCompareube"); *cast(void**)&cutComparefe = loadFuncFromLib("cutComparefe"); *cast(void**)&cutComparefet = loadFuncFromLib("cutComparefet"); *cast(void**)&cutCompareL2fe = loadFuncFromLib("cutCompareL2fe"); *cast(void**)&cutComparePPM = loadFuncFromLib("cutComparePPM"); *cast(void**)&cutCreateTimer = loadFuncFromLib("cutCreateTimer"); *cast(void**)&cutDeleteTimer = loadFuncFromLib("cutDeleteTimer"); *cast(void**)&cutStartTimer = loadFuncFromLib("cutStartTimer"); *cast(void**)&cutStopTimer = loadFuncFromLib("cutStopTimer"); *cast(void**)&cutResetTimer = loadFuncFromLib("cutResetTimer"); *cast(void**)&cutGetTimerValue = loadFuncFromLib("cutGetTimerValue"); *cast(void**)&cutGetAverageTimerValue = loadFuncFromLib("cutGetAverageTimerValue"); }
D
/Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/DerivedData/TwilioSyncCollabToDoList/Build/Intermediates.noindex/SwiftMigration/TwilioSyncCollabToDoList/Intermediates.noindex/TwilioSyncCollabToDoList.build/Debug-iphonesimulator/TwilioSyncCollabToDoList.build/Objects-normal/x86_64/SyncManager.o : /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AppDelegate.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/ToDoItem.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/SyncManager.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/ToDoListTableViewController.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AddToDoViewController.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/Utils.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AppConstants.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/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/Firebase/Core/Sources/Firebase.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapItem.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListItem.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMap.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSError.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapPaginator.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListPaginator.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSOpenOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapQueryOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListQueryOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSConstants.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSResult.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TwilioSyncClient.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSDocument.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRCoreSwiftNameSupport.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSList.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/Firebase/Core/Sources/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/DerivedData/TwilioSyncCollabToDoList/Build/Intermediates.noindex/SwiftMigration/TwilioSyncCollabToDoList/Intermediates.noindex/TwilioSyncCollabToDoList.build/Debug-iphonesimulator/TwilioSyncCollabToDoList.build/Objects-normal/x86_64/SyncManager~partial.swiftmodule : /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AppDelegate.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/ToDoItem.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/SyncManager.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/ToDoListTableViewController.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AddToDoViewController.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/Utils.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AppConstants.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/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/Firebase/Core/Sources/Firebase.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapItem.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListItem.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMap.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSError.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapPaginator.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListPaginator.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSOpenOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapQueryOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListQueryOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSConstants.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSResult.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TwilioSyncClient.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSDocument.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRCoreSwiftNameSupport.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSList.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/Firebase/Core/Sources/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/DerivedData/TwilioSyncCollabToDoList/Build/Intermediates.noindex/SwiftMigration/TwilioSyncCollabToDoList/Intermediates.noindex/TwilioSyncCollabToDoList.build/Debug-iphonesimulator/TwilioSyncCollabToDoList.build/Objects-normal/x86_64/SyncManager~partial.swiftdoc : /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AppDelegate.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/ToDoItem.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/SyncManager.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/ToDoListTableViewController.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AddToDoViewController.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/Utils.swift /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/TwilioSyncCollabToDoList/AppConstants.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/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/Firebase/Core/Sources/Firebase.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapItem.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListItem.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMap.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSError.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapPaginator.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListPaginator.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSOpenOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSMapQueryOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSListQueryOptions.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSConstants.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSResult.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TwilioSyncClient.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSDocument.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRCoreSwiftNameSupport.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Headers/TWSList.h /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/Firebase/Core/Sources/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/lizziesiegle/Desktop/programming/ios/TwilioSyncCollabToDoList/Pods/TwilioSyncClient/TwilioSyncClient.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/* * regex.d * * This file contains the logic behind a regular expression parser. * * Author: Dave Wilkinson * Originated: May 9th, 2009 * Inspiration: "Albino 2" by Mark Knight * */ module core.regex; import core.string; import core.definitions; import core.list; import synch.thread; import io.console; import utils.stack; // This provides thread-local access to regex variables set via // Regex groups. uint _position() { if (Thread.getCurrent() in Regex.regexPos) { return Regex.regexPos[Thread.getCurrent()]; } return uint.max; } string _1() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][0]; } return (""); } string _2() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][1]; } return (""); } string _3() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][2]; } return (""); } string _4() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][3]; } return (""); } string _5() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][4]; } return (""); } string _6() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][5]; } return (""); } string _7() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][6]; } return (""); } string _8() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][7]; } return (""); } string _9() { if (Thread.getCurrent() in Regex.regexRefs) { return Regex.regexRefs[Thread.getCurrent()][8]; } return (""); } class Regex { // Description: This constructor will create an instance of a Regex that will efficiently compute the regular expression given. // regex: The regular expression to utilize. this(string regex) { regularExpression = (regex); buildDFA(false); } // Description: This function will return a matched regular expression on the given string. Single use regular expression functions, such as this one, use a backtracking algorithm. // str: The string to run the regular expression upon. // regex: The regular expression to use. // Returns: The matched substring or null when no match could be found. static string eval(string str, string regex, string options = "") { RegexInfo regexInfo; /* static RegexInfo[string] oldRuns; string oldRunIndex = (regex.tostring() ~ "_" ~ options); if (oldRunIndex in oldRuns) { regexInfo = oldRuns[oldRunIndex]; }*/ regexInfo.memoizer = new int[][](str.length, regex.length); int strPos; int regexPos; int currentGroupIdx = -1; int strPosStart; int regexPosStart; int regexGroupStart = int.max; int regexFlagPotential; int nextUnionPos = -1; int currentUnionPos = -1; int currentClassStart; int groupCount; int flags; const int PLUS_OK = 1; const int LAZY_KLEENE = 2; const int KLEENE_MATCHED = 4; bool multiline; foreach(chr; options) { switch(chr) { case 'm': multiline = true; break; default: break; } } // This is a stack of the groupings currently in context. Stack!(int) groupStart = new Stack!(int)(); Stack!(int) stack = new Stack!(int)(); // Running flags bool running = true; bool matchMade = true; bool backtrack = false; bool noMatch = false; bool matchClass = false; bool matchInverse = false; bool matchRange = false; bool noMatchClass = false; bool backtrackedOnCaret = false; regexRefs[Thread.getCurrent()] = new string [](9); // Suppresses group matching until a position is reached. int noMatchUntilClosedAtPos = -1; int noMatchUntilUnionForPos = -1; // This function will set a backtracking point in the regex. void setBacktrack(int newRegexPos, int newStrPos) { stack.push(newRegexPos); stack.push(newStrPos); stack.push(regexGroupStart); stack.push(currentGroupIdx); stack.push(regexFlagPotential); } // This function finds the regex position that will undo the last move. int findBackupRegexPosition() { int ret = regexPos - 1; if (ret in regexInfo.groupInfo) { ret = regexInfo.groupInfo[ret].startPos; } else if (ret < regex.length && regex[ret] == ']' && ret in regexInfo.operatorFlag) { ret = regexInfo.operatorFlag[ret]; } else { if (ret > 0 && regex[ret-1] == '\\') { ret--; } } return ret; } // Like above, but for the working position. int findBackupPosition() { if (regexPos-1 in regexInfo.groupInfo) { return regexInfo.groupInfo[regexInfo.groupInfo[regexPos-1].startPos].strStartPos; } else { return strPos-1; } } // Set a backtrack that will return to the front of both strings. setBacktrack(0,0); // Alright, main loop! This won't be broken until either a match is // found or nothing can be found. while(running) { // This is the mechanics for the memoizer. If a valid match has // been made and the regex positions are valid, set this position // pair in the memoizer indicating we've done this work before. if (strPos < str.length && regexPos < regex.length && matchMade && !noMatch) { if (regexInfo.memoizer[strPos][regexPos] == 1) { // we have been here before backtrack = true; } else { regexInfo.memoizer[strPos][regexPos] = 1; } } // If we are meant to backtrack this turn, this code path is taken. if (backtrack) { // steps are saved after successful matches // therefore the matchMade flag is always set matchMade = true; int oldRegexPos = regexPos; regexFlagPotential = stack.pop(); currentGroupIdx = stack.pop(); regexGroupStart = stack.pop(); strPos = stack.pop(); regexPos = stack.pop(); if (regexPos == 0) { // We have gone back to the beginning... // we could attempt to find a union noMatch = true; noMatchUntilClosedAtPos = -1; noMatchUntilUnionForPos = -1; regexPos = oldRegexPos; } // OMG; Do not want to backtrack twice! backtrack = false; } if (regexPos >= regex.length) { // The regex has been consumed. if (noMatch) { if (noMatchUntilClosedAtPos == -1) { // No union, so just start the regex at the next character in the string. // UNLESS the backtrack happened at a 'caret' character in the regex if (backtrackedOnCaret) { matchMade = false; running = false; break; } strPosStart++; strPos = strPosStart; if (strPosStart >= str.length) { // bad matchMade = false; running = false; continue; } // start from a good state matchMade = true; // turn off find mode noMatch = false; regexPos = 0; // Set the backtrack to point to the start of the regex // with the new working position. setBacktrack(0, strPos); } else { // bad matchMade = false; running = false; } } else if (matchMade) { // good running = false; break; } else { // backtrack //regexPos = findBackupRegexPosition(); //strPos = findBackupPosition(); backtrack = true; } continue; } else if (noMatch && regex[regexPos] == '\\') { regexPos+=2; continue; } else if (noMatch && noMatchClass) { if (regex[regexPos] == ']') { noMatchClass = false; } regexPos++; } else if (noMatch && regex[regexPos] == '[') { // ignore! noMatchClass = true; continue; } else if (regex[regexPos] == '|') { // A union operator. if (currentGroupIdx >= 0) { if (regexInfo.groupInfo[currentGroupIdx].unionPos >= 0) { // the current group already has at least one union // use the current unionPos to append to the list if (!(currentUnionPos in regexInfo.operatorFlag) && regexPos > currentUnionPos) { regexInfo.operatorFlag[currentUnionPos] = regexPos; } } else { // this is the first union of the current group regexInfo.groupInfo[currentGroupIdx].unionPos = regexPos; } if (noMatch && noMatchUntilUnionForPos != -1 && currentGroupIdx == noMatchUntilClosedAtPos) { // turn off find mode noMatch = false; // start from a good state matchMade = true; } else if (matchMade && !noMatch) { // do not take this union // declare this group as good // but set a backtrack just in case // this will start the regular expression search from the next regex // point, but undoing the actions of the group thus far setBacktrack(regexPos+1, regexInfo.groupInfo[currentGroupIdx].strStartPos); if (regexInfo.groupInfo[currentGroupIdx].endPos >= 0) { regexPos = regexInfo.groupInfo[currentGroupIdx].endPos-1; } else { noMatch = true; noMatchUntilClosedAtPos = currentGroupIdx; noMatchUntilUnionForPos = -1; } } else if (!noMatch) { // undo actions strPos = regexInfo.groupInfo[currentGroupIdx].strStartPos; noMatch = false; matchMade = true; } } else { // union operator is in the main regex (top level) // If we are searching for a union to continue a failed search // We will enter the next code path. We have found a top level // union operator. if (noMatch && noMatchUntilClosedAtPos == -1 && noMatchUntilUnionForPos == -1) { // Set the backtrack to point to the start of the regex // with the new working position. setBacktrack(0, strPos); // turn off find mode noMatch = false; // start from a good state matchMade = true; } else if (noMatch && noMatchUntilUnionForPos != -1) { // turn off find mode noMatch = false; // start from a good state matchMade = true; } else if (matchMade) { // accept the regular expression running = false; break; } else { // we start anew, but at this regular expression strPos = strPosStart; } } currentUnionPos = regexPos; regexPos++; } else if (regex[regexPos] == '(' && (matchMade || noMatch) ) { // The start of a grouping. bool isNew; if (!(regexPos in regexInfo.groupInfo)) { GroupInfo newGroup; newGroup.startPos = regexPos; newGroup.endPos = -1; newGroup.strPos = strPos; newGroup.strStartPos = strPos; newGroup.parent = currentGroupIdx; newGroup.unionPos = -1; // This assumes that all groups will be visited // in order from left to right. newGroup.groupId = groupCount; groupCount++; regexInfo.groupInfo[regexPos] = newGroup; isNew = true; } regexInfo.groupInfo[regexPos].strStartPos = strPos; regexInfo.groupInfo[regexPos].strPos = strPos; currentGroupIdx = regexPos; regexPos++; if (regexPos < regex.length - 1 && regex[regexPos] == '?') { switch(regex[regexPos+1]) { case '#': // comments if (regexInfo.groupInfo[currentGroupIdx].endPos > 0) { regexPos = regexInfo.groupInfo[currentGroupIdx].endPos; } else { // find the end of the group, ignoring everything while(regexPos < regex.length && regex[regexPos] != ')') { regexPos++; } // save the result regexInfo.groupInfo[currentGroupIdx].endPos = regexPos; } break; case '>': // atomic grouping break; case ':': // non-capturing if (isNew) { regexInfo.groupInfo[currentGroupIdx].groupId = int.max; groupCount--; } regexPos+=2; break; case '=': // zero-width positive lookahead break; case '!': // zero-width negative lookahead break; case '<': // zero-width lookbehind if (regexPos < regex.length - 3) { if (regex[regexPos+3] == '=') { // positive } else if (regex[regexPos+3] == '!') { // negative } } regexPos+=2; break; default: break; } } } else if (regex[regexPos] == ')') { // A group is ending. if (!(regexPos in regexInfo.groupInfo)) { regexInfo.groupInfo[currentGroupIdx].endPos = regexPos; regexInfo.groupInfo[regexPos] = regexInfo.groupInfo[currentGroupIdx]; if (currentGroupIdx == noMatchUntilClosedAtPos) { noMatch = false; } } if (noMatch && noMatchUntilClosedAtPos == currentGroupIdx) { noMatch = false; } if (matchMade || noMatch) { regexInfo.groupInfo[regexInfo.groupInfo[regexPos].startPos].strPos = strPos; regexGroupStart = regexInfo.groupInfo[regexInfo.groupInfo[regexPos].startPos].groupId; // set consumption string if (!noMatch) { if (regexGroupStart < 9) { string consumed = (str[regexInfo.groupInfo[regexInfo.groupInfo[regexPos].startPos].strStartPos..strPos]); regexRefs[Thread.getCurrent()][regexGroupStart] = consumed; regexGroupStart++; } } } else { // if we can backtrack to make another decision in this group, do so // that would effectively undo moves that this group had made strPos = regexInfo.groupInfo[regexInfo.groupInfo[regexPos].startPos].strPos; //backtrack = true; } currentGroupIdx = regexInfo.groupInfo[regexPos].parent; regexPos++; } else if (noMatch) { regexPos++; } else if (regex[regexPos] == '*') { // Kleene star operator. if (regexPos < regex.length - 1 && regex[regexPos+1] == '?') { // this is a lazy kleene // it may have matched something, but it should ignore the work // for now that it had done and save it as part of the lazy operator if (matchMade) { // set backtrack to do another computation setBacktrack(findBackupRegexPosition(), strPos); //if (!(regexPos in regexInfo.operatorFlag)) { if (regexFlagPotential < regexPos) { // we have made a match, but have not attempted // to try not matching anything first // set the flag so that this operator knows that it has // already found a match regexInfo.operatorFlag[regexPos] = strPos; regexFlagPotential = regexPos; // set backtrack to start where this one would have // continued to setBacktrack(regexPos+2, strPos); // and then start all over by assuming nothing is taken strPos = findBackupPosition(); regexPos+=2; } else { // we have already found a match // just continue on our way regexPos+=2; } } else { // the group fails, it is ok matchMade = true; regexPos+=2; } } else if (matchMade) { // this is a greedy kleene // the backtrack will suggest to just go to the next regex // character at this same string. this computation path, // however, will be attempting to match the previous group // as much as possible // we need to set a backtrack for having not matched anything even though // something was just matched. It could be that what we matched belongs to // another section of the regex. if (!(regexPos in regexInfo.operatorFlag) || regexFlagPotential < regexPos) { // set a backtrack for having nothing found setBacktrack(regexPos+1,findBackupPosition()); } regexInfo.operatorFlag[regexPos] = 1; setBacktrack(regexPos+1, strPos); regexPos--; if (regexPos in regexInfo.groupInfo) { regexPos = regexInfo.groupInfo[regexPos].startPos; currentGroupIdx = regexPos; } else if (regexPos < regex.length && regex[regexPos] == ']' && regexPos in regexInfo.operatorFlag) { regexPos = regexInfo.operatorFlag[regexPos]; } else { if (regexPos > 0 && regex[regexPos-1] == '\\') { regexPos--; } } } else { // it is ok matchMade = true; regexPos++; } } else if (regex[regexPos] == '+') { // Kleene plus operator. if (regexPos < regex.length - 1 && regex[regexPos+1] == '?') { // this is a lazy kleene if (matchMade) { // good, continue and set a backtrack to attempt another // match on this kleene // set the flag so that this operator knows that it has // already found a match regexInfo.operatorFlag[regexPos] = 1; regexFlagPotential = regexPos; // set the backtrace int newRegexPos = regexPos+2; regexPos--; if (regexPos in regexInfo.groupInfo) { regexPos = regexInfo.groupInfo[regexPos].startPos; currentGroupIdx = regexPos; } else if (regexPos < regex.length && regex[regexPos] == ']' && regexPos in regexInfo.operatorFlag) { regexPos = regexInfo.operatorFlag[regexPos]; } else { if (regexPos > 0 && regex[regexPos-1] == '\\') { regexPos--; } } setBacktrack(regexPos, strPos); regexPos = newRegexPos; } else { if (regexFlagPotential < regexPos) { // we have not found any matches at all // fail the op //regexPos = findBackupRegexPosition(); //strPos = findBackupPosition(); backtrack = true; continue; } else { // it is ok, we found at least one matchMade = true; regexPos+=2; } } } else if (matchMade) { // this is a greedy kleene // the backtrack will suggest to just go to the next regex // character at this same string. this computation path, // however, will be attempting to match the previous group // as much as possible setBacktrack(regexPos+1, strPos); // set the flag so that this operator knows that it has // already found a match regexInfo.operatorFlag[regexPos] = 1; regexFlagPotential = regexPos; regexPos--; if (regexPos in regexInfo.groupInfo) { regexPos = regexInfo.groupInfo[regexPos].startPos; currentGroupIdx = regexPos; } else if (regexPos < regex.length && regex[regexPos] == ']' && regexPos in regexInfo.operatorFlag) { regexPos = regexInfo.operatorFlag[regexPos]; } else { if (regexPos > 0 && regex[regexPos-1] == '\\') { regexPos--; } } } else { // it is ok if (regexPos in regexInfo.operatorFlag && regexFlagPotential >= regexPos) { // good matchMade = true; regexPos++; } else { // fail the op //regexPos = findBackupRegexPosition(); //strPos = findBackupPosition(); backtrack = true; continue; } } } else if (regex[regexPos] == '?') { // option regexPos++; if (regexPos < regex.length && regex[regexPos] == '?') { // lazy option regexPos++; if (matchMade) { // unfortunately, this work that has been done // has been done in vain. We want to attempt to // not consume this option. // set the backtrack to backtrack to the current // situation (taking the option) setBacktrack(regexPos, strPos); // now, attempt to carry on to the next part of // the regex while undoing the last group strPos = findBackupPosition(); } else { // very good, only one possible outcome: no match matchMade = true; } } else if (matchMade) { // greedy option // backtrack to not taking the option setBacktrack(regexPos, findBackupPosition()); } else { // greedy option matchMade = true; } } else if (!matchMade) { // the group fails if a concatenation fails if (currentGroupIdx >= 0) { int curUnionPos = -1; if (regexInfo.groupInfo[currentGroupIdx].unionPos >= 0) { curUnionPos = regexInfo.groupInfo[currentGroupIdx].unionPos; while(curUnionPos < regexPos && curUnionPos in regexInfo.operatorFlag) { curUnionPos = regexInfo.operatorFlag[curUnionPos]; } if (curUnionPos < regexPos) { curUnionPos = -1; } } strPos = regexInfo.groupInfo[currentGroupIdx].strStartPos; if (curUnionPos >= 0) { regexPos = curUnionPos; } else if (regexInfo.groupInfo[currentGroupIdx].endPos >= 0) { regexPos = regexInfo.groupInfo[currentGroupIdx].endPos; } else { // need to find either a union for this group // or the group end noMatch = true; noMatchUntilClosedAtPos = currentGroupIdx; noMatchUntilUnionForPos = currentGroupIdx; } } else { backtrack = true; continue; } } else if (regex[regexPos] == '$') { // dollar anchor if (strPos == str.length || str[strPos] == '\n' || str[strPos] == '\r') { matchMade = true; } else { //regexPos = findBackupRegexPosition(); //strPos = findBackupPosition(); backtrack = true; continue; } regexPos++; } else if (regex[regexPos] == '^') { // caret anchor if (multiline) { if (strPos == 0 || str[strPos-1] == '\n' || str[strPos-1] == '\r') { matchMade = true; } else { // Multiline option: backtrack = true; continue; } } else { if (strPos == 0) { matchMade = true; } else { backtrackedOnCaret = true; // Nonmultiline option: backtrack = true; continue; } } regexPos++; } else if (((regexPos + 1) < regex.length) && (regex[regexPos] == '\\') && (regex[regexPos+1] == 'b')) { // word boundary anchor // Check for boundary if (strPos == 0) { // Anchored to the beginning of the string // The first character should be a word character if ( (str[strPos] >= 'a' && str[strPos] <= 'z') || (str[strPos] >= 'A' && str[strPos] <= 'Z') || (str[strPos] >= '0' && str[strPos] <= '9') || (str[strPos] == '_')) { matchMade = true; } else { backtrack = true; continue; } } else if ((strPos == str.length) && (str.length > 0)) { // Anchored at end of string matchMade = true; // The last character should be a word character if ( (str[strPos-1] >= 'a' && str[strPos-1] <= 'z') || (str[strPos-1] >= 'A' && str[strPos-1] <= 'Z') || (str[strPos-1] >= '0' && str[strPos-1] <= '9') || (str[strPos-1] == '_')) { matchMade = true; } else { backtrack = true; continue; } } else { // It is between two characters // One or the other (exclusive) should be a word character bool firstWordCharacter = false; if ( (str[strPos-1] >= 'a' && str[strPos-1] <= 'z') || (str[strPos-1] >= 'A' && str[strPos-1] <= 'Z') || (str[strPos-1] >= '0' && str[strPos-1] <= '9') || (str[strPos-1] == '_')) { firstWordCharacter = true; } if ( (str[strPos] >= 'a' && str[strPos] <= 'z') || (str[strPos] >= 'A' && str[strPos] <= 'Z') || (str[strPos] >= '0' && str[strPos] <= '9') || (str[strPos] == '_')) { if (!firstWordCharacter) { matchMade = true; } else { backtrack = true; continue; } } else if (firstWordCharacter) { matchMade = true; } else { backtrack = true; continue; } } regexPos+=2; } else { // concatentation if (regex[regexPos] == '[') { currentClassStart = regexPos; matchClass = true; regexPos++; if (regexPos < regex.length && regex[regexPos] == '^') { matchInverse = true; regexPos++; } else { matchInverse = false; } // cancel when we run out of space if (regexPos == regex.length) { continue; } } do { if (matchClass && regex[regexPos] == ']') { regexInfo.operatorFlag[currentClassStart] = regexPos; regexInfo.operatorFlag[regexPos] = currentClassStart; if (matchInverse && !matchMade) { matchMade = true; matchInverse = false; } matchClass = false; } else if (matchClass && regexPos < regex.length - 1 && regex[regexPos+1] == '-') { // character class range, use the last character // and build a range of possible values matchRange = true; regexPos+=2; continue; } else if (matchRange) { matchMade = strPos < str.length && str[strPos] >= regex[regexPos-2] && str[strPos] <= regex[regexPos]; // no more ranges! matchRange = false; } else if (regex[regexPos] == '\\' && regexPos < regex.length-1) { regexPos++; if (strPos >= str.length) { matchMade = false; } else { switch(regex[regexPos]) { case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': int refIndex = cast(uint)regex[regexPos] - cast(uint)'1'; // forward and backward references if (Thread.getCurrent() in regexRefs) { if (regexRefs[Thread.getCurrent()][refIndex] !is null) { matchMade = true; foreach(int i, chr; regexRefs[Thread.getCurrent()][refIndex]) { if (strPos >= str.length) { matchMade = false; break; } if (str[strPos] != chr) { matchMade = false; break; } strPos++; } if (matchMade) { strPos--; } } else { matchMade = false; } } else { matchMade = false; } break; case 'd': matchMade = (str[strPos] >= '0' && str[strPos] <= '9'); break; case 'D': matchMade = !(str[strPos] >= '0' && str[strPos] <= '9'); break; case 's': matchMade = (str[strPos] == ' ' || str[strPos] == '\t' || str[strPos] == '\r' || str[strPos] == '\n' || str[strPos] == '\v' || str[strPos] == '\f'); break; case 'S': matchMade = (str[strPos] != ' ' && str[strPos] != '\t' && str[strPos] != '\r' && str[strPos] != '\n' && str[strPos] != '\v' && str[strPos] != '\f'); break; case 'w': matchMade = (str[strPos] == '_' || (str[strPos] >= 'a' && str[strPos] <= 'z') || (str[strPos] >= 'A' && str[strPos] <= 'Z')); break; case 'W': matchMade = (str[strPos] != '_' && (str[strPos] < 'a' || str[strPos] > 'z') && (str[strPos] < 'A' || str[strPos] > 'Z')); break; case 'b': // backspace matchMade = str[strPos] == '\b'; break; case 'n': // newline matchMade = str[strPos] == '\n'; break; case 'e': // escape matchMade = str[strPos] == '\x1b'; break; case 'v': matchMade = str[strPos] == '\v'; break; case 't': matchMade = str[strPos] == '\t'; break; case 'r': matchMade = str[strPos] == '\r'; break; case 'a': matchMade = str[strPos] == '\a'; break; case '0': matchMade = str[strPos] == '\0'; break; case '\0': matchMade = str[strPos] == '\0'; break; default: matchMade = str[strPos] == regex[regexPos]; break; } } } else if (regexPos < regex.length && strPos < str.length && ((str[strPos] == regex[regexPos]) || (!matchClass && regex[regexPos] == '.' && str[strPos] != '\n' && str[strPos] != '\r'))) { // match made matchMade = true; } else { // no match made matchMade = false; } if ((matchMade && matchInverse) || (matchInverse && strPos >= str.length)) { matchMade = false; break; } if (matchClass && !matchMade && regexPos < regex.length) { regexPos++; continue; } break; } while (true); matchRange = false; matchInverse = false; if (matchClass) { matchClass = false; if (currentClassStart in regexInfo.operatorFlag) { regexPos = regexInfo.operatorFlag[currentClassStart]; } else { // dang, need to search for it regexPos++; for(;regexPos < regex.length && regex[regexPos] != ']'; regexPos++) { if (regex[regexPos] == '\\') { regexPos++; } } if (regexPos >= regex.length) { continue; } regexInfo.operatorFlag[currentClassStart] = regexPos; regexInfo.operatorFlag[regexPos] = currentClassStart; } } if (matchMade) { // consume input string strPos++; } // consume regexPos++; } } // Null out any outstanding groups if (Thread.getCurrent() in regexRefs) { for( ; regexGroupStart < 9 ; regexGroupStart++ ) { // regexRefs[Thread.getCurrent()][regexGroupStart] // = null; } } /* if (!(oldRunIndex in oldRuns)) { oldRuns[oldRunIndex] = regexInfo; }*/ // Return the result if (matchMade && strPosStart <= str.length) { if (strPos-strPosStart == 0) { return (""); } // Save the position where the string was consumed this.regexPos[Thread.getCurrent()] = strPosStart; // Slice and return the consumed string return str.substring(strPosStart, strPos-strPosStart); } return null; } // Description: This function will return a matched regular expression on the given string. Instances of a Regex will use a DFA based approach. // str: The string to run the regular expression upon. // Returns: The matched substring or null when no match could be found. string eval(string str) { State currentState = startingState; uint strPos; uint startingStrPos; State acceptState; uint acceptStrEnd; dchar chr; for (strPos = startingStrPos; strPos < str.length; strPos++) { // Console.putln("starting ... ", startingStrPos); chr = str[strPos]; // Console.putln("chr ... ", str[strPos]); if (chr in currentState.transitions) { // Take transition //Console.putln("taking transition ", chr, " from ", currentState.id, " to ", currentState.transitions[chr].id); currentState = currentState.transitions[chr]; if (currentState.accept) { //Console.putln("found accept at ", strPos, " from ", startingStrPos); acceptStrEnd = strPos + 1; acceptState = currentState; } } else { // No transition if (acceptStrEnd > startingStrPos) { Console.putln("Leaving Early"); strPos = acceptStrEnd; currentState = acceptState; } // Is this an accept state? if (currentState.accept) { break; } // Start over if (startingStrPos >= str.length) { // No more to search return null; } // Next turn, strPos will be startingStrPos + 1 // (because of loop iteration) strPos = startingStrPos; // We are sliding down the string by one character startingStrPos++; // We go back to the beginning currentState = startingState; } } if (acceptStrEnd > startingStrPos) { Console.putln("Leaving Early"); strPos = acceptStrEnd; currentState = acceptState; } // Return consumed string if (currentState.accept) { return str.substring(startingStrPos, strPos - startingStrPos); } // No match return null; } protected: // These instance variables contain the data structures // that will build and maintain the DFA for the regular expression // Holds the regular expression for the instance string regularExpression; // For DFA regex operations class Link { State from; dchar transition; } static class State { State[dchar] transitions; // List!(Group) groupStarts; // List!(Group) groupEnds; List!(dchar) backwardList; List!(Link) incomingList; bool accept; int id; this() { this(count); } this(int id) { this.id = id; backwardList = new List!(dchar); incomingList = new List!(Link); debugThis(); } // Debugging block static int count = 0; static List!(State) all; static this() { all = new List!(State); } void debugThis() { count++; all.add(this); } string tostring() { string ret = "State " ~ toStr(id) ~ ": ["; if (accept) { ret ~= "A] "; } else { ret ~= " ] "; } foreach(key; transitions.keys) { if (transitions[key].id <= id) { ret ~= toStr(key) ~ "<>" ~ toStr(transitions[key].id) ~ " "; } else { ret ~= toStr(key) ~ "->" ~ toStr(transitions[key].id) ~ " "; } } return ret; } static void printall() { foreach(state; all) { Console.putln(state); } } } State startingState; void buildDFA(bool useDFARules = false) { _DFARules = useDFARules; // Go through the regular expression and build the DFAs startingState = buildDFA(regularExpression); } private: bool _DFARules; struct DFAGroupInfo { bool hasKleene; int endPos; } DFAGroupInfo[int] _groupInfo; void fillGroupInfo() { _groupInfo = null; dchar ch; List!(int) groupStack = new List!(int); for (uint i; i < regularExpression.length; i++) { Console.putln("foo ", i); ch = regularExpression[i]; switch (ch) { case '\0': return; case '\\': i++; continue; case '(': groupStack.add(cast(int)i); DFAGroupInfo dgi; _groupInfo[i] = dgi; break; case ')': int startPos = groupStack.remove(); if (startPos in _groupInfo) { _groupInfo[startPos].endPos = i; if ((i + 1 < regularExpression.length) && regularExpression[i+1] == '*') { Console.putln("HAS KLEENE"); _groupInfo[startPos].hasKleene = true; i++; } } break; default: if (groupStack.empty()) { Console.putln("NULLED"); _groupInfo = null; } break; } } } State buildDFA(string regex) { fillGroupInfo(); uint regexPos = 0; List!(State) current = new List!(State); return buildDFA(regex, regexPos, current); } State buildDFA(string regex, ref uint regexPos, ref List!(State) current, bool isKleene = false) { State startState = new State(); Console.putln("Start State: ", startState.id); uint groupPos = regexPos - 1; dchar lastChar = '\0'; dchar thisChar; dchar lastConcatChar = '\0'; enum Operation { None, Kleene, Concat } Operation lastOp = Operation.None; List!(State) old = current.dup(); current.add(startState); if (regexPos < regex.length) { lastChar = regex[regexPos]; if (lastChar == '*') { // error } else if (lastChar == '(') { // group regexPos++; buildDFA(regex, regexPos, current); if (regex[regexPos] == '*') { Console.putln("Inner Group Kleened"); lastOp = Operation.Kleene; } } else { lastConcatChar = lastChar; } regexPos++; } while (regexPos <= regex.length) { if (regexPos == regex.length) { thisChar = '\0'; } else { thisChar = regex[regexPos]; } if (thisChar == '*') { // Kleene Star //Console.putln("Kleene (", lastChar, ")"); if (lastChar == ')') { Console.putln("Kleene Group End, connecting ", lastConcatChar, " to ", startState.id); foreach(state; current) { State ret = concat(state, lastConcatChar, startState); if (ret is startState && startState.id <= state.id) { state.backwardList.add(lastConcatChar); Link link = new Link(); link.from = state; link.transition = lastConcatChar; startState.incomingList.add(link); } } old.add(startState); current = old; State.printall(); return startState; } else { // Single Character Kleene // ex. "a*" => [p] -> 'a' -> [p] Console.putln("Single Character Kleene (", lastConcatChar, ")"); List!(State) newStateList = current.dup; State loopState; foreach(state; current) { if (state.backwardList.empty) { while (lastConcatChar in state.transitions) { state = concat(state, lastConcatChar, state); } state.transitions[lastConcatChar] = state; state.backwardList.add(lastConcatChar); } else { if (loopState is null) { loopState = new State(); loopState.transitions[lastConcatChar] = loopState; loopState.backwardList.add(lastConcatChar); } State ret = concat(state, lastConcatChar, loopState); } } current = newStateList; if (loopState !is null) { current.add(loopState); } //Console.putln("Done Single Character Kleene (", lastConcatChar, ")"); } lastOp = Operation.Kleene; lastConcatChar = '\0'; } else { // concatenation if (lastConcatChar != '\0' && thisChar != ')') { Console.putln("-=-=-=-=-"); Console.putln("boo: ", lastOp == Operation.Kleene); State concatState; List!(State) newStateList = new List!(State); foreach(state; current) { State ret = concat(state, lastConcatChar, concatState, lastOp == Operation.Kleene); if (ret !is concatState && ret !is null) { newStateList.add(ret); } } if (concatState !is null) { newStateList.add(concatState); } current = newStateList; Console.putln("Concat Character (", lastConcatChar, ")"); State.printall(); Console.putln("-=-=-=-=-"); foreach(state; current) { Console.put(state.id, " ... "); } Console.putln; lastOp = Operation.Concat; } if (thisChar == '(') { // group start Console.putln("Inner Group Found"); regexPos+=1; buildDFA(regex, regexPos, current, false); if (regex[regexPos] == '*') { Console.putln("Inner Group Kleened"); lastOp = Operation.Kleene; } lastConcatChar = '\0'; } else if (thisChar != ')') { lastConcatChar = thisChar; } } //Console.putln("lastChar = ", thisChar); lastChar = thisChar; regexPos++; } foreach(state; current) { isolate(state); state.accept = true; } Console.putln("Done"); State.printall(); return startState; } State concat(State start, dchar transition, ref State to, bool doNotUnroll = false) { if (to !is null) { Console.putln(start.id, " to ", to.id); } else { Console.putln(start.id, " to null"); } if ((to is null) || (to.id > start.id)) { if (!doNotUnroll) { isolate(start); unroll(start); isolate(start); } } if (transition in start.transitions) { return start.transitions[transition]; } else { if (to is null) { to = new State(); } start.transitions[transition] = to; } return to; } void unroll(State state) { Console.putln("unrolling ", state.id); foreach(backwardTrans; state.backwardList) { State newState = new State(); State destState = state.transitions[backwardTrans]; state.transitions[backwardTrans] = newState; foreach(transition; destState.transitions.keys) { State toState = destState.transitions[transition]; newState.transitions[transition] = toState; newState.backwardList.add(transition); Link link = new Link(); link.from = newState; link.transition = transition; toState.incomingList.add(link); /* if (toState is state) { Link link = new Link(); link.from = newState; link.transition = transition; state.incomingList.add(link); } */ } } state.backwardList = new List!(dchar); } void isolate(State state) { Console.putln("isolating ", state.id); foreach(link; state.incomingList) { unroll(link.from); } state.incomingList = new List!(Link); } public static void test() { } static void my_unroll(State state, dchar chr) { } // Common static string[][Thread] regexRefs; static uint[Thread] regexPos; // For backtracking regex operations struct GroupInfo { int startPos; int endPos; int strStartPos; int strPos; int parent; int unionPos; int groupId; } struct RegexInfo { // This hash table contains information about a grouping // for a specific position in the regex. GroupInfo[int] groupInfo; // This hash table contains information that aids operators // for a specific position in the regex. int[int] operatorFlag; // This structure hopes to minimize work already done by merely setting // a flag whenever a position in each string is reached. Since this // denotes that the regex will be parsing from the same state, and the // regex is pure, it will not have to repeat the work. int[][] memoizer; } }
D
marked by precise accordance with details marked by extreme care in treatment of details
D
module game.groupmember; import d2d; import game.player; import game.npc; import std.random; class GroupMember : NPC { Player follow; float followTime = -1; float targetRotation = 0; bool walkTarget = false; this(Player follow) { super(); this.follow = follow; pos = vec2(follow.x, follow.y); tex = new Texture("res/tex/group.png", TextureFilterMode.Nearest, TextureFilterMode.Nearest); rect = RectangleShape.create(tex, vec2(0, 0), vec2(64, 64)); rect.origin = vec2(32, 32); } override void update(float delta) { speakTime -= delta; if (speakTime < -1) speakTime = -1; if (uniform(0, 10) == 0 && (vec2(follow.x, follow.y) - pos).length_squared > 400 * 400) followTime += 0.3f; if (followTime > 0) { if ((vec2(follow.x, follow.y) - pos).length_squared < 100 * 100) followTime = 0; float direction = atan2(follow.x - pos.x, follow.y - pos.y); rotation = direction; pos += vec2(sin(direction), cos(direction)) * 2; followTime -= delta; } else if (uniform(0, 160) == 0 && !walkTarget) { walkTarget = true; targetRotation = uniform(-3.1415926f, 3.1415926f); rotation = targetRotation; } else if (walkTarget) { pos += vec2(sin(targetRotation), cos(targetRotation)) * 2; if (uniform(0, 80) == 0) walkTarget = false; } } }
D
/* * Copyright (c) 2004-2009 Derelict Developers * 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. * * * Neither the names 'Derelict', 'DerelictGL', nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 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 COPYRIGHT OWNER OR * 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 derelict.opengl.extension.ext.blend_minmax; private { import derelict.opengl.gltypes; import derelict.opengl.gl; import derelict.opengl.extension.loader; import derelict.util.wrapper; } private bool enabled = false; struct EXTBlendMinmax { static bool load(char[] extString) { if(extString.findStr("GL_EXT_blend_minmax") == -1) return false; if(!glBindExtFunc(cast(void**)&glBlendEquationEXT, "glBlendEquationEXT")) return false; enabled = true; return true; } static bool isEnabled() { return enabled; } } version(DerelictGL_NoExtensionLoaders) { } else { static this() { DerelictGL.registerExtensionLoader(&EXTBlendMinmax.load); } } enum : GLenum { GL_FUNC_ADD_EXT = 0x8006, GL_MIN_EXT = 0x8007, GL_MAX_EXT = 0x8008, GL_BLEND_EQUATION_EXT = 0x8009, } extern(System) { void function(GLenum) glBlendEquationEXT; }
D
# FIXED cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_examples_Cpu1/cla_iir2p2z/cpu01/cla_iir2p2z_cpu01.c cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F28x_Project.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Cla_typedefs.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_device.h cla_iir2p2z_cpu01.obj: C:/ti/c2000_15.12.3.LTS/include/assert.h cla_iir2p2z_cpu01.obj: C:/ti/c2000_15.12.3.LTS/include/linkage.h cla_iir2p2z_cpu01.obj: C:/ti/c2000_15.12.3.LTS/include/stdarg.h cla_iir2p2z_cpu01.obj: C:/ti/c2000_15.12.3.LTS/include/stdbool.h cla_iir2p2z_cpu01.obj: C:/ti/c2000_15.12.3.LTS/include/stddef.h cla_iir2p2z_cpu01.obj: C:/ti/c2000_15.12.3.LTS/include/stdint.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_adc.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_analogsubsys.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_cla.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_cmpss.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_cputimer.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_dac.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_dcsm.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_dma.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_ecap.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_emif.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_epwm.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_epwm_xbar.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_eqep.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_flash.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_gpio.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_i2c.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_input_xbar.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_ipc.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_mcbsp.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_memconfig.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_nmiintrupt.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_output_xbar.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_piectrl.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_pievect.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_sci.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_sdfm.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_spi.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_sysctrl.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_upp.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_xbar.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_xint.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Examples.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_GlobalPrototypes.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_cputimervars.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Cla_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_EPwm_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Adc_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Emif_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Gpio_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_I2c_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Ipc_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Pie_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Dma_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_SysCtrl_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Upp_defines.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_defaultisr.h cla_iir2p2z_cpu01.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_examples_Cpu1/cla_iir2p2z/cpu01/cla_iir2p2z_shared.h C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_examples_Cpu1/cla_iir2p2z/cpu01/cla_iir2p2z_cpu01.c: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F28x_Project.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Cla_typedefs.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_device.h: C:/ti/c2000_15.12.3.LTS/include/assert.h: C:/ti/c2000_15.12.3.LTS/include/linkage.h: C:/ti/c2000_15.12.3.LTS/include/stdarg.h: C:/ti/c2000_15.12.3.LTS/include/stdbool.h: C:/ti/c2000_15.12.3.LTS/include/stddef.h: C:/ti/c2000_15.12.3.LTS/include/stdint.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_adc.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_analogsubsys.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_cla.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_cmpss.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_cputimer.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_dac.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_dcsm.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_dma.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_ecap.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_emif.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_epwm.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_epwm_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_eqep.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_flash.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_gpio.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_i2c.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_input_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_ipc.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_mcbsp.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_memconfig.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_nmiintrupt.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_output_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_piectrl.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_pievect.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_sci.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_sdfm.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_spi.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_sysctrl.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_upp.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_xint.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Examples.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_GlobalPrototypes.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_cputimervars.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Cla_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_EPwm_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Adc_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Emif_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Gpio_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_I2c_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Ipc_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Pie_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Dma_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_SysCtrl_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_Upp_defines.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/include/F2837xD_defaultisr.h: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_examples_Cpu1/cla_iir2p2z/cpu01/cla_iir2p2z_shared.h:
D
/Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/Permission.o : /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnectionDelegateBridge.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFURL.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKURL.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolving.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLink.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFTask.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkNavigation.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkReturnToRefererController.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKWebViewAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/Bolts.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkTarget.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMeasurementEvent.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkReturnToRefererView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/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/WebKit.framework/Headers/WebKit.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/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/Permission~partial.swiftmodule : /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnectionDelegateBridge.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFURL.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKURL.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolving.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLink.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFTask.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkNavigation.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkReturnToRefererController.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKWebViewAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/Bolts.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkTarget.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMeasurementEvent.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkReturnToRefererView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/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/WebKit.framework/Headers/WebKit.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/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/Permission~partial.swiftdoc : /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnectionDelegateBridge.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFURL.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKURL.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolving.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLink.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFTask.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkNavigation.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkReturnToRefererController.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKWebViewAppLinkResolver.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/Common/Bolts.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkTarget.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMeasurementEvent.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkReturnToRefererView.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/Home/Desktop/iOS/TrueGrowthSF2/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/Home/Desktop/iOS/TrueGrowthSF2/DerivedData/TrueGrowthSF2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/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/WebKit.framework/Headers/WebKit.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
// REQUIRED_ARGS: -w // 4375: Dangling else static if (true) static if (false) struct G1 {} else struct G2 {}
D
a person who passes by casually or by chance a person who passes as a member of a different ethnic or racial group a student who passes an examination (football) a ball carrier who tries to gain ground by throwing a forward pass type genus of the Passeridae
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; void main() { auto N = readln.chomp.to!int; auto X = readln.split.map!(to!int).array; auto mem = new real[](1 << 16); mem.fill(-1); real dfs(int mask) { if (mem[mask] >= 0) return mem[mask]; if (mask == 0) return 0; real ret = 1L << 59; foreach (i; 1..15) { int b = (mask & (0b111 << (i - 1))) >> (i - 1); int nmask = mask & ~(0b111 << (i - 1)); real tmp = 1L << 59; if (b == 0b111) { tmp = dfs(nmask | (0b011 << (i - 1))) / 3 + dfs(nmask | (0b101 << (i - 1))) / 3 + dfs(nmask | (0b110 << (i - 1))) / 3 + 1; } else if (b == 0b011) { tmp = dfs(nmask | (0b001 << (i - 1))) / 2 + dfs(nmask | (0b010 << (i - 1))) / 2 + 1.5L; } else if (b == 0b101) { tmp = dfs(nmask | (0b001 << (i - 1))) / 2 + dfs(nmask | (0b100 << (i - 1))) / 2 + 1.5L; } else if (b == 0b110) { tmp = dfs(nmask | (0b010 << (i - 1))) / 2 + dfs(nmask | (0b100 << (i - 1))) / 2 + 1.5L; } else if (b.popcnt == 1) { tmp = dfs(nmask) + 3.0L; } ret = min(ret, tmp); } mem[mask] = ret; return ret; } int mask = 0; foreach (x; X) mask |= (1 << x); writefln("%.9f", dfs(mask)); }
D
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.build/Base64.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Base64.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Convenience.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Hash.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Parser.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Serializer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/BCryptError.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Keys.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Salt.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Export.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.build/Base64~partial.swiftmodule : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Base64.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Convenience.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Hash.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Parser.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Serializer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/BCryptError.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Keys.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Salt.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Export.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/BCrypt.build/Base64~partial.swiftdoc : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Base64.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Convenience.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Hash.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Parser.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Serializer.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/BCryptError.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Keys.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Salt.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Export.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.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
/Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.build/Objects-normal/x86_64/ElementsEqual.o : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expression.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Nimble/Nimble-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Nimble.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.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/Library/Frameworks/XCTest.framework/Headers/XCTest.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/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.build/Objects-normal/x86_64/ElementsEqual~partial.swiftmodule : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expression.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Nimble/Nimble-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Nimble.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.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/Library/Frameworks/XCTest.framework/Headers/XCTest.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/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.build/Objects-normal/x86_64/ElementsEqual~partial.swiftdoc : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expression.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/DSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Nimble/Nimble-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Nimble.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.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/Library/Frameworks/XCTest.framework/Headers/XCTest.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
/home/unknown/Documents/trithemius-master/PRiVYCHAT/target/release/deps/slog_term-e00b0a03bdf700fb.rmeta: /home/unknown/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-term-2.6.0/src/lib.rs /home/unknown/Documents/trithemius-master/PRiVYCHAT/target/release/deps/libslog_term-e00b0a03bdf700fb.rlib: /home/unknown/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-term-2.6.0/src/lib.rs /home/unknown/Documents/trithemius-master/PRiVYCHAT/target/release/deps/slog_term-e00b0a03bdf700fb.d: /home/unknown/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-term-2.6.0/src/lib.rs /home/unknown/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-term-2.6.0/src/lib.rs:
D
/Users/hao/Code/substrate/course/lesson_1/pallets/template/target/rls/debug/deps/libthiserror_impl-422ab7b10daae52d.dylib: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/lib.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/ast.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/attr.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/expand.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/fmt.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/prop.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/valid.rs /Users/hao/Code/substrate/course/lesson_1/pallets/template/target/rls/debug/deps/thiserror_impl-422ab7b10daae52d.d: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/lib.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/ast.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/attr.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/expand.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/fmt.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/prop.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/valid.rs /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/lib.rs: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/ast.rs: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/attr.rs: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/expand.rs: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/fmt.rs: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/prop.rs: /Users/hao/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/valid.rs:
D
/home/jcawl/code/learn_rust/crates_programs/time_crate/target/debug/deps/time_crate-cddb1143b24a0b3f.rmeta: src/main.rs /home/jcawl/code/learn_rust/crates_programs/time_crate/target/debug/deps/time_crate-cddb1143b24a0b3f.d: src/main.rs src/main.rs:
D
instance Mil_330_Miliz(Npc_Default) { name[0] = NAME_Miliz; guild = GIL_MIL; id = 330; voice = 7; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,3); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_1h_Mil_Sword); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_Mordrag,BodyTex_N,ITAR_TOWNGUARD); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Militia.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,40); daily_routine = Rtn_Start_330; }; func void Rtn_Start_330() { TA_Practice_Sword(7,0,21,1,"NW_CITY_HABOUR_KASERN_CENTRE_03"); TA_Smalltalk(21,1,0,0,"NW_CITY_KASERN_BARRACK02_02"); TA_Sleep(0,0,7,0,"NW_CITY_BARRACK01_BED_06"); };
D
// Written in the D programming language. /** This module defines the notion of a range. Ranges generalize the concept of arrays, lists, or anything that involves sequential access. This abstraction enables the same set of algorithms (see $(LINK2 std_algorithm.html, mystd.algorithm)) to be used with a vast variety of different concrete types. For example, a linear search algorithm such as $(LINK2 std_algorithm.html#find, mystd.algorithm.find) works not just for arrays, but for linked-lists, input files, incoming network data, etc. For more detailed information about the conceptual aspect of ranges and the motivation behind them, see Andrei Alexandrescu's article $(LINK2 http://www.informit.com/articles/printerfriendly.aspx?p=1407357&rll=1, $(I On Iteration)). This module defines several templates for testing whether a given object is a _range, and what kind of _range it is: $(BOOKTABLE , $(TR $(TD $(D $(LREF isInputRange))) $(TD Tests if something is an $(I input _range), defined to be something from which one can sequentially read data using the primitives $(D front), $(D popFront), and $(D empty). )) $(TR $(TD $(D $(LREF isOutputRange))) $(TD Tests if something is an $(I output _range), defined to be something to which one can sequentially write data using the $(D $(LREF put)) primitive. )) $(TR $(TD $(D $(LREF isForwardRange))) $(TD Tests if something is a $(I forward _range), defined to be an input _range with the additional capability that one can save one's current position with the $(D save) primitive, thus allowing one to iterate over the same _range multiple times. )) $(TR $(TD $(D $(LREF isBidirectionalRange))) $(TD Tests if something is a $(I bidirectional _range), that is, a forward _range that allows reverse traversal using the primitives $(D back) and $(D popBack). )) $(TR $(TD $(D $(LREF isRandomAccessRange))) $(TD Tests if something is a $(I random access _range), which is a bidirectional _range that also supports the array subscripting operation via the primitive $(D opIndex). )) ) A number of templates are provided that test for various _range capabilities: $(BOOKTABLE , $(TR $(TD $(D $(LREF hasMobileElements))) $(TD Tests if a given _range's elements can be moved around using the primitives $(D moveFront), $(D moveBack), or $(D moveAt). )) $(TR $(TD $(D $(LREF ElementType))) $(TD Returns the element type of a given _range. )) $(TR $(TD $(D $(LREF ElementEncodingType))) $(TD Returns the encoding element type of a given _range. )) $(TR $(TD $(D $(LREF hasSwappableElements))) $(TD Tests if a _range is a forward _range with swappable elements. )) $(TR $(TD $(D $(LREF hasAssignableElements))) $(TD Tests if a _range is a forward _range with mutable elements. )) $(TR $(TD $(D $(LREF hasLvalueElements))) $(TD Tests if a _range is a forward _range with elements that can be passed by reference and have their address taken. )) $(TR $(TD $(D $(LREF hasLength))) $(TD Tests if a given _range has the $(D length) attribute. )) $(TR $(TD $(D $(LREF isInfinite))) $(TD Tests if a given _range is an $(I infinite _range). )) $(TR $(TD $(D $(LREF hasSlicing))) $(TD Tests if a given _range supports the array slicing operation $(D R[x..y]). )) $(TR $(TD $(D $(LREF walkLength))) $(TD Computes the length of any _range in O(n) time. )) ) A rich set of _range creation and composition templates are provided that let you construct new ranges out of existing ranges: $(BOOKTABLE , $(TR $(TD $(D $(LREF retro))) $(TD Iterates a bidirectional _range backwards. )) $(TR $(TD $(D $(LREF stride))) $(TD Iterates a _range with stride $(I n). )) $(TR $(TD $(D $(LREF chain))) $(TD Concatenates several ranges into a single _range. )) $(TR $(TD $(D $(LREF roundRobin))) $(TD Given $(I n) ranges, creates a new _range that return the $(I n) first elements of each _range, in turn, then the second element of each _range, and so on, in a round-robin fashion. )) $(TR $(TD $(D $(LREF radial))) $(TD Given a random-access _range and a starting point, creates a _range that alternately returns the next left and next right element to the starting point. )) $(TR $(TD $(D $(LREF take))) $(TD Creates a sub-_range consisting of only up to the first $(I n) elements of the given _range. )) $(TR $(TD $(D $(LREF takeExactly))) $(TD Like $(D take), but assumes the given _range actually has $(I n) elements, and therefore also defines the $(D length) property. )) $(TR $(TD $(D $(LREF takeOne))) $(TD Creates a random-access _range consisting of exactly the first element of the given _range. )) $(TR $(TD $(D $(LREF takeNone))) $(TD Creates a random-access _range consisting of zero elements of the given _range. )) $(TR $(TD $(D $(LREF drop))) $(TD Creates the _range that results from discarding the first $(I n) elements from the given _range. )) $(TR $(TD $(D $(LREF dropExactly))) $(TD Creates the _range that results from discarding exactly $(I n) of the first elements from the given _range. )) $(TR $(TD $(D $(LREF dropOne))) $(TD Creates the _range that results from discarding the first elements from the given _range. )) $(TR $(TD $(D $(LREF repeat))) $(TD Creates a _range that consists of a single element repeated $(I n) times, or an infinite _range repeating that element indefinitely. )) $(TR $(TD $(D $(LREF cycle))) $(TD Creates an infinite _range that repeats the given forward _range indefinitely. Good for implementing circular buffers. )) $(TR $(TD $(D $(LREF zip))) $(TD Given $(I n) _ranges, creates a _range that successively returns a tuple of all the first elements, a tuple of all the second elements, etc. )) $(TR $(TD $(D $(LREF lockstep))) $(TD Iterates $(I n) _ranges in lockstep, for use in a $(D foreach) loop. Similar to $(D zip), except that $(D lockstep) is designed especially for $(D foreach) loops. )) $(TR $(TD $(D $(LREF recurrence))) $(TD Creates a forward _range whose values are defined by a mathematical recurrence relation. )) $(TR $(TD $(D $(LREF sequence))) $(TD Similar to $(D recurrence), except that a random-access _range is created. )) $(TR $(TD $(D $(LREF iota))) $(TD Creates a _range consisting of numbers between a starting point and ending point, spaced apart by a given interval. )) $(TR $(TD $(D $(LREF frontTransversal))) $(TD Creates a _range that iterates over the first elements of the given ranges. )) $(TR $(TD $(D $(LREF transversal))) $(TD Creates a _range that iterates over the $(I n)'th elements of the given random-access ranges. )) $(TR $(TD $(D $(LREF indexed))) $(TD Creates a _range that offers a view of a given _range as though its elements were reordered according to a given _range of indices. )) $(TR $(TD $(D $(LREF chunks))) $(TD Creates a _range that returns fixed-size chunks of the original _range. )) $(TR $(TD $(D $(LREF only))) $(TD Creates a _range that iterates over the given arguments. )) ) These _range-construction tools are implemented using templates; but sometimes an object-based interface for ranges is needed. For this purpose, this module provides a number of object and $(D interface) definitions that can be used to wrap around _range objects created by the above templates. $(BOOKTABLE , $(TR $(TD $(D $(LREF InputRange))) $(TD Wrapper for input ranges. )) $(TR $(TD $(D $(LREF InputAssignable))) $(TD Wrapper for input ranges with assignable elements. )) $(TR $(TD $(D $(LREF ForwardRange))) $(TD Wrapper for forward ranges. )) $(TR $(TD $(D $(LREF ForwardAssignable))) $(TD Wrapper for forward ranges with assignable elements. )) $(TR $(TD $(D $(LREF BidirectionalRange))) $(TD Wrapper for bidirectional ranges. )) $(TR $(TD $(D $(LREF BidirectionalAssignable))) $(TD Wrapper for bidirectional ranges with assignable elements. )) $(TR $(TD $(D $(LREF RandomAccessFinite))) $(TD Wrapper for finite random-access ranges. )) $(TR $(TD $(D $(LREF RandomAccessAssignable))) $(TD Wrapper for finite random-access ranges with assignable elements. )) $(TR $(TD $(D $(LREF RandomAccessInfinite))) $(TD Wrapper for infinite random-access ranges. )) $(TR $(TD $(D $(LREF OutputRange))) $(TD Wrapper for output ranges. )) $(TR $(TD $(D $(LREF OutputRangeObject))) $(TD Class that implements the $(D OutputRange) interface and wraps the $(D put) methods in virtual functions. )) $(TR $(TD $(D $(LREF InputRangeObject))) $(TD Class that implements the $(D InputRange) interface and wraps the input _range methods in virtual functions. )) $(TR $(TD $(D $(LREF RefRange))) $(TD Wrapper around a forward _range that gives it reference semantics. )) ) Ranges whose elements are sorted afford better efficiency with certain operations. For this, the $(D $(LREF assumeSorted)) function can be used to construct a $(D $(LREF SortedRange)) from a pre-sorted _range. The $(LINK2 std_algorithm.html#sort, $(D mystd.algorithm.sort)) function also conveniently returns a $(D SortedRange). $(D SortedRange) objects provide some additional _range operations that take advantage of the fact that the _range is sorted. Finally, this module also defines some convenience functions for manipulating ranges: $(BOOKTABLE , $(TR $(TD $(D $(LREF popFrontN))) $(TD Advances a given _range by up to $(I n) elements. )) $(TR $(TD $(D $(LREF popBackN))) $(TD Advances a given bidirectional _range from the right by up to $(I n) elements. )) $(TR $(TD $(D $(LREF popFrontExactly))) $(TD Advances a given _range by up exactly $(I n) elements. )) $(TR $(TD $(D $(LREF popBackExactly))) $(TD Advances a given bidirectional _range from the right by exactly $(I n) elements. )) $(TR $(TD $(D $(LREF moveFront))) $(TD Removes the front element of a _range. )) $(TR $(TD $(D $(LREF moveBack))) $(TD Removes the back element of a bidirectional _range. )) $(TR $(TD $(D $(LREF moveAt))) $(TD Removes the $(I i)'th element of a random-access _range. )) ) Source: $(PHOBOSSRC std/_range.d) Macros: WIKI = Phobos/StdRange Copyright: Copyright by authors 2008-. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(WEB erdani.com, Andrei Alexandrescu), David Simcha, and Jonathan M Davis. Credit for some of the ideas in building this module goes to $(WEB fantascienza.net/leonardo/so/, Leonardo Maffi). */ module mystd.range; public import mystd.array; import mystd.algorithm : copy, count, equal, filter, filterBidirectional, findSplitBefore, group, isSorted, joiner, move, map, max, min, sort, swap, until; import mystd.traits; import mystd.typecons : Tuple, tuple; import mystd.typetuple : allSatisfy, staticMap, TypeTuple; // For testing only. This code is included in a string literal to be included // in whatever module it's needed in, so that each module that uses it can be // tested individually, without needing to link to mystd.range. enum dummyRanges = q{ // Used with the dummy ranges for testing higher order ranges. enum RangeType { Input, Forward, Bidirectional, Random } enum Length { Yes, No } enum ReturnBy { Reference, Value } // Range that's useful for testing other higher order ranges, // can be parametrized with attributes. It just dumbs down an array of // numbers 1..10. struct DummyRange(ReturnBy _r, Length _l, RangeType _rt) { // These enums are so that the template params are visible outside // this instantiation. enum r = _r; enum l = _l; enum rt = _rt; uint[] arr = [1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U, 10U]; void reinit() { // Workaround for DMD bug 4378 arr = [1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U, 10U]; } void popFront() { arr = arr[1..$]; } @property bool empty() const { return arr.length == 0; } static if(r == ReturnBy.Reference) { @property ref inout(uint) front() inout { return arr[0]; } @property void front(uint val) { arr[0] = val; } } else { @property uint front() const { return arr[0]; } } static if(rt >= RangeType.Forward) { @property typeof(this) save() { return this; } } static if(rt >= RangeType.Bidirectional) { void popBack() { arr = arr[0..$ - 1]; } static if(r == ReturnBy.Reference) { @property ref inout(uint) back() inout { return arr[$ - 1]; } @property void back(uint val) { arr[$ - 1] = val; } } else { @property uint back() const { return arr[$ - 1]; } } } static if(rt >= RangeType.Random) { static if(r == ReturnBy.Reference) { ref inout(uint) opIndex(size_t index) inout { return arr[index]; } void opIndexAssign(uint val, size_t index) { arr[index] = val; } } else { uint opIndex(size_t index) const { return arr[index]; } } typeof(this) opSlice(size_t lower, size_t upper) { auto ret = this; ret.arr = arr[lower..upper]; return ret; } } static if(l == Length.Yes) { @property size_t length() const { return arr.length; } alias opDollar = length; } } enum dummyLength = 10; alias AllDummyRanges = TypeTuple!( DummyRange!(ReturnBy.Reference, Length.Yes, RangeType.Forward), DummyRange!(ReturnBy.Reference, Length.Yes, RangeType.Bidirectional), DummyRange!(ReturnBy.Reference, Length.Yes, RangeType.Random), DummyRange!(ReturnBy.Reference, Length.No, RangeType.Forward), DummyRange!(ReturnBy.Reference, Length.No, RangeType.Bidirectional), DummyRange!(ReturnBy.Value, Length.Yes, RangeType.Input), DummyRange!(ReturnBy.Value, Length.Yes, RangeType.Forward), DummyRange!(ReturnBy.Value, Length.Yes, RangeType.Bidirectional), DummyRange!(ReturnBy.Value, Length.Yes, RangeType.Random), DummyRange!(ReturnBy.Value, Length.No, RangeType.Input), DummyRange!(ReturnBy.Value, Length.No, RangeType.Forward), DummyRange!(ReturnBy.Value, Length.No, RangeType.Bidirectional) ); }; version(unittest) { mixin(dummyRanges); // Tests whether forward, bidirectional and random access properties are // propagated properly from the base range(s) R to the higher order range // H. Useful in combination with DummyRange for testing several higher // order ranges. template propagatesRangeType(H, R...) { static if(allSatisfy!(isRandomAccessRange, R)) { enum bool propagatesRangeType = isRandomAccessRange!H; } else static if(allSatisfy!(isBidirectionalRange, R)) { enum bool propagatesRangeType = isBidirectionalRange!H; } else static if(allSatisfy!(isForwardRange, R)) { enum bool propagatesRangeType = isForwardRange!H; } else { enum bool propagatesRangeType = isInputRange!H; } } template propagatesLength(H, R...) { static if(allSatisfy!(hasLength, R)) { enum bool propagatesLength = hasLength!H; } else { enum bool propagatesLength = !hasLength!H; } } } /** Returns $(D true) if $(D R) is an input range. An input range must define the primitives $(D empty), $(D popFront), and $(D front). The following code should compile for any input range. ---- R r; // can define a range object if (r.empty) {} // can test for empty r.popFront(); // can invoke popFront() auto h = r.front; // can get the front of the range of non-void type ---- The semantics of an input range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.empty) returns $(D false) iff there is more data available in the range.) $(LI $(D r.front) returns the current element in the range. It may return by value or by reference. Calling $(D r.front) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).) $(LI $(D r.popFront) advances to the next element in the range. Calling $(D r.popFront) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).)) */ template isInputRange(R) { enum bool isInputRange = is(typeof( (inout int = 0) { R r = R.init; // can define a range object if (r.empty) {} // can test for empty r.popFront(); // can invoke popFront() auto h = r.front; // can get the front of the range })); } unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } static assert(!isInputRange!(A)); static assert( isInputRange!(B)); static assert( isInputRange!(int[])); static assert( isInputRange!(char[])); static assert(!isInputRange!(char[4])); static assert( isInputRange!(inout(int)[])); // bug 7824 } /+ puts the whole raw element $(D e) into $(D r). doPut will not attempt to iterate, slice or transcode $(D e) in any way shape or form. It will $(B only) call the correct primitive ($(D r.put(e)), $(D r.front = e) or $(D r(0)) once. This can be important when $(D e) needs to be placed in $(D r) unchanged. Furthermore, it can be useful when working with $(D InputRange)s, as doPut guarantees that no more than a single element will be placed. +/ package void doPut(R, E)(ref R r, auto ref E e) { static if(is(PointerTarget!R == struct)) enum usingPut = hasMember!(PointerTarget!R, "put"); else enum usingPut = hasMember!(R, "put"); static if (usingPut) { static assert(is(typeof(r.put(e))), format("Cannot nativaly put a %s into a %s.", E.stringof, R.stringof)); r.put(e); } else static if (isInputRange!R) { static assert(is(typeof(r.front = e)), format("Cannot nativaly put a %s into a %s.", E.stringof, R.stringof)); r.front = e; r.popFront(); } else { static assert(is(typeof(r(e))), format("Cannot nativaly put a %s into a %s.", E.stringof, R.stringof)); r(e); } } unittest { static assert (!isNativeOutputRange!(int, int)); static assert ( isNativeOutputRange!(int[], int)); static assert (!isNativeOutputRange!(int[][], int)); static assert (!isNativeOutputRange!(int, int[])); static assert (!isNativeOutputRange!(int[], int[])); static assert ( isNativeOutputRange!(int[][], int[])); static assert (!isNativeOutputRange!(int, int[][])); static assert (!isNativeOutputRange!(int[], int[][])); static assert (!isNativeOutputRange!(int[][], int[][])); static assert (!isNativeOutputRange!(int[4], int)); static assert ( isNativeOutputRange!(int[4][], int)); //Scary! static assert ( isNativeOutputRange!(int[4][], int[4])); static assert (!isNativeOutputRange!( char[], char)); static assert (!isNativeOutputRange!( char[], dchar)); static assert ( isNativeOutputRange!(dchar[], char)); static assert ( isNativeOutputRange!(dchar[], dchar)); } /++ Outputs $(D e) to $(D r). The exact effect is dependent upon the two types. Several cases are accepted, as described below. The code snippets are attempted in order, and the first to compile "wins" and gets evaluated. In this table "doPut" is a method that places $(D e) into $(D r), using the correct primitive: $(D r.put(e)) if $(D R) defines $(D put), $(D r.front = e) if $(D r) is an input range (followed by $(D r.popFront())), or $(D r(e)) otherwise. $(BOOKTABLE , $(TR $(TH Code Snippet) $(TH Scenario) ) $(TR $(TD $(D r.doPut(e);)) $(TD $(D R) specifically accepts an $(D E).) ) $(TR $(TD $(D r.doPut([ e ]);)) $(TD $(D R) specifically accepts an $(D E[]).) ) $(TR $(TD $(D r.putChar(e);)) $(TD $(D R) accepts some form of string or character. put will transcode the character $(D e) accordingly.) ) $(TR $(TD $(D for (; !e.empty; e.popFront()) put(r, e.front);)) $(TD Copying range $(D E) into $(D R).) ) ) Tip: $(D put) should $(I not) be used "UFCS-style", eg $(D r.put(e)). Doing this may call $(D R.put) directly, by-passing any transformation feature provided by $(D Range.put). $(D put(r, e)) is prefered. +/ void put(R, E)(ref R r, E e) { @property ref E[] EArrayInit(); //@@@9186@@@: Can't use (E[]).init //First level: simply straight up put. static if (is(typeof(doPut(r, e)))) { doPut(r, e); } //Optional optimization block for straight up array to array copy. else static if (isDynamicArray!R && !isNarrowString!R && isDynamicArray!E && is(typeof(r[] = e[]))) { immutable len = e.length; r[0 .. len] = e[]; r = r[len .. $]; } //Accepts E[] ? else static if (is(typeof(doPut(r, [e]))) && !isDynamicArray!R) { if (__ctfe) doPut(r, [e]); else doPut(r, (&e)[0..1]); } //special case for char to string. else static if (isSomeChar!E && is(typeof(putChar(r, e)))) { putChar(r, e); } //Extract each element from the range //We can use "put" here, so we can recursively test a RoR of E. else static if (isInputRange!E && is(typeof(put(r, e.front)))) { //Special optimization: If E is a narrow string, and r accepts characters no-wider than the string's //Then simply feed the characters 1 by 1. static if (isNarrowString!E && ( (is(E : const char[]) && is(typeof(doPut(r, char.max))) && !is(typeof(doPut(r, dchar.max))) && !is(typeof(doPut(r, wchar.max)))) || (is(E : const wchar[]) && is(typeof(doPut(r, wchar.max))) && !is(typeof(doPut(r, dchar.max)))) ) ) { foreach(c; e) doPut(r, c); } else { for (; !e.empty; e.popFront()) put(r, e.front); } } else static assert (false, format("Cannot put a %s into a %s.", E.stringof, R.stringof)); } //Helper function to handle chars as quickly and as elegantly as possible //Assumes r.put(e)/r(e) has already been tested private void putChar(R, E)(ref R r, E e) if (isSomeChar!E) { ////@@@9186@@@: Can't use (E[]).init ref const( char)[] cstringInit(); ref const(wchar)[] wstringInit(); ref const(dchar)[] dstringInit(); enum csCond = !isDynamicArray!R && is(typeof(doPut(r, cstringInit()))); enum wsCond = !isDynamicArray!R && is(typeof(doPut(r, wstringInit()))); enum dsCond = !isDynamicArray!R && is(typeof(doPut(r, dstringInit()))); //Use "max" to avoid static type demotion enum ccCond = is(typeof(doPut(r, char.max))); enum wcCond = is(typeof(doPut(r, wchar.max))); //enum dcCond = is(typeof(doPut(r, dchar.max))); //Fast transform a narrow char into a wider string static if ((wsCond && E.sizeof < wchar.sizeof) || (dsCond && E.sizeof < dchar.sizeof)) { enum w = wsCond && E.sizeof < wchar.sizeof; Select!(w, wchar, dchar) c = e; if (__ctfe) doPut(r, [c]); else doPut(r, (&c)[0..1]); } //Encode a wide char into a narrower string else static if (wsCond || csCond) { import mystd.utf; /+static+/ Select!(wsCond, wchar[2], char[4]) buf; //static prevents purity. doPut(r, buf.ptr[0 .. encode(buf, e)]); //the word ".ptr" added to enforce un-safety. } //Slowly encode a wide char into a series of narrower chars else static if (wcCond || ccCond) { import mystd.encoding; alias C = Select!(wcCond, wchar, char); encode!(C, R)(e, r); } else static assert (false, format("Cannot put a %s into a %s.", E.stringof, R.stringof)); } pure unittest { auto f = delegate (const(char)[]) {}; putChar(f, cast(dchar)'a'); } unittest { struct A {} static assert(!isInputRange!(A)); struct B { void put(int) {} } B b; put(b, 5); } unittest { int[] a = [1, 2, 3], b = [10, 20]; auto c = a; put(a, b); assert(c == [10, 20, 3]); assert(a == [3]); } unittest { int[] a = new int[10]; int b; static assert(isInputRange!(typeof(a))); put(a, b); } unittest { void myprint(in char[] s) { } auto r = &myprint; put(r, 'a'); } unittest { int[] a = new int[10]; static assert(!__traits(compiles, put(a, 1.0L))); static assert( __traits(compiles, put(a, 1))); /* * a[0] = 65; // OK * a[0] = 'A'; // OK * a[0] = "ABC"[0]; // OK * put(a, "ABC"); // OK */ static assert( __traits(compiles, put(a, "ABC"))); } unittest { char[] a = new char[10]; static assert(!__traits(compiles, put(a, 1.0L))); static assert(!__traits(compiles, put(a, 1))); // char[] is NOT output range. static assert(!__traits(compiles, put(a, 'a'))); static assert(!__traits(compiles, put(a, "ABC"))); } unittest { int[][] a; int[] b; int c; static assert( __traits(compiles, put(b, c))); static assert( __traits(compiles, put(a, b))); static assert(!__traits(compiles, put(a, c))); } unittest { int[][] a = new int[][](3); int[] b = [1]; auto aa = a; put(aa, b); assert(aa == [[], []]); assert(a == [[1], [], []]); int[][3] c = [2]; aa = a; put(aa, c[]); assert(aa.empty); assert(a == [[2], [2], [2]]); } unittest { // Test fix for bug 7476. struct LockingTextWriter { void put(dchar c){} } struct RetroResult { bool end = false; @property bool empty() const { return end; } @property dchar front(){ return 'a'; } void popFront(){ end = true; } } LockingTextWriter w; RetroResult r; put(w, r); } unittest { import mystd.conv : to; static struct PutC(C) { string result; void put(const(C) c) { result ~= to!string((&c)[0..1]); } } static struct PutS(C) { string result; void put(const(C)[] s) { result ~= to!string(s); } } static struct PutSS(C) { string result; void put(const(C)[][] ss) { foreach(s; ss) result ~= to!string(s); } } PutS!char p; putChar(p, cast(dchar)'a'); //Source Char foreach (SC; TypeTuple!(char, wchar, dchar)) { SC ch = 'I'; dchar dh = '♥'; immutable(SC)[] s = "日本語!"; immutable(SC)[][] ss = ["日本語", "が", "好き", "ですか", "?"]; //Target Char foreach (TC; TypeTuple!(char, wchar, dchar)) { //Testing PutC and PutS foreach (Type; TypeTuple!(PutC!TC, PutS!TC)) { Type type; auto sink = new Type(); //Testing put and sink foreach (value ; tuple(type, sink)) { put(value, ch); assert(value.result == "I"); put(value, dh); assert(value.result == "I♥"); put(value, s); assert(value.result == "I♥日本語!"); put(value, ss); assert(value.result == "I♥日本語!日本語が好きですか?"); } } } } } unittest { static struct CharRange { char c; enum empty = false; void popFront(){}; ref char front() @property { return c; } } CharRange c; put(c, cast(dchar)'H'); put(c, "hello"d); } unittest { // issue 9823 const(char)[] r; void delegate(const(char)[]) dg = (s) { r = s; }; put(dg, ["ABC"]); assert(r == "ABC"); } unittest { // issue 10571 import mystd.format; string buf; formattedWrite((in char[] s) { buf ~= s; }, "%s", "hello"); assert(buf == "hello"); } unittest { import mystd.format; struct PutC(C) { void put(C){} } struct PutS(C) { void put(const(C)[]){} } struct CallC(C) { void opCall(C){} } struct CallS(C) { void opCall(const(C)[]){} } struct FrontC(C) { enum empty = false; auto front()@property{return C.init;} void front(C)@property{} void popFront(){} } struct FrontS(C) { enum empty = false; auto front()@property{return C[].init;} void front(const(C)[])@property{} void popFront(){} } void foo() { foreach(C; TypeTuple!(char, wchar, dchar)) { formattedWrite((C c){}, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite((const(C)[]){}, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(PutC!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(PutS!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); CallC!C callC; CallS!C callS; formattedWrite(callC, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(callS, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(FrontC!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(FrontS!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); } formattedWrite((dchar[]).init, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); } } /+ Returns $(D true) if $(D R) is a native output range for elements of type $(D E). An output range is defined functionally as a range that supports the operation $(D doPut(r, e)) as defined above. if $(D doPut(r, e)) is valid, then $(D put(r,e)) will have the same behavior. The two guarantees isNativeOutputRange gives over the larger $(D isOutputRange) are: 1: $(D e) is $(B exactly) what will be placed (not $(D [e]), for example). 2: if $(D E) is a non $(empty) $(D InputRange), then placing $(D e) is guaranteed to not overflow the range. +/ package template isNativeOutputRange(R, E) { enum bool isNativeOutputRange = is(typeof( (inout int = 0) { R r = void; E e; doPut(r, e); })); } // unittest { int[] r = new int[](4); static assert(isInputRange!(int[])); static assert( isNativeOutputRange!(int[], int)); static assert(!isNativeOutputRange!(int[], int[])); static assert( isOutputRange!(int[], int[])); if (!r.empty) put(r, 1); //guaranteed to succeed if (!r.empty) put(r, [1, 2]); //May actually error out. } /++ Returns $(D true) if $(D R) is an output range for elements of type $(D E). An output range is defined functionally as a range that supports the operation $(D put(r, e)) as defined above. +/ template isOutputRange(R, E) { enum bool isOutputRange = is(typeof( (inout int = 0) { R r = R.init; E e = E.init; put(r, e); })); } /// unittest { void myprint(in char[] s) { } static assert(isOutputRange!(typeof(&myprint), char)); static assert(!isOutputRange!(char[], char)); static assert( isOutputRange!(dchar[], wchar)); static assert( isOutputRange!(dchar[], dchar)); } unittest { import mystd.stdio : writeln; auto app = appender!string(); string s; static assert( isOutputRange!(Appender!string, string)); static assert( isOutputRange!(Appender!string*, string)); static assert(!isOutputRange!(Appender!string, int)); static assert(!isOutputRange!(wchar[], wchar)); static assert( isOutputRange!(dchar[], char)); static assert( isOutputRange!(dchar[], string)); static assert( isOutputRange!(dchar[], wstring)); static assert( isOutputRange!(dchar[], dstring)); static assert(!isOutputRange!(const(int)[], int)); static assert(!isOutputRange!(inout(int)[], int)); } unittest { // 6973 static assert(isOutputRange!(OutputRange!int, int)); } /** Returns $(D true) if $(D R) is a forward range. A forward range is an input range $(D r) that can save "checkpoints" by saving $(D r.save) to another value of type $(D R). Notable examples of input ranges that are $(I not) forward ranges are file/socket ranges; copying such a range will not save the position in the stream, and they most likely reuse an internal buffer as the entire stream does not sit in memory. Subsequently, advancing either the original or the copy will advance the stream, so the copies are not independent. The following code should compile for any forward range. ---- static assert(isInputRange!R); R r1; static assert (is(typeof(r1.save) == R)); ---- Saving a range is not duplicating it; in the example above, $(D r1) and $(D r2) still refer to the same underlying data. They just navigate that data independently. The semantics of a forward range (not checkable during compilation) are the same as for an input range, with the additional requirement that backtracking must be possible by saving a copy of the range object with $(D save) and using it later. */ template isForwardRange(R) { enum bool isForwardRange = isInputRange!R && is(typeof( (inout int = 0) { R r1 = R.init; static assert (is(typeof(r1.save) == R)); })); } unittest { static assert(!isForwardRange!(int)); static assert( isForwardRange!(int[])); static assert( isForwardRange!(inout(int)[])); } /** Returns $(D true) if $(D R) is a bidirectional range. A bidirectional range is a forward range that also offers the primitives $(D back) and $(D popBack). The following code should compile for any bidirectional range. ---- R r; static assert(isForwardRange!R); // is forward range r.popBack(); // can invoke popBack auto t = r.back; // can get the back of the range auto w = r.front; static assert(is(typeof(t) == typeof(w))); // same type for front and back ---- The semantics of a bidirectional range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.back) returns (possibly a reference to) the last element in the range. Calling $(D r.back) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).)) */ template isBidirectionalRange(R) { enum bool isBidirectionalRange = isForwardRange!R && is(typeof( (inout int = 0) { R r = R.init; r.popBack(); auto t = r.back; auto w = r.front; static assert(is(typeof(t) == typeof(w))); })); } unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } struct C { @property bool empty(); @property C save(); void popFront(); @property int front(); void popBack(); @property int back(); } static assert(!isBidirectionalRange!(A)); static assert(!isBidirectionalRange!(B)); static assert( isBidirectionalRange!(C)); static assert( isBidirectionalRange!(int[])); static assert( isBidirectionalRange!(char[])); static assert( isBidirectionalRange!(inout(int)[])); } /** Returns $(D true) if $(D R) is a random-access range. A random-access range is a bidirectional range that also offers the primitive $(D opIndex), OR an infinite forward range that offers $(D opIndex). In either case, the range must either offer $(D length) or be infinite. The following code should compile for any random-access range. ---- // range is finite and bidirectional or infinite and forward. static assert(isBidirectionalRange!R || isForwardRange!R && isInfinite!R); R r = void; auto e = r[1]; // can index static assert(is(typeof(e) == typeof(r.front))); // same type for indexed and front static assert(!isNarrowString!R); // narrow strings cannot be indexed as ranges static assert(hasLength!R || isInfinite!R); // must have length or be infinite // $ must work as it does with arrays if opIndex works with $ static if(is(typeof(r[$]))) { static assert(is(typeof(r.front) == typeof(r[$]))); // $ - 1 doesn't make sense with infinite ranges but needs to work // with finite ones. static if(!isInfinite!R) static assert(is(typeof(r.front) == typeof(r[$ - 1]))); } ---- The semantics of a random-access range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.opIndex(n)) returns a reference to the $(D n)th element in the range.)) Although $(D char[]) and $(D wchar[]) (as well as their qualified versions including $(D string) and $(D wstring)) are arrays, $(D isRandomAccessRange) yields $(D false) for them because they use variable-length encodings (UTF-8 and UTF-16 respectively). These types are bidirectional ranges only. */ template isRandomAccessRange(R) { enum bool isRandomAccessRange = is(typeof( (inout int = 0) { static assert(isBidirectionalRange!R || isForwardRange!R && isInfinite!R); R r = R.init; auto e = r[1]; static assert(is(typeof(e) == typeof(r.front))); static assert(!isNarrowString!R); static assert(hasLength!R || isInfinite!R); static if(is(typeof(r[$]))) { static assert(is(typeof(r.front) == typeof(r[$]))); static if(!isInfinite!R) static assert(is(typeof(r.front) == typeof(r[$ - 1]))); } })); } unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } struct C { void popFront(); @property bool empty(); @property int front(); void popBack(); @property int back(); } struct D { @property bool empty(); @property D save(); @property int front(); void popFront(); @property int back(); void popBack(); ref int opIndex(uint); @property size_t length(); alias opDollar = length; //int opSlice(uint, uint); } static assert(!isRandomAccessRange!(A)); static assert(!isRandomAccessRange!(B)); static assert(!isRandomAccessRange!(C)); static assert( isRandomAccessRange!(D)); static assert( isRandomAccessRange!(int[])); static assert( isRandomAccessRange!(inout(int)[])); } unittest { // Test fix for bug 6935. struct R { @disable this(); @property bool empty() const { return false; } @property int front() const { return 0; } void popFront() {} @property R save() { return this; } @property int back() const { return 0; } void popBack(){} int opIndex(size_t n) const { return 0; } @property size_t length() const { return 0; } alias opDollar = length; void put(int e){ } } static assert(isInputRange!R); static assert(isForwardRange!R); static assert(isBidirectionalRange!R); static assert(isRandomAccessRange!R); static assert(isOutputRange!(R, int)); } /** Returns $(D true) iff $(D R) supports the $(D moveFront) primitive, as well as $(D moveBack) and $(D moveAt) if it's a bidirectional or random access range. These may be explicitly implemented, or may work via the default behavior of the module level functions $(D moveFront) and friends. */ template hasMobileElements(R) { enum bool hasMobileElements = is(typeof( (inout int = 0) { R r = R.init; return moveFront(r); })) && (!isBidirectionalRange!R || is(typeof( (inout int = 0) { R r = R.init; return moveBack(r); }))) && (!isRandomAccessRange!R || is(typeof( (inout int = 0) { R r = R.init; return moveAt(r, 0); }))); } /// unittest { static struct HasPostblit { this(this) {} } auto nonMobile = map!"a"(repeat(HasPostblit.init)); static assert(!hasMobileElements!(typeof(nonMobile))); static assert( hasMobileElements!(int[])); static assert( hasMobileElements!(inout(int)[])); static assert( hasMobileElements!(typeof(iota(1000)))); } /** The element type of $(D R). $(D R) does not have to be a range. The element type is determined as the type yielded by $(D r.front) for an object $(D r) of type $(D R). For example, $(D ElementType!(T[])) is $(D T) if $(D T[]) isn't a narrow string; if it is, the element type is $(D dchar). If $(D R) doesn't have $(D front), $(D ElementType!R) is $(D void). */ template ElementType(R) { static if (is(typeof(R.init.front.init) T)) alias ElementType = T; else alias ElementType = void; } /// unittest { // Standard arrays: returns the type of the elements of the array static assert(is(ElementType!(int[]) == int)); // Accessing .front retrieves the decoded dchar static assert(is(ElementType!(char[]) == dchar)); // rvalue static assert(is(ElementType!(dchar[]) == dchar)); // lvalue // Ditto static assert(is(ElementType!(string) == dchar)); static assert(is(ElementType!(dstring) == immutable(dchar))); // For ranges it gets the type of .front. auto range = iota(0, 10); static assert(is(ElementType!(typeof(range)) == int)); } unittest { static assert(is(ElementType!(byte[]) == byte)); static assert(is(ElementType!(wchar[]) == dchar)); // rvalue static assert(is(ElementType!(wstring) == dchar)); } unittest { enum XYZ : string { a = "foo" } auto x = XYZ.a.front; immutable char[3] a = "abc"; int[] i; void[] buf; static assert(is(ElementType!(XYZ) == dchar)); static assert(is(ElementType!(typeof(a)) == dchar)); static assert(is(ElementType!(typeof(i)) == int)); static assert(is(ElementType!(typeof(buf)) == void)); static assert(is(ElementType!(inout(int)[]) == inout(int))); static assert(is(ElementType!(inout(int[])) == inout(int))); } unittest { static assert(is(ElementType!(int[5]) == int)); static assert(is(ElementType!(int[0]) == int)); static assert(is(ElementType!(char[5]) == dchar)); static assert(is(ElementType!(char[0]) == dchar)); } unittest //11336 { static struct S { this(this) @disable; } static assert(is(ElementType!(S[]) == S)); } unittest // 11401 { // ElementType should also work for non-@propety 'front' struct E { ushort id; } struct R { E front() { return E.init; } } static assert(is(ElementType!R == E)); } /** The encoding element type of $(D R). For narrow strings ($(D char[]), $(D wchar[]) and their qualified variants including $(D string) and $(D wstring)), $(D ElementEncodingType) is the character type of the string. For all other types, $(D ElementEncodingType) is the same as $(D ElementType). */ template ElementEncodingType(R) { static if (isNarrowString!R && is(R : E[], E)) alias ElementEncodingType = E; else alias ElementEncodingType = ElementType!R; } /// unittest { // internally the range stores the encoded type static assert(is(ElementEncodingType!(char[]) == char)); static assert(is(ElementEncodingType!(wstring) == immutable(wchar))); static assert(is(ElementEncodingType!(byte[]) == byte)); auto range = iota(0, 10); static assert(is(ElementEncodingType!(typeof(range)) == int)); } unittest { static assert(is(ElementEncodingType!(wchar[]) == wchar)); static assert(is(ElementEncodingType!(dchar[]) == dchar)); static assert(is(ElementEncodingType!(string) == immutable(char))); static assert(is(ElementEncodingType!(dstring) == immutable(dchar))); static assert(is(ElementEncodingType!(int[]) == int)); } unittest { enum XYZ : string { a = "foo" } auto x = XYZ.a.front; immutable char[3] a = "abc"; int[] i; void[] buf; static assert(is(ElementType!(XYZ) : dchar)); static assert(is(ElementEncodingType!(char[]) == char)); static assert(is(ElementEncodingType!(string) == immutable char)); static assert(is(ElementType!(typeof(a)) : dchar)); static assert(is(ElementType!(typeof(i)) == int)); static assert(is(ElementEncodingType!(typeof(i)) == int)); static assert(is(ElementType!(typeof(buf)) : void)); static assert(is(ElementEncodingType!(inout char[]) : inout(char))); } unittest { static assert(is(ElementEncodingType!(int[5]) == int)); static assert(is(ElementEncodingType!(int[0]) == int)); static assert(is(ElementEncodingType!(char[5]) == char)); static assert(is(ElementEncodingType!(char[0]) == char)); } /** Returns $(D true) if $(D R) is a forward range and has swappable elements. The following code should compile for any range with swappable elements. ---- R r; static assert(isForwardRange!(R)); // range is forward swap(r.front, r.front); // can swap elements of the range ---- */ template hasSwappableElements(R) { enum bool hasSwappableElements = isForwardRange!R && is(typeof( (inout int = 0) { R r = R.init; swap(r.front, r.front); // can swap elements of the range })); } /// unittest { static assert(!hasSwappableElements!(const int[])); static assert(!hasSwappableElements!(const(int)[])); static assert(!hasSwappableElements!(inout(int)[])); static assert( hasSwappableElements!(int[])); } /** Returns $(D true) if $(D R) is a forward range and has mutable elements. The following code should compile for any range with assignable elements. ---- R r; static assert(isForwardRange!R); // range is forward auto e = r.front; r.front = e; // can assign elements of the range ---- */ template hasAssignableElements(R) { enum bool hasAssignableElements = isForwardRange!R && is(typeof( (inout int = 0) { R r = R.init; static assert(isForwardRange!(R)); // range is forward auto e = r.front; r.front = e; // can assign elements of the range })); } /// unittest { static assert(!hasAssignableElements!(const int[])); static assert(!hasAssignableElements!(const(int)[])); static assert( hasAssignableElements!(int[])); static assert(!hasAssignableElements!(inout(int)[])); } /** Tests whether $(D R) has lvalue elements. These are defined as elements that can be passed by reference and have their address taken. */ template hasLvalueElements(R) { enum bool hasLvalueElements = is(typeof( (inout int = 0) { void checkRef(ref ElementType!R stuff) {} R r = R.init; static assert(is(typeof(checkRef(r.front)))); })); } /// unittest { static assert( hasLvalueElements!(int[])); static assert( hasLvalueElements!(const(int)[])); static assert( hasLvalueElements!(inout(int)[])); static assert( hasLvalueElements!(immutable(int)[])); static assert(!hasLvalueElements!(typeof(iota(3)))); auto c = chain([1, 2, 3], [4, 5, 6]); static assert( hasLvalueElements!(typeof(c))); } unittest { // bugfix 6336 struct S { immutable int value; } static assert( isInputRange!(S[])); static assert( hasLvalueElements!(S[])); } /** Returns $(D true) if $(D R) has a $(D length) member that returns an integral type. $(D R) does not have to be a range. Note that $(D length) is an optional primitive as no range must implement it. Some ranges do not store their length explicitly, some cannot compute it without actually exhausting the range (e.g. socket streams), and some other ranges may be infinite. Although narrow string types ($(D char[]), $(D wchar[]), and their qualified derivatives) do define a $(D length) property, $(D hasLength) yields $(D false) for them. This is because a narrow string's length does not reflect the number of characters, but instead the number of encoding units, and as such is not useful with range-oriented algorithms. */ template hasLength(R) { enum bool hasLength = !isNarrowString!R && is(typeof( (inout int = 0) { R r = R.init; static assert(is(typeof(r.length) : ulong)); })); } /// unittest { static assert(!hasLength!(char[])); static assert( hasLength!(int[])); static assert( hasLength!(inout(int)[])); struct A { ulong length; } struct B { size_t length() { return 0; } } struct C { @property size_t length() { return 0; } } static assert( hasLength!(A)); static assert(!hasLength!(B)); static assert( hasLength!(C)); } /** Returns $(D true) if $(D R) is an infinite input range. An infinite input range is an input range that has a statically-defined enumerated member called $(D empty) that is always $(D false), for example: ---- struct MyInfiniteRange { enum bool empty = false; ... } ---- */ template isInfinite(R) { static if (isInputRange!R && __traits(compiles, { enum e = R.empty; })) enum bool isInfinite = !R.empty; else enum bool isInfinite = false; } /// unittest { static assert(!isInfinite!(int[])); static assert( isInfinite!(Repeat!(int))); } /** Returns $(D true) if $(D R) offers a slicing operator with integral boundaries that returns a forward range type. For finite ranges, the result of $(D opSlice) must be of the same type as the original range type. If the range defines $(D opDollar), then it must support subtraction. For infinite ranges, when $(I not) using $(D opDollar), the result of $(D opSlice) must be the result of $(LREF take) or $(LREF takeExactly) on the original range (they both return the same type for infinite ranges). However, when using $(D opDollar), the result of $(D opSlice) must be that of the original range type. The following code must compile for $(D hasSlicing) to be $(D true): ---- R r = void; static if(isInfinite!R) typeof(take(r, 1)) s = r[1 .. 2]; else { static assert(is(typeof(r[1 .. 2]) == R)); R s = r[1 .. 2]; } s = r[1 .. 2]; static if(is(typeof(r[0 .. $]))) { static assert(is(typeof(r[0 .. $]) == R)); R t = r[0 .. $]; t = r[0 .. $]; static if(!isInfinite!R) { static assert(is(typeof(r[0 .. $ - 1]) == R)); R u = r[0 .. $ - 1]; u = r[0 .. $ - 1]; } } static assert(isForwardRange!(typeof(r[1 .. 2]))); static assert(hasLength!(typeof(r[1 .. 2]))); ---- */ template hasSlicing(R) { enum bool hasSlicing = isForwardRange!R && !isNarrowString!R && is(typeof( (inout int = 0) { R r = R.init; static if(isInfinite!R) typeof(take(r, 1)) s = r[1 .. 2]; else { static assert(is(typeof(r[1 .. 2]) == R)); R s = r[1 .. 2]; } s = r[1 .. 2]; static if(is(typeof(r[0 .. $]))) { static assert(is(typeof(r[0 .. $]) == R)); R t = r[0 .. $]; t = r[0 .. $]; static if(!isInfinite!R) { static assert(is(typeof(r[0 .. $ - 1]) == R)); R u = r[0 .. $ - 1]; u = r[0 .. $ - 1]; } } static assert(isForwardRange!(typeof(r[1 .. 2]))); static assert(hasLength!(typeof(r[1 .. 2]))); })); } /// unittest { static assert( hasSlicing!(int[])); static assert( hasSlicing!(const(int)[])); static assert(!hasSlicing!(const int[])); static assert( hasSlicing!(inout(int)[])); static assert(!hasSlicing!(inout int [])); static assert( hasSlicing!(immutable(int)[])); static assert(!hasSlicing!(immutable int[])); static assert(!hasSlicing!string); static assert( hasSlicing!dstring); enum rangeFuncs = "@property int front();" ~ "void popFront();" ~ "@property bool empty();" ~ "@property auto save() { return this; }" ~ "@property size_t length();"; struct A { mixin(rangeFuncs); int opSlice(size_t, size_t); } struct B { mixin(rangeFuncs); B opSlice(size_t, size_t); } struct C { mixin(rangeFuncs); @disable this(); C opSlice(size_t, size_t); } struct D { mixin(rangeFuncs); int[] opSlice(size_t, size_t); } static assert(!hasSlicing!(A)); static assert( hasSlicing!(B)); static assert( hasSlicing!(C)); static assert(!hasSlicing!(D)); struct InfOnes { enum empty = false; void popFront() {} @property int front() { return 1; } @property InfOnes save() { return this; } auto opSlice(size_t i, size_t j) { return takeExactly(this, j - i); } auto opSlice(size_t i, Dollar d) { return this; } struct Dollar {} Dollar opDollar() const { return Dollar.init; } } static assert(hasSlicing!InfOnes); } /** This is a best-effort implementation of $(D length) for any kind of range. If $(D hasLength!Range), simply returns $(D range.length) without checking $(D upTo) (when specified). Otherwise, walks the range through its length and returns the number of elements seen. Performes $(BIGOH n) evaluations of $(D range.empty) and $(D range.popFront()), where $(D n) is the effective length of $(D range). The $(D upTo) parameter is useful to "cut the losses" in case the interest is in seeing whether the range has at least some number of elements. If the parameter $(D upTo) is specified, stops if $(D upTo) steps have been taken and returns $(D upTo). Infinite ranges are compatible, provided the parameter $(D upTo) is specified, in which case the implementation simply returns upTo. */ auto walkLength(Range)(Range range) if (isInputRange!Range && !isInfinite!Range) { static if (hasLength!Range) return range.length; else { size_t result; for ( ; !range.empty ; range.popFront() ) ++result; return result; } } /// ditto auto walkLength(Range)(Range range, const size_t upTo) if (isInputRange!Range) { static if (hasLength!Range) return range.length; else static if (isInfinite!Range) return upTo; else { size_t result; for ( ; result < upTo && !range.empty ; range.popFront() ) ++result; return result; } } unittest { //hasLength Range int[] a = [ 1, 2, 3 ]; assert(walkLength(a) == 3); assert(walkLength(a, 0) == 3); assert(walkLength(a, 2) == 3); assert(walkLength(a, 4) == 3); //Forward Range auto b = filter!"true"([1, 2, 3, 4]); assert(b.walkLength() == 4); assert(b.walkLength(0) == 0); assert(b.walkLength(2) == 2); assert(b.walkLength(4) == 4); assert(b.walkLength(6) == 4); //Infinite Range auto fibs = recurrence!"a[n-1] + a[n-2]"(1, 1); assert(!__traits(compiles, fibs.walkLength())); assert(fibs.take(10).walkLength() == 10); assert(fibs.walkLength(55) == 55); } /** Iterates a bidirectional range backwards. The original range can be accessed by using the $(D source) property. Applying retro twice to the same range yields the original range. */ auto retro(Range)(Range r) if (isBidirectionalRange!(Unqual!Range)) { // Check for retro(retro(r)) and just return r in that case static if (is(typeof(retro(r.source)) == Range)) { return r.source; } else { static struct Result() { private alias R = Unqual!Range; // User code can get and set source, too R source; static if (hasLength!R) { private alias IndexType = CommonType!(size_t, typeof(source.length)); IndexType retroIndex(IndexType n) { return source.length - n - 1; } } public: alias Source = R; @property bool empty() { return source.empty; } @property auto save() { return Result(source.save); } @property auto ref front() { return source.back; } void popFront() { source.popBack(); } @property auto ref back() { return source.front; } void popBack() { source.popFront(); } static if(is(typeof(.moveBack(source)))) { ElementType!R moveFront() { return .moveBack(source); } } static if(is(typeof(.moveFront(source)))) { ElementType!R moveBack() { return .moveFront(source); } } static if (hasAssignableElements!R) { @property auto front(ElementType!R val) { source.back = val; } @property auto back(ElementType!R val) { source.front = val; } } static if (isRandomAccessRange!(R) && hasLength!(R)) { auto ref opIndex(IndexType n) { return source[retroIndex(n)]; } static if (hasAssignableElements!R) { void opIndexAssign(ElementType!R val, IndexType n) { source[retroIndex(n)] = val; } } static if (is(typeof(.moveAt(source, 0)))) { ElementType!R moveAt(IndexType index) { return .moveAt(source, retroIndex(index)); } } static if (hasSlicing!R) typeof(this) opSlice(IndexType a, IndexType b) { return typeof(this)(source[source.length - b .. source.length - a]); } } static if (hasLength!R) { @property auto length() { return source.length; } alias opDollar = length; } } return Result!()(r); } } /// unittest { int[] a = [ 1, 2, 3, 4, 5 ]; assert(equal(retro(a), [ 5, 4, 3, 2, 1 ][])); assert(retro(a).source is a); assert(retro(retro(a)) is a); } unittest { static assert(isBidirectionalRange!(typeof(retro("hello")))); int[] a; static assert(is(typeof(a) == typeof(retro(retro(a))))); assert(retro(retro(a)) is a); static assert(isRandomAccessRange!(typeof(retro([1, 2, 3])))); void test(int[] input, int[] witness) { auto r = retro(input); assert(r.front == witness.front); assert(r.back == witness.back); assert(equal(r, witness)); } test([ 1 ], [ 1 ]); test([ 1, 2 ], [ 2, 1 ]); test([ 1, 2, 3 ], [ 3, 2, 1 ]); test([ 1, 2, 3, 4 ], [ 4, 3, 2, 1 ]); test([ 1, 2, 3, 4, 5 ], [ 5, 4, 3, 2, 1 ]); test([ 1, 2, 3, 4, 5, 6 ], [ 6, 5, 4, 3, 2, 1 ]); immutable foo = [1,2,3].idup; retro(foo); } unittest { foreach(DummyType; AllDummyRanges) { static if (!isBidirectionalRange!DummyType) { static assert(!__traits(compiles, Retro!DummyType)); } else { DummyType dummyRange; dummyRange.reinit(); auto myRetro = retro(dummyRange); static assert(propagatesRangeType!(typeof(myRetro), DummyType)); assert(myRetro.front == 10); assert(myRetro.back == 1); assert(myRetro.moveFront() == 10); assert(myRetro.moveBack() == 1); static if (isRandomAccessRange!DummyType && hasLength!DummyType) { assert(myRetro[0] == myRetro.front); assert(myRetro.moveAt(2) == 8); static if (DummyType.r == ReturnBy.Reference) { { myRetro[9]++; scope(exit) myRetro[9]--; assert(dummyRange[0] == 2); myRetro.front++; scope(exit) myRetro.front--; assert(myRetro.front == 11); myRetro.back++; scope(exit) myRetro.back--; assert(myRetro.back == 3); } { myRetro.front = 0xFF; scope(exit) myRetro.front = 10; assert(dummyRange.back == 0xFF); myRetro.back = 0xBB; scope(exit) myRetro.back = 1; assert(dummyRange.front == 0xBB); myRetro[1] = 11; scope(exit) myRetro[1] = 8; assert(dummyRange[8] == 11); } } } } } } unittest { auto LL = iota(1L, 4L); auto r = retro(LL); assert(equal(r, [3L, 2L, 1L])); } /** Iterates range $(D r) with stride $(D n). If the range is a random-access range, moves by indexing into the range; otherwise, moves by successive calls to $(D popFront). Applying stride twice to the same range results in a stride with a step that is the product of the two applications. Throws: $(D Exception) if $(D n == 0). Example: ---- int[] a = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ]; assert(equal(stride(a, 3), [ 1, 4, 7, 10 ][])); assert(stride(stride(a, 2), 3) == stride(a, 6)); ---- */ auto stride(Range)(Range r, size_t n) if (isInputRange!(Unqual!Range)) { import mystd.exception : enforce; enforce(n > 0, "Stride cannot have step zero."); static if (is(typeof(stride(r.source, n)) == Range)) { // stride(stride(r, n1), n2) is stride(r, n1 * n2) return stride(r.source, r._n * n); } else { static struct Result { private alias R = Unqual!Range; public R source; private size_t _n; // Chop off the slack elements at the end static if (hasLength!R && (isRandomAccessRange!R && hasSlicing!R || isBidirectionalRange!R)) private void eliminateSlackElements() { auto slack = source.length % _n; if (slack) { slack--; } else if (!source.empty) { slack = min(_n, source.length) - 1; } else { slack = 0; } if (!slack) return; static if (isRandomAccessRange!R && hasSlicing!R) { source = source[0 .. source.length - slack]; } else static if (isBidirectionalRange!R) { foreach (i; 0 .. slack) { source.popBack(); } } } static if (isForwardRange!R) { @property auto save() { return Result(source.save, _n); } } static if (isInfinite!R) { enum bool empty = false; } else { @property bool empty() { return source.empty; } } @property auto ref front() { return source.front; } static if (is(typeof(.moveFront(source)))) { ElementType!R moveFront() { return .moveFront(source); } } static if (hasAssignableElements!R) { @property auto front(ElementType!R val) { source.front = val; } } void popFront() { static if (isRandomAccessRange!R && hasLength!R && hasSlicing!R) { source = source[min(_n, source.length) .. source.length]; } else { static if (hasLength!R) { foreach (i; 0 .. min(source.length, _n)) { source.popFront(); } } else { foreach (i; 0 .. _n) { source.popFront(); if (source.empty) break; } } } } static if (isBidirectionalRange!R && hasLength!R) { void popBack() { popBackN(source, _n); } @property auto ref back() { eliminateSlackElements(); return source.back; } static if (is(typeof(.moveBack(source)))) { ElementType!R moveBack() { eliminateSlackElements(); return .moveBack(source); } } static if (hasAssignableElements!R) { @property auto back(ElementType!R val) { eliminateSlackElements(); source.back = val; } } } static if (isRandomAccessRange!R && hasLength!R) { auto ref opIndex(size_t n) { return source[_n * n]; } /** Forwards to $(D moveAt(source, n)). */ static if (is(typeof(.moveAt(source, 0)))) { ElementType!R moveAt(size_t n) { return .moveAt(source, _n * n); } } static if (hasAssignableElements!R) { void opIndexAssign(ElementType!R val, size_t n) { source[_n * n] = val; } } } static if (hasSlicing!R && hasLength!R) typeof(this) opSlice(size_t lower, size_t upper) { assert(upper >= lower && upper <= length); immutable translatedUpper = (upper == 0) ? 0 : (upper * _n - (_n - 1)); immutable translatedLower = min(lower * _n, translatedUpper); assert(translatedLower <= translatedUpper); return typeof(this)(source[translatedLower..translatedUpper], _n); } static if (hasLength!R) { @property auto length() { return (source.length + _n - 1) / _n; } alias opDollar = length; } } return Result(r, n); } } unittest { static assert(isRandomAccessRange!(typeof(stride([1, 2, 3], 2)))); void test(size_t n, int[] input, int[] witness) { assert(equal(stride(input, n), witness)); } test(1, [], []); int[] arr = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]; assert(stride(stride(arr, 2), 3) is stride(arr, 6)); test(1, arr, arr); test(2, arr, [1, 3, 5, 7, 9]); test(3, arr, [1, 4, 7, 10]); test(4, arr, [1, 5, 9]); // Test slicing. auto s1 = stride(arr, 1); assert(equal(s1[1..4], [2, 3, 4])); assert(s1[1..4].length == 3); assert(equal(s1[1..5], [2, 3, 4, 5])); assert(s1[1..5].length == 4); assert(s1[0..0].empty); assert(s1[3..3].empty); // assert(s1[$ .. $].empty); assert(s1[s1.opDollar .. s1.opDollar].empty); auto s2 = stride(arr, 2); assert(equal(s2[0..2], [1,3])); assert(s2[0..2].length == 2); assert(equal(s2[1..5], [3, 5, 7, 9])); assert(s2[1..5].length == 4); assert(s2[0..0].empty); assert(s2[3..3].empty); // assert(s2[$ .. $].empty); assert(s2[s2.opDollar .. s2.opDollar].empty); // Test fix for Bug 5035 auto m = [1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4]; // 3 rows, 4 columns auto col = stride(m, 4); assert(equal(col, [1, 1, 1])); assert(equal(retro(col), [1, 1, 1])); immutable int[] immi = [ 1, 2, 3 ]; static assert(isRandomAccessRange!(typeof(stride(immi, 1)))); // Check for infiniteness propagation. static assert(isInfinite!(typeof(stride(repeat(1), 3)))); foreach(DummyType; AllDummyRanges) { DummyType dummyRange; dummyRange.reinit(); auto myStride = stride(dummyRange, 4); // Should fail if no length and bidirectional b/c there's no way // to know how much slack we have. static if (hasLength!DummyType || !isBidirectionalRange!DummyType) { static assert(propagatesRangeType!(typeof(myStride), DummyType)); } assert(myStride.front == 1); assert(myStride.moveFront() == 1); assert(equal(myStride, [1, 5, 9])); static if (hasLength!DummyType) { assert(myStride.length == 3); } static if (isBidirectionalRange!DummyType && hasLength!DummyType) { assert(myStride.back == 9); assert(myStride.moveBack() == 9); } static if (isRandomAccessRange!DummyType && hasLength!DummyType) { assert(myStride[0] == 1); assert(myStride[1] == 5); assert(myStride.moveAt(1) == 5); assert(myStride[2] == 9); static assert(hasSlicing!(typeof(myStride))); } static if (DummyType.r == ReturnBy.Reference) { // Make sure reference is propagated. { myStride.front++; scope(exit) myStride.front--; assert(dummyRange.front == 2); } { myStride.front = 4; scope(exit) myStride.front = 1; assert(dummyRange.front == 4); } static if (isBidirectionalRange!DummyType && hasLength!DummyType) { { myStride.back++; scope(exit) myStride.back--; assert(myStride.back == 10); } { myStride.back = 111; scope(exit) myStride.back = 9; assert(myStride.back == 111); } static if (isRandomAccessRange!DummyType) { { myStride[1]++; scope(exit) myStride[1]--; assert(dummyRange[4] == 6); } { myStride[1] = 55; scope(exit) myStride[1] = 5; assert(dummyRange[4] == 55); } } } } } } unittest { auto LL = iota(1L, 10L); auto s = stride(LL, 3); assert(equal(s, [1L, 4L, 7L])); } /** Spans multiple ranges in sequence. The function $(D chain) takes any number of ranges and returns a $(D Chain!(R1, R2,...)) object. The ranges may be different, but they must have the same element type. The result is a range that offers the $(D front), $(D popFront), and $(D empty) primitives. If all input ranges offer random access and $(D length), $(D Chain) offers them as well. If only one range is offered to $(D Chain) or $(D chain), the $(D Chain) type exits the picture by aliasing itself directly to that range's type. Example: ---- int[] arr1 = [ 1, 2, 3, 4 ]; int[] arr2 = [ 5, 6 ]; int[] arr3 = [ 7 ]; auto s = chain(arr1, arr2, arr3); assert(s.length == 7); assert(s[5] == 6); assert(equal(s, [1, 2, 3, 4, 5, 6, 7][])); ---- */ auto chain(Ranges...)(Ranges rs) if (Ranges.length > 0 && allSatisfy!(isInputRange, staticMap!(Unqual, Ranges)) && !is(CommonType!(staticMap!(ElementType, staticMap!(Unqual, Ranges))) == void)) { static if (Ranges.length == 1) { return rs[0]; } else { static struct Result { private: alias R = staticMap!(Unqual, Ranges); alias RvalueElementType = CommonType!(staticMap!(.ElementType, R)); private template sameET(A) { enum sameET = is(.ElementType!A == RvalueElementType); } enum bool allSameType = allSatisfy!(sameET, R); // This doesn't work yet static if (allSameType) { alias ref RvalueElementType ElementType; } else { alias ElementType = RvalueElementType; } static if (allSameType && allSatisfy!(hasLvalueElements, R)) { static ref RvalueElementType fixRef(ref RvalueElementType val) { return val; } } else { static RvalueElementType fixRef(RvalueElementType val) { return val; } } // This is the entire state R source; // TODO: use a vtable (or more) instead of linear iteration public: this(R input) { foreach (i, v; input) { source[i] = v; } } import mystd.typetuple : anySatisfy; static if (anySatisfy!(isInfinite, R)) { // Propagate infiniteness. enum bool empty = false; } else { @property bool empty() { foreach (i, Unused; R) { if (!source[i].empty) return false; } return true; } } static if (allSatisfy!(isForwardRange, R)) @property auto save() { typeof(this) result = this; foreach (i, Unused; R) { result.source[i] = result.source[i].save; } return result; } void popFront() { foreach (i, Unused; R) { if (source[i].empty) continue; source[i].popFront(); return; } } @property auto ref front() { foreach (i, Unused; R) { if (source[i].empty) continue; return fixRef(source[i].front); } assert(false); } static if (allSameType && allSatisfy!(hasAssignableElements, R)) { // @@@BUG@@@ //@property void front(T)(T v) if (is(T : RvalueElementType)) // Return type must be auto due to Bug 4706. @property auto front(RvalueElementType v) { foreach (i, Unused; R) { if (source[i].empty) continue; source[i].front = v; return; } assert(false); } } static if (allSatisfy!(hasMobileElements, R)) { RvalueElementType moveFront() { foreach (i, Unused; R) { if (source[i].empty) continue; return .moveFront(source[i]); } assert(false); } } static if (allSatisfy!(isBidirectionalRange, R)) { @property auto ref back() { foreach_reverse (i, Unused; R) { if (source[i].empty) continue; return fixRef(source[i].back); } assert(false); } void popBack() { foreach_reverse (i, Unused; R) { if (source[i].empty) continue; source[i].popBack(); return; } } static if (allSatisfy!(hasMobileElements, R)) { RvalueElementType moveBack() { foreach_reverse (i, Unused; R) { if (source[i].empty) continue; return .moveBack(source[i]); } assert(false); } } static if (allSameType && allSatisfy!(hasAssignableElements, R)) { // Return type must be auto due to extremely strange bug in DMD's // function overloading. @property auto back(RvalueElementType v) { foreach_reverse (i, Unused; R) { if (source[i].empty) continue; source[i].back = v; return; } assert(false); } } } static if (allSatisfy!(hasLength, R)) { @property size_t length() { size_t result; foreach (i, Unused; R) { result += source[i].length; } return result; } alias opDollar = length; } static if (allSatisfy!(isRandomAccessRange, R)) { auto ref opIndex(size_t index) { foreach (i, Range; R) { static if (isInfinite!(Range)) { return source[i][index]; } else { immutable length = source[i].length; if (index < length) return fixRef(source[i][index]); index -= length; } } assert(false); } static if (allSatisfy!(hasMobileElements, R)) { RvalueElementType moveAt(size_t index) { foreach (i, Range; R) { static if (isInfinite!(Range)) { return .moveAt(source[i], index); } else { immutable length = source[i].length; if (index < length) return .moveAt(source[i], index); index -= length; } } assert(false); } } static if (allSameType && allSatisfy!(hasAssignableElements, R)) void opIndexAssign(ElementType v, size_t index) { foreach (i, Range; R) { static if (isInfinite!(Range)) { source[i][index] = v; } else { immutable length = source[i].length; if (index < length) { source[i][index] = v; return; } index -= length; } } assert(false); } } static if (allSatisfy!(hasLength, R) && allSatisfy!(hasSlicing, R)) auto opSlice(size_t begin, size_t end) { auto result = this; foreach (i, Unused; R) { immutable len = result.source[i].length; if (len < begin) { result.source[i] = result.source[i] [len .. len]; begin -= len; } else { result.source[i] = result.source[i] [begin .. len]; break; } } auto cut = length; cut = cut <= end ? 0 : cut - end; foreach_reverse (i, Unused; R) { immutable len = result.source[i].length; if (cut > len) { result.source[i] = result.source[i] [0 .. 0]; cut -= len; } else { result.source[i] = result.source[i] [0 .. len - cut]; break; } } return result; } } return Result(rs); } } unittest { { int[] arr1 = [ 1, 2, 3, 4 ]; int[] arr2 = [ 5, 6 ]; int[] arr3 = [ 7 ]; int[] witness = [ 1, 2, 3, 4, 5, 6, 7 ]; auto s1 = chain(arr1); static assert(isRandomAccessRange!(typeof(s1))); auto s2 = chain(arr1, arr2); static assert(isBidirectionalRange!(typeof(s2))); static assert(isRandomAccessRange!(typeof(s2))); s2.front = 1; auto s = chain(arr1, arr2, arr3); assert(s[5] == 6); assert(equal(s, witness)); assert(s[5] == 6); } { int[] arr1 = [ 1, 2, 3, 4 ]; int[] witness = [ 1, 2, 3, 4 ]; assert(equal(chain(arr1), witness)); } { uint[] foo = [1,2,3,4,5]; uint[] bar = [1,2,3,4,5]; auto c = chain(foo, bar); c[3] = 42; assert(c[3] == 42); assert(c.moveFront() == 1); assert(c.moveBack() == 5); assert(c.moveAt(4) == 5); assert(c.moveAt(5) == 1); } // Make sure bug 3311 is fixed. ChainImpl should compile even if not all // elements are mutable. auto c = chain( iota(0, 10), iota(0, 10) ); // Test the case where infinite ranges are present. auto inf = chain([0,1,2][], cycle([4,5,6][]), [7,8,9][]); // infinite range assert(inf[0] == 0); assert(inf[3] == 4); assert(inf[6] == 4); assert(inf[7] == 5); static assert(isInfinite!(typeof(inf))); immutable int[] immi = [ 1, 2, 3 ]; immutable float[] immf = [ 1, 2, 3 ]; static assert(is(typeof(chain(immi, immf)))); // Check that chain at least instantiates and compiles with every possible // pair of DummyRange types, in either order. foreach(DummyType1; AllDummyRanges) { DummyType1 dummy1; foreach(DummyType2; AllDummyRanges) { DummyType2 dummy2; auto myChain = chain(dummy1, dummy2); static assert( propagatesRangeType!(typeof(myChain), DummyType1, DummyType2) ); assert(myChain.front == 1); foreach(i; 0..dummyLength) { myChain.popFront(); } assert(myChain.front == 1); static if (isBidirectionalRange!DummyType1 && isBidirectionalRange!DummyType2) { assert(myChain.back == 10); } static if (isRandomAccessRange!DummyType1 && isRandomAccessRange!DummyType2) { assert(myChain[0] == 1); } static if (hasLvalueElements!DummyType1 && hasLvalueElements!DummyType2) { static assert(hasLvalueElements!(typeof(myChain))); } else { static assert(!hasLvalueElements!(typeof(myChain))); } } } } unittest { class Foo{} immutable(Foo)[] a; immutable(Foo)[] b; auto c = chain(a, b); } /** $(D roundRobin(r1, r2, r3)) yields $(D r1.front), then $(D r2.front), then $(D r3.front), after which it pops off one element from each and continues again from $(D r1). For example, if two ranges are involved, it alternately yields elements off the two ranges. $(D roundRobin) stops after it has consumed all ranges (skipping over the ones that finish early). */ auto roundRobin(Rs...)(Rs rs) if (Rs.length > 1 && allSatisfy!(isInputRange, staticMap!(Unqual, Rs))) { struct Result { import mystd.conv : to; public Rs source; private size_t _current = size_t.max; @property bool empty() { foreach (i, Unused; Rs) { if (!source[i].empty) return false; } return true; } @property auto ref front() { static string makeSwitch() { string result = "switch (_current) {\n"; foreach (i, R; Rs) { auto si = to!string(i); result ~= "case "~si~": "~ "assert(!source["~si~"].empty); return source["~si~"].front;\n"; } return result ~ "default: assert(0); }"; } mixin(makeSwitch()); } void popFront() { static string makeSwitchPopFront() { string result = "switch (_current) {\n"; foreach (i, R; Rs) { auto si = to!string(i); result ~= "case "~si~": source["~si~"].popFront(); break;\n"; } return result ~ "default: assert(0); }"; } static string makeSwitchIncrementCounter() { string result = "auto next = _current == Rs.length - 1 ? 0 : _current + 1;\n"~ "switch (next) {\n"; foreach (i, R; Rs) { auto si = to!string(i); auto si_1 = to!string(i ? i - 1 : Rs.length - 1); result ~= "case "~si~": "~ "if (!source["~si~"].empty) { _current = "~si~"; return; }\n"~ "if ("~si~" == _current) { _current = _current.max; return; }\n"~ "goto case "~to!string((i + 1) % Rs.length)~";\n"; } return result ~ "default: assert(0); }"; } mixin(makeSwitchPopFront()); mixin(makeSwitchIncrementCounter()); } static if (allSatisfy!(isForwardRange, staticMap!(Unqual, Rs))) @property auto save() { Result result = this; foreach (i, Unused; Rs) { result.source[i] = result.source[i].save; } return result; } static if (allSatisfy!(hasLength, Rs)) { @property size_t length() { size_t result; foreach (i, R; Rs) { result += source[i].length; } return result; } alias opDollar = length; } } return Result(rs, 0); } /// unittest { int[] a = [ 1, 2, 3 ]; int[] b = [ 10, 20, 30, 40 ]; auto r = roundRobin(a, b); assert(equal(r, [ 1, 10, 2, 20, 3, 30, 40 ])); } /** Iterates a random-access range starting from a given point and progressively extending left and right from that point. If no initial point is given, iteration starts from the middle of the range. Iteration spans the entire range. */ auto radial(Range, I)(Range r, I startingIndex) if (isRandomAccessRange!(Unqual!Range) && hasLength!(Unqual!Range) && isIntegral!I) { if (!r.empty) ++startingIndex; return roundRobin(retro(r[0 .. startingIndex]), r[startingIndex .. r.length]); } /// Ditto auto radial(R)(R r) if (isRandomAccessRange!(Unqual!R) && hasLength!(Unqual!R)) { return .radial(r, (r.length - !r.empty) / 2); } /// unittest { int[] a = [ 1, 2, 3, 4, 5 ]; assert(equal(radial(a), [ 3, 4, 2, 5, 1 ])); a = [ 1, 2, 3, 4 ]; assert(equal(radial(a), [ 2, 3, 1, 4 ])); } unittest { import mystd.conv : text; import mystd.exception : enforce; void test(int[] input, int[] witness) { enforce(equal(radial(input), witness), text(radial(input), " vs. ", witness)); } test([], []); test([ 1 ], [ 1 ]); test([ 1, 2 ], [ 1, 2 ]); test([ 1, 2, 3 ], [ 2, 3, 1 ]); test([ 1, 2, 3, 4 ], [ 2, 3, 1, 4 ]); test([ 1, 2, 3, 4, 5 ], [ 3, 4, 2, 5, 1 ]); test([ 1, 2, 3, 4, 5, 6 ], [ 3, 4, 2, 5, 1, 6 ]); int[] a = [ 1, 2, 3, 4, 5 ]; assert(equal(radial(a, 1), [ 2, 3, 1, 4, 5 ][])); static assert(isForwardRange!(typeof(radial(a, 1)))); auto r = radial([1,2,3,4,5]); for(auto rr = r.save; !rr.empty; rr.popFront()) { assert(rr.front == moveFront(rr)); } r.front = 5; assert(r.front == 5); // Test instantiation without lvalue elements. DummyRange!(ReturnBy.Value, Length.Yes, RangeType.Random) dummy; assert(equal(radial(dummy, 4), [5, 6, 4, 7, 3, 8, 2, 9, 1, 10])); // immutable int[] immi = [ 1, 2 ]; // static assert(is(typeof(radial(immi)))); } unittest { auto LL = iota(1L, 6L); auto r = radial(LL); assert(equal(r, [3L, 4L, 2L, 5L, 1L])); } /** Lazily takes only up to $(D n) elements of a range. This is particularly useful when using with infinite ranges. If the range offers random access and $(D length), $(D Take) offers them as well. */ struct Take(Range) if (isInputRange!(Unqual!Range) && //take _cannot_ test hasSlicing on infinite ranges, because hasSlicing uses //take for slicing infinite ranges. !((!isInfinite!(Unqual!Range) && hasSlicing!(Unqual!Range)) || is(Range T == Take!T))) { private alias R = Unqual!Range; // User accessible in read and write public R source; private size_t _maxAvailable; alias Source = R; @property bool empty() { return _maxAvailable == 0 || source.empty; } @property auto ref front() { assert(!empty, "Attempting to fetch the front of an empty " ~ Take.stringof); return source.front; } void popFront() { assert(!empty, "Attempting to popFront() past the end of a " ~ Take.stringof); source.popFront(); --_maxAvailable; } static if (isForwardRange!R) @property Take save() { return Take(source.save, _maxAvailable); } static if (hasAssignableElements!R) @property auto front(ElementType!R v) { assert(!empty, "Attempting to assign to the front of an empty " ~ Take.stringof); // This has to return auto instead of void because of Bug 4706. source.front = v; } static if (hasMobileElements!R) { auto moveFront() { assert(!empty, "Attempting to move the front of an empty " ~ Take.stringof); return .moveFront(source); } } static if (isInfinite!R) { @property size_t length() const { return _maxAvailable; } alias opDollar = length; } else static if (hasLength!R) { @property size_t length() { return min(_maxAvailable, source.length); } alias opDollar = length; } static if (isRandomAccessRange!R) { void popBack() { assert(!empty, "Attempting to popBack() past the beginning of a " ~ Take.stringof); --_maxAvailable; } @property auto ref back() { assert(!empty, "Attempting to fetch the back of an empty " ~ Take.stringof); return source[this.length - 1]; } auto ref opIndex(size_t index) { assert(index < length, "Attempting to index out of the bounds of a " ~ Take.stringof); return source[index]; } static if (hasAssignableElements!R) { @property auto back(ElementType!R v) { // This has to return auto instead of void because of Bug 4706. assert(!empty, "Attempting to assign to the back of an empty " ~ Take.stringof); source[this.length - 1] = v; } void opIndexAssign(ElementType!R v, size_t index) { assert(index < length, "Attempting to index out of the bounds of a " ~ Take.stringof); source[index] = v; } } static if (hasMobileElements!R) { auto moveBack() { assert(!empty, "Attempting to move the back of an empty " ~ Take.stringof); return .moveAt(source, this.length - 1); } auto moveAt(size_t index) { assert(index < length, "Attempting to index out of the bounds of a " ~ Take.stringof); return .moveAt(source, index); } } } // Nonstandard @property size_t maxLength() const { return _maxAvailable; } } // This template simply aliases itself to R and is useful for consistency in // generic code. template Take(R) if (isInputRange!(Unqual!R) && ((!isInfinite!(Unqual!R) && hasSlicing!(Unqual!R)) || is(R T == Take!T))) { alias Take = R; } // take for finite ranges with slicing /// ditto Take!R take(R)(R input, size_t n) if (isInputRange!(Unqual!R) && !isInfinite!(Unqual!R) && hasSlicing!(Unqual!R)) { // @@@BUG@@@ //return input[0 .. min(n, $)]; return input[0 .. min(n, input.length)]; } /// unittest { int[] arr1 = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]; auto s = take(arr1, 5); assert(s.length == 5); assert(s[4] == 5); assert(equal(s, [ 1, 2, 3, 4, 5 ][])); } // take(take(r, n1), n2) Take!R take(R)(R input, size_t n) if (is(R T == Take!T)) { return R(input.source, min(n, input._maxAvailable)); } // Regular take for input ranges Take!(R) take(R)(R input, size_t n) if (isInputRange!(Unqual!R) && (isInfinite!(Unqual!R) || !hasSlicing!(Unqual!R) && !is(R T == Take!T))) { return Take!R(input, n); } unittest { int[] arr1 = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]; auto s = take(arr1, 5); assert(s.length == 5); assert(s[4] == 5); assert(equal(s, [ 1, 2, 3, 4, 5 ][])); assert(equal(retro(s), [ 5, 4, 3, 2, 1 ][])); // Test fix for bug 4464. static assert(is(typeof(s) == Take!(int[]))); static assert(is(typeof(s) == int[])); // Test using narrow strings. auto myStr = "This is a string."; auto takeMyStr = take(myStr, 7); assert(equal(takeMyStr, "This is")); // Test fix for bug 5052. auto takeMyStrAgain = take(takeMyStr, 4); assert(equal(takeMyStrAgain, "This")); static assert (is (typeof(takeMyStrAgain) == typeof(takeMyStr))); takeMyStrAgain = take(takeMyStr, 10); assert(equal(takeMyStrAgain, "This is")); foreach(DummyType; AllDummyRanges) { DummyType dummy; auto t = take(dummy, 5); alias T = typeof(t); static if (isRandomAccessRange!DummyType) { static assert(isRandomAccessRange!T); assert(t[4] == 5); assert(moveAt(t, 1) == t[1]); assert(t.back == moveBack(t)); } else static if (isForwardRange!DummyType) { static assert(isForwardRange!T); } for(auto tt = t; !tt.empty; tt.popFront()) { assert(tt.front == moveFront(tt)); } // Bidirectional ranges can't be propagated properly if they don't // also have random access. assert(equal(t, [1,2,3,4,5])); //Test that take doesn't wrap the result of take. assert(take(t, 4) == take(dummy, 4)); } immutable myRepeat = repeat(1); static assert(is(Take!(typeof(myRepeat)))); } unittest { // Check that one can declare variables of all Take types, // and that they match the return type of the corresponding // take(). (See issue 4464.) int[] r1; Take!(int[]) t1; t1 = take(r1, 1); string r2; Take!string t2; t2 = take(r2, 1); Take!(Take!string) t3; t3 = take(t2, 1); } unittest { alias R1 = typeof(repeat(1)); alias R2 = typeof(cycle([1])); alias TR1 = Take!R1; alias TR2 = Take!R2; static assert(isBidirectionalRange!TR1); static assert(isBidirectionalRange!TR2); } /** Similar to $(LREF take), but assumes that $(D range) has at least $(D n) elements. Consequently, the result of $(D takeExactly(range, n)) always defines the $(D length) property (and initializes it to $(D n)) even when $(D range) itself does not define $(D length). The result of $(D takeExactly) is identical to that of $(LREF take) in cases where the original range defines $(D length) or is infinite. */ auto takeExactly(R)(R range, size_t n) if (isInputRange!R) { static if (is(typeof(takeExactly(range._input, n)) == R)) { assert(n <= range._n, "Attempted to take more than the length of the range with takeExactly."); // takeExactly(takeExactly(r, n1), n2) has the same type as // takeExactly(r, n1) and simply returns takeExactly(r, n2) range._n = n; return range; } //Also covers hasSlicing!R for finite ranges. else static if (hasLength!R) { assert(n <= range.length, "Attempted to take more than the length of the range with takeExactly."); return take(range, n); } else static if (isInfinite!R) return Take!R(range, n); else { static struct Result { R _input; private size_t _n; @property bool empty() const { return !_n; } @property auto ref front() { assert(_n > 0, "front() on an empty " ~ Result.stringof); return _input.front; } void popFront() { _input.popFront(); --_n; } @property size_t length() const { return _n; } alias opDollar = length; static if (isForwardRange!R) @property auto save() { return Result(_input.save, _n); } static if (hasMobileElements!R) { auto moveFront() { assert(!empty, "Attempting to move the front of an empty " ~ typeof(this).stringof); return .moveFront(_input); } } static if (hasAssignableElements!R) { @property auto ref front(ElementType!R v) { assert(!empty, "Attempting to assign to the front of an empty " ~ typeof(this).stringof); return _input.front = v; } } } return Result(range, n); } } /// unittest { auto a = [ 1, 2, 3, 4, 5 ]; auto b = takeExactly(a, 3); assert(equal(b, [1, 2, 3])); static assert(is(typeof(b.length) == size_t)); assert(b.length == 3); assert(b.front == 1); assert(b.back == 3); } unittest { auto a = [ 1, 2, 3, 4, 5 ]; auto b = takeExactly(a, 3); auto c = takeExactly(b, 2); auto d = filter!"a > 0"(a); auto e = takeExactly(d, 3); assert(equal(e, [1, 2, 3])); static assert(is(typeof(e.length) == size_t)); assert(e.length == 3); assert(e.front == 1); assert(equal(takeExactly(e, 3), [1, 2, 3])); } unittest { auto a = [ 1, 2, 3, 4, 5 ]; //Test that take and takeExactly are the same for ranges which define length //but aren't sliceable. struct L { @property auto front() { return _arr[0]; } @property bool empty() { return _arr.empty; } void popFront() { _arr.popFront(); } @property size_t length() { return _arr.length; } int[] _arr; } static assert(is(typeof(take(L(a), 3)) == typeof(takeExactly(L(a), 3)))); assert(take(L(a), 3) == takeExactly(L(a), 3)); //Test that take and takeExactly are the same for ranges which are sliceable. static assert(is(typeof(take(a, 3)) == typeof(takeExactly(a, 3)))); assert(take(a, 3) == takeExactly(a, 3)); //Test that take and takeExactly are the same for infinite ranges. auto inf = repeat(1); static assert(is(typeof(take(inf, 5)) == Take!(typeof(inf)))); assert(take(inf, 5) == takeExactly(inf, 5)); //Test that take and takeExactly are _not_ the same for ranges which don't //define length. static assert(!is(typeof(take(filter!"true"(a), 3)) == typeof(takeExactly(filter!"true"(a), 3)))); foreach(DummyType; AllDummyRanges) { { DummyType dummy; auto t = takeExactly(dummy, 5); //Test that takeExactly doesn't wrap the result of takeExactly. assert(takeExactly(t, 4) == takeExactly(dummy, 4)); } static if(hasMobileElements!DummyType) { { auto t = takeExactly(DummyType.init, 4); assert(t.moveFront() == 1); assert(equal(t, [1, 2, 3, 4])); } } static if(hasAssignableElements!DummyType) { { auto t = takeExactly(DummyType.init, 4); t.front = 9; assert(equal(t, [9, 2, 3, 4])); } } } } /** Returns a range with at most one element; for example, $(D takeOne([42, 43, 44])) returns a range consisting of the integer $(D 42). Calling $(D popFront()) off that range renders it empty. In effect $(D takeOne(r)) is somewhat equivalent to $(D take(r, 1)) but in certain interfaces it is important to know statically that the range may only have at most one element. The type returned by $(D takeOne) is a random-access range with length regardless of $(D R)'s capabilities (another feature that distinguishes $(D takeOne) from $(D take)). */ auto takeOne(R)(R source) if (isInputRange!R) { static if (hasSlicing!R) { return source[0 .. !source.empty]; } else { static struct Result { private R _source; private bool _empty = true; @property bool empty() const { return _empty; } @property auto ref front() { assert(!empty); return _source.front; } void popFront() { assert(!empty); _empty = true; } void popBack() { assert(!empty); _empty = true; } @property auto save() { return Result(_source.save, empty); } @property auto ref back() { assert(!empty); return _source.front; } @property size_t length() const { return !empty; } alias opDollar = length; auto ref opIndex(size_t n) { assert(n < length); return _source.front; } auto opSlice(size_t m, size_t n) { assert(m <= n && n < length); return n > m ? this : Result(_source, false); } // Non-standard property @property R source() { return _source; } } return Result(source, source.empty); } } /// unittest { auto s = takeOne([42, 43, 44]); static assert(isRandomAccessRange!(typeof(s))); assert(s.length == 1); assert(!s.empty); assert(s.front == 42); s.front = 43; assert(s.front == 43); assert(s.back == 43); assert(s[0] == 43); s.popFront(); assert(s.length == 0); assert(s.empty); } /++ Returns an empty range which is statically known to be empty and is guaranteed to have $(D length) and be random access regardless of $(D R)'s capabilities. +/ auto takeNone(R)() if(isInputRange!R) { return typeof(takeOne(R.init)).init; } /// unittest { auto range = takeNone!(int[])(); assert(range.length == 0); assert(range.empty); } unittest { enum ctfe = takeNone!(int[])(); static assert(ctfe.length == 0); static assert(ctfe.empty); } /++ Creates an empty range from the given range in $(BIGOH 1). If it can, it will return the same range type. If not, it will return $(D takeExactly(range, 0)). +/ auto takeNone(R)(R range) if(isInputRange!R) { //Makes it so that calls to takeNone which don't use UFCS still work with a //member version if it's defined. static if(is(typeof(R.takeNone))) auto retval = range.takeNone(); //@@@BUG@@@ 8339 else static if(isDynamicArray!R)/+ || (is(R == struct) && __traits(compiles, {auto r = R.init;}) && R.init.empty))+/ { auto retval = R.init; } //An infinite range sliced at [0 .. 0] would likely still not be empty... else static if(hasSlicing!R && !isInfinite!R) auto retval = range[0 .. 0]; else auto retval = takeExactly(range, 0); //@@@BUG@@@ 7892 prevents this from being done in an out block. assert(retval.empty); return retval; } /// unittest { assert(takeNone([42, 27, 19]).empty); assert(takeNone("dlang.org").empty); assert(takeNone(filter!"true"([42, 27, 19])).empty); } unittest { string genInput() { return "@property bool empty() { return _arr.empty; }" ~ "@property auto front() { return _arr.front; }" ~ "void popFront() { _arr.popFront(); }" ~ "static assert(isInputRange!(typeof(this)));"; } static struct NormalStruct { //Disabled to make sure that the takeExactly version is used. @disable this(); this(int[] arr) { _arr = arr; } mixin(genInput()); int[] _arr; } static struct SliceStruct { @disable this(); this(int[] arr) { _arr = arr; } mixin(genInput()); @property auto save() { return this; } auto opSlice(size_t i, size_t j) { return typeof(this)(_arr[i .. j]); } @property size_t length() { return _arr.length; } int[] _arr; } static struct InitStruct { mixin(genInput()); int[] _arr; } static struct TakeNoneStruct { this(int[] arr) { _arr = arr; } @disable this(); mixin(genInput()); auto takeNone() { return typeof(this)(null); } int[] _arr; } static class NormalClass { this(int[] arr) {_arr = arr;} mixin(genInput()); int[] _arr; } static class SliceClass { this(int[] arr) { _arr = arr; } mixin(genInput()); @property auto save() { return new typeof(this)(_arr); } auto opSlice(size_t i, size_t j) { return new typeof(this)(_arr[i .. j]); } @property size_t length() { return _arr.length; } int[] _arr; } static class TakeNoneClass { this(int[] arr) { _arr = arr; } mixin(genInput()); auto takeNone() { return new typeof(this)(null); } int[] _arr; } import mystd.string : format; foreach(range; TypeTuple!(`[1, 2, 3, 4, 5]`, `"hello world"`, `"hello world"w`, `"hello world"d`, `SliceStruct([1, 2, 3])`, //@@@BUG@@@ 8339 forces this to be takeExactly //`InitStruct([1, 2, 3])`, `TakeNoneStruct([1, 2, 3])`)) { mixin(format("enum a = takeNone(%s).empty;", range)); assert(a, typeof(range).stringof); mixin(format("assert(takeNone(%s).empty);", range)); mixin(format("static assert(is(typeof(%s) == typeof(takeNone(%s))), typeof(%s).stringof);", range, range, range)); } foreach(range; TypeTuple!(`NormalStruct([1, 2, 3])`, `InitStruct([1, 2, 3])`)) { mixin(format("enum a = takeNone(%s).empty;", range)); assert(a, typeof(range).stringof); mixin(format("assert(takeNone(%s).empty);", range)); mixin(format("static assert(is(typeof(takeExactly(%s, 0)) == typeof(takeNone(%s))), typeof(%s).stringof);", range, range, range)); } //Don't work in CTFE. auto normal = new NormalClass([1, 2, 3]); assert(takeNone(normal).empty); static assert(is(typeof(takeExactly(normal, 0)) == typeof(takeNone(normal))), typeof(normal).stringof); auto slice = new SliceClass([1, 2, 3]); assert(takeNone(slice).empty); static assert(is(SliceClass == typeof(takeNone(slice))), typeof(slice).stringof); auto taken = new TakeNoneClass([1, 2, 3]); assert(takeNone(taken).empty); static assert(is(TakeNoneClass == typeof(takeNone(taken))), typeof(taken).stringof); auto filtered = filter!"true"([1, 2, 3, 4, 5]); assert(takeNone(filtered).empty); //@@@BUG@@@ 8339 and 5941 force this to be takeExactly //static assert(is(typeof(filtered) == typeof(takeNone(filtered))), typeof(filtered).stringof); } /++ Convenience function which calls $(D range.$(LREF popFrontN)(n)) and returns $(D range). $(D drop) makes it easier to pop elements from a range and then pass it to another function within a single expression, whereas $(D popFrontN) would require multiple statements. $(D dropBack) provides the same functionality but instead calls $(D range.popBackN(n)). Note: $(D drop) and $(D dropBack) will only pop $(I up to) $(D n) elements but will stop if the range is empty first. +/ R drop(R)(R range, size_t n) if(isInputRange!R) { range.popFrontN(n); return range; } /// ditto R dropBack(R)(R range, size_t n) if(isBidirectionalRange!R) { range.popBackN(n); return range; } /// unittest { assert([0, 2, 1, 5, 0, 3].drop(3) == [5, 0, 3]); assert("hello world".drop(6) == "world"); assert("hello world".drop(50).empty); assert("hello world".take(6).drop(3).equal("lo ")); } unittest { assert([0, 2, 1, 5, 0, 3].dropBack(3) == [0, 2, 1]); assert("hello world".dropBack(6) == "hello"); assert("hello world".dropBack(50).empty); assert("hello world".drop(4).dropBack(4).equal("o w")); } unittest { import mystd.container : DList; //Remove all but the first two elements auto a = DList!int(0, 1, 9, 9, 9, 9); a.remove(a[].drop(2)); assert(a[].equal(a[].take(2))); } unittest { assert(drop("", 5).empty); assert(equal(drop(filter!"true"([0, 2, 1, 5, 0, 3]), 3), [5, 0, 3])); } unittest { import mystd.container : DList; //insert before the last two elements auto a = DList!int(0, 1, 2, 5, 6); a.insertAfter(a[].dropBack(2), [3, 4]); assert(a[].equal(iota(0, 7))); } /++ Similar to $(LREF drop) and $(D dropBack) but they call $(D range.$(LREF popFrontExactly)(n)) and $(D range.popBackExactly(n)) instead. Note: Unlike $(D drop), $(D dropExactly) will assume that the range holds at least $(D n) elements. This makes $(D dropExactly) faster than $(D drop), but it also means that if $(D range) does not contain at least $(D n) elements, it will attempt to call $(D popFront) on an empty range, which is undefined behavior. So, only use $(D popFrontExactly) when it is guaranteed that $(D range) holds at least $(D n) elements. +/ R dropExactly(R)(R range, size_t n) if(isInputRange!R) { popFrontExactly(range, n); return range; } /// ditto R dropBackExactly(R)(R range, size_t n) if(isBidirectionalRange!R) { popBackExactly(range, n); return range; } /// unittest { auto a = [1, 2, 3]; assert(a.dropExactly(2) == [3]); assert(a.dropBackExactly(2) == [1]); string s = "日本語"; assert(s.dropExactly(2) == "語"); assert(s.dropBackExactly(2) == "日"); auto bd = filterBidirectional!"true"([1, 2, 3]); assert(bd.dropExactly(2).equal([3])); assert(bd.dropBackExactly(2).equal([1])); } /++ Convenience function which calls $(D range.popFront()) and returns $(D range). $(D dropOne) makes it easier to pop an element from a range and then pass it to another function within a single expression, whereas $(D popFront) would require multiple statements. $(D dropBackOne) provides the same functionality but instead calls $(D range.popBack()). +/ R dropOne(R)(R range) if (isInputRange!R) { range.popFront(); return range; } /// ditto R dropBackOne(R)(R range) if (isBidirectionalRange!R) { range.popBack(); return range; } /// unittest { import mystd.container : DList; auto dl = DList!int(9, 1, 2, 3, 9); assert(dl[].dropOne().dropBackOne().equal([1, 2, 3])); auto a = [1, 2, 3]; assert(a.dropOne() == [2, 3]); assert(a.dropBackOne() == [1, 2]); string s = "日本語"; assert(s.dropOne() == "本語"); assert(s.dropBackOne() == "日本"); auto bd = filterBidirectional!"true"([1, 2, 3]); assert(bd.dropOne().equal([2, 3])); assert(bd.dropBackOne().equal([1, 2])); } /** Eagerly advances $(D r) itself (not a copy) up to $(D n) times (by calling $(D r.popFront)). $(D popFrontN) takes $(D r) by $(D ref), so it mutates the original range. Completes in $(BIGOH 1) steps for ranges that support slicing and have length. Completes in $(BIGOH n) time for all other ranges. Returns: How much $(D r) was actually advanced, which may be less than $(D n) if $(D r) did not have at least $(D n) elements. $(D popBackN) will behave the same but instead removes elements from the back of the (bidirectional) range instead of the front. */ size_t popFrontN(Range)(ref Range r, size_t n) if (isInputRange!Range) { static if (hasLength!Range) n = min(n, r.length); static if (hasSlicing!Range && is(typeof(r = r[n .. $]))) { r = r[n .. $]; } else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. { r = r[n .. r.length]; } else { static if (hasLength!Range) { foreach (i; 0 .. n) r.popFront(); } else { foreach (i; 0 .. n) { if (r.empty) return i; r.popFront(); } } } return n; } /// ditto size_t popBackN(Range)(ref Range r, size_t n) if (isBidirectionalRange!Range) { static if (hasLength!Range) n = min(n, r.length); static if (hasSlicing!Range && is(typeof(r = r[0 .. $ - n]))) { r = r[0 .. $ - n]; } else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. { r = r[0 .. r.length - n]; } else { static if (hasLength!Range) { foreach (i; 0 .. n) r.popBack(); } else { foreach (i; 0 .. n) { if (r.empty) return i; r.popBack(); } } } return n; } /// unittest { int[] a = [ 1, 2, 3, 4, 5 ]; a.popFrontN(2); assert(a == [ 3, 4, 5 ]); a.popFrontN(7); assert(a == [ ]); } /// unittest { auto LL = iota(1L, 7L); auto r = popFrontN(LL, 2); assert(equal(LL, [3L, 4L, 5L, 6L])); assert(r == 2); } /// unittest { int[] a = [ 1, 2, 3, 4, 5 ]; a.popBackN(2); assert(a == [ 1, 2, 3 ]); a.popBackN(7); assert(a == [ ]); } /// unittest { auto LL = iota(1L, 7L); auto r = popBackN(LL, 2); assert(equal(LL, [1L, 2L, 3L, 4L])); assert(r == 2); } /** Eagerly advances $(D r) itself (not a copy) exactly $(D n) times (by calling $(D r.popFront)). $(D popFrontExactly) takes $(D r) by $(D ref), so it mutates the original range. Completes in $(BIGOH 1) steps for ranges that support slicing, and have either length or are infinite. Completes in $(BIGOH n) time for all other ranges. Note: Unlike $(LREF popFrontN), $(D popFrontExactly) will assume that the range holds at least $(D n) elements. This makes $(D popFrontExactly) faster than $(D popFrontN), but it also means that if $(D range) does not contain at least $(D n) elements, it will attempt to call $(D popFront) on an empty range, which is undefined behavior. So, only use $(D popFrontExactly) when it is guaranteed that $(D range) holds at least $(D n) elements. $(D popBackExactly) will behave the same but instead removes elements from the back of the (bidirectional) range instead of the front. */ void popFrontExactly(Range)(ref Range r, size_t n) if (isInputRange!Range) { static if (hasLength!Range) assert(n <= r.length, "range is smaller than amount of items to pop"); static if (hasSlicing!Range && is(typeof(r = r[n .. $]))) r = r[n .. $]; else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. r = r[n .. r.length]; else foreach (i; 0 .. n) r.popFront(); } /// ditto void popBackExactly(Range)(ref Range r, size_t n) if (isBidirectionalRange!Range) { static if (hasLength!Range) assert(n <= r.length, "range is smaller than amount of items to pop"); static if (hasSlicing!Range && is(typeof(r = r[0 .. $ - n]))) r = r[0 .. $ - n]; else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. r = r[0 .. r.length - n]; else foreach (i; 0 .. n) r.popBack(); } /// unittest { auto a = [1, 2, 3]; a.popFrontExactly(1); assert(a == [2, 3]); a.popBackExactly(1); assert(a == [2]); string s = "日本語"; s.popFrontExactly(1); assert(s == "本語"); s.popBackExactly(1); assert(s == "本"); auto bd = filterBidirectional!"true"([1, 2, 3]); bd.popFrontExactly(1); assert(bd.equal([2, 3])); bd.popBackExactly(1); assert(bd.equal([2])); } /** Repeats one value forever. Models an infinite bidirectional and random access range, with slicing. */ struct Repeat(T) { private T _value; @property inout(T) front() inout { return _value; } @property inout(T) back() inout { return _value; } enum bool empty = false; void popFront() {} void popBack() {} @property auto save() inout { return this; } inout(T) opIndex(size_t) inout { return _value; } auto opSlice(size_t i, size_t j) in { import core.exception : RangeError; if (i > j) throw new RangeError(); } body { return this.takeExactly(j - i); } private static struct DollarToken {} enum opDollar = DollarToken.init; auto opSlice(size_t, DollarToken) inout { return this; } } /// Ditto Repeat!T repeat(T)(T value) { return Repeat!T(value); } /// unittest { assert(equal(5.repeat().take(4), [ 5, 5, 5, 5 ])); } unittest { auto r = repeat(5); alias R = typeof(r); static assert(isBidirectionalRange!R); static assert(isForwardRange!R); static assert(isInfinite!R); static assert(hasSlicing!R); assert(r.back == 5); assert(r.front == 5); assert(r.take(4).equal([ 5, 5, 5, 5 ])); assert(r[0 .. 4].equal([ 5, 5, 5, 5 ])); R r2 = r[5 .. $]; } /** Repeats $(D value) exactly $(D n) times. Equivalent to $(D take(repeat(value), n)). */ Take!(Repeat!T) repeat(T)(T value, size_t n) { return take(repeat(value), n); } /// unittest { assert(equal(5.repeat(4), 5.repeat().take(4))); } /** Repeats the given forward range ad infinitum. If the original range is infinite (fact that would make $(D Cycle) the identity application), $(D Cycle) detects that and aliases itself to the range type itself. If the original range has random access, $(D Cycle) offers random access and also offers a constructor taking an initial position $(D index). $(D Cycle) works with static arrays in addition to ranges, mostly for performance reasons. Tip: This is a great way to implement simple circular buffers. */ struct Cycle(R) if (isForwardRange!R && !isInfinite!R) { static if (isRandomAccessRange!R && hasLength!R) { private R _original; private size_t _index; this(R input, size_t index = 0) { _original = input; _index = index % _original.length; } @property auto ref front() { return _original[_index]; } static if (is(typeof((cast(const R)_original)[_index]))) { @property auto ref front() const { return _original[_index]; } } static if (hasAssignableElements!R) { @property auto front(ElementType!R val) { _original[_index] = val; } } enum bool empty = false; void popFront() { ++_index; if (_index >= _original.length) _index = 0; } auto ref opIndex(size_t n) { return _original[(n + _index) % _original.length]; } static if (is(typeof((cast(const R)_original)[_index])) && is(typeof((cast(const R)_original).length))) { auto ref opIndex(size_t n) const { return _original[(n + _index) % _original.length]; } } static if (hasAssignableElements!R) { auto opIndexAssign(ElementType!R val, size_t n) { _original[(n + _index) % _original.length] = val; } } @property Cycle save() { //No need to call _original.save, because Cycle never actually modifies _original return Cycle(_original, _index); } private static struct DollarToken {} enum opDollar = DollarToken.init; auto opSlice(size_t i, size_t j) in { import core.exception : RangeError; if (i > j) throw new RangeError(); } body { return this[i .. $].takeExactly(j - i); } auto opSlice(size_t i, DollarToken) { return typeof(this)(_original, _index + i); } } else { private R _original; private R _current; this(R input) { _original = input; _current = input.save; } @property auto ref front() { return _current.front; } static if (is(typeof((cast(const R)_current).front))) { @property auto ref front() const { return _current.front; } } static if (hasAssignableElements!R) { @property auto front(ElementType!R val) { return _current.front = val; } } enum bool empty = false; void popFront() { _current.popFront(); if (_current.empty) _current = _original.save; } @property Cycle save() { //No need to call _original.save, because Cycle never actually modifies _original Cycle ret = this; ret._original = _original; ret._current = _current.save; return ret; } } } template Cycle(R) if (isInfinite!R) { alias Cycle = R; } struct Cycle(R) if (isStaticArray!R) { private alias ElementType = typeof(R.init[0]); private ElementType* _ptr; private size_t _index; nothrow: this(ref R input, size_t index = 0) { _ptr = input.ptr; _index = index % R.length; } @property ref inout(ElementType) front() inout { return _ptr[_index]; } enum bool empty = false; void popFront() { ++_index; if (_index >= R.length) _index = 0; } ref inout(ElementType) opIndex(size_t n) inout { return _ptr[(n + _index) % R.length]; } @property inout(Cycle) save() inout { return this; } private static struct DollarToken {} enum opDollar = DollarToken.init; auto opSlice(size_t i, size_t j) in { import core.exception : RangeError; if (i > j) throw new RangeError(); } body { return this[i .. $].takeExactly(j - i); } inout(typeof(this)) opSlice(size_t i, DollarToken) inout { // cast: Issue 12177 workaround return cast(typeof(return))Cycle(*cast(R*)_ptr, _index + i); } } /// Ditto Cycle!R cycle(R)(R input) if (isForwardRange!R && !isInfinite!R) { return Cycle!R(input); } /// unittest { assert(equal(take(cycle([1, 2][]), 5), [ 1, 2, 1, 2, 1 ][])); } /// Ditto Cycle!R cycle(R)(R input, size_t index = 0) if (isRandomAccessRange!R && !isInfinite!R) { return Cycle!R(input, index); } Cycle!R cycle(R)(R input) if (isInfinite!R) { return input; } Cycle!R cycle(R)(ref R input, size_t index = 0) if (isStaticArray!R) { return Cycle!R(input, index); } unittest { static assert(isForwardRange!(Cycle!(uint[]))); // Make sure ref is getting propagated properly. int[] nums = [1,2,3]; auto c2 = cycle(nums); c2[3]++; assert(nums[0] == 2); immutable int[] immarr = [1, 2, 3]; auto cycleimm = cycle(immarr); foreach(DummyType; AllDummyRanges) { static if (isForwardRange!DummyType) { DummyType dummy; auto cy = cycle(dummy); static assert(isForwardRange!(typeof(cy))); auto t = take(cy, 20); assert(equal(t, [1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10])); const cRange = cy; assert(cRange.front == 1); static if (hasAssignableElements!DummyType) { { cy.front = 66; scope(exit) cy.front = 1; assert(dummy.front == 66); } static if (isRandomAccessRange!DummyType) { import core.exception : RangeError; import mystd.exception : assertThrown; { cy[10] = 66; scope(exit) cy[10] = 1; assert(dummy.front == 66); } assert(cRange[10] == 1); } } static if(hasSlicing!DummyType) { auto slice = cy[5 .. 15]; assert(equal(slice, [6, 7, 8, 9, 10, 1, 2, 3, 4, 5])); static assert(is(typeof(slice) == typeof(takeExactly(cy, 5)))); auto infSlice = cy[7 .. $]; assert(equal(take(infSlice, 5), [8, 9, 10, 1, 2])); static assert(isInfinite!(typeof(infSlice))); } } } } unittest // For static arrays. { int[3] a = [ 1, 2, 3 ]; static assert(isStaticArray!(typeof(a))); auto c = cycle(a); assert(a.ptr == c._ptr); assert(equal(take(cycle(a), 5), [ 1, 2, 3, 1, 2 ][])); static assert(isForwardRange!(typeof(c))); // Test qualifiers on slicing. alias C = typeof(c); static assert(is(typeof(c[1 .. $]) == C)); const cConst = c; static assert(is(typeof(cConst[1 .. $]) == const(C))); } unittest // For infinite ranges { struct InfRange { void popFront() { } @property int front() { return 0; } enum empty = false; } InfRange i; auto c = cycle(i); assert (c == i); } unittest { int[5] arr = [0, 1, 2, 3, 4]; auto cleS = cycle(arr); //Static auto cleD = cycle(arr[]); //Dynamic assert(equal(cleS[5 .. 10], arr[])); assert(equal(cleD[5 .. 10], arr[])); //n is a multiple of 5 worth about 3/4 of size_t.max auto n = size_t.max/4 + size_t.max/2; n -= n % 5; //Test index overflow foreach (_ ; 0 .. 10) { cleS = cleS[n .. $]; cleD = cleD[n .. $]; assert(equal(cleS[5 .. 10], arr[])); assert(equal(cleD[5 .. 10], arr[])); } } unittest { int[1] arr = [0]; auto cleS = cycle(arr); cleS = cleS[10 .. $]; assert(equal(cleS[5 .. 10], 0.repeat(5))); assert(cleS.front == 0); } unittest //10845 { auto a = inputRangeObject(iota(3).filter!"true"); assert(equal(cycle(a).take(10), [0, 1, 2, 0, 1, 2, 0, 1, 2, 0])); } unittest // 12177 { auto a = recurrence!q{a[n - 1] ~ a[n - 2]}("1", "0"); } private alias lengthType(R) = typeof(R.init.length.init); /** Iterate several ranges in lockstep. The element type is a proxy tuple that allows accessing the current element in the $(D n)th range by using $(D e[n]). Example: ---- int[] a = [ 1, 2, 3 ]; string[] b = [ "a", "b", "c" ]; // prints 1:a 2:b 3:c foreach (e; zip(a, b)) { write(e[0], ':', e[1], ' '); } ---- $(D Zip) offers the lowest range facilities of all components, e.g. it offers random access iff all ranges offer random access, and also offers mutation and swapping if all ranges offer it. Due to this, $(D Zip) is extremely powerful because it allows manipulating several ranges in lockstep. For example, the following code sorts two arrays in parallel: */ struct Zip(Ranges...) if (Ranges.length && allSatisfy!(isInputRange, Ranges)) { alias R = Ranges; R ranges; alias ElementType = Tuple!(staticMap!(.ElementType, R)); StoppingPolicy stoppingPolicy = StoppingPolicy.shortest; /** Builds an object. Usually this is invoked indirectly by using the $(LREF zip) function. */ this(R rs, StoppingPolicy s = StoppingPolicy.shortest) { stoppingPolicy = s; foreach (i, Unused; R) { ranges[i] = rs[i]; } } /** Returns $(D true) if the range is at end. The test depends on the stopping policy. */ static if (allSatisfy!(isInfinite, R)) { // BUG: Doesn't propagate infiniteness if only some ranges are infinite // and s == StoppingPolicy.longest. This isn't fixable in the // current design since StoppingPolicy is known only at runtime. enum bool empty = false; } else { @property bool empty() { import mystd.exception : enforce; final switch (stoppingPolicy) { case StoppingPolicy.shortest: foreach (i, Unused; R) { if (ranges[i].empty) return true; } return false; case StoppingPolicy.longest: foreach (i, Unused; R) { if (!ranges[i].empty) return false; } return true; case StoppingPolicy.requireSameLength: foreach (i, Unused; R[1 .. $]) { enforce(ranges[0].empty == ranges[i + 1].empty, "Inequal-length ranges passed to Zip"); } return ranges[0].empty; } assert(false); } } static if (allSatisfy!(isForwardRange, R)) @property Zip save() { Zip result = this; foreach (i, Unused; R) { result.ranges[i] = result.ranges[i].save; } return result; } private void emplaceIfCan(T)(T* addr) { import mystd.conv : emplace; static if(__traits(compiles, emplace(addr))) emplace(addr); else throw new Exception("Range with non-default constructable elements exhausted."); } /** Returns the current iterated element. */ @property ElementType front() { import mystd.conv : emplace; ElementType result = void; foreach (i, Unused; R) { auto addr = cast(Unqual!(typeof(result[i]))*) &result[i]; if (ranges[i].empty) { emplaceIfCan(addr); } else { emplace(addr, ranges[i].front); } } return result; } /** Sets the front of all iterated ranges. */ static if (allSatisfy!(hasAssignableElements, R)) { @property void front(ElementType v) { foreach (i, Unused; R) { if (!ranges[i].empty) { ranges[i].front = v[i]; } } } } /** Moves out the front. */ static if (allSatisfy!(hasMobileElements, R)) { ElementType moveFront() { import mystd.conv : emplace; ElementType result = void; foreach (i, Unused; R) { auto addr = cast(Unqual!(typeof(result[i]))*) &result[i]; if (!ranges[i].empty) { emplace(addr, .moveFront(ranges[i])); } else { emplaceIfCan(addr); } } return result; } } /** Returns the rightmost element. */ static if (allSatisfy!(isBidirectionalRange, R)) { @property ElementType back() { import mystd.conv : emplace; ElementType result = void; foreach (i, Unused; R) { auto addr = cast(Unqual!(typeof(result[i]))*) &result[i]; if (!ranges[i].empty) { emplace(addr, ranges[i].back); } else { emplaceIfCan(addr); } } return result; } /** Moves out the back. */ static if (allSatisfy!(hasMobileElements, R)) { ElementType moveBack() { import mystd.conv : emplace; ElementType result = void; foreach (i, Unused; R) { auto addr = cast(Unqual!(typeof(result[i]))*) &result[i]; if (!ranges[i].empty) { emplace(addr, .moveBack(ranges[i])); } else { emplaceIfCan(addr); } } return result; } } /** Returns the current iterated element. */ static if (allSatisfy!(hasAssignableElements, R)) { @property void back(ElementType v) { foreach (i, Unused; R) { if (!ranges[i].empty) { ranges[i].back = v[i]; } } } } } /** Advances to the next element in all controlled ranges. */ void popFront() { import mystd.exception : enforce; final switch (stoppingPolicy) { case StoppingPolicy.shortest: foreach (i, Unused; R) { assert(!ranges[i].empty); ranges[i].popFront(); } break; case StoppingPolicy.longest: foreach (i, Unused; R) { if (!ranges[i].empty) ranges[i].popFront(); } break; case StoppingPolicy.requireSameLength: foreach (i, Unused; R) { enforce(!ranges[i].empty, "Invalid Zip object"); ranges[i].popFront(); } break; } } /** Calls $(D popBack) for all controlled ranges. */ static if (allSatisfy!(isBidirectionalRange, R)) void popBack() { import mystd.exception : enforce; final switch (stoppingPolicy) { case StoppingPolicy.shortest: foreach (i, Unused; R) { assert(!ranges[i].empty); ranges[i].popBack(); } break; case StoppingPolicy.longest: foreach (i, Unused; R) { if (!ranges[i].empty) ranges[i].popBack(); } break; case StoppingPolicy.requireSameLength: foreach (i, Unused; R) { enforce(!ranges[i].empty, "Invalid Zip object"); ranges[i].popBack(); } break; } } /** Returns the length of this range. Defined only if all ranges define $(D length). */ static if (allSatisfy!(hasLength, R)) { @property auto length() { CommonType!(staticMap!(lengthType, R)) result = ranges[0].length; if (stoppingPolicy == StoppingPolicy.requireSameLength) return result; foreach (i, Unused; R[1 .. $]) { if (stoppingPolicy == StoppingPolicy.shortest) { result = min(ranges[i + 1].length, result); } else { assert(stoppingPolicy == StoppingPolicy.longest); result = max(ranges[i + 1].length, result); } } return result; } alias opDollar = length; } /** Returns a slice of the range. Defined only if all range define slicing. */ static if (allSatisfy!(hasSlicing, R)) auto opSlice(size_t from, size_t to) { import mystd.conv : emplace; //Slicing an infinite range yields the type Take!R //For finite ranges, the type Take!R aliases to R Zip!(staticMap!(Take, R)) result = void; emplace(&result.stoppingPolicy, stoppingPolicy); foreach (i, Unused; R) { emplace(&result.ranges[i], ranges[i][from .. to]); } return result; } /** Returns the $(D n)th element in the composite range. Defined if all ranges offer random access. */ static if (allSatisfy!(isRandomAccessRange, R)) { ElementType opIndex(size_t n) { import mystd.conv : emplace; ElementType result = void; foreach (i, Range; R) { auto addr = cast(Unqual!(typeof(result[i]))*) &result[i]; emplace(addr, ranges[i][n]); } return result; } /** Assigns to the $(D n)th element in the composite range. Defined if all ranges offer random access. */ static if (allSatisfy!(hasAssignableElements, R)) { void opIndexAssign(ElementType v, size_t n) { foreach (i, Range; R) { ranges[i][n] = v[i]; } } } /** Destructively reads the $(D n)th element in the composite range. Defined if all ranges offer random access. */ static if (allSatisfy!(hasMobileElements, R)) { ElementType moveAt(size_t n) { import mystd.conv : emplace; ElementType result = void; foreach (i, Range; R) { auto addr = cast(Unqual!(typeof(result[i]))*) &result[i]; emplace(addr, .moveAt(ranges[i], n)); } return result; } } } } /// Ditto auto zip(Ranges...)(Ranges ranges) if (Ranges.length && allSatisfy!(isInputRange, Ranges)) { return Zip!Ranges(ranges); } /// unittest { int[] a = [ 1, 2, 3 ]; string[] b = [ "a", "b", "c" ]; sort!("a[0] > b[0]")(zip(a, b)); assert(a == [ 3, 2, 1 ]); assert(b == [ "c", "b", "a" ]); } /// Ditto auto zip(Ranges...)(StoppingPolicy sp, Ranges ranges) if (Ranges.length && allSatisfy!(isInputRange, Ranges)) { return Zip!Ranges(ranges, sp); } /** Dictates how iteration in a $(D Zip) should stop. By default stop at the end of the shortest of all ranges. */ enum StoppingPolicy { /// Stop when the shortest range is exhausted shortest, /// Stop when the longest range is exhausted longest, /// Require that all ranges are equal requireSameLength, } unittest { import mystd.exception : assertThrown, assertNotThrown; int[] a = [ 1, 2, 3 ]; float[] b = [ 1.0, 2.0, 3.0 ]; foreach (e; zip(a, b)) { assert(e[0] == e[1]); } swap(a[0], a[1]); auto z = zip(a, b); //swap(z.front(), z.back()); sort!("a[0] < b[0]")(zip(a, b)); assert(a == [1, 2, 3]); assert(b == [2.0, 1.0, 3.0]); z = zip(StoppingPolicy.requireSameLength, a, b); assertNotThrown(z.popBack()); assertNotThrown(z.popBack()); assertNotThrown(z.popBack()); assert(z.empty); assertThrown(z.popBack()); a = [ 1, 2, 3 ]; b = [ 1.0, 2.0, 3.0 ]; sort!("a[0] > b[0]")(zip(StoppingPolicy.requireSameLength, a, b)); assert(a == [3, 2, 1]); assert(b == [3.0, 2.0, 1.0]); a = []; b = []; assert(zip(StoppingPolicy.requireSameLength, a, b).empty); // Test infiniteness propagation. static assert(isInfinite!(typeof(zip(repeat(1), repeat(1))))); // Test stopping policies with both value and reference. auto a1 = [1, 2]; auto a2 = [1, 2, 3]; auto stuff = tuple(tuple(a1, a2), tuple(filter!"a"(a1), filter!"a"(a2))); alias FOO = Zip!(immutable(int)[], immutable(float)[]); foreach(t; stuff.expand) { auto arr1 = t[0]; auto arr2 = t[1]; auto zShortest = zip(arr1, arr2); assert(equal(map!"a[0]"(zShortest), [1, 2])); assert(equal(map!"a[1]"(zShortest), [1, 2])); try { auto zSame = zip(StoppingPolicy.requireSameLength, arr1, arr2); foreach(elem; zSame) {} assert(0); } catch { /* It's supposed to throw.*/ } auto zLongest = zip(StoppingPolicy.longest, arr1, arr2); assert(!zLongest.ranges[0].empty); assert(!zLongest.ranges[1].empty); zLongest.popFront(); zLongest.popFront(); assert(!zLongest.empty); assert(zLongest.ranges[0].empty); assert(!zLongest.ranges[1].empty); zLongest.popFront(); assert(zLongest.empty); } // BUG 8900 static assert(__traits(compiles, zip([1, 2], repeat('a')))); static assert(__traits(compiles, zip(repeat('a'), [1, 2]))); // Doesn't work yet. Issues w/ emplace. // static assert(is(Zip!(immutable int[], immutable float[]))); // These unittests pass, but make the compiler consume an absurd amount // of RAM and time. Therefore, they should only be run if explicitly // uncommented when making changes to Zip. Also, running them using // make -fwin32.mak unittest makes the compiler completely run out of RAM. // You need to test just this module. /+ foreach(DummyType1; AllDummyRanges) { DummyType1 d1; foreach(DummyType2; AllDummyRanges) { DummyType2 d2; auto r = zip(d1, d2); assert(equal(map!"a[0]"(r), [1,2,3,4,5,6,7,8,9,10])); assert(equal(map!"a[1]"(r), [1,2,3,4,5,6,7,8,9,10])); static if (isForwardRange!DummyType1 && isForwardRange!DummyType2) { static assert(isForwardRange!(typeof(r))); } static if (isBidirectionalRange!DummyType1 && isBidirectionalRange!DummyType2) { static assert(isBidirectionalRange!(typeof(r))); } static if (isRandomAccessRange!DummyType1 && isRandomAccessRange!DummyType2) { static assert(isRandomAccessRange!(typeof(r))); } } } +/ } unittest { auto a = [5,4,3,2,1]; auto b = [3,1,2,5,6]; auto z = zip(a, b); sort!"a[0] < b[0]"(z); assert(a == [1, 2, 3, 4, 5]); assert(b == [6, 5, 2, 1, 3]); } unittest { auto LL = iota(1L, 1000L); auto z = zip(LL, [4]); assert(equal(z, [tuple(1L,4)])); auto LL2 = iota(0L, 500L); auto z2 = zip([7], LL2); assert(equal(z2, [tuple(7, 0L)])); } // Text for Issue 11196 unittest { import mystd.exception : assertThrown; static struct S { @disable this(); } static assert(__traits(compiles, zip((S[5]).init[]))); auto z = zip(StoppingPolicy.longest, cast(S[]) null, new int[1]); assertThrown(zip(StoppingPolicy.longest, cast(S[]) null, new int[1]).front); } /* Generate lockstep's opApply function as a mixin string. If withIndex is true prepend a size_t index to the delegate. */ private string lockstepMixin(Ranges...)(bool withIndex) { import mystd.string : format, outdent; string[] params; string[] emptyChecks; string[] dgArgs; string[] popFronts; if (withIndex) { params ~= "size_t"; dgArgs ~= "index"; } foreach (idx, Range; Ranges) { params ~= format("%sElementType!(Ranges[%s])", hasLvalueElements!Range ? "ref " : "", idx); emptyChecks ~= format("!ranges[%s].empty", idx); dgArgs ~= format("ranges[%s].front", idx); popFronts ~= format("ranges[%s].popFront();", idx); } return format( q{ int opApply(scope int delegate(%s) dg) { import mystd.exception : enforce; auto ranges = _ranges; int res; %s while (%s) { res = dg(%s); if (res) break; %s %s } if (_stoppingPolicy == StoppingPolicy.requireSameLength) { foreach(range; ranges) enforce(range.empty); } return res; } }, params.join(", "), withIndex ? "size_t index = 0;" : "", emptyChecks.join(" && "), dgArgs.join(", "), popFronts.join("\n "), withIndex ? "index++;" : "").outdent(); } /** Iterate multiple ranges in lockstep using a $(D foreach) loop. If only a single range is passed in, the $(D Lockstep) aliases itself away. If the ranges are of different lengths and $(D s) == $(D StoppingPolicy.shortest) stop after the shortest range is empty. If the ranges are of different lengths and $(D s) == $(D StoppingPolicy.requireSameLength), throw an exception. $(D s) may not be $(D StoppingPolicy.longest), and passing this will throw an exception. By default $(D StoppingPolicy) is set to $(D StoppingPolicy.shortest). BUGS: If a range does not offer lvalue access, but $(D ref) is used in the $(D foreach) loop, it will be silently accepted but any modifications to the variable will not be propagated to the underlying range. // Lockstep also supports iterating with an index variable: Example: ------- foreach(index, a, b; lockstep(arr1, arr2)) { writefln("Index %s: a = %s, b = %s", index, a, b); } ------- */ struct Lockstep(Ranges...) if (Ranges.length > 1 && allSatisfy!(isInputRange, Ranges)) { this(R ranges, StoppingPolicy sp = StoppingPolicy.shortest) { import mystd.exception : enforce; _ranges = ranges; enforce(sp != StoppingPolicy.longest, "Can't use StoppingPolicy.Longest on Lockstep."); _stoppingPolicy = sp; } mixin(lockstepMixin!Ranges(false)); mixin(lockstepMixin!Ranges(true)); private: alias R = Ranges; R _ranges; StoppingPolicy _stoppingPolicy; } // For generic programming, make sure Lockstep!(Range) is well defined for a // single range. template Lockstep(Range) { alias Lockstep = Range; } /// Ditto Lockstep!(Ranges) lockstep(Ranges...)(Ranges ranges) if (allSatisfy!(isInputRange, Ranges)) { return Lockstep!(Ranges)(ranges); } /// Ditto Lockstep!(Ranges) lockstep(Ranges...)(Ranges ranges, StoppingPolicy s) if (allSatisfy!(isInputRange, Ranges)) { static if (Ranges.length > 1) return Lockstep!Ranges(ranges, s); else return ranges[0]; } /// unittest { auto arr1 = [1,2,3,4,5]; auto arr2 = [6,7,8,9,10]; foreach(ref a, ref b; lockstep(arr1, arr2)) { a += b; } assert(arr1 == [7,9,11,13,15]); } unittest { import mystd.conv : to; // The filters are to make these the lowest common forward denominator ranges, // i.e. w/o ref return, random access, length, etc. auto foo = filter!"a"([1,2,3,4,5]); immutable bar = [6f,7f,8f,9f,10f].idup; auto l = lockstep(foo, bar); // Should work twice. These are forward ranges with implicit save. foreach(i; 0..2) { uint[] res1; float[] res2; foreach(a, ref b; l) { res1 ~= a; res2 ~= b; } assert(res1 == [1,2,3,4,5]); assert(res2 == [6,7,8,9,10]); assert(bar == [6f,7f,8f,9f,10f]); } // Doc example. auto arr1 = [1,2,3,4,5]; auto arr2 = [6,7,8,9,10]; foreach(ref a, ref b; lockstep(arr1, arr2)) { a += b; } assert(arr1 == [7,9,11,13,15]); // Make sure StoppingPolicy.requireSameLength doesn't throw. auto ls = lockstep(arr1, arr2, StoppingPolicy.requireSameLength); foreach(a, b; ls) {} // Make sure StoppingPolicy.requireSameLength throws. arr2.popBack(); ls = lockstep(arr1, arr2, StoppingPolicy.requireSameLength); try { foreach(a, b; ls) {} assert(0); } catch {} // Just make sure 1-range case instantiates. This hangs the compiler // when no explicit stopping policy is specified due to Bug 4652. auto stuff = lockstep([1,2,3,4,5], StoppingPolicy.shortest); // Test with indexing. uint[] res1; float[] res2; size_t[] indices; foreach(i, a, b; lockstep(foo, bar)) { indices ~= i; res1 ~= a; res2 ~= b; } assert(indices == to!(size_t[])([0, 1, 2, 3, 4])); assert(res1 == [1,2,3,4,5]); assert(res2 == [6f,7f,8f,9f,10f]); // Make sure we've worked around the relevant compiler bugs and this at least // compiles w/ >2 ranges. lockstep(foo, foo, foo); // Make sure it works with const. const(int[])[] foo2 = [[1, 2, 3]]; const(int[])[] bar2 = [[4, 5, 6]]; auto c = chain(foo2, bar2); foreach(f, b; lockstep(c, c)) {} // Regression 10468 foreach (x, y; lockstep(iota(0, 10), iota(0, 10))) { } } /** Creates a mathematical sequence given the initial values and a recurrence function that computes the next value from the existing values. The sequence comes in the form of an infinite forward range. The type $(D Recurrence) itself is seldom used directly; most often, recurrences are obtained by calling the function $(D recurrence). When calling $(D recurrence), the function that computes the next value is specified as a template argument, and the initial values in the recurrence are passed as regular arguments. For example, in a Fibonacci sequence, there are two initial values (and therefore a state size of 2) because computing the next Fibonacci value needs the past two values. If the function is passed in string form, the state has name $(D "a") and the zero-based index in the recurrence has name $(D "n"). The given string must return the desired value for $(D a[n]) given $(D a[n - 1]), $(D a[n - 2]), $(D a[n - 3]),..., $(D a[n - stateSize]). The state size is dictated by the number of arguments passed to the call to $(D recurrence). The $(D Recurrence) struct itself takes care of managing the recurrence's state and shifting it appropriately. Example: ---- // a[0] = 1, a[1] = 1, and compute a[n+1] = a[n-1] + a[n] auto fib = recurrence!("a[n-1] + a[n-2]")(1, 1); // print the first 10 Fibonacci numbers foreach (e; take(fib, 10)) { writeln(e); } // print the first 10 factorials foreach (e; take(recurrence!("a[n-1] * n")(1), 10)) { writeln(e); } ---- */ struct Recurrence(alias fun, StateType, size_t stateSize) { private import mystd.functional : binaryFun; StateType[stateSize] _state; size_t _n; this(StateType[stateSize] initial) { _state = initial; } void popFront() { // The cast here is reasonable because fun may cause integer // promotion, but needs to return a StateType to make its operation // closed. Therefore, we have no other choice. _state[_n % stateSize] = cast(StateType) binaryFun!(fun, "a", "n")( cycle(_state), _n + stateSize); ++_n; } @property StateType front() { return _state[_n % stateSize]; } @property typeof(this) save() { return this; } enum bool empty = false; } /// Ditto Recurrence!(fun, CommonType!(State), State.length) recurrence(alias fun, State...)(State initial) { CommonType!(State)[State.length] state; foreach (i, Unused; State) { state[i] = initial[i]; } return typeof(return)(state); } unittest { auto fib = recurrence!("a[n-1] + a[n-2]")(1, 1); static assert(isForwardRange!(typeof(fib))); int[] witness = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55 ]; assert(equal(take(fib, 10), witness)); foreach (e; take(fib, 10)) {} auto fact = recurrence!("n * a[n-1]")(1); assert( equal(take(fact, 10), [1, 1, 2, 2*3, 2*3*4, 2*3*4*5, 2*3*4*5*6, 2*3*4*5*6*7, 2*3*4*5*6*7*8, 2*3*4*5*6*7*8*9][]) ); auto piapprox = recurrence!("a[n] + (n & 1 ? 4.0 : -4.0) / (2 * n + 3)")(4.0); foreach (e; take(piapprox, 20)) {} // Thanks to yebblies for this test and the associated fix auto r = recurrence!"a[n-2]"(1, 2); witness = [1, 2, 1, 2, 1]; assert(equal(take(r, 5), witness)); } /** $(D Sequence) is similar to $(D Recurrence) except that iteration is presented in the so-called $(WEB en.wikipedia.org/wiki/Closed_form, closed form). This means that the $(D n)th element in the series is computable directly from the initial values and $(D n) itself. This implies that the interface offered by $(D Sequence) is a random-access range, as opposed to the regular $(D Recurrence), which only offers forward iteration. The state of the sequence is stored as a $(D Tuple) so it can be heterogeneous. */ struct Sequence(alias fun, State) { private: import mystd.functional : binaryFun; alias compute = binaryFun!(fun, "a", "n"); alias ElementType = typeof(compute(State.init, cast(size_t) 1)); State _state; size_t _n; ElementType _cache; static struct DollarToken{} public: this(State initial, size_t n = 0) { _state = initial; _n = n; _cache = compute(_state, _n); } @property ElementType front() { return _cache; } ElementType moveFront() { return move(this._cache); } void popFront() { _cache = compute(_state, ++_n); } enum opDollar = DollarToken(); auto opSlice(size_t lower, size_t upper) in { assert(upper >= lower); } body { return typeof(this)(_state, _n + lower).take(upper - lower); } auto opSlice(size_t lower, DollarToken) { return typeof(this)(_state, _n + lower); } ElementType opIndex(size_t n) { return compute(_state, n + _n); } enum bool empty = false; @property Sequence save() { return this; } } /// Ditto Sequence!(fun, Tuple!(State)) sequence(alias fun, State...)(State args) { return typeof(return)(tuple(args)); } /// unittest { auto odds = sequence!("a[0] + n * a[1]")(1, 2); assert(odds.front == 1); odds.popFront(); assert(odds.front == 3); odds.popFront(); assert(odds.front == 5); } unittest { auto y = Sequence!("a[0] + n * a[1]", Tuple!(int, int)) (tuple(0, 4)); static assert(isForwardRange!(typeof(y))); //@@BUG //auto y = sequence!("a[0] + n * a[1]")(0, 4); //foreach (e; take(y, 15)) {} //writeln(e); auto odds = Sequence!("a[0] + n * a[1]", Tuple!(int, int))( tuple(1, 2)); for(int currentOdd = 1; currentOdd <= 21; currentOdd += 2) { assert(odds.front == odds[0]); assert(odds[0] == currentOdd); odds.popFront(); } } unittest { auto odds = sequence!("a[0] + n * a[1]")(1, 2); static assert(hasSlicing!(typeof(odds))); //Note: don't use drop or take as the target of an equal, //since they'll both just forward to opSlice, making the tests irrelevant // static slicing tests assert(equal(odds[0 .. 5], [1, 3, 5, 7, 9])); assert(equal(odds[3 .. 7], [7, 9, 11, 13])); // relative slicing test, testing slicing is NOT agnostic of state auto odds_less5 = odds.drop(5); //this should actually call odds[5 .. $] assert(equal(odds_less5[0 .. 3], [11, 13, 15])); assert(equal(odds_less5[0 .. 10], odds[5 .. 15])); //Infinite slicing tests odds = odds[10 .. $]; assert(equal(odds.take(3), [21, 23, 25])); } /** Returns a range that goes through the numbers $(D begin), $(D begin + step), $(D begin + 2 * step), $(D ...), up to and excluding $(D end). The range offered is a random access range. The two-arguments version has $(D step = 1). If $(D begin < end && step < 0) or $(D begin > end && step > 0) or $(D begin == end), then an empty range is returned. Throws: $(D Exception) if $(D begin != end && step == 0), an exception is thrown. */ auto iota(B, E, S)(B begin, E end, S step) if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) && isIntegral!S) { import mystd.conv : unsigned; alias Value = CommonType!(Unqual!B, Unqual!E); alias StepType = Unqual!S; alias IndexType = typeof(unsigned((end - begin) / step)); static struct Result { private Value current, pastLast; private StepType step; this(Value current, Value pastLast, StepType step) { import mystd.exception : enforce; if ((current < pastLast && step >= 0) || (current > pastLast && step <= 0)) { enforce(step != 0); this.step = step; this.current = current; if (step > 0) { this.pastLast = pastLast - 1; this.pastLast -= (this.pastLast - current) % step; } else { this.pastLast = pastLast + 1; this.pastLast += (current - this.pastLast) % -step; } this.pastLast += step; } else { // Initialize an empty range this.current = this.pastLast = current; this.step = 1; } } @property bool empty() const { return current == pastLast; } @property inout(Value) front() inout { assert(!empty); return current; } void popFront() { assert(!empty); current += step; } @property inout(Value) back() inout { assert(!empty); return pastLast - step; } void popBack() { assert(!empty); pastLast -= step; } @property auto save() { return this; } inout(Value) opIndex(ulong n) inout { assert(n < this.length); // Just cast to Value here because doing so gives overflow behavior // consistent with calling popFront() n times. return cast(inout Value) (current + step * n); } inout(Result) opSlice() inout { return this; } inout(Result) opSlice(ulong lower, ulong upper) inout { assert(upper >= lower && upper <= this.length); return cast(inout Result)Result(cast(Value)(current + lower * step), cast(Value)(pastLast - (length - upper) * step), step); } @property IndexType length() const { if (step > 0) { return unsigned((pastLast - current) / step); } else { return unsigned((current - pastLast) / -step); } } alias opDollar = length; } return Result(begin, end, step); } /// Ditto auto iota(B, E)(B begin, E end) if (isFloatingPoint!(CommonType!(B, E))) { return iota(begin, end, 1.0); } /// Ditto auto iota(B, E)(B begin, E end) if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) { import mystd.conv : unsigned; alias Value = CommonType!(Unqual!B, Unqual!E); alias IndexType = typeof(unsigned(end - begin)); static struct Result { private Value current, pastLast; this(Value current, Value pastLast) { if (current < pastLast) { this.current = current; this.pastLast = pastLast; } else { // Initialize an empty range this.current = this.pastLast = current; } } @property bool empty() const { return current == pastLast; } @property inout(Value) front() inout { assert(!empty); return current; } void popFront() { assert(!empty); ++current; } @property inout(Value) back() inout { assert(!empty); return cast(inout(Value))(pastLast - 1); } void popBack() { assert(!empty); --pastLast; } @property auto save() { return this; } inout(Value) opIndex(ulong n) inout { assert(n < this.length); // Just cast to Value here because doing so gives overflow behavior // consistent with calling popFront() n times. return cast(inout Value) (current + n); } inout(Result) opSlice() inout { return this; } inout(Result) opSlice(ulong lower, ulong upper) inout { assert(upper >= lower && upper <= this.length); return cast(inout Result)Result(cast(Value)(current + lower), cast(Value)(pastLast - (length - upper))); } @property IndexType length() const { return unsigned(pastLast - current); } alias opDollar = length; } return Result(begin, end); } /// Ditto auto iota(E)(E end) { E begin = 0; return iota(begin, end); } // Specialization for floating-point types auto iota(B, E, S)(B begin, E end, S step) if (isFloatingPoint!(CommonType!(B, E, S))) { alias Value = Unqual!(CommonType!(B, E, S)); static struct Result { private Value start, step; private size_t index, count; this(Value start, Value end, Value step) { import mystd.conv : to; import mystd.exception : enforce; this.start = start; this.step = step; enforce(step != 0); immutable fcount = (end - start) / step; enforce(fcount >= 0, "iota: incorrect startup parameters"); count = to!size_t(fcount); auto pastEnd = start + count * step; if (step > 0) { if (pastEnd < end) ++count; assert(start + count * step >= end); } else { if (pastEnd > end) ++count; assert(start + count * step <= end); } } @property bool empty() const { return index == count; } @property Value front() const { assert(!empty); return start + step * index; } void popFront() { assert(!empty); ++index; } @property Value back() const { assert(!empty); return start + step * (count - 1); } void popBack() { assert(!empty); --count; } @property auto save() { return this; } Value opIndex(size_t n) const { assert(n < count); return start + step * (n + index); } inout(Result) opSlice() inout { return this; } inout(Result) opSlice(size_t lower, size_t upper) inout { assert(upper >= lower && upper <= count); Result ret = this; ret.index += lower; ret.count = upper - lower + ret.index; return cast(inout Result)ret; } @property size_t length() const { return count - index; } alias opDollar = length; } return Result(begin, end, step); } /// unittest { import mystd.math : approxEqual; auto r = iota(0, 10, 1); assert(equal(r, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9][])); r = iota(0, 11, 3); assert(equal(r, [0, 3, 6, 9][])); assert(r[2] == 6); auto rf = iota(0.0, 0.5, 0.1); assert(approxEqual(rf, [0.0, 0.1, 0.2, 0.3, 0.4])); } unittest { import mystd.math : approxEqual, nextUp, nextDown; static assert(hasLength!(typeof(iota(0, 2)))); auto r = iota(0, 10, 1); assert(r[$ - 1] == 9); assert(equal(r, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9][])); auto rSlice = r[2..8]; assert(equal(rSlice, [2, 3, 4, 5, 6, 7])); rSlice.popFront(); assert(rSlice[0] == rSlice.front); assert(rSlice.front == 3); rSlice.popBack(); assert(rSlice[rSlice.length - 1] == rSlice.back); assert(rSlice.back == 6); rSlice = r[0..4]; assert(equal(rSlice, [0, 1, 2, 3])); auto rr = iota(10); assert(equal(rr, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9][])); r = iota(0, -10, -1); assert(equal(r, [0, -1, -2, -3, -4, -5, -6, -7, -8, -9][])); rSlice = r[3..9]; assert(equal(rSlice, [-3, -4, -5, -6, -7, -8])); r = iota(0, -6, -3); assert(equal(r, [0, -3][])); rSlice = r[1..2]; assert(equal(rSlice, [-3])); r = iota(0, -7, -3); assert(equal(r, [0, -3, -6][])); rSlice = r[1..3]; assert(equal(rSlice, [-3, -6])); r = iota(0, 11, 3); assert(equal(r, [0, 3, 6, 9][])); assert(r[2] == 6); rSlice = r[1..3]; assert(equal(rSlice, [3, 6])); int[] a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; auto r1 = iota(a.ptr, a.ptr + a.length, 1); assert(r1.front == a.ptr); assert(r1.back == a.ptr + a.length - 1); auto rf = iota(0.0, 0.5, 0.1); assert(approxEqual(rf, [0.0, 0.1, 0.2, 0.3, 0.4][])); assert(rf.length == 5); rf.popFront(); assert(rf.length == 4); auto rfSlice = rf[1..4]; assert(rfSlice.length == 3); assert(approxEqual(rfSlice, [0.2, 0.3, 0.4])); rfSlice.popFront(); assert(approxEqual(rfSlice[0], 0.3)); rf.popFront(); assert(rf.length == 3); rfSlice = rf[1..3]; assert(rfSlice.length == 2); assert(approxEqual(rfSlice, [0.3, 0.4])); assert(approxEqual(rfSlice[0], 0.3)); // With something just above 0.5 rf = iota(0.0, nextUp(0.5), 0.1); assert(approxEqual(rf, [0.0, 0.1, 0.2, 0.3, 0.4, 0.5][])); rf.popBack(); assert(rf[rf.length - 1] == rf.back); assert(approxEqual(rf.back, 0.4)); assert(rf.length == 5); // going down rf = iota(0.0, -0.5, -0.1); assert(approxEqual(rf, [0.0, -0.1, -0.2, -0.3, -0.4][])); rfSlice = rf[2..5]; assert(approxEqual(rfSlice, [-0.2, -0.3, -0.4])); rf = iota(0.0, nextDown(-0.5), -0.1); assert(approxEqual(rf, [0.0, -0.1, -0.2, -0.3, -0.4, -0.5][])); // iota of longs auto rl = iota(5_000_000L); assert(rl.length == 5_000_000L); // iota of longs with steps auto iota_of_longs_with_steps = iota(50L, 101L, 10); assert(iota_of_longs_with_steps.length == 6); assert(equal(iota_of_longs_with_steps, [50L, 60L, 70L, 80L, 90L, 100L])); // iota of unsigned zero length (issue 6222, actually trying to consume it // is the only way to find something is wrong because the public // properties are all correct) auto iota_zero_unsigned = iota(0, 0u, 3); assert(count(iota_zero_unsigned) == 0); // unsigned reverse iota can be buggy if .length doesn't take them into // account (issue 7982). assert(iota(10u, 0u, -1).length == 10); assert(iota(10u, 0u, -2).length == 5); assert(iota(uint.max, uint.max-10, -1).length == 10); assert(iota(uint.max, uint.max-10, -2).length == 5); assert(iota(uint.max, 0u, -1).length == uint.max); // Issue 8920 foreach (Type; TypeTuple!(byte, ubyte, short, ushort, int, uint, long, ulong)) { Type val; foreach (i; iota(cast(Type)0, cast(Type)10)) { val++; } assert(val == 10); } } unittest { auto idx = new size_t[100]; copy(iota(0, idx.length), idx); } unittest { foreach(range; TypeTuple!(iota(2, 27, 4), iota(3, 9), iota(2.7, 12.3, .1), iota(3.2, 9.7))) { const cRange = range; const e = cRange.empty; const f = cRange.front; const b = cRange.back; const i = cRange[2]; const s1 = cRange[]; const s2 = cRange[0 .. 3]; const l = cRange.length; } //The ptr stuff can't be done at compile time, so we unfortunately end //up with some code duplication here. auto arr = [0, 5, 3, 5, 5, 7, 9, 2, 0, 42, 7, 6]; { const cRange = iota(arr.ptr, arr.ptr + arr.length, 3); const e = cRange.empty; const f = cRange.front; const b = cRange.back; const i = cRange[2]; const s1 = cRange[]; const s2 = cRange[0 .. 3]; const l = cRange.length; } { const cRange = iota(arr.ptr, arr.ptr + arr.length); const e = cRange.empty; const f = cRange.front; const b = cRange.back; const i = cRange[2]; const s1 = cRange[]; const s2 = cRange[0 .. 3]; const l = cRange.length; } } /** Options for the $(LREF FrontTransversal) and $(LREF Transversal) ranges (below). */ enum TransverseOptions { /** When transversed, the elements of a range of ranges are assumed to have different lengths (e.g. a jagged array). */ assumeJagged, //default /** The transversal enforces that the elements of a range of ranges have all the same length (e.g. an array of arrays, all having the same length). Checking is done once upon construction of the transversal range. */ enforceNotJagged, /** The transversal assumes, without verifying, that the elements of a range of ranges have all the same length. This option is useful if checking was already done from the outside of the range. */ assumeNotJagged, } /** Given a range of ranges, iterate transversally through the first elements of each of the enclosed ranges. */ struct FrontTransversal(Ror, TransverseOptions opt = TransverseOptions.assumeJagged) { alias RangeOfRanges = Unqual!(Ror); alias RangeType = .ElementType!RangeOfRanges; alias ElementType = .ElementType!RangeType; private void prime() { static if (opt == TransverseOptions.assumeJagged) { while (!_input.empty && _input.front.empty) { _input.popFront(); } static if (isBidirectionalRange!RangeOfRanges) { while (!_input.empty && _input.back.empty) { _input.popBack(); } } } } /** Construction from an input. */ this(RangeOfRanges input) { _input = input; prime(); static if (opt == TransverseOptions.enforceNotJagged) // (isRandomAccessRange!RangeOfRanges // && hasLength!RangeType) { import mystd.exception : enforce; if (empty) return; immutable commonLength = _input.front.length; foreach (e; _input) { enforce(e.length == commonLength); } } } /** Forward range primitives. */ static if (isInfinite!RangeOfRanges) { enum bool empty = false; } else { @property bool empty() { return _input.empty; } } /// Ditto @property auto ref front() { assert(!empty); return _input.front.front; } /// Ditto static if (hasMobileElements!RangeType) { ElementType moveFront() { return .moveFront(_input.front); } } static if (hasAssignableElements!RangeType) { @property auto front(ElementType val) { _input.front.front = val; } } /// Ditto void popFront() { assert(!empty); _input.popFront(); prime(); } /** Duplicates this $(D frontTransversal). Note that only the encapsulating range of range will be duplicated. Underlying ranges will not be duplicated. */ static if (isForwardRange!RangeOfRanges) { @property FrontTransversal save() { return FrontTransversal(_input.save); } } static if (isBidirectionalRange!RangeOfRanges) { /** Bidirectional primitives. They are offered if $(D isBidirectionalRange!RangeOfRanges). */ @property auto ref back() { assert(!empty); return _input.back.front; } /// Ditto void popBack() { assert(!empty); _input.popBack(); prime(); } /// Ditto static if (hasMobileElements!RangeType) { ElementType moveBack() { return .moveFront(_input.back); } } static if (hasAssignableElements!RangeType) { @property auto back(ElementType val) { _input.back.front = val; } } } static if (isRandomAccessRange!RangeOfRanges && (opt == TransverseOptions.assumeNotJagged || opt == TransverseOptions.enforceNotJagged)) { /** Random-access primitive. It is offered if $(D isRandomAccessRange!RangeOfRanges && (opt == TransverseOptions.assumeNotJagged || opt == TransverseOptions.enforceNotJagged)). */ auto ref opIndex(size_t n) { return _input[n].front; } /// Ditto static if (hasMobileElements!RangeType) { ElementType moveAt(size_t n) { return .moveFront(_input[n]); } } /// Ditto static if (hasAssignableElements!RangeType) { void opIndexAssign(ElementType val, size_t n) { _input[n].front = val; } } /** Slicing if offered if $(D RangeOfRanges) supports slicing and all the conditions for supporting indexing are met. */ static if (hasSlicing!RangeOfRanges) { typeof(this) opSlice(size_t lower, size_t upper) { return typeof(this)(_input[lower..upper]); } } } auto opSlice() { return this; } private: RangeOfRanges _input; } /// Ditto FrontTransversal!(RangeOfRanges, opt) frontTransversal( TransverseOptions opt = TransverseOptions.assumeJagged, RangeOfRanges) (RangeOfRanges rr) { return typeof(return)(rr); } /// unittest { int[][] x = new int[][2]; x[0] = [1, 2]; x[1] = [3, 4]; auto ror = frontTransversal(x); assert(equal(ror, [ 1, 3 ][])); } unittest { static assert(is(FrontTransversal!(immutable int[][]))); foreach(DummyType; AllDummyRanges) { auto dummies = [DummyType.init, DummyType.init, DummyType.init, DummyType.init]; foreach(i, ref elem; dummies) { // Just violate the DummyRange abstraction to get what I want. elem.arr = elem.arr[i..$ - (3 - i)]; } auto ft = frontTransversal!(TransverseOptions.assumeNotJagged)(dummies); static if (isForwardRange!DummyType) { static assert(isForwardRange!(typeof(ft))); } assert(equal(ft, [1, 2, 3, 4])); // Test slicing. assert(equal(ft[0..2], [1, 2])); assert(equal(ft[1..3], [2, 3])); assert(ft.front == ft.moveFront()); assert(ft.back == ft.moveBack()); assert(ft.moveAt(1) == ft[1]); // Test infiniteness propagation. static assert(isInfinite!(typeof(frontTransversal(repeat("foo"))))); static if (DummyType.r == ReturnBy.Reference) { { ft.front++; scope(exit) ft.front--; assert(dummies.front.front == 2); } { ft.front = 5; scope(exit) ft.front = 1; assert(dummies[0].front == 5); } { ft.back = 88; scope(exit) ft.back = 4; assert(dummies.back.front == 88); } { ft[1] = 99; scope(exit) ft[1] = 2; assert(dummies[1].front == 99); } } } } /** Given a range of ranges, iterate transversally through the the $(D n)th element of each of the enclosed ranges. All elements of the enclosing range must offer random access. */ struct Transversal(Ror, TransverseOptions opt = TransverseOptions.assumeJagged) { private alias RangeOfRanges = Unqual!Ror; private alias InnerRange = ElementType!RangeOfRanges; private alias E = ElementType!InnerRange; private void prime() { static if (opt == TransverseOptions.assumeJagged) { while (!_input.empty && _input.front.length <= _n) { _input.popFront(); } static if (isBidirectionalRange!RangeOfRanges) { while (!_input.empty && _input.back.length <= _n) { _input.popBack(); } } } } /** Construction from an input and an index. */ this(RangeOfRanges input, size_t n) { _input = input; _n = n; prime(); static if (opt == TransverseOptions.enforceNotJagged) { import mystd.exception : enforce; if (empty) return; immutable commonLength = _input.front.length; foreach (e; _input) { enforce(e.length == commonLength); } } } /** Forward range primitives. */ static if (isInfinite!(RangeOfRanges)) { enum bool empty = false; } else { @property bool empty() { return _input.empty; } } /// Ditto @property auto ref front() { assert(!empty); return _input.front[_n]; } /// Ditto static if (hasMobileElements!InnerRange) { E moveFront() { return .moveAt(_input.front, _n); } } /// Ditto static if (hasAssignableElements!InnerRange) { @property auto front(E val) { _input.front[_n] = val; } } /// Ditto void popFront() { assert(!empty); _input.popFront(); prime(); } /// Ditto static if (isForwardRange!RangeOfRanges) { @property typeof(this) save() { auto ret = this; ret._input = _input.save; return ret; } } static if (isBidirectionalRange!RangeOfRanges) { /** Bidirectional primitives. They are offered if $(D isBidirectionalRange!RangeOfRanges). */ @property auto ref back() { return _input.back[_n]; } /// Ditto void popBack() { assert(!empty); _input.popBack(); prime(); } /// Ditto static if (hasMobileElements!InnerRange) { E moveBack() { return .moveAt(_input.back, _n); } } /// Ditto static if (hasAssignableElements!InnerRange) { @property auto back(E val) { _input.back[_n] = val; } } } static if (isRandomAccessRange!RangeOfRanges && (opt == TransverseOptions.assumeNotJagged || opt == TransverseOptions.enforceNotJagged)) { /** Random-access primitive. It is offered if $(D isRandomAccessRange!RangeOfRanges && (opt == TransverseOptions.assumeNotJagged || opt == TransverseOptions.enforceNotJagged)). */ auto ref opIndex(size_t n) { return _input[n][_n]; } /// Ditto static if (hasMobileElements!InnerRange) { E moveAt(size_t n) { return .moveAt(_input[n], _n); } } /// Ditto static if (hasAssignableElements!InnerRange) { void opIndexAssign(E val, size_t n) { _input[n][_n] = val; } } /// Ditto static if(hasLength!RangeOfRanges) { @property size_t length() { return _input.length; } alias opDollar = length; } /** Slicing if offered if $(D RangeOfRanges) supports slicing and all the conditions for supporting indexing are met. */ static if (hasSlicing!RangeOfRanges) { typeof(this) opSlice(size_t lower, size_t upper) { return typeof(this)(_input[lower..upper], _n); } } } auto opSlice() { return this; } private: RangeOfRanges _input; size_t _n; } /// Ditto Transversal!(RangeOfRanges, opt) transversal (TransverseOptions opt = TransverseOptions.assumeJagged, RangeOfRanges) (RangeOfRanges rr, size_t n) { return typeof(return)(rr, n); } /// unittest { int[][] x = new int[][2]; x[0] = [1, 2]; x[1] = [3, 4]; auto ror = transversal(x, 1); assert(equal(ror, [ 2, 4 ][])); } unittest { int[][] x = new int[][2]; x[0] = [ 1, 2 ]; x[1] = [3, 4]; auto ror = transversal!(TransverseOptions.assumeNotJagged)(x, 1); auto witness = [ 2, 4 ]; uint i; foreach (e; ror) assert(e == witness[i++]); assert(i == 2); assert(ror.length == 2); static assert(is(Transversal!(immutable int[][]))); // Make sure ref, assign is being propagated. { ror.front++; scope(exit) ror.front--; assert(x[0][1] == 3); } { ror.front = 5; scope(exit) ror.front = 2; assert(x[0][1] == 5); assert(ror.moveFront() == 5); } { ror.back = 999; scope(exit) ror.back = 4; assert(x[1][1] == 999); assert(ror.moveBack() == 999); } { ror[0] = 999; scope(exit) ror[0] = 2; assert(x[0][1] == 999); assert(ror.moveAt(0) == 999); } // Test w/o ref return. alias D = DummyRange!(ReturnBy.Value, Length.Yes, RangeType.Random); auto drs = [D.init, D.init]; foreach(num; 0..10) { auto t = transversal!(TransverseOptions.enforceNotJagged)(drs, num); assert(t[0] == t[1]); assert(t[1] == num + 1); } static assert(isInfinite!(typeof(transversal(repeat([1,2,3]), 1)))); // Test slicing. auto mat = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]]; auto mat1 = transversal!(TransverseOptions.assumeNotJagged)(mat, 1)[1..3]; assert(mat1[0] == 6); assert(mat1[1] == 10); } struct Transposed(RangeOfRanges) { //alias ElementType = typeof(map!"a.front"(RangeOfRanges.init)); this(RangeOfRanges input) { this._input = input; } @property auto front() { return map!"a.front"(_input); } void popFront() { foreach (ref e; _input) { if (e.empty) continue; e.popFront(); } } // ElementType opIndex(size_t n) // { // return _input[n].front; // } @property bool empty() { foreach (e; _input) if (!e.empty) return false; return true; } @property Transposed save() { return Transposed(_input.save); } auto opSlice() { return this; } private: RangeOfRanges _input; } auto transposed(RangeOfRanges)(RangeOfRanges rr) { return Transposed!RangeOfRanges(rr); } /// unittest { int[][] x = new int[][2]; x[0] = [1, 2]; x[1] = [3, 4]; auto tr = transposed(x); int[][] witness = [ [ 1, 3 ], [ 2, 4 ] ]; uint i; foreach (e; tr) { assert(array(e) == witness[i++]); } } /** This struct takes two ranges, $(D source) and $(D indices), and creates a view of $(D source) as if its elements were reordered according to $(D indices). $(D indices) may include only a subset of the elements of $(D source) and may also repeat elements. $(D Source) must be a random access range. The returned range will be bidirectional or random-access if $(D Indices) is bidirectional or random-access, respectively. */ struct Indexed(Source, Indices) if(isRandomAccessRange!Source && isInputRange!Indices && is(typeof(Source.init[ElementType!(Indices).init]))) { this(Source source, Indices indices) { this._source = source; this._indices = indices; } /// Range primitives @property auto ref front() { assert(!empty); return _source[_indices.front]; } /// Ditto void popFront() { assert(!empty); _indices.popFront(); } static if(isInfinite!Indices) { enum bool empty = false; } else { /// Ditto @property bool empty() { return _indices.empty; } } static if(isForwardRange!Indices) { /// Ditto @property typeof(this) save() { // Don't need to save _source because it's never consumed. return typeof(this)(_source, _indices.save); } } /// Ditto static if(hasAssignableElements!Source) { @property auto ref front(ElementType!Source newVal) { assert(!empty); return _source[_indices.front] = newVal; } } static if(hasMobileElements!Source) { /// Ditto auto moveFront() { assert(!empty); return .moveAt(_source, _indices.front); } } static if(isBidirectionalRange!Indices) { /// Ditto @property auto ref back() { assert(!empty); return _source[_indices.back]; } /// Ditto void popBack() { assert(!empty); _indices.popBack(); } /// Ditto static if(hasAssignableElements!Source) { @property auto ref back(ElementType!Source newVal) { assert(!empty); return _source[_indices.back] = newVal; } } static if(hasMobileElements!Source) { /// Ditto auto moveBack() { assert(!empty); return .moveAt(_source, _indices.back); } } } static if(hasLength!Indices) { /// Ditto @property size_t length() { return _indices.length; } alias opDollar = length; } static if(isRandomAccessRange!Indices) { /// Ditto auto ref opIndex(size_t index) { return _source[_indices[index]]; } /// Ditto typeof(this) opSlice(size_t a, size_t b) { return typeof(this)(_source, _indices[a..b]); } static if(hasAssignableElements!Source) { /// Ditto auto opIndexAssign(ElementType!Source newVal, size_t index) { return _source[_indices[index]] = newVal; } } static if(hasMobileElements!Source) { /// Ditto auto moveAt(size_t index) { return .moveAt(_source, _indices[index]); } } } // All this stuff is useful if someone wants to index an Indexed // without adding a layer of indirection. /** Returns the source range. */ @property Source source() { return _source; } /** Returns the indices range. */ @property Indices indices() { return _indices; } static if(isRandomAccessRange!Indices) { /** Returns the physical index into the source range corresponding to a given logical index. This is useful, for example, when indexing an $(D Indexed) without adding another layer of indirection. Examples: --- auto ind = indexed([1, 2, 3, 4, 5], [1, 3, 4]); assert(ind.physicalIndex(0) == 1); --- */ size_t physicalIndex(size_t logicalIndex) { return _indices[logicalIndex]; } } private: Source _source; Indices _indices; } /// Ditto Indexed!(Source, Indices) indexed(Source, Indices)(Source source, Indices indices) { return typeof(return)(source, indices); } /// unittest { auto source = [1, 2, 3, 4, 5]; auto indices = [4, 3, 1, 2, 0, 4]; auto ind = indexed(source, indices); assert(equal(ind, [5, 4, 2, 3, 1, 5])); assert(equal(retro(ind), [5, 1, 3, 2, 4, 5])); } unittest { { auto ind = indexed([1, 2, 3, 4, 5], [1, 3, 4]); assert(ind.physicalIndex(0) == 1); } auto source = [1, 2, 3, 4, 5]; auto indices = [4, 3, 1, 2, 0, 4]; auto ind = indexed(source, indices); // When elements of indices are duplicated and Source has lvalue elements, // these are aliased in ind. ind[0]++; assert(ind[0] == 6); assert(ind[5] == 6); } unittest { foreach(DummyType; AllDummyRanges) { auto d = DummyType.init; auto r = indexed([1, 2, 3, 4, 5], d); static assert(propagatesRangeType!(DummyType, typeof(r))); static assert(propagatesLength!(DummyType, typeof(r))); } } /** This range iterates over fixed-sized chunks of size $(D chunkSize) of a $(D source) range. $(D Source) must be a forward range. If $(D !isInfinite!Source) and $(D source.walkLength) is not evenly divisible by $(D chunkSize), the back element of this range will contain fewer than $(D chunkSize) elements. */ struct Chunks(Source) if (isForwardRange!Source) { /// Standard constructor this(Source source, size_t chunkSize) { assert(chunkSize != 0, "Cannot create a Chunk with an empty chunkSize"); _source = source; _chunkSize = chunkSize; } /// Forward range primitives. Always present. @property auto front() { assert(!empty); return _source.save.take(_chunkSize); } /// Ditto void popFront() { assert(!empty); _source.popFrontN(_chunkSize); } static if (!isInfinite!Source) /// Ditto @property bool empty() { return _source.empty; } else // undocumented enum empty = false; /// Ditto @property typeof(this) save() { return typeof(this)(_source.save, _chunkSize); } static if (hasLength!Source) { /// Length. Only if $(D hasLength!Source) is $(D true) @property size_t length() { // Note: _source.length + _chunkSize may actually overflow. // We cast to ulong to mitigate the problem on x86 machines. // For x64 machines, we just suppose we'll never overflow. // The "safe" code would require either an extra branch, or a // modulo operation, which is too expensive for such a rare case return cast(size_t)((cast(ulong)(_source.length) + _chunkSize - 1) / _chunkSize); } //Note: No point in defining opDollar here without slicing. //opDollar is defined below in the hasSlicing!Source section } static if (hasSlicing!Source) { //Used for various purposes private enum hasSliceToEnd = is(typeof(Source.init[_chunkSize .. $]) == Source); /** Indexing and slicing operations. Provided only if $(D hasSlicing!Source) is $(D true). */ auto opIndex(size_t index) { immutable start = index * _chunkSize; immutable end = start + _chunkSize; static if (isInfinite!Source) return _source[start .. end]; else { immutable len = _source.length; assert(start < len, "chunks index out of bounds"); return _source[start .. min(end, len)]; } } /// Ditto static if (hasLength!Source) typeof(this) opSlice(size_t lower, size_t upper) { assert(lower <= upper && upper <= length, "chunks slicing index out of bounds"); immutable len = _source.length; return chunks(_source[min(lower * _chunkSize, len) .. min(upper * _chunkSize, len)], _chunkSize); } else static if (hasSliceToEnd) //For slicing an infinite chunk, we need to slice the source to the end. typeof(takeExactly(this, 0)) opSlice(size_t lower, size_t upper) { assert(lower <= upper, "chunks slicing index out of bounds"); return chunks(_source[lower * _chunkSize .. $], _chunkSize).takeExactly(upper - lower); } static if (isInfinite!Source) { static if (hasSliceToEnd) { private static struct DollarToken{} DollarToken opDollar() { return DollarToken(); } //Slice to dollar typeof(this) opSlice(size_t lower, DollarToken) { return typeof(this)(_source[lower * _chunkSize .. $], _chunkSize); } } } else { //Dollar token carries a static type, with no extra information. //It can lazily transform into _source.length on algorithmic //operations such as : chunks[$/2, $-1]; private static struct DollarToken { Chunks!Source* mom; @property size_t momLength() { return mom.length; } alias momLength this; } DollarToken opDollar() { return DollarToken(&this); } //Slice overloads optimized for using dollar. Without this, to slice to end, we would... //1. Evaluate chunks.length //2. Multiply by _chunksSize //3. To finally just compare it (with min) to the original length of source (!) //These overloads avoid that. typeof(this) opSlice(DollarToken, DollarToken) { static if (hasSliceToEnd) return chunks(_source[$ .. $], _chunkSize); else { immutable len = _source.length; return chunks(_source[len .. len], _chunkSize); } } typeof(this) opSlice(size_t lower, DollarToken) { assert(lower <= length, "chunks slicing index out of bounds"); static if (hasSliceToEnd) return chunks(_source[min(lower * _chunkSize, _source.length) .. $], _chunkSize); else { immutable len = _source.length; return chunks(_source[min(lower * _chunkSize, len) .. len], _chunkSize); } } typeof(this) opSlice(DollarToken, size_t upper) { assert(upper == length, "chunks slicing index out of bounds"); return this[$ .. $]; } } } //Bidirectional range primitives static if (hasSlicing!Source && hasLength!Source) { /** Bidirectional range primitives. Provided only if both $(D hasSlicing!Source) and $(D hasLength!Source) are $(D true). */ @property auto back() { assert(!empty, "back called on empty chunks"); immutable len = _source.length; immutable start = (len - 1) / _chunkSize * _chunkSize; return _source[start .. len]; } /// Ditto void popBack() { assert(!empty, "popBack() called on empty chunks"); immutable end = (_source.length - 1) / _chunkSize * _chunkSize; _source = _source[0 .. end]; } } private: Source _source; size_t _chunkSize; } /// Ditto Chunks!Source chunks(Source)(Source source, size_t chunkSize) if (isForwardRange!Source) { return typeof(return)(source, chunkSize); } /// unittest { auto source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; auto chunks = chunks(source, 4); assert(chunks[0] == [1, 2, 3, 4]); assert(chunks[1] == [5, 6, 7, 8]); assert(chunks[2] == [9, 10]); assert(chunks.back == chunks[2]); assert(chunks.front == chunks[0]); assert(chunks.length == 3); assert(equal(retro(array(chunks)), array(retro(chunks)))); } unittest { auto source = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; auto chunks = chunks(source, 4); auto chunks2 = chunks.save; chunks.popFront(); assert(chunks[0] == [5, 6, 7, 8]); assert(chunks[1] == [9, 10]); chunks2.popBack(); assert(chunks2[1] == [5, 6, 7, 8]); assert(chunks2.length == 2); static assert(isRandomAccessRange!(typeof(chunks))); } unittest { //Extra toying with slicing and indexing. auto chunks1 = [0, 0, 1, 1, 2, 2, 3, 3, 4].chunks(2); auto chunks2 = [0, 0, 1, 1, 2, 2, 3, 3, 4, 4].chunks(2); assert (chunks1.length == 5); assert (chunks2.length == 5); assert (chunks1[4] == [4]); assert (chunks2[4] == [4, 4]); assert (chunks1.back == [4]); assert (chunks2.back == [4, 4]); assert (chunks1[0 .. 1].equal([[0, 0]])); assert (chunks1[0 .. 2].equal([[0, 0], [1, 1]])); assert (chunks1[4 .. 5].equal([[4]])); assert (chunks2[4 .. 5].equal([[4, 4]])); assert (chunks1[0 .. 0].equal((int[][]).init)); assert (chunks1[5 .. 5].equal((int[][]).init)); assert (chunks2[5 .. 5].equal((int[][]).init)); //Fun with opDollar assert (chunks1[$ .. $].equal((int[][]).init)); //Quick assert (chunks2[$ .. $].equal((int[][]).init)); //Quick assert (chunks1[$ - 1 .. $].equal([[4]])); //Semiquick assert (chunks2[$ - 1 .. $].equal([[4, 4]])); //Semiquick assert (chunks1[$ .. 5].equal((int[][]).init)); //Semiquick assert (chunks2[$ .. 5].equal((int[][]).init)); //Semiquick assert (chunks1[$ / 2 .. $ - 1].equal([[2, 2], [3, 3]])); //Slow } unittest { //ForwardRange auto r = filter!"true"([1, 2, 3, 4, 5]).chunks(2); assert(equal!"equal(a, b)"(r, [[1, 2], [3, 4], [5]])); //InfiniteRange w/o RA auto fibsByPairs = recurrence!"a[n-1] + a[n-2]"(1, 1).chunks(2); assert(equal!`equal(a, b)`(fibsByPairs.take(2), [[ 1, 1], [ 2, 3]])); //InfiniteRange w/ RA and slicing auto odds = sequence!("a[0] + n * a[1]")(1, 2); auto oddsByPairs = odds.chunks(2); assert(equal!`equal(a, b)`(oddsByPairs.take(2), [[ 1, 3], [ 5, 7]])); //Requires phobos#991 for Sequence to have slice to end static assert(hasSlicing!(typeof(odds))); assert(equal!`equal(a, b)`(oddsByPairs[3 .. 5], [[13, 15], [17, 19]])); assert(equal!`equal(a, b)`(oddsByPairs[3 .. $].take(2), [[13, 15], [17, 19]])); } private struct OnlyResult(T, size_t arity) { private this(Values...)(auto ref Values values) { this.data = [values]; } bool empty() @property { return frontIndex >= backIndex; } T front() @property { assert(!empty); return data[frontIndex]; } void popFront() { assert(!empty); ++frontIndex; } T back() @property { assert(!empty); return data[backIndex - 1]; } void popBack() { assert(!empty); --backIndex; } OnlyResult save() @property { return this; } size_t length() @property { return backIndex - frontIndex; } alias opDollar = length; T opIndex(size_t idx) { // data[i + idx] will not throw a RangeError // when i + idx points to elements popped // with popBack version(assert) { import core.exception : RangeError; if (idx >= length) throw new RangeError; } return data[frontIndex + idx]; } OnlyResult opSlice() { return this; } OnlyResult opSlice(size_t from, size_t to) { OnlyResult result = this; result.frontIndex += from; result.backIndex = this.frontIndex + to; version(assert) { import core.exception : RangeError; if (to < from || to > length) throw new RangeError; } return result; } private size_t frontIndex = 0; private size_t backIndex = arity; // @@@BUG@@@ 10643 version(none) { static if(hasElaborateAssign!T) private T[arity] data; else private T[arity] data = void; } else private T[arity] data; } // Specialize for single-element results private struct OnlyResult(T, size_t arity : 1) { @property T front() { assert(!_empty); return _value; } @property T back() { assert(!_empty); return _value; } @property bool empty() const { return _empty; } @property size_t length() const { return !_empty; } @property auto save() { return this; } void popFront() { assert(!_empty); _empty = true; } void popBack() { assert(!_empty); _empty = true; } alias opDollar = length; T opIndex(size_t i) { version (assert) { import core.exception : RangeError; if (_empty || i != 0) throw new RangeError; } return _value; } OnlyResult opSlice() { return this; } OnlyResult opSlice(size_t from, size_t to) { version (assert) { import core.exception : RangeError; if (from > to || to > length) throw new RangeError; } OnlyResult copy = this; copy._empty = _empty || from == to; return copy; } private Unqual!T _value; private bool _empty = false; } // Specialize for the empty range private struct OnlyResult(T, size_t arity : 0) { private static struct EmptyElementType {} bool empty() @property { return true; } size_t length() @property { return 0; } alias opDollar = length; EmptyElementType front() @property { assert(false); } void popFront() { assert(false); } EmptyElementType back() @property { assert(false); } void popBack() { assert(false); } OnlyResult save() @property { return this; } EmptyElementType opIndex(size_t i) { version(assert) { import core.exception : RangeError; throw new RangeError; } assert(false); } OnlyResult opSlice() { return this; } OnlyResult opSlice(size_t from, size_t to) { version(assert) { import core.exception : RangeError; if (from != 0 || to != 0) throw new RangeError; } return this; } } /** Assemble $(D values) into a range that carries all its elements in-situ. Useful when a single value or multiple disconnected values must be passed to an algorithm expecting a range, without having to perform dynamic memory allocation. As copying the range means copying all elements, it can be safely returned from functions. For the same reason, copying the returned range may be expensive for a large number of arguments. */ auto only(Values...)(auto ref Values values) if(!is(CommonType!Values == void) || Values.length == 0) { return OnlyResult!(CommonType!Values, Values.length)(values); } /// unittest { import mystd.uni; assert(equal(only('♡'), "♡")); assert([1, 2, 3, 4].findSplitBefore(only(3))[0] == [1, 2]); assert(only("one", "two", "three").joiner(" ").equal("one two three")); string title = "The D Programming Language"; assert(filter!isUpper(title).map!only().join(".") == "T.D.P.L"); } version(unittest) { // Verify that the same common type and same arity // results in the same template instantiation static assert(is(typeof(only(byte.init, int.init)) == typeof(only(int.init, byte.init)))); static assert(is(typeof(only((const(char)[]).init, string.init)) == typeof(only((const(char)[]).init, (const(char)[]).init)))); } // Tests the zero-element result unittest { auto emptyRange = only(); alias EmptyRange = typeof(emptyRange); static assert(isInputRange!EmptyRange); static assert(isForwardRange!EmptyRange); static assert(isBidirectionalRange!EmptyRange); static assert(isRandomAccessRange!EmptyRange); static assert(hasLength!EmptyRange); static assert(hasSlicing!EmptyRange); assert(emptyRange.empty); assert(emptyRange.length == 0); assert(emptyRange.equal(emptyRange[])); assert(emptyRange.equal(emptyRange.save)); assert(emptyRange[0 .. 0].equal(emptyRange)); } // Tests the single-element result unittest { foreach (x; tuple(1, '1', 1.0, "1", [1])) { auto a = only(x); typeof(x)[] e = []; assert(a.front == x); assert(a.back == x); assert(!a.empty); assert(a.length == 1); assert(equal(a, a[])); assert(equal(a, a[0..1])); assert(equal(a[0..0], e)); assert(equal(a[1..1], e)); assert(a[0] == x); auto b = a.save; assert(equal(a, b)); a.popFront(); assert(a.empty && a.length == 0 && a[].empty); b.popBack(); assert(b.empty && b.length == 0 && b[].empty); alias A = typeof(a); static assert(isInputRange!A); static assert(isForwardRange!A); static assert(isBidirectionalRange!A); static assert(isRandomAccessRange!A); static assert(hasLength!A); static assert(hasSlicing!A); } auto imm = only!(immutable int)(1); immutable int[] imme = []; assert(imm.front == 1); assert(imm.back == 1); assert(!imm.empty); assert(imm.length == 1); assert(equal(imm, imm[])); assert(equal(imm, imm[0..1])); assert(equal(imm[0..0], imme)); assert(equal(imm[1..1], imme)); assert(imm[0] == 1); } // Tests multiple-element results unittest { static assert(!__traits(compiles, only(1, "1"))); auto nums = only!(byte, uint, long)(1, 2, 3); static assert(is(ElementType!(typeof(nums)) == long)); assert(nums.length == 3); foreach(i; 0 .. 3) assert(nums[i] == i + 1); auto saved = nums.save; foreach(i; 1 .. 4) { assert(nums.front == nums[0]); assert(nums.front == i); nums.popFront(); assert(nums.length == 3 - i); } assert(nums.empty); assert(saved.equal(only(1, 2, 3))); assert(saved.equal(saved[])); assert(saved[0 .. 1].equal(only(1))); assert(saved[0 .. 2].equal(only(1, 2))); assert(saved[0 .. 3].equal(saved)); assert(saved[1 .. 3].equal(only(2, 3))); assert(saved[2 .. 3].equal(only(3))); assert(saved[0 .. 0].empty); assert(saved[3 .. 3].empty); alias data = TypeTuple!("one", "two", "three", "four"); static joined = ["one two", "one two three", "one two three four"]; string[] joinedRange = joined; foreach(argCount; TypeTuple!(2, 3, 4)) { auto values = only(data[0 .. argCount]); alias Values = typeof(values); static assert(is(ElementType!Values == string)); static assert(isInputRange!Values); static assert(isForwardRange!Values); static assert(isBidirectionalRange!Values); static assert(isRandomAccessRange!Values); static assert(hasSlicing!Values); static assert(hasLength!Values); assert(values.length == argCount); assert(values[0 .. $].equal(values[0 .. values.length])); assert(values.joiner(" ").equal(joinedRange.front)); joinedRange.popFront(); } assert(saved.retro.equal(only(3, 2, 1))); assert(saved.length == 3); assert(saved.back == 3); saved.popBack(); assert(saved.length == 2); assert(saved.back == 2); assert(saved.front == 1); saved.popFront(); assert(saved.length == 1); assert(saved.front == 2); saved.popBack(); assert(saved.empty); auto imm = only!(immutable int, immutable int)(42, 24); alias Imm = typeof(imm); static assert(is(ElementType!Imm == immutable(int))); assert(imm.front == 42); imm.popFront(); assert(imm.front == 24); imm.popFront(); assert(imm.empty); static struct Test { int* a; } immutable(Test) test; only(test, test); // Works with mutable indirection } /** Moves the front of $(D r) out and returns it. Leaves $(D r.front) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveFront(R)(R r) { static if (is(typeof(&r.moveFront))) { return r.moveFront(); } else static if (!hasElaborateCopyConstructor!(ElementType!R)) { return r.front; } else static if (is(typeof(&(r.front())) == ElementType!R*)) { return move(r.front); } else { static assert(0, "Cannot move front of a range with a postblit and an rvalue front."); } } /// unittest { auto a = [ 1, 2, 3 ]; assert(moveFront(a) == 1); // define a perfunctory input range struct InputRange { @property bool empty() { return false; } @property int front() { return 42; } void popFront() {} int moveFront() { return 43; } } InputRange r; assert(moveFront(r) == 43); } unittest { struct R { @property ref int front() { static int x = 42; return x; } this(this){} } R r; assert(moveFront(r) == 42); } /** Moves the back of $(D r) out and returns it. Leaves $(D r.back) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveBack(R)(R r) { static if (is(typeof(&r.moveBack))) { return r.moveBack(); } else static if (!hasElaborateCopyConstructor!(ElementType!R)) { return r.back; } else static if (is(typeof(&(r.back())) == ElementType!R*)) { return move(r.back); } else { static assert(0, "Cannot move back of a range with a postblit and an rvalue back."); } } /// unittest { struct TestRange { int payload = 5; @property bool empty() { return false; } @property TestRange save() { return this; } @property ref int front() { return payload; } @property ref int back() { return payload; } void popFront() { } void popBack() { } } static assert(isBidirectionalRange!TestRange); TestRange r; auto x = moveBack(r); assert(x == 5); } /** Moves element at index $(D i) of $(D r) out and returns it. Leaves $(D r.front) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveAt(R, I)(R r, I i) if (isIntegral!I) { static if (is(typeof(&r.moveAt))) { return r.moveAt(i); } else static if (!hasElaborateCopyConstructor!(ElementType!(R))) { return r[i]; } else static if (is(typeof(&r[i]) == ElementType!R*)) { return move(r[i]); } else { static assert(0, "Cannot move element of a range with a postblit and rvalue elements."); } } /// unittest { auto a = [1,2,3,4]; foreach(idx, it; a) { assert(it == moveAt(a, idx)); } } unittest { foreach(DummyType; AllDummyRanges) { auto d = DummyType.init; assert(moveFront(d) == 1); static if (isBidirectionalRange!DummyType) { assert(moveBack(d) == 10); } static if (isRandomAccessRange!DummyType) { assert(moveAt(d, 2) == 3); } } } /**These interfaces are intended to provide virtual function-based wrappers * around input ranges with element type E. This is useful where a well-defined * binary interface is required, such as when a DLL function or virtual function * needs to accept a generic range as a parameter. Note that * $(LREF isInputRange) and friends check for conformance to structural * interfaces, not for implementation of these $(D interface) types. * * Examples: * --- * void useRange(InputRange!int range) { * // Function body. * } * * // Create a range type. * auto squares = map!"a * a"(iota(10)); * * // Wrap it in an interface. * auto squaresWrapped = inputRangeObject(squares); * * // Use it. * useRange(squaresWrapped); * --- * * Limitations: * * These interfaces are not capable of forwarding $(D ref) access to elements. * * Infiniteness of the wrapped range is not propagated. * * Length is not propagated in the case of non-random access ranges. * * See_Also: * $(LREF inputRangeObject) */ interface InputRange(E) { /// @property E front(); /// E moveFront(); /// void popFront(); /// @property bool empty(); /* Measurements of the benefits of using opApply instead of range primitives * for foreach, using timings for iterating over an iota(100_000_000) range * with an empty loop body, using the same hardware in each case: * * Bare Iota struct, range primitives: 278 milliseconds * InputRangeObject, opApply: 436 milliseconds (1.57x penalty) * InputRangeObject, range primitives: 877 milliseconds (3.15x penalty) */ /**$(D foreach) iteration uses opApply, since one delegate call per loop * iteration is faster than three virtual function calls. */ int opApply(int delegate(E)); /// Ditto int opApply(int delegate(size_t, E)); } /**Interface for a forward range of type $(D E).*/ interface ForwardRange(E) : InputRange!E { /// @property ForwardRange!E save(); } /**Interface for a bidirectional range of type $(D E).*/ interface BidirectionalRange(E) : ForwardRange!(E) { /// @property BidirectionalRange!E save(); /// @property E back(); /// E moveBack(); /// void popBack(); } /**Interface for a finite random access range of type $(D E).*/ interface RandomAccessFinite(E) : BidirectionalRange!(E) { /// @property RandomAccessFinite!E save(); /// E opIndex(size_t); /// E moveAt(size_t); /// @property size_t length(); /// alias opDollar = length; // Can't support slicing until issues with requiring slicing for all // finite random access ranges are fully resolved. version(none) { /// RandomAccessFinite!E opSlice(size_t, size_t); } } /**Interface for an infinite random access range of type $(D E).*/ interface RandomAccessInfinite(E) : ForwardRange!E { /// E moveAt(size_t); /// @property RandomAccessInfinite!E save(); /// E opIndex(size_t); } /**Adds assignable elements to InputRange.*/ interface InputAssignable(E) : InputRange!E { /// @property void front(E newVal); } /**Adds assignable elements to ForwardRange.*/ interface ForwardAssignable(E) : InputAssignable!E, ForwardRange!E { /// @property ForwardAssignable!E save(); } /**Adds assignable elements to BidirectionalRange.*/ interface BidirectionalAssignable(E) : ForwardAssignable!E, BidirectionalRange!E { /// @property BidirectionalAssignable!E save(); /// @property void back(E newVal); } /**Adds assignable elements to RandomAccessFinite.*/ interface RandomFiniteAssignable(E) : RandomAccessFinite!E, BidirectionalAssignable!E { /// @property RandomFiniteAssignable!E save(); /// void opIndexAssign(E val, size_t index); } /**Interface for an output range of type $(D E). Usage is similar to the * $(D InputRange) interface and descendants.*/ interface OutputRange(E) { /// void put(E); } // CTFE function that generates mixin code for one put() method for each // type E. private string putMethods(E...)() { import mystd.conv : to; string ret; foreach (ti, Unused; E) { ret ~= "void put(E[" ~ to!string(ti) ~ "] e) { .put(_range, e); }"; } return ret; } /**Implements the $(D OutputRange) interface for all types E and wraps the * $(D put) method for each type $(D E) in a virtual function. */ class OutputRangeObject(R, E...) : staticMap!(OutputRange, E) { // @BUG 4689: There should be constraints on this template class, but // DMD won't let me put them in. private R _range; this(R range) { this._range = range; } mixin(putMethods!E()); } /**Returns the interface type that best matches $(D R).*/ template MostDerivedInputRange(R) if (isInputRange!(Unqual!R)) { private alias E = ElementType!R; static if (isRandomAccessRange!R) { static if (isInfinite!R) { alias MostDerivedInputRange = RandomAccessInfinite!E; } else static if (hasAssignableElements!R) { alias MostDerivedInputRange = RandomFiniteAssignable!E; } else { alias MostDerivedInputRange = RandomAccessFinite!E; } } else static if (isBidirectionalRange!R) { static if (hasAssignableElements!R) { alias MostDerivedInputRange = BidirectionalAssignable!E; } else { alias MostDerivedInputRange = BidirectionalRange!E; } } else static if (isForwardRange!R) { static if (hasAssignableElements!R) { alias MostDerivedInputRange = ForwardAssignable!E; } else { alias MostDerivedInputRange = ForwardRange!E; } } else { static if (hasAssignableElements!R) { alias MostDerivedInputRange = InputAssignable!E; } else { alias MostDerivedInputRange = InputRange!E; } } } /**Implements the most derived interface that $(D R) works with and wraps * all relevant range primitives in virtual functions. If $(D R) is already * derived from the $(D InputRange) interface, aliases itself away. */ template InputRangeObject(R) if (isInputRange!(Unqual!R)) { static if (is(R : InputRange!(ElementType!R))) { alias InputRangeObject = R; } else static if (!is(Unqual!R == R)) { alias InputRangeObject = InputRangeObject!(Unqual!R); } else { /// class InputRangeObject : MostDerivedInputRange!(R) { private R _range; private alias E = ElementType!R; this(R range) { this._range = range; } @property E front() { return _range.front; } E moveFront() { return .moveFront(_range); } void popFront() { _range.popFront(); } @property bool empty() { return _range.empty; } static if (isForwardRange!R) { @property typeof(this) save() { return new typeof(this)(_range.save); } } static if (hasAssignableElements!R) { @property void front(E newVal) { _range.front = newVal; } } static if (isBidirectionalRange!R) { @property E back() { return _range.back; } E moveBack() { return .moveBack(_range); } void popBack() { return _range.popBack(); } static if (hasAssignableElements!R) { @property void back(E newVal) { _range.back = newVal; } } } static if (isRandomAccessRange!R) { E opIndex(size_t index) { return _range[index]; } E moveAt(size_t index) { return .moveAt(_range, index); } static if (hasAssignableElements!R) { void opIndexAssign(E val, size_t index) { _range[index] = val; } } static if (!isInfinite!R) { @property size_t length() { return _range.length; } alias opDollar = length; // Can't support slicing until all the issues with // requiring slicing support for finite random access // ranges are resolved. version(none) { typeof(this) opSlice(size_t lower, size_t upper) { return new typeof(this)(_range[lower..upper]); } } } } // Optimization: One delegate call is faster than three virtual // function calls. Use opApply for foreach syntax. int opApply(int delegate(E) dg) { int res; for(auto r = _range; !r.empty; r.popFront()) { res = dg(r.front); if (res) break; } return res; } int opApply(int delegate(size_t, E) dg) { int res; size_t i = 0; for(auto r = _range; !r.empty; r.popFront()) { res = dg(i, r.front); if (res) break; i++; } return res; } } } } /**Convenience function for creating an $(D InputRangeObject) of the proper type. * See $(LREF InputRange) for an example. */ InputRangeObject!R inputRangeObject(R)(R range) if (isInputRange!R) { static if (is(R : InputRange!(ElementType!R))) { return range; } else { return new InputRangeObject!R(range); } } /**Convenience function for creating an $(D OutputRangeObject) with a base range * of type $(D R) that accepts types $(D E). Examples: --- uint[] outputArray; auto app = appender(&outputArray); auto appWrapped = outputRangeObject!(uint, uint[])(app); static assert(is(typeof(appWrapped) : OutputRange!(uint[]))); static assert(is(typeof(appWrapped) : OutputRange!(uint))); --- */ template outputRangeObject(E...) { /// OutputRangeObject!(R, E) outputRangeObject(R)(R range) { return new OutputRangeObject!(R, E)(range); } } unittest { static void testEquality(R)(iInputRange r1, R r2) { assert(equal(r1, r2)); } auto arr = [1,2,3,4]; RandomFiniteAssignable!int arrWrapped = inputRangeObject(arr); static assert(isRandomAccessRange!(typeof(arrWrapped))); // static assert(hasSlicing!(typeof(arrWrapped))); static assert(hasLength!(typeof(arrWrapped))); arrWrapped[0] = 0; assert(arr[0] == 0); assert(arr.moveFront() == 0); assert(arr.moveBack() == 4); assert(arr.moveAt(1) == 2); foreach(elem; arrWrapped) {} foreach(i, elem; arrWrapped) {} assert(inputRangeObject(arrWrapped) is arrWrapped); foreach(DummyType; AllDummyRanges) { auto d = DummyType.init; static assert(propagatesRangeType!(DummyType, typeof(inputRangeObject(d)))); static assert(propagatesRangeType!(DummyType, MostDerivedInputRange!DummyType)); InputRange!uint wrapped = inputRangeObject(d); assert(equal(wrapped, d)); } // Test output range stuff. auto app = appender!(uint[])(); auto appWrapped = outputRangeObject!(uint, uint[])(app); static assert(is(typeof(appWrapped) : OutputRange!(uint[]))); static assert(is(typeof(appWrapped) : OutputRange!(uint))); appWrapped.put(1); appWrapped.put([2, 3]); assert(app.data.length == 3); assert(equal(app.data, [1,2,3])); } /** Returns true if $(D fn) accepts variables of type T1 and T2 in any order. The following code should compile: --- T1 foo(); T2 bar(); fn(foo(), bar()); fn(bar(), foo()); --- */ template isTwoWayCompatible(alias fn, T1, T2) { enum isTwoWayCompatible = is(typeof( (){ T1 foo(); T2 bar(); fn(foo(), bar()); fn(bar(), foo()); } )); } /** Policy used with the searching primitives $(D lowerBound), $(D upperBound), and $(D equalRange) of $(LREF SortedRange) below. */ enum SearchPolicy { /** Searches with a step that is grows linearly (1, 2, 3,...) leading to a quadratic search schedule (indexes tried are 0, 1, 3, 6, 10, 15, 21, 28,...) Once the search overshoots its target, the remaining interval is searched using binary search. The search is completed in $(BIGOH sqrt(n)) time. Use it when you are reasonably confident that the value is around the beginning of the range. */ trot, /** Performs a $(LUCKY galloping search algorithm), i.e. searches with a step that doubles every time, (1, 2, 4, 8, ...) leading to an exponential search schedule (indexes tried are 0, 1, 3, 7, 15, 31, 63,...) Once the search overshoots its target, the remaining interval is searched using binary search. A value is found in $(BIGOH log(n)) time. */ gallop, /** Searches using a classic interval halving policy. The search starts in the middle of the range, and each search step cuts the range in half. This policy finds a value in $(BIGOH log(n)) time but is less cache friendly than $(D gallop) for large ranges. The $(D binarySearch) policy is used as the last step of $(D trot), $(D gallop), $(D trotBackwards), and $(D gallopBackwards) strategies. */ binarySearch, /** Similar to $(D trot) but starts backwards. Use it when confident that the value is around the end of the range. */ trotBackwards, /** Similar to $(D gallop) but starts backwards. Use it when confident that the value is around the end of the range. */ gallopBackwards } /** Represents a sorted random-access range. In addition to the regular range primitives, supports fast operations using binary search. To obtain a $(D SortedRange) from an unsorted range $(D r), use $(XREF algorithm, sort) which sorts $(D r) in place and returns the corresponding $(D SortedRange). To construct a $(D SortedRange) from a range $(D r) that is known to be already sorted, use $(LREF assumeSorted) described below. Example: ---- auto a = [ 1, 2, 3, 42, 52, 64 ]; auto r = assumeSorted(a); assert(r.contains(3)); assert(!r.contains(32)); auto r1 = sort!"a > b"(a); assert(r1.contains(3)); assert(!r1.contains(32)); assert(r1.release() == [ 64, 52, 42, 3, 2, 1 ]); ---- $(D SortedRange) could accept ranges weaker than random-access, but it is unable to provide interesting functionality for them. Therefore, $(D SortedRange) is currently restricted to random-access ranges. No copy of the original range is ever made. If the underlying range is changed concurrently with its corresponding $(D SortedRange) in ways that break its sortedness, $(D SortedRange) will work erratically. Example: ---- auto a = [ 1, 2, 3, 42, 52, 64 ]; auto r = assumeSorted(a); assert(r.contains(42)); swap(a[3], a[5]); // illegal to break sortedness of original range assert(!r.contains(42)); // passes although it shouldn't ---- */ struct SortedRange(Range, alias pred = "a < b") if (isRandomAccessRange!Range && hasLength!Range) { private import mystd.functional : binaryFun; private alias predFun = binaryFun!pred; private bool geq(L, R)(L lhs, R rhs) { return !predFun(lhs, rhs); } private bool gt(L, R)(L lhs, R rhs) { return predFun(rhs, lhs); } private Range _input; // Undocummented because a clearer way to invoke is by calling // assumeSorted. this(Range input) { this._input = input; if(!__ctfe) debug { import core.bitop : bsr; import mystd.conv : text; import mystd.random : MinstdRand, uniform; // Check the sortedness of the input if (this._input.length < 2) return; immutable size_t msb = bsr(this._input.length) + 1; assert(msb > 0 && msb <= this._input.length); immutable step = this._input.length / msb; static MinstdRand gen; immutable start = uniform(0, step, gen); auto st = stride(this._input, step); assert(isSorted!pred(st), text(st)); } } /// Range primitives. @property bool empty() //const { return this._input.empty; } /// Ditto @property auto save() { // Avoid the constructor typeof(this) result = this; result._input = _input.save; return result; } /// Ditto @property auto front() { return _input.front; } /// Ditto void popFront() { _input.popFront(); } /// Ditto @property auto back() { return _input.back; } /// Ditto void popBack() { _input.popBack(); } /// Ditto auto opIndex(size_t i) { return _input[i]; } /// Ditto static if (hasSlicing!Range) auto opSlice(size_t a, size_t b) { assert(a <= b); typeof(this) result = this; result._input = _input[a .. b];// skip checking return result; } /// Ditto @property size_t length() //const { return _input.length; } alias opDollar = length; /** Releases the controlled range and returns it. */ auto release() { return move(_input); } // Assuming a predicate "test" that returns 0 for a left portion // of the range and then 1 for the rest, returns the index at // which the first 1 appears. Used internally by the search routines. private size_t getTransitionIndex(SearchPolicy sp, alias test, V)(V v) if (sp == SearchPolicy.binarySearch) { size_t first = 0, count = _input.length; while (count > 0) { immutable step = count / 2, it = first + step; if (!test(_input[it], v)) { first = it + 1; count -= step + 1; } else { count = step; } } return first; } // Specialization for trot and gallop private size_t getTransitionIndex(SearchPolicy sp, alias test, V)(V v) if (sp == SearchPolicy.trot || sp == SearchPolicy.gallop) { if (empty || test(front, v)) return 0; immutable count = length; if (count == 1) return 1; size_t below = 0, above = 1, step = 2; while (!test(_input[above], v)) { // Still too small, update below and increase gait below = above; immutable next = above + step; if (next >= count) { // Overshot - the next step took us beyond the end. So // now adjust next and simply exit the loop to do the // binary search thingie. above = count; break; } // Still in business, increase step and continue above = next; static if (sp == SearchPolicy.trot) ++step; else step <<= 1; } return below + this[below .. above].getTransitionIndex!( SearchPolicy.binarySearch, test, V)(v); } // Specialization for trotBackwards and gallopBackwards private size_t getTransitionIndex(SearchPolicy sp, alias test, V)(V v) if (sp == SearchPolicy.trotBackwards || sp == SearchPolicy.gallopBackwards) { immutable count = length; if (empty || !test(back, v)) return count; if (count == 1) return 0; size_t below = count - 2, above = count - 1, step = 2; while (test(_input[below], v)) { // Still too large, update above and increase gait above = below; if (below < step) { // Overshot - the next step took us beyond the end. So // now adjust next and simply fall through to do the // binary search thingie. below = 0; break; } // Still in business, increase step and continue below -= step; static if (sp == SearchPolicy.trot) ++step; else step <<= 1; } return below + this[below .. above].getTransitionIndex!( SearchPolicy.binarySearch, test, V)(v); } // lowerBound /** This function uses binary search with policy $(D sp) to find the largest left subrange on which $(D pred(x, value)) is $(D true) for all $(D x) (e.g., if $(D pred) is "less than", returns the portion of the range with elements strictly smaller than $(D value)). The search schedule and its complexity are documented in $(LREF SearchPolicy). See also STL's $(WEB sgi.com/tech/stl/lower_bound.html, lower_bound). Example: ---- auto a = assumeSorted([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]); auto p = a.lowerBound(4); assert(equal(p, [ 0, 1, 2, 3 ])); ---- */ auto lowerBound(SearchPolicy sp = SearchPolicy.binarySearch, V)(V value) if (isTwoWayCompatible!(predFun, ElementType!Range, V)) { return this[0 .. getTransitionIndex!(sp, geq)(value)]; } // upperBound /** This function uses binary search with policy $(D sp) to find the largest right subrange on which $(D pred(value, x)) is $(D true) for all $(D x) (e.g., if $(D pred) is "less than", returns the portion of the range with elements strictly greater than $(D value)). The search schedule and its complexity are documented in $(LREF SearchPolicy). See also STL's $(WEB sgi.com/tech/stl/lower_bound.html,upper_bound). Example: ---- auto a = assumeSorted([ 1, 2, 3, 3, 3, 4, 4, 5, 6 ]); auto p = a.upperBound(3); assert(equal(p, [4, 4, 5, 6])); ---- */ auto upperBound(SearchPolicy sp = SearchPolicy.binarySearch, V)(V value) if (isTwoWayCompatible!(predFun, ElementType!Range, V)) { return this[getTransitionIndex!(sp, gt)(value) .. length]; } // equalRange /** Returns the subrange containing all elements $(D e) for which both $(D pred(e, value)) and $(D pred(value, e)) evaluate to $(D false) (e.g., if $(D pred) is "less than", returns the portion of the range with elements equal to $(D value)). Uses a classic binary search with interval halving until it finds a value that satisfies the condition, then uses $(D SearchPolicy.gallopBackwards) to find the left boundary and $(D SearchPolicy.gallop) to find the right boundary. These policies are justified by the fact that the two boundaries are likely to be near the first found value (i.e., equal ranges are relatively small). Completes the entire search in $(BIGOH log(n)) time. See also STL's $(WEB sgi.com/tech/stl/equal_range.html, equal_range). Example: ---- auto a = [ 1, 2, 3, 3, 3, 4, 4, 5, 6 ]; auto r = equalRange(a, 3); assert(equal(r, [ 3, 3, 3 ])); ---- */ auto equalRange(V)(V value) if (isTwoWayCompatible!(predFun, ElementType!Range, V)) { size_t first = 0, count = _input.length; while (count > 0) { immutable step = count / 2; auto it = first + step; if (predFun(_input[it], value)) { // Less than value, bump left bound up first = it + 1; count -= step + 1; } else if (predFun(value, _input[it])) { // Greater than value, chop count count = step; } else { // Equal to value, do binary searches in the // leftover portions // Gallop towards the left end as it's likely nearby immutable left = first + this[first .. it] .lowerBound!(SearchPolicy.gallopBackwards)(value).length; first += count; // Gallop towards the right end as it's likely nearby immutable right = first - this[it + 1 .. first] .upperBound!(SearchPolicy.gallop)(value).length; return this[left .. right]; } } return this.init; } // trisect /** Returns a tuple $(D r) such that $(D r[0]) is the same as the result of $(D lowerBound(value)), $(D r[1]) is the same as the result of $(D equalRange(value)), and $(D r[2]) is the same as the result of $(D upperBound(value)). The call is faster than computing all three separately. Uses a search schedule similar to $(D equalRange). Completes the entire search in $(BIGOH log(n)) time. Example: ---- auto a = [ 1, 2, 3, 3, 3, 4, 4, 5, 6 ]; auto r = assumeSorted(a).trisect(3); assert(equal(r[0], [ 1, 2 ])); assert(equal(r[1], [ 3, 3, 3 ])); assert(equal(r[2], [ 4, 4, 5, 6 ])); ---- */ auto trisect(V)(V value) if (isTwoWayCompatible!(predFun, ElementType!Range, V)) { size_t first = 0, count = _input.length; while (count > 0) { immutable step = count / 2; auto it = first + step; if (predFun(_input[it], value)) { // Less than value, bump left bound up first = it + 1; count -= step + 1; } else if (predFun(value, _input[it])) { // Greater than value, chop count count = step; } else { // Equal to value, do binary searches in the // leftover portions // Gallop towards the left end as it's likely nearby immutable left = first + this[first .. it] .lowerBound!(SearchPolicy.gallopBackwards)(value).length; first += count; // Gallop towards the right end as it's likely nearby immutable right = first - this[it + 1 .. first] .upperBound!(SearchPolicy.gallop)(value).length; return tuple(this[0 .. left], this[left .. right], this[right .. length]); } } // No equal element was found return tuple(this[0 .. first], this.init, this[first .. length]); } // contains /** Returns $(D true) if and only if $(D value) can be found in $(D range), which is assumed to be sorted. Performs $(BIGOH log(r.length)) evaluations of $(D pred). See also STL's $(WEB sgi.com/tech/stl/binary_search.html, binary_search). */ bool contains(V)(V value) { size_t first = 0, count = _input.length; while (count > 0) { immutable step = count / 2, it = first + step; if (predFun(_input[it], value)) { // Less than value, bump left bound up first = it + 1; count -= step + 1; } else if (predFun(value, _input[it])) { // Greater than value, chop count count = step; } else { // Found!!! return true; } } return false; } } // Doc examples unittest { auto a = [ 1, 2, 3, 42, 52, 64 ]; auto r = assumeSorted(a); assert(r.contains(3)); assert(!r.contains(32)); auto r1 = sort!"a > b"(a); assert(r1.contains(3)); assert(!r1.contains(32)); assert(r1.release() == [ 64, 52, 42, 3, 2, 1 ]); } unittest { auto a = [ 10, 20, 30, 30, 30, 40, 40, 50, 60 ]; auto r = assumeSorted(a).trisect(30); assert(equal(r[0], [ 10, 20 ])); assert(equal(r[1], [ 30, 30, 30 ])); assert(equal(r[2], [ 40, 40, 50, 60 ])); r = assumeSorted(a).trisect(35); assert(equal(r[0], [ 10, 20, 30, 30, 30 ])); assert(r[1].empty); assert(equal(r[2], [ 40, 40, 50, 60 ])); } unittest { auto a = [ "A", "AG", "B", "E", "F" ]; auto r = assumeSorted!"cmp(a,b) < 0"(a).trisect("B"w); assert(equal(r[0], [ "A", "AG" ])); assert(equal(r[1], [ "B" ])); assert(equal(r[2], [ "E", "F" ])); r = assumeSorted!"cmp(a,b) < 0"(a).trisect("A"d); assert(r[0].empty); assert(equal(r[1], [ "A" ])); assert(equal(r[2], [ "AG", "B", "E", "F" ])); } unittest { static void test(SearchPolicy pol)() { auto a = [ 1, 2, 3, 42, 52, 64 ]; auto r = assumeSorted(a); assert(equal(r.lowerBound(42), [1, 2, 3])); assert(equal(r.lowerBound!(pol)(42), [1, 2, 3])); assert(equal(r.lowerBound!(pol)(41), [1, 2, 3])); assert(equal(r.lowerBound!(pol)(43), [1, 2, 3, 42])); assert(equal(r.lowerBound!(pol)(51), [1, 2, 3, 42])); assert(equal(r.lowerBound!(pol)(3), [1, 2])); assert(equal(r.lowerBound!(pol)(55), [1, 2, 3, 42, 52])); assert(equal(r.lowerBound!(pol)(420), a)); assert(equal(r.lowerBound!(pol)(0), a[0 .. 0])); assert(equal(r.upperBound!(pol)(42), [52, 64])); assert(equal(r.upperBound!(pol)(41), [42, 52, 64])); assert(equal(r.upperBound!(pol)(43), [52, 64])); assert(equal(r.upperBound!(pol)(51), [52, 64])); assert(equal(r.upperBound!(pol)(53), [64])); assert(equal(r.upperBound!(pol)(55), [64])); assert(equal(r.upperBound!(pol)(420), a[0 .. 0])); assert(equal(r.upperBound!(pol)(0), a)); } test!(SearchPolicy.trot)(); test!(SearchPolicy.gallop)(); test!(SearchPolicy.trotBackwards)(); test!(SearchPolicy.gallopBackwards)(); test!(SearchPolicy.binarySearch)(); } unittest { // Check for small arrays int[] a; auto r = assumeSorted(a); a = [ 1 ]; r = assumeSorted(a); a = [ 1, 2 ]; r = assumeSorted(a); a = [ 1, 2, 3 ]; r = assumeSorted(a); } unittest { auto a = [ 1, 2, 3, 42, 52, 64 ]; auto r = assumeSorted(a); assert(r.contains(42)); swap(a[3], a[5]); // illegal to break sortedness of original range assert(!r.contains(42)); // passes although it shouldn't } unittest { immutable(int)[] arr = [ 1, 2, 3 ]; auto s = assumeSorted(arr); } /** Assumes $(D r) is sorted by predicate $(D pred) and returns the corresponding $(D SortedRange!(pred, R)) having $(D r) as support. To keep the checking costs low, the cost is $(BIGOH 1) in release mode (no checks for sortedness are performed). In debug mode, a few random elements of $(D r) are checked for sortedness. The size of the sample is proportional $(BIGOH log(r.length)). That way, checking has no effect on the complexity of subsequent operations specific to sorted ranges (such as binary search). The probability of an arbitrary unsorted range failing the test is very high (however, an almost-sorted range is likely to pass it). To check for sortedness at cost $(BIGOH n), use $(XREF algorithm,isSorted). */ auto assumeSorted(alias pred = "a < b", R)(R r) if (isRandomAccessRange!(Unqual!R)) { return SortedRange!(Unqual!R, pred)(r); } unittest { static assert(isRandomAccessRange!(SortedRange!(int[]))); int[] a = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]; auto p = assumeSorted(a).lowerBound(4); assert(equal(p, [0, 1, 2, 3])); p = assumeSorted(a).lowerBound(5); assert(equal(p, [0, 1, 2, 3, 4])); p = assumeSorted(a).lowerBound(6); assert(equal(p, [ 0, 1, 2, 3, 4, 5])); p = assumeSorted(a).lowerBound(6.9); assert(equal(p, [ 0, 1, 2, 3, 4, 5, 6])); } unittest { int[] a = [ 1, 2, 3, 3, 3, 4, 4, 5, 6 ]; auto p = assumeSorted(a).upperBound(3); assert(equal(p, [4, 4, 5, 6 ])); p = assumeSorted(a).upperBound(4.2); assert(equal(p, [ 5, 6 ])); } unittest { import mystd.conv : text; int[] a = [ 1, 2, 3, 3, 3, 4, 4, 5, 6 ]; auto p = assumeSorted(a).equalRange(3); assert(equal(p, [ 3, 3, 3 ]), text(p)); p = assumeSorted(a).equalRange(4); assert(equal(p, [ 4, 4 ]), text(p)); p = assumeSorted(a).equalRange(2); assert(equal(p, [ 2 ])); p = assumeSorted(a).equalRange(0); assert(p.empty); p = assumeSorted(a).equalRange(7); assert(p.empty); p = assumeSorted(a).equalRange(3.0); assert(equal(p, [ 3, 3, 3])); } unittest { int[] a = [ 1, 2, 3, 3, 3, 4, 4, 5, 6 ]; if (a.length) { auto b = a[a.length / 2]; //auto r = sort(a); //assert(r.contains(b)); } } unittest { auto a = [ 5, 7, 34, 345, 677 ]; auto r = assumeSorted(a); a = null; r = assumeSorted(a); a = [ 1 ]; r = assumeSorted(a); bool ok = true; try { auto r2 = assumeSorted([ 677, 345, 34, 7, 5 ]); debug ok = false; } catch (Throwable) { } assert(ok); } /++ Wrapper which effectively makes it possible to pass a range by reference. Both the original range and the RefRange will always have the exact same elements. Any operation done on one will affect the other. So, for instance, if it's passed to a function which would implicitly copy the original range if it were passed to it, the original range is $(I not) copied but is consumed as if it were a reference type. Note that $(D save) works as normal and operates on a new range, so if $(D save) is ever called on the RefRange, then no operations on the saved range will affect the original. Examples: -------------------- import mystd.algorithm; ubyte[] buffer = [1, 9, 45, 12, 22]; auto found1 = find(buffer, 45); assert(found1 == [45, 12, 22]); assert(buffer == [1, 9, 45, 12, 22]); auto wrapped1 = refRange(&buffer); auto found2 = find(wrapped1, 45); assert(*found2.ptr == [45, 12, 22]); assert(buffer == [45, 12, 22]); auto found3 = find(wrapped2.save, 22); assert(*found3.ptr == [22]); assert(buffer == [45, 12, 22]); string str = "hello world"; auto wrappedStr = refRange(&str); assert(str.front == 'h'); str.popFrontN(5); assert(str == " world"); assert(wrappedStr.front == ' '); assert(*wrappedStr.ptr == " world"); -------------------- +/ struct RefRange(R) if(isForwardRange!R) { public: /++ +/ this(R* range) @safe pure nothrow { _range = range; } /++ This does not assign the pointer of $(D rhs) to this $(D RefRange). Rather it assigns the range pointed to by $(D rhs) to the range pointed to by this $(D RefRange). This is because $(I any) operation on a $(D RefRange) is the same is if it occurred to the original range. The one exception is when a $(D RefRange) is assigned $(D null) either directly or because $(D rhs) is $(D null). In that case, $(D RefRange) no longer refers to the original range but is $(D null). Examples: -------------------- ubyte[] buffer1 = [1, 2, 3, 4, 5]; ubyte[] buffer2 = [6, 7, 8, 9, 10]; auto wrapped1 = refRange(&buffer1); auto wrapped2 = refRange(&buffer2); assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is &buffer2); assert(wrapped1.ptr !is wrapped2.ptr); assert(buffer1 != buffer2); wrapped1 = wrapped2; //Everything points to the same stuff as before. assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is &buffer2); assert(wrapped1.ptr !is wrapped2.ptr); //But buffer1 has changed due to the assignment. assert(buffer1 == [6, 7, 8, 9, 10]); assert(buffer2 == [6, 7, 8, 9, 10]); buffer2 = [11, 12, 13, 14, 15]; //Everything points to the same stuff as before. assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is &buffer2); assert(wrapped1.ptr !is wrapped2.ptr); //But buffer2 has changed due to the assignment. assert(buffer1 == [6, 7, 8, 9, 10]); assert(buffer2 == [11, 12, 13, 14, 15]); wrapped2 = null; //The pointer changed for wrapped2 but not wrapped1. assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is null); assert(wrapped1.ptr !is wrapped2.ptr); //buffer2 is not affected by the assignment. assert(buffer1 == [6, 7, 8, 9, 10]); assert(buffer2 == [11, 12, 13, 14, 15]); -------------------- +/ auto opAssign(RefRange rhs) { if(_range && rhs._range) *_range = *rhs._range; else _range = rhs._range; return this; } /++ +/ auto opAssign(typeof(null) rhs) { _range = null; } /++ A pointer to the wrapped range. +/ @property inout(R*) ptr() @safe inout pure nothrow { return _range; } version(StdDdoc) { /++ +/ @property auto front() {assert(0);} /++ Ditto +/ @property auto front() const {assert(0);} /++ Ditto +/ @property auto front(ElementType!R value) {assert(0);} } else { @property auto front() { return (*_range).front; } static if(is(typeof((*(cast(const R*)_range)).front))) @property ElementType!R front() const { return (*_range).front; } static if(is(typeof((*_range).front = (*_range).front))) @property auto front(ElementType!R value) { return (*_range).front = value; } } version(StdDdoc) { @property bool empty(); /// @property bool empty() const; ///Ditto } else static if(isInfinite!R) enum empty = false; else { @property bool empty() { return (*_range).empty; } static if(is(typeof((*cast(const R*)_range).empty))) @property bool empty() const { return (*_range).empty; } } /++ +/ void popFront() { return (*_range).popFront(); } version(StdDdoc) { /++ +/ @property auto save() {assert(0);} /++ Ditto +/ @property auto save() const {assert(0);} /++ Ditto +/ auto opSlice() {assert(0);} /++ Ditto +/ auto opSlice() const {assert(0);} } else { private static void _testSave(R)(R* range) { (*range).save; } static if(isSafe!(_testSave!R)) { @property auto save() @trusted { mixin(_genSave()); } static if(is(typeof((*cast(const R*)_range).save))) @property auto save() @trusted const { mixin(_genSave()); } } else { @property auto save() { mixin(_genSave()); } static if(is(typeof((*cast(const R*)_range).save))) @property auto save() const { mixin(_genSave()); } } auto opSlice()() { return save; } auto opSlice()() const { return save; } private static string _genSave() @safe pure nothrow { return `import mystd.conv;` ~ `alias S = typeof((*_range).save);` ~ `static assert(isForwardRange!S, S.stringof ~ " is not a forward range.");` ~ `auto mem = new void[S.sizeof];` ~ `emplace!S(mem, cast(S)(*_range).save);` ~ `return RefRange!S(cast(S*)mem.ptr);`; } static assert(isForwardRange!RefRange); } version(StdDdoc) { /++ Only defined if $(D isBidirectionalRange!R) is $(D true). +/ @property auto back() {assert(0);} /++ Ditto +/ @property auto back() const {assert(0);} /++ Ditto +/ @property auto back(ElementType!R value) {assert(0);} } else static if(isBidirectionalRange!R) { @property auto back() { return (*_range).back; } static if(is(typeof((*(cast(const R*)_range)).back))) @property ElementType!R back() const { return (*_range).back; } static if(is(typeof((*_range).back = (*_range).back))) @property auto back(ElementType!R value) { return (*_range).back = value; } } /++ Ditto +/ static if(isBidirectionalRange!R) void popBack() { return (*_range).popBack(); } version(StdDdoc) { /++ Only defined if $(D isRandomAccesRange!R) is $(D true). +/ auto ref opIndex(IndexType)(IndexType index) {assert(0);} /++ Ditto +/ auto ref opIndex(IndexType)(IndexType index) const {assert(0);} } else static if(isRandomAccessRange!R) { auto ref opIndex(IndexType)(IndexType index) if(is(typeof((*_range)[index]))) { return (*_range)[index]; } auto ref opIndex(IndexType)(IndexType index) const if(is(typeof((*cast(const R*)_range)[index]))) { return (*_range)[index]; } } /++ Only defined if $(D hasMobileElements!R) and $(D isForwardRange!R) are $(D true). +/ static if(hasMobileElements!R && isForwardRange!R) auto moveFront() { return (*_range).moveFront(); } /++ Only defined if $(D hasMobileElements!R) and $(D isBidirectionalRange!R) are $(D true). +/ static if(hasMobileElements!R && isBidirectionalRange!R) auto moveBack() { return (*_range).moveBack(); } /++ Only defined if $(D hasMobileElements!R) and $(D isRandomAccessRange!R) are $(D true). +/ static if(hasMobileElements!R && isRandomAccessRange!R) auto moveAt(IndexType)(IndexType index) if(is(typeof((*_range).moveAt(index)))) { return (*_range).moveAt(index); } version(StdDdoc) { /++ Only defined if $(D hasLength!R) is $(D true). +/ @property auto length() {assert(0);} /++ Ditto +/ @property auto length() const {assert(0);} } else static if(hasLength!R) { @property auto length() { return (*_range).length; } static if(is(typeof((*cast(const R*)_range).length))) @property auto length() const { return (*_range).length; } } version(StdDdoc) { /++ Only defined if $(D hasSlicing!R) is $(D true). +/ auto opSlice(IndexType1, IndexType2) (IndexType1 begin, IndexType2 end) {assert(0);} /++ Ditto +/ auto opSlice(IndexType1, IndexType2) (IndexType1 begin, IndexType2 end) const {assert(0);} } else static if(hasSlicing!R) { auto opSlice(IndexType1, IndexType2) (IndexType1 begin, IndexType2 end) if(is(typeof((*_range)[begin .. end]))) { mixin(_genOpSlice()); } auto opSlice(IndexType1, IndexType2) (IndexType1 begin, IndexType2 end) const if(is(typeof((*cast(const R*)_range)[begin .. end]))) { mixin(_genOpSlice()); } private static string _genOpSlice() @safe pure nothrow { return `import mystd.conv;` ~ `alias S = typeof((*_range)[begin .. end]);` ~ `static assert(hasSlicing!S, S.stringof ~ " is not sliceable.");` ~ `auto mem = new void[S.sizeof];` ~ `emplace!S(mem, cast(S)(*_range)[begin .. end]);` ~ `return RefRange!S(cast(S*)mem.ptr);`; } } private: R* _range; } //Verify Example. unittest { import mystd.algorithm; ubyte[] buffer = [1, 9, 45, 12, 22]; auto found1 = find(buffer, 45); assert(found1 == [45, 12, 22]); assert(buffer == [1, 9, 45, 12, 22]); auto wrapped1 = refRange(&buffer); auto found2 = find(wrapped1, 45); assert(*found2.ptr == [45, 12, 22]); assert(buffer == [45, 12, 22]); auto found3 = find(wrapped1.save, 22); assert(*found3.ptr == [22]); assert(buffer == [45, 12, 22]); string str = "hello world"; auto wrappedStr = refRange(&str); assert(str.front == 'h'); str.popFrontN(5); assert(str == " world"); assert(wrappedStr.front == ' '); assert(*wrappedStr.ptr == " world"); } //Verify opAssign Example. unittest { ubyte[] buffer1 = [1, 2, 3, 4, 5]; ubyte[] buffer2 = [6, 7, 8, 9, 10]; auto wrapped1 = refRange(&buffer1); auto wrapped2 = refRange(&buffer2); assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is &buffer2); assert(wrapped1.ptr !is wrapped2.ptr); assert(buffer1 != buffer2); wrapped1 = wrapped2; //Everything points to the same stuff as before. assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is &buffer2); assert(wrapped1.ptr !is wrapped2.ptr); //But buffer1 has changed due to the assignment. assert(buffer1 == [6, 7, 8, 9, 10]); assert(buffer2 == [6, 7, 8, 9, 10]); buffer2 = [11, 12, 13, 14, 15]; //Everything points to the same stuff as before. assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is &buffer2); assert(wrapped1.ptr !is wrapped2.ptr); //But buffer2 has changed due to the assignment. assert(buffer1 == [6, 7, 8, 9, 10]); assert(buffer2 == [11, 12, 13, 14, 15]); wrapped2 = null; //The pointer changed for wrapped2 but not wrapped1. assert(wrapped1.ptr is &buffer1); assert(wrapped2.ptr is null); assert(wrapped1.ptr !is wrapped2.ptr); //buffer2 is not affected by the assignment. assert(buffer1 == [6, 7, 8, 9, 10]); assert(buffer2 == [11, 12, 13, 14, 15]); } unittest { import mystd.algorithm; { ubyte[] buffer = [1, 2, 3, 4, 5]; auto wrapper = refRange(&buffer); auto p = wrapper.ptr; auto f = wrapper.front; wrapper.front = f; auto e = wrapper.empty; wrapper.popFront(); auto s = wrapper.save; auto b = wrapper.back; wrapper.back = b; wrapper.popBack(); auto i = wrapper[0]; wrapper.moveFront(); wrapper.moveBack(); wrapper.moveAt(0); auto l = wrapper.length; auto sl = wrapper[0 .. 1]; } { ubyte[] buffer = [1, 2, 3, 4, 5]; const wrapper = refRange(&buffer); const p = wrapper.ptr; const f = wrapper.front; const e = wrapper.empty; const s = wrapper.save; const b = wrapper.back; const i = wrapper[0]; const l = wrapper.length; const sl = wrapper[0 .. 1]; } { ubyte[] buffer = [1, 2, 3, 4, 5]; auto filtered = filter!"true"(buffer); auto wrapper = refRange(&filtered); auto p = wrapper.ptr; auto f = wrapper.front; wrapper.front = f; auto e = wrapper.empty; wrapper.popFront(); auto s = wrapper.save; wrapper.moveFront(); } { ubyte[] buffer = [1, 2, 3, 4, 5]; auto filtered = filter!"true"(buffer); const wrapper = refRange(&filtered); const p = wrapper.ptr; //Cannot currently be const. filter needs to be updated to handle const. /+ const f = wrapper.front; const e = wrapper.empty; const s = wrapper.save; +/ } { string str = "hello world"; auto wrapper = refRange(&str); auto p = wrapper.ptr; auto f = wrapper.front; auto e = wrapper.empty; wrapper.popFront(); auto s = wrapper.save; auto b = wrapper.back; wrapper.popBack(); } } //Test assignment. unittest { ubyte[] buffer1 = [1, 2, 3, 4, 5]; ubyte[] buffer2 = [6, 7, 8, 9, 10]; RefRange!(ubyte[]) wrapper1; RefRange!(ubyte[]) wrapper2 = refRange(&buffer2); assert(wrapper1.ptr is null); assert(wrapper2.ptr is &buffer2); wrapper1 = refRange(&buffer1); assert(wrapper1.ptr is &buffer1); wrapper1 = wrapper2; assert(wrapper1.ptr is &buffer1); assert(buffer1 == buffer2); wrapper1 = RefRange!(ubyte[]).init; assert(wrapper1.ptr is null); assert(wrapper2.ptr is &buffer2); assert(buffer1 == buffer2); assert(buffer1 == [6, 7, 8, 9, 10]); wrapper2 = null; assert(wrapper2.ptr is null); assert(buffer2 == [6, 7, 8, 9, 10]); } unittest { import mystd.algorithm; //Test that ranges are properly consumed. { int[] arr = [1, 42, 2, 41, 3, 40, 4, 42, 9]; auto wrapper = refRange(&arr); assert(*find(wrapper, 41).ptr == [41, 3, 40, 4, 42, 9]); assert(arr == [41, 3, 40, 4, 42, 9]); assert(*drop(wrapper, 2).ptr == [40, 4, 42, 9]); assert(arr == [40, 4, 42, 9]); assert(equal(until(wrapper, 42), [40, 4])); assert(arr == [42, 9]); assert(find(wrapper, 12).empty); assert(arr.empty); } { string str = "Hello, world-like object."; auto wrapper = refRange(&str); assert(*find(wrapper, "l").ptr == "llo, world-like object."); assert(str == "llo, world-like object."); assert(equal(take(wrapper, 5), "llo, ")); assert(str == "world-like object."); } //Test that operating on saved ranges does not consume the original. { int[] arr = [1, 42, 2, 41, 3, 40, 4, 42, 9]; auto wrapper = refRange(&arr); auto saved = wrapper.save; saved.popFrontN(3); assert(*saved.ptr == [41, 3, 40, 4, 42, 9]); assert(arr == [1, 42, 2, 41, 3, 40, 4, 42, 9]); } { string str = "Hello, world-like object."; auto wrapper = refRange(&str); auto saved = wrapper.save; saved.popFrontN(13); assert(*saved.ptr == "like object."); assert(str == "Hello, world-like object."); } //Test that functions which use save work properly. { int[] arr = [1, 42]; auto wrapper = refRange(&arr); assert(equal(commonPrefix(wrapper, [1, 27]), [1])); } { int[] arr = [4, 5, 6, 7, 1, 2, 3]; auto wrapper = refRange(&arr); assert(bringToFront(wrapper[0 .. 4], wrapper[4 .. arr.length]) == 3); assert(arr == [1, 2, 3, 4, 5, 6, 7]); } //Test bidirectional functions. { int[] arr = [1, 42, 2, 41, 3, 40, 4, 42, 9]; auto wrapper = refRange(&arr); assert(wrapper.back == 9); assert(arr == [1, 42, 2, 41, 3, 40, 4, 42, 9]); wrapper.popBack(); assert(arr == [1, 42, 2, 41, 3, 40, 4, 42]); } { string str = "Hello, world-like object."; auto wrapper = refRange(&str); assert(wrapper.back == '.'); assert(str == "Hello, world-like object."); wrapper.popBack(); assert(str == "Hello, world-like object"); } //Test random access functions. { int[] arr = [1, 42, 2, 41, 3, 40, 4, 42, 9]; auto wrapper = refRange(&arr); assert(wrapper[2] == 2); assert(arr == [1, 42, 2, 41, 3, 40, 4, 42, 9]); assert(*wrapper[3 .. 6].ptr, [41, 3, 40]); assert(arr == [1, 42, 2, 41, 3, 40, 4, 42, 9]); } //Test move functions. { int[] arr = [1, 42, 2, 41, 3, 40, 4, 42, 9]; auto wrapper = refRange(&arr); auto t1 = wrapper.moveFront(); auto t2 = wrapper.moveBack(); wrapper.front = t2; wrapper.back = t1; assert(arr == [9, 42, 2, 41, 3, 40, 4, 42, 1]); sort(wrapper.save); assert(arr == [1, 2, 3, 4, 9, 40, 41, 42, 42]); } } unittest { struct S { @property int front() @safe const pure nothrow { return 0; } enum bool empty = false; void popFront() @safe pure nothrow { } @property auto save() @safe pure nothrow { return this; } } S s; auto wrapper = refRange(&s); static assert(isInfinite!(typeof(wrapper))); } unittest { class C { @property int front() @safe const pure nothrow { return 0; } @property bool empty() @safe const pure nothrow { return false; } void popFront() @safe pure nothrow { } @property auto save() @safe pure nothrow { return this; } } static assert(isForwardRange!C); auto c = new C; auto cWrapper = refRange(&c); static assert(is(typeof(cWrapper) == C)); assert(cWrapper is c); struct S { @property int front() @safe const pure nothrow { return 0; } @property bool empty() @safe const pure nothrow { return false; } void popFront() @safe pure nothrow { } int i = 27; } static assert(isInputRange!S); static assert(!isForwardRange!S); auto s = S(42); auto sWrapper = refRange(&s); static assert(is(typeof(sWrapper) == S)); assert(sWrapper == s); } /++ Helper function for constructing a $(LREF RefRange). If the given range is not a forward range or it is a class type (and thus is already a reference type), then the original range is returned rather than a $(LREF RefRange). +/ auto refRange(R)(R* range) if(isForwardRange!R && !is(R == class)) { return RefRange!R(range); } auto refRange(R)(R* range) if((!isForwardRange!R && isInputRange!R) || is(R == class)) { return *range; } /*****************************************************************************/ unittest // bug 9060 { // fix for mystd.algorithm auto r = map!(x => 0)([1]); chain(r, r); zip(r, r); roundRobin(r, r); struct NRAR { typeof(r) input; @property empty() { return input.empty; } @property front() { return input.front; } void popFront() { input.popFront(); } @property save() { return NRAR(input.save); } } auto n1 = NRAR(r); cycle(n1); // non random access range version assumeSorted(r); // fix for mystd.range joiner([r], [9]); struct NRAR2 { NRAR input; @property empty() { return true; } @property front() { return input; } void popFront() { } @property save() { return NRAR2(input.save); } } auto n2 = NRAR2(n1); joiner(n2); group(r); until(r, 7); static void foo(R)(R r) { until!(x => x > 7)(r); } foo(r); }
D
/* USP - Unicode Complex Script processor * http://msdn2.microsoft.com/library/ms776488 */ module win32.usp10; import win32.windows; /* Uniscribe Enumeration Types * http://msdn2.microsoft.com/library/ms776518 */ enum : WORD { SCRIPT_UNDEFINED = 0, } enum : DWORD { SGCM_RTL = 0x00000001, } enum : DWORD { SSA_PASSWORD = 0x00000001, SSA_TAB = 0x00000002, SSA_CLIP = 0x00000004, SSA_FIT = 0x00000008, SSA_DZWG = 0x00000010, SSA_FALLBACK = 0x00000020, SSA_BREAK = 0x00000040, SSA_GLYPHS = 0x00000080, SSA_RTL = 0x00000100, SSA_GCP = 0x00000200, SSA_HOTKEY = 0x00000400, SSA_METAFILE = 0x00000800, SSA_LINK = 0x00001000, SSA_HIDEHOTKEY = 0x00002000, SSA_HOTKEYONLY = 0x00002400, SSA_FULLMEASURE = 0x04000000, SSA_LPKANSIFALLBACK = 0x08000000, SSA_PIDX = 0x10000000, SSA_LAYOUTRTL = 0x20000000, SSA_DONTGLYPH = 0x40000000, SSA_NOKASHIDA = 0x80000000, } enum : DWORD { SIC_COMPLEX = 1, SIC_ASCIIDIGIT = 2, SIC_NEUTRAL = 4, } enum : DWORD { SCRIPT_DIGITSUBSTITUTE_CONTEXT, SCRIPT_DIGITSUBSTITUTE_NONE, SCRIPT_DIGITSUBSTITUTE_NATIONAL, SCRIPT_DIGITSUBSTITUTE_TRADITIONAL, } enum SCRIPT_JUSTIFY : WORD { SCRIPT_JUSTIFY_NONE, SCRIPT_JUSTIFY_ARABIC_BLANK, SCRIPT_JUSTIFY_CHARACTER, SCRIPT_JUSTIFY_RESERVED1, SCRIPT_JUSTIFY_BLANK, SCRIPT_JUSTIFY_RESERVED2, SCRIPT_JUSTIFY_RESERVED3, SCRIPT_JUSTIFY_ARABIC_NORMAL, SCRIPT_JUSTIFY_ARABIC_KASHIDA, SCRIPT_JUSTIFY_ARABIC_ALEF, SCRIPT_JUSTIFY_ARABIC_HA, SCRIPT_JUSTIFY_ARABIC_RA, SCRIPT_JUSTIFY_ARABIC_BA, SCRIPT_JUSTIFY_ARABIC_BARA, SCRIPT_JUSTIFY_ARABIC_SEEN, SCRIPT_JUSTIFY_ARABIC_SEEN_M, } /* Uniscribe Structures * http://msdn2.microsoft.com/library/ms776479 */ alias void* SCRIPT_CACHE; alias void* SCRIPT_STRING_ANALYSIS; extern (C) { struct SCRIPT_CONTROL { private DWORD _bitfield; DWORD uDefaultLanguage() { return (_bitfield >> 0) & 0xFFFF; } DWORD uDefaultLanguage(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFFF0000) | (val << 0)); return val; } DWORD fContextDigits() { return (_bitfield >> 16) & 0x1; } DWORD fContextDigits(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFFEFFFF) | (val << 16)); return val; } DWORD fInvertPreBoundDir() { return (_bitfield >> 17) & 0x1; } DWORD fInvertPreBoundDir(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFFDFFFF) | (val << 17)); return val; } DWORD fInvertPostBoundDir() { return (_bitfield >> 18) & 0x1; } DWORD fInvertPostBoundDir(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFFBFFFF) | (val << 18)); return val; } DWORD fLinkStringBefore() { return (_bitfield >> 19) & 0x1; } DWORD fLinkStringBefore(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFF7FFFF) | (val << 19)); return val; } DWORD fLinkStringAfter() { return (_bitfield >> 20) & 0x1; } DWORD fLinkStringAfter(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFEFFFFF) | (val << 20)); return val; } DWORD fNeutralOverride() { return (_bitfield >> 21) & 0x1; } DWORD fNeutralOverride(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFDFFFFF) | (val << 21)); return val; } DWORD fNumericOverride() { return (_bitfield >> 22) & 0x1; } DWORD fNumericOverride(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFFBFFFFF) | (val << 22)); return val; } DWORD fLegacyBidiClass() { return (_bitfield >> 23) & 0x1; } DWORD fLegacyBidiClass(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFFFF7FFFFF) | (val << 23)); return val; } DWORD fReserved() { return (_bitfield >> 24) & 0xFF; } DWORD fReserved(DWORD val) { _bitfield = cast(DWORD)((_bitfield & 0xFFFFFFFF00FFFFFF) | (val << 24)); return val; } } struct SCRIPT_STATE { private WORD _bitfield; WORD uBidiLevel() { return cast(WORD)((_bitfield >> 0) & 0x1F); } WORD uBidiLevel(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFFE0) | (val << 0)); return val; } WORD fOverrideDirection() { return cast(WORD)((_bitfield >> 5) & 0x1); } WORD fOverrideDirection(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFFDF) | (val << 5)); return val; } WORD fInhibitSymSwap() { return cast(WORD)((_bitfield >> 6) & 0x1); } WORD fInhibitSymSwap(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFFBF) | (val << 6)); return val; } WORD fCharShape() { return cast(WORD)((_bitfield >> 7) & 0x1); } WORD fCharShape(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFF7F) | (val << 7)); return val; } WORD fDigitSubstitute() { return cast(WORD)((_bitfield >> 8) & 0x1); } WORD fDigitSubstitute(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFEFF) | (val << 8)); return val; } WORD fInhibitLigate() { return cast(WORD)((_bitfield >> 9) & 0x1); } WORD fInhibitLigate(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFDFF) | (val << 9)); return val; } WORD fDisplayZWG() { return cast(WORD)((_bitfield >> 10) & 0x1); } WORD fDisplayZWG(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFBFF) | (val << 10)); return val; } WORD fArabicNumContext() { return cast(WORD)((_bitfield >> 11) & 0x1); } WORD fArabicNumContext(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFF7FF) | (val << 11)); return val; } WORD fGcpClusters() { return cast(WORD)((_bitfield >> 12) & 0x1); } WORD fGcpClusters(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFEFFF) | (val << 12)); return val; } WORD fReserved() { return cast(WORD)((_bitfield >> 13) & 0x1); } WORD fReserved(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFDFFF) | (val << 13)); return val; } WORD fEngineReserved() { return cast(WORD)((_bitfield >> 14) & 0x3); } WORD fEngineReserved(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFF3FFF) | (val << 14)); return val; } } struct SCRIPT_ANALYSIS { private WORD _bitfield; WORD eScript() { return cast(WORD)((_bitfield >> 0) & 0x3FF); } WORD eScript(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFC00) | (val << 0)); return val; } WORD fRTL() { return cast(WORD)((_bitfield >> 10) & 0x1); } WORD fRTL(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFBFF) | (val << 10)); return val; } WORD fLayoutRTL() { return cast(WORD)((_bitfield >> 11) & 0x1); } WORD fLayoutRTL(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFF7FF) | (val << 11)); return val; } WORD fLinkBefore() { return cast(WORD)((_bitfield >> 12) & 0x1); } WORD fLinkBefore(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFEFFF) | (val << 12)); return val; } WORD fLinkAfter() { return cast(WORD)((_bitfield >> 13) & 0x1); } WORD fLinkAfter(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFDFFF) | (val << 13)); return val; } WORD fLogicalOrder() { return cast(WORD)((_bitfield >> 14) & 0x1); } WORD fLogicalOrder(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFBFFF) | (val << 14)); return val; } WORD fNoGlyphIndex() { return cast(WORD)((_bitfield >> 15) & 0x1); } WORD fNoGlyphIndex(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFF7FFF) | (val << 15)); return val; } SCRIPT_STATE s; } struct SCRIPT_ITEM { int iCharPos; SCRIPT_ANALYSIS a; } struct SCRIPT_VISATTR { private WORD _bitfield; WORD uJustification() { return cast(WORD)((_bitfield >> 0) & 0xF); } WORD uJustification(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFFF0) | (val << 0)); return val; } WORD fClusterStart() { return cast(WORD)((_bitfield >> 4) & 0x1); } WORD fClusterStart(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFFEF) | (val << 4)); return val; } WORD fDiacritic() { return cast(WORD)((_bitfield >> 5) & 0x1); } WORD fDiacritic(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFFDF) | (val << 5)); return val; } WORD fZeroWidth() { return cast(WORD)((_bitfield >> 6) & 0x1); } WORD fZeroWidth(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFFBF) | (val << 6)); return val; } WORD fReserved() { return cast(WORD)((_bitfield >> 7) & 0x1); } WORD fReserved(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFFFF7F) | (val << 7)); return val; } WORD fShapeReserved() { return cast(WORD)((_bitfield >> 8) & 0xFF); } WORD fShapeReserved(WORD val) { _bitfield = cast(WORD)((_bitfield & 0xFFFFFFFFFFFF00FF) | (val << 8)); return val; } } struct GOFFSET { LONG du; LONG dv; } struct SCRIPT_LOGATTR { BYTE _bitfield; BYTE fSoftBreak() { return cast(BYTE)((_bitfield >> 0) & 0x1); } BYTE fSoftBreak(BYTE val) { _bitfield = cast(BYTE)((_bitfield & 0xFFFFFFFFFFFFFFFE) | (val << 0)); return val; } BYTE fWhiteSpace() { return cast(BYTE)((_bitfield >> 1) & 0x1); } BYTE fWhiteSpace(BYTE val) { _bitfield = cast(BYTE)((_bitfield & 0xFFFFFFFFFFFFFFFD) | (val << 1)); return val; } BYTE fCharStop() { return cast(BYTE)((_bitfield >> 2) & 0x1); } BYTE fCharStop(BYTE val) { _bitfield = cast(BYTE)((_bitfield & 0xFFFFFFFFFFFFFFFB) | (val << 2)); return val; } BYTE fWordStop() { return cast(BYTE)((_bitfield >> 3) & 0x1); } BYTE fWordStop(BYTE val) { _bitfield = cast(BYTE)((_bitfield & 0xFFFFFFFFFFFFFFF7) | (val << 3)); return val; } BYTE fInvalid() { return cast(BYTE)((_bitfield >> 4) & 0x1); } BYTE fInvalid(BYTE val) { _bitfield = cast(BYTE)((_bitfield & 0xFFFFFFFFFFFFFFEF) | (val << 4)); return val; } BYTE fReserved() { return cast(BYTE)((_bitfield >> 5) & 0x7); } BYTE fReserved(BYTE val) { _bitfield = cast(BYTE)((_bitfield & 0xFFFFFFFFFFFFFF1F) | (val << 5)); return val; } } struct SCRIPT_PROPERTIES { private DWORD _bitfield1; DWORD langid() { return (_bitfield1 >> 0) & 0xFFFF; } DWORD langid(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFFFFF0000) | (val << 0)); return val; } DWORD fNumeric() { return (_bitfield1 >> 16) & 0x1; } DWORD fNumeric(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFFFFEFFFF) | (val << 16)); return val; } DWORD fComplex() { return (_bitfield1 >> 17) & 0x1; } DWORD fComplex(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFFFFDFFFF) | (val << 17)); return val; } DWORD fNeedsWordBreaking() { return (_bitfield1 >> 18) & 0x1; } DWORD fNeedsWordBreaking(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFFFFBFFFF) | (val << 18)); return val; } DWORD fNeedsCaretInfo() { return (_bitfield1 >> 19) & 0x1; } DWORD fNeedsCaretInfo(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFFFF7FFFF) | (val << 19)); return val; } DWORD bCharSet() { return (_bitfield1 >> 20) & 0xFF; } DWORD bCharSet(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFF00FFFFF) | (val << 20)); return val; } DWORD fControl() { return (_bitfield1 >> 28) & 0x1; } DWORD fControl(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFEFFFFFFF) | (val << 28)); return val; } DWORD fPrivateUseArea() { return (_bitfield1 >> 29) & 0x1; } DWORD fPrivateUseArea(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFDFFFFFFF) | (val << 29)); return val; } DWORD fNeedsCharacterJustify() { return (_bitfield1 >> 30) & 0x1; } DWORD fNeedsCharacterJustify(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFBFFFFFFF) | (val << 30)); return val; } DWORD fInvalidGlyph() { return (_bitfield1 >> 31) & 0x1; } DWORD fInvalidGlyph(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFF7FFFFFFF) | (val << 31)); return val; } private DWORD _bitfield2; DWORD fInvalidLogAttr() { return (_bitfield2 >> 0) & 0x1; } DWORD fInvalidLogAttr(DWORD val) { _bitfield2 = cast(DWORD)((_bitfield2 & 0xFFFFFFFFFFFFFFFE) | (val << 0)); return val; } DWORD fCDM() { return (_bitfield2 >> 1) & 0x1; } DWORD fCDM(DWORD val) { _bitfield2 = cast(DWORD)((_bitfield2 & 0xFFFFFFFFFFFFFFFD) | (val << 1)); return val; } DWORD fAmbiguousCharSet() { return (_bitfield2 >> 2) & 0x1; } DWORD fAmbiguousCharSet(DWORD val) { _bitfield2 = cast(DWORD)((_bitfield2 & 0xFFFFFFFFFFFFFFFB) | (val << 2)); return val; } DWORD fClusterSizeVaries() { return (_bitfield2 >> 3) & 0x1; } DWORD fClusterSizeVaries(DWORD val) { _bitfield2 = cast(DWORD)((_bitfield2 & 0xFFFFFFFFFFFFFFF7) | (val << 3)); return val; } DWORD fRejectInvalid() { return (_bitfield2 >> 4) & 0x1; } DWORD fRejectInvalid(DWORD val) { _bitfield2 = cast(DWORD)((_bitfield2 & 0xFFFFFFFFFFFFFFEF) | (val << 4)); return val; } } struct SCRIPT_FONTPROPERTIES { int cBytes = SCRIPT_FONTPROPERTIES.sizeof; WORD wgBlank; WORD wgDefault; WORD wgInvalid; WORD wgKashida; int iKashidaWidth; } struct SCRIPT_TABDEF { int cTabStops; int iScale; int* pTabStops; int iTabOrigin; } struct SCRIPT_DIGITSUBSTITUTE { private DWORD _bitfield1; DWORD NationalDigitLanguage() { return (_bitfield1 >> 0) & 0xFFFF; } DWORD NationalDigitLanguage(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFFFFFF0000) | (val << 0)); return val; } DWORD TraditionalDigitLanguage() { return (_bitfield1 >> 16) & 0xFFFF; } DWORD TraditionalDigitLanguage(DWORD val) { _bitfield1 = cast(DWORD)((_bitfield1 & 0xFFFFFFFF0000FFFF) | (val << 16)); return val; } private DWORD _bitfield2; DWORD DigitSubstitute() { return (_bitfield2 >> 0) & 0xFF; } DWORD DigitSubstitute(DWORD val) { _bitfield2 = cast(DWORD)((_bitfield2 & 0xFFFFFFFFFFFFFF00) | (val << 0)); return val; } DWORD dwReserved; } /* TODO: Windows Vista fearured structs OPENTYPE_FEATURE_RECORD OPENTYPE_TAG SCRIPT_CHARPROP SCRIPT_GLYPHPROP TEXTRANGE_PROPERTIES */ } /* Uniscribe Functions * http://msdn2.microsoft.com/library/ms776469 */ extern (Windows) { HRESULT ScriptFreeCache(SCRIPT_CACHE*); HRESULT ScriptItemize(CPtr!(WCHAR), int, int, CPtr!(SCRIPT_CONTROL), CPtr!(SCRIPT_STATE), SCRIPT_ITEM*, int*); HRESULT ScriptLayout(int, CPtr!(BYTE), int*, int*); HRESULT ScriptShape(HDC, SCRIPT_CACHE*, CPtr!(WCHAR), int, int, SCRIPT_ANALYSIS*, WORD*, WORD*, SCRIPT_VISATTR*, int*); HRESULT ScriptPlace(HDC, SCRIPT_CACHE*, CPtr!(WORD), int, CPtr!(SCRIPT_VISATTR), SCRIPT_ANALYSIS*, int*, GOFFSET*, ABC*); HRESULT ScriptTextOut(HDC, SCRIPT_CACHE*, int, int, UINT, CPtr!(RECT), CPtr!(SCRIPT_ANALYSIS), CPtr!(WCHAR), int, CPtr!(WORD), int, CPtr!(int), int*, CPtr!(GOFFSET)); HRESULT ScriptJustify(CPtr!(SCRIPT_VISATTR), CPtr!(int), int, int, int, int*); HRESULT ScriptBreak(CPtr!(WCHAR), int, CPtr!(SCRIPT_ANALYSIS), CPtr!(SCRIPT_LOGATTR)); HRESULT ScriptCPtoX(int, BOOL, int, int, CPtr!(WORD), CPtr!(SCRIPT_VISATTR), CPtr!(int), CPtr!(SCRIPT_ANALYSIS), int*); HRESULT ScriptXtoCP(int, int, int, CPtr!(WORD), CPtr!(SCRIPT_VISATTR), CPtr!(int), CPtr!(SCRIPT_ANALYSIS), int*, int*); HRESULT ScriptGetLogicalWidths(CPtr!(SCRIPT_ANALYSIS), int, int, CPtr!(int), CPtr!(WORD), CPtr!(SCRIPT_VISATTR), int*); HRESULT ScriptApplyLogicalWidth(CPtr!(int), int, int, CPtr!(WORD), CPtr!(SCRIPT_VISATTR), CPtr!(int), CPtr!(SCRIPT_ANALYSIS), ABC*, int*); HRESULT ScriptGetCMap(HDC, SCRIPT_CACHE*, CPtr!(WCHAR), int, DWORD, WORD*); HRESULT ScriptGetGlyphABCWidth(HDC, SCRIPT_CACHE*, WORD, ABC*); HRESULT ScriptGetProperties(CPtr!(SCRIPT_PROPERTIES**), int*); HRESULT ScriptGetFontProperties(HDC, SCRIPT_CACHE*, SCRIPT_FONTPROPERTIES*); HRESULT ScriptCacheGetHeight(HDC, SCRIPT_CACHE*, int*); HRESULT ScriptIsComplex(CPtr!(WCHAR), int, DWORD); HRESULT ScriptRecordDigitSubstitution(LCID, SCRIPT_DIGITSUBSTITUTE*); HRESULT ScriptApplyDigitSubstitution(CPtr!(SCRIPT_DIGITSUBSTITUTE), SCRIPT_CONTROL*, SCRIPT_STATE*); /* ScriptString Functions * http://msdn2.microsoft.com/library/ms776485 */ HRESULT ScriptStringAnalyse(HDC, CPtr!(void), int, int, int, DWORD, int, SCRIPT_CONTROL*, SCRIPT_STATE*, CPtr!(int), SCRIPT_TABDEF*, CPtr!(BYTE), SCRIPT_STRING_ANALYSIS*); HRESULT ScriptStringFree(SCRIPT_STRING_ANALYSIS*); CPtr!(SIZE) ScriptString_pSize(SCRIPT_STRING_ANALYSIS); CPtr!(int) ScriptString_pcOutChars(SCRIPT_STRING_ANALYSIS); CPtr!(SCRIPT_LOGATTR) ScriptString_pLogAttr(SCRIPT_STRING_ANALYSIS); HRESULT ScriptStringGetOrder(SCRIPT_STRING_ANALYSIS, UINT*); HRESULT ScriptStringCPtoX(SCRIPT_STRING_ANALYSIS, int, BOOL, int*); HRESULT ScriptStringXtoCP(SCRIPT_STRING_ANALYSIS, int, int*, int*); HRESULT ScriptStringGetLogicalWidths(SCRIPT_STRING_ANALYSIS, int*); HRESULT ScriptStringValidate(SCRIPT_STRING_ANALYSIS); HRESULT ScriptStringOut(SCRIPT_STRING_ANALYSIS, int, int, UINT, CPtr!(RECT), int, int, BOOL); /* TODO: Windows Vista fearured functions ScriptGetFontAlternateGlyphs() ScriptGetFontFeatureTags() ScriptGetFontLanguageTags() ScriptGetFontScriptTags() ScriptItemizeOpenType() ScriptPlaceOpenType() ScriptPositionSingleGlyph() ScriptShapeOpenType() ScriptSubstituteSingleGlyph() */ }
D
module strategy; import model.game; import model.move; import model.player; import model.world; /** * This interface contains the methods that each strategy must implement. */ public interface Strategy { /** * Main strategy method for controlling the vehicles. * The game engine calls this method once each time tick. * * Params: * me = the owner player of this strategy. * world = the current world snapshot. * game = various game constants. * move = the object that encapsulates all strategy instructions. */ void move (immutable Player me, immutable World world, immutable Game game, Move move); }
D
#sudoku_solver.g #sudoku_grid.g #drinc:util.g extern removePossibilityAt(*Grid_t pGrid; uint x, y, value) void; proc removePossibilitiesRelatedTo(*Grid_t pGrid; uint x, y, value) void: uint indexX, indexY, startX, startY; for indexX from 0 upto pGrid*.g_dimension - 1 do if indexX ~= x then removePossibilityAt(pGrid, indexX, y, value); fi; od; for indexY from 0 upto pGrid*.g_dimension - 1 do if indexY ~= y then removePossibilityAt(pGrid, x, indexY, value); fi; od; startX := (x / pGrid*.g_sectorDimension) * pGrid*.g_sectorDimension; startY := (y / pGrid*.g_sectorDimension) * pGrid*.g_sectorDimension; for indexY from startY upto startY + pGrid*.g_sectorDimension - 1 do for indexX from startX upto startX + pGrid*.g_sectorDimension - 1 do if indexX ~= x and indexY ~= y then removePossibilityAt(pGrid, indexX, indexY, value); fi; od; od; corp; proc removePossibilityAt(*Grid_t pGrid; uint x, y, value) void: if squareHasPossibility(pGrid, x, y, value) then removeSquarePossibility(pGrid, x, y, value); value := getSquareValue(pGrid, x, y); if value ~= 0 then removePossibilitiesRelatedTo(pGrid, x, y, value); fi; fi; corp; proc setValueAt(*Grid_t pGrid; uint x, y, value) void: setSquareValue(pGrid, x, y, value); removePossibilitiesRelatedTo(pGrid, x, y, value); corp; /* Returns zero if no value could be deduced */ proc getDeducedValueAt(*Grid_t pGrid; uint x, y) uint: uint value; if getPossibilityCount(pGrid, x, y) > 1 then for value from 1 upto pGrid*.g_dimension do if squareHasPossibility(pGrid, x, y, value) and ( mustBeValueByRow (pGrid, x, y, value) or mustBeValueByColumn(pGrid, x, y, value) or mustBeValueBySector(pGrid, x, y, value)) then return value; fi; od; fi; 0 corp; proc refineGrid(*Grid_t pGrid) void: uint x, y, lastX, lastY, value; x := 0; y := 0; lastX := 0; lastY := 0; while true do value := getDeducedValueAt(pGrid, x, y); if value ~= 0 then setValueAt(pGrid, x, y, value); if not isPossible(pGrid) then return; fi; lastX := x; lastY := y; fi; if x < pGrid*.g_dimension - 1 then x := x + 1; else x := 0; y := (y + 1) % pGrid*.g_dimension; fi; if x = lastX and y = lastY then return; fi; od; corp; proc detachFrontGrid(*Grid_t pGridList) *Grid_t: if pGridList*.g_pNext = pGridList then return nil; fi; pGridList*.g_pNext*.g_pPrevious := pGridList*.g_pPrevious; pGridList*.g_pPrevious*.g_pNext := pGridList*.g_pNext; pGridList*.g_pNext corp; proc freeFrontGrid(*Grid_t pGridList) *Grid_t: *Grid_t pGrid; pGrid := pGridList; pGridList := detachFrontGrid(pGridList); freeGrid(pGrid); pGridList corp; proc freeGridList(*Grid_t pGridList) void: while pGridList ~= nil do pGridList := freeFrontGrid(pGridList); od; corp; proc attachToFrontIfPossible(*Grid_t pGridList, pGrid; *Counters_t pCounters) *Grid_t: if not isPossible(pGrid) then pCounters*.c_ImpossibleGrids := pCounters*.c_ImpossibleGrids + 1; freeGrid(pGrid); return pGridList; fi; if pGridList = nil then pGrid*.g_pNext := pGrid; pGrid*.g_pPrevious := pGrid; else pGrid*.g_pNext := pGridList; pGrid*.g_pPrevious := pGridList*.g_pPrevious; pGridList*.g_pPrevious*.g_pNext := pGrid; pGridList*.g_pPrevious := pGrid; fi; pGrid corp; proc getAPossibilityAt(*Grid_t pGrid; uint x, y) uint: uint index; for index from 1 upto pGrid*.g_dimension do if squareHasPossibility(pGrid, x, y, index) then return index; fi; od; 0 corp; /* must not be called with complete or impossible grids */ proc splitFirstGridToFront(*Grid_t pGridList; *Counters_t pCounters) *Grid_t: uint x, y, count, bestX, bestY, bestCount, possibility; *Grid_t pGrid, pCloneGrid; pGrid := pGridList; pGridList := detachFrontGrid(pGridList); bestCount := 0; for y from 0 upto pGrid*.g_dimension - 1 do for x from 0 upto pGrid*.g_dimension - 1 do count := getPossibilityCount(pGrid, x, y); if count > 1 then if bestCount = 0 or count < bestCount then bestCount := count; bestX := x; bestY := y; fi; fi; od; od; possibility := getAPossibilityAt(pGrid, bestX, bestY); pCloneGrid := cloneGrid(pGrid); if pCloneGrid = nil then pCounters*.c_GridsLost := pCounters*.c_GridsLost + 1; if pGridList ~= nil then pCloneGrid := pGridList*.g_pPrevious; pGridList := detachFrontGrid(pGridList*.g_pPrevious); cloneIntoGrid(pGrid, pCloneGrid); fi; fi; if pCloneGrid ~= nil then pCounters*.c_GridSplits := pCounters*.c_GridSplits + 1; removePossibilityAt(pCloneGrid, bestX, bestY, possibility); pGridList := attachToFrontIfPossible(pGridList, pCloneGrid, pCounters); fi; setValueAt(pGrid, bestX, bestY, possibility); attachToFrontIfPossible(pGridList, pGrid, pCounters) corp; /* Returns nil if there are no more solutions */ /* Caller must free front grid if complete before re-calling */ proc advanceSolving(*Grid_t pGridList; *Counters_t pCounters) *Grid_t: if pGridList = nil then return nil; fi; if not isPossible(pGridList) then pCounters*.c_ImpossibleGrids := pCounters*.c_ImpossibleGrids + 1; pGridList := freeFrontGrid(pGridList); if pGridList = nil then return nil; fi; fi; refineGrid(pGridList); if not isComplete(pGridList) and isPossible(pGridList) then pGridList := splitFirstGridToFront(pGridList, pCounters); fi; pGridList corp; proc writeTimePeriod(channel output text target; ulong seconds) void: if seconds / 3600 < 10 then write(target; '0'); fi; write(target; seconds / 3600); seconds := seconds % 3600; write(target; ":", (seconds / 60):-2); seconds := seconds % 60; writeln(target; ":", seconds:-2); corp; proc writeCounters(channel output text target; *Counters_t pCounters) void: write (target; '\n'); writeln(target; "Grids in memory: ", gridsInMemory); write (target; "Elapsed time: "); writeTimePeriod(target, GetCurrentTime() - pCounters*.c_StartTime); writeln(target; "Grids created via splitting: ", pCounters*.c_GridSplits); writeln(target; "Impossible grids encountered: ", pCounters*.c_ImpossibleGrids); writeln(target; "Grids lost due to low memory: ", pCounters*.c_GridsLost); writeln(target; "Solutions found: ", pCounters*.c_Solutions); corp;
D
module UnrealScript.TribesGame.TrDmgType_RemoteArxBuster; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrDmgType_Explosive; extern(C++) interface TrDmgType_RemoteArxBuster : TrDmgType_Explosive { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrDmgType_RemoteArxBuster")); } private static __gshared TrDmgType_RemoteArxBuster mDefaultProperties; @property final static TrDmgType_RemoteArxBuster DefaultProperties() { mixin(MGDPC("TrDmgType_RemoteArxBuster", "TrDmgType_RemoteArxBuster TribesGame.Default__TrDmgType_RemoteArxBuster")); } }
D
inflammation of the intestine (especially the small intestine
D
module cache; import logger; import core.time; import std.container.dlist; import std.range; import std.typecons; import std.experimental.allocator; class LRUCache(K, V) { this(uint capacity) { _capacity = capacity; removeDeleter(); } Tuple!(V, bool) get(K key) { auto it = key in _storage; return it is null ? tuple(V.init, false) : tuple(update(it), true); } Tuple!(K, V, MonoTime) recent() { auto meta = _meta_list.front(); return tuple(meta.key, _storage[meta.key].value, meta.ts); } void put(K key, V value) { _meta_list.insertFront(Meta(key, MonoTime.currTime())); _storage[key] = Stored(value, _meta_list[]); } void set(K key, V value) { auto it = key in _storage; if (it !is null) { it.value = value; update(it); return; } if (_storage.length == _capacity) { auto meta = _meta_list.back(); if (_use_deleter) { _deleter(meta.key, _storage[meta.key].value); } _storage.remove(meta.key); _meta_list.removeBack(); } put(key, value); } void setDeleter(void delegate(K, V) d) { _deleter = d; _use_deleter = true; } void removeDeleter() { _deleter = (K, V){}; _use_deleter = false; } @property auto length() const { return _storage.length; } private: private V update(Stored* stored) { auto lr = stored.r; assert(!lr.empty()); _meta_list.linearRemove(lr.take(1)); auto meta = lr.front(); meta.ts = MonoTime.currTime(); _meta_list.insertFront(meta); stored.r = _meta_list[]; return stored.value; } uint _capacity; struct Meta { K key; MonoTime ts; } alias MetaList = DList!Meta; struct Stored { V value; MetaList.Range r; } MetaList _meta_list; Stored[K] _storage; void delegate(K, V) _deleter; bool _use_deleter; } unittest { auto cache = new LRUCache!(int, int)(3); auto res = cache.get(0); assert(res[1] == false); cache.set(0, 10); res = cache.get(0); assert(res[0] == 10); assert(res[1] == true); cache.set(1, 20); cache.set(2, 30); assert(cache.recent()[1] == 30); cache.set(3, 40); res = cache.get(0); assert(res[1] == false); cache.set(4, 50); cache.set(5, 60); res = cache.get(2); assert(res[1] == false); res = cache.get(3); assert(res[1] == true); assert(res[0] == 40); cache.set(6, 70); res = cache.get(4); assert(res[1] == false); }
D
/Users/apple/Developer/ImageDemo/build/ImageDemo.build/Debug-iphonesimulator/ImageDemo.build/Objects-normal/x86_64/ImageViewController.o : /Users/apple/Developer/ImageDemo/ImageDemo/AppDelegate.swift /Users/apple/Developer/ImageDemo/ImageDemo/PhotoCollectionViewController.swift /Users/apple/Developer/ImageDemo/ImageDemo/ImageViewController.swift /Users/apple/Developer/ImageDemo/ImageDemo/PhotoCollectionViewCell.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/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/SnapKit.swiftmodule/x86_64.swiftmodule /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Headers/SnapKit-Swift.h /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Headers/SnapKit-umbrella.h /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/module.modulemap /Users/apple/Developer/ImageDemo/build/ImageDemo.build/Debug-iphonesimulator/ImageDemo.build/Objects-normal/x86_64/ImageViewController~partial.swiftmodule : /Users/apple/Developer/ImageDemo/ImageDemo/AppDelegate.swift /Users/apple/Developer/ImageDemo/ImageDemo/PhotoCollectionViewController.swift /Users/apple/Developer/ImageDemo/ImageDemo/ImageViewController.swift /Users/apple/Developer/ImageDemo/ImageDemo/PhotoCollectionViewCell.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/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/SnapKit.swiftmodule/x86_64.swiftmodule /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Headers/SnapKit-Swift.h /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Headers/SnapKit-umbrella.h /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/module.modulemap /Users/apple/Developer/ImageDemo/build/ImageDemo.build/Debug-iphonesimulator/ImageDemo.build/Objects-normal/x86_64/ImageViewController~partial.swiftdoc : /Users/apple/Developer/ImageDemo/ImageDemo/AppDelegate.swift /Users/apple/Developer/ImageDemo/ImageDemo/PhotoCollectionViewController.swift /Users/apple/Developer/ImageDemo/ImageDemo/ImageViewController.swift /Users/apple/Developer/ImageDemo/ImageDemo/PhotoCollectionViewCell.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/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/SnapKit.swiftmodule/x86_64.swiftmodule /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Headers/SnapKit-Swift.h /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Headers/SnapKit-umbrella.h /Users/apple/Developer/ImageDemo/build/Debug-iphonesimulator/SnapKit/SnapKit.framework/Modules/module.modulemap
D
/Users/Lambert/Desktop/demo/DerivedData/demo1/Build/Intermediates/demo1.build/Debug/Socket.build/Objects-normal/x86_64/SocketUtils.o : /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/Socket.swift /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/SocketProtocols.swift /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/SocketUtils.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Lambert/Desktop/demo/DerivedData/demo1/Build/Intermediates/demo1.build/Debug/Socket.build/Objects-normal/x86_64/SocketUtils~partial.swiftmodule : /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/Socket.swift /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/SocketProtocols.swift /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/SocketUtils.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/Lambert/Desktop/demo/DerivedData/demo1/Build/Intermediates/demo1.build/Debug/Socket.build/Objects-normal/x86_64/SocketUtils~partial.swiftdoc : /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/Socket.swift /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/SocketProtocols.swift /Users/Lambert/Desktop/demo/Packages/Socket-0.12.31/Sources/SocketUtils.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
D
module ninedof; import tock; extern(C) { int ninedof_subscribe(subscribe_cb callback, void* userdata); int ninedof_start_accel_reading(); int ninedof_start_magnetometer_reading(); int ninedof_start_gyro_reading(); double ninedof_read_accel_mag(); int ninedof_read_acceleration_sync(int* x, int* y, int* z); int ninedof_read_magnetometer_sync(int* x, int* y, int* z); int ninedof_read_gyroscope_sync(int* x, int* y, int* z); }
D
/Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate.o : /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/MultipartFormData.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Timeline.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Response.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/TaskDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ParameterEncoding.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Validation.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ResponseSerialization.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/AFError.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Notifications.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Result.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Request.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/safwendebbichi/workspace/CI-Sample/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate~partial.swiftmodule : /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/MultipartFormData.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Timeline.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Response.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/TaskDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ParameterEncoding.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Validation.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ResponseSerialization.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/AFError.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Notifications.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Result.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Request.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/safwendebbichi/workspace/CI-Sample/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate~partial.swiftdoc : /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/MultipartFormData.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Timeline.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Response.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/TaskDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ParameterEncoding.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Validation.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ResponseSerialization.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/AFError.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Notifications.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Result.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Request.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/safwendebbichi/workspace/CI-Sample/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate~partial.swiftsourceinfo : /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/MultipartFormData.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Timeline.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Alamofire.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Response.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/TaskDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionDelegate.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ParameterEncoding.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Validation.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ResponseSerialization.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/SessionManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/AFError.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Notifications.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Result.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Request.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/safwendebbichi/workspace/CI-Sample/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/dyld.modulemap /Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.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/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkD; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage /* * Conversion parameters: * inFile = glib-Threads.html * outPack = gthread * outFile = Mutex * strct = GMutex * realStrct= * ctorStrct= * clss = Mutex * interf = * class Code: No * interface Code: No * template for: * extend = * implements: * prefixes: * - g_mutex_ * omit structs: * omit prefixes: * omit code: * omit signals: * imports: * structWrap: * module aliases: * local aliases: * overrides: */ module gtkD.gthread.Mutex; public import gtkD.gtkc.gthreadtypes; private import gtkD.gtkc.gthread; private import gtkD.glib.ConstructionException; /** * Description * Threads act almost like processes, but unlike processes all threads of * one process share the same memory. This is good, as it provides easy * communication between the involved threads via this shared memory, and * it is bad, because strange things (so called "Heisenbugs") might * happen if the program is not carefully designed. In particular, due to * the concurrent nature of threads, no assumptions on the order of * execution of code running in different threads can be made, unless * order is explicitly forced by the programmer through synchronization * primitives. * The aim of the thread related functions in GLib is to provide a * portable means for writing multi-threaded software. There are * primitives for mutexes to protect the access to portions of memory * (GMutex, GStaticMutex, G_LOCK_DEFINE, GStaticRecMutex and * GStaticRWLock). There are primitives for condition variables to allow * synchronization of threads (GCond). There are primitives * for thread-private data - data that every thread has a private instance of * (GPrivate, GStaticPrivate). Last but definitely not least there are * primitives to portably create and manage threads (GThread). * You must call g_thread_init() before executing any other GLib * functions (except g_mem_set_vtable()) in a GLib program if * g_thread_init() will be called at all. This is a requirement even if * no threads are in fact ever created by the process. It is enough that * g_thread_init() is called. If other GLib functions have been called * before that, the behaviour of the program is undefined. An exception * is g_mem_set_vtable() which may be called before g_thread_init(). * Failing this requirement can lead to hangs or crashes, apparently more * easily on Windows than on Linux, for example. * Please note that if you call functions in some GLib-using library, in * particular those above the GTK+ stack, that library might well call * g_thread_init() itself, or call some other library that calls * g_thread_init(). Thus, if you use some GLib-based library that is * above the GTK+ stack, it is safest to call g_thread_init() in your * application's main() before calling any GLib functions or functions in * GLib-using libraries. * After calling g_thread_init(), GLib is completely * thread safe (all global data is automatically locked), but individual * data structure instances are not automatically locked for performance * reasons. So, for example you must coordinate accesses to the same * GHashTable from multiple threads. The two notable exceptions from * this rule are GMainLoop and GAsyncQueue, * which are threadsafe and needs no further * application-level locking to be accessed from multiple threads. * To help debugging problems in multithreaded applications, GLib supports * error-checking mutexes that will give you helpful error messages on * common problems. To use error-checking mutexes, define the symbol * G_ERRORCHECK_MUTEXES when compiling the application. */ public class Mutex { /** the main Gtk struct */ protected GMutex* gMutex; public GMutex* getMutexStruct() { return gMutex; } /** the main Gtk struct as a void* */ protected void* getStruct() { return cast(void*)gMutex; } /** * Sets our main struct and passes it to the parent class */ public this (GMutex* gMutex) { if(gMutex is null) { this = null; return; } this.gMutex = gMutex; } /** */ /** * Creates a new GMutex. * Note * This function will abort if g_thread_init() has not been called yet. * Throws: ConstructionException GTK+ fails to create the object. */ public this () { // GMutex * g_mutex_new (); auto p = g_mutex_new(); if(p is null) { throw new ConstructionException("null returned by g_mutex_new()"); } this(cast(GMutex*) p); } /** * Locks mutex. If mutex is already locked by another thread, the * current thread will block until mutex is unlocked by the other * thread. * This function can be used even if g_thread_init() has not yet been * called, and, in that case, will do nothing. * Note * GMutex is neither guaranteed to be recursive nor to be non-recursive, * i.e. a thread could deadlock while calling g_mutex_lock(), if it * already has locked mutex. Use GStaticRecMutex, if you need recursive * mutexes. */ public void lock() { // void g_mutex_lock (GMutex *mutex); g_mutex_lock(gMutex); } /** * Tries to lock mutex. If mutex is already locked by another * thread, it immediately returns FALSE. Otherwise it locks mutex * and returns TRUE. * This function can be used even if g_thread_init() has not yet been * called, and, in that case, will immediately return TRUE. * Note * GMutex is neither guaranteed to be recursive nor to be non-recursive, * i.e. the return value of g_mutex_trylock() could be both FALSE or * TRUE, if the current thread already has locked mutex. Use * GStaticRecMutex, if you need recursive mutexes. * Returns:%TRUE, if mutex could be locked. */ public int trylock() { // gboolean g_mutex_trylock (GMutex *mutex); return g_mutex_trylock(gMutex); } /** * Unlocks mutex. If another thread is blocked in a g_mutex_lock() call * for mutex, it will be woken and can lock mutex itself. * This function can be used even if g_thread_init() has not yet been * called, and, in that case, will do nothing. */ public void unlock() { // void g_mutex_unlock (GMutex *mutex); g_mutex_unlock(gMutex); } /** * Destroys mutex. * Note * Calling g_mutex_free() on a locked mutex may result in undefined behaviour. */ public void free() { // void g_mutex_free (GMutex *mutex); g_mutex_free(gMutex); } }
D
module hunt.wechat.bean.paymch.PayProfitsharingquery; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "xml") @XmlAccessorType(XmlAccessType.FIELD) class PayProfitsharingquery : MchBase { private string transaction_id; private string out_order_no; public string getTransaction_id() { return transaction_id; } public void setTransaction_id(string transaction_id) { this.transaction_id = transaction_id; } public string getOut_order_no() { return out_order_no; } public void setOut_order_no(string out_order_no) { this.out_order_no = out_order_no; } }
D
instance VLK_550_Buddler (Npc_Default) { //-------- primary data -------- name = Name_Buddler; npctype = npctype_mine_ambient; guild = GIL_VLK; level = 3; voice = 1; id = 550; //-------- abilities -------- attribute[ATR_STRENGTH] = 15; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 76; attribute[ATR_HITPOINTS] = 76; //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); Mdl_ApplyOverlayMds (self,"Humans_Tired.mds"); // body mesh,head mesh,hairmesh,face-tex,hair-tex,skin Mdl_SetVisualBody (self,"hum_body_Naked0",3,1,"Hum_Head_FatBald",70,1,VLK_ARMOR_L); B_Scale (self); Mdl_SetModelFatness (self,0); fight_tactic = FAI_HUMAN_COWARD; //-------- Talents -------- //-------- inventory -------- EquipItem (self,ALL_MW_02); CreateInvItem (self,ItMwPickaxe); CreateInvItem (self,ItFoLoaf); CreateInvItem (self,ItFoBeer); CreateInvItem (self,ItLsTorch); //-------------Daily Routine------------- /*B_InitNPCAddins(self);*/ daily_routine = Rtn_start_550; }; FUNC VOID Rtn_start_550 () { TA_PickOre (00,00,23,00,"OM_PICKORE_08"); TA_PickOre (23,00,24,00,"OM_PICKORE_08"); };
D
//fixme reorganize this mess of modules, their names and tests //body tests are badly organized (should be module-per-feature), main code as //well (rest of glue-d doesn't use underscores, amongst other issues) module glued.annotations; public import glued.annotations.core_annotations; public import glued.annotations.common_annotations; public import glued.annotations.common_impl: TargetTypeOf, TargetType; public import glued.annotations.core_impl: getAnnotation, getAnnotations, hasOneAnnotation, hasAnnotation, parameter;
D
void main() { auto x = new int[-1]; }
D
func void b_story_respawn_plants_chapter2() { Wld_InsertItem(ItFo_Plants_Seraphis_01,"FP_PLANT_RESPAWN_OW_01"); Wld_InsertItem(ItFo_Plants_Nightshadow_01,"FP_PLANT_RESPAWN_OW_02"); Wld_InsertItem(ItFo_Plants_OrcHerb_01,"FP_PLANT_RESPAWN_OW_03"); Wld_InsertItem(ItFo_Plants_Herb_02,"FP_PLANT_RESPAWN_OW_04"); Wld_InsertItem(ItFo_Plants_RavenHerb_02,"FP_PLANT_RESPAWN_OW_05"); Wld_InsertItem(ItFo_Plants_RavenHerb_01,"FP_PLANT_RESPAWN_OW_06"); Wld_InsertItem(ItFo_Plants_Trollberrys_01,"FP_PLANT_RESPAWN_OW_07"); Wld_InsertItem(ItMi_Plants_Swampherb_01,"FP_PLANT_RESPAWN_OW_08"); Wld_InsertItem(ItFo_Plants_Velayis_01,"FP_PLANT_RESPAWN_OW_09"); Wld_InsertItem(ItMi_Plants_Swampherb_01,"FP_PLANT_RESPAWN_OW_10"); Wld_InsertItem(ItFo_Plants_Seraphis_01,"FP_PLANT_RESPAWN_OW_11"); Wld_InsertItem(ItFo_Plants_Nightshadow_02,"FP_PLANT_RESPAWN_OW_12"); Wld_InsertItem(ItFo_Plants_OrcHerb_01,"FP_PLANT_RESPAWN_OW_13"); Wld_InsertItem(ItFo_Plants_Flameberry_01,"FP_PLANT_RESPAWN_OW_14"); Wld_InsertItem(ItFo_Plants_RavenHerb_01,"FP_PLANT_RESPAWN_OW_15"); }; func void b_story_respawn_plants_chapter3() { Wld_InsertItem(ItFo_Plants_Seraphis_01,"FP_PLANT_RESPAWN_OW_16"); Wld_InsertItem(ItFo_Plants_Trollberrys_01,"FP_PLANT_RESPAWN_OW_17"); Wld_InsertItem(ItFo_Plants_mushroom_02,"FP_PLANT_RESPAWN_OW_18"); Wld_InsertItem(ItFo_Plants_Bloodwood_01,"FP_PLANT_RESPAWN_OW_19"); Wld_InsertItem(ItFo_Plants_mountainmoos_02,"FP_PLANT_RESPAWN_OW_20"); Wld_InsertItem(ItFo_Plants_Velayis_01,"FP_PLANT_RESPAWN_OW_21"); Wld_InsertItem(ItFo_Plants_Nightshadow_01,"FP_PLANT_RESPAWN_OW_22"); Wld_InsertItem(ItFo_Plants_OrcHerb_02,"FP_PLANT_RESPAWN_OW_23"); Wld_InsertItem(ItFo_Plants_Herb_03,"FP_PLANT_RESPAWN_OW_24"); Wld_InsertItem(ItFo_Plants_RavenHerb_02,"FP_PLANT_RESPAWN_OW_25"); }; func void b_story_respawn_plants_chapter5() { Wld_InsertItem(ItFo_Plants_RavenHerb_01,"FP_PLANT_RESPAWN_OW_26"); Wld_InsertItem(ItFo_Plants_Trollberrys_01,"FP_PLANT_RESPAWN_OW_27"); Wld_InsertItem(ItFo_Plants_mountainmoos_02,"FP_PLANT_RESPAWN_OW_28"); Wld_InsertItem(ItFo_Plants_Flameberry_01,"FP_PLANT_RESPAWN_OW_29"); Wld_InsertItem(ItFo_Plants_Flameberry_01,"FP_PLANT_RESPAWN_OW_30"); Wld_InsertItem(ItFo_Plants_Velayis_01,"FP_PLANT_RESPAWN_OW_31"); Wld_InsertItem(ItFo_Plants_mushroom_01,"FP_PLANT_RESPAWN_OW_32"); Wld_InsertItem(ItFo_Plants_OrcHerb_02,"FP_PLANT_RESPAWN_OW_33"); Wld_InsertItem(ItFo_Plants_Stoneroot_02,"FP_PLANT_RESPAWN_OW_34"); Wld_InsertItem(ItFo_Plants_RavenHerb_01,"FP_PLANT_RESPAWN_OW_35"); };
D
/Users/brunodaluz/Desktop/project/Build/Intermediates/project.build/Debug/Console.build/Objects-normal/x86_64/LoadingBar.o : /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Terminal/ANSI.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Deprecated.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Console.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleStyle.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Choose.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicatorState.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Ask.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Terminal/Terminal.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/Console+Ephemeral.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Confirm.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/LoadingBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ProgressBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/Console+Clear.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/ConsoleClear.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/ConsoleLogger.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicatorRenderer.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Center.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleColor.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/ConsoleError.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicator.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/Exports.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Wait.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleTextFragment.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Input.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Output.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleText.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOAtomics/include/cpp_magic.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIODarwin/include/c_nio_darwin.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOAtomics/include/c-atomics.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOLinux/include/c_nio_linux.h /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio-zlib-support.git-4597058737275259177/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/brunodaluz/Desktop/project/Build/Intermediates/project.build/Debug/Console.build/Objects-normal/x86_64/LoadingBar~partial.swiftmodule : /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Terminal/ANSI.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Deprecated.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Console.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleStyle.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Choose.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicatorState.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Ask.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Terminal/Terminal.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/Console+Ephemeral.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Confirm.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/LoadingBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ProgressBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/Console+Clear.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/ConsoleClear.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/ConsoleLogger.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicatorRenderer.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Center.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleColor.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/ConsoleError.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicator.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/Exports.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Wait.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleTextFragment.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Input.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Output.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleText.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOAtomics/include/cpp_magic.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIODarwin/include/c_nio_darwin.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOAtomics/include/c-atomics.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOLinux/include/c_nio_linux.h /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio-zlib-support.git-4597058737275259177/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/brunodaluz/Desktop/project/Build/Intermediates/project.build/Debug/Console.build/Objects-normal/x86_64/LoadingBar~partial.swiftdoc : /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Terminal/ANSI.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Deprecated.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Console.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleStyle.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Choose.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicatorState.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Ask.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Terminal/Terminal.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/Console+Ephemeral.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Confirm.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/LoadingBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ProgressBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityBar.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/Console+Clear.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Clear/ConsoleClear.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/ConsoleLogger.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicatorRenderer.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Center.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleColor.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/ConsoleError.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Activity/ActivityIndicator.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Utilities/Exports.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Wait.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleTextFragment.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Input/Console+Input.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/Console+Output.swift /Users/brunodaluz/Desktop/project/.build/checkouts/console.git-1708081412620427180/Sources/Console/Output/ConsoleText.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/brunodaluz/Desktop/project/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOAtomics/include/cpp_magic.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIODarwin/include/c_nio_darwin.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOAtomics/include/c-atomics.h /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio.git--325538877768392360/Sources/CNIOLinux/include/c_nio_linux.h /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/brunodaluz/Desktop/project/.build/checkouts/swift-nio-zlib-support.git-4597058737275259177/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/brunodaluz/Desktop/project/project.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/WebSocketOpcode.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketUpgrader.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.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/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/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.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/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/WebSocketOpcode~partial.swiftmodule : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketUpgrader.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.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/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/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.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/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/WebSocketOpcode~partial.swiftdoc : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketUpgrader.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.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/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/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.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/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/WebSocketOpcode~partial.swiftsourceinfo : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/Base64.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketOpcode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrame.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketUpgrader.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameDecoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketFrameEncoder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketProtocolErrorHandler.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/WebSocketErrorCodes.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.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/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/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOSHA1/include/CNIOSHA1.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOZlib/include/CNIOZlib.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/CNIOHTTPParser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/PostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentPostgreSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOTLS.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentSQLite.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOPriorityQueue.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQLBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/FluentBenchmark.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Random.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Authentication.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Crypto.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/App.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Redis.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/WebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Multipart.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.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
void main() { import std.stdio, std.string, std.conv, std.algorithm; int n; rd(n); auto a = readln.split.to!(int[]); auto s = readln.split.to!(int[]); int mx = 0; foreach (i; 0 .. n) mx = max(mx, a[i] * s[i]); writeln(mx); } void rd(T...)(ref T x) { import std.stdio : readln; import std.string : split; import std.conv : to; auto l = readln.split; assert(l.length == x.length); foreach (i, ref e; x) e = l[i].to!(typeof(e)); }
D
module utility.Geometry; import utility.IntMath; enum Direction {E = 0, NE, N, NW, W, SW, S, SE} struct Point { short X, Y; Point opBinary(string op)(Point rhs) { static if(op == "+") return Point(cast(short)(X+rhs.X), cast(short)(Y+rhs.Y)); else static if(op == "-") return Point(cast(short)(X-rhs.X), cast(short)(Y-rhs.Y)); } bool opEquals(const Point rhs) { return(X==rhs.X)&&(Y==rhs.Y); } /// Manhattan distance short dist(Point p) { return max(abs(cast(short)(X-p.X)), abs(cast(short)(Y-p.Y))); } } static Point[] Neighbor = [Point(1, 0), Point(1, -1), Point(0, -1), Point(-1, -1), Point(-1, 0), Point(-1, 1), Point(0, 1), Point(1, 1)]; Point[] GenerateRing(Point p, int r) { Point[] res; res.length = 8*r; for(int i = 0; i <= 2*r; i++) res[i] = p+Point(cast(short)(r-i),cast(short)(-r)); for(int i = 0; i <= 2*r; i++) res[i+2*r+1] = p+Point(cast(short)(r-i), cast(short)(r)); for(int i = 1; i <= 2*r-1; i++) res[i+4*r+1] = p+Point(cast(short)(r), cast(short)(r-i)); for(int i = 1; i <= 2*r-1; i++) res[i+6*r] = p+Point(cast(short)(-r), cast(short)(r-i)); return res; } struct Ray { Point e; // end point Point c; // current point Point d; // delta Point i; // iteration sign int error; Point delegate() Next; // for speed up this(Point st, Point en) { import std.math:abs; short sign(short s) { return cast(short)((s>0)-(s<0));} e = en; c = st; d = e-st; i = Point(sign(d.X), sign(d.Y)); d = Point(cast(short)(abs(d.X)<<1), cast(short)(abs(d.Y)<<1)); if(d.X >= d.Y) { Next = &step_dX; error = d.Y - (d.X >> 1); } else { Next = &step_dY; error = d.X - (d.Y >> 1); } } bool isDone() { return c==e; } Point step_dY() { // reduce error, while taking into account the corner case of error == 0 if ((error > 0) || ((error == 0) && (i.Y > 0))) { error -= d.Y; c.X += i.X; } // else do nothing error += d.X; c.Y += i.Y; return c; } Point step_dX() { // reduce error, while taking into account the corner case of error == 0 if ((error > 0) || ((error == 0) && (i.X > 0))) { error -= d.X; c.Y += i.Y; } // else do nothing error += d.Y; c.X += i.X; return c; } } unittest { Point start = Point(0, 0); Point end = Point(3, 3); Ray ray = Ray(start, end); assert(!ray.isDone()); Point p = ray.Next(); assert(p == Point(1, 1)); p = ray.Next(); assert(p == Point(2, 2)); p = ray.Next(); assert(p == Point(3, 3)); assert(ray.isDone()); }
D
module android.java.android.widget.TextSwitcher_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import51 = android.java.android.view.contentcapture.ContentCaptureSession_d_interface; import import38 = android.java.android.view.View_OnClickListener_d_interface; import import13 = android.java.java.util.Collection_d_interface; import import54 = android.java.android.view.View_OnApplyWindowInsetsListener_d_interface; import import53 = android.java.android.view.accessibility.AccessibilityNodeProvider_d_interface; import import48 = android.java.android.view.autofill.AutofillValue_d_interface; import import83 = android.java.android.view.View_OnUnhandledKeyEventListener_d_interface; import import44 = android.java.android.view.View_OnGenericMotionListener_d_interface; import import84 = android.java.java.lang.Class_d_interface; import import43 = android.java.android.view.View_OnTouchListener_d_interface; import import46 = android.java.android.view.View_OnDragListener_d_interface; import import73 = android.java.android.content.res.ColorStateList_d_interface; import import24 = android.java.android.view.ViewParent_d_interface; import import18 = android.java.android.view.PointerIcon_d_interface; import import67 = android.java.android.view.WindowId_d_interface; import import7 = android.java.android.widget.FrameLayout_LayoutParams_d_interface; import import11 = android.java.android.view.accessibility.AccessibilityEvent_d_interface; import import60 = android.java.android.view.TouchDelegate_d_interface; import import62 = android.java.android.animation.StateListAnimator_d_interface; import import10 = android.java.android.graphics.Rect_d_interface; import import21 = android.java.android.view.ViewGroupOverlay_d_interface; import import76 = android.java.android.view.ViewTreeObserver_d_interface; import import5 = android.java.android.widget.ViewSwitcher_ViewFactory_d_interface; import import71 = android.java.android.graphics.Canvas_d_interface; import import64 = android.java.android.os.Handler_d_interface; import import2 = android.java.android.view.View_d_interface; import import22 = android.java.android.view.ViewGroup_OnHierarchyChangeListener_d_interface; import import23 = android.java.android.animation.LayoutTransition_d_interface; import import26 = android.java.android.view.animation.LayoutAnimationController_d_interface; import import1 = android.java.android.util.AttributeSet_d_interface; import import33 = android.java.android.graphics.drawable.Drawable_d_interface; import import16 = android.java.android.view.KeyEvent_d_interface; import import42 = android.java.android.view.View_OnKeyListener_d_interface; import import41 = android.java.android.view.View_OnCreateContextMenuListener_d_interface; import import45 = android.java.android.view.View_OnHoverListener_d_interface; import import20 = android.java.android.os.Bundle_d_interface; import import50 = android.java.android.view.autofill.AutofillId_d_interface; import import52 = android.java.android.view.View_AccessibilityDelegate_d_interface; import import82 = android.java.android.view.ViewPropertyAnimator_d_interface; import import31 = android.java.java.util.Map_d_interface; import import30 = android.java.android.view.ViewOverlay_d_interface; import import65 = android.java.java.lang.Runnable_d_interface; import import49 = android.java.android.util.SparseArray_d_interface; import import69 = android.java.android.graphics.Paint_d_interface; import import63 = android.java.android.view.ViewOutlineProvider_d_interface; import import78 = android.java.android.content.ClipData_d_interface; import import66 = android.java.android.os.IBinder_d_interface; import import61 = android.java.android.graphics.Matrix_d_interface; import import79 = android.java.android.view.View_DragShadowBuilder_d_interface; import import56 = android.java.android.view.KeyEvent_DispatcherState_d_interface; import import59 = android.java.android.view.ContextMenu_d_interface; import import80 = android.java.android.view.ViewGroup_d_interface; import import8 = android.java.android.view.ActionMode_d_interface; import import40 = android.java.android.view.View_OnContextClickListener_d_interface; import import58 = android.java.android.view.inputmethod.EditorInfo_d_interface; import import15 = android.java.android.view.DragEvent_d_interface; import import9 = android.java.android.view.ActionMode_Callback_d_interface; import import14 = android.java.android.content.res.Configuration_d_interface; import import28 = android.java.android.view.WindowInsets_d_interface; import import3 = android.java.android.view.ViewGroup_LayoutParams_d_interface; import import6 = android.java.android.view.animation.Animation_d_interface; import import81 = android.java.android.view.View_OnCapturedPointerListener_d_interface; import import39 = android.java.android.view.View_OnLongClickListener_d_interface; import import77 = android.java.android.view.View_OnSystemUiVisibilityChangeListener_d_interface; import import25 = android.java.android.graphics.Point_d_interface; import import70 = android.java.android.graphics.Bitmap_d_interface; import import4 = android.java.java.lang.CharSequence_d_interface; import import47 = android.java.android.view.accessibility.AccessibilityNodeInfo_d_interface; import import75 = android.java.android.graphics.BlendMode_d_interface; import import36 = android.java.android.view.View_OnLayoutChangeListener_d_interface; import import72 = android.java.android.content.res.Resources_d_interface; import import74 = android.java.android.graphics.PorterDuff_Mode_d_interface; import import34 = android.java.android.view.View_OnScrollChangeListener_d_interface; import import37 = android.java.android.view.View_OnAttachStateChangeListener_d_interface; import import57 = android.java.android.view.inputmethod.InputConnection_d_interface; import import29 = android.java.android.view.animation.Animation_AnimationListener_d_interface; import import68 = android.java.android.view.Display_d_interface; import import17 = android.java.android.view.MotionEvent_d_interface; import import32 = android.java.android.content.res.TypedArray_d_interface; import import12 = android.java.java.util.ArrayList_d_interface; import import19 = android.java.android.view.ViewStructure_d_interface; import import55 = android.java.java.util.List_d_interface; import import35 = android.java.android.view.View_OnFocusChangeListener_d_interface; import import27 = android.java.android.graphics.Region_d_interface; import import0 = android.java.android.content.Context_d_interface; final class TextSwitcher : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import this(import0.Context); @Import this(import0.Context, import1.AttributeSet); @Import void addView(import2.View, int, import3.ViewGroup_LayoutParams); @Import void setText(import4.CharSequence); @Import void setCurrentText(import4.CharSequence); @Import import4.CharSequence getAccessibilityClassName(); @Import import2.View getNextView(); @Import void setFactory(import5.ViewSwitcher_ViewFactory); @Import void reset(); @Import void setDisplayedChild(int); @Import int getDisplayedChild(); @Import void showNext(); @Import void showPrevious(); @Import void removeAllViews(); @Import void removeView(import2.View); @Import void removeViewAt(int); @Import void removeViewInLayout(import2.View); @Import void removeViews(int, int); @Import void removeViewsInLayout(int, int); @Import import2.View getCurrentView(); @Import import6.Animation getInAnimation(); @Import void setInAnimation(import6.Animation); @Import import6.Animation getOutAnimation(); @Import void setOutAnimation(import6.Animation); @Import void setInAnimation(import0.Context, int); @Import void setOutAnimation(import0.Context, int); @Import bool getAnimateFirstView(); @Import void setAnimateFirstView(bool); @Import int getBaseline(); @Import void setForegroundGravity(int); @Import void setMeasureAllChildren(bool); @Import bool getConsiderGoneChildrenWhenMeasuring(); @Import bool getMeasureAllChildren(); @Import import7.FrameLayout_LayoutParams generateLayoutParams(import1.AttributeSet); @Import bool shouldDelayChildPressedState(); @Import int getDescendantFocusability(); @Import void setDescendantFocusability(int); @Import void requestChildFocus(import2.View, import2.View); @Import void focusableViewAvailable(import2.View); @Import bool showContextMenuForChild(import2.View); @Import bool showContextMenuForChild(import2.View, float, float); @Import import8.ActionMode startActionModeForChild(import2.View, import9.ActionMode_Callback); @Import import8.ActionMode startActionModeForChild(import2.View, import9.ActionMode_Callback, int); @Import import2.View focusSearch(import2.View, int); @Import bool requestChildRectangleOnScreen(import2.View, import10.Rect, bool); @Import bool requestSendAccessibilityEvent(import2.View, import11.AccessibilityEvent); @Import bool onRequestSendAccessibilityEvent(import2.View, import11.AccessibilityEvent); @Import void childHasTransientStateChanged(import2.View, bool); @Import bool hasTransientState(); @Import bool dispatchUnhandledMove(import2.View, int); @Import void clearChildFocus(import2.View); @Import void clearFocus(); @Import import2.View getFocusedChild(); @Import bool hasFocus(); @Import import2.View findFocus(); @Import void addFocusables(import12.ArrayList, int, int); @Import void addKeyboardNavigationClusters(import13.Collection, int); @Import void setTouchscreenBlocksFocus(bool); @Import bool getTouchscreenBlocksFocus(); @Import void findViewsWithText(import12.ArrayList, import4.CharSequence, int); @Import void dispatchWindowFocusChanged(bool); @Import void addTouchables(import12.ArrayList); @Import void dispatchDisplayHint(int); @Import void dispatchWindowVisibilityChanged(int); @Import void dispatchConfigurationChanged(import14.Configuration); @Import void recomputeViewAttributes(import2.View); @Import void bringChildToFront(import2.View); @Import bool dispatchDragEvent(import15.DragEvent); @Import void dispatchWindowSystemUiVisiblityChanged(int); @Import void dispatchSystemUiVisibilityChanged(int); @Import bool dispatchKeyEventPreIme(import16.KeyEvent); @Import bool dispatchKeyEvent(import16.KeyEvent); @Import bool dispatchKeyShortcutEvent(import16.KeyEvent); @Import bool dispatchTrackballEvent(import17.MotionEvent); @Import bool dispatchCapturedPointerEvent(import17.MotionEvent); @Import void dispatchPointerCaptureChanged(bool); @Import import18.PointerIcon onResolvePointerIcon(import17.MotionEvent, int); @Import void addChildrenForAccessibility(import12.ArrayList); @Import bool onInterceptHoverEvent(import17.MotionEvent); @Import bool dispatchTouchEvent(import17.MotionEvent); @Import void setMotionEventSplittingEnabled(bool); @Import bool isMotionEventSplittingEnabled(); @Import bool isTransitionGroup(); @Import void setTransitionGroup(bool); @Import void requestDisallowInterceptTouchEvent(bool); @Import bool onInterceptTouchEvent(import17.MotionEvent); @Import bool requestFocus(int, import10.Rect); @Import bool restoreDefaultFocus(); @Import void dispatchStartTemporaryDetach(); @Import void dispatchFinishTemporaryDetach(); @Import void dispatchProvideStructure(import19.ViewStructure); @Import void dispatchProvideAutofillStructure(import19.ViewStructure, int); @Import void notifySubtreeAccessibilityStateChanged(import2.View, import2.View, int); @Import bool onNestedPrePerformAccessibilityAction(import2.View, int, import20.Bundle); @Import import21.ViewGroupOverlay getOverlay(); @Import int getChildDrawingOrder(int); @Import bool getClipChildren(); @Import void setClipChildren(bool); @Import void setClipToPadding(bool); @Import bool getClipToPadding(); @Import void dispatchSetSelected(bool); @Import void dispatchSetActivated(bool); @Import void dispatchDrawableHotspotChanged(float, float); @Import void addView(import2.View); @Import void addView(import2.View, int); @Import void addView(import2.View, int, int); @Import void addView(import2.View, import3.ViewGroup_LayoutParams); @Import void updateViewLayout(import2.View, import3.ViewGroup_LayoutParams); @Import void setOnHierarchyChangeListener(import22.ViewGroup_OnHierarchyChangeListener); @Import void onViewAdded(import2.View); @Import void onViewRemoved(import2.View); @Import void setLayoutTransition(import23.LayoutTransition); @Import import23.LayoutTransition getLayoutTransition(); @Import void removeAllViewsInLayout(); @Import void onDescendantInvalidated(import2.View, import2.View); @Import void invalidateChild(import2.View, import10.Rect); @Import import24.ViewParent invalidateChildInParent(int, import10.Rect[]); @Import void offsetDescendantRectToMyCoords(import2.View, import10.Rect); @Import void offsetRectIntoDescendantCoords(import2.View, import10.Rect); @Import bool getChildVisibleRect(import2.View, import10.Rect, import25.Point); @Import void layout(int, int, int, int); @Import void startLayoutAnimation(); @Import void scheduleLayoutAnimation(); @Import void setLayoutAnimation(import26.LayoutAnimationController); @Import import26.LayoutAnimationController getLayoutAnimation(); @Import bool isAnimationCacheEnabled(); @Import void setAnimationCacheEnabled(bool); @Import bool isAlwaysDrawnWithCacheEnabled(); @Import void setAlwaysDrawnWithCacheEnabled(bool); @Import int getPersistentDrawingCache(); @Import void setPersistentDrawingCache(int); @Import int getLayoutMode(); @Import void setLayoutMode(int); @Import int indexOfChild(import2.View); @Import int getChildCount(); @Import import2.View getChildAt(int); @Import static int getChildMeasureSpec(int, int, int); @Import void clearDisappearingChildren(); @Import void startViewTransition(import2.View); @Import void endViewTransition(import2.View); @Import void suppressLayout(bool); @Import bool isLayoutSuppressed(); @Import bool gatherTransparentRegion(import27.Region); @Import void requestTransparentRegion(import2.View); @Import import28.WindowInsets dispatchApplyWindowInsets(import28.WindowInsets); @Import import29.Animation_AnimationListener getLayoutAnimationListener(); @Import void jumpDrawablesToCurrentState(); @Import void setAddStatesFromChildren(bool); @Import bool addStatesFromChildren(); @Import void childDrawableStateChanged(import2.View); @Import void setLayoutAnimationListener(import29.Animation_AnimationListener); @Import bool onStartNestedScroll(import2.View, import2.View, int); @Import void onNestedScrollAccepted(import2.View, import2.View, int); @Import void onStopNestedScroll(import2.View); @Import void onNestedScroll(import2.View, int, int, int, int); @Import void onNestedPreScroll(import2.View, int, int, int[]); @Import bool onNestedFling(import2.View, float, float, bool); @Import bool onNestedPreFling(import2.View, float, float); @Import int getNestedScrollAxes(); @Import int[] getAttributeResolutionStack(int); @Import import31.Map getAttributeSourceResourceMap(); @Import int getExplicitStyle(); @Import void saveAttributeDataForStyleable(import0.Context, int, import1.AttributeSet, import32.TypedArray, int, int[]); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import int getVerticalFadingEdgeLength(); @Import void setFadingEdgeLength(int); @Import int getHorizontalFadingEdgeLength(); @Import int getVerticalScrollbarWidth(); @Import void setVerticalScrollbarThumbDrawable(import33.Drawable); @Import void setVerticalScrollbarTrackDrawable(import33.Drawable); @Import void setHorizontalScrollbarThumbDrawable(import33.Drawable); @Import void setHorizontalScrollbarTrackDrawable(import33.Drawable); @Import import33.Drawable getVerticalScrollbarThumbDrawable(); @Import import33.Drawable getVerticalScrollbarTrackDrawable(); @Import import33.Drawable getHorizontalScrollbarThumbDrawable(); @Import import33.Drawable getHorizontalScrollbarTrackDrawable(); @Import void setVerticalScrollbarPosition(int); @Import int getVerticalScrollbarPosition(); @Import void setScrollIndicators(int); @Import void setScrollIndicators(int, int); @Import int getScrollIndicators(); @Import void setOnScrollChangeListener(import34.View_OnScrollChangeListener); @Import void setOnFocusChangeListener(import35.View_OnFocusChangeListener); @Import void addOnLayoutChangeListener(import36.View_OnLayoutChangeListener); @Import void removeOnLayoutChangeListener(import36.View_OnLayoutChangeListener); @Import void addOnAttachStateChangeListener(import37.View_OnAttachStateChangeListener); @Import void removeOnAttachStateChangeListener(import37.View_OnAttachStateChangeListener); @Import import35.View_OnFocusChangeListener getOnFocusChangeListener(); @Import void setOnClickListener(import38.View_OnClickListener); @Import bool hasOnClickListeners(); @Import void setOnLongClickListener(import39.View_OnLongClickListener); @Import void setOnContextClickListener(import40.View_OnContextClickListener); @Import void setOnCreateContextMenuListener(import41.View_OnCreateContextMenuListener); @Import bool performClick(); @Import bool callOnClick(); @Import bool performLongClick(); @Import bool performLongClick(float, float); @Import bool performContextClick(float, float); @Import bool performContextClick(); @Import bool showContextMenu(); @Import bool showContextMenu(float, float); @Import import8.ActionMode startActionMode(import9.ActionMode_Callback); @Import import8.ActionMode startActionMode(import9.ActionMode_Callback, int); @Import void setOnKeyListener(import42.View_OnKeyListener); @Import void setOnTouchListener(import43.View_OnTouchListener); @Import void setOnGenericMotionListener(import44.View_OnGenericMotionListener); @Import void setOnHoverListener(import45.View_OnHoverListener); @Import void setOnDragListener(import46.View_OnDragListener); @Import void setRevealOnFocusHint(bool); @Import bool getRevealOnFocusHint(); @Import bool requestRectangleOnScreen(import10.Rect); @Import bool requestRectangleOnScreen(import10.Rect, bool); @Import bool hasFocusable(); @Import bool hasExplicitFocusable(); @Import void setAccessibilityPaneTitle(import4.CharSequence); @Import import4.CharSequence getAccessibilityPaneTitle(); @Import void sendAccessibilityEvent(int); @Import void announceForAccessibility(import4.CharSequence); @Import void sendAccessibilityEventUnchecked(import11.AccessibilityEvent); @Import bool dispatchPopulateAccessibilityEvent(import11.AccessibilityEvent); @Import void onPopulateAccessibilityEvent(import11.AccessibilityEvent); @Import void onInitializeAccessibilityEvent(import11.AccessibilityEvent); @Import import47.AccessibilityNodeInfo createAccessibilityNodeInfo(); @Import void onInitializeAccessibilityNodeInfo(import47.AccessibilityNodeInfo); @Import void onProvideStructure(import19.ViewStructure); @Import void onProvideAutofillStructure(import19.ViewStructure, int); @Import void onProvideVirtualStructure(import19.ViewStructure); @Import void onProvideAutofillVirtualStructure(import19.ViewStructure, int); @Import void autofill(import48.AutofillValue); @Import void autofill(import49.SparseArray); @Import import50.AutofillId getAutofillId(); @Import void setAutofillId(import50.AutofillId); @Import int getAutofillType(); @Import string[] getAutofillHints(); @Import import48.AutofillValue getAutofillValue(); @Import int getImportantForAutofill(); @Import void setImportantForAutofill(int); @Import bool isImportantForAutofill(); @Import void setContentCaptureSession(import51.ContentCaptureSession); @Import import51.ContentCaptureSession getContentCaptureSession(); @Import void addExtraDataToAccessibilityNodeInfo(import47.AccessibilityNodeInfo, string, import20.Bundle); @Import bool isVisibleToUserForAutofill(int); @Import import52.View_AccessibilityDelegate getAccessibilityDelegate(); @Import void setAccessibilityDelegate(import52.View_AccessibilityDelegate); @Import import53.AccessibilityNodeProvider getAccessibilityNodeProvider(); @Import import4.CharSequence getContentDescription(); @Import void setContentDescription(import4.CharSequence); @Import void setAccessibilityTraversalBefore(int); @Import int getAccessibilityTraversalBefore(); @Import void setAccessibilityTraversalAfter(int); @Import int getAccessibilityTraversalAfter(); @Import int getLabelFor(); @Import void setLabelFor(int); @Import bool isFocused(); @Import bool isScrollContainer(); @Import void setScrollContainer(bool); @Import int getDrawingCacheQuality(); @Import void setDrawingCacheQuality(int); @Import bool getKeepScreenOn(); @Import void setKeepScreenOn(bool); @Import int getNextFocusLeftId(); @Import void setNextFocusLeftId(int); @Import int getNextFocusRightId(); @Import void setNextFocusRightId(int); @Import int getNextFocusUpId(); @Import void setNextFocusUpId(int); @Import int getNextFocusDownId(); @Import void setNextFocusDownId(int); @Import int getNextFocusForwardId(); @Import void setNextFocusForwardId(int); @Import int getNextClusterForwardId(); @Import void setNextClusterForwardId(int); @Import bool isShown(); @Import import28.WindowInsets onApplyWindowInsets(import28.WindowInsets); @Import void setOnApplyWindowInsetsListener(import54.View_OnApplyWindowInsetsListener); @Import void setSystemGestureExclusionRects(import55.List); @Import import55.List getSystemGestureExclusionRects(); @Import void getLocationInSurface(int[]); @Import import28.WindowInsets getRootWindowInsets(); @Import import28.WindowInsets computeSystemWindowInsets(import28.WindowInsets, import10.Rect); @Import void setFitsSystemWindows(bool); @Import bool getFitsSystemWindows(); @Import void requestFitSystemWindows(); @Import void requestApplyInsets(); @Import int getVisibility(); @Import void setVisibility(int); @Import bool isEnabled(); @Import void setEnabled(bool); @Import void setFocusable(bool); @Import void setFocusable(int); @Import void setFocusableInTouchMode(bool); @Import void setAutofillHints(string[]); @Import void setSoundEffectsEnabled(bool); @Import bool isSoundEffectsEnabled(); @Import void setHapticFeedbackEnabled(bool); @Import bool isHapticFeedbackEnabled(); @Import void setLayoutDirection(int); @Import int getLayoutDirection(); @Import void setHasTransientState(bool); @Import bool isAttachedToWindow(); @Import bool isLaidOut(); @Import void setWillNotDraw(bool); @Import bool willNotDraw(); @Import void setWillNotCacheDrawing(bool); @Import bool willNotCacheDrawing(); @Import bool isClickable(); @Import void setClickable(bool); @Import bool isLongClickable(); @Import void setLongClickable(bool); @Import bool isContextClickable(); @Import void setContextClickable(bool); @Import void setPressed(bool); @Import bool isPressed(); @Import bool isSaveEnabled(); @Import void setSaveEnabled(bool); @Import bool getFilterTouchesWhenObscured(); @Import void setFilterTouchesWhenObscured(bool); @Import bool isSaveFromParentEnabled(); @Import void setSaveFromParentEnabled(bool); @Import bool isFocusable(); @Import int getFocusable(); @Import bool isFocusableInTouchMode(); @Import bool isScreenReaderFocusable(); @Import void setScreenReaderFocusable(bool); @Import bool isAccessibilityHeading(); @Import void setAccessibilityHeading(bool); @Import import2.View focusSearch(int); @Import bool isKeyboardNavigationCluster(); @Import void setKeyboardNavigationCluster(bool); @Import bool isFocusedByDefault(); @Import void setFocusedByDefault(bool); @Import import2.View keyboardNavigationClusterSearch(import2.View, int); @Import void setDefaultFocusHighlightEnabled(bool); @Import bool getDefaultFocusHighlightEnabled(); @Import import12.ArrayList getFocusables(int); @Import void addFocusables(import12.ArrayList, int); @Import import12.ArrayList getTouchables(); @Import bool isAccessibilityFocused(); @Import bool requestFocus(); @Import bool requestFocus(int); @Import bool requestFocusFromTouch(); @Import int getImportantForAccessibility(); @Import void setAccessibilityLiveRegion(int); @Import int getAccessibilityLiveRegion(); @Import void setImportantForAccessibility(int); @Import bool isImportantForAccessibility(); @Import import24.ViewParent getParentForAccessibility(); @Import void setTransitionVisibility(int); @Import bool dispatchNestedPrePerformAccessibilityAction(int, import20.Bundle); @Import bool performAccessibilityAction(int, import20.Bundle); @Import bool isTemporarilyDetached(); @Import void onStartTemporaryDetach(); @Import void onFinishTemporaryDetach(); @Import import56.KeyEvent_DispatcherState getKeyDispatcherState(); @Import bool onFilterTouchEventForSecurity(import17.MotionEvent); @Import bool dispatchGenericMotionEvent(import17.MotionEvent); @Import void onWindowFocusChanged(bool); @Import bool hasWindowFocus(); @Import void onVisibilityAggregated(bool); @Import int getWindowVisibility(); @Import void getWindowVisibleDisplayFrame(import10.Rect); @Import bool isInTouchMode(); @Import import0.Context getContext(); @Import bool onKeyPreIme(int, import16.KeyEvent); @Import bool onKeyDown(int, import16.KeyEvent); @Import bool onKeyLongPress(int, import16.KeyEvent); @Import bool onKeyUp(int, import16.KeyEvent); @Import bool onKeyMultiple(int, int, import16.KeyEvent); @Import bool onKeyShortcut(int, import16.KeyEvent); @Import bool onCheckIsTextEditor(); @Import import57.InputConnection onCreateInputConnection(import58.EditorInfo); @Import bool checkInputConnectionProxy(import2.View); @Import void createContextMenu(import59.ContextMenu); @Import bool onTrackballEvent(import17.MotionEvent); @Import bool onGenericMotionEvent(import17.MotionEvent); @Import bool onHoverEvent(import17.MotionEvent); @Import bool isHovered(); @Import void setHovered(bool); @Import void onHoverChanged(bool); @Import bool onTouchEvent(import17.MotionEvent); @Import void cancelLongPress(); @Import void setTouchDelegate(import60.TouchDelegate); @Import import60.TouchDelegate getTouchDelegate(); @Import void requestUnbufferedDispatch(import17.MotionEvent); @Import void bringToFront(); @Import import24.ViewParent getParent(); @Import void setScrollX(int); @Import void setScrollY(int); @Import int getScrollX(); @Import int getScrollY(); @Import int getWidth(); @Import int getHeight(); @Import void getDrawingRect(import10.Rect); @Import int getMeasuredWidth(); @Import int getMeasuredWidthAndState(); @Import int getMeasuredHeight(); @Import int getMeasuredHeightAndState(); @Import int getMeasuredState(); @Import import61.Matrix getMatrix(); @Import float getCameraDistance(); @Import void setCameraDistance(float); @Import float getRotation(); @Import void setRotation(float); @Import float getRotationY(); @Import void setRotationY(float); @Import float getRotationX(); @Import void setRotationX(float); @Import float getScaleX(); @Import void setScaleX(float); @Import float getScaleY(); @Import void setScaleY(float); @Import float getPivotX(); @Import void setPivotX(float); @Import float getPivotY(); @Import void setPivotY(float); @Import bool isPivotSet(); @Import void resetPivot(); @Import float getAlpha(); @Import void forceHasOverlappingRendering(bool); @Import bool getHasOverlappingRendering(); @Import bool hasOverlappingRendering(); @Import void setAlpha(float); @Import void setTransitionAlpha(float); @Import float getTransitionAlpha(); @Import void setForceDarkAllowed(bool); @Import bool isForceDarkAllowed(); @Import int getTop(); @Import void setTop(int); @Import int getBottom(); @Import bool isDirty(); @Import void setBottom(int); @Import int getLeft(); @Import void setLeft(int); @Import int getRight(); @Import void setRight(int); @Import float getX(); @Import void setX(float); @Import float getY(); @Import void setY(float); @Import float getZ(); @Import void setZ(float); @Import float getElevation(); @Import void setElevation(float); @Import float getTranslationX(); @Import void setTranslationX(float); @Import float getTranslationY(); @Import void setTranslationY(float); @Import float getTranslationZ(); @Import void setTranslationZ(float); @Import void setAnimationMatrix(import61.Matrix); @Import import61.Matrix getAnimationMatrix(); @Import import62.StateListAnimator getStateListAnimator(); @Import void setStateListAnimator(import62.StateListAnimator); @Import bool getClipToOutline(); @Import void setClipToOutline(bool); @Import void setOutlineProvider(import63.ViewOutlineProvider); @Import import63.ViewOutlineProvider getOutlineProvider(); @Import void invalidateOutline(); @Import void setOutlineSpotShadowColor(int); @Import int getOutlineSpotShadowColor(); @Import void setOutlineAmbientShadowColor(int); @Import int getOutlineAmbientShadowColor(); @Import void getHitRect(import10.Rect); @Import void getFocusedRect(import10.Rect); @Import bool getGlobalVisibleRect(import10.Rect, import25.Point); @Import bool getGlobalVisibleRect(import10.Rect); @Import bool getLocalVisibleRect(import10.Rect); @Import void offsetTopAndBottom(int); @Import void offsetLeftAndRight(int); @Import import3.ViewGroup_LayoutParams getLayoutParams(); @Import void setLayoutParams(import3.ViewGroup_LayoutParams); @Import void scrollTo(int, int); @Import void scrollBy(int, int); @Import void invalidate(import10.Rect); @Import void invalidate(int, int, int, int); @Import void invalidate(); @Import bool isOpaque(); @Import import64.Handler getHandler(); @Import bool post(import65.Runnable); @Import bool postDelayed(import65.Runnable, long); @Import void postOnAnimation(import65.Runnable); @Import void postOnAnimationDelayed(import65.Runnable, long); @Import bool removeCallbacks(import65.Runnable); @Import void postInvalidate(); @Import void postInvalidate(int, int, int, int); @Import void postInvalidateDelayed(long); @Import void postInvalidateDelayed(long, int, int, int, int); @Import void postInvalidateOnAnimation(); @Import void postInvalidateOnAnimation(int, int, int, int); @Import void computeScroll(); @Import bool isHorizontalFadingEdgeEnabled(); @Import void setHorizontalFadingEdgeEnabled(bool); @Import bool isVerticalFadingEdgeEnabled(); @Import void setVerticalFadingEdgeEnabled(bool); @Import bool isHorizontalScrollBarEnabled(); @Import void setHorizontalScrollBarEnabled(bool); @Import bool isVerticalScrollBarEnabled(); @Import void setVerticalScrollBarEnabled(bool); @Import void setScrollbarFadingEnabled(bool); @Import bool isScrollbarFadingEnabled(); @Import int getScrollBarDefaultDelayBeforeFade(); @Import void setScrollBarDefaultDelayBeforeFade(int); @Import int getScrollBarFadeDuration(); @Import void setScrollBarFadeDuration(int); @Import int getScrollBarSize(); @Import void setScrollBarSize(int); @Import void setScrollBarStyle(int); @Import int getScrollBarStyle(); @Import bool canScrollHorizontally(int); @Import bool canScrollVertically(int); @Import void onScreenStateChanged(int); @Import void onRtlPropertiesChanged(int); @Import bool canResolveLayoutDirection(); @Import bool isLayoutDirectionResolved(); @Import import66.IBinder getWindowToken(); @Import import67.WindowId getWindowId(); @Import import66.IBinder getApplicationWindowToken(); @Import import68.Display getDisplay(); @Import void cancelPendingInputEvents(); @Import void onCancelPendingInputEvents(); @Import void saveHierarchyState(import49.SparseArray); @Import void restoreHierarchyState(import49.SparseArray); @Import long getDrawingTime(); @Import void setDuplicateParentStateEnabled(bool); @Import bool isDuplicateParentStateEnabled(); @Import void setLayerType(int, import69.Paint); @Import void setLayerPaint(import69.Paint); @Import int getLayerType(); @Import void buildLayer(); @Import void setDrawingCacheEnabled(bool); @Import bool isDrawingCacheEnabled(); @Import import70.Bitmap getDrawingCache(); @Import import70.Bitmap getDrawingCache(bool); @Import void destroyDrawingCache(); @Import void setDrawingCacheBackgroundColor(int); @Import int getDrawingCacheBackgroundColor(); @Import void buildDrawingCache(); @Import void buildDrawingCache(bool); @Import bool isInEditMode(); @Import bool isHardwareAccelerated(); @Import void setClipBounds(import10.Rect); @Import import10.Rect getClipBounds(); @Import bool getClipBounds(import10.Rect); @Import void draw(import71.Canvas); @Import int getSolidColor(); @Import bool isLayoutRequested(); @Import void setLeftTopRightBottom(int, int, int, int); @Import import72.Resources getResources(); @Import void invalidateDrawable(import33.Drawable); @Import void scheduleDrawable(import33.Drawable, import65.Runnable, long); @Import void unscheduleDrawable(import33.Drawable, import65.Runnable); @Import void unscheduleDrawable(import33.Drawable); @Import void drawableHotspotChanged(float, float); @Import void refreshDrawableState(); @Import int[] getDrawableState(); @Import void setBackgroundColor(int); @Import void setBackgroundResource(int); @Import void setBackground(import33.Drawable); @Import void setBackgroundDrawable(import33.Drawable); @Import import33.Drawable getBackground(); @Import void setBackgroundTintList(import73.ColorStateList); @Import import73.ColorStateList getBackgroundTintList(); @Import void setBackgroundTintMode(import74.PorterDuff_Mode); @Import void setBackgroundTintBlendMode(import75.BlendMode); @Import import74.PorterDuff_Mode getBackgroundTintMode(); @Import import75.BlendMode getBackgroundTintBlendMode(); @Import import33.Drawable getForeground(); @Import void setForeground(import33.Drawable); @Import int getForegroundGravity(); @Import void setForegroundTintList(import73.ColorStateList); @Import import73.ColorStateList getForegroundTintList(); @Import void setForegroundTintMode(import74.PorterDuff_Mode); @Import void setForegroundTintBlendMode(import75.BlendMode); @Import import74.PorterDuff_Mode getForegroundTintMode(); @Import import75.BlendMode getForegroundTintBlendMode(); @Import void onDrawForeground(import71.Canvas); @Import void setPadding(int, int, int, int); @Import void setPaddingRelative(int, int, int, int); @Import int getSourceLayoutResId(); @Import int getPaddingTop(); @Import int getPaddingBottom(); @Import int getPaddingLeft(); @Import int getPaddingStart(); @Import int getPaddingRight(); @Import int getPaddingEnd(); @Import bool isPaddingRelative(); @Import void setSelected(bool); @Import bool isSelected(); @Import void setActivated(bool); @Import bool isActivated(); @Import import76.ViewTreeObserver getViewTreeObserver(); @Import import2.View getRootView(); @Import void transformMatrixToGlobal(import61.Matrix); @Import void transformMatrixToLocal(import61.Matrix); @Import void getLocationOnScreen(int[]); @Import void getLocationInWindow(int[]); @Import import2.View findViewById(int); @Import import2.View requireViewById(int); @Import import2.View findViewWithTag(IJavaObject); @Import void setId(int); @Import int getId(); @Import long getUniqueDrawingId(); @Import IJavaObject getTag(); @Import void setTag(IJavaObject); @Import IJavaObject getTag(int); @Import void setTag(int, IJavaObject); @Import bool isInLayout(); @Import void requestLayout(); @Import void forceLayout(); @Import void measure(int, int); @Import static int combineMeasuredStates(int, int); @Import static int resolveSize(int, int); @Import static int resolveSizeAndState(int, int, int); @Import static int getDefaultSize(int, int); @Import int getMinimumHeight(); @Import void setMinimumHeight(int); @Import int getMinimumWidth(); @Import void setMinimumWidth(int); @Import import6.Animation getAnimation(); @Import void startAnimation(import6.Animation); @Import void clearAnimation(); @Import void setAnimation(import6.Animation); @Import void playSoundEffect(int); @Import bool performHapticFeedback(int); @Import bool performHapticFeedback(int, int); @Import void setSystemUiVisibility(int); @Import int getSystemUiVisibility(); @Import int getWindowSystemUiVisibility(); @Import void onWindowSystemUiVisibilityChanged(int); @Import void setOnSystemUiVisibilityChangeListener(import77.View_OnSystemUiVisibilityChangeListener); @Import bool startDrag(import78.ClipData, import79.View_DragShadowBuilder, IJavaObject, int); @Import bool startDragAndDrop(import78.ClipData, import79.View_DragShadowBuilder, IJavaObject, int); @Import void cancelDragAndDrop(); @Import void updateDragShadow(import79.View_DragShadowBuilder); @Import bool onDragEvent(import15.DragEvent); @Import static import2.View inflate(import0.Context, int, import80.ViewGroup); @Import int getOverScrollMode(); @Import void setOverScrollMode(int); @Import void setNestedScrollingEnabled(bool); @Import bool isNestedScrollingEnabled(); @Import bool startNestedScroll(int); @Import void stopNestedScroll(); @Import bool hasNestedScrollingParent(); @Import bool dispatchNestedScroll(int, int, int, int, int[]); @Import bool dispatchNestedPreScroll(int, int, int, int[][]); @Import bool dispatchNestedFling(float, float, bool); @Import bool dispatchNestedPreFling(float, float); @Import void setTextDirection(int); @Import int getTextDirection(); @Import bool canResolveTextDirection(); @Import bool isTextDirectionResolved(); @Import void setTextAlignment(int); @Import int getTextAlignment(); @Import bool canResolveTextAlignment(); @Import bool isTextAlignmentResolved(); @Import static int generateViewId(); @Import void setPointerIcon(import18.PointerIcon); @Import import18.PointerIcon getPointerIcon(); @Import bool hasPointerCapture(); @Import void requestPointerCapture(); @Import void releasePointerCapture(); @Import void onPointerCaptureChange(bool); @Import bool onCapturedPointerEvent(import17.MotionEvent); @Import void setOnCapturedPointerListener(import81.View_OnCapturedPointerListener); @Import import82.ViewPropertyAnimator animate(); @Import void setTransitionName(string); @Import string getTransitionName(); @Import void setTooltipText(import4.CharSequence); @Import import4.CharSequence getTooltipText(); @Import void addOnUnhandledKeyEventListener(import83.View_OnUnhandledKeyEventListener); @Import void removeOnUnhandledKeyEventListener(import83.View_OnUnhandledKeyEventListener); @Import import84.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @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/widget/TextSwitcher;"; }
D
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/Objects-normal/x86_64/PieChartDataSet.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /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/ObjectiveC.apinotesc /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/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/AppKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/unextended-module.modulemap /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/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.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/AppKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuickLook.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/Objects-normal/x86_64/PieChartDataSet~partial.swiftmodule : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /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/ObjectiveC.apinotesc /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/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/AppKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/unextended-module.modulemap /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/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.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/AppKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuickLook.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/Objects-normal/x86_64/PieChartDataSet~partial.swiftdoc : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /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/ObjectiveC.apinotesc /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/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/AppKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/unextended-module.modulemap /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/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.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/AppKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XPC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/QuickLook.apinotesc
D
/Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/build/GitProject.build/Debug-iphoneos/GitProject.build/Objects-normal/armv7/ViewController.o : /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/GitProject/ViewController.swift /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/GitProject/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreImage.swiftmodule /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/build/GitProject.build/Debug-iphoneos/GitProject.build/Objects-normal/armv7/ViewController~partial.swiftmodule : /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/GitProject/ViewController.swift /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/GitProject/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreImage.swiftmodule /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/build/GitProject.build/Debug-iphoneos/GitProject.build/Objects-normal/armv7/ViewController~partial.swiftdoc : /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/GitProject/ViewController.swift /Users/fengxueshi/个人集合/IOS_WorkSpace/GitProject/GitProject/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/armv7/CoreImage.swiftmodule
D
/Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/GraphResponse.o : /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFURL.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTask.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/Bolts.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/GraphResponse~partial.swiftmodule : /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFURL.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTask.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/Bolts.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/GraphResponse~partial.swiftdoc : /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventParameterName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventName.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Optional+OnSome.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponse.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.Delegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKApplicationDelegate.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphResponseProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Builtin.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphAPIVersion.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/Permission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/ReadPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Permissions/PublishPermission.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestConnection.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Internal/Extensions/Dictionary+KeyValueMap.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKLoggingBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEventsLogger.FlushBehavior.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/Common/SDKSettings.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.FetchResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestResult.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestDataAttachment.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequest.swift /Users/zecheng/iosDevelop/secondHand/Pods/FacebookCore/Sources/Core/UserProfile/UserProfile.PictureView.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/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFURL.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/Bolts/Bolts-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFGeneric.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenSource.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTaskCompletionSource.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkResolving.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLink.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFTask.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationToken.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkNavigation.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFCancellationTokenRegistration.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererController.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFWebViewAppLinkResolver.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/BFExecutor.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMacros.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/Common/Bolts.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppEvents.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkTarget.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFMeasurementEvent.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/zecheng/iosDevelop/secondHand/Pods/Bolts/Bolts/iOS/BFAppLinkReturnToRefererView.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/zecheng/iosDevelop/secondHand/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Bolts.build/module.modulemap /Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/Users/wireless/Desktop/swift/apps/MiraclePill/build/MiraclePill.build/Debug-iphoneos/MiraclePill.build/Objects-normal/arm64/ViewController.o : /Users/wireless/Desktop/swift/apps/MiraclePill/MiraclePill/AppDelegate.swift /Users/wireless/Desktop/swift/apps/MiraclePill/MiraclePill/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreText.apinotesc /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/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/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/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/wireless/Desktop/swift/apps/MiraclePill/build/MiraclePill.build/Debug-iphoneos/MiraclePill.build/Objects-normal/arm64/ViewController~partial.swiftmodule : /Users/wireless/Desktop/swift/apps/MiraclePill/MiraclePill/AppDelegate.swift /Users/wireless/Desktop/swift/apps/MiraclePill/MiraclePill/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreText.apinotesc /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/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/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/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/wireless/Desktop/swift/apps/MiraclePill/build/MiraclePill.build/Debug-iphoneos/MiraclePill.build/Objects-normal/arm64/ViewController~partial.swiftdoc : /Users/wireless/Desktop/swift/apps/MiraclePill/MiraclePill/AppDelegate.swift /Users/wireless/Desktop/swift/apps/MiraclePill/MiraclePill/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreText.apinotesc /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/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/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/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
D
module modules.ai; import std.conv; import std.exception; import std.stdio; import painlessjson : toJSON; import changes.worldproxy; import game; import globals : g_worldPath; import modules.module_; import modules.path; import unit; import cgy.util.filesystem; import cgy.util.util; import scheduler : scheduler; class AIModule : Module, WorldStateListener { static struct UnitState { Unit unit; int restTime; PathModule pathmodule; void runState(WorldProxy world) { restTime = unit.tick(world, pathmodule); } } static struct UnitStateJson { this(UnitState state) { unitId = state.unit.id; restTime = state.restTime; } uint unitId; int restTime; } PathModule pathmodule; WorldState world; UnitState[Unit] states; this(PathModule pathmodule_, WorldState w) { pathmodule = pathmodule_; world = w; world.addListener(this); } bool destroyed; ~this(){ BREAK_IF(!destroyed); } void destroy() { destroyed = true; } JSONValue serializeState(UnitState state) { UnitStateJson data = UnitStateJson(state); return data.toJSON; } override void serializeModule() { //module interface JSONValue[] jsonStates; foreach (state; states) { jsonStates ~= serializeState(state); } auto jsonRoot = JSONValue(jsonStates); auto jsonString = jsonRoot.toString; mkdir(g_worldPath ~ "/modules/ai"); std.file.write(g_worldPath ~ "/modules/ai/states.json", jsonString); } override void deserializeModule() { //module interface pragma(msg, "Implement AIModule.deserializeModule()"); } override void update(WorldState world) { //module interface foreach (ref state; states) { if (state.unit.ai is null) continue; if (state.restTime > 0) { state.restTime -= 1; continue; } assert (state.restTime == 0); scheduler.push(task(&state.runState)); } } void addUnit(Unit unit) { states[unit] = UnitState(unit, 0, pathmodule); } void removeUnit(Unit unit) { states.remove(unit); } override void onAddUnit(SectorNum num, Unit unit) { addUnit(unit); } void onAddEntity(SectorNum, Entity) { } override void onSectorLoad(SectorNum num) { } override void onSectorUnload(SectorNum num) { } override void onTileChange(TilePos) { } void onUpdateGeometry(TilePos tilePos) { } void onBuildGeometry(SectorNum sectorNum) { } }
D
instance Mod_1775_DMB_Beschwoerer_PAT (Npc_Default) { //-------- primary data -------- name = NAME_Beschwoerer; npctype = npctype_main; guild = GIL_DMT; level = 50; voice = 2; id = 1775; aivar[AIV_MagicUser] = MAGIC_ALWAYS; //-------- visuals -------- // animations Mdl_SetVisual (self,"HUMANS.MDS"); Mdl_ApplyOverlayMds (self,"Humans_MAGE.mds"); // body mesh, head mesh, hairmesh, face-tex, hair-tex, skin B_SetNpcVisual (self, MALE, "Hum_Head_FatBald",195 , BodyTex_B, ITAR_XARDAS); Mdl_SetModelFatness (self, 0); EquipItem (self, ItMW_BeliarStab); fight_tactic = FAI_HUMAN_MASTER; //-------- Talents -------- B_SetAttributesToChapter (self, 6); B_SetFightSkills (self, 65); //-------- inventory -------- //-------------Daily Routine------------- daily_routine = Rtn_start_1775; }; FUNC VOID Rtn_start_1775 () { TA_Stand_WP (21,00,04,00,"WP_PAT_WEG_34"); TA_Stand_WP (04,00,21,00,"WP_PAT_WEG_34"); };
D
/******************************************************************************* * Copyright (c) 2004, 2006 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: * Initial implementation - Gunnar Ahlberg (IBS AB, www.ibs.net) * IBM Corporation - further revisions * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtx.jface.viewers.ITableColorProvider; import dwt.graphics.Color; /** * Interface to provide color representation for a given cell within * the row for an element in a table. * @since 3.1 */ public interface ITableColorProvider { /** * Provides a foreground color for the given element. * * @param element the element * @param columnIndex the zero-based index of the column in which * the color appears * @return the foreground color for the element, or <code>null</code> to * use the default foreground color */ Color getForeground(Object element, int columnIndex); /** * Provides a background color for the given element at the specified index * * @param element the element * @param columnIndex the zero-based index of the column in which the color appears * @return the background color for the element, or <code>null</code> to * use the default background color * */ Color getBackground(Object element, int columnIndex); }
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.build/WebSocketFormatErrors.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+Send.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/Frame.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Connection/WebSockets+Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/Fragmentation.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/FrameSerializer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/FrameDeserializer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/WebSocket+Error.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+ControlFrames.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/WebSockets+Flags.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/WebSocketFormatErrors.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Connection/Headers+WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Request+WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/WebSocket.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Client/WebSocket+Client.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/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/Sockets.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/WebSockets.build/WebSocketFormatErrors~partial.swiftmodule : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+Send.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/Frame.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Connection/WebSockets+Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/Fragmentation.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/FrameSerializer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/FrameDeserializer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/WebSocket+Error.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+ControlFrames.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/WebSockets+Flags.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/WebSocketFormatErrors.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Connection/Headers+WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Request+WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/WebSocket.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Client/WebSocket+Client.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/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/Sockets.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/WebSockets.build/WebSocketFormatErrors~partial.swiftdoc : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+Send.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/Frame.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Connection/WebSockets+Hash.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/Fragmentation.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/FrameSerializer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/FrameDeserializer.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/WebSocket+Error.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+ControlFrames.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Serialization/WebSockets+Flags.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/WebSocketFormatErrors.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Connection/Headers+WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Request+WebSockets.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Model/WebSocket.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Client/WebSocket+Client.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/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/Sockets.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 android.java.android.media.Session2Command_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import2 = android.java.java.lang.Class_d_interface; import import1 = android.java.android.os.Parcel_d_interface; import import0 = android.java.android.os.Bundle_d_interface; final class Session2Command : IJavaObject { static immutable string[] _d_canCastTo = [ "android/os/Parcelable", ]; @Import this(int); @Import this(string, import0.Bundle); @Import int getCommandCode(); @Import string getCustomAction(); @Import import0.Bundle getCustomExtras(); @Import int describeContents(); @Import void writeToParcel(import1.Parcel, int); @Import bool equals(IJavaObject); @Import int hashCode(); @Import import2.Class getClass(); @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/media/Session2Command;"; }
D
the repetition of consonants (or consonant patterns) especially at the ends of words the property of sounding harmonious
D
/* * Copyright 2015-2018 HuntLabs.cn * * 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. */ module hunt.sql.parser.NotAllowCommentException; import hunt.sql.parser.ParserException; public class NotAllowCommentException : ParserException { private static long serialVersionUID = 1L; public this(){ this("comment not allow"); } public this(string message, Throwable e){ super(message, e); } public this(string message){ super(message); } }
D
module ws.log; import std.file, std.datetime, ws.io; class Log { static string path = "errors.log"; static void info(string s){ append(path, "\n[INFO] " ~ Clock.currTime().toString() ~ "\n" ~ s ~ "\n"); writeln("[INFO] " ~ s); } static void warning(string s){ append(path, "\n[WARNING] " ~ Clock.currTime().toString() ~ "\n" ~ s ~ "\n"); writeln("[WARNING] " ~ s); } static void error(string s){ append(path, "\n[ERROR] " ~ Clock.currTime().toString() ~ "\n" ~ s ~ "\n"); writeln("[ERROR] " ~ s); } }
D
# FIXED F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/source/F2837xD_GlobalVariableDefs.c F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_device.h F2837xD_GlobalVariableDefs.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/assert.h F2837xD_GlobalVariableDefs.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/linkage.h F2837xD_GlobalVariableDefs.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdarg.h F2837xD_GlobalVariableDefs.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdbool.h F2837xD_GlobalVariableDefs.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stddef.h F2837xD_GlobalVariableDefs.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdint.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_adc.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_analogsubsys.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_cla.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_cmpss.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_cputimer.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_dac.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_dcsm.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_dma.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_ecap.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_emif.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_epwm.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_epwm_xbar.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_eqep.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_flash.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_gpio.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_i2c.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_input_xbar.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_ipc.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_mcbsp.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_memconfig.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_nmiintrupt.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_output_xbar.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_piectrl.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_pievect.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_sci.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_sdfm.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_spi.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_sysctrl.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_upp.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_xbar.h F2837xD_GlobalVariableDefs.obj: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_xint.h C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/source/F2837xD_GlobalVariableDefs.c: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_device.h: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/assert.h: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/linkage.h: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdarg.h: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdbool.h: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stddef.h: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdint.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_adc.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_analogsubsys.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_cla.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_cmpss.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_cputimer.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_dac.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_dcsm.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_dma.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_ecap.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_emif.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_epwm.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_epwm_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_eqep.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_flash.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_gpio.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_i2c.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_input_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_ipc.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_mcbsp.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_memconfig.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_nmiintrupt.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_output_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_piectrl.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_pievect.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_sci.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_sdfm.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_spi.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_sysctrl.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_upp.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_xbar.h: C:/ti/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include/F2837xD_xint.h:
D
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab6/user/target/rls/riscv64imac-unknown-none-elf/debug/deps/buddy_system_allocator-7cb9ea0b4e1d1d10.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/frame.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/linked_list.rs /home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab6/user/target/rls/riscv64imac-unknown-none-elf/debug/deps/buddy_system_allocator-7cb9ea0b4e1d1d10.d: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/frame.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/linked_list.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/lib.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/frame.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/buddy_system_allocator-0.3.9/src/linked_list.rs:
D
/Users/NMB12/Documents/caregiverapp/DerivedData/ReMindr/Build/Intermediates/ReMindr.build/Debug-iphoneos/ReMindr.build/Objects-normal/arm64/PoliceStationDetailsViewController.o : /Users/NMB12/Documents/caregiverapp/ReMindr/CustomPointAnnotation.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouriteCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCollectionViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceStationDetailsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceWebDetailsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCellCollectionViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCollectionAddPhotoHandler.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouritesTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Reminder.swift /Users/NMB12/Documents/caregiverapp/ReMindr/GeoSettingsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FastestRouteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AppDelegate.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyContact.swift /Users/NMB12/Documents/caregiverapp/ReMindr/NotificationTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Photo.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddReminderViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddLocationViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Geofence.swift /Users/NMB12/Documents/caregiverapp/ReMindr/photoInfoViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceStation.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicTableViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddContactViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/LocationViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/DetailViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/MapViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/ViewFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EditFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouriteOnlyViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyContactsTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/ZoomTransitioningDelegate.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Reachability.swift /Users/NMB12/Documents/caregiverapp/ReMindr/GeofencingViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyTableViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Favourite.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Panic.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicMapViewController.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/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Users/NMB12/Documents/caregiverapp/Pods/Firebase/Core/Sources/module.modulemap /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/MapKit.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/QuartzCore.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/CoreLocation.swiftmodule /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/Firebase/Core/Sources/Firebase.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Users/NMB12/Documents/caregiverapp/DerivedData/ReMindr/Build/Intermediates/ReMindr.build/Debug-iphoneos/ReMindr.build/Objects-normal/arm64/PoliceStationDetailsViewController~partial.swiftmodule : /Users/NMB12/Documents/caregiverapp/ReMindr/CustomPointAnnotation.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouriteCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCollectionViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceStationDetailsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceWebDetailsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCellCollectionViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCollectionAddPhotoHandler.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouritesTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Reminder.swift /Users/NMB12/Documents/caregiverapp/ReMindr/GeoSettingsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FastestRouteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AppDelegate.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyContact.swift /Users/NMB12/Documents/caregiverapp/ReMindr/NotificationTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Photo.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddReminderViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddLocationViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Geofence.swift /Users/NMB12/Documents/caregiverapp/ReMindr/photoInfoViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceStation.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicTableViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddContactViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/LocationViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/DetailViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/MapViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/ViewFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EditFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouriteOnlyViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyContactsTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/ZoomTransitioningDelegate.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Reachability.swift /Users/NMB12/Documents/caregiverapp/ReMindr/GeofencingViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyTableViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Favourite.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Panic.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicMapViewController.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/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Users/NMB12/Documents/caregiverapp/Pods/Firebase/Core/Sources/module.modulemap /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/MapKit.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/QuartzCore.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/CoreLocation.swiftmodule /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/Firebase/Core/Sources/Firebase.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule /Users/NMB12/Documents/caregiverapp/DerivedData/ReMindr/Build/Intermediates/ReMindr.build/Debug-iphoneos/ReMindr.build/Objects-normal/arm64/PoliceStationDetailsViewController~partial.swiftdoc : /Users/NMB12/Documents/caregiverapp/ReMindr/CustomPointAnnotation.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouriteCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCollectionViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceStationDetailsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceWebDetailsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCellCollectionViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PhotoCollectionAddPhotoHandler.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouritesTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Reminder.swift /Users/NMB12/Documents/caregiverapp/ReMindr/GeoSettingsViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FastestRouteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AppDelegate.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyContact.swift /Users/NMB12/Documents/caregiverapp/ReMindr/NotificationTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Photo.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddReminderViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddLocationViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Geofence.swift /Users/NMB12/Documents/caregiverapp/ReMindr/photoInfoViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PoliceStation.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicTableViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddContactViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/LocationViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/DetailViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/MapViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/ViewFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EditFavouriteViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/FavouriteOnlyViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyContactsTableViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/ZoomTransitioningDelegate.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Reachability.swift /Users/NMB12/Documents/caregiverapp/ReMindr/GeofencingViewController.swift /Users/NMB12/Documents/caregiverapp/ReMindr/EmergencyTableViewCell.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Favourite.swift /Users/NMB12/Documents/caregiverapp/ReMindr/Panic.swift /Users/NMB12/Documents/caregiverapp/ReMindr/PanicMapViewController.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/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Users/NMB12/Documents/caregiverapp/Pods/Firebase/Core/Sources/module.modulemap /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/MapKit.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/QuartzCore.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/CoreLocation.swiftmodule /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTaskSnapshot.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageUploadTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageReference.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageMetadata.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageObservableTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageDownloadTask.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorageConstants.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FIRStorage.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Headers/FirebaseStorage.h /Users/NMB12/Documents/caregiverapp/Pods/FirebaseStorage/Frameworks/FirebaseStorage.framework/Modules/module.modulemap /Users/NMB12/Documents/caregiverapp/Pods/Firebase/Core/Sources/Firebase.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreData.swiftmodule
D
1 edwin_s_porter 28675 bruce_malmuth 6148 stuart_heisler 18439 tom_gries 32776 gregory_nava 12299 david_swift_ii 6157 s_sylvan_simon 22542 don__edmonds 15 dw_griffith 14352 arthur_hiller 12306 ken_annakin 6165 leslie_arliss 14359 ermanno_olmi 24601 randal_kleiser 30746 amy_heckerling 2075 leni_riefenstahl 27279 robert-kaylor 29019 moustapha_akkad 2084 george_stevens 32805 joshua_white 4139 john_huston 13845 john_ford_henry_hathaway 26670 jeannot_szwarc 4144 orson_welles 28780 ivan_passer 2099 1028179-william_a_seiter 6198 jean_delannoy 8248 roy_del_ruth 31412 mikael_ekman 22592 diego_munoz 20547 franco_zeffirelli 10309 roger_corman 22598 bill_rebane 8263 brian_desmond_hurst 16457 jiri_menzel 3767 edward_buzzell 2126 sam_wood 6232 harve_foster 29028 robert_guenette 22618 just_jaeckin 12380 john_llewellyn_moxey 8287 charles_lamont 24674 john_de_bello 100 charlie_chaplin 2149 1050292-david_butler 8294 robert_pirosh 12391 jeanluc_godard 16489 jun_fukuda 15893 claude_lelouch 16494 volker_schloendorff 25277 robert_zemeckis 24690 chia-liang-liu 10358 francis_d_lyon 119 yakov_protazanov 22648 frank_beyer 16505 kihachi_okamoto 10367 leslie_norman 30849 amy_holden_jones 2178 robert_n_bradbury 13675 _0668227 132 daniel_bressanutti 135 fritz_lang 32904 mel_damski 16522 silvio_narizzano 16407 david_lane 12428 jamie_nolan 8334 _0823906 2192 gregory_la_cava 16529 king_hu 20626 kenji_misumi 148 herbert_blache 28822 sam_raimi 18588 mel_brooks 28829 hector_babenco 28016 lasse_aberg 16547 shohei_imamura 14500 anton_leader 166 robert_wiene 24743 steve_rash 6315 alfred_e_green 30830 boaz_davidson 26995 floyd_mutrux 6325 bj_alexander 8376 budd_boetticher 12473 karel_reisz 2234 robert_z_leonard 187 carl_boese 714 carl_theodor_dreyer 23943 joe_camp 18630 denis_sanders 22732 _0587706 16590 eric_rohmer 28024 marino_girolami 4308 spencer_williams 14550 richard_lester 20534 william_crain 10460 robert_d_webb 13690 roman_polanski 223 fw_murnau 30946 thomas_k_avildsen 31582 robert_towne 10469 gerd_oswald 14570 guy_hamilton 20716 sarah_kernochan 4335 sidney_lanfield 20724 buichi_saito 14581 sergio_leone 16638 stuart_rosenberg 20735 franco_brusati 2304 charlie_s_chaplin 14595 hiroshi_teshigahara 260 john_s_robertson 12550 lewis_gilbert 15148 sergei_parajanov 31515 paolo_taviani 28938 dusan_makavejev 27116 michael_nankin 4366 arthur_lubin 27352 alvin_rakoff 274 dorothy_arzner 26330 neal_israel 30768 peter_greenaway 22820 joan_micklin_silver 31017 graeme_ferguson 10538 valentine_davies 6443 sidney_gilliat 19506 laslo_benedek 2351 william_wyler 20785 arthur_marks 22834 david_cronenberg 25310 _0434211 312 benjamin_christensen 20793 rene_laloux 16700 john_allison 6461 akira_kurosawa 22923 dan_curtis 325 robert_flaherty 28998 joel_m_reed 18760 john_hough 26954 art_linson 6475 george_seaton 16717 james_clavell 19853 peter_sasdy 32824 clive_a_smith 29011 jean_rollin 14676 william_asher 5518 vittorio_de_sica 24918 donald_wrye 20824 sf_brownrigg 29655 james_cameron 10587 nunnally_johnson 348 fred_c_newmeyer 6495 mitchell_leisen 14690 don_weis 26980 taylor_hackford 16744 michael_winner 361 buster-keaton-jr 31083 steno 16749 winston_hibler 10606 arnold_laven 29039 andrea-bianchi 24944 edouard_molinaro 10611 jack_pollexfen 32337 anne_julien 31097 albert_pyun 6523 joseph_l_mankiewicz 22914 nagisa_oshima 6532 james_edward_grant 31110 tim_burstall 31809 michael_verhoeven 16777 _0111656 2442 william_cameron_menzies 12683 antonioni 19181 alejandro_jodorowsky 23619 frank_d_gilroy 8600 rene_clement 16793 arthur_h_nadel 6554 anthony_mann 4508 michael_powell 27038 bruce_beresford 2463 louis_j_gasnier 13040 cy_endfield 14756 walter_grauman 8617 henry_levin 26695 jeffrey_bloom 6576 elia_kazan 14769 ubaldo_ragona 25535 robert_benton 18505 bernardo_bertolucci 27065 lang_elliott 20923 bernard_mceveety 14780 carl-lerner 20929 marco_ferreri 31170 richard_loncraine 22982 _0445844 455 alfred_hitchcock 10696 albert_lamorisse 31178 les_blank 20942 james_bridges 16849 vilgot_sjoman 31186 david_s_ward 10318 virgil_w_vogel 12758 frank_tashlin 2519 1072502-marc_connelly 23002 alfred-sole 25053 meir_zarchi 12767 1042605-richard_murphy 31204 robert_allman 12773 mikio_naruse 18924 roy_boulting 14829 george_roy_hill 29167 margarethe_von_trotta 6640 douglas_sirk 27431 james_glickenhaus 6642 bill_roberts 15906 harald_reinl 16884 richard_rush 6910 harold_d_schuster 20982 terrence_malick 6647 henry_koster 18937 william_friedkin 23036 alain_tanner 21589 peter_davis 512 sergei_eisenstein 4609 erle_c_kenton 18949 albert_maysles 6662 robert_rosen 14081 herschell_gordon_lewis 18959 sergei_bondarchuk 21009 robin-hardy 16916 david_swift 14869 james_neilson 6678 henry_hathaway 10777 sidney_lumet 19249 mel_stuart 542 rupert_julian 4639 _0478303 8738 richard_fleischer 2595 cecil_b_demille 12836 jerome_robbins 32518 robert_dalva 29224 jeremy_kagan 18985 michael_wadleigh 29447 bill_forsyth 4654 1010653-david_miller 14897 jack_cardiff 563 clyde_bruckman 10335 roger_vadim 23306 michael_schultz 2622 _0176699 10817 terence_fisher 16962 theodore_j_flicker 4675 irving_rapper 8774 phil_karlson 583 bonnie_hill 16971 martin_scorsese 27212 william_lustig 25165 colin_higgins 591 george_fitzmaurice 12882 curtis_harrington 23651 elaine_may 23124 david_lynch 782 georg_wilhelm_pabst 10838 george_abbott 31319 tony_aboyantz 19032 david_monahan 602 albert_parker 12389 terence_young 21088 buzz_kulik 2657 archie_mayo 17001 da_pennebaker 12906 daniel_petrie 25196 john_a_alonzo 27252 _0684509 12917 robert_rossen 22072 jang_hyunsoo 30143 philip_jackson 10877 george_w_george 19073 cy_howard 643 josef_von_sternberg 6792 don_hartman 20588 conrad_rooks 655 walter_ruttmann 19089 melvin_van_peebles 14994 mihalis_kakogiannis 12947 irwin_allen 6805 hc_potter 30710 _0240439 6811 irving_reis 17052 ken_russell 27418 peter_collinson 23198 kevin_connor 673 ja_howe 10914 val_guest 23277 peter_sykes 23206 1041374-james_fargo 21159 alan_gibson 681 paul_leni 3527 dave_fleischer 25262 1041643-david_greene 8879 daniel_davis_edward_d_wood_jr 6832 carol_reed 690 walt_disney 15028 peter_glenville 19125 brian_de_palma 23224 robert_moore 25273 richard_marquand 8890 jack_arnold 24010 don_hulette 31422 pedro_almodovar 4800 john_rawlins 705 1051480-david_sutherland 23238 george_p_cosmatos 12999 gottfried_reinhardt 19145 roy_andersson 2762 enrique_tovar_avalos 6263 bob_cormack 4813 william_keighley 31440 slava_tsukerman 29398 brian_d_clark 15064 kaneto_shindo 4825 billy_wilder 6874 abraham_polonsky 2779 lambert_hillyer 23261 james_frawley 734 edward_m_sedgwick 10975 nathan_juran 19169 eb-clucher 17123 george_a_romero 2788 david_hand 7633 jacques_tati 13034 philip_dunne 25323 yuen_woping 749 _0064600 8944 richard_talmadge 10998 mikhail_kalatozov 29431 geoff_murphy 8957 roy_rowland 11006 stanley_kramer 23298 pupi_avati 19205 dario_argento 775 james_w_horne 21256 robert_clouse 4908 ray_enright 2826 william_dieterle 25047 john_alan_schwartz 11021 boris_petroff 4878 john_farrow 19218 michael_sarne 31507 terry_hughes 29461 hans_iveberg 3545 1042400-george_marshall 20612 george_mccowan 22940 richard_donner 11035 robert_mulligan 796 dziga_verto 800 luis_bunuel 31638 pierre_de_moro 28055 roger_spottiswoode 17189 don-hawks 806 robert_florey 11047 bert_i_gordon 17194 lindsay_anderson 9004 1028855-david_butler 15154 russ_meyer 31225 cetin_inanc 17201 franklin_j_schaffner 2866 jean_renoir 4915 frank_tuttle 821 lewis_milestone 29111 desmond_davis 13116 pier_paolo_pasolini 22191 ken-shapiro 17216 ted_post 9028 george_sidney 26965 harold_ramis 9356 david_macdonald 6986 hamilton_luske 17233 john_boorman 23692 wim_wenders 20805 michael_crichton 9045 eugene_lourie 23382 jeff_lieberman 860 roland_west 2910 sidney_franklin 19296 hal_ashby 6288 hal_walker 11106 andrzej_wajda 13156 george_pal 7013 anatole_litvak 21351 tonino_vale_ii 15208 wojciech_has 21355 john_g_avildsen 19308 nicolas_roeg 2926 julien_duvivier 31602 michael_blakemore 25459 jeff_cochran 27508 adrian_lyne 29807 _0873385 21368 douglas_hickox 9085 samuel_fuller 31614 jean_marie_poire 29567 stanislaw_bareja 23425 1042742-alan_parker 13189 don_chaffey 9095 arthur_hilton 19337 alan_j_pakula 31059 jayne-loader 17291 sergio_corbucci 27533 william_sachs 16877 edward_montagne 21396 toshiya_fujita 918 victor_heerman 29508 william-a-fraker 15258 sidney_j_furie 21404 kinji_fukasaku 13213 sam_peckinpah 7071 joseph_losey 27325 joel_oliansky 5025 roy_william_neill 21410 arthur_barron 9124 charles_frend 27558 julien_temple 32924 sam_firstenberg 23468 jeanjacques_annaud 27566 james_l_conway 13811 chris_marker 24991 john_berry 951 edmund_goulding 3000 king_vidor 19385 ian_mcnaughton 5050 lewis_seiler 13244 pietro_germi 27581 terry_marcel 11199 masaki_kobayashi 19392 boris_sagal 27591 armand_mastroianni 5067 luchino_visconti 3022 henry_king 21456 victor_erice 25554 gary_nelson 979 jean_cocteau 13268 allen_baron 5079 emeric_pressburger 24740 mike_hodges 31636 joe_layton 991 james_whale 31714 gillian_armstrong 9187 charles_marquis_warren 31569 stuart_gillard 25084 derek_jarman 13290 andrei_tarkovsky 7147 charles_walters 29680 alan_myerson 11251 james_a_contner 24243 john_cardos 24404 john-flynn 29692 georges_lautner 21501 christopher-larkin 15361 elliot_silverstein 11270 196111261 8705 daniel_mann 25610 david_lowell_rich 31756 1040953-nick_castle 29709 joseph_zito 7184 jules_dassin 19475 directorjohn_cassavetes 15381 daniel_haller 32601 charles_band 25627 tinto_brass 27676 _0770474 17440 ken_hughes 27682 _0676336 16219 sydney_pollack 25636 don_coscarelli 17585 michael_oherlihy 5160 john_m_stahl 27826 richard_lang 17458 gilberto_de_anda 25653 jamaa_fanaka 27702 slobodan_sijan 17464 michael_reeves 19514 giuliano_montaldo 28170 lewis_coates 27710 ronald_f_maxwell 23392 peter-clifton 5187 henrigeorges_clouzot 9285 1094889-richard_brooks 19527 gordon_parks 21578 antonio_margheriti 30461 steven_lisberger 23631 barbara_kopple 26808 piers_haggard 15442 elio-petri 25683 ivan_reitman 1109 norman_z_mcleod 5206 herman_shumlin 3940 edward-cline 15451 elmar-klos 25786 1042523-george_miller 1893 770890969 1121 rene_clair 20667 _0198790 11365 morton_dacosta 31847 serif-goren 5224 jacques_tourneur 21611 liliana_cavani 23662 ettore_scola 25711 lewis_john_carlino 21617 lina-wertmuller 31858 robert_j_rosenthal 5235 fred_m_wilcox 1140 william_wellman 28339 jeanjacques_beineix 9334 inoshiro-honda 11383 mario_monicelli 15485 guy_green 9343 mario_bava 5248 delmer_daves 19586 robert_fuest 31876 _0588553 3208 anthony_asquith 7308 kenji_mizoguchi 19598 wei_lo 1169 frank_capra 17557 werner_herzog 11415 albert_band 7321 max-ophuls 11418 quentin_lawrence 15516 james_b_harris 25757 ted_kotcheff 3231 dmitri_vasilyev 28886 uli_edel 27810 1122335-charles_kaufman 1187 mervyn_leroy 15525 clive_donner 17576 hubert_cornfield 19629 edwin_sherin 32910 lynne-littman 32285 noel_black 9392 robert_aldrich 11441 lesley_selander 3250 1043170-george_b_seitz 31925 philip_kaufman 30532 andrew_prendergast 29879 emir_kusturica 27832 william_peter_blatty 21690 martin_davidson 14634 john_rich 29890 andrew_bergman 13509 herk_harvey 27850 eric-karson 1229 frank_borzage 11472 ronald_neame 17499 barry_shear 7381 stanley_donen 13526 agnes_varda 25818 franc_roddam 27867 gilbert_cates 7390 james_algar_and_clyde_geronimi 29920 jean_girault 31972 joe-alves 17637 bob_rafelson 11497 melville_shavelson 9451 _0290371 30396 tommy_lee_wallace 23790 john-lounsbery 29565 friz_freleng 3312 _0138893 27890 yasmina-reza 11507 martin_ritt 1270 ernst_lubitsch 23800 james_goldstone 22740 yu_wang 25231 jane_wagner 13545 joseph_green 5372 mark_robson 17705 charles_jarrott 29841 howard_r_cohen 929 clarence_brown 13573 ralph_nelson 32231 george_bowers 25864 john_sayles 15625 george_pollock 7436 anthony_pelissier 13583 basil_dearden 3344 norman_taurog 11537 ralph_thomas 23827 menghwa_ho 19732 jack_hill 29974 ulu_grosbard 19740 rainer_werner_fassbinder 7453 robert_hamer 27937 jay_sandrich 19746 monte_hellman 21041 1041041-larry_cohen 21800 reva_rose 1321 norman_mcleod 2951 marcel_carne 25900 lewis_teague 28210 menahem_golan 27952 _0675479 1331 victor_halperin 21814 jonathan_demme 19771 george_sherman 3389 richard_thorpe 9534 lewis_allen 11585 j_lee_thompson 15682 stephen_c_apostolof 27971 robert_houston 26044 william_richert 13639 abe_levitow 21833 bertrand_blier 11594 arthur_penn 30028 jonas_cornell 5455 thorold_dickinson 20572 bava 19793 george_lucas 30035 errol_morris 24664 martin_rosen 31055 jules_bass 1377 irving_pichel 14094 henri_verneuil 16955 irvin_kershner 15717 1001975-richard_brooks 9579 hiroshi_inagaki 30061 luis_valdez 21872 steve_carver 5489 otto_preminger 22078 jeff_gillen 11639 364630944 25976 harold_becker 23444 lamont_johnson 9594 byron_haskin 15739 bill_melendez 22762 ellen_hovde 5502 norman_ferguson 7552 allan_dwan 19841 richard_c_sarafian 30082 james_ivory 31826 ian_sharp 1413 charles-brabin 5511 edward_dmytryk 17801 robert_butler 32138 paul_brickman 11659 louis_malle 18572 harold_prince 3470 frank_popper 21903 jamie_uys 23952 john_landis 15767 fred_coe 30105 eric_weston 1434 frank_lloyd 11677 renny_bartlett 9631 satyajit_ray 25840 lucio_fulci 7586 robert_wise 26019 bob_clark_iii 30117 edo-bertoglio 5545 leslie_goodwins 3499 1041609-michael_gordon 29938 joe-flood 5551 reginald_le_borg 28232 vernon_zimmerman 21747 michael_cimino 1463 frank_r_strayer 5560 edgarulmer 16211 george_axelrod 7612 nicholas_ray 28094 robert-downey-sr 19903 jerry-schatzberg 20384 perry_henzell 1474 robert_f_hill 29259 gary_sherman 9671 joshua_logan 5577 edward_ludwig 17866 milton_moses_ginsberg 5582 lew_landers 20045 1059231-john_waters 15824 seijun_suzuki 9681 norman_foster 17874 bruce_kessler 26714 sean_s_cunningham 7638 yasujiro_ozu 1495 thornton_freeland 5028 robert_siodmak 28122 robert_greenwald 15837 gillo_pontecorvo 16144 john_guillermin 7650 victor_saville 26084 howard_zieff 9701 clyde_geronimi 30183 gaston_kabore 21994 andy_warhol 24043 1060941-anthony_page 17900 peter_r_hunt 21074 michael_campus 21757 gordon_hessler 19954 steven_spielberg 5619 alf-sjoberg 19956 dalton_trumbo 28150 alan_rudolph 1528 lloyd_bacon 32254 stan_dragoti 29269 wes_craven 15875 mike_nichols 19973 claude_jutra 26120 bill_l_norton 22026 shigehiro_ozawa 13835 gordon_douglas 17935 lee_h_katzin 9749 stanley_kubrick 16896 bud_yorkin 28249 gerald_potterton 27226 vladimir_menshov 18192 james_b_clark 1570 wesley_ruggles 28195 rob_cohen 27793 bertrand_tavernier 11813 francois_truffaut 32296 robert_hiltzik 26204 john_irvin 30250 daniel_vigne 30983 frank_henenlotter 15918 bruce_brown 32444 _0523310 32304 james_signorelli 1585 michael_curtiz 7730 kurt_neumann 17971 haskell_wexler 20021 peter_medak 13879 frank_perry 7736 andrew_marton 11833 william_castle 30266 godfrey_reggio 11836 jack_clayton 1598 rouben_mamoulian 26175 martin_brest 5698 charles_vidor 32324 curtis_hanson 3655 a_edward_sutherland 22088 tobe_hooper 9803 edward_wood 1613 jean_vigo 24142 michael_pressman 15288 claudia_carey 21433 james_william_guercio 22105 jerry_jameson 18012 william_a_graham 22111 jerzy_hoffman 5729 gunther_von_fritsch 1634 george_cukor 26212 abel_ferrara 15974 burt_kennedy 5393 vincente_minnelli 25884 joe-damato 5737 jean_negulesco 26220 walter_hill 28083 william_wiard 28424 hugh-hudson 30321 damiano_damiani 11891 edward_bernds 28276 ted-berman 20085 bernard_mceveety_ii 3702 alfred_l_werker 18025 kevin_reynolds 15993 vincent_mceveety 13946 rudolph_mate 24187 ken_wiederhorn 3708 garson_kanin 23146 amos_poe 22144 josef_rusnak 13956 _0119819 3719 vincent_sherman 1672 ernest_b_schoedsack 22154 1040928-john_carpenter 13977 wolfgang_reitherman 18074 karen_everett 28315 mike_nawrocki 7838 joseph_h_lewis 28319 wolfgang_petersen 26274 allan_arkush 26039 carroll_ballard 27403 joseph_ellison 13993 francisco-perez-dolz 1706 alexander_korda 13597 norman_panama 26290 hayao_miyazaki 11955 ib_melchior 9911 john_sturges 22202 bo_arne_vibenius 11963 grigori_chukhraj_and_valentin_yezhov 5820 abbasmustan 20157 vicente_aranda 21109 john_d_hancock 3778 ben_sharpsteen 15307 kevin_brownlow 9924 kaj_munk 18038 claude_chabrol 18118 leonard_kastle 16073 1041809-james_hill 1422 leo_mccarey 31019 william_dear 9946 melvin_frank 1756 mark_sandrich 18141 jesus_franco 11998 john_boulting 32479 bruce_kimmel 5859 erie_c_kenton 26340 bruce_bilson 28087 _0210130 18154 arthur_allan_seidelman 30445 tim_hunter 29309 sidney_furie 26358 russ_mayberry 13609 freddie_francis 26361 krzysztof_kieslowski 15833 leslie_h_martinson 24316 george_butler 1789 john_cromwell 5886 david_lean 7937 federico_fellini 20226 lee_frost 29995 derek_burbidge 26373 mark_l_lester 1798 charley_rogers 3848 james_algar 22152 jack-haley-jr 23511 bruno_bozzetto 30476 don_bluth 12046 tom_graeff 3856 christy_cabanne 26386 paul_schrader 5914 george_sidney_ii 20252 charles_cozart 1826 stuart_marshall 28451 steve_miner 12070 marcel_camus 23452 fred_schepisi 24199 john_badham 17032 frederick_wiseman 20278 ralph_bakshi 28471 rick-rosenthal 22328 peter_weir 32569 luc_besson 16186 _0417691 7995 wilfred_jackson 18236 jack_couffer 24384 joseph_brooks 10050 richard_brooks_i 1860 1059518-alexander_hall 15815 marco_bellocchio 18401 _0649096 28488 steven_hilliard_stern 16202 alan_rafkin 14156 howard_e_baker 1870 howard_hawks 20304 milton_katselas 10065 ladislaus_vajda 5971 roberto_rossellini 20308 douglas_trumbull 30550 nanni_moretti 14169 john_schlesinger 20314 peter_h_hunt 12123 paul_wendkos 28512 istvan_szabo 8036 christian_nyby 5989 joseph_kane 18278 larry_peerce 23795 craig_schlattman 31378 eric_till 20337 charles_b_pierce 22387 jim_sharman 8054 _0401680 6007 robert_bresson 12153 david_decoteau 3962 victor_schertzinger 10108 edvin_laine 12160 alain_resnais 10115 1063458-michael_anderson 6020 deryn_warren 16261 norman_tokar 29623 glenn_jordan 30017 juliusz_machulski 14219 peter_yates 3981 jean_yarbrough 24463 ruggero_deodato 24466 nikita_mikhalkov 12180 robert_frank 30620 malcolm_leo 24218 director-ridley-scott 10142 don_siegel 6047 walter_lang 14240 norman_jewison 30625 graeme_clifford 32526 peter_markle 12197 kon_ichikawa 8102 _0005789 32682 john_korty 14251 francis_ford_coppola 30638 ken_finkleman 6063 albert_lewin 26544 hank_milestone 32689 dick_maas 13299 john_frankenheimer 22453 philippe_mora 25929 nicholas_meyer 18361 barbet_schroeder 28605 tom_desimone 8130 charles_crichton 26563 desmond_gumbs 28613 lawrence_kasdan 31368 richard_t_heffron 14283 george_englund 24526 peter_hyams 22571 paul_verhoeven 14291 cliff_owen 32729 john_herzfeld 4058 ford_beebe 18395 bernard_l_kowalski 16348 _0319241 8161 alexander_mackendrick 12260 tony_richardson 4070 joe_may 24559 michael_apted 18419 michael_ritchie 24564 lou_adler 22518 armando_crispino 16378 jack_smight 4091 preston_sturges 12285 george_franju 8533 roy_ward_baker
D
module UnrealScript.Engine.DebugCameraInput; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.PlayerInput; import UnrealScript.Core.UObject; extern(C++) interface DebugCameraInput : PlayerInput { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class Engine.DebugCameraInput")); } private static __gshared DebugCameraInput mDefaultProperties; @property final static DebugCameraInput DefaultProperties() { mixin(MGDPC("DebugCameraInput", "DebugCameraInput Engine.Default__DebugCameraInput")); } static struct Functions { private static __gshared ScriptFunction mInputKey; public @property static final ScriptFunction InputKey() { mixin(MGF("mInputKey", "Function Engine.DebugCameraInput.InputKey")); } } final bool InputKey(int ControllerId, ScriptName Key, UObject.EInputEvent Event, float* AmountDepressed = null, bool* bGamepad = null) { ubyte params[28]; params[] = 0; *cast(int*)params.ptr = ControllerId; *cast(ScriptName*)&params[4] = Key; *cast(UObject.EInputEvent*)&params[12] = Event; if (AmountDepressed !is null) *cast(float*)&params[16] = *AmountDepressed; if (bGamepad !is null) *cast(bool*)&params[20] = *bGamepad; (cast(ScriptObject)this).ProcessEvent(Functions.InputKey, params.ptr, cast(void*)0); return *cast(bool*)&params[24]; } }
D
/** Arbitrary-precision ('bignum') arithmetic. * * Performance is optimized for numbers below ~1000 decimal digits. * For X86 machines, highly optimised assembly routines are used. * * The following algorithms are currently implemented: * $(UL * $(LI Karatsuba multiplication) * $(LI Squaring is optimized independently of multiplication) * $(LI Divide-and-conquer division) * $(LI Binary exponentiation) * ) * * For very large numbers, consider using the $(HTTP gmplib.org, GMP library) instead. * * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Don Clugston * Source: $(PHOBOSSRC std/bigint.d) */ /* Copyright Don Clugston 2008 - 2010. * 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.bigint; import std.conv : ConvException; import std.format : FormatSpec, FormatException; import std.internal.math.biguintcore; import std.range.primitives; import std.traits; /** A struct representing an arbitrary precision integer. * * All arithmetic operations are supported, except unsigned shift right (`>>>`). * Bitwise operations (`|`, `&`, `^`, `~`) are supported, and behave as if BigInt was * an infinite length 2's complement number. * * BigInt implements value semantics using copy-on-write. This means that * assignment is cheap, but operations such as x++ will cause heap * allocation. (But note that for most bigint operations, heap allocation is * inevitable anyway.) */ struct BigInt { private: BigUint data; // BigInt adds signed arithmetic to BigUint. bool sign = false; public: /** * Construct a `BigInt` from a decimal or hexadecimal string. The number must * be in the form of a decimal or hex literal. It may have a leading `+` * or `-` sign, followed by `0x` or `0X` if hexadecimal. Underscores are * permitted in any location after the `0x` and/or the sign of the number. * * Params: * s = a finite bidirectional range of any character type * * Throws: * $(REF ConvException, std,conv) if the string doesn't represent a valid number */ this(Range)(Range s) if ( isBidirectionalRange!Range && isSomeChar!(ElementType!Range) && !isInfinite!Range && !isNarrowString!Range) { import std.algorithm.iteration : filterBidirectional; import std.algorithm.searching : startsWith; import std.conv : ConvException; import std.exception : enforce; import std.utf : byChar; enforce!ConvException(!s.empty, "Can't initialize BigInt with an empty range"); bool neg = false; bool ok; data = 0UL; // check for signs and if the string is a hex value if (s.front == '+') { s.popFront(); // skip '+' } else if (s.front == '-') { neg = true; s.popFront(); } if (s.save.startsWith("0x".byChar) || s.save.startsWith("0X".byChar)) { s.popFront; s.popFront; if (!s.empty) ok = data.fromHexString(s.filterBidirectional!(a => a != '_')); else ok = false; } else { ok = data.fromDecimalString(s.filterBidirectional!(a => a != '_')); } enforce!ConvException(ok, "Not a valid numerical string"); if (isZero()) neg = false; sign = neg; } /// ditto this(Range)(Range s) pure if (isNarrowString!Range) { import std.utf : byCodeUnit; this(s.byCodeUnit); } @system unittest { // system because of the dummy ranges eventually call std.array!string import std.exception : assertThrown; import std.internal.test.dummyrange; auto r1 = new ReferenceBidirectionalRange!dchar("101"); auto big1 = BigInt(r1); assert(big1 == BigInt(101)); auto r2 = new ReferenceBidirectionalRange!dchar("1_000"); auto big2 = BigInt(r2); assert(big2 == BigInt(1000)); auto r3 = new ReferenceBidirectionalRange!dchar("0x0"); auto big3 = BigInt(r3); assert(big3 == BigInt(0)); auto r4 = new ReferenceBidirectionalRange!dchar("0x"); assertThrown!ConvException(BigInt(r4)); } /// Construct a `BigInt` from a built-in integral type. this(T)(T x) pure nothrow if (isIntegral!T) { data = data.init; // @@@: Workaround for compiler bug opAssign(x); } /// @system unittest { // @system due to failure in FreeBSD32 ulong data = 1_000_000_000_000; auto bigData = BigInt(data); assert(bigData == BigInt("1_000_000_000_000")); } /// Construct a `BigInt` from another `BigInt`. this(T)(T x) pure nothrow if (is(Unqual!T == BigInt)) { opAssign(x); } /// @system unittest { const(BigInt) b1 = BigInt("1_234_567_890"); BigInt b2 = BigInt(b1); assert(b2 == BigInt("1_234_567_890")); } /// Assignment from built-in integer types. BigInt opAssign(T)(T x) pure nothrow if (isIntegral!T) { data = cast(ulong) absUnsign(x); sign = (x < 0); return this; } /// @system unittest { auto b = BigInt("123"); b = 456; assert(b == BigInt("456")); } /// Assignment from another BigInt. BigInt opAssign(T:BigInt)(T x) pure @nogc { data = x.data; sign = x.sign; return this; } /// @system unittest { auto b1 = BigInt("123"); auto b2 = BigInt("456"); b2 = b1; assert(b2 == BigInt("123")); } /** * Implements assignment operators from built-in integers of the form * `BigInt op= integer`. */ BigInt opOpAssign(string op, T)(T y) pure nothrow if ((op=="+" || op=="-" || op=="*" || op=="/" || op=="%" || op==">>" || op=="<<" || op=="^^" || op=="|" || op=="&" || op=="^") && isIntegral!T) { ulong u = absUnsign(y); static if (op=="+") { data = BigUint.addOrSubInt(data, u, sign != (y<0), sign); } else static if (op=="-") { data = BigUint.addOrSubInt(data, u, sign == (y<0), sign); } else static if (op=="*") { if (y == 0) { sign = false; data = 0UL; } else { sign = ( sign != (y<0) ); data = BigUint.mulInt(data, u); } } else static if (op=="/") { assert(y != 0, "Division by zero"); static if (T.sizeof <= uint.sizeof) { data = BigUint.divInt(data, cast(uint) u); } else { data = BigUint.divInt(data, u); } sign = data.isZero() ? false : sign ^ (y < 0); } else static if (op=="%") { assert(y != 0, "Division by zero"); static if (is(immutable(T) == immutable(long)) || is( immutable(T) == immutable(ulong) )) { this %= BigInt(y); } else { data = cast(ulong) BigUint.modInt(data, cast(uint) u); if (data.isZero()) sign = false; } // x%y always has the same sign as x. // This is not the same as mathematical mod. } else static if (op==">>" || op=="<<") { // Do a left shift if y>0 and <<, or // if y<0 and >>; else do a right shift. if (y == 0) return this; else if ((y > 0) == (op=="<<")) { // Sign never changes during left shift data = data.opBinary!(op)(u); } else { data = data.opBinary!(op)(u); if (data.isZero()) sign = false; } } else static if (op=="^^") { sign = (y & 1) ? sign : false; data = BigUint.pow(data, u); } else static if (op=="|" || op=="&" || op=="^") { BigInt b = y; opOpAssign!op(b); } else static assert(0, "BigInt " ~ op[0..$-1] ~ "= " ~ T.stringof ~ " is not supported"); return this; } /// @system unittest { //@system because opOpAssign is @system auto b = BigInt("1_000_000_000"); b += 12345; assert(b == BigInt("1_000_012_345")); b /= 5; assert(b == BigInt("200_002_469")); } // Issue 16264 @system unittest { auto a = BigInt( `335690982744637013564796917901053301979460129353374296317539383938630086938` ~ `465898213033510992292836631752875403891802201862860531801760096359705447768` ~ `957432600293361240407059207520920532482429912948952142341440301429494694368` ~ `264560802292927144211230021750155988283029753927847924288850436812178022006` ~ `408597793414273953252832688620479083497367463977081627995406363446761896298` ~ `967177607401918269561385622811274398143647535024987050366350585544531063531` ~ `7118554808325723941557169427279911052268935775`); auto b = BigInt( `207672245542926038535480439528441949928508406405023044025560363701392340829` ~ `852529131306106648201340460604257466180580583656068555417076345439694125326` ~ `843947164365500055567495554645796102453565953360564114634705366335703491527` ~ `429426780005741168078089657359833601261803592920462081364401456331489106355` ~ `199133982282631108670436696758342051198891939367812305559960349479160308314` ~ `068518200681530999860641597181672463704794566473241690395901768680673716414` ~ `243691584391572899147223065906633310537507956952626106509069491302359792769` ~ `378934570685117202046921464019396759638376362935855896435623442486036961070` ~ `534574698959398017332214518246531363445309522357827985468581166065335726996` ~ `711467464306784543112544076165391268106101754253962102479935962248302404638` ~ `21737237102628470475027851189594709504`); BigInt c = a * b; // Crashes assert(c == BigInt( `697137001950904057507249234183127244116872349433141878383548259425589716813` ~ `135440660252012378417669596912108637127036044977634382385990472429604619344` ~ `738746224291111527200379708978133071390303850450970292020176369525401803474` ~ `998613408923490273129022167907826017408385746675184651576154302536663744109` ~ `111018961065316024005076097634601030334948684412785487182572502394847587887` ~ `507385831062796361152176364659197432600147716058873232435238712648552844428` ~ `058885217631715287816333209463171932255049134340904981280717725999710525214` ~ `161541960645335744430049558161514565159449390036287489478108344584188898872` ~ `434914159748515512161981956372737022393466624249130107254611846175580584736` ~ `276213025837422102290580044755202968610542057651282410252208599309841499843` ~ `672251048622223867183370008181364966502137725166782667358559333222947265344` ~ `524195551978394625568228658697170315141077913403482061673401937141405425042` ~ `283546509102861986303306729882186190883772633960389974665467972016939172303` ~ `653623175801495207204880400522581834672918935651426160175413277309985678579` ~ `830872397214091472424064274864210953551447463312267310436493480881235642109` ~ `668498742629676513172286703948381906930297135997498416573231570483993847269` ~ `479552708416124555462530834668011570929850407031109157206202741051573633443` ~ `58105600` )); } /** * Implements assignment operators of the form `BigInt op= BigInt`. */ BigInt opOpAssign(string op, T)(T y) pure nothrow if ((op=="+" || op== "-" || op=="*" || op=="|" || op=="&" || op=="^" || op=="/" || op=="%") && is (T: BigInt)) { static if (op == "+") { data = BigUint.addOrSub(data, y.data, sign != y.sign, &sign); } else static if (op == "-") { data = BigUint.addOrSub(data, y.data, sign == y.sign, &sign); } else static if (op == "*") { data = BigUint.mul(data, y.data); sign = isZero() ? false : sign ^ y.sign; } else static if (op == "/") { y.checkDivByZero(); if (!isZero()) { data = BigUint.div(data, y.data); sign = isZero() ? false : sign ^ y.sign; } } else static if (op == "%") { y.checkDivByZero(); if (!isZero()) { data = BigUint.mod(data, y.data); // x%y always has the same sign as x. if (isZero()) sign = false; } } else static if (op == "|" || op == "&" || op == "^") { data = BigUint.bitwiseOp!op(data, y.data, sign, y.sign, sign); } else static assert(0, "BigInt " ~ op[0..$-1] ~ "= " ~ T.stringof ~ " is not supported"); return this; } /// @system unittest { // @system because opOpAssign is @system auto x = BigInt("123"); auto y = BigInt("321"); x += y; assert(x == BigInt("444")); } /** * Implements binary operators between `BigInt`s. */ BigInt opBinary(string op, T)(T y) pure nothrow const if ((op=="+" || op == "*" || op=="-" || op=="|" || op=="&" || op=="^" || op=="/" || op=="%") && is (T: BigInt)) { BigInt r = this; return r.opOpAssign!(op)(y); } /// @system unittest { auto x = BigInt("123"); auto y = BigInt("456"); BigInt z = x * y; assert(z == BigInt("56088")); } /** * Implements binary operators between `BigInt`'s and built-in integers. */ BigInt opBinary(string op, T)(T y) pure nothrow const if ((op=="+" || op == "*" || op=="-" || op=="/" || op=="|" || op=="&" || op=="^"|| op==">>" || op=="<<" || op=="^^") && isIntegral!T) { BigInt r = this; return r.opOpAssign!(op)(y); } /// @system unittest { auto x = BigInt("123"); x *= 300; assert(x == BigInt("36900")); } /** Implements a narrowing remainder operation with built-in integer types. This binary operator returns a narrower, built-in integer type where applicable, according to the following table. $(TABLE , $(TR $(TD `BigInt`) $(TD $(CODE_PERCENT)) $(TD `uint`) $(TD $(RARR)) $(TD `long`)) $(TR $(TD `BigInt`) $(TD $(CODE_PERCENT)) $(TD `long`) $(TD $(RARR)) $(TD `long`)) $(TR $(TD `BigInt`) $(TD $(CODE_PERCENT)) $(TD `ulong`) $(TD $(RARR)) $(TD `BigInt`)) $(TR $(TD `BigInt`) $(TD $(CODE_PERCENT)) $(TD other type) $(TD $(RARR)) $(TD `int`)) ) */ auto opBinary(string op, T)(T y) pure nothrow const if (op == "%" && isIntegral!T) { assert(y != 0, "% 0 not allowed"); // BigInt % uint => long // BigInt % long => long // BigInt % ulong => BigInt // BigInt % other_type => int static if (is(Unqual!T == long) || is(Unqual!T == ulong)) { auto r = this % BigInt(y); static if (is(Unqual!T == long)) { return r.toLong(); } else { // return as-is to avoid overflow return r; } } else { immutable uint u = absUnsign(y); static if (is(Unqual!T == uint)) alias R = long; else alias R = int; R rem = BigUint.modInt(data, u); // x%y always has the same sign as x. // This is not the same as mathematical mod. return sign ? -rem : rem; } } /// @system unittest { auto x = BigInt("1_000_000_500"); long l = 1_000_000L; ulong ul = 2_000_000UL; int i = 500_000; short s = 30_000; assert(is(typeof(x % l) == long) && x % l == 500L); assert(is(typeof(x % ul) == BigInt) && x % ul == BigInt(500)); assert(is(typeof(x % i) == int) && x % i == 500); assert(is(typeof(x % s) == int) && x % s == 10500); } /** Implements operators with built-in integers on the left-hand side and `BigInt` on the right-hand side. */ BigInt opBinaryRight(string op, T)(T y) pure nothrow const if ((op=="+" || op=="*" || op=="|" || op=="&" || op=="^") && isIntegral!T) { return opBinary!(op)(y); } /// @system unittest { auto x = BigInt("100"); BigInt y = 123 + x; assert(y == BigInt("223")); BigInt z = 123 - x; assert(z == BigInt("23")); // Dividing a built-in integer type by BigInt always results in // something that fits in a built-in type, so the built-in type is // returned, not BigInt. assert(is(typeof(1000 / x) == int)); assert(1000 / x == 10); } // BigInt = integer op BigInt /// ditto BigInt opBinaryRight(string op, T)(T y) pure nothrow const if (op == "-" && isIntegral!T) { ulong u = absUnsign(y); BigInt r; static if (op == "-") { r.sign = sign; r.data = BigUint.addOrSubInt(data, u, sign == (y<0), r.sign); r.negate(); } return r; } // integer = integer op BigInt /// ditto T opBinaryRight(string op, T)(T x) pure nothrow const if ((op=="%" || op=="/") && isIntegral!T) { checkDivByZero(); static if (op == "%") { // x%y always has the same sign as x. if (data.ulongLength > 1) return x; immutable u = absUnsign(x); immutable rem = u % data.peekUlong(0); // x%y always has the same sign as x. return cast(T)((x<0) ? -rem : rem); } else static if (op == "/") { if (data.ulongLength > 1) return 0; return cast(T)(x / data.peekUlong(0)); } } // const unary operations /** Implements `BigInt` unary operators. */ BigInt opUnary(string op)() pure nothrow const if (op=="+" || op=="-" || op=="~") { static if (op=="-") { BigInt r = this; r.negate(); return r; } else static if (op=="~") { return -(this+1); } else static if (op=="+") return this; } // non-const unary operations /// ditto BigInt opUnary(string op)() pure nothrow if (op=="++" || op=="--") { static if (op=="++") { data = BigUint.addOrSubInt(data, 1UL, sign, sign); return this; } else static if (op=="--") { data = BigUint.addOrSubInt(data, 1UL, !sign, sign); return this; } } /// @system unittest { auto x = BigInt("1234"); assert(-x == BigInt("-1234")); ++x; assert(x == BigInt("1235")); } /** Implements `BigInt` equality test with other `BigInt`'s and built-in numeric types. */ bool opEquals()(auto ref const BigInt y) const pure @nogc { return sign == y.sign && y.data == data; } /// ditto bool opEquals(T)(const T y) const pure nothrow @nogc if (isIntegral!T) { if (sign != (y<0)) return 0; return data.opEquals(cast(ulong) absUnsign(y)); } /// ditto bool opEquals(T)(const T y) const nothrow @nogc if (isFloatingPoint!T) { // This is a separate function from the isIntegral!T case // due to the impurity of std.math.scalbn which is used // for 80 bit floats. return 0 == opCmp(y); } /// @safe unittest { // Note that when comparing a BigInt to a float or double the // full precision of the BigInt is always considered, unlike // when comparing an int to a float or a long to a double. assert(BigInt(123456789) != cast(float) 123456789); } @system unittest { auto x = BigInt("12345"); auto y = BigInt("12340"); int z = 12345; int w = 54321; assert(x == x); assert(x != y); assert(x == y + 5); assert(x == z); assert(x != w); } @system unittest { import std.math : nextDown, nextUp; const x = BigInt("0x1abc_de80_0000_0000_0000_0000_0000_0000"); BigInt x1 = x + 1; BigInt x2 = x - 1; const d = 0x1.abcde8p124; assert(x == d); assert(x1 != d); assert(x2 != d); assert(x != nextUp(d)); assert(x != nextDown(d)); assert(x != double.nan); const dL = 0x1.abcde8p124L; assert(x == dL); assert(x1 != dL); assert(x2 != dL); assert(x != nextUp(dL)); assert(x != nextDown(dL)); assert(x != real.nan); assert(BigInt(0) == 0.0f); assert(BigInt(0) == 0.0); assert(BigInt(0) == 0.0L); assert(BigInt(0) == -0.0f); assert(BigInt(0) == -0.0); assert(BigInt(0) == -0.0L); assert(BigInt("999_999_999_999_999_999_999_999_999_999_999_999_999") != float.infinity); } /** Implements casting to `bool`. */ T opCast(T:bool)() pure nothrow @nogc const { return !isZero(); } /// @system unittest { // Non-zero values are regarded as true auto x = BigInt("1"); auto y = BigInt("10"); assert(x); assert(y); // Zero value is regarded as false auto z = BigInt("0"); assert(!z); } /** Implements casting to integer types. Throws: $(REF ConvOverflowException, std,conv) if the number exceeds the target type's range. */ T opCast(T:ulong)() pure const { if (isUnsigned!T && sign) { /* throw */ } else if (data.ulongLength == 1) { ulong l = data.peekUlong(0); if (isUnsigned!T || !sign) { if (l <= T.max) return cast(T) l; } else { if (l <= ulong(T.max)+1) return cast(T)-long(l); // -long.min == long.min } } import std.conv : ConvOverflowException; import std.string : format; throw new ConvOverflowException( "BigInt(%s) cannot be represented as a %s" .format(this.toDecimalString, T.stringof)); } /// @system unittest { import std.conv : to, ConvOverflowException; import std.exception : assertThrown; assert(BigInt("0").to!int == 0); assert(BigInt("0").to!ubyte == 0); assert(BigInt("255").to!ubyte == 255); assertThrown!ConvOverflowException(BigInt("256").to!ubyte); assertThrown!ConvOverflowException(BigInt("-1").to!ubyte); } @system unittest { import std.conv : to, ConvOverflowException; import std.exception : assertThrown; assert(BigInt("-1").to!byte == -1); assert(BigInt("-128").to!byte == -128); assert(BigInt("127").to!byte == 127); assertThrown!ConvOverflowException(BigInt("-129").to!byte); assertThrown!ConvOverflowException(BigInt("128").to!byte); assert(BigInt("0").to!uint == 0); assert(BigInt("4294967295").to!uint == uint.max); assertThrown!ConvOverflowException(BigInt("4294967296").to!uint); assertThrown!ConvOverflowException(BigInt("-1").to!uint); assert(BigInt("-1").to!int == -1); assert(BigInt("-2147483648").to!int == int.min); assert(BigInt("2147483647").to!int == int.max); assertThrown!ConvOverflowException(BigInt("-2147483649").to!int); assertThrown!ConvOverflowException(BigInt("2147483648").to!int); assert(BigInt("0").to!ulong == 0); assert(BigInt("18446744073709551615").to!ulong == ulong.max); assertThrown!ConvOverflowException(BigInt("18446744073709551616").to!ulong); assertThrown!ConvOverflowException(BigInt("-1").to!ulong); assert(BigInt("-1").to!long == -1); assert(BigInt("-9223372036854775808").to!long == long.min); assert(BigInt("9223372036854775807").to!long == long.max); assertThrown!ConvOverflowException(BigInt("-9223372036854775809").to!long); assertThrown!ConvOverflowException(BigInt("9223372036854775808").to!long); } // Cast to float, discarding any portion of the value // beyond the precision of the floating point type. private T toFloatTruncating(T)() @safe nothrow @nogc const if (__traits(isFloating, T)) { import core.bitop : bsr; enum int totalNeededBits = T.mant_dig; static if (totalNeededBits <= 64) { // We need to examine the top two 64-bit words, not just the top one, // since the top word could have just a single significant bit. const ulongLength = data.ulongLength; const ulong w1 = data.peekUlong(ulongLength - 1); if (w1 == 0) return T(0); // Special: exponent should be all zero bits, plus bsr(w1) is undefined. const ulong w2 = ulongLength < 2 ? 0 : data.peekUlong(ulongLength - 2); const uint w1BitCount = bsr(w1) + 1; ulong sansExponent = (w1 << (64 - w1BitCount)) | (w2 >>> (w1BitCount)); size_t exponent = (ulongLength - 1) * 64 + w1BitCount + 1; static if (T.mant_dig == float.mant_dig) { if (exponent >= T.max_exp) return isNegative ? -T.infinity : T.infinity; uint resultBits = (uint(isNegative) << 31) | // sign bit ((0xFF & (exponent - float.min_exp)) << 23) | // exponent cast(uint) ((sansExponent << 1) >>> (64 - 23)); // mantissa. return *cast(float*) &resultBits; } else static if (T.mant_dig == double.mant_dig) { if (exponent >= T.max_exp) return isNegative ? -T.infinity : T.infinity; ulong resultBits = (ulong(isNegative) << 63) | // sign bit ((0x7FFUL & (exponent - double.min_exp)) << 52) | // exponent ((sansExponent << 1) >>> (64 - 52)); // mantissa. return *cast(double*) &resultBits; } else { import std.math : scalbn; return scalbn(isNegative ? -cast(real) sansExponent : cast(real) sansExponent, cast(int) exponent - 65); } } else { import std.math : scalbn; const ulongLength = data.ulongLength; if ((ulongLength - 1) * 64L > int.max) return isNegative ? -T.infinity : T.infinity; int scale = cast(int) ((ulongLength - 1) * 64); const ulong w1 = data.peekUlong(ulongLength - 1); if (w1 == 0) return T(0); // Special: bsr(w1) is undefined. int bitsStillNeeded = totalNeededBits - bsr(w1) - 1; T acc = scalbn(w1, scale); for (ptrdiff_t i = ulongLength - 2; i >= 0 && bitsStillNeeded > 0; i--) { ulong w = data.peekUlong(i); // To round towards zero we must make sure not to use too many bits. if (bitsStillNeeded >= 64) { acc += scalbn(w, scale -= 64); bitsStillNeeded -= 64; } else { w = (w >>> (64 - bitsStillNeeded)) << (64 - bitsStillNeeded); acc += scalbn(w, scale -= 64); break; } } if (isNegative) acc = -acc; return cast(T) acc; } } /** Implements casting to/from qualified `BigInt`'s. Warning: Casting to/from `const` or `immutable` may break type system guarantees. Use with care. */ T opCast(T)() pure nothrow @nogc const if (is(Unqual!T == BigInt)) { return this; } /// @system unittest { const(BigInt) x = BigInt("123"); BigInt y = cast() x; // cast away const assert(y == x); } // Hack to make BigInt's typeinfo.compare work properly. // Note that this must appear before the other opCmp overloads, otherwise // DMD won't find it. /** Implements 3-way comparisons of `BigInt` with `BigInt` or `BigInt` with built-in numeric types. */ int opCmp(ref const BigInt y) pure nothrow @nogc const { // Simply redirect to the "real" opCmp implementation. return this.opCmp!BigInt(y); } /// ditto int opCmp(T)(const T y) pure nothrow @nogc const if (isIntegral!T) { if (sign != (y<0) ) return sign ? -1 : 1; int cmp = data.opCmp(cast(ulong) absUnsign(y)); return sign? -cmp: cmp; } /// ditto int opCmp(T)(const T y) nothrow @nogc const if (isFloatingPoint!T) { import core.bitop : bsr; import std.math : cmp, isFinite; const asFloat = toFloatTruncating!(T); if (asFloat != y) return cmp(asFloat, y); // handles +/- NaN. if (!isFinite(y)) return isNegative ? 1 : -1; const ulongLength = data.ulongLength; const w1 = data.peekUlong(ulongLength - 1); if (w1 == 0) return 0; // Special: bsr(w1) is undefined. const numSignificantBits = (ulongLength - 1) * 64 + bsr(w1) + 1; for (ptrdiff_t bitsRemainingToCheck = numSignificantBits - T.mant_dig, i = 0; bitsRemainingToCheck > 0; i++, bitsRemainingToCheck -= 64) { auto word = data.peekUlong(i); if (word == 0) continue; // Make sure we're only checking digits that are beyond // the precision of `y`. if (bitsRemainingToCheck < 64 && (word << (64 - bitsRemainingToCheck)) == 0) break; // This can only happen on the last loop iteration. return isNegative ? -1 : 1; } return 0; } /// ditto int opCmp(T:BigInt)(const T y) pure nothrow @nogc const { if (sign != y.sign) return sign ? -1 : 1; immutable cmp = data.opCmp(y.data); return sign? -cmp: cmp; } /// @system unittest { auto x = BigInt("100"); auto y = BigInt("10"); int z = 50; const int w = 200; assert(y < x); assert(x > z); assert(z > y); assert(x < w); } /// @system unittest { auto x = BigInt("0x1abc_de80_0000_0000_0000_0000_0000_0000"); BigInt y = x - 1; BigInt z = x + 1; double d = 0x1.abcde8p124; assert(y < d); assert(z > d); assert(x >= d && x <= d); // Note that when comparing a BigInt to a float or double the // full precision of the BigInt is always considered, unlike // when comparing an int to a float or a long to a double. assert(BigInt(123456789) < cast(float) 123456789); } @system unittest { assert(BigInt("999_999_999_999_999_999_999_999_999_999_999_999_999") < float.infinity); // Test `real` works. auto x = BigInt("0x1abc_de80_0000_0000_0000_0000_0000_0000"); BigInt y = x - 1; BigInt z = x + 1; real d = 0x1.abcde8p124; assert(y < d); assert(z > d); assert(x >= d && x <= d); // Test comparison for numbers of 64 bits or fewer. auto w1 = BigInt(0x1abc_de80_0000_0000); auto w2 = w1 - 1; auto w3 = w1 + 1; assert(w1.ulongLength == 1); assert(w2.ulongLength == 1); assert(w3.ulongLength == 1); double e = 0x1.abcde8p+60; assert(w1 >= e && w1 <= e); assert(w2 < e); assert(w3 > e); real eL = 0x1.abcde8p+60; assert(w1 >= eL && w1 <= eL); assert(w2 < eL); assert(w3 > eL); } /** Returns: The value of this `BigInt` as a `long`, or `long.max`/`long.min` if outside the representable range. */ long toLong() @safe pure nothrow const @nogc { return (sign ? -1 : 1) * (data.ulongLength == 1 && (data.peekUlong(0) <= sign+cast(ulong)(long.max)) // 1+long.max = |long.min| ? cast(long)(data.peekUlong(0)) : long.max); } /// @system unittest { auto b = BigInt("12345"); long l = b.toLong(); assert(l == 12345); } /** Returns: The value of this `BigInt` as an `int`, or `int.max`/`int.min` if outside the representable range. */ int toInt() @safe pure nothrow @nogc const { return (sign ? -1 : 1) * (data.uintLength == 1 && (data.peekUint(0) <= sign+cast(uint)(int.max)) // 1+int.max = |int.min| ? cast(int)(data.peekUint(0)) : int.max); } /// @system unittest { auto big = BigInt("5_000_000"); auto i = big.toInt(); assert(i == 5_000_000); // Numbers that are too big to fit into an int will be clamped to int.max. auto tooBig = BigInt("5_000_000_000"); i = tooBig.toInt(); assert(i == int.max); } /// Number of significant `uint`s which are used in storing this number. /// The absolute value of this `BigInt` is always &lt; 2$(SUPERSCRIPT 32*uintLength) @property size_t uintLength() @safe pure nothrow @nogc const { return data.uintLength; } /// Number of significant `ulong`s which are used in storing this number. /// The absolute value of this `BigInt` is always &lt; 2$(SUPERSCRIPT 64*ulongLength) @property size_t ulongLength() @safe pure nothrow @nogc const { return data.ulongLength; } /** Convert the `BigInt` to `string`, passing it to the given sink. * * Params: * sink = A delegate for accepting possibly piecewise segments of the * formatted string. * formatString = A format string specifying the output format. * * $(TABLE Available output formats:, * $(TR $(TD "d") $(TD Decimal)) * $(TR $(TD "o") $(TD Octal)) * $(TR $(TD "x") $(TD Hexadecimal, lower case)) * $(TR $(TD "X") $(TD Hexadecimal, upper case)) * $(TR $(TD "s") $(TD Default formatting (same as "d") )) * $(TR $(TD null) $(TD Default formatting (same as "d") )) * ) */ void toString(scope void delegate(const (char)[]) sink, string formatString) const { auto f = FormatSpec!char(formatString); f.writeUpToNextSpec(sink); toString(sink, f); } /// ditto void toString(scope void delegate(const(char)[]) sink, scope const ref FormatSpec!char f) const { const spec = f.spec; immutable hex = (spec == 'x' || spec == 'X'); if (!(spec == 's' || spec == 'd' || spec =='o' || hex)) throw new FormatException("Format specifier not understood: %" ~ spec); char[] buff; if (spec == 'X') { buff = data.toHexString(0, '_', 0, f.flZero ? '0' : ' ', LetterCase.upper); } else if (spec == 'x') { buff = data.toHexString(0, '_', 0, f.flZero ? '0' : ' ', LetterCase.lower); } else if (spec == 'o') { buff = data.toOctalString(); } else { buff = data.toDecimalString(0); } assert(buff.length > 0, "Invalid buffer length"); char signChar = isNegative() ? '-' : 0; auto minw = buff.length + (signChar ? 1 : 0); if (!hex && !signChar && (f.width == 0 || minw < f.width)) { if (f.flPlus) { signChar = '+'; ++minw; } else if (f.flSpace) { signChar = ' '; ++minw; } } immutable maxw = minw < f.width ? f.width : minw; immutable difw = maxw - minw; if (!f.flDash && !f.flZero) foreach (i; 0 .. difw) sink(" "); if (signChar) sink((&signChar)[0 .. 1]); if (!f.flDash && f.flZero) foreach (i; 0 .. difw) sink("0"); sink(buff); if (f.flDash) foreach (i; 0 .. difw) sink(" "); } /** `toString` is rarely directly invoked; the usual way of using it is via $(REF format, std, format): */ @system unittest { import std.format : format; auto x = BigInt("1_000_000"); x *= 12345; assert(format("%d", x) == "12345000000"); assert(format("%x", x) == "2_dfd1c040"); assert(format("%X", x) == "2_DFD1C040"); assert(format("%o", x) == "133764340100"); } // Implement toHash so that BigInt works properly as an AA key. /** Returns: A unique hash of the `BigInt`'s value suitable for use in a hash table. */ size_t toHash() const @safe nothrow { return data.toHash() + sign; } /** `toHash` is rarely directly invoked; it is implicitly used when BigInt is used as the key of an associative array. */ @safe unittest { string[BigInt] aa; aa[BigInt(123)] = "abc"; aa[BigInt(456)] = "def"; assert(aa[BigInt(123)] == "abc"); assert(aa[BigInt(456)] == "def"); } /** * Gets the nth number in the underlying representation that makes up the whole * `BigInt`. * * Params: * T = the type to view the underlying representation as * n = The nth number to retrieve. Must be less than $(LREF ulongLength) or * $(LREF uintLength) with respect to `T`. * Returns: * The nth `ulong` in the representation of this `BigInt`. */ T getDigit(T = ulong)(size_t n) const if (is(T == ulong) || is(T == uint)) { static if (is(T == ulong)) { assert(n < ulongLength(), "getDigit index out of bounds"); return data.peekUlong(n); } else { assert(n < uintLength(), "getDigit index out of bounds"); return data.peekUint(n); } } /// @system pure unittest { auto a = BigInt("1000"); assert(a.ulongLength() == 1); assert(a.getDigit(0) == 1000); assert(a.uintLength() == 1); assert(a.getDigit!uint(0) == 1000); auto b = BigInt("2_000_000_000_000_000_000_000_000_000"); assert(b.ulongLength() == 2); assert(b.getDigit(0) == 4584946418820579328); assert(b.getDigit(1) == 108420217); assert(b.uintLength() == 3); assert(b.getDigit!uint(0) == 3489660928); assert(b.getDigit!uint(1) == 1067516025); assert(b.getDigit!uint(2) == 108420217); } private: void negate() @safe pure nothrow @nogc { if (!data.isZero()) sign = !sign; } bool isZero() pure const nothrow @nogc @safe { return data.isZero(); } bool isNegative() pure const nothrow @nogc @safe { return sign; } // Generate a runtime error if division by zero occurs void checkDivByZero() pure const nothrow @safe { assert(!isZero(), "BigInt division by zero"); } } /// @system unittest { BigInt a = "9588669891916142"; BigInt b = "7452469135154800"; auto c = a * b; assert(c == BigInt("71459266416693160362545788781600")); auto d = b * a; assert(d == BigInt("71459266416693160362545788781600")); assert(d == c); d = c * BigInt("794628672112"); assert(d == BigInt("56783581982794522489042432639320434378739200")); auto e = c + d; assert(e == BigInt("56783581982865981755459125799682980167520800")); auto f = d + c; assert(f == e); auto g = f - c; assert(g == d); g = f - d; assert(g == c); e = 12345678; g = c + e; auto h = g / b; auto i = g % b; assert(h == a); assert(i == e); BigInt j = "-0x9A56_57f4_7B83_AB78"; BigInt k = j; j ^^= 11; assert(k ^^ 11 == j); } /** Params: x = The `BigInt` to convert to a decimal `string`. Returns: A `string` that represents the `BigInt` as a decimal number. */ string toDecimalString(const(BigInt) x) pure nothrow { auto buff = x.data.toDecimalString(x.isNegative ? 1 : 0); if (x.isNegative) buff[0] = '-'; return buff; } /// @system pure unittest { auto x = BigInt("123"); x *= 1000; x += 456; auto xstr = x.toDecimalString(); assert(xstr == "123456"); } /** Params: x = The `BigInt` to convert to a hexadecimal `string`. Returns: A `string` that represents the `BigInt` as a hexadecimal (base 16) number in upper case. */ string toHex(const(BigInt) x) { string outbuff=""; void sink(const(char)[] s) { outbuff ~= s; } x.toString(&sink, "%X"); return outbuff; } /// @system unittest { auto x = BigInt("123"); x *= 1000; x += 456; auto xstr = x.toHex(); assert(xstr == "1E240"); } /** Returns the absolute value of x converted to the corresponding unsigned type. Params: x = The integral value to return the absolute value of. Returns: The absolute value of x. */ Unsigned!T absUnsign(T)(T x) if (isIntegral!T) { static if (isSigned!T) { import std.conv : unsigned; /* This returns the correct result even when x = T.min * on two's complement machines because unsigned(T.min) = |T.min| * even though -T.min = T.min. */ return unsigned((x < 0) ? cast(T)(0-x) : x); } else { return x; } } /// nothrow pure @system unittest { assert((-1).absUnsign == 1); assert(1.absUnsign == 1); } nothrow pure @system unittest { BigInt a, b; a = 1; b = 2; auto c = a + b; assert(c == 3); } nothrow pure @system unittest { long a; BigInt b; auto c = a + b; assert(c == 0); auto d = b + a; assert(d == 0); } nothrow pure @system unittest { BigInt x = 1, y = 2; assert(x < y); assert(x <= y); assert(y >= x); assert(y > x); assert(x != y); long r1 = x.toLong; assert(r1 == 1); BigInt r2 = 10 % x; assert(r2 == 0); BigInt r3 = 10 / y; assert(r3 == 5); BigInt[] arr = [BigInt(1)]; auto incr = arr[0]++; assert(arr == [BigInt(2)]); assert(incr == BigInt(1)); } @system unittest { // Radix conversion assert( toDecimalString(BigInt("-1_234_567_890_123_456_789")) == "-1234567890123456789"); assert( toHex(BigInt("0x1234567890123456789")) == "123_45678901_23456789"); assert( toHex(BigInt("0x00000000000000000000000000000000000A234567890123456789")) == "A23_45678901_23456789"); assert( toHex(BigInt("0x000_00_000000_000_000_000000000000_000000_")) == "0"); assert(BigInt(-0x12345678).toInt() == -0x12345678); assert(BigInt(-0x12345678).toLong() == -0x12345678); assert(BigInt(0x1234_5678_9ABC_5A5AL).ulongLength == 1); assert(BigInt(0x1234_5678_9ABC_5A5AL).toLong() == 0x1234_5678_9ABC_5A5AL); assert(BigInt(-0x1234_5678_9ABC_5A5AL).toLong() == -0x1234_5678_9ABC_5A5AL); assert(BigInt(0xF234_5678_9ABC_5A5AL).toLong() == long.max); assert(BigInt(-0x123456789ABCL).toInt() == -int.max); char[] s1 = "123".dup; // bug 8164 assert(BigInt(s1) == 123); char[] s2 = "0xABC".dup; assert(BigInt(s2) == 2748); assert((BigInt(-2) + BigInt(1)) == BigInt(-1)); BigInt a = ulong.max - 5; auto b = -long.max % a; assert( b == -long.max % (ulong.max - 5)); b = long.max / a; assert( b == long.max /(ulong.max - 5)); assert(BigInt(1) - 1 == 0); assert((-4) % BigInt(5) == -4); // bug 5928 assert(BigInt(-4) % BigInt(5) == -4); assert(BigInt(2)/BigInt(-3) == BigInt(0)); // bug 8022 assert(BigInt("-1") > long.min); // bug 9548 assert(toDecimalString(BigInt("0000000000000000000000000000000000000000001234567")) == "1234567"); } @system unittest // Minimum signed value bug tests. { assert(BigInt("-0x8000000000000000") == BigInt(long.min)); assert(BigInt("-0x8000000000000000")+1 > BigInt(long.min)); assert(BigInt("-0x80000000") == BigInt(int.min)); assert(BigInt("-0x80000000")+1 > BigInt(int.min)); assert(BigInt(long.min).toLong() == long.min); // lossy toLong bug for long.min assert(BigInt(int.min).toInt() == int.min); // lossy toInt bug for int.min assert(BigInt(long.min).ulongLength == 1); assert(BigInt(int.min).uintLength == 1); // cast/sign extend bug in opAssign BigInt a; a += int.min; assert(a == BigInt(int.min)); a = int.min - BigInt(int.min); assert(a == 0); a = int.min; assert(a == BigInt(int.min)); assert(int.min % (BigInt(int.min)-1) == int.min); assert((BigInt(int.min)-1)%int.min == -1); } @system unittest // Recursive division, bug 5568 { enum Z = 4843; BigInt m = (BigInt(1) << (Z*8) ) - 1; m -= (BigInt(1) << (Z*6)) - 1; BigInt oldm = m; BigInt a = (BigInt(1) << (Z*4) )-1; BigInt b = m % a; m /= a; m *= a; assert( m + b == oldm); m = (BigInt(1) << (4846 + 4843) ) - 1; a = (BigInt(1) << 4846 ) - 1; b = (BigInt(1) << (4846*2 + 4843)) - 1; BigInt c = (BigInt(1) << (4846*2 + 4843*2)) - 1; BigInt w = c - b + a; assert(w % m == 0); // Bug 6819. ^^ BigInt z1 = BigInt(10)^^64; BigInt w1 = BigInt(10)^^128; assert(z1^^2 == w1); BigInt z2 = BigInt(1)<<64; BigInt w2 = BigInt(1)<<128; assert(z2^^2 == w2); // Bug 7993 BigInt n7793 = 10; assert( n7793 / 1 == 10); // Bug 7973 auto a7973 = 10_000_000_000_000_000; const c7973 = 10_000_000_000_000_000; immutable i7973 = 10_000_000_000_000_000; BigInt v7973 = 2551700137; v7973 %= a7973; assert(v7973 == 2551700137); v7973 %= c7973; assert(v7973 == 2551700137); v7973 %= i7973; assert(v7973 == 2551700137); // 8165 BigInt[2] a8165; a8165[0] = a8165[1] = 1; } @system unittest { import std.array; import std.format; immutable string[][] table = [ /* fmt, +10 -10 */ ["%d", "10", "-10"], ["%+d", "+10", "-10"], ["%-d", "10", "-10"], ["%+-d", "+10", "-10"], ["%4d", " 10", " -10"], ["%+4d", " +10", " -10"], ["%-4d", "10 ", "-10 "], ["%+-4d", "+10 ", "-10 "], ["%04d", "0010", "-010"], ["%+04d", "+010", "-010"], ["%-04d", "10 ", "-10 "], ["%+-04d", "+10 ", "-10 "], ["% 04d", " 010", "-010"], ["%+ 04d", "+010", "-010"], ["%- 04d", " 10 ", "-10 "], ["%+- 04d", "+10 ", "-10 "], ]; auto w1 = appender!(char[])(); auto w2 = appender!(char[])(); foreach (entry; table) { immutable fmt = entry[0]; formattedWrite(w1, fmt, BigInt(10)); formattedWrite(w2, fmt, 10); assert(w1.data == w2.data); assert(w1.data == entry[1]); w1.clear(); w2.clear(); formattedWrite(w1, fmt, BigInt(-10)); formattedWrite(w2, fmt, -10); assert(w1.data == w2.data); assert(w1.data == entry[2]); w1.clear(); w2.clear(); } } @system unittest { import std.array; import std.format; immutable string[][] table = [ /* fmt, +10 -10 */ ["%x", "a", "-a"], ["%+x", "a", "-a"], ["%-x", "a", "-a"], ["%+-x", "a", "-a"], ["%4x", " a", " -a"], ["%+4x", " a", " -a"], ["%-4x", "a ", "-a "], ["%+-4x", "a ", "-a "], ["%04x", "000a", "-00a"], ["%+04x", "000a", "-00a"], ["%-04x", "a ", "-a "], ["%+-04x", "a ", "-a "], ["% 04x", "000a", "-00a"], ["%+ 04x", "000a", "-00a"], ["%- 04x", "a ", "-a "], ["%+- 04x", "a ", "-a "], ]; auto w1 = appender!(char[])(); auto w2 = appender!(char[])(); foreach (entry; table) { immutable fmt = entry[0]; formattedWrite(w1, fmt, BigInt(10)); formattedWrite(w2, fmt, 10); assert(w1.data == w2.data); // Equal only positive BigInt assert(w1.data == entry[1]); w1.clear(); w2.clear(); formattedWrite(w1, fmt, BigInt(-10)); //formattedWrite(w2, fmt, -10); //assert(w1.data == w2.data); assert(w1.data == entry[2]); w1.clear(); //w2.clear(); } } @system unittest { import std.array; import std.format; immutable string[][] table = [ /* fmt, +10 -10 */ ["%X", "A", "-A"], ["%+X", "A", "-A"], ["%-X", "A", "-A"], ["%+-X", "A", "-A"], ["%4X", " A", " -A"], ["%+4X", " A", " -A"], ["%-4X", "A ", "-A "], ["%+-4X", "A ", "-A "], ["%04X", "000A", "-00A"], ["%+04X", "000A", "-00A"], ["%-04X", "A ", "-A "], ["%+-04X", "A ", "-A "], ["% 04X", "000A", "-00A"], ["%+ 04X", "000A", "-00A"], ["%- 04X", "A ", "-A "], ["%+- 04X", "A ", "-A "], ]; auto w1 = appender!(char[])(); auto w2 = appender!(char[])(); foreach (entry; table) { immutable fmt = entry[0]; formattedWrite(w1, fmt, BigInt(10)); formattedWrite(w2, fmt, 10); assert(w1.data == w2.data); // Equal only positive BigInt assert(w1.data == entry[1]); w1.clear(); w2.clear(); formattedWrite(w1, fmt, BigInt(-10)); //formattedWrite(w2, fmt, -10); //assert(w1.data == w2.data); assert(w1.data == entry[2]); w1.clear(); //w2.clear(); } } // 6448 @system unittest { import std.array; import std.format; auto w1 = appender!string(); auto w2 = appender!string(); int x = 100; formattedWrite(w1, "%010d", x); BigInt bx = x; formattedWrite(w2, "%010d", bx); assert(w1.data == w2.data); //8011 BigInt y = -3; ++y; assert(y.toLong() == -2); y = 1; --y; assert(y.toLong() == 0); --y; assert(y.toLong() == -1); --y; assert(y.toLong() == -2); } @safe unittest { import std.math : abs; auto r = abs(BigInt(-1000)); // 6486 assert(r == 1000); auto r2 = abs(const(BigInt)(-500)); // 11188 assert(r2 == 500); auto r3 = abs(immutable(BigInt)(-733)); // 11188 assert(r3 == 733); // opCast!bool BigInt one = 1, zero; assert(one && !zero); } @system unittest // 6850 { pure long pureTest() { BigInt a = 1; BigInt b = 1336; a += b; return a.toLong(); } assert(pureTest() == 1337); } @system unittest // 8435 & 10118 { auto i = BigInt(100); auto j = BigInt(100); // Two separate BigInt instances representing same value should have same // hash. assert(typeid(i).getHash(&i) == typeid(j).getHash(&j)); assert(typeid(i).compare(&i, &j) == 0); // BigInt AA keys should behave consistently. int[BigInt] aa; aa[BigInt(123)] = 123; assert(BigInt(123) in aa); aa[BigInt(123)] = 321; assert(aa[BigInt(123)] == 321); auto keys = aa.byKey; assert(keys.front == BigInt(123)); keys.popFront(); assert(keys.empty); } @system unittest // 11148 { void foo(BigInt) {} const BigInt cbi = 3; immutable BigInt ibi = 3; foo(cbi); foo(ibi); import std.conv : to; import std.meta : AliasSeq; static foreach (T1; AliasSeq!(BigInt, const(BigInt), immutable(BigInt))) { static foreach (T2; AliasSeq!(BigInt, const(BigInt), immutable(BigInt))) {{ T1 t1 = 2; T2 t2 = t1; T2 t2_1 = to!T2(t1); T2 t2_2 = cast(T2) t1; assert(t2 == t1); assert(t2 == 2); assert(t2_1 == t1); assert(t2_1 == 2); assert(t2_2 == t1); assert(t2_2 == 2); }} } BigInt n = 2; n *= 2; assert(n == 4); } @safe unittest // 8167 { BigInt a = BigInt(3); BigInt b = BigInt(a); assert(b == 3); } @safe unittest // 9061 { long l1 = 0x12345678_90ABCDEF; long l2 = 0xFEDCBA09_87654321; long l3 = l1 | l2; long l4 = l1 & l2; long l5 = l1 ^ l2; BigInt b1 = l1; BigInt b2 = l2; BigInt b3 = b1 | b2; BigInt b4 = b1 & b2; BigInt b5 = b1 ^ b2; assert(l3 == b3); assert(l4 == b4); assert(l5 == b5); } @system unittest // 11600 { import std.conv; import std.exception : assertThrown; // Original bug report assertThrown!ConvException(to!BigInt("avadakedavra")); // Digit string lookalikes that are actually invalid assertThrown!ConvException(to!BigInt("0123hellothere")); assertThrown!ConvException(to!BigInt("-hihomarylowe")); assertThrown!ConvException(to!BigInt("__reallynow__")); assertThrown!ConvException(to!BigInt("-123four")); } @safe unittest // 11583 { BigInt x = 0; assert((x > 0) == false); } @system unittest // 13391 { BigInt x1 = "123456789"; BigInt x2 = "123456789123456789"; BigInt x3 = "123456789123456789123456789"; import std.meta : AliasSeq; static foreach (T; AliasSeq!(byte, ubyte, short, ushort, int, uint, long, ulong)) { assert((x1 * T.max) / T.max == x1); assert((x2 * T.max) / T.max == x2); assert((x3 * T.max) / T.max == x3); } assert(x1 / -123456789 == -1); assert(x1 / 123456789U == 1); assert(x1 / -123456789L == -1); assert(x1 / 123456789UL == 1); assert(x2 / -123456789123456789L == -1); assert(x2 / 123456789123456789UL == 1); assert(x1 / uint.max == 0); assert(x1 / ulong.max == 0); assert(x2 / ulong.max == 0); x1 /= 123456789UL; assert(x1 == 1); x2 /= 123456789123456789UL; assert(x2 == 1); } @system unittest // 13963 { BigInt x = 1; import std.meta : AliasSeq; static foreach (Int; AliasSeq!(byte, ubyte, short, ushort, int)) { assert(is(typeof(x % Int(1)) == int)); } assert(is(typeof(x % 1U) == long)); assert(is(typeof(x % 1L) == long)); assert(is(typeof(x % 1UL) == BigInt)); auto x0 = BigInt(uint.max - 1); auto x1 = BigInt(8); assert(x1 / x == x1); auto x2 = -BigInt(long.min) + 1; // uint assert( x0 % uint.max == x0 % BigInt(uint.max)); assert(-x0 % uint.max == -x0 % BigInt(uint.max)); assert( x0 % uint.max == long(uint.max - 1)); assert(-x0 % uint.max == -long(uint.max - 1)); // long assert(x1 % 2L == 0L); assert(-x1 % 2L == 0L); assert(x1 % 3L == 2L); assert(x1 % -3L == 2L); assert(-x1 % 3L == -2L); assert(-x1 % -3L == -2L); assert(x1 % 11L == 8L); assert(x1 % -11L == 8L); assert(-x1 % 11L == -8L); assert(-x1 % -11L == -8L); // ulong assert(x1 % 2UL == BigInt(0)); assert(-x1 % 2UL == BigInt(0)); assert(x1 % 3UL == BigInt(2)); assert(-x1 % 3UL == -BigInt(2)); assert(x1 % 11UL == BigInt(8)); assert(-x1 % 11UL == -BigInt(8)); assert(x2 % ulong.max == x2); assert(-x2 % ulong.max == -x2); } @system unittest // 14124 { auto x = BigInt(-3); x %= 3; assert(!x.isNegative()); assert(x.isZero()); x = BigInt(-3); x %= cast(ushort) 3; assert(!x.isNegative()); assert(x.isZero()); x = BigInt(-3); x %= 3L; assert(!x.isNegative()); assert(x.isZero()); x = BigInt(3); x %= -3; assert(!x.isNegative()); assert(x.isZero()); } // issue 15678 @system unittest { import std.exception : assertThrown; assertThrown!ConvException(BigInt("")); assertThrown!ConvException(BigInt("0x1234BARF")); assertThrown!ConvException(BigInt("1234PUKE")); } // Issue 6447 @system unittest { import std.algorithm.comparison : equal; import std.range : iota; auto s = BigInt(1_000_000_000_000); auto e = BigInt(1_000_000_000_003); auto r = iota(s, e); assert(r.equal([ BigInt(1_000_000_000_000), BigInt(1_000_000_000_001), BigInt(1_000_000_000_002) ])); } // Issue 17330 @system unittest { auto b = immutable BigInt("123"); assert(b == 123); } @system pure unittest // issue 14767 { static immutable a = BigInt("340282366920938463463374607431768211455"); assert(a == BigInt("340282366920938463463374607431768211455")); BigInt plusTwo(in BigInt n) { return n + 2; } enum BigInt test1 = BigInt(123); enum BigInt test2 = plusTwo(test1); assert(test2 == 125); } /** * Finds the quotient and remainder for the given dividend and divisor in one operation. * * Params: * dividend = the $(LREF BigInt) to divide * divisor = the $(LREF BigInt) to divide the dividend by * quotient = is set to the result of the division * remainder = is set to the remainder of the division */ void divMod(const BigInt dividend, const BigInt divisor, out BigInt quotient, out BigInt remainder) pure nothrow { BigUint q, r; BigUint.divMod(dividend.data, divisor.data, q, r); quotient.sign = dividend.sign != divisor.sign; quotient.data = q; remainder.sign = dividend.sign; remainder.data = r; } /// @system pure nothrow unittest { auto a = BigInt(123); auto b = BigInt(25); BigInt q, r; divMod(a, b, q, r); assert(q == 4); assert(r == 23); assert(q * b + r == a); } // Issue 18086 @system pure nothrow unittest { BigInt q = 1; BigInt r = 1; BigInt c = 1024; BigInt d = 100; divMod(c, d, q, r); assert(q == 10); assert(r == 24); assert((q * d + r) == c); divMod(c, -d, q, r); assert(q == -10); assert(r == 24); assert(q * -d + r == c); divMod(-c, -d, q, r); assert(q == 10); assert(r == -24); assert(q * -d + r == -c); divMod(-c, d, q, r); assert(q == -10); assert(r == -24); assert(q * d + r == -c); } // Issue 19740 @system unittest { BigInt a = BigInt( "241127122100380210001001124020210001001100000200003101000062221012075223052000021042250111300200000000000" ~ "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"); BigInt b = BigInt( "700200000000500418321000401140010110000022007221432000000141020011323301104104060202100200457210001600142" ~ "000001012245300100001110215200000000120000000000000000000000000000000000000000000000000000000000000000000" ~ "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"); BigInt c = a * b; assert(c == BigInt( "1688372108948068874722901180228375682334987075822938736581472847151834613694489486296103575639363261807341" ~ "3910091006778604956808730652275328822700182498926542563654351871390166691461743896850906716336187966456064" ~ "2702007176328110013356024000000000000000000000000000000000000000000000000000000000000000000000000000000000" ~ "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ~ "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000")); } @system unittest { auto n = BigInt("1234"d); } /** Fast power modulus calculation for $(LREF BigInt) operands. Params: base = the $(LREF BigInt) is basic operands. exponent = the $(LREF BigInt) is power exponent of base. modulus = the $(LREF BigInt) is modules to be modular of base ^ exponent. Returns: The power modulus value of (base ^ exponent) % modulus. */ BigInt powmod(BigInt base, BigInt exponent, BigInt modulus) pure nothrow { BigInt result = 1; while (exponent) { if (exponent & 1) { result = (result * base) % modulus; } base = ((base % modulus) * (base % modulus)) % modulus; exponent >>= 1; } return result; } /// for powmod @system unittest { BigInt base = BigInt("123456789012345678901234567890"); BigInt exponent = BigInt("1234567890123456789012345678901234567"); BigInt modulus = BigInt("1234567"); BigInt result = powmod(base, exponent, modulus); assert(result == 359079); }
D
/Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxSceneKit.build/Objects-normal/x86_64/MapboxImageAPI.o : /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/MapboxHTTPAPI.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/MapboxImageAPI.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/TerrainNode.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Math.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/AsyncOperation.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/HTTPRequestOperation.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/ImageBuilder.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Extensions/CGExtensions.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Extensions/SCNExtensions.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/ModelIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.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/CoreLocation.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/GLKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SceneKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/Target\ Support\ Files/MapboxSceneKit/MapboxSceneKit-umbrella.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxSceneKit.build/unextended-module.modulemap /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SceneKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxSceneKit.build/Objects-normal/x86_64/MapboxImageAPI~partial.swiftmodule : /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/MapboxHTTPAPI.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/MapboxImageAPI.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/TerrainNode.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Math.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/AsyncOperation.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/HTTPRequestOperation.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/ImageBuilder.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Extensions/CGExtensions.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Extensions/SCNExtensions.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/ModelIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.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/CoreLocation.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/GLKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SceneKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/Target\ Support\ Files/MapboxSceneKit/MapboxSceneKit-umbrella.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxSceneKit.build/unextended-module.modulemap /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SceneKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxSceneKit.build/Objects-normal/x86_64/MapboxImageAPI~partial.swiftdoc : /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/MapboxHTTPAPI.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/MapboxImageAPI.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/TerrainNode.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Math.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/AsyncOperation.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/HTTPRequestOperation.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Tile\ Fetching/ImageBuilder.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Extensions/CGExtensions.swift /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxSceneKit/MapboxSceneKit/Extensions/SCNExtensions.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/ModelIO.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.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/CoreLocation.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/GLKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SceneKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/NSData+MMEGZIP.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/Target\ Support\ Files/MapboxMobileEvents/MapboxMobileEvents-umbrella.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/Target\ Support\ Files/MapboxSceneKit/MapboxSceneKit-umbrella.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECommonEventData.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsService.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKSPKIHashCache.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator_Private.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustKitConfig.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKLog.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorCallback.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/TSKPublicKeyAlgorithm.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKTrustDecision.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUINavigation.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsConfiguration.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/parse_configuration.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMECategoryLoader.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMELocationManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETimerManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventsManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEDependencyManager.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogger.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Pinning/ssl_pin_verifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUniqueIdentifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/vendor_identifier.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEventLogReportViewController.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSDateWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMENSURLSessionWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEUIApplicationWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETrustKitWrapper.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKReportsRateLimiter.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKBackgroundReporter.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidator.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMETypes.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/reporting_utils.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/configuration_utils.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEConstants.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/CLLocation+MMEMobileEvents.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MapboxMobileEvents.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TrustKit.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/TSKPinningValidatorResult.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEAPIClient.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/MMEEvent.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/vendor/TrustKit/Reporting/TSKPinFailureReport.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Pods/MapboxMobileEvents/MapboxMobileEvents/Reachability/MMEReachability.h /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxSceneKit.build/unextended-module.modulemap /Users/Lorenzo/Desktop/Mapbox-3d/EO18_3/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxMobileEvents.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/GLKit.framework/Headers/GLKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/SceneKit.framework/Headers/SceneKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/** * Management_UserInterface menu support. * * Copyright: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: $(LINK2 http://cattermole.co.nz, Richard Andrew Cattermole) */ module cf.spew.ui.features.menu; import cf.spew.instance; import std.experimental.graphic.image : ImageStorage; import std.experimental.graphic.color : RGB8; import std.experimental.memory.managed; interface Have_Management_MenuCreator { void assignMenu(); } interface Have_Management_Menu { Feature_Management_Menu __getFeatureMenu(); } interface Feature_Management_Menu { Management_MenuItem addItem(); @property managed!(Management_MenuItem[]) items(); } /// alias Management_MenuCallback = void delegate(Management_MenuItem); /// interface Management_MenuItem { /// Management_MenuItem addItem(); /// void remove(); @property { /// managed!(Management_MenuItem[]) childItems(); /// managed!(ImageStorage!RGB8) image(); /// void image(scope ImageStorage!RGB8); /// managed!dstring text(); /// void text(dstring); /// void text(wstring); /// void text(string); /// bool divider(); /// void divider(bool); /// bool disabled(); /// void disabled(bool); /// Not valid if there are children void callback(Management_MenuCallback); } } /// void assignMenu(scope shared(Management_UserInterface) self) { if (Have_Management_MenuCreator ss = cast(Have_Management_MenuCreator)self) { ss.assignMenu(); } } @property { /// Retrives the menu instance or null if non existant Feature_Management_Menu menu(scope shared(Management_UserInterface) self) { if (!self.capableOfMenu) return null; else { return (cast(Have_Management_Menu)self).__getFeatureMenu(); } } /** * Does the given window have a menu? * * Params: * self = The window instance * * Returns: * If the window/platform supports having an icon */ bool capableOfMenu(scope shared(Management_UserInterface) self) { if (self is null) return false; else if (auto ss = cast(Have_Management_Menu)self) return ss.__getFeatureMenu() !is null; else return false; } }
D
import std.stdio; struct Percent { uint a; alias a this; } pragma( inline ) Percent percent( uint a ) { return cast( Percent ) a ; } struct Px { uint a; alias a this; } pragma( inline ) Px px( uint a ) { return cast( Px ) a; } enum ValueType { Undefined, //Int, //Float, //String, Px, Percent, Inherit, } struct Value { ValueType type = ValueType.Undefined; union { int pxValue; uint percentValue; string stringValue; } void opAssign( Percent a ) { type = ValueType.Percent; percentValue = a; } void opAssign( Px a ) { type = ValueType.Px; pxValue = a; } } void main() { Value width; width = 100.px; writeln( width ); width = 100.percent; writeln( width ); }
D
module blockie.model.model1a.M1aChunkEditView; import blockie.model; /* M1aEditView M1aEditRoot 11_1100_0000 - cell oct | M1aEditCell | 64^3 00_0010_0000 - branch 0 oct | M1aEditBranch | 32^8 00_0001_0000 - branch 1 oct | M1aEditBranch | 16^8 00_0000_1000 - branch 2 oct | M1aEditBranch | 8^8 00_0000_0100 - branch 3 oct | M1aEditBranch | 4^8 00_0000_0010 - leaf oct | M1aEditLeaf | 2^8 00_0000_0001 - voxel oct | Voxel | 1^8 */ align(1): struct M1aEditRoot { static assert(M1aEditRoot.sizeof==M1aFlags.sizeof + M1aEditCell.sizeof*M1a_CELLS_PER_CHUNK); align(1): M1aFlags flags; M1aEditCell[M1a_CELLS_PER_CHUNK] cells; bool isAir() { return flags.flag == M1aFlag.AIR; } bool isAirCell(uint cell) { ASSERT(cell<M1a_CELLS_PER_CHUNK); return cells[cell].bits==0; } // bool isSolidCell(uint cell) { // ASSERT(cell<M1a_CELLS_PER_CHUNK); // return cells[cell].isSolid(); // } M1aEditCell* getCell(ubyte* ptr, uint oct) { ASSERT(oct<M1a_CELLS_PER_CHUNK); return cast(M1aEditCell*)(ptr+M1aFlags.sizeof+(oct*M1aEditCell.sizeof)); } void recalculateFlags() { flags.flag = cells[].all!(it=>it.isAir()) ? M1aFlag.AIR : M1aFlag.MIXED; } string toString() { auto s = "%s".format(flags.flag); return "Root(%s)".format(s); } } struct M1aEditCell { static assert(M1aEditCell.sizeof==5); align(1): ubyte flag; /// ubyte bits; /// Each bit: 0 = voxel, 1 = mixed union { ubyte voxel; /// if !isAir() && isSolid() Distance3 distance; /// if isAir() Offset3 offset; /// if !isAir() && !isSolid() /// points to (8*M1aEditBranch) } bool isAir() { return flag==0; } bool isSolid() { return bits==0; } bool isAllBranches() { return bits==0xff; } uint numBranches() { return popcnt(bits); } // void setToSolid(ubyte v) { // bits = 0; // voxel = v; // } void setAsBranchAt(uint oct) { ASSERT(oct<8); bits |= cast(ubyte)(1<<oct); } // void setAsSolidAt(uint oct) { // ASSERT(oct<8); // bits &= cast(ubyte)~(1<<oct); // } M1aEditBranch* getBranch(ubyte* ptr, uint oct) { ASSERT(oct<M1a_CELLS_PER_CHUNK); return cast(M1aEditBranch*)(ptr+(offset.get()*4)+(oct*M1aEditBranch.sizeof)); } string toString() { auto s = isAir() ? "AIR" : isSolid() ? "SOLID %s".format(voxel) : "MIXED"; return "Cell(%s:%08b)".format(s,bits); } } struct M1aEditBranch { static assert(M1aEditBranch.sizeof==4); align(1): ubyte bits; union { ubyte voxel; /// if isSolid() Offset3 offset; /// points to !isAllBranches() ? (8*ubyte voxels) + (8*M1aEditBranch or 8*M1aLeaf) /// isAllBranches() ? (8*M1aEditBranch or 8*M1aEditLeaf) } bool isSolid() { return bits==0; } bool isAllBranches() { return bits==0xff; } uint numBranches() { return popcnt(bits); } void setToSolid(ubyte v) { bits = 0; voxel = v; } void setAsBranchAt(uint oct) { ASSERT(oct<8); bits |= cast(ubyte)(1<<oct); } // void setAsSolidAt(uint oct) { // ASSERT(oct<8); // bits &= cast(ubyte)~(1<<oct); // } M1aEditBranch* getBranch(ubyte* ptr, uint oct) { ASSERT(oct<8); return cast(M1aEditBranch*)(ptr+(offset.get()*4)+(oct*M1aEditBranch.sizeof)); } M1aLeaf* getLeaf(ubyte* ptr, uint oct) { ASSERT(oct<8); return cast(M1aLeaf*)(ptr+(offset.get()*4)+(oct*M1aLeaf.sizeof)); } string toString() { string s = isSolid() ? "SOLID %s".format(voxel) : "MIXED"; return "Branch(%s:%08b)".format(s,bits); } } //================================================================================================ final class M1aChunkEditView : ChunkEditView { private: enum BUFFER_INCREMENT = 1024*512; M1aOptimiser optimiser; Allocator_t!uint allocator; M1aChunk chunk; uint version_; ubyte[] voxels; uint numEdits; StopWatch watch; public: M1aEditRoot* root() { return cast(M1aEditRoot*)voxels.ptr; } ulong getNumEdits() { return numEdits; } this() { this.optimiser = new M1aOptimiser(this); this.allocator = new Allocator_t!uint(0); } override Chunk getChunk() { return chunk; } override chunkcoords pos() { return chunk.pos; } override void beginTransaction(Chunk chunk) { ASSERT(chunk !is null); this.chunk = cast(M1aChunk)chunk; convertToEditable(); } override void voxelEditsCompleted() { root.recalculateFlags(); } override void commitTransaction() { auto optVoxels = optimiser.optimise(voxels, allocator.offsetOfLastAllocatedByte+1); /// Write voxels back to chunk uint ver = chunk.atomicUpdate(version_, optVoxels); if(ver!=version_+1) { /// Stale log("M1aChunkEditView: %s is stale", chunk); } else { log("Chunk %s updated to version %s", chunk, ver); } } override void setVoxel(uint3 offset, ubyte value) { watch.start(); setVoxelInner(offset, value); watch.stop(); numEdits++; } override bool isAir() { return root.flags.flag==M1aFlag.AIR; } override bool isAirCell(uint cell) { ASSERT(cell<M1a_CELLS_PER_CHUNK, "cell=%s".format(cell)); return root.isAirCell(cell); } override void setChunkDistance(DFieldsBi f) { root.flags.distance.set(f); } override void setCellDistance(uint cell, uint x, uint y, uint z) { ASSERT(cell<M1a_CELLS_PER_CHUNK); ASSERT(!isAir()); ASSERT(isAirCell(cell)); auto c = root().getCell(voxels.ptr, cell); c.distance.set(x,y,z); } override void setCellDistance(uint cell, DFieldsBi f) { // Max = 15 uint convert(int v) { return min(v, 15); } setCellDistance(cell, (convert(f.x.up)<<4) | convert(f.x.down), (convert(f.y.up)<<4) | convert(f.y.down), (convert(f.z.up)<<4) | convert(f.z.down) ); } private: void convertToEditable() { // todo - make this work for chunks that are not solid air ASSERT(chunk.isAir); this.version_ = chunk.getVersion(); this.voxels.length = M1aFlags.sizeof; // Resize allocator to 8 bytes and allocate them this.allocator.resize(M1aFlags.sizeof); alloc(M1aFlags.sizeof); root().flags.flag = M1aFlag.AIR; root().flags.distance.clear(); } void chat(A...)(lazy string fmt, lazy A args) { //if(chunk.pos==int3(0,0,0) && numEdits==0) { // writefln(format(fmt, args)); // flushConsole(); //} } uint alloc(uint numBytes) { //chat(" alloc(%s)", numBytes); int offset = allocator.alloc(numBytes, 4); if(offset==-1) { auto oldSize = voxels.length; uint newSize = allocator.length + BUFFER_INCREMENT; allocator.resize(newSize); voxels.length = newSize; ASSERT(allocator.length==newSize); ASSERT(voxels.length==newSize); //chat(" resize to %s (from %s)", newSize, oldSize); offset = allocator.alloc(numBytes, 4); ASSERT(offset!=-1); } ASSERT(offset < voxels.length); ASSERT((offset%4)==0); //chat(" offset=%s", offset); /* Set to zeroes */ voxels[offset..offset+numBytes] = 0; return offset; } // void dealloc(uint offset, uint numBytes) { // allocator.free(offset, numBytes); // } // (4 bits : 0..4095) uint getOctet_11_1100_0000(uint3 pos) { uint3 p = pos & 0b_0011_1100_0000; /// x = 0000_0000_1111 \ /// y = 0000_1111_0000 > = zzzz_yyyy_xxxx /// z = 1111_0000_0000 / auto oct = (p.x>>>6) | (p.y>>>2) | (p.z<<2); ASSERT(oct<4096); return oct; } // (5 bits : 0..32767) // uint getOctet_11_1110_0000(uint3 pos) { // uint3 p = pos & 0b_000_0011_1110_0000; // /// x = 000_0000_0001_1111 \ // /// y = 000_0011_1110_0000 > = zzz_zzyy_yyyx_xxxx // /// z = 111_1100_0000_0000 / // auto oct = (p.x>>>5) | (p.y) | (p.z<<5); // ASSERT(oct<32768); // return oct; // } /// (1 bit : 0..7) /// bitpos: 0..31 uint getOctet(uint3 pos, uint bitpos) { uint3 p = (pos >>> bitpos) & 1; /// x = 0000_0000_0001 \ /// y = 0000_0000_0010 > = 0000_0000_0zyx /// z = 0000_0000_0100 / auto oct = p.x | (p.y<<1) | (p.z<<2); ASSERT(oct<8); return oct; } uint toUint(void* c) { return cast(uint)(cast(ulong)c-cast(ulong)voxels.ptr); } M1aEditCell* toCell(uint o) { return cast(M1aEditCell*)(voxels.ptr+o); } M1aEditBranch* toBranch(uint o) { return cast(M1aEditBranch*)(voxels.ptr+o); } M1aLeaf* toLeaf(uint o) { return cast(M1aLeaf*)(voxels.ptr+o); } M1aEditCell* expandCell(M1aEditCell* cell, uint oct4, ubyte oldValue) { ASSERT(cell.numBranches()<8); /// If this is the first branch then alloc space if(cell.numBranches()==0) { auto temp = toUint(cell); uint offset = alloc(8*M1aEditBranch.sizeof); /// Refresh our cell ptr as it may have changed if voxels were resized cell = toCell(temp); cell.offset.set(offset/4); } cell.setAsBranchAt(oct4); auto branch = cell.getBranch(voxels.ptr, oct4); branch.setToSolid(oldValue); return cell; } M1aEditBranch* expandBranch(M1aEditBranch* branch, uint oct, ubyte oldValue, bool isAboveLeaf) { ASSERT(branch.numBranches()<8); auto elementSize = isAboveLeaf ? M1aLeaf.sizeof : M1aEditBranch.sizeof; /// If this is the first branch then alloc space if(branch.numBranches()==0) { auto temp = toUint(branch); uint offset = alloc(8*elementSize.as!uint); /// Refresh our branch ptr as it may have changed if voxels were resized branch = toBranch(temp); branch.offset.set(offset/4); } branch.setAsBranchAt(oct); if(isAboveLeaf) { auto leaf = branch.getLeaf(voxels.ptr, oct); leaf.setAllVoxels(oldValue); } else { auto subbranch = branch.getBranch(voxels.ptr, oct); subbranch.setToSolid(oldValue); } return branch; } void setVoxelInner(uint3 offset, ubyte voxel) { chat("==========================="); chat("setVoxel %s to %s", offset, voxel); chat("==========================="); // thread locals // static Stack!(M1aEditBranch*) nodes; // static Stack!uint octs; // if(!nodes) { // nodes = new Stack!(M1aEditBranch*)(CHUNK_SIZE_SHR); // octs = new Stack!uint(CHUNK_SIZE_SHR); // } else { // nodes.clear(); // octs.clear(); // } if(root().isAir()) { // Allocate cells chat("Allocating cells"); ASSERT(voxels.length==8); ASSERT(allocator.numBytesUsed==8); ASSERT(8==alloc(M1aEditCell.sizeof*M1a_CELLS_PER_CHUNK)); // Root is now MIXED root().flags.flag = M1aFlag.MIXED; ASSERT(allocator.numBytesUsed==M1aEditRoot.sizeof); } chat("root = %s", root().toString()); // 11_1100_0000 - Cell // 00_0010_0000 - Branch0 // 00_0001_0000 - Branch1 // 00_0000_1000 - Branch2 // 00_0000_0100 - Branch3 // 00_0000_0010 - Leaf // 00_0000_0001 - Voxel // M1aEditBranch*[4] branches; // uint[4] octs; // Cell -> Branch0 uint cellOct = getOctet_11_1100_0000(offset); auto cell = root().getCell(voxels.ptr, cellOct); uint branch0oct = getOctet(offset, 5); chat("cell = %s (cellOct=%s)", cell.toString(), cellOct); chat("branch0oct = %s", branch0oct); if(cell.isSolid()) { ubyte v = cell.voxel; if(v==voxel) return; // if it's the same then we are done cell = expandCell(cell, branch0oct, v); } // Branch0 -> branch1 auto branch0 = cell.getBranch(voxels.ptr, branch0oct); uint branch1oct = getOctet(offset, 4); chat("branch1oct = %s", branch1oct); if(branch0.isSolid()) { ubyte v = branch0.voxel; if(v==voxel) return; // if it's the same then we are done branch0 = expandBranch(branch0, branch1oct, v, false); } // Branch1 -> Branch2 auto branch1 = branch0.getBranch(voxels.ptr, branch1oct); uint branch2oct = getOctet(offset, 3); chat("branch2oct = %s", branch2oct); if(branch1.isSolid()) { ubyte v = branch1.voxel; if(v==voxel) return; // if it's the same then we are done branch1 = expandBranch(branch1, branch2oct, v, false); } // Branch2 -> Branch3 auto branch2 = branch1.getBranch(voxels.ptr, branch2oct); uint branch3oct = getOctet(offset, 2); chat("branch3oct = %s", branch3oct); if(branch2.isSolid()) { ubyte v = branch2.voxel; if(v==voxel) return; // if it's the same then we are done branch2 = expandBranch(branch2, branch3oct, v, false); } // Branch3 -> Leaf auto branch3 = branch2.getBranch(voxels.ptr, branch3oct); uint leafOct = getOctet(offset, 1); chat("leafOct = %s", leafOct); if(branch3.isSolid()) { ubyte v = branch3.voxel; if(v==voxel) return; // if it's the same then we are done branch3 = expandBranch(branch3, leafOct, v, true); } auto leaf = branch3.getLeaf(voxels.ptr, leafOct); uint voxelOct = getOctet(offset, 0); chat("voxelOct = %s", voxelOct); ubyte v = leaf.getVoxel(voxelOct); if(v==voxel) return; leaf.setVoxel(voxelOct, voxel); chat("%s", leaf.toString()); } }
D
/* REQUIRED_ARGS: * PERMUTE_ARGS: */ // https://issues.dlang.org/show_bug.cgi?id=18737 struct S { this(char); this(int j) { this('a'); assert(0); this('b'); } this(long j) { if (j) { this('c'); assert(0); } else if (j + 1) { this('d'); return; } this('e'); } }
D
/Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/Objects-normal/x86_64/Export.o : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Metadata.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CBridge.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Transformable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Measuable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/MangledName.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBridgeType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomModelType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PointerType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ContextDescriptorType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformOf.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/URLTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DataTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ISO8601DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/NSDecimalNumberTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateFormatterTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HexColorTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CustomDateFormatTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/OtherExtension.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Configuration.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PropertyInfo.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Logger.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ReflectionHelper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HelpingMapper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Serializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Deserializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/FieldDescriptor.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Properties.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/AnyExtensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Export.swift /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HandyJSON.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/HandyJSON/HandyJSON-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/Objects-normal/x86_64/Export~partial.swiftmodule : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Metadata.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CBridge.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Transformable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Measuable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/MangledName.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBridgeType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomModelType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PointerType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ContextDescriptorType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformOf.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/URLTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DataTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ISO8601DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/NSDecimalNumberTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateFormatterTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HexColorTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CustomDateFormatTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/OtherExtension.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Configuration.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PropertyInfo.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Logger.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ReflectionHelper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HelpingMapper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Serializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Deserializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/FieldDescriptor.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Properties.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/AnyExtensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Export.swift /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HandyJSON.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/HandyJSON/HandyJSON-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/Objects-normal/x86_64/Export~partial.swiftdoc : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Metadata.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CBridge.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Transformable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Measuable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/MangledName.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBridgeType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomModelType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PointerType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ContextDescriptorType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformOf.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/URLTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DataTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ISO8601DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/NSDecimalNumberTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateFormatterTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HexColorTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CustomDateFormatTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/OtherExtension.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Configuration.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PropertyInfo.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Logger.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ReflectionHelper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HelpingMapper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Serializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Deserializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/FieldDescriptor.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Properties.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/AnyExtensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Export.swift /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HandyJSON.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/HandyJSON/HandyJSON-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/Objects-normal/x86_64/Export~partial.swiftsourceinfo : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Metadata.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CBridge.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Transformable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Measuable.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/MangledName.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBasicType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/BuiltInBridgeType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ExtendCustomModelType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PointerType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ContextDescriptorType.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/TransformOf.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/URLTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DataTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ISO8601DateTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/EnumTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/NSDecimalNumberTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/DateFormatterTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HexColorTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/CustomDateFormatTransform.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/OtherExtension.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Configuration.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/PropertyInfo.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Logger.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/ReflectionHelper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HelpingMapper.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Serializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Deserializer.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/FieldDescriptor.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Properties.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/AnyExtensions.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/Export.swift /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/HandyJSON/Source/HandyJSON.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Pods/Target\ Support\ Files/HandyJSON/HandyJSON-umbrella.h /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.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.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module zhelpers; /* ===================================================================== zhelpers.h Helper header file for example applications. ===================================================================== */ // Include a bunch of headers that we will need in the examples public import zmq; public import std.random; public import std.string; import std.uuid; import core.thread; import std.stdio; import std.ascii; import std.datetime; alias long int64_t; // Version checking, and patch up missing constants to match 2.1 static assert(ZMQ_VERSION_MAJOR == 3, "Please upgrade to ZeroMQ/3.2 for these examples"); // Receive 0MQ string from socket and convert into C string // Caller must free returned string. Returns NULL if the context // is being terminated. string s_recv (void *socket) { zmq_msg_t message; zmq_msg_init (&message); int size = zmq_msg_recv (&message, socket, 0); if (size == -1) return null; string str; str.length = size; //memcpy (string, zmq_msg_data (&message), size); str = (cast(char*) zmq_msg_data (&message))[0..size].idup; zmq_msg_close (&message); return str; } // Convert C string to 0MQ string and send to socket static int s_send (void *socket, string str) { zmq_msg_t message; zmq_msg_init_size (&message, str.length); //memcpy (zmq_msg_data (&message), str, str.length); (cast(char*) zmq_msg_data (&message))[0..str.length] = str.dup; int size = zmq_msg_send (&message, socket, 0); zmq_msg_close (&message); return size; } // Sends string as 0MQ string, as multipart non-terminal static int s_sendmore (void *socket, char[] str) { zmq_msg_t message; zmq_msg_init_size (&message, str.length); //memcpy (zmq_msg_data (&message), string, str.length); (cast(char*) zmq_msg_data (&message))[0..str.length] = str.dup; int size = zmq_msg_send (&message, socket, ZMQ_SNDMORE); zmq_msg_close (&message); return size; } // Receives all message parts from socket, prints neatly // static void s_dump (void *socket) { writeln ("----------------------------------------"); while (1) { // Process all parts of the message zmq_msg_t message; zmq_msg_init (&message); int size = zmq_msg_recv (&message, socket, 0); // Dump the message as text or binary char *data = cast(char*) zmq_msg_data (&message); int is_text = 1; int char_nbr; for (char_nbr = 0; char_nbr < size; char_nbr++) if (!isAlpha(data [char_nbr])) is_text = 0; printf ("[%03d] ", size); for (char_nbr = 0; char_nbr < size; char_nbr++) { if (is_text) write ("%s", data [char_nbr]); else write ("%02X", cast(ubyte) data [char_nbr]); } writeln; int64_t more; // Multipart detection more = 0; size_t more_size = more.sizeof; zmq_getsockopt (socket, ZMQ_RCVMORE, &more, &more_size); zmq_msg_close (&message); if (!more) break; // Last message part } } // Set simple random printable identity on socket // static void s_set_id (void *socket) { char identity [10]; xsformat (identity, "%04X-%04X", uniform (0, 0x10000), uniform (0, 0x10000)); zmq_setsockopt (socket, ZMQ_IDENTITY, identity.ptr, identity.length); } // Sleep for a number of milliseconds static void s_sleep (int msecs) { Thread.sleep(dur!"msecs"(msecs)); } // Return current system clock as milliseconds static int64_t s_clock () { version(Windows) { SYSTEMTIME st; GetSystemTime (&st); return cast(int64_t) st.wSecond * 1000 + st.wMilliseconds; } else { import core.sys.posix.sys.time; timeval tv; gettimeofday (&tv, null); return cast(int64_t) (tv.tv_sec * 1000 + tv.tv_usec / 1000); } } //// Print formatted string to stdout, prefixed by date/time and //// terminated with a newline. // //static void //s_console (const char *format, ...) //{ // time_t curtime = time (NULL); // struct tm *loctime = localtime (&curtime); // char *formatted = malloc (20); // strftime (formatted, 20, "%y-%m-%d %H:%M:%S ", loctime); // printf ("%s", formatted); // free (formatted); // // va_list argptr; // va_start (argptr, format); // vprintf (format, argptr); // va_end (argptr); // printf ("\n"); //}
D
/Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/ApplicationProtocolNegotiationHandler.swift.o : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/SNIHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/ApplicationProtocolNegotiationHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/TLSEvents.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIODarwin/include/c_nio_darwin.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/c-atomics.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOLinux/include/c_nio_linux.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOSHA1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOHTTP1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CCryptoOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/HTTP.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOZlib.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Async.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Command.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Service.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Console.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Core.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOPriorityQueue.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Leaf.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Logging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Debugging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/COperatingSystem.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Random.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/URLEncodedForm.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIODarwin.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Validation.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Crypto.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/App.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOHTTPParser.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Vapor.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOAtomics.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Bits.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOFoundationCompat.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/WebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOWebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/DatabaseKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/TemplateKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Multipart.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOLinux.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.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/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/SNIHandler.swift.o : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/SNIHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/ApplicationProtocolNegotiationHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/TLSEvents.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIODarwin/include/c_nio_darwin.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/c-atomics.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOLinux/include/c_nio_linux.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOSHA1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOHTTP1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CCryptoOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/HTTP.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOZlib.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Async.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Command.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Service.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Console.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Core.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOPriorityQueue.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Leaf.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Logging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Debugging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/COperatingSystem.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Random.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/URLEncodedForm.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIODarwin.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Validation.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Crypto.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/App.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOHTTPParser.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Vapor.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOAtomics.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Bits.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOFoundationCompat.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/WebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOWebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/DatabaseKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/TemplateKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Multipart.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOLinux.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.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/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/TLSEvents.swift.o : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/SNIHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/ApplicationProtocolNegotiationHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/TLSEvents.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIODarwin/include/c_nio_darwin.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/c-atomics.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOLinux/include/c_nio_linux.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOSHA1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOHTTP1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CCryptoOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/HTTP.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOZlib.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Async.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Command.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Service.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Console.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Core.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOPriorityQueue.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Leaf.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Logging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Debugging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/COperatingSystem.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Random.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/URLEncodedForm.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIODarwin.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Validation.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Crypto.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/App.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOHTTPParser.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Vapor.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOAtomics.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Bits.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOFoundationCompat.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/WebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOWebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/DatabaseKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/TemplateKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Multipart.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOLinux.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.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/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.swiftmodule : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/SNIHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/ApplicationProtocolNegotiationHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/TLSEvents.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIODarwin/include/c_nio_darwin.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/c-atomics.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOLinux/include/c_nio_linux.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOSHA1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOHTTP1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CCryptoOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/HTTP.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOZlib.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Async.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Command.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Service.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Console.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Core.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOPriorityQueue.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Leaf.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Logging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Debugging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/COperatingSystem.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Random.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/URLEncodedForm.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIODarwin.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Validation.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Crypto.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/App.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOHTTPParser.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Vapor.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOAtomics.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Bits.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOFoundationCompat.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/WebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOWebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/DatabaseKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/TemplateKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Multipart.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOLinux.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.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/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.swiftdoc : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/SNIHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/ApplicationProtocolNegotiationHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/TLSEvents.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIODarwin/include/c_nio_darwin.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/c-atomics.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOLinux/include/c_nio_linux.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOSHA1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOHTTP1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CCryptoOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/HTTP.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOZlib.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Async.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Command.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Service.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Console.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Core.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOPriorityQueue.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Leaf.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Logging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Debugging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/COperatingSystem.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Random.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/URLEncodedForm.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIODarwin.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Validation.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Crypto.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/App.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOHTTPParser.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Vapor.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOAtomics.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Bits.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOFoundationCompat.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/WebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOWebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/DatabaseKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/TemplateKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Multipart.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOLinux.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.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/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/NIOTLS-Swift.h : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/SNIHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/ApplicationProtocolNegotiationHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/TLSEvents.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIODarwin/include/c_nio_darwin.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/c-atomics.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOLinux/include/c_nio_linux.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOSHA1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOHTTP1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CCryptoOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/HTTP.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOZlib.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Async.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Command.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Service.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Console.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Core.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOPriorityQueue.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Leaf.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Logging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Debugging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/COperatingSystem.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Random.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/URLEncodedForm.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIODarwin.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Validation.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Crypto.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/App.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOHTTPParser.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Vapor.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOAtomics.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Bits.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOFoundationCompat.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/WebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOWebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/DatabaseKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/TemplateKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Multipart.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOLinux.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.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/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.swiftsourceinfo : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/SNIHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/ApplicationProtocolNegotiationHandler.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOTLS/TLSEvents.swift /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.swiftmodule /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIODarwin/include/c_nio_darwin.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/c-atomics.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/CNIOLinux/include/c_nio_linux.h /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOSHA1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOHTTP1.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CCryptoOpenSSL.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIO.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/HTTP.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOTLS.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOZlib.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Async.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Command.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Service.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Console.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Core.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOPriorityQueue.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Leaf.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Logging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Debugging.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/COperatingSystem.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Random.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/URLEncodedForm.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIODarwin.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Validation.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Crypto.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/App.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOHTTPParser.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Vapor.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOAtomics.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Bits.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOFoundationCompat.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/WebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOWebSocket.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/DatabaseKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/TemplateKit.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Multipart.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/CNIOLinux.build/module.modulemap /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.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
module mygame; import std.experimental.logger; import std.math, std.random; import derelict.sdl2.sdl; import gfm.math; import dyaml; import game_app; import tree_generator; import serialization, utility; class Ship : IEntity { public: void start() { } void update(float deltaTime) { } void draw(SDL_Renderer* renderer) { SDL_SetRenderDrawColor(renderer, color.r, color.g, color.b, color.a); rect.x = cast(int) pos.x.round; rect.y = cast(int) pos.y.round; SDL_RenderFillRect(renderer, &rect); } float speed; vec2f pos; Color color; SDL_Rect rect; } class AIShip : Ship { override void start() { targetPos = target.pos; } override void update(float deltaTime) { if (targetPos.distanceTo(pos) >= targetPrecision) { vec2f dir = (targetPos - pos).normalized; pos += dir * speed * deltaTime; } else { // target reached auto rnd = Random(unpredictableSeed); targetPos = target.pos + vec2f(uniform(-100.0f, 100.0f, rnd), uniform(-100.0f, 100.0f, rnd)); } } public void setTarget(Ship target) { this.target = target; } Ship target; vec2f targetPos; float targetPrecision = 10.0f; } class MyGame : GameApp { immutable configFile = "datas.yaml"; void loadYamlFile() { import dyaml; import std.stdio; //Read the input. Node root = Loader.fromFile(configFile).load(); player.speed = root["player"]["speed"].as!float; player.rect.w = root["player"]["w"].as!int; player.rect.h = root["player"]["h"].as!int; player.color.r = root["player"]["color"]["r"].as!ubyte; player.color.g = root["player"]["color"]["g"].as!ubyte; player.color.b = root["player"]["color"]["b"].as!ubyte; log("config file loaded"); } override void start() { super.start(); player = new Ship(); with (player) { with (rect) { w = 30; h = 30; } speed = 300.0f; color.g = 255; pos.xy = [0, 0]; } log(player.rect); // entities ~= player; agents = new AIShip[50]; // workaround with array of interfaces, still unsure why things are like that foreach (ref agent; agents) { agent = new AIShip(); with (agent) { with (rect) { w = 15; h = 15; } speed = 250.0f; color.b = 255; pos.xy = [0, 0]; target = player; } } // @TODO open a issue for this (both dmd and ldc) // entities ~= agents; bug for some reasons // foreach (agent; agents) // entities ~= agent; treeGen = new TreeGenerator(); with (treeGen) { minBranchSize = 22.0f; maxBranchSize = 50.0f; minAngle = 0.3f; maxAngle = 0.7f; minSizeDec = 0.03f; maxSizeDec = 0.05f; minDivisions = 1; maxDivisions = 4; truncSize = 10.0f; depth = 8; rootPos.x = SCREEN_WIDTH / 2; rootPos.y = SCREEN_HEIGHT - 10; } import std.stdio; Loader.fromFile("output.yaml").load()["my tree"].deserializeInto(treeGen); log(treeGen.rootPos); tree = treeGen.generate(); // Node r; // r.add("my tree", treeGen.toYAMLNode()); // auto d = File("output.yaml", "w").lockingTextWriter; // auto dm = dumper(); // dm.dump(d, r); // loadYamlFile(); } void watch() { import fswatch; auto watcher = FileWatch(".", false); foreach (event; watcher.getEvents()) { if (event.path == configFile && event.type == FileChangeEventType.modify) { loadYamlFile(); } } } void updatePlayerInputs() { if (inputs.key[SDL_SCANCODE_LEFT]) { player.pos.x -= player.speed * deltaTime; } if (inputs.key[SDL_SCANCODE_RIGHT]) { player.pos.x += player.speed * deltaTime; } if (inputs.key[SDL_SCANCODE_UP]) { player.pos.y -= player.speed * deltaTime; } if (inputs.key[SDL_SCANCODE_DOWN]) { player.pos.y += player.speed * deltaTime; } if (inputs.keyPressed[SDL_SCANCODE_SPACE]) { Loader.fromFile("output.yaml").load()["my tree"].deserializeInto(treeGen); tree = treeGen.generate(); // loadYamlFile(); } } override void update() { super.update(); updatePlayerInputs(); } override void draw() { super.draw(); tree.draw(renderer); } Ship player; AIShip[] agents; Tree tree; TreeGenerator treeGen; }
D
/Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Fluent.build/Memory/Memory+Group.swift.o : /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Driver.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Entity/Entity.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Filters.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Group.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Sort.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/MemoryDriver.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Database+Preparation.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Migration.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Preparation.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/PreparationError.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Action.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Comparison.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Filter.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Group.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Join.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Limit.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Query.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Scope.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Sort.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Children.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Parent.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/RelationError.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Siblings.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Database+Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Creator.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Field.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Modifier.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Query.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQLSerializer.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Utilities/Fluent+Node.swift /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 /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/Darwin.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/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Node.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/PathIndexable.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Polymorphic.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Fluent.build/Memory+Group~partial.swiftmodule : /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Driver.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Entity/Entity.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Filters.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Group.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Sort.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/MemoryDriver.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Database+Preparation.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Migration.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Preparation.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/PreparationError.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Action.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Comparison.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Filter.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Group.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Join.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Limit.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Query.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Scope.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Sort.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Children.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Parent.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/RelationError.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Siblings.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Database+Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Creator.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Field.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Modifier.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Query.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQLSerializer.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Utilities/Fluent+Node.swift /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 /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/Darwin.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/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Node.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/PathIndexable.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Polymorphic.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Fluent.build/Memory+Group~partial.swiftdoc : /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Driver.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Entity/Entity.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Filters.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Group.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Sort.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/MemoryDriver.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Database+Preparation.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Migration.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Preparation.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/PreparationError.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Action.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Comparison.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Filter.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Group.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Join.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Limit.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Query.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Scope.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Sort.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Children.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Parent.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/RelationError.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Siblings.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Database+Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Creator.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Field.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Modifier.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Query.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Schema.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQLSerializer.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Utilities/Fluent+Node.swift /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 /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/Darwin.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/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Node.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/PathIndexable.swiftmodule /Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Polymorphic.swiftmodule
D
/Users/gpestana/dev/generative-art/one/target/debug/build/gobject-sys-2da74caa330c04b1/build_script_build-2da74caa330c04b1: /Users/gpestana/.cargo/registry/src/github.com-1ecc6299db9ec823/gobject-sys-0.4.0/build.rs /Users/gpestana/dev/generative-art/one/target/debug/build/gobject-sys-2da74caa330c04b1/build_script_build-2da74caa330c04b1.d: /Users/gpestana/.cargo/registry/src/github.com-1ecc6299db9ec823/gobject-sys-0.4.0/build.rs /Users/gpestana/.cargo/registry/src/github.com-1ecc6299db9ec823/gobject-sys-0.4.0/build.rs:
D
/media/maher/extra/rust/rust_book/projects/saico/target/rls/debug/deps/language_tags-df1304c072b9b4ad.rmeta: /home/maher/.cargo/registry/src/github.com-1ecc6299db9ec823/language-tags-0.2.2/src/lib.rs /media/maher/extra/rust/rust_book/projects/saico/target/rls/debug/deps/language_tags-df1304c072b9b4ad.d: /home/maher/.cargo/registry/src/github.com-1ecc6299db9ec823/language-tags-0.2.2/src/lib.rs /home/maher/.cargo/registry/src/github.com-1ecc6299db9ec823/language-tags-0.2.2/src/lib.rs:
D
module android.java.android.R_dimen_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; @JavaName("R$dimen") final class R_dimen : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import this(arsd.jni.Default); @Import import0.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/R$dimen;"; }
D
module voxelman.chat.plugin; import std.experimental.logger; import pluginlib; import voxelman.utils.messagewindow : MessageWindow; import voxelman.core.events; import voxelman.net.packets; import voxelman.command.plugin; import voxelman.eventdispatcher.plugin; import voxelman.net.plugin; import voxelman.login.plugin; shared static this() { pluginRegistry.regClientPlugin(new ChatPluginClient); pluginRegistry.regServerPlugin(new ChatPluginServer); } final class ChatPluginClient : IPlugin { // IPlugin stuff mixin IdAndSemverFrom!(voxelman.chat.plugininfo); private ClientDbClient clientDb; private NetClientPlugin connection; private EventDispatcherPlugin evDispatcher; MessageWindow messageWindow; float alpha; override void preInit() { messageWindow.init(); messageWindow.messageHandler = (string msg) => connection.send(MessagePacket(0, msg), 1); } override void init(IPluginManager pluginman) { clientDb = pluginman.getPlugin!ClientDbClient; evDispatcher = pluginman.getPlugin!EventDispatcherPlugin; evDispatcher.subscribeToEvent(&onUpdateEvent); connection = pluginman.getPlugin!NetClientPlugin; connection.registerPacketHandler!MessagePacket(&handleMessagePacket); } void handleMessagePacket(ubyte[] packetData, ClientId clientId) { import std.format : formattedWrite; auto packet = unpackPacket!MessagePacket(packetData); if (packet.clientId == 0) messageWindow.putln(packet.msg); else { messageWindow.putf("%s> %s\n", clientDb.clientName(packet.clientId), packet.msg); } } void onUpdateEvent(ref UpdateEvent event) { import derelict.imgui.imgui; float h = 200; igSetNextWindowPos(ImVec2(0, igGetIO().DisplaySize.y-h), ImGuiSetCond_Always); igSetNextWindowSize(ImVec2(400, h), ImGuiSetCond_Always); if (!igBegin2("Chat", null, ImVec2(0,0), 0.0f, ImGuiWindowFlags_NoTitleBar|ImGuiWindowFlags_NoResize| ImGuiWindowFlags_NoMove|ImGuiWindowFlags_NoSavedSettings)) { igEnd(); return; } //if (!igBegin("Chat")) return; messageWindow.draw(); igEnd(); } } final class ChatPluginServer : IPlugin { // IPlugin stuff mixin IdAndSemverFrom!(voxelman.chat.plugininfo); private NetServerPlugin connection; private ClientDbServer clientDb; CommandPluginServer commandPlugin; override void init(IPluginManager pluginman) { connection = pluginman.getPlugin!NetServerPlugin; connection.registerPacketHandler!MessagePacket(&handleMessagePacket); clientDb = pluginman.getPlugin!ClientDbServer; commandPlugin = pluginman.getPlugin!CommandPluginServer; commandPlugin.registerCommand("msg", &messageCommand); } void handleMessagePacket(ubyte[] packetData, ClientId clientId) { auto packet = unpackPacket!MessagePacket(packetData); packet.clientId = clientId; connection.sendToAll(packet); infof("%s> %s", clientDb.clientName(clientId), packet.msg); } void messageCommand(CommandParams params) { auto stripped = params.rawStrippedArgs; connection.sendToAll(MessagePacket(0, stripped)); infof("> %s", stripped); } }
D
module dls.protocol.interfaces; public import dls.protocol.interfaces.client; public import dls.protocol.interfaces.general; public import dls.protocol.interfaces.text_document; public import dls.protocol.interfaces.window; public import dls.protocol.interfaces.workspace;
D
/Users/JasonVranek/Desktop/rust/tokio-serge-json-server/target/debug/deps/nodrop-4dc3b5a39868578c.rmeta: /Users/JasonVranek/.cargo/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs /Users/JasonVranek/Desktop/rust/tokio-serge-json-server/target/debug/deps/nodrop-4dc3b5a39868578c.d: /Users/JasonVranek/.cargo/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs /Users/JasonVranek/.cargo/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs:
D
module utils; import std.datetime; import std.string; import std.traits; import std.xml; import std.json; import std.typecons; import std.functional; import std.experimental.logger; import std.algorithm; import requests; auto decodeFromXml(T)(Element e) { T V; static if (is(T==struct )) { V = T(e); } else static if ( isArray!T && !isSomeString!T ) { V = decodeArray!T(e); } else { V = decodeElement!T(e); } return V; } auto decodeFromXmlFlattenedArray(T)(Element e) { import std.range.primitives; import std.stdio; alias ArrayElement_Type = ElementType!T; ArrayElement_Type result; result = decodeFromXml!ArrayElement_Type(e); return result; } T decodeArray(T)(Element e) { T result; alias _Member_Type = ForeachType!T; _Member_Type _m; foreach(i; e.elements) { static if (is(_Member_Type == struct )) { _m = _Member_Type(i); } else static if ( isSomeString!_Member_Type ) { _m = decodeElement!_Member_Type(i); } else static if ( isArray!_Member_Type ) { _m = decodeArray!_Member_Type(i); } else { _m = decodeElement!_Member_Type(i); } result ~= _m; } return result; } T decodeElement(T)(Element e) { import std.stdio; import std.conv; return to!T(e.text); } string toRFC822date(SysTime st) { import core.stdc.time: gmtime, strftime; auto t = st.toUnixTime(); char[64] buffer; string format = "%a, %d %b %Y %H:%M:%S +0000"; auto ret = strftime(buffer.ptr, 256, toStringz(format), gmtime(&t)); auto res = buffer[0 .. ret].idup; return res; } string urlEncoded(string p, string safe = "") pure @safe { string[dchar] translationTable = [ ' ': "%20", '!': "%21", '*': "%2A", '\'': "%27", '(': "%28", ')': "%29", ';': "%3B", ':': "%3A", '@': "%40", '&': "%26", '=': "%3D", '+': "%2B", '$': "%24", ',': "%2C", '/': "%2F", '?': "%3F", '#': "%23", '[': "%5B", ']': "%5D", '%': "%25", ]; string result; foreach(s; safe) { translationTable.remove(s); } return p.translate(translationTable); } unittest { assert(urlEncoded("IDontNeedNoPercentEncoding") == "IDontNeedNoPercentEncoding"); assert(urlEncoded("~~--..__") == "~~--..__"); assert(urlEncoded("0123456789") == "0123456789"); assert(urlEncoded("abc//~", "/") == "abc//~"); } struct Auth_Args { string access; string secret; string endpoint; string region; string service; string requestUri; string method; string queryString; immutable (ubyte)[] payload; } string[string] signV4(const Auth_Args args) { string aws_access_key_id = args.access; string aws_secret_access_key = args.secret; string region = args.region; string service = args.service; string endpoint = args.endpoint; string requestUri = args.requestUri; string queryString = args.queryString; string method = args.method; auto payload = args.payload; import std.digest.sha; import std.digest.hmac; import std.string; ubyte[] sign(scope const(ubyte)[] key, scope const(ubyte)[] msg) { auto hmac = HMAC!SHA256(key); auto digest = hmac.put(msg) .finish(); return digest.dup; } ubyte[] getSignatureKey(string key, string date, string regionName, string serviceName) { auto kDate = sign(("AWS4" ~ key).representation, date.representation); auto kRegion = sign(kDate, regionName.representation); auto kService = sign(kRegion, serviceName.representation); auto kSigning = sign(kService, "aws4_request".representation); return kSigning; } string queryString2canonicalQuery(string queryString) { if (queryString.length == 0) return ""; if (queryString[0] == '?') { queryString = queryString[1..$]; } string res = queryString. split("&"). map!(s => s.canFind("=") ? s : s~"="). join("&"); return res; } tracef("args: %s", args); string[string] headers; auto now = SysTime(Clock.currStdTime, UTC()); auto uri = URI("https://" ~ endpoint ~ requestUri); string algorithm = "AWS4-HMAC-SHA256"; string amzdate = (now - now.fracSecs).toISOString(); string date = amzdate[0..8]; string canonical_uri = uri.path; string canonical_querystring = queryString2canonicalQuery(uri.query ~ args.queryString); // XXX we have to join and sort here string canonical_headers, signed_headers; canonical_headers = "host:" ~ uri.host ~ "\n" ~ "x-amz-date:" ~ amzdate ~ "\n"; signed_headers = "host;x-amz-date"; string payload_hash; if ( payload == "UNSIGNED-PAYLOAD" ) { payload_hash = "UNSIGNED-PAYLOAD"; } else { payload_hash = sha256Of(payload).toHexString.toLower(); } string canonical_request = method ~ "\n" ~ canonical_uri ~ "\n" ~ canonical_querystring ~ "\n" ~ canonical_headers ~ "\n" ~ signed_headers ~ "\n" ~ payload_hash; tracef("Canonical request: <%s>", canonical_request); string credential_scope = date ~ "/" ~ region ~ "/" ~ service ~ "/aws4_request"; auto string_to_sign = algorithm ~ "\n" ~ amzdate ~ "\n" ~ credential_scope ~ "\n" ~ sha256Of(canonical_request).toHexString!(LetterCase.lower); tracef("string to sign: <%s>", string_to_sign); auto signing_key = getSignatureKey(aws_secret_access_key, date, region, service); string signature = HMAC!SHA256(signing_key). put(string_to_sign.representation). finish(). toHexString!(LetterCase.lower); string authorization_header = algorithm ~ " " ~ "Credential=" ~ aws_access_key_id ~ "/" ~ credential_scope ~ ", " ~ "SignedHeaders=" ~ signed_headers ~ ", " ~ "Signature=" ~ signature; headers["x-amz-date"] = amzdate; headers["host"] = endpoint; headers["Authorization"] = authorization_header; headers["x-amz-content-sha256"] = payload_hash; return headers; } string getXMLErrorCode(string msg) { auto d = new Document(msg); if ( d.tag.name != "Error" ) { return null; } auto e = d.elements.filter!(e => e.tag.name == "Code"); if ( !e.empty ) { return e.front.text; } return null; } class APIException: Exception { short httpCode; string apiCode; this(short httpCode, string apiCode, string file = __FILE__, size_t line = __LINE__) { this.httpCode = httpCode; this.apiCode = apiCode; super(apiCode, file, line); } } alias SerializedRequest = Tuple!(string, "method", string, "requestUri", string[string], "headers", string[], "query", immutable(ubyte)[], "payload"); auto slowParseJSON(string data) pure { return parseJSON(data); } alias fastParseJSON = memoize!slowParseJSON; auto RESTXMLReply(T)(Document d) { //import std.stdio; //writefln("items: %s", d.items); return T(d); } auto RESTXMLReplyBlob(const(ubyte)[] blob) { return blob; } auto RESTXMLReplyString(const(ubyte)[] blob) { return cast(string)blob; }
D
/* Binderoo Copyright (c) 2016, Remedy Entertainment 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. * Neither the name of the copyright holder (Remedy Entertainment) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 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 REMEDY ENTERTAINMENT 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 binderoo.binding.attributes; //---------------------------------------------------------------------------- struct BindIgnore { } //---------------------------------------------------------------------------- struct BindRawImport { enum FunctionKind : char { Static, Method, Virtual, } string strCName; string strCSignature; FunctionKind eKind; bool bIsConst; bool bOwnerIsAbstract; ulong uNameHash; ulong uSignatureHash; int iIntroducedVersion = -1; int iMaxVersion = -1; @disable this(); @disable this( string name ); this( string name, string signature, FunctionKind kind, bool isConst, bool ownerIsAbstract, int introducedVersion = -1, int maxVersion = -1 ) { import binderoo.hash; strCName = name; strCSignature = signature; eKind = kind; bOwnerIsAbstract = ownerIsAbstract; bIsConst = isConst; uNameHash = fnv1a_64( name ); uSignatureHash = fnv1a_64( signature ); iIntroducedVersion = introducedVersion; iMaxVersion = maxVersion; } } //---------------------------------------------------------------------------- // A function marked with BindDisallow will not define the wrapper function // in cases where you still need to know about it. struct BindDisallow { } //---------------------------------------------------------------------------- // A type marked with BindAbstract will indicate that the corresponding C++ // type cannot instantiate thanks to the existence of pure virtual methods. // These types will not attempt to auto-generate C++ bindings. // TODO: Add more restrictions for instantiation etc struct BindAbstract { } //---------------------------------------------------------------------------- struct BindVirtual { int iIntroducedVersion = -1; int iMaxVersion = -1; } //---------------------------------------------------------------------------- struct BindMethod { int iIntroducedVersion = -1; int iMaxVersion = -1; } //---------------------------------------------------------------------------- struct BindConstructor { int iIntroducedVersion = -1; int iMaxVersion = -1; } //---------------------------------------------------------------------------- struct BindDestructor { int iIntroducedVersion = -1; int iMaxVersion = -1; } //---------------------------------------------------------------------------- struct BindVirtualDestructor { int iIntroducedVersion = -1; int iMaxVersion = -1; } //---------------------------------------------------------------------------- struct BindStatic { int iIntroducedVersion = -1; int iMaxVersion = -1; } //---------------------------------------------------------------------------- struct BindExport { int iIntroducedVersion = -1; int iMaxVersion = -1; } //---------------------------------------------------------------------------- struct BindGetter { string strPropertyName; } //---------------------------------------------------------------------------- struct BindSetter { string strPropertyName; } //---------------------------------------------------------------------------- struct BindBinaryMatch { } //---------------------------------------------------------------------------- struct Documentation { struct ParameterDocumentation { string strParamName; string strParamDescription; } string strFuncDescription; string strReturnDescription; ParameterDocumentation[] vecTemplateParameterDescriptions; ParameterDocumentation[] vecParameterDescriptions; } //---------------------------------------------------------------------------- //============================================================================
D
module dau.geometry.vector; import std.math, std.traits, std.range, std.conv, std.string, std.algorithm; public alias Vector2f = Vector2!float; public alias Vector2i = Vector2!int; /// A 2-dimensional vector struct Vector2(T : real) { static if (isFloatingPoint!T) { alias AngleType = T; } else { // use float for angles of integral types alias AngleType = float; } /** Members *****************************************************************/ T x = 0; T y = 0; /** Static *****************************************************************/ static auto fromAngle(AngleType angle) { return Vector2!T(cast(T) cos(angle), cast(T) sin(angle)); } static auto zero() { return Vector2!T(0, 0); } static auto unitX() { return Vector2!T(1, 0); } static auto unitY() { return Vector2!T(0, 1); } /** Properties **************************************************************/ @property { /// get the length (magnitude) (x^2 + y^2) auto len() const { return cast(T) hypot(x, y); } /// set the length (magnitude) (x^2 + y^2) T len(T newLen) { auto prev_angle = angle; // save angle, it will change x = cast(T) (newLen * cos(prev_angle)); y = cast(T) (newLen * sin(prev_angle)); return newLen; } /// get the angle of the vector AngleType angle() const { return atan2(cast(AngleType) y, cast(AngleType) x); } /// get the angle of the vector AngleType angle(AngleType newAngle) { auto prev_len = len; // save len, it will change after assigning to x or y x = cast(T) (prev_len * cos(newAngle)); y = cast(T) (prev_len * sin(newAngle)); return newAngle; } /// return the unit vector representation auto unit() const { return len == 0 ? zero : Vector2!(T)(x / len, y / len); } /// vector with x coordinate negated auto mirroredH() { return Vector2!T(-x, y); } /// vector with y coordinate negated auto mirroredV() { return Vector2!T(x, -y); } /// replace unit with normalized eventually alias normalized = unit; } /** Methods *****************************************************************/ /// normalize the vector in place void normalize() { if (len == 0) { x = y = 0; } else { auto prev_len = len; x /= prev_len; y /= prev_len; } } /// rotate the vector by angle void rotate(AngleType rotation_angle) { angle = angle + rotation_angle; } /// return a vector moved distance from this to dest auto movedTo(this T, U : real, V : real)(Vector2!U dest, V distance, out bool destReached) { auto disp = dest - this; if (disp.len < distance) { destReached = true; return dest; } else { destReached = false; return cast(T) (this + disp.normalized * distance); } } /// move vector distance toward dest, or place on dest if closer than distance /// return true if dest reached bool moveTo(V)(Vector2!V dest, real distance) { bool destReached; this = this.movedTo(dest, distance, destReached); return destReached; } auto clamp(U : real, V : real)(Vector2!U min, Vector2!V max) { auto rx = cast(T) fmax(min.x, fmin(max.x, x)); auto ry = cast(T) fmax(min.y, fmin(max.y, y)); return Vector2!T(rx, ry); } /** Operators ***************************************************************/ auto opUnary(string op)() if (op == "-") { return Vector2(-x, -y); } // + or - auto opBinary(string op, V)(Vector2!(V) rhs) if (op == "-" || op == "+") { alias U = typeof(mixin("x" ~ op ~ "rhs.x")); // return type mixin("return Vector2!U(x" ~op~ "rhs.x, y" ~op~ "rhs.y);"); } // * or / auto opBinary(string op, V)(V rhs) if (op == "*" || op == "/") { alias U = typeof(mixin("x" ~ op ~ "rhs")); // return type return Vector2!U(mixin("x" ~op~ "rhs"), mixin("y" ~op~ "rhs")); } // += or -= ref auto opOpAssign(string op, V)(Vector2!(V) rhs) if (op == "-" || op == "+") { x = cast(T) mixin("x" ~op~ "rhs.x"); y = cast(T) mixin("y" ~op~ "rhs.y"); return this; } // *= or /= ref auto opOpAssign(string op, V)(V rhs) if (op == "*" || op == "/") { x = cast(T) mixin("x" ~op~ "rhs"); y = cast(T) mixin("y" ~op~ "rhs"); return this; } // assignment from other vector of a potentially different type void opAssign(V)(Vector2!V rhs) { x = cast(T) rhs.x; y = cast(T) rhs.y; } // == other vector, even if types differ bool opEquals(V)(auto ref const Vector2!V rhs) { return x == rhs.x && y == rhs.y; } bool approxEqual(V)(Vector2!V other) { return std.math.approxEqual(x, other.x) && std.math.approxEqual(y, other.y); } /// cast to another vector type auto opCast(U : inout(Vector2!V), V)() const { return U(cast(V) x, cast(V) y); } } T distance(T)(Vector2!T v1, Vector2!T v2) { return (v2 - v1).len; } /// parse a Vector2!T from a string of format "x,y" auto parseVector(T : real)(string csvSpec) { auto entries = csvSpec.splitter(",").map!(x => x.strip.to!T); assert(entries.walkLength == 2, "parseVector expects 'x,y', got " ~ csvSpec); T x = entries.front; entries.popFront; T y = entries.front; return Vector2!T(x, y); } // float vector unittest { // test for rough equality enum close_enough = 1e-6; void approx(T)(T v1, T v2) { // float comparison static if (is(T : real)) { assert(abs(v1 - v2) < close_enough); } // vector comparison else if (is(typeof(v1.x) : real)) { assert(abs(v1.x - v2.x) < close_enough && abs(v1.y - v2.y) < close_enough); } } // construction auto v1 = Vector2!float.unitX; assert(v1.len == 1); assert(v1.angle == 0); // static construction assert(v1 == Vector2!float.fromAngle(0)); assert(Vector2!float(sqrt(2f)/2, sqrt(2f)/2) == Vector2!float.fromAngle(PI / 4)); assert(Vector2!float(sqrt(2f)/2, -sqrt(2f)/2) == Vector2!float.fromAngle(-PI / 4)); assert(Vector2!float(-sqrt(2f)/2, -sqrt(2f)/2) == Vector2!float.fromAngle(-3 * PI / 4)); assert(Vector2!float(-sqrt(2f)/2, sqrt(2f)/2) == Vector2!float.fromAngle(3 * PI / 4)); // copy semantics auto v2 = v1; assert(v1 == v2); // length modification v2.len = 2; assert(v2.x == 2); assert(v2.y == 0); assert(v1.x == 1); assert(v1 != v2); // angle modification assert(v2.angle == 0); v2.angle = PI_2; approx(v2.angle, cast(float) PI_2); approx!float(v2.len, 2f); // length shouldn't change approx!(Vector2!float)(v2, Vector2!float(0, 2f)); v2.angle = PI_4; approx(v2.x, v2.y); // unit vectors and normalization Vector2!float v3 = Vector2!float(3,4); Vector2!float u3 = v3.unit; assert(v3.angle == u3.angle); // unit vector should have same angle approx!float(u3.len, 1); // unit vector should have length 1 assert(v3.len == 5); // .unit should not modify original v3.normalize(); approx!float(v3.len, 1); // normalize should modify v3 // special case assert(Vector2!float.zero.unit == Vector2!float.zero); v3 = Vector2!float.zero; v3.normalize(); assert(v3 == Vector2!float.zero); // rotation auto v4 = Vector2!float.fromAngle(PI / 3); v4.rotate(PI / 4); approx(v4.angle, cast(float) (PI / 3 + PI / 4)); v4.rotate(-PI / 3); approx(v4.angle, cast(float) PI / 4); // unary - op assert(Vector2!float(2,3) == -Vector2!float(-2,-3)); // binary ops assert(Vector2!float.unitX + Vector2!float.unitY == Vector2!float(1,1)); assert(Vector2!float(3,4) - Vector2!float(4,6) == Vector2!float(-1,-2)); assert(Vector2!float.unitY * -2 == Vector2!float(0,-2)); assert(Vector2!float(-4, 6) * 0.5 == Vector2!float(-2,3)); // assignment ops auto v5 = Vector2!float(3,4); v5 += Vector2!float(1,2); assert(v5 == Vector2!float(4,6)); v5 -= Vector2!float(3,4); assert(v5 == Vector2!float(1,2)); v5 *= -2; assert(v5 == Vector2!float(-2,-4)); v5 /= 4; assert(v5 == Vector2!float(-0.5,-1)); // clamp auto v6 = Vector2f(12, -2); assert(v6.clamp(Vector2f(0, 0), Vector2f(10, 10)) == Vector2f(10, 0)); // moveTo bool reachedDest; auto v7 = Vector2f(10, 10); reachedDest = v7.moveTo(Vector2f(10, 20), 5); approx(v7, Vector2f(10, 15)); assert(!reachedDest); reachedDest = v7.moveTo(Vector2f(10, 20), 6); assert(reachedDest); approx(v7, Vector2f(10, 20)); assert(Vector2f(0, 0).approxEqual(Vector2f(0.0000001, -0.0000001))); } // int vector unittest { auto v1 = Vector2!int(3, 4); assert(v1.len == 5); v1 *= 2; assert(v1.len == 10 && v1.x == 6 && v1.y == 8); auto v2 = Vector2i.unitX; assert(v1 + v2 == Vector2!int(7,8)); // casting test Vector2!int v3 = cast(Vector2!int) Vector2!float(5.7, 8.2); assert(v3.x == 5 && v3.y == 8); Vector2!float v4 = cast(Vector2f) Vector2i(5, 8); assert(v4.x == 5.0 && v4.y == 8.0); auto test(T)(Vector2!T v) { return v.x; } assert(test(v4) == 5.0); assert(test(v3) == 5); // assignment ops auto v5 = Vector2i(3,4); v5 += Vector2i(1,2); assert(v5 == Vector2i(4,6)); v5 -= Vector2i(3,4); assert(v5 == Vector2i(1,2)); v5 *= -2; assert(v5 == Vector2i(-2,-4)); v5 /= 2; assert(v5 == Vector2i(-1,-2)); } // parse vector unittest { assert(parseVector!int("1,2") == Vector2i(1,2)); assert(parseVector!float("1,2") == Vector2f(1,2)); assert(parseVector!real("-1.75, 20.4") == Vector2!real(-1.75, 20.4)); }
D
CTPCON (F07UUE) Example Program Data 4 :Value of N 'L' :Value of UPLO ( 4.78, 4.56) ( 2.00,-0.30) (-4.11, 1.25) ( 2.89,-1.34) ( 2.36,-4.25) ( 4.15, 0.80) (-1.89, 1.15) ( 0.04,-3.69) (-0.02, 0.46) ( 0.33,-0.26) :End of matrix A
D
module hunt.stomp.exception; import hunt.Exceptions; class StompConversionException : NestedRuntimeException { mixin BasicExceptionCtors; } class InvalidMimeTypeException : IllegalArgumentException { mixin BasicExceptionCtors; } class ConnectionLostException : RuntimeException { mixin BasicExceptionCtors; }
D
// -*- flycheck-dmd-include-path: ("../"); -*- import module_base; extern (C) IRCModule m; debug import std.stdio; import std.uni : toLower; static this() { m.commands["reload"] = new Command( function void(Client c, string source, string channel, string message) { debug writeln("reload command"); c.send_privmsg("#fusxbottest", "reload queued"); c.delayed_actions.insert(new DelayedReload()); c.delayed_actions.insert(new DelayedCallback({c.send_raw("PRIVMSG #fusxbottest :reloaded");})); }, 3, UserChannelFlag.NONE, 250); m.commands["quit"] = new Command( function void(Client c, string source, string channel, string message) { c.send_raw("QUIT :quitting from command"); c.delayed_actions.insert(new DelayedQuit()); }, 3, UserChannelFlag.NONE, 240); m.commands["raw"] = new Command( function void(Client c, string source, string channel, string message) { c.send_raw(message); }, 3, UserChannelFlag.NONE, 250); m.commands["join"] = new Command( function void(Client c, string source, string channel, string message) { c.send_join(message); }, 3, UserChannelFlag.NONE, 240); m.commands["part"] = new Command( function void(Client c, string source, string channel, string message) { c.send_part(message); }, 3, UserChannelFlag.NONE, 240); m.listeners["INVITE"] = new Listener( function void(Client c, string source, string[] args, string message) { assert(args.length == 1); // TODO: better lowercase comparison? if (args[0].toLower() == c.config.nick.toLower()) { c.send_join(message); } }); m.listeners["PING"] = new Listener( function void(Client c, string source, string[] args, string message) { c.send_raw("PONG :", message); //debug writeln("sent pong"); if (!c.ready) { c.ready = true; c.send_raw("CAP REQ multi-prefix"); // TODO: check for CAP ACK response c.send_join(c.config.initial_channels); } }); }
D
/Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/Optional.o : /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Schema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectSchema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport+Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ThreadSafeReference.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Combine.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Optional.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Util.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Realm.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SwiftVersion.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Migration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmConfiguration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmCollection.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Error.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SortDescriptor.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Aliases.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/LinkingObjects.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Results.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Object.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/List.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Property.swift /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 /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/Task/Pods/Target\ Support\ Files/RealmSwift/RealmSwift-umbrella.h /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/Realm.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.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.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/Optional~partial.swiftmodule : /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Schema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectSchema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport+Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ThreadSafeReference.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Combine.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Optional.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Util.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Realm.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SwiftVersion.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Migration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmConfiguration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmCollection.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Error.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SortDescriptor.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Aliases.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/LinkingObjects.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Results.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Object.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/List.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Property.swift /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 /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/Task/Pods/Target\ Support\ Files/RealmSwift/RealmSwift-umbrella.h /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/Realm.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.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.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/Optional~partial.swiftdoc : /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Schema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectSchema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport+Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ThreadSafeReference.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Combine.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Optional.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Util.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Realm.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SwiftVersion.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Migration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmConfiguration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmCollection.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Error.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SortDescriptor.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Aliases.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/LinkingObjects.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Results.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Object.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/List.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Property.swift /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 /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/Task/Pods/Target\ Support\ Files/RealmSwift/RealmSwift-umbrella.h /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/Realm.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.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.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/Optional~partial.swiftsourceinfo : /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Schema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectSchema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport+Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Sync.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ThreadSafeReference.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Combine.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Optional.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Util.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Realm.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SwiftVersion.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Migration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmConfiguration.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/RealmCollection.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Error.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/SortDescriptor.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Aliases.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/LinkingObjects.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Results.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Object.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectiveCSupport.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/List.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Property.swift /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 /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/Task/Pods/Target\ Support\ Files/RealmSwift/RealmSwift-umbrella.h /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/Realm.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.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.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.build/PercentEncoding.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Box.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Collection+Safe.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Dispatch.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/DispatchTime+Utilities.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Equatable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Extractable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/FileProtocol.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Lock.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/PercentEncoding.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Portal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Result.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/RFC1123.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Semaphore.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Sequence.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/StaticDataBuffer.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Strand.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/String+CaseInsensitiveCompare.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/UnsignedInteger.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Byte+Random.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Byte.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/ByteAliases.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Bytes+Base64.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Bytes.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/BytesConvertible.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/BytesSlice+PatternMatching.swift /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 /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.build/PercentEncoding~partial.swiftmodule : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Box.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Collection+Safe.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Dispatch.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/DispatchTime+Utilities.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Equatable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Extractable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/FileProtocol.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Lock.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/PercentEncoding.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Portal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Result.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/RFC1123.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Semaphore.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Sequence.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/StaticDataBuffer.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Strand.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/String+CaseInsensitiveCompare.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/UnsignedInteger.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Byte+Random.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Byte.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/ByteAliases.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Bytes+Base64.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Bytes.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/BytesConvertible.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/BytesSlice+PatternMatching.swift /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 /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.build/PercentEncoding~partial.swiftdoc : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Box.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Collection+Safe.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Dispatch.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/DispatchTime+Utilities.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Equatable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Extractable.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/FileProtocol.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Lock.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/PercentEncoding.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Portal.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Result.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/RFC1123.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Semaphore.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Sequence.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/StaticDataBuffer.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Strand.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/String+CaseInsensitiveCompare.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/UnsignedInteger.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Byte+Random.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Byte.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/ByteAliases.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Bytes+Base64.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/Bytes.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/BytesConvertible.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Core-1.0.0/Sources/Core/Byte/BytesSlice+PatternMatching.swift /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 /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
D
/Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevNetwork.build/Core/NetworkError.swift.o : /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Page.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Pageable.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/RequestBuilder.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/NetworkError.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/APIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Rx/RxAPIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Combine/CombineHTTPClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Reachiblity.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/Network.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/System/Library/Frameworks/Network.framework/Headers/Network.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/DevNetwork.build/Core/NetworkError~partial.swiftmodule : /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Page.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Pageable.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/RequestBuilder.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/NetworkError.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/APIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Rx/RxAPIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Combine/CombineHTTPClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Reachiblity.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/Network.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/System/Library/Frameworks/Network.framework/Headers/Network.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/DevNetwork.build/Core/NetworkError~partial.swiftdoc : /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Page.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Pageable.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/RequestBuilder.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/NetworkError.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/APIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Rx/RxAPIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Combine/CombineHTTPClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Reachiblity.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/Network.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/System/Library/Frameworks/Network.framework/Headers/Network.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/DevNetwork.build/Core/NetworkError~partial.swiftsourceinfo : /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Page.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Pageable.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/RequestBuilder.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/NetworkError.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/APIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Rx/RxAPIClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Combine/CombineHTTPClient.swift /Users/abuzeid/workspace/DevPods/DevNetwork/Core/Reachiblity.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/Network.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/System/Library/Frameworks/Network.framework/Headers/Network.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
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkD; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage /* * Conversion parameters: * inFile = GtkCheckMenuItem.html * outPack = gtk * outFile = CheckMenuItem * strct = GtkCheckMenuItem * realStrct= * ctorStrct= * clss = CheckMenuItem * interf = * class Code: Yes * interface Code: No * template for: * extend = * implements: * prefixes: * - gtk_check_menu_item_ * - gtk_ * omit structs: * omit prefixes: * omit code: * - gtk_check_menu_item_new_with_label * - gtk_check_menu_item_new_with_mnemonic * omit signals: * imports: * - gtkD.glib.Str * structWrap: * module aliases: * local aliases: * overrides: */ module gtkD.gtk.CheckMenuItem; public import gtkD.gtkc.gtktypes; private import gtkD.gtkc.gtk; private import gtkD.glib.ConstructionException; private import gtkD.gobject.Signals; public import gtkD.gtkc.gdktypes; private import gtkD.glib.Str; private import gtkD.gtk.MenuItem; /** * Description * A GtkCheckMenuItem is a menu item that maintains the state of a boolean * value in addition to a GtkMenuItem's usual role in activating application * code. * A check box indicating the state of the boolean value is displayed * at the left side of the GtkMenuItem. Activating the GtkMenuItem * toggles the value. */ public class CheckMenuItem : MenuItem { /** the main Gtk struct */ protected GtkCheckMenuItem* gtkCheckMenuItem; public GtkCheckMenuItem* getCheckMenuItemStruct() { return gtkCheckMenuItem; } /** the main Gtk struct as a void* */ protected override void* getStruct() { return cast(void*)gtkCheckMenuItem; } /** * Sets our main struct and passes it to the parent class */ public this (GtkCheckMenuItem* gtkCheckMenuItem) { if(gtkCheckMenuItem is null) { this = null; return; } //Check if there already is a D object for this gtk struct void* ptr = getDObject(cast(GObject*)gtkCheckMenuItem); if( ptr !is null ) { this = cast(CheckMenuItem)ptr; return; } super(cast(GtkMenuItem*)gtkCheckMenuItem); this.gtkCheckMenuItem = gtkCheckMenuItem; } /** * Creates a new GtkCheckMenuItem with a label. * Params: * label = the string to use for the label. * mnemonic = if true the label * will be created using gtk_label_new_with_mnemonic(), so underscores * in label indicate the mnemonic for the menu item. * Throws: ConstructionException GTK+ fails to create the object. */ public this (string label, bool mnemonic=true) { GtkCheckMenuItem* p; if ( mnemonic ) { // GtkWidget* gtk_check_menu_item_new_with_mnemonic (const gchar *label); p = cast(GtkCheckMenuItem*)gtk_check_menu_item_new_with_mnemonic(Str.toStringz(label)); } else { // GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label); p = cast(GtkCheckMenuItem*)gtk_check_menu_item_new_with_label(Str.toStringz(label)); } if(p is null) { throw new ConstructionException("null returned by gtk_check_menu_item_new_with_"); } this(p); } /** */ int[char[]] connectedSignals; void delegate(CheckMenuItem)[] onToggledListeners; /** * This signal is emitted when the state of the check box is changed. * A signal handler can examine the active * field of the GtkCheckMenuItem struct to discover the new state. */ void addOnToggled(void delegate(CheckMenuItem) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0) { if ( !("toggled" in connectedSignals) ) { Signals.connectData( getStruct(), "toggled", cast(GCallback)&callBackToggled, cast(void*)this, null, connectFlags); connectedSignals["toggled"] = 1; } onToggledListeners ~= dlg; } extern(C) static void callBackToggled(GtkCheckMenuItem* checkmenuitemStruct, CheckMenuItem checkMenuItem) { foreach ( void delegate(CheckMenuItem) dlg ; checkMenuItem.onToggledListeners ) { dlg(checkMenuItem); } } /** * Creates a new GtkCheckMenuItem. * Throws: ConstructionException GTK+ fails to create the object. */ public this () { // GtkWidget* gtk_check_menu_item_new (void); auto p = gtk_check_menu_item_new(); if(p is null) { throw new ConstructionException("null returned by gtk_check_menu_item_new()"); } this(cast(GtkCheckMenuItem*) p); } /** * Returns whether the check menu item is active. See * gtk_check_menu_item_set_active(). * Returns: TRUE if the menu item is checked. */ public int getActive() { // gboolean gtk_check_menu_item_get_active (GtkCheckMenuItem *check_menu_item); return gtk_check_menu_item_get_active(gtkCheckMenuItem); } /** * Sets the active state of the menu item's check box. * Params: * isActive = boolean value indicating whether the check box is active. */ public void setActive(int isActive) { // void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item, gboolean is_active); gtk_check_menu_item_set_active(gtkCheckMenuItem, isActive); } /** * Warning * gtk_check_menu_item_set_show_toggle is deprecated and should not be used in newly-written code. * Controls whether the check box is shown at all times. * Normally the check box is shown only when it is active or while the * menu item is selected. * Params: * always = boolean value indicating whether to always show the check box. */ public void setShowToggle(int always) { // void gtk_check_menu_item_set_show_toggle (GtkCheckMenuItem *menu_item, gboolean always); gtk_check_menu_item_set_show_toggle(gtkCheckMenuItem, always); } /** * Emits the GtkCheckMenuItem::toggled signal. */ public void toggled() { // void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item); gtk_check_menu_item_toggled(gtkCheckMenuItem); } /** * Retrieves the value set by gtk_check_menu_item_set_inconsistent(). * Returns: TRUE if inconsistent */ public int getInconsistent() { // gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item); return gtk_check_menu_item_get_inconsistent(gtkCheckMenuItem); } /** * If the user has selected a range of elements (such as some text or * spreadsheet cells) that are affected by a boolean setting, and the * current values in that range are inconsistent, you may want to * display the check in an "in between" state. This function turns on * "in between" display. Normally you would turn off the inconsistent * state again if the user explicitly selects a setting. This has to be * done manually, gtk_check_menu_item_set_inconsistent() only affects * visual appearance, it doesn't affect the semantics of the widget. * Params: * setting = TRUE to display an "inconsistent" third state check */ public void setInconsistent(int setting) { // void gtk_check_menu_item_set_inconsistent (GtkCheckMenuItem *check_menu_item, gboolean setting); gtk_check_menu_item_set_inconsistent(gtkCheckMenuItem, setting); } /** * Sets whether check_menu_item is drawn like a GtkRadioMenuItem * Since 2.4 * Params: * drawAsRadio = whether check_menu_item is drawn like a GtkRadioMenuItem */ public void setDrawAsRadio(int drawAsRadio) { // void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item, gboolean draw_as_radio); gtk_check_menu_item_set_draw_as_radio(gtkCheckMenuItem, drawAsRadio); } /** * Returns whether check_menu_item looks like a GtkRadioMenuItem * Since 2.4 * Returns: Whether check_menu_item looks like a GtkRadioMenuItem */ public int getDrawAsRadio() { // gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item); return gtk_check_menu_item_get_draw_as_radio(gtkCheckMenuItem); } }
D
common perennial aromatic herb native to Eurasia having buttonlike yellow flower heads and bitter-tasting pinnate leaves sometimes used medicinally
D
module android.java.org.xml.sax.AttributeList_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; final class AttributeList : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import int getLength(); @Import string getName(int); @Import string getType(int); @Import string getValue(int); @Import string getType(string); @Import string getValue(string); @Import import0.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 = "Lorg/xml/sax/AttributeList;"; }
D
instance STRF_1120_Addon_Tonak (Npc_Default) { // ------ NSC ------ name = "Tonak"; guild = GIL_BDT; id = 1120; voice = 3; flags = 0; npctype = NPCTYPE_MAIN; //aivars aivar[AIV_NoFightParker] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; aivar[AIV_ToughGuy] = TRUE; aivar[AIV_ToughGuyNewsOverride] = TRUE; // ------ Attribute ------ B_SetAttributesToChapter (self, 2); // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_COWARD; // ------ Equippte Waffen ------ EquipItem (self, ItMw_2H_Axe_L_01 ); // ------ Inventory ------ B_CreateAmbientInv (self); // ------ visuals ------ B_SetNpcVisual (self, MALE, "Hum_Head_Thief", Face_B_Normal01, BodyTex_B, ITAR_Prisoner); Mdl_SetModelFatness (self, - 1); Mdl_ApplyOverlayMds (self, "Humans_Tired.mds"); // ------ NSC-relevante Talente vergeben ------ B_GiveNpcTalents (self); // ------ Kampf-Talente ------ B_SetFightSkills (self, 30); // ------ TA anmelden ------ daily_routine = Rtn_Start_1120; }; FUNC VOID Rtn_Start_1120 () { TA_Pick_Ore (08,00,23,00,"ADW_MINE_LAGER_SIDE_PICK_01"); TA_Pick_Ore (23,00,08,00,"ADW_MINE_LAGER_SIDE_PICK_01"); }; FUNC VOID Rtn_Flucht_1120 () { TA_RunToWP (08,00,23,00,"ADW_BL_HOEHLE_03"); TA_RunToWP (23,00,08,00,"ADW_BL_HOEHLE_03"); };
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/dsymbol.d, _dsymbol.d) * Documentation: https://dlang.org/phobos/dmd_dsymbol.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dsymbol.d */ module dmd.dsymbol; import core.stdc.stdarg; import core.stdc.stdio; import core.stdc.string; import core.stdc.stdlib; import dmd.aggregate; import dmd.aliasthis; import dmd.arraytypes; import dmd.attrib; import dmd.gluelayer; import dmd.dclass; import dmd.declaration; import dmd.denum; import dmd.dimport; import dmd.dmodule; import dmd.dscope; import dmd.dstruct; import dmd.dsymbolsem; import dmd.dtemplate; import dmd.errors; import dmd.expression; import dmd.expressionsem; import dmd.func; import dmd.globals; import dmd.id; import dmd.identifier; import dmd.init; import dmd.lexer; import dmd.mtype; import dmd.nspace; import dmd.opover; import dmd.root.aav; import dmd.root.rmem; import dmd.root.rootobject; import dmd.root.speller; import dmd.statement; import dmd.tokens; import dmd.visitor; struct Ungag { uint oldgag; extern (D) this(uint old) { this.oldgag = old; } extern (C++) ~this() { global.gag = oldgag; } } enum PROTKIND : int { PROTundefined, PROTnone, // no access PROTprivate, PROTpackage, PROTprotected, PROTpublic, PROTexport, } alias PROTundefined = PROTKIND.PROTundefined; alias PROTnone = PROTKIND.PROTnone; alias PROTprivate = PROTKIND.PROTprivate; alias PROTpackage = PROTKIND.PROTpackage; alias PROTprotected = PROTKIND.PROTprotected; alias PROTpublic = PROTKIND.PROTpublic; alias PROTexport = PROTKIND.PROTexport; struct Prot { PROTKIND kind; Package pkg; extern (D) this(PROTKIND kind) { this.kind = kind; } extern (C++): /** * Checks if `this` is superset of `other` restrictions. * For example, "protected" is more restrictive than "public". */ bool isMoreRestrictiveThan(const Prot other) const { return this.kind < other.kind; } /** * Checks if `this` is absolutely identical protection attribute to `other` */ bool opEquals(ref const Prot other) const { if (this.kind == other.kind) { if (this.kind == PROTpackage) return this.pkg == other.pkg; return true; } return false; } /** * Checks if parent defines different access restrictions than this one. * * Params: * parent = protection attribute for scope that hosts this one * * Returns: * 'true' if parent is already more restrictive than this one and thus * no differentiation is needed. */ bool isSubsetOf(ref const Prot parent) const { if (this.kind != parent.kind) return false; if (this.kind == PROTpackage) { if (!this.pkg) return true; if (!parent.pkg) return false; if (parent.pkg.isAncestorPackageOf(this.pkg)) return true; } return true; } } enum PASS : int { PASSinit, // initial state PASSsemantic, // semantic() started PASSsemanticdone, // semantic() done PASSsemantic2, // semantic2() started PASSsemantic2done, // semantic2() done PASSsemantic3, // semantic3() started PASSsemantic3done, // semantic3() done PASSinline, // inline started PASSinlinedone, // inline done PASSobj, // toObjFile() run } alias PASSinit = PASS.PASSinit; alias PASSsemantic = PASS.PASSsemantic; alias PASSsemanticdone = PASS.PASSsemanticdone; alias PASSsemantic2 = PASS.PASSsemantic2; alias PASSsemantic2done = PASS.PASSsemantic2done; alias PASSsemantic3 = PASS.PASSsemantic3; alias PASSsemantic3done = PASS.PASSsemantic3done; alias PASSinline = PASS.PASSinline; alias PASSinlinedone = PASS.PASSinlinedone; alias PASSobj = PASS.PASSobj; // Search options enum : int { IgnoreNone = 0x00, // default IgnorePrivateImports = 0x01, // don't search private imports IgnoreErrors = 0x02, // don't give error messages IgnoreAmbiguous = 0x04, // return NULL if ambiguous SearchLocalsOnly = 0x08, // only look at locals (don't search imports) SearchImportsOnly = 0x10, // only look in imports SearchUnqualifiedModule = 0x20, // the module scope search is unqualified, // meaning don't search imports in that scope, // because qualified module searches search // their imports IgnoreSymbolVisibility = 0x80, // also find private and package protected symbols } extern (C++) alias Dsymbol_apply_ft_t = int function(Dsymbol, void*); /*********************************************************** */ extern (C++) class Dsymbol : RootObject { Identifier ident; Dsymbol parent; Symbol* csym; // symbol for code generator Symbol* isym; // import version of csym const(char)* comment; // documentation comment for this Dsymbol Loc loc; // where defined Scope* _scope; // !=null means context to use for semantic() const(char)* prettystring; // cached value of toPrettyChars() bool errors; // this symbol failed to pass semantic() PASS semanticRun; DeprecatedDeclaration depdecl; // customized deprecation message UserAttributeDeclaration userAttribDecl; // user defined attributes // !=null means there's a ddoc unittest associated with this symbol // (only use this with ddoc) UnitTestDeclaration ddocUnittest; final extern (D) this() { //printf("Dsymbol::Dsymbol(%p)\n", this); this.semanticRun = PASSinit; } final extern (D) this(Identifier ident) { //printf("Dsymbol::Dsymbol(%p, ident)\n", this); this.ident = ident; this.semanticRun = PASSinit; } static Dsymbol create(Identifier ident) { return new Dsymbol(ident); } override const(char)* toChars() { return ident ? ident.toChars() : "__anonymous"; } // helper to print fully qualified (template) arguments const(char)* toPrettyCharsHelper() { return toChars(); } final ref Loc getLoc() { if (!loc.filename) // avoid bug 5861. { auto m = getModule(); if (m && m.srcfile) loc.filename = m.srcfile.toChars(); } return loc; } final const(char)* locToChars() { return getLoc().toChars(); } override bool equals(RootObject o) { if (this == o) return true; Dsymbol s = cast(Dsymbol)o; // Overload sets don't have an ident if (s && ident && s.ident && ident.equals(s.ident)) return true; return false; } bool isAnonymous() { return ident is null; } final void error(Loc loc, const(char)* format, ...) { va_list ap; va_start(ap, format); .verror(loc, format, ap, kind(), toPrettyChars()); va_end(ap); } final void error(const(char)* format, ...) { va_list ap; va_start(ap, format); .verror(getLoc(), format, ap, kind(), toPrettyChars()); va_end(ap); } final void deprecation(Loc loc, const(char)* format, ...) { va_list ap; va_start(ap, format); .vdeprecation(loc, format, ap, kind(), toPrettyChars()); va_end(ap); } final void deprecation(const(char)* format, ...) { va_list ap; va_start(ap, format); .vdeprecation(getLoc(), format, ap, kind(), toPrettyChars()); va_end(ap); } final void checkDeprecated(Loc loc, Scope* sc, bool isAliasedDeclaration = false) { if (global.params.useDeprecated != 1 && isDeprecated()) { // Don't complain if we're inside a deprecated symbol's scope for (Dsymbol sp = sc.parent; sp; sp = sp.parent) { if (sp.isDeprecated()) goto L1; } for (Scope* sc2 = sc; sc2; sc2 = sc2.enclosing) { if (sc2.scopesym && sc2.scopesym.isDeprecated()) goto L1; // If inside a StorageClassDeclaration that is deprecated if (sc2.stc & STCdeprecated) goto L1; } const(char)* message = null; for (Dsymbol p = this; p; p = p.parent) { message = p.depdecl ? p.depdecl.getMessage() : null; if (message) break; } if (message) deprecation(loc, "is deprecated - %s", message); else deprecation(loc, "is deprecated"); } L1: Declaration d = isDeclaration(); if (d && d.storage_class & STCdisable) { if (!(sc.func && sc.func.storage_class & STCdisable)) { if (d.toParent() && d.isPostBlitDeclaration()) d.toParent().error(loc, "is not copyable because it is annotated with @disable"); else { // if the function is @disabled, maybe there // is an overload in the overload set that isn't if (isAliasedDeclaration) { FuncDeclaration fd = d.isFuncDeclaration; if (fd) { for (FuncDeclaration ovl = fd; ovl; ovl = cast(FuncDeclaration)ovl.overnext) if (!(ovl.storage_class & STCdisable)) return; } } error(loc, "is not callable because it is annotated with @disable"); } } } } /********************************** * Determine which Module a Dsymbol is in. */ final Module getModule() { //printf("Dsymbol::getModule()\n"); if (TemplateInstance ti = isInstantiated()) return ti.tempdecl.getModule(); Dsymbol s = this; while (s) { //printf("\ts = %s '%s'\n", s.kind(), s.toPrettyChars()); Module m = s.isModule(); if (m) return m; s = s.parent; } return null; } /********************************** * Determine which Module a Dsymbol is in, as far as access rights go. */ final Module getAccessModule() { //printf("Dsymbol::getAccessModule()\n"); if (TemplateInstance ti = isInstantiated()) return ti.tempdecl.getAccessModule(); Dsymbol s = this; while (s) { //printf("\ts = %s '%s'\n", s.kind(), s.toPrettyChars()); Module m = s.isModule(); if (m) return m; TemplateInstance ti = s.isTemplateInstance(); if (ti && ti.enclosing) { /* Because of local template instantiation, the parent isn't where the access * rights come from - it's the template declaration */ s = ti.tempdecl; } else s = s.parent; } return null; } final inout(Dsymbol) pastMixin() inout { //printf("Dsymbol::pastMixin() %s\n", toChars()); if (!isTemplateMixin() && !isForwardingAttribDeclaration()) return this; if (!parent) return null; return parent.pastMixin(); } /********************************** * `parent` field returns a lexically enclosing scope symbol this is a member of. * * `toParent()` returns a logically enclosing scope symbol this is a member of. * It skips over TemplateMixin's. * * `toParent2()` returns an enclosing scope symbol this is living at runtime. * It skips over both TemplateInstance's and TemplateMixin's. * It's used when looking for the 'this' pointer of the enclosing function/class. * * Examples: * module mod; * template Foo(alias a) { mixin Bar!(); } * mixin template Bar() { * public { // ProtDeclaration * void baz() { a = 2; } * } * } * void test() { * int v = 1; * alias foo = Foo!(v); * foo.baz(); * assert(v == 2); * } * * // s == FuncDeclaration('mod.test.Foo!().Bar!().baz()') * // s.parent == TemplateMixin('mod.test.Foo!().Bar!()') * // s.toParent() == TemplateInstance('mod.test.Foo!()') * // s.toParent2() == FuncDeclaration('mod.test') */ final inout(Dsymbol) toParent() inout { return parent ? parent.pastMixin() : null; } /// ditto final inout(Dsymbol) toParent2() inout { if (!parent || !parent.isTemplateInstance && !parent.isForwardingAttribDeclaration()) return parent; return parent.toParent2; } final inout(TemplateInstance) isInstantiated() inout { if (!parent) return null; auto ti = parent.isTemplateInstance(); if (ti && !ti.isTemplateMixin()) return ti; return parent.isInstantiated(); } // Check if this function is a member of a template which has only been // instantiated speculatively, eg from inside is(typeof()). // Return the speculative template instance it is part of, // or NULL if not speculative. final inout(TemplateInstance) isSpeculative() inout { if (!parent) return null; auto ti = parent.isTemplateInstance(); if (ti && ti.gagged) return ti; if (!parent.toParent()) return null; return parent.isSpeculative(); } final Ungag ungagSpeculative() const { uint oldgag = global.gag; if (global.gag && !isSpeculative() && !toParent2().isFuncDeclaration()) global.gag = 0; return Ungag(oldgag); } // kludge for template.isSymbol() override final DYNCAST dyncast() const { return DYNCAST.dsymbol; } /************************************* * Do syntax copy of an array of Dsymbol's. */ static Dsymbols* arraySyntaxCopy(Dsymbols* a) { Dsymbols* b = null; if (a) { b = a.copy(); for (size_t i = 0; i < b.dim; i++) { (*b)[i] = (*b)[i].syntaxCopy(null); } } return b; } Identifier getIdent() { return ident; } const(char)* toPrettyChars(bool QualifyTypes = false) { if (prettystring && !QualifyTypes) return prettystring; //printf("Dsymbol::toPrettyChars() '%s'\n", toChars()); if (!parent) { auto s = toChars(); if (!QualifyTypes) prettystring = s; return s; } // Computer number of components size_t complength = 0; for (Dsymbol p = this; p; p = p.parent) ++complength; // Allocate temporary array comp[] alias T = const(char)[]; auto compptr = cast(T*)malloc(complength * T.sizeof); if (!compptr) Mem.error(); auto comp = compptr[0 .. complength]; // Fill in comp[] and compute length of final result size_t length = 0; int i; for (Dsymbol p = this; p; p = p.parent) { const s = QualifyTypes ? p.toPrettyCharsHelper() : p.toChars(); const len = strlen(s); comp[i] = s[0 .. len]; ++i; length += len + 1; } auto s = cast(char*)mem.xmalloc(length); auto q = s + length - 1; *q = 0; foreach (j; 0 .. complength) { const t = comp[j].ptr; const len = comp[j].length; q -= len; memcpy(q, t, len); if (q == s) break; *--q = '.'; } free(comp.ptr); if (!QualifyTypes) prettystring = s; return s; } const(char)* kind() const pure nothrow @nogc @safe { return "symbol"; } /********************************* * If this symbol is really an alias for another, * return that other. * If needed, semantic() is invoked due to resolve forward reference. */ Dsymbol toAlias() { return this; } /********************************* * Resolve recursive tuple expansion in eponymous template. */ Dsymbol toAlias2() { return toAlias(); } /********************************* * Iterate this dsymbol or members of this scoped dsymbol, then * call `fp` with the found symbol and `param`. * Params: * fp = function pointer to process the iterated symbol. * If it returns nonzero, the iteration will be aborted. * param = a parameter passed to fp. * Returns: * nonzero if the iteration is aborted by the return value of fp, * or 0 if it's completed. */ int apply(Dsymbol_apply_ft_t fp, void* param) { return (*fp)(this, param); } void addMember(Scope* sc, ScopeDsymbol sds) { //printf("Dsymbol::addMember('%s')\n", toChars()); //printf("Dsymbol::addMember(this = %p, '%s' scopesym = '%s')\n", this, toChars(), sds.toChars()); //printf("Dsymbol::addMember(this = %p, '%s' sds = %p, sds.symtab = %p)\n", this, toChars(), sds, sds.symtab); parent = sds; if (!isAnonymous()) // no name, so can't add it to symbol table { if (!sds.symtabInsert(this)) // if name is already defined { Dsymbol s2 = sds.symtabLookup(this,ident); if (!s2.overloadInsert(this)) { sds.multiplyDefined(Loc(), this, s2); errors = true; } } if (sds.isAggregateDeclaration() || sds.isEnumDeclaration()) { if (ident == Id.__sizeof || ident == Id.__xalignof || ident == Id._mangleof) { error(".%s property cannot be redefined", ident.toChars()); errors = true; } } } } /************************************* * Set scope for future semantic analysis so we can * deal better with forward references. */ void setScope(Scope* sc) { //printf("Dsymbol::setScope() %p %s, %p stc = %llx\n", this, toChars(), sc, sc.stc); if (!sc.nofree) sc.setNoFree(); // may need it even after semantic() finishes _scope = sc; if (sc.depdecl) depdecl = sc.depdecl; if (!userAttribDecl) userAttribDecl = sc.userAttribDecl; } void importAll(Scope* sc) { } /********************************************* * Search for ident as member of s. * Params: * loc = location to print for error messages * ident = identifier to search for * flags = IgnoreXXXX * Returns: * null if not found */ Dsymbol search(Loc loc, Identifier ident, int flags = IgnoreNone) { //printf("Dsymbol::search(this=%p,%s, ident='%s')\n", this, toChars(), ident.toChars()); return null; } final Dsymbol search_correct(Identifier ident) { /*************************************************** * Search for symbol with correct spelling. */ extern (D) void* symbol_search_fp(const(char)* seed, ref int cost) { /* If not in the lexer's string table, it certainly isn't in the symbol table. * Doing this first is a lot faster. */ size_t len = strlen(seed); if (!len) return null; Identifier id = Identifier.lookup(seed, len); if (!id) return null; cost = 0; Dsymbol s = this; Module.clearCache(); return cast(void*)s.search(Loc(), id, IgnoreErrors); } if (global.gag) return null; // don't do it for speculative compiles; too time consuming return cast(Dsymbol)speller(ident.toChars(), &symbol_search_fp, idchars); } /*************************************** * Search for identifier id as a member of 'this'. * id may be a template instance. * Returns: * symbol found, NULL if not */ final Dsymbol searchX(Loc loc, Scope* sc, RootObject id) { //printf("Dsymbol::searchX(this=%p,%s, ident='%s')\n", this, toChars(), ident.toChars()); Dsymbol s = toAlias(); Dsymbol sm; if (Declaration d = s.isDeclaration()) { if (d.inuse) { .error(loc, "circular reference to '%s'", d.toPrettyChars()); return null; } } switch (id.dyncast()) { case DYNCAST.identifier: sm = s.search(loc, cast(Identifier)id); break; case DYNCAST.dsymbol: { // It's a template instance //printf("\ttemplate instance id\n"); Dsymbol st = cast(Dsymbol)id; TemplateInstance ti = st.isTemplateInstance(); sm = s.search(loc, ti.name); if (!sm) { sm = s.search_correct(ti.name); if (sm) .error(loc, "template identifier '%s' is not a member of %s '%s', did you mean %s '%s'?", ti.name.toChars(), s.kind(), s.toPrettyChars(), sm.kind(), sm.toChars()); else .error(loc, "template identifier '%s' is not a member of %s '%s'", ti.name.toChars(), s.kind(), s.toPrettyChars()); return null; } sm = sm.toAlias(); TemplateDeclaration td = sm.isTemplateDeclaration(); if (!td) { .error(loc, "%s.%s is not a template, it is a %s", s.toPrettyChars(), ti.name.toChars(), sm.kind()); return null; } ti.tempdecl = td; if (!ti.semanticRun) ti.dsymbolSemantic(sc); sm = ti.toAlias(); break; } case DYNCAST.type: case DYNCAST.expression: default: assert(0); } return sm; } bool overloadInsert(Dsymbol s) { //printf("Dsymbol::overloadInsert('%s')\n", s.toChars()); return false; } /********************************* * Returns: * SIZE_INVALID when the size cannot be determined */ d_uns64 size(Loc loc) { error("Dsymbol '%s' has no size", toChars()); return SIZE_INVALID; } bool isforwardRef() { return false; } // is a 'this' required to access the member AggregateDeclaration isThis() { return null; } // is Dsymbol exported? bool isExport() { return false; } // is Dsymbol imported? bool isImportedSymbol() { return false; } // is Dsymbol deprecated? bool isDeprecated() { return false; } bool isOverloadable() { return false; } // is this a LabelDsymbol()? LabelDsymbol isLabel() { return null; } /// Returns an AggregateDeclaration when toParent() is that. final AggregateDeclaration isMember() { //printf("Dsymbol::isMember() %s\n", toChars()); auto p = toParent(); //printf("parent is %s %s\n", p.kind(), p.toChars()); return p ? p.isAggregateDeclaration() : null; } /// Returns an AggregateDeclaration when toParent2() is that. final AggregateDeclaration isMember2() { //printf("Dsymbol::isMember2() '%s'\n", toChars()); auto p = toParent2(); //printf("parent is %s %s\n", p.kind(), p.toChars()); return p ? p.isAggregateDeclaration() : null; } // is this a member of a ClassDeclaration? final ClassDeclaration isClassMember() { auto ad = isMember(); return ad ? ad.isClassDeclaration() : null; } // is this a type? Type getType() { return null; } // need a 'this' pointer? bool needThis() { return false; } /************************************* */ Prot prot() { return Prot(PROTpublic); } /************************************** * Copy the syntax. * Used for template instantiations. * If s is NULL, allocate the new object, otherwise fill it in. */ Dsymbol syntaxCopy(Dsymbol s) { print(); printf("%s %s\n", kind(), toChars()); assert(0); } /************************************** * Determine if this symbol is only one. * Returns: * false, *ps = NULL: There are 2 or more symbols * true, *ps = NULL: There are zero symbols * true, *ps = symbol: The one and only one symbol */ bool oneMember(Dsymbol* ps, Identifier ident) { //printf("Dsymbol::oneMember()\n"); *ps = this; return true; } /***************************************** * Same as Dsymbol::oneMember(), but look at an array of Dsymbols. */ static bool oneMembers(Dsymbols* members, Dsymbol* ps, Identifier ident) { //printf("Dsymbol::oneMembers() %d\n", members ? members.dim : 0); Dsymbol s = null; if (members) { for (size_t i = 0; i < members.dim; i++) { Dsymbol sx = (*members)[i]; bool x = sx.oneMember(ps, ident); //printf("\t[%d] kind %s = %d, s = %p\n", i, sx.kind(), x, *ps); if (!x) { //printf("\tfalse 1\n"); assert(*ps is null); return false; } if (*ps) { assert(ident); if (!(*ps).ident || !(*ps).ident.equals(ident)) continue; if (!s) s = *ps; else if (s.isOverloadable() && (*ps).isOverloadable()) { // keep head of overload set FuncDeclaration f1 = s.isFuncDeclaration(); FuncDeclaration f2 = (*ps).isFuncDeclaration(); if (f1 && f2) { assert(!f1.isFuncAliasDeclaration()); assert(!f2.isFuncAliasDeclaration()); for (; f1 != f2; f1 = f1.overnext0) { if (f1.overnext0 is null) { f1.overnext0 = f2; break; } } } } else // more than one symbol { *ps = null; //printf("\tfalse 2\n"); return false; } } } } *ps = s; // s is the one symbol, null if none //printf("\ttrue\n"); return true; } void setFieldOffset(AggregateDeclaration ad, uint* poffset, bool isunion) { } /***************************************** * Is Dsymbol a variable that contains pointers? */ bool hasPointers() { //printf("Dsymbol::hasPointers() %s\n", toChars()); return false; } bool hasStaticCtorOrDtor() { //printf("Dsymbol::hasStaticCtorOrDtor() %s\n", toChars()); return false; } void addLocalClass(ClassDeclarations*) { } void checkCtorConstInit() { } /**************************************** * Add documentation comment to Dsymbol. * Ignore NULL comments. */ void addComment(const(char)* comment) { //if (comment) // printf("adding comment '%s' to symbol %p '%s'\n", comment, this, toChars()); if (!this.comment) this.comment = comment; else if (comment && strcmp(cast(char*)comment, cast(char*)this.comment) != 0) { // Concatenate the two this.comment = Lexer.combineComments(this.comment, comment, true); } } /**************************************** * Returns true if this symbol is defined in a non-root module without instantiation. */ final bool inNonRoot() { Dsymbol s = parent; for (; s; s = s.toParent()) { if (auto ti = s.isTemplateInstance()) { return false; } if (auto m = s.isModule()) { if (!m.isRoot()) return true; break; } } return false; } // Eliminate need for dynamic_cast inout(Package) isPackage() inout { return null; } inout(Module) isModule() inout { return null; } inout(EnumMember) isEnumMember() inout { return null; } inout(TemplateDeclaration) isTemplateDeclaration() inout { return null; } inout(TemplateInstance) isTemplateInstance() inout { return null; } inout(TemplateMixin) isTemplateMixin() inout { return null; } inout(ForwardingAttribDeclaration) isForwardingAttribDeclaration() inout { return null; } inout(Nspace) isNspace() inout { return null; } inout(Declaration) isDeclaration() inout { return null; } inout(StorageClassDeclaration) isStorageClassDeclaration() inout { return null; } inout(ThisDeclaration) isThisDeclaration() inout { return null; } inout(TypeInfoDeclaration) isTypeInfoDeclaration() inout { return null; } inout(TupleDeclaration) isTupleDeclaration() inout { return null; } inout(AliasDeclaration) isAliasDeclaration() inout { return null; } inout(AggregateDeclaration) isAggregateDeclaration() inout pure nothrow @safe @nogc { return null; } inout(FuncDeclaration) isFuncDeclaration() inout { return null; } inout(FuncAliasDeclaration) isFuncAliasDeclaration() inout { return null; } inout(OverDeclaration) isOverDeclaration() inout { return null; } inout(FuncLiteralDeclaration) isFuncLiteralDeclaration() inout { return null; } inout(CtorDeclaration) isCtorDeclaration() inout { return null; } inout(PostBlitDeclaration) isPostBlitDeclaration() inout { return null; } inout(DtorDeclaration) isDtorDeclaration() inout { return null; } inout(StaticCtorDeclaration) isStaticCtorDeclaration() inout { return null; } inout(StaticDtorDeclaration) isStaticDtorDeclaration() inout { return null; } inout(SharedStaticCtorDeclaration) isSharedStaticCtorDeclaration() inout { return null; } inout(SharedStaticDtorDeclaration) isSharedStaticDtorDeclaration() inout { return null; } inout(InvariantDeclaration) isInvariantDeclaration() inout { return null; } inout(UnitTestDeclaration) isUnitTestDeclaration() inout { return null; } inout(NewDeclaration) isNewDeclaration() inout { return null; } inout(VarDeclaration) isVarDeclaration() inout { return null; } inout(ClassDeclaration) isClassDeclaration() inout { return null; } inout(StructDeclaration) isStructDeclaration() inout { return null; } inout(UnionDeclaration) isUnionDeclaration() inout { return null; } inout(InterfaceDeclaration) isInterfaceDeclaration() inout { return null; } inout(ScopeDsymbol) isScopeDsymbol() inout { return null; } inout(ForwardingScopeDsymbol) isForwardingScopeDsymbol() inout { return null; } inout(WithScopeSymbol) isWithScopeSymbol() inout { return null; } inout(ArrayScopeSymbol) isArrayScopeSymbol() inout { return null; } inout(Import) isImport() inout { return null; } inout(EnumDeclaration) isEnumDeclaration() inout { return null; } inout(DeleteDeclaration) isDeleteDeclaration() inout { return null; } inout(SymbolDeclaration) isSymbolDeclaration() inout { return null; } inout(AttribDeclaration) isAttribDeclaration() inout { return null; } inout(AnonDeclaration) isAnonDeclaration() inout { return null; } inout(OverloadSet) isOverloadSet() inout { return null; } /************ */ void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Dsymbol that generates a scope */ extern (C++) class ScopeDsymbol : Dsymbol { Dsymbols* members; // all Dsymbol's in this scope DsymbolTable symtab; // members[] sorted into table uint endlinnum; // the linnumber of the statement after the scope (0 if unknown) private: /// symbols whose members have been imported, i.e. imported modules and template mixins Dsymbols* importedScopes; PROTKIND* prots; // array of PROTKIND, one for each import import dmd.root.array : BitArray; BitArray accessiblePackages, privateAccessiblePackages;// whitelists of accessible (imported) packages public: final extern (D) this() { } final extern (D) this(Identifier id) { super(id); } override Dsymbol syntaxCopy(Dsymbol s) { //printf("ScopeDsymbol::syntaxCopy('%s')\n", toChars()); ScopeDsymbol sds = s ? cast(ScopeDsymbol)s : new ScopeDsymbol(ident); sds.members = arraySyntaxCopy(members); sds.endlinnum = endlinnum; return sds; } /***************************************** * This function is #1 on the list of functions that eat cpu time. * Be very, very careful about slowing it down. */ override Dsymbol search(Loc loc, Identifier ident, int flags = SearchLocalsOnly) { //printf("%s.ScopeDsymbol::search(ident='%s', flags=x%x)\n", toChars(), ident.toChars(), flags); //if (strcmp(ident.toChars(),"c") == 0) *(char*)0=0; // Look in symbols declared in this module if (symtab && !(flags & SearchImportsOnly)) { //printf(" look in locals\n"); auto s1 = symtab.lookup(ident); if (s1) { //printf("\tfound in locals = '%s.%s'\n",toChars(),s1.toChars()); return s1; } } //printf(" not found in locals\n"); // Look in imported scopes if (importedScopes) { //printf(" look in imports\n"); Dsymbol s = null; OverloadSet a = null; // Look in imported modules for (size_t i = 0; i < importedScopes.dim; i++) { // If private import, don't search it if ((flags & IgnorePrivateImports) && prots[i] == PROTprivate) continue; int sflags = flags & (IgnoreErrors | IgnoreAmbiguous | IgnoreSymbolVisibility); // remember these in recursive searches Dsymbol ss = (*importedScopes)[i]; //printf("\tscanning import '%s', prots = %d, isModule = %p, isImport = %p\n", ss.toChars(), prots[i], ss.isModule(), ss.isImport()); if (ss.isModule()) { if (flags & SearchLocalsOnly) continue; } else // mixin template { if (flags & SearchImportsOnly) continue; // compatibility with -transition=import // https://issues.dlang.org/show_bug.cgi?id=15925 // SearchLocalsOnly should always get set for new lookup rules sflags |= (flags & SearchLocalsOnly); } /* Don't find private members if ss is a module */ Dsymbol s2 = ss.search(loc, ident, sflags | (ss.isModule() ? IgnorePrivateImports : IgnoreNone)); import dmd.access : symbolIsVisible; if (!s2 || !(flags & IgnoreSymbolVisibility) && !symbolIsVisible(this, s2)) continue; if (!s) { s = s2; if (s && s.isOverloadSet()) a = mergeOverloadSet(ident, a, s); } else if (s2 && s != s2) { if (s.toAlias() == s2.toAlias() || s.getType() == s2.getType() && s.getType()) { /* After following aliases, we found the same * symbol, so it's not an ambiguity. But if one * alias is deprecated or less accessible, prefer * the other. */ if (s.isDeprecated() || s.prot().isMoreRestrictiveThan(s2.prot()) && s2.prot().kind != PROTnone) s = s2; } else { /* Two imports of the same module should be regarded as * the same. */ Import i1 = s.isImport(); Import i2 = s2.isImport(); if (!(i1 && i2 && (i1.mod == i2.mod || (!i1.parent.isImport() && !i2.parent.isImport() && i1.ident.equals(i2.ident))))) { /* https://issues.dlang.org/show_bug.cgi?id=8668 * Public selective import adds AliasDeclaration in module. * To make an overload set, resolve aliases in here and * get actual overload roots which accessible via s and s2. */ s = s.toAlias(); s2 = s2.toAlias(); /* If both s2 and s are overloadable (though we only * need to check s once) */ if ((s2.isOverloadSet() || s2.isOverloadable()) && (a || s.isOverloadable())) { a = mergeOverloadSet(ident, a, s2); continue; } if (flags & IgnoreAmbiguous) // if return NULL on ambiguity return null; if (!(flags & IgnoreErrors)) ScopeDsymbol.multiplyDefined(loc, s, s2); break; } } } } if (s) { /* Build special symbol if we had multiple finds */ if (a) { if (!s.isOverloadSet()) a = mergeOverloadSet(ident, a, s); s = a; } // TODO: remove once private symbol visibility has been deprecated if (!(flags & IgnoreErrors) && s.prot().kind == PROTprivate && !s.isOverloadable() && !s.parent.isTemplateMixin() && !s.parent.isNspace()) { AliasDeclaration ad = void; // accessing private selective and renamed imports is // deprecated by restricting the symbol visibility if (s.isImport() || (ad = s.isAliasDeclaration()) !is null && ad._import !is null) {} else error(loc, "%s %s is private", s.kind(), s.toPrettyChars()); } //printf("\tfound in imports %s.%s\n", toChars(), s.toChars()); return s; } //printf(" not found in imports\n"); } return null; } final OverloadSet mergeOverloadSet(Identifier ident, OverloadSet os, Dsymbol s) { if (!os) { os = new OverloadSet(ident); os.parent = this; } if (OverloadSet os2 = s.isOverloadSet()) { // Merge the cross-module overload set 'os2' into 'os' if (os.a.dim == 0) { os.a.setDim(os2.a.dim); memcpy(os.a.tdata(), os2.a.tdata(), (os.a[0]).sizeof * os2.a.dim); } else { for (size_t i = 0; i < os2.a.dim; i++) { os = mergeOverloadSet(ident, os, os2.a[i]); } } } else { assert(s.isOverloadable()); /* Don't add to os[] if s is alias of previous sym */ for (size_t j = 0; j < os.a.dim; j++) { Dsymbol s2 = os.a[j]; if (s.toAlias() == s2.toAlias()) { if (s2.isDeprecated() || (s2.prot().isMoreRestrictiveThan(s.prot()) && s.prot().kind != PROTnone)) { os.a[j] = s; } goto Lcontinue; } } os.push(s); Lcontinue: } return os; } void importScope(Dsymbol s, Prot protection) { //printf("%s.ScopeDsymbol::importScope(%s, %d)\n", toChars(), s.toChars(), protection); // No circular or redundant import's if (s != this) { if (!importedScopes) importedScopes = new Dsymbols(); else { for (size_t i = 0; i < importedScopes.dim; i++) { Dsymbol ss = (*importedScopes)[i]; if (ss == s) // if already imported { if (protection.kind > prots[i]) prots[i] = protection.kind; // upgrade access return; } } } importedScopes.push(s); prots = cast(PROTKIND*)mem.xrealloc(prots, importedScopes.dim * (prots[0]).sizeof); prots[importedScopes.dim - 1] = protection.kind; } } final void addAccessiblePackage(Package p, Prot protection) { auto pary = protection.kind == PROTprivate ? &privateAccessiblePackages : &accessiblePackages; if (pary.length <= p.tag) pary.length = p.tag + 1; (*pary)[p.tag] = true; } bool isPackageAccessible(Package p, Prot protection, int flags = 0) { if (p.tag < accessiblePackages.length && accessiblePackages[p.tag] || protection.kind == PROTprivate && p.tag < privateAccessiblePackages.length && privateAccessiblePackages[p.tag]) return true; foreach (i, ss; importedScopes ? (*importedScopes)[] : null) { // only search visible scopes && imported modules should ignore private imports if (protection.kind <= prots[i] && ss.isScopeDsymbol.isPackageAccessible(p, protection, IgnorePrivateImports)) return true; } return false; } override final bool isforwardRef() { return (members is null); } static void multiplyDefined(Loc loc, Dsymbol s1, Dsymbol s2) { version (none) { printf("ScopeDsymbol::multiplyDefined()\n"); printf("s1 = %p, '%s' kind = '%s', parent = %s\n", s1, s1.toChars(), s1.kind(), s1.parent ? s1.parent.toChars() : ""); printf("s2 = %p, '%s' kind = '%s', parent = %s\n", s2, s2.toChars(), s2.kind(), s2.parent ? s2.parent.toChars() : ""); } if (loc.filename) { .error(loc, "%s at %s conflicts with %s at %s", s1.toPrettyChars(), s1.locToChars(), s2.toPrettyChars(), s2.locToChars()); } else { s1.error(s1.loc, "conflicts with %s %s at %s", s2.kind(), s2.toPrettyChars(), s2.locToChars()); } } override const(char)* kind() const { return "ScopeDsymbol"; } /******************************************* * Look for member of the form: * const(MemberInfo)[] getMembers(string); * Returns NULL if not found */ final FuncDeclaration findGetMembers() { Dsymbol s = search_function(this, Id.getmembers); FuncDeclaration fdx = s ? s.isFuncDeclaration() : null; version (none) { // Finish static __gshared TypeFunction tfgetmembers; if (!tfgetmembers) { Scope sc; auto parameters = new Parameters(); Parameters* p = new Parameter(STCin, Type.tchar.constOf().arrayOf(), null, null); parameters.push(p); Type tret = null; tfgetmembers = new TypeFunction(parameters, tret, 0, LINKd); tfgetmembers = cast(TypeFunction)tfgetmembers.dsymbolSemantic(Loc(), &sc); } if (fdx) fdx = fdx.overloadExactMatch(tfgetmembers); } if (fdx && fdx.isVirtual()) fdx = null; return fdx; } Dsymbol symtabInsert(Dsymbol s) { return symtab.insert(s); } /**************************************** * Look up identifier in symbol table. */ Dsymbol symtabLookup(Dsymbol s, Identifier id) { return symtab.lookup(id); } /**************************************** * Return true if any of the members are static ctors or static dtors, or if * any members have members that are. */ override bool hasStaticCtorOrDtor() { if (members) { for (size_t i = 0; i < members.dim; i++) { Dsymbol member = (*members)[i]; if (member.hasStaticCtorOrDtor()) return true; } } return false; } /*************************************** * Determine number of Dsymbols, folding in AttribDeclaration members. */ static size_t dim(Dsymbols* members) { size_t n = 0; int dimDg(size_t idx, Dsymbol s) { ++n; return 0; } _foreach(null, members, &dimDg, &n); return n; } /*************************************** * Get nth Dsymbol, folding in AttribDeclaration members. * Returns: * Dsymbol* nth Dsymbol * NULL not found, *pn gets incremented by the number * of Dsymbols */ static Dsymbol getNth(Dsymbols* members, size_t nth, size_t* pn = null) { Dsymbol sym = null; int getNthSymbolDg(size_t n, Dsymbol s) { if (n == nth) { sym = s; return 1; } return 0; } int res = _foreach(null, members, &getNthSymbolDg); return res ? sym : null; } extern (D) alias ForeachDg = int delegate(size_t idx, Dsymbol s); /*************************************** * Expands attribute declarations in members in depth first * order. Calls dg(size_t symidx, Dsymbol *sym) for each * member. * If dg returns !=0, stops and returns that value else returns 0. * Use this function to avoid the O(N + N^2/2) complexity of * calculating dim and calling N times getNth. * Returns: * last value returned by dg() */ extern (D) static int _foreach(Scope* sc, Dsymbols* members, scope ForeachDg dg, size_t* pn = null) { assert(dg); if (!members) return 0; size_t n = pn ? *pn : 0; // take over index int result = 0; foreach (size_t i; 0 .. members.dim) { Dsymbol s = (*members)[i]; if (AttribDeclaration a = s.isAttribDeclaration()) result = _foreach(sc, a.include(sc), dg, &n); else if (TemplateMixin tm = s.isTemplateMixin()) result = _foreach(sc, tm.members, dg, &n); else if (s.isTemplateInstance()) { } else if (s.isUnitTestDeclaration()) { } else result = dg(n++, s); if (result) break; } if (pn) *pn = n; // update index return result; } override final inout(ScopeDsymbol) isScopeDsymbol() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * With statement scope */ extern (C++) final class WithScopeSymbol : ScopeDsymbol { WithStatement withstate; extern (D) this(WithStatement withstate) { this.withstate = withstate; } override Dsymbol search(Loc loc, Identifier ident, int flags = SearchLocalsOnly) { //printf("WithScopeSymbol.search(%s)\n", ident.toChars()); if (flags & SearchImportsOnly) return null; // Acts as proxy to the with class declaration Dsymbol s = null; Expression eold = null; for (Expression e = withstate.exp; e != eold; e = resolveAliasThis(_scope, e)) { if (e.op == TOKscope) { s = (cast(ScopeExp)e).sds; } else if (e.op == TOKtype) { s = e.type.toDsymbol(null); } else { Type t = e.type.toBasetype(); s = t.toDsymbol(null); } if (s) { s = s.search(loc, ident, flags); if (s) return s; } eold = e; } return null; } override inout(WithScopeSymbol) isWithScopeSymbol() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Array Index/Slice scope */ extern (C++) final class ArrayScopeSymbol : ScopeDsymbol { Expression exp; // IndexExp or SliceExp TypeTuple type; // for tuple[length] TupleDeclaration td; // for tuples of objects Scope* sc; extern (D) this(Scope* sc, Expression e) { assert(e.op == TOKindex || e.op == TOKslice || e.op == TOKarray); exp = e; this.sc = sc; } extern (D) this(Scope* sc, TypeTuple t) { type = t; this.sc = sc; } extern (D) this(Scope* sc, TupleDeclaration s) { td = s; this.sc = sc; } override Dsymbol search(Loc loc, Identifier ident, int flags = IgnoreNone) { //printf("ArrayScopeSymbol::search('%s', flags = %d)\n", ident.toChars(), flags); if (ident == Id.dollar) { VarDeclaration* pvar; Expression ce; L1: if (td) { /* $ gives the number of elements in the tuple */ auto v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, null); Expression e = new IntegerExp(Loc(), td.objects.dim, Type.tsize_t); v._init = new ExpInitializer(Loc(), e); v.storage_class |= STCtemp | STCstatic | STCconst; v.dsymbolSemantic(sc); return v; } if (type) { /* $ gives the number of type entries in the type tuple */ auto v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, null); Expression e = new IntegerExp(Loc(), type.arguments.dim, Type.tsize_t); v._init = new ExpInitializer(Loc(), e); v.storage_class |= STCtemp | STCstatic | STCconst; v.dsymbolSemantic(sc); return v; } if (exp.op == TOKindex) { /* array[index] where index is some function of $ */ IndexExp ie = cast(IndexExp)exp; pvar = &ie.lengthVar; ce = ie.e1; } else if (exp.op == TOKslice) { /* array[lwr .. upr] where lwr or upr is some function of $ */ SliceExp se = cast(SliceExp)exp; pvar = &se.lengthVar; ce = se.e1; } else if (exp.op == TOKarray) { /* array[e0, e1, e2, e3] where e0, e1, e2 are some function of $ * $ is a opDollar!(dim)() where dim is the dimension(0,1,2,...) */ ArrayExp ae = cast(ArrayExp)exp; pvar = &ae.lengthVar; ce = ae.e1; } else { /* Didn't find $, look in enclosing scope(s). */ return null; } while (ce.op == TOKcomma) ce = (cast(CommaExp)ce).e2; /* If we are indexing into an array that is really a type * tuple, rewrite this as an index into a type tuple and * try again. */ if (ce.op == TOKtype) { Type t = (cast(TypeExp)ce).type; if (t.ty == Ttuple) { type = cast(TypeTuple)t; goto L1; } } /* *pvar is lazily initialized, so if we refer to $ * multiple times, it gets set only once. */ if (!*pvar) // if not already initialized { /* Create variable v and set it to the value of $ */ VarDeclaration v; Type t; if (ce.op == TOKtuple) { /* It is for an expression tuple, so the * length will be a const. */ Expression e = new IntegerExp(Loc(), (cast(TupleExp)ce).exps.dim, Type.tsize_t); v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, new ExpInitializer(Loc(), e)); v.storage_class |= STCtemp | STCstatic | STCconst; } else if (ce.type && (t = ce.type.toBasetype()) !is null && (t.ty == Tstruct || t.ty == Tclass)) { // Look for opDollar assert(exp.op == TOKarray || exp.op == TOKslice); AggregateDeclaration ad = isAggregate(t); assert(ad); Dsymbol s = ad.search(loc, Id.opDollar); if (!s) // no dollar exists -- search in higher scope return null; s = s.toAlias(); Expression e = null; // Check for multi-dimensional opDollar(dim) template. if (TemplateDeclaration td = s.isTemplateDeclaration()) { dinteger_t dim = 0; if (exp.op == TOKarray) { dim = (cast(ArrayExp)exp).currentDimension; } else if (exp.op == TOKslice) { dim = 0; // slices are currently always one-dimensional } else { assert(0); } auto tiargs = new Objects(); Expression edim = new IntegerExp(Loc(), dim, Type.tsize_t); edim = edim.expressionSemantic(sc); tiargs.push(edim); e = new DotTemplateInstanceExp(loc, ce, td.ident, tiargs); } else { /* opDollar exists, but it's not a template. * This is acceptable ONLY for single-dimension indexing. * Note that it's impossible to have both template & function opDollar, * because both take no arguments. */ if (exp.op == TOKarray && (cast(ArrayExp)exp).arguments.dim != 1) { exp.error("%s only defines opDollar for one dimension", ad.toChars()); return null; } Declaration d = s.isDeclaration(); assert(d); e = new DotVarExp(loc, ce, d); } e = e.expressionSemantic(sc); if (!e.type) exp.error("%s has no value", e.toChars()); t = e.type.toBasetype(); if (t && t.ty == Tfunction) e = new CallExp(e.loc, e); v = new VarDeclaration(loc, null, Id.dollar, new ExpInitializer(Loc(), e)); v.storage_class |= STCtemp | STCctfe | STCrvalue; } else { /* For arrays, $ will either be a compile-time constant * (in which case its value in set during constant-folding), * or a variable (in which case an expression is created in * toir.c). */ auto e = new VoidInitializer(Loc()); e.type = Type.tsize_t; v = new VarDeclaration(loc, Type.tsize_t, Id.dollar, e); v.storage_class |= STCtemp | STCctfe; // it's never a true static variable } *pvar = v; } (*pvar).dsymbolSemantic(sc); return (*pvar); } return null; } override inout(ArrayScopeSymbol) isArrayScopeSymbol() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Overload Sets */ extern (C++) final class OverloadSet : Dsymbol { Dsymbols a; // array of Dsymbols extern (D) this(Identifier ident, OverloadSet os = null) { super(ident); if (os) { for (size_t i = 0; i < os.a.dim; i++) a.push(os.a[i]); } } void push(Dsymbol s) { a.push(s); } override inout(OverloadSet) isOverloadSet() inout { return this; } override const(char)* kind() const { return "overloadset"; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Forwarding ScopeDsymbol. Used by ForwardingAttribDeclaration and * ForwardingScopeDeclaration to forward symbol insertions to another * scope. See `dmd.attrib.ForwardingAttribDeclaration` for more * details. */ extern (C++) final class ForwardingScopeDsymbol : ScopeDsymbol { /************************* * Symbol to forward insertions to. * Can be `null` before being lazily initialized. */ ScopeDsymbol forward; extern (D) this(ScopeDsymbol forward) { super(null); this.forward = forward; } override Dsymbol symtabInsert(Dsymbol s) { assert(forward); if (auto d = s.isDeclaration()) { if (d.storage_class & STClocal) { // Symbols with storage class STClocal are not // forwarded, but stored in the local symbol // table. (Those are the `static foreach` variables.) if (!symtab) { symtab = new DsymbolTable(); } return super.symtabInsert(s); // insert locally } } if (!forward.symtab) { forward.symtab = new DsymbolTable(); } // Non-STClocal symbols are forwarded to `forward`. return forward.symtabInsert(s); } /************************ * This override handles the following two cases: * static foreach (i, i; [0]) { ... } * and * static foreach (i; [0]) { enum i = 2; } */ override Dsymbol symtabLookup(Dsymbol s, Identifier id) { assert(forward); // correctly diagnose clashing foreach loop variables. if (auto d = s.isDeclaration()) { if (d.storage_class & STClocal) { if (!symtab) { symtab = new DsymbolTable(); } return super.symtabLookup(s,id); } } // Declarations within `static foreach` do not clash with // `static foreach` loop variables. if (!forward.symtab) { forward.symtab = new DsymbolTable(); } return forward.symtabLookup(s,id); } override void importScope(Dsymbol s, Prot protection) { forward.importScope(s, protection); } override const(char)* kind()const{ return "local scope"; } override inout(ForwardingScopeDsymbol) isForwardingScopeDsymbol() inout { return this; } } /*********************************************************** * Table of Dsymbol's */ extern (C++) final class DsymbolTable : RootObject { AA* tab; // Look up Identifier. Return Dsymbol if found, NULL if not. Dsymbol lookup(const Identifier ident) { //printf("DsymbolTable::lookup(%s)\n", (char*)ident.string); return cast(Dsymbol)dmd_aaGetRvalue(tab, cast(void*)ident); } // Insert Dsymbol in table. Return NULL if already there. Dsymbol insert(Dsymbol s) { //printf("DsymbolTable::insert(this = %p, '%s')\n", this, s.ident.toChars()); const ident = s.ident; Dsymbol* ps = cast(Dsymbol*)dmd_aaGet(&tab, cast(void*)ident); if (*ps) return null; // already in table *ps = s; return s; } // Look for Dsymbol in table. If there, return it. If not, insert s and return that. Dsymbol update(Dsymbol s) { const ident = s.ident; Dsymbol* ps = cast(Dsymbol*)dmd_aaGet(&tab, cast(void*)ident); *ps = s; return s; } // when ident and s are not the same Dsymbol insert(const Identifier ident, Dsymbol s) { //printf("DsymbolTable::insert()\n"); Dsymbol* ps = cast(Dsymbol*)dmd_aaGet(&tab, cast(void*)ident); if (*ps) return null; // already in table *ps = s; return s; } /***** * Returns: * number of symbols in symbol table */ uint len() const pure { return cast(uint)dmd_aaLen(tab); } }
D
/** * TypeInfo support code. * * Copyright: Copyright Digital Mars 2004 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Walter Bright */ /* Copyright Digital Mars 2004 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * http://www.boost.org/LICENSE_1_0.txt) */ module rt.typeinfo.ti_ptr; // pointer class TypeInfo_P : TypeInfo { @trusted: const: pure: nothrow: override size_t getHash(in void* p) { return cast(uint)*cast(void* *)p; } override bool equals(in void* p1, in void* p2) { return *cast(void* *)p1 == *cast(void* *)p2; } override int compare(in void* p1, in void* p2) { auto c = *cast(void* *)p1 - *cast(void* *)p2; if (c < 0) return -1; else if (c > 0) return 1; return 0; } override @property size_t tsize() nothrow pure { return (void*).sizeof; } override void swap(void *p1, void *p2) { void* t; t = *cast(void* *)p1; *cast(void* *)p1 = *cast(void* *)p2; *cast(void* *)p2 = t; } override @property uint flags() nothrow pure { return 1; } @property override Type type() nothrow pure { return Type.Pointer; } }
D
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors // Licensed under the MIT License: // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. module capnproto.StructReader; import std.string : startsWith; import std.traits; import java.nio.ByteBuffer; import capnproto.AnyPointer; import capnproto.Constants; import capnproto.Data; import capnproto.ElementSize; import capnproto.SegmentReader; import capnproto.StructList; import capnproto.Text; import capnproto.WireHelpers; struct StructReader { public: //Variables. SegmentReader* segment; int data; //Byte offset to data section. int pointers; //Word offset of pointer section. int dataSize; //In bits. short pointerCount; int nestingLimit; public: //Methods. this(SegmentReader* segment, int data, int pointers, int dataSize, short pointerCount, int nestingLimit) { this.segment = segment; this.data = data; this.pointers = pointers; this.dataSize = dataSize; this.pointerCount = pointerCount; this.nestingLimit = nestingLimit; } bool _getBoolField(int offset) { //XXX should use unsigned operations. if(offset < this.dataSize) { byte b = this.segment.buffer.get(this.data + offset / 8); return (b & (1 << (offset % 8))) != 0; } return false; } bool _getBoolField(int offset, bool mask) { return this._getBoolField(offset) ^ mask; } byte _getByteField(int offset) { if((offset + 1) * 8 <= this.dataSize) return this.segment.buffer.get(this.data + offset); return 0; } byte _getByteField(int offset, byte mask) { return cast(byte)(this._getByteField(offset) ^ mask); } ubyte _getUbyteField(int offset) { if((offset + 1) * 8 <= this.dataSize) return cast(ubyte)this.segment.buffer.get(this.data + offset); return 0; } ubyte _getUbyteField(int offset, ubyte mask) { return cast(ubyte)(this._getByteField(offset) ^ mask); } short _getShortField(int offset) { if((offset + 1) * 16 <= this.dataSize) return this.segment.buffer.getShort(this.data + offset * 2); return 0; } short _getShortField(int offset, short mask) { return cast(short)(this._getShortField(offset) ^ mask); } ushort _getUshortField(int offset) { if((offset + 1) * 16 <= this.dataSize) return cast(ushort)this.segment.buffer.getShort(this.data + offset * 2); return 0; } ushort _getUshortField(int offset, ushort mask) { return cast(ushort)(this._getUshortField(offset) ^ mask); } int _getIntField(int offset) { if((offset + 1) * 32 <= this.dataSize) return this.segment.buffer.getInt(this.data + offset * 4); return 0; } int _getIntField(int offset, int mask) { return this._getIntField(offset) ^ mask; } uint _getUintField(int offset) { if((offset + 1) * 32 <= this.dataSize) return cast(uint)this.segment.buffer.getInt(this.data + offset * 4); return 0; } uint _getUintField(int offset, uint mask) { return this._getUintField(offset) ^ mask; } long _getLongField(int offset) { if((offset + 1) * 64 <= this.dataSize) return this.segment.buffer.getLong(this.data + offset * 8); return 0; } long _getLongField(int offset, long mask) { return this._getLongField(offset) ^ mask; } ulong _getUlongField(int offset) { if((offset + 1) * 64 <= this.dataSize) return cast(ulong)this.segment.buffer.getLong(this.data + offset * 8); return 0; } ulong _getUlongField(int offset, ulong mask) { return this._getUlongField(offset) ^ mask; } float _getFloatField(int offset) { if((offset + 1) * 32 <= this.dataSize) return this.segment.buffer.getFloat(this.data + offset * 4); return 0; } float _getFloatField(int offset, int mask) { if((offset + 1) * 32 <= this.dataSize) return intBitsToFloat(this.segment.buffer.getInt(this.data + offset * 4) ^ mask); return intBitsToFloat(mask); } double _getDoubleField(int offset) { if((offset + 1) * 64 <= this.dataSize) return this.segment.buffer.getDouble(this.data + offset * 8); return 0; } double _getDoubleField(int offset, long mask) { if((offset + 1) * 64 <= this.dataSize) return longBitsToDouble(this.segment.buffer.getLong(this.data + offset * 8) ^ mask); return longBitsToDouble(mask); } bool _pointerFieldIsNull(int ptrIndex) { return this.segment.buffer.getLong((this.pointers + ptrIndex) * Constants.BYTES_PER_WORD) == 0; } T.Reader _getPointerField(T)(int ptrIndex) { alias name = fullyQualifiedName!T; auto segment = cast(SegmentReader*)&SegmentReader.EMPTY; int pointer = 0; if(ptrIndex < this.pointerCount) { segment = this.segment; pointer = this.pointers + ptrIndex; } static if(is(T : AnyPointer)) return T.Reader(segment, pointer, nestingLimit); else static if(is(T : Data)) return WireHelpers.readDataPointer(segment, pointer, null, 0, 0); else static if(is(T : Text)) return WireHelpers.readTextPointer(segment, pointer, null, 0, 0); else static if(name.startsWith("capnproto.DataList") || name.startsWith("capnproto.EnumList") || name.startsWith("capnproto.PrimitiveList") || name.startsWith("capnproto.ListList") || name.startsWith("capnproto.StructList") || name.startsWith("capnproto.TextList")) return WireHelpers.readListPointer!(T.Reader)(segment, pointer, null, 0, T.elementSize, this.nestingLimit); else return WireHelpers.readStructPointer!(T.Reader)(segment, pointer, null, 0, nestingLimit); } T.Reader _getPointerField(T)(int ptrIndex, SegmentReader* defaultSegment, int defaultOffset) { alias name = fullyQualifiedName!T; auto segment = cast(SegmentReader*)&SegmentReader.EMPTY; int pointer = 0; if(ptrIndex < this.pointerCount) { segment = this.segment; pointer = this.pointers + ptrIndex; } static if(name.startsWith("capnproto.DataList") || name.startsWith("capnproto.EnumList") || name.startsWith("capnproto.PrimitiveList") || name.startsWith("capnproto.ListList") || name.startsWith("capnproto.StructList") || name.startsWith("capnproto.TextList")) return WireHelpers.readListPointer!(T.Reader)(segment, pointer, defaultSegment, defaultOffset, T.elementSize, this.nestingLimit); else return WireHelpers.readStructPointer!(T.Reader)(segment, pointer, defaultSegment, defaultOffset, this.nestingLimit); } StructList.Reader!(T.Reader) _getPointerListField(T)(int ptrIndex, SegmentReader* defaultSegment, int defaultOffset) { if(ptrIndex < this.pointerCount) return WireHelpers.readListPointer!(StructList.Reader!(T.Reader))(this.segment, this.pointers + ptrIndex, defaultSegment, defaultOffset, ElementSize.INLINE_COMPOSITE, this.nestingLimit); return WireHelpers.readListPointer!(StructList.Reader!(T.Reader))(cast(SegmentReader*)&SegmentReader.EMPTY, 0, defaultSegment, defaultOffset, ElementSize.INLINE_COMPOSITE, this.nestingLimit); } T.Reader _getPointerField(T)(int ptrIndex, ByteBuffer* defaultBuffer, int defaultOffset, int defaultSize) { auto segment = cast(SegmentReader*)&SegmentReader.EMPTY; int pointer = 0; if(ptrIndex < this.pointerCount) { segment = this.segment; pointer = this.pointers + ptrIndex; } static if(is(T : Data)) return WireHelpers.readDataPointer(segment, pointer, defaultBuffer, defaultOffset, defaultSize); else static if(is(T : Text)) return WireHelpers.readTextPointer(segment, pointer, defaultBuffer, defaultOffset, defaultSize); else static assert(0); } }
D
module otya.smilebasic.builtinfunctions; import std.conv; import std.typecons; import std.typetuple; import std.traits; import std.stdio; import std.ascii; import std.range; import otya.smilebasic.error; import otya.smilebasic.type; import otya.smilebasic.petitcomputer; import otya.smilebasic.sprite; import otya.smilebasic.vm; //プチコンの引数省略は特殊なので //LOCATE ,,0のように省略できる struct DefaultValue(T, bool skippable = true) { T value; bool isDefault; this(T v, bool f) { value = v; isDefault = f; } this(T v) { value = v; isDefault = false; } this(bool f) { isDefault = f; } void setDefaultValue(T v) { if(isDefault) value = v; } mixin Proxy!value; } struct StartOptional { const char[] name; } alias ValueType = otya.smilebasic.type.ValueType; struct BuiltinFunctionArgument { ValueType argType; bool optionalArg; bool skipArg; } //オーバーロード用 class BuiltinFunctions { private BuiltinFunction[] func; this(BuiltinFunction f) { func = new BuiltinFunction[1]; func[0] = f; } void addFunction(BuiltinFunction func) { this.func ~= func; } BuiltinFunction overloadResolution(int argc, int outargc) { BuiltinFunction va; //とりあえず引数の数で解決させる,というよりコンパイル時に型を取得する方法がない foreach(f; func) { if(f.startskip <= argc && f.argments.length >= argc && f.outoptional <= outargc && f.results.length >= outargc) return f; if(f.variadic) va = f; } //一応可変長は最後 if(va) return va; writeln("====function overloads==="); foreach(f; func) { writefln("name=\"%s\", argments=%s, results = %s, variadic = %s, startoptional = %d, function pointer=%s", f.name, f.argments, f.results, f.variadic, f.startskip, f.func); } //引数数ちがうのは実行前にエラー throw new IllegalFunctionCall(func[0].name); } } alias DefaultValue!(int, false) optionalint; alias DefaultValue!(int, false) optionaldouble; alias DefaultValue!(int, false) optionalstring; /** ここに関数を定義すればコンパイル時にBuiltinFunctionに変換してくれる便利なクラス */ class BuiltinFunction { BuiltinFunctionArgument[] argments; BuiltinFunctionArgument[] results; void function(PetitComputer, Value[], Value[]) func; int startskip; int outoptional; bool variadic; string name; this(BuiltinFunctionArgument[] argments, BuiltinFunctionArgument[] results, void function(PetitComputer, Value[], Value[]) func, int startskip, bool variadic, string name, int outoptional) { this.argments = argments; this.results = results; this.func = func; this.startskip = startskip; this.variadic = variadic; this.name = name; this.outoptional = outoptional; } bool hasSkipArgument() { return this.startskip != this.argments.length; } import std.math; /* static pure double ABS(double a) { return a < 0 ? -a : a; }*/ //static double function(double) ABS = &abs!double; //static double function(double) SGN = &sgn!double; static double ABS(double arg1) { return abs(arg1); } static double SGN(double arg1) { return sgn(arg1); } static double SIN(double arg1) { return sin(arg1); } static double ASIN(double arg1) { return asin(arg1); } static double SINH(double arg1) { return sinh(arg1); } static double COS(double arg1) { return cos(arg1); } static double ACOS(double arg1) { return acos(arg1); } static double COSH(double arg1) { return cosh(arg1); } static double TAN(double arg1) { return tan(arg1); } static double ATAN(double arg1, DefaultValue!(double, false) arg2) { if(arg2.isDefault) { return atan(arg1); } return atan2(arg1, cast(double)arg2); } static double TANH(double arg1) { return tanh(arg1); } static double RAD(double arg1) { return arg1 * std.math.PI / 180; } static double DEG(double arg1) { return arg1 * 180 / std.math.PI; } static double PI() { return std.math.PI; } //static ABS = function double(double x) => abs(this.result == ValueType.Double ? 1 : 0); static void LOCATE(PetitComputer p, DefaultValue!int x, DefaultValue!int y, DefaultValue!(int, false) z) { x.setDefaultValue(p.CSRX); y.setDefaultValue(p.CSRY); z.setDefaultValue(p.CSRZ); p.CSRX = cast(int)x; p.CSRY = cast(int)y; p.CSRZ = cast(int)z; } static void COLOR(PetitComputer p, DefaultValue!int fore, DefaultValue!(int, false) back) { fore.setDefaultValue(p.consoleForeColor); back.setDefaultValue(p.consoleBackColor); p.consoleForeColor = cast(int)fore; p.consoleBackColor = cast(int)back; } static void VSYNC(PetitComputer p, DefaultValue!int time) { time.setDefaultValue(1); p.vsync(cast(int)time); } static void WAIT(PetitComputer p, DefaultValue!int time) { time.setDefaultValue(1); p.vsync(cast(int)time); } //TODO:プチコンのCLSには引数の個数制限がない static void CLS(PetitComputer p/*vaarg*/) { p.cls; } static void ASSERT__(PetitComputer p, int cond, wstring message) { if(!cond) { p.printConsole("Assertion failed: ", message, "\n"); } assert(cond, message.to!string); } static int BUTTON(PetitComputer p, DefaultValue!(int, false) mode, DefaultValue!(int, false) mp) { if(!mp.isDefault) { writeln("NOTIMPL:BUTTON(ID, MPID)"); } return p.button; } static void VISIBLE(PetitComputer p, DefaultValue!(int) console, DefaultValue!(int) graphic, DefaultValue!(int) BG, DefaultValue!(int) sprite) { } static void XSCREEN(PetitComputer p, int mode, DefaultValue!(int, false) a, DefaultValue!(int, false) b) { a.setDefaultValue(512); b.setDefaultValue(4); if(mode == 2 || mode == 3) { a.setDefaultValue(256); b.setDefaultValue(2); } p.xscreen(mode, cast(int)a, cast(int)b); } static void DISPLAY(PetitComputer p, int display) { p.display(display); } static void GCLS(PetitComputer p, DefaultValue!(int, false) color) { color.setDefaultValue(0); p.gfill(p.useGRP, 0, 0, 511, 511, cast(int)color); } static void GPSET(PetitComputer p, int x, int y, DefaultValue!(int, false) color) { color.setDefaultValue(p.gcolor); p.gpset(p.useGRP, x, y, cast(int)color); } static void GLINE(PetitComputer p, int x, int y, int x2, int y2, DefaultValue!(int, false) color) { color.setDefaultValue(p.gcolor); p.gline(p.useGRP, x, y, x2, y2, cast(int)color); } static void GBOX(PetitComputer p, int x, int y, int x2, int y2, DefaultValue!(int, false) color) { color.setDefaultValue(p.gcolor); p.gbox(p.useGRP, x, y, x2, y2, cast(int)color); } static void GFILL(PetitComputer p, int x, int y, int x2, int y2, DefaultValue!(int, false) color) { color.setDefaultValue(p.gcolor); p.gfill(p.useGRP, x, y, x2, y2, cast(int)color); } static void GCOLOR(PetitComputer p, int color) { p.gcolor = color; } static void GPRIO(PetitComputer p, int z) { p.gprio = z; } static void GPAGE(PetitComputer p, int showPage, int usePage) { p.showGRP = showPage; p.useGRP = usePage; } static void GPAINT(PetitComputer p, int x, int y, DefaultValue!(int, false) color, DefaultValue!(int, false) color2) { color.setDefaultValue(p.gcolor); p.gpaint(p.useGRP, x, y, cast(int)color); } static void BGMPLAY(PetitComputer p, int music) { } static void BEEP(PetitComputer p, DefaultValue!(int, false) beep, DefaultValue!(int, false) pitch, DefaultValue!(int, false) volume, DefaultValue!(int, false) pan) { } static void STICK(PetitComputer p, DefaultValue!(int, false) mp, out int x, out int y) { //JOYSTICK? x = 0; y = 0; } static int RGB(int R, int G, int B, DefaultValue!(int, false) _) { if(!_.isDefault) { //やや強引なオーバーロード return PetitComputer.RGB(cast(ubyte)R, cast(ubyte)G, cast(ubyte)B, cast(ubyte)_); } return PetitComputer.RGB(cast(ubyte)R, cast(ubyte)G, cast(ubyte)B); } static int RND(int max) { import std.random; return uniform(0, max - 1 + 1); } static void DTREAD(DefaultValue!(wstring, false) date, out int Y, out int M, out int D/*W*/) { import std.datetime; auto currentTime = Clock.currTime(); if(date.isDefault) { Y = currentTime.year; M = currentTime.month; D = currentTime.day; } else { import std.format; auto v = date.value; formattedRead(v, "%d/%d/%d", &Y, &M, &D); } } //hairetuha? static int LEN(wstring str) { return cast(int)str.length; } static double VAL(wstring str) { try { if(str.length > 2 && str[0..2] == "&H") { return str[2..$].to!int(16); } if(str.length > 2 && str[0..2] == "&B") { return str[2..$].to!int(2); } double val = str.to!double; return val; } catch(Exception e) { return 0;//toriaezu } } static double FLOOR(double val) { return val.floor; } static double ROUND(double val) { return val.round; } static double CEIL(double val) { return val.ceil; } static wstring MID(wstring str, int i, int len) { if(i + len > str.length) { if(i >= str.length) { return "";//範囲外で空文字 } return str[i..$];//iがまだ範囲内なら最後まで } //挙動未定 return str[i..i + len]; } //INSTRSUSBTLEFT static wstring LEFT(wstring str, int len) { return str[0..len]; } static wstring RIGHT(wstring str, int len) { return str[$ - len..$]; } static wstring SUBST(wstring str, int i, Value alen, DefaultValue!(Value,false) areplace) { int len = 1; wstring replace = ""; if(alen.isNumber) { len = alen.castInteger; replace = areplace.castString; } else { replace = alen.castString; //省略されたらi以降の全文字を置換 return str[0..i] ~ replace; } if(str.length <= i + len) { return str[0..i] ~ replace; } str.replaceInPlace(i, i + len, replace); return str; } static int INSTR(Value vstart, Value vstr1, DefaultValue!(wstring, false) vstr2) { import std.string; int start = 0; wstring str1, str2; if(!vstr2.isDefault) { start = vstart.castInteger; str1 = vstr1.castString; str2 = cast(wstring)vstr2; } else { str1 = vstart.castString; str2 = vstr1.castString; } return cast(int)(str1[start..$].indexOf(str2, CaseSensitive.no)); } static int ASC(wstring str) { return cast(int)str[0]; } static wstring STR(int val) { return val.to!wstring; } static wstring HEX(int val, DefaultValue!(int, false) digits) { import std.format; if(digits > 8) { throw new OutOfRange(); } FormatSpec!char f; f.spec = 'X'; f.flZero = !digits.isDefault; f.width = cast(int)digits; auto w = appender!wstring(); formatValue(w, val, f); return cast(immutable)(w.data); } static void SPSET(PetitComputer p, int id, int defno, DefaultValue!(int, false) V, DefaultValue!(int, false) W, DefaultValue!(int, false) H, DefaultValue!(int, false) ATTR) { if(!V.isDefault && !W.isDefault) { int u = defno; int v = cast(int)V; int w = 16, h = 16, attr = 1; if(!ATTR.isDefault) { w = cast(int)W; h = cast(int)H; attr = cast(int)ATTR; } else { if(!W.isDefault && !H.isDefault) { w = cast(int)W; h = cast(int)H; } if(!W.isDefault && H.isDefault) { attr = cast(int)W; } } p.sprite.spset(id, u, v, w, h, cast(SpriteAttr)attr); return; } p.sprite.spset(id, defno); } static void SPCHR(PetitComputer p, int id, int defno, DefaultValue!(int, false) V, DefaultValue!(int, false) W, DefaultValue!(int, false) H, DefaultValue!(int, false) ATTR) { if(!V.isDefault && !W.isDefault) { int u = defno; int v = cast(int)V; int w = 16, h = 16, attr = 1; if(!ATTR.isDefault) { w = cast(int)W; h = cast(int)H; attr = cast(int)ATTR; } else { if(!W.isDefault && !H.isDefault) { w = cast(int)W; h = cast(int)H; } if(!W.isDefault && H.isDefault) { attr = cast(int)W; } } p.sprite.spchr(id, u, v, w, h, cast(SpriteAttr)attr); return; } p.sprite.spchr(id, defno); } static void SPHIDE(PetitComputer p, int id) { p.sprite.sphide(id); } static void SPSHOW(PetitComputer p, int id) { p.sprite.spshow(id); } static void SPOFS(PetitComputer p, int id, double x, double y, DefaultValue!(int, false) z) { if(z.isDefault) { p.sprite.spofs(id, x, y); } else { p.sprite.spofs(id, x, y, cast(int)z); } } @StartOptional("z") static void SPOFS(PetitComputer p, int id, out double x, out double y, out int z) { p.sprite.getspofs(id, x, y, z); } static void SPANIM(PetitComputer p, Value[] va_args) { //TODO:配列 auto args = retro(va_args); int no = args[0].castInteger; double[] animdata = new double[args.length - 2]; int i; foreach(a; args[2..$]) { animdata[i++] = a.castDouble; } if(args[1].isString) p.sprite.spanim(no, args[1].castString, animdata); if(args[1].isNumber) p.sprite.spanim(no, cast(SpriteAnimTarget)(args[1].castInteger), animdata); } static void SPDEF(PetitComputer p, Value[] va_args) { switch(va_args.length) { case 0: p.sprite.spdef();//初期化 return; case 1://array { if(va_args[0].isNumberArray) { writeln("NOTIMPL:SPDEF ARRAY"); //return; } if(va_args[0].isString) { VM vm = p.vm; vm.pushDataIndex(); vm.restoreData(va_args[0].castString); auto count = vm.readData().castInteger;//読み込むスプライト数 int defno = 0;//? for(int i = 0; i < count; i++) { int U = vm.readData().castInteger; int V = vm.readData().castInteger; int W = vm.readData().castInteger; int H = vm.readData().castInteger; int HX = vm.readData().castInteger; int HY = vm.readData().castInteger; int ATTR = vm.readData().castInteger; p.sprite.SPDEFTable[defno] = SpriteDef(U, V, W, H, HX, HY, cast(SpriteAttr)ATTR); defno++; } vm.popDataIndex(); return; } throw new IllegalFunctionCall("SPDEF"); } default: } { int defno = va_args[0].castInteger; int U = va_args[1].castInteger; int V = va_args[2].castInteger; int W = 16, H = 16, HX = 0, HY = 0, ATTR = 1; if(va_args.length > 3) { W = va_args[3].castInteger; } if(va_args.length > 4) { H = va_args[4].castInteger; } if(va_args.length > 5) { HX = va_args[5].castInteger; } if(va_args.length > 6) { HY = va_args[6].castInteger; } if(va_args.length > 7) { ATTR = va_args[7].castInteger; } p.sprite.SPDEFTable[defno] = SpriteDef(U, V, W, H, HX, HY, cast(SpriteAttr)ATTR); } } static void SPCLR(PetitComputer p, DefaultValue!(int, false) i) { if(i.isDefault) p.sprite.spclr(); else p.sprite.spclr(cast(int)i); } static void SPHOME(PetitComputer p, int i, int hx, int hy) { p.sprite.sphome(i, hx, hy); } static void SPSCALE(PetitComputer p, int i, double x, double y) { p.sprite.spscale(i, x, y); } static void SPROT(PetitComputer p, int i, double rot) { p.sprite.sprot(i, rot); } static void SPCOLOR(PetitComputer p, int id, int color) { p.sprite.spcolor(id, cast(uint)color); } static void SPLINK(PetitComputer p, int child, int parent) { p.sprite.splink(child, parent); } static void SPUNLINK(PetitComputer p, int id) { p.sprite.spunlink(id); } static void BGMSTOP(PetitComputer p) { writeln("NOTIMPL:BGMSTOP"); } static int BGMCHK(PetitComputer p) { writeln("NOTIMPL:BGMCHK"); return false; } static int CHKCHR(PetitComputer p, int x, int y) { return cast(int)(p.console[y][x].character); } static wstring FORMAT(PetitComputer p, Value[] va_args) { alias retro!(Value[]) VaArgs; auto args = retro(va_args); auto format = args[0].castString; import std.array : appender; import std.format; import std.string; auto w = appender!wstring(); int j = 1; for(int i = 0; i < format.length; i++) { auto f = format[i]; if(f == '%') { int d = cast(int)indexOf(format, 'D', CaseSensitive.yes); if(d != -1) { auto spec = singleSpec(format[i .. d + 1]); spec.spec = 'd'; formatValue(w, args[j].castInteger, spec); j++; i = d; continue; } d = cast(int)indexOf(format, 'X', CaseSensitive.yes); if(d != -1) { auto spec = singleSpec(format[i .. d + 1]); spec.spec = cast(char)format[d]; formatValue(w, args[j].castInteger, spec); j++; i = d; continue; } d = cast(int)indexOf(format, 'S', CaseSensitive.yes); if(d != -1) { auto spec = singleSpec(format[i .. d + 1]); spec.spec = 's'; formatValue(w, args[j].castString, spec); j++; i = d; continue; } d = cast(int)indexOf(format, 'F', CaseSensitive.yes); if(d != -1) { auto spec = singleSpec(format[i .. d + 1]); spec.spec = 'f'; formatValue(w, args[j].castDouble, spec); j++; i = d; continue; } } w ~= f; } //プチコン互換FOMA return cast(immutable)w.data(); } static wstring CHR(int code) { return (cast(wchar)code).to!wstring; } static double POW(double a1, double a2) { return a1 ^^ a2; } static double SQR(double a1) { return sqrt(a1); } //GalateaTalk利用面倒くさい... static void TALK(wstring a1) { } static void BGCLR(PetitComputer p, DefaultValue!(int, false) layer) { if(layer.isDefault) { foreach(bg; p.allBG) { bg.clear; } return; } p.getBG(cast(int)layer).clear; } static void BGSCREEN(PetitComputer p, int layer, int w, int h) { p.getBG(layer).screen(w, h); } static void BGOFS(PetitComputer p, int layer, int x, int y, DefaultValue!(int, false) z) { z.setDefaultValue(p.getBG(layer).offsetz); p.getBG(layer).ofs(x, y, cast(int)z); } static void BGCLIP(PetitComputer p, int layer, DefaultValue!(int, false) x, DefaultValue!(int, false) y, DefaultValue!(int, false) x2, DefaultValue!(int, false) y2) { if(x.isDefault && y.isDefault && x2.isDefault && y2.isDefault) { p.getBG(layer).clip(); } if(x.isDefault || y.isDefault || x2.isDefault || y2.isDefault) { throw new IllegalFunctionCall("BGCLIP"); } p.getBG(layer).clip(cast(int)x, cast(int)y, cast(int)x2, cast(int)y2); } static void BGPUT(PetitComputer p, int layer, int x, int y, int screendata) { p.getBG(layer).put(x, y, screendata); } static void BGHOME(PetitComputer p, int layer, int x, int y) { p.getBG(layer).home(x, y); } static void BGSCALE(PetitComputer p, int layer, double x, double y) { p.getBG(layer).scale(x, y); } static void BGROT(PetitComputer p, int layer, double rot) { p.getBG(layer).rot(rot); } static void EFCON() { } static void EFCOFF() { } static void EFCSET(Value[]) { } static void EFCWET(Value[]) { } static void COPY(PetitComputer p, Value[] rawargs) { auto args = retro(rawargs); //文字列はリテラル渡すとType mismatch if(args.length > 5 || args.length < 2 || !args[0].isArray) { throw new IllegalFunctionCall("COPY"); } //COPY string, string->文字列COPY //COPY array, string->DATA COPY Value dst = args[0]; int dstoffset = 0; int srcoffset = 0; int len = dst.length;//省略時はコピー元の末尾まで if(args[1].isString && !args[0].isString) { //DATAから VM vm = p.vm; vm.pushDataIndex(); vm.restoreData(args[1].castString); for(int i = 0; i < len; i++) { Value data = vm.readData(); dst[dstoffset++] = data; } vm.popDataIndex(); return; } throw new IllegalFunctionCall("COPY (Not implemented error)"); } //alias void function(PetitComputer, Value[], Value[]) BuiltinFunc; static BuiltinFunctions[wstring] builtinFunctions; static this() { foreach(name; __traits(derivedMembers, BuiltinFunction)) { //writeln(name); static if(/*__traits(isStaticFunction, __traits(getMember, BuiltinFunction, name)) && */name[0].isUpper) { foreach(i, F; __traits(getOverloads, BuiltinFunction, name)) { //pragma(msg, AddFunc!(BuiltinFunction, name)); wstring suffix = ""; if(is(ReturnType!(__traits(getMember, BuiltinFunction, name)) == wstring)) { suffix = "$"; } wstring name2 = name ~ suffix; auto func = builtinFunctions.get(name2, null); alias BFD = BuiltinFunctionData!(BuiltinFunction, name, i); pragma(msg, AddFunc!BFD); auto f = new BuiltinFunction( GetFunctionParamType!(BFD), GetFunctionReturnType!(BFD), mixin(AddFunc!(BFD)), GetStartSkip!(BFD), IsVariadic!(BFD), name, GetOutStartSkip!(BFD) ); if(func) { builtinFunctions[name2].addFunction(f); } else { builtinFunctions[name2] = new BuiltinFunctions(f); } //writeln(AddFunc!(BuiltinFunction, name)); } } } } } template GetOutStartSkip(BFD) { static if(__traits(getAttributes, __traits(getOverloads, BFD.C_, BFD.N)[BFD.I_]).length == 1 && is(typeof(__traits(getAttributes, __traits(getOverloads, BFD.C_, BFD.N)[BFD.I_])[0]) == StartOptional)) { enum so = __traits(getAttributes, __traits(getOverloads, BFD.C_, BFD.N)[BFD.I_])[0]; int GetOutStartSkip() { int k; foreach (j, i; ParameterIdentifierTuple!(__traits(getOverloads, BFD.C_, BFD.N)[BFD.I_])) { if(i == so.name) { return k; } else if(BFD.ParameterStorageClass[j] & ParameterStorageClass.out_) { k++; } } return 0; } } else { int GetOutStartSkip() { return 0; } } } template GetStartSkip(BFD) { private template SkipSkip(int I, P...) { static if(P.length <= I) { enum SkipSkip = I - is(P[0] == PetitComputer); } else static if(BFD.ParameterStorageClass[I] & ParameterStorageClass.out_) { enum SkipSkip = I - is(P[0] : PetitComputer); } else static if(is(P[I] == DefaultValue!(int, false))) { enum SkipSkip = I - is(P[0] : PetitComputer); } else static if(is(P[I] == DefaultValue!(double, false))) { enum SkipSkip = I - is(P[0] : PetitComputer); } else static if(is(P[I] == DefaultValue!(wstring, false))) { enum SkipSkip = I - is(P[0] : PetitComputer); } else static if(is(P[I] == DefaultValue!(Value, false))) { enum SkipSkip = I - is(P[0] : PetitComputer); } else { enum SkipSkip = SkipSkip!(I + 1, P); } } enum GetStartSkip = SkipSkip!(0, BFD.ParameterType); } template GetBuiltinFunctionArgment(P...) { static if(is(P[0] == double)) { const string arg = "ValueType.Double, false"; } else static if(is(P[0] == int)) { const string arg = "ValueType.Integer, false"; } else static if(is(P[0] == wstring)) { const string arg = "ValueType.String, false"; } else static if(is(P[0] == DefaultValue!int)) { const string arg = "ValueType.Integer, true"; } else static if(is(P[0] == DefaultValue!(int, false))) { const string arg = "ValueType.Integer, true"; } else static if(is(P[0] == OptionalOutValue!int)) { const string arg = "ValueType.Integer, true"; } else static if(is(P[0] == DefaultValue!double)) { const string arg = "ValueType.Double, true"; } else static if(is(P[0] == DefaultValue!(double, false))) { const string arg = "ValueType.Double, true"; } else static if(is(P[0] == DefaultValue!(wstring))) { const string arg = "ValueType.String, false"; } else static if(is(P[0] == DefaultValue!(wstring, false))) { const string arg = "ValueType.String, true"; } else static if(is(P[0] == Value[])) { const string arg = ""; } else static if(is(P[0] == DefaultValue!(Value)) || is(P[0] == Value)) { const string arg = "ValueType.Void, false"; } else static if(is(P[0] == DefaultValue!(Value, false))) { const string arg = "ValueType.Void, true"; } else static if(is(P[0] == void)) { const string arg = ""; } else { static assert(false, "Invalid type"); } static if(is(P[0] == void)) { enum GetBuiltinFunctionArgment = ""; } else { enum GetBuiltinFunctionArgment = "BuiltinFunctionArgument(" ~ arg ~ ")"; } } template BuiltinFunctionData(C, string NAME, int I) { //struct BuiltinFunctionData //{ //enum P = ParameterStorageClassTuple!(__traits(getOverloads, C, N)[I]); struct BuiltinFunctionData { alias P = std.traits.ParameterStorageClassTuple!(__traits(getOverloads, C, NAME)[I]); alias T = std.traits.ParameterTypeTuple!(__traits(getOverloads, C, NAME)[I]); alias R = std.traits.ReturnType!(__traits(getOverloads, C, NAME)[I]); alias ParameterStorageClass = std.traits.ParameterStorageClassTuple!(__traits(getOverloads, C, NAME)[I]); alias ParameterType = std.traits.ParameterTypeTuple!(__traits(getOverloads, C, NAME)[I]); alias ReturnType = std.traits.ReturnType!(__traits(getOverloads, C, NAME)[I]); enum F = &__traits(getOverloads, C, NAME)[I]; alias N = NAME; alias C_ = C; alias I_ = I; } } template GetOutArgment(C, string N) { alias T = ParameterTypeTuple!(__traits(getMember, C, N)); string GetOutArgment2() { string arg = ""; foreach(i, J; T) { enum P = ParameterStorageClassTuple!(__traits(getMember, C, N))[i]; static if(P & ParameterStorageClass.out_) { arg ~= GetBuiltinFunctionArgment!(J) ~ ","; } } return arg; } enum GetOutArgment = GetOutArgment2(); } template GetOutArgment2(BFD) { alias T = BFD.T; string GetOutArgment22() { string arg = ""; foreach(i, J; T) { //enum P = ParameterStorageClassTuple!(__traits(getMember, C, N))[i]; static if(BFD.P[i] & ParameterStorageClass.out_) { arg ~= GetBuiltinFunctionArgment!(J) ~ ","; } } return arg; } enum GetOutArgment2 = GetOutArgment22(); } //template GetOutArgment2(T2) //{ //} template GetFunctionReturnType(BFD) { static if(is(BFD.R == void)) { enum GetFunctionReturnType = mixin("[" ~ GetOutArgment2!(BFD) ~ "]"); } else { enum GetFunctionReturnType = mixin("[" ~ GetBuiltinFunctionArgment!(BFD.R) ~ "]"); } } template AddFunc(BFD) { static if(is(BFD.ReturnType == double) || is(BFD.ReturnType == int)) { const string AddFunc = "function void(PetitComputer p, Value[] arg, Value[] ret){if(ret.length != 1){throw new IllegalFunctionCall(\"" ~ BFD.N ~ "\");}ret[0] = Value(" ~ BFD.N ~ "(" ~ AddFuncArg!(/*ParameterTypeTuple!(__traits(getMember, T, N)).length*/GetArgumentCount!(BFD) - 1, 0, 0, 0, BFD, BFD.ParameterType) ~ "));}"; } else static if(is(BFD.ReturnType == void)) { //pragma(msg, GetArgumentCount!(T,N)); const string AddFunc = "function void(PetitComputer p, Value[] arg, Value[] ret){/*if(ret.length != 0){throw new IllegalFunctionCall(\"" ~ BFD.N ~ "\");}*/" ~ OutArgsInit!(BFD) ~ BFD.N ~ "(" ~ AddFuncArg!(/*ParameterTypeTuple!(__traits(getMember, T, N)).length*/GetArgumentCount!(BFD) - 1, 0, 0, 0, BFD, BFD.ParameterType) ~ ");}"; } else static if(is(BFD.ReturnType == wstring)) { const string AddFunc = "function void(PetitComputer p, Value[] arg, Value[] ret){if(ret.length != 1){throw new IllegalFunctionCall(\"" ~ BFD.N ~ "\");}ret[0] = Value(" ~ BFD.N ~ "(" ~ AddFuncArg!(/*ParameterTypeTuple!(__traits(getMember, T, N)).length*/GetArgumentCount!(BFD) - 1, 0, 0, 0, BFD, BFD.ParameterType) ~ "));}"; } else { const string AddFunc = ""; static assert(false, "Invalid type"); } } DefaultValue!int fromIntToDefault(Value v) { if(v.isNumber) return DefaultValue!int(v.castInteger()); else return DefaultValue!int(true); } DefaultValue!(int, false) fromIntToSkip(Value v) { if(v.isNumber) return DefaultValue!(int, false)(v.castInteger()); else return DefaultValue!(int, false)(true); } DefaultValue!double fromDoubleToDefault(Value v) { if(v.isNumber) return DefaultValue!double(v.castDouble()); else return DefaultValue!double(true); } DefaultValue!(double, false) fromDoubleToSkip(Value v) { if(v.isNumber) return DefaultValue!(double, false)(v.castDouble()); else return DefaultValue!(double, false)(true); } DefaultValue!wstring fromStringToDefault(Value v) { if(v.type == ValueType.String) return DefaultValue!wstring(v.castString()); else return DefaultValue!wstring(true); } DefaultValue!(wstring, false) fromStringToSkip(Value v) { if(v.type == ValueType.String) return DefaultValue!(wstring, false)(v.castString()); else return DefaultValue!(wstring, false)(true); } DefaultValue!Value fromValueToDefault(Value v) { if(v.type != ValueType.Void) return DefaultValue!Value(v); else return DefaultValue!Value(true); } DefaultValue!(Value, false) fromValueToSkip(Value v) { if(v.type != ValueType.Void) return DefaultValue!(Value, false)(v); else return DefaultValue!(Value, false)(true); } template GetFunctionParamType(BFD) { enum GetFunctionParamType = mixin("[" ~ Array!(0, BFD.T) ~ "]"); private template Array(int I, P...) { static if(P.length == 0) { const string arg = ""; enum Array = ""; } else static if(BFD.ParameterStorageClass[I] & ParameterStorageClass.out_) { static if(1 == P.length && !is(P[0] == PetitComputer)) { enum Array = ""; } else static if(!is(P[0] == PetitComputer)) { enum Array = Array!(I + 1, P[1..$]); } } else { static if(is(P[0] == double)) { const string arg = "ValueType.Double, false"; } else static if(is(P[0] == int)) { const string arg = "ValueType.Integer, false"; } else static if(is(P[0] == wstring)) { const string arg = "ValueType.String, false"; } else static if(is(P[0] == DefaultValue!int)) { const string arg = "ValueType.Integer, true"; } else static if(is(P[0] == DefaultValue!(int, false))) { const string arg = "ValueType.Integer, true"; } else static if(is(P[0] == DefaultValue!double)) { const string arg = "ValueType.Double, true"; } else static if(is(P[0] == DefaultValue!(double, false))) { const string arg = "ValueType.Double, true"; } else static if(is(P[0] == DefaultValue!(wstring))) { const string arg = "ValueType.String, false"; } else static if(is(P[0] == DefaultValue!(wstring, false))) { const string arg = "ValueType.String, true"; } else static if(is(P[0] == Value[])) { const string arg = ""; } else static if(is(P[0] == DefaultValue!(Value)) || is(P[0] == Value)) { const string arg = "ValueType.Void, false"; } else static if(is(P[0] == DefaultValue!(Value, false))) { const string arg = "ValueType.Void, true"; } else static if(is(P[0] == PetitComputer)) { static if(P.length != 0) { enum Array = Array!(I + 1, P[1..$]); } else { enum Array = ""; } } static if(1 == P.length && !is(P[0] == PetitComputer)) { enum Array = "BuiltinFunctionArgument(" ~ arg ~ ")"; } else static if(!is(P[0] == PetitComputer)) { enum Array = "BuiltinFunctionArgument(" ~ arg ~ ")," ~ Array!(I + 1, P[1..$]); } } } } template AddFuncArg(int L, int N, int M, int O, BFD, P...) { enum I = L - N; static if(BFD.ParameterStorageClass.length <= M) { const string AddFuncArg = ""; } else { enum storage = BFD.ParameterStorageClass[M]; static if(is(P[0] == double)) { static if(storage & ParameterStorageClass.out_) { enum add = 0; enum outadd = 1; const string arg = "ret[" ~ O.to!string ~ "].doubleValue"; } else { enum add = 1; enum outadd = 0; const string arg = "arg[" ~ I.to!string ~ "].castDouble"; } } else static if(is(P[0] == PetitComputer)) { enum add = 0; enum outadd = 0; const string arg = "p"; } else static if(is(P[0] == int)) { static if(storage & ParameterStorageClass.out_) { enum add = 0; enum outadd = 1; const string arg = "ret[" ~ O.to!string ~ "].integerValue"; } else { enum add = 1; enum outadd = 0; const string arg = "arg[" ~ I.to!string ~ "].castInteger"; } } else static if(is(P[0] == wstring)) { enum add = 1; enum outadd = 0; const string arg = "arg[" ~ I.to!string ~ "].castString"; } else static if(is(P[0] == DefaultValue!int)) { static if(storage & ParameterStorageClass.out_) { enum add = 0; enum outadd = 1; const string arg = "ret[" ~ O.to!string ~ "].integerValue"; } else { enum add = 1; enum outadd = 0; const string arg = "fromIntToDefault(arg[" ~ I.to!string ~ "])"; } } else static if(is(P[0] == DefaultValue!(int, false))) { enum add = 1; enum outadd = 0; const string arg = "fromIntToSkip(arg[" ~ I.to!string ~ "])"; } else static if(is(P[0] == DefaultValue!double)) { enum add = 1; enum outadd = 0; const string arg = "fromDoubleToDefault(arg[" ~ I.to!string ~ "])"; } else static if(is(P[0] == DefaultValue!(double, false))) { enum add = 1; enum outadd = 0; const string arg = "fromDoubleToSkip(arg[" ~ I.to!string ~ "])"; } else static if(is(P[0] == DefaultValue!wstring)) { enum add = 1; enum outadd = 0; const string arg = "fromStringToDefault(arg[" ~ I.to!string ~ "])"; } else static if(is(P[0] == DefaultValue!(wstring, false))) { enum add = 1; enum outadd = 0; const string arg = "fromStringToSkip(arg[" ~ I.to!string ~ "])"; } else static if(is(P[0] == Value[])) { const string arg = "arg"; } else static if(is(P[0] == Value)) { enum add = 1; enum outadd = 0; const string arg = "arg[" ~ I.to!string ~ "]"; } else static if(is(P[0] == DefaultValue!Value)) { enum add = 1; enum outadd = 0; const string arg = "fromValueToDefault(arg[" ~ I.to!string ~ "])"; } else static if(is(P[0] == DefaultValue!(Value, false))) { enum add = 1; enum outadd = 0; const string arg = "fromValueToSkip(arg[" ~ I.to!string ~ "])"; } else { enum add = 1; enum outadd = 0; pragma(msg, P[0]); static assert(false, "Invalid type"); const string arg = ""; } static if(1 == P.length) { const string AddFuncArg = arg; } else { const string AddFuncArg = arg ~ ", " ~ AddFuncArg!(L - !add, N + add, M + 1, O + outadd, BFD, P[1..$]); } } } template OutArgsInit(BFD, int I = 0, int J = 0) { alias param = BFD.ParameterType; static if(!param.length) { enum OutArgsInit = ""; } else { enum tuple = BFD.ParameterStorageClass[I]; static if(tuple & ParameterStorageClass.out_) { enum add = 1; enum ret1 = "ret[" ~ J.to!string ~ "].type = "; static if(is(param[I] == int)) { enum ret2 = "ValueType.Integer;"; } else static if(is(param[I] == DefaultValue!int)) { enum ret2 = "ValueType.Integer;"; } //else static if(is(param[I] == OptionalOutValue!int)) //{ // enum ret2 = "ValueType.Integer;"; //} else static if(is(param[I] == double)) { enum ret2 = "ValueType.Double;"; } else static if(is(param[I] == Value[])) { enum ret2 = "ValueType.Void;"; } else { static assert(false, "invalid type " ~ param[I].stringof); } enum result = ret1 ~ ret2; } else { enum add = 0; enum result = ""; } static if(param.length > I + 1) { enum OutArgsInit = result ~ OutArgsInit!(BFD, I + 1, J + add); } else { enum OutArgsInit = result; } } } template GetArgumentCount(BFD, int I = 0) { alias param = BFD.ParameterType; static if(param.length <= I) { enum GetArgumentCount = 0; } else { enum tuple = BFD.ParameterStorageClass[I]; static if(is(param[I] == PetitComputer)) { enum add = 0 + 1; } else { static if(tuple & ParameterStorageClass.out_) { enum add = 0; } else { enum add = 1; } } static if(param.length > I + 1) { enum GetArgumentCount = add + GetArgumentCount!(BFD, I + 1); } else { enum GetArgumentCount = add; } } } template IsVariadic(BFD, int I = 0) { alias param = BFD.ParameterType; static if(param.length == 0 || param.length <= I) { enum IsVariadic = false; } else static if(is(param[I] == Value[])) { enum IsVariadic = true; } else { enum IsVariadic = IsVariadic!(BFD, I + 1); } }
D
module sam.server.actorsystem; import poodinis; import vibe.core.core : runApplication; import sam.common.enforce; import sam.common.interfaces.messagereceiver; import sam.common.interfaces.messagesender; import sam.common.interfaces.actor; import sam.server.core.actormanagment.actorcollection; import sam.server.core.actormanagment.actorprovider; import sam.server.core.actormanagment.actorregistry; import sam.server.core.pipelines.messagereceiver; import sam.server.core.actormanagment.actorlifetime; import sam.client.messagesender; import sam.client.actorsystem; class ActorSystem { private shared DependencyContainer m_container; private ActorRegistry m_actorRegistry; this(shared DependencyContainer container, ActorRegistry actorRegistry) { this.m_container = container.notNull; this.m_actorRegistry = actorRegistry.notNull; } ActorSystemClient clientOf() { return new ActorSystemClient(m_container.resolve!IMessageSender); } } class ActorSystemBuilder { private shared DependencyContainer m_container; private ActorRegistry m_actorRegistry; shared(DependencyContainer) container() { return m_container; } this() { m_container = new shared DependencyContainer; m_container.register!DependencyContainer().existingInstance(cast(DependencyContainer) m_container); m_container.register!ActorRegistry; m_actorRegistry = m_container.resolve!ActorRegistry; } ActorSystemBuilder register(TIActor: IActor, TActor: IActor)() { m_actorRegistry.register!(TIActor, TActor)(); return this; } ActorSystem build() { return new ActorSystem(m_container, m_actorRegistry); } } ActorSystemBuilder UseInMemoryActorSystem(ActorSystemBuilder builder) { builder.container.register!(IMessageSender, MessageSender); builder.container.register!(IMessageReceiver, MessageReceiver); builder.container.register!(ActorProvider); builder.container.register!(ActorCollection); builder.container.register!(ActorLifetime); auto lifetime = builder.container.resolve!(ActorLifetime); lifetime.run; return builder; }
D