code
stringlengths
3
10M
language
stringclasses
31 values
// REQUIRED_ARGS: -o- /* TEST_OUTPUT: --- fail_compilation/fail8179b.d(10): Error: cannot cast expression `[1, 2]` of type `int[]` to `int[2][1]` --- */ void foo(int[2][1]) {} void main() { foo(cast(int[2][1])[1, 2]); }
D
module org.serviio.upnp.service.contentdirectory.command.video.ListVideosForGenreCommand; import java.util.List; import org.serviio.library.entities.AccessGroup; import org.serviio.library.entities.Video; import org.serviio.library.local.service.VideoService; import org.serviio.profile.Profile; import org.serviio.upnp.service.contentdirectory.ObjectType; import org.serviio.upnp.service.contentdirectory.classes.ObjectClassType; public class ListVideosForGenreCommand : AbstractVideosRetrievalCommand { public this(String contextIdentifier, ObjectType objectType, ObjectClassType containerClassType, ObjectClassType itemClassType, Profile rendererProfile, AccessGroup accessGroup, String idPrefix, int startIndex, int count) { super(contextIdentifier, objectType, containerClassType, itemClassType, rendererProfile, accessGroup, idPrefix, startIndex, count); } protected List!(Video) retrieveEntityList() { List!(Video) videos = VideoService.getListOfVideosForGenre(new Long(getInternalObjectId()), accessGroup, startIndex, count); return videos; } public int retrieveItemCount() { return VideoService.getNumberOfVideosForGenre(new Long(getInternalObjectId()), accessGroup); } } /* Location: D:\Program Files\Serviio\lib\serviio.jar * Qualified Name: org.serviio.upnp.service.contentdirectory.command.video.ListVideosForGenreCommand * JD-Core Version: 0.6.2 */
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ module vtkUnsignedShortVector2T; static import vtkd_im; static import core.stdc.config; static import std.conv; static import std.string; static import std.conv; static import std.string; static import vtkUnsignedShortVector2TN; class vtkUnsignedShortVector2T : vtkUnsignedShortVector2TN.vtkUnsignedShortVector2TN { private void* swigCPtr; public this(void* cObject, bool ownCObject) { super(vtkd_im.vtkUnsignedShortVector2T_Upcast(cObject), ownCObject); swigCPtr = cObject; } public static void* swigGetCPtr(vtkUnsignedShortVector2T obj) { return (obj is null) ? null : obj.swigCPtr; } mixin vtkd_im.SwigOperatorDefinitions; ~this() { dispose(); } public override void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; vtkd_im.delete_vtkUnsignedShortVector2T(cast(void*)swigCPtr); } swigCPtr = null; super.dispose(); } } } public this() { this(vtkd_im.new_vtkUnsignedShortVector2T__SWIG_0(), true); } public this(ushort scalar) { this(vtkd_im.new_vtkUnsignedShortVector2T__SWIG_1(scalar), true); } public this(ushort* init) { this(vtkd_im.new_vtkUnsignedShortVector2T__SWIG_2(cast(void*)init), true); } public this(ushort x, ushort y) { this(vtkd_im.new_vtkUnsignedShortVector2T__SWIG_3(x, y), true); } public void Set(ushort x, ushort y) { vtkd_im.vtkUnsignedShortVector2T_Set(cast(void*)swigCPtr, x, y); } public void SetX(ushort x) { vtkd_im.vtkUnsignedShortVector2T_SetX(cast(void*)swigCPtr, x); } public ushort GetX() const { auto ret = vtkd_im.vtkUnsignedShortVector2T_GetX(cast(void*)swigCPtr); return ret; } public void SetY(ushort y) { vtkd_im.vtkUnsignedShortVector2T_SetY(cast(void*)swigCPtr, y); } public ushort GetY() const { auto ret = vtkd_im.vtkUnsignedShortVector2T_GetY(cast(void*)swigCPtr); return ret; } public ushort X() const { auto ret = vtkd_im.vtkUnsignedShortVector2T_X(cast(void*)swigCPtr); return ret; } public ushort Y() const { auto ret = vtkd_im.vtkUnsignedShortVector2T_Y(cast(void*)swigCPtr); return ret; } }
D
module hunt.security.cert.CertPath; import hunt.security.cert.Certificate; import hunt.collection; import std.array; import std.conv; /** * An immutable sequence of certificates (a certification path). * <p> * This is an abstract class that defines the methods common to all * {@code CertPath}s. Subclasses can handle different kinds of * certificates (X.509, PGP, etc.). * <p> * All {@code CertPath} objects have a type, a list of * {@code Certificate}s, and one or more supported encodings. Because the * {@code CertPath} class is immutable, a {@code CertPath} cannot * change in any externally visible way after being constructed. This * stipulation applies to all fields and methods of this class and any * added or overridden by subclasses. * <p> * The type is a {@code string} that identifies the type of * {@code Certificate}s in the certification path. For each * certificate {@code cert} in a certification path {@code certPath}, * {@code cert.getType().equals(certPath.getType())} must be * {@code true}. * <p> * The list of {@code Certificate}s is an ordered {@code List} of * zero or more {@code Certificate}s. This {@code List} and all * of the {@code Certificate}s contained in it must be immutable. * <p> * Each {@code CertPath} object must support one or more encodings * so that the object can be translated into a byte array for storage or * transmission to other parties. Preferably, these encodings should be * well-documented standards (such as PKCS#7). One of the encodings supported * by a {@code CertPath} is considered the default encoding. This * encoding is used if no encoding is explicitly requested (for the * {@link #getEncoded() getEncoded()} method, for instance). * <p> * All {@code CertPath} objects are also {@code Serializable}. * {@code CertPath} objects are resolved into an alternate * {@link CertPathRep CertPathRep} object during serialization. This allows * a {@code CertPath} object to be serialized into an equivalent * representation regardless of its underlying implementation. * <p> * {@code CertPath} objects can be created with a * {@code CertificateFactory} or they can be returned by other classes, * such as a {@code CertPathBuilder}. * <p> * By convention, X.509 {@code CertPath}s (consisting of * {@code X509Certificate}s), are ordered starting with the target * certificate and ending with a certificate issued by the trust anchor. That * is, the issuer of one certificate is the subject of the following one. The * certificate representing the {@link TrustAnchor TrustAnchor} should not be * included in the certification path. Unvalidated X.509 {@code CertPath}s * may not follow these conventions. PKIX {@code CertPathValidator}s will * detect any departure from these conventions that cause the certification * path to be invalid and throw a {@code CertPathValidatorException}. * * <p> Every implementation of the Java platform is required to support the * following standard {@code CertPath} encodings: * <ul> * <li>{@code PKCS7}</li> * <li>{@code PkiPath}</li> * </ul> * These encodings are described in the <a href= * "{@docRoot}/../technotes/guides/security/StandardNames.html#CertPathEncodings"> * CertPath Encodings section</a> of the * Java Cryptography Architecture Standard Algorithm Name Documentation. * Consult the release documentation for your implementation to see if any * other encodings are supported. * <p> * <b>Concurrent Access</b> * <p> * All {@code CertPath} objects must be thread-safe. That is, multiple * threads may concurrently invoke the methods defined in this class on a * single {@code CertPath} object (or more than one) with no * ill effects. This is also true for the {@code List} returned by * {@code CertPath.getCertificates}. * <p> * Requiring {@code CertPath} objects to be immutable and thread-safe * allows them to be passed around to various pieces of code without worrying * about coordinating access. Providing this thread-safety is * generally not difficult, since the {@code CertPath} and * {@code List} objects in question are immutable. * * @see CertificateFactory * @see CertPathBuilder * * @author Yassir Elley * @since 1.4 */ abstract class CertPath { // private static final long serialVersionUID = 6068470306649138683L; private string type; // the type of certificates in this chain /** * Creates a {@code CertPath} of the specified type. * <p> * This constructor is protected because most users should use a * {@code CertificateFactory} to create {@code CertPath}s. * * @param type the standard name of the type of * {@code Certificate}s in this path */ protected this(string type) { this.type = type; } /** * Returns the type of {@code Certificate}s in this certification * path. This is the same string that would be returned by * {@link java.security.cert.Certificate#getType() cert.getType()} * for all {@code Certificate}s in the certification path. * * @return the type of {@code Certificate}s in this certification * path (never null) */ string getType() { return type; } /** * Returns an iteration of the encodings supported by this certification * path, with the default encoding first. Attempts to modify the returned * {@code Iterator} via its {@code remove} method result in an * {@code UnsupportedOperationException}. * * @return an {@code Iterator} over the names of the supported * encodings (as Strings) */ abstract Iterator!string getEncodings(); /** * Compares this certification path for equality with the specified * object. Two {@code CertPath}s are equal if and only if their * types are equal and their certificate {@code List}s (and by * implication the {@code Certificate}s in those {@code List}s) * are equal. A {@code CertPath} is never equal to an object that is * not a {@code CertPath}. * <p> * This algorithm is implemented by this method. If it is overridden, * the behavior specified here must be maintained. * * @param other the object to test for equality with this certification path * @return true if the specified object is equal to this certification path, * false otherwise */ override bool opEquals(Object other) { if (this is other) return true; if (other is null) return false; CertPath otherCP = cast(CertPath) other; if (otherCP is null || otherCP.getType() != type) return false; List!Certificate thisCertList = this.getCertificates(); List!Certificate otherCertList = otherCP.getCertificates(); return(thisCertList == otherCertList); } /** * Returns the hashcode for this certification path. The hash code of * a certification path is defined to be the result of the following * calculation: * <pre>{@code * hashCode = path.getType().hashCode(); * hashCode = 31*hashCode + path.getCertificates().hashCode(); * }</pre> * This ensures that {@code path1.equals(path2)} implies that * {@code path1.hashCode()==path2.hashCode()} for any two certification * paths, {@code path1} and {@code path2}, as required by the * general contract of {@code Object.hashCode}. * * @return the hashcode value for this certification path */ override size_t toHash() @trusted nothrow { size_t hashCode = hashOf(type); hashCode = 31*hashCode + getCertificates().toHash(); return hashCode; } /** * Returns a string representation of this certification path. * This calls the {@code toString} method on each of the * {@code Certificate}s in the path. * * @return a string representation of this certification path */ override string toString() { Appender!string sb; List!Certificate certificates = getCertificates(); sb.put("\n" ~ type ~ " Cert Path: length = " ~ certificates.size().to!string() ~ ".\n"); sb.put("[\n"); int i = 1; foreach(Certificate stringCert; certificates) { sb.put("==========================================" ~ "===============Certificate " ~ i.to!string() ~ " start.\n"); sb.put(stringCert.toString()); sb.put("\n========================================" ~ "=================Certificate " ~ i.to!string() ~ " end.\n\n\n"); i++; } sb.put("\n]"); return sb.data; } /** * Returns the encoded form of this certification path, using the default * encoding. * * @return the encoded bytes * @exception CertificateEncodingException if an encoding error occurs */ abstract byte[] getEncoded(); /** * Returns the encoded form of this certification path, using the * specified encoding. * * @param encoding the name of the encoding to use * @return the encoded bytes * @exception CertificateEncodingException if an encoding error occurs or * the encoding requested is not supported */ abstract byte[] getEncoded(string encoding); /** * Returns the list of certificates in this certification path. * The {@code List} returned must be immutable and thread-safe. * * @return an immutable {@code List} of {@code Certificate}s * (may be empty, but not null) */ abstract List!Certificate getCertificates() @trusted nothrow; /** * Replaces the {@code CertPath} to be serialized with a * {@code CertPathRep} object. * * @return the {@code CertPathRep} to be serialized * * @throws ObjectStreamException if a {@code CertPathRep} object * representing this certification path could not be created */ // protected Object writeReplace() { // try { // return new CertPathRep(type, getEncoded()); // } catch (CertificateException ce) { // NotSerializableException nse = // new NotSerializableException // ("java.security.cert.CertPath: " ~ type); // nse.initCause(ce); // throw nse; // } // } /** * Alternate {@code CertPath} class for serialization. * @since 1.4 */ protected static class CertPathRep { // private static final long serialVersionUID = 3015633072427920915L; /** The Certificate type */ private string type; /** The encoded form of the cert path */ private byte[] data; /** * Creates a {@code CertPathRep} with the specified * type and encoded form of a certification path. * * @param type the standard name of a {@code CertPath} type * @param data the encoded form of the certification path */ protected this(string type, byte[] data) { this.type = type; this.data = data; } /** * Returns a {@code CertPath} constructed from the type and data. * * @return the resolved {@code CertPath} object * * @throws ObjectStreamException if a {@code CertPath} could not * be constructed */ // protected Object readResolve() { // try { // CertificateFactory cf = CertificateFactory.getInstance(type); // return cf.generateCertPath(new ByteArrayInputStream(data)); // } catch (CertificateException ce) { // NotSerializableException nse = // new NotSerializableException // ("java.security.cert.CertPath: " ~ type); // nse.initCause(ce); // throw nse; // } // } } }
D
/Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/kvs_client-432ee5324e9b6374: /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/bin/kvs-client.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/engine/kvs.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/engine/mod.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/engine/sleds.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/kv_client.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/kv_server.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/kvs_error.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/lib.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/src/protocol.rs
D
/Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PublishSubject.o : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Deprecated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Cancelable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObserverType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Reactive.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/RecursiveLock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Errors.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/AtomicInt.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Event.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/First.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Rx.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/Platform.Linux.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit.modulemap /Users/MohamedNawar/Desktop/sharzein/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PublishSubject~partial.swiftmodule : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Deprecated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Cancelable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObserverType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Reactive.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/RecursiveLock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Errors.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/AtomicInt.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Event.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/First.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Rx.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/Platform.Linux.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit.modulemap /Users/MohamedNawar/Desktop/sharzein/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PublishSubject~partial.swiftdoc : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Deprecated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Cancelable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObserverType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Reactive.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Date+Dispatch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/RecursiveLock.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CompactMap.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Errors.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/AtomicInt.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Event.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/First.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Rx.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/Platform/Platform.Linux.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit.modulemap /Users/MohamedNawar/Desktop/sharzein/build/Debug-iphonesimulator/FBSDKCoreKit/FBSDKCoreKit.modulemap /Users/MohamedNawar/Desktop/sharzein/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
a storm with widespread snowfall accompanied by strong winds
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ module flow.job.service.impl.asyncexecutor.multitenant.TenantAwareAsyncExecutor; import hunt.collection.Set; import flow.job.service.impl.asyncexecutor.AsyncExecutor; /** * Interface for {@link AsyncExecutor} implementations used in conjunction with the MultiSchemaMultiTenantProcessEngineConfiguration. Allows to dynamically add tenant executors to the engine. * * @author Joram Barrez */ interface TenantAwareAsyncExecutor : AsyncExecutor { Set!string getTenantIds(); void addTenantAsyncExecutor(string tenantId, bool startExecutor); AsyncExecutor getTenantAsyncExecutor(string tenantId); void removeTenantAsyncExecutor(string tenantId); }
D
func void ZS_MCHunting() { PrintDebugNpc(PD_TA_FRAME,"ZS_MCHunting"); ObservingPerception(); AI_SetWalkMode(self,NPC_WALK); AI_GotoWP(self,self.wp); }; func void ZS_MCHunting_Loop() { PrintDebugNpc(PD_TA_LOOP,"ZS_MCHunting_End"); if(Wld_DetectNpc(self,-1,NOFUNC,GIL_MINECRAWLER)) { PrintDebugNpc(PD_TA_CHECK,"MineCrawler detect"); Npc_SetTarget(self,other); Npc_GetTarget(self); AI_StartState(self,ZS_AssessMonster,0,""); } else { AI_GotoWP(self,Npc_GetNextWP(self)); AI_GotoWP(self,Npc_GetNearestWP(self)); }; }; func void ZS_MCHunting_End() { PrintDebugNpc(PD_TA_FRAME,"ZS_MCHunting_End"); };
D
/** This module provides an $(D Array) type with deterministic memory usage not reliant on the GC, as an alternative to the built-in arrays. This module is a submodule of $(LINK2 std_container_package.html, std.container). Source: $(PHOBOSSRC std/container/_array.d) Macros: WIKI = Phobos/StdContainer TEXTWITHCOMMAS = $0 Copyright: Red-black tree code copyright (C) 2008- by Steven Schveighoffer. Other code copyright 2010- Andrei Alexandrescu. All rights reserved by the respective holders. License: Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at $(WEB boost.org/LICENSE_1_0.txt)). Authors: Steven Schveighoffer, $(WEB erdani.com, Andrei Alexandrescu) */ module std.container.array; import std.range.primitives; import std.traits; public import std.container.util; /** Array type with deterministic control of memory. The memory allocated for the array is reclaimed as soon as possible; there is no reliance on the garbage collector. $(D Array) uses $(D malloc) and $(D free) for managing its own memory. This means that pointers to elements of an $(D Array) will become dangling as soon as the element is removed from the $(D Array). On the other hand the memory allocated by an $(D Array) will be scanned by the GC and GC managed objects referenced from an $(D Array) will be kept alive. */ struct Array(T) if (!is(Unqual!T == bool)) { import core.stdc.stdlib; import core.stdc.string; import core.memory; import core.exception : RangeError; import std.algorithm : initializeAll, move, copy; import std.exception : enforce; import std.typecons : RefCounted, RefCountedAutoInitialize; // This structure is not copyable. private struct Payload { size_t _capacity; T[] _payload; // Convenience constructor this(T[] p) { _capacity = p.length; _payload = p; } // Destructor releases array memory ~this() { //Warning: destroy will also destroy class instances. //The hasElaborateDestructor protects us here. static if (hasElaborateDestructor!T) foreach (ref e; _payload) .destroy(e); static if (hasIndirections!T) GC.removeRange(_payload.ptr); free(_payload.ptr); } this(this) { assert(0); } void opAssign(Payload rhs) { assert(false); } // Duplicate data // @property Payload dup() // { // Payload result; // result._payload = _payload.dup; // // Conservatively assume initial capacity == length // result._capacity = result._payload.length; // return result; // } // length @property size_t length() const { return _payload.length; } // length @property void length(size_t newLength) { if (length >= newLength) { // shorten static if (hasElaborateDestructor!T) foreach (ref e; _payload.ptr[newLength .. _payload.length]) .destroy(e); _payload = _payload.ptr[0 .. newLength]; return; } // enlarge auto startEmplace = length; _payload = (cast(T*) realloc(_payload.ptr, T.sizeof * newLength))[0 .. newLength]; initializeAll(_payload.ptr[startEmplace .. length]); } // capacity @property size_t capacity() const { return _capacity; } // reserve void reserve(size_t elements) { if (elements <= capacity) return; immutable sz = elements * T.sizeof; static if (hasIndirections!T) // should use hasPointers instead { /* Because of the transactional nature of this * relative to the garbage collector, ensure no * threading bugs by using malloc/copy/free rather * than realloc. */ immutable oldLength = length; auto newPayload = enforce(cast(T*) malloc(sz))[0 .. oldLength]; // copy old data over to new array memcpy(newPayload.ptr, _payload.ptr, T.sizeof * oldLength); // Zero out unused capacity to prevent gc from seeing // false pointers memset(newPayload.ptr + oldLength, 0, (elements - oldLength) * T.sizeof); GC.addRange(newPayload.ptr, sz); GC.removeRange(_payload.ptr); free(_payload.ptr); _payload = newPayload; } else { /* These can't have pointers, so no need to zero * unused region */ auto newPayload = enforce(cast(T*) realloc(_payload.ptr, sz))[0 .. length]; _payload = newPayload; } _capacity = elements; } // Insert one item size_t insertBack(Stuff)(Stuff stuff) if (isImplicitlyConvertible!(Stuff, T)) { import std.conv : emplace; if (_capacity == length) { reserve(1 + capacity * 3 / 2); } assert(capacity > length && _payload.ptr); emplace(_payload.ptr + _payload.length, stuff); _payload = _payload.ptr[0 .. _payload.length + 1]; return 1; } /// Insert a range of items size_t insertBack(Stuff)(Stuff stuff) if (isInputRange!Stuff && isImplicitlyConvertible!(ElementType!Stuff, T)) { static if (hasLength!Stuff) { immutable oldLength = length; reserve(oldLength + stuff.length); } size_t result; foreach (item; stuff) { insertBack(item); ++result; } static if (hasLength!Stuff) { assert(length == oldLength + stuff.length); } return result; } } private alias Data = RefCounted!(Payload, RefCountedAutoInitialize.no); private Data _data; /** Constructor taking a number of items */ this(U)(U[] values...) if (isImplicitlyConvertible!(U, T)) { import std.conv : emplace; auto p = cast(T*) malloc(T.sizeof * values.length); static if (hasIndirections!T) { if (p) GC.addRange(p, T.sizeof * values.length); } foreach (i, e; values) { emplace(p + i, e); assert(p[i] == e); } _data = Data(p[0 .. values.length]); } /** Constructor taking an input range */ this(Stuff)(Stuff stuff) if (isInputRange!Stuff && isImplicitlyConvertible!(ElementType!Stuff, T) && !is(Stuff == T[])) { insertBack(stuff); } /** Comparison for equality. */ bool opEquals(const Array rhs) const { return opEquals(rhs); } /// ditto bool opEquals(ref const Array rhs) const { if (empty) return rhs.empty; if (rhs.empty) return false; return _data._payload == rhs._data._payload; } /** Defines the container's primary range, which is a random-access range. */ static struct Range { private Array _outer; private size_t _a, _b; private this(ref Array data, size_t a, size_t b) { _outer = data; _a = a; _b = b; } @property Range save() { return this; } @property bool empty() @safe pure nothrow const { return _a >= _b; } @property size_t length() @safe pure nothrow const { return _b - _a; } alias opDollar = length; @property ref T front() { version (assert) if (empty) throw new RangeError(); return _outer[_a]; } @property ref T back() { version (assert) if (empty) throw new RangeError(); return _outer[_b - 1]; } void popFront() @safe pure nothrow { version (assert) if (empty) throw new RangeError(); ++_a; } void popBack() @safe pure nothrow { version (assert) if (empty) throw new RangeError(); --_b; } T moveFront() { version (assert) if (empty || _a >= _outer.length) throw new RangeError(); return move(_outer._data._payload[_a]); } T moveBack() { version (assert) if (empty || _b > _outer.length) throw new RangeError(); return move(_outer._data._payload[_b - 1]); } T moveAt(size_t i) { version (assert) if (_a + i >= _b || _a + i >= _outer.length) throw new RangeError(); return move(_outer._data._payload[_a + i]); } ref T opIndex(size_t i) { version (assert) if (_a + i >= _b) throw new RangeError(); return _outer[_a + i]; } typeof(this) opSlice() { return typeof(this)(_outer, _a, _b); } typeof(this) opSlice(size_t i, size_t j) { version (assert) if (i > j || _a + j > _b) throw new RangeError(); return typeof(this)(_outer, _a + i, _a + j); } void opSliceAssign(T value) { version (assert) if (_b > _outer.length) throw new RangeError(); _outer[_a .. _b] = value; } void opSliceAssign(T value, size_t i, size_t j) { version (assert) if (_a + j > _b) throw new RangeError(); _outer[_a + i .. _a + j] = value; } void opSliceUnary(string op)() if(op == "++" || op == "--") { version (assert) if (_b > _outer.length) throw new RangeError(); mixin(op~"_outer[_a .. _b];"); } void opSliceUnary(string op)(size_t i, size_t j) if(op == "++" || op == "--") { version (assert) if (_a + j > _b) throw new RangeError(); mixin(op~"_outer[_a + i .. _a + j];"); } void opSliceOpAssign(string op)(T value) { version (assert) if (_b > _outer.length) throw new RangeError(); mixin("_outer[_a .. _b] "~op~"= value;"); } void opSliceOpAssign(string op)(T value, size_t i, size_t j) { version (assert) if (_a + j > _b) throw new RangeError(); mixin("_outer[_a + i .. _a + j] "~op~"= value;"); } } /** Duplicates the container. The elements themselves are not transitively duplicated. Complexity: $(BIGOH n). */ @property Array dup() { if (!_data.refCountedStore.isInitialized) return this; return Array(_data._payload); } /** Property returning $(D true) if and only if the container has no elements. Complexity: $(BIGOH 1) */ @property bool empty() const { return !_data.refCountedStore.isInitialized || _data._payload.empty; } /** Returns the number of elements in the container. Complexity: $(BIGOH 1). */ @property size_t length() const { return _data.refCountedStore.isInitialized ? _data._payload.length : 0; } /// ditto size_t opDollar() const { return length; } /** Returns the maximum number of elements the container can store without (a) allocating memory, (b) invalidating iterators upon insertion. Complexity: $(BIGOH 1) */ @property size_t capacity() { return _data.refCountedStore.isInitialized ? _data._capacity : 0; } /** Ensures sufficient capacity to accommodate $(D e) elements. Postcondition: $(D capacity >= e) Complexity: $(BIGOH 1) */ void reserve(size_t elements) { if (!_data.refCountedStore.isInitialized) { if (!elements) return; immutable sz = elements * T.sizeof; auto p = enforce(malloc(sz)); static if (hasIndirections!T) { GC.addRange(p, sz); } _data = Data(cast(T[]) p[0 .. 0]); _data._capacity = elements; } else { _data.reserve(elements); } } /** Returns a range that iterates over elements of the container, in forward order. Complexity: $(BIGOH 1) */ Range opSlice() { return Range(this, 0, length); } /** Returns a range that iterates over elements of the container from index $(D a) up to (excluding) index $(D b). Precondition: $(D a <= b && b <= length) Complexity: $(BIGOH 1) */ Range opSlice(size_t i, size_t j) { version (assert) if (i > j || j > length) throw new RangeError(); return Range(this, i, j); } /** Forward to $(D opSlice().front) and $(D opSlice().back), respectively. Precondition: $(D !empty) Complexity: $(BIGOH 1) */ @property ref T front() { version (assert) if (!_data.refCountedStore.isInitialized) throw new RangeError(); return _data._payload[0]; } /// ditto @property ref T back() { version (assert) if (!_data.refCountedStore.isInitialized) throw new RangeError(); return _data._payload[$ - 1]; } /** Indexing operators yield or modify the value at a specified index. Precondition: $(D i < length) Complexity: $(BIGOH 1) */ ref T opIndex(size_t i) { version (assert) if (!_data.refCountedStore.isInitialized) throw new RangeError(); return _data._payload[i]; } /** Slicing operations execute an operation on an entire slice. Precondition: $(D i < j && j < length) Complexity: $(BIGOH slice.length) */ void opSliceAssign(T value) { if (!_data.refCountedStore.isInitialized) return; _data._payload[] = value; } /// ditto void opSliceAssign(T value, size_t i, size_t j) { auto slice = _data.refCountedStore.isInitialized ? _data._payload : T[].init; slice[i .. j] = value; } /// ditto void opSliceUnary(string op)() if(op == "++" || op == "--") { if(!_data.refCountedStore.isInitialized) return; mixin(op~"_data._payload[];"); } /// ditto void opSliceUnary(string op)(size_t i, size_t j) if(op == "++" || op == "--") { auto slice = _data.refCountedStore.isInitialized ? _data._payload : T[].init; mixin(op~"slice[i .. j];"); } /// ditto void opSliceOpAssign(string op)(T value) { if(!_data.refCountedStore.isInitialized) return; mixin("_data._payload[] "~op~"= value;"); } /// ditto void opSliceOpAssign(string op)(T value, size_t i, size_t j) { auto slice = _data.refCountedStore.isInitialized ? _data._payload : T[].init; mixin("slice[i .. j] "~op~"= value;"); } /** Returns a new container that's the concatenation of $(D this) and its argument. $(D opBinaryRight) is only defined if $(D Stuff) does not define $(D opBinary). Complexity: $(BIGOH n + m), where m is the number of elements in $(D stuff) */ Array opBinary(string op, Stuff)(Stuff stuff) if (op == "~") { // TODO: optimize Array result; // @@@BUG@@ result ~= this[] doesn't work auto r = this[]; result ~= r; assert(result.length == length); result ~= stuff[]; return result; } /** Forwards to $(D insertBack(stuff)). */ void opOpAssign(string op, Stuff)(Stuff stuff) if (op == "~") { static if (is(typeof(stuff[]))) { insertBack(stuff[]); } else { insertBack(stuff); } } /** Removes all contents from the container. The container decides how $(D capacity) is affected. Postcondition: $(D empty) Complexity: $(BIGOH n) */ void clear() { _data = Data.init; } /** Sets the number of elements in the container to $(D newSize). If $(D newSize) is greater than $(D length), the added elements are added to unspecified positions in the container and initialized with $(D T.init). Complexity: $(BIGOH abs(n - newLength)) Postcondition: $(D length == newLength) */ @property void length(size_t newLength) { _data.refCountedStore.ensureInitialized(); _data.length = newLength; } /** Picks one value in an unspecified position in the container, removes it from the container, and returns it. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Precondition: $(D !empty) Returns: The element removed. Complexity: $(BIGOH log(n)). */ T removeAny() { auto result = back; removeBack(); return result; } /// ditto alias stableRemoveAny = removeAny; /** Inserts $(D value) to the front or back of the container. $(D stuff) can be a value convertible to $(D T) or a range of objects convertible to $(D T). The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: The number of elements inserted Complexity: $(BIGOH m * log(n)), where $(D m) is the number of elements in $(D stuff) */ size_t insertBack(Stuff)(Stuff stuff) if (isImplicitlyConvertible!(Stuff, T) || isInputRange!Stuff && isImplicitlyConvertible!(ElementType!Stuff, T)) { _data.refCountedStore.ensureInitialized(); return _data.insertBack(stuff); } /// ditto alias insert = insertBack; /** Removes the value at the back of the container. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Precondition: $(D !empty) Complexity: $(BIGOH log(n)). */ void removeBack() { enforce(!empty); static if (hasElaborateDestructor!T) .destroy(_data._payload[$ - 1]); _data._payload = _data._payload[0 .. $ - 1]; } /// ditto alias stableRemoveBack = removeBack; /** Removes $(D howMany) values at the front or back of the container. Unlike the unparameterized versions above, these functions do not throw if they could not remove $(D howMany) elements. Instead, if $(D howMany > n), all elements are removed. The returned value is the effective number of elements removed. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: The number of elements removed Complexity: $(BIGOH howMany). */ size_t removeBack(size_t howMany) { if (howMany > length) howMany = length; static if (hasElaborateDestructor!T) foreach (ref e; _data._payload[$ - howMany .. $]) .destroy(e); _data._payload = _data._payload[0 .. $ - howMany]; return howMany; } /// ditto alias stableRemoveBack = removeBack; /** Inserts $(D stuff) before, after, or instead range $(D r), which must be a valid range previously extracted from this container. $(D stuff) can be a value convertible to $(D T) or a range of objects convertible to $(D T). The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: The number of values inserted. Complexity: $(BIGOH n + m), where $(D m) is the length of $(D stuff) */ size_t insertBefore(Stuff)(Range r, Stuff stuff) if (isImplicitlyConvertible!(Stuff, T)) { import std.conv : emplace; enforce(r._outer._data is _data && r._a <= length); reserve(length + 1); assert(_data.refCountedStore.isInitialized); // Move elements over by one slot memmove(_data._payload.ptr + r._a + 1, _data._payload.ptr + r._a, T.sizeof * (length - r._a)); emplace(_data._payload.ptr + r._a, stuff); _data._payload = _data._payload.ptr[0 .. _data._payload.length + 1]; return 1; } /// ditto size_t insertBefore(Stuff)(Range r, Stuff stuff) if (isInputRange!Stuff && isImplicitlyConvertible!(ElementType!Stuff, T)) { import std.conv : emplace; enforce(r._outer._data is _data && r._a <= length); static if (isForwardRange!Stuff) { // Can find the length in advance auto extra = walkLength(stuff); if (!extra) return 0; reserve(length + extra); assert(_data.refCountedStore.isInitialized); // Move elements over by extra slots memmove(_data._payload.ptr + r._a + extra, _data._payload.ptr + r._a, T.sizeof * (length - r._a)); foreach (p; _data._payload.ptr + r._a .. _data._payload.ptr + r._a + extra) { emplace(p, stuff.front); stuff.popFront(); } _data._payload = _data._payload.ptr[0 .. _data._payload.length + extra]; return extra; } else { import std.algorithm : bringToFront; enforce(_data); immutable offset = r._a; enforce(offset <= length); auto result = insertBack(stuff); bringToFront(this[offset .. length - result], this[length - result .. length]); return result; } } /// ditto size_t insertAfter(Stuff)(Range r, Stuff stuff) { import std.algorithm : bringToFront; enforce(r._outer._data is _data); // TODO: optimize immutable offset = r._b; enforce(offset <= length); auto result = insertBack(stuff); bringToFront(this[offset .. length - result], this[length - result .. length]); return result; } /// ditto size_t replace(Stuff)(Range r, Stuff stuff) if (isInputRange!Stuff && isImplicitlyConvertible!(ElementType!Stuff, T)) { enforce(r._outer._data is _data); size_t result; for (; !stuff.empty; stuff.popFront()) { if (r.empty) { // insert the rest return result + insertBefore(r, stuff); } r.front = stuff.front; r.popFront(); ++result; } // Remove remaining stuff in r linearRemove(r); return result; } /// ditto size_t replace(Stuff)(Range r, Stuff stuff) if (isImplicitlyConvertible!(Stuff, T)) { enforce(r._outer._data is _data); if (r.empty) { insertBefore(r, stuff); } else { r.front = stuff; r.popFront(); linearRemove(r); } return 1; } /** Removes all elements belonging to $(D r), which must be a range obtained originally from this container. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: A range spanning the remaining elements in the container that initially were right after $(D r). Complexity: $(BIGOH n - m), where $(D m) is the number of elements in $(D r) */ Range linearRemove(Range r) { enforce(r._outer._data is _data); enforce(_data.refCountedStore.isInitialized); enforce(r._a <= r._b && r._b <= length); immutable offset1 = r._a; immutable offset2 = r._b; immutable tailLength = length - offset2; // Use copy here, not a[] = b[] because the ranges may overlap copy(this[offset2 .. length], this[offset1 .. offset1 + tailLength]); length = offset1 + tailLength; return this[length - tailLength .. length]; } } unittest { Array!int a; assert(a.empty); } unittest { Array!int a = Array!int(1, 2, 3); //a._data._refCountedDebug = true; auto b = a.dup; assert(b == Array!int(1, 2, 3)); b.front = 42; assert(b == Array!int(42, 2, 3)); assert(a == Array!int(1, 2, 3)); } unittest { auto a = Array!int(1, 2, 3); assert(a.length == 3); } unittest { // REG https://issues.dlang.org/show_bug.cgi?id=13621 import std.container : Array, BinaryHeap; alias Heap = BinaryHeap!(Array!int); } unittest { Array!int a; a.reserve(1000); assert(a.length == 0); assert(a.empty); assert(a.capacity >= 1000); auto p = a._data._payload.ptr; foreach (i; 0 .. 1000) { a.insertBack(i); } assert(p == a._data._payload.ptr); } unittest { auto a = Array!int(1, 2, 3); a[1] *= 42; assert(a[1] == 84); } unittest { auto a = Array!int(1, 2, 3); auto b = Array!int(11, 12, 13); auto c = a ~ b; //foreach (e; c) writeln(e); assert(c == Array!int(1, 2, 3, 11, 12, 13)); //assert(a ~ b[] == Array!int(1, 2, 3, 11, 12, 13)); } unittest { auto a = Array!int(1, 2, 3); auto b = Array!int(11, 12, 13); a ~= b; assert(a == Array!int(1, 2, 3, 11, 12, 13)); } unittest { auto a = Array!int(1, 2, 3, 4); assert(a.removeAny() == 4); assert(a == Array!int(1, 2, 3)); } unittest { auto a = Array!int(1, 2, 3, 4, 5); auto r = a[2 .. a.length]; assert(a.insertBefore(r, 42) == 1); assert(a == Array!int(1, 2, 42, 3, 4, 5)); r = a[2 .. 2]; assert(a.insertBefore(r, [8, 9]) == 2); assert(a == Array!int(1, 2, 8, 9, 42, 3, 4, 5)); } unittest { auto a = Array!int(0, 1, 2, 3, 4, 5, 6, 7, 8); a.linearRemove(a[4 .. 6]); assert(a == Array!int(0, 1, 2, 3, 6, 7, 8)); } // Give the Range object some testing. unittest { import std.algorithm : equal; import std.range : retro; auto a = Array!int(0, 1, 2, 3, 4, 5, 6)[]; auto b = Array!int(6, 5, 4, 3, 2, 1, 0)[]; alias A = typeof(a); static assert(isRandomAccessRange!A); static assert(hasSlicing!A); static assert(hasAssignableElements!A); static assert(hasMobileElements!A); assert(equal(retro(b), a)); assert(a.length == 7); assert(equal(a[1..4], [1, 2, 3])); } // Test issue 5920 unittest { struct structBug5920 { int order; uint* pDestructionMask; ~this() { if (pDestructionMask) *pDestructionMask += 1 << order; } } alias S = structBug5920; uint dMask; auto arr = Array!S(cast(S[])[]); foreach (i; 0..8) arr.insertBack(S(i, &dMask)); // don't check dMask now as S may be copied multiple times (it's ok?) { assert(arr.length == 8); dMask = 0; arr.length = 6; assert(arr.length == 6); // make sure shrinking calls the d'tor assert(dMask == 0b1100_0000); arr.removeBack(); assert(arr.length == 5); // make sure removeBack() calls the d'tor assert(dMask == 0b1110_0000); arr.removeBack(3); assert(arr.length == 2); // ditto assert(dMask == 0b1111_1100); arr.clear(); assert(arr.length == 0); // make sure clear() calls the d'tor assert(dMask == 0b1111_1111); } assert(dMask == 0b1111_1111); // make sure the d'tor is called once only. } // Test issue 5792 (mainly just to check if this piece of code is compilable) unittest { auto a = Array!(int[])([[1,2],[3,4]]); a.reserve(4); assert(a.capacity >= 4); assert(a.length == 2); assert(a[0] == [1,2]); assert(a[1] == [3,4]); a.reserve(16); assert(a.capacity >= 16); assert(a.length == 2); assert(a[0] == [1,2]); assert(a[1] == [3,4]); } // test replace!Stuff with range Stuff unittest { import std.algorithm : equal; auto a = Array!int([1, 42, 5]); a.replace(a[1 .. 2], [2, 3, 4]); assert(equal(a[], [1, 2, 3, 4, 5])); } // test insertBefore and replace with empty Arrays unittest { import std.algorithm : equal; auto a = Array!int(); a.insertBefore(a[], 1); assert(equal(a[], [1])); } unittest { import std.algorithm : equal; auto a = Array!int(); a.insertBefore(a[], [1, 2]); assert(equal(a[], [1, 2])); } unittest { import std.algorithm : equal; auto a = Array!int(); a.replace(a[], [1, 2]); assert(equal(a[], [1, 2])); } unittest { import std.algorithm : equal; auto a = Array!int(); a.replace(a[], 1); assert(equal(a[], [1])); } // make sure that Array instances refuse ranges that don't belong to them unittest { import std.exception; Array!int a = [1, 2, 3]; auto r = a.dup[]; assertThrown(a.insertBefore(r, 42)); assertThrown(a.insertBefore(r, [42])); assertThrown(a.insertAfter(r, 42)); assertThrown(a.replace(r, 42)); assertThrown(a.replace(r, [42])); assertThrown(a.linearRemove(r)); } unittest { auto a = Array!int([1, 1]); a[1] = 0; //Check Array.opIndexAssign assert(a[1] == 0); a[1] += 1; //Check Array.opIndexOpAssign assert(a[1] == 1); //Check Array.opIndexUnary ++a[0]; //a[0]++ //op++ doesn't return, so this shouldn't work, even with 5044 fixed assert(a[0] == 2); assert(+a[0] == +2); assert(-a[0] == -2); assert(~a[0] == ~2); auto r = a[]; r[1] = 0; //Check Array.Range.opIndexAssign assert(r[1] == 0); r[1] += 1; //Check Array.Range.opIndexOpAssign assert(r[1] == 1); //Check Array.Range.opIndexUnary ++r[0]; //r[0]++ //op++ doesn't return, so this shouldn't work, even with 5044 fixed assert(r[0] == 3); assert(+r[0] == +3); assert(-r[0] == -3); assert(~r[0] == ~3); } unittest { import std.algorithm : equal; //Test "array-wide" operations auto a = Array!int([0, 1, 2]); //Array a[] += 5; assert(a[].equal([5, 6, 7])); ++a[]; assert(a[].equal([6, 7, 8])); a[1 .. 3] *= 5; assert(a[].equal([6, 35, 40])); a[0 .. 2] = 0; assert(a[].equal([0, 0, 40])); //Test empty array auto a2 = Array!int.init; ++a2[]; ++a2[0 .. 0]; a2[] = 0; a2[0 .. 0] = 0; a2[] += 0; a2[0 .. 0] += 0; //Test "range-wide" operations auto r = Array!int([0, 1, 2])[]; //Array.Range r[] += 5; assert(r.equal([5, 6, 7])); ++r[]; assert(r.equal([6, 7, 8])); r[1 .. 3] *= 5; assert(r.equal([6, 35, 40])); r[0 .. 2] = 0; assert(r.equal([0, 0, 40])); //Test empty Range auto r2 = Array!int.init[]; ++r2[]; ++r2[0 .. 0]; r2[] = 0; r2[0 .. 0] = 0; r2[] += 0; r2[0 .. 0] += 0; } // Test issue 11194 unittest { static struct S { int i = 1337; void* p; this(this) { assert(i == 1337); } ~this() { assert(i == 1337); } } Array!S arr; S s; arr ~= s; arr ~= s; } unittest //11459 { static struct S { bool b; alias b this; } alias A = Array!S; alias B = Array!(shared bool); } unittest //11884 { import std.algorithm : filter; auto a = Array!int([1, 2, 2].filter!"true"()); } unittest //8282 { auto arr = new Array!int; } unittest //6998 { static int i = 0; class C { int dummy = 1; this(){++i;} ~this(){--i;} } assert(i == 0); auto c = new C(); assert(i == 1); //scope { auto arr = Array!C(c); assert(i == 1); } //Array should not have destroyed the class instance assert(i == 1); //Just to make sure the GC doesn't collect before the above test. assert(c.dummy ==1); } unittest //6998-2 { static class C {int i;} auto c = new C; c.i = 42; Array!C a; a ~= c; a.clear; assert(c.i == 42); //fails } //////////////////////////////////////////////////////////////////////////////// // Array!bool //////////////////////////////////////////////////////////////////////////////// /** _Array specialized for $(D bool). Packs together values efficiently by allocating one bit per element. */ struct Array(T) if (is(Unqual!T == bool)) { import std.exception : enforce; import std.typecons : RefCounted, RefCountedAutoInitialize; static immutable uint bitsPerWord = size_t.sizeof * 8; private static struct Data { Array!size_t.Payload _backend; size_t _length; } private RefCounted!(Data, RefCountedAutoInitialize.no) _store; private @property ref size_t[] data() { assert(_store.refCountedStore.isInitialized); return _store._backend._payload; } /** Defines the container's primary range. */ struct Range { private Array _outer; private size_t _a, _b; /// Range primitives @property Range save() { version (bug4437) { return this; } else { auto copy = this; return copy; } } /// Ditto @property bool empty() { return _a >= _b || _outer.length < _b; } /// Ditto @property T front() { enforce(!empty); return _outer[_a]; } /// Ditto @property void front(bool value) { enforce(!empty); _outer[_a] = value; } /// Ditto T moveFront() { enforce(!empty); return _outer.moveAt(_a); } /// Ditto void popFront() { enforce(!empty); ++_a; } /// Ditto @property T back() { enforce(!empty); return _outer[_b - 1]; } /// Ditto @property void back(bool value) { enforce(!empty); _outer[_b - 1] = value; } /// Ditto T moveBack() { enforce(!empty); return _outer.moveAt(_b - 1); } /// Ditto void popBack() { enforce(!empty); --_b; } /// Ditto T opIndex(size_t i) { return _outer[_a + i]; } /// Ditto void opIndexAssign(T value, size_t i) { _outer[_a + i] = value; } /// Ditto T moveAt(size_t i) { return _outer.moveAt(_a + i); } /// Ditto @property size_t length() const { assert(_a <= _b); return _b - _a; } alias opDollar = length; /// ditto Range opSlice(size_t low, size_t high) { assert(_a <= low && low <= high && high <= _b); return Range(_outer, _a + low, _a + high); } } /** Property returning $(D true) if and only if the container has no elements. Complexity: $(BIGOH 1) */ @property bool empty() { return !length; } unittest { Array!bool a; //a._store._refCountedDebug = true; assert(a.empty); a.insertBack(false); assert(!a.empty); } /** Returns a duplicate of the container. The elements themselves are not transitively duplicated. Complexity: $(BIGOH n). */ @property Array dup() { Array result; result.insertBack(this[]); return result; } unittest { Array!bool a; assert(a.empty); auto b = a.dup; assert(b.empty); a.insertBack(true); assert(b.empty); } /** Returns the number of elements in the container. Complexity: $(BIGOH log(n)). */ @property size_t length() const { return _store.refCountedStore.isInitialized ? _store._length : 0; } size_t opDollar() const { return length; } unittest { import std.conv : to; Array!bool a; assert(a.length == 0); a.insert(true); assert(a.length == 1, to!string(a.length)); } /** Returns the maximum number of elements the container can store without (a) allocating memory, (b) invalidating iterators upon insertion. Complexity: $(BIGOH log(n)). */ @property size_t capacity() { return _store.refCountedStore.isInitialized ? cast(size_t) bitsPerWord * _store._backend.capacity : 0; } unittest { import std.conv : to; Array!bool a; assert(a.capacity == 0); foreach (i; 0 .. 100) { a.insert(true); assert(a.capacity >= a.length, to!string(a.capacity)); } } /** Ensures sufficient capacity to accommodate $(D n) elements. Postcondition: $(D capacity >= n) Complexity: $(BIGOH log(e - capacity)) if $(D e > capacity), otherwise $(BIGOH 1). */ void reserve(size_t e) { import std.conv : to; _store.refCountedStore.ensureInitialized(); _store._backend.reserve(to!size_t((e + bitsPerWord - 1) / bitsPerWord)); } unittest { Array!bool a; assert(a.capacity == 0); a.reserve(15657); assert(a.capacity >= 15657); } /** Returns a range that iterates over all elements of the container, in a container-defined order. The container should choose the most convenient and fast method of iteration for $(D opSlice()). Complexity: $(BIGOH log(n)) */ Range opSlice() { return Range(this, 0, length); } unittest { Array!bool a; a.insertBack([true, false, true, true]); assert(a[].length == 4); } /** Returns a range that iterates the container between two specified positions. Complexity: $(BIGOH log(n)) */ Range opSlice(size_t a, size_t b) { enforce(a <= b && b <= length); return Range(this, a, b); } unittest { Array!bool a; a.insertBack([true, false, true, true]); assert(a[0 .. 2].length == 2); } /** Equivalent to $(D opSlice().front) and $(D opSlice().back), respectively. Complexity: $(BIGOH log(n)) */ @property bool front() { enforce(!empty); return data.ptr[0] & 1; } /// Ditto @property void front(bool value) { enforce(!empty); if (value) data.ptr[0] |= 1; else data.ptr[0] &= ~cast(size_t) 1; } unittest { Array!bool a; a.insertBack([true, false, true, true]); assert(a.front); a.front = false; assert(!a.front); } /// Ditto @property bool back() { enforce(!empty); return cast(bool)(data.back & (cast(size_t)1 << ((_store._length - 1) % bitsPerWord))); } /// Ditto @property void back(bool value) { enforce(!empty); if (value) { data.back |= (cast(size_t)1 << ((_store._length - 1) % bitsPerWord)); } else { data.back &= ~(cast(size_t)1 << ((_store._length - 1) % bitsPerWord)); } } unittest { Array!bool a; a.insertBack([true, false, true, true]); assert(a.back); a.back = false; assert(!a.back); } /** Indexing operators yield or modify the value at a specified index. */ bool opIndex(size_t i) { auto div = cast(size_t) (i / bitsPerWord); auto rem = i % bitsPerWord; enforce(div < data.length); return cast(bool)(data.ptr[div] & (cast(size_t)1 << rem)); } /// ditto void opIndexAssign(bool value, size_t i) { auto div = cast(size_t) (i / bitsPerWord); auto rem = i % bitsPerWord; enforce(div < data.length); if (value) data.ptr[div] |= (cast(size_t)1 << rem); else data.ptr[div] &= ~(cast(size_t)1 << rem); } /// ditto void opIndexOpAssign(string op)(bool value, size_t i) { auto div = cast(size_t) (i / bitsPerWord); auto rem = i % bitsPerWord; enforce(div < data.length); auto oldValue = cast(bool) (data.ptr[div] & (cast(size_t)1 << rem)); // Do the deed auto newValue = mixin("oldValue "~op~" value"); // Write back the value if (newValue != oldValue) { if (newValue) data.ptr[div] |= (cast(size_t)1 << rem); else data.ptr[div] &= ~(cast(size_t)1 << rem); } } /// Ditto T moveAt(size_t i) { return this[i]; } unittest { Array!bool a; a.insertBack([true, false, true, true]); assert(a[0] && !a[1]); a[0] &= a[1]; assert(!a[0]); } /** Returns a new container that's the concatenation of $(D this) and its argument. Complexity: $(BIGOH n + m), where m is the number of elements in $(D stuff) */ Array!bool opBinary(string op, Stuff)(Stuff rhs) if (op == "~") { auto result = this; return result ~= rhs; } unittest { import std.algorithm : equal; Array!bool a; a.insertBack([true, false, true, true]); Array!bool b; b.insertBack([true, true, false, true]); assert(equal((a ~ b)[], [true, false, true, true, true, true, false, true])); } // /// ditto // TotalContainer opBinaryRight(Stuff, string op)(Stuff lhs) if (op == "~") // { // assert(0); // } /** Forwards to $(D insertAfter(this[], stuff)). */ // @@@BUG@@@ //ref Array!bool opOpAssign(string op, Stuff)(Stuff stuff) if (op == "~") Array!bool opOpAssign(string op, Stuff)(Stuff stuff) if (op == "~") { static if (is(typeof(stuff[]))) insertBack(stuff[]); else insertBack(stuff); return this; } unittest { import std.algorithm : equal; Array!bool a; a.insertBack([true, false, true, true]); Array!bool b; a.insertBack([false, true, false, true, true]); a ~= b; assert(equal( a[], [true, false, true, true, false, true, false, true, true])); } /** Removes all contents from the container. The container decides how $(D capacity) is affected. Postcondition: $(D empty) Complexity: $(BIGOH n) */ void clear() { this = Array(); } unittest { Array!bool a; a.insertBack([true, false, true, true]); a.clear(); assert(a.capacity == 0); } /** Sets the number of elements in the container to $(D newSize). If $(D newSize) is greater than $(D length), the added elements are added to the container and initialized with $(D ElementType.init). Complexity: $(BIGOH abs(n - newLength)) Postcondition: $(D _length == newLength) */ @property void length(size_t newLength) { import std.conv : to; _store.refCountedStore.ensureInitialized(); auto newDataLength = to!size_t((newLength + bitsPerWord - 1) / bitsPerWord); _store._backend.length = newDataLength; _store._length = newLength; } unittest { Array!bool a; a.length = 1057; assert(a.length == 1057); foreach (e; a) { assert(!e); } } /** Inserts $(D stuff) in the container. $(D stuff) can be a value convertible to $(D ElementType) or a range of objects convertible to $(D ElementType). The $(D stable) version guarantees that ranges iterating over the container are never invalidated. Client code that counts on non-invalidating insertion should use $(D stableInsert). Returns: The number of elements added. Complexity: $(BIGOH m * log(n)), where $(D m) is the number of elements in $(D stuff) */ alias insert = insertBack; ///ditto alias stableInsert = insertBack; /** Same as $(D insert(stuff)) and $(D stableInsert(stuff)) respectively, but relax the complexity constraint to linear. */ alias linearInsert = insertBack; ///ditto alias stableLinearInsert = insertBack; /** Picks one value in the container, removes it from the container, and returns it. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Precondition: $(D !empty) Returns: The element removed. Complexity: $(BIGOH log(n)) */ T removeAny() { auto result = back; removeBack(); return result; } /// ditto alias stableRemoveAny = removeAny; unittest { Array!bool a; a.length = 1057; assert(!a.removeAny()); assert(a.length == 1056); foreach (e; a) { assert(!e); } } /** Inserts $(D value) to the back of the container. $(D stuff) can be a value convertible to $(D ElementType) or a range of objects convertible to $(D ElementType). The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: The number of elements inserted Complexity: $(BIGOH log(n)) */ size_t insertBack(Stuff)(Stuff stuff) if (is(Stuff : bool)) { _store.refCountedStore.ensureInitialized(); auto rem = _store._length % bitsPerWord; if (rem) { // Fits within the current array if (stuff) { data[$ - 1] |= (1u << rem); } else { data[$ - 1] &= ~(1u << rem); } } else { // Need to add more data _store._backend.insertBack(stuff); } ++_store._length; return 1; } /// Ditto size_t insertBack(Stuff)(Stuff stuff) if (isInputRange!Stuff && is(ElementType!Stuff : bool)) { static if (!hasLength!Stuff) size_t result; for (; !stuff.empty; stuff.popFront()) { insertBack(stuff.front); static if (!hasLength!Stuff) ++result; } static if (!hasLength!Stuff) return result; else return stuff.length; } /// ditto alias stableInsertBack = insertBack; /** Removes the value at the front or back of the container. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. The optional parameter $(D howMany) instructs removal of that many elements. If $(D howMany > n), all elements are removed and no exception is thrown. Precondition: $(D !empty) Complexity: $(BIGOH log(n)). */ void removeBack() { enforce(_store._length); if (_store._length % bitsPerWord) { // Cool, just decrease the length --_store._length; } else { // Reduce the allocated space --_store._length; _store._backend.length = _store._backend.length - 1; } } /// ditto alias stableRemoveBack = removeBack; /** Removes $(D howMany) values at the front or back of the container. Unlike the unparameterized versions above, these functions do not throw if they could not remove $(D howMany) elements. Instead, if $(D howMany > n), all elements are removed. The returned value is the effective number of elements removed. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: The number of elements removed Complexity: $(BIGOH howMany * log(n)). */ /// ditto size_t removeBack(size_t howMany) { if (howMany >= length) { howMany = length; clear(); } else { length = length - howMany; } return howMany; } unittest { Array!bool a; a.length = 1057; assert(a.removeBack(1000) == 1000); assert(a.length == 57); foreach (e; a) { assert(!e); } } /** Inserts $(D stuff) before, after, or instead range $(D r), which must be a valid range previously extracted from this container. $(D stuff) can be a value convertible to $(D ElementType) or a range of objects convertible to $(D ElementType). The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: The number of values inserted. Complexity: $(BIGOH n + m), where $(D m) is the length of $(D stuff) */ size_t insertBefore(Stuff)(Range r, Stuff stuff) { import std.algorithm : bringToFront; // TODO: make this faster, it moves one bit at a time immutable inserted = stableInsertBack(stuff); immutable tailLength = length - inserted; bringToFront( this[r._a .. tailLength], this[tailLength .. length]); return inserted; } /// ditto alias stableInsertBefore = insertBefore; unittest { import std.conv : to; Array!bool a; version (bugxxxx) { a._store.refCountedDebug = true; } a.insertBefore(a[], true); assert(a.length == 1, to!string(a.length)); a.insertBefore(a[], false); assert(a.length == 2, to!string(a.length)); } /// ditto size_t insertAfter(Stuff)(Range r, Stuff stuff) { import std.algorithm : bringToFront; // TODO: make this faster, it moves one bit at a time immutable inserted = stableInsertBack(stuff); immutable tailLength = length - inserted; bringToFront( this[r._b .. tailLength], this[tailLength .. length]); return inserted; } /// ditto alias stableInsertAfter = insertAfter; unittest { import std.conv : to; Array!bool a; a.length = 10; a.insertAfter(a[0 .. 5], true); assert(a.length == 11, to!string(a.length)); assert(a[5]); } /// ditto size_t replace(Stuff)(Range r, Stuff stuff) if (is(Stuff : bool)) { if (!r.empty) { // There is room r.front = stuff; r.popFront(); linearRemove(r); } else { // No room, must insert insertBefore(r, stuff); } return 1; } /// ditto alias stableReplace = replace; unittest { import std.conv : to; Array!bool a; a.length = 10; a.replace(a[3 .. 5], true); assert(a.length == 9, to!string(a.length)); assert(a[3]); } /** Removes all elements belonging to $(D r), which must be a range obtained originally from this container. The stable version behaves the same, but guarantees that ranges iterating over the container are never invalidated. Returns: A range spanning the remaining elements in the container that initially were right after $(D r). Complexity: $(BIGOH n) */ Range linearRemove(Range r) { import std.algorithm : copy; copy(this[r._b .. length], this[r._a .. length]); length = length - r.length; return this[r._a .. length]; } } unittest { Array!bool a; assert(a.empty); } unittest { Array!bool arr; arr.insert([false, false, false, false]); assert(arr.front == false); assert(arr.back == false); assert(arr[1] == false); auto slice = arr[]; slice = arr[0 .. $]; slice = slice[1 .. $]; slice.front = true; slice.back = true; slice[1] = true; assert(slice.front == true); assert(slice.back == true); assert(slice[1] == true); assert(slice.moveFront == true); assert(slice.moveBack == true); assert(slice.moveAt(1) == true); }
D
/* Copyright (c) 2019-2023 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * Copyright: Timur Gafarov 2019-2023. * License: $(LINK2 boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Timur Gafarov */ module dlib.concurrency.threadpool; import std.functional; import dlib.core.memory; import dlib.core.mutex; import dlib.concurrency.workerthread; import dlib.concurrency.taskqueue; /** * An object that manages worker threads and runs tasks on them */ class ThreadPool { protected: uint maxThreads; WorkerThread[] workerThreads; TaskQueue taskQueue; bool running = true; Mutex mutex; public: /// Constructor this(uint maxThreads) { this.maxThreads = maxThreads; workerThreads = New!(WorkerThread[])(maxThreads); taskQueue = New!TaskQueue(); mutex.init(); foreach(i, ref t; workerThreads) { t = New!WorkerThread(i, this); t.start(); } } ~this() { mutex.lock(); running = false; mutex.unlock(); foreach(i, ref t; workerThreads) { t.join(); Delete(t); } Delete(taskQueue); Delete(workerThreads); mutex.destroy(); } /// Create a task from delegate Task submit(void delegate() taskDele) { Task task = Task(TaskState.Valid, taskDele); if (!taskQueue.enqueue(task)) { task.run(); } return task; } /// Create a task from function pointer Task submit(void function() taskFunc) { return submit(toDelegate(taskFunc)); } Task request() { return taskQueue.dequeue(); } bool isRunning() { return running; } /// Returns true if all tasks are finished bool tasksDone() { if (taskQueue.count == 0) { foreach(i, t; workerThreads) { if (t.busy) return false; } return true; } else return false; } } /// unittest { import std.stdio; int x = 0; int y = 0; void task1() { while(x < 100) x += 1; } void task2() { while(y < 100) y += 1; } ThreadPool threadPool = New!ThreadPool(2); threadPool.submit(&task1); threadPool.submit(&task2); while(!threadPool.tasksDone) {} if (x != 100) writeln(x); if (y != 100) writeln(y); assert(x == 100); assert(y == 100); Delete(threadPool); }
D
module conc.pooledexecutor; import conc.threadfactoryuser; import conc.executor; import conc.channel; import conc.waitnotify; private import conc.synchronouschannel; const цел ДЕФ_МАКС_РАЗМ_ПУЛА = цел.max; const цел ДЕФ_МИН_РАЗМ_ПУЛА = 1; const дол ДЕФ_ВРЕМЯ_АКТИВНОСТИ = 60000; class КатушечныйИсполнитель : ПользовательФабрикиНитей , Исполнитель { protected цел maximumPoolSize_ = ДЕФ_МАКС_РАЗМ_ПУЛА; protected цел minimumPoolSize_ = ДЕФ_МИН_РАЗМ_ПУЛА; protected цел poolSize_ = 0; protected дол keepAliveTime_ = ДЕФ_ВРЕМЯ_АКТИВНОСТИ; protected бул прерывание_ = нет; alias цел delegate() Пускаемый; alias СинхронныйКанал!(Пускаемый) СК; Канал!(Пускаемый) handOff_; protected Нить[Работяга] threads_; protected ОбработчикБлокированногоВыполнения blockedExecutionHandler_; mixin ЖдиУведомиВсех; this() ; this(цел максРазмПула) ; this(Канал!(Пускаемый) канал) ; this(Канал!(Пускаемый) канал, цел максРазмПула); ~this(); synchronized цел дайМаксРазмПула(); synchronized проц установиМаксРазмПула(цел новМаксимум); synchronized цел дайМинРазмПула(); synchronized проц установиМинРазмПула(цел новМинимум) ; synchronized цел дайРазмПула() ; synchronized дол дайВремяАктивности() ; synchronized проц установиВремяАктивности(дол мсек) ; synchronized ОбработчикБлокированногоВыполнения дайОбрБлокВып(); synchronized проц установиОбрБлокВып(ОбработчикБлокированногоВыполнения h) ; protected проц добавьНить(Пускаемый команда); цел создайНити(цел члоНитей) ; synchronized проц прервиВсе() ; проц выполниШатдаун() ; synchronized проц выполниШатдаун(ОбработчикБлокированногоВыполнения обработчик); проц прерываниеПослеОбработкиТекущихЗадачВОчереди() ; synchronized проц прерываниеПослеОбработкиТекущихЗадачВОчереди(ОбработчикБлокированногоВыполнения обработчик); synchronized бул терминированоПослеШатдауна() ; synchronized бул ждиТерминированиеПослеШатдауна(дол максВремОжидан); synchronized проц ждиТерминированиеПослеШатдауна(); Пускаемый[] дренируй() ; protected synchronized проц работягаВыполнен(Работяга w); protected Пускаемый дайЗадачу() ; class Работяга { protected Пускаемый firstTask_; protected КатушечныйИсполнитель объ; protected this(Пускаемый firstTask,КатушечныйИсполнитель объ) ; цел пуск(); } interface ОбработчикБлокированногоВыполнения { бул блокированноеДействие(Пускаемый команда); } class ПускПослеБлокировки : ОбработчикБлокированногоВыполнения { бул блокированноеДействие(Пускаемый команда); } проц пускПослеБлокировки(); class ЖдиПокаБлокировано : ОбработчикБлокированногоВыполнения { КатушечныйИсполнитель объ; this(КатушечныйИсполнитель объ) ; бул блокированноеДействие(Пускаемый команда); } проц ждиПокаБлокировано() ; class ВыместиКогдаБлокировано : ОбработчикБлокированногоВыполнения { бул блокированноеДействие(Пускаемый команда) ; } проц выместиКогдаБлокировано() ; class АбортКогдаБлокировано : ОбработчикБлокированногоВыполнения { бул блокированноеДействие(Пускаемый команда) ; } проц абортКогдаБлокировано() ; class ВыместиСтаршуюКогдаБлокировано : ОбработчикБлокированногоВыполнения { КатушечныйИсполнитель объ; this(КатушечныйИсполнитель объ) ; бул блокированноеДействие(Пускаемый команда); } проц выместиСтаршуюКогдаБлокировано(); проц выполни(Пускаемый команда); }
D
cause to ripen or develop fully grow ripe
D
/** * * THIS FILE IS AUTO-GENERATED BY ./parse_specs.d FOR MCU at90pwm3 WITH ARCHITECTURE avr4 * */ module avr.specs.specs_at90pwm3; enum __AVR_ARCH__ = 4; enum __AVR_ASM_ONLY__ = false; enum __AVR_ENHANCED__ = true; enum __AVR_HAVE_MUL__ = true; enum __AVR_HAVE_JMP_CALL__ = false; enum __AVR_MEGA__ = false; enum __AVR_HAVE_LPMX__ = true; enum __AVR_HAVE_MOVW__ = true; enum __AVR_HAVE_ELPM__ = false; enum __AVR_HAVE_ELPMX__ = false; enum __AVR_HAVE_EIJMP_EICALL_ = false; enum __AVR_2_BYTE_PC__ = true; enum __AVR_3_BYTE_PC__ = false; enum __AVR_XMEGA__ = false; enum __AVR_HAVE_RAMPX__ = false; enum __AVR_HAVE_RAMPY__ = false; enum __AVR_HAVE_RAMPZ__ = false; enum __AVR_HAVE_RAMPD__ = false; enum __AVR_TINY__ = false; enum __AVR_PM_BASE_ADDRESS__ = 0; enum __AVR_SFR_OFFSET__ = 32; enum __AVR_DEVICE_NAME__ = "at90pwm3";
D
/home/suru/Documents/awesome_wasm/target/rls/debug/build/num-iter-2ab19f25b72c3402/build_script_build-2ab19f25b72c3402: /home/suru/.cargo/registry/src/github.com-1ecc6299db9ec823/num-iter-0.1.42/build.rs /home/suru/Documents/awesome_wasm/target/rls/debug/build/num-iter-2ab19f25b72c3402/build_script_build-2ab19f25b72c3402.d: /home/suru/.cargo/registry/src/github.com-1ecc6299db9ec823/num-iter-0.1.42/build.rs /home/suru/.cargo/registry/src/github.com-1ecc6299db9ec823/num-iter-0.1.42/build.rs:
D
module godot.visibilitynotifier2d; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.object; import godot.classdb; import godot.node2d; @GodotBaseClass struct VisibilityNotifier2D { static immutable string _GODOT_internal_name = "VisibilityNotifier2D"; public: union { godot_object _godot_object; Node2D base; } alias base this; alias BaseClasses = AliasSeq!(typeof(base), typeof(base).BaseClasses); package(godot) void* opCast(T : void*)() const { return cast(void*)_godot_object.ptr; } godot_object opCast(T : godot_object)() const { return cast(godot_object)_godot_object; } bool opEquals(in VisibilityNotifier2D other) const { return _godot_object.ptr is other._godot_object.ptr; } VisibilityNotifier2D opAssign(T : typeof(null))(T n) { _godot_object.ptr = null; } bool opEquals(typeof(null) n) const { return _godot_object.ptr is null; } bool opCast(T : bool)() const { return _godot_object.ptr !is null; } inout(T) opCast(T)() inout if(isGodotBaseClass!T) { static assert(staticIndexOf!(VisibilityNotifier2D, T.BaseClasses) != -1, "Godot class "~T.stringof~" does not inherit VisibilityNotifier2D"); if(_godot_object.ptr is null) return T.init; String c = String(T._GODOT_internal_name); if(is_class(c)) return inout(T)(_godot_object); return T.init; } inout(T) opCast(T)() inout if(extendsGodotBaseClass!T) { static assert(is(typeof(T.owner) : VisibilityNotifier2D) || staticIndexOf!(VisibilityNotifier2D, typeof(T.owner).BaseClasses) != -1, "D class "~T.stringof~" does not extend VisibilityNotifier2D"); if(_godot_object.ptr is null) return null; if(has_method(String(`_GDNATIVE_D_typeid`))) { Object o = cast(Object)godot_nativescript_get_userdata(opCast!godot_object); return cast(inout(T))o; } return null; } static VisibilityNotifier2D _new() { static godot_class_constructor constructor; if(constructor is null) constructor = godot_get_class_constructor("VisibilityNotifier2D"); if(constructor is null) return typeof(this).init; return cast(VisibilityNotifier2D)(constructor()); } void set_rect(in Rect2 rect) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("VisibilityNotifier2D", "set_rect"); const(void*)[1] _GODOT_args = [cast(void*)(&rect), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } Rect2 get_rect() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("VisibilityNotifier2D", "get_rect"); Rect2 _GODOT_ret = Rect2.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } bool is_on_screen() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("VisibilityNotifier2D", "is_on_screen"); bool _GODOT_ret = bool.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } }
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Debugging.build/Demangler.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/Debuggable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/SourceLocation.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/Demangler.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/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/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/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Debugging.build/Demangler~partial.swiftmodule : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/Debuggable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/SourceLocation.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/Demangler.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/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/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/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Debugging.build/Demangler~partial.swiftdoc : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/Debuggable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/SourceLocation.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Debugging/Demangler.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/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/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/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
package(std) ref intersect() { } package(std) auto intersect() { } package(std) const intersect() { }
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2020 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/apply.d, _apply.d) * Documentation: https://dlang.org/phobos/dmd_apply.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/apply.d */ module dmd.apply; import dmd.arraytypes; import dmd.dtemplate; import drc.ast.Expression; import drc.ast.Visitor; /************************************** * An Выражение tree walker that will посети each Выражение e in the tree, * in depth-first evaluation order, and call fp(e,param) on it. * fp() signals whether the walking continues with its return значение: * Возвращает: * 0 continue * 1 done * It's a bit slower than using virtual functions, but more encapsulated and less brittle. * Creating an iterator for this would be much more complex. */ private final class PostorderВыражениеВизитор2 : StoppableVisitor { alias typeof(super).посети посети; public: StoppableVisitor v; this(StoppableVisitor v) { this.v = v; } бул doCond(Выражение e) { if (!stop && e) e.прими(this); return stop; } бул doCond(Выражения* e) { if (!e) return нет; for (т_мера i = 0; i < e.dim && !stop; i++) doCond((*e)[i]); return stop; } бул applyTo(Выражение e) { e.прими(v); stop = v.stop; return да; } override проц посети(Выражение e) { applyTo(e); } override проц посети(NewExp e) { //printf("NewExp::apply(): %s\n", вТкст0()); doCond(e.thisexp) || doCond(e.newargs) || doCond(e.arguments) || applyTo(e); } override проц посети(NewAnonClassExp e) { //printf("NewAnonClassExp::apply(): %s\n", вТкст0()); doCond(e.thisexp) || doCond(e.newargs) || doCond(e.arguments) || applyTo(e); } override проц посети(TypeidExp e) { doCond(выражение_ли(e.obj)) || applyTo(e); } override проц посети(UnaExp e) { doCond(e.e1) || applyTo(e); } override проц посети(BinExp e) { doCond(e.e1) || doCond(e.e2) || applyTo(e); } override проц посети(AssertExp e) { //printf("CallExp::apply(apply_fp_t fp, проц *param): %s\n", вТкст0()); doCond(e.e1) || doCond(e.msg) || applyTo(e); } override проц посети(CallExp e) { //printf("CallExp::apply(apply_fp_t fp, проц *param): %s\n", вТкст0()); doCond(e.e1) || doCond(e.arguments) || applyTo(e); } override проц посети(ArrayExp e) { //printf("ArrayExp::apply(apply_fp_t fp, проц *param): %s\n", вТкст0()); doCond(e.e1) || doCond(e.arguments) || applyTo(e); } override проц посети(SliceExp e) { doCond(e.e1) || doCond(e.lwr) || doCond(e.upr) || applyTo(e); } override проц посети(ArrayLiteralExp e) { doCond(e.basis) || doCond(e.elements) || applyTo(e); } override проц посети(AssocArrayLiteralExp e) { doCond(e.keys) || doCond(e.values) || applyTo(e); } override проц посети(StructLiteralExp e) { if (e.stageflags & stageApply) return; цел old = e.stageflags; e.stageflags |= stageApply; doCond(e.elements) || applyTo(e); e.stageflags = old; } override проц посети(TupleExp e) { doCond(e.e0) || doCond(e.exps) || applyTo(e); } override проц посети(CondExp e) { doCond(e.econd) || doCond(e.e1) || doCond(e.e2) || applyTo(e); } } бул walkPostorder(Выражение e, StoppableVisitor v) { scope PostorderВыражениеВизитор2 pv = new PostorderВыражениеВизитор2(v); e.прими(pv); return v.stop; }
D
import std.stdio; import passport; import std.file; import std.algorithm.searching; import std.string; import std.exception; void main() { auto e = readText("input").split("\n\n"); int valid = 0; foreach(entry; e) { Passport p; try { p = Passport.deserialize(entry); enforce(1920 <= p.birthYear && p.birthYear <= 2002); enforce(2010 <= p.issueYear && p.issueYear <= 2020); enforce(2020 <= p.exprYear && p.exprYear <= 2030); if (p.heightInCm) { enforce(150 <= p.height && p.height <= 193); } else { enforce(59 <= p.height && p.height <= 76); } enforce(canFind(["amb", "blu", "brn", "gry", "grn", "hzl", "oth"], p.eyeColor)); import std.ascii; enforce(p.hairColor.strip(std.ascii.fullHexDigits).length == 0); enforce(p.hairColor.length == 6); writeln(p); valid = valid + 1; } catch(Exception e) { writeln(e); } } writeln(valid); }
D
/Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/build/FitHelper.build/Debug-iphoneos/FitHelper.build/Objects-normal/arm64/ExerciseCDClass.o : /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/ExerciseCDPR.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/TrainingCDPR.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/TrainingPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/activityTrainingPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/GraphPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/UserPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/SettingsPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TheExercise.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/imagePickerForExercise.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/AppDelegate.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExercisesListFromTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/finalizeActivityTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/listOfExercisesInActivityTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExerciseCell.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TrainingCell.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/StringChecker.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/CoreDataHelper.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/DefaultsExerciseAndTrainings.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/ExerciseCDClass.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/TrainingCDClass.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/Alert.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExercisesList.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TrainingsList.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/FromNumToNameOfTheDay.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/checkTrainingsForToday.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/CoreData.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/AudioToolbox.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/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/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/CoreAudio.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/artemon/Desktop/projects/Swift/HARMAN/FitHelper/build/FitHelper.build/Debug-iphoneos/FitHelper.build/Objects-normal/arm64/ExerciseCDClass~partial.swiftmodule : /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/ExerciseCDPR.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/TrainingCDPR.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/TrainingPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/activityTrainingPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/GraphPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/UserPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/SettingsPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TheExercise.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/imagePickerForExercise.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/AppDelegate.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExercisesListFromTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/finalizeActivityTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/listOfExercisesInActivityTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExerciseCell.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TrainingCell.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/StringChecker.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/CoreDataHelper.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/DefaultsExerciseAndTrainings.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/ExerciseCDClass.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/TrainingCDClass.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/Alert.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExercisesList.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TrainingsList.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/FromNumToNameOfTheDay.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/checkTrainingsForToday.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/CoreData.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/AudioToolbox.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/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/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/CoreAudio.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/artemon/Desktop/projects/Swift/HARMAN/FitHelper/build/FitHelper.build/Debug-iphoneos/FitHelper.build/Objects-normal/arm64/ExerciseCDClass~partial.swiftdoc : /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/ExerciseCDPR.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/TrainingCDPR.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/TrainingPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/activityTrainingPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/GraphPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/UserPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ViewControllers/SettingsPage.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TheExercise.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/imagePickerForExercise.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/AppDelegate.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExercisesListFromTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/finalizeActivityTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/listOfExercisesInActivityTraining.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExerciseCell.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TrainingCell.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/StringChecker.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/CoreDataHelper.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/DefaultsExerciseAndTrainings.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/ExerciseCDClass.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/TrainingCDClass.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/Alert.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/ExercisesList.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/TrainingsList.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/FromNumToNameOfTheDay.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/FitHelper/checkTrainingsForToday.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/CoreData.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/AudioToolbox.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/CoreData.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/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/CoreAudio.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
/** * Poodinis Dependency Injection Framework * Copyright 2014-2018 Mike Bierlee * This software is licensed under the terms of the MIT license. * The full terms of the license can be found in the LICENSE file. */ module poodinis.test.testClasses; import poodinis; import poodinis.test.foreignDependencies; version(unittest) { class ComponentA {} class ComponentB { public @Autowire ComponentA componentA; } interface InterfaceA {} class ComponentC : InterfaceA {} class ComponentD { public @Autowire InterfaceA componentC = null; private @Autowire InterfaceA _privateComponentC = null; public InterfaceA privateComponentC() { return _privateComponentC; } } class DummyAttribute{}; class ComponentE { @DummyAttribute public ComponentC componentC; } class ComponentDeclarationCocktail { alias noomer = int; @Autowire public ComponentA componentA; public void doesNothing() { } ~this(){ } } class ComponentX : InterfaceA {} class ComponentZ : ComponentB { } class MonkeyShine { @Autowire!ComponentX public InterfaceA component; } class BootstrapBootstrap { @Autowire!ComponentX public InterfaceA componentX; @Autowire!ComponentC public InterfaceA componentC; } class LordOfTheComponents { @Autowire public InterfaceA[] components; } class ComponentCharlie { @Autowire @AssignNewInstance public ComponentA componentA; } class OuttaTime { @Autowire @OptionalDependency public InterfaceA interfaceA; @Autowire @OptionalDependency public ComponentA componentA; @Autowire @OptionalDependency public ComponentC[] componentCs; } class ValuedClass { @Value("values.int") public int intValue; @Autowire public ComponentA unrelated; } class TestInjector : ValueInjector!int { public override int get(string key) { assert(key == "values.int"); return 8; } } interface TestInterface {} class TestClass : TestInterface { } class TestClassDeux : TestInterface { @Autowire public UnrelatedClass unrelated; } class UnrelatedClass{ } class FailOnCreationClass { this() { throw new Exception("This class should not be instantiated"); } } class AutowiredClass { } class ComponentClass { @Autowire public AutowiredClass autowiredClass; } class ComponentCat { @Autowire public ComponentMouse mouse; } class ComponentMouse { @Autowire public ComponentCat cat; } class Eenie { @Autowire public Meenie meenie; } class Meenie { @Autowire public Moe moe; } class Moe { @Autowire public Eenie eenie; } class Ittie { @Autowire public Bittie bittie; } class Bittie { @Autowire public Bunena banana; } class Bunena { @Autowire public Bittie bittie; } interface SuperInterface { } class SuperImplementation : SuperInterface { @Autowire public Bunena banana; } interface Color { } class Blue : Color { } class Red : Color { } class Spiders { @Autowire public TestInterface testMember; } class Recursive { @Autowire public Recursive recursive; } class Moolah {} class Wants { @Autowire public Moolah moolah; } class John { @Autowire public Wants wants; } class Cocktail { @Autowire public Moolah moolah; public Red red; this(Red red) { this.red = red; } } class Wallpaper { public Color color; this(Color color) { this.color = color; } } class Pot { this(Kettle kettle) {} } class Kettle { this(Pot pot) {} } class Rock { this(Scissors scissors) {} } class Paper { this(Rock rock) {} } class Scissors { this(Paper paper) {} } class Hello { this(Ola ola) {} } class PostConstructionDependency { public bool postConstructWasCalled = false; @PostConstruct public void callMeMaybe() { postConstructWasCalled = true; } } class ChildOfPostConstruction : PostConstructionDependency {} interface ThereWillBePostConstruction { @PostConstruct void constructIt(); } class ButThereWontBe : ThereWillBePostConstruction { public bool postConstructWasCalled = false; public override void constructIt() { postConstructWasCalled = true; } } class PostConstructWithAutowiring { @Autowire private PostConstructionDependency dependency; @Value("") private int theNumber = 1; @PostConstruct public void doIt() { assert(theNumber == 8783); assert(dependency !is null); } } class PreDestroyerOfFates { public bool preDestroyWasCalled = false; @PreDestroy public void callMeMaybe() { preDestroyWasCalled = true; } } class PostConstructingIntInjector : ValueInjector!int { int get(string key) { return 8783; } } interface Fruit { string getShape(); } interface Animal { string getYell(); } class Banana { public string color; this(string color) { this.color = color; } } class Apple {} class Pear : Fruit { public override string getShape() { return "Pear shaped"; } } class Rabbit : Animal { public override string getYell() { return "Squeeeeeel"; } } class Wolf : Animal { public override string getYell() { return "Wooooooooooo"; } } class PieChart {} class CakeChart : PieChart {} class ClassWrapper { public Object someClass; this(Object someClass) { this.someClass = someClass; } } class ClassWrapperWrapper { public ClassWrapper wrapper; this(ClassWrapper wrapper) { this.wrapper = wrapper; } } class SimpleContext : ApplicationContext { public override void registerDependencies(shared(DependencyContainer) container) { container.register!CakeChart; } @Component public Apple apple() { return new Apple(); } } class ComplexAutowiredTestContext : ApplicationContext { @Autowire private Apple apple; @Autowire protected ClassWrapper classWrapper; public override void registerDependencies(shared(DependencyContainer) container) { container.register!Apple; } @Component public ClassWrapper wrapper() { return new ClassWrapper(apple); } @Component public ClassWrapperWrapper wrapperWrapper() { return new ClassWrapperWrapper(classWrapper); } } class AutowiredTestContext : ApplicationContext { @Autowire private Apple apple; @Component public ClassWrapper wrapper() { return new ClassWrapper(apple); } } class TestContext : ApplicationContext { @Component public Banana banana() { return new Banana("Yellow"); } public Apple apple() { return new Apple(); } @Component @RegisterByType!Fruit public Pear pear() { return new Pear(); } @Component @RegisterByType!Animal public Rabbit rabbit() { return new Rabbit(); } @Component @RegisterByType!Animal public Wolf wolf() { return new Wolf(); } @Component @Prototype public PieChart pieChart() { return new PieChart(); } } class TestImplementation : TestInterface { public string someContent = ""; } class SomeOtherClassThen { } class ClassWithConstructor { public TestImplementation testImplementation; this(TestImplementation testImplementation) { this.testImplementation = testImplementation; } } class ClassWithMultipleConstructors { public SomeOtherClassThen someOtherClassThen; public TestImplementation testImplementation; this(SomeOtherClassThen someOtherClassThen) { this.someOtherClassThen = someOtherClassThen; } this(SomeOtherClassThen someOtherClassThen, TestImplementation testImplementation) { this.someOtherClassThen = someOtherClassThen; this.testImplementation = testImplementation; } } class ClassWithConstructorWithMultipleParameters { public SomeOtherClassThen someOtherClassThen; public TestImplementation testImplementation; this(SomeOtherClassThen someOtherClassThen, TestImplementation testImplementation) { this.someOtherClassThen = someOtherClassThen; this.testImplementation = testImplementation; } } class ClassWithPrimitiveConstructor { public SomeOtherClassThen someOtherClassThen; this(string willNotBePicked) { } this(SomeOtherClassThen someOtherClassThen) { this.someOtherClassThen = someOtherClassThen; } } class ClassWithEmptyConstructor { public SomeOtherClassThen someOtherClassThen; this() { } this(SomeOtherClassThen someOtherClassThen) { this.someOtherClassThen = someOtherClassThen; } } class ClassWithNonInjectableConstructor { this(string myName) { } } class TestType {} class Dependency {} struct Thing { int x; } class MyConfig { @Value("conf.stuffs") int stuffs; @Value("conf.name") string name; @Value("conf.thing") Thing thing; } class ConfigWithDefaults { @Value("conf.missing") int noms = 9; } class ConfigWithMandatory { @MandatoryValue("conf.mustbethere") int nums; } class IntInjector : ValueInjector!int { public override int get(string key) { assert(key == "conf.stuffs"); return 364; } } class StringInjector : ValueInjector!string { public override string get(string key) { assert(key == "conf.name"); return "Le Chef"; } } class ThingInjector : ValueInjector!Thing { public override Thing get(string key) { assert(key == "conf.thing"); return Thing(8899); } } class DefaultIntInjector : ValueInjector!int { public override int get(string key) { throw new ValueNotAvailableException(key); } } class MandatoryAvailableIntInjector : ValueInjector!int { public override int get(string key) { return 7466; } } class MandatoryUnavailableIntInjector : ValueInjector!int { public override int get(string key) { throw new ValueNotAvailableException(key); } } class DependencyInjectedIntInjector : ValueInjector!int { @Autowire public Dependency dependency; public override int get(string key) { return 2345; } } class CircularIntInjector : ValueInjector!int { @Autowire public ValueInjector!int dependency; private int count = 0; public override int get(string key) { count += 1; if (count >= 3) { return count; } return dependency.get(key); } } class ValueInjectedIntInjector : ValueInjector!int { @Value("five") public int count = 0; public override int get(string key) { if (key == "five") { return 5; } return count; } } class DependencyValueInjectedIntInjector : ValueInjector!int { @Autowire public ConfigWithDefaults config; public override int get(string key) { if (key == "conf.missing") { return 8899; } return 0; } } }
D
const string SLD_732_CHECKPOINT = "NC_PLACE02"; instance Info_SLD_732_FirstWarn(C_Info) { npc = SLD_732_Soeldner; nr = 1; condition = Info_SLD_732_FirstWarn_Condition; information = Info_SLD_732_FirstWarn_Info; permanent = 1; important = 1; }; func int Info_SLD_732_FirstWarn_Condition() { if((hero.aivar[AIV_GUARDPASSAGE_STATUS] == AIV_GPS_BEGIN) && (self.aivar[AIV_PASSGATE] == FALSE) && Hlp_StrCmp(Npc_GetNearestWP(self),self.wp)) { return TRUE; }; }; func void Info_SLD_732_FirstWarn_Info() { PrintGlobals(PD_MISSION); AI_Output(self,hero,"Info_SLD_732_FirstWarn_08_01"); //Стой! Назови пароль, иначе я тебя не пропущу! hero.aivar[AIV_LASTDISTTOWP] = Npc_GetDistToWP(hero,SLD_732_CHECKPOINT); hero.aivar[AIV_GUARDPASSAGE_STATUS] = AIV_GPS_FIRSTWARN; if(Npc_KnowsInfo(hero,Info_Cronos_SLEEPER)) { Info_ClearChoices(Info_SLD_732_FirstWarn); Info_AddChoice(Info_SLD_732_FirstWarn,"Кронос разрешил мне пройти!",Info_SLD_732_Parole_CRONOS); Info_AddChoice(Info_SLD_732_FirstWarn,"Я забыл пароль!",Info_SLD_732_Parole_FORGOT); Info_AddChoice(Info_SLD_732_FirstWarn,"Пароль: Териантрох.",Info_SLD_732_Parole_FALSE2); Info_AddChoice(Info_SLD_732_FirstWarn,"Пароль: Тетриандох.",Info_SLD_732_Parole_TRUE); Info_AddChoice(Info_SLD_732_FirstWarn,"Пароль: Тетриданох.",Info_SLD_732_Parole_FALSE1); } else { AI_StopProcessInfos(self); }; }; func void Info_SLD_732_Parole_CRONOS() { AI_Output(hero,self,"Info_SLD_732_Parole_CRONOS_15_01"); //Кронос разрешил мне пройти! AI_Output(self,hero,"Info_SLD_732_Parole_CRONOS_08_02"); //Если бы это была правда, он бы назвал тебе пароль. Убирайся отсюда, лжец! AI_StopProcessInfos(self); }; func void Info_SLD_732_Parole_FORGOT() { AI_Output(hero,self,"Info_SLD_732_Parole_FORGOT_15_01"); //Я забыл пароль! AI_Output(self,hero,"Info_SLD_732_Parole_FORGOT_08_02"); //Тогда приходи, когда вспомнишь! Не отвлекай меня от работы! AI_StopProcessInfos(self); }; func void Info_SLD_732_Parole_FALSE1() { AI_Output(hero,self,"Info_SLD_732_Parole_FALSE1_15_01"); //Пароль: 'Тетриданох'. AI_Output(self,hero,"Info_SLD_732_Parole_FALSE1_08_02"); //Неправильно! AI_StopProcessInfos(self); }; func void Info_SLD_732_Parole_FALSE2() { AI_Output(hero,self,"Info_SLD_732_Parole_FALSE2_15_01"); //Пароль: 'Териантрох'. AI_Output(self,hero,"Info_SLD_732_Parole_FALSE2_08_02"); //Неправильно! AI_StopProcessInfos(self); }; func void Info_SLD_732_Parole_TRUE() { var C_Npc guard; AI_Output(hero,self,"Info_SLD_732_Parole_TRUE_15_01"); //Пароль: 'Тетриандох'. AI_Output(self,hero,"Info_SLD_732_Parole_TRUE_08_02"); //Правильно. Проходи. AI_StopProcessInfos(self); guard = Hlp_GetNpc(SLD_723_Soeldner); hero.aivar[AIV_GUARDPASSAGE_STATUS] = AIV_GPS_BEGIN; self.aivar[AIV_PASSGATE] = TRUE; guard.aivar[AIV_PASSGATE] = TRUE; B_GiveXP(XP_SayCorrectParole); }; instance Info_SLD_732_LastWarn(C_Info) { npc = SLD_732_Soeldner; nr = 2; condition = Info_SLD_732_LastWarn_Condition; information = Info_SLD_732_LastWarn_Info; permanent = 1; important = 1; }; func int Info_SLD_732_LastWarn_Condition() { if((hero.aivar[AIV_GUARDPASSAGE_STATUS] == AIV_GPS_FIRSTWARN) && (self.aivar[AIV_PASSGATE] == FALSE) && (Npc_GetDistToWP(hero,SLD_732_CHECKPOINT) < (hero.aivar[AIV_LASTDISTTOWP] - 100)) && Hlp_StrCmp(Npc_GetNearestWP(self),self.wp)) { return TRUE; }; }; func int Info_SLD_732_LastWarn_Info() { AI_Output(self,hero,"Info_SLD_732_LastWarn_08_01"); //Стоять! Предупреждаю в последний раз! hero.aivar[AIV_LASTDISTTOWP] = Npc_GetDistToWP(hero,SLD_732_CHECKPOINT); hero.aivar[AIV_GUARDPASSAGE_STATUS] = AIV_GPS_LASTWARN; AI_StopProcessInfos(self); }; instance Info_SLD_732_Attack(C_Info) { npc = SLD_732_Soeldner; nr = 3; condition = Info_SLD_732_Attack_Condition; information = Info_SLD_732_Attack_Info; permanent = 1; important = 1; }; func int Info_SLD_732_Attack_Condition() { if((hero.aivar[AIV_GUARDPASSAGE_STATUS] == AIV_GPS_LASTWARN) && (self.aivar[AIV_PASSGATE] == FALSE) && (Npc_GetDistToWP(hero,SLD_732_CHECKPOINT) < (hero.aivar[AIV_LASTDISTTOWP] - 100)) && Hlp_StrCmp(Npc_GetNearestWP(self),self.wp)) { return TRUE; }; }; func int Info_SLD_732_Attack_Info() { hero.aivar[AIV_LASTDISTTOWP] = 0; hero.aivar[AIV_GUARDPASSAGE_STATUS] = AIV_GPS_PUNISH; B_FullStop(self); AI_StopProcessInfos(self); B_IntruderAlert(self,other); B_SetAttackReason(self,AIV_AR_INTRUDER); Npc_SetTarget(self,hero); AI_StartState(self,ZS_Attack,1,""); }; instance Info_SLD_732_PAROLE(C_Info) { npc = SLD_732_Soeldner; nr = 10; condition = Info_SLD_732_PAROLE_Condition; information = Info_SLD_732_PAROLE_Info; permanent = 1; important = 0; description = "(Сказать пароль)"; }; func int Info_SLD_732_PAROLE_Condition() { if(Npc_KnowsInfo(hero,Info_Cronos_SLEEPER) && (self.aivar[AIV_PASSGATE] == FALSE)) { return TRUE; }; }; func int Info_SLD_732_PAROLE_Info() { Info_ClearChoices(Info_SLD_732_PAROLE); Info_AddChoice(Info_SLD_732_PAROLE,"Кронос разрешил мне пройти!",Info_SLD_732_Parole_CRONOS); Info_AddChoice(Info_SLD_732_PAROLE,"Я забыл пароль!",Info_SLD_732_Parole_FORGOT); Info_AddChoice(Info_SLD_732_PAROLE,"Пароль: Териантрох.",Info_SLD_732_Parole_FALSE2); Info_AddChoice(Info_SLD_732_PAROLE,"Пароль: Тетриандох.",Info_SLD_732_Parole_TRUE); Info_AddChoice(Info_SLD_732_PAROLE,"Пароль: Тетриданох.",Info_SLD_732_Parole_FALSE1); };
D
module webkit2webextension.DOMHTMLParamElement; private import glib.Str; private import webkit2webextension.DOMHTMLElement; private import webkit2webextension.c.functions; public import webkit2webextension.c.types; /** */ public class DOMHTMLParamElement : DOMHTMLElement { /** the main Gtk struct */ protected WebKitDOMHTMLParamElement* webKitDOMHTMLParamElement; /** Get the main Gtk struct */ public WebKitDOMHTMLParamElement* getDOMHTMLParamElementStruct(bool transferOwnership = false) { if (transferOwnership) ownedRef = false; return webKitDOMHTMLParamElement; } /** the main Gtk struct as a void* */ protected override void* getStruct() { return cast(void*)webKitDOMHTMLParamElement; } /** * Sets our main struct and passes it to the parent class. */ public this (WebKitDOMHTMLParamElement* webKitDOMHTMLParamElement, bool ownedRef = false) { this.webKitDOMHTMLParamElement = webKitDOMHTMLParamElement; super(cast(WebKitDOMHTMLElement*)webKitDOMHTMLParamElement, ownedRef); } /** */ public static GType getType() { return webkit_dom_html_param_element_get_type(); } /** * * * Deprecated: Use JavaScriptCore API instead * * Returns: A #gchar */ public string getName() { auto retStr = webkit_dom_html_param_element_get_name(webKitDOMHTMLParamElement); scope(exit) Str.freeString(retStr); return Str.toString(retStr); } /** * * * Deprecated: Use JavaScriptCore API instead * * Returns: A #gchar */ public string getTypeAttr() { auto retStr = webkit_dom_html_param_element_get_type_attr(webKitDOMHTMLParamElement); scope(exit) Str.freeString(retStr); return Str.toString(retStr); } /** * * * Deprecated: Use JavaScriptCore API instead * * Returns: A #gchar */ public string getValue() { auto retStr = webkit_dom_html_param_element_get_value(webKitDOMHTMLParamElement); scope(exit) Str.freeString(retStr); return Str.toString(retStr); } /** * * * Deprecated: Use JavaScriptCore API instead * * Returns: A #gchar */ public string getValueType() { auto retStr = webkit_dom_html_param_element_get_value_type(webKitDOMHTMLParamElement); scope(exit) Str.freeString(retStr); return Str.toString(retStr); } /** * * * Deprecated: Use JavaScriptCore API instead * * Params: * value = A #gchar */ public void setName(string value) { webkit_dom_html_param_element_set_name(webKitDOMHTMLParamElement, Str.toStringz(value)); } /** * * * Deprecated: Use JavaScriptCore API instead * * Params: * value = A #gchar */ public void setTypeAttr(string value) { webkit_dom_html_param_element_set_type_attr(webKitDOMHTMLParamElement, Str.toStringz(value)); } /** * * * Deprecated: Use JavaScriptCore API instead * * Params: * value = A #gchar */ public void setValue(string value) { webkit_dom_html_param_element_set_value(webKitDOMHTMLParamElement, Str.toStringz(value)); } /** * * * Deprecated: Use JavaScriptCore API instead * * Params: * value = A #gchar */ public void setValueType(string value) { webkit_dom_html_param_element_set_value_type(webKitDOMHTMLParamElement, Str.toStringz(value)); } }
D
func void B_GotoWPNextToNpc(var C_Npc slf,var C_Npc oth) { var string waypoint; PrintDebugNpc(PD_ZS_DETAIL,"B_GotoWPNextToNpc"); waypoint = Npc_GetNextWP(oth); AI_GotoWP(slf,waypoint); }; func void B_CantSeeTurn() { PrintDebugNpc(PD_ZS_DETAIL,"B_CantSeeTurn"); if(!C_BodyStateContains(self,BS_SIT) && !Npc_CanSeeNpc(self,other)) { PrintDebugNpc(PD_ZS_Check,"B_CantSeeTurn If"); AI_TurnToNPC(self,other); }; }; func int C_LookAtNpc(var C_Npc slf,var C_Npc oth) { AI_LookAtNpc(slf,oth); PrintDebugNpc(PD_ZS_DETAIL,"C_LookAtNpc"); return 1; }; func int C_StopLookAt(var C_Npc slf) { AI_StopLookAt(slf); PrintDebugNpc(PD_ZS_DETAIL,"C_StopLookAt"); return 1; }; func void B_SmartTurnToNpc(var C_Npc slf,var C_Npc oth) { PrintDebugNpc(PD_ZS_DETAIL,"B_SmartTurnToNpc"); if(!C_BodyStateContains(slf,BS_SIT) || C_BodyStateContains(slf,BS_ITEMINTERACT) || C_BodyStateContains(slf,BS_MOBINTERACT) || C_BodyStateContains(slf,BS_MOBINTERACT_INTERRUPT)) { PrintDebugNpc(PD_ZS_DETAIL,"...sitzt nicht und ist nicht am Mobsi"); if(!Npc_CanSeeNpc(slf,oth)) { PrintDebugNpc(PD_ZS_DETAIL,"...kann Ziel nicht sehen!"); AI_TurnToNPC(slf,oth); } else { C_LookAtNpc(slf,oth); }; }; }; func void B_Say(var C_Npc slf,var C_Npc oth,var string text) { var string pipe; pipe = ConcatStrings("B_Say: ",text); PrintDebugNpc(PD_ZS_FRAME,pipe); B_SmartTurnToNpc(slf,oth); AI_OutputSVM(slf,oth,text); }; func void B_SayOverlay(var C_Npc slf,var C_Npc oth,var string text) { var string pipe; pipe = ConcatStrings("B_SayOverlay: ",text); PrintDebugNpc(PD_ZS_FRAME,pipe); B_SmartTurnToNpc(slf,oth); AI_OutputSVM_Overlay(slf,oth,text); }; func void B_StandUp(var C_Npc slf) { PrintDebugNpc(PD_ZS_DETAIL,"B_StandUp"); if(C_BodyStateContains(slf,BS_SIT)) { if(slf.aivar[AIV_HangAroundStatus] == 1) { AI_PlayAni(slf,"T_SIT_2_STAND"); slf.aivar[AIV_HangAroundStatus] = 0; } else if(slf.aivar[AIV_HangAroundStatus] == 4) { AI_UseMob(slf,"SMALL THRONE",-1); slf.aivar[AIV_HangAroundStatus] = 0; } else if(slf.aivar[AIV_HangAroundStatus] == 2) { AI_UseMob(slf,"BENCH",-1); slf.aivar[AIV_HangAroundStatus] = 0; } else if(slf.aivar[AIV_HangAroundStatus] == 3) { AI_UseMob(slf,"CHAIR",-1); slf.aivar[AIV_HangAroundStatus] = 0; }; }; }; func void B_CallComrades() { PrintDebugNpc(PD_ZS_DETAIL,"B_CallComrades"); B_SayOverlay(self,NULL,"$COMRADESHELP"); Npc_SendPassivePerc(self,PERC_ASSESSWARN,self,other); }; func void B_CallGuards() { PrintDebugNpc(PD_ZS_DETAIL,"B_CallGuards"); B_SayOverlay(self,NULL,"$HELP"); Npc_SendPassivePerc(self,PERC_ASSESSWARN,self,other); }; func void B_IntruderAlert(var C_Npc slf,var C_Npc oth) { PrintDebugNpc(PD_ZS_DETAIL,"B_IntruderAlert"); B_SayOverlay(slf,NULL,"$IntruderAlert"); Npc_SendPassivePerc(slf,PERC_ASSESSWARN,slf,oth); }; func void B_FullStop(var C_Npc npc) { PrintDebugNpc(PD_ZS_DETAIL,"B_FullStop"); Npc_ClearAIQueue(npc); AI_StandupQuick(npc); }; func void B_ResetTempAttitude(var C_Npc slf) { PrintDebugNpc(PD_ZS_DETAIL,"B_ResetTempAttitude"); Npc_SetTempAttitude(slf,Npc_GetPermAttitude(slf,hero)); }; func void B_WhirlAround(var C_Npc slf,var C_Npc oth) { PrintDebugNpc(PD_ZS_DETAIL,"B_WhirlAround"); if(Npc_CanSeeNpc(slf,oth)) { PrintDebugNpc(PD_ZS_DETAIL,"...KANN Ziel sehen!"); AI_TurnToNPC(slf,oth); } else { PrintDebugNpc(PD_ZS_DETAIL,"...kann Ziel NICHT sehen!"); AI_WhirlAround(slf,oth); }; }; func void B_DropWeapon(var C_Npc slf) { var C_Item itm; var int itemid; PrintDebugNpc(PD_ZS_DETAIL,"B_DropWeapon"); itm = Npc_GetReadiedWeapon(slf); if(Hlp_IsValidItem(itm)) { itemid = Hlp_GetInstanceID(itm); PrintDebugNpc(PD_ZS_DETAIL,itm.name); AI_DropItem(slf,itemid); }; }; func void B_RegainDroppedWeapon(var C_Npc slf) { Npc_PerceiveAll(slf); if(Wld_DetectItem(slf,ITEM_KAT_NF) || Wld_DetectItem(slf,ITEM_KAT_FF)) { if(!Npc_IsPlayer(slf) && Npc_CanSeeItem(slf,item)) { PrintDebugNpc(PD_ZS_Check,"...NSC hebt seine Waffen wieder auf!"); AI_TakeItem(slf,item); AI_EquipBestMeleeWeapon(slf); AI_EquipBestRangedWeapon(slf); }; }; }; func void B_RegainDroppedArmor(var C_Npc slf) { Npc_PerceiveAll(slf); if(Wld_DetectItem(slf,ITEM_KAT_ARMOR)) { if(!Npc_IsPlayer(slf)) { PrintDebugNpc(PD_ZS_Check,"...NSC hebt seine Rüstung wieder auf!"); AI_TakeItem(slf,item); AI_EquipBestArmor(slf); }; }; }; func void B_GotoFP(var C_Npc slf,var string fp) { PrintDebugNpc(PD_TA_LOOP,"B_GotoFP"); if(!Npc_IsOnFP(self,fp)) { PrintDebugString(PD_TA_CHECK,"...nicht auf passendem Freepoint ",fp); if(Wld_IsNextFPAvailable(self,fp)) { PrintDebugString(PD_TA_CHECK,"Gehe zu Freepoint ",fp); AI_SetWalkMode(self,NPC_WALK); AI_GotoNextFP(self,fp); }; }; }; func void B_StopGotoHero() { PrintDebugNpc(PD_ZS_FRAME,"B_StopGotoHero"); if(Npc_IsPlayer(other)) { PrintDebugNpc(PD_ZS_DETAIL,"...Kollision mit Spieler!"); Npc_PercDisable(self,PERC_MOVENPC); B_FullStop(self); }; }; func void B_SetAttackReason(var C_Npc slf,var int reason) { PrintDebugNpc(PD_ZS_DETAIL,"B_SetAttackReason"); slf.aivar[AIV_ATTACKREASON] = reason; }; func void B_KillNpc(var int npcInstance) { var C_Npc npc; var int itemInstance; PrintDebugNpc(PD_ZS_DETAIL,"B_KillNpc"); npc = Hlp_GetNpc(npcInstance); npc.flags = 0; CreateInvItem(npc,ItMi_Stuff_OldCoin_02); Npc_ChangeAttribute(npc,ATR_HITPOINTS,-npc.attribute[ATR_HITPOINTS_MAX]); if(Npc_GetInvItemBySlot(npc,INV_WEAPON,1)) { PrintDebugNpc(PD_ZS_DETAIL,"...Waffe in Slot 1 gefunden!"); itemInstance = Hlp_GetInstanceID(item); Npc_RemoveInvItem(npc,itemInstance); }; if(Npc_GetInvItemBySlot(npc,INV_WEAPON,2)) { PrintDebugNpc(PD_ZS_DETAIL,"...Waffe in Slot 2 gefunden!"); itemInstance = Hlp_GetInstanceID(item); Npc_RemoveInvItem(npc,itemInstance); }; }; func void B_UseFakeScroll() { if(C_BodyStateContains(self,BS_SIT)) { AI_Standup(self); AI_TurnToNPC(self,hero); }; CreateInvItem(self,Fakescroll); AI_UseItemToState(self,Fakescroll,1); AI_Wait(self,3); AI_UseItemToState(self,Fakescroll,-1); }; func void B_ChangeGuild(var int npcInstance,var int newGuild) { var C_Npc npc; PrintDebugNpc(PD_ZS_DETAIL,"B_ChangeGuild"); npc = Hlp_GetNpc(npcInstance); Npc_SetTrueGuild(npc,newGuild); npc.guild = newGuild; }; func void B_ExchangeRoutine(var int npcInstance,var string newRoutine) { var C_Npc npc; PrintDebugNpc(PD_ZS_DETAIL,"B_ExchangeRoutine"); npc = Hlp_GetNpc(npcInstance); Npc_ExchangeRoutine(npc,newRoutine); AI_ContinueRoutine(npc); }; func void B_SetPermAttitude(var int npcInstance,var int newAttitude) { var C_Npc npc; PrintDebugNpc(PD_ZS_DETAIL,"B_SetPermAttitude"); npc = Hlp_GetNpc(npcInstance); Npc_SetAttitude(npc,newAttitude); Npc_SetTempAttitude(npc,newAttitude); }; func void B_LogEntry(var string topic,var string entry) { PrintDebugNpc(PD_ZS_DETAIL,"B_LogEntry"); Log_AddEntry(topic,entry); PrintScreen(NAME_NewLogEntry,-1,_YPOS_MESSAGE_LOGENTRY,"font_old_10_white.tga",_TIME_MESSAGE_LOGENTRY); Snd_Play("LogEntry"); }; func void B_ClearImmortal(var int npcInstance) { var C_Npc npc; PrintDebugNpc(PD_ZS_DETAIL,"B_ClearImmortal"); npc = Hlp_GetNpc(npcInstance); npc.flags = 0; }; func void B_SetNpcType(var int npcInstance,var int newNpctype) { var C_Npc npc; PrintDebugNpc(PD_ZS_DETAIL,"B_SetNpcType"); npc = Hlp_GetNpc(npcInstance); npc.npcType = newNpctype; }; func void B_GiveInvItems(var C_Npc giver,var C_Npc taker,var int itemInstance,var int amount) { var string msg; PrintDebugNpc(PD_ZS_DETAIL,"B_GiveInvItems"); Npc_RemoveInvItems(giver,itemInstance,amount); CreateInvItems(taker,itemInstance,amount); if(Npc_IsPlayer(giver)) { if(itemInstance == ItMiNugget) { msg = ConcatStrings(IntToString(amount),_STR_MESSAGE_ORE_GIVEN); PrintScreen(msg,-1,_YPOS_MESSAGE_GIVEN,"FONT_OLD_10_WHITE.TGA",_TIME_MESSAGE_GIVEN); } else if(amount == 1) { msg = ConcatStrings(IntToString(amount),_STR_MESSAGE_ITEM_GIVEN); PrintScreen(msg,-1,_YPOS_MESSAGE_GIVEN,"FONT_OLD_10_WHITE.TGA",_TIME_MESSAGE_GIVEN); } else { msg = ConcatStrings(IntToString(amount),_STR_MESSAGE_ITEMS_GIVEN); PrintScreen(msg,-1,_YPOS_MESSAGE_GIVEN,"FONT_OLD_10_WHITE.TGA",_TIME_MESSAGE_GIVEN); }; } else if(Npc_IsPlayer(taker)) { if(itemInstance == ItMiNugget) { msg = ConcatStrings(IntToString(amount),_STR_MESSAGE_ORE_TAKEN); PrintScreen(msg,-1,_YPOS_MESSAGE_TAKEN,"FONT_OLD_10_WHITE.TGA",_TIME_MESSAGE_TAKEN); } else if(amount == 1) { msg = ConcatStrings(IntToString(amount),_STR_MESSAGE_ITEM_TAKEN); PrintScreen(msg,-1,_YPOS_MESSAGE_TAKEN,"FONT_OLD_10_WHITE.TGA",_TIME_MESSAGE_TAKEN); } else { msg = ConcatStrings(IntToString(amount),_STR_MESSAGE_ITEMS_TAKEN); PrintScreen(msg,-1,_YPOS_MESSAGE_TAKEN,"FONT_OLD_10_WHITE.TGA",_TIME_MESSAGE_TAKEN); }; }; }; func int B_CheckForImportantInfo(var C_Npc slf,var C_Npc oth) { var C_Npc her; var C_Npc rock; PrintDebugNpc(PD_ZS_FRAME,"B_CheckForImportantInfo"); if((oth.aivar[AIV_INVINCIBLE] == FALSE) && C_NpcIsHuman(oth)) { PrintDebugNpc(PD_ZS_Check,"...SC spricht nicht!"); her = Hlp_GetNpc(PC_Hero); rock = Hlp_GetNpc(PC_Rockefeller); if((Hlp_GetInstanceID(her) != Hlp_GetInstanceID(hero)) && (Hlp_GetInstanceID(rock) != Hlp_GetInstanceID(hero))) { return FALSE; }; if(Npc_CheckInfo(slf,1)) { PrintDebugNpc(PD_ZS_Check,"...wichtige Info zu vergeben!"); PrintDebugNpc(PD_ZS_Check,"...SC springt nicht oder NSC ist Durchgangswache!"); if(!C_BodyStateContains(oth,BS_FALL)) { PrintDebugNpc(PD_ZS_Check,"...fällt nicht!"); if(!C_BodyStateContains(oth,BS_SWIM)) { PrintDebugNpc(PD_ZS_Check,"...schwimmt nicht!"); if(!C_BodyStateContains(oth,BS_DIVE)) { PrintDebugNpc(PD_ZS_Check,"...taucht nicht!"); hero.aivar[AIV_IMPORTANT] = TRUE; B_FullStop(oth); if(C_BodyStateContains(slf,BS_SIT) || !Npc_CanSeeNpc(self,hero)) { Npc_ClearAIQueue(slf); AI_Standup(slf); } else { B_FullStop(slf); }; AI_StartState(slf,ZS_Talk,0,""); Npc_PercDisable(slf,PERC_ASSESSFIGHTER); return TRUE; }; }; }; }; }; return FALSE; }; func void B_InitGuildAttitudes() { PrintDebugNpc(PD_ZS_FRAME,"B_InitGuildAttitudes"); if(Kapitel <= 3) { Wld_ExchangeGuildAttitudes("GIL_ATTITUDES"); } else { Wld_ExchangeGuildAttitudes("GIL_ATTITUDES_FMTAKEN"); }; }; func void B_PracticeCombat(var string waypoint) { PrintDebugNpc(PD_ZS_FRAME,"B_PracticeCombat"); }; func void B_PrintGuildCondition(var int level) { var string msg; PrintDebugNpc(PD_ZS_FRAME,"B_PrintGuildCondition"); msg = ConcatStrings(_STR_MESSAGE_Joincamp,IntToString(level)); PrintScreen(msg,-1,_YPOS_MESSAGE_Joincamp,"font_old_10_white.tga",_TIME_MESSAGE_Joincamp); };
D
// Written in the D programming language. /** This module is used to manipulate path strings. All functions, with the exception of $(LREF expandTilde) (and in some cases $(LREF absolutePath) and $(LREF relativePath)), are pure string manipulation functions; they don't depend on any state outside the program, nor do they perform any actual file system actions. This has the consequence that the module does not make any distinction between a path that points to a directory and a path that points to a file, and it does not know whether or not the object pointed to by the path actually exists in the file system. To differentiate between these cases, use $(REF isDir, std,file) and $(REF exists, std,file). Note that on Windows, both the backslash ($(D `\`)) and the slash ($(D `/`)) are in principle valid directory separators. This module treats them both on equal footing, but in cases where a $(I new) separator is added, a backslash will be used. Furthermore, the $(LREF buildNormalizedPath) function will replace all slashes with backslashes on that platform. In general, the functions in this module assume that the input paths are well-formed. (That is, they should not contain invalid characters, they should follow the file system's path format, etc.) The result of calling a function on an ill-formed path is undefined. When there is a chance that a path or a file name is invalid (for instance, when it has been input by the user), it may sometimes be desirable to use the $(LREF isValidFilename) and $(LREF isValidPath) functions to check this. Most functions do not perform any memory allocations, and if a string is returned, it is usually a slice of an input string. If a function allocates, this is explicitly mentioned in the documentation. $(SCRIPT inhibitQuickIndex = 1;) $(DIVC quickindex, $(BOOKTABLE, $(TR $(TH Category) $(TH Functions)) $(TR $(TD Normalization) $(TD $(LREF absolutePath) $(LREF asAbsolutePath) $(LREF asNormalizedPath) $(LREF asRelativePath) $(LREF buildNormalizedPath) $(LREF buildPath) $(LREF chainPath) $(LREF expandTilde) )) $(TR $(TD Partitioning) $(TD $(LREF baseName) $(LREF dirName) $(LREF dirSeparator) $(LREF driveName) $(LREF pathSeparator) $(LREF pathSplitter) $(LREF relativePath) $(LREF rootName) $(LREF stripDrive) )) $(TR $(TD Validation) $(TD $(LREF isAbsolute) $(LREF isDirSeparator) $(LREF isRooted) $(LREF isValidFilename) $(LREF isValidPath) )) $(TR $(TD Extension) $(TD $(LREF defaultExtension) $(LREF extension) $(LREF setExtension) $(LREF stripExtension) $(LREF withDefaultExtension) $(LREF withExtension) )) $(TR $(TD Other) $(TD $(LREF filenameCharCmp) $(LREF filenameCmp) $(LREF globMatch) $(LREF CaseSensitive) )) )) Authors: Lars Tandle Kyllingstad, $(HTTP digitalmars.com, Walter Bright), Grzegorz Adam Hankiewicz, Thomas K$(UUML)hne, $(HTTP erdani.org, Andrei Alexandrescu) Copyright: Copyright (c) 2000-2014, the authors. All rights reserved. License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0) Source: $(PHOBOSSRC std/path.d) */ module std.path; import std.file : getcwd; static import std.meta; import std.range.primitives; import std.traits; version (OSX) version = Darwin; else version (iOS) version = Darwin; else version (TVOS) version = Darwin; else version (WatchOS) version = Darwin; version (StdUnittest) { private: struct TestAliasedString { string get() @safe @nogc pure nothrow return scope { return _s; } alias get this; @disable this(this); string _s; } bool testAliasedString(alias func, Args...)(scope string s, scope Args args) { return func(TestAliasedString(s), args) == func(s, args); } } /** String used to separate directory names in a path. Under POSIX this is a slash, under Windows a backslash. */ version (Posix) enum string dirSeparator = "/"; else version (Windows) enum string dirSeparator = "\\"; else static assert(0, "unsupported platform"); /** Path separator string. A colon under POSIX, a semicolon under Windows. */ version (Posix) enum string pathSeparator = ":"; else version (Windows) enum string pathSeparator = ";"; else static assert(0, "unsupported platform"); /** Determines whether the given character is a directory separator. On Windows, this includes both $(D `\`) and $(D `/`). On POSIX, it's just $(D `/`). */ bool isDirSeparator(dchar c) @safe pure nothrow @nogc { if (c == '/') return true; version (Windows) if (c == '\\') return true; return false; } /// @safe pure nothrow @nogc unittest { version (Windows) { assert( '/'.isDirSeparator); assert( '\\'.isDirSeparator); } else { assert( '/'.isDirSeparator); assert(!'\\'.isDirSeparator); } } /* Determines whether the given character is a drive separator. On Windows, this is true if c is the ':' character that separates the drive letter from the rest of the path. On POSIX, this always returns false. */ private bool isDriveSeparator(dchar c) @safe pure nothrow @nogc { version (Windows) return c == ':'; else return false; } /* Combines the isDirSeparator and isDriveSeparator tests. */ version (Windows) private bool isSeparator(dchar c) @safe pure nothrow @nogc { return isDirSeparator(c) || isDriveSeparator(c); } version (Posix) private alias isSeparator = isDirSeparator; /* Helper function that determines the position of the last drive/directory separator in a string. Returns -1 if none is found. */ private ptrdiff_t lastSeparator(R)(R path) if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) { auto i = (cast(ptrdiff_t) path.length) - 1; while (i >= 0 && !isSeparator(path[i])) --i; return i; } version (Windows) { private bool isUNC(R)(R path) if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) { return path.length >= 3 && isDirSeparator(path[0]) && isDirSeparator(path[1]) && !isDirSeparator(path[2]); } private ptrdiff_t uncRootLength(R)(R path) if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) in { assert(isUNC(path)); } do { ptrdiff_t i = 3; while (i < path.length && !isDirSeparator(path[i])) ++i; if (i < path.length) { auto j = i; do { ++j; } while (j < path.length && isDirSeparator(path[j])); if (j < path.length) { do { ++j; } while (j < path.length && !isDirSeparator(path[j])); i = j; } } return i; } private bool hasDrive(R)(R path) if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) { return path.length >= 2 && isDriveSeparator(path[1]); } private bool isDriveRoot(R)(R path) if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) { return path.length >= 3 && isDriveSeparator(path[1]) && isDirSeparator(path[2]); } } /* Helper functions that strip leading/trailing slashes and backslashes from a path. */ private auto ltrimDirSeparators(R)(R path) if (isInputRange!R && !isInfinite!R && isSomeChar!(ElementType!R) || isNarrowString!R) { static if (isRandomAccessRange!R && hasSlicing!R || isNarrowString!R) { int i = 0; while (i < path.length && isDirSeparator(path[i])) ++i; return path[i .. path.length]; } else { while (!path.empty && isDirSeparator(path.front)) path.popFront(); return path; } } @safe unittest { import std.array; import std.utf : byDchar; assert(ltrimDirSeparators("//abc//").array == "abc//"); assert(ltrimDirSeparators("//abc//"d).array == "abc//"d); assert(ltrimDirSeparators("//abc//".byDchar).array == "abc//"d); } private auto rtrimDirSeparators(R)(R path) if (isBidirectionalRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) { static if (isRandomAccessRange!R && hasSlicing!R && hasLength!R || isNarrowString!R) { auto i = (cast(ptrdiff_t) path.length) - 1; while (i >= 0 && isDirSeparator(path[i])) --i; return path[0 .. i+1]; } else { while (!path.empty && isDirSeparator(path.back)) path.popBack(); return path; } } @safe unittest { import std.array; import std.utf : byDchar; assert(rtrimDirSeparators("//abc//").array == "//abc"); assert(rtrimDirSeparators("//abc//"d).array == "//abc"d); assert(rtrimDirSeparators(MockBiRange!char("//abc//")).array == "//abc"); } private auto trimDirSeparators(R)(R path) if (isBidirectionalRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) { return ltrimDirSeparators(rtrimDirSeparators(path)); } @safe unittest { import std.array; import std.utf : byDchar; assert(trimDirSeparators("//abc//").array == "abc"); assert(trimDirSeparators("//abc//"d).array == "abc"d); assert(trimDirSeparators(MockBiRange!char("//abc//")).array == "abc"); } /** This `enum` is used as a template argument to functions which compare file names, and determines whether the comparison is case sensitive or not. */ enum CaseSensitive : bool { /// File names are case insensitive no = false, /// File names are case sensitive yes = true, /** The default (or most common) setting for the current platform. That is, `no` on Windows and Mac OS X, and `yes` on all POSIX systems except Darwin (Linux, *BSD, etc.). */ osDefault = osDefaultCaseSensitivity } /// @safe unittest { assert(baseName!(CaseSensitive.no)("dir/file.EXT", ".ext") == "file"); assert(baseName!(CaseSensitive.yes)("dir/file.EXT", ".ext") != "file"); version (Posix) assert(relativePath!(CaseSensitive.no)("/FOO/bar", "/foo/baz") == "../bar"); else assert(relativePath!(CaseSensitive.no)(`c:\FOO\bar`, `c:\foo\baz`) == `..\bar`); } version (Windows) private enum osDefaultCaseSensitivity = false; else version (Darwin) private enum osDefaultCaseSensitivity = false; else version (Posix) private enum osDefaultCaseSensitivity = true; else static assert(0); /** Params: cs = Whether or not suffix matching is case-sensitive. path = A path name. It can be a string, or any random-access range of characters. suffix = An optional suffix to be removed from the file name. Returns: The name of the file in the path name, without any leading directory and with an optional suffix chopped off. If `suffix` is specified, it will be compared to `path` using `filenameCmp!cs`, where `cs` is an optional template parameter determining whether the comparison is case sensitive or not. See the $(LREF filenameCmp) documentation for details. Note: This function $(I only) strips away the specified suffix, which doesn't necessarily have to represent an extension. To remove the extension from a path, regardless of what the extension is, use $(LREF stripExtension). To obtain the filename without leading directories and without an extension, combine the functions like this: --- assert(baseName(stripExtension("dir/file.ext")) == "file"); --- Standards: This function complies with $(LINK2 http://pubs.opengroup.org/onlinepubs/9699919799/utilities/basename.html, the POSIX requirements for the 'basename' shell utility) (with suitable adaptations for Windows paths). */ auto baseName(R)(return scope R path) if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) && !isSomeString!R) { return _baseName(path); } /// ditto auto baseName(C)(return scope C[] path) if (isSomeChar!C) { return _baseName(path); } /// ditto inout(C)[] baseName(CaseSensitive cs = CaseSensitive.osDefault, C, C1) (return scope inout(C)[] path, in C1[] suffix) @safe pure //TODO: nothrow (because of filenameCmp()) if (isSomeChar!C && isSomeChar!C1) { auto p = baseName(path); if (p.length > suffix.length && filenameCmp!cs(cast(const(C)[])p[$-suffix.length .. $], suffix) == 0) { return p[0 .. $-suffix.length]; } else return p; } /// @safe unittest { assert(baseName("dir/file.ext") == "file.ext"); assert(baseName("dir/file.ext", ".ext") == "file"); assert(baseName("dir/file.ext", ".xyz") == "file.ext"); assert(baseName("dir/filename", "name") == "file"); assert(baseName("dir/subdir/") == "subdir"); version (Windows) { assert(baseName(`d:file.ext`) == "file.ext"); assert(baseName(`d:\dir\file.ext`) == "file.ext"); } } @safe unittest { assert(baseName("").empty); assert(baseName("file.ext"w) == "file.ext"); assert(baseName("file.ext"d, ".ext") == "file"); assert(baseName("file", "file"w.dup) == "file"); assert(baseName("dir/file.ext"d.dup) == "file.ext"); assert(baseName("dir/file.ext", ".ext"d) == "file"); assert(baseName("dir/file"w, "file"d) == "file"); assert(baseName("dir///subdir////") == "subdir"); assert(baseName("dir/subdir.ext/", ".ext") == "subdir"); assert(baseName("dir/subdir/".dup, "subdir") == "subdir"); assert(baseName("/"w.dup) == "/"); assert(baseName("//"d.dup) == "/"); assert(baseName("///") == "/"); assert(baseName!(CaseSensitive.yes)("file.ext", ".EXT") == "file.ext"); assert(baseName!(CaseSensitive.no)("file.ext", ".EXT") == "file"); { auto r = MockRange!(immutable(char))(`dir/file.ext`); auto s = r.baseName(); foreach (i, c; `file`) assert(s[i] == c); } version (Windows) { assert(baseName(`dir\file.ext`) == `file.ext`); assert(baseName(`dir\file.ext`, `.ext`) == `file`); assert(baseName(`dir\file`, `file`) == `file`); assert(baseName(`d:file.ext`) == `file.ext`); assert(baseName(`d:file.ext`, `.ext`) == `file`); assert(baseName(`d:file`, `file`) == `file`); assert(baseName(`dir\\subdir\\\`) == `subdir`); assert(baseName(`dir\subdir.ext\`, `.ext`) == `subdir`); assert(baseName(`dir\subdir\`, `subdir`) == `subdir`); assert(baseName(`\`) == `\`); assert(baseName(`\\`) == `\`); assert(baseName(`\\\`) == `\`); assert(baseName(`d:\`) == `\`); assert(baseName(`d:`).empty); assert(baseName(`\\server\share\file`) == `file`); assert(baseName(`\\server\share\`) == `\`); assert(baseName(`\\server\share`) == `\`); auto r = MockRange!(immutable(char))(`\\server\share`); auto s = r.baseName(); foreach (i, c; `\`) assert(s[i] == c); } assert(baseName(stripExtension("dir/file.ext")) == "file"); static assert(baseName("dir/file.ext") == "file.ext"); static assert(baseName("dir/file.ext", ".ext") == "file"); static struct DirEntry { string s; alias s this; } assert(baseName(DirEntry("dir/file.ext")) == "file.ext"); } @safe unittest { assert(testAliasedString!baseName("file")); enum S : string { a = "file/path/to/test" } assert(S.a.baseName == "test"); char[S.a.length] sa = S.a[]; assert(sa.baseName == "test"); } private R _baseName(R)(return scope R path) if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) || isNarrowString!R) { auto p1 = stripDrive(path); if (p1.empty) { version (Windows) if (isUNC(path)) return path[0 .. 1]; static if (isSomeString!R) return null; else return p1; // which is empty } auto p2 = rtrimDirSeparators(p1); if (p2.empty) return p1[0 .. 1]; return p2[lastSeparator(p2)+1 .. p2.length]; } /** Returns the parent directory of `path`. On Windows, this includes the drive letter if present. If `path` is a relative path and the parent directory is the current working directory, returns `"."`. Params: path = A path name. Returns: A slice of `path` or `"."`. Standards: This function complies with $(LINK2 http://pubs.opengroup.org/onlinepubs/9699919799/utilities/dirname.html, the POSIX requirements for the 'dirname' shell utility) (with suitable adaptations for Windows paths). */ auto dirName(R)(return scope R path) if (isRandomAccessRange!R && hasSlicing!R && hasLength!R && isSomeChar!(ElementType!R) && !isSomeString!R) { return _dirName(path); } /// ditto auto dirName(C)(return scope C[] path) if (isSomeChar!C) { return _dirName(path); } /// @safe unittest { assert(dirName("") == "."); assert(dirName("file"w) == "."); assert(dirName("dir/"d) == "."); assert(dirName("dir///") == "."); assert(dirName("dir/file"w.dup) == "dir"); assert(dirName("dir///file"d.dup) == "dir"); assert(dirName("dir/subdir/") == "dir"); assert(dirName("/dir/file"w) == "/dir"); assert(dirName("/file"d) == "/"); assert(dirName("/") == "/"); assert(dirName("///") == "/"); version (Windows) { assert(dirName(`dir\`) == `.`); assert(dirName(`dir\\\`) == `.`); assert(dirName(`dir\file`) == `dir`); assert(dirName(`dir\\\file`) == `dir`); assert(dirName(`dir\subdir\`) == `dir`); assert(dirName(`\dir\file`) == `\dir`); assert(dirName(`\file`) == `\`); assert(dirName(`\`) == `\`); assert(dirName(`\\\`) == `\`); assert(dirName(`d:`) == `d:`); assert(dirName(`d:file`) == `d:`); assert(dirName(`d:\`) == `d:\`); assert(dirName(`d:\file`) == `d:\`); assert(dirName(`d:\dir\file`) == `d:\dir`); assert(dirName(`\\server\share\dir\file`) == `\\server\share\dir`); assert(dirName(`\\server\share\file`) == `\\server\share`); assert(dirName(`\\server\share\`) == `\\server\share`); assert(dirName(`\\server\share`) == `\\server\share`); } } @safe unittest { assert(testAliasedString!dirName("file")); enum S : string { a = "file/path/to/test" } assert(S.a.dirName == "file/path/to"); char[S.a.length] sa = S.a[]; assert(sa.dirName == "file/path/to"); } @safe unittest { static assert(dirName("dir/file") == "dir"); import std.array; import std.utf : byChar, byWchar, byDchar; assert(dirName("".byChar).array == "."); assert(dirName("file"w.byWchar).array == "."w); assert(dirName("dir/"d.byDchar).array == "."d); assert(dirName("dir///".byChar).array == "."); assert(dirName("dir/subdir/".byChar).array == "dir"); assert(dirName("/dir/file"w.byWchar).array == "/dir"w); assert(dirName("/file"d.byDchar).array == "/"d); assert(dirName("/".byChar).array == "/"); assert(dirName("///".byChar).array == "/"); version (Windows) { assert(dirName(`dir\`.byChar).array == `.`); assert(dirName(`dir\\\`.byChar).array == `.`); assert(dirName(`dir\file`.byChar).array == `dir`); assert(dirName(`dir\\\file`.byChar).array == `dir`); assert(dirName(`dir\subdir\`.byChar).array == `dir`); assert(dirName(`\dir\file`.byChar).array == `\dir`); assert(dirName(`\file`.byChar).array == `\`); assert(dirName(`\`.byChar).array == `\`); assert(dirName(`\\\`.byChar).array == `\`); assert(dirName(`d:`.byChar).array == `d:`); assert(dirName(`d:file`.byChar).array == `d:`); assert(dirName(`d:\`.byChar).array == `d:\`); assert(dirName(`d:\file`.byChar).array == `d:\`); assert(dirName(`d:\dir\file`.byChar).array == `d:\dir`); assert(dirName(`\\server\share\dir\file`.byChar).array == `\\server\share\dir`); assert(dirName(`\\server\share\file`) == `\\server\share`); assert(dirName(`\\server\share\`.byChar).array == `\\server\share`); assert(dirName(`\\server\share`.byChar).array == `\\server\share`); } //static assert(dirName("dir/file".byChar).array == "dir"); } private auto _dirName(R)(return scope R path) { static auto result(bool dot, typeof(path[0 .. 1]) p) { static if (isSomeString!R) return dot ? "." : p; else { import std.range : choose, only; return choose(dot, only(cast(ElementEncodingType!R)'.'), p); } } if (path.empty) return result(true, path[0 .. 0]); auto p = rtrimDirSeparators(path); if (p.empty) return result(false, path[0 .. 1]); version (Windows) { if (isUNC(p) && uncRootLength(p) == p.length) return result(false, p); if (p.length == 2 && isDriveSeparator(p[1]) && path.length > 2) return result(false, path[0 .. 3]); } auto i = lastSeparator(p); if (i == -1) return result(true, p); if (i == 0) return result(false, p[0 .. 1]); version (Windows) { // If the directory part is either d: or d:\ // do not chop off the last symbol. if (isDriveSeparator(p[i]) || isDriveSeparator(p[i-1])) return result(false, p[0 .. i+1]); } // Remove any remaining trailing (back)slashes. return result(false, rtrimDirSeparators(p[0 .. i])); } /** Returns the root directory of the specified path, or `null` if the path is not rooted. Params: path = A path name. Returns: A slice of `path`. */ auto rootName(R)(R path) if (isRandomAccessRange!R && hasSlicing!R && hasLength!R && isSomeChar!(ElementType!R) && !isSomeString!R) { return _rootName(path); } /// ditto auto rootName(C)(C[] path) if (isSomeChar!C) { return _rootName(path); } /// @safe unittest { assert(rootName("") is null); assert(rootName("foo") is null); assert(rootName("/") == "/"); assert(rootName("/foo/bar") == "/"); version (Windows) { assert(rootName("d:foo") is null); assert(rootName(`d:\foo`) == `d:\`); assert(rootName(`\\server\share\foo`) == `\\server\share`); assert(rootName(`\\server\share`) == `\\server\share`); } } @safe unittest { assert(testAliasedString!rootName("/foo/bar")); enum S : string { a = "/foo/bar" } assert(S.a.rootName == "/"); char[S.a.length] sa = S.a[]; assert(sa.rootName == "/"); } @safe unittest { import std.array; import std.utf : byChar; assert(rootName("".byChar).array == ""); assert(rootName("foo".byChar).array == ""); assert(rootName("/".byChar).array == "/"); assert(rootName("/foo/bar".byChar).array == "/"); version (Windows) { assert(rootName("d:foo".byChar).array == ""); assert(rootName(`d:\foo`.byChar).array == `d:\`); assert(rootName(`\\server\share\foo`.byChar).array == `\\server\share`); assert(rootName(`\\server\share`.byChar).array == `\\server\share`); } } private auto _rootName(R)(R path) { if (path.empty) goto Lnull; version (Posix) { if (isDirSeparator(path[0])) return path[0 .. 1]; } else version (Windows) { if (isDirSeparator(path[0])) { if (isUNC(path)) return path[0 .. uncRootLength(path)]; else return path[0 .. 1]; } else if (path.length >= 3 && isDriveSeparator(path[1]) && isDirSeparator(path[2])) { return path[0 .. 3]; } } else static assert(0, "unsupported platform"); assert(!isRooted(path)); Lnull: static if (is(StringTypeOf!R)) return null; // legacy code may rely on null return rather than slice else return path[0 .. 0]; } /** Get the drive portion of a path. Params: path = string or range of characters Returns: A slice of `path` that is the drive, or an empty range if the drive is not specified. In the case of UNC paths, the network share is returned. Always returns an empty range on POSIX. */ auto driveName(R)(R path) if (isRandomAccessRange!R && hasSlicing!R && hasLength!R && isSomeChar!(ElementType!R) && !isSomeString!R) { return _driveName(path); } /// ditto auto driveName(C)(C[] path) if (isSomeChar!C) { return _driveName(path); } /// @safe unittest { import std.range : empty; version (Posix) assert(driveName("c:/foo").empty); version (Windows) { assert(driveName(`dir\file`).empty); assert(driveName(`d:file`) == "d:"); assert(driveName(`d:\file`) == "d:"); assert(driveName("d:") == "d:"); assert(driveName(`\\server\share\file`) == `\\server\share`); assert(driveName(`\\server\share\`) == `\\server\share`); assert(driveName(`\\server\share`) == `\\server\share`); static assert(driveName(`d:\file`) == "d:"); } } @safe unittest { assert(testAliasedString!driveName("d:/file")); version (Posix) immutable result = ""; else version (Windows) immutable result = "d:"; enum S : string { a = "d:/file" } assert(S.a.driveName == result); char[S.a.length] sa = S.a[]; assert(sa.driveName == result); } @safe unittest { import std.array; import std.utf : byChar; version (Posix) assert(driveName("c:/foo".byChar).empty); version (Windows) { assert(driveName(`dir\file`.byChar).empty); assert(driveName(`d:file`.byChar).array == "d:"); assert(driveName(`d:\file`.byChar).array == "d:"); assert(driveName("d:".byChar).array == "d:"); assert(driveName(`\\server\share\file`.byChar).array == `\\server\share`); assert(driveName(`\\server\share\`.byChar).array == `\\server\share`); assert(driveName(`\\server\share`.byChar).array == `\\server\share`); static assert(driveName(`d:\file`).array == "d:"); } } private auto _driveName(R)(R path) { version (Windows) { if (hasDrive(path)) return path[0 .. 2]; else if (isUNC(path)) return path[0 .. uncRootLength(path)]; } static if (isSomeString!R) return cast(ElementEncodingType!R[]) null; // legacy code may rely on null return rather than slice else return path[0 .. 0]; } /** Strips the drive from a Windows path. On POSIX, the path is returned unaltered. Params: path = A pathname Returns: A slice of path without the drive component. */ auto stripDrive(R)(R path) if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) && !isSomeString!R) { return _stripDrive(path); } /// ditto auto stripDrive(C)(C[] path) if (isSomeChar!C) { return _stripDrive(path); } /// @safe unittest { version (Windows) { assert(stripDrive(`d:\dir\file`) == `\dir\file`); assert(stripDrive(`\\server\share\dir\file`) == `\dir\file`); } } @safe unittest { assert(testAliasedString!stripDrive("d:/dir/file")); version (Posix) immutable result = "d:/dir/file"; else version (Windows) immutable result = "/dir/file"; enum S : string { a = "d:/dir/file" } assert(S.a.stripDrive == result); char[S.a.length] sa = S.a[]; assert(sa.stripDrive == result); } @safe unittest { version (Windows) { assert(stripDrive(`d:\dir\file`) == `\dir\file`); assert(stripDrive(`\\server\share\dir\file`) == `\dir\file`); static assert(stripDrive(`d:\dir\file`) == `\dir\file`); auto r = MockRange!(immutable(char))(`d:\dir\file`); auto s = r.stripDrive(); foreach (i, c; `\dir\file`) assert(s[i] == c); } version (Posix) { assert(stripDrive(`d:\dir\file`) == `d:\dir\file`); auto r = MockRange!(immutable(char))(`d:\dir\file`); auto s = r.stripDrive(); foreach (i, c; `d:\dir\file`) assert(s[i] == c); } } private auto _stripDrive(R)(R path) { version (Windows) { if (hasDrive!(BaseOf!R)(path)) return path[2 .. path.length]; else if (isUNC!(BaseOf!R)(path)) return path[uncRootLength!(BaseOf!R)(path) .. path.length]; } return path; } /* Helper function that returns the position of the filename/extension separator dot in path. Params: path = file spec as string or indexable range Returns: index of extension separator (the dot), or -1 if not found */ private ptrdiff_t extSeparatorPos(R)(const R path) if (isRandomAccessRange!R && hasLength!R && isSomeChar!(ElementType!R) || isNarrowString!R) { for (auto i = path.length; i-- > 0 && !isSeparator(path[i]); ) { if (path[i] == '.' && i > 0 && !isSeparator(path[i-1])) return i; } return -1; } @safe unittest { assert(extSeparatorPos("file") == -1); assert(extSeparatorPos("file.ext"w) == 4); assert(extSeparatorPos("file.ext1.ext2"d) == 9); assert(extSeparatorPos(".foo".dup) == -1); assert(extSeparatorPos(".foo.ext"w.dup) == 4); } @safe unittest { assert(extSeparatorPos("dir/file"d.dup) == -1); assert(extSeparatorPos("dir/file.ext") == 8); assert(extSeparatorPos("dir/file.ext1.ext2"w) == 13); assert(extSeparatorPos("dir/.foo"d) == -1); assert(extSeparatorPos("dir/.foo.ext".dup) == 8); version (Windows) { assert(extSeparatorPos("dir\\file") == -1); assert(extSeparatorPos("dir\\file.ext") == 8); assert(extSeparatorPos("dir\\file.ext1.ext2") == 13); assert(extSeparatorPos("dir\\.foo") == -1); assert(extSeparatorPos("dir\\.foo.ext") == 8); assert(extSeparatorPos("d:file") == -1); assert(extSeparatorPos("d:file.ext") == 6); assert(extSeparatorPos("d:file.ext1.ext2") == 11); assert(extSeparatorPos("d:.foo") == -1); assert(extSeparatorPos("d:.foo.ext") == 6); } static assert(extSeparatorPos("file") == -1); static assert(extSeparatorPos("file.ext"w) == 4); } /** Params: path = A path name. Returns: The _extension part of a file name, including the dot. If there is no _extension, `null` is returned. */ auto extension(R)(R path) if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) || is(StringTypeOf!R)) { auto i = extSeparatorPos!(BaseOf!R)(path); if (i == -1) { static if (is(StringTypeOf!R)) return StringTypeOf!R.init[]; // which is null else return path[0 .. 0]; } else return path[i .. path.length]; } /// @safe unittest { import std.range : empty; assert(extension("file").empty); assert(extension("file.") == "."); assert(extension("file.ext"w) == ".ext"); assert(extension("file.ext1.ext2"d) == ".ext2"); assert(extension(".foo".dup).empty); assert(extension(".foo.ext"w.dup) == ".ext"); static assert(extension("file").empty); static assert(extension("file.ext") == ".ext"); } @safe unittest { { auto r = MockRange!(immutable(char))(`file.ext1.ext2`); auto s = r.extension(); foreach (i, c; `.ext2`) assert(s[i] == c); } static struct DirEntry { string s; alias s this; } assert(extension(DirEntry("file")).empty); } /** Remove extension from path. Params: path = string or range to be sliced Returns: slice of path with the extension (if any) stripped off */ auto stripExtension(R)(R path) if (isRandomAccessRange!R && hasSlicing!R && hasLength!R && isSomeChar!(ElementType!R) && !isSomeString!R) { return _stripExtension(path); } /// Ditto auto stripExtension(C)(C[] path) if (isSomeChar!C) { return _stripExtension(path); } /// @safe unittest { assert(stripExtension("file") == "file"); assert(stripExtension("file.ext") == "file"); assert(stripExtension("file.ext1.ext2") == "file.ext1"); assert(stripExtension("file.") == "file"); assert(stripExtension(".file") == ".file"); assert(stripExtension(".file.ext") == ".file"); assert(stripExtension("dir/file.ext") == "dir/file"); } @safe unittest { assert(testAliasedString!stripExtension("file")); enum S : string { a = "foo.bar" } assert(S.a.stripExtension == "foo"); char[S.a.length] sa = S.a[]; assert(sa.stripExtension == "foo"); } @safe unittest { assert(stripExtension("file.ext"w) == "file"); assert(stripExtension("file.ext1.ext2"d) == "file.ext1"); import std.array; import std.utf : byChar, byWchar, byDchar; assert(stripExtension("file".byChar).array == "file"); assert(stripExtension("file.ext"w.byWchar).array == "file"); assert(stripExtension("file.ext1.ext2"d.byDchar).array == "file.ext1"); } private auto _stripExtension(R)(R path) { immutable i = extSeparatorPos(path); return i == -1 ? path : path[0 .. i]; } /** Sets or replaces an extension. If the filename already has an extension, it is replaced. If not, the extension is simply appended to the filename. Including a leading dot in `ext` is optional. If the extension is empty, this function is equivalent to $(LREF stripExtension). This function normally allocates a new string (the possible exception being the case when path is immutable and doesn't already have an extension). Params: path = A path name ext = The new extension Returns: A string containing the path given by `path`, but where the extension has been set to `ext`. See_Also: $(LREF withExtension) which does not allocate and returns a lazy range. */ immutable(C1)[] setExtension(C1, C2)(in C1[] path, in C2[] ext) if (isSomeChar!C1 && !is(C1 == immutable) && is(immutable C1 == immutable C2)) { try { import std.conv : to; return withExtension(path, ext).to!(typeof(return)); } catch (Exception e) { assert(0); } } ///ditto immutable(C1)[] setExtension(C1, C2)(immutable(C1)[] path, const(C2)[] ext) if (isSomeChar!C1 && is(immutable C1 == immutable C2)) { if (ext.length == 0) return stripExtension(path); try { import std.conv : to; return withExtension(path, ext).to!(typeof(return)); } catch (Exception e) { assert(0); } } /// @safe unittest { assert(setExtension("file", "ext") == "file.ext"); assert(setExtension("file"w, ".ext"w) == "file.ext"); assert(setExtension("file."d, "ext"d) == "file.ext"); assert(setExtension("file.", ".ext") == "file.ext"); assert(setExtension("file.old"w, "new"w) == "file.new"); assert(setExtension("file.old"d, ".new"d) == "file.new"); } @safe unittest { assert(setExtension("file"w.dup, "ext"w) == "file.ext"); assert(setExtension("file"w.dup, ".ext"w) == "file.ext"); assert(setExtension("file."w, "ext"w.dup) == "file.ext"); assert(setExtension("file."w, ".ext"w.dup) == "file.ext"); assert(setExtension("file.old"d.dup, "new"d) == "file.new"); assert(setExtension("file.old"d.dup, ".new"d) == "file.new"); static assert(setExtension("file", "ext") == "file.ext"); static assert(setExtension("file.old", "new") == "file.new"); static assert(setExtension("file"w.dup, "ext"w) == "file.ext"); static assert(setExtension("file.old"d.dup, "new"d) == "file.new"); // https://issues.dlang.org/show_bug.cgi?id=10601 assert(setExtension("file", "") == "file"); assert(setExtension("file.ext", "") == "file"); } /************ * Replace existing extension on filespec with new one. * * Params: * path = string or random access range representing a filespec * ext = the new extension * Returns: * Range with `path`'s extension (if any) replaced with `ext`. * The element encoding type of the returned range will be the same as `path`'s. * See_Also: * $(LREF setExtension) */ auto withExtension(R, C)(R path, C[] ext) if (isRandomAccessRange!R && hasSlicing!R && hasLength!R && isSomeChar!(ElementType!R) && !isSomeString!R && isSomeChar!C) { return _withExtension(path, ext); } /// Ditto auto withExtension(C1, C2)(C1[] path, C2[] ext) if (isSomeChar!C1 && isSomeChar!C2) { return _withExtension(path, ext); } /// @safe unittest { import std.array; assert(withExtension("file", "ext").array == "file.ext"); assert(withExtension("file"w, ".ext"w).array == "file.ext"); assert(withExtension("file.ext"w, ".").array == "file."); import std.utf : byChar, byWchar; assert(withExtension("file".byChar, "ext").array == "file.ext"); assert(withExtension("file"w.byWchar, ".ext"w).array == "file.ext"w); assert(withExtension("file.ext"w.byWchar, ".").array == "file."w); } @safe unittest { import std.algorithm.comparison : equal; assert(testAliasedString!withExtension("file", "ext")); enum S : string { a = "foo.bar" } assert(equal(S.a.withExtension(".txt"), "foo.txt")); char[S.a.length] sa = S.a[]; assert(equal(sa.withExtension(".txt"), "foo.txt")); } private auto _withExtension(R, C)(R path, C[] ext) { import std.range : only, chain; import std.utf : byUTF; alias CR = Unqual!(ElementEncodingType!R); auto dot = only(CR('.')); if (ext.length == 0 || ext[0] == '.') dot.popFront(); // so dot is an empty range, too return chain(stripExtension(path).byUTF!CR, dot, ext.byUTF!CR); } /** Params: path = A path name. ext = The default extension to use. Returns: The path given by `path`, with the extension given by `ext` appended if the path doesn't already have one. Including the dot in the extension is optional. This function always allocates a new string, except in the case when path is immutable and already has an extension. */ immutable(C1)[] defaultExtension(C1, C2)(in C1[] path, in C2[] ext) if (isSomeChar!C1 && is(immutable C1 == immutable C2)) { import std.conv : to; return withDefaultExtension(path, ext).to!(typeof(return)); } /// @safe unittest { assert(defaultExtension("file", "ext") == "file.ext"); assert(defaultExtension("file", ".ext") == "file.ext"); assert(defaultExtension("file.", "ext") == "file."); assert(defaultExtension("file.old", "new") == "file.old"); assert(defaultExtension("file.old", ".new") == "file.old"); } @safe unittest { assert(defaultExtension("file"w.dup, "ext"w) == "file.ext"); assert(defaultExtension("file.old"d.dup, "new"d) == "file.old"); static assert(defaultExtension("file", "ext") == "file.ext"); static assert(defaultExtension("file.old", "new") == "file.old"); static assert(defaultExtension("file"w.dup, "ext"w) == "file.ext"); static assert(defaultExtension("file.old"d.dup, "new"d) == "file.old"); } /******************************** * Set the extension of `path` to `ext` if `path` doesn't have one. * * Params: * path = filespec as string or range * ext = extension, may have leading '.' * Returns: * range with the result */ auto withDefaultExtension(R, C)(R path, C[] ext) if (isRandomAccessRange!R && hasSlicing!R && hasLength!R && isSomeChar!(ElementType!R) && !isSomeString!R && isSomeChar!C) { return _withDefaultExtension(path, ext); } /// Ditto auto withDefaultExtension(C1, C2)(C1[] path, C2[] ext) if (isSomeChar!C1 && isSomeChar!C2) { return _withDefaultExtension(path, ext); } /// @safe unittest { import std.array; assert(withDefaultExtension("file", "ext").array == "file.ext"); assert(withDefaultExtension("file"w, ".ext").array == "file.ext"w); assert(withDefaultExtension("file.", "ext").array == "file."); assert(withDefaultExtension("file", "").array == "file."); import std.utf : byChar, byWchar; assert(withDefaultExtension("file".byChar, "ext").array == "file.ext"); assert(withDefaultExtension("file"w.byWchar, ".ext").array == "file.ext"w); assert(withDefaultExtension("file.".byChar, "ext"d).array == "file."); assert(withDefaultExtension("file".byChar, "").array == "file."); } @safe unittest { import std.algorithm.comparison : equal; assert(testAliasedString!withDefaultExtension("file", "ext")); enum S : string { a = "foo" } assert(equal(S.a.withDefaultExtension(".txt"), "foo.txt")); char[S.a.length] sa = S.a[]; assert(equal(sa.withDefaultExtension(".txt"), "foo.txt")); } private auto _withDefaultExtension(R, C)(R path, C[] ext) { import std.range : only, chain; import std.utf : byUTF; alias CR = Unqual!(ElementEncodingType!R); auto dot = only(CR('.')); immutable i = extSeparatorPos(path); if (i == -1) { if (ext.length > 0 && ext[0] == '.') ext = ext[1 .. $]; // remove any leading . from ext[] } else { // path already has an extension, so make these empty ext = ext[0 .. 0]; dot.popFront(); } return chain(path.byUTF!CR, dot, ext.byUTF!CR); } /** Combines one or more path segments. This function takes a set of path segments, given as an input range of string elements or as a set of string arguments, and concatenates them with each other. Directory separators are inserted between segments if necessary. If any of the path segments are absolute (as defined by $(LREF isAbsolute)), the preceding segments will be dropped. On Windows, if one of the path segments are rooted, but not absolute (e.g. $(D `\foo`)), all preceding path segments down to the previous root will be dropped. (See below for an example.) This function always allocates memory to hold the resulting path. The variadic overload is guaranteed to only perform a single allocation, as is the range version if `paths` is a forward range. Params: segments = An $(REF_ALTTEXT input range, isInputRange, std,range,primitives) of segments to assemble the path from. Returns: The assembled path. */ immutable(ElementEncodingType!(ElementType!Range))[] buildPath(Range)(scope Range segments) if (isInputRange!Range && !isInfinite!Range && isSomeString!(ElementType!Range)) { if (segments.empty) return null; // If this is a forward range, we can pre-calculate a maximum length. static if (isForwardRange!Range) { auto segments2 = segments.save; size_t precalc = 0; foreach (segment; segments2) precalc += segment.length + 1; } // Otherwise, just venture a guess and resize later if necessary. else size_t precalc = 255; auto buf = new Unqual!(ElementEncodingType!(ElementType!Range))[](precalc); size_t pos = 0; foreach (segment; segments) { if (segment.empty) continue; static if (!isForwardRange!Range) { immutable neededLength = pos + segment.length + 1; if (buf.length < neededLength) buf.length = reserve(buf, neededLength + buf.length/2); } auto r = chainPath(buf[0 .. pos], segment); size_t i; foreach (c; r) { buf[i] = c; ++i; } pos = i; } static U trustedCast(U, V)(V v) @trusted pure nothrow { return cast(U) v; } return trustedCast!(typeof(return))(buf[0 .. pos]); } /// ditto immutable(C)[] buildPath(C)(const(C)[][] paths...) @safe pure nothrow if (isSomeChar!C) { return buildPath!(typeof(paths))(paths); } /// @safe unittest { version (Posix) { assert(buildPath("foo", "bar", "baz") == "foo/bar/baz"); assert(buildPath("/foo/", "bar/baz") == "/foo/bar/baz"); assert(buildPath("/foo", "/bar") == "/bar"); } version (Windows) { assert(buildPath("foo", "bar", "baz") == `foo\bar\baz`); assert(buildPath(`c:\foo`, `bar\baz`) == `c:\foo\bar\baz`); assert(buildPath("foo", `d:\bar`) == `d:\bar`); assert(buildPath("foo", `\bar`) == `\bar`); assert(buildPath(`c:\foo`, `\bar`) == `c:\bar`); } } @system unittest // non-documented { import std.range; // ir() wraps an array in a plain (i.e. non-forward) input range, so that // we can test both code paths InputRange!(C[]) ir(C)(C[][] p...) { return inputRangeObject(p); } version (Posix) { assert(buildPath("foo") == "foo"); assert(buildPath("/foo/") == "/foo/"); assert(buildPath("foo", "bar") == "foo/bar"); assert(buildPath("foo", "bar", "baz") == "foo/bar/baz"); assert(buildPath("foo/".dup, "bar") == "foo/bar"); assert(buildPath("foo///", "bar".dup) == "foo///bar"); assert(buildPath("/foo"w, "bar"w) == "/foo/bar"); assert(buildPath("foo"w.dup, "/bar"w) == "/bar"); assert(buildPath("foo"w, "bar/"w.dup) == "foo/bar/"); assert(buildPath("/"d, "foo"d) == "/foo"); assert(buildPath(""d.dup, "foo"d) == "foo"); assert(buildPath("foo"d, ""d.dup) == "foo"); assert(buildPath("foo", "bar".dup, "baz") == "foo/bar/baz"); assert(buildPath("foo"w, "/bar"w, "baz"w.dup) == "/bar/baz"); static assert(buildPath("foo", "bar", "baz") == "foo/bar/baz"); static assert(buildPath("foo", "/bar", "baz") == "/bar/baz"); // The following are mostly duplicates of the above, except that the // range version does not accept mixed constness. assert(buildPath(ir("foo")) == "foo"); assert(buildPath(ir("/foo/")) == "/foo/"); assert(buildPath(ir("foo", "bar")) == "foo/bar"); assert(buildPath(ir("foo", "bar", "baz")) == "foo/bar/baz"); assert(buildPath(ir("foo/".dup, "bar".dup)) == "foo/bar"); assert(buildPath(ir("foo///".dup, "bar".dup)) == "foo///bar"); assert(buildPath(ir("/foo"w, "bar"w)) == "/foo/bar"); assert(buildPath(ir("foo"w.dup, "/bar"w.dup)) == "/bar"); assert(buildPath(ir("foo"w.dup, "bar/"w.dup)) == "foo/bar/"); assert(buildPath(ir("/"d, "foo"d)) == "/foo"); assert(buildPath(ir(""d.dup, "foo"d.dup)) == "foo"); assert(buildPath(ir("foo"d, ""d)) == "foo"); assert(buildPath(ir("foo", "bar", "baz")) == "foo/bar/baz"); assert(buildPath(ir("foo"w.dup, "/bar"w.dup, "baz"w.dup)) == "/bar/baz"); } version (Windows) { assert(buildPath("foo") == "foo"); assert(buildPath(`\foo/`) == `\foo/`); assert(buildPath("foo", "bar", "baz") == `foo\bar\baz`); assert(buildPath("foo", `\bar`) == `\bar`); assert(buildPath(`c:\foo`, "bar") == `c:\foo\bar`); assert(buildPath("foo"w, `d:\bar`w.dup) == `d:\bar`); assert(buildPath(`c:\foo\bar`, `\baz`) == `c:\baz`); assert(buildPath(`\\foo\bar\baz`d, `foo`d, `\bar`d) == `\\foo\bar\bar`d); static assert(buildPath("foo", "bar", "baz") == `foo\bar\baz`); static assert(buildPath("foo", `c:\bar`, "baz") == `c:\bar\baz`); assert(buildPath(ir("foo")) == "foo"); assert(buildPath(ir(`\foo/`)) == `\foo/`); assert(buildPath(ir("foo", "bar", "baz")) == `foo\bar\baz`); assert(buildPath(ir("foo", `\bar`)) == `\bar`); assert(buildPath(ir(`c:\foo`, "bar")) == `c:\foo\bar`); assert(buildPath(ir("foo"w.dup, `d:\bar`w.dup)) == `d:\bar`); assert(buildPath(ir(`c:\foo\bar`, `\baz`)) == `c:\baz`); assert(buildPath(ir(`\\foo\bar\baz`d, `foo`d, `\bar`d)) == `\\foo\bar\bar`d); } // Test that allocation works as it should. auto manyShort = "aaa".repeat(1000).array(); auto manyShortCombined = join(manyShort, dirSeparator); assert(buildPath(manyShort) == manyShortCombined); assert(buildPath(ir(manyShort)) == manyShortCombined); auto fewLong = 'b'.repeat(500).array().repeat(10).array(); auto fewLongCombined = join(fewLong, dirSeparator); assert(buildPath(fewLong) == fewLongCombined); assert(buildPath(ir(fewLong)) == fewLongCombined); } @safe unittest { // Test for issue 7397 string[] ary = ["a", "b"]; version (Posix) { assert(buildPath(ary) == "a/b"); } else version (Windows) { assert(buildPath(ary) == `a\b`); } } /** * Concatenate path segments together to form one path. * * Params: * r1 = first segment * r2 = second segment * ranges = 0 or more segments * Returns: * Lazy range which is the concatenation of r1, r2 and ranges with path separators. * The resulting element type is that of r1. * See_Also: * $(LREF buildPath) */ auto chainPath(R1, R2, Ranges...)(R1 r1, R2 r2, Ranges ranges) if ((isRandomAccessRange!R1 && hasSlicing!R1 && hasLength!R1 && isSomeChar!(ElementType!R1) || isNarrowString!R1 && !isConvertibleToString!R1) && (isRandomAccessRange!R2 && hasSlicing!R2 && hasLength!R2 && isSomeChar!(ElementType!R2) || isNarrowString!R2 && !isConvertibleToString!R2) && (Ranges.length == 0 || is(typeof(chainPath(r2, ranges)))) ) { static if (Ranges.length) { return chainPath(chainPath(r1, r2), ranges); } else { import std.range : only, chain; import std.utf : byUTF; alias CR = Unqual!(ElementEncodingType!R1); auto sep = only(CR(dirSeparator[0])); bool usesep = false; auto pos = r1.length; if (pos) { if (isRooted(r2)) { version (Posix) { pos = 0; } else version (Windows) { if (isAbsolute(r2)) pos = 0; else { pos = rootName(r1).length; if (pos > 0 && isDirSeparator(r1[pos - 1])) --pos; } } else static assert(0); } else if (!isDirSeparator(r1[pos - 1])) usesep = true; } if (!usesep) sep.popFront(); // Return r1 ~ '/' ~ r2 return chain(r1[0 .. pos].byUTF!CR, sep, r2.byUTF!CR); } } /// @safe unittest { import std.array; version (Posix) { assert(chainPath("foo", "bar", "baz").array == "foo/bar/baz"); assert(chainPath("/foo/", "bar/baz").array == "/foo/bar/baz"); assert(chainPath("/foo", "/bar").array == "/bar"); } version (Windows) { assert(chainPath("foo", "bar", "baz").array == `foo\bar\baz`); assert(chainPath(`c:\foo`, `bar\baz`).array == `c:\foo\bar\baz`); assert(chainPath("foo", `d:\bar`).array == `d:\bar`); assert(chainPath("foo", `\bar`).array == `\bar`); assert(chainPath(`c:\foo`, `\bar`).array == `c:\bar`); } import std.utf : byChar; version (Posix) { assert(chainPath("foo", "bar", "baz").array == "foo/bar/baz"); assert(chainPath("/foo/".byChar, "bar/baz").array == "/foo/bar/baz"); assert(chainPath("/foo", "/bar".byChar).array == "/bar"); } version (Windows) { assert(chainPath("foo", "bar", "baz").array == `foo\bar\baz`); assert(chainPath(`c:\foo`.byChar, `bar\baz`).array == `c:\foo\bar\baz`); assert(chainPath("foo", `d:\bar`).array == `d:\bar`); assert(chainPath("foo", `\bar`.byChar).array == `\bar`); assert(chainPath(`c:\foo`, `\bar`w).array == `c:\bar`); } } auto chainPath(Ranges...)(auto ref Ranges ranges) if (Ranges.length >= 2 && std.meta.anySatisfy!(isConvertibleToString, Ranges)) { import std.meta : staticMap; alias Types = staticMap!(convertToString, Ranges); return chainPath!Types(ranges); } @safe unittest { assert(chainPath(TestAliasedString(null), TestAliasedString(null), TestAliasedString(null)).empty); assert(chainPath(TestAliasedString(null), TestAliasedString(null), "").empty); assert(chainPath(TestAliasedString(null), "", TestAliasedString(null)).empty); static struct S { string s; } static assert(!__traits(compiles, chainPath(TestAliasedString(null), S(""), TestAliasedString(null)))); } /** Performs the same task as $(LREF buildPath), while at the same time resolving current/parent directory symbols (`"."` and `".."`) and removing superfluous directory separators. It will return "." if the path leads to the starting directory. On Windows, slashes are replaced with backslashes. Using buildNormalizedPath on null paths will always return null. Note that this function does not resolve symbolic links. This function always allocates memory to hold the resulting path. Use $(LREF asNormalizedPath) to not allocate memory. Params: paths = An array of paths to assemble. Returns: The assembled path. */ immutable(C)[] buildNormalizedPath(C)(const(C[])[] paths...) @safe pure nothrow if (isSomeChar!C) { import std.array : array; import std.exception : assumeUnique; const(C)[] chained; foreach (path; paths) { if (chained) chained = chainPath(chained, path).array; else chained = path; } auto result = asNormalizedPath(chained); // .array returns a copy, so it is unique return () @trusted { return assumeUnique(result.array); } (); } /// @safe unittest { assert(buildNormalizedPath("foo", "..") == "."); version (Posix) { assert(buildNormalizedPath("/foo/./bar/..//baz/") == "/foo/baz"); assert(buildNormalizedPath("../foo/.") == "../foo"); assert(buildNormalizedPath("/foo", "bar/baz/") == "/foo/bar/baz"); assert(buildNormalizedPath("/foo", "/bar/..", "baz") == "/baz"); assert(buildNormalizedPath("foo/./bar", "../../", "../baz") == "../baz"); assert(buildNormalizedPath("/foo/./bar", "../../baz") == "/baz"); } version (Windows) { assert(buildNormalizedPath(`c:\foo\.\bar/..\\baz\`) == `c:\foo\baz`); assert(buildNormalizedPath(`..\foo\.`) == `..\foo`); assert(buildNormalizedPath(`c:\foo`, `bar\baz\`) == `c:\foo\bar\baz`); assert(buildNormalizedPath(`c:\foo`, `bar/..`) == `c:\foo`); assert(buildNormalizedPath(`\\server\share\foo`, `..\bar`) == `\\server\share\bar`); } } @safe unittest { assert(buildNormalizedPath(".", ".") == "."); assert(buildNormalizedPath("foo", "..") == "."); assert(buildNormalizedPath("", "") is null); assert(buildNormalizedPath("", ".") == "."); assert(buildNormalizedPath(".", "") == "."); assert(buildNormalizedPath(null, "foo") == "foo"); assert(buildNormalizedPath("", "foo") == "foo"); assert(buildNormalizedPath("", "") == ""); assert(buildNormalizedPath("", null) == ""); assert(buildNormalizedPath(null, "") == ""); assert(buildNormalizedPath!(char)(null, null) == ""); version (Posix) { assert(buildNormalizedPath("/", "foo", "bar") == "/foo/bar"); assert(buildNormalizedPath("foo", "bar", "baz") == "foo/bar/baz"); assert(buildNormalizedPath("foo", "bar/baz") == "foo/bar/baz"); assert(buildNormalizedPath("foo", "bar//baz///") == "foo/bar/baz"); assert(buildNormalizedPath("/foo", "bar/baz") == "/foo/bar/baz"); assert(buildNormalizedPath("/foo", "/bar/baz") == "/bar/baz"); assert(buildNormalizedPath("/foo/..", "/bar/./baz") == "/bar/baz"); assert(buildNormalizedPath("/foo/..", "bar/baz") == "/bar/baz"); assert(buildNormalizedPath("/foo/../../", "bar/baz") == "/bar/baz"); assert(buildNormalizedPath("/foo/bar", "../baz") == "/foo/baz"); assert(buildNormalizedPath("/foo/bar", "../../baz") == "/baz"); assert(buildNormalizedPath("/foo/bar", ".././/baz/..", "wee/") == "/foo/wee"); assert(buildNormalizedPath("//foo/bar", "baz///wee") == "/foo/bar/baz/wee"); static assert(buildNormalizedPath("/foo/..", "/bar/./baz") == "/bar/baz"); } else version (Windows) { assert(buildNormalizedPath(`\`, `foo`, `bar`) == `\foo\bar`); assert(buildNormalizedPath(`foo`, `bar`, `baz`) == `foo\bar\baz`); assert(buildNormalizedPath(`foo`, `bar\baz`) == `foo\bar\baz`); assert(buildNormalizedPath(`foo`, `bar\\baz\\\`) == `foo\bar\baz`); assert(buildNormalizedPath(`\foo`, `bar\baz`) == `\foo\bar\baz`); assert(buildNormalizedPath(`\foo`, `\bar\baz`) == `\bar\baz`); assert(buildNormalizedPath(`\foo\..`, `\bar\.\baz`) == `\bar\baz`); assert(buildNormalizedPath(`\foo\..`, `bar\baz`) == `\bar\baz`); assert(buildNormalizedPath(`\foo\..\..\`, `bar\baz`) == `\bar\baz`); assert(buildNormalizedPath(`\foo\bar`, `..\baz`) == `\foo\baz`); assert(buildNormalizedPath(`\foo\bar`, `../../baz`) == `\baz`); assert(buildNormalizedPath(`\foo\bar`, `..\.\/baz\..`, `wee\`) == `\foo\wee`); assert(buildNormalizedPath(`c:\`, `foo`, `bar`) == `c:\foo\bar`); assert(buildNormalizedPath(`c:foo`, `bar`, `baz`) == `c:foo\bar\baz`); assert(buildNormalizedPath(`c:foo`, `bar\baz`) == `c:foo\bar\baz`); assert(buildNormalizedPath(`c:foo`, `bar\\baz\\\`) == `c:foo\bar\baz`); assert(buildNormalizedPath(`c:\foo`, `bar\baz`) == `c:\foo\bar\baz`); assert(buildNormalizedPath(`c:\foo`, `\bar\baz`) == `c:\bar\baz`); assert(buildNormalizedPath(`c:\foo\..`, `\bar\.\baz`) == `c:\bar\baz`); assert(buildNormalizedPath(`c:\foo\..`, `bar\baz`) == `c:\bar\baz`); assert(buildNormalizedPath(`c:\foo\..\..\`, `bar\baz`) == `c:\bar\baz`); assert(buildNormalizedPath(`c:\foo\bar`, `..\baz`) == `c:\foo\baz`); assert(buildNormalizedPath(`c:\foo\bar`, `..\..\baz`) == `c:\baz`); assert(buildNormalizedPath(`c:\foo\bar`, `..\.\\baz\..`, `wee\`) == `c:\foo\wee`); assert(buildNormalizedPath(`\\server\share`, `foo`, `bar`) == `\\server\share\foo\bar`); assert(buildNormalizedPath(`\\server\share\`, `foo`, `bar`) == `\\server\share\foo\bar`); assert(buildNormalizedPath(`\\server\share\foo`, `bar\baz`) == `\\server\share\foo\bar\baz`); assert(buildNormalizedPath(`\\server\share\foo`, `\bar\baz`) == `\\server\share\bar\baz`); assert(buildNormalizedPath(`\\server\share\foo\..`, `\bar\.\baz`) == `\\server\share\bar\baz`); assert(buildNormalizedPath(`\\server\share\foo\..`, `bar\baz`) == `\\server\share\bar\baz`); assert(buildNormalizedPath(`\\server\share\foo\..\..\`, `bar\baz`) == `\\server\share\bar\baz`); assert(buildNormalizedPath(`\\server\share\foo\bar`, `..\baz`) == `\\server\share\foo\baz`); assert(buildNormalizedPath(`\\server\share\foo\bar`, `..\..\baz`) == `\\server\share\baz`); assert(buildNormalizedPath(`\\server\share\foo\bar`, `..\.\\baz\..`, `wee\`) == `\\server\share\foo\wee`); static assert(buildNormalizedPath(`\foo\..\..\`, `bar\baz`) == `\bar\baz`); } else static assert(0); } @safe unittest { // Test for issue 7397 string[] ary = ["a", "b"]; version (Posix) { assert(buildNormalizedPath(ary) == "a/b"); } else version (Windows) { assert(buildNormalizedPath(ary) == `a\b`); } } /** Normalize a path by resolving current/parent directory symbols (`"."` and `".."`) and removing superfluous directory separators. It will return "." if the path leads to the starting directory. On Windows, slashes are replaced with backslashes. Using asNormalizedPath on empty paths will always return an empty path. Does not resolve symbolic links. This function always allocates memory to hold the resulting path. Use $(LREF buildNormalizedPath) to allocate memory and return a string. Params: path = string or random access range representing the path to normalize Returns: normalized path as a forward range */ auto asNormalizedPath(R)(return scope R path) if (isSomeChar!(ElementEncodingType!R) && (isRandomAccessRange!R && hasSlicing!R && hasLength!R || isNarrowString!R) && !isConvertibleToString!R) { alias C = Unqual!(ElementEncodingType!R); alias S = typeof(path[0 .. 0]); static struct Result { @property bool empty() { return c == c.init; } @property C front() { return c; } void popFront() { C lastc = c; c = c.init; if (!element.empty) { c = getElement0(); return; } L1: while (1) { if (elements.empty) { element = element[0 .. 0]; return; } element = elements.front; elements.popFront(); if (isDot(element) || (rooted && isDotDot(element))) continue; if (rooted || !isDotDot(element)) { int n = 1; auto elements2 = elements.save; while (!elements2.empty) { auto e = elements2.front; elements2.popFront(); if (isDot(e)) continue; if (isDotDot(e)) { --n; if (n == 0) { elements = elements2; element = element[0 .. 0]; continue L1; } } else ++n; } } break; } static assert(dirSeparator.length == 1); if (lastc == dirSeparator[0] || lastc == lastc.init) c = getElement0(); else c = dirSeparator[0]; } static if (isForwardRange!R) { @property auto save() { auto result = this; result.element = element.save; result.elements = elements.save; return result; } } private: this(R path) { element = rootName(path); auto i = element.length; while (i < path.length && isDirSeparator(path[i])) ++i; rooted = i > 0; elements = pathSplitter(path[i .. $]); popFront(); if (c == c.init && path.length) c = C('.'); } C getElement0() { static if (isNarrowString!S) // avoid autodecode { C c = element[0]; element = element[1 .. $]; } else { C c = element.front; element.popFront(); } version (Windows) { if (c == '/') // can appear in root element c = '\\'; // use native Windows directory separator } return c; } // See if elem is "." static bool isDot(S elem) { return elem.length == 1 && elem[0] == '.'; } // See if elem is ".." static bool isDotDot(S elem) { return elem.length == 2 && elem[0] == '.' && elem[1] == '.'; } bool rooted; // the path starts with a root directory C c; S element; typeof(pathSplitter(path[0 .. 0])) elements; } return Result(path); } /// @safe unittest { import std.array; assert(asNormalizedPath("foo/..").array == "."); version (Posix) { assert(asNormalizedPath("/foo/./bar/..//baz/").array == "/foo/baz"); assert(asNormalizedPath("../foo/.").array == "../foo"); assert(asNormalizedPath("/foo/bar/baz/").array == "/foo/bar/baz"); assert(asNormalizedPath("/foo/./bar/../../baz").array == "/baz"); } version (Windows) { assert(asNormalizedPath(`c:\foo\.\bar/..\\baz\`).array == `c:\foo\baz`); assert(asNormalizedPath(`..\foo\.`).array == `..\foo`); assert(asNormalizedPath(`c:\foo\bar\baz\`).array == `c:\foo\bar\baz`); assert(asNormalizedPath(`c:\foo\bar/..`).array == `c:\foo`); assert(asNormalizedPath(`\\server\share\foo\..\bar`).array == `\\server\share\bar`); } } auto asNormalizedPath(R)(return scope auto ref R path) if (isConvertibleToString!R) { return asNormalizedPath!(StringTypeOf!R)(path); } @safe unittest { assert(testAliasedString!asNormalizedPath(null)); } @safe unittest { import std.array; import std.utf : byChar; assert(asNormalizedPath("").array is null); assert(asNormalizedPath("foo").array == "foo"); assert(asNormalizedPath(".").array == "."); assert(asNormalizedPath("./.").array == "."); assert(asNormalizedPath("foo/..").array == "."); auto save = asNormalizedPath("fob").save; save.popFront(); assert(save.front == 'o'); version (Posix) { assert(asNormalizedPath("/foo/bar").array == "/foo/bar"); assert(asNormalizedPath("foo/bar/baz").array == "foo/bar/baz"); assert(asNormalizedPath("foo/bar/baz").array == "foo/bar/baz"); assert(asNormalizedPath("foo/bar//baz///").array == "foo/bar/baz"); assert(asNormalizedPath("/foo/bar/baz").array == "/foo/bar/baz"); assert(asNormalizedPath("/foo/../bar/baz").array == "/bar/baz"); assert(asNormalizedPath("/foo/../..//bar/baz").array == "/bar/baz"); assert(asNormalizedPath("/foo/bar/../baz").array == "/foo/baz"); assert(asNormalizedPath("/foo/bar/../../baz").array == "/baz"); assert(asNormalizedPath("/foo/bar/.././/baz/../wee/").array == "/foo/wee"); assert(asNormalizedPath("//foo/bar/baz///wee").array == "/foo/bar/baz/wee"); assert(asNormalizedPath("foo//bar").array == "foo/bar"); assert(asNormalizedPath("foo/bar").array == "foo/bar"); //Curent dir path assert(asNormalizedPath("./").array == "."); assert(asNormalizedPath("././").array == "."); assert(asNormalizedPath("./foo/..").array == "."); assert(asNormalizedPath("foo/..").array == "."); } else version (Windows) { assert(asNormalizedPath(`\foo\bar`).array == `\foo\bar`); assert(asNormalizedPath(`foo\bar\baz`).array == `foo\bar\baz`); assert(asNormalizedPath(`foo\bar\baz`).array == `foo\bar\baz`); assert(asNormalizedPath(`foo\bar\\baz\\\`).array == `foo\bar\baz`); assert(asNormalizedPath(`\foo\bar\baz`).array == `\foo\bar\baz`); assert(asNormalizedPath(`\foo\..\\bar\.\baz`).array == `\bar\baz`); assert(asNormalizedPath(`\foo\..\bar\baz`).array == `\bar\baz`); assert(asNormalizedPath(`\foo\..\..\\bar\baz`).array == `\bar\baz`); assert(asNormalizedPath(`\foo\bar\..\baz`).array == `\foo\baz`); assert(asNormalizedPath(`\foo\bar\../../baz`).array == `\baz`); assert(asNormalizedPath(`\foo\bar\..\.\/baz\..\wee\`).array == `\foo\wee`); assert(asNormalizedPath(`c:\foo\bar`).array == `c:\foo\bar`); assert(asNormalizedPath(`c:foo\bar\baz`).array == `c:foo\bar\baz`); assert(asNormalizedPath(`c:foo\bar\baz`).array == `c:foo\bar\baz`); assert(asNormalizedPath(`c:foo\bar\\baz\\\`).array == `c:foo\bar\baz`); assert(asNormalizedPath(`c:\foo\bar\baz`).array == `c:\foo\bar\baz`); assert(asNormalizedPath(`c:\foo\..\\bar\.\baz`).array == `c:\bar\baz`); assert(asNormalizedPath(`c:\foo\..\bar\baz`).array == `c:\bar\baz`); assert(asNormalizedPath(`c:\foo\..\..\\bar\baz`).array == `c:\bar\baz`); assert(asNormalizedPath(`c:\foo\bar\..\baz`).array == `c:\foo\baz`); assert(asNormalizedPath(`c:\foo\bar\..\..\baz`).array == `c:\baz`); assert(asNormalizedPath(`c:\foo\bar\..\.\\baz\..\wee\`).array == `c:\foo\wee`); assert(asNormalizedPath(`\\server\share\foo\bar`).array == `\\server\share\foo\bar`); assert(asNormalizedPath(`\\server\share\\foo\bar`).array == `\\server\share\foo\bar`); assert(asNormalizedPath(`\\server\share\foo\bar\baz`).array == `\\server\share\foo\bar\baz`); assert(asNormalizedPath(`\\server\share\foo\..\\bar\.\baz`).array == `\\server\share\bar\baz`); assert(asNormalizedPath(`\\server\share\foo\..\bar\baz`).array == `\\server\share\bar\baz`); assert(asNormalizedPath(`\\server\share\foo\..\..\\bar\baz`).array == `\\server\share\bar\baz`); assert(asNormalizedPath(`\\server\share\foo\bar\..\baz`).array == `\\server\share\foo\baz`); assert(asNormalizedPath(`\\server\share\foo\bar\..\..\baz`).array == `\\server\share\baz`); assert(asNormalizedPath(`\\server\share\foo\bar\..\.\\baz\..\wee\`).array == `\\server\share\foo\wee`); static assert(asNormalizedPath(`\foo\..\..\\bar\baz`).array == `\bar\baz`); assert(asNormalizedPath("foo//bar").array == `foo\bar`); //Curent dir path assert(asNormalizedPath(`.\`).array == "."); assert(asNormalizedPath(`.\.\`).array == "."); assert(asNormalizedPath(`.\foo\..`).array == "."); assert(asNormalizedPath(`foo\..`).array == "."); } else static assert(0); } @safe unittest { import std.array; version (Posix) { // Trivial assert(asNormalizedPath("").empty); assert(asNormalizedPath("foo/bar").array == "foo/bar"); // Correct handling of leading slashes assert(asNormalizedPath("/").array == "/"); assert(asNormalizedPath("///").array == "/"); assert(asNormalizedPath("////").array == "/"); assert(asNormalizedPath("/foo/bar").array == "/foo/bar"); assert(asNormalizedPath("//foo/bar").array == "/foo/bar"); assert(asNormalizedPath("///foo/bar").array == "/foo/bar"); assert(asNormalizedPath("////foo/bar").array == "/foo/bar"); // Correct handling of single-dot symbol (current directory) assert(asNormalizedPath("/./foo").array == "/foo"); assert(asNormalizedPath("/foo/./bar").array == "/foo/bar"); assert(asNormalizedPath("./foo").array == "foo"); assert(asNormalizedPath("././foo").array == "foo"); assert(asNormalizedPath("foo/././bar").array == "foo/bar"); // Correct handling of double-dot symbol (previous directory) assert(asNormalizedPath("/foo/../bar").array == "/bar"); assert(asNormalizedPath("/foo/../../bar").array == "/bar"); assert(asNormalizedPath("/../foo").array == "/foo"); assert(asNormalizedPath("/../../foo").array == "/foo"); assert(asNormalizedPath("/foo/..").array == "/"); assert(asNormalizedPath("/foo/../..").array == "/"); assert(asNormalizedPath("foo/../bar").array == "bar"); assert(asNormalizedPath("foo/../../bar").array == "../bar"); assert(asNormalizedPath("../foo").array == "../foo"); assert(asNormalizedPath("../../foo").array == "../../foo"); assert(asNormalizedPath("../foo/../bar").array == "../bar"); assert(asNormalizedPath(".././../foo").array == "../../foo"); assert(asNormalizedPath("foo/bar/..").array == "foo"); assert(asNormalizedPath("/foo/../..").array == "/"); // The ultimate path assert(asNormalizedPath("/foo/../bar//./../...///baz//").array == "/.../baz"); static assert(asNormalizedPath("/foo/../bar//./../...///baz//").array == "/.../baz"); } else version (Windows) { // Trivial assert(asNormalizedPath("").empty); assert(asNormalizedPath(`foo\bar`).array == `foo\bar`); assert(asNormalizedPath("foo/bar").array == `foo\bar`); // Correct handling of absolute paths assert(asNormalizedPath("/").array == `\`); assert(asNormalizedPath(`\`).array == `\`); assert(asNormalizedPath(`\\\`).array == `\`); assert(asNormalizedPath(`\\\\`).array == `\`); assert(asNormalizedPath(`\foo\bar`).array == `\foo\bar`); assert(asNormalizedPath(`\\foo`).array == `\\foo`); assert(asNormalizedPath(`\\foo\\`).array == `\\foo`); assert(asNormalizedPath(`\\foo/bar`).array == `\\foo\bar`); assert(asNormalizedPath(`\\\foo\bar`).array == `\foo\bar`); assert(asNormalizedPath(`\\\\foo\bar`).array == `\foo\bar`); assert(asNormalizedPath(`c:\`).array == `c:\`); assert(asNormalizedPath(`c:\foo\bar`).array == `c:\foo\bar`); assert(asNormalizedPath(`c:\\foo\bar`).array == `c:\foo\bar`); // Correct handling of single-dot symbol (current directory) assert(asNormalizedPath(`\./foo`).array == `\foo`); assert(asNormalizedPath(`\foo/.\bar`).array == `\foo\bar`); assert(asNormalizedPath(`.\foo`).array == `foo`); assert(asNormalizedPath(`./.\foo`).array == `foo`); assert(asNormalizedPath(`foo\.\./bar`).array == `foo\bar`); // Correct handling of double-dot symbol (previous directory) assert(asNormalizedPath(`\foo\..\bar`).array == `\bar`); assert(asNormalizedPath(`\foo\../..\bar`).array == `\bar`); assert(asNormalizedPath(`\..\foo`).array == `\foo`); assert(asNormalizedPath(`\..\..\foo`).array == `\foo`); assert(asNormalizedPath(`\foo\..`).array == `\`); assert(asNormalizedPath(`\foo\../..`).array == `\`); assert(asNormalizedPath(`foo\..\bar`).array == `bar`); assert(asNormalizedPath(`foo\..\../bar`).array == `..\bar`); assert(asNormalizedPath(`..\foo`).array == `..\foo`); assert(asNormalizedPath(`..\..\foo`).array == `..\..\foo`); assert(asNormalizedPath(`..\foo\..\bar`).array == `..\bar`); assert(asNormalizedPath(`..\.\..\foo`).array == `..\..\foo`); assert(asNormalizedPath(`foo\bar\..`).array == `foo`); assert(asNormalizedPath(`\foo\..\..`).array == `\`); assert(asNormalizedPath(`c:\foo\..\..`).array == `c:\`); // Correct handling of non-root path with drive specifier assert(asNormalizedPath(`c:foo`).array == `c:foo`); assert(asNormalizedPath(`c:..\foo\.\..\bar`).array == `c:..\bar`); // The ultimate path assert(asNormalizedPath(`c:\foo\..\bar\\.\..\...\\\baz\\`).array == `c:\...\baz`); static assert(asNormalizedPath(`c:\foo\..\bar\\.\..\...\\\baz\\`).array == `c:\...\baz`); } else static assert(false); } /** Slice up a path into its elements. Params: path = string or slicable random access range Returns: bidirectional range of slices of `path` */ auto pathSplitter(R)(R path) if ((isRandomAccessRange!R && hasSlicing!R || isNarrowString!R) && !isConvertibleToString!R) { static struct PathSplitter { @property bool empty() const { return pe == 0; } @property R front() { assert(!empty); return _path[fs .. fe]; } void popFront() { assert(!empty); if (ps == pe) { if (fs == bs && fe == be) { pe = 0; } else { fs = bs; fe = be; } } else { fs = ps; fe = fs; while (fe < pe && !isDirSeparator(_path[fe])) ++fe; ps = ltrim(fe, pe); } } @property R back() { assert(!empty); return _path[bs .. be]; } void popBack() { assert(!empty); if (ps == pe) { if (fs == bs && fe == be) { pe = 0; } else { bs = fs; be = fe; } } else { bs = pe; be = bs; while (bs > ps && !isDirSeparator(_path[bs - 1])) --bs; pe = rtrim(ps, bs); } } @property auto save() { return this; } private: R _path; size_t ps, pe; size_t fs, fe; size_t bs, be; this(R p) { if (p.empty) { pe = 0; return; } _path = p; ps = 0; pe = _path.length; // If path is rooted, first element is special version (Windows) { if (isUNC(_path)) { auto i = uncRootLength(_path); fs = 0; fe = i; ps = ltrim(fe, pe); } else if (isDriveRoot(_path)) { fs = 0; fe = 3; ps = ltrim(fe, pe); } else if (_path.length >= 1 && isDirSeparator(_path[0])) { fs = 0; fe = 1; ps = ltrim(fe, pe); } else { assert(!isRooted(_path)); popFront(); } } else version (Posix) { if (_path.length >= 1 && isDirSeparator(_path[0])) { fs = 0; fe = 1; ps = ltrim(fe, pe); } else { popFront(); } } else static assert(0); if (ps == pe) { bs = fs; be = fe; } else { pe = rtrim(ps, pe); popBack(); } } size_t ltrim(size_t s, size_t e) { while (s < e && isDirSeparator(_path[s])) ++s; return s; } size_t rtrim(size_t s, size_t e) { while (s < e && isDirSeparator(_path[e - 1])) --e; return e; } } return PathSplitter(path); } /// @safe unittest { import std.algorithm.comparison : equal; import std.conv : to; assert(equal(pathSplitter("/"), ["/"])); assert(equal(pathSplitter("/foo/bar"), ["/", "foo", "bar"])); assert(equal(pathSplitter("foo/../bar//./"), ["foo", "..", "bar", "."])); version (Posix) { assert(equal(pathSplitter("//foo/bar"), ["/", "foo", "bar"])); } version (Windows) { assert(equal(pathSplitter(`foo\..\bar\/.\`), ["foo", "..", "bar", "."])); assert(equal(pathSplitter("c:"), ["c:"])); assert(equal(pathSplitter(`c:\foo\bar`), [`c:\`, "foo", "bar"])); assert(equal(pathSplitter(`c:foo\bar`), ["c:foo", "bar"])); } } auto pathSplitter(R)(auto ref R path) if (isConvertibleToString!R) { return pathSplitter!(StringTypeOf!R)(path); } @safe unittest { import std.algorithm.comparison : equal; assert(testAliasedString!pathSplitter("/")); } @safe unittest { // equal2 verifies that the range is the same both ways, i.e. // through front/popFront and back/popBack. import std.algorithm; import std.range; bool equal2(R1, R2)(R1 r1, R2 r2) { static assert(isBidirectionalRange!R1); return equal(r1, r2) && equal(retro(r1), retro(r2)); } assert(pathSplitter("").empty); // Root directories assert(equal2(pathSplitter("/"), ["/"])); assert(equal2(pathSplitter("//"), ["/"])); assert(equal2(pathSplitter("///"w), ["/"w])); // Absolute paths assert(equal2(pathSplitter("/foo/bar".dup), ["/", "foo", "bar"])); // General assert(equal2(pathSplitter("foo/bar"d.dup), ["foo"d, "bar"d])); assert(equal2(pathSplitter("foo//bar"), ["foo", "bar"])); assert(equal2(pathSplitter("foo/bar//"w), ["foo"w, "bar"w])); assert(equal2(pathSplitter("foo/../bar//./"d), ["foo"d, ".."d, "bar"d, "."d])); // save() auto ps1 = pathSplitter("foo/bar/baz"); auto ps2 = ps1.save; ps1.popFront(); assert(equal2(ps1, ["bar", "baz"])); assert(equal2(ps2, ["foo", "bar", "baz"])); // Platform specific version (Posix) { assert(equal2(pathSplitter("//foo/bar"w.dup), ["/"w, "foo"w, "bar"w])); } version (Windows) { assert(equal2(pathSplitter(`\`), [`\`])); assert(equal2(pathSplitter(`foo\..\bar\/.\`), ["foo", "..", "bar", "."])); assert(equal2(pathSplitter("c:"), ["c:"])); assert(equal2(pathSplitter(`c:\foo\bar`), [`c:\`, "foo", "bar"])); assert(equal2(pathSplitter(`c:foo\bar`), ["c:foo", "bar"])); assert(equal2(pathSplitter(`\\foo\bar`), [`\\foo\bar`])); assert(equal2(pathSplitter(`\\foo\bar\\`), [`\\foo\bar`])); assert(equal2(pathSplitter(`\\foo\bar\baz`), [`\\foo\bar`, "baz"])); } import std.exception; assertCTFEable!( { assert(equal(pathSplitter("/foo/bar".dup), ["/", "foo", "bar"])); }); static assert(is(typeof(pathSplitter!(const(char)[])(null).front) == const(char)[])); import std.utf : byDchar; assert(equal2(pathSplitter("foo/bar"d.byDchar), ["foo"d, "bar"d])); } /** Determines whether a path starts at a root directory. Params: path = A path name. Returns: Whether a path starts at a root directory. On POSIX, this function returns true if and only if the path starts with a slash (/). On Windows, this function returns true if the path starts at the root directory of the current drive, of some other drive, or of a network drive. */ bool isRooted(R)(R path) if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || is(StringTypeOf!R)) { if (path.length >= 1 && isDirSeparator(path[0])) return true; version (Posix) return false; else version (Windows) return isAbsolute!(BaseOf!R)(path); } /// @safe unittest { version (Posix) { assert( isRooted("/")); assert( isRooted("/foo")); assert(!isRooted("foo")); assert(!isRooted("../foo")); } version (Windows) { assert( isRooted(`\`)); assert( isRooted(`\foo`)); assert( isRooted(`d:\foo`)); assert( isRooted(`\\foo\bar`)); assert(!isRooted("foo")); assert(!isRooted("d:foo")); } } @safe unittest { assert(isRooted("/")); assert(isRooted("/foo")); assert(!isRooted("foo")); assert(!isRooted("../foo")); version (Windows) { assert(isRooted(`\`)); assert(isRooted(`\foo`)); assert(isRooted(`d:\foo`)); assert(isRooted(`\\foo\bar`)); assert(!isRooted("foo")); assert(!isRooted("d:foo")); } static assert(isRooted("/foo")); static assert(!isRooted("foo")); static struct DirEntry { string s; alias s this; } assert(!isRooted(DirEntry("foo"))); } /** Determines whether a path is absolute or not. Params: path = A path name. Returns: Whether a path is absolute or not. Example: On POSIX, an absolute path starts at the root directory. (In fact, `_isAbsolute` is just an alias for $(LREF isRooted).) --- version (Posix) { assert(isAbsolute("/")); assert(isAbsolute("/foo")); assert(!isAbsolute("foo")); assert(!isAbsolute("../foo")); } --- On Windows, an absolute path starts at the root directory of a specific drive. Hence, it must start with $(D `d:\`) or $(D `d:/`), where `d` is the drive letter. Alternatively, it may be a network path, i.e. a path starting with a double (back)slash. --- version (Windows) { assert(isAbsolute(`d:\`)); assert(isAbsolute(`d:\foo`)); assert(isAbsolute(`\\foo\bar`)); assert(!isAbsolute(`\`)); assert(!isAbsolute(`\foo`)); assert(!isAbsolute("d:foo")); } --- */ version (StdDdoc) { bool isAbsolute(R)(R path) pure nothrow @safe if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || is(StringTypeOf!R)); } else version (Windows) { bool isAbsolute(R)(R path) if (isRandomAccessRange!R && isSomeChar!(ElementType!R) || is(StringTypeOf!R)) { return isDriveRoot!(BaseOf!R)(path) || isUNC!(BaseOf!R)(path); } } else version (Posix) { alias isAbsolute = isRooted; } @safe unittest { assert(!isAbsolute("foo")); assert(!isAbsolute("../foo"w)); static assert(!isAbsolute("foo")); version (Posix) { assert(isAbsolute("/"d)); assert(isAbsolute("/foo".dup)); static assert(isAbsolute("/foo")); } version (Windows) { assert(isAbsolute("d:\\"w)); assert(isAbsolute("d:\\foo"d)); assert(isAbsolute("\\\\foo\\bar")); assert(!isAbsolute("\\"w.dup)); assert(!isAbsolute("\\foo"d.dup)); assert(!isAbsolute("d:")); assert(!isAbsolute("d:foo")); static assert(isAbsolute(`d:\foo`)); } { auto r = MockRange!(immutable(char))(`../foo`); assert(!r.isAbsolute()); } static struct DirEntry { string s; alias s this; } assert(!isAbsolute(DirEntry("foo"))); } /** Transforms `path` into an absolute path. The following algorithm is used: $(OL $(LI If `path` is empty, return `null`.) $(LI If `path` is already absolute, return it.) $(LI Otherwise, append `path` to `base` and return the result. If `base` is not specified, the current working directory is used.) ) The function allocates memory if and only if it gets to the third stage of this algorithm. Params: path = the relative path to transform base = the base directory of the relative path Returns: string of transformed path Throws: `Exception` if the specified _base directory is not absolute. See_Also: $(LREF asAbsolutePath) which does not allocate */ string absolutePath(string path, lazy string base = getcwd()) @safe pure { import std.array : array; if (path.empty) return null; if (isAbsolute(path)) return path; auto baseVar = base; if (!isAbsolute(baseVar)) throw new Exception("Base directory must be absolute"); return chainPath(baseVar, path).array; } /// @safe unittest { version (Posix) { assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); assert(absolutePath("../file", "/foo/bar") == "/foo/bar/../file"); assert(absolutePath("/some/file", "/foo/bar") == "/some/file"); } version (Windows) { assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); assert(absolutePath(`..\file`, `c:\foo\bar`) == `c:\foo\bar\..\file`); assert(absolutePath(`c:\some\file`, `c:\foo\bar`) == `c:\some\file`); assert(absolutePath(`\`, `c:\`) == `c:\`); assert(absolutePath(`\some\file`, `c:\foo\bar`) == `c:\some\file`); } } @safe unittest { version (Posix) { static assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); } version (Windows) { static assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); } import std.exception; assertThrown(absolutePath("bar", "foo")); } /** Transforms `path` into an absolute path. The following algorithm is used: $(OL $(LI If `path` is empty, return `null`.) $(LI If `path` is already absolute, return it.) $(LI Otherwise, append `path` to the current working directory, which allocates memory.) ) Params: path = the relative path to transform Returns: the transformed path as a lazy range See_Also: $(LREF absolutePath) which returns an allocated string */ auto asAbsolutePath(R)(R path) if ((isRandomAccessRange!R && isSomeChar!(ElementType!R) || isNarrowString!R) && !isConvertibleToString!R) { import std.file : getcwd; string base = null; if (!path.empty && !isAbsolute(path)) base = getcwd(); return chainPath(base, path); } /// @system unittest { import std.array; assert(asAbsolutePath(cast(string) null).array == ""); version (Posix) { assert(asAbsolutePath("/foo").array == "/foo"); } version (Windows) { assert(asAbsolutePath("c:/foo").array == "c:/foo"); } asAbsolutePath("foo"); } auto asAbsolutePath(R)(auto ref R path) if (isConvertibleToString!R) { return asAbsolutePath!(StringTypeOf!R)(path); } @system unittest { assert(testAliasedString!asAbsolutePath(null)); } /** Translates `path` into a relative path. The returned path is relative to `base`, which is by default taken to be the current working directory. If specified, `base` must be an absolute path, and it is always assumed to refer to a directory. If `path` and `base` refer to the same directory, the function returns $(D `.`). The following algorithm is used: $(OL $(LI If `path` is a relative directory, return it unaltered.) $(LI Find a common root between `path` and `base`. If there is no common root, return `path` unaltered.) $(LI Prepare a string with as many $(D `../`) or $(D `..\`) as necessary to reach the common root from base path.) $(LI Append the remaining segments of `path` to the string and return.) ) In the second step, path components are compared using `filenameCmp!cs`, where `cs` is an optional template parameter determining whether the comparison is case sensitive or not. See the $(LREF filenameCmp) documentation for details. This function allocates memory. Params: cs = Whether matching path name components against the base path should be case-sensitive or not. path = A path name. base = The base path to construct the relative path from. Returns: The relative path. See_Also: $(LREF asRelativePath) which does not allocate memory Throws: `Exception` if the specified _base directory is not absolute. */ string relativePath(CaseSensitive cs = CaseSensitive.osDefault) (string path, lazy string base = getcwd()) { if (!isAbsolute(path)) return path; auto baseVar = base; if (!isAbsolute(baseVar)) throw new Exception("Base directory must be absolute"); import std.conv : to; return asRelativePath!cs(path, baseVar).to!string; } /// @safe unittest { assert(relativePath("foo") == "foo"); version (Posix) { assert(relativePath("foo", "/bar") == "foo"); assert(relativePath("/foo/bar", "/foo/bar") == "."); assert(relativePath("/foo/bar", "/foo/baz") == "../bar"); assert(relativePath("/foo/bar/baz", "/foo/woo/wee") == "../../bar/baz"); assert(relativePath("/foo/bar/baz", "/foo/bar") == "baz"); } version (Windows) { assert(relativePath("foo", `c:\bar`) == "foo"); assert(relativePath(`c:\foo\bar`, `c:\foo\bar`) == "."); assert(relativePath(`c:\foo\bar`, `c:\foo\baz`) == `..\bar`); assert(relativePath(`c:\foo\bar\baz`, `c:\foo\woo\wee`) == `..\..\bar\baz`); assert(relativePath(`c:\foo\bar\baz`, `c:\foo\bar`) == "baz"); assert(relativePath(`c:\foo\bar`, `d:\foo`) == `c:\foo\bar`); } } @safe unittest { import std.exception; assert(relativePath("foo") == "foo"); version (Posix) { relativePath("/foo"); assert(relativePath("/foo/bar", "/foo/baz") == "../bar"); assertThrown(relativePath("/foo", "bar")); } else version (Windows) { relativePath(`\foo`); assert(relativePath(`c:\foo\bar\baz`, `c:\foo\bar`) == "baz"); assertThrown(relativePath(`c:\foo`, "bar")); } else static assert(0); } /** Transforms `path` into a path relative to `base`. The returned path is relative to `base`, which is usually the current working directory. `base` must be an absolute path, and it is always assumed to refer to a directory. If `path` and `base` refer to the same directory, the function returns `'.'`. The following algorithm is used: $(OL $(LI If `path` is a relative directory, return it unaltered.) $(LI Find a common root between `path` and `base`. If there is no common root, return `path` unaltered.) $(LI Prepare a string with as many `../` or `..\` as necessary to reach the common root from base path.) $(LI Append the remaining segments of `path` to the string and return.) ) In the second step, path components are compared using `filenameCmp!cs`, where `cs` is an optional template parameter determining whether the comparison is case sensitive or not. See the $(LREF filenameCmp) documentation for details. Params: path = path to transform base = absolute path cs = whether filespec comparisons are sensitive or not; defaults to `CaseSensitive.osDefault` Returns: a random access range of the transformed path See_Also: $(LREF relativePath) */ auto asRelativePath(CaseSensitive cs = CaseSensitive.osDefault, R1, R2) (R1 path, R2 base) if ((isNarrowString!R1 || (isRandomAccessRange!R1 && hasSlicing!R1 && isSomeChar!(ElementType!R1)) && !isConvertibleToString!R1) && (isNarrowString!R2 || (isRandomAccessRange!R2 && hasSlicing!R2 && isSomeChar!(ElementType!R2)) && !isConvertibleToString!R2)) { bool choosePath = !isAbsolute(path); // Find common root with current working directory auto basePS = pathSplitter(base); auto pathPS = pathSplitter(path); choosePath |= filenameCmp!cs(basePS.front, pathPS.front) != 0; basePS.popFront(); pathPS.popFront(); import std.algorithm.comparison : mismatch; import std.algorithm.iteration : joiner; import std.array : array; import std.range.primitives : walkLength; import std.range : repeat, chain, choose; import std.utf : byCodeUnit, byChar; // Remove matching prefix from basePS and pathPS auto tup = mismatch!((a, b) => filenameCmp!cs(a, b) == 0)(basePS, pathPS); basePS = tup[0]; pathPS = tup[1]; string sep; if (basePS.empty && pathPS.empty) sep = "."; // if base == path, this is the return else if (!basePS.empty && !pathPS.empty) sep = dirSeparator; // Append as many "../" as necessary to reach common base from path auto r1 = ".." .byChar .repeat(basePS.walkLength()) .joiner(dirSeparator.byChar); auto r2 = pathPS .joiner(dirSeparator.byChar) .byChar; // Return (r1 ~ sep ~ r2) return choose(choosePath, path.byCodeUnit, chain(r1, sep.byChar, r2)); } /// @safe unittest { import std.array; version (Posix) { assert(asRelativePath("foo", "/bar").array == "foo"); assert(asRelativePath("/foo/bar", "/foo/bar").array == "."); assert(asRelativePath("/foo/bar", "/foo/baz").array == "../bar"); assert(asRelativePath("/foo/bar/baz", "/foo/woo/wee").array == "../../bar/baz"); assert(asRelativePath("/foo/bar/baz", "/foo/bar").array == "baz"); } else version (Windows) { assert(asRelativePath("foo", `c:\bar`).array == "foo"); assert(asRelativePath(`c:\foo\bar`, `c:\foo\bar`).array == "."); assert(asRelativePath(`c:\foo\bar`, `c:\foo\baz`).array == `..\bar`); assert(asRelativePath(`c:\foo\bar\baz`, `c:\foo\woo\wee`).array == `..\..\bar\baz`); assert(asRelativePath(`c:/foo/bar/baz`, `c:\foo\woo\wee`).array == `..\..\bar\baz`); assert(asRelativePath(`c:\foo\bar\baz`, `c:\foo\bar`).array == "baz"); assert(asRelativePath(`c:\foo\bar`, `d:\foo`).array == `c:\foo\bar`); assert(asRelativePath(`\\foo\bar`, `c:\foo`).array == `\\foo\bar`); } else static assert(0); } @safe unittest { version (Posix) { assert(isBidirectionalRange!(typeof(asRelativePath("foo/bar/baz", "/foo/woo/wee")))); } version (Windows) { assert(isBidirectionalRange!(typeof(asRelativePath(`c:\foo\bar`, `c:\foo\baz`)))); } } auto asRelativePath(CaseSensitive cs = CaseSensitive.osDefault, R1, R2) (auto ref R1 path, auto ref R2 base) if (isConvertibleToString!R1 || isConvertibleToString!R2) { import std.meta : staticMap; alias Types = staticMap!(convertToString, R1, R2); return asRelativePath!(cs, Types)(path, base); } @safe unittest { import std.array; version (Posix) assert(asRelativePath(TestAliasedString("foo"), TestAliasedString("/bar")).array == "foo"); else version (Windows) assert(asRelativePath(TestAliasedString("foo"), TestAliasedString(`c:\bar`)).array == "foo"); assert(asRelativePath(TestAliasedString("foo"), "bar").array == "foo"); assert(asRelativePath("foo", TestAliasedString("bar")).array == "foo"); assert(asRelativePath(TestAliasedString("foo"), TestAliasedString("bar")).array == "foo"); import std.utf : byDchar; assert(asRelativePath("foo"d.byDchar, TestAliasedString("bar")).array == "foo"); } @safe unittest { import std.array, std.utf : bCU=byCodeUnit; version (Posix) { assert(asRelativePath("/foo/bar/baz".bCU, "/foo/bar".bCU).array == "baz"); assert(asRelativePath("/foo/bar/baz"w.bCU, "/foo/bar"w.bCU).array == "baz"w); assert(asRelativePath("/foo/bar/baz"d.bCU, "/foo/bar"d.bCU).array == "baz"d); } else version (Windows) { assert(asRelativePath(`\\foo\bar`.bCU, `c:\foo`.bCU).array == `\\foo\bar`); assert(asRelativePath(`\\foo\bar`w.bCU, `c:\foo`w.bCU).array == `\\foo\bar`w); assert(asRelativePath(`\\foo\bar`d.bCU, `c:\foo`d.bCU).array == `\\foo\bar`d); } } /** Compares filename characters. This function can perform a case-sensitive or a case-insensitive comparison. This is controlled through the `cs` template parameter which, if not specified, is given by $(LREF CaseSensitive)`.osDefault`. On Windows, the backslash and slash characters ($(D `\`) and $(D `/`)) are considered equal. Params: cs = Case-sensitivity of the comparison. a = A filename character. b = A filename character. Returns: $(D < 0) if $(D a < b), `0` if $(D a == b), and $(D > 0) if $(D a > b). */ int filenameCharCmp(CaseSensitive cs = CaseSensitive.osDefault)(dchar a, dchar b) @safe pure nothrow { if (isDirSeparator(a) && isDirSeparator(b)) return 0; static if (!cs) { import std.uni : toLower; a = toLower(a); b = toLower(b); } return cast(int)(a - b); } /// @safe unittest { assert(filenameCharCmp('a', 'a') == 0); assert(filenameCharCmp('a', 'b') < 0); assert(filenameCharCmp('b', 'a') > 0); version (linux) { // Same as calling filenameCharCmp!(CaseSensitive.yes)(a, b) assert(filenameCharCmp('A', 'a') < 0); assert(filenameCharCmp('a', 'A') > 0); } version (Windows) { // Same as calling filenameCharCmp!(CaseSensitive.no)(a, b) assert(filenameCharCmp('a', 'A') == 0); assert(filenameCharCmp('a', 'B') < 0); assert(filenameCharCmp('A', 'b') < 0); } } @safe unittest { assert(filenameCharCmp!(CaseSensitive.yes)('A', 'a') < 0); assert(filenameCharCmp!(CaseSensitive.yes)('a', 'A') > 0); assert(filenameCharCmp!(CaseSensitive.no)('a', 'a') == 0); assert(filenameCharCmp!(CaseSensitive.no)('a', 'b') < 0); assert(filenameCharCmp!(CaseSensitive.no)('b', 'a') > 0); assert(filenameCharCmp!(CaseSensitive.no)('A', 'a') == 0); assert(filenameCharCmp!(CaseSensitive.no)('a', 'A') == 0); assert(filenameCharCmp!(CaseSensitive.no)('a', 'B') < 0); assert(filenameCharCmp!(CaseSensitive.no)('B', 'a') > 0); assert(filenameCharCmp!(CaseSensitive.no)('A', 'b') < 0); assert(filenameCharCmp!(CaseSensitive.no)('b', 'A') > 0); version (Posix) assert(filenameCharCmp('\\', '/') != 0); version (Windows) assert(filenameCharCmp('\\', '/') == 0); } /** Compares file names and returns Individual characters are compared using `filenameCharCmp!cs`, where `cs` is an optional template parameter determining whether the comparison is case sensitive or not. Treatment of invalid UTF encodings is implementation defined. Params: cs = case sensitivity filename1 = range for first file name filename2 = range for second file name Returns: $(D < 0) if $(D filename1 < filename2), `0` if $(D filename1 == filename2) and $(D > 0) if $(D filename1 > filename2). See_Also: $(LREF filenameCharCmp) */ int filenameCmp(CaseSensitive cs = CaseSensitive.osDefault, Range1, Range2) (Range1 filename1, Range2 filename2) if (isInputRange!Range1 && !isInfinite!Range1 && isSomeChar!(ElementEncodingType!Range1) && !isConvertibleToString!Range1 && isInputRange!Range2 && !isInfinite!Range2 && isSomeChar!(ElementEncodingType!Range2) && !isConvertibleToString!Range2) { alias C1 = Unqual!(ElementEncodingType!Range1); alias C2 = Unqual!(ElementEncodingType!Range2); static if (!cs && (C1.sizeof < 4 || C2.sizeof < 4) || C1.sizeof != C2.sizeof) { // Case insensitive - decode so case is checkable // Different char sizes - decode to bring to common type import std.utf : byDchar; return filenameCmp!cs(filename1.byDchar, filename2.byDchar); } else static if (isSomeString!Range1 && C1.sizeof < 4 || isSomeString!Range2 && C2.sizeof < 4) { // Avoid autodecoding import std.utf : byCodeUnit; return filenameCmp!cs(filename1.byCodeUnit, filename2.byCodeUnit); } else { for (;;) { if (filename1.empty) return -(cast(int) !filename2.empty); if (filename2.empty) return 1; const c = filenameCharCmp!cs(filename1.front, filename2.front); if (c != 0) return c; filename1.popFront(); filename2.popFront(); } } } /// @safe unittest { assert(filenameCmp("abc", "abc") == 0); assert(filenameCmp("abc", "abd") < 0); assert(filenameCmp("abc", "abb") > 0); assert(filenameCmp("abc", "abcd") < 0); assert(filenameCmp("abcd", "abc") > 0); version (linux) { // Same as calling filenameCmp!(CaseSensitive.yes)(filename1, filename2) assert(filenameCmp("Abc", "abc") < 0); assert(filenameCmp("abc", "Abc") > 0); } version (Windows) { // Same as calling filenameCmp!(CaseSensitive.no)(filename1, filename2) assert(filenameCmp("Abc", "abc") == 0); assert(filenameCmp("abc", "Abc") == 0); assert(filenameCmp("Abc", "abD") < 0); assert(filenameCmp("abc", "AbB") > 0); } } int filenameCmp(CaseSensitive cs = CaseSensitive.osDefault, Range1, Range2) (auto ref Range1 filename1, auto ref Range2 filename2) if (isConvertibleToString!Range1 || isConvertibleToString!Range2) { import std.meta : staticMap; alias Types = staticMap!(convertToString, Range1, Range2); return filenameCmp!(cs, Types)(filename1, filename2); } @safe unittest { assert(filenameCmp!(CaseSensitive.yes)(TestAliasedString("Abc"), "abc") < 0); assert(filenameCmp!(CaseSensitive.yes)("Abc", TestAliasedString("abc")) < 0); assert(filenameCmp!(CaseSensitive.yes)(TestAliasedString("Abc"), TestAliasedString("abc")) < 0); } @safe unittest { assert(filenameCmp!(CaseSensitive.yes)("Abc", "abc") < 0); assert(filenameCmp!(CaseSensitive.yes)("abc", "Abc") > 0); assert(filenameCmp!(CaseSensitive.no)("abc", "abc") == 0); assert(filenameCmp!(CaseSensitive.no)("abc", "abd") < 0); assert(filenameCmp!(CaseSensitive.no)("abc", "abb") > 0); assert(filenameCmp!(CaseSensitive.no)("abc", "abcd") < 0); assert(filenameCmp!(CaseSensitive.no)("abcd", "abc") > 0); assert(filenameCmp!(CaseSensitive.no)("Abc", "abc") == 0); assert(filenameCmp!(CaseSensitive.no)("abc", "Abc") == 0); assert(filenameCmp!(CaseSensitive.no)("Abc", "abD") < 0); assert(filenameCmp!(CaseSensitive.no)("abc", "AbB") > 0); version (Posix) assert(filenameCmp(`abc\def`, `abc/def`) != 0); version (Windows) assert(filenameCmp(`abc\def`, `abc/def`) == 0); } /** Matches a pattern against a path. Some characters of pattern have a special meaning (they are $(I meta-characters)) and can't be escaped. These are: $(BOOKTABLE, $(TR $(TD `*`) $(TD Matches 0 or more instances of any character.)) $(TR $(TD `?`) $(TD Matches exactly one instance of any character.)) $(TR $(TD `[`$(I chars)`]`) $(TD Matches one instance of any character that appears between the brackets.)) $(TR $(TD `[!`$(I chars)`]`) $(TD Matches one instance of any character that does not appear between the brackets after the exclamation mark.)) $(TR $(TD `{`$(I string1)`,`$(I string2)`,`&hellip;`}`) $(TD Matches either of the specified strings.)) ) Individual characters are compared using `filenameCharCmp!cs`, where `cs` is an optional template parameter determining whether the comparison is case sensitive or not. See the $(LREF filenameCharCmp) documentation for details. Note that directory separators and dots don't stop a meta-character from matching further portions of the path. Params: cs = Whether the matching should be case-sensitive path = The path to be matched against pattern = The glob pattern Returns: `true` if pattern matches path, `false` otherwise. See_also: $(LINK2 http://en.wikipedia.org/wiki/Glob_%28programming%29,Wikipedia: _glob (programming)) */ bool globMatch(CaseSensitive cs = CaseSensitive.osDefault, C, Range) (Range path, const(C)[] pattern) @safe pure nothrow if (isForwardRange!Range && !isInfinite!Range && isSomeChar!(ElementEncodingType!Range) && !isConvertibleToString!Range && isSomeChar!C && is(immutable C == immutable ElementEncodingType!Range)) in { // Verify that pattern[] is valid import std.algorithm.searching : balancedParens; assert(balancedParens(pattern, '[', ']', 0)); assert(balancedParens(pattern, '{', '}', 0)); } do { alias RC = Unqual!(ElementEncodingType!Range); static if (RC.sizeof == 1 && isSomeString!Range) { import std.utf : byChar; return globMatch!cs(path.byChar, pattern); } else static if (RC.sizeof == 2 && isSomeString!Range) { import std.utf : byWchar; return globMatch!cs(path.byWchar, pattern); } else { C[] pattmp; foreach (ref pi; 0 .. pattern.length) { const pc = pattern[pi]; switch (pc) { case '*': if (pi + 1 == pattern.length) return true; for (; !path.empty; path.popFront()) { auto p = path.save; if (globMatch!(cs, C)(p, pattern[pi + 1 .. pattern.length])) return true; } return false; case '?': if (path.empty) return false; path.popFront(); break; case '[': if (path.empty) return false; auto nc = path.front; path.popFront(); auto not = false; ++pi; if (pattern[pi] == '!') { not = true; ++pi; } auto anymatch = false; while (1) { const pc2 = pattern[pi]; if (pc2 == ']') break; if (!anymatch && (filenameCharCmp!cs(nc, pc2) == 0)) anymatch = true; ++pi; } if (anymatch == not) return false; break; case '{': // find end of {} section auto piRemain = pi; for (; piRemain < pattern.length && pattern[piRemain] != '}'; ++piRemain) { } if (piRemain < pattern.length) ++piRemain; ++pi; while (pi < pattern.length) { const pi0 = pi; C pc3 = pattern[pi]; // find end of current alternative for (; pi < pattern.length && pc3 != '}' && pc3 != ','; ++pi) { pc3 = pattern[pi]; } auto p = path.save; if (pi0 == pi) { if (globMatch!(cs, C)(p, pattern[piRemain..$])) { return true; } ++pi; } else { /* Match for: * pattern[pi0 .. pi-1] ~ pattern[piRemain..$] */ if (pattmp is null) // Allocate this only once per function invocation. // Should do it with malloc/free, but that would make it impure. pattmp = new C[pattern.length]; const len1 = pi - 1 - pi0; pattmp[0 .. len1] = pattern[pi0 .. pi - 1]; const len2 = pattern.length - piRemain; pattmp[len1 .. len1 + len2] = pattern[piRemain .. $]; if (globMatch!(cs, C)(p, pattmp[0 .. len1 + len2])) { return true; } } if (pc3 == '}') { break; } } return false; default: if (path.empty) return false; if (filenameCharCmp!cs(pc, path.front) != 0) return false; path.popFront(); break; } } return path.empty; } } /// @safe unittest { assert(globMatch("foo.bar", "*")); assert(globMatch("foo.bar", "*.*")); assert(globMatch(`foo/foo\bar`, "f*b*r")); assert(globMatch("foo.bar", "f???bar")); assert(globMatch("foo.bar", "[fg]???bar")); assert(globMatch("foo.bar", "[!gh]*bar")); assert(globMatch("bar.fooz", "bar.{foo,bif}z")); assert(globMatch("bar.bifz", "bar.{foo,bif}z")); version (Windows) { // Same as calling globMatch!(CaseSensitive.no)(path, pattern) assert(globMatch("foo", "Foo")); assert(globMatch("Goo.bar", "[fg]???bar")); } version (linux) { // Same as calling globMatch!(CaseSensitive.yes)(path, pattern) assert(!globMatch("foo", "Foo")); assert(!globMatch("Goo.bar", "[fg]???bar")); } } bool globMatch(CaseSensitive cs = CaseSensitive.osDefault, C, Range) (auto ref Range path, const(C)[] pattern) @safe pure nothrow if (isConvertibleToString!Range) { return globMatch!(cs, C, StringTypeOf!Range)(path, pattern); } @safe unittest { assert(testAliasedString!globMatch("foo.bar", "*")); } @safe unittest { assert(globMatch!(CaseSensitive.no)("foo", "Foo")); assert(!globMatch!(CaseSensitive.yes)("foo", "Foo")); assert(globMatch("foo", "*")); assert(globMatch("foo.bar"w, "*"w)); assert(globMatch("foo.bar"d, "*.*"d)); assert(globMatch("foo.bar", "foo*")); assert(globMatch("foo.bar"w, "f*bar"w)); assert(globMatch("foo.bar"d, "f*b*r"d)); assert(globMatch("foo.bar", "f???bar")); assert(globMatch("foo.bar"w, "[fg]???bar"w)); assert(globMatch("foo.bar"d, "[!gh]*bar"d)); assert(!globMatch("foo", "bar")); assert(!globMatch("foo"w, "*.*"w)); assert(!globMatch("foo.bar"d, "f*baz"d)); assert(!globMatch("foo.bar", "f*b*x")); assert(!globMatch("foo.bar", "[gh]???bar")); assert(!globMatch("foo.bar"w, "[!fg]*bar"w)); assert(!globMatch("foo.bar"d, "[fg]???baz"d)); assert(!globMatch("foo.di", "*.d")); // test issue 6634: triggered bad assertion assert(globMatch("foo.bar", "{foo,bif}.bar")); assert(globMatch("bif.bar"w, "{foo,bif}.bar"w)); assert(globMatch("bar.foo"d, "bar.{foo,bif}"d)); assert(globMatch("bar.bif", "bar.{foo,bif}")); assert(globMatch("bar.fooz"w, "bar.{foo,bif}z"w)); assert(globMatch("bar.bifz"d, "bar.{foo,bif}z"d)); assert(globMatch("bar.foo", "bar.{biz,,baz}foo")); assert(globMatch("bar.foo"w, "bar.{biz,}foo"w)); assert(globMatch("bar.foo"d, "bar.{,biz}foo"d)); assert(globMatch("bar.foo", "bar.{}foo")); assert(globMatch("bar.foo"w, "bar.{ar,,fo}o"w)); assert(globMatch("bar.foo"d, "bar.{,ar,fo}o"d)); assert(globMatch("bar.o", "bar.{,ar,fo}o")); assert(!globMatch("foo", "foo?")); assert(!globMatch("foo", "foo[]")); assert(!globMatch("foo", "foob")); assert(!globMatch("foo", "foo{b}")); static assert(globMatch("foo.bar", "[!gh]*bar")); } /** Checks that the given file or directory name is valid. The maximum length of `filename` is given by the constant `core.stdc.stdio.FILENAME_MAX`. (On Windows, this number is defined as the maximum number of UTF-16 code points, and the test will therefore only yield strictly correct results when `filename` is a string of `wchar`s.) On Windows, the following criteria must be satisfied ($(LINK2 http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx,source)): $(UL $(LI `filename` must not contain any characters whose integer representation is in the range 0-31.) $(LI `filename` must not contain any of the following $(I reserved characters): `<>:"/\|?*`) $(LI `filename` may not end with a space ($(D ' ')) or a period (`'.'`).) ) On POSIX, `filename` may not contain a forward slash (`'/'`) or the null character (`'\0'`). Params: filename = string to check Returns: `true` if and only if `filename` is not empty, not too long, and does not contain invalid characters. */ bool isValidFilename(Range)(Range filename) if ((isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range && isSomeChar!(ElementEncodingType!Range) || isNarrowString!Range) && !isConvertibleToString!Range) { import core.stdc.stdio : FILENAME_MAX; if (filename.length == 0 || filename.length >= FILENAME_MAX) return false; foreach (c; filename) { version (Windows) { switch (c) { case 0: .. case 31: case '<': case '>': case ':': case '"': case '/': case '\\': case '|': case '?': case '*': return false; default: break; } } else version (Posix) { if (c == 0 || c == '/') return false; } else static assert(0); } version (Windows) { auto last = filename[filename.length - 1]; if (last == '.' || last == ' ') return false; } // All criteria passed return true; } /// @safe pure @nogc nothrow unittest { import std.utf : byCodeUnit; assert(isValidFilename("hello.exe".byCodeUnit)); } bool isValidFilename(Range)(auto ref Range filename) if (isConvertibleToString!Range) { return isValidFilename!(StringTypeOf!Range)(filename); } @safe unittest { assert(testAliasedString!isValidFilename("hello.exe")); } @safe pure unittest { import std.conv; auto valid = ["foo"]; auto invalid = ["", "foo\0bar", "foo/bar"]; auto pfdep = [`foo\bar`, "*.txt"]; version (Windows) invalid ~= pfdep; else version (Posix) valid ~= pfdep; else static assert(0); import std.meta : AliasSeq; static foreach (T; AliasSeq!(char[], const(char)[], string, wchar[], const(wchar)[], wstring, dchar[], const(dchar)[], dstring)) { foreach (fn; valid) assert(isValidFilename(to!T(fn))); foreach (fn; invalid) assert(!isValidFilename(to!T(fn))); } { auto r = MockRange!(immutable(char))(`dir/file.d`); assert(!isValidFilename(r)); } static struct DirEntry { string s; alias s this; } assert(isValidFilename(DirEntry("file.ext"))); version (Windows) { immutable string cases = "<>:\"/\\|?*"; foreach (i; 0 .. 31 + cases.length) { char[3] buf; buf[0] = 'a'; buf[1] = i <= 31 ? cast(char) i : cases[i - 32]; buf[2] = 'b'; assert(!isValidFilename(buf[])); } } } /** Checks whether `path` is a valid path. Generally, this function checks that `path` is not empty, and that each component of the path either satisfies $(LREF isValidFilename) or is equal to `"."` or `".."`. $(B It does $(I not) check whether the path points to an existing file or directory; use $(REF exists, std,file) for this purpose.) On Windows, some special rules apply: $(UL $(LI If the second character of `path` is a colon (`':'`), the first character is interpreted as a drive letter, and must be in the range A-Z (case insensitive).) $(LI If `path` is on the form $(D `\\$(I server)\$(I share)\...`) (UNC path), $(LREF isValidFilename) is applied to $(I server) and $(I share) as well.) $(LI If `path` starts with $(D `\\?\`) (long UNC path), the only requirement for the rest of the string is that it does not contain the null character.) $(LI If `path` starts with $(D `\\.\`) (Win32 device namespace) this function returns `false`; such paths are beyond the scope of this module.) ) Params: path = string or Range of characters to check Returns: true if `path` is a valid path. */ bool isValidPath(Range)(Range path) if ((isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range && isSomeChar!(ElementEncodingType!Range) || isNarrowString!Range) && !isConvertibleToString!Range) { alias C = Unqual!(ElementEncodingType!Range); if (path.empty) return false; // Check whether component is "." or "..", or whether it satisfies // isValidFilename. bool isValidComponent(Range component) { assert(component.length > 0); if (component[0] == '.') { if (component.length == 1) return true; else if (component.length == 2 && component[1] == '.') return true; } return isValidFilename(component); } if (path.length == 1) return isDirSeparator(path[0]) || isValidComponent(path); Range remainder; version (Windows) { if (isDirSeparator(path[0]) && isDirSeparator(path[1])) { // Some kind of UNC path if (path.length < 5) { // All valid UNC paths must have at least 5 characters return false; } else if (path[2] == '?') { // Long UNC path if (!isDirSeparator(path[3])) return false; foreach (c; path[4 .. $]) { if (c == '\0') return false; } return true; } else if (path[2] == '.') { // Win32 device namespace not supported return false; } else { // Normal UNC path, i.e. \\server\share\... size_t i = 2; while (i < path.length && !isDirSeparator(path[i])) ++i; if (i == path.length || !isValidFilename(path[2 .. i])) return false; ++i; // Skip a single dir separator size_t j = i; while (j < path.length && !isDirSeparator(path[j])) ++j; if (!isValidFilename(path[i .. j])) return false; remainder = path[j .. $]; } } else if (isDriveSeparator(path[1])) { import std.ascii : isAlpha; if (!isAlpha(path[0])) return false; remainder = path[2 .. $]; } else { remainder = path; } } else version (Posix) { remainder = path; } else static assert(0); remainder = ltrimDirSeparators(remainder); // Check that each component satisfies isValidComponent. while (!remainder.empty) { size_t i = 0; while (i < remainder.length && !isDirSeparator(remainder[i])) ++i; assert(i > 0); if (!isValidComponent(remainder[0 .. i])) return false; remainder = ltrimDirSeparators(remainder[i .. $]); } // All criteria passed return true; } /// @safe pure @nogc nothrow unittest { assert(isValidPath("/foo/bar")); assert(!isValidPath("/foo\0/bar")); assert(isValidPath("/")); assert(isValidPath("a")); version (Windows) { assert(isValidPath(`c:\`)); assert(isValidPath(`c:\foo`)); assert(isValidPath(`c:\foo\.\bar\\\..\`)); assert(!isValidPath(`!:\foo`)); assert(!isValidPath(`c::\foo`)); assert(!isValidPath(`c:\foo?`)); assert(!isValidPath(`c:\foo.`)); assert(isValidPath(`\\server\share`)); assert(isValidPath(`\\server\share\foo`)); assert(isValidPath(`\\server\share\\foo`)); assert(!isValidPath(`\\\server\share\foo`)); assert(!isValidPath(`\\server\\share\foo`)); assert(!isValidPath(`\\ser*er\share\foo`)); assert(!isValidPath(`\\server\sha?e\foo`)); assert(!isValidPath(`\\server\share\|oo`)); assert(isValidPath(`\\?\<>:"?*|/\..\.`)); assert(!isValidPath("\\\\?\\foo\0bar")); assert(!isValidPath(`\\.\PhysicalDisk1`)); assert(!isValidPath(`\\`)); } import std.utf : byCodeUnit; assert(isValidPath("/foo/bar".byCodeUnit)); } bool isValidPath(Range)(auto ref Range path) if (isConvertibleToString!Range) { return isValidPath!(StringTypeOf!Range)(path); } @safe unittest { assert(testAliasedString!isValidPath("/foo/bar")); } /** Performs tilde expansion in paths on POSIX systems. On Windows, this function does nothing. There are two ways of using tilde expansion in a path. One involves using the tilde alone or followed by a path separator. In this case, the tilde will be expanded with the value of the environment variable `HOME`. The second way is putting a username after the tilde (i.e. `~john/Mail`). Here, the username will be searched for in the user database (i.e. `/etc/passwd` on Unix systems) and will expand to whatever path is stored there. The username is considered the string after the tilde ending at the first instance of a path separator. Note that using the `~user` syntax may give different values from just `~` if the environment variable doesn't match the value stored in the user database. When the environment variable version is used, the path won't be modified if the environment variable doesn't exist or it is empty. When the database version is used, the path won't be modified if the user doesn't exist in the database or there is not enough memory to perform the query. This function performs several memory allocations. Params: inputPath = The path name to expand. Returns: `inputPath` with the tilde expanded, or just `inputPath` if it could not be expanded. For Windows, `expandTilde` merely returns its argument `inputPath`. Example: ----- void processFile(string path) { // Allow calling this function with paths such as ~/foo auto fullPath = expandTilde(path); ... } ----- */ string expandTilde(string inputPath) @safe nothrow { version (Posix) { import core.exception : onOutOfMemoryError; import core.stdc.errno : errno, ERANGE; import core.stdc.stdlib : malloc, free, realloc; /* Joins a path from a C string to the remainder of path. The last path separator from c_path is discarded. The result is joined to path[char_pos .. length] if char_pos is smaller than length, otherwise path is not appended to c_path. */ static string combineCPathWithDPath(char* c_path, string path, size_t char_pos) @trusted nothrow { import core.stdc.string : strlen; import std.exception : assumeUnique; assert(c_path != null); assert(path.length > 0); assert(char_pos >= 0); // Search end of C string size_t end = strlen(c_path); const cPathEndsWithDirSep = end && isDirSeparator(c_path[end - 1]); string cp; if (char_pos < path.length) { // Remove trailing path separator, if any (with special care for root /) if (cPathEndsWithDirSep && (end > 1 || isDirSeparator(path[char_pos]))) end--; // Append something from path cp = assumeUnique(c_path[0 .. end] ~ path[char_pos .. $]); } else { // Remove trailing path separator, if any (except for root /) if (cPathEndsWithDirSep && end > 1) end--; // Create our own copy, as lifetime of c_path is undocumented cp = c_path[0 .. end].idup; } return cp; } // Replaces the tilde from path with the environment variable HOME. static string expandFromEnvironment(string path) @safe nothrow { import core.stdc.stdlib : getenv; assert(path.length >= 1); assert(path[0] == '~'); // Get HOME and use that to replace the tilde. auto home = () @trusted { return getenv("HOME"); } (); if (home == null) return path; return combineCPathWithDPath(home, path, 1); } // Replaces the tilde from path with the path from the user database. static string expandFromDatabase(string path) @safe nothrow { // bionic doesn't really support this, as getpwnam_r // isn't provided and getpwnam is basically just a stub version (CRuntime_Bionic) { return path; } else { import core.sys.posix.pwd : passwd, getpwnam_r; import std.string : indexOf; assert(path.length > 2 || (path.length == 2 && !isDirSeparator(path[1]))); assert(path[0] == '~'); // Extract username, searching for path separator. auto last_char = indexOf(path, dirSeparator[0]); size_t username_len = (last_char == -1) ? path.length : last_char; char[] username = new char[username_len * char.sizeof]; if (last_char == -1) { username[0 .. username_len - 1] = path[1 .. $]; last_char = path.length + 1; } else { username[0 .. username_len - 1] = path[1 .. last_char]; } username[username_len - 1] = 0; assert(last_char > 1); // Reserve C memory for the getpwnam_r() function. version (StdUnittest) uint extra_memory_size = 2; else uint extra_memory_size = 5 * 1024; char[] extra_memory; passwd result; while (1) { extra_memory.length += extra_memory_size; // Obtain info from database. passwd *verify; errno = 0; auto passResult = () @trusted { return getpwnam_r( &username[0], &result, &extra_memory[0], extra_memory.length, &verify ); } (); if (passResult == 0) { // Succeeded if verify points at result if (verify == () @trusted { return &result; } ()) // username is found path = combineCPathWithDPath(result.pw_dir, path, last_char); break; } if (errno != ERANGE && // On BSD and OSX, errno can be left at 0 instead of set to ERANGE errno != 0) onOutOfMemoryError(); // extra_memory isn't large enough import core.checkedint : mulu; bool overflow; extra_memory_size = mulu(extra_memory_size, 2, overflow); if (overflow) assert(0); } return path; } } // Return early if there is no tilde in path. if (inputPath.length < 1 || inputPath[0] != '~') return inputPath; if (inputPath.length == 1 || isDirSeparator(inputPath[1])) return expandFromEnvironment(inputPath); else return expandFromDatabase(inputPath); } else version (Windows) { // Put here real windows implementation. return inputPath; } else { static assert(0); // Guard. Implement on other platforms. } } /// @system unittest { version (Posix) { import std.process : environment; auto oldHome = environment["HOME"]; scope(exit) environment["HOME"] = oldHome; environment["HOME"] = "dmd/test"; assert(expandTilde("~/") == "dmd/test/"); assert(expandTilde("~") == "dmd/test"); } } @system unittest { version (Posix) { static if (__traits(compiles, { import std.process : executeShell; })) import std.process : executeShell; import std.process : environment; import std.string : strip; // Retrieve the current home variable. auto oldHome = environment.get("HOME"); // Testing when there is no environment variable. environment.remove("HOME"); assert(expandTilde("~/") == "~/"); assert(expandTilde("~") == "~"); // Testing when an environment variable is set. environment["HOME"] = "dmd/test"; assert(expandTilde("~/") == "dmd/test/"); assert(expandTilde("~") == "dmd/test"); // The same, but with a variable ending in a slash. environment["HOME"] = "dmd/test/"; assert(expandTilde("~/") == "dmd/test/"); assert(expandTilde("~") == "dmd/test"); // The same, but with a variable set to root. environment["HOME"] = "/"; assert(expandTilde("~/") == "/"); assert(expandTilde("~") == "/"); // Recover original HOME variable before continuing. if (oldHome !is null) environment["HOME"] = oldHome; else environment.remove("HOME"); static if (is(typeof(executeShell))) { immutable tildeUser = "~" ~ environment.get("USER"); immutable path = executeShell("echo " ~ tildeUser).output.strip(); immutable expTildeUser = expandTilde(tildeUser); assert(expTildeUser == path, expTildeUser); immutable expTildeUserSlash = expandTilde(tildeUser ~ "/"); immutable pathSlash = path[$-1] == '/' ? path : path ~ "/"; assert(expTildeUserSlash == pathSlash, expTildeUserSlash); } assert(expandTilde("~Idontexist/hey") == "~Idontexist/hey"); } } version (StdUnittest) { private: /* Define a mock RandomAccessRange to use for unittesting. */ struct MockRange(C) { this(C[] array) { this.array = array; } const { @property size_t length() { return array.length; } @property bool empty() { return array.length == 0; } @property C front() { return array[0]; } @property C back() { return array[$ - 1]; } alias opDollar = length; C opIndex(size_t i) { return array[i]; } } void popFront() { array = array[1 .. $]; } void popBack() { array = array[0 .. $-1]; } MockRange!C opSlice( size_t lwr, size_t upr) const { return MockRange!C(array[lwr .. upr]); } @property MockRange save() { return this; } private: C[] array; } /* Define a mock BidirectionalRange to use for unittesting. */ struct MockBiRange(C) { this(const(C)[] array) { this.array = array; } const { @property bool empty() { return array.length == 0; } @property C front() { return array[0]; } @property C back() { return array[$ - 1]; } @property size_t opDollar() { return array.length; } } void popFront() { array = array[1 .. $]; } void popBack() { array = array[0 .. $-1]; } @property MockBiRange save() { return this; } private: const(C)[] array; } } @safe unittest { static assert( isRandomAccessRange!(MockRange!(const(char))) ); static assert( isBidirectionalRange!(MockBiRange!(const(char))) ); } private template BaseOf(R) { static if (isRandomAccessRange!R && isSomeChar!(ElementType!R)) alias BaseOf = R; else alias BaseOf = StringTypeOf!R; }
D
/* * Collie - An asynchronous event-driven network framework using Dlang development * * Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd * * Developer: putao's Dlang team * * Licensed under the Apache-2.0 License. * */ module collie.bootstrap.server; import collie.socket; import collie.channel; import collie.bootstrap.serversslconfig; import std.stdio; //TODO: Need Test the ssl final class ServerBootstrap(PipeLine) { this() { _loop = new EventLoop(); } this(EventLoop loop) { _loop = loop; } auto pipeline(shared AcceptPipelineFactory factory) { _acceptorPipelineFactory = factory; return this; } auto setSSLConfig(ServerSSLConfig config) { _sslConfig = config; return this; } auto childPipeline(shared PipelineFactory!PipeLine factory) { _childPipelineFactory = factory; return this; } auto group(EventLoopGroup group) { _group = group; return this; } auto setReusePort(bool ruse) { _rusePort = ruse; return this; } /** The Value will be 0 or 5s ~ 1800s. 0 is disable, if(value < 5) value = 5; if(value > 3000) value = 1800; */ auto heartbeatTimeOut(uint second) { _timeOut = second; _timeOut = _timeOut < 5 ? 5 : _timeOut; _timeOut = _timeOut > 1800 ? 1800 : _timeOut; return this; } void bind(Address addr) { _address = addr; } void bind(ushort port) { _address = new InternetAddress(port); } void bind(string ip, ushort port) { _address = new InternetAddress(ip, port); } void stop() { if (!_runing) return; foreach (ref accept; _serverlist) { accept.stop(); } _mainAccept.stop(); join(); _loop.stop(); _runing = false; } void join() { if (!_runing) return; if (_group) _group.wait(); } void waitForStop() { if (_runing) return; if (_address is null || _childPipelineFactory is null) return; _runing = true; uint wheel, time; bool beat = getTimeWheelConfig(wheel, time); _mainAccept = creatorAcceptor(_loop); _mainAccept.initialize(); if (beat) { _mainAccept.startTimingWhile(wheel, time); } if (_group) { foreach (loop; _group) { auto acceptor = creatorAcceptor(loop); acceptor.initialize(); _serverlist ~= acceptor; if (beat) { acceptor.startTimingWhile(wheel, time); } } _group.start(); } _loop.run(); } protected: auto creatorAcceptor(EventLoop loop) { auto acceptor = new Acceptor(loop, _address.addressFamily == AddressFamily.INET6); acceptor.reusePort = _rusePort; acceptor.bind(_address); acceptor.listen(1024); AcceptPipeline pipe; if (_acceptorPipelineFactory) pipe = _acceptorPipelineFactory.newPipeline(acceptor); else pipe = AcceptPipeline.create(); SSL_CTX * ctx = null; if(_sslConfig) { ctx = _sslConfig.generateSSLCtx(); if(!ctx) throw new Exception("Can not gengrate SSL_CTX"); } return new ServerAcceptor!(PipeLine)(acceptor, pipe, _childPipelineFactory,ctx); } bool getTimeWheelConfig(out uint whileSize, out uint time) { if (_timeOut == 0) return false; if (_timeOut <= 40) { whileSize = 40; time = _timeOut * 1000 / 50; } else if (_timeOut <= 120) { whileSize = 60; time = _timeOut * 1000 / 60; } else if (_timeOut <= 600) { whileSize = 100; time = _timeOut * 1000 / 100; } else if (_timeOut < 1000) { whileSize = 150; time = _timeOut * 1000 / 150; } else { whileSize = 180; time = _timeOut * 1000 / 180; } return true; } private: shared AcceptPipelineFactory _acceptorPipelineFactory; shared PipelineFactory!PipeLine _childPipelineFactory; ServerAcceptor!(PipeLine) _mainAccept; EventLoop _loop; ServerAcceptor!(PipeLine)[] _serverlist; EventLoopGroup _group; bool _runing = false; bool _rusePort = true; uint _timeOut = 0; Address _address; ServerSSLConfig _sslConfig = null; } private: import std.functional; import collie.utils.timingwheel; import collie.utils.memory; final class ServerAcceptor(PipeLine) : InboundHandler!(Socket) { this(Acceptor acceptor, AcceptPipeline pipe,shared PipelineFactory!PipeLine clientPipeFactory, SSL_CTX * ctx = null) { _acceptor = acceptor; _pipeFactory = clientPipeFactory; pipe.addBack(this); pipe.finalize(); _pipe = pipe; _pipe.transport(_acceptor); _acceptor.setCallBack(&acceptCallBack); _sslctx = ctx; } pragma(inline,true) void initialize() { _pipe.transportActive(); } pragma(inline,true) void stop() { _pipe.transportInactive(); } override void read(Context ctx, Socket msg) { if (_sslctx) { auto ssl = SSL_new (_sslctx); if(SSL_set_fd(ssl, msg.handle()) < 0) { error("SSL_set_fd error: fd = ",msg.handle()); SSL_shutdown (ssl); SSL_free(ssl); return ; } SSL_set_accept_state(ssl); auto asynssl = new SSLSocket(_acceptor.eventLoop,msg,ssl); auto shark = new SSLHandShark(asynssl,&doHandShark); _sharkList[shark] = 0; asynssl.start(); } else { auto asyntcp = new TCPSocket(_acceptor.eventLoop, msg); startSocket(asyntcp); } } override void transportActive(Context ctx) { _acceptor.start(); } override void transportInactive(Context ctx) { _acceptor.close(); foreach (con, value; _list) { con.close(); con.stop(); } version(DigitalMars){ _list.clear(); } else { _list = null; } _acceptor.eventLoop.stop(); } protected: pragma(inline) void remove(ServerConnection!PipeLine conn) { _list.remove(conn); gcFree(conn); } void acceptCallBack(Socket soct) { _pipe.read(soct); } pragma(inline,true) @property acceptor() { return _acceptor; } void startTimingWhile(uint whileSize, uint time) { if (_timer) return; _timer = new Timer(_acceptor.eventLoop); _timer.setCallBack(&doWheel); _wheel = new TimingWheel(whileSize); _timer.start(time); } void doWheel() { if (_wheel) _wheel.prevWheel(); } void doHandShark(SSLHandShark shark, SSLSocket sock) { _sharkList.remove(shark); scope(exit) delete shark; if(sock) { sock.setHandshakeCallBack(null); startSocket(sock); } } void startSocket(TCPSocket sock) { auto pipe = _pipeFactory.newPipeline(sock); if (!pipe) { gcFree(sock); return; } pipe.finalize(); auto con = new ServerConnection!PipeLine(pipe); con.serverAceptor = this; _list[con] = 0; con.initialize(); if (_wheel) _wheel.addNewTimer(con); } private: int[ServerConnection!PipeLine] _list; int[SSLHandShark] _sharkList; Acceptor _acceptor; Timer _timer; TimingWheel _wheel; AcceptPipeline _pipe; shared PipelineFactory!PipeLine _pipeFactory; SSL_CTX * _sslctx = null; } final class ServerConnection(PipeLine) : WheelTimer, PipelineManager { this(PipeLine pipe) { _pipe = pipe; _pipe.pipelineManager = this; } ~this() { gcFree(_pipe); } pragma(inline,true) void initialize() { _pipe.transportActive(); } pragma(inline,true) void close() { _pipe.transportInactive(); } pragma(inline,true) @property serverAceptor() { return _manger; } pragma(inline,true) @property serverAceptor(ServerAcceptor!PipeLine manger) { _manger = manger; } override void deletePipeline(PipelineBase pipeline) { pipeline.pipelineManager = null; //_pipe = null; stop(); _manger.remove(this); } override void refreshTimeout() { rest(); } override void onTimeOut() nothrow { try { _pipe.timeOut(); } catch { } } private: ServerAcceptor!PipeLine _manger; PipeLine _pipe; } final class SSLHandShark { alias SSLHandSharkCallBack = void delegate(SSLHandShark shark, SSLSocket sock); this(SSLSocket sock, SSLHandSharkCallBack cback) { _socket = sock; _cback = cback; _socket.setCloseCallBack(&onClose); _socket.setReadCallBack(&readCallBack); _socket.setHandshakeCallBack(&handSharkCallBack); } ~this() { } protected: void handSharkCallBack() { trace("the ssl handshark over"); _cback(this,_socket); _socket = null; } void readCallBack(ubyte[] buffer){} void onClose() { trace("the ssl handshark fail"); _socket.setCloseCallBack(null); _socket.setReadCallBack(null); _socket.setHandshakeCallBack(null); _socket = null; _cback(this,_socket); } private: SSLSocket _socket; SSLHandSharkCallBack _cback; }
D
instance TPL_1403_Templer(Npc_Default) { name[0] = NAME_Templer; npcType = npctype_guard; guild = GIL_TPL; level = 17; flags = 0; voice = 8; id = 1403; attribute[ATR_STRENGTH] = 95; attribute[ATR_DEXTERITY] = 75; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 274; attribute[ATR_HITPOINTS] = 274; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Mage.mds"); Mdl_SetVisualBody(self,"hum_body_Naked0",1,1,"Hum_Head_FatBald",60,1,tpl_armor_m); B_Scale(self); Mdl_SetModelFatness(self,-1); fight_tactic = FAI_HUMAN_RANGED; Npc_SetTalentSkill(self,NPC_TALENT_2H,1); EquipItem(self,ItMw_2H_Sword_Light_01); EquipItem(self,ItRw_Crossbow_01); CreateInvItems(self,ItAmBolt,30); CreateInvItem(self,ItFoSoup); CreateInvItem(self,ItMiJoint_1); daily_routine = Rtn_start_1403; }; func void Rtn_start_1403() { TA_GuardPalisade(0,0,22,0,"PSI_GUARD2"); TA_GuardPalisade(22,0,24,0,"PSI_GUARD2"); }; func void Rtn_PrepareRitual_1403() { TA_GuardPalisade(0,0,22,0,"PSI_GUARD2"); TA_GuardPalisade(22,0,24,0,"PSI_GUARD2"); }; func void Rtn_OMFull_1403() { TA_GuardPalisade(0,0,22,0,"PSI_GUARD2"); TA_GuardPalisade(22,0,24,0,"PSI_GUARD2"); }; func void Rtn_FMTaken_1403() { TA_GuardPalisade(0,0,22,0,"PSI_GUARD2"); TA_GuardPalisade(22,0,24,0,"PSI_GUARD2"); }; func void Rtn_OrcAssault_1403() { TA_GuardPalisade(0,0,22,0,"PSI_GUARD2"); TA_GuardPalisade(22,0,24,0,"PSI_GUARD2"); };
D
// REQUIRED_ARGS: -m64 /* TEST_OUTPUT: --- fail_compilation/fail15999b.d(11): Error: bad type/size of operands 'and' --- */ void foo(ulong bar) { asm { and RAX, 0xFFFFFFFF00000000; ret; } }
D
/** * Generate $(LINK2 https://dlang.org/dmd-windows.html#interface-files, D interface files). * * Also used to convert AST nodes to D code in general, e.g. for error messages or `printf` debugging. * * Copyright: Copyright (C) 1999-2020 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/hdrgen.d, _hdrgen.d) * Documentation: https://dlang.org/phobos/dmd_hdrgen.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/hdrgen.d */ module dmd.hdrgen; import core.stdc.ctype; import core.stdc.stdio; import core.stdc.string; import dmd.aggregate; import dmd.aliasthis; import dmd.arraytypes; import dmd.attrib; import dmd.complex; import dmd.cond; import dmd.ctfeexpr; import dmd.dclass; import dmd.declaration; import dmd.denum; import dmd.dimport; import dmd.dmodule; import dmd.doc; import dmd.dstruct; import dmd.dsymbol; import dmd.dtemplate; import dmd.dversion; import dmd.expression; import dmd.func; import dmd.globals; import dmd.id; import dmd.identifier; import dmd.init; import dmd.mtype; import dmd.nspace; import dmd.parse; import dmd.root.ctfloat; import dmd.root.outbuffer; import dmd.root.rootobject; import dmd.root.string; import dmd.statement; import dmd.staticassert; import dmd.target; import dmd.tokens; import dmd.utils; import dmd.visitor; struct HdrGenState { bool hdrgen; /// true if generating header file bool ddoc; /// true if generating Ddoc file bool fullDump; /// true if generating a full AST dump file bool fullQual; /// fully qualify types when printing int tpltMember; int autoMember; int forStmtInit; bool declstring; // set while declaring alias for string,wstring or dstring EnumDeclaration inEnumDecl; } enum TEST_EMIT_ALL = 0; extern (C++) void genhdrfile(Module m) { OutBuffer buf; buf.doindent = 1; buf.printf("// D import file generated from '%s'", m.srcfile.toChars()); buf.writenl(); HdrGenState hgs; hgs.hdrgen = true; toCBuffer(m, &buf, &hgs); writeFile(m.loc, m.hdrfile.toString(), buf[]); } /** * Dumps the full contents of module `m` to `buf`. * Params: * buf = buffer to write to. * m = module to visit all members of. */ extern (C++) void moduleToBuffer(OutBuffer* buf, Module m) { HdrGenState hgs; hgs.fullDump = true; toCBuffer(m, buf, &hgs); } void moduleToBuffer2(Module m, OutBuffer* buf, HdrGenState* hgs) { if (m.md) { if (m.userAttribDecl) { buf.writestring("@("); argsToBuffer(m.userAttribDecl.atts, buf, hgs); buf.writeByte(')'); buf.writenl(); } if (m.md.isdeprecated) { if (m.md.msg) { buf.writestring("deprecated("); m.md.msg.expressionToBuffer(buf, hgs); buf.writestring(") "); } else buf.writestring("deprecated "); } buf.writestring("module "); buf.writestring(m.md.toChars()); buf.writeByte(';'); buf.writenl(); } foreach (s; *m.members) { s.dsymbolToBuffer(buf, hgs); } } private void statementToBuffer(Statement s, OutBuffer* buf, HdrGenState* hgs) { scope v = new StatementPrettyPrintVisitor(buf, hgs); s.accept(v); } private extern (C++) final class StatementPrettyPrintVisitor : Visitor { alias visit = Visitor.visit; public: OutBuffer* buf; HdrGenState* hgs; extern (D) this(OutBuffer* buf, HdrGenState* hgs) { this.buf = buf; this.hgs = hgs; } override void visit(Statement s) { buf.writestring("Statement::toCBuffer()"); buf.writenl(); assert(0); } override void visit(ErrorStatement s) { buf.writestring("__error__"); buf.writenl(); } override void visit(ExpStatement s) { if (s.exp && s.exp.op == TOK.declaration && (cast(DeclarationExp)s.exp).declaration) { // bypass visit(DeclarationExp) (cast(DeclarationExp)s.exp).declaration.dsymbolToBuffer(buf, hgs); return; } if (s.exp) s.exp.expressionToBuffer(buf, hgs); buf.writeByte(';'); if (!hgs.forStmtInit) buf.writenl(); } override void visit(CompileStatement s) { buf.writestring("mixin("); argsToBuffer(s.exps, buf, hgs, null); buf.writestring(");"); if (!hgs.forStmtInit) buf.writenl(); } override void visit(CompoundStatement s) { foreach (sx; *s.statements) { if (sx) sx.accept(this); } } override void visit(CompoundDeclarationStatement s) { bool anywritten = false; foreach (sx; *s.statements) { auto ds = sx ? sx.isExpStatement() : null; if (ds && ds.exp.op == TOK.declaration) { auto d = (cast(DeclarationExp)ds.exp).declaration; assert(d.isDeclaration()); if (auto v = d.isVarDeclaration()) { scope ppv = new DsymbolPrettyPrintVisitor(buf, hgs); ppv.visitVarDecl(v, anywritten); } else d.dsymbolToBuffer(buf, hgs); anywritten = true; } } buf.writeByte(';'); if (!hgs.forStmtInit) buf.writenl(); } override void visit(UnrolledLoopStatement s) { buf.writestring("/*unrolled*/ {"); buf.writenl(); buf.level++; foreach (sx; *s.statements) { if (sx) sx.accept(this); } buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(ScopeStatement s) { buf.writeByte('{'); buf.writenl(); buf.level++; if (s.statement) s.statement.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(WhileStatement s) { buf.writestring("while ("); s.condition.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); if (s._body) s._body.accept(this); } override void visit(DoStatement s) { buf.writestring("do"); buf.writenl(); if (s._body) s._body.accept(this); buf.writestring("while ("); s.condition.expressionToBuffer(buf, hgs); buf.writestring(");"); buf.writenl(); } override void visit(ForStatement s) { buf.writestring("for ("); if (s._init) { hgs.forStmtInit++; s._init.accept(this); hgs.forStmtInit--; } else buf.writeByte(';'); if (s.condition) { buf.writeByte(' '); s.condition.expressionToBuffer(buf, hgs); } buf.writeByte(';'); if (s.increment) { buf.writeByte(' '); s.increment.expressionToBuffer(buf, hgs); } buf.writeByte(')'); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (s._body) s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } private void foreachWithoutBody(ForeachStatement s) { buf.writestring(Token.toString(s.op)); buf.writestring(" ("); foreach (i, p; *s.parameters) { if (i) buf.writestring(", "); if (stcToBuffer(buf, p.storageClass)) buf.writeByte(' '); if (p.type) typeToBuffer(p.type, p.ident, buf, hgs); else buf.writestring(p.ident.toString()); } buf.writestring("; "); s.aggr.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); } override void visit(ForeachStatement s) { foreachWithoutBody(s); buf.writeByte('{'); buf.writenl(); buf.level++; if (s._body) s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } private void foreachRangeWithoutBody(ForeachRangeStatement s) { buf.writestring(Token.toString(s.op)); buf.writestring(" ("); if (s.prm.type) typeToBuffer(s.prm.type, s.prm.ident, buf, hgs); else buf.writestring(s.prm.ident.toString()); buf.writestring("; "); s.lwr.expressionToBuffer(buf, hgs); buf.writestring(" .. "); s.upr.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); } override void visit(ForeachRangeStatement s) { foreachRangeWithoutBody(s); buf.writeByte('{'); buf.writenl(); buf.level++; if (s._body) s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(StaticForeachStatement s) { buf.writestring("static "); if (s.sfe.aggrfe) { visit(s.sfe.aggrfe); } else { assert(s.sfe.rangefe); visit(s.sfe.rangefe); } } override void visit(ForwardingStatement s) { s.statement.accept(this); } override void visit(IfStatement s) { buf.writestring("if ("); if (Parameter p = s.prm) { StorageClass stc = p.storageClass; if (!p.type && !stc) stc = STC.auto_; if (stcToBuffer(buf, stc)) buf.writeByte(' '); if (p.type) typeToBuffer(p.type, p.ident, buf, hgs); else buf.writestring(p.ident.toString()); buf.writestring(" = "); } s.condition.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); if (s.ifbody.isScopeStatement()) { s.ifbody.accept(this); } else { buf.level++; s.ifbody.accept(this); buf.level--; } if (s.elsebody) { buf.writestring("else"); if (!s.elsebody.isIfStatement()) { buf.writenl(); } else { buf.writeByte(' '); } if (s.elsebody.isScopeStatement() || s.elsebody.isIfStatement()) { s.elsebody.accept(this); } else { buf.level++; s.elsebody.accept(this); buf.level--; } } } override void visit(ConditionalStatement s) { s.condition.conditionToBuffer(buf, hgs); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (s.ifbody) s.ifbody.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); if (s.elsebody) { buf.writestring("else"); buf.writenl(); buf.writeByte('{'); buf.level++; buf.writenl(); s.elsebody.accept(this); buf.level--; buf.writeByte('}'); } buf.writenl(); } override void visit(PragmaStatement s) { buf.writestring("pragma ("); buf.writestring(s.ident.toString()); if (s.args && s.args.dim) { buf.writestring(", "); argsToBuffer(s.args, buf, hgs); } buf.writeByte(')'); if (s._body) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } else { buf.writeByte(';'); buf.writenl(); } } override void visit(StaticAssertStatement s) { s.sa.dsymbolToBuffer(buf, hgs); } override void visit(SwitchStatement s) { buf.writestring(s.isFinal ? "final switch (" : "switch ("); s.condition.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); if (s._body) { if (!s._body.isScopeStatement()) { buf.writeByte('{'); buf.writenl(); buf.level++; s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } else { s._body.accept(this); } } } override void visit(CaseStatement s) { buf.writestring("case "); s.exp.expressionToBuffer(buf, hgs); buf.writeByte(':'); buf.writenl(); s.statement.accept(this); } override void visit(CaseRangeStatement s) { buf.writestring("case "); s.first.expressionToBuffer(buf, hgs); buf.writestring(": .. case "); s.last.expressionToBuffer(buf, hgs); buf.writeByte(':'); buf.writenl(); s.statement.accept(this); } override void visit(DefaultStatement s) { buf.writestring("default:"); buf.writenl(); s.statement.accept(this); } override void visit(GotoDefaultStatement s) { buf.writestring("goto default;"); buf.writenl(); } override void visit(GotoCaseStatement s) { buf.writestring("goto case"); if (s.exp) { buf.writeByte(' '); s.exp.expressionToBuffer(buf, hgs); } buf.writeByte(';'); buf.writenl(); } override void visit(SwitchErrorStatement s) { buf.writestring("SwitchErrorStatement::toCBuffer()"); buf.writenl(); } override void visit(ReturnStatement s) { buf.writestring("return "); if (s.exp) s.exp.expressionToBuffer(buf, hgs); buf.writeByte(';'); buf.writenl(); } override void visit(BreakStatement s) { buf.writestring("break"); if (s.ident) { buf.writeByte(' '); buf.writestring(s.ident.toString()); } buf.writeByte(';'); buf.writenl(); } override void visit(ContinueStatement s) { buf.writestring("continue"); if (s.ident) { buf.writeByte(' '); buf.writestring(s.ident.toString()); } buf.writeByte(';'); buf.writenl(); } override void visit(SynchronizedStatement s) { buf.writestring("synchronized"); if (s.exp) { buf.writeByte('('); s.exp.expressionToBuffer(buf, hgs); buf.writeByte(')'); } if (s._body) { buf.writeByte(' '); s._body.accept(this); } } override void visit(WithStatement s) { buf.writestring("with ("); s.exp.expressionToBuffer(buf, hgs); buf.writestring(")"); buf.writenl(); if (s._body) s._body.accept(this); } override void visit(TryCatchStatement s) { buf.writestring("try"); buf.writenl(); if (s._body) { if (s._body.isScopeStatement()) { s._body.accept(this); } else { buf.level++; s._body.accept(this); buf.level--; } } foreach (c; *s.catches) { visit(c); } } override void visit(TryFinallyStatement s) { buf.writestring("try"); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; s._body.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); buf.writestring("finally"); buf.writenl(); if (s.finalbody.isScopeStatement()) { s.finalbody.accept(this); } else { buf.level++; s.finalbody.accept(this); buf.level--; } } override void visit(ScopeGuardStatement s) { buf.writestring(Token.toString(s.tok)); buf.writeByte(' '); if (s.statement) s.statement.accept(this); } override void visit(ThrowStatement s) { buf.writestring("throw "); s.exp.expressionToBuffer(buf, hgs); buf.writeByte(';'); buf.writenl(); } override void visit(DebugStatement s) { if (s.statement) { s.statement.accept(this); } } override void visit(GotoStatement s) { buf.writestring("goto "); buf.writestring(s.ident.toString()); buf.writeByte(';'); buf.writenl(); } override void visit(LabelStatement s) { buf.writestring(s.ident.toString()); buf.writeByte(':'); buf.writenl(); if (s.statement) s.statement.accept(this); } override void visit(AsmStatement s) { buf.writestring("asm { "); Token* t = s.tokens; buf.level++; while (t) { buf.writestring(t.toChars()); if (t.next && t.value != TOK.min && t.value != TOK.comma && t.next.value != TOK.comma && t.value != TOK.leftBracket && t.next.value != TOK.leftBracket && t.next.value != TOK.rightBracket && t.value != TOK.leftParentheses && t.next.value != TOK.leftParentheses && t.next.value != TOK.rightParentheses && t.value != TOK.dot && t.next.value != TOK.dot) { buf.writeByte(' '); } t = t.next; } buf.level--; buf.writestring("; }"); buf.writenl(); } override void visit(ImportStatement s) { foreach (imp; *s.imports) { imp.dsymbolToBuffer(buf, hgs); } } void visit(Catch c) { buf.writestring("catch"); if (c.type) { buf.writeByte('('); typeToBuffer(c.type, c.ident, buf, hgs); buf.writeByte(')'); } buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (c.handler) c.handler.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } } private void dsymbolToBuffer(Dsymbol s, OutBuffer* buf, HdrGenState* hgs) { scope v = new DsymbolPrettyPrintVisitor(buf, hgs); s.accept(v); } private extern (C++) final class DsymbolPrettyPrintVisitor : Visitor { alias visit = Visitor.visit; public: OutBuffer* buf; HdrGenState* hgs; extern (D) this(OutBuffer* buf, HdrGenState* hgs) { this.buf = buf; this.hgs = hgs; } //////////////////////////////////////////////////////////////////////////// override void visit(Dsymbol s) { buf.writestring(s.toChars()); } override void visit(StaticAssert s) { buf.writestring(s.kind()); buf.writeByte('('); s.exp.expressionToBuffer(buf, hgs); if (s.msg) { buf.writestring(", "); s.msg.expressionToBuffer(buf, hgs); } buf.writestring(");"); buf.writenl(); } override void visit(DebugSymbol s) { buf.writestring("debug = "); if (s.ident) buf.writestring(s.ident.toString()); else buf.print(s.level); buf.writeByte(';'); buf.writenl(); } override void visit(VersionSymbol s) { buf.writestring("version = "); if (s.ident) buf.writestring(s.ident.toString()); else buf.print(s.level); buf.writeByte(';'); buf.writenl(); } override void visit(EnumMember em) { if (em.type) typeToBuffer(em.type, em.ident, buf, hgs); else buf.writestring(em.ident.toString()); if (em.value) { buf.writestring(" = "); em.value.expressionToBuffer(buf, hgs); } } override void visit(Import imp) { if (hgs.hdrgen && imp.id == Id.object) return; // object is imported by default if (imp.isstatic) buf.writestring("static "); buf.writestring("import "); if (imp.aliasId) { buf.printf("%s = ", imp.aliasId.toChars()); } if (imp.packages && imp.packages.dim) { foreach (const pid; *imp.packages) { buf.printf("%s.", pid.toChars()); } } buf.writestring(imp.id.toString()); if (imp.names.dim) { buf.writestring(" : "); foreach (const i, const name; imp.names) { if (i) buf.writestring(", "); const _alias = imp.aliases[i]; if (_alias) buf.printf("%s = %s", _alias.toChars(), name.toChars()); else buf.writestring(name.toChars()); } } buf.writeByte(';'); buf.writenl(); } override void visit(AliasThis d) { buf.writestring("alias "); buf.writestring(d.ident.toString()); buf.writestring(" this;\n"); } override void visit(AttribDeclaration d) { if (!d.decl) { buf.writeByte(';'); buf.writenl(); return; } if (d.decl.dim == 0) buf.writestring("{}"); else if (hgs.hdrgen && d.decl.dim == 1 && (*d.decl)[0].isUnitTestDeclaration()) { // hack for bugzilla 8081 buf.writestring("{}"); } else if (d.decl.dim == 1) { (*d.decl)[0].accept(this); return; } else { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (de; *d.decl) de.accept(this); buf.level--; buf.writeByte('}'); } buf.writenl(); } override void visit(StorageClassDeclaration d) { if (stcToBuffer(buf, d.stc)) buf.writeByte(' '); visit(cast(AttribDeclaration)d); } override void visit(DeprecatedDeclaration d) { buf.writestring("deprecated("); d.msg.expressionToBuffer(buf, hgs); buf.writestring(") "); visit(cast(AttribDeclaration)d); } override void visit(LinkDeclaration d) { buf.writestring("extern ("); buf.writestring(linkageToString(d.linkage)); buf.writestring(") "); visit(cast(AttribDeclaration)d); } override void visit(CPPMangleDeclaration d) { string s; final switch (d.cppmangle) { case CPPMANGLE.asClass: s = "class"; break; case CPPMANGLE.asStruct: s = "struct"; break; case CPPMANGLE.def: break; } buf.writestring("extern (C++, "); buf.writestring(s); buf.writestring(") "); visit(cast(AttribDeclaration)d); } override void visit(ProtDeclaration d) { protectionToBuffer(buf, d.protection); buf.writeByte(' '); AttribDeclaration ad = cast(AttribDeclaration)d; if (ad.decl.dim == 1 && (*ad.decl)[0].isProtDeclaration) visit(cast(AttribDeclaration)(*ad.decl)[0]); else visit(cast(AttribDeclaration)d); } override void visit(AlignDeclaration d) { buf.writestring("align "); if (d.ealign) buf.printf("(%s) ", d.ealign.toChars()); visit(cast(AttribDeclaration)d); } override void visit(AnonDeclaration d) { buf.writestring(d.isunion ? "union" : "struct"); buf.writenl(); buf.writestring("{"); buf.writenl(); buf.level++; if (d.decl) { foreach (de; *d.decl) de.accept(this); } buf.level--; buf.writestring("}"); buf.writenl(); } override void visit(PragmaDeclaration d) { buf.writestring("pragma ("); buf.writestring(d.ident.toString()); if (d.args && d.args.dim) { buf.writestring(", "); argsToBuffer(d.args, buf, hgs); } buf.writeByte(')'); visit(cast(AttribDeclaration)d); } override void visit(ConditionalDeclaration d) { d.condition.conditionToBuffer(buf, hgs); if (d.decl || d.elsedecl) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; if (d.decl) { foreach (de; *d.decl) de.accept(this); } buf.level--; buf.writeByte('}'); if (d.elsedecl) { buf.writenl(); buf.writestring("else"); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (de; *d.elsedecl) de.accept(this); buf.level--; buf.writeByte('}'); } } else buf.writeByte(':'); buf.writenl(); } override void visit(StaticForeachDeclaration s) { void foreachWithoutBody(ForeachStatement s) { buf.writestring(Token.toString(s.op)); buf.writestring(" ("); foreach (i, p; *s.parameters) { if (i) buf.writestring(", "); if (stcToBuffer(buf, p.storageClass)) buf.writeByte(' '); if (p.type) typeToBuffer(p.type, p.ident, buf, hgs); else buf.writestring(p.ident.toString()); } buf.writestring("; "); s.aggr.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); } void foreachRangeWithoutBody(ForeachRangeStatement s) { /* s.op ( prm ; lwr .. upr ) */ buf.writestring(Token.toString(s.op)); buf.writestring(" ("); if (s.prm.type) typeToBuffer(s.prm.type, s.prm.ident, buf, hgs); else buf.writestring(s.prm.ident.toString()); buf.writestring("; "); s.lwr.expressionToBuffer(buf, hgs); buf.writestring(" .. "); s.upr.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); } buf.writestring("static "); if (s.sfe.aggrfe) { foreachWithoutBody(s.sfe.aggrfe); } else { assert(s.sfe.rangefe); foreachRangeWithoutBody(s.sfe.rangefe); } buf.writeByte('{'); buf.writenl(); buf.level++; visit(cast(AttribDeclaration)s); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(CompileDeclaration d) { buf.writestring("mixin("); argsToBuffer(d.exps, buf, hgs, null); buf.writestring(");"); buf.writenl(); } override void visit(UserAttributeDeclaration d) { buf.writestring("@("); argsToBuffer(d.atts, buf, hgs); buf.writeByte(')'); visit(cast(AttribDeclaration)d); } override void visit(TemplateDeclaration d) { version (none) { // Should handle template functions for doc generation if (onemember && onemember.isFuncDeclaration()) buf.writestring("foo "); } if ((hgs.hdrgen || hgs.fullDump) && visitEponymousMember(d)) return; if (hgs.ddoc) buf.writestring(d.kind()); else buf.writestring("template"); buf.writeByte(' '); buf.writestring(d.ident.toString()); buf.writeByte('('); visitTemplateParameters(hgs.ddoc ? d.origParameters : d.parameters); buf.writeByte(')'); visitTemplateConstraint(d.constraint); if (hgs.hdrgen || hgs.fullDump) { hgs.tpltMember++; buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); hgs.tpltMember--; } } bool visitEponymousMember(TemplateDeclaration d) { if (!d.members || d.members.dim != 1) return false; Dsymbol onemember = (*d.members)[0]; if (onemember.ident != d.ident) return false; if (FuncDeclaration fd = onemember.isFuncDeclaration()) { assert(fd.type); if (stcToBuffer(buf, fd.storage_class)) buf.writeByte(' '); functionToBufferFull(cast(TypeFunction)fd.type, buf, d.ident, hgs, d); visitTemplateConstraint(d.constraint); hgs.tpltMember++; bodyToBuffer(fd); hgs.tpltMember--; return true; } if (AggregateDeclaration ad = onemember.isAggregateDeclaration()) { buf.writestring(ad.kind()); buf.writeByte(' '); buf.writestring(ad.ident.toString()); buf.writeByte('('); visitTemplateParameters(hgs.ddoc ? d.origParameters : d.parameters); buf.writeByte(')'); visitTemplateConstraint(d.constraint); visitBaseClasses(ad.isClassDeclaration()); hgs.tpltMember++; if (ad.members) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *ad.members) s.accept(this); buf.level--; buf.writeByte('}'); } else buf.writeByte(';'); buf.writenl(); hgs.tpltMember--; return true; } if (VarDeclaration vd = onemember.isVarDeclaration()) { if (d.constraint) return false; if (stcToBuffer(buf, vd.storage_class)) buf.writeByte(' '); if (vd.type) typeToBuffer(vd.type, vd.ident, buf, hgs); else buf.writestring(vd.ident.toString()); buf.writeByte('('); visitTemplateParameters(hgs.ddoc ? d.origParameters : d.parameters); buf.writeByte(')'); if (vd._init) { buf.writestring(" = "); ExpInitializer ie = vd._init.isExpInitializer(); if (ie && (ie.exp.op == TOK.construct || ie.exp.op == TOK.blit)) (cast(AssignExp)ie.exp).e2.expressionToBuffer(buf, hgs); else vd._init.initializerToBuffer(buf, hgs); } buf.writeByte(';'); buf.writenl(); return true; } return false; } void visitTemplateParameters(TemplateParameters* parameters) { if (!parameters || !parameters.dim) return; foreach (i, p; *parameters) { if (i) buf.writestring(", "); p.templateParameterToBuffer(buf, hgs); } } void visitTemplateConstraint(Expression constraint) { if (!constraint) return; buf.writestring(" if ("); constraint.expressionToBuffer(buf, hgs); buf.writeByte(')'); } override void visit(TemplateInstance ti) { buf.writestring(ti.name.toChars()); tiargsToBuffer(ti, buf, hgs); if (hgs.fullDump) { buf.writenl(); dumpTemplateInstance(ti, buf, hgs); } } override void visit(TemplateMixin tm) { buf.writestring("mixin "); typeToBuffer(tm.tqual, null, buf, hgs); tiargsToBuffer(tm, buf, hgs); if (tm.ident && memcmp(tm.ident.toChars(), cast(const(char)*)"__mixin", 7) != 0) { buf.writeByte(' '); buf.writestring(tm.ident.toString()); } buf.writeByte(';'); buf.writenl(); if (hgs.fullDump) dumpTemplateInstance(tm, buf, hgs); } override void visit(EnumDeclaration d) { auto oldInEnumDecl = hgs.inEnumDecl; scope(exit) hgs.inEnumDecl = oldInEnumDecl; hgs.inEnumDecl = d; buf.writestring("enum "); if (d.ident) { buf.writestring(d.ident.toString()); buf.writeByte(' '); } if (d.memtype) { buf.writestring(": "); typeToBuffer(d.memtype, null, buf, hgs); } if (!d.members) { buf.writeByte(';'); buf.writenl(); return; } buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (em; *d.members) { if (!em) continue; em.accept(this); buf.writeByte(','); buf.writenl(); } buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(Nspace d) { buf.writestring("extern (C++, "); buf.writestring(d.ident.toString()); buf.writeByte(')'); buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(StructDeclaration d) { buf.writestring(d.kind()); buf.writeByte(' '); if (!d.isAnonymous()) buf.writestring(d.toChars()); if (!d.members) { buf.writeByte(';'); buf.writenl(); return; } buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); buf.writenl(); } override void visit(ClassDeclaration d) { if (!d.isAnonymous()) { buf.writestring(d.kind()); buf.writeByte(' '); buf.writestring(d.ident.toString()); } visitBaseClasses(d); if (d.members) { buf.writenl(); buf.writeByte('{'); buf.writenl(); buf.level++; foreach (s; *d.members) s.accept(this); buf.level--; buf.writeByte('}'); } else buf.writeByte(';'); buf.writenl(); } void visitBaseClasses(ClassDeclaration d) { if (!d || !d.baseclasses.dim) return; if (!d.isAnonymous()) buf.writestring(" : "); foreach (i, b; *d.baseclasses) { if (i) buf.writestring(", "); typeToBuffer(b.type, null, buf, hgs); } } override void visit(AliasDeclaration d) { if (d.storage_class & STC.local) return; buf.writestring("alias "); if (d.aliassym) { buf.writestring(d.ident.toString()); buf.writestring(" = "); if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); d.aliassym.accept(this); } else if (d.type.ty == Tfunction) { if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); typeToBuffer(d.type, d.ident, buf, hgs); } else if (d.ident) { hgs.declstring = (d.ident == Id.string || d.ident == Id.wstring || d.ident == Id.dstring); buf.writestring(d.ident.toString()); buf.writestring(" = "); if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); typeToBuffer(d.type, null, buf, hgs); hgs.declstring = false; } buf.writeByte(';'); buf.writenl(); } override void visit(VarDeclaration d) { if (d.storage_class & STC.local) return; visitVarDecl(d, false); buf.writeByte(';'); buf.writenl(); } void visitVarDecl(VarDeclaration v, bool anywritten) { if (anywritten) { buf.writestring(", "); buf.writestring(v.ident.toString()); } else { if (stcToBuffer(buf, v.storage_class)) buf.writeByte(' '); if (v.type) typeToBuffer(v.type, v.ident, buf, hgs); else buf.writestring(v.ident.toString()); } if (v._init) { buf.writestring(" = "); auto ie = v._init.isExpInitializer(); if (ie && (ie.exp.op == TOK.construct || ie.exp.op == TOK.blit)) (cast(AssignExp)ie.exp).e2.expressionToBuffer(buf, hgs); else v._init.initializerToBuffer(buf, hgs); } } override void visit(FuncDeclaration f) { //printf("FuncDeclaration::toCBuffer() '%s'\n", f.toChars()); if (stcToBuffer(buf, f.storage_class)) buf.writeByte(' '); auto tf = cast(TypeFunction)f.type; typeToBuffer(tf, f.ident, buf, hgs); if (hgs.hdrgen) { // if the return type is missing (e.g. ref functions or auto) if (!tf.next || f.storage_class & STC.auto_) { hgs.autoMember++; bodyToBuffer(f); hgs.autoMember--; } else if (hgs.tpltMember == 0 && global.params.hdrStripPlainFunctions) { buf.writeByte(';'); buf.writenl(); } else bodyToBuffer(f); } else bodyToBuffer(f); } void bodyToBuffer(FuncDeclaration f) { if (!f.fbody || (hgs.hdrgen && global.params.hdrStripPlainFunctions && !hgs.autoMember && !hgs.tpltMember)) { buf.writeByte(';'); buf.writenl(); return; } const savetlpt = hgs.tpltMember; const saveauto = hgs.autoMember; hgs.tpltMember = 0; hgs.autoMember = 0; buf.writenl(); bool requireDo = false; // in{} if (f.frequires) { foreach (frequire; *f.frequires) { buf.writestring("in"); if (auto es = frequire.isExpStatement()) { assert(es.exp && es.exp.op == TOK.assert_); buf.writestring(" ("); (cast(AssertExp)es.exp).e1.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); requireDo = false; } else { buf.writenl(); frequire.statementToBuffer(buf, hgs); requireDo = true; } } } // out{} if (f.fensures) { foreach (fensure; *f.fensures) { buf.writestring("out"); if (auto es = fensure.ensure.isExpStatement()) { assert(es.exp && es.exp.op == TOK.assert_); buf.writestring(" ("); if (fensure.id) { buf.writestring(fensure.id.toString()); } buf.writestring("; "); (cast(AssertExp)es.exp).e1.expressionToBuffer(buf, hgs); buf.writeByte(')'); buf.writenl(); requireDo = false; } else { if (fensure.id) { buf.writeByte('('); buf.writestring(fensure.id.toString()); buf.writeByte(')'); } buf.writenl(); fensure.ensure.statementToBuffer(buf, hgs); requireDo = true; } } } if (requireDo) { buf.writestring("do"); buf.writenl(); } buf.writeByte('{'); buf.writenl(); buf.level++; f.fbody.statementToBuffer(buf, hgs); buf.level--; buf.writeByte('}'); buf.writenl(); hgs.tpltMember = savetlpt; hgs.autoMember = saveauto; } override void visit(FuncLiteralDeclaration f) { if (f.type.ty == Terror) { buf.writestring("__error"); return; } if (f.tok != TOK.reserved) { buf.writestring(f.kind()); buf.writeByte(' '); } TypeFunction tf = cast(TypeFunction)f.type; if (!f.inferRetType && tf.next) typeToBuffer(tf.next, null, buf, hgs); parametersToBuffer(tf.parameterList, buf, hgs); // https://issues.dlang.org/show_bug.cgi?id=20074 void printAttribute(string str) { buf.writeByte(' '); buf.writestring(str); } tf.attributesApply(&printAttribute); CompoundStatement cs = f.fbody.isCompoundStatement(); Statement s1; if (f.semanticRun >= PASS.semantic3done && cs) { s1 = (*cs.statements)[cs.statements.dim - 1]; } else s1 = !cs ? f.fbody : null; ReturnStatement rs = s1 ? s1.endsWithReturnStatement() : null; if (rs && rs.exp) { buf.writestring(" => "); rs.exp.expressionToBuffer(buf, hgs); } else { hgs.tpltMember++; bodyToBuffer(f); hgs.tpltMember--; } } override void visit(PostBlitDeclaration d) { if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); buf.writestring("this(this)"); bodyToBuffer(d); } override void visit(DtorDeclaration d) { if (d.storage_class & STC.trusted) buf.writestring("@trusted "); if (d.storage_class & STC.safe) buf.writestring("@safe "); if (d.storage_class & STC.nogc) buf.writestring("@nogc "); if (d.storage_class & STC.disable) buf.writestring("@disable "); buf.writestring("~this()"); bodyToBuffer(d); } override void visit(StaticCtorDeclaration d) { if (stcToBuffer(buf, d.storage_class & ~STC.static_)) buf.writeByte(' '); if (d.isSharedStaticCtorDeclaration()) buf.writestring("shared "); buf.writestring("static this()"); if (hgs.hdrgen && !hgs.tpltMember) { buf.writeByte(';'); buf.writenl(); } else bodyToBuffer(d); } override void visit(StaticDtorDeclaration d) { if (stcToBuffer(buf, d.storage_class & ~STC.static_)) buf.writeByte(' '); if (d.isSharedStaticDtorDeclaration()) buf.writestring("shared "); buf.writestring("static ~this()"); if (hgs.hdrgen && !hgs.tpltMember) { buf.writeByte(';'); buf.writenl(); } else bodyToBuffer(d); } override void visit(InvariantDeclaration d) { if (hgs.hdrgen) return; if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); buf.writestring("invariant"); if(auto es = d.fbody.isExpStatement()) { assert(es.exp && es.exp.op == TOK.assert_); buf.writestring(" ("); (cast(AssertExp)es.exp).e1.expressionToBuffer(buf, hgs); buf.writestring(");"); buf.writenl(); } else { bodyToBuffer(d); } } override void visit(UnitTestDeclaration d) { if (hgs.hdrgen) return; if (stcToBuffer(buf, d.storage_class)) buf.writeByte(' '); buf.writestring("unittest"); bodyToBuffer(d); } override void visit(NewDeclaration d) { if (stcToBuffer(buf, d.storage_class & ~STC.static_)) buf.writeByte(' '); buf.writestring("new"); parametersToBuffer(d.parameterList, buf, hgs); bodyToBuffer(d); } override void visit(Module m) { moduleToBuffer2(m, buf, hgs); } } private extern (C++) final class ExpressionPrettyPrintVisitor : Visitor { alias visit = Visitor.visit; public: OutBuffer* buf; HdrGenState* hgs; extern (D) this(OutBuffer* buf, HdrGenState* hgs) { this.buf = buf; this.hgs = hgs; } //////////////////////////////////////////////////////////////////////////// override void visit(Expression e) { buf.writestring(Token.toString(e.op)); } override void visit(IntegerExp e) { const dinteger_t v = e.toInteger(); if (e.type) { Type t = e.type; L1: switch (t.ty) { case Tenum: { TypeEnum te = cast(TypeEnum)t; if (hgs.fullDump) { auto sym = te.sym; if (hgs.inEnumDecl && sym && hgs.inEnumDecl != sym) foreach(i;0 .. sym.members.dim) { EnumMember em = cast(EnumMember) (*sym.members)[i]; if (em.value.toInteger == v) { buf.printf("%s.%s", sym.toChars(), em.ident.toChars()); return ; } } //assert(0, "We could not find the EmumMember");// for some reason it won't append char* ~ e.toChars() ~ " in " ~ sym.toChars() ); } buf.printf("cast(%s)", te.sym.toChars()); t = te.sym.memtype; goto L1; } case Twchar: // BUG: need to cast(wchar) case Tdchar: // BUG: need to cast(dchar) if (cast(uinteger_t)v > 0xFF) { buf.printf("'\\U%08llx'", cast(long)v); break; } goto case; case Tchar: { size_t o = buf.length; if (v == '\'') buf.writestring("'\\''"); else if (isprint(cast(int)v) && v != '\\') buf.printf("'%c'", cast(int)v); else buf.printf("'\\x%02x'", cast(int)v); if (hgs.ddoc) escapeDdocString(buf, o); break; } case Tint8: buf.writestring("cast(byte)"); goto L2; case Tint16: buf.writestring("cast(short)"); goto L2; case Tint32: L2: buf.printf("%d", cast(int)v); break; case Tuns8: buf.writestring("cast(ubyte)"); goto case Tuns32; case Tuns16: buf.writestring("cast(ushort)"); goto case Tuns32; case Tuns32: buf.printf("%uu", cast(uint)v); break; case Tint64: buf.printf("%lldL", v); break; case Tuns64: buf.printf("%lluLU", v); break; case Tbool: buf.writestring(v ? "true" : "false"); break; case Tpointer: buf.writestring("cast("); buf.writestring(t.toChars()); buf.writeByte(')'); if (target.ptrsize == 8) goto case Tuns64; else goto case Tuns32; default: /* This can happen if errors, such as * the type is painted on like in fromConstInitializer(). */ if (!global.errors) { assert(0); } break; } } else if (v & 0x8000000000000000L) buf.printf("0x%llx", v); else buf.print(v); } override void visit(ErrorExp e) { buf.writestring("__error"); } override void visit(VoidInitExp e) { buf.writestring("__void"); } void floatToBuffer(Type type, real_t value) { /** sizeof(value)*3 is because each byte of mantissa is max of 256 (3 characters). The string will be "-M.MMMMe-4932". (ie, 8 chars more than mantissa). Plus one for trailing \0. Plus one for rounding. */ const(size_t) BUFFER_LEN = value.sizeof * 3 + 8 + 1 + 1; char[BUFFER_LEN] buffer; CTFloat.sprint(buffer.ptr, 'g', value); assert(strlen(buffer.ptr) < BUFFER_LEN); if (hgs.hdrgen) { real_t r = CTFloat.parse(buffer.ptr); if (r != value) // if exact duplication CTFloat.sprint(buffer.ptr, 'a', value); } buf.writestring(buffer.ptr); if (buffer.ptr[strlen(buffer.ptr) - 1] == '.') buf.remove(buf.length() - 1, 1); if (type) { Type t = type.toBasetype(); switch (t.ty) { case Tfloat32: case Timaginary32: case Tcomplex32: buf.writeByte('F'); break; case Tfloat80: case Timaginary80: case Tcomplex80: buf.writeByte('L'); break; default: break; } if (t.isimaginary()) buf.writeByte('i'); } } override void visit(RealExp e) { floatToBuffer(e.type, e.value); } override void visit(ComplexExp e) { /* Print as: * (re+imi) */ buf.writeByte('('); floatToBuffer(e.type, creall(e.value)); buf.writeByte('+'); floatToBuffer(e.type, cimagl(e.value)); buf.writestring("i)"); } override void visit(IdentifierExp e) { if (hgs.hdrgen || hgs.ddoc) buf.writestring(e.ident.toHChars2()); else buf.writestring(e.ident.toString()); } override void visit(DsymbolExp e) { buf.writestring(e.s.toChars()); } override void visit(ThisExp e) { buf.writestring("this"); } override void visit(SuperExp e) { buf.writestring("super"); } override void visit(NullExp e) { buf.writestring("null"); } override void visit(StringExp e) { buf.writeByte('"'); const o = buf.length; for (size_t i = 0; i < e.len; i++) { const c = e.charAt(i); switch (c) { case '"': case '\\': buf.writeByte('\\'); goto default; default: if (c <= 0xFF) { if (c <= 0x7F && isprint(c)) buf.writeByte(c); else buf.printf("\\x%02x", c); } else if (c <= 0xFFFF) buf.printf("\\x%02x\\x%02x", c & 0xFF, c >> 8); else buf.printf("\\x%02x\\x%02x\\x%02x\\x%02x", c & 0xFF, (c >> 8) & 0xFF, (c >> 16) & 0xFF, c >> 24); break; } } if (hgs.ddoc) escapeDdocString(buf, o); buf.writeByte('"'); if (e.postfix) buf.writeByte(e.postfix); } override void visit(ArrayLiteralExp e) { buf.writeByte('['); argsToBuffer(e.elements, buf, hgs, e.basis); buf.writeByte(']'); } override void visit(AssocArrayLiteralExp e) { buf.writeByte('['); foreach (i, key; *e.keys) { if (i) buf.writestring(", "); expToBuffer(key, PREC.assign, buf, hgs); buf.writeByte(':'); auto value = (*e.values)[i]; expToBuffer(value, PREC.assign, buf, hgs); } buf.writeByte(']'); } override void visit(StructLiteralExp e) { buf.writestring(e.sd.toChars()); buf.writeByte('('); // CTFE can generate struct literals that contain an AddrExp pointing // to themselves, need to avoid infinite recursion: // struct S { this(int){ this.s = &this; } S* s; } // const foo = new S(0); if (e.stageflags & stageToCBuffer) buf.writestring("<recursion>"); else { const old = e.stageflags; e.stageflags |= stageToCBuffer; argsToBuffer(e.elements, buf, hgs); e.stageflags = old; } buf.writeByte(')'); } override void visit(TypeExp e) { typeToBuffer(e.type, null, buf, hgs); } override void visit(ScopeExp e) { if (e.sds.isTemplateInstance()) { e.sds.dsymbolToBuffer(buf, hgs); } else if (hgs !is null && hgs.ddoc) { // fixes bug 6491 if (auto m = e.sds.isModule()) buf.writestring(m.md.toChars()); else buf.writestring(e.sds.toChars()); } else { buf.writestring(e.sds.kind()); buf.writeByte(' '); buf.writestring(e.sds.toChars()); } } override void visit(TemplateExp e) { buf.writestring(e.td.toChars()); } override void visit(NewExp e) { if (e.thisexp) { expToBuffer(e.thisexp, PREC.primary, buf, hgs); buf.writeByte('.'); } buf.writestring("new "); if (e.newargs && e.newargs.dim) { buf.writeByte('('); argsToBuffer(e.newargs, buf, hgs); buf.writeByte(')'); } typeToBuffer(e.newtype, null, buf, hgs); if (e.arguments && e.arguments.dim) { buf.writeByte('('); argsToBuffer(e.arguments, buf, hgs); buf.writeByte(')'); } } override void visit(NewAnonClassExp e) { if (e.thisexp) { expToBuffer(e.thisexp, PREC.primary, buf, hgs); buf.writeByte('.'); } buf.writestring("new"); if (e.newargs && e.newargs.dim) { buf.writeByte('('); argsToBuffer(e.newargs, buf, hgs); buf.writeByte(')'); } buf.writestring(" class "); if (e.arguments && e.arguments.dim) { buf.writeByte('('); argsToBuffer(e.arguments, buf, hgs); buf.writeByte(')'); } if (e.cd) e.cd.dsymbolToBuffer(buf, hgs); } override void visit(SymOffExp e) { if (e.offset) buf.printf("(& %s%+lld)", e.var.toChars(), e.offset); else if (e.var.isTypeInfoDeclaration()) buf.writestring(e.var.toChars()); else buf.printf("& %s", e.var.toChars()); } override void visit(VarExp e) { buf.writestring(e.var.toChars()); } override void visit(OverExp e) { buf.writestring(e.vars.ident.toString()); } override void visit(TupleExp e) { if (e.e0) { buf.writeByte('('); e.e0.accept(this); buf.writestring(", tuple("); argsToBuffer(e.exps, buf, hgs); buf.writestring("))"); } else { buf.writestring("tuple("); argsToBuffer(e.exps, buf, hgs); buf.writeByte(')'); } } override void visit(FuncExp e) { e.fd.dsymbolToBuffer(buf, hgs); //buf.writestring(e.fd.toChars()); } override void visit(DeclarationExp e) { /* Normal dmd execution won't reach here - regular variable declarations * are handled in visit(ExpStatement), so here would be used only when * we'll directly call Expression.toChars() for debugging. */ if (e.declaration) { if (auto var = e.declaration.isVarDeclaration()) { // For debugging use: // - Avoid printing newline. // - Intentionally use the format (Type var;) // which isn't correct as regular D code. buf.writeByte('('); scope v = new DsymbolPrettyPrintVisitor(buf, hgs); v.visitVarDecl(var, false); buf.writeByte(';'); buf.writeByte(')'); } else e.declaration.dsymbolToBuffer(buf, hgs); } } override void visit(TypeidExp e) { buf.writestring("typeid("); objectToBuffer(e.obj, buf, hgs); buf.writeByte(')'); } override void visit(TraitsExp e) { buf.writestring("__traits("); if (e.ident) buf.writestring(e.ident.toString()); if (e.args) { foreach (arg; *e.args) { buf.writestring(", "); objectToBuffer(arg, buf, hgs); } } buf.writeByte(')'); } override void visit(HaltExp e) { buf.writestring("halt"); } override void visit(IsExp e) { buf.writestring("is("); typeToBuffer(e.targ, e.id, buf, hgs); if (e.tok2 != TOK.reserved) { buf.printf(" %s %s", Token.toChars(e.tok), Token.toChars(e.tok2)); } else if (e.tspec) { if (e.tok == TOK.colon) buf.writestring(" : "); else buf.writestring(" == "); typeToBuffer(e.tspec, null, buf, hgs); } if (e.parameters && e.parameters.dim) { buf.writestring(", "); scope v = new DsymbolPrettyPrintVisitor(buf, hgs); v.visitTemplateParameters(e.parameters); } buf.writeByte(')'); } override void visit(UnaExp e) { buf.writestring(Token.toString(e.op)); expToBuffer(e.e1, precedence[e.op], buf, hgs); } override void visit(BinExp e) { expToBuffer(e.e1, precedence[e.op], buf, hgs); buf.writeByte(' '); buf.writestring(Token.toString(e.op)); buf.writeByte(' '); expToBuffer(e.e2, cast(PREC)(precedence[e.op] + 1), buf, hgs); } override void visit(CommaExp e) { // CommaExp is generated by the compiler so it shouldn't // appear in error messages or header files. // For now, this treats the case where the compiler // generates CommaExp for temporaries by calling // the `sideeffect.copyToTemp` function. auto ve = e.e2.isVarExp(); // not a CommaExp introduced for temporaries, go on // the old path if (!ve || !ve.var.storage_class & STC.temp) { visit(cast(BinExp)e); return; } // CommaExp that contain temporaries inserted via // `copyToTemp` are usually of the form // ((T __temp = exp), __tmp). // Asserts are here to easily spot // missing cases where CommaExp // are used for other constructs auto vd = ve.var.isVarDeclaration(); assert(vd && vd._init); auto exp = vd._init.isExpInitializer.exp; assert(exp); Expression commaExtract; if (auto ce = exp.isConstructExp()) commaExtract = ce.e2; else if (auto se = exp.isStructLiteralExp) commaExtract = se; // not one of the known cases, go on the old path if (!commaExtract) { visit(cast(BinExp)e); return; } expToBuffer(commaExtract, precedence[exp.op], buf, hgs); } override void visit(CompileExp e) { buf.writestring("mixin("); argsToBuffer(e.exps, buf, hgs, null); buf.writeByte(')'); } override void visit(ImportExp e) { buf.writestring("import("); expToBuffer(e.e1, PREC.assign, buf, hgs); buf.writeByte(')'); } override void visit(AssertExp e) { buf.writestring("assert("); expToBuffer(e.e1, PREC.assign, buf, hgs); if (e.msg) { buf.writestring(", "); expToBuffer(e.msg, PREC.assign, buf, hgs); } buf.writeByte(')'); } override void visit(DotIdExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('.'); buf.writestring(e.ident.toString()); } override void visit(DotTemplateExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('.'); buf.writestring(e.td.toChars()); } override void visit(DotVarExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('.'); buf.writestring(e.var.toChars()); } override void visit(DotTemplateInstanceExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('.'); e.ti.dsymbolToBuffer(buf, hgs); } override void visit(DelegateExp e) { buf.writeByte('&'); if (!e.func.isNested() || e.func.needThis()) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('.'); } buf.writestring(e.func.toChars()); } override void visit(DotTypeExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('.'); buf.writestring(e.sym.toChars()); } override void visit(CallExp e) { if (e.e1.op == TOK.type) { /* Avoid parens around type to prevent forbidden cast syntax: * (sometype)(arg1) * This is ok since types in constructor calls * can never depend on parens anyway */ e.e1.accept(this); } else expToBuffer(e.e1, precedence[e.op], buf, hgs); buf.writeByte('('); argsToBuffer(e.arguments, buf, hgs); buf.writeByte(')'); } override void visit(PtrExp e) { buf.writeByte('*'); expToBuffer(e.e1, precedence[e.op], buf, hgs); } override void visit(DeleteExp e) { buf.writestring("delete "); expToBuffer(e.e1, precedence[e.op], buf, hgs); } override void visit(CastExp e) { buf.writestring("cast("); if (e.to) typeToBuffer(e.to, null, buf, hgs); else { MODtoBuffer(buf, e.mod); } buf.writeByte(')'); expToBuffer(e.e1, precedence[e.op], buf, hgs); } override void visit(VectorExp e) { buf.writestring("cast("); typeToBuffer(e.to, null, buf, hgs); buf.writeByte(')'); expToBuffer(e.e1, precedence[e.op], buf, hgs); } override void visit(VectorArrayExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writestring(".array"); } override void visit(SliceExp e) { expToBuffer(e.e1, precedence[e.op], buf, hgs); buf.writeByte('['); if (e.upr || e.lwr) { if (e.lwr) sizeToBuffer(e.lwr, buf, hgs); else buf.writeByte('0'); buf.writestring(".."); if (e.upr) sizeToBuffer(e.upr, buf, hgs); else buf.writeByte('$'); } buf.writeByte(']'); } override void visit(ArrayLengthExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writestring(".length"); } override void visit(IntervalExp e) { expToBuffer(e.lwr, PREC.assign, buf, hgs); buf.writestring(".."); expToBuffer(e.upr, PREC.assign, buf, hgs); } override void visit(DelegatePtrExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writestring(".ptr"); } override void visit(DelegateFuncptrExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writestring(".funcptr"); } override void visit(ArrayExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('['); argsToBuffer(e.arguments, buf, hgs); buf.writeByte(']'); } override void visit(DotExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('.'); expToBuffer(e.e2, PREC.primary, buf, hgs); } override void visit(IndexExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writeByte('['); sizeToBuffer(e.e2, buf, hgs); buf.writeByte(']'); } override void visit(PostExp e) { expToBuffer(e.e1, precedence[e.op], buf, hgs); buf.writestring(Token.toString(e.op)); } override void visit(PreExp e) { buf.writestring(Token.toString(e.op)); expToBuffer(e.e1, precedence[e.op], buf, hgs); } override void visit(RemoveExp e) { expToBuffer(e.e1, PREC.primary, buf, hgs); buf.writestring(".remove("); expToBuffer(e.e2, PREC.assign, buf, hgs); buf.writeByte(')'); } override void visit(CondExp e) { expToBuffer(e.econd, PREC.oror, buf, hgs); buf.writestring(" ? "); expToBuffer(e.e1, PREC.expr, buf, hgs); buf.writestring(" : "); expToBuffer(e.e2, PREC.cond, buf, hgs); } override void visit(DefaultInitExp e) { buf.writestring(Token.toString(e.subop)); } override void visit(ClassReferenceExp e) { buf.writestring(e.value.toChars()); } } private void templateParameterToBuffer(TemplateParameter tp, OutBuffer* buf, HdrGenState* hgs) { scope v = new TemplateParameterPrettyPrintVisitor(buf, hgs); tp.accept(v); } private extern (C++) final class TemplateParameterPrettyPrintVisitor : Visitor { alias visit = Visitor.visit; public: OutBuffer* buf; HdrGenState* hgs; extern (D) this(OutBuffer* buf, HdrGenState* hgs) { this.buf = buf; this.hgs = hgs; } override void visit(TemplateTypeParameter tp) { buf.writestring(tp.ident.toString()); if (tp.specType) { buf.writestring(" : "); typeToBuffer(tp.specType, null, buf, hgs); } if (tp.defaultType) { buf.writestring(" = "); typeToBuffer(tp.defaultType, null, buf, hgs); } } override void visit(TemplateThisParameter tp) { buf.writestring("this "); visit(cast(TemplateTypeParameter)tp); } override void visit(TemplateAliasParameter tp) { buf.writestring("alias "); if (tp.specType) typeToBuffer(tp.specType, tp.ident, buf, hgs); else buf.writestring(tp.ident.toString()); if (tp.specAlias) { buf.writestring(" : "); objectToBuffer(tp.specAlias, buf, hgs); } if (tp.defaultAlias) { buf.writestring(" = "); objectToBuffer(tp.defaultAlias, buf, hgs); } } override void visit(TemplateValueParameter tp) { typeToBuffer(tp.valType, tp.ident, buf, hgs); if (tp.specValue) { buf.writestring(" : "); tp.specValue.expressionToBuffer(buf, hgs); } if (tp.defaultValue) { buf.writestring(" = "); tp.defaultValue.expressionToBuffer(buf, hgs); } } override void visit(TemplateTupleParameter tp) { buf.writestring(tp.ident.toString()); buf.writestring("..."); } } private void conditionToBuffer(Condition c, OutBuffer* buf, HdrGenState* hgs) { scope v = new ConditionPrettyPrintVisitor(buf, hgs); c.accept(v); } private extern (C++) final class ConditionPrettyPrintVisitor : Visitor { alias visit = Visitor.visit; public: OutBuffer* buf; HdrGenState* hgs; extern (D) this(OutBuffer* buf, HdrGenState* hgs) { this.buf = buf; this.hgs = hgs; } override void visit(DebugCondition c) { buf.writestring("debug ("); if (c.ident) buf.writestring(c.ident.toString()); else buf.print(c.level); buf.writeByte(')'); } override void visit(VersionCondition c) { buf.writestring("version ("); if (c.ident) buf.writestring(c.ident.toString()); else buf.print(c.level); buf.writeByte(')'); } override void visit(StaticIfCondition c) { buf.writestring("static if ("); c.exp.expressionToBuffer(buf, hgs); buf.writeByte(')'); } } void toCBuffer(const Statement s, OutBuffer* buf, HdrGenState* hgs) { scope v = new StatementPrettyPrintVisitor(buf, hgs); (cast() s).accept(v); } void toCBuffer(const Type t, OutBuffer* buf, const Identifier ident, HdrGenState* hgs) { typeToBuffer(cast() t, ident, buf, hgs); } void toCBuffer(Dsymbol s, OutBuffer* buf, HdrGenState* hgs) { scope v = new DsymbolPrettyPrintVisitor(buf, hgs); s.accept(v); } // used from TemplateInstance::toChars() and TemplateMixin::toChars() void toCBufferInstance(const TemplateInstance ti, OutBuffer* buf, bool qualifyTypes = false) { HdrGenState hgs; hgs.fullQual = qualifyTypes; scope v = new DsymbolPrettyPrintVisitor(buf, &hgs); v.visit(cast() ti); } void toCBuffer(const Initializer iz, OutBuffer* buf, HdrGenState* hgs) { initializerToBuffer(cast() iz, buf, hgs); } bool stcToBuffer(OutBuffer* buf, StorageClass stc) { bool result = false; if ((stc & (STC.return_ | STC.scope_)) == (STC.return_ | STC.scope_)) stc &= ~STC.scope_; if (stc & STC.scopeinferred) stc &= ~(STC.scope_ | STC.scopeinferred); while (stc) { const s = stcToString(stc); if (!s.length) break; if (result) buf.writeByte(' '); result = true; buf.writestring(s); } return result; } /************************************************* * Pick off one of the storage classes from stc, * and return a string representation of it. * stc is reduced by the one picked. */ string stcToString(ref StorageClass stc) { struct SCstring { StorageClass stc; TOK tok; string id; } __gshared SCstring* table = [ SCstring(STC.auto_, TOK.auto_), SCstring(STC.scope_, TOK.scope_), SCstring(STC.static_, TOK.static_), SCstring(STC.extern_, TOK.extern_), SCstring(STC.const_, TOK.const_), SCstring(STC.final_, TOK.final_), SCstring(STC.abstract_, TOK.abstract_), SCstring(STC.synchronized_, TOK.synchronized_), SCstring(STC.deprecated_, TOK.deprecated_), SCstring(STC.override_, TOK.override_), SCstring(STC.lazy_, TOK.lazy_), SCstring(STC.alias_, TOK.alias_), SCstring(STC.out_, TOK.out_), SCstring(STC.in_, TOK.in_), SCstring(STC.manifest, TOK.enum_), SCstring(STC.immutable_, TOK.immutable_), SCstring(STC.shared_, TOK.shared_), SCstring(STC.nothrow_, TOK.nothrow_), SCstring(STC.wild, TOK.inout_), SCstring(STC.pure_, TOK.pure_), SCstring(STC.ref_, TOK.ref_), SCstring(STC.return_, TOK.return_), SCstring(STC.tls), SCstring(STC.gshared, TOK.gshared), SCstring(STC.nogc, TOK.at, "@nogc"), SCstring(STC.property, TOK.at, "@property"), SCstring(STC.safe, TOK.at, "@safe"), SCstring(STC.trusted, TOK.at, "@trusted"), SCstring(STC.system, TOK.at, "@system"), SCstring(STC.disable, TOK.at, "@disable"), SCstring(STC.future, TOK.at, "@__future"), SCstring(STC.local, TOK.at, "__local"), SCstring(0, TOK.reserved) ]; for (int i = 0; table[i].stc; i++) { StorageClass tbl = table[i].stc; assert(tbl & STCStorageClass); if (stc & tbl) { stc &= ~tbl; if (tbl == STC.tls) // TOKtls was removed return "__thread"; TOK tok = table[i].tok; if (tok != TOK.at && !table[i].id.length) table[i].id = Token.toString(tok); // lazilly initialize table return table[i].id; } } //printf("stc = %llx\n", stc); return null; } const(char)* stcToChars(ref StorageClass stc) { const s = stcToString(stc); return &s[0]; // assume 0 terminated } /// Ditto extern (D) string trustToString(TRUST trust) pure nothrow { final switch (trust) { case TRUST.default_: return null; case TRUST.system: return "@system"; case TRUST.trusted: return "@trusted"; case TRUST.safe: return "@safe"; } } private void linkageToBuffer(OutBuffer* buf, LINK linkage) { const s = linkageToString(linkage); if (s.length) { buf.writestring("extern ("); buf.writestring(s); buf.writeByte(')'); } } const(char)* linkageToChars(LINK linkage) { /// Works because we return a literal return linkageToString(linkage).ptr; } string linkageToString(LINK linkage) pure nothrow { final switch (linkage) { case LINK.default_: return null; case LINK.d: return "D"; case LINK.c: return "C"; case LINK.cpp: return "C++"; case LINK.windows: return "Windows"; case LINK.pascal: return "Pascal"; case LINK.objc: return "Objective-C"; case LINK.system: return "System"; } } void protectionToBuffer(OutBuffer* buf, Prot prot) { buf.writestring(protectionToString(prot.kind)); if (prot.kind == Prot.Kind.package_ && prot.pkg) { buf.writeByte('('); buf.writestring(prot.pkg.toPrettyChars(true)); buf.writeByte(')'); } } /** * Returns: * a human readable representation of `kind` */ const(char)* protectionToChars(Prot.Kind kind) { // Null terminated because we return a literal return protectionToString(kind).ptr; } /// Ditto extern (D) string protectionToString(Prot.Kind kind) nothrow pure { final switch (kind) { case Prot.Kind.undefined: return null; case Prot.Kind.none: return "none"; case Prot.Kind.private_: return "private"; case Prot.Kind.package_: return "package"; case Prot.Kind.protected_: return "protected"; case Prot.Kind.public_: return "public"; case Prot.Kind.export_: return "export"; } } // Print the full function signature with correct ident, attributes and template args void functionToBufferFull(TypeFunction tf, OutBuffer* buf, const Identifier ident, HdrGenState* hgs, TemplateDeclaration td) { //printf("TypeFunction::toCBuffer() this = %p\n", this); visitFuncIdentWithPrefix(tf, ident, td, buf, hgs); } // ident is inserted before the argument list and will be "function" or "delegate" for a type void functionToBufferWithIdent(TypeFunction tf, OutBuffer* buf, const(char)* ident) { HdrGenState hgs; visitFuncIdentWithPostfix(tf, ident.toDString(), buf, &hgs); } void toCBuffer(const Expression e, OutBuffer* buf, HdrGenState* hgs) { scope v = new ExpressionPrettyPrintVisitor(buf, hgs); (cast() e).accept(v); } /************************************************** * Write out argument types to buf. */ void argExpTypesToCBuffer(OutBuffer* buf, Expressions* arguments) { if (!arguments || !arguments.dim) return; HdrGenState hgs; foreach (i, arg; *arguments) { if (i) buf.writestring(", "); typeToBuffer(arg.type, null, buf, &hgs); } } void toCBuffer(const TemplateParameter tp, OutBuffer* buf, HdrGenState* hgs) { scope v = new TemplateParameterPrettyPrintVisitor(buf, hgs); (cast() tp).accept(v); } void arrayObjectsToBuffer(OutBuffer* buf, Objects* objects) { if (!objects || !objects.dim) return; HdrGenState hgs; foreach (i, o; *objects) { if (i) buf.writestring(", "); objectToBuffer(o, buf, &hgs); } } /************************************************************* * Pretty print function parameters. * Params: * pl = parameter list to print * Returns: Null-terminated string representing parameters. */ extern (C++) const(char)* parametersTypeToChars(ParameterList pl) { OutBuffer buf; HdrGenState hgs; parametersToBuffer(pl, &buf, &hgs); return buf.extractChars(); } /************************************************************* * Pretty print function parameter. * Params: * parameter = parameter to print. * tf = TypeFunction which holds parameter. * fullQual = whether to fully qualify types. * Returns: Null-terminated string representing parameters. */ const(char)* parameterToChars(Parameter parameter, TypeFunction tf, bool fullQual) { OutBuffer buf; HdrGenState hgs; hgs.fullQual = fullQual; parameterToBuffer(parameter, &buf, &hgs); if (tf.parameterList.varargs == VarArg.typesafe && parameter == tf.parameterList[tf.parameterList.parameters.dim - 1]) { buf.writestring("..."); } return buf.extractChars(); } /************************************************* * Write ParameterList to buffer. * Params: * pl = parameter list to serialize * buf = buffer to write it to * hgs = context */ private void parametersToBuffer(ParameterList pl, OutBuffer* buf, HdrGenState* hgs) { buf.writeByte('('); foreach (i; 0 .. pl.length) { if (i) buf.writestring(", "); pl[i].parameterToBuffer(buf, hgs); } final switch (pl.varargs) { case VarArg.none: break; case VarArg.variadic: if (pl.length) buf.writestring(", "); if (stcToBuffer(buf, pl.stc)) buf.writeByte(' '); goto case VarArg.typesafe; case VarArg.typesafe: buf.writestring("..."); break; } buf.writeByte(')'); } /*********************************************************** * Write parameter `p` to buffer `buf`. * Params: * p = parameter to serialize * buf = buffer to write it to * hgs = context */ private void parameterToBuffer(Parameter p, OutBuffer* buf, HdrGenState* hgs) { if (p.userAttribDecl) { buf.writeByte('@'); bool isAnonymous = p.userAttribDecl.atts.dim > 0 && (*p.userAttribDecl.atts)[0].op != TOK.call; if (isAnonymous) buf.writeByte('('); argsToBuffer(p.userAttribDecl.atts, buf, hgs); if (isAnonymous) buf.writeByte(')'); buf.writeByte(' '); } if (p.storageClass & STC.auto_) buf.writestring("auto "); if (p.storageClass & STC.return_) buf.writestring("return "); if (p.storageClass & STC.out_) buf.writestring("out "); else if (p.storageClass & STC.ref_) buf.writestring("ref "); else if (p.storageClass & STC.in_) buf.writestring("in "); else if (p.storageClass & STC.lazy_) buf.writestring("lazy "); else if (p.storageClass & STC.alias_) buf.writestring("alias "); StorageClass stc = p.storageClass; if (p.type && p.type.mod & MODFlags.shared_) stc &= ~STC.shared_; if (stcToBuffer(buf, stc & (STC.const_ | STC.immutable_ | STC.wild | STC.shared_ | STC.scope_ | STC.scopeinferred))) buf.writeByte(' '); if (p.storageClass & STC.alias_) { if (p.ident) buf.writestring(p.ident.toString()); } else if (p.type.ty == Tident && (cast(TypeIdentifier)p.type).ident.toString().length > 3 && strncmp((cast(TypeIdentifier)p.type).ident.toChars(), "__T", 3) == 0) { // print parameter name, instead of undetermined type parameter buf.writestring(p.ident.toString()); } else { typeToBuffer(p.type, p.ident, buf, hgs); } if (p.defaultArg) { buf.writestring(" = "); p.defaultArg.expToBuffer(PREC.assign, buf, hgs); } } /************************************************** * Write out argument list to buf. */ private void argsToBuffer(Expressions* expressions, OutBuffer* buf, HdrGenState* hgs, Expression basis = null) { if (!expressions || !expressions.dim) return; version (all) { foreach (i, el; *expressions) { if (i) buf.writestring(", "); if (!el) el = basis; if (el) expToBuffer(el, PREC.assign, buf, hgs); } } else { // Sparse style formatting, for debug use only // [0..dim: basis, 1: e1, 5: e5] if (basis) { buf.writestring("0.."); buf.print(expressions.dim); buf.writestring(": "); expToBuffer(basis, PREC.assign, buf, hgs); } foreach (i, el; *expressions) { if (el) { if (basis) { buf.writestring(", "); buf.print(i); buf.writestring(": "); } else if (i) buf.writestring(", "); expToBuffer(el, PREC.assign, buf, hgs); } } } } private void sizeToBuffer(Expression e, OutBuffer* buf, HdrGenState* hgs) { if (e.type == Type.tsize_t) { Expression ex = (e.op == TOK.cast_ ? (cast(CastExp)e).e1 : e); ex = ex.optimize(WANTvalue); const dinteger_t uval = ex.op == TOK.int64 ? ex.toInteger() : cast(dinteger_t)-1; if (cast(sinteger_t)uval >= 0) { dinteger_t sizemax = void; if (target.ptrsize == 8) sizemax = 0xFFFFFFFFFFFFFFFFUL; else if (target.ptrsize == 4) sizemax = 0xFFFFFFFFU; else if (target.ptrsize == 2) sizemax = 0xFFFFU; else assert(0); if (uval <= sizemax && uval <= 0x7FFFFFFFFFFFFFFFUL) { buf.print(uval); return; } } } expToBuffer(e, PREC.assign, buf, hgs); } private void expressionToBuffer(Expression e, OutBuffer* buf, HdrGenState* hgs) { scope v = new ExpressionPrettyPrintVisitor(buf, hgs); e.accept(v); } /************************************************** * Write expression out to buf, but wrap it * in ( ) if its precedence is less than pr. */ private void expToBuffer(Expression e, PREC pr, OutBuffer* buf, HdrGenState* hgs) { debug { if (precedence[e.op] == PREC.zero) printf("precedence not defined for token '%s'\n", Token.toChars(e.op)); } if (e.op == 0xFF) { buf.writestring("<FF>"); return; } assert(precedence[e.op] != PREC.zero); assert(pr != PREC.zero); /* Despite precedence, we don't allow a<b<c expressions. * They must be parenthesized. */ if (precedence[e.op] < pr || (pr == PREC.rel && precedence[e.op] == pr) || (pr >= PREC.or && pr <= PREC.and && precedence[e.op] == PREC.rel)) { buf.writeByte('('); e.expressionToBuffer(buf, hgs); buf.writeByte(')'); } else { e.expressionToBuffer(buf, hgs); } } /************************************************** * An entry point to pretty-print type. */ private void typeToBuffer(Type t, const Identifier ident, OutBuffer* buf, HdrGenState* hgs) { if (auto tf = t.isTypeFunction()) { visitFuncIdentWithPrefix(tf, ident, null, buf, hgs); return; } visitWithMask(t, 0, buf, hgs); if (ident) { buf.writeByte(' '); buf.writestring(ident.toString()); } } private void visitWithMask(Type t, ubyte modMask, OutBuffer* buf, HdrGenState* hgs) { // Tuples and functions don't use the type constructor syntax if (modMask == t.mod || t.ty == Tfunction || t.ty == Ttuple) { typeToBufferx(t, buf, hgs); } else { ubyte m = t.mod & ~(t.mod & modMask); if (m & MODFlags.shared_) { MODtoBuffer(buf, MODFlags.shared_); buf.writeByte('('); } if (m & MODFlags.wild) { MODtoBuffer(buf, MODFlags.wild); buf.writeByte('('); } if (m & (MODFlags.const_ | MODFlags.immutable_)) { MODtoBuffer(buf, m & (MODFlags.const_ | MODFlags.immutable_)); buf.writeByte('('); } typeToBufferx(t, buf, hgs); if (m & (MODFlags.const_ | MODFlags.immutable_)) buf.writeByte(')'); if (m & MODFlags.wild) buf.writeByte(')'); if (m & MODFlags.shared_) buf.writeByte(')'); } } private void dumpTemplateInstance(TemplateInstance ti, OutBuffer* buf, HdrGenState* hgs) { buf.writeByte('{'); buf.writenl(); buf.level++; if (ti.aliasdecl) { ti.aliasdecl.dsymbolToBuffer(buf, hgs); buf.writenl(); } else if (ti.members) { foreach(m;*ti.members) m.dsymbolToBuffer(buf, hgs); } buf.level--; buf.writeByte('}'); buf.writenl(); } private void tiargsToBuffer(TemplateInstance ti, OutBuffer* buf, HdrGenState* hgs) { buf.writeByte('!'); if (ti.nest) { buf.writestring("(...)"); return; } if (!ti.tiargs) { buf.writestring("()"); return; } if (ti.tiargs.dim == 1) { RootObject oarg = (*ti.tiargs)[0]; if (Type t = isType(oarg)) { if (t.equals(Type.tstring) || t.equals(Type.twstring) || t.equals(Type.tdstring) || t.mod == 0 && (t.isTypeBasic() || t.ty == Tident && (cast(TypeIdentifier)t).idents.dim == 0)) { buf.writestring(t.toChars()); return; } } else if (Expression e = isExpression(oarg)) { if (e.op == TOK.int64 || e.op == TOK.float64 || e.op == TOK.null_ || e.op == TOK.string_ || e.op == TOK.this_) { buf.writestring(e.toChars()); return; } } } buf.writeByte('('); ti.nest++; foreach (i, arg; *ti.tiargs) { if (i) buf.writestring(", "); objectToBuffer(arg, buf, hgs); } ti.nest--; buf.writeByte(')'); } /**************************************** * This makes a 'pretty' version of the template arguments. * It's analogous to genIdent() which makes a mangled version. */ private void objectToBuffer(RootObject oarg, OutBuffer* buf, HdrGenState* hgs) { //printf("objectToBuffer()\n"); /* The logic of this should match what genIdent() does. The _dynamic_cast() * function relies on all the pretty strings to be unique for different classes * See https://issues.dlang.org/show_bug.cgi?id=7375 * Perhaps it would be better to demangle what genIdent() does. */ if (auto t = isType(oarg)) { //printf("\tt: %s ty = %d\n", t.toChars(), t.ty); typeToBuffer(t, null, buf, hgs); } else if (auto e = isExpression(oarg)) { if (e.op == TOK.variable) e = e.optimize(WANTvalue); // added to fix https://issues.dlang.org/show_bug.cgi?id=7375 expToBuffer(e, PREC.assign, buf, hgs); } else if (Dsymbol s = isDsymbol(oarg)) { const p = s.ident ? s.ident.toChars() : s.toChars(); buf.writestring(p); } else if (auto v = isTuple(oarg)) { auto args = &v.objects; foreach (i, arg; *args) { if (i) buf.writestring(", "); objectToBuffer(arg, buf, hgs); } } else if (auto p = isParameter(oarg)) { parameterToBuffer(p, buf, hgs); } else if (!oarg) { buf.writestring("NULL"); } else { debug { printf("bad Object = %p\n", oarg); } assert(0); } } private void visitFuncIdentWithPostfix(TypeFunction t, const char[] ident, OutBuffer* buf, HdrGenState* hgs) { if (t.inuse) { t.inuse = 2; // flag error to caller return; } t.inuse++; if (t.linkage > LINK.d && hgs.ddoc != 1 && !hgs.hdrgen) { linkageToBuffer(buf, t.linkage); buf.writeByte(' '); } if (t.next) { typeToBuffer(t.next, null, buf, hgs); if (ident) buf.writeByte(' '); } else if (hgs.ddoc) buf.writestring("auto "); if (ident) buf.writestring(ident); parametersToBuffer(t.parameterList, buf, hgs); /* Use postfix style for attributes */ if (t.mod) { buf.writeByte(' '); MODtoBuffer(buf, t.mod); } void dg(string str) { buf.writeByte(' '); buf.writestring(str); } t.attributesApply(&dg); t.inuse--; } private void visitFuncIdentWithPrefix(TypeFunction t, const Identifier ident, TemplateDeclaration td, OutBuffer* buf, HdrGenState* hgs) { if (t.inuse) { t.inuse = 2; // flag error to caller return; } t.inuse++; /* Use 'storage class' (prefix) style for attributes */ if (t.mod) { MODtoBuffer(buf, t.mod); buf.writeByte(' '); } void ignoreReturn(string str) { if (str != "return") { // don't write 'ref' for ctors if ((ident == Id.ctor) && str == "ref") return; buf.writestring(str); buf.writeByte(' '); } } t.attributesApply(&ignoreReturn); if (t.linkage > LINK.d && hgs.ddoc != 1 && !hgs.hdrgen) { linkageToBuffer(buf, t.linkage); buf.writeByte(' '); } if (ident && ident.toHChars2() != ident.toChars()) { // Don't print return type for ctor, dtor, unittest, etc } else if (t.next) { typeToBuffer(t.next, null, buf, hgs); if (ident) buf.writeByte(' '); } else if (hgs.ddoc) buf.writestring("auto "); if (ident) buf.writestring(ident.toHChars2()); if (td) { buf.writeByte('('); foreach (i, p; *td.origParameters) { if (i) buf.writestring(", "); p.templateParameterToBuffer(buf, hgs); } buf.writeByte(')'); } parametersToBuffer(t.parameterList, buf, hgs); if (t.isreturn) { buf.writestring(" return"); } t.inuse--; } private void initializerToBuffer(Initializer inx, OutBuffer* buf, HdrGenState* hgs) { void visitError(ErrorInitializer iz) { buf.writestring("__error__"); } void visitVoid(VoidInitializer iz) { buf.writestring("void"); } void visitStruct(StructInitializer si) { //printf("StructInitializer::toCBuffer()\n"); buf.writeByte('{'); foreach (i, const id; si.field) { if (i) buf.writestring(", "); if (id) { buf.writestring(id.toString()); buf.writeByte(':'); } if (auto iz = si.value[i]) initializerToBuffer(iz, buf, hgs); } buf.writeByte('}'); } void visitArray(ArrayInitializer ai) { buf.writeByte('['); foreach (i, ex; ai.index) { if (i) buf.writestring(", "); if (ex) { ex.expressionToBuffer(buf, hgs); buf.writeByte(':'); } if (auto iz = ai.value[i]) initializerToBuffer(iz, buf, hgs); } buf.writeByte(']'); } void visitExp(ExpInitializer ei) { ei.exp.expressionToBuffer(buf, hgs); } final switch (inx.kind) { case InitKind.error: return visitError (inx.isErrorInitializer ()); case InitKind.void_: return visitVoid (inx.isVoidInitializer ()); case InitKind.struct_: return visitStruct(inx.isStructInitializer()); case InitKind.array: return visitArray (inx.isArrayInitializer ()); case InitKind.exp: return visitExp (inx.isExpInitializer ()); } } private void typeToBufferx(Type t, OutBuffer* buf, HdrGenState* hgs) { void visitType(Type t) { printf("t = %p, ty = %d\n", t, t.ty); assert(0); } void visitError(TypeError t) { buf.writestring("_error_"); } void visitBasic(TypeBasic t) { //printf("TypeBasic::toCBuffer2(t.mod = %d)\n", t.mod); buf.writestring(t.dstring); } void visitTraits(TypeTraits t) { //printf("TypeBasic::toCBuffer2(t.mod = %d)\n", t.mod); t.exp.expressionToBuffer(buf, hgs); } void visitVector(TypeVector t) { //printf("TypeVector::toCBuffer2(t.mod = %d)\n", t.mod); buf.writestring("__vector("); visitWithMask(t.basetype, t.mod, buf, hgs); buf.writestring(")"); } void visitSArray(TypeSArray t) { visitWithMask(t.next, t.mod, buf, hgs); buf.writeByte('['); sizeToBuffer(t.dim, buf, hgs); buf.writeByte(']'); } void visitDArray(TypeDArray t) { Type ut = t.castMod(0); if (hgs.declstring) goto L1; if (ut.equals(Type.tstring)) buf.writestring("string"); else if (ut.equals(Type.twstring)) buf.writestring("wstring"); else if (ut.equals(Type.tdstring)) buf.writestring("dstring"); else { L1: visitWithMask(t.next, t.mod, buf, hgs); buf.writestring("[]"); } } void visitAArray(TypeAArray t) { visitWithMask(t.next, t.mod, buf, hgs); buf.writeByte('['); visitWithMask(t.index, 0, buf, hgs); buf.writeByte(']'); } void visitPointer(TypePointer t) { //printf("TypePointer::toCBuffer2() next = %d\n", t.next.ty); if (t.next.ty == Tfunction) visitFuncIdentWithPostfix(cast(TypeFunction)t.next, "function", buf, hgs); else { visitWithMask(t.next, t.mod, buf, hgs); buf.writeByte('*'); } } void visitReference(TypeReference t) { visitWithMask(t.next, t.mod, buf, hgs); buf.writeByte('&'); } void visitFunction(TypeFunction t) { //printf("TypeFunction::toCBuffer2() t = %p, ref = %d\n", t, t.isref); visitFuncIdentWithPostfix(t, null, buf, hgs); } void visitDelegate(TypeDelegate t) { visitFuncIdentWithPostfix(cast(TypeFunction)t.next, "delegate", buf, hgs); } void visitTypeQualifiedHelper(TypeQualified t) { foreach (id; t.idents) { if (id.dyncast() == DYNCAST.dsymbol) { buf.writeByte('.'); TemplateInstance ti = cast(TemplateInstance)id; ti.dsymbolToBuffer(buf, hgs); } else if (id.dyncast() == DYNCAST.expression) { buf.writeByte('['); (cast(Expression)id).expressionToBuffer(buf, hgs); buf.writeByte(']'); } else if (id.dyncast() == DYNCAST.type) { buf.writeByte('['); typeToBufferx(cast(Type)id, buf, hgs); buf.writeByte(']'); } else { buf.writeByte('.'); buf.writestring(id.toString()); } } } void visitIdentifier(TypeIdentifier t) { buf.writestring(t.ident.toString()); visitTypeQualifiedHelper(t); } void visitInstance(TypeInstance t) { t.tempinst.dsymbolToBuffer(buf, hgs); visitTypeQualifiedHelper(t); } void visitTypeof(TypeTypeof t) { buf.writestring("typeof("); t.exp.expressionToBuffer(buf, hgs); buf.writeByte(')'); visitTypeQualifiedHelper(t); } void visitReturn(TypeReturn t) { buf.writestring("typeof(return)"); visitTypeQualifiedHelper(t); } void visitEnum(TypeEnum t) { buf.writestring(hgs.fullQual ? t.sym.toPrettyChars() : t.sym.toChars()); } void visitStruct(TypeStruct t) { // https://issues.dlang.org/show_bug.cgi?id=13776 // Don't use ti.toAlias() to avoid forward reference error // while printing messages. TemplateInstance ti = t.sym.parent ? t.sym.parent.isTemplateInstance() : null; if (ti && ti.aliasdecl == t.sym) buf.writestring(hgs.fullQual ? ti.toPrettyChars() : ti.toChars()); else buf.writestring(hgs.fullQual ? t.sym.toPrettyChars() : t.sym.toChars()); } void visitClass(TypeClass t) { // https://issues.dlang.org/show_bug.cgi?id=13776 // Don't use ti.toAlias() to avoid forward reference error // while printing messages. TemplateInstance ti = t.sym.parent.isTemplateInstance(); if (ti && ti.aliasdecl == t.sym) buf.writestring(hgs.fullQual ? ti.toPrettyChars() : ti.toChars()); else buf.writestring(hgs.fullQual ? t.sym.toPrettyChars() : t.sym.toChars()); } void visitTuple(TypeTuple t) { parametersToBuffer(ParameterList(t.arguments, VarArg.none), buf, hgs); } void visitSlice(TypeSlice t) { visitWithMask(t.next, t.mod, buf, hgs); buf.writeByte('['); sizeToBuffer(t.lwr, buf, hgs); buf.writestring(" .. "); sizeToBuffer(t.upr, buf, hgs); buf.writeByte(']'); } void visitNull(TypeNull t) { buf.writestring("typeof(null)"); } void visitMixin(TypeMixin t) { buf.writestring("mixin("); argsToBuffer(t.exps, buf, hgs, null); buf.writeByte(')'); } switch (t.ty) { default: return t.isTypeBasic() ? visitBasic(cast(TypeBasic)t) : visitType(t); case Terror: return visitError(cast(TypeError)t); case Ttraits: return visitTraits(cast(TypeTraits)t); case Tvector: return visitVector(cast(TypeVector)t); case Tsarray: return visitSArray(cast(TypeSArray)t); case Tarray: return visitDArray(cast(TypeDArray)t); case Taarray: return visitAArray(cast(TypeAArray)t); case Tpointer: return visitPointer(cast(TypePointer)t); case Treference: return visitReference(cast(TypeReference)t); case Tfunction: return visitFunction(cast(TypeFunction)t); case Tdelegate: return visitDelegate(cast(TypeDelegate)t); case Tident: return visitIdentifier(cast(TypeIdentifier)t); case Tinstance: return visitInstance(cast(TypeInstance)t); case Ttypeof: return visitTypeof(cast(TypeTypeof)t); case Treturn: return visitReturn(cast(TypeReturn)t); case Tenum: return visitEnum(cast(TypeEnum)t); case Tstruct: return visitStruct(cast(TypeStruct)t); case Tclass: return visitClass(cast(TypeClass)t); case Ttuple: return visitTuple (cast(TypeTuple)t); case Tslice: return visitSlice(cast(TypeSlice)t); case Tnull: return visitNull(cast(TypeNull)t); case Tmixin: return visitMixin(cast(TypeMixin)t); } }
D
import std.stdio; import botan.all; //import botan.rng.auto_rng; pragma(lib, "botan"); void main() { LibraryInitializer init; AutoSeededRNG asr = new AutoSeededRNG(); writeln(asr.nextByte()); }
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.bigint; int[][100] T; bool[100] H; void main() { auto nx = readln.split.to!(int[]); auto n = nx[0]; auto x = nx[1]-1; foreach (i, h; readln.split.to!(int[])) H[i] = h == 1; foreach (_; 0..n-1) { auto ab = readln.split.to!(int[]); auto a = ab[0]-1; auto b = ab[1]-1; T[a] ~= b; T[b] ~= a; } int s(int i, int p) { int y; foreach (j; T[i]) if (j != p) { y += s(j, i); } if (y != 0 || H[i]) y += 2; return y; } int z; foreach (i; T[x]) z += s(i, x); writeln(z); }
D
module isodi.tools.skeleton.crop; import isodi; import raylib; import std.traits; import isodi.tools.skeleton.utils; import isodi.tools.skeleton.structs; @safe: alias BoneResource = Pack.Resource!string; /// Create a new bone texture, cropping each angle to given size and setting it at given position. /// Returns: the resulting bone texture. Image cropBone(BoneResource resource, Vector2 size, const Vector2[] anglePositions) @trusted in (resource.options.angles == anglePositions.length) do { import std.conv, std.string; const angleCount = resource.options.angles; auto image = LoadImage(resource.match.toStringz); auto result = GenImageColor(size.x.to!int * angleCount.to!int, size.y.to!int, Colors.BLANK); foreach (i, position; anglePositions) { const angle = i.to!uint; const sourceAngle = image.angleRect(angle, angleCount); const targetAngle = result.angleRect(angle, angleCount); auto targetRect = cast() targetAngle; auto sourceRect = Rectangle(sourceAngle.x + position.x, position.y, size.x, size.y); // Move the target if position is negative if (position.x < 0) targetRect.x -= position.x; if (position.y < 0) targetRect.y -= position.y; // TODO: check for overlaps // Make sure the rectangles don't go out of bounds sourceRect = sourceRect.intersect(sourceAngle); // Prevent scaling targetRect.w = sourceRect.w; targetRect.h = sourceRect.h; ImageDraw(&result, image, sourceRect, targetRect, Colors.WHITE); } return result; } /// Create a new bone as a crop of another bone. void makeCroppedBone(string path, Parameters!cropBone params) @trusted { import std.file, std.path, std.string; // Crop the bone auto image = cropBone(params); // Create the directory mkdirRecurse(path.dirName); // Save the bone ExportImage(image, path.toStringz); } private Rectangle intersect(Rectangle a, Rectangle b) { import std.algorithm; Rectangle result; result.x = max(a.x, b.x); result.y = max(a.y, b.y); result.w = min(a.x + a.w, b.x + b.w) - result.x; result.h = min(a.y + a.h, b.y + b.h) - result.y; return result; }
D
/** * Copyright: (c) 2009 John Chapman * * License: See $(LINK2 ..\..\licence.txt, licence.txt) for use and distribution terms. */ module juno.xml.core; import juno.base.string; /// Specifies the type of the node. enum XmlNodeType { None, /// An unsupported node. Element, /// An element (for example, <code>&lt;item&gt;</code>). Attribute, /// An attribute (for example, <code>id='123'</code>). Text, /// The text content of a node. CDATA, /// A _CDATA section (for example, <code>&lt;![_CDATA[my escaped text]]&gt;</code>). EntityReference, /// A reference to an entity (for example, <code>&num;</code>). Entity, /// An entity declaration (for example, <code>&lt;!ENTITY...&gt;</code>). ProcessingInstruction, /// A processing instruction (for example, <code>&lt;?pi test?&gt;</code>). Comment, /// A comment (for example, <code>&lt;!-- my comment --&gt;</code>). Document, /// A document object that provides access to the entire XML document. DocumentType, /// The doucment type declaration (for example, <code>&lt;!DOCTYPE...&gt;</code>). DocumentFragment, /// A document fragment. Notation, /// A notation in the document type declaration (for example, <code>&lt;!NOTATION...&gt;</code>). Whitespace, /// White space between markup. SignificantWhitespace, /// White space between markup in a mixed content model. EndElement, /// An end element tag (for example, <code>&lt;/item&gt;</code>). EndEntity, /// The end of an entity. XmlDeclaration /// The XML declaration (for example, <code>&lt;?xml version='1.0'?&gt;</code>). } string[XmlNodeType.max + 1] XmlNodeTypeString = [ XmlNodeType.None : "None", XmlNodeType.Element : "Element", XmlNodeType.Attribute : "Attribute", XmlNodeType.Text : "Text", XmlNodeType.CDATA : "CDATA", XmlNodeType.EntityReference : "EntityReference", XmlNodeType.Entity : "Entity", XmlNodeType.ProcessingInstruction : "ProcessingInstruction", XmlNodeType.Comment : "Comment", XmlNodeType.Document : "Document", XmlNodeType.DocumentType : "DocumentType", XmlNodeType.DocumentFragment : "DocumentFragment", XmlNodeType.Notation : "Notation", XmlNodeType.Whitespace : "Whitespace", XmlNodeType.XmlDeclaration : "XmlDeclaration" ]; enum XmlConformanceLevel { Auto, Fragment, Document } enum XmlReadState { Initial, Interactive, Error, EndOfFile, Closed } enum XmlStandalone { Omit, Yes, No } /** * Detailed information about the last exception. */ class XmlException : Exception { private int lineNumber_; private int linePosition_; private string sourceUri_; /** * Initializes a new instance with a specified error _message, line number, line position and XML file location. */ public this(string message = null, int lineNumber = 0, int linePosition = 0, string sourceUri = null) { super(createMessage(message, lineNumber, linePosition)); lineNumber_ = lineNumber; linePosition_ = linePosition_; sourceUri_ = sourceUri; } /** * Gets the line number indicating where the error occurred. */ final int lineNumber() { return lineNumber_; } /** * Gets the line position indicating where the error occurred. */ final int linePosition() { return linePosition_; } private static string createMessage(string s, int lineNumber, int linePosition) { string result = s; if (lineNumber != 0) result ~= format(" Line {0}, position {1}.", lineNumber, linePosition); return result; } } class XmlQualifiedName { private string name_; private string ns_; this(string name = "", string ns = "") { name_ = name; ns_ = ns; } override typeof(super.opEquals(Object)) opEquals(Object other) { if (this is other) return true; if (auto qname = cast(XmlQualifiedName)other) { if (name_ == qname.name_) return ns_ == qname.ns_; } return false; } override int opCmp(Object other) { if (other is null) return 1; if (auto qname = cast(XmlQualifiedName)other) { int ret = typeid(string).compare(&ns_, &qname.ns_); if (ret == 0) ret = typeid(string).compare(&name_, &qname.name_); return ret; } return 1; } override hash_t toHash() { return typeid(string).getHash(&name_); } override string toString() { if (namespace != null) return namespace ~ ":" ~ name; return name; } final @property string name() { return name_; } final @property string namespace() { return ns_; } }
D
import std.conv, std.stdio, std.array, std.algorithm; string buff = import("input"); string sample = q"EOS "" "abc" "aaa\"aaa" "\x27" EOS"; void main() { /* auto charCodes = sample.split("\n") */ /* .filter!(a => a != "") */ /* .map!(a => a.length).sum; */ /* auto chars = sample.split("\n") */ /* .filter!(a => a != "") */ /* .map!(a => a.parseString.length).sum; */ /* auto encoded = sample.split("\n") */ /* .filter!(a => a != "") */ /* .map!(a => a.encodeString.length).sum; */ auto charCodes = buff.split("\n") .filter!(a => a != "") .map!(a => a.length).sum; auto chars = buff.split("\n") .filter!(a => a != "") .map!(a => a.parseString.length).sum; auto encoded = buff.split("\n") .filter!(a => a != "") .map!(a => a.encodeString.length).sum; writeln(charCodes); writeln(chars); writeln(encoded); writeln("Part 1 result: ", charCodes - chars); writeln("Part 2 result: ", encoded - charCodes); } string encodeString(string input) { char[] temp; temp ~= '"'; foreach (i, v; input.dup) { if (v == '\\' || v == '"') temp ~= '\\'; temp ~= v; } temp ~= '"'; return temp.idup; } string parseString(string input) { char[] temp; ulong lastChar = input.length - 1; bool hasEscape; bool hasCharCode; char[] charCode; foreach (i, v; input.dup) { if (i == 0 || i == lastChar) { continue; } else if (hasEscape && (v == '"' || v == '\\')) { temp ~= v; hasEscape = false; } else if (hasCharCode && charCode.length == 0) { charCode ~= v; } else if (hasCharCode && charCode.length == 1) { charCode ~= v; temp ~= parse!ubyte(charCode, 16); charCode.length = 0; hasCharCode = false; hasEscape = false; } else if (hasEscape && v == 'x') { hasCharCode = true; } else if (v == '\\') { hasEscape = true; } else { temp ~= v; } } return temp.idup; }
D
.source T_ifne_4.java .class public dot.junit.opcodes.if_nez.d.T_if_nez_4 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run(Ljava/lang/Object;)I .limit regs 6 if-nez v5, Label9 const/16 v5, 1234 return v5 Label9: const/4 v5, 1 return v5 .end method
D
module dscord.types.guild; import std.stdio, std.algorithm, std.array, std.conv; import dscord.types, dscord.client, dscord.gateway; alias GuildMap = ModelMap!(Snowflake, Guild); alias RoleMap = ModelMap!(Snowflake, Role); alias GuildMemberMap = ModelMap!(Snowflake, GuildMember); alias EmojiMap = ModelMap!(Snowflake, Emoji); enum VerificationLevel : ushort { NONE = 0, LOW = 1, MEDIUM = 2, HIGH = 3, EXTREME = 4, } class Role : IModel { mixin Model; Snowflake id; Snowflake guildID; string name; bool hoist; bool managed; uint color; Permission permissions; short position; bool mentionable; @property Guild guild() { return this.client.state.guilds.get(this.guildID); } } class Emoji : IModel { mixin Model; Snowflake id; Snowflake guildID; string name; bool requireColons; bool managed; Snowflake[] roles; @property Guild guild() { return this.client.state.guilds.get(this.guildID); } bool matches(string usage) { if (this.name == ":" ~ usage ~ ":") { return true; } else if (this.requireColons) { return false; } else { return this.name == usage; } } } class GuildMember : IModel { mixin Model; User user; Snowflake guildID; string nick; string joinedAt; bool mute; bool deaf; Snowflake[] roles; @property Snowflake id() { return this.user.id; } @property Guild guild() { return this.client.state.guilds.get(this.guildID); } override string toString() { return format("<GuildMember %s#%s (%s / %s)>", this.user.username, this.user.discriminator, this.id, this.guild.id); } bool hasRole(Role role) { return this.hasRole(role.id); } bool hasRole(Snowflake id) { return this.roles.canFind(id); } } class Guild : IModel, IPermissible { mixin Model; mixin Permissible; Snowflake id; Snowflake ownerID; Snowflake afkChannelID; Snowflake embedChannelID; string name; string icon; string splash; string region; uint afkTimeout; bool embedEnabled; ushort verificationLevel; ushort mfaLevel; string[] features; bool unavailable; @JSONListToMap("id") GuildMemberMap members; @JSONListToMap("sessionID") VoiceStateMap voiceStates; @JSONListToMap("id") ChannelMap channels; @JSONListToMap("id") RoleMap roles; @JSONListToMap("id") EmojiMap emojis; override void initialize() { // It's possible these are not created if (!this.members) return; this.members.each((m) { m.guildID = this.id; }); this.voiceStates.each((vc) { vc.guildID = this.id; }); this.channels.each((c) { c.guildID = this.id; }); this.roles.each((r) { r.guildID = this.id; }); this.emojis.each((e) { e.guildID = this.id; }); } override string toString() { return format("<Guild %s (%s)>", this.name, this.id); } /// Returns a URL to the guild icon string getIconURL(string fmt = "webp", size_t size = 1024) { if (this.icon == "") { return ""; } return format("https://cdn.discordapp.com/icons/%s/%s.%s?size=%s", this.id, this.icon, fmt, size); } /// Returns a GuildMember for a given user object GuildMember getMember(User obj) { return this.getMember(obj.id); } /// Returns a GuildMember for a given user/member id GuildMember getMember(Snowflake id) { return this.members.get(id); } /// Kick a given GuildMember void kick(GuildMember member) { this.kick(member.user); } /// Kick a given User void kick(User user) { this.client.api.guildsMembersKick(this.id, user.id); } /// Default role for this Guild @property Role defaultRole() { return this.roles.pick((r) { return r.id == this.id; }); } /// Default channel for this Guild @property Channel defaultChannel() { return this.channels.pick((c) { return c.id == this.id; }); } /// Request offline members for this guild void requestOfflineMembers() { this.client.gw.send(new RequestGuildMembers(this.id)); } override Permission getPermissions(Snowflake user) { // If we're the owner, we have alllll the permissions if (this.ownerID == user) { return Permissions.ADMINISTRATOR; } // Otherwise grab the member object GuildMember member = this.getMember(user); Permission perm; auto roles = member.roles.map!((rid) => this.roles.get(rid)); // Iterate over roles and add permissions foreach (role; roles) { perm |= role.permissions; } return perm; } /// Set this servers name void setName(string name) { this.client.api.guildsModify(this.id, VibeJSON(["name" : VibeJSON(name)])); } /// Set this servers region void setRegion(string region) { this.client.api.guildsModify(this.id, VibeJSON(["region" : VibeJSON(region)])); } }
D
func void BS_SHARP_S1 () { if (Npc_IsPlayer(self)) { if(CreationMethod == R_BS && max_itemamount != 0) { var float a; Npc_SetAivar(self,AIV_INVINCIBLE,TRUE); a = IntToFloat((R_CreateColdown*2)/7); AI_Wait(hero,a); AI_UseMob (hero, MOBNAME, -1); TRIG_FIRST_SEND = TRUE; Wld_SendTrigger("TIMETRIGGER4"); }; }; }; func void BS_ANVIL_S1 () { //***ALT** if (Hlp_GetInstanceID (self)== Hlp_GetInstanceID (Hero)) // MH: geändert, damit kontrollierte NSCs nicht schlafen können! if (Npc_IsPlayer(self)) { Npc_SetAivar(self,AIV_INVINCIBLE,TRUE); if(CreationMethod == R_BS_ANVIL && max_itemamount != 0) { TRIG_FIRST_SEND = TRUE; Wld_SendTrigger("TIMETRIGGER4"); }; }; }; func int BS_ANVIL_COND () { // pr/int("Anvil_COND"); // if(npc_isplayer(self)) // { // CreateInvItem(hero,ItMw_1H_Sledgehammer_01); // }; return 1; }; func void BS_COOL_S1 () { //***ALT** if (Hlp_GetInstanceID (self)== Hlp_GetInstanceID (Hero)) // MH: geändert, damit kontrollierte NSCs nicht schlafen können! if (Npc_IsPlayer(self)) { Npc_SetAivar(self,AIV_INVINCIBLE,TRUE); //Empty }; }; func void BS_FIRE_S1 () { //***ALT** if (Hlp_GetInstanceID (self)== Hlp_GetInstanceID (Hero)) // MH: geändert, damit kontrollierte NSCs nicht schlafen können! if (Npc_IsPlayer(self)) { Npc_SetAivar(self,AIV_INVINCIBLE,TRUE); if(CreationMethod == R_BS_FIRE && max_itemamount != 0) { TRIG_FIRST_SEND = TRUE; Npc_SetAivar(self,AIV_INVINCIBLE,TRUE); Wld_SendTrigger("TIMETRIGGER4"); }; }; };
D
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. .source T_aget_byte_3.java .class public dot.junit.opcodes.aget_byte.d.T_aget_byte_3 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run([BI)B .limit regs 9 const-wide v1, 1 aget-byte v0, v7, v1 return v0 .end method
D
module sqld.ast.query_node; import sqld.ast.expression_node; import sqld.ast.node; import sqld.ast.subquery_node; immutable abstract class QueryNode : Node { immutable(ExpressionNode) toSubquery() { return new immutable SubqueryNode(this); } }
D
module sphere; import std.typecons; import std.math; import gl3n.linalg; class Sphere { vec3 center; float radius; float radiusSquared; vec3 surfaceColor; vec3 emissionColor; float transparency; float reflection; this( vec3 c, float r, vec3 sc, float refl = 0, float transp = 0, vec3 ec = 0) { center = c; radius = r; radiusSquared = r * r; surfaceColor = sc; emissionColor = ec; transparency = transp; reflection = refl; id = NextID++; } private static ulong NextID = 1; private ulong id; public ulong ID(){return id;} } struct IntersectionInfo { this(float t0, float t1) { if(t0 < 0) { distance = t1; } else { distance = t0; } } private float distance; //first intersection @property public bool Hit(){return !distance.isNaN;} @property public float Distance(){return distance;} } IntersectionInfo intersect(vec3 origin, vec3 direction, const Sphere sphere) { import std.math : sqrt; vec3 l = sphere.center - origin; float tca = l.dot(direction); if (tca < 0) { return IntersectionInfo.init; } float d2 = l.dot(l) - tca * tca; if (d2 > sphere.radiusSquared) { return IntersectionInfo.init; } float thc = sqrt(sphere.radiusSquared - d2); float t0 = tca - thc; float t1 = tca + thc; return IntersectionInfo(t0, t1); }
D
module app; import std.stdio; import plugin; import iface; void main() { auto p = new Plugin("./plugin/hello.so", "Hello"); writeln("Plugin loaded"); p.Call!void("SayHello"); p.Call!void("SayHelloTo", "Thibaut", "Thomas"); string s = p.Call!string("GetHello"); writeln(s); writeln("================================"); auto ip = new InterfacePlugin!IFace("./plugin/ifaceplugin.so", "IfacePlugin"); writeln("Double(5) = ",ip.opDispatch!(int, "Double")(5)); ip.Test(); }
D
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryBuilder/QueryBuilder+Aggregate.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ID.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Model+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/Deprecated.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/MigrateCommand.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/RevertCommand.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/SoftDeletable.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationConfig.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Join/JoinSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Query/QuerySupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationLog.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Model.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/AnyModel.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Children.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/Migration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/AnyMigration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/FluentProvider.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaBuilder.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaUpdater.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/FluentError.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaCreator.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Siblings.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/Migrations.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/AnyMigrations.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/Exports.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Parent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ModelEvent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Pivot.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Cache/CacheEntry.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Query/FluentProperty.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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/cpp_magic.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIODarwin/include/c_nio_darwin.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/c-atomics.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOLinux/include/c_nio_linux.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-zlib-support.git--4783613459776704231/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryBuilder+Aggregate~partial.swiftmodule : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ID.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Model+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/Deprecated.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/MigrateCommand.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/RevertCommand.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/SoftDeletable.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationConfig.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Join/JoinSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Query/QuerySupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationLog.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Model.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/AnyModel.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Children.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/Migration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/AnyMigration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/FluentProvider.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaBuilder.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaUpdater.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/FluentError.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaCreator.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Siblings.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/Migrations.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/AnyMigrations.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/Exports.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Parent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ModelEvent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Pivot.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Cache/CacheEntry.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Query/FluentProperty.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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/cpp_magic.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIODarwin/include/c_nio_darwin.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/c-atomics.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOLinux/include/c_nio_linux.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-zlib-support.git--4783613459776704231/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryBuilder+Aggregate~partial.swiftdoc : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ID.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Model+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/Deprecated.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/MigrateCommand.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/RevertCommand.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/SoftDeletable.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationConfig.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Join/JoinSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Query/QuerySupporting.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/MigrationLog.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Model.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/AnyModel.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Children.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/Migration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/AnyMigration.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/FluentProvider.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaBuilder.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaUpdater.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/FluentError.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/SchemaCreator.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Siblings.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/Migrations.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Migration/AnyMigrations.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Utilities/Exports.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Relations/Parent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ModelEvent.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/Pivot.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Cache/CacheEntry.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Query/FluentProperty.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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/cpp_magic.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIODarwin/include/c_nio_darwin.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/c-atomics.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOLinux/include/c_nio_linux.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-zlib-support.git--4783613459776704231/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/AnimatedZoomViewJob.o : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/Legend.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/Description.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/LegendEntry.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/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/AnimatedZoomViewJob~partial.swiftmodule : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/Legend.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/Description.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/LegendEntry.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/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/AnimatedZoomViewJob~partial.swiftdoc : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/Legend.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/Description.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Components/LegendEntry.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/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
D
const int SPL_Cost_Inflate = 10; const int SPL_Inflate_Damage = 5; const int SPL_TIME_Inflate = 19; instance Spell_Inflate(C_Spell_Proto) { time_per_mana = 0; targetCollectAlgo = TARGET_COLLECT_FOCUS; }; func int Spell_Logic_Inflate(var int manaInvested) { if((Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_Cost_Scroll)) || (self.attribute[ATR_MANA] >= SPL_Cost_Inflate)) { Spell_Cast_Proto(SPL_Cost_Inflate); if(!C_BodyStateContains(other,BS_SWIM) && !C_BodyStateContains(other,BS_DIVE) && !C_NpcIsDown(other) && (other.guild < GIL_SEPERATOR_HUM) && (other.flags != NPC_FLAG_IMMORTAL) && (Npc_GetDistToNpc(self,other) <= 1000) && (other.guild != GIL_KDF) && (other.guild != GIL_DMT) && (other.guild != GIL_PAL)) { Npc_ClearAIQueue(other); B_ClearPerceptions(other); AI_StartState(other,ZS_Inflate,0,""); }; return SPL_SENDCAST; }; return SPL_SENDSTOP; }; func void Spell_Cast_Inflate() { if (Npc_IsPlayer(self)) { B_HeroCountUsage_Magic(); }; self.aivar[AIV_SelectSpell] += 1; };
D
.hd block "convert text to block letters" 01/13/83 block [ -c <char> ] [ -w <width> ] .ds 'Block' reads lines of text from standard input, converts them to large block letters, and writes them on standard output. Each character produced is 5 columns in width by 9 lines in height, with 2 blank columns between consecutive block letters and 3 blank lines between consecutive lines of block letters. .sp The character used to construct the block letters may be specified with the "-c <char>" argument sequence; the default character is an asterisk (*). Similarly, the length (in regular characters) of the lines produced by 'block' may be specified with the "-w <width>" sequence. If omitted, a default width of 75 columns is assumed. Input lines that will not fit on a single output line are broken into as many consecutive lines as necessary. .sp Normally, 'block' ignores control characters in the input stream. The two exceptions to this rule are NEWLINEs, which force a new output line, and BACKSPACEs, which may be used to produce underlined, boldfaced or other overstruck characters. .es echo "@n@n In Use" | block cal 1981 | block -w132 >/dev/lps .me "Usage: block ..." for invalid argument syntax. .sa banner (1)
D
disparaging terms for small people
D
an electrical phenomenon whereby an electric charge is stored an electrical device characterized by its capacity to store an electric charge
D
module benchmark.controller.index; package import benchmark.controller.index.index;
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; ulong to_g(ulong n) { return n^(n>>1); } ulong from_g(ulong n) { n = n^(n>>32); n = n^(n>>16); n = n^(n>>8); n = n^(n>>4); n = n^(n>>2); n = n^(n>>1); return n; } int popcount(ulong b) { b = (b & 0x5555555555555555L) + (b >> 1 & 0x5555555555555555L); b = (b & 0x3333333333333333L) + (b >> 2 & 0x3333333333333333L); b = (b & 0x0f0f0f0f0f0f0f0fL) + (b >> 4 & 0x0f0f0f0f0f0f0f0fL); b = (b & 0x00ff00ff00ff00ffL) + (b >> 8 & 0x00ff00ff00ff00ffL); b = (b & 0x0000ffff0000ffffL) + (b >>16 & 0x0000ffff0000ffffL); b = (b & 0x00000000ffffffffL) + (b >>32 & 0x00000000ffffffffL); return b; } void main() { auto nab = readln.split.to!(ulong[]); auto N = nab[0]; auto A = nab[1]; auto B = nab[2]; if (popcount(A^B) != 0) { writeln("NO"); return; } }
D
module hunt.wechat.bean.paymch.PayContractorderResult; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import hunt.wechat.bean.AdaptorCDATA; @XmlRootElement(name="xml") @XmlAccessorType(XmlAccessType.FIELD) class PayContractorderResult : MchBase{ private string contract_result_code; private string contract_err_code; private string contract_err_code_des; private string prepay_id; private string trade_type; private string code_url; private string plan_id; private string request_serial; private string contract_code; //@XmlJavaTypeAdapter(value = typeid(AdaptorCDATA)) private string contract_display_account; private string mweb_url; private string out_trade_no; public string getContract_result_code() { return contract_result_code; } public void setContract_result_code(string contract_result_code) { this.contract_result_code = contract_result_code; } public string getContract_err_code() { return contract_err_code; } public void setContract_err_code(string contract_err_code) { this.contract_err_code = contract_err_code; } public string getContract_err_code_des() { return contract_err_code_des; } public void setContract_err_code_des(string contract_err_code_des) { this.contract_err_code_des = contract_err_code_des; } public string getPrepay_id() { return prepay_id; } public void setPrepay_id(string prepay_id) { this.prepay_id = prepay_id; } public string getTrade_type() { return trade_type; } public void setTrade_type(string trade_type) { this.trade_type = trade_type; } public string getCode_url() { return code_url; } public void setCode_url(string code_url) { this.code_url = code_url; } public string getPlan_id() { return plan_id; } public void setPlan_id(string plan_id) { this.plan_id = plan_id; } public string getRequest_serial() { return request_serial; } public void setRequest_serial(string request_serial) { this.request_serial = request_serial; } public string getContract_code() { return contract_code; } public void setContract_code(string contract_code) { this.contract_code = contract_code; } public string getContract_display_account() { return contract_display_account; } public void setContract_display_account(string contract_display_account) { this.contract_display_account = contract_display_account; } public string getMweb_url() { return mweb_url; } public void setMweb_url(string mweb_url) { this.mweb_url = mweb_url; } public string getOut_trade_no() { return out_trade_no; } public void setOut_trade_no(string out_trade_no) { this.out_trade_no = out_trade_no; } }
D
/** * DStruct - Object-Relation Mapping for D programming language, with interface similar to Hibernate. * * Source file dstruct/dialects/sqlitedialect.d. * * This module contains implementation of PGSQLDialect class which provides implementation specific SQL syntax information. * * Copyright: Copyright 2013 * License: $(LINK www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Author: Vadim Lopatin */ module dstruct.dialects.pgsqldialect; import std.conv; import dstruct.dialect; import dstruct.metadata; import dstruct.type; import dstruct.ddbc.core; string[] PGSQL_RESERVED_WORDS = [ "ABORT", "ACTION", "ADD", "AFTER", "ALL", "ALTER", "ANALYZE", "AND", "AS", "ASC", "ATTACH", "AUTOINCREMENT", "BEFORE", "BEGIN", "BETWEEN", "BY", "CASCADE", "CASE", "CAST", "CHECK", "COLLATE", "COLUMN", "COMMIT", "CONFLICT", "CONSTRAINT", "CREATE", "CROSS", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "DATABASE", "DEFAULT", "DEFERRABLE", "DEFERRED", "DELETE", "DESC", "DETACH", "DISTINCT", "DROP", "EACH", "ELSE", "END", "ESCAPE", "EXCEPT", "EXCLUSIVE", "EXISTS", "EXPLAIN", "FAIL", "FOR", "FOREIGN", "FROM", "FULL", "GLOB", "GROUP", "HAVING", "IF", "IGNORE", "IMMEDIATE", "IN", "INDEX", "INDEXED", "INITIALLY", "INNER", "INSERT", "INSTEAD", "INTERSECT", "INTO", "IS", "ISNULL", "JOIN", "KEY", "LEFT", "LIKE", "LIMIT", "MATCH", "NATURAL", "NO", "NOT", "NOTNULL", "NULL", "OF", "OFFSET", "ON", "OR", "ORDER", "OUTER", "PLAN", "PRAGMA", "PRIMARY", "QUERY", "RAISE", "REFERENCES", "REGEXP", "REINDEX", "RELEASE", "RENAME", "REPLACE", "RESTRICT", "RIGHT", "ROLLBACK", "ROW", "SAVEPOINT", "SELECT", "SET", "TABLE", "TEMP", "TEMPORARY", "THEN", "TO", "TRANSACTION", "TRIGGER", "UNION", "UNIQUE", "UPDATE", "USER", "USING", "VACUUM", "VALUES", "VIEW", "VIRTUAL", "WHEN", "WHERE", ]; class PGSQLDialect : Dialect { ///The character specific to this dialect used to close a quoted identifier. override char closeQuote() const { return '"'; } ///The character specific to this dialect used to begin a quoted identifier. override char openQuote() const { return '"'; } // returns string like "BIGINT(20) NOT NULL" or "VARCHAR(255) NULL" override string getColumnTypeDefinition(const PropertyInfo pi, const PropertyInfo overrideTypeFrom = null) { immutable Type type = overrideTypeFrom !is null ? overrideTypeFrom.columnType : pi.columnType; immutable SqlType sqlType = type.getSqlType(); bool fk = pi is null; string nullablility = !fk && pi.nullable ? " NULL" : " NOT NULL"; string pk = !fk && pi.key ? " PRIMARY KEY" : ""; if (!fk && pi.generated) { if (sqlType == SqlType.SMALLINT || sqlType == SqlType.TINYINT) return "SERIAL PRIMARY KEY"; if (sqlType == SqlType.INTEGER) return "SERIAL PRIMARY KEY"; return "BIGSERIAL PRIMARY KEY"; } string def = ""; int len = 0; if (cast(NumberType)type !is null) { len = (cast(NumberType)type).length; } if (cast(StringType)type !is null) { len = (cast(StringType)type).length; } string modifiers = nullablility ~ def ~ pk; string lenmodifiers = "(" ~ to!string(len > 0 ? len : 255) ~ ")" ~ modifiers; switch (sqlType) { case SqlType.BIGINT: return "BIGINT" ~ modifiers; case SqlType.BIT: case SqlType.BOOLEAN: return "BOOLEAN" ~ modifiers; case SqlType.INTEGER: return "INT" ~ modifiers; case SqlType.NUMERIC: return "INT" ~ modifiers; case SqlType.SMALLINT: return "SMALLINT" ~ modifiers; case SqlType.TINYINT: return "SMALLINT" ~ modifiers; case SqlType.FLOAT: return "FLOAT(24)" ~ modifiers; case SqlType.DOUBLE: return "FLOAT(53)" ~ modifiers; case SqlType.DECIMAL: return "REAL" ~ modifiers; case SqlType.DATE: return "DATE" ~ modifiers; case SqlType.DATETIME: return "TIMESTAMP" ~ modifiers; case SqlType.TIME: return "TIME" ~ modifiers; case SqlType.CHAR: case SqlType.CLOB: case SqlType.LONGNVARCHAR: case SqlType.LONGVARBINARY: case SqlType.LONGVARCHAR: case SqlType.NCHAR: case SqlType.NCLOB: case SqlType.VARBINARY: case SqlType.VARCHAR: case SqlType.NVARCHAR: return "TEXT" ~ modifiers; case SqlType.BLOB: return "BYTEA"; default: return "TEXT"; } } override string getCheckTableExistsSQL(string tableName) { return "select relname from pg_class where relname = " ~ quoteSqlString(tableName) ~ " and relkind='r'"; } override string getUniqueIndexItemSQL(string indexName, string[] columnNames) { return "UNIQUE " ~ createFieldListSQL(columnNames); } /// for some of RDBMS it's necessary to pass additional clauses in query to get generated value (e.g. in Postgres - " returing id" override string appendInsertToFetchGeneratedKey(string query, const EntityInfo entity) { return query ~ " RETURNING " ~ quoteIfNeeded(entity.getKeyProperty().columnName); } this() { addKeywords(PGSQL_RESERVED_WORDS); } }
D
func void b_orc_idle_ani() { var int ani; ani = Hlp_Random(130); if(ani < 10) { AI_PlayAni(self,"T_PERCEPTION"); } else if(ani < 20) { AI_PlayAni(self,"T_WARN"); } else if(ani < 30) { AI_PlayAni(self,"T_ANGRY"); } else if(ani < 40) { AI_PlayAni(self,"T_FRIGHTEND"); } else if(ani < 50) { AI_PlayAni(self,"T_HAPPY"); } else if(ani < 60) { AI_PlayAni(self,"T_DIALOGGESTURE_01"); } else if(ani < 70) { AI_PlayAni(self,"T_DIALOGGESTURE_02"); } else if(ani < 80) { AI_PlayAni(self,"T_DIALOGGESTURE_03"); } else if(ani < 90) { AI_PlayAni(self,"T_DIALOGGESTURE_04"); } else if(ani < 100) { AI_PlayAni(self,"T_DIALOGGESTURE_05"); } else if(ani < 110) { AI_PlayAni(self,"T_DIALOGGESTURE_06"); } else if(ani < 120) { AI_PlayAni(self,"T_DIALOGGESTURE_07"); } else if(ani < 130) { AI_PlayAni(self,"T_DIALOGGESTURE_08"); }; AI_Wait(self,1); }; func void zs_orc_stonemill() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Stonemill"); if(Npc_GetBodyState(self) != BS_MOBINTERACT) { AI_SetWalkMode(self,NPC_WALK); if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == 0) { AI_GotoWP(self,self.wp); }; }; orcdefaultpercdoing(); }; func void zs_orc_stonemill_loop() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Stonemill_Loop"); AI_UseMob(self,"STONEMILL",1); //AI_UseMob(self,"STONEMILL",0); AI_UseMob(self,"STONEMILL",-1); }; func void zs_orc_stonemill_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Stonemill_End"); Npc_ClearAIQueue(self); AI_UseMob(self,"STONEMILL",-1); }; func void zs_orc_stomper() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_Stomper"); if(Npc_GetBodyState(self) != BS_MOBINTERACT) { AI_SetWalkMode(self,NPC_WALK); if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == 0) { AI_GotoWP(self,self.wp); }; }; orcdefaultpercdoing(); }; func void zs_orc_stomper_loop() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_Stomper_Loop"); AI_UseMob(self,"STOMPER",1); //AI_UseMob(self,"STOMPER",0); AI_UseMob(self,"STOMPER",-1); }; func void zs_orc_stomper_end() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_Stomper_End"); Npc_ClearAIQueue(self); AI_UseMob(self,"STOMPER",-1); }; func void zs_orc_eat() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Eat"); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"STAND")) { AI_GotoWP(self,self.wp); }; orcdefaultperc(); }; func int zs_orc_eat_loop() { var float pause; printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Eat_Loop"); b_gotofp(self,"STAND"); b_orc_itemeat(); pause = IntToFloat(Hlp_Random(5) + 2); AI_Wait(self,pause); return 0; }; func void zs_orc_eat_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Eat_End"); Npc_ClearAIQueue(self); }; func void zs_orc_sleep() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Sleep"); if(!c_bodystatecontains(self,BS_MOBINTERACT)) { if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == 0) { AI_GotoWP(self,self.wp); }; AI_UnequipWeapons(self); AI_UseMob(self,"BEDLOW",1); }; orclightsleepperc(); }; func int zs_orc_sleep_loop() { printdebugnpc(PD_ZS_LOOP,"ZS_ORC_Sleep_Loop"); if(c_bodystatecontains(self,BS_MOBINTERACT)) { }; return 0; }; func void zs_orc_sleep_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Sleep_End"); Npc_ClearAIQueue(self); AI_UseMob(self,"BEDLOW",-1); b_say(self,NULL,"$AWAKE"); AI_EquipBestMeleeWeapon(self); AI_EquipBestRangedWeapon(self); }; func void zs_orc_pray() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Pray"); orcdefaultpercdoing(); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"PREY")) { AI_GotoWP(self,self.wp); }; }; func void zs_orc_pray_loop() { printdebugnpc(PD_ZS_LOOP,"ZS_Orc_Pray_Loop"); b_gotofp(self,"PREY"); if(Npc_GetBodyState(self) != BS_SIT) { AI_PlayAniBS(self,"T_STAND_2_PRAY",BS_SIT); } else { AI_PlayAniBS(self,"T_PRAY_RANDOM",BS_SIT); }; AI_Wait(self,1); }; func void zs_orc_pray_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Pray_End"); Npc_ClearAIQueue(self); AI_PlayAniBS(self,"T_PRAY_2_STAND",BS_STAND); }; func void zs_orc_drum() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Drum"); if(Npc_GetBodyState(self) != BS_MOBINTERACT) { AI_SetWalkMode(self,NPC_WALK); if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == 0) { AI_GotoWP(self,self.wp); }; AI_UseMob(self,"DRUM",1); }; //orcdefaultpercdoing(); orcdefaultperc(); }; func int zs_orc_drum_loop() { var int random; printdebugnpc(PD_ZS_LOOP,"ZS_Orc_Drum_Loop"); if(Npc_GetBodyState(self) == BS_MOBINTERACT_INTERRUPT) { random = Hlp_Random(15); if(random < 5) { AI_PlayAniBS(self,"T_ORCDRUM_RANDOM_1",BS_MOBINTERACT_INTERRUPT); } else if(random < 10) { AI_PlayAniBS(self,"T_ORCDRUM_RANDOM_2",BS_MOBINTERACT_INTERRUPT); } else { AI_PlayAniBS(self,"T_ORCDRUM_RANDOM_3",BS_MOBINTERACT_INTERRUPT); }; }; return LOOP_CONTINUE; }; func int zs_orc_drum_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Drum_End"); Npc_ClearAIQueue(self); return AI_UseMob(self,"DRUM",-1); }; func void zs_orc_speech() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Speech"); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"STAND")) { AI_GotoWP(self,self.wp); }; orcdefaultperc(); }; func void zs_orc_speech_loop() { var int ani; printdebugnpc(PD_ZS_LOOP,"ZS_Orc_Speech_Loop"); b_gotofp(self,"STAND"); ani = Hlp_Random(30); if(ani == 1) { AI_PlayAni(self,"T_DIALOGGESTURE_01"); } else if(ani == 2) { AI_PlayAni(self,"T_DIALOGGESTURE_02"); } else if(ani == 3) { AI_PlayAni(self,"T_DIALOGGESTURE_03"); } else if(ani == 4) { AI_PlayAni(self,"T_DIALOGGESTURE_04"); } else if(ani == 5) { AI_PlayAni(self,"T_DIALOGGESTURE_05"); } else if(ani == 6) { AI_PlayAni(self,"T_DIALOGGESTURE_06"); } else if(ani == 7) { AI_PlayAni(self,"T_DIALOGGESTURE_07"); } else if(ani == 8) { AI_PlayAni(self,"T_DIALOGGESTURE_08"); }; AI_Wait(self,1); }; func void zs_orc_speech_end() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_Speech_End"); Npc_ClearAIQueue(self); }; func void zs_orc_gotowp() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_GotoWP"); AI_SetWalkMode(self,NPC_WALK); AI_GotoWP(self,self.wp); AI_AlignToWP(self); orcdefaultperc(); }; func void zs_orc_gotowp_loop() { printdebugnpc(PD_ZS_LOOP,"ZS_Orc_GotoWP_Loop"); if(Hlp_Random(250) < 10) { b_orc_idle_ani(); }; }; func void zs_orc_gotowp_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_GotoWP_End"); Npc_ClearAIQueue(self); }; func void zs_orc_walkaround() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_WalkAround"); orcdefaultperc(); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"FP_ORC_STAND")) { AI_GotoWP(self,self.wp); }; if(Wld_IsFPAvailable(self,"FP_ORC_STAND_A")) { AI_GotoFP(self,"FP_ORC_STAND_A"); } else if(Wld_IsFPAvailable(self,"FP_ORC_STAND_B")) { AI_GotoFP(self,"FP_ORC_STAND_B"); } else if(Wld_IsFPAvailable(self,"FP_ORC_STAND_C")) { AI_GotoFP(self,"FP_ORC_STAND_C"); }; AI_AlignToFP(self); }; func void zs_orc_walkaround_loop() { var string wp1; var string wp2; var float f; printdebugnpc(PD_TA_LOOP,"ZS_Orc_WalkAround_Loop"); wp1 = Npc_GetNearestWP(self); wp2 = Npc_GetNextWP(self); if(!Hlp_StrCmp(wp1,self.wp) && (Hlp_Random(10) < 5)) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_WalkAround: Goto Nearest"); AI_GotoWP(self,wp1); self.wp = wp1; } else if(!Hlp_StrCmp(wp2,self.wp)) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_WalkAround: Goto Next"); AI_GotoWP(self,wp2); self.wp = wp2; }; if(Hlp_Random(80) < 10) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_WalkAround: Idle Ani"); b_orc_idle_ani(); AI_Wait(self,2); return; }; if(Hlp_Random(50) < 5) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_WalkAround: Wait"); f = IntToFloat(Hlp_Random(4)); AI_Wait(self,f); }; }; func void zs_orc_walkaround_end() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_WalkAround_End"); Npc_ClearAIQueue(self); }; func void zs_orc_drinkalcohol() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_DrinkAlcohol"); orcdefaultperc(); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"STAND")) { AI_GotoWP(self,self.wp); }; }; func int zs_orc_drinkalcohol_loop() { var float pause; printdebugnpc(PD_ZS_FRAME,"ZS_Orc_DrinkAlcohol_Loop"); b_gotofp(self,"STAND"); b_orc_itempotion(); pause = IntToFloat(Hlp_Random(5) + 2); AI_Wait(self,pause); return 0; }; func void zs_orc_drinkalcohol_end() { printdebugnpc(PD_ZS_FRAME,"ZS_DrinkAlcohol_End"); Npc_ClearAIQueue(self); }; func void zs_orc_dance() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Dance"); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"DANCE")) { AI_GotoWP(self,self.wp); }; //orcdefaultpercdoing(); orcdefaultperc(); }; func void zs_orc_dance_loop() { printdebugnpc(PD_ZS_LOOP,"ZS_Orc_Dance_Loop"); b_gotofp(self,"DANCE"); if(Hlp_Random(10) < 5) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Dance_Loop: T_DANCE"); AI_PlayAni(self,"T_DANCE"); } else { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Dance_Loop: T_DANCE_RANDOM_1"); AI_PlayAni(self,"T_DANCE_RANDOM_1"); }; }; func void zs_orc_dance_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Dance_End"); Npc_ClearAIQueue(self); AI_Standup(self); }; func void zs_orc_eatanddrink() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_EatAndDrink"); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"STAND")) { AI_GotoWP(self,self.wp); }; orcdefaultperc(); }; func void zs_orc_eatanddrink_loop() { var float pause; printdebugnpc(PD_ZS_FRAME,"ZS_Orc_EatAndDrink_Loop"); b_gotofp(self,"STAND"); if(Hlp_Random(10) < 5) { b_orc_itemeat(); } else { b_orc_itempotion(); }; pause = IntToFloat(Hlp_Random(5) + 2); AI_Wait(self,pause); }; func void zs_orc_eatanddrink_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_EatAndDrink_End"); Npc_ClearAIQueue(self); }; func void zs_orc_guardsleepy() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_GuardSleepy"); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"SIT")) { AI_GotoWP(self,self.wp); }; orcdefaultperc(); }; func void zs_orc_guardsleepy_loop() { var float sleep; printdebugnpc(PD_ZS_FRAME,"ZS_Orc_GuardSleepy_Loop"); b_gotofp(self,"SIT"); if(!c_bodystatecontains(self,BS_SIT) && (Hlp_Random(500) < 10)) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_GuardSleepy_Loop: stehende Ani"); b_orc_idle_ani(); return; }; if(!c_bodystatecontains(self,BS_SIT) && (Hlp_Random(600) < 10)) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_GuardSleepy_Loop: hinsetzen"); AI_PlayAniBS(self,"T_STAND_2_GUARDSIT",BS_SIT); AI_Wait(self,2); return; }; if(c_bodystatecontains(self,BS_SIT) && (Hlp_Random(700) < 10)) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_GuardSleepy_Loop: einschlafen im Sitzen"); AI_PlayAniBS(self,"T_GUARDSIT_2_GUARDSLEEP",BS_SIT); sleep = IntToFloat(Hlp_Random(5) + 15); AI_Wait(self,sleep); AI_PlayAniBS(self,"T_GUARDSLEEP_2_GUARDSIT",BS_SIT); return; }; }; func void zs_orc_guardsleepy_end() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_GuardSleepy_End"); }; func void zs_orc_guard() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_Guard"); orcdefaultperc(); b_fullstop(self); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"FP_ORC_GUARD")) { AI_GotoWP(self,self.wp); }; }; func void zs_orc_guard_loop() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_Guard_Loop"); b_gotofp(self,"FP_ORC_GUARD"); AI_AlignToFP(self); AI_Wait(self,1); }; func void zs_orc_guard_end() { printdebugnpc(PD_TA_FRAME,"ZS_Orc_Guard_End"); Npc_ClearAIQueue(self); }; func void zs_orc_sitonfloor() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_SitOnFloor"); Npc_ClearAIQueue(self); if(Npc_GetBodyState(self) != BS_SIT) { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_SitOnFloor: sitzt nicht...."); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"FP_ORC_SIT")) { AI_GotoWP(self,self.wp); }; if(Wld_IsFPAvailable(self,"FP_ORC_SIT_A_")) { AI_GotoFP(self,"FP_ORC_SIT_A_"); } else if(Wld_IsFPAvailable(self,"FP_ORC_SIT_B_")) { AI_GotoFP(self,"FP_ORC_SIT_B_"); } else if(Wld_IsFPAvailable(self,"FP_ORC_SIT")) { AI_GotoFP(self,"FP_ORC_SIT"); }; AI_PlayAniBS(self,"T_STAND_2_GUARDSIT",BS_SIT); }; orcdefaultperc(); }; func void zs_orc_sitonfloor_loop() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_SitOnFloor_Loop"); if(Npc_GetBodyState(self) == BS_SIT) { }; }; func void zs_orc_sitonfloor_end() { printdebugnpc(PD_ZS_FRAME,"ZS_Orc_SitOnFloor_End"); Npc_ClearAIQueue(self); AI_PlayAniBS(self,"T_GUARDSIT_2_STAND",BS_STAND); };
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/Migration/MigrationLog.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/MigrateCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/RevertCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/SoftDeletable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/JoinSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/QuerySupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/AnyModel.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Children.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/FluentProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaUpdater.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/FluentError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaCreator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Siblings.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Parent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ModelEvent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Pivot.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Copy.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/CacheEntry.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/FluentProperty.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /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/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/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/Migration/MigrationLog~partial.swiftmodule : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/MigrateCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/RevertCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/SoftDeletable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/JoinSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/QuerySupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/AnyModel.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Children.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/FluentProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaUpdater.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/FluentError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaCreator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Siblings.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Parent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ModelEvent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Pivot.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Copy.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/CacheEntry.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/FluentProperty.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /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/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/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/Migration/MigrationLog~partial.swiftdoc : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/MigrateCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/RevertCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/SoftDeletable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/JoinSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/QuerySupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/AnyModel.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Children.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/FluentProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaUpdater.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/FluentError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaCreator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Siblings.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Parent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ModelEvent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Pivot.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Copy.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/CacheEntry.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/FluentProperty.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /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/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/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/Migration/MigrationLog~partial.swiftsourceinfo : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/MigrateCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/RevertCommand.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/SoftDeletable.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationConfig.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/JoinSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/QuerySupporting.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/MigrationLog.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Model.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/AnyModel.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Children.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigration.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/FluentProvider.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaUpdater.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/FluentError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/SchemaCreator.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Siblings.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/Migrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Migration/AnyMigrations.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Relations/Parent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ModelEvent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/Pivot.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/QueryBuilder/QueryBuilder+Copy.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Cache/CacheEntry.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Query/FluentProperty.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Command.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Console.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/DatabaseKit.swiftmodule /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/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/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/tsu06/Documents/Repos/Stencil/.build/x86_64-apple-macosx10.10/debug/Stencil.build/Filters.swift.o : /Users/tsu06/Documents/Repos/Stencil/Sources/Inheritence.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Node.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Include.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Variable.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Template.swift /Users/tsu06/Documents/Repos/Stencil/Sources/IfTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/FilterTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/ForTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/NowTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/KeyPath.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Extension.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Expression.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Loader.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Parser.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Lexer.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Tokenizer.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Filters.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Errors.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Environment.swift /Users/tsu06/Documents/Repos/Stencil/Sources/_SwiftSupport.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Context.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 /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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/tsu06/Documents/Repos/Stencil/.build/x86_64-apple-macosx10.10/debug/PathKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tsu06/Documents/Repos/Stencil/.build/x86_64-apple-macosx10.10/debug/Stencil.build/Filters~partial.swiftmodule : /Users/tsu06/Documents/Repos/Stencil/Sources/Inheritence.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Node.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Include.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Variable.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Template.swift /Users/tsu06/Documents/Repos/Stencil/Sources/IfTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/FilterTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/ForTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/NowTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/KeyPath.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Extension.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Expression.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Loader.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Parser.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Lexer.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Tokenizer.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Filters.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Errors.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Environment.swift /Users/tsu06/Documents/Repos/Stencil/Sources/_SwiftSupport.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Context.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 /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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/tsu06/Documents/Repos/Stencil/.build/x86_64-apple-macosx10.10/debug/PathKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/tsu06/Documents/Repos/Stencil/.build/x86_64-apple-macosx10.10/debug/Stencil.build/Filters~partial.swiftdoc : /Users/tsu06/Documents/Repos/Stencil/Sources/Inheritence.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Node.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Include.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Variable.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Template.swift /Users/tsu06/Documents/Repos/Stencil/Sources/IfTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/FilterTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/ForTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/NowTag.swift /Users/tsu06/Documents/Repos/Stencil/Sources/KeyPath.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Extension.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Expression.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Loader.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Parser.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Lexer.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Tokenizer.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Filters.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Errors.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Environment.swift /Users/tsu06/Documents/Repos/Stencil/Sources/_SwiftSupport.swift /Users/tsu06/Documents/Repos/Stencil/Sources/Context.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 /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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/tsu06/Documents/Repos/Stencil/.build/x86_64-apple-macosx10.10/debug/PathKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
<?xml version="1.0" encoding="ASCII"?> <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:org.eclipse.papyrus.table.instance.papyrustableinstance="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance" xmlns:tableinstance="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance" xmlns:tableinstance2="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8"> <di:SashWindowsMngr> <pageList> <availablePage> <emfPageIdentifier href="model.notation#_8N4C4Aa-EeGLTf5WTnj-wA"/> </availablePage> <availablePage> <emfPageIdentifier href="model.notation#_8RmsUAa-EeGLTf5WTnj-wA"/> </availablePage> <availablePage> <emfPageIdentifier href="model.notation#_8RwdUga-EeGLTf5WTnj-wA"/> </availablePage> <availablePage> <emfPageIdentifier href="model.notation#_8RwdVAa-EeGLTf5WTnj-wA"/> </availablePage> <availablePage emfPageIdentifier="/1"/> <availablePage emfPageIdentifier="/3"/> </pageList> <sashModel currentSelection="/0/@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="model.notation#_8N4C4Aa-EeGLTf5WTnj-wA"/> </children> <children> <emfPageIdentifier href="model.notation#_8RmsUAa-EeGLTf5WTnj-wA"/> </children> <children> <emfPageIdentifier href="model.notation#_8RwdUga-EeGLTf5WTnj-wA"/> </children> <children> <emfPageIdentifier href="model.notation#_8RwdVAa-EeGLTf5WTnj-wA"/> </children> <children emfPageIdentifier="/1"/> <children emfPageIdentifier="/3"/> </children> </windows> </sashModel> </di:SashWindowsMngr> <org.eclipse.papyrus.table.instance.papyrustableinstance:PapyrusTableInstance name="AllocationTable" type="PapyrusAllocationTable" table="/2"/> <tableinstance2:TableInstance2 description="Table Description"> <tableConfiguration href="../../plugin/org.eclipse.papyrus.sysml.table.allocation/resources/allocate.tableconfiguration2#/"/> <customizations href="#/2/@localCustomizations.0"/> <customizations href="#/2/@localCustomizations.1"/> <customizations href="emffacet:/customization/SysMLDefaultExplorerCustomization#/"/> <context href="model.uml#_8G4DAAa-EeGLTf5WTnj-wA"/> <columns xsi:type="tableinstance:DefaultLabelColumn"/> <columns xsi:type="tableinstance:MetaClassColumn"/> <columns xsi:type="tableinstance:EContainerColumn"/> <localCustomizations metamodelURI="http://www.eclipse.org/emf/2002/Ecore"> <types metaclassName="ecore.EModelElement"> <references referenceName="eAnnotations"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> </localCustomizations> <localCustomizations metamodelURI="http://www.eclipse.org/uml2/3.0.0/UML" allQuerySetsAvailable="false"> <types metaclassName="uml.Element"> <references referenceName="ownedElement"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="owner"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedComment"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.NamedElement"> <attributes attributeName="name"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <attributes attributeName="visibility"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <attributes attributeName="qualifiedName"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <references referenceName="clientDependency"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="namespace"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="nameExpression"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.ParameterableElement"> <references referenceName="owningTemplateParameter"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="templateParameter"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.Relationship"> <references referenceName="relatedElement"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.DirectedRelationship"> <references referenceName="source"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="target"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.Abstraction"> <references referenceName="mapping"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> </localCustomizations> </tableinstance2:TableInstance2> <org.eclipse.papyrus.table.instance.papyrustableinstance:PapyrusTableInstance name="RequirementTable" type="PapyrusRequirementTable" table="/4"/> <tableinstance2:TableInstance2 description="Table Description"> <tableConfiguration href="../../plugin/org.eclipse.papyrus.sysml.table.requirement/resources/requirements.tableconfiguration2#/"/> <customizations href="#/4/@localCustomizations.0"/> <customizations href="#/4/@localCustomizations.1"/> <customizations href="#/4/@localCustomizations.2"/> <customizations href="emffacet:/customization/SysMLDefaultExplorerCustomization#/"/> <context href="model.uml#_8G4DAAa-EeGLTf5WTnj-wA"/> <columns xsi:type="tableinstance:DefaultLabelColumn"/> <columns xsi:type="tableinstance:MetaClassColumn" isHidden="true"/> <columns xsi:type="tableinstance:EContainerColumn" isHidden="true"/> <localCustomizations metamodelURI="http://www.eclipse.org/emf/2002/Ecore"> <types metaclassName="ecore.EModelElement"> <references referenceName="eAnnotations"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> </localCustomizations> <localCustomizations metamodelURI="http://www.eclipse.org/uml2/3.0.0/UML" allQuerySetsAvailable="false"> <types metaclassName="uml.Element"> <references referenceName="ownedElement"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="owner"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedComment"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.NamedElement"> <attributes attributeName="name"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <attributes attributeName="visibility"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <attributes attributeName="qualifiedName"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <references referenceName="clientDependency"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="namespace"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="nameExpression"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.Namespace"> <references referenceName="elementImport"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="packageImport"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedRule"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="member"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="importedMember"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedMember"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.RedefinableElement"> <attributes attributeName="isLeaf"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <references referenceName="redefinedElement"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="redefinitionContext"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.ParameterableElement"> <references referenceName="owningTemplateParameter"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="templateParameter"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.Type"> <references referenceName="package"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.TemplateableElement"> <references referenceName="templateBinding"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedTemplateSignature"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.Classifier"> <attributes attributeName="isAbstract"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <references referenceName="generalization"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="powertypeExtent"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="feature"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="inheritedMember"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="redefinedClassifier"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="general"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="substitution"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="attribute"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="representation"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="collaborationUse"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedUseCase"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="useCase"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.StructuredClassifier"> <references referenceName="ownedAttribute"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="part"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="role"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedConnector"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.EncapsulatedClassifier"> <references referenceName="ownedPort"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.BehavioredClassifier"> <references referenceName="ownedBehavior"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="classifierBehavior"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="interfaceRealization"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedTrigger"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> <types metaclassName="uml.Class"> <attributes attributeName="isActive"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </attributes> <references referenceName="nestedClassifier"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedOperation"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="superClass"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="ownedReception"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> <references referenceName="extension"> <customizedFeatures> <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/> </customizedFeatures> </references> </types> </localCustomizations> <localCustomizations metamodelURI="http://www.eclipse.org/papyrus/sysml/requirements/SysMLRequirementsFacetSet.facetSet" allQuerySetsAvailable="false"/> <facets2 href="http://www.eclipse.org/papyrus/sysml/requirements/SysMLRequirementsFacetSet.facetSet#//Requirement"/> </tableinstance2:TableInstance2> </xmi:XMI>
D
import std.conv; import std.stdio; void main(string args[]) { auto mapping = createMapping(); char current = '5'; foreach (line; File("day2.1.input").byLine) { current = getCode(mapping, line, current); write(current.to!string); } writeln; auto advancedMapping = createAdvancedMapping(); current = '5'; foreach (line; File("day2.1.input").byLine) { current = getCode(advancedMapping, line, current); write(current.to!string); } } char[char][char] createMapping() { char[char][char] mapping; mapping['1']['U'] = '1'; mapping['1']['L'] = '1'; mapping['1']['D'] = '4'; mapping['1']['R'] = '2'; mapping['2']['U'] = '2'; mapping['2']['L'] = '1'; mapping['2']['D'] = '5'; mapping['2']['R'] = '3'; mapping['3']['U'] = '3'; mapping['3']['L'] = '2'; mapping['3']['D'] = '6'; mapping['3']['R'] = '3'; mapping['4']['U'] = '1'; mapping['4']['L'] = '4'; mapping['4']['D'] = '7'; mapping['4']['R'] = '5'; mapping['5']['U'] = '2'; mapping['5']['L'] = '4'; mapping['5']['D'] = '8'; mapping['5']['R'] = '6'; mapping['6']['U'] = '3'; mapping['6']['L'] = '5'; mapping['6']['D'] = '9'; mapping['6']['R'] = '6'; mapping['7']['U'] = '4'; mapping['7']['L'] = '7'; mapping['7']['D'] = '7'; mapping['7']['R'] = '8'; mapping['8']['U'] = '5'; mapping['8']['L'] = '7'; mapping['8']['D'] = '8'; mapping['8']['R'] = '9'; mapping['9']['U'] = '6'; mapping['9']['L'] = '8'; mapping['9']['D'] = '9'; mapping['9']['R'] = '9'; return mapping; } char[char][char] createAdvancedMapping() { char[char][char] mapping; mapping['1']['U'] = '1'; mapping['1']['L'] = '1'; mapping['1']['D'] = '3'; mapping['1']['R'] = '1'; mapping['2']['U'] = '2'; mapping['2']['L'] = '2'; mapping['2']['D'] = '6'; mapping['2']['R'] = '3'; mapping['3']['U'] = '1'; mapping['3']['L'] = '2'; mapping['3']['D'] = '7'; mapping['3']['R'] = '4'; mapping['4']['U'] = '4'; mapping['4']['L'] = '3'; mapping['4']['D'] = '8'; mapping['4']['R'] = '4'; mapping['5']['U'] = '5'; mapping['5']['L'] = '5'; mapping['5']['D'] = '5'; mapping['5']['R'] = '6'; mapping['6']['U'] = '2'; mapping['6']['L'] = '5'; mapping['6']['D'] = 'A'; mapping['6']['R'] = '7'; mapping['7']['U'] = '3'; mapping['7']['L'] = '6'; mapping['7']['D'] = 'B'; mapping['7']['R'] = '8'; mapping['8']['U'] = '4'; mapping['8']['L'] = '7'; mapping['8']['D'] = 'C'; mapping['8']['R'] = '9'; mapping['9']['U'] = '9'; mapping['9']['L'] = '8'; mapping['9']['D'] = '9'; mapping['9']['R'] = '9'; mapping['A']['U'] = '6'; mapping['A']['L'] = 'A'; mapping['A']['D'] = 'A'; mapping['A']['R'] = 'B'; mapping['B']['U'] = '7'; mapping['B']['L'] = 'A'; mapping['B']['D'] = 'D'; mapping['B']['R'] = 'C'; mapping['C']['U'] = '8'; mapping['C']['L'] = 'B'; mapping['C']['D'] = 'C'; mapping['C']['R'] = 'C'; mapping['D']['U'] = 'B'; mapping['D']['L'] = 'D'; mapping['D']['D'] = 'D'; mapping['D']['R'] = 'D'; return mapping; } unittest { auto mapping = createMapping(); assert(getCode(mapping, "ULL", '5') == '1'); assert(getCode(mapping, "RRDDD", '1') == '9'); assert(getCode(mapping, "LURDL", '9') == '8'); assert(getCode(mapping, "UUUUD", '8') == '5'); auto advancedMapping = createAdvancedMapping(); assert(getCode(advancedMapping, "ULL", '5') == '5'); assert(getCode(advancedMapping, "RRDDD", '5') == 'D'); assert(getCode(advancedMapping, "LURDL", 'D') == 'B'); assert(getCode(advancedMapping, "UUUUD", 'B') == '3'); } char getCode(Input)(char[char][char] mapping, Input line, char start) { char current = start; foreach (letter; line) { current = mapping[current][letter]; } return current; }
D
/Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/String+FoundationExtension.o : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/String+FoundationExtension~partial.swiftmodule : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/String+FoundationExtension~partial.swiftdoc : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/String+FoundationExtension~partial.swiftsourceinfo : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF1.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SHA3.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/MD5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS5.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt128.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/ECB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OCB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/OFB.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CBCMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HMAC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/PCBC.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEAD.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/GCM.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CTR.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockMode.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Updatable.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/DigestType.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ISO78164Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PKCS7Padding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/NoPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ZeroPadding.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Blowfish.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Checksum.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt32+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt64+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt16+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/UInt8+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Data+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/String+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Collection+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Int+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Array+Extension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/String+FoundationExtension.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/HMAC+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/AES+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Utils+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Foundation/Array+Foundation.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BatchedCollection.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/CompactMap.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockCipher.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherModeWorker.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Authenticator.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamDecryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/StreamEncryptor.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Generics.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Utils.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Operators.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/AES.Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Bit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Rabbit.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Scrypt.swift /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/Digest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
// ************************************************************ // EXIT // ************************************************************ INSTANCE DIA_Addon_Skip_EXIT(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 999; condition = DIA_Addon_Skip_EXIT_Condition; information = DIA_Addon_Skip_EXIT_Info; permanent = TRUE; description = DIALOG_ENDE; }; FUNC INT DIA_Addon_Skip_EXIT_Condition() { return TRUE; }; FUNC VOID DIA_Addon_Skip_EXIT_Info() { AI_StopProcessInfos (self); }; // ************************************************************ // PICK POCKET // ************************************************************ INSTANCE DIA_Addon_Skip_PICKPOCKET (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 900; condition = DIA_Addon_Skip_PICKPOCKET_Condition; information = DIA_Addon_Skip_PICKPOCKET_Info; permanent = TRUE; description = Pickpocket_20; }; FUNC INT DIA_Addon_Skip_PICKPOCKET_Condition() { C_Beklauen (20, 43); }; FUNC VOID DIA_Addon_Skip_PICKPOCKET_Info() { Info_ClearChoices (DIA_Addon_Skip_PICKPOCKET); Info_AddChoice (DIA_Addon_Skip_PICKPOCKET, DIALOG_BACK ,DIA_Addon_Skip_PICKPOCKET_BACK); Info_AddChoice (DIA_Addon_Skip_PICKPOCKET, DIALOG_PICKPOCKET ,DIA_Addon_Skip_PICKPOCKET_DoIt); }; func void DIA_Addon_Skip_PICKPOCKET_DoIt() { B_Beklauen (); Info_ClearChoices (DIA_Addon_Skip_PICKPOCKET); }; func void DIA_Addon_Skip_PICKPOCKET_BACK() { Info_ClearChoices (DIA_Addon_Skip_PICKPOCKET); }; // ************************************************************ // Hello // ************************************************************ INSTANCE DIA_Addon_Skip_Hello(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 1; condition = DIA_Addon_Skip_Hello_Condition; information = DIA_Addon_Skip_Hello_Info; important = TRUE; }; FUNC INT DIA_Addon_Skip_Hello_Condition() { if (Npc_IsInState (self,ZS_Talk)) && PlayerTalkedToSkipNW == TRUE { return TRUE; }; }; func VOID DIA_Addon_Skip_Hello_Info() { AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_00"); //A kogóż to stary Skip znowu widzi! AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_01"); //Ja cię znam! AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_02"); //Zatoka koło miasta, pamiętasz? AI_Output (other,self ,"DIA_Addon_Skip_Hello_15_03"); //Skip? To ty? AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_04"); //Jak widać, trudno mnie zapomnieć. AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_05"); //Ale wydaje mi się, że jeszcze gdzieś cię widziałem... AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_06"); //A, no tak! B_UseFakeScroll (); AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_07"); //Rysownik się nie popisał, ale to byłeś ty. AI_Output (self ,other,"DIA_Addon_Skip_Hello_08_08"); //Ale nie ma o czym gadać. Na swoim liście gończym też wyglądam dość szpetnie. Npc_ExchangeRoutine (self,"Start"); }; // ************************************************************ // Baltrams Paket // ************************************************************ instance DIA_Addon_SkipADW_BaltramPaket (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 2; condition = DIA_Addon_SkipADW_BaltramPaket_Condition; information = DIA_Addon_SkipADW_BaltramPaket_Info; description = "Mam dla ciebie paczkę od Baltrama."; }; func int DIA_Addon_SkipADW_BaltramPaket_Condition () { if (Npc_HasItems (other,ItMi_Packet_Baltram4Skip_Addon)) { return TRUE; }; }; func void DIA_Addon_SkipADW_BaltramPaket_Info () { AI_Output (other, self, "DIA_Addon_SkipADW_BaltramPaket_15_00"); //Mam dla ciebie paczkę od Baltrama. AI_Output (self, other, "DIA_Addon_SkipADW_BaltramPaket_08_01"); //Chyba naprawdę potrzebuje rumu, bo po co wysyłałby towar w taki sposób? B_GiveInvItems (other, self, ItMi_Packet_Baltram4Skip_Addon,1); AI_Output (self, other, "DIA_Addon_SkipADW_BaltramPaket_08_02"); //Oto dwie butelki rumu. Niestety, trzecią opróżniłem, czekając tu na niego. B_GiveInvItems (self, other, ItFo_Addon_Rum, 2); B_GivePlayerXP (XP_Addon_Skip_BaltramPaket); B_LogEntry (TOPIC_Addon_BaltramSkipTrade,LogText_Addon_SkipsRumToBaltram); Skip_Rum4Baltram = TRUE; }; // ************************************************************ // Was machst du hier? // ************************************************************ INSTANCE DIA_Addon_Skip_Job(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 3; condition = DIA_Addon_Skip_Job_Condition; information = DIA_Addon_Skip_Job_Info; description = "Co tu robisz?"; }; FUNC INT DIA_Addon_Skip_Job_Condition() { return TRUE; }; FUNC VOID DIA_Addon_Skip_Job_Info() { AI_Output (other, self, "DIA_Addon_Skip_Job_15_00"); //Co tu robisz? AI_Output (self ,other, "DIA_Addon_Skip_Job_08_01"); //Wróciłem z Khorinis i czekam na powrót kapitana Grega. }; // ************************************************************ // Greg getroffen! // ************************************************************ instance DIA_Addon_Skip_ADW_GregGetroffen (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 4; condition = DIA_Addon_Skip_ADW_GregGetroffen_Condition; information = DIA_Addon_Skip_ADW_GregGetroffen_Info; description = "Widziałem Grega w Khorinis."; }; func int DIA_Addon_Skip_ADW_GregGetroffen_Condition () { if (PlayerTalkedToGregNW == TRUE) && (GregIsBack == FALSE) && (Npc_KnowsInfo (other, DIA_Addon_Skip_Job)) { return TRUE; }; }; func void DIA_Addon_Skip_ADW_GregGetroffen_Info () { AI_Output (other, self, "DIA_Addon_Skip_ADW_GregGetroffen_15_00"); //Widziałem Grega w Khorinis. AI_Output (self, other, "DIA_Addon_Skip_ADW_GregGetroffen_08_01"); //Naprawdę? Niech to diabli! Coś musiało pójść naprawdę źle! AI_Output (self, other, "DIA_Addon_Skip_ADW_GregGetroffen_08_02"); //Powinien już dawno wrócić z naszym statkiem. AI_Output (self, other, "DIA_Addon_Skip_ADW_GregGetroffen_08_03"); //Najlepiej będzie, jeśli wrócę do Khorinis i poczekam tam na niego... AI_Output (self, other, "DIA_Addon_Skip_ADW_GregGetroffen_08_04"); //Ale nie dzisiaj. Dopiero co wróciłem. B_GivePlayerXP (XP_Ambient); }; // ************************************************************ // Überfahrt - PERM // ************************************************************ var int Skip_Transport_Variation; // ------------------------------------------------------------ instance DIA_Addon_Skip_Transport(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 99; condition = DIA_Addon_Skip_Transport_Condition; information = DIA_Addon_Skip_Transport_Info; permanent = TRUE; description = "Możesz mnie zabrać do Khorinis?"; }; FUNC INT DIA_Addon_Skip_Transport_Condition() { if (Npc_KnowsInfo (other,DIA_Addon_Skip_Job)) && (self.aivar[AIV_PARTYMEMBER] == FALSE) { return TRUE; }; }; FUNC VOID DIA_Addon_Skip_Transport_Info() { AI_Output (other,self ,"DIA_Addon_Skip_Transport_15_00"); //Możesz mnie zabrać do Khorinis? if (GregIsBack == FALSE) { AI_Output (self ,other,"DIA_Addon_Skip_Transport_08_01"); //Nie. Wyruszam później. Najpierw muszę odpocząć i napić się grogu. } else if (Skip_Transport_Variation == 0) { AI_Output (self ,other,"DIA_Addon_Skip_Transport_08_02"); //Zwariowałeś? Straciliśmy nasz statek, rozumiesz? AI_Output (self ,other,"DIA_Addon_Skip_Transport_08_03"); //Nie mam zamiaru używać naszej ostatniej łodzi, aby przewieźć kogoś, komu nie chce się ruszyć tyłka! Skip_Transport_Variation = 1; } else { AI_Output (self ,other,"DIA_Addon_Skip_Transport_08_04"); //Ile razy mam powtarzać? Nie! }; }; // ************************************************************ // Banditen + Rüstung // ************************************************************ // ------------------------------------------------------------ // About Bandits // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_Bandits(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 6; condition = DIA_Addon_Skip_Bandits_Condition; information = DIA_Addon_Skip_Bandits_Info; description = "Co możesz mi powiedzieć o bandytach?"; }; FUNC INT DIA_Addon_Skip_Bandits_Condition() { return TRUE; }; func VOID DIA_Addon_Skip_Bandits_Info() { AI_Output (other, self, "DIA_Addon_Skip_Bandits_15_00"); //Co możesz mi powiedzieć o bandytach? AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_01"); //Bandytach? Napadają nas, ot co! AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_02"); //Niby po co wznosimy tę palisadę? AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_03"); //To my ich tu przywieźliśmy. AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_04"); //Nawet z nimi handlowaliśmy. Żebyś wiedział, ile oni mają złota! Całe krocie, mówię ci! AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_05"); //Byli gotowi płacić każdą cenę za beczkę rumu. AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_06"); //Ale to już należy do przeszłości. Teraz trwa wojna! AI_Output (other, self, "DIA_Addon_Erol_Bandits_15_06"); //Co się stało? AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_07"); //Ci dranie nie zapłacili nam za ostatnią dostawę. AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_08"); //A więc poszedłem do nich, żeby dostać swoje złoto. AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_09"); //Kiedy tylko wszedłem na bagna, ci obwiesie rzucili się na mnie! AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_10"); //Co gorsza, załatwili Angusa i Hanka - dwóch naszych najlepszych żeglarzy! AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_11"); //Nie zapuszczaj się na bagna, mówię ci. AI_Output (self, other, "DIA_Addon_Skip_Bandits_08_12"); //Atakują każdego, kto wygląda inaczej niż oni! }; // ------------------------------------------------------------ // Banditenrüstung // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_ArmorPrice(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 6; condition = DIA_Addon_Skip_ArmorPrice_Condition; information = DIA_Addon_Skip_ArmorPrice_Info; description = "Potrzebny mi pancerz bandytów."; }; FUNC INT DIA_Addon_Skip_ArmorPrice_Condition() { if (Npc_KnowsInfo (other,DIA_Addon_Skip_Bandits)) && (GregIsBack == FALSE) { return TRUE; }; }; func VOID DIA_Addon_Skip_ArmorPrice_Info() { AI_Output (other,self , "DIA_Addon_Skip_ArmorPrice_15_00"); //Potrzebny mi pancerz bandytów. AI_Output (self ,other, "DIA_Addon_Skip_ArmorPrice_08_01"); //Chcesz tam iść? Odbiło ci do reszty. AI_Output (self ,other, "DIA_Addon_Skip_ArmorPrice_08_02"); //Kiedy bandyci odkryją, że nie jesteś jednym z nich, nakarmią tobą węże błotne. AI_Output (other, self, "DIA_Addon_Skip_ArmorPrice_15_02"); //Wiesz, gdzie mógłbym znaleźć taki pancerz? AI_Output (self ,other, "DIA_Addon_Skip_ArmorPrice_08_03"); //Nigdy się nie poddajesz, co? Dobrze więc. Kiedyś mieliśmy jeden taki. AI_Output (self ,other, "DIA_Addon_Skip_ArmorPrice_08_04"); //Może wciąż leży gdzieś w chacie Grega. AI_Output (self ,other, "DIA_Addon_Skip_ArmorPrice_08_05"); //Może ci go da, jeśli tylko wróci... B_LogEntry (TOPIC_Addon_BDTRuestung,"Skip podejrzewa, że zbroja jest w chacie Grega."); }; // ------------------------------------------------------------ // In Gregs Hütte // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_GregsHut(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 6; condition = DIA_Addon_Skip_GregsHut_Condition; information = DIA_Addon_Skip_GregsHut_Info; permanent = FALSE; description = "A jak się dostać do chaty?"; }; FUNC INT DIA_Addon_Skip_GregsHut_Condition() { if (Npc_KnowsInfo (other, DIA_Addon_Skip_ArmorPrice)) && (GregIsBack == FALSE) { return TRUE; }; }; FUNC VOID DIA_Addon_Skip_GregsHut_Info() { AI_Output (other,self ,"DIA_Addon_Skip_GregsHut_15_00"); //A jak się dostać do chaty? AI_Output (self ,other,"DIA_Addon_Skip_GregsHut_08_01"); //Spokojnie, chłopcze! AI_Output (self ,other,"DIA_Addon_Skip_GregsHut_08_02"); //Chcesz podwędzić coś, co należy do Grega? AI_Output (self ,other,"DIA_Addon_Skip_GregsHut_08_03"); //Kiedy kapitan opuszczał nasz obóz, polecił Francisowi pilnować, aby nikt nie wchodził do jego chaty. B_LogEntry (TOPIC_Addon_BDTRuestung,"Francis ma klucz do chaty Grega, ale nie wpuści nikogo do środka."); Knows_GregsHut = TRUE; }; // ------------------------------------------------------------ // Über Francis --> Samuel // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_Francis (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 6; condition = DIA_Addon_Skip_Francis_Condition; information = DIA_Addon_Skip_Francis_Info; permanent = FALSE; description = "Co możesz mi powiedzieć o Francisie?"; }; FUNC INT DIA_Addon_Skip_Francis_Condition() { if (Npc_KnowsInfo (other, DIA_Addon_Skip_GregsHut)) { return TRUE; }; }; FUNC VOID DIA_Addon_Skip_Francis_Info() { AI_Output (other,self ,"DIA_Addon_Skip_Francis_15_00"); //Co możesz mi powiedzieć o Francisie? AI_Output (self ,other,"DIA_Addon_Skip_Francis_08_01"); //To nasz skarbnik. AI_Output (self ,other,"DIA_Addon_Skip_Francis_08_02"); //Kapitan mu bardzo ufa. To dlatego powierzył mu zastępstwo. AI_Output (self ,other,"DIA_Addon_Skip_Francis_08_03"); //Chociaż reszta chłopaków nie szanuje go zbytnio. AI_Output (self ,other,"DIA_Addon_Skip_Francis_08_04"); //Jeśli chcesz wiedzieć więcej, pogadaj z Samuelem. AI_Output (self ,other,"DIA_Addon_Skip_Francis_08_05"); //Siedzi w małej jaskini, na północ stąd. AI_Output (self ,other,"DIA_Addon_Skip_Francis_08_06"); //Samuel wie prawie wszystko o prawie wszystkich. B_LogEntry (TOPIC_Addon_BDTRuestung,"Powinienem porozmawiać z Samuelem. Może będzie mógł mi dać jakieś wskazówki."); }; // ************************************************************ // Die Turmbanditen // ************************************************************ // ------------------------------------------------------------ // Raven // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_Raven(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 5; condition = DIA_Addon_Skip_Raven_Condition; information = DIA_Addon_Skip_Raven_Info; permanent = FALSE; description = "Spotkałeś kiedyś Kruka?"; }; FUNC INT DIA_Addon_Skip_Raven_Condition() { if (Npc_KnowsInfo (other,DIA_Addon_Skip_Bandits) == TRUE) { return TRUE; }; }; FUNC VOID DIA_Addon_Skip_Raven_Info() { AI_Output (other,self ,"DIA_Addon_Skip_Raven_15_00"); //Spotkałeś kiedyś Kruka? AI_Output (self ,other,"DIA_Addon_Skip_Raven_08_01"); //Pewnie. Stałem wtedy na straży z Henrym. Widzieliśmy, jak Kruk zostawia swoich ludzi w wieży stojącej kawałek na południe stąd. AI_Output (self ,other,"DIA_Addon_Skip_Raven_08_02"); //Skoro zostawił ich tak blisko, to na pewno mają nas szpiegować. AI_Output (self ,other,"DIA_Addon_Skip_Raven_08_03"); //Widziałem też, jak obchodzi się z ludźmi, którzy nie okazują posłuszeństwa. AI_Output (self ,other,"DIA_Addon_Skip_Raven_08_04"); //Kiedy ktoś pokaże choć cień niesubordynacji, może stracić głowę. AI_Output (self ,other,"DIA_Addon_Skip_Raven_08_05"); //Uważaj na Kruka, dobrze ci radzę. }; // ************************************************************ // *** *** // Die Angus und Hank Show // *** *** // ************************************************************ // ------------------------------------------------------------ // Angus und Hank. // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_AngusHank(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 5; condition = DIA_Addon_Skip_AngusHank_Condition; information = DIA_Addon_Skip_AngusHank_Info; description = "Opowiedz mi coś więcej o Angusie i Hanku."; }; FUNC INT DIA_Addon_Skip_AngusHank_Condition() { if (Npc_KnowsInfo (other, DIA_Addon_Skip_Bandits)) { return TRUE; }; }; func VOID DIA_Addon_Skip_AngusHank_Info() { AI_Output (other,self ,"DIA_Addon_Skip_AngusnHank_15_00"); //Opowiedz mi coś więcej o Angusie i Hanku. AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_01"); //Angus i Hank mieli spotkać się z bandytami poza obozem. AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_02"); //Mieli ze sobą wszystko, co tamci zamówili. AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_03"); //Kutą stal, wytrychy i inne takie rzeczy. AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_04"); //Niestety, nie wrócili. Te sukinsyny musiały ich załatwić! AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_05"); //Morgan i Bill szukali ich, ale bezskutecznie. AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_06"); //Bill był szczególnie smutny, bo Angus i Hank to jego bliscy przyjaciele. AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_07"); //Jest młody i słabo znosi takie wydarzenia. AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_08"); //Inni przyjęli to ze spokojem. Utrata dóbr nie jest niczym wielkim. Ale ten grog, który nieśli... AI_Output (self ,other,"DIA_Addon_Skip_AngusnHank_08_09"); //Było tego ze 20 butelek! MIS_ADDON_SkipsGrog = LOG_RUNNING; Log_CreateTopic (TOPIC_Addon_SkipsGrog,LOG_MISSION); Log_SetTopicStatus (TOPIC_Addon_SkipsGrog,LOG_RUNNING); B_LogEntry (TOPIC_Addon_SkipsGrog,"Skip chce odzyskać 20 butelek grogu, które zabrali mu bandyci."); Log_AddEntry (TOPIC_Addon_SkipsGrog,"Angus i Hank mieli pohandlować z bandytami. Od tej pory ich nie widziano."); Log_AddEntry (TOPIC_Addon_SkipsGrog,"Poszukiwania Morgana i Billa nie przyniosły efektu..."); }; // ------------------------------------------------------------ // Angus und Hank sind TOT // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_AngusHankDead(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 5; condition = DIA_Addon_Skip_AngusHankDead_Condition; information = DIA_Addon_Skip_AngusHankDead_Info; permanent = FALSE; description = "Jeśli chodzi o Angusa i Hanka..."; }; FUNC INT DIA_Addon_Skip_AngusHankDead_Condition() { if (Npc_KnowsInfo (other, DIA_Addon_Skip_Bandits)) && (!Npc_HasItems (Angus, ItRi_Addon_MorgansRing_Mission)) { return TRUE; }; }; func VOID DIA_Addon_Skip_AngusHankDead_Info() { AI_Output (other, self, "DIA_Addon_Skip_AngusnHankDead_15_00"); //Jeśli chodzi o Angusa i Hanka... AI_Output (self ,other, "DIA_Addon_Skip_AngusnHankDead_08_01"); //Tak? AI_Output (other, self, "DIA_Addon_Skip_AngusnHankDead_15_01"); //Znalazłem ich. //AI_Output (self ,other, "DIA_Addon_Skip_AngusnHankDead_08_02"); //Sie sind tot, richtig? AI_Output (other, self, "DIA_Addon_Skip_AngusnHankDead_15_03"); //Nie żyją. AI_Output (self ,other, "DIA_Addon_Skip_AngusnHankDead_08_03"); //A więc jednak. Biedni dranie! AI_Output (self ,other, "DIA_Addon_Skip_AngusnHankDead_08_04"); //Ale nie liczyłem na nic innego. AI_Output (self ,other, "DIA_Addon_Skip_AngusnHankDead_08_05"); //Powinieneś zanieść te smutne wieści Billowi, jeśli dotąd tego nie zrobiłeś. AI_Output (self ,other, "DIA_Addon_Skip_AngusnHankDead_08_06"); //Ale nie wal prosto z mostu. Bill jest jeszcze młody. }; // ------------------------------------------------------------ // Kenne den Mörder // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_AngusHankMurder(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 5; condition = DIA_Addon_Skip_AngusHankMurder_Condition; information = DIA_Addon_Skip_AngusHankMurder_Info; permanent = FALSE; description = "Wiem, kto zamordował Angusa i Hanka."; }; FUNC INT DIA_Addon_Skip_AngusHankMurder_Condition() { if (Npc_KnowsInfo (other, DIA_Addon_Skip_AngusHankDead)) && (SC_Knows_JuanMurderedAngus == TRUE) { return TRUE; }; }; func VOID DIA_Addon_Skip_AngusHankMurder_Info() { AI_Output (other, self, "DIA_Addon_Skip_JuanMurder_15_00"); //Wiem, kto zamordował Angusa i Hanka. if (MIS_ADDON_SkipsGrog == LOG_SUCCESS) { AI_Output (self ,other, "DIA_Addon_Skip_AngusHankMurder_08_01"); //No i dobrze. Ale to im nie zwróci życia. AI_Output (self ,other, "DIA_Addon_Skip_AngusHankMurder_08_02"); //Zemsta to zły sposób na zdobycie łupów. AI_Output (self ,other, "DIA_Addon_Skip_AngusHankMurder_08_03"); //Najważniejsze, że odzyskałem swój grog. } else { AI_Output (self ,other, "DIA_Addon_Skip_AngusHankMurder_08_04"); //Morderca mnie nie obchodzi! Co z moim grogiem? }; }; // ------------------------------------------------------------ // Grog zurück // ------------------------------------------------------------ instance DIA_Addon_Skip_Grog (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 9; condition = DIA_Addon_Skip_Grog_Condition; information = DIA_Addon_Skip_Grog_Info; permanent = TRUE; description = "W sprawie grogu..."; }; func int DIA_Addon_Skip_Grog_Condition () { if (MIS_ADDON_SkipsGrog == LOG_RUNNING) { return TRUE; }; }; func void DIA_Addon_Skip_Grog_Info () { AI_Output (other, self, "DIA_Addon_Skip_Grog_15_00"); //W sprawie grogu... if (Npc_HasItems (other,Itfo_Addon_Grog)>= 20) { Info_ClearChoices (DIA_Addon_Skip_Grog); Info_AddChoice (DIA_Addon_Skip_Grog, DIALOG_BACK, DIA_Addon_Skip_Grog_back ); Info_AddChoice (DIA_Addon_Skip_Grog, "Oto twoje 20 flaszek.", DIA_Addon_Skip_Grog_geben ); } else { AI_Output (other, self, "DIA_Addon_Skip_Grog_15_01"); //Brakuje 20 butelek, tak? AI_Output (self, other, "DIA_Addon_Skip_Grog_08_02"); //Tak, do cholery! To był nasz cały zapas! }; }; func void DIA_Addon_Skip_Grog_back () { Info_ClearChoices (DIA_Addon_Skip_Grog); }; func void DIA_Addon_Skip_Grog_geben () { AI_Output (other, self, "DIA_Addon_Skip_Grog_geben_15_00"); //Oto twoje 20 flaszek. B_GiveInvItems (other, self, Itfo_Addon_Grog, 20); B_LogEntry (TOPIC_Addon_SkipsGrog,"Skip odzyskał swoje 20 butelek grogu i jest zadowolony."); MIS_ADDON_SkipsGrog = LOG_SUCCESS; B_GivePlayerXP (XP_Addon_SkipsGrog); AI_Output (self, other, "DIA_Addon_Skip_Grog_geben_08_01"); //Niech mnie kule biją! Tak za darmo? AI_Output (other, self, "DIA_Addon_Skip_Grog_geben_15_02"); //No cóż... AI_Output (self, other, "DIA_Addon_Skip_Grog_geben_08_03"); //Dobrze, zapłacę ci. AI_Output (other, self, "DIA_Addon_Skip_Grog_geben_15_04"); //Masz może coś bardziej interesującego niż złoto? AI_Output (self, other, "DIA_Addon_Skip_Grog_geben_08_05"); //Hmmm... Pomyślmy... O, mam pierścień. AI_Output (self, other, "DIA_Addon_Skip_Grog_geben_08_06"); //Wygrałem go wiele lat temu w kości w jednej z portowych tawern. AI_Output (self, other, "DIA_Addon_Skip_Grog_geben_08_07"); //Człowiek, który go przegrał, zapewniał, że pierścień jest magiczny. Ale nigdy nie miałem okazji sprawdzić, czy to prawda. AI_Output (self, other, "DIA_Addon_Skip_Grog_geben_08_08"); //Chcesz pierścień czy złoto? Info_ClearChoices (DIA_Addon_Skip_Grog); Info_AddChoice (DIA_Addon_Skip_Grog, "Wezmę pieniądze.", DIA_Addon_Skip_Grog_gold ); Info_AddChoice (DIA_Addon_Skip_Grog, "Daj mi pierścień.", DIA_Addon_Skip_Grog_ring ); }; func void DIA_Addon_Skip_Grog_ring () { AI_Output (other, self, "DIA_Addon_Skip_Grog_ring_15_00"); //Daj mi pierścień. AI_Output (self, other, "DIA_Addon_Skip_Grog_ring_08_01"); //Proszę bardzo. B_GiveInvItems (self, other, ItRi_Prot_Edge_02, 1); Info_ClearChoices (DIA_Addon_Skip_Grog); }; func void DIA_Addon_Skip_Grog_gold () { AI_Output (other, self, "DIA_Addon_Skip_Grog_gold_15_00"); //Wezmę pieniądze. AI_Output (self, other, "DIA_Addon_Skip_Grog_gold_08_01"); //Nie ma sprawy. var int GrogKohle; GrogKohle = (Value_Grog * 20); B_GiveInvItems (self, other, ItMi_Gold, GrogKohle); Info_ClearChoices (DIA_Addon_Skip_Grog); }; // ************************************************************ // TRADE // ************************************************************ INSTANCE DIA_Addon_Skip_News(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 888; condition = DIA_Addon_Skip_News_Condition; information = DIA_Addon_Skip_News_Info; permanent = FALSE; description = "Masz może coś do sprzedania?"; }; FUNC INT DIA_Addon_Skip_News_Condition() { return TRUE; }; FUNC VOID DIA_Addon_Skip_News_Info() { AI_Output (other,self ,"DIA_Addon_Skip_News_15_00"); //Masz może coś do sprzedania? AI_Output (self ,other,"DIA_Addon_Skip_News_08_01"); //Jeśli chcesz pohandlować, to pogadaj z Garrettem. On zajmuje się naszymi zapasami. Log_CreateTopic (Topic_Addon_PIR_Trader,LOG_NOTE); B_LogEntry (Topic_Addon_PIR_Trader,Log_Text_Addon_GarettTrade); }; // ************************************************************ // *** *** // Mitkommen (Greg) // *** *** // ************************************************************ // ------------------------------------------------------------ // Anheuern // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_Anheuern(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 11; condition = DIA_Addon_Skip_Anheuern_Condition; information = DIA_Addon_Skip_Anheuern_Info; permanent = FALSE; description = "Powinieneś mi pomóc."; }; FUNC INT DIA_Addon_Skip_Anheuern_Condition() { if (MIS_Addon_Greg_ClearCanyon == LOG_RUNNING) { return TRUE; }; }; func VOID DIA_Addon_Skip_Anheuern_Info() { AI_Output (other, self, "DIA_Addon_Skip_Anheuern_15_00"); //Powinieneś mi pomóc. AI_Output (self, other, "DIA_Addon_Skip_Anheuern_08_01"); //Co jest grane? AI_Output (other, self, "DIA_Addon_Skip_Anheuern_15_01"); //Kanion czeka. if (C_HowManyPiratesInParty() >= 2) { AI_Output (self, other, "DIA_Addon_Skip_Anheuern_08_02"); //Widzę, że zgromadziłeś chłopców. Dobra robota! } else { AI_Output (self, other, "DIA_Addon_Skip_Anheuern_08_03"); //Lepiej weź paru chłopaków! }; AI_Output (self, other, "DIA_Addon_Skip_Anheuern_08_04"); //Kanion jest bardzo niebezpieczny. }; // ------------------------------------------------------------ // Komm (wieder) mit! // ------------------------------------------------------------ instance DIA_Addon_Skip_ComeOn(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 12; condition = DIA_Addon_Skip_ComeOn_Condition; information = DIA_Addon_Skip_ComeOn_Info; permanent = TRUE; description = "Chodź ze mną."; }; func int DIA_Addon_Skip_ComeOn_Condition () { if (self.aivar[AIV_PARTYMEMBER] == FALSE) && (MIS_Addon_Greg_ClearCanyon == LOG_RUNNING) && (Npc_KnowsInfo (other, DIA_Addon_Skip_Anheuern)) { return TRUE; }; }; func void DIA_Addon_Skip_ComeOn_Info () { AI_Output (other, self, "DIA_Addon_Skip_ComeOn_15_00"); //Chodź ze mną. if (C_GregsPiratesTooFar() == TRUE) { AI_Output (self ,other, "DIA_Addon_Skip_ComeOn_08_02"); //Czekaj. Wróćmy do kanionu. AI_StopProcessInfos (self); } else { AI_Output (self ,other, "DIA_Addon_Skip_ComeOn_08_01"); //No to w drogę! if (C_BodyStateContains (self, BS_SIT)) { AI_StandUp (self); B_TurnToNpc (self,other); }; AI_StopProcessInfos (self); B_Addon_PiratesFollowAgain(); Npc_ExchangeRoutine (self,"FOLLOW"); self.aivar[AIV_PARTYMEMBER] = TRUE; }; }; // ------------------------------------------------------------ // Go Home! // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_GoHome(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 13; condition = DIA_Addon_Skip_GoHome_Condition; information = DIA_Addon_Skip_GoHome_Info; permanent = TRUE; description = "Nie potrzebuję już twojej pomocy."; }; FUNC INT DIA_Addon_Skip_GoHome_Condition() { if (self.aivar[AIV_PARTYMEMBER] == TRUE) { return TRUE; }; }; FUNC VOID DIA_Addon_Skip_GoHome_Info() { AI_Output (other, self, "DIA_Addon_Skip_GoHome_15_00"); //Nie potrzebuję już twojej pomocy. AI_Output (self, other, "DIA_Addon_Skip_GoHome_08_01"); //No to idę. Znajdziesz mnie w obozie, jakby co. self.aivar[AIV_PARTYMEMBER] = FALSE; Npc_ExchangeRoutine (self,"START"); }; // ------------------------------------------------------------ // Zu weit weg // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_TooFar(C_INFO) { npc = PIR_1355_Addon_Skip; nr = 14; condition = DIA_Addon_Skip_TooFar_Condition; information = DIA_Addon_Skip_TooFar_Info; permanent = TRUE; important = TRUE; }; FUNC INT DIA_Addon_Skip_TooFar_Condition() { if (self.aivar[AIV_PARTYMEMBER] == TRUE) && (C_GregsPiratesTooFar() == TRUE) { return TRUE; }; }; func VOID DIA_Addon_Skip_TooFar_Info() { AI_Output (self ,other, "DIA_Addon_Skip_TooFar_08_01"); //To wystarczająco daleko! if (C_HowManyPiratesInParty() >= 2) { AI_Output (self ,other, "DIA_Addon_Skip_TooFar_08_02"); //Jeśli naprawdę chcesz iść dalej, to bez nas. } else { AI_Output (self ,other, "DIA_Addon_Skip_TooFar_08_03"); //Jeśli naprawdę chcesz iść dalej, to beze mnie. }; B_Addon_PiratesGoHome(); AI_StopProcessInfos (self); }; // ------------------------------------------------------------ // Oase = Treffpunkt // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_Treffpunkt (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 1; condition = DIA_Addon_Skip_Treffpunkt_Condition; information = DIA_Addon_Skip_Treffpunkt_Info; permanent = FALSE; important = TRUE; }; FUNC INT DIA_Addon_Skip_Treffpunkt_Condition() { if (self.aivar[AIV_PARTYMEMBER] == TRUE) && (Npc_GetDistToWP (self, "ADW_CANYON_TELEPORT_PATH_06") <= 800) && (C_AllCanyonRazorDead() == FALSE) { return TRUE; }; }; func VOID DIA_Addon_Skip_Treffpunkt_Info() { AI_Output (self ,other, "DIA_Addon_Skip_Add_08_00"); //Jeśli zostaniemy rozdzieleni, spotkamy się przy wodzie. AI_Output (self ,other, "DIA_Addon_Skip_Add_08_02"); //Idziemy! AI_StopProcessInfos (self); }; // ------------------------------------------------------------ // Orks! // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_Orks (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 1; condition = DIA_Addon_Skip_Orks_Condition; information = DIA_Addon_Skip_Orks_Info; permanent = FALSE; important = TRUE; }; FUNC INT DIA_Addon_Skip_Orks_Condition() { if (self.aivar[AIV_PARTYMEMBER] == TRUE) && (Npc_GetDistToWP (self, "ADW_CANYON_PATH_TO_LIBRARY_14") <= 2000) { return TRUE; }; }; func VOID DIA_Addon_Skip_Orks_Info() { AI_Output (self ,other, "DIA_Addon_Skip_Add_08_01"); //Orkowie! Nienawidzę tych bestii! AI_StopProcessInfos (self); }; // ------------------------------------------------------------ // Alle Razor tot // ------------------------------------------------------------ INSTANCE DIA_Addon_Skip_AllRazorsDead (C_INFO) { npc = PIR_1355_Addon_Skip; nr = 1; condition = DIA_Addon_Skip_AllRazorsDead_Condition; information = DIA_Addon_Skip_AllRazorsDead_Info; permanent = FALSE; important = TRUE; }; FUNC INT DIA_Addon_Skip_AllRazorsDead_Condition() { if (self.aivar[AIV_PARTYMEMBER] == TRUE) && (C_AllCanyonRazorDead() == TRUE) { return TRUE; }; }; func VOID DIA_Addon_Skip_AllRazorsDead_Info() { AI_Output (self ,other, "DIA_Addon_Skip_Add_08_03"); //Wygląda na to, że pozbyliśmy się brzytwiaków. AI_Output (self ,other, "DIA_Addon_Skip_Add_08_04"); //Możemy trochę połazić po okolicy, jeśli chcesz. AI_Output (self ,other, "DIA_Addon_Skip_Add_08_05"); //Oczywiście musimy zostać w kanionie. AI_StopProcessInfos (self); };
D
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications.o : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications~partial.swiftmodule : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications~partial.swiftdoc : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Alamofire.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Response.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/TaskDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionDelegate.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Validation.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/SessionManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/AFError.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Notifications.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Result.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Request.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/ServerTrustPolicy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sriramprasad/Dev/rough/tableImage/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/* Client for IHello * Heavily modified from: */ /* * SELFREG.CPP * Server Self-Registrtation Utility, Chapter 5 * * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved * * Kraig Brockschmidt, Microsoft * Internet : kraigb@microsoft.com * Compuserve: >INTERNET:kraigb@microsoft.com */ import core.stdc.stdio; import core.stdc.stdlib; import core.sys.windows.windows; import core.sys.windows.com; GUID CLSID_Hello = { 0x30421140, 0, 0, [0xC0, 0, 0, 0, 0, 0, 0, 0x46] }; GUID IID_IHello = { 0x00421140, 0, 0, [0xC0, 0, 0, 0, 0, 0, 0, 0x46] }; interface IHello : IUnknown { extern (Windows) : int Print(); } int main() { DWORD dwVer; HRESULT hr; IHello pIHello; // Make sure COM is the right version dwVer = CoBuildVersion(); if (rmm != HIWORD(dwVer)) { printf("Incorrect OLE 2 version number\n"); return EXIT_FAILURE; } hr=CoInitialize(null); // Initialize OLE if (FAILED(hr)) { printf("OLE 2 failed to initialize\n"); return EXIT_FAILURE; } printf("OLE 2 initialized\n"); if (dll_regserver("dserver.dll", 1) == 0) { printf("server registered\n"); hr=CoCreateInstance(&CLSID_Hello, null, CLSCTX_ALL, &IID_IHello, cast(void**)&pIHello); if (FAILED(hr)) { printf("Failed to create object x%x\n", hr); } else { printf("Object created, calling IHello.Print(), IHello = %p\n", pIHello); // fflush(stdout); pIHello.Print(); pIHello.Release(); } CoFreeUnusedLibraries(); if (dll_regserver("dserver.dll", 0)) printf("server unregister failed\n"); } else printf("server registration failed\n"); // Only call this if CoInitialize worked CoUninitialize(); return EXIT_SUCCESS; } /************************************** * Register/unregister a DLL server. * Input: * flag !=0: register * ==0: unregister * Returns: * 0 success * !=0 failure */ extern (Windows) alias HRESULT function() pfn_t; int dll_regserver(const (char) *dllname, int flag) { char *fn = flag ? cast(char*) "DllRegisterServer" : cast(char*) "DllUnregisterServer"; int result = 1; pfn_t pfn; HINSTANCE hMod; if (SUCCEEDED(CoInitialize(null))) { hMod=LoadLibraryA(dllname); printf("hMod = %d\n", hMod); if (hMod) { printf("LoadLibraryA() %s\n", (flag ? "registered".ptr : "unregistered".ptr)); pfn = cast(pfn_t) GetProcAddress(hMod, fn); printf("pfn = %p, fn = '%s'\n", pfn, fn); if (pfn && SUCCEEDED((*pfn)())) { printf("successfully called %s\n", fn); result = 0; } printf("CoFreeLibrary()\n"); CoFreeLibrary(hMod); printf("CoUninitialize()\n"); CoUninitialize(); } } return result; }
D
module org.serviio.ui.representation.BrowsingCategory; import java.lang; import java.util.ArrayList; import java.util.List; import org.serviio.upnp.service.contentdirectory.definition.ContainerVisibilityType; public class BrowsingCategory { private String id; private String title; private ContainerVisibilityType visibility; private List!(BrowsingCategory) subCategories = new ArrayList!(BrowsingCategory)(); public this() {} public this(String id, String title, ContainerVisibilityType visibility) { this.id = id; this.title = title; this.visibility = visibility; } public List!(BrowsingCategory) getSubCategories() { return this.subCategories; } public void setSubCategories(List!(BrowsingCategory) subCategories) { this.subCategories = subCategories; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } public ContainerVisibilityType getVisibility() { return this.visibility; } public void setVisibility(ContainerVisibilityType visibility) { this.visibility = visibility; } public String getId() { return this.id; } public void setId(String id) { this.id = id; } } /* Location: C:\Users\Main\Downloads\serviio.jar * Qualified Name: org.serviio.ui.representation.BrowsingCategory * JD-Core Version: 0.7.0.1 */
D
pragma(LDC_no_moduleinfo); pragma(LDC_no_typeinfo); import ldc.attributes; import spasm.types; import spasm.spa; import spasm.rt.array; mixin Spa!App; enum FilterStyle { All, Active, Completed } struct App { @style!"todoapp" mixin Node!"section"; @child Header header; @child Main main; @child Footer footer; int count = 0; int completed = 0; int size = 0; FilterStyle filter = FilterStyle.All; @visible!"footer" bool showFooter(int size) { return size > 0; } @visible!"main" bool showMain(int size) { return size > 0; } void updateItems() { import std.algorithm : count; main.update!(main.items); this.update.size = main.items.length; this.update.count = main.items[].count!(i=>!i.checked); this.update.completed = main.items.length - this.count; } @connect!"main.toggleAll.input.toggle" void toggle() { bool checked = main.toggleAll.input.node.getPropertyBool("checked"); main.toggleEach(checked); updateItems(); } @connect!"header.field.enter" void enter() { import spasm.rt.memory; Item* item = allocator.make!Item; item.innerText = header.field.value; header.field.update!(header.field.value)(""); main.items.put(item); updateItems(); } @connect!("main.list.items","view.button.click") void removeItem(size_t idx) { main.items.removeItem(idx); updateItems(); } @connect!("main.list.items","view.checkbox.toggle") void toggleItem(size_t idx) { main.list.items[idx].checked = !main.list.items[idx].checked; // TODO: here we need to update data[idx] again, else state in dom is wrong updateItems(); } @connect!"footer.filters.all.link.click" void allClick() { this.update!(filter)(FilterStyle.All); } @connect!"footer.filters.active.link.click" void activeClick() { this.update!(filter)(FilterStyle.Active); } @connect!"footer.filters.completed.link.click" void completedClick() { this.update!(filter)(FilterStyle.Completed); } @connect!"footer.clear.click" void clearCompleted() { import std.algorithm : remove; main.items.removePred!(i => i.checked); updateItems(); } } struct Header { @style!"header" mixin Node!"header"; @child Title title; @child Input field; } struct Title { mixin Node!"h1"; @prop auto innerText = "todos"; } struct ToggleAll { struct Input { @style!"toggle-all" mixin Node!"input"; mixin Slot!"toggle"; @attr type = "checkbox"; @prop id = "toggle-all"; int* count; @prop bool checked(int* count) { return *count == 0; } @callback void onChange(Event event) { // TODO: would be great if we can add the event.target.checked as second arg this.emit(toggle); } } struct Label { mixin Node!"label"; @attr for_ = "toggle-all"; } @child Input input; @child Label label; } struct Main { @style!"main" mixin Node!"section"; @child ToggleAll toggleAll; @style!"todo-list" @child UnorderedList!Item list; FilterStyle* filter; DynamicArray!(Item*) items; auto transform(ref DynamicArray!(Item*) items, FilterStyle* filter) { with (FilterStyle) { final switch(*filter) { case All: return items[].update(list); case Active: import std.algorithm : filter ; return items[].filter!(i=>!i.checked).update(list); case Completed: import std.algorithm : filter ; return items[].filter!(i=>i.checked).update(list); } } } void toggleEach(bool toggle) { foreach(i; items[]) i.update!(Item.checked)(toggle); } } struct Footer { struct Span { @style!"todo-count" mixin Node!"span"; int* count; @prop string innerHTML(int* count) { return text("<strong>", *count, "</strong> ", *count > 1 ? "items" : "item", " left"); } } struct Filters { @style!"filters" mixin Node!"ul"; @child Option!"All" all = {option: FilterStyle.All}; @child Option!"Active" active = {option: FilterStyle.Active}; @child Option!"Completed" completed = {option: FilterStyle.Completed}; } struct Option(string text) { struct Link { mixin Node!"a"; mixin Slot!"click"; @attr string href = "#"; @prop string innerText = text; FilterStyle* filter; FilterStyle* option; @style!"selected" bool selected(FilterStyle* filter, FilterStyle* option) { return *filter == *option; } @callback void onClick(MouseEvent event) { this.emit(click); } } mixin Node!"li"; @child Link link; FilterStyle option; } struct Button { @style!"clear-completed" mixin Node!"button"; mixin Slot!"click"; @prop innerText = "Clear Completed"; @callback void onClick(MouseEvent event) { this.emit(click); } } @style!"footer" mixin Node!"footer"; @child Span span; @child Filters filters; @child Button clear; int* completed; @visible!"clear" bool canClear(int* completed) { return *completed > 0; } } // TODO: we can move some data into an upper state struct (like the todo list), and use an pointer to get a reference to it. struct Input { @style!"new-todo" mixin Node!"input"; mixin Slot!"enter"; mixin Slot!"input"; @prop string value; @attr string placeholder = "What needs to be done?"; @callback void onKeyPress(KeyboardEvent event) { value = node.getProperty("value"); if (event.key == "Enter") this.emit(enter); this.emit(input); } } struct Item { mixin Node!"li"; @style!"completed" bool checked = false; @style!"editing" bool editing; @child View view; @child InlineInput editField; string innerText; @connect!"view.label.click" void onEdit() { this.update!(editing)(true); editField.update!(editField.value)(innerText); editField.focus(); } @connect!"editField.enter" void onSubmit() { this.update!(editing)(false); this.update!(innerText)(editField.value); } @connect!"editField.esc" void onEsc() { this.update!(editing)(false); } } struct View { @style!"view" mixin Node!"div"; @child Checkbox checkbox; @child ClickableLabel label; @child Button button; } struct InlineInput { @style!"edit" mixin Node!"input"; mixin Slot!"enter"; mixin Slot!"esc"; mixin Slot!"input"; @prop string value; @callback void onKeyDown(KeyboardEvent event) { value = node.getProperty("value"); if (event.key == "Enter") this.emit(enter); else if (event.key == "Escape") this.emit(esc); else this.emit(input); } @callback void onBlur(Event event) { this.emit(enter); } } struct Button { mixin Slot!"click"; @style!"destroy" mixin Node!"button"; @callback void onClick(MouseEvent event) { this.emit(click); } } struct ClickableLabel { mixin Slot!"click"; mixin Node!"label"; @prop string* innerText; @callback void onDblClick(MouseEvent event) { this.emit(click); } } struct Label { mixin Node!"label"; @prop string* innerText; } struct Checkbox { @style!"toggle" mixin Node!"input"; mixin Slot!"toggle"; @attr string type = "checkbox"; @prop bool* checked; @callback void onChange(Event event) { // TODO: would be great if we can add the event.target.checked as second arg this.emit(toggle); } }
D
/home/joseph/Desktop/wasm-game-of-life/target/rls/debug/build/memchr-0fe74fb6572a0106/build_script_build-0fe74fb6572a0106: /home/joseph/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.0/build.rs /home/joseph/Desktop/wasm-game-of-life/target/rls/debug/build/memchr-0fe74fb6572a0106/build_script_build-0fe74fb6572a0106.d: /home/joseph/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.0/build.rs /home/joseph/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.0/build.rs:
D
module durge.system.windows.native.rawinput; version (Windows): import durge.system.windows.native.common; import durge.system.windows.native.hid; import durge.system.windows.native.windows; enum // Input Device Type { RIM_TYPEMOUSE = 0, RIM_TYPEKEYBOARD = 1, RIM_TYPEHID = 2, } enum // Input Device Info Type { RIDI_PREPARSEDDATA = 0x20000005U, RIDI_DEVICENAME = 0x20000007U, RIDI_DEVICEINFO = 0x2000000bU, } enum // Register Input Device Flags { RIDEV_REMOVE = 0x0001, RIDEV_EXCLUDE = 0x0010, RIDEV_PAGEONLY = 0x0020, RIDEV_NOLEGACY = 0x0030, RIDEV_INPUTSINK = 0x0100, RIDEV_CAPTUREMOUSE = 0x0200, RIDEV_NOHOTKEYS = 0x0200, RIDEV_APPKEYS = 0x0400, RIDEV_EXINPUTSINK = 0x1000, RIDEV_DEVNOTIFY = 0x2000, RIDEV_EXMODEMASK = 0x00f0, } enum // GetRawInputData() { RID_INPUT = 0x10000003U, RID_HEADER = 0x10000005U, } enum // Keyboard Input Flags { RI_KEY_MAKE = 0x00, RI_KEY_BREAK = 0x01, RI_KEY_E0 = 0x02, RI_KEY_E1 = 0x04, RI_KEY_TERMSRV_SET_LED = 0x08, RI_KEY_TERMSRV_SHADOW = 0x10, } enum // Mouse Input Data Flags { MOUSE_MOVE_RELATIVE = 0x00, MOUSE_MOVE_ABSOLUTE = 0x01, MOUSE_VIRTUAL_DESKTOP = 0x02, MOUSE_ATTRIBUTES_CHANGED = 0x04, MOUSE_MOVE_NOCOALESCE = 0x08, } enum // Mouse Button Flags { RI_MOUSE_BUTTON_1_DOWN = 0x0001, RI_MOUSE_BUTTON_1_UP = 0x0002, RI_MOUSE_BUTTON_2_DOWN = 0x0004, RI_MOUSE_BUTTON_2_UP = 0x0008, RI_MOUSE_BUTTON_3_DOWN = 0x0010, RI_MOUSE_BUTTON_3_UP = 0x0020, RI_MOUSE_BUTTON_4_DOWN = 0x0040, RI_MOUSE_BUTTON_4_UP = 0x0080, RI_MOUSE_BUTTON_5_DOWN = 0x0100, RI_MOUSE_BUTTON_5_UP = 0x0200, RI_MOUSE_WHEEL = 0x0400, RI_MOUSE_LEFT_BUTTON_DOWN = RI_MOUSE_BUTTON_1_DOWN, RI_MOUSE_LEFT_BUTTON_UP = RI_MOUSE_BUTTON_1_UP, RI_MOUSE_RIGHT_BUTTON_DOWN = RI_MOUSE_BUTTON_2_DOWN, RI_MOUSE_RIGHT_BUTTON_UP = RI_MOUSE_BUTTON_2_UP, RI_MOUSE_MIDDLE_BUTTON_DOWN = RI_MOUSE_BUTTON_3_DOWN, RI_MOUSE_MIDDLE_BUTTON_UP = RI_MOUSE_BUTTON_3_UP, } enum // Input Message { RIM_INPUT = 0, RIM_INPUTSINK = 1, } enum // Window Messages { WM_INPUT_DEVICE_CHANGE = 0x00fe, WM_INPUT = 0x00ff, } enum // Input Device Change { GIDC_ARRIVAL = 1, GIDC_REMOVAL = 2, } alias HANDLE HRAWINPUT; struct RAWINPUTDEVICELIST { HANDLE hDevice; DWORD dwType; } struct RAWINPUTDEVICE { this(USHORT usGenericUsage) { this.usUsagePage = HID_USAGE_PAGE_GENERIC; this.usUsage = usGenericUsage; } this(USHORT usUsagePage, USHORT usUsage) { this.usUsagePage = usUsagePage; this.usUsage = usUsage; } USHORT usUsagePage; USHORT usUsage; DWORD dwFlags; HWND hwndTarget; } struct RID_DEVICE_INFO { DWORD cbSize; DWORD dwType; union { RID_DEVICE_INFO_MOUSE mouse; RID_DEVICE_INFO_KEYBOARD keyboard; RID_DEVICE_INFO_HID hid; } } struct RID_DEVICE_INFO_KEYBOARD { DWORD dwType; DWORD dwSubType; DWORD dwKeyboardMode; DWORD dwNumberOfFunctionKeys; DWORD dwNumberOfIndicators; DWORD dwNumberOfKeysTotal; } struct RID_DEVICE_INFO_MOUSE { DWORD dwId; DWORD dwNumberOfButtons; DWORD dwSampleRate; BOOL fHasHorizontalWheel; } struct RID_DEVICE_INFO_HID { DWORD dwVendorId; DWORD dwProductId; DWORD dwVersionNumber; USHORT usUsagePage; USHORT usUsage; } struct RAWINPUTHEADER { DWORD dwType; DWORD dwSize; HANDLE hDevice; WPARAM wParam; } struct RAWINPUT { RAWINPUTHEADER header; union { RAWMOUSE mouse; RAWKEYBOARD keyboard; RAWHID hid; } } struct RAWHID { DWORD dwSizeHid; DWORD dwCount; BYTE[1] bRawData; } struct RAWKEYBOARD { USHORT usMakeCode; USHORT usFlags; USHORT usReserved; USHORT usVKey; UINT uiMessage; ULONG ulExtraInformation; } struct RAWMOUSE { USHORT usFlags; union { ULONG ulButtons; struct { USHORT usButtonFlags; USHORT usButtonData; } } ULONG ulRawButtons; LONG lLastX; LONG lLastY; ULONG ulExtraInformation; } alias RAWINPUTDEVICELIST* PRAWINPUTDEVICELIST; alias RAWINPUTDEVICE* PRAWINPUTDEVICE; alias RAWINPUTHEADER* PRAWINPUTHEADER; alias RAWINPUT* PRAWINPUT; alias RAWKEYBOARD* PRAWKEYBOARD; alias RAWMOUSE* PRAWMOUSE; alias RAWHID* PRAWHID; extern (Windows) { nothrow: @nogc: LRESULT DefRawInputProc(PRAWINPUT* paRawInput, INT nInput, UINT cbSizeHeader); UINT GetRawInputBuffer(PRAWINPUT pData, PUINT pcbSize, UINT cbSizeHeader); UINT GetRawInputData(HRAWINPUT hRawInput, UINT uiCommand, LPVOID pData, PUINT pcbSize, UINT cbSizeHeader); UINT GetRawInputDeviceInfoW(HANDLE hDevice, UINT uiCommand, LPVOID pData, PUINT pcbSize); UINT GetRawInputDeviceList(PRAWINPUTDEVICELIST pRawInputDeviceList, PUINT puiNumDevices, UINT cbSize); UINT GetRegisteredRawInputDevices(PRAWINPUTDEVICE pRawInputDevices, PUINT puiNumDevices, UINT cbSize); BOOL RegisterRawInputDevices(PRAWINPUTDEVICE pRawInputDevices, UINT uiNumDevices, UINT cbSize); } alias GetRawInputDeviceInfoW GetRawInputDeviceInfo; VOID _DefRawInputProc(PRAWINPUT pRawInput) { LRESULT result = DefRawInputProc(&pRawInput, 1, RAWINPUTHEADER.sizeof); if (result != 0) { throw new WindowsException(cast (DWORD) result); } } VOID _GetRawInputHeader(HRAWINPUT hRawInput, PRAWINPUTHEADER pRawInputHeader) { UINT cbSize = pRawInputHeader.dwSize; UINT result = GetRawInputData(hRawInput, RID_HEADER, pRawInputHeader, &cbSize, RAWINPUTHEADER.sizeof); if (result != cbSize) { throw new WindowsException(); } } UINT _GetRawInputDataSize(HRAWINPUT hRawInput) { UINT cbSize; UINT result = GetRawInputData(hRawInput, RID_INPUT, null, &cbSize, RAWINPUTHEADER.sizeof); if (result != 0) { throw new WindowsException(); } return cbSize; } VOID _GetRawInputData(HRAWINPUT hRawInput, PRAWINPUT pRawInput, UINT cbSize) { UINT result = GetRawInputData(hRawInput, RID_INPUT, pRawInput, &cbSize, RAWINPUTHEADER.sizeof); if (result != cbSize) { throw new WindowsException(); } } string _GetRawInputDeviceName(HANDLE hDevice) { import std.string : chop; import std.utf : toUTF8; UINT cbSize; SetLastError(0); UINT result = GetRawInputDeviceInfo(hDevice, RIDI_DEVICENAME, null, &cbSize); DWORD errorCode = GetLastError(); if (errorCode != 0) { throw new WindowsException(errorCode); } auto deviceName = new WCHAR[cbSize + 1]; SetLastError(0); result = GetRawInputDeviceInfo(hDevice, RIDI_DEVICENAME, deviceName.ptr, &cbSize); errorCode = GetLastError(); if (errorCode != 0) { throw new WindowsException(errorCode); } return deviceName[0..cbSize].chop().toUTF8(); } VOID _GetRawInputDeviceInfo(HANDLE hDevice, RID_DEVICE_INFO* pDeviceInfo) { UINT cbSize = pDeviceInfo.cbSize; SetLastError(0); GetRawInputDeviceInfo(hDevice, RIDI_DEVICEINFO, pDeviceInfo, &cbSize); DWORD errorCode = GetLastError(); if (errorCode != 0) { throw new WindowsException(errorCode); } } BYTE[] _GetRawInputPreparsedData(HANDLE hDevice) { UINT cbSize; SetLastError(0); UINT result = GetRawInputDeviceInfo(hDevice, RIDI_PREPARSEDDATA, null, &cbSize); DWORD errorCode = GetLastError(); if (errorCode != 0) { throw new WindowsException(errorCode); } auto preparsedData = new BYTE[cbSize]; SetLastError(0); result = GetRawInputDeviceInfo(hDevice, RIDI_PREPARSEDDATA, preparsedData.ptr, &cbSize); errorCode = GetLastError(); if (errorCode != 0) { throw new WindowsException(errorCode); } return preparsedData; } UINT _GetRawInputDeviceCount() { UINT uiNumDevices; UINT result = GetRawInputDeviceList(null, &uiNumDevices, RAWINPUTDEVICELIST.sizeof); if (result == cast (UINT) -1) { throw new WindowsException(); } return uiNumDevices; } VOID _GetRawInputDeviceList(PRAWINPUTDEVICELIST pRawInputDeviceList, UINT uiNumDevices) { UINT result = GetRawInputDeviceList(pRawInputDeviceList, &uiNumDevices, RAWINPUTDEVICELIST.sizeof); if (result == cast (UINT) -1) { throw new WindowsException(); } } RAWINPUTDEVICELIST[] _GetRawInputDeviceList() { UINT uiNumDevices; UINT result = GetRawInputDeviceList(null, &uiNumDevices, RAWINPUTDEVICELIST.sizeof); if (result == cast (UINT) -1) { throw new WindowsException(); } auto deviceList = new RAWINPUTDEVICELIST[uiNumDevices]; result = GetRawInputDeviceList(deviceList.ptr, &uiNumDevices, RAWINPUTDEVICELIST.sizeof); if (result == cast (UINT) -1) { throw new WindowsException(); } return deviceList; } nothrow @nogc BOOL RegisterRawInputDevices(PRAWINPUTDEVICE pRawInputDevices, UINT uiNumDevices) { return RegisterRawInputDevices(pRawInputDevices, uiNumDevices, RAWINPUTDEVICE.sizeof); } VOID _RegisterRawInputDevices(PRAWINPUTDEVICE pRawInputDevices, UINT uiNumDevices) { BOOL result = RegisterRawInputDevices(pRawInputDevices, uiNumDevices, RAWINPUTDEVICE.sizeof); if (result == FALSE) { throw new WindowsException(); } }
D
a man who is a respected leader in national or international affairs
D
/* This version of microEmacs is based on the public domain C * version written by Dave G. Conroy. * The D programming language version is written by Walter Bright. * http://www.digitalmars.com/d/ * This program is in the public domain. */ /* * The functions in this file implement commands that search in the forward * and backward directions. There are no special characters in the search * strings. Probably should have a regular expression search, or something * like that. * * REVISION HISTORY: * * ? Steve Wilhite, 1-Dec-85 * - massive cleanup on code. */ module search; import core.stdc.stdio; import core.stdc.ctype; import std.string; import std.ascii; import std.uni; import ed; import line; import display; import window; import main; import buffer; import basic; import terminal; import regexp; enum CASESENSITIVE = true; /* TRUE means case sensitive */ enum WORDPREFIX = 'W' & 0x1F; // prefix to trigger word search int Dnoask_search; /* Returns: * true if word character */ bool isWordChar(char c) { return isalnum(c) || c == '_'; } /* * Search forward. Get a search string from the user, and search, beginning at * ".", for the string. If found, reset the "." to be just after the match * string, and [perhaps] repaint the display. Bound to "C-S". */ int forwsearch(bool f, int n) { if (winSearchPat) { winSearchPat.w_flag |= WFHARD; winSearchPat = null; } int s; if ((s = readpattern("Search: ",pat, true)) != TRUE) return (s); static bool notFound() { mlwrite("Not found"); return FALSE; } string pattern = pat; // pattern to match if (pattern.length == 0) return notFound(); const word = pattern[0] == WORDPREFIX; // ^W means only match words if (word) { pattern = pattern[1 .. $]; if (pattern.length == 0) return notFound(); } if (regExp) // regular expressionp search { LINE* clp = curwp.w_dotp; /* get pointer to current line */ int cbo = curwp.w_doto; /* and offset into that line */ while (!empty(clp, cbo)) { string slice = cast(string)clp.slice(); regExp.search(slice); if (regExp.test(slice, cbo)) { /* found it */ curwp.w_dotp = clp; curwp.w_doto = regExp.pmatch[0].rm_eo; curwp.w_flag |= WFMOVE; curwp.w_flag |= WFHARD; winSearchPat = curwp; return (TRUE); } /* start of next line */ clp = lforw(clp); cbo = 0; } return notFound(); } char p0 = pattern[0]; // first char to match LINE* clp = curwp.w_dotp; /* get pointer to current line */ int cbo = curwp.w_doto; /* and offset into that line */ char lastc; again: while (!empty(clp, cbo)) /* while not end of buffer */ { int c = front(clp, cbo); popFront(clp, cbo); if (!eq(c, p0)) { lastc = cast(char)c; continue; } if (word && lastc != lastc.init && isWordChar(lastc)) continue; lastc = cast(char)c; { LINE* tlp = clp; int tbo = cbo; /* remember where start of pattern */ foreach (pc; pattern[1 .. $]) { if (empty(tlp, tbo)) continue again; c = front(tlp, tbo); popFront(tlp, tbo); lastc = cast(char)c; if (!eq(c, pc)) continue again; } if (word && !empty(tlp, tbo) && isWordChar(cast(char)front(tlp, tbo))) { continue again; } /* We've found it. It starts at clp,cbo and ends before tlp,tbo */ curwp.w_dotp = tlp; curwp.w_doto = tbo; curwp.w_flag |= WFMOVE; curwp.w_flag |= WFHARD; winSearchPat = curwp; return (TRUE); } } return notFound(); } /* * Reverse search. Get a search string from the user, and search, starting at * "." and proceeding toward the front of the buffer. If found "." is left * pointing at the first character of the pattern [the last character that was * matched]. Bound to "C-R". */ int backsearch(bool f, int n) { if (winSearchPat) { winSearchPat.w_flag |= WFHARD; winSearchPat = null; } int s; if ((s = readpattern("Reverse search: ",pat)) != TRUE) return (s); static bool notFound() { mlwrite("Not found"); return FALSE; } bool word; string pattern = pat; // pattern to match if (pattern.length == 0) return notFound(); word = pattern[0] == WORDPREFIX; // ^D means only match words if (word) { pattern = pattern[1 .. $]; if (pattern.length == 0) return notFound(); } immutable(char)* epp = &pattern[$ - 1]; LINE* clp = curwp.w_dotp; int cbo = curwp.w_doto; again: for (;;) { if (atFront(clp, cbo)) return notFound(); if (word && !empty(clp, cbo) && isWordChar(cast(char)front(clp, cbo))) { popBack(clp, cbo); continue; } popBack(clp, cbo); int c = front(clp, cbo); if (eq(c, *epp)) { LINE* tlp = clp; int tbo = cbo; auto pp = epp; while (pp != &pattern[0]) { if (atFront(tlp, tbo)) continue again; popBack(tlp, tbo); c = front(tlp, tbo); if (!eq(c, *--pp)) continue again; } if (word && !atFront(tlp, tbo) && isWordChar(cast(char)peekBack(tlp, tbo))) { continue again; } curwp.w_dotp = tlp; curwp.w_doto = tbo; curwp.w_flag |= WFMOVE; curwp.w_flag |= WFHARD; winSearchPat = curwp; return (TRUE); } } assert(0); } /* * Compare two characters. The "bc" comes from the buffer. It has it's case * folded out. The "pc" is from the pattern. */ bool eq(int bc, int pc) { if (CASESENSITIVE) return bc == pc; if (bc>='a' && bc<='z') bc -= 0x20; if (pc>='a' && pc<='z') pc -= 0x20; return (bc == pc); } /********************************* * Replace occurrences of pat with withpat. */ int replacestring(bool f, int n) { return replace(FALSE); } /******************************** */ int queryreplacestring(bool f, int n) { return replace(TRUE); } /************************* * Do the replacements. * Input: * query if TRUE then it's a query-search-replace */ private int replace(bool query) { if (winSearchPat) { winSearchPat.w_flag |= WFHARD; winSearchPat = null; } int s; if ((s = readpattern("Replace: ", pat, true)) != TRUE) return (s); /* must have search pattern */ static bool notFound() { mlwrite("Not found"); return FALSE; } bool word; string pattern = pat; // pattern to match if (pattern.length == 0) return notFound(); word = pattern[0] == WORDPREFIX; // ^D means only match words if (word) { pattern = pattern[1 .. $]; if (pattern.length == 0) return notFound(); } string withpat; readpattern ("With: ", withpat); /* replacement pattern can be null */ int retval = TRUE; int numreplacements = 0; LINE* dotpsave = curwp.w_dotp; int dotosave = curwp.w_doto; /* save original position */ curwp.w_flag |= WFHARD; // repaint window with matches winSearchPat = curwp; update(); auto p0 = pattern[0]; char lastc; enum Action { Skip, ChangeRest, Change, ChangeStop, Abort } auto action = query ? Action.Change : Action.ChangeRest; LINE* clp = curwp.w_dotp; /* get pointer to current line */ int cbo = curwp.w_doto; /* and offset into that line */ Action getAction() { /* If query, get user input about this */ if (action == Action.ChangeRest) return action; curwp.w_dotp= clp; curwp.w_doto = cbo; backchar(FALSE,1); mlwrite("' ' change 'n' continue '!' change rest '.' change and stop ^G abort"); curwp.w_flag |= WFMOVE; while (1) { update(); switch (getkey()) { case 'n': /* don't change, but continue */ return Action.Skip; /*case 'R':*/ /* enter recursive edit */ case '!': /* change rest w/o asking */ return Action.ChangeRest; case ' ': /* change and continue to next */ return Action.Change; case '.': /* change and stop */ return Action.ChangeStop; case 'G' & 0x1F: /* abort */ return Action.Abort; default: /* illegal command */ term.t_beep(); break; } } } again: while (!empty(clp, cbo)) /* while not end of buffer */ { int i; LINE* tlp = clp; int tbo = cbo; /* remember where start of pattern */ if (regExp) { string slice = cast(string)clp.slice(); regExp.search(slice); if (!regExp.test(slice, cbo)) { /* start of next line */ clp = lforw(clp); cbo = 0; continue; } /* found it */ cbo = regExp.pmatch[0].rm_so + 1; // start of match + 1 tlp = clp; tbo = regExp.pmatch[0].rm_eo; // end of match + 1 i = tbo - cbo + 1; } else { /* Compute c, the character at the current position */ int c = front(clp, cbo); popFront(clp, cbo); if (!eq(c, p0)) { lastc = cast(char)c; continue; } if (word && lastc != lastc.init && isWordChar(lastc)) continue; lastc = cast(char)c; tlp = clp; tbo = cbo; /* remember start of pattern */ i = 1; foreach (pc; pattern[1 .. $]) { if (empty(tlp, tbo)) continue again; c = front(tlp, tbo); popFront(tlp, tbo); lastc = cast(char)c; if (!eq(c, pc)) continue again; i++; } if (word && !empty(tlp, tbo) && isWordChar(cast(char)front(tlp, tbo))) continue; } /* We've found it. It starts before clp,cbo and ends */ /* before tlp,tbo */ /* Query user for decision */ action = getAction(); final switch (action) { case Action.Skip: continue again; case Action.Abort: goto abortreplace; case Action.ChangeRest: case Action.Change: case Action.ChangeStop: break; } /* Delete the pattern by setting the current position to */ /* the start of the pattern, and deleting 'i' characters */ curwp.w_flag |= WFHARD; curwp.w_dotp= clp; curwp.w_doto = cbo; if (backchar(FALSE,1) == FALSE || line_delete(i,FALSE) == FALSE) goto L1; /* 'Yank' the replacement pattern back in at dot (also */ /* moving cursor past end of replacement pattern to prevent */ /* recursive replaces). */ foreach (wc; withpat) if (line_insert(1, wc) == FALSE) { goto L1; } /* Take care of case where line_insert() reallocated the line */ if (dotpsave == clp) dotpsave = curwp.w_dotp; clp = curwp.w_dotp; cbo = curwp.w_doto; /* continue from end of with text */ numreplacements++; if (action == Action.ChangeStop) break; } abortreplace: curwp.w_dotp = dotpsave; curwp.w_doto = dotosave; /* back to original position */ curwp.w_flag |= WFMOVE; mlwrite("%d replacements done", numreplacements); return retval; L1: if (dotpsave == clp) dotpsave = curwp.w_dotp; retval = FALSE; goto abortreplace; } /* * Read a pattern. Stash it in the external variable "pat". The "pat" is not * updated if the user types in an empty line. If the user typed an empty line, * and there is no old pattern, it is an error. Display the old pattern, in the * style of Jeff Lomicka. There is some do-it-yourself control expansion. * Params: * prompt = text prompt for user input * pat = previous value, updated to new value * regExp = previous value of RegExp * acceptRegExp = true if accepting regular expressions * Returns: * TRUE for success, FALSE for error */ private int readpattern(string prompt, ref string pat, bool acceptRegExp = false) { if( Dnoask_search ) return( pat.length != 0 ); auto tpat = pat; auto s = mlreply(prompt, pat, tpat); if (s == TRUE) /* Specified */ { // Replace regExp if the new pattern is different from the old if (acceptRegExp && pat != tpat) { if (regExp) { regExp.destroy(); regExp = null; } if (tpat.length && tpat[0] == 0x14) // ^T regExp = new RegExp(tpat[1 .. tpat.length], null); } pat = tpat; // set new pattern } else if (s == FALSE && pat.length != 0) /* CR, but old one */ s = TRUE; return (s); } /********************************* * Examine line at '.'. * Returns: * HASH_xxx * 0 anything else */ enum { HASH_IF = 1, HASH_ELIF = 2, HASH_ELSE = 3, HASH_ENDIF = 4, } static int ifhash(LINE* clp) { int len; int i; static string[] hash = ["if","elif","else","endif"]; len = cast(int)clp.l_text.length; if (len < 3 || lgetc(clp,0) != '#') goto ret0; for (i = 1; ; i++) { if (i >= len) goto ret0; if (!isSpace(clp.l_text[i])) break; } for (int h = 0; h < hash.length; h++) if (len - i >= hash[h].length && clp.l_text[i .. i + hash[h].length] == hash[h]) return h + 1; ret0: return 0; } /********************************* * Search for the next occurence of the character at '.'. * If character is a (){}[]<>, search for matching bracket. * If '.' is on #if, #elif, or #else search for next #elif, #else or #endif. * If '.' is on #endif, search backwards for corresponding #if. */ int search_paren(bool f, int n) { LINE* clp; int cbo; int len; int i; char chinc,chdec,ch; int count; int forward; int h; static char[2][] bracket = [['(',')'],['<','>'],['[',']'],['{','}']]; clp = curwp.w_dotp; /* get pointer to current line */ cbo = curwp.w_doto; /* and offset into that line */ count = 0; len = llength(clp); if (cbo >= len) chinc = '\n'; else chinc = lgetc(clp,cbo); if (cbo == 0 && (h = ifhash(clp)) != 0) { forward = h != HASH_ENDIF; } else { forward = TRUE; /* forward */ h = 0; chdec = chinc; for (i = 0; i < bracket.length; i++) if (bracket[i][0] == chinc) { chdec = bracket[i][1]; break; } for (i = 0; i < bracket.length; i++) if (bracket[i][1] == chinc) { chdec = bracket[i][0]; forward = FALSE; /* search backwards */ break; } } while (1) /* while not end of buffer */ { if (forward) { if (h || cbo >= len) { clp = lforw(clp); if (clp == curbp.b_linep) /* if end of buffer */ break; len = llength(clp); cbo = 0; } else cbo++; } else /* backward */ { if (h || cbo == 0) { clp = lback(clp); if (clp == curbp.b_linep) break; len = llength(clp); cbo = len; } else --cbo; } if (h) { int h2; cbo = 0; h2 = ifhash(clp); if (h2) { if (h == HASH_ENDIF) { if (h2 == HASH_ENDIF) count++; else if (h2 == HASH_IF) { if (count-- == 0) goto found; } } else { if (h2 == HASH_IF) count++; else { if (count == 0) goto found; if (h2 == HASH_ENDIF) count--; } } } } else { ch = (cbo < len) ? lgetc(clp,cbo) : '\n'; if (eq(ch,chdec)) { if (count-- == 0) { /* We've found it */ found: curwp.w_dotp = clp; curwp.w_doto = cbo; curwp.w_flag |= WFMOVE; return (TRUE); } } else if (eq(ch,chinc)) count++; } } mlwrite("Not found"); return (FALSE); } /**************************************************** * Determine if index is in a search pattern or not. */ bool inSearch(const(char)[] s, size_t index) { //printf("inSearch %p %d\n", regExp, cast(int)pat.length); if (curwp != winSearchPat || pat.length == 0) return false; if (regExp) { regExp.search(cast(string)s); while (regExp.test(cast(string)s, regExp.pmatch[0].rm_eo)) { if (regExp.pmatch[0].rm_so <= index && regExp.pmatch[0].rm_eo > index) return true; } return false; } string pattern = pat; bool word = pattern[0] == WORDPREFIX; if (word) { pattern = pattern[1 .. $]; if (pattern.length == 0) return false; } char p0 = pattern[0]; // first char to match char lastc; again: for (int i = 0; i <= s.length;) { char front(int i) { return i < s.length ? s[i] : '\n'; } if (index < i) break; char c = front(i); ++i; if (!eq(c, p0)) { lastc = cast(char)c; continue; } if (word && lastc != lastc.init && isWordChar(lastc)) continue; lastc = c; { foreach (pc; pattern[1 .. $]) { if (i > s.length) break again; char c2 = front(i); lastc = c2; if (!eq(c2, pc)) continue again; ++i; } if (word && i <= s.length && isWordChar(front(i))) { continue again; } if (index < i) return true; } } return false; }
D
/* * types.d * Objective-D runtime * * Copyright (c) 2010 Justin Spahr-Summers <Justin.SpahrSummers@gmail.com> * * 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 objd.types; import objd.hash; import objd.runtime; import std.contracts; import std.c.stdlib; import std.stdio; import std.string; import std.traits; import std.typetuple; /* Selectors */ alias hash_value SEL; // a set indexed by unique selectors struct SelectorSet(V, uint maxLoad = 70) { public: static if (is(V == class) || is(V == interface) || isArray!V || isPointer!V) alias V value_type; else alias V* value_type; this (size_t startingCapacity) in { assert(startingCapacity > 0); } body { entries = new Entry[1]; capacity = startingCapacity; } @property final size_t capacity () const { return entries.length; } @property final size_t capacity (size_t newCapacity) { size_t currentCapacity = entries.length; if (newCapacity <= currentCapacity) return currentCapacity; if (currentCapacity == 0) currentCapacity = 1; do currentCapacity <<= 1; while (currentCapacity < newCapacity); debug { //writefln("resizing to %s", currentCapacity); } auto oldEntries = entries; auto oldMask = mask; entries = new Entry[currentCapacity]; mask = currentCapacity - 1; auto numLeft = m_length; if (numLeft) { foreach (ref Entry entry; oldEntries) { if (entry.selector) { add(entry.selector, entry.value); if (--numLeft == 0) break; } } } return currentCapacity; } @property final size_t length () const { return m_length; } final bool add (immutable SEL selector, lazy V value, bool overwrite = false) in { assert(selector != 0); } out (result) { assert(result || !overwrite, "if overwriting a key, add() should always be a success"); } body { expandIfNeeded(); auto slot = selector & mask; auto startingSlot = slot; while (entries[slot].selector) { debug { //writefln("slot %s contains selector %s", slot, entries[slot].selector); } if (entries[slot].selector == selector) { if (overwrite) { entries[slot] = Entry(selector, value); return true; } else return false; } slot = (slot + 1) & mask; debug { //writefln("new slot = %s, length = %s", slot, entries.length); assert(slot != startingSlot, "set is full even after expansion"); } } debug { //writefln("previous selector in slot %s: %s", slot, entries[slot].selector); } entries[slot] = Entry(selector, value); debug { //writefln("put selector %s in bucket %s", selector, slot); } ++m_length; return true; } final void clear () { enum len = entries.length; for (size_t i = 0;i < len;++i) entries[i] = Entry(0); m_length = 0; } final const(value_type) get (immutable SEL selector) const in { assert(selector != 0); } body { if (!m_length) return null; auto startingSlot = selector & mask; auto slot = startingSlot; while (entries[slot].selector) { if (entries[slot].selector == selector) { static if (isPointer!value_type) return &entries[slot].value; else return entries[slot].value; } slot = (slot + 1) & mask; if (slot == startingSlot) break; } return null; } final value_type get (immutable SEL selector) in { assert(selector != 0); } body { if (!m_length) return null; auto startingSlot = selector & mask; auto slot = startingSlot; while (entries[slot].selector) { if (entries[slot].selector == selector) { static if (isPointer!value_type) return &entries[slot].value; else return entries[slot].value; } slot = (slot + 1) & mask; if (slot == startingSlot) break; } return null; } final void remove (immutable SEL selector) in { assert(selector != 0); } body { if (!m_length) return; auto startingSlot = selector & mask; auto slot = startingSlot; while (entries[slot].selector) { if (entries[slot].selector == selector) break; slot = (slot + 1) & mask; if (slot == startingSlot) return; } auto foundInSlot = slot; auto next = (slot + 1) & mask; while (next != foundInSlot && entries[next].selector) { if ((entries[next].selector & mask) == foundInSlot) { entries[slot] = entries[next]; slot = next; } next = (slot + 1) & mask; } entries[slot] = Entry(); } final int opApply (int delegate(ref immutable SEL, ref V value) dg) { int result = 0; for (size_t i = 0;i < entries.length;++i) { if (entries[i].selector) { result = dg(entries[i].selector, entries[i].value); if (result) break; } } return result; } final int opApply (int delegate(ref immutable SEL, ref const V value) dg) const { int result = 0; for (size_t i = 0;i < entries.length;++i) { if (entries[i].selector) { result = dg(entries[i].selector, entries[i].value); if (result) break; } } return result; } protected: static struct Entry { immutable SEL selector; V value; this (immutable SEL selector, V value = V.init) { this.selector = selector; this.value = value; } } Entry[] entries; size_t m_length; SEL mask; final void expandIfNeeded () { enum newLen = m_length + 1; if (newLen >= entries.length * maxLoad / 100) capacity = newLen + newLen * (100 - maxLoad) / 100; } } /* Messaging */ alias int function(id, SEL, ...) IMP; /* Basic OO types */ class id { public: Class isa; override string toString () const { return isa.name; } } enum id nil = null; /* Traits templates */ package bool TypeConvertibleToTypeInfo(T)(immutable TypeInfo info) { foreach (type; TypeAndImplicitConversions!T) { debug { writefln("checking typeinfo %s against implicit type %s from type %s", cast(TypeInfo)info, typeid(type), typeid(T)); } if (info == cast(immutable)typeid(type)) return true; } return false; } package bool TypeInfoConvertibleToType(T)(immutable TypeInfo info) { alias Unqual!(OriginalType!T) U; if (typeid(U) == info) return true; static if (is(U == class)) { auto classinfo = cast(immutable TypeInfo_Class)info; if (classinfo is null) return false; return ClassInfoInheritsFromClassInfo(classinfo, cast(immutable TypeInfo_Class)(typeid(U))); } else if (is(U == interface)) { auto ifaceinfo = cast(immutable TypeInfo_Interface)info; auto cmpinfo = cast(immutable TypeInfo_Interface)(typeid(U)); if (ifaceinfo is null) { auto classinfo = cast(immutable TypeInfo_Class)info; if (classinfo is null) return false; return ClassInfoConformsToInterfaceInfo(classinfo, cmpinfo.info); } else { return InterfaceInfoConformsToInterfaceInfo(ifaceinfo.info, cmpinfo.info); } } else return false; } package template TypeAndImplicitConversions(T) { alias TypeTuple!( Unqual!(OriginalType!T), DeepImplicitConversionTargets!(Unqual!(OriginalType!T)) ) TypeAndImplicitConversions; } package template DeepImplicitConversionTargets(T) // if (!isArray(T)) { alias ImplicitConversionTargets!(T) DeepImplicitConversionTargets; } // TODO: implicit conversion of immutable(char)[] to const(char)[] and similar //package template DeepImplicitConversionTargets(T) // if (isArray(T)) //{ // alias TypeTuple!(ImplicitConversionTargets!(T), ArrayUnqual!(typeof(T[0]), 1)) DeepImplicitConversionTargets; //} // //package template ArrayUnqual(T) // if (isArray(T)) //{ // //} package bool ClassInfoInheritsFromClassInfo (immutable TypeInfo_Class info, immutable TypeInfo_Class cmpinfo) { if (info.base is null) return false; else if (info.base == cmpinfo) return true; else return ClassInfoInheritsFromClassInfo(info.base, cmpinfo); } package bool ClassInfoConformsToInterfaceInfo (immutable TypeInfo_Class info, immutable TypeInfo_Class cmpinfo) { foreach (ref iface; info.interfaces) { if (cmpinfo == iface.classinfo) return true; else return InterfaceInfoConformsToInterfaceInfo(iface.classinfo, cmpinfo); } if (info.base is null) return false; else if (info.base == cmpinfo) return true; else return ClassInfoConformsToInterfaceInfo(info.base, cmpinfo); } package bool InterfaceInfoConformsToInterfaceInfo (immutable TypeInfo_Class info, immutable TypeInfo_Class cmpinfo) { foreach (ref iface; info.interfaces) { if (cmpinfo == iface.classinfo) return true; else return InterfaceInfoConformsToInterfaceInfo(iface.classinfo, cmpinfo); } return false; }
D
instance PIR_1352_Addon_AlligatorJack(Npc_Default) { name[0] = "Alligator Jack"; guild = GIL_PIR; id = 1352; voice = 12; flags = 0; npcType = npctype_main; aivar[AIV_FollowDist] = 800; B_SetAttributesToChapter(self,4); level = 1; fight_tactic = FAI_HUMAN_MASTER; EquipItem(self,ItMw_Piratensaebel); CreateInvItems(self,ItPo_Health_02,4); B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_B_CorAngar,BodyTex_B,ITAR_PIR_M_Addon); Mdl_SetModelFatness(self,1.5); Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,90); daily_routine = Rtn_PreStart_1352; }; func void Rtn_PreStart_1352() { TA_Stand_Eating(5,0,20,0,"ADW_ENTRANCE_2_PIRATECAMP_01"); TA_Stand_Eating(20,0,5,0,"ADW_ENTRANCE_2_PIRATECAMP_01"); }; func void Rtn_Start_1352() { TA_Sleep(23,0,6,0,"ADW_PIRATECAMP_AJ_04"); TA_Cook_Pan(6,0,8,30,"AD_PIRATECAMP_AJ_03"); TA_Sit_Campfire(8,30,12,0,"AD_PIRATECAMP_AJ_03"); TA_Stand_ArmsCrossed(12,30,19,0,"ADW_PIRATECAMP_WAY_07"); TA_Cook_Pan(19,0,20,30,"AD_PIRATECAMP_AJ_03"); TA_Sit_Campfire(20,30,23,0,"AD_PIRATECAMP_AJ_03"); }; func void Rtn_Hunt1_1352() { TA_Guide_Player(1,0,13,0,"ADW_PIRATECAMP_WAY_16"); TA_Guide_Player(13,0,1,0,"ADW_PIRATECAMP_WAY_16"); }; func void Rtn_Hunt2_1352() { TA_Guide_Player(1,0,13,0,"ADW_PIRATECAMP_WATERHOLE_07"); TA_Guide_Player(13,0,1,0,"ADW_PIRATECAMP_WATERHOLE_07"); }; func void Rtn_Hunt3_1352() { TA_Guide_Player(1,0,13,0,"ADW_PIRATECAMP_WAY_16"); TA_Guide_Player(13,0,1,0,"ADW_PIRATECAMP_WAY_16"); }; func void Rtn_Hunt4_1352() { TA_Guide_Player(1,0,13,0,"ADW_CANYON_TELEPORT_PATH_06"); TA_Guide_Player(13,0,1,0,"ADW_CANYON_TELEPORT_PATH_06"); }; func void Rtn_PIRATECAMP_1352() { TA_Guide_Player(1,0,13,0,"ADW_PIRATECAMP_WAY_07"); TA_Guide_Player(13,0,1,0,"ADW_PIRATECAMP_WAY_07"); }; func void Rtn_GregIsBack_1352() { TA_Sleep(3,0,6,0,"ADW_PIRATECAMP_AJ_04"); TA_Cook_Pan(6,0,7,0,"AD_PIRATECAMP_AJ_03"); TA_Stand_ArmsCrossed(7,0,10,0,"ADW_PIRATECAMP_WAY_07"); TA_Sit_Campfire(10,0,11,0,"AD_PIRATECAMP_AJ_03"); TA_Stand_ArmsCrossed(11,30,16,0,"ADW_PIRATECAMP_WAY_07"); TA_Cook_Pan(16,0,17,0,"AD_PIRATECAMP_AJ_03"); TA_Stand_ArmsCrossed(17,0,20,0,"ADW_PIRATECAMP_WAY_07"); TA_Sit_Campfire(20,0,21,0,"AD_PIRATECAMP_AJ_03"); TA_Stand_ArmsCrossed(21,0,0,0,"ADW_PIRATECAMP_WAY_07"); TA_Sit_Campfire(0,0,1,0,"AD_PIRATECAMP_AJ_03"); TA_Stand_ArmsCrossed(1,0,3,0,"ADW_PIRATECAMP_WAY_07"); }; func void Rtn_Follow_1352() { TA_Follow_Player(5,0,20,0,"ADW_CANYON_TELEPORT_PATH_06"); TA_Follow_Player(20,0,5,0,"ADW_CANYON_TELEPORT_PATH_06"); }; func void rtn_espionage1_1352() { TA_Guide_Player(1,0,13,0,"ADW_CANYON_PATH_TO_BANDITS_61"); TA_Guide_Player(13,0,1,0,"ADW_CANYON_PATH_TO_BANDITS_61"); };
D
/Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/Objects-normal/x86_64/Cell.o : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/ColumnReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/XLSXFile.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Path.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Workbook.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Cell.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellQueries.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Styles.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/SharedStrings.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Relationships.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Comments.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Worksheet.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/Compression.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/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Modules/ZIPFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Modules/XMLCoder.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/CoreXLSX/CoreXLSX-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/ZIPFoundation/ZIPFoundation-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Headers/XMLCoder-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/unextended-module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/ZIPFoundation.build/module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/Objects-normal/x86_64/Cell~partial.swiftmodule : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/ColumnReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/XLSXFile.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Path.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Workbook.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Cell.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellQueries.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Styles.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/SharedStrings.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Relationships.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Comments.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Worksheet.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/Compression.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/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Modules/ZIPFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Modules/XMLCoder.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/CoreXLSX/CoreXLSX-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/ZIPFoundation/ZIPFoundation-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Headers/XMLCoder-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/unextended-module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/ZIPFoundation.build/module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/Objects-normal/x86_64/Cell~partial.swiftdoc : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/ColumnReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/XLSXFile.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Path.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Workbook.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Cell.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellQueries.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Styles.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/SharedStrings.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Relationships.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Comments.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Worksheet.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/Compression.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/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Modules/ZIPFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Modules/XMLCoder.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/CoreXLSX/CoreXLSX-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/ZIPFoundation/ZIPFoundation-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Headers/XMLCoder-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/unextended-module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/ZIPFoundation.build/module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/Objects-normal/x86_64/Cell~partial.swiftsourceinfo : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/ColumnReference.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/XLSXFile.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Path.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Workbook.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Cell.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/CellQueries.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Styles.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/SharedStrings.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Relationships.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Comments.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/CoreXLSX/Sources/CoreXLSX/Worksheet/Worksheet.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/Compression.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/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Modules/ZIPFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Modules/XMLCoder.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/CoreXLSX/CoreXLSX-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/ZIPFoundation/ZIPFoundation-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/ZIPFoundation/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Debug-iphonesimulator/XMLCoder/XMLCoder.framework/Headers/XMLCoder-Swift.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/CoreXLSX.build/unextended-module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/ZIPFoundation.build/module.modulemap /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.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.6.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module logic.Bullet; import std.math; import d2d; import logic.Entity; import logic.Event; import logic.Game; import graphics.Constants; /** * A bullet is a travelling entity that damages other entities */ class Bullet : Entity { private Entity immune; ///Which entity is immune to the bullet immutable speed = 30.0; ///How fast the bullet will travel immutable damage = 10; ///How much damage the bullet does /** * Creates a bullet */ this(Game container, dVector startLocation, dVector direction, Entity immune) { super(container); this.immune = immune; this._appearance = Images.Bullet; this._velocity = direction; this._velocity.magnitude = this.speed; this._rotation = atan2(direction.y, direction.x) + PI / 2; this._location = new dRectangle(startLocation.x, startLocation.y, 20, 20); this.health = 1; this.sendEvent(Event("BULLET FIRED", "Bullet fired by " ~ immune.toString())); } /** * Bullets don't do anything special every tick */ override void tickAction() { } /** * Bullets just become invalidated once they are out of bounds */ override void outOfBoundsAction() { this._isValid = false; } /** * When a bullet collides with another entity, it damages the other entity and then becomes invalid */ override void onCollide(Entity other) { if (other == this.immune || (cast(Bullet) other && (cast(Bullet) other).immune == this.immune)) { return; } other.health -= this.damage; if (other.health < 0) { this.game.difficulty++; } this._isValid = false; } }
D
// Vicfred // https://atcoder.jp/contests/abc165/tasks/abc165_b // simulation import std.conv; import std.stdio; import std.string; void main() { long x = readln.chomp.to!long; long current = 100; long answer = 0; while(current < x) { current += current/100; answer += 1; } answer.writeln; }
D
void main() { import std.stdio, std.string, std.conv, std.algorithm; auto args = readln.split.to!(string[]); const long mod = 10 ^^ 9 + 9; long[][] solve(string n) { auto dp = new long[][][](n.length + 1, 2, n.length * 10); dp[0][0][0] = 1; foreach (i; 0 .. n.length) { foreach (l; 0 .. 2) { foreach (s; 0 .. (n.length * 10)) { auto d = l ? 9 : n[i] - '0'; for (int digit = 0; digit <= d; digit++) { auto less = l || (digit < d); auto sum = s + digit; if (sum < n.length * 10) { (dp[i + 1][less][sum] += dp[i][l][s]) %= mod; } } } } } return dp[n.length]; } auto dp1 = solve(args[0]), dp2 = solve(args[1]); long tot = 0; foreach (i; 0 .. 2) { foreach (j; 0 .. 2) { foreach (s; 1 .. min(dp1[i].length, dp2[j].length)) { (tot += dp1[i][s] * dp2[j][s] % mod) %= mod; } } } writeln(tot); } 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
class ExistentialError : Error { public this() { super("Object does not exist anymore."); } }
D
/** * Module for texture sprite handling. * * Authors: * Jacob Jensen * License: * https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE */ module poison.ui.sprite; import dsfml.graphics : Sprite, Texture; import dsfml.system : Vector2f; import poison.core : Point; /// An extension class to the sprite implementation of Dsfml. class TextureSprite : Sprite { private: /// The position of the sprite. Point _position; public: /** * Creates a new texture sprite. * Params: * texture = The texture of the sprite. */ this(Texture texture) { super(texture); } @property { /// Gets the position of the sprite. Point position() { return _position; } /// Sets the position of the sprite. void position(Point newPosition) { _position = newPosition; super.position = Vector2f(_position.x, _position.y); } } }
D
# FIXED PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/profiles/roles/gapbondmgr.c PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/bcomdef.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/comdef.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/hal_types.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/../_common/cc26xx/_hal_types.h PROFILES/gapbondmgr.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdint.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/inc/hal_defs.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal.h PROFILES/gapbondmgr.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/limits.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal_memory.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal_timers.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/icall/src/inc/icall.h PROFILES/gapbondmgr.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdbool.h PROFILES/gapbondmgr.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h PROFILES/gapbondmgr.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/inc/hal_assert.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/hal_types.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal_snv.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/hal_types.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/l2cap.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/sm.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/hci.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/controller/cc26xx/inc/ll.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/linkdb.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gatt.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/att.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gatt_uuid.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gattservapp.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gapgattserver.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/profiles/roles/gapbondmgr.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gap.h C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/profiles/roles/gapbondmgr.c: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/bcomdef.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/comdef.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/../_common/cc26xx/_hal_types.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdint.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/inc/hal_defs.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/limits.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal_memory.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal_timers.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/icall/src/inc/icall.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdbool.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/inc/hal_assert.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/osal/src/inc/osal_snv.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/hal/src/target/_common/hal_types.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/l2cap.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/sm.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/hci.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/controller/cc26xx/inc/ll.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/linkdb.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gatt.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/att.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gatt_uuid.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gattservapp.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gapgattserver.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/profiles/roles/gapbondmgr.h: C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/blestack/inc/gap.h:
D
# FIXED utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/utils/flash_pb.c utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdbool.h utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdint.h utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/stdint.h utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/cdefs.h utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/_types.h utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/machine/_types.h utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/machine/_stdint.h utils/flash_pb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/_stdint.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_flash.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_types.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_sysctl.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/debug.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/flash.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/rom.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/rom_map.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/sysctl.h utils/flash_pb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/utils/flash_pb.h C:/ti/TivaWare_C_Series-2.1.4.178/utils/flash_pb.c: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdbool.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdint.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/stdint.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/cdefs.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/_types.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/machine/_types.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/machine/_stdint.h: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/_stdint.h: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_flash.h: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_types.h: C:/ti/TivaWare_C_Series-2.1.4.178/inc/hw_sysctl.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/debug.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/flash.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/rom.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/rom_map.h: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/sysctl.h: C:/ti/TivaWare_C_Series-2.1.4.178/utils/flash_pb.h:
D
public import Player; import std.algorithm; import std.stdio; import std.conv:to; import std.file; class dummyPlayer:Player { this(string name) { super("dummyPlayer: "~name); } void printHand() {writeln(Hand);} override void makeMove () { writeln("Well Player "~Name~" what do you want to do ?"); //if(input=="showHand") showHand(); } override void notify() { writeln("Player "~Name~" was notified"); } }
D
// Copyright Michael D. Parker 2018. // 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 bindbc.opengl.bind.gl13; import bindbc.loader : SharedLib; import bindbc.opengl.config, bindbc.opengl.context; import bindbc.opengl.bind.types; public import bindbc.opengl.bind.gl12; version(GL_AllowDeprecated) public import bindbc.opengl.bind.dep.dep13; enum : uint { GL_TEXTURE0 = 0x84C0, GL_TEXTURE1 = 0x84C1, GL_TEXTURE2 = 0x84C2, GL_TEXTURE3 = 0x84C3, GL_TEXTURE4 = 0x84C4, GL_TEXTURE5 = 0x84C5, GL_TEXTURE6 = 0x84C6, GL_TEXTURE7 = 0x84C7, GL_TEXTURE8 = 0x84C8, GL_TEXTURE9 = 0x84C9, GL_TEXTURE10 = 0x84CA, GL_TEXTURE11 = 0x84CB, GL_TEXTURE12 = 0x84CC, GL_TEXTURE13 = 0x84CD, GL_TEXTURE14 = 0x84CE, GL_TEXTURE15 = 0x84CF, GL_TEXTURE16 = 0x84D0, GL_TEXTURE17 = 0x84D1, GL_TEXTURE18 = 0x84D2, GL_TEXTURE19 = 0x84D3, GL_TEXTURE20 = 0x84D4, GL_TEXTURE21 = 0x84D5, GL_TEXTURE22 = 0x84D6, GL_TEXTURE23 = 0x84D7, GL_TEXTURE24 = 0x84D8, GL_TEXTURE25 = 0x84D9, GL_TEXTURE26 = 0x84DA, GL_TEXTURE27 = 0x84DB, GL_TEXTURE28 = 0x84DC, GL_TEXTURE29 = 0x84DD, GL_TEXTURE30 = 0x84DE, GL_TEXTURE31 = 0x84DF, GL_ACTIVE_TEXTURE = 0x84E0, GL_MULTISAMPLE = 0x809D, GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E, GL_SAMPLE_ALPHA_TO_ONE = 0x809F, GL_SAMPLE_COVERAGE = 0x80A0, GL_SAMPLE_BUFFERS = 0x80A8, GL_SAMPLES = 0x80A9, GL_SAMPLE_COVERAGE_VALUE = 0x80AA, GL_SAMPLE_COVERAGE_INVERT = 0x80AB, GL_TEXTURE_CUBE_MAP = 0x8513, GL_TEXTURE_BINDING_CUBE_MAP = 0x8514, GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515, GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516, GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518, GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A, GL_PROXY_TEXTURE_CUBE_MAP = 0x851B, GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C, GL_COMPRESSED_RGB = 0x84ED, GL_COMPRESSED_RGBA = 0x84EE, GL_TEXTURE_COMPRESSION_HINT = 0x84EF, GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0, GL_TEXTURE_COMPRESSED = 0x86A1, GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2, GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3, GL_CLAMP_TO_BORDER = 0x812D, } extern(System) @nogc nothrow { alias pglActiveTexture = void function(GLenum); alias pglSampleCoverage = void function(GLclampf,GLboolean); alias pglCompressedTexImage3D = void function(GLenum,GLint,GLenum,GLsizei,GLsizei,GLsizei,GLint,GLsizei,const(GLvoid)*); alias pglCompressedTexImage2D = void function(GLenum,GLint,GLenum,GLsizei,GLsizei,GLint,GLsizei,const(GLvoid)*); alias pglCompressedTexImage1D = void function(GLenum,GLint,GLenum,GLsizei,GLint,GLsizei,const(GLvoid)*); alias pglCompressedTexSubImage3D = void function(GLenum,GLint,GLint,GLint,GLint,GLsizei,GLsizei,GLsizei,GLenum,GLsizei,const(GLvoid)*); alias pglCompressedTexSubImage2D = void function(GLenum,GLint,GLint,GLint,GLsizei,GLsizei,GLenum,GLsizei,const(GLvoid)*); alias pglCompressedTexSubImage1D = void function(GLenum,GLint,GLint,GLsizei,GLenum,GLsizei,const(GLvoid)*); alias pglGetCompressedTexImage = void function(GLenum,GLint,GLvoid*); } extern(C++) __gshared { pglActiveTexture glActiveTexture; pglSampleCoverage glSampleCoverage; pglCompressedTexImage3D glCompressedTexImage3D; pglCompressedTexImage2D glCompressedTexImage2D; pglCompressedTexImage1D glCompressedTexImage1D; pglCompressedTexSubImage3D glCompressedTexSubImage3D; pglCompressedTexSubImage2D glCompressedTexSubImage2D; pglCompressedTexSubImage1D glCompressedTexSubImage1D; pglGetCompressedTexImage glGetCompressedTexImage; } package(bindbc.opengl) @nogc nothrow bool loadGL13(SharedLib lib, GLSupport contextVersion) { if(contextVersion > GLSupport.gl12) { lib.bindGLSymbol(cast(void**)&glActiveTexture, "glActiveTexture"); lib.bindGLSymbol(cast(void**)&glSampleCoverage, "glSampleCoverage"); lib.bindGLSymbol(cast(void**)&glCompressedTexImage3D, "glCompressedTexImage3D"); lib.bindGLSymbol(cast(void**)&glCompressedTexImage2D, "glCompressedTexImage2D"); lib.bindGLSymbol(cast(void**)&glCompressedTexImage1D, "glCompressedTexImage1D"); lib.bindGLSymbol(cast(void**)&glCompressedTexSubImage3D, "glCompressedTexSubImage3D"); lib.bindGLSymbol(cast(void**)&glCompressedTexSubImage2D, "glCompressedTexSubImage2D"); lib.bindGLSymbol(cast(void**)&glCompressedTexSubImage1D, "glCompressedTexSubImage1D"); lib.bindGLSymbol(cast(void**)&glGetCompressedTexImage, "glGetCompressedTexImage"); if(errorCountGL() == 0) { version(GL_AllowDeprecated) return loadDeprecatedGL13(lib); else return true; } } return false; }
D
/Users/nathaneidelson/Developer/CS51-Demo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoding.o : /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/AFError.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Alamofire.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/MultipartFormData.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Notifications.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ParameterEncoding.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Request.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Response.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ResponseSerialization.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Result.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/SessionDelegate.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/SessionManager.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/TaskDelegate.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Timeline.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Validation.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/ObjectiveC.apinotesc /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/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/nathaneidelson/Developer/CS51-Demo/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/nathaneidelson/Developer/CS51-Demo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/nathaneidelson/Developer/CS51-Demo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoding~partial.swiftmodule : /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/AFError.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Alamofire.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/MultipartFormData.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Notifications.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ParameterEncoding.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Request.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Response.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ResponseSerialization.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Result.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/SessionDelegate.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/SessionManager.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/TaskDelegate.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Timeline.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Validation.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/ObjectiveC.apinotesc /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/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/nathaneidelson/Developer/CS51-Demo/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/nathaneidelson/Developer/CS51-Demo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/nathaneidelson/Developer/CS51-Demo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoding~partial.swiftdoc : /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/AFError.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Alamofire.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/MultipartFormData.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Notifications.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ParameterEncoding.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Request.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Response.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ResponseSerialization.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Result.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/SessionDelegate.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/SessionManager.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/TaskDelegate.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Timeline.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Validation.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/ObjectiveC.apinotesc /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/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/nathaneidelson/Developer/CS51-Demo/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/nathaneidelson/Developer/CS51-Demo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
module grain.dpp.cudnn; import core.stdc.config; import core.stdc.stdarg: va_list; static import core.simd; static import std.conv; struct Int128 { long lower; long upper; } struct UInt128 { ulong lower; ulong upper; } struct __locale_data { int dummy; } alias _Bool = bool; struct dpp { static struct Opaque(int N) { void[N] bytes; } static bool isEmpty(T)() { return T.tupleof.length == 0; } static struct Move(T) { T* ptr; } static auto move(T)(ref T value) { return Move!T(&value); } mixin template EnumD(string name, T, string prefix) if(is(T == enum)) { private static string _memberMixinStr(string member) { import std.conv: text; import std.array: replace; return text(` `, member.replace(prefix, ""), ` = `, T.stringof, `.`, member, `,`); } private static string _enumMixinStr() { import std.array: join; string[] ret; ret ~= "enum " ~ name ~ "{"; static foreach(member; __traits(allMembers, T)) { ret ~= _memberMixinStr(member); } ret ~= "}"; return ret.join("\n"); } mixin(_enumMixinStr()); } } extern(C) { struct dim3 { uint x; uint y; uint z; } struct double4 { double x; double y; double z; double w; } struct double3 { double x; double y; double z; } struct double2 { double x; double y; } struct double1 { double x; } struct ulonglong4 { ulong x; ulong y; ulong z; ulong w; } struct longlong4 { long x; long y; long z; long w; } struct ulonglong3 { ulong x; ulong y; ulong z; } struct longlong3 { long x; long y; long z; } struct ulonglong2 { ulong x; ulong y; } struct longlong2 { long x; long y; } struct ulonglong1 { ulong x; } struct longlong1 { long x; } struct float4 { float x; float y; float z; float w; } struct float3 { float x; float y; float z; } struct float2 { float x; float y; } struct float1 { float x; } struct ulong4 { c_ulong x; c_ulong y; c_ulong z; c_ulong w; } struct long4 { c_long x; c_long y; c_long z; c_long w; } struct ulong3 { c_ulong x; c_ulong y; c_ulong z; } struct long3 { c_long x; c_long y; c_long z; } struct ulong2 { c_ulong x; c_ulong y; } struct long2 { c_long x; c_long y; } struct ulong1 { c_ulong x; } struct long1 { c_long x; } struct uint4 { uint x; uint y; uint z; uint w; } struct int4 { int x; int y; int z; int w; } struct uint3 { uint x; uint y; uint z; } struct int3 { int x; int y; int z; } struct uint2 { uint x; uint y; } struct int2 { int x; int y; } struct uint1 { uint x; } struct int1 { int x; } struct ushort4 { ushort x; ushort y; ushort z; ushort w; } struct short4 { short x; short y; short z; short w; } struct ushort3 { ushort x; ushort y; ushort z; } struct short3 { short x; short y; short z; } struct ushort2 { ushort x; ushort y; } struct short2 { short x; short y; } struct ushort1 { ushort x; } struct short1 { short x; } struct uchar4 { ubyte x; ubyte y; ubyte z; ubyte w; } struct char4 { byte x; byte y; byte z; byte w; } struct uchar3 { ubyte x; ubyte y; ubyte z; } struct char3 { byte x; byte y; byte z; } struct uchar2 { ubyte x; ubyte y; } struct char2 { byte x; byte y; } struct uchar1 { ubyte x; } struct char1 { byte x; } static double4 make_double4(double, double, double, double) @nogc nothrow; static double3 make_double3(double, double, double) @nogc nothrow; static double2 make_double2(double, double) @nogc nothrow; static double1 make_double1(double) @nogc nothrow; static ulonglong4 make_ulonglong4(ulong, ulong, ulong, ulong) @nogc nothrow; static longlong4 make_longlong4(long, long, long, long) @nogc nothrow; static ulonglong3 make_ulonglong3(ulong, ulong, ulong) @nogc nothrow; static longlong3 make_longlong3(long, long, long) @nogc nothrow; static ulonglong2 make_ulonglong2(ulong, ulong) @nogc nothrow; static longlong2 make_longlong2(long, long) @nogc nothrow; static ulonglong1 make_ulonglong1(ulong) @nogc nothrow; static longlong1 make_longlong1(long) @nogc nothrow; static float4 make_float4(float, float, float, float) @nogc nothrow; static float3 make_float3(float, float, float) @nogc nothrow; static float2 make_float2(float, float) @nogc nothrow; static float1 make_float1(float) @nogc nothrow; static ulong4 make_ulong4(c_ulong, c_ulong, c_ulong, c_ulong) @nogc nothrow; static long4 make_long4(c_long, c_long, c_long, c_long) @nogc nothrow; static ulong3 make_ulong3(c_ulong, c_ulong, c_ulong) @nogc nothrow; static long3 make_long3(c_long, c_long, c_long) @nogc nothrow; static ulong2 make_ulong2(c_ulong, c_ulong) @nogc nothrow; static long2 make_long2(c_long, c_long) @nogc nothrow; static ulong1 make_ulong1(c_ulong) @nogc nothrow; static long1 make_long1(c_long) @nogc nothrow; static uint4 make_uint4(uint, uint, uint, uint) @nogc nothrow; static int4 make_int4(int, int, int, int) @nogc nothrow; static uint3 make_uint3(uint, uint, uint) @nogc nothrow; static int3 make_int3(int, int, int) @nogc nothrow; static uint2 make_uint2(uint, uint) @nogc nothrow; static int2 make_int2(int, int) @nogc nothrow; static uint1 make_uint1(uint) @nogc nothrow; static int1 make_int1(int) @nogc nothrow; static ushort4 make_ushort4(ushort, ushort, ushort, ushort) @nogc nothrow; struct max_align_t { long __clang_max_align_nonce1; real __clang_max_align_nonce2; } static short4 make_short4(short, short, short, short) @nogc nothrow; static ushort3 make_ushort3(ushort, ushort, ushort) @nogc nothrow; static short3 make_short3(short, short, short) @nogc nothrow; static ushort2 make_ushort2(ushort, ushort) @nogc nothrow; static short2 make_short2(short, short) @nogc nothrow; static ushort1 make_ushort1(ushort) @nogc nothrow; static short1 make_short1(short) @nogc nothrow; static uchar4 make_uchar4(ubyte, ubyte, ubyte, ubyte) @nogc nothrow; static char4 make_char4(byte, byte, byte, byte) @nogc nothrow; static uchar3 make_uchar3(ubyte, ubyte, ubyte) @nogc nothrow; static char3 make_char3(byte, byte, byte) @nogc nothrow; static uchar2 make_uchar2(ubyte, ubyte) @nogc nothrow; alias ptrdiff_t = c_long; static char2 make_char2(byte, byte) @nogc nothrow; alias size_t = c_ulong; alias wchar_t = int; static uchar1 make_uchar1(ubyte) @nogc nothrow; static char1 make_char1(byte) @nogc nothrow; alias cudaTextureObject_t = ulong; struct cudaTextureDesc { cudaTextureAddressMode[3] addressMode; cudaTextureFilterMode filterMode; cudaTextureReadMode readMode; int sRGB; float[4] borderColor; int normalizedCoords; uint maxAnisotropy; cudaTextureFilterMode mipmapFilterMode; float mipmapLevelBias; float minMipmapLevelClamp; float maxMipmapLevelClamp; } struct textureReference { int normalized; cudaTextureFilterMode filterMode; cudaTextureAddressMode[3] addressMode; cudaChannelFormatDesc channelDesc; int sRGB; uint maxAnisotropy; cudaTextureFilterMode mipmapFilterMode; float mipmapLevelBias; float minMipmapLevelClamp; float maxMipmapLevelClamp; int[15] __cudaReserved; } enum cudaTextureReadMode { cudaReadModeElementType = 0, cudaReadModeNormalizedFloat = 1, } enum cudaReadModeElementType = cudaTextureReadMode.cudaReadModeElementType; enum cudaReadModeNormalizedFloat = cudaTextureReadMode.cudaReadModeNormalizedFloat; enum cudaTextureFilterMode { cudaFilterModePoint = 0, cudaFilterModeLinear = 1, } enum cudaFilterModePoint = cudaTextureFilterMode.cudaFilterModePoint; enum cudaFilterModeLinear = cudaTextureFilterMode.cudaFilterModeLinear; enum cudaTextureAddressMode { cudaAddressModeWrap = 0, cudaAddressModeClamp = 1, cudaAddressModeMirror = 2, cudaAddressModeBorder = 3, } enum cudaAddressModeWrap = cudaTextureAddressMode.cudaAddressModeWrap; enum cudaAddressModeClamp = cudaTextureAddressMode.cudaAddressModeClamp; enum cudaAddressModeMirror = cudaTextureAddressMode.cudaAddressModeMirror; enum cudaAddressModeBorder = cudaTextureAddressMode.cudaAddressModeBorder; alias cudaSurfaceObject_t = ulong; struct surfaceReference { cudaChannelFormatDesc channelDesc; } enum cudaSurfaceFormatMode { cudaFormatModeForced = 0, cudaFormatModeAuto = 1, } enum cudaFormatModeForced = cudaSurfaceFormatMode.cudaFormatModeForced; enum cudaFormatModeAuto = cudaSurfaceFormatMode.cudaFormatModeAuto; enum cudaSurfaceBoundaryMode { cudaBoundaryModeZero = 0, cudaBoundaryModeClamp = 1, cudaBoundaryModeTrap = 2, } enum cudaBoundaryModeZero = cudaSurfaceBoundaryMode.cudaBoundaryModeZero; enum cudaBoundaryModeClamp = cudaSurfaceBoundaryMode.cudaBoundaryModeClamp; enum cudaBoundaryModeTrap = cudaSurfaceBoundaryMode.cudaBoundaryModeTrap; enum libraryPropertyType_t { MAJOR_VERSION = 0, MINOR_VERSION = 1, PATCH_LEVEL = 2, } enum MAJOR_VERSION = libraryPropertyType_t.MAJOR_VERSION; enum MINOR_VERSION = libraryPropertyType_t.MINOR_VERSION; enum PATCH_LEVEL = libraryPropertyType_t.PATCH_LEVEL; alias libraryPropertyType = libraryPropertyType_t; enum cudaDataType_t { CUDA_R_16F = 2, CUDA_C_16F = 6, CUDA_R_32F = 0, CUDA_C_32F = 4, CUDA_R_64F = 1, CUDA_C_64F = 5, CUDA_R_8I = 3, CUDA_C_8I = 7, CUDA_R_8U = 8, CUDA_C_8U = 9, CUDA_R_32I = 10, CUDA_C_32I = 11, CUDA_R_32U = 12, CUDA_C_32U = 13, } enum CUDA_R_16F = cudaDataType_t.CUDA_R_16F; enum CUDA_C_16F = cudaDataType_t.CUDA_C_16F; enum CUDA_R_32F = cudaDataType_t.CUDA_R_32F; enum CUDA_C_32F = cudaDataType_t.CUDA_C_32F; enum CUDA_R_64F = cudaDataType_t.CUDA_R_64F; enum CUDA_C_64F = cudaDataType_t.CUDA_C_64F; enum CUDA_R_8I = cudaDataType_t.CUDA_R_8I; enum CUDA_C_8I = cudaDataType_t.CUDA_C_8I; enum CUDA_R_8U = cudaDataType_t.CUDA_R_8U; enum CUDA_C_8U = cudaDataType_t.CUDA_C_8U; enum CUDA_R_32I = cudaDataType_t.CUDA_R_32I; enum CUDA_C_32I = cudaDataType_t.CUDA_C_32I; enum CUDA_R_32U = cudaDataType_t.CUDA_R_32U; enum CUDA_C_32U = cudaDataType_t.CUDA_C_32U; alias cudaDataType = cudaDataType_t; enum cudaGraphExecUpdateResult { cudaGraphExecUpdateSuccess = 0, cudaGraphExecUpdateError = 1, cudaGraphExecUpdateErrorTopologyChanged = 2, cudaGraphExecUpdateErrorNodeTypeChanged = 3, cudaGraphExecUpdateErrorFunctionChanged = 4, cudaGraphExecUpdateErrorParametersChanged = 5, cudaGraphExecUpdateErrorNotSupported = 6, } enum cudaGraphExecUpdateSuccess = cudaGraphExecUpdateResult.cudaGraphExecUpdateSuccess; enum cudaGraphExecUpdateError = cudaGraphExecUpdateResult.cudaGraphExecUpdateError; enum cudaGraphExecUpdateErrorTopologyChanged = cudaGraphExecUpdateResult.cudaGraphExecUpdateErrorTopologyChanged; enum cudaGraphExecUpdateErrorNodeTypeChanged = cudaGraphExecUpdateResult.cudaGraphExecUpdateErrorNodeTypeChanged; enum cudaGraphExecUpdateErrorFunctionChanged = cudaGraphExecUpdateResult.cudaGraphExecUpdateErrorFunctionChanged; enum cudaGraphExecUpdateErrorParametersChanged = cudaGraphExecUpdateResult.cudaGraphExecUpdateErrorParametersChanged; enum cudaGraphExecUpdateErrorNotSupported = cudaGraphExecUpdateResult.cudaGraphExecUpdateErrorNotSupported; struct CUgraphExec_st; alias cudaGraphExec_t = CUgraphExec_st*; enum cudaGraphNodeType { cudaGraphNodeTypeKernel = 0, cudaGraphNodeTypeMemcpy = 1, cudaGraphNodeTypeMemset = 2, cudaGraphNodeTypeHost = 3, cudaGraphNodeTypeGraph = 4, cudaGraphNodeTypeEmpty = 5, cudaGraphNodeTypeCount = 6, } enum cudaGraphNodeTypeKernel = cudaGraphNodeType.cudaGraphNodeTypeKernel; enum cudaGraphNodeTypeMemcpy = cudaGraphNodeType.cudaGraphNodeTypeMemcpy; enum cudaGraphNodeTypeMemset = cudaGraphNodeType.cudaGraphNodeTypeMemset; enum cudaGraphNodeTypeHost = cudaGraphNodeType.cudaGraphNodeTypeHost; enum cudaGraphNodeTypeGraph = cudaGraphNodeType.cudaGraphNodeTypeGraph; enum cudaGraphNodeTypeEmpty = cudaGraphNodeType.cudaGraphNodeTypeEmpty; enum cudaGraphNodeTypeCount = cudaGraphNodeType.cudaGraphNodeTypeCount; struct cudaKernelNodeParams { void* func; dim3 gridDim; dim3 blockDim; uint sharedMemBytes; void** kernelParams; void** extra; } struct cudaLaunchParams { void* func; dim3 gridDim; dim3 blockDim; void** args; c_ulong sharedMem; CUstream_st* stream; } enum cudaCGScope { cudaCGScopeInvalid = 0, cudaCGScopeGrid = 1, cudaCGScopeMultiGrid = 2, } enum cudaCGScopeInvalid = cudaCGScope.cudaCGScopeInvalid; enum cudaCGScopeGrid = cudaCGScope.cudaCGScopeGrid; enum cudaCGScopeMultiGrid = cudaCGScope.cudaCGScopeMultiGrid; struct CUgraphNode_st; alias cudaGraphNode_t = CUgraphNode_st*; struct CUgraph_st; alias cudaGraph_t = CUgraph_st*; struct CUexternalSemaphore_st; alias cudaExternalSemaphore_t = CUexternalSemaphore_st*; struct CUexternalMemory_st; alias cudaExternalMemory_t = CUexternalMemory_st*; alias int_least8_t = byte; alias int_least16_t = short; alias int_least32_t = int; alias int_least64_t = c_long; alias uint_least8_t = ubyte; alias uint_least16_t = ushort; alias uint_least32_t = uint; alias uint_least64_t = c_ulong; alias int_fast8_t = byte; alias int_fast16_t = c_long; alias int_fast32_t = c_long; alias int_fast64_t = c_long; alias uint_fast8_t = ubyte; alias uint_fast16_t = c_ulong; alias uint_fast32_t = c_ulong; alias uint_fast64_t = c_ulong; alias intptr_t = c_long; alias cudaOutputMode_t = cudaOutputMode; alias uintptr_t = c_ulong; alias intmax_t = c_long; alias uintmax_t = c_ulong; alias cudaGraphicsResource_t = cudaGraphicsResource*; struct CUevent_st; alias cudaEvent_t = CUevent_st*; struct CUstream_st; alias cudaStream_t = CUstream_st*; alias cudaError_t = cudaError; struct cudaExternalSemaphoreWaitParams { static struct _Anonymous_0 { static struct _Anonymous_1 { ulong value; } _Anonymous_1 fence; static union _Anonymous_2 { void* fence; ulong reserved; } _Anonymous_2 nvSciSync; static struct _Anonymous_3 { ulong key; uint timeoutMs; } _Anonymous_3 keyedMutex; } _Anonymous_0 params; uint flags; } struct cudaExternalSemaphoreSignalParams { static struct _Anonymous_4 { static struct _Anonymous_5 { ulong value; } _Anonymous_5 fence; static union _Anonymous_6 { void* fence; ulong reserved; } _Anonymous_6 nvSciSync; static struct _Anonymous_7 { ulong key; } _Anonymous_7 keyedMutex; } _Anonymous_4 params; uint flags; } struct cudaExternalSemaphoreHandleDesc { cudaExternalSemaphoreHandleType type; static union _Anonymous_8 { int fd; static struct _Anonymous_9 { void* handle; const(void)* name; } _Anonymous_9 win32; const(void)* nvSciSyncObj; } _Anonymous_8 handle; uint flags; } enum cudaExternalSemaphoreHandleType { cudaExternalSemaphoreHandleTypeOpaqueFd = 1, cudaExternalSemaphoreHandleTypeOpaqueWin32 = 2, cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt = 3, cudaExternalSemaphoreHandleTypeD3D12Fence = 4, cudaExternalSemaphoreHandleTypeD3D11Fence = 5, cudaExternalSemaphoreHandleTypeNvSciSync = 6, cudaExternalSemaphoreHandleTypeKeyedMutex = 7, cudaExternalSemaphoreHandleTypeKeyedMutexKmt = 8, } enum cudaExternalSemaphoreHandleTypeOpaqueFd = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeOpaqueFd; enum cudaExternalSemaphoreHandleTypeOpaqueWin32 = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeOpaqueWin32; enum cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt; enum cudaExternalSemaphoreHandleTypeD3D12Fence = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeD3D12Fence; enum cudaExternalSemaphoreHandleTypeD3D11Fence = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeD3D11Fence; enum cudaExternalSemaphoreHandleTypeNvSciSync = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeNvSciSync; enum cudaExternalSemaphoreHandleTypeKeyedMutex = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeKeyedMutex; enum cudaExternalSemaphoreHandleTypeKeyedMutexKmt = cudaExternalSemaphoreHandleType.cudaExternalSemaphoreHandleTypeKeyedMutexKmt; struct cudaExternalMemoryMipmappedArrayDesc { ulong offset; cudaChannelFormatDesc formatDesc; cudaExtent extent; uint flags; uint numLevels; } struct cudaExternalMemoryBufferDesc { ulong offset; ulong size; uint flags; } struct cudaExternalMemoryHandleDesc { cudaExternalMemoryHandleType type; static union _Anonymous_10 { int fd; static struct _Anonymous_11 { void* handle; const(void)* name; } _Anonymous_11 win32; const(void)* nvSciBufObject; } _Anonymous_10 handle; ulong size; uint flags; } enum cudaExternalMemoryHandleType { cudaExternalMemoryHandleTypeOpaqueFd = 1, cudaExternalMemoryHandleTypeOpaqueWin32 = 2, cudaExternalMemoryHandleTypeOpaqueWin32Kmt = 3, cudaExternalMemoryHandleTypeD3D12Heap = 4, cudaExternalMemoryHandleTypeD3D12Resource = 5, cudaExternalMemoryHandleTypeD3D11Resource = 6, cudaExternalMemoryHandleTypeD3D11ResourceKmt = 7, cudaExternalMemoryHandleTypeNvSciBuf = 8, } enum cudaExternalMemoryHandleTypeOpaqueFd = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeOpaqueFd; enum cudaExternalMemoryHandleTypeOpaqueWin32 = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeOpaqueWin32; enum cudaExternalMemoryHandleTypeOpaqueWin32Kmt = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeOpaqueWin32Kmt; enum cudaExternalMemoryHandleTypeD3D12Heap = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeD3D12Heap; enum cudaExternalMemoryHandleTypeD3D12Resource = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeD3D12Resource; enum cudaExternalMemoryHandleTypeD3D11Resource = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeD3D11Resource; enum cudaExternalMemoryHandleTypeD3D11ResourceKmt = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeD3D11ResourceKmt; enum cudaExternalMemoryHandleTypeNvSciBuf = cudaExternalMemoryHandleType.cudaExternalMemoryHandleTypeNvSciBuf; struct cudaIpcMemHandle_st { char[64] reserved; } alias cudaIpcMemHandle_t = cudaIpcMemHandle_st; struct cudaIpcEventHandle_st { char[64] reserved; } alias cudaIpcEventHandle_t = cudaIpcEventHandle_st; struct cudaDeviceProp { char[256] name; CUuuid_st uuid; char[8] luid; uint luidDeviceNodeMask; c_ulong totalGlobalMem; c_ulong sharedMemPerBlock; int regsPerBlock; int warpSize; c_ulong memPitch; int maxThreadsPerBlock; int[3] maxThreadsDim; int[3] maxGridSize; int clockRate; c_ulong totalConstMem; int major; int minor; c_ulong textureAlignment; c_ulong texturePitchAlignment; int deviceOverlap; int multiProcessorCount; int kernelExecTimeoutEnabled; int integrated; int canMapHostMemory; int computeMode; int maxTexture1D; int maxTexture1DMipmap; int maxTexture1DLinear; int[2] maxTexture2D; int[2] maxTexture2DMipmap; int[3] maxTexture2DLinear; int[2] maxTexture2DGather; int[3] maxTexture3D; int[3] maxTexture3DAlt; int maxTextureCubemap; int[2] maxTexture1DLayered; int[3] maxTexture2DLayered; int[2] maxTextureCubemapLayered; int maxSurface1D; int[2] maxSurface2D; int[3] maxSurface3D; int[2] maxSurface1DLayered; int[3] maxSurface2DLayered; int maxSurfaceCubemap; int[2] maxSurfaceCubemapLayered; c_ulong surfaceAlignment; int concurrentKernels; int ECCEnabled; int pciBusID; int pciDeviceID; int pciDomainID; int tccDriver; int asyncEngineCount; int unifiedAddressing; int memoryClockRate; int memoryBusWidth; int l2CacheSize; int maxThreadsPerMultiProcessor; int streamPrioritiesSupported; int globalL1CacheSupported; int localL1CacheSupported; c_ulong sharedMemPerMultiprocessor; int regsPerMultiprocessor; int managedMemory; int isMultiGpuBoard; int multiGpuBoardGroupID; int hostNativeAtomicSupported; int singleToDoublePrecisionPerfRatio; int pageableMemoryAccess; int concurrentManagedAccess; int computePreemptionSupported; int canUseHostPointerForRegisteredMem; int cooperativeLaunch; int cooperativeMultiDeviceLaunch; c_ulong sharedMemPerBlockOptin; int pageableMemoryAccessUsesHostPageTables; int directManagedMemAccessFromHost; } alias cudaUUID_t = CUuuid_st; alias CUuuid = CUuuid_st; struct CUuuid_st { char[16] bytes; } enum cudaDeviceP2PAttr { cudaDevP2PAttrPerformanceRank = 1, cudaDevP2PAttrAccessSupported = 2, cudaDevP2PAttrNativeAtomicSupported = 3, cudaDevP2PAttrCudaArrayAccessSupported = 4, } enum cudaDevP2PAttrPerformanceRank = cudaDeviceP2PAttr.cudaDevP2PAttrPerformanceRank; enum cudaDevP2PAttrAccessSupported = cudaDeviceP2PAttr.cudaDevP2PAttrAccessSupported; enum cudaDevP2PAttrNativeAtomicSupported = cudaDeviceP2PAttr.cudaDevP2PAttrNativeAtomicSupported; enum cudaDevP2PAttrCudaArrayAccessSupported = cudaDeviceP2PAttr.cudaDevP2PAttrCudaArrayAccessSupported; enum cudaDeviceAttr { cudaDevAttrMaxThreadsPerBlock = 1, cudaDevAttrMaxBlockDimX = 2, cudaDevAttrMaxBlockDimY = 3, cudaDevAttrMaxBlockDimZ = 4, cudaDevAttrMaxGridDimX = 5, cudaDevAttrMaxGridDimY = 6, cudaDevAttrMaxGridDimZ = 7, cudaDevAttrMaxSharedMemoryPerBlock = 8, cudaDevAttrTotalConstantMemory = 9, cudaDevAttrWarpSize = 10, cudaDevAttrMaxPitch = 11, cudaDevAttrMaxRegistersPerBlock = 12, cudaDevAttrClockRate = 13, cudaDevAttrTextureAlignment = 14, cudaDevAttrGpuOverlap = 15, cudaDevAttrMultiProcessorCount = 16, cudaDevAttrKernelExecTimeout = 17, cudaDevAttrIntegrated = 18, cudaDevAttrCanMapHostMemory = 19, cudaDevAttrComputeMode = 20, cudaDevAttrMaxTexture1DWidth = 21, cudaDevAttrMaxTexture2DWidth = 22, cudaDevAttrMaxTexture2DHeight = 23, cudaDevAttrMaxTexture3DWidth = 24, cudaDevAttrMaxTexture3DHeight = 25, cudaDevAttrMaxTexture3DDepth = 26, cudaDevAttrMaxTexture2DLayeredWidth = 27, cudaDevAttrMaxTexture2DLayeredHeight = 28, cudaDevAttrMaxTexture2DLayeredLayers = 29, cudaDevAttrSurfaceAlignment = 30, cudaDevAttrConcurrentKernels = 31, cudaDevAttrEccEnabled = 32, cudaDevAttrPciBusId = 33, cudaDevAttrPciDeviceId = 34, cudaDevAttrTccDriver = 35, cudaDevAttrMemoryClockRate = 36, cudaDevAttrGlobalMemoryBusWidth = 37, cudaDevAttrL2CacheSize = 38, cudaDevAttrMaxThreadsPerMultiProcessor = 39, cudaDevAttrAsyncEngineCount = 40, cudaDevAttrUnifiedAddressing = 41, cudaDevAttrMaxTexture1DLayeredWidth = 42, cudaDevAttrMaxTexture1DLayeredLayers = 43, cudaDevAttrMaxTexture2DGatherWidth = 45, cudaDevAttrMaxTexture2DGatherHeight = 46, cudaDevAttrMaxTexture3DWidthAlt = 47, cudaDevAttrMaxTexture3DHeightAlt = 48, cudaDevAttrMaxTexture3DDepthAlt = 49, cudaDevAttrPciDomainId = 50, cudaDevAttrTexturePitchAlignment = 51, cudaDevAttrMaxTextureCubemapWidth = 52, cudaDevAttrMaxTextureCubemapLayeredWidth = 53, cudaDevAttrMaxTextureCubemapLayeredLayers = 54, cudaDevAttrMaxSurface1DWidth = 55, cudaDevAttrMaxSurface2DWidth = 56, cudaDevAttrMaxSurface2DHeight = 57, cudaDevAttrMaxSurface3DWidth = 58, cudaDevAttrMaxSurface3DHeight = 59, cudaDevAttrMaxSurface3DDepth = 60, cudaDevAttrMaxSurface1DLayeredWidth = 61, cudaDevAttrMaxSurface1DLayeredLayers = 62, cudaDevAttrMaxSurface2DLayeredWidth = 63, cudaDevAttrMaxSurface2DLayeredHeight = 64, cudaDevAttrMaxSurface2DLayeredLayers = 65, cudaDevAttrMaxSurfaceCubemapWidth = 66, cudaDevAttrMaxSurfaceCubemapLayeredWidth = 67, cudaDevAttrMaxSurfaceCubemapLayeredLayers = 68, cudaDevAttrMaxTexture1DLinearWidth = 69, cudaDevAttrMaxTexture2DLinearWidth = 70, cudaDevAttrMaxTexture2DLinearHeight = 71, cudaDevAttrMaxTexture2DLinearPitch = 72, cudaDevAttrMaxTexture2DMipmappedWidth = 73, cudaDevAttrMaxTexture2DMipmappedHeight = 74, cudaDevAttrComputeCapabilityMajor = 75, cudaDevAttrComputeCapabilityMinor = 76, cudaDevAttrMaxTexture1DMipmappedWidth = 77, cudaDevAttrStreamPrioritiesSupported = 78, cudaDevAttrGlobalL1CacheSupported = 79, cudaDevAttrLocalL1CacheSupported = 80, cudaDevAttrMaxSharedMemoryPerMultiprocessor = 81, cudaDevAttrMaxRegistersPerMultiprocessor = 82, cudaDevAttrManagedMemory = 83, cudaDevAttrIsMultiGpuBoard = 84, cudaDevAttrMultiGpuBoardGroupID = 85, cudaDevAttrHostNativeAtomicSupported = 86, cudaDevAttrSingleToDoublePrecisionPerfRatio = 87, cudaDevAttrPageableMemoryAccess = 88, cudaDevAttrConcurrentManagedAccess = 89, cudaDevAttrComputePreemptionSupported = 90, cudaDevAttrCanUseHostPointerForRegisteredMem = 91, cudaDevAttrReserved92 = 92, cudaDevAttrReserved93 = 93, cudaDevAttrReserved94 = 94, cudaDevAttrCooperativeLaunch = 95, cudaDevAttrCooperativeMultiDeviceLaunch = 96, cudaDevAttrMaxSharedMemoryPerBlockOptin = 97, cudaDevAttrCanFlushRemoteWrites = 98, cudaDevAttrHostRegisterSupported = 99, cudaDevAttrPageableMemoryAccessUsesHostPageTables = 100, cudaDevAttrDirectManagedMemAccessFromHost = 101, } enum cudaDevAttrMaxThreadsPerBlock = cudaDeviceAttr.cudaDevAttrMaxThreadsPerBlock; enum cudaDevAttrMaxBlockDimX = cudaDeviceAttr.cudaDevAttrMaxBlockDimX; enum cudaDevAttrMaxBlockDimY = cudaDeviceAttr.cudaDevAttrMaxBlockDimY; enum cudaDevAttrMaxBlockDimZ = cudaDeviceAttr.cudaDevAttrMaxBlockDimZ; enum cudaDevAttrMaxGridDimX = cudaDeviceAttr.cudaDevAttrMaxGridDimX; enum cudaDevAttrMaxGridDimY = cudaDeviceAttr.cudaDevAttrMaxGridDimY; enum cudaDevAttrMaxGridDimZ = cudaDeviceAttr.cudaDevAttrMaxGridDimZ; enum cudaDevAttrMaxSharedMemoryPerBlock = cudaDeviceAttr.cudaDevAttrMaxSharedMemoryPerBlock; enum cudaDevAttrTotalConstantMemory = cudaDeviceAttr.cudaDevAttrTotalConstantMemory; enum cudaDevAttrWarpSize = cudaDeviceAttr.cudaDevAttrWarpSize; enum cudaDevAttrMaxPitch = cudaDeviceAttr.cudaDevAttrMaxPitch; enum cudaDevAttrMaxRegistersPerBlock = cudaDeviceAttr.cudaDevAttrMaxRegistersPerBlock; enum cudaDevAttrClockRate = cudaDeviceAttr.cudaDevAttrClockRate; enum cudaDevAttrTextureAlignment = cudaDeviceAttr.cudaDevAttrTextureAlignment; enum cudaDevAttrGpuOverlap = cudaDeviceAttr.cudaDevAttrGpuOverlap; enum cudaDevAttrMultiProcessorCount = cudaDeviceAttr.cudaDevAttrMultiProcessorCount; enum cudaDevAttrKernelExecTimeout = cudaDeviceAttr.cudaDevAttrKernelExecTimeout; enum cudaDevAttrIntegrated = cudaDeviceAttr.cudaDevAttrIntegrated; enum cudaDevAttrCanMapHostMemory = cudaDeviceAttr.cudaDevAttrCanMapHostMemory; enum cudaDevAttrComputeMode = cudaDeviceAttr.cudaDevAttrComputeMode; enum cudaDevAttrMaxTexture1DWidth = cudaDeviceAttr.cudaDevAttrMaxTexture1DWidth; enum cudaDevAttrMaxTexture2DWidth = cudaDeviceAttr.cudaDevAttrMaxTexture2DWidth; enum cudaDevAttrMaxTexture2DHeight = cudaDeviceAttr.cudaDevAttrMaxTexture2DHeight; enum cudaDevAttrMaxTexture3DWidth = cudaDeviceAttr.cudaDevAttrMaxTexture3DWidth; enum cudaDevAttrMaxTexture3DHeight = cudaDeviceAttr.cudaDevAttrMaxTexture3DHeight; enum cudaDevAttrMaxTexture3DDepth = cudaDeviceAttr.cudaDevAttrMaxTexture3DDepth; enum cudaDevAttrMaxTexture2DLayeredWidth = cudaDeviceAttr.cudaDevAttrMaxTexture2DLayeredWidth; enum cudaDevAttrMaxTexture2DLayeredHeight = cudaDeviceAttr.cudaDevAttrMaxTexture2DLayeredHeight; enum cudaDevAttrMaxTexture2DLayeredLayers = cudaDeviceAttr.cudaDevAttrMaxTexture2DLayeredLayers; enum cudaDevAttrSurfaceAlignment = cudaDeviceAttr.cudaDevAttrSurfaceAlignment; enum cudaDevAttrConcurrentKernels = cudaDeviceAttr.cudaDevAttrConcurrentKernels; enum cudaDevAttrEccEnabled = cudaDeviceAttr.cudaDevAttrEccEnabled; enum cudaDevAttrPciBusId = cudaDeviceAttr.cudaDevAttrPciBusId; enum cudaDevAttrPciDeviceId = cudaDeviceAttr.cudaDevAttrPciDeviceId; enum cudaDevAttrTccDriver = cudaDeviceAttr.cudaDevAttrTccDriver; enum cudaDevAttrMemoryClockRate = cudaDeviceAttr.cudaDevAttrMemoryClockRate; enum cudaDevAttrGlobalMemoryBusWidth = cudaDeviceAttr.cudaDevAttrGlobalMemoryBusWidth; enum cudaDevAttrL2CacheSize = cudaDeviceAttr.cudaDevAttrL2CacheSize; enum cudaDevAttrMaxThreadsPerMultiProcessor = cudaDeviceAttr.cudaDevAttrMaxThreadsPerMultiProcessor; enum cudaDevAttrAsyncEngineCount = cudaDeviceAttr.cudaDevAttrAsyncEngineCount; enum cudaDevAttrUnifiedAddressing = cudaDeviceAttr.cudaDevAttrUnifiedAddressing; enum cudaDevAttrMaxTexture1DLayeredWidth = cudaDeviceAttr.cudaDevAttrMaxTexture1DLayeredWidth; enum cudaDevAttrMaxTexture1DLayeredLayers = cudaDeviceAttr.cudaDevAttrMaxTexture1DLayeredLayers; enum cudaDevAttrMaxTexture2DGatherWidth = cudaDeviceAttr.cudaDevAttrMaxTexture2DGatherWidth; enum cudaDevAttrMaxTexture2DGatherHeight = cudaDeviceAttr.cudaDevAttrMaxTexture2DGatherHeight; enum cudaDevAttrMaxTexture3DWidthAlt = cudaDeviceAttr.cudaDevAttrMaxTexture3DWidthAlt; enum cudaDevAttrMaxTexture3DHeightAlt = cudaDeviceAttr.cudaDevAttrMaxTexture3DHeightAlt; enum cudaDevAttrMaxTexture3DDepthAlt = cudaDeviceAttr.cudaDevAttrMaxTexture3DDepthAlt; enum cudaDevAttrPciDomainId = cudaDeviceAttr.cudaDevAttrPciDomainId; enum cudaDevAttrTexturePitchAlignment = cudaDeviceAttr.cudaDevAttrTexturePitchAlignment; enum cudaDevAttrMaxTextureCubemapWidth = cudaDeviceAttr.cudaDevAttrMaxTextureCubemapWidth; enum cudaDevAttrMaxTextureCubemapLayeredWidth = cudaDeviceAttr.cudaDevAttrMaxTextureCubemapLayeredWidth; enum cudaDevAttrMaxTextureCubemapLayeredLayers = cudaDeviceAttr.cudaDevAttrMaxTextureCubemapLayeredLayers; enum cudaDevAttrMaxSurface1DWidth = cudaDeviceAttr.cudaDevAttrMaxSurface1DWidth; enum cudaDevAttrMaxSurface2DWidth = cudaDeviceAttr.cudaDevAttrMaxSurface2DWidth; enum cudaDevAttrMaxSurface2DHeight = cudaDeviceAttr.cudaDevAttrMaxSurface2DHeight; enum cudaDevAttrMaxSurface3DWidth = cudaDeviceAttr.cudaDevAttrMaxSurface3DWidth; enum cudaDevAttrMaxSurface3DHeight = cudaDeviceAttr.cudaDevAttrMaxSurface3DHeight; enum cudaDevAttrMaxSurface3DDepth = cudaDeviceAttr.cudaDevAttrMaxSurface3DDepth; enum cudaDevAttrMaxSurface1DLayeredWidth = cudaDeviceAttr.cudaDevAttrMaxSurface1DLayeredWidth; enum cudaDevAttrMaxSurface1DLayeredLayers = cudaDeviceAttr.cudaDevAttrMaxSurface1DLayeredLayers; enum cudaDevAttrMaxSurface2DLayeredWidth = cudaDeviceAttr.cudaDevAttrMaxSurface2DLayeredWidth; enum cudaDevAttrMaxSurface2DLayeredHeight = cudaDeviceAttr.cudaDevAttrMaxSurface2DLayeredHeight; enum cudaDevAttrMaxSurface2DLayeredLayers = cudaDeviceAttr.cudaDevAttrMaxSurface2DLayeredLayers; enum cudaDevAttrMaxSurfaceCubemapWidth = cudaDeviceAttr.cudaDevAttrMaxSurfaceCubemapWidth; enum cudaDevAttrMaxSurfaceCubemapLayeredWidth = cudaDeviceAttr.cudaDevAttrMaxSurfaceCubemapLayeredWidth; enum cudaDevAttrMaxSurfaceCubemapLayeredLayers = cudaDeviceAttr.cudaDevAttrMaxSurfaceCubemapLayeredLayers; enum cudaDevAttrMaxTexture1DLinearWidth = cudaDeviceAttr.cudaDevAttrMaxTexture1DLinearWidth; enum cudaDevAttrMaxTexture2DLinearWidth = cudaDeviceAttr.cudaDevAttrMaxTexture2DLinearWidth; enum cudaDevAttrMaxTexture2DLinearHeight = cudaDeviceAttr.cudaDevAttrMaxTexture2DLinearHeight; enum cudaDevAttrMaxTexture2DLinearPitch = cudaDeviceAttr.cudaDevAttrMaxTexture2DLinearPitch; enum cudaDevAttrMaxTexture2DMipmappedWidth = cudaDeviceAttr.cudaDevAttrMaxTexture2DMipmappedWidth; enum cudaDevAttrMaxTexture2DMipmappedHeight = cudaDeviceAttr.cudaDevAttrMaxTexture2DMipmappedHeight; enum cudaDevAttrComputeCapabilityMajor = cudaDeviceAttr.cudaDevAttrComputeCapabilityMajor; enum cudaDevAttrComputeCapabilityMinor = cudaDeviceAttr.cudaDevAttrComputeCapabilityMinor; enum cudaDevAttrMaxTexture1DMipmappedWidth = cudaDeviceAttr.cudaDevAttrMaxTexture1DMipmappedWidth; enum cudaDevAttrStreamPrioritiesSupported = cudaDeviceAttr.cudaDevAttrStreamPrioritiesSupported; enum cudaDevAttrGlobalL1CacheSupported = cudaDeviceAttr.cudaDevAttrGlobalL1CacheSupported; enum cudaDevAttrLocalL1CacheSupported = cudaDeviceAttr.cudaDevAttrLocalL1CacheSupported; enum cudaDevAttrMaxSharedMemoryPerMultiprocessor = cudaDeviceAttr.cudaDevAttrMaxSharedMemoryPerMultiprocessor; enum cudaDevAttrMaxRegistersPerMultiprocessor = cudaDeviceAttr.cudaDevAttrMaxRegistersPerMultiprocessor; enum cudaDevAttrManagedMemory = cudaDeviceAttr.cudaDevAttrManagedMemory; enum cudaDevAttrIsMultiGpuBoard = cudaDeviceAttr.cudaDevAttrIsMultiGpuBoard; enum cudaDevAttrMultiGpuBoardGroupID = cudaDeviceAttr.cudaDevAttrMultiGpuBoardGroupID; enum cudaDevAttrHostNativeAtomicSupported = cudaDeviceAttr.cudaDevAttrHostNativeAtomicSupported; enum cudaDevAttrSingleToDoublePrecisionPerfRatio = cudaDeviceAttr.cudaDevAttrSingleToDoublePrecisionPerfRatio; enum cudaDevAttrPageableMemoryAccess = cudaDeviceAttr.cudaDevAttrPageableMemoryAccess; enum cudaDevAttrConcurrentManagedAccess = cudaDeviceAttr.cudaDevAttrConcurrentManagedAccess; enum cudaDevAttrComputePreemptionSupported = cudaDeviceAttr.cudaDevAttrComputePreemptionSupported; enum cudaDevAttrCanUseHostPointerForRegisteredMem = cudaDeviceAttr.cudaDevAttrCanUseHostPointerForRegisteredMem; enum cudaDevAttrReserved92 = cudaDeviceAttr.cudaDevAttrReserved92; enum cudaDevAttrReserved93 = cudaDeviceAttr.cudaDevAttrReserved93; enum cudaDevAttrReserved94 = cudaDeviceAttr.cudaDevAttrReserved94; enum cudaDevAttrCooperativeLaunch = cudaDeviceAttr.cudaDevAttrCooperativeLaunch; enum cudaDevAttrCooperativeMultiDeviceLaunch = cudaDeviceAttr.cudaDevAttrCooperativeMultiDeviceLaunch; enum cudaDevAttrMaxSharedMemoryPerBlockOptin = cudaDeviceAttr.cudaDevAttrMaxSharedMemoryPerBlockOptin; enum cudaDevAttrCanFlushRemoteWrites = cudaDeviceAttr.cudaDevAttrCanFlushRemoteWrites; enum cudaDevAttrHostRegisterSupported = cudaDeviceAttr.cudaDevAttrHostRegisterSupported; enum cudaDevAttrPageableMemoryAccessUsesHostPageTables = cudaDeviceAttr.cudaDevAttrPageableMemoryAccessUsesHostPageTables; enum cudaDevAttrDirectManagedMemAccessFromHost = cudaDeviceAttr.cudaDevAttrDirectManagedMemAccessFromHost; enum cudaOutputMode { cudaKeyValuePair = 0, cudaCSV = 1, } enum cudaKeyValuePair = cudaOutputMode.cudaKeyValuePair; enum cudaCSV = cudaOutputMode.cudaCSV; enum cudaMemRangeAttribute { cudaMemRangeAttributeReadMostly = 1, cudaMemRangeAttributePreferredLocation = 2, cudaMemRangeAttributeAccessedBy = 3, cudaMemRangeAttributeLastPrefetchLocation = 4, } enum cudaMemRangeAttributeReadMostly = cudaMemRangeAttribute.cudaMemRangeAttributeReadMostly; enum cudaMemRangeAttributePreferredLocation = cudaMemRangeAttribute.cudaMemRangeAttributePreferredLocation; enum cudaMemRangeAttributeAccessedBy = cudaMemRangeAttribute.cudaMemRangeAttributeAccessedBy; enum cudaMemRangeAttributeLastPrefetchLocation = cudaMemRangeAttribute.cudaMemRangeAttributeLastPrefetchLocation; enum cudaMemoryAdvise { cudaMemAdviseSetReadMostly = 1, cudaMemAdviseUnsetReadMostly = 2, cudaMemAdviseSetPreferredLocation = 3, cudaMemAdviseUnsetPreferredLocation = 4, cudaMemAdviseSetAccessedBy = 5, cudaMemAdviseUnsetAccessedBy = 6, } enum cudaMemAdviseSetReadMostly = cudaMemoryAdvise.cudaMemAdviseSetReadMostly; enum cudaMemAdviseUnsetReadMostly = cudaMemoryAdvise.cudaMemAdviseUnsetReadMostly; enum cudaMemAdviseSetPreferredLocation = cudaMemoryAdvise.cudaMemAdviseSetPreferredLocation; enum cudaMemAdviseUnsetPreferredLocation = cudaMemoryAdvise.cudaMemAdviseUnsetPreferredLocation; enum cudaMemAdviseSetAccessedBy = cudaMemoryAdvise.cudaMemAdviseSetAccessedBy; enum cudaMemAdviseUnsetAccessedBy = cudaMemoryAdvise.cudaMemAdviseUnsetAccessedBy; enum cudaLimit { cudaLimitStackSize = 0, cudaLimitPrintfFifoSize = 1, cudaLimitMallocHeapSize = 2, cudaLimitDevRuntimeSyncDepth = 3, cudaLimitDevRuntimePendingLaunchCount = 4, cudaLimitMaxL2FetchGranularity = 5, } enum cudaLimitStackSize = cudaLimit.cudaLimitStackSize; enum cudaLimitPrintfFifoSize = cudaLimit.cudaLimitPrintfFifoSize; enum cudaLimitMallocHeapSize = cudaLimit.cudaLimitMallocHeapSize; enum cudaLimitDevRuntimeSyncDepth = cudaLimit.cudaLimitDevRuntimeSyncDepth; enum cudaLimitDevRuntimePendingLaunchCount = cudaLimit.cudaLimitDevRuntimePendingLaunchCount; enum cudaLimitMaxL2FetchGranularity = cudaLimit.cudaLimitMaxL2FetchGranularity; enum cudaComputeMode { cudaComputeModeDefault = 0, cudaComputeModeExclusive = 1, cudaComputeModeProhibited = 2, cudaComputeModeExclusiveProcess = 3, } enum cudaComputeModeDefault = cudaComputeMode.cudaComputeModeDefault; enum cudaComputeModeExclusive = cudaComputeMode.cudaComputeModeExclusive; enum cudaComputeModeProhibited = cudaComputeMode.cudaComputeModeProhibited; enum cudaComputeModeExclusiveProcess = cudaComputeMode.cudaComputeModeExclusiveProcess; enum cudaSharedCarveout { cudaSharedmemCarveoutDefault = -1, cudaSharedmemCarveoutMaxShared = 100, cudaSharedmemCarveoutMaxL1 = 0, } enum cudaSharedmemCarveoutDefault = cudaSharedCarveout.cudaSharedmemCarveoutDefault; enum cudaSharedmemCarveoutMaxShared = cudaSharedCarveout.cudaSharedmemCarveoutMaxShared; enum cudaSharedmemCarveoutMaxL1 = cudaSharedCarveout.cudaSharedmemCarveoutMaxL1; enum cudaSharedMemConfig { cudaSharedMemBankSizeDefault = 0, cudaSharedMemBankSizeFourByte = 1, cudaSharedMemBankSizeEightByte = 2, } enum cudaSharedMemBankSizeDefault = cudaSharedMemConfig.cudaSharedMemBankSizeDefault; enum cudaSharedMemBankSizeFourByte = cudaSharedMemConfig.cudaSharedMemBankSizeFourByte; enum cudaSharedMemBankSizeEightByte = cudaSharedMemConfig.cudaSharedMemBankSizeEightByte; enum cudaFuncCache { cudaFuncCachePreferNone = 0, cudaFuncCachePreferShared = 1, cudaFuncCachePreferL1 = 2, cudaFuncCachePreferEqual = 3, } enum cudaFuncCachePreferNone = cudaFuncCache.cudaFuncCachePreferNone; enum cudaFuncCachePreferShared = cudaFuncCache.cudaFuncCachePreferShared; enum cudaFuncCachePreferL1 = cudaFuncCache.cudaFuncCachePreferL1; enum cudaFuncCachePreferEqual = cudaFuncCache.cudaFuncCachePreferEqual; enum cudaFuncAttribute { cudaFuncAttributeMaxDynamicSharedMemorySize = 8, cudaFuncAttributePreferredSharedMemoryCarveout = 9, cudaFuncAttributeMax = 10, } enum cudaFuncAttributeMaxDynamicSharedMemorySize = cudaFuncAttribute.cudaFuncAttributeMaxDynamicSharedMemorySize; enum cudaFuncAttributePreferredSharedMemoryCarveout = cudaFuncAttribute.cudaFuncAttributePreferredSharedMemoryCarveout; enum cudaFuncAttributeMax = cudaFuncAttribute.cudaFuncAttributeMax; struct cudaFuncAttributes { c_ulong sharedSizeBytes; c_ulong constSizeBytes; c_ulong localSizeBytes; int maxThreadsPerBlock; int numRegs; int ptxVersion; int binaryVersion; int cacheModeCA; int maxDynamicSharedSizeBytes; int preferredShmemCarveout; } struct cudaPointerAttributes { cudaMemoryType memoryType; cudaMemoryType type; int device; void* devicePointer; void* hostPointer; int isManaged; } struct cudaResourceViewDesc { cudaResourceViewFormat format; c_ulong width; c_ulong height; c_ulong depth; uint firstMipmapLevel; uint lastMipmapLevel; uint firstLayer; uint lastLayer; } struct cudaResourceDesc { cudaResourceType resType; static union _Anonymous_12 { static struct _Anonymous_13 { cudaArray* array; } _Anonymous_13 array; static struct _Anonymous_14 { cudaMipmappedArray* mipmap; } _Anonymous_14 mipmap; static struct _Anonymous_15 { void* devPtr; cudaChannelFormatDesc desc; c_ulong sizeInBytes; } _Anonymous_15 linear; static struct _Anonymous_16 { void* devPtr; cudaChannelFormatDesc desc; c_ulong width; c_ulong height; c_ulong pitchInBytes; } _Anonymous_16 pitch2D; } _Anonymous_12 res; } enum cudaResourceViewFormat { cudaResViewFormatNone = 0, cudaResViewFormatUnsignedChar1 = 1, cudaResViewFormatUnsignedChar2 = 2, cudaResViewFormatUnsignedChar4 = 3, cudaResViewFormatSignedChar1 = 4, cudaResViewFormatSignedChar2 = 5, cudaResViewFormatSignedChar4 = 6, cudaResViewFormatUnsignedShort1 = 7, cudaResViewFormatUnsignedShort2 = 8, cudaResViewFormatUnsignedShort4 = 9, cudaResViewFormatSignedShort1 = 10, cudaResViewFormatSignedShort2 = 11, cudaResViewFormatSignedShort4 = 12, cudaResViewFormatUnsignedInt1 = 13, cudaResViewFormatUnsignedInt2 = 14, cudaResViewFormatUnsignedInt4 = 15, cudaResViewFormatSignedInt1 = 16, cudaResViewFormatSignedInt2 = 17, cudaResViewFormatSignedInt4 = 18, cudaResViewFormatHalf1 = 19, cudaResViewFormatHalf2 = 20, cudaResViewFormatHalf4 = 21, cudaResViewFormatFloat1 = 22, cudaResViewFormatFloat2 = 23, cudaResViewFormatFloat4 = 24, cudaResViewFormatUnsignedBlockCompressed1 = 25, cudaResViewFormatUnsignedBlockCompressed2 = 26, cudaResViewFormatUnsignedBlockCompressed3 = 27, cudaResViewFormatUnsignedBlockCompressed4 = 28, cudaResViewFormatSignedBlockCompressed4 = 29, cudaResViewFormatUnsignedBlockCompressed5 = 30, cudaResViewFormatSignedBlockCompressed5 = 31, cudaResViewFormatUnsignedBlockCompressed6H = 32, cudaResViewFormatSignedBlockCompressed6H = 33, cudaResViewFormatUnsignedBlockCompressed7 = 34, } enum cudaResViewFormatNone = cudaResourceViewFormat.cudaResViewFormatNone; enum cudaResViewFormatUnsignedChar1 = cudaResourceViewFormat.cudaResViewFormatUnsignedChar1; enum cudaResViewFormatUnsignedChar2 = cudaResourceViewFormat.cudaResViewFormatUnsignedChar2; enum cudaResViewFormatUnsignedChar4 = cudaResourceViewFormat.cudaResViewFormatUnsignedChar4; enum cudaResViewFormatSignedChar1 = cudaResourceViewFormat.cudaResViewFormatSignedChar1; enum cudaResViewFormatSignedChar2 = cudaResourceViewFormat.cudaResViewFormatSignedChar2; enum cudaResViewFormatSignedChar4 = cudaResourceViewFormat.cudaResViewFormatSignedChar4; enum cudaResViewFormatUnsignedShort1 = cudaResourceViewFormat.cudaResViewFormatUnsignedShort1; enum cudaResViewFormatUnsignedShort2 = cudaResourceViewFormat.cudaResViewFormatUnsignedShort2; enum cudaResViewFormatUnsignedShort4 = cudaResourceViewFormat.cudaResViewFormatUnsignedShort4; enum cudaResViewFormatSignedShort1 = cudaResourceViewFormat.cudaResViewFormatSignedShort1; enum cudaResViewFormatSignedShort2 = cudaResourceViewFormat.cudaResViewFormatSignedShort2; enum cudaResViewFormatSignedShort4 = cudaResourceViewFormat.cudaResViewFormatSignedShort4; enum cudaResViewFormatUnsignedInt1 = cudaResourceViewFormat.cudaResViewFormatUnsignedInt1; enum cudaResViewFormatUnsignedInt2 = cudaResourceViewFormat.cudaResViewFormatUnsignedInt2; enum cudaResViewFormatUnsignedInt4 = cudaResourceViewFormat.cudaResViewFormatUnsignedInt4; enum cudaResViewFormatSignedInt1 = cudaResourceViewFormat.cudaResViewFormatSignedInt1; enum cudaResViewFormatSignedInt2 = cudaResourceViewFormat.cudaResViewFormatSignedInt2; enum cudaResViewFormatSignedInt4 = cudaResourceViewFormat.cudaResViewFormatSignedInt4; enum cudaResViewFormatHalf1 = cudaResourceViewFormat.cudaResViewFormatHalf1; enum cudaResViewFormatHalf2 = cudaResourceViewFormat.cudaResViewFormatHalf2; enum cudaResViewFormatHalf4 = cudaResourceViewFormat.cudaResViewFormatHalf4; enum cudaResViewFormatFloat1 = cudaResourceViewFormat.cudaResViewFormatFloat1; enum cudaResViewFormatFloat2 = cudaResourceViewFormat.cudaResViewFormatFloat2; enum cudaResViewFormatFloat4 = cudaResourceViewFormat.cudaResViewFormatFloat4; enum cudaResViewFormatUnsignedBlockCompressed1 = cudaResourceViewFormat.cudaResViewFormatUnsignedBlockCompressed1; enum cudaResViewFormatUnsignedBlockCompressed2 = cudaResourceViewFormat.cudaResViewFormatUnsignedBlockCompressed2; enum cudaResViewFormatUnsignedBlockCompressed3 = cudaResourceViewFormat.cudaResViewFormatUnsignedBlockCompressed3; enum cudaResViewFormatUnsignedBlockCompressed4 = cudaResourceViewFormat.cudaResViewFormatUnsignedBlockCompressed4; enum cudaResViewFormatSignedBlockCompressed4 = cudaResourceViewFormat.cudaResViewFormatSignedBlockCompressed4; enum cudaResViewFormatUnsignedBlockCompressed5 = cudaResourceViewFormat.cudaResViewFormatUnsignedBlockCompressed5; enum cudaResViewFormatSignedBlockCompressed5 = cudaResourceViewFormat.cudaResViewFormatSignedBlockCompressed5; enum cudaResViewFormatUnsignedBlockCompressed6H = cudaResourceViewFormat.cudaResViewFormatUnsignedBlockCompressed6H; enum cudaResViewFormatSignedBlockCompressed6H = cudaResourceViewFormat.cudaResViewFormatSignedBlockCompressed6H; enum cudaResViewFormatUnsignedBlockCompressed7 = cudaResourceViewFormat.cudaResViewFormatUnsignedBlockCompressed7; enum cudaResourceType { cudaResourceTypeArray = 0, cudaResourceTypeMipmappedArray = 1, cudaResourceTypeLinear = 2, cudaResourceTypePitch2D = 3, } enum cudaResourceTypeArray = cudaResourceType.cudaResourceTypeArray; enum cudaResourceTypeMipmappedArray = cudaResourceType.cudaResourceTypeMipmappedArray; enum cudaResourceTypeLinear = cudaResourceType.cudaResourceTypeLinear; enum cudaResourceTypePitch2D = cudaResourceType.cudaResourceTypePitch2D; enum cudaGraphicsCubeFace { cudaGraphicsCubeFacePositiveX = 0, cudaGraphicsCubeFaceNegativeX = 1, cudaGraphicsCubeFacePositiveY = 2, cudaGraphicsCubeFaceNegativeY = 3, cudaGraphicsCubeFacePositiveZ = 4, cudaGraphicsCubeFaceNegativeZ = 5, } enum cudaGraphicsCubeFacePositiveX = cudaGraphicsCubeFace.cudaGraphicsCubeFacePositiveX; enum cudaGraphicsCubeFaceNegativeX = cudaGraphicsCubeFace.cudaGraphicsCubeFaceNegativeX; enum cudaGraphicsCubeFacePositiveY = cudaGraphicsCubeFace.cudaGraphicsCubeFacePositiveY; enum cudaGraphicsCubeFaceNegativeY = cudaGraphicsCubeFace.cudaGraphicsCubeFaceNegativeY; enum cudaGraphicsCubeFacePositiveZ = cudaGraphicsCubeFace.cudaGraphicsCubeFacePositiveZ; enum cudaGraphicsCubeFaceNegativeZ = cudaGraphicsCubeFace.cudaGraphicsCubeFaceNegativeZ; enum cudaGraphicsMapFlags { cudaGraphicsMapFlagsNone = 0, cudaGraphicsMapFlagsReadOnly = 1, cudaGraphicsMapFlagsWriteDiscard = 2, } enum cudaGraphicsMapFlagsNone = cudaGraphicsMapFlags.cudaGraphicsMapFlagsNone; enum cudaGraphicsMapFlagsReadOnly = cudaGraphicsMapFlags.cudaGraphicsMapFlagsReadOnly; enum cudaGraphicsMapFlagsWriteDiscard = cudaGraphicsMapFlags.cudaGraphicsMapFlagsWriteDiscard; enum cudaGraphicsRegisterFlags { cudaGraphicsRegisterFlagsNone = 0, cudaGraphicsRegisterFlagsReadOnly = 1, cudaGraphicsRegisterFlagsWriteDiscard = 2, cudaGraphicsRegisterFlagsSurfaceLoadStore = 4, cudaGraphicsRegisterFlagsTextureGather = 8, } enum cudaGraphicsRegisterFlagsNone = cudaGraphicsRegisterFlags.cudaGraphicsRegisterFlagsNone; enum cudaGraphicsRegisterFlagsReadOnly = cudaGraphicsRegisterFlags.cudaGraphicsRegisterFlagsReadOnly; enum cudaGraphicsRegisterFlagsWriteDiscard = cudaGraphicsRegisterFlags.cudaGraphicsRegisterFlagsWriteDiscard; enum cudaGraphicsRegisterFlagsSurfaceLoadStore = cudaGraphicsRegisterFlags.cudaGraphicsRegisterFlagsSurfaceLoadStore; enum cudaGraphicsRegisterFlagsTextureGather = cudaGraphicsRegisterFlags.cudaGraphicsRegisterFlagsTextureGather; struct cudaGraphicsResource; enum cudaStreamCaptureMode { cudaStreamCaptureModeGlobal = 0, cudaStreamCaptureModeThreadLocal = 1, cudaStreamCaptureModeRelaxed = 2, } enum cudaStreamCaptureModeGlobal = cudaStreamCaptureMode.cudaStreamCaptureModeGlobal; enum cudaStreamCaptureModeThreadLocal = cudaStreamCaptureMode.cudaStreamCaptureModeThreadLocal; enum cudaStreamCaptureModeRelaxed = cudaStreamCaptureMode.cudaStreamCaptureModeRelaxed; enum cudaStreamCaptureStatus { cudaStreamCaptureStatusNone = 0, cudaStreamCaptureStatusActive = 1, cudaStreamCaptureStatusInvalidated = 2, } enum cudaStreamCaptureStatusNone = cudaStreamCaptureStatus.cudaStreamCaptureStatusNone; enum cudaStreamCaptureStatusActive = cudaStreamCaptureStatus.cudaStreamCaptureStatusActive; enum cudaStreamCaptureStatusInvalidated = cudaStreamCaptureStatus.cudaStreamCaptureStatusInvalidated; struct cudaHostNodeParams { void function(void*) fn; void* userData; } alias cudaHostFn_t = void function(void*); struct cudaMemsetParams { void* dst; c_ulong pitch; uint value; uint elementSize; c_ulong width; c_ulong height; } struct cudaMemcpy3DPeerParms { cudaArray* srcArray; cudaPos srcPos; cudaPitchedPtr srcPtr; int srcDevice; cudaArray* dstArray; cudaPos dstPos; cudaPitchedPtr dstPtr; int dstDevice; cudaExtent extent; } struct cudaMemcpy3DParms { cudaArray* srcArray; cudaPos srcPos; cudaPitchedPtr srcPtr; cudaArray* dstArray; cudaPos dstPos; cudaPitchedPtr dstPtr; cudaExtent extent; cudaMemcpyKind kind; } struct cudaPos { c_ulong x; c_ulong y; c_ulong z; } struct cudaExtent { c_ulong width; c_ulong height; c_ulong depth; } struct cudaPitchedPtr { void* ptr; c_ulong pitch; c_ulong xsize; c_ulong ysize; } enum cudaMemcpyKind { cudaMemcpyHostToHost = 0, cudaMemcpyHostToDevice = 1, cudaMemcpyDeviceToHost = 2, cudaMemcpyDeviceToDevice = 3, cudaMemcpyDefault = 4, } enum cudaMemcpyHostToHost = cudaMemcpyKind.cudaMemcpyHostToHost; enum cudaMemcpyHostToDevice = cudaMemcpyKind.cudaMemcpyHostToDevice; enum cudaMemcpyDeviceToHost = cudaMemcpyKind.cudaMemcpyDeviceToHost; enum cudaMemcpyDeviceToDevice = cudaMemcpyKind.cudaMemcpyDeviceToDevice; enum cudaMemcpyDefault = cudaMemcpyKind.cudaMemcpyDefault; enum cudaMemoryType { cudaMemoryTypeUnregistered = 0, cudaMemoryTypeHost = 1, cudaMemoryTypeDevice = 2, cudaMemoryTypeManaged = 3, } enum cudaMemoryTypeUnregistered = cudaMemoryType.cudaMemoryTypeUnregistered; enum cudaMemoryTypeHost = cudaMemoryType.cudaMemoryTypeHost; enum cudaMemoryTypeDevice = cudaMemoryType.cudaMemoryTypeDevice; enum cudaMemoryTypeManaged = cudaMemoryType.cudaMemoryTypeManaged; alias cudaMipmappedArray_const_t = const(cudaMipmappedArray)*; struct cudaMipmappedArray; alias cudaMipmappedArray_t = cudaMipmappedArray*; alias cudaArray_const_t = const(cudaArray)*; struct cudaArray; alias cudaArray_t = cudaArray*; struct cudaChannelFormatDesc { int x; int y; int z; int w; cudaChannelFormatKind f; } enum cudaChannelFormatKind { cudaChannelFormatKindSigned = 0, cudaChannelFormatKindUnsigned = 1, cudaChannelFormatKindFloat = 2, cudaChannelFormatKindNone = 3, } enum cudaChannelFormatKindSigned = cudaChannelFormatKind.cudaChannelFormatKindSigned; enum cudaChannelFormatKindUnsigned = cudaChannelFormatKind.cudaChannelFormatKindUnsigned; enum cudaChannelFormatKindFloat = cudaChannelFormatKind.cudaChannelFormatKindFloat; enum cudaChannelFormatKindNone = cudaChannelFormatKind.cudaChannelFormatKindNone; enum cudaError { cudaSuccess = 0, cudaErrorInvalidValue = 1, cudaErrorMemoryAllocation = 2, cudaErrorInitializationError = 3, cudaErrorCudartUnloading = 4, cudaErrorProfilerDisabled = 5, cudaErrorProfilerNotInitialized = 6, cudaErrorProfilerAlreadyStarted = 7, cudaErrorProfilerAlreadyStopped = 8, cudaErrorInvalidConfiguration = 9, cudaErrorInvalidPitchValue = 12, cudaErrorInvalidSymbol = 13, cudaErrorInvalidHostPointer = 16, cudaErrorInvalidDevicePointer = 17, cudaErrorInvalidTexture = 18, cudaErrorInvalidTextureBinding = 19, cudaErrorInvalidChannelDescriptor = 20, cudaErrorInvalidMemcpyDirection = 21, cudaErrorAddressOfConstant = 22, cudaErrorTextureFetchFailed = 23, cudaErrorTextureNotBound = 24, cudaErrorSynchronizationError = 25, cudaErrorInvalidFilterSetting = 26, cudaErrorInvalidNormSetting = 27, cudaErrorMixedDeviceExecution = 28, cudaErrorNotYetImplemented = 31, cudaErrorMemoryValueTooLarge = 32, cudaErrorInsufficientDriver = 35, cudaErrorInvalidSurface = 37, cudaErrorDuplicateVariableName = 43, cudaErrorDuplicateTextureName = 44, cudaErrorDuplicateSurfaceName = 45, cudaErrorDevicesUnavailable = 46, cudaErrorIncompatibleDriverContext = 49, cudaErrorMissingConfiguration = 52, cudaErrorPriorLaunchFailure = 53, cudaErrorLaunchMaxDepthExceeded = 65, cudaErrorLaunchFileScopedTex = 66, cudaErrorLaunchFileScopedSurf = 67, cudaErrorSyncDepthExceeded = 68, cudaErrorLaunchPendingCountExceeded = 69, cudaErrorInvalidDeviceFunction = 98, cudaErrorNoDevice = 100, cudaErrorInvalidDevice = 101, cudaErrorStartupFailure = 127, cudaErrorInvalidKernelImage = 200, cudaErrorDeviceUninitialized = 201, cudaErrorMapBufferObjectFailed = 205, cudaErrorUnmapBufferObjectFailed = 206, cudaErrorArrayIsMapped = 207, cudaErrorAlreadyMapped = 208, cudaErrorNoKernelImageForDevice = 209, cudaErrorAlreadyAcquired = 210, cudaErrorNotMapped = 211, cudaErrorNotMappedAsArray = 212, cudaErrorNotMappedAsPointer = 213, cudaErrorECCUncorrectable = 214, cudaErrorUnsupportedLimit = 215, cudaErrorDeviceAlreadyInUse = 216, cudaErrorPeerAccessUnsupported = 217, cudaErrorInvalidPtx = 218, cudaErrorInvalidGraphicsContext = 219, cudaErrorNvlinkUncorrectable = 220, cudaErrorJitCompilerNotFound = 221, cudaErrorInvalidSource = 300, cudaErrorFileNotFound = 301, cudaErrorSharedObjectSymbolNotFound = 302, cudaErrorSharedObjectInitFailed = 303, cudaErrorOperatingSystem = 304, cudaErrorInvalidResourceHandle = 400, cudaErrorIllegalState = 401, cudaErrorSymbolNotFound = 500, cudaErrorNotReady = 600, cudaErrorIllegalAddress = 700, cudaErrorLaunchOutOfResources = 701, cudaErrorLaunchTimeout = 702, cudaErrorLaunchIncompatibleTexturing = 703, cudaErrorPeerAccessAlreadyEnabled = 704, cudaErrorPeerAccessNotEnabled = 705, cudaErrorSetOnActiveProcess = 708, cudaErrorContextIsDestroyed = 709, cudaErrorAssert = 710, cudaErrorTooManyPeers = 711, cudaErrorHostMemoryAlreadyRegistered = 712, cudaErrorHostMemoryNotRegistered = 713, cudaErrorHardwareStackError = 714, cudaErrorIllegalInstruction = 715, cudaErrorMisalignedAddress = 716, cudaErrorInvalidAddressSpace = 717, cudaErrorInvalidPc = 718, cudaErrorLaunchFailure = 719, cudaErrorCooperativeLaunchTooLarge = 720, cudaErrorNotPermitted = 800, cudaErrorNotSupported = 801, cudaErrorSystemNotReady = 802, cudaErrorSystemDriverMismatch = 803, cudaErrorCompatNotSupportedOnDevice = 804, cudaErrorStreamCaptureUnsupported = 900, cudaErrorStreamCaptureInvalidated = 901, cudaErrorStreamCaptureMerge = 902, cudaErrorStreamCaptureUnmatched = 903, cudaErrorStreamCaptureUnjoined = 904, cudaErrorStreamCaptureIsolation = 905, cudaErrorStreamCaptureImplicit = 906, cudaErrorCapturedEvent = 907, cudaErrorStreamCaptureWrongThread = 908, cudaErrorTimeout = 909, cudaErrorGraphExecUpdateFailure = 910, cudaErrorUnknown = 999, cudaErrorApiFailureBase = 10000, } enum cudaSuccess = cudaError.cudaSuccess; enum cudaErrorInvalidValue = cudaError.cudaErrorInvalidValue; enum cudaErrorMemoryAllocation = cudaError.cudaErrorMemoryAllocation; enum cudaErrorInitializationError = cudaError.cudaErrorInitializationError; enum cudaErrorCudartUnloading = cudaError.cudaErrorCudartUnloading; enum cudaErrorProfilerDisabled = cudaError.cudaErrorProfilerDisabled; enum cudaErrorProfilerNotInitialized = cudaError.cudaErrorProfilerNotInitialized; enum cudaErrorProfilerAlreadyStarted = cudaError.cudaErrorProfilerAlreadyStarted; enum cudaErrorProfilerAlreadyStopped = cudaError.cudaErrorProfilerAlreadyStopped; enum cudaErrorInvalidConfiguration = cudaError.cudaErrorInvalidConfiguration; enum cudaErrorInvalidPitchValue = cudaError.cudaErrorInvalidPitchValue; enum cudaErrorInvalidSymbol = cudaError.cudaErrorInvalidSymbol; enum cudaErrorInvalidHostPointer = cudaError.cudaErrorInvalidHostPointer; enum cudaErrorInvalidDevicePointer = cudaError.cudaErrorInvalidDevicePointer; enum cudaErrorInvalidTexture = cudaError.cudaErrorInvalidTexture; enum cudaErrorInvalidTextureBinding = cudaError.cudaErrorInvalidTextureBinding; enum cudaErrorInvalidChannelDescriptor = cudaError.cudaErrorInvalidChannelDescriptor; enum cudaErrorInvalidMemcpyDirection = cudaError.cudaErrorInvalidMemcpyDirection; enum cudaErrorAddressOfConstant = cudaError.cudaErrorAddressOfConstant; enum cudaErrorTextureFetchFailed = cudaError.cudaErrorTextureFetchFailed; enum cudaErrorTextureNotBound = cudaError.cudaErrorTextureNotBound; enum cudaErrorSynchronizationError = cudaError.cudaErrorSynchronizationError; enum cudaErrorInvalidFilterSetting = cudaError.cudaErrorInvalidFilterSetting; enum cudaErrorInvalidNormSetting = cudaError.cudaErrorInvalidNormSetting; enum cudaErrorMixedDeviceExecution = cudaError.cudaErrorMixedDeviceExecution; enum cudaErrorNotYetImplemented = cudaError.cudaErrorNotYetImplemented; enum cudaErrorMemoryValueTooLarge = cudaError.cudaErrorMemoryValueTooLarge; enum cudaErrorInsufficientDriver = cudaError.cudaErrorInsufficientDriver; enum cudaErrorInvalidSurface = cudaError.cudaErrorInvalidSurface; enum cudaErrorDuplicateVariableName = cudaError.cudaErrorDuplicateVariableName; enum cudaErrorDuplicateTextureName = cudaError.cudaErrorDuplicateTextureName; enum cudaErrorDuplicateSurfaceName = cudaError.cudaErrorDuplicateSurfaceName; enum cudaErrorDevicesUnavailable = cudaError.cudaErrorDevicesUnavailable; enum cudaErrorIncompatibleDriverContext = cudaError.cudaErrorIncompatibleDriverContext; enum cudaErrorMissingConfiguration = cudaError.cudaErrorMissingConfiguration; enum cudaErrorPriorLaunchFailure = cudaError.cudaErrorPriorLaunchFailure; enum cudaErrorLaunchMaxDepthExceeded = cudaError.cudaErrorLaunchMaxDepthExceeded; enum cudaErrorLaunchFileScopedTex = cudaError.cudaErrorLaunchFileScopedTex; enum cudaErrorLaunchFileScopedSurf = cudaError.cudaErrorLaunchFileScopedSurf; enum cudaErrorSyncDepthExceeded = cudaError.cudaErrorSyncDepthExceeded; enum cudaErrorLaunchPendingCountExceeded = cudaError.cudaErrorLaunchPendingCountExceeded; enum cudaErrorInvalidDeviceFunction = cudaError.cudaErrorInvalidDeviceFunction; enum cudaErrorNoDevice = cudaError.cudaErrorNoDevice; enum cudaErrorInvalidDevice = cudaError.cudaErrorInvalidDevice; enum cudaErrorStartupFailure = cudaError.cudaErrorStartupFailure; enum cudaErrorInvalidKernelImage = cudaError.cudaErrorInvalidKernelImage; enum cudaErrorDeviceUninitialized = cudaError.cudaErrorDeviceUninitialized; enum cudaErrorMapBufferObjectFailed = cudaError.cudaErrorMapBufferObjectFailed; enum cudaErrorUnmapBufferObjectFailed = cudaError.cudaErrorUnmapBufferObjectFailed; enum cudaErrorArrayIsMapped = cudaError.cudaErrorArrayIsMapped; enum cudaErrorAlreadyMapped = cudaError.cudaErrorAlreadyMapped; enum cudaErrorNoKernelImageForDevice = cudaError.cudaErrorNoKernelImageForDevice; enum cudaErrorAlreadyAcquired = cudaError.cudaErrorAlreadyAcquired; enum cudaErrorNotMapped = cudaError.cudaErrorNotMapped; enum cudaErrorNotMappedAsArray = cudaError.cudaErrorNotMappedAsArray; enum cudaErrorNotMappedAsPointer = cudaError.cudaErrorNotMappedAsPointer; enum cudaErrorECCUncorrectable = cudaError.cudaErrorECCUncorrectable; enum cudaErrorUnsupportedLimit = cudaError.cudaErrorUnsupportedLimit; enum cudaErrorDeviceAlreadyInUse = cudaError.cudaErrorDeviceAlreadyInUse; enum cudaErrorPeerAccessUnsupported = cudaError.cudaErrorPeerAccessUnsupported; enum cudaErrorInvalidPtx = cudaError.cudaErrorInvalidPtx; enum cudaErrorInvalidGraphicsContext = cudaError.cudaErrorInvalidGraphicsContext; enum cudaErrorNvlinkUncorrectable = cudaError.cudaErrorNvlinkUncorrectable; enum cudaErrorJitCompilerNotFound = cudaError.cudaErrorJitCompilerNotFound; enum cudaErrorInvalidSource = cudaError.cudaErrorInvalidSource; enum cudaErrorFileNotFound = cudaError.cudaErrorFileNotFound; enum cudaErrorSharedObjectSymbolNotFound = cudaError.cudaErrorSharedObjectSymbolNotFound; enum cudaErrorSharedObjectInitFailed = cudaError.cudaErrorSharedObjectInitFailed; enum cudaErrorOperatingSystem = cudaError.cudaErrorOperatingSystem; enum cudaErrorInvalidResourceHandle = cudaError.cudaErrorInvalidResourceHandle; enum cudaErrorIllegalState = cudaError.cudaErrorIllegalState; enum cudaErrorSymbolNotFound = cudaError.cudaErrorSymbolNotFound; enum cudaErrorNotReady = cudaError.cudaErrorNotReady; enum cudaErrorIllegalAddress = cudaError.cudaErrorIllegalAddress; enum cudaErrorLaunchOutOfResources = cudaError.cudaErrorLaunchOutOfResources; enum cudaErrorLaunchTimeout = cudaError.cudaErrorLaunchTimeout; enum cudaErrorLaunchIncompatibleTexturing = cudaError.cudaErrorLaunchIncompatibleTexturing; enum cudaErrorPeerAccessAlreadyEnabled = cudaError.cudaErrorPeerAccessAlreadyEnabled; enum cudaErrorPeerAccessNotEnabled = cudaError.cudaErrorPeerAccessNotEnabled; enum cudaErrorSetOnActiveProcess = cudaError.cudaErrorSetOnActiveProcess; enum cudaErrorContextIsDestroyed = cudaError.cudaErrorContextIsDestroyed; enum cudaErrorAssert = cudaError.cudaErrorAssert; enum cudaErrorTooManyPeers = cudaError.cudaErrorTooManyPeers; enum cudaErrorHostMemoryAlreadyRegistered = cudaError.cudaErrorHostMemoryAlreadyRegistered; enum cudaErrorHostMemoryNotRegistered = cudaError.cudaErrorHostMemoryNotRegistered; enum cudaErrorHardwareStackError = cudaError.cudaErrorHardwareStackError; enum cudaErrorIllegalInstruction = cudaError.cudaErrorIllegalInstruction; enum cudaErrorMisalignedAddress = cudaError.cudaErrorMisalignedAddress; enum cudaErrorInvalidAddressSpace = cudaError.cudaErrorInvalidAddressSpace; enum cudaErrorInvalidPc = cudaError.cudaErrorInvalidPc; enum cudaErrorLaunchFailure = cudaError.cudaErrorLaunchFailure; enum cudaErrorCooperativeLaunchTooLarge = cudaError.cudaErrorCooperativeLaunchTooLarge; enum cudaErrorNotPermitted = cudaError.cudaErrorNotPermitted; enum cudaErrorNotSupported = cudaError.cudaErrorNotSupported; enum cudaErrorSystemNotReady = cudaError.cudaErrorSystemNotReady; enum cudaErrorSystemDriverMismatch = cudaError.cudaErrorSystemDriverMismatch; enum cudaErrorCompatNotSupportedOnDevice = cudaError.cudaErrorCompatNotSupportedOnDevice; enum cudaErrorStreamCaptureUnsupported = cudaError.cudaErrorStreamCaptureUnsupported; enum cudaErrorStreamCaptureInvalidated = cudaError.cudaErrorStreamCaptureInvalidated; enum cudaErrorStreamCaptureMerge = cudaError.cudaErrorStreamCaptureMerge; enum cudaErrorStreamCaptureUnmatched = cudaError.cudaErrorStreamCaptureUnmatched; enum cudaErrorStreamCaptureUnjoined = cudaError.cudaErrorStreamCaptureUnjoined; enum cudaErrorStreamCaptureIsolation = cudaError.cudaErrorStreamCaptureIsolation; enum cudaErrorStreamCaptureImplicit = cudaError.cudaErrorStreamCaptureImplicit; enum cudaErrorCapturedEvent = cudaError.cudaErrorCapturedEvent; enum cudaErrorStreamCaptureWrongThread = cudaError.cudaErrorStreamCaptureWrongThread; enum cudaErrorTimeout = cudaError.cudaErrorTimeout; enum cudaErrorGraphExecUpdateFailure = cudaError.cudaErrorGraphExecUpdateFailure; enum cudaErrorUnknown = cudaError.cudaErrorUnknown; enum cudaErrorApiFailureBase = cudaError.cudaErrorApiFailureBase; static cudaExtent make_cudaExtent(c_ulong, c_ulong, c_ulong) @nogc nothrow; static cudaPos make_cudaPos(c_ulong, c_ulong, c_ulong) @nogc nothrow; static cudaPitchedPtr make_cudaPitchedPtr(void*, c_ulong, c_ulong, c_ulong) @nogc nothrow; enum cudaRoundMode { cudaRoundNearest = 0, cudaRoundZero = 1, cudaRoundPosInf = 2, cudaRoundMinInf = 3, } enum cudaRoundNearest = cudaRoundMode.cudaRoundNearest; enum cudaRoundZero = cudaRoundMode.cudaRoundZero; enum cudaRoundPosInf = cudaRoundMode.cudaRoundPosInf; enum cudaRoundMinInf = cudaRoundMode.cudaRoundMinInf; alias int8_t = byte; alias int16_t = short; alias int32_t = int; alias int64_t = c_long; alias uint8_t = ubyte; alias uint16_t = ushort; alias uint32_t = uint; alias uint64_t = ulong; alias __u_char = ubyte; alias __u_short = ushort; alias __u_int = uint; alias __u_long = c_ulong; alias __int8_t = byte; alias __uint8_t = ubyte; alias __int16_t = short; alias __uint16_t = ushort; alias __int32_t = int; alias __uint32_t = uint; alias __int64_t = c_long; alias __uint64_t = c_ulong; alias __quad_t = c_long; alias __u_quad_t = c_ulong; alias __intmax_t = c_long; alias __uintmax_t = c_ulong; cudnnStatus_t cudnnSetRNNDescriptor_v5(cudnnRNNStruct*, int, int, cudnnDropoutStruct*, cudnnRNNInputMode_t, cudnnDirectionMode_t, cudnnRNNMode_t, cudnnDataType_t) @nogc nothrow; cudnnStatus_t cudnnSetRNNDescriptor_v6(cudnnContext*, cudnnRNNStruct*, const(int), const(int), cudnnDropoutStruct*, cudnnRNNInputMode_t, cudnnDirectionMode_t, cudnnRNNMode_t, cudnnRNNAlgo_t, cudnnDataType_t) @nogc nothrow; cudnnStatus_t cudnnFusedOpsExecute(cudnnContext*, const(cudnnFusedOpsPlanStruct*), cudnnFusedOpsVariantParamStruct*) @nogc nothrow; cudnnStatus_t cudnnMakeFusedOpsPlan(cudnnContext*, cudnnFusedOpsPlanStruct*, const(cudnnFusedOpsConstParamStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnDestroyFusedOpsPlan(cudnnFusedOpsPlanStruct*) @nogc nothrow; cudnnStatus_t cudnnCreateFusedOpsPlan(cudnnFusedOpsPlanStruct**, cudnnFusedOps_t) @nogc nothrow; cudnnStatus_t cudnnGetFusedOpsVariantParamPackAttribute(const(cudnnFusedOpsVariantParamStruct*), cudnnFusedOpsVariantParamLabel_t, void*) @nogc nothrow; cudnnStatus_t cudnnSetFusedOpsVariantParamPackAttribute(cudnnFusedOpsVariantParamStruct*, cudnnFusedOpsVariantParamLabel_t, void*) @nogc nothrow; alias __dev_t = c_ulong; alias __uid_t = uint; alias __gid_t = uint; alias __ino_t = c_ulong; alias __ino64_t = c_ulong; alias __mode_t = uint; alias __nlink_t = c_ulong; alias __off_t = c_long; alias __off64_t = c_long; alias __pid_t = int; struct __fsid_t { int[2] __val; } alias __clock_t = c_long; alias __rlim_t = c_ulong; alias __rlim64_t = c_ulong; alias __id_t = uint; alias __time_t = c_long; alias __useconds_t = uint; alias __suseconds_t = c_long; alias __daddr_t = int; alias __key_t = int; alias __clockid_t = int; alias __timer_t = void*; alias __blksize_t = c_long; alias __blkcnt_t = c_long; alias __blkcnt64_t = c_long; alias __fsblkcnt_t = c_ulong; alias __fsblkcnt64_t = c_ulong; alias __fsfilcnt_t = c_ulong; alias __fsfilcnt64_t = c_ulong; alias __fsword_t = c_long; alias __ssize_t = c_long; alias __syscall_slong_t = c_long; alias __syscall_ulong_t = c_ulong; alias __loff_t = c_long; alias __caddr_t = char*; alias __intptr_t = c_long; alias __socklen_t = uint; alias __sig_atomic_t = int; cudnnStatus_t cudnnDestroyFusedOpsVariantParamPack(cudnnFusedOpsVariantParamStruct*) @nogc nothrow; cudnnStatus_t cudnnCreateFusedOpsVariantParamPack(cudnnFusedOpsVariantParamStruct**, cudnnFusedOps_t) @nogc nothrow; cudnnStatus_t cudnnGetFusedOpsConstParamPackAttribute(const(cudnnFusedOpsConstParamStruct*), cudnnFusedOpsConstParamLabel_t, void*, int*) @nogc nothrow; cudnnStatus_t cudnnSetFusedOpsConstParamPackAttribute(cudnnFusedOpsConstParamStruct*, cudnnFusedOpsConstParamLabel_t, const(void)*) @nogc nothrow; cudnnStatus_t cudnnDestroyFusedOpsConstParamPack(cudnnFusedOpsConstParamStruct*) @nogc nothrow; cudnnStatus_t cudnnCreateFusedOpsConstParamPack(cudnnFusedOpsConstParamStruct**, cudnnFusedOps_t) @nogc nothrow; enum _Anonymous_17 { CUDNN_PTR_XDATA = 0, CUDNN_PTR_BN_EQSCALE = 1, CUDNN_PTR_BN_EQBIAS = 2, CUDNN_PTR_WDATA = 3, CUDNN_PTR_DWDATA = 4, CUDNN_PTR_YDATA = 5, CUDNN_PTR_DYDATA = 6, CUDNN_PTR_YSUM = 7, CUDNN_PTR_YSQSUM = 8, CUDNN_PTR_WORKSPACE = 9, CUDNN_PTR_BN_SCALE = 10, CUDNN_PTR_BN_BIAS = 11, CUDNN_PTR_BN_SAVED_MEAN = 12, CUDNN_PTR_BN_SAVED_INVSTD = 13, CUDNN_PTR_BN_RUNNING_MEAN = 14, CUDNN_PTR_BN_RUNNING_VAR = 15, CUDNN_PTR_ZDATA = 16, CUDNN_PTR_BN_Z_EQSCALE = 17, CUDNN_PTR_BN_Z_EQBIAS = 18, CUDNN_PTR_ACTIVATION_BITMASK = 19, CUDNN_PTR_DXDATA = 20, CUDNN_PTR_DZDATA = 21, CUDNN_PTR_BN_DSCALE = 22, CUDNN_PTR_BN_DBIAS = 23, CUDNN_SCALAR_SIZE_T_WORKSPACE_SIZE_IN_BYTES = 100, CUDNN_SCALAR_INT64_T_BN_ACCUMULATION_COUNT = 101, CUDNN_SCALAR_DOUBLE_BN_EXP_AVG_FACTOR = 102, CUDNN_SCALAR_DOUBLE_BN_EPSILON = 103, } enum CUDNN_PTR_XDATA = _Anonymous_17.CUDNN_PTR_XDATA; enum CUDNN_PTR_BN_EQSCALE = _Anonymous_17.CUDNN_PTR_BN_EQSCALE; enum CUDNN_PTR_BN_EQBIAS = _Anonymous_17.CUDNN_PTR_BN_EQBIAS; enum CUDNN_PTR_WDATA = _Anonymous_17.CUDNN_PTR_WDATA; enum CUDNN_PTR_DWDATA = _Anonymous_17.CUDNN_PTR_DWDATA; enum CUDNN_PTR_YDATA = _Anonymous_17.CUDNN_PTR_YDATA; enum CUDNN_PTR_DYDATA = _Anonymous_17.CUDNN_PTR_DYDATA; enum CUDNN_PTR_YSUM = _Anonymous_17.CUDNN_PTR_YSUM; enum CUDNN_PTR_YSQSUM = _Anonymous_17.CUDNN_PTR_YSQSUM; enum CUDNN_PTR_WORKSPACE = _Anonymous_17.CUDNN_PTR_WORKSPACE; enum CUDNN_PTR_BN_SCALE = _Anonymous_17.CUDNN_PTR_BN_SCALE; enum CUDNN_PTR_BN_BIAS = _Anonymous_17.CUDNN_PTR_BN_BIAS; enum CUDNN_PTR_BN_SAVED_MEAN = _Anonymous_17.CUDNN_PTR_BN_SAVED_MEAN; enum CUDNN_PTR_BN_SAVED_INVSTD = _Anonymous_17.CUDNN_PTR_BN_SAVED_INVSTD; enum CUDNN_PTR_BN_RUNNING_MEAN = _Anonymous_17.CUDNN_PTR_BN_RUNNING_MEAN; enum CUDNN_PTR_BN_RUNNING_VAR = _Anonymous_17.CUDNN_PTR_BN_RUNNING_VAR; enum CUDNN_PTR_ZDATA = _Anonymous_17.CUDNN_PTR_ZDATA; enum CUDNN_PTR_BN_Z_EQSCALE = _Anonymous_17.CUDNN_PTR_BN_Z_EQSCALE; enum CUDNN_PTR_BN_Z_EQBIAS = _Anonymous_17.CUDNN_PTR_BN_Z_EQBIAS; enum CUDNN_PTR_ACTIVATION_BITMASK = _Anonymous_17.CUDNN_PTR_ACTIVATION_BITMASK; enum CUDNN_PTR_DXDATA = _Anonymous_17.CUDNN_PTR_DXDATA; enum CUDNN_PTR_DZDATA = _Anonymous_17.CUDNN_PTR_DZDATA; enum CUDNN_PTR_BN_DSCALE = _Anonymous_17.CUDNN_PTR_BN_DSCALE; enum CUDNN_PTR_BN_DBIAS = _Anonymous_17.CUDNN_PTR_BN_DBIAS; enum CUDNN_SCALAR_SIZE_T_WORKSPACE_SIZE_IN_BYTES = _Anonymous_17.CUDNN_SCALAR_SIZE_T_WORKSPACE_SIZE_IN_BYTES; enum CUDNN_SCALAR_INT64_T_BN_ACCUMULATION_COUNT = _Anonymous_17.CUDNN_SCALAR_INT64_T_BN_ACCUMULATION_COUNT; enum CUDNN_SCALAR_DOUBLE_BN_EXP_AVG_FACTOR = _Anonymous_17.CUDNN_SCALAR_DOUBLE_BN_EXP_AVG_FACTOR; enum CUDNN_SCALAR_DOUBLE_BN_EPSILON = _Anonymous_17.CUDNN_SCALAR_DOUBLE_BN_EPSILON; alias cudnnFusedOpsVariantParamLabel_t = _Anonymous_17; enum _Anonymous_18 { CUDNN_PTR_NULL = 0, CUDNN_PTR_ELEM_ALIGNED = 1, CUDNN_PTR_16B_ALIGNED = 2, } enum CUDNN_PTR_NULL = _Anonymous_18.CUDNN_PTR_NULL; enum CUDNN_PTR_ELEM_ALIGNED = _Anonymous_18.CUDNN_PTR_ELEM_ALIGNED; enum CUDNN_PTR_16B_ALIGNED = _Anonymous_18.CUDNN_PTR_16B_ALIGNED; alias cudnnFusedOpsPointerPlaceHolder_t = _Anonymous_18; enum _Anonymous_19 { CUDNN_PARAM_XDESC = 0, CUDNN_PARAM_XDATA_PLACEHOLDER = 1, CUDNN_PARAM_BN_MODE = 2, CUDNN_PARAM_BN_EQSCALEBIAS_DESC = 3, CUDNN_PARAM_BN_EQSCALE_PLACEHOLDER = 4, CUDNN_PARAM_BN_EQBIAS_PLACEHOLDER = 5, CUDNN_PARAM_ACTIVATION_DESC = 6, CUDNN_PARAM_CONV_DESC = 7, CUDNN_PARAM_WDESC = 8, CUDNN_PARAM_WDATA_PLACEHOLDER = 9, CUDNN_PARAM_DWDESC = 10, CUDNN_PARAM_DWDATA_PLACEHOLDER = 11, CUDNN_PARAM_YDESC = 12, CUDNN_PARAM_YDATA_PLACEHOLDER = 13, CUDNN_PARAM_DYDESC = 14, CUDNN_PARAM_DYDATA_PLACEHOLDER = 15, CUDNN_PARAM_YSTATS_DESC = 16, CUDNN_PARAM_YSUM_PLACEHOLDER = 17, CUDNN_PARAM_YSQSUM_PLACEHOLDER = 18, CUDNN_PARAM_BN_SCALEBIAS_MEANVAR_DESC = 19, CUDNN_PARAM_BN_SCALE_PLACEHOLDER = 20, CUDNN_PARAM_BN_BIAS_PLACEHOLDER = 21, CUDNN_PARAM_BN_SAVED_MEAN_PLACEHOLDER = 22, CUDNN_PARAM_BN_SAVED_INVSTD_PLACEHOLDER = 23, CUDNN_PARAM_BN_RUNNING_MEAN_PLACEHOLDER = 24, CUDNN_PARAM_BN_RUNNING_VAR_PLACEHOLDER = 25, CUDNN_PARAM_ZDESC = 26, CUDNN_PARAM_ZDATA_PLACEHOLDER = 27, CUDNN_PARAM_BN_Z_EQSCALEBIAS_DESC = 28, CUDNN_PARAM_BN_Z_EQSCALE_PLACEHOLDER = 29, CUDNN_PARAM_BN_Z_EQBIAS_PLACEHOLDER = 30, CUDNN_PARAM_ACTIVATION_BITMASK_DESC = 31, CUDNN_PARAM_ACTIVATION_BITMASK_PLACEHOLDER = 32, CUDNN_PARAM_DXDESC = 33, CUDNN_PARAM_DXDATA_PLACEHOLDER = 34, CUDNN_PARAM_DZDESC = 35, CUDNN_PARAM_DZDATA_PLACEHOLDER = 36, CUDNN_PARAM_BN_DSCALE_PLACEHOLDER = 37, CUDNN_PARAM_BN_DBIAS_PLACEHOLDER = 38, } enum CUDNN_PARAM_XDESC = _Anonymous_19.CUDNN_PARAM_XDESC; enum CUDNN_PARAM_XDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_XDATA_PLACEHOLDER; enum CUDNN_PARAM_BN_MODE = _Anonymous_19.CUDNN_PARAM_BN_MODE; enum CUDNN_PARAM_BN_EQSCALEBIAS_DESC = _Anonymous_19.CUDNN_PARAM_BN_EQSCALEBIAS_DESC; enum CUDNN_PARAM_BN_EQSCALE_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_EQSCALE_PLACEHOLDER; enum CUDNN_PARAM_BN_EQBIAS_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_EQBIAS_PLACEHOLDER; enum CUDNN_PARAM_ACTIVATION_DESC = _Anonymous_19.CUDNN_PARAM_ACTIVATION_DESC; enum CUDNN_PARAM_CONV_DESC = _Anonymous_19.CUDNN_PARAM_CONV_DESC; enum CUDNN_PARAM_WDESC = _Anonymous_19.CUDNN_PARAM_WDESC; enum CUDNN_PARAM_WDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_WDATA_PLACEHOLDER; enum CUDNN_PARAM_DWDESC = _Anonymous_19.CUDNN_PARAM_DWDESC; enum CUDNN_PARAM_DWDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_DWDATA_PLACEHOLDER; enum CUDNN_PARAM_YDESC = _Anonymous_19.CUDNN_PARAM_YDESC; enum CUDNN_PARAM_YDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_YDATA_PLACEHOLDER; enum CUDNN_PARAM_DYDESC = _Anonymous_19.CUDNN_PARAM_DYDESC; enum CUDNN_PARAM_DYDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_DYDATA_PLACEHOLDER; enum CUDNN_PARAM_YSTATS_DESC = _Anonymous_19.CUDNN_PARAM_YSTATS_DESC; enum CUDNN_PARAM_YSUM_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_YSUM_PLACEHOLDER; enum CUDNN_PARAM_YSQSUM_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_YSQSUM_PLACEHOLDER; enum CUDNN_PARAM_BN_SCALEBIAS_MEANVAR_DESC = _Anonymous_19.CUDNN_PARAM_BN_SCALEBIAS_MEANVAR_DESC; enum CUDNN_PARAM_BN_SCALE_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_SCALE_PLACEHOLDER; enum CUDNN_PARAM_BN_BIAS_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_BIAS_PLACEHOLDER; enum CUDNN_PARAM_BN_SAVED_MEAN_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_SAVED_MEAN_PLACEHOLDER; enum CUDNN_PARAM_BN_SAVED_INVSTD_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_SAVED_INVSTD_PLACEHOLDER; enum CUDNN_PARAM_BN_RUNNING_MEAN_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_RUNNING_MEAN_PLACEHOLDER; enum CUDNN_PARAM_BN_RUNNING_VAR_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_RUNNING_VAR_PLACEHOLDER; enum CUDNN_PARAM_ZDESC = _Anonymous_19.CUDNN_PARAM_ZDESC; enum CUDNN_PARAM_ZDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_ZDATA_PLACEHOLDER; enum CUDNN_PARAM_BN_Z_EQSCALEBIAS_DESC = _Anonymous_19.CUDNN_PARAM_BN_Z_EQSCALEBIAS_DESC; enum CUDNN_PARAM_BN_Z_EQSCALE_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_Z_EQSCALE_PLACEHOLDER; enum CUDNN_PARAM_BN_Z_EQBIAS_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_Z_EQBIAS_PLACEHOLDER; enum CUDNN_PARAM_ACTIVATION_BITMASK_DESC = _Anonymous_19.CUDNN_PARAM_ACTIVATION_BITMASK_DESC; enum CUDNN_PARAM_ACTIVATION_BITMASK_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_ACTIVATION_BITMASK_PLACEHOLDER; enum CUDNN_PARAM_DXDESC = _Anonymous_19.CUDNN_PARAM_DXDESC; enum CUDNN_PARAM_DXDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_DXDATA_PLACEHOLDER; enum CUDNN_PARAM_DZDESC = _Anonymous_19.CUDNN_PARAM_DZDESC; enum CUDNN_PARAM_DZDATA_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_DZDATA_PLACEHOLDER; enum CUDNN_PARAM_BN_DSCALE_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_DSCALE_PLACEHOLDER; enum CUDNN_PARAM_BN_DBIAS_PLACEHOLDER = _Anonymous_19.CUDNN_PARAM_BN_DBIAS_PLACEHOLDER; alias cudnnFusedOpsConstParamLabel_t = _Anonymous_19; enum _Anonymous_20 { CUDNN_FUSED_SCALE_BIAS_ACTIVATION_CONV_BNSTATS = 0, CUDNN_FUSED_SCALE_BIAS_ACTIVATION_WGRAD = 1, CUDNN_FUSED_BN_FINALIZE_STATISTICS_TRAINING = 2, CUDNN_FUSED_BN_FINALIZE_STATISTICS_INFERENCE = 3, CUDNN_FUSED_CONV_SCALE_BIAS_ADD_ACTIVATION = 4, CUDNN_FUSED_SCALE_BIAS_ADD_ACTIVATION_GEN_BITMASK = 5, CUDNN_FUSED_DACTIVATION_FORK_DBATCHNORM = 6, } enum CUDNN_FUSED_SCALE_BIAS_ACTIVATION_CONV_BNSTATS = _Anonymous_20.CUDNN_FUSED_SCALE_BIAS_ACTIVATION_CONV_BNSTATS; enum CUDNN_FUSED_SCALE_BIAS_ACTIVATION_WGRAD = _Anonymous_20.CUDNN_FUSED_SCALE_BIAS_ACTIVATION_WGRAD; enum CUDNN_FUSED_BN_FINALIZE_STATISTICS_TRAINING = _Anonymous_20.CUDNN_FUSED_BN_FINALIZE_STATISTICS_TRAINING; enum CUDNN_FUSED_BN_FINALIZE_STATISTICS_INFERENCE = _Anonymous_20.CUDNN_FUSED_BN_FINALIZE_STATISTICS_INFERENCE; enum CUDNN_FUSED_CONV_SCALE_BIAS_ADD_ACTIVATION = _Anonymous_20.CUDNN_FUSED_CONV_SCALE_BIAS_ADD_ACTIVATION; enum CUDNN_FUSED_SCALE_BIAS_ADD_ACTIVATION_GEN_BITMASK = _Anonymous_20.CUDNN_FUSED_SCALE_BIAS_ADD_ACTIVATION_GEN_BITMASK; enum CUDNN_FUSED_DACTIVATION_FORK_DBATCHNORM = _Anonymous_20.CUDNN_FUSED_DACTIVATION_FORK_DBATCHNORM; alias cudnnFusedOps_t = _Anonymous_20; alias cudnnFusedOpsPlan_t = cudnnFusedOpsPlanStruct*; struct cudnnFusedOpsPlanStruct; alias cudnnFusedOpsVariantParamPack_t = cudnnFusedOpsVariantParamStruct*; struct cudnnFusedOpsVariantParamStruct; alias cudnnFusedOpsConstParamPack_t = cudnnFusedOpsConstParamStruct*; struct cudnnFusedOpsConstParamStruct; cudnnStatus_t cudnnGetCallback(uint*, void**, void function(cudnnSeverity_t, void*, const(cudnnDebug_t)*, const(char)*)*) @nogc nothrow; cudnnStatus_t cudnnSetCallback(uint, void*, void function(cudnnSeverity_t, void*, const(cudnnDebug_t)*, const(char)*)) @nogc nothrow; alias cudnnCallback_t = void function(cudnnSeverity_t, void*, const(cudnnDebug_t)*, const(char)*); struct cudnnDebug_t { uint cudnn_version; cudnnStatus_t cudnnStatus; uint time_sec; uint time_usec; uint time_delta; cudnnContext* handle; CUstream_st* stream; ulong pid; ulong tid; int cudaDeviceId; int[15] reserved; } enum _Anonymous_21 { CUDNN_SEV_FATAL = 0, CUDNN_SEV_ERROR = 1, CUDNN_SEV_WARNING = 2, CUDNN_SEV_INFO = 3, } enum CUDNN_SEV_FATAL = _Anonymous_21.CUDNN_SEV_FATAL; enum CUDNN_SEV_ERROR = _Anonymous_21.CUDNN_SEV_ERROR; enum CUDNN_SEV_WARNING = _Anonymous_21.CUDNN_SEV_WARNING; enum CUDNN_SEV_INFO = _Anonymous_21.CUDNN_SEV_INFO; alias cudnnSeverity_t = _Anonymous_21; cudnnStatus_t cudnnRestoreAlgorithm(cudnnContext*, void*, c_ulong, cudnnAlgorithmStruct*) @nogc nothrow; cudnnStatus_t cudnnSaveAlgorithm(cudnnContext*, cudnnAlgorithmStruct*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetAlgorithmSpaceSize(cudnnContext*, cudnnAlgorithmStruct*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnDestroyAlgorithmPerformance(cudnnAlgorithmPerformanceStruct**, int) @nogc nothrow; cudnnStatus_t cudnnGetAlgorithmPerformance(const(cudnnAlgorithmPerformanceStruct*), cudnnAlgorithmStruct**, cudnnStatus_t*, float*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnSetAlgorithmPerformance(cudnnAlgorithmPerformanceStruct*, cudnnAlgorithmStruct*, cudnnStatus_t, float, c_ulong) @nogc nothrow; cudnnStatus_t cudnnCreateAlgorithmPerformance(cudnnAlgorithmPerformanceStruct**, int) @nogc nothrow; cudnnStatus_t cudnnDestroyAlgorithmDescriptor(cudnnAlgorithmStruct*) @nogc nothrow; cudnnStatus_t cudnnCopyAlgorithmDescriptor(const(cudnnAlgorithmStruct*), cudnnAlgorithmStruct*) @nogc nothrow; cudnnStatus_t cudnnGetAlgorithmDescriptor(const(cudnnAlgorithmStruct*), cudnnAlgorithm_t*) @nogc nothrow; cudnnStatus_t cudnnSetAlgorithmDescriptor(cudnnAlgorithmStruct*, cudnnAlgorithm_t) @nogc nothrow; cudnnStatus_t cudnnCreateAlgorithmDescriptor(cudnnAlgorithmStruct**) @nogc nothrow; struct cudnnAlgorithm_t { union Algorithm { cudnnConvolutionFwdAlgo_t convFwdAlgo; cudnnConvolutionBwdFilterAlgo_t convBwdFilterAlgo; cudnnConvolutionBwdDataAlgo_t convBwdDataAlgo; cudnnRNNAlgo_t RNNAlgo; cudnnCTCLossAlgo_t CTCLossAlgo; } cudnnAlgorithm_t.Algorithm algo; } cudnnStatus_t cudnnGetCTCLossWorkspaceSize(cudnnContext*, const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(int)*, const(int)*, const(int)*, cudnnCTCLossAlgo_t, cudnnCTCLossStruct*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnCTCLoss(cudnnContext*, const(cudnnTensorStruct*), const(void)*, const(int)*, const(int)*, const(int)*, void*, const(cudnnTensorStruct*), const(void)*, cudnnCTCLossAlgo_t, cudnnCTCLossStruct*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnDestroyCTCLossDescriptor(cudnnCTCLossStruct*) @nogc nothrow; cudnnStatus_t cudnnGetCTCLossDescriptorEx(cudnnCTCLossStruct*, cudnnDataType_t*, cudnnLossNormalizationMode_t*, cudnnNanPropagation_t*) @nogc nothrow; cudnnStatus_t cudnnGetCTCLossDescriptor(cudnnCTCLossStruct*, cudnnDataType_t*) @nogc nothrow; cudnnStatus_t cudnnSetCTCLossDescriptorEx(cudnnCTCLossStruct*, cudnnDataType_t, cudnnLossNormalizationMode_t, cudnnNanPropagation_t) @nogc nothrow; cudnnStatus_t cudnnSetCTCLossDescriptor(cudnnCTCLossStruct*, cudnnDataType_t) @nogc nothrow; cudnnStatus_t cudnnCreateCTCLossDescriptor(cudnnCTCLossStruct**) @nogc nothrow; enum _Anonymous_22 { CUDNN_LOSS_NORMALIZATION_NONE = 0, CUDNN_LOSS_NORMALIZATION_SOFTMAX = 1, } enum CUDNN_LOSS_NORMALIZATION_NONE = _Anonymous_22.CUDNN_LOSS_NORMALIZATION_NONE; enum CUDNN_LOSS_NORMALIZATION_SOFTMAX = _Anonymous_22.CUDNN_LOSS_NORMALIZATION_SOFTMAX; alias cudnnLossNormalizationMode_t = _Anonymous_22; enum _Anonymous_23 { CUDNN_CTC_LOSS_ALGO_DETERMINISTIC = 0, CUDNN_CTC_LOSS_ALGO_NON_DETERMINISTIC = 1, } enum CUDNN_CTC_LOSS_ALGO_DETERMINISTIC = _Anonymous_23.CUDNN_CTC_LOSS_ALGO_DETERMINISTIC; enum CUDNN_CTC_LOSS_ALGO_NON_DETERMINISTIC = _Anonymous_23.CUDNN_CTC_LOSS_ALGO_NON_DETERMINISTIC; alias cudnnCTCLossAlgo_t = _Anonymous_23; cudnnStatus_t cudnnMultiHeadAttnBackwardWeights(cudnnContext*, const(cudnnAttnStruct*), cudnnWgradMode_t, const(cudnnSeqDataStruct*), const(void)*, const(cudnnSeqDataStruct*), const(void)*, const(cudnnSeqDataStruct*), const(void)*, const(cudnnSeqDataStruct*), const(void)*, c_ulong, const(void)*, void*, c_ulong, void*, c_ulong, void*) @nogc nothrow; enum _Anonymous_24 { CUDNN_WGRAD_MODE_ADD = 0, CUDNN_WGRAD_MODE_SET = 1, } enum CUDNN_WGRAD_MODE_ADD = _Anonymous_24.CUDNN_WGRAD_MODE_ADD; enum CUDNN_WGRAD_MODE_SET = _Anonymous_24.CUDNN_WGRAD_MODE_SET; alias cudnnWgradMode_t = _Anonymous_24; cudnnStatus_t cudnnMultiHeadAttnBackwardData(cudnnContext*, const(cudnnAttnStruct*), const(int)*, const(int)*, const(int)*, const(int)*, const(cudnnSeqDataStruct*), const(void)*, const(cudnnSeqDataStruct*), void*, const(void)*, const(cudnnSeqDataStruct*), void*, const(void)*, const(cudnnSeqDataStruct*), void*, const(void)*, c_ulong, const(void)*, c_ulong, void*, c_ulong, void*) @nogc nothrow; cudnnStatus_t cudnnMultiHeadAttnForward(cudnnContext*, const(cudnnAttnStruct*), int, const(int)*, const(int)*, const(int)*, const(int)*, const(cudnnSeqDataStruct*), const(void)*, const(void)*, const(cudnnSeqDataStruct*), const(void)*, const(cudnnSeqDataStruct*), const(void)*, const(cudnnSeqDataStruct*), void*, c_ulong, const(void)*, c_ulong, void*, c_ulong, void*) @nogc nothrow; cudnnStatus_t cudnnGetMultiHeadAttnWeights(cudnnContext*, const(cudnnAttnStruct*), cudnnMultiHeadAttnWeightKind_t, c_ulong, const(void)*, cudnnTensorStruct*, void**) @nogc nothrow; enum _Anonymous_25 { CUDNN_MH_ATTN_Q_WEIGHTS = 0, CUDNN_MH_ATTN_K_WEIGHTS = 1, CUDNN_MH_ATTN_V_WEIGHTS = 2, CUDNN_MH_ATTN_O_WEIGHTS = 3, CUDNN_MH_ATTN_Q_BIASES = 4, CUDNN_MH_ATTN_K_BIASES = 5, CUDNN_MH_ATTN_V_BIASES = 6, CUDNN_MH_ATTN_O_BIASES = 7, } enum CUDNN_MH_ATTN_Q_WEIGHTS = _Anonymous_25.CUDNN_MH_ATTN_Q_WEIGHTS; enum CUDNN_MH_ATTN_K_WEIGHTS = _Anonymous_25.CUDNN_MH_ATTN_K_WEIGHTS; enum CUDNN_MH_ATTN_V_WEIGHTS = _Anonymous_25.CUDNN_MH_ATTN_V_WEIGHTS; enum CUDNN_MH_ATTN_O_WEIGHTS = _Anonymous_25.CUDNN_MH_ATTN_O_WEIGHTS; enum CUDNN_MH_ATTN_Q_BIASES = _Anonymous_25.CUDNN_MH_ATTN_Q_BIASES; enum CUDNN_MH_ATTN_K_BIASES = _Anonymous_25.CUDNN_MH_ATTN_K_BIASES; enum CUDNN_MH_ATTN_V_BIASES = _Anonymous_25.CUDNN_MH_ATTN_V_BIASES; enum CUDNN_MH_ATTN_O_BIASES = _Anonymous_25.CUDNN_MH_ATTN_O_BIASES; alias cudnnMultiHeadAttnWeightKind_t = _Anonymous_25; cudnnStatus_t cudnnGetMultiHeadAttnBuffers(cudnnContext*, const(cudnnAttnStruct*), c_ulong*, c_ulong*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnGetAttnDescriptor(cudnnAttnStruct*, uint*, int*, double*, cudnnDataType_t*, cudnnDataType_t*, cudnnMathType_t*, cudnnDropoutStruct**, cudnnDropoutStruct**, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnSetAttnDescriptor(cudnnAttnStruct*, uint, int, double, cudnnDataType_t, cudnnDataType_t, cudnnMathType_t, cudnnDropoutStruct*, cudnnDropoutStruct*, int, int, int, int, int, int, int, int, int, int, int) @nogc nothrow; cudnnStatus_t cudnnDestroyAttnDescriptor(cudnnAttnStruct*) @nogc nothrow; cudnnStatus_t cudnnCreateAttnDescriptor(cudnnAttnStruct**) @nogc nothrow; alias cudnnAttnDescriptor_t = cudnnAttnStruct*; struct cudnnAttnStruct; alias cudnnAttnQueryMap_t = uint; cudnnStatus_t cudnnGetSeqDataDescriptor(const(cudnnSeqDataStruct*), cudnnDataType_t*, int*, int, int*, cudnnSeqDataAxis_t*, c_ulong*, c_ulong, int*, void*) @nogc nothrow; cudnnStatus_t cudnnSetSeqDataDescriptor(cudnnSeqDataStruct*, cudnnDataType_t, int, const(int)*, const(cudnnSeqDataAxis_t)*, c_ulong, const(int)*, void*) @nogc nothrow; cudnnStatus_t cudnnDestroySeqDataDescriptor(cudnnSeqDataStruct*) @nogc nothrow; cudnnStatus_t cudnnCreateSeqDataDescriptor(cudnnSeqDataStruct**) @nogc nothrow; alias cudnnSeqDataDescriptor_t = cudnnSeqDataStruct*; struct cudnnSeqDataStruct; enum _Anonymous_26 { CUDNN_SEQDATA_TIME_DIM = 0, CUDNN_SEQDATA_BATCH_DIM = 1, CUDNN_SEQDATA_BEAM_DIM = 2, CUDNN_SEQDATA_VECT_DIM = 3, } enum CUDNN_SEQDATA_TIME_DIM = _Anonymous_26.CUDNN_SEQDATA_TIME_DIM; enum CUDNN_SEQDATA_BATCH_DIM = _Anonymous_26.CUDNN_SEQDATA_BATCH_DIM; enum CUDNN_SEQDATA_BEAM_DIM = _Anonymous_26.CUDNN_SEQDATA_BEAM_DIM; enum CUDNN_SEQDATA_VECT_DIM = _Anonymous_26.CUDNN_SEQDATA_VECT_DIM; alias cudnnSeqDataAxis_t = _Anonymous_26; cudnnStatus_t cudnnFindRNNBackwardWeightsAlgorithmEx(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*)*, const(void)*, const(float), const(int), int*, cudnnAlgorithmPerformanceStruct**, const(void)*, c_ulong, const(cudnnFilterStruct*), void*, const(void)*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetRNNBackwardWeightsAlgorithmMaxCount(cudnnContext*, const(cudnnRNNStruct*), int*) @nogc nothrow; cudnnStatus_t cudnnFindRNNBackwardDataAlgorithmEx(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*)*, void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, const(float), const(int), int*, cudnnAlgorithmPerformanceStruct**, void*, c_ulong, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetRNNBackwardDataAlgorithmMaxCount(cudnnContext*, const(cudnnRNNStruct*), int*) @nogc nothrow; cudnnStatus_t cudnnFindRNNForwardTrainingAlgorithmEx(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*)*, void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, const(float), const(int), int*, cudnnAlgorithmPerformanceStruct**, void*, c_ulong, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetRNNForwardTrainingAlgorithmMaxCount(cudnnContext*, const(cudnnRNNStruct*), int*) @nogc nothrow; cudnnStatus_t cudnnFindRNNForwardInferenceAlgorithmEx(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*)*, void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, const(float), const(int), int*, cudnnAlgorithmPerformanceStruct**, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetRNNForwardInferenceAlgorithmMaxCount(cudnnContext*, const(cudnnRNNStruct*), int*) @nogc nothrow; cudnnStatus_t cudnnSetRNNAlgorithmDescriptor(cudnnContext*, cudnnRNNStruct*, cudnnAlgorithmStruct*) @nogc nothrow; struct cudnnAlgorithmPerformanceStruct; alias cudnnAlgorithmPerformance_t = cudnnAlgorithmPerformanceStruct*; struct cudnnAlgorithmStruct; alias cudnnAlgorithmDescriptor_t = cudnnAlgorithmStruct*; cudnnStatus_t cudnnRNNBackwardWeightsEx(cudnnContext*, const(cudnnRNNStruct*), const(cudnnRNNDataStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnRNNDataStruct*), const(void)*, void*, c_ulong, const(cudnnFilterStruct*), void*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnRNNBackwardDataEx(cudnnContext*, const(cudnnRNNStruct*), const(cudnnRNNDataStruct*), const(void)*, const(cudnnRNNDataStruct*), const(void)*, const(cudnnRNNDataStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnRNNDataStruct*), void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, const(cudnnRNNDataStruct*), void*, void*, c_ulong, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnRNNForwardInferenceEx(cudnnContext*, const(cudnnRNNStruct*), const(cudnnRNNDataStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnRNNDataStruct*), void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, const(cudnnRNNDataStruct*), const(void)*, const(cudnnRNNDataStruct*), void*, const(cudnnRNNDataStruct*), void*, const(cudnnRNNDataStruct*), void*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnRNNForwardTrainingEx(cudnnContext*, const(cudnnRNNStruct*), const(cudnnRNNDataStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnRNNDataStruct*), void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, const(cudnnRNNDataStruct*), const(void)*, const(cudnnRNNDataStruct*), void*, const(cudnnRNNDataStruct*), void*, const(cudnnRNNDataStruct*), void*, void*, c_ulong, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetRNNDataDescriptor(cudnnRNNDataStruct*, cudnnDataType_t*, cudnnRNNDataLayout_t*, int*, int*, int*, int, int*, void*) @nogc nothrow; cudnnStatus_t cudnnSetRNNDataDescriptor(cudnnRNNDataStruct*, cudnnDataType_t, cudnnRNNDataLayout_t, int, int, int, const(int)*, void*) @nogc nothrow; cudnnStatus_t cudnnDestroyRNNDataDescriptor(cudnnRNNDataStruct*) @nogc nothrow; cudnnStatus_t cudnnCreateRNNDataDescriptor(cudnnRNNDataStruct**) @nogc nothrow; cudnnStatus_t cudnnGetRNNPaddingMode(cudnnRNNStruct*, cudnnRNNPaddingMode_t*) @nogc nothrow; cudnnStatus_t cudnnSetRNNPaddingMode(cudnnRNNStruct*, cudnnRNNPaddingMode_t) @nogc nothrow; cudnnStatus_t cudnnRNNBackwardWeights(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*)*, const(void)*, const(void)*, c_ulong, const(cudnnFilterStruct*), void*, const(void)*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnRNNBackwardData(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*)*, void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, void*, c_ulong, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnRNNForwardTraining(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*)*, void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, void*, c_ulong, void*, c_ulong) @nogc nothrow; cudaError cudaDeviceReset() @nogc nothrow; cudaError cudaDeviceSynchronize() @nogc nothrow; cudaError cudaDeviceSetLimit(cudaLimit, c_ulong) @nogc nothrow; cudaError cudaDeviceGetLimit(c_ulong*, cudaLimit) @nogc nothrow; cudaError cudaDeviceGetCacheConfig(cudaFuncCache*) @nogc nothrow; cudaError cudaDeviceGetStreamPriorityRange(int*, int*) @nogc nothrow; cudaError cudaDeviceSetCacheConfig(cudaFuncCache) @nogc nothrow; cudaError cudaDeviceGetSharedMemConfig(cudaSharedMemConfig*) @nogc nothrow; cudaError cudaDeviceSetSharedMemConfig(cudaSharedMemConfig) @nogc nothrow; cudaError cudaDeviceGetByPCIBusId(int*, const(char)*) @nogc nothrow; cudaError cudaDeviceGetPCIBusId(char*, int, int) @nogc nothrow; cudaError cudaIpcGetEventHandle(cudaIpcEventHandle_st*, CUevent_st*) @nogc nothrow; cudaError cudaIpcOpenEventHandle(CUevent_st**, cudaIpcEventHandle_st) @nogc nothrow; cudaError cudaIpcGetMemHandle(cudaIpcMemHandle_st*, void*) @nogc nothrow; cudaError cudaIpcOpenMemHandle(void**, cudaIpcMemHandle_st, uint) @nogc nothrow; cudaError cudaIpcCloseMemHandle(void*) @nogc nothrow; cudaError cudaThreadExit() @nogc nothrow; cudaError cudaThreadSynchronize() @nogc nothrow; cudaError cudaThreadSetLimit(cudaLimit, c_ulong) @nogc nothrow; cudaError cudaThreadGetLimit(c_ulong*, cudaLimit) @nogc nothrow; cudaError cudaThreadGetCacheConfig(cudaFuncCache*) @nogc nothrow; cudaError cudaThreadSetCacheConfig(cudaFuncCache) @nogc nothrow; cudaError cudaGetLastError() @nogc nothrow; cudaError cudaPeekAtLastError() @nogc nothrow; const(char)* cudaGetErrorName(cudaError) @nogc nothrow; const(char)* cudaGetErrorString(cudaError) @nogc nothrow; cudaError cudaGetDeviceCount(int*) @nogc nothrow; cudaError cudaGetDeviceProperties(cudaDeviceProp*, int) @nogc nothrow; cudaError cudaDeviceGetAttribute(int*, cudaDeviceAttr, int) @nogc nothrow; cudaError cudaDeviceGetNvSciSyncAttributes(void*, int, int) @nogc nothrow; cudaError cudaDeviceGetP2PAttribute(int*, cudaDeviceP2PAttr, int, int) @nogc nothrow; cudaError cudaChooseDevice(int*, const(cudaDeviceProp)*) @nogc nothrow; cudaError cudaSetDevice(int) @nogc nothrow; cudaError cudaGetDevice(int*) @nogc nothrow; cudaError cudaSetValidDevices(int*, int) @nogc nothrow; cudaError cudaSetDeviceFlags(uint) @nogc nothrow; cudaError cudaGetDeviceFlags(uint*) @nogc nothrow; cudaError cudaStreamCreate(CUstream_st**) @nogc nothrow; cudaError cudaStreamCreateWithFlags(CUstream_st**, uint) @nogc nothrow; cudaError cudaStreamCreateWithPriority(CUstream_st**, uint, int) @nogc nothrow; cudaError cudaStreamGetPriority(CUstream_st*, int*) @nogc nothrow; cudaError cudaStreamGetFlags(CUstream_st*, uint*) @nogc nothrow; cudaError cudaStreamDestroy(CUstream_st*) @nogc nothrow; cudaError cudaStreamWaitEvent(CUstream_st*, CUevent_st*, uint) @nogc nothrow; alias cudaStreamCallback_t = void function(CUstream_st*, cudaError, void*); cudaError cudaStreamAddCallback(CUstream_st*, void function(CUstream_st*, cudaError, void*), void*, uint) @nogc nothrow; cudaError cudaStreamSynchronize(CUstream_st*) @nogc nothrow; cudaError cudaStreamQuery(CUstream_st*) @nogc nothrow; cudaError cudaStreamAttachMemAsync(CUstream_st*, void*, c_ulong, uint) @nogc nothrow; cudaError cudaStreamBeginCapture(CUstream_st*, cudaStreamCaptureMode) @nogc nothrow; cudaError cudaThreadExchangeStreamCaptureMode(cudaStreamCaptureMode*) @nogc nothrow; cudaError cudaStreamEndCapture(CUstream_st*, CUgraph_st**) @nogc nothrow; cudaError cudaStreamIsCapturing(CUstream_st*, cudaStreamCaptureStatus*) @nogc nothrow; cudaError cudaStreamGetCaptureInfo(CUstream_st*, cudaStreamCaptureStatus*, ulong*) @nogc nothrow; cudaError cudaEventCreate(CUevent_st**) @nogc nothrow; cudaError cudaEventCreateWithFlags(CUevent_st**, uint) @nogc nothrow; cudaError cudaEventRecord(CUevent_st*, CUstream_st*) @nogc nothrow; cudaError cudaEventQuery(CUevent_st*) @nogc nothrow; cudaError cudaEventSynchronize(CUevent_st*) @nogc nothrow; cudaError cudaEventDestroy(CUevent_st*) @nogc nothrow; cudaError cudaEventElapsedTime(float*, CUevent_st*, CUevent_st*) @nogc nothrow; cudaError cudaImportExternalMemory(CUexternalMemory_st**, const(cudaExternalMemoryHandleDesc)*) @nogc nothrow; cudaError cudaExternalMemoryGetMappedBuffer(void**, CUexternalMemory_st*, const(cudaExternalMemoryBufferDesc)*) @nogc nothrow; cudaError cudaExternalMemoryGetMappedMipmappedArray(cudaMipmappedArray**, CUexternalMemory_st*, const(cudaExternalMemoryMipmappedArrayDesc)*) @nogc nothrow; cudaError cudaDestroyExternalMemory(CUexternalMemory_st*) @nogc nothrow; cudaError cudaImportExternalSemaphore(CUexternalSemaphore_st**, const(cudaExternalSemaphoreHandleDesc)*) @nogc nothrow; cudaError cudaSignalExternalSemaphoresAsync(const(CUexternalSemaphore_st*)*, const(cudaExternalSemaphoreSignalParams)*, uint, CUstream_st*) @nogc nothrow; cudaError cudaWaitExternalSemaphoresAsync(const(CUexternalSemaphore_st*)*, const(cudaExternalSemaphoreWaitParams)*, uint, CUstream_st*) @nogc nothrow; cudaError cudaDestroyExternalSemaphore(CUexternalSemaphore_st*) @nogc nothrow; cudaError cudaLaunchKernel(const(void)*, dim3, dim3, void**, c_ulong, CUstream_st*) @nogc nothrow; cudaError cudaLaunchCooperativeKernel(const(void)*, dim3, dim3, void**, c_ulong, CUstream_st*) @nogc nothrow; cudaError cudaLaunchCooperativeKernelMultiDevice(cudaLaunchParams*, uint, uint) @nogc nothrow; cudaError cudaFuncSetCacheConfig(const(void)*, cudaFuncCache) @nogc nothrow; cudaError cudaFuncSetSharedMemConfig(const(void)*, cudaSharedMemConfig) @nogc nothrow; cudaError cudaFuncGetAttributes(cudaFuncAttributes*, const(void)*) @nogc nothrow; cudaError cudaFuncSetAttribute(const(void)*, cudaFuncAttribute, int) @nogc nothrow; cudaError cudaSetDoubleForDevice(double*) @nogc nothrow; cudaError cudaSetDoubleForHost(double*) @nogc nothrow; cudaError cudaLaunchHostFunc(CUstream_st*, void function(void*), void*) @nogc nothrow; cudaError cudaOccupancyMaxActiveBlocksPerMultiprocessor(int*, const(void)*, int, c_ulong) @nogc nothrow; cudaError cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags(int*, const(void)*, int, c_ulong, uint) @nogc nothrow; cudaError cudaMallocManaged(void**, c_ulong, uint) @nogc nothrow; cudaError cudaMalloc(void**, c_ulong) @nogc nothrow; cudaError cudaMallocHost(void**, c_ulong) @nogc nothrow; cudaError cudaMallocPitch(void**, c_ulong*, c_ulong, c_ulong) @nogc nothrow; cudaError cudaMallocArray(cudaArray**, const(cudaChannelFormatDesc)*, c_ulong, c_ulong, uint) @nogc nothrow; cudaError cudaFree(void*) @nogc nothrow; cudaError cudaFreeHost(void*) @nogc nothrow; cudaError cudaFreeArray(cudaArray*) @nogc nothrow; cudaError cudaFreeMipmappedArray(cudaMipmappedArray*) @nogc nothrow; cudaError cudaHostAlloc(void**, c_ulong, uint) @nogc nothrow; cudaError cudaHostRegister(void*, c_ulong, uint) @nogc nothrow; cudaError cudaHostUnregister(void*) @nogc nothrow; cudaError cudaHostGetDevicePointer(void**, void*, uint) @nogc nothrow; cudaError cudaHostGetFlags(uint*, void*) @nogc nothrow; cudaError cudaMalloc3D(cudaPitchedPtr*, cudaExtent) @nogc nothrow; cudaError cudaMalloc3DArray(cudaArray**, const(cudaChannelFormatDesc)*, cudaExtent, uint) @nogc nothrow; cudaError cudaMallocMipmappedArray(cudaMipmappedArray**, const(cudaChannelFormatDesc)*, cudaExtent, uint, uint) @nogc nothrow; cudaError cudaGetMipmappedArrayLevel(cudaArray**, const(cudaMipmappedArray)*, uint) @nogc nothrow; cudaError cudaMemcpy3D(const(cudaMemcpy3DParms)*) @nogc nothrow; cudaError cudaMemcpy3DPeer(const(cudaMemcpy3DPeerParms)*) @nogc nothrow; cudaError cudaMemcpy3DAsync(const(cudaMemcpy3DParms)*, CUstream_st*) @nogc nothrow; cudaError cudaMemcpy3DPeerAsync(const(cudaMemcpy3DPeerParms)*, CUstream_st*) @nogc nothrow; cudaError cudaMemGetInfo(c_ulong*, c_ulong*) @nogc nothrow; cudaError cudaArrayGetInfo(cudaChannelFormatDesc*, cudaExtent*, uint*, cudaArray*) @nogc nothrow; cudaError cudaMemcpy(void*, const(void)*, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpyPeer(void*, int, const(void)*, int, c_ulong) @nogc nothrow; cudaError cudaMemcpy2D(void*, c_ulong, const(void)*, c_ulong, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpy2DToArray(cudaArray*, c_ulong, c_ulong, const(void)*, c_ulong, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpy2DFromArray(void*, c_ulong, const(cudaArray)*, c_ulong, c_ulong, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpy2DArrayToArray(cudaArray*, c_ulong, c_ulong, const(cudaArray)*, c_ulong, c_ulong, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpyToSymbol(const(void)*, const(void)*, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpyFromSymbol(void*, const(void)*, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpyAsync(void*, const(void)*, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaMemcpyPeerAsync(void*, int, const(void)*, int, c_ulong, CUstream_st*) @nogc nothrow; cudaError cudaMemcpy2DAsync(void*, c_ulong, const(void)*, c_ulong, c_ulong, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaMemcpy2DToArrayAsync(cudaArray*, c_ulong, c_ulong, const(void)*, c_ulong, c_ulong, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaMemcpy2DFromArrayAsync(void*, c_ulong, const(cudaArray)*, c_ulong, c_ulong, c_ulong, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaMemcpyToSymbolAsync(const(void)*, const(void)*, c_ulong, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaMemcpyFromSymbolAsync(void*, const(void)*, c_ulong, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaMemset(void*, int, c_ulong) @nogc nothrow; cudaError cudaMemset2D(void*, c_ulong, int, c_ulong, c_ulong) @nogc nothrow; cudaError cudaMemset3D(cudaPitchedPtr, int, cudaExtent) @nogc nothrow; cudaError cudaMemsetAsync(void*, int, c_ulong, CUstream_st*) @nogc nothrow; cudaError cudaMemset2DAsync(void*, c_ulong, int, c_ulong, c_ulong, CUstream_st*) @nogc nothrow; cudaError cudaMemset3DAsync(cudaPitchedPtr, int, cudaExtent, CUstream_st*) @nogc nothrow; cudaError cudaGetSymbolAddress(void**, const(void)*) @nogc nothrow; cudaError cudaGetSymbolSize(c_ulong*, const(void)*) @nogc nothrow; cudaError cudaMemPrefetchAsync(const(void)*, c_ulong, int, CUstream_st*) @nogc nothrow; cudaError cudaMemAdvise(const(void)*, c_ulong, cudaMemoryAdvise, int) @nogc nothrow; cudaError cudaMemRangeGetAttribute(void*, c_ulong, cudaMemRangeAttribute, const(void)*, c_ulong) @nogc nothrow; cudaError cudaMemRangeGetAttributes(void**, c_ulong*, cudaMemRangeAttribute*, c_ulong, const(void)*, c_ulong) @nogc nothrow; cudaError cudaMemcpyToArray(cudaArray*, c_ulong, c_ulong, const(void)*, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpyFromArray(void*, const(cudaArray)*, c_ulong, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpyArrayToArray(cudaArray*, c_ulong, c_ulong, const(cudaArray)*, c_ulong, c_ulong, c_ulong, cudaMemcpyKind) @nogc nothrow; cudaError cudaMemcpyToArrayAsync(cudaArray*, c_ulong, c_ulong, const(void)*, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaMemcpyFromArrayAsync(void*, const(cudaArray)*, c_ulong, c_ulong, c_ulong, cudaMemcpyKind, CUstream_st*) @nogc nothrow; cudaError cudaPointerGetAttributes(cudaPointerAttributes*, const(void)*) @nogc nothrow; cudaError cudaDeviceCanAccessPeer(int*, int, int) @nogc nothrow; cudaError cudaDeviceEnablePeerAccess(int, uint) @nogc nothrow; cudaError cudaDeviceDisablePeerAccess(int) @nogc nothrow; cudaError cudaGraphicsUnregisterResource(cudaGraphicsResource*) @nogc nothrow; cudaError cudaGraphicsResourceSetMapFlags(cudaGraphicsResource*, uint) @nogc nothrow; cudaError cudaGraphicsMapResources(int, cudaGraphicsResource**, CUstream_st*) @nogc nothrow; cudaError cudaGraphicsUnmapResources(int, cudaGraphicsResource**, CUstream_st*) @nogc nothrow; cudaError cudaGraphicsResourceGetMappedPointer(void**, c_ulong*, cudaGraphicsResource*) @nogc nothrow; cudaError cudaGraphicsSubResourceGetMappedArray(cudaArray**, cudaGraphicsResource*, uint, uint) @nogc nothrow; cudaError cudaGraphicsResourceGetMappedMipmappedArray(cudaMipmappedArray**, cudaGraphicsResource*) @nogc nothrow; cudaError cudaBindTexture(c_ulong*, const(textureReference)*, const(void)*, const(cudaChannelFormatDesc)*, c_ulong) @nogc nothrow; cudaError cudaBindTexture2D(c_ulong*, const(textureReference)*, const(void)*, const(cudaChannelFormatDesc)*, c_ulong, c_ulong, c_ulong) @nogc nothrow; cudaError cudaBindTextureToArray(const(textureReference)*, const(cudaArray)*, const(cudaChannelFormatDesc)*) @nogc nothrow; cudaError cudaBindTextureToMipmappedArray(const(textureReference)*, const(cudaMipmappedArray)*, const(cudaChannelFormatDesc)*) @nogc nothrow; cudaError cudaUnbindTexture(const(textureReference)*) @nogc nothrow; cudaError cudaGetTextureAlignmentOffset(c_ulong*, const(textureReference)*) @nogc nothrow; cudaError cudaGetTextureReference(const(textureReference)**, const(void)*) @nogc nothrow; cudaError cudaBindSurfaceToArray(const(surfaceReference)*, const(cudaArray)*, const(cudaChannelFormatDesc)*) @nogc nothrow; cudaError cudaGetSurfaceReference(const(surfaceReference)**, const(void)*) @nogc nothrow; cudaError cudaGetChannelDesc(cudaChannelFormatDesc*, const(cudaArray)*) @nogc nothrow; cudaChannelFormatDesc cudaCreateChannelDesc(int, int, int, int, cudaChannelFormatKind) @nogc nothrow; cudaError cudaCreateTextureObject(ulong*, const(cudaResourceDesc)*, const(cudaTextureDesc)*, const(cudaResourceViewDesc)*) @nogc nothrow; cudaError cudaDestroyTextureObject(ulong) @nogc nothrow; cudaError cudaGetTextureObjectResourceDesc(cudaResourceDesc*, ulong) @nogc nothrow; cudaError cudaGetTextureObjectTextureDesc(cudaTextureDesc*, ulong) @nogc nothrow; cudaError cudaGetTextureObjectResourceViewDesc(cudaResourceViewDesc*, ulong) @nogc nothrow; cudaError cudaCreateSurfaceObject(ulong*, const(cudaResourceDesc)*) @nogc nothrow; cudaError cudaDestroySurfaceObject(ulong) @nogc nothrow; cudaError cudaGetSurfaceObjectResourceDesc(cudaResourceDesc*, ulong) @nogc nothrow; cudaError cudaDriverGetVersion(int*) @nogc nothrow; cudaError cudaRuntimeGetVersion(int*) @nogc nothrow; cudaError cudaGraphCreate(CUgraph_st**, uint) @nogc nothrow; cudaError cudaGraphAddKernelNode(CUgraphNode_st**, CUgraph_st*, const(CUgraphNode_st*)*, c_ulong, const(cudaKernelNodeParams)*) @nogc nothrow; cudaError cudaGraphKernelNodeGetParams(CUgraphNode_st*, cudaKernelNodeParams*) @nogc nothrow; cudaError cudaGraphKernelNodeSetParams(CUgraphNode_st*, const(cudaKernelNodeParams)*) @nogc nothrow; cudaError cudaGraphAddMemcpyNode(CUgraphNode_st**, CUgraph_st*, const(CUgraphNode_st*)*, c_ulong, const(cudaMemcpy3DParms)*) @nogc nothrow; cudaError cudaGraphMemcpyNodeGetParams(CUgraphNode_st*, cudaMemcpy3DParms*) @nogc nothrow; cudaError cudaGraphMemcpyNodeSetParams(CUgraphNode_st*, const(cudaMemcpy3DParms)*) @nogc nothrow; cudaError cudaGraphAddMemsetNode(CUgraphNode_st**, CUgraph_st*, const(CUgraphNode_st*)*, c_ulong, const(cudaMemsetParams)*) @nogc nothrow; cudaError cudaGraphMemsetNodeGetParams(CUgraphNode_st*, cudaMemsetParams*) @nogc nothrow; cudaError cudaGraphMemsetNodeSetParams(CUgraphNode_st*, const(cudaMemsetParams)*) @nogc nothrow; cudaError cudaGraphAddHostNode(CUgraphNode_st**, CUgraph_st*, const(CUgraphNode_st*)*, c_ulong, const(cudaHostNodeParams)*) @nogc nothrow; cudaError cudaGraphHostNodeGetParams(CUgraphNode_st*, cudaHostNodeParams*) @nogc nothrow; cudaError cudaGraphHostNodeSetParams(CUgraphNode_st*, const(cudaHostNodeParams)*) @nogc nothrow; cudaError cudaGraphAddChildGraphNode(CUgraphNode_st**, CUgraph_st*, const(CUgraphNode_st*)*, c_ulong, CUgraph_st*) @nogc nothrow; cudaError cudaGraphChildGraphNodeGetGraph(CUgraphNode_st*, CUgraph_st**) @nogc nothrow; cudaError cudaGraphAddEmptyNode(CUgraphNode_st**, CUgraph_st*, const(CUgraphNode_st*)*, c_ulong) @nogc nothrow; cudaError cudaGraphClone(CUgraph_st**, CUgraph_st*) @nogc nothrow; cudaError cudaGraphNodeFindInClone(CUgraphNode_st**, CUgraphNode_st*, CUgraph_st*) @nogc nothrow; cudaError cudaGraphNodeGetType(CUgraphNode_st*, cudaGraphNodeType*) @nogc nothrow; cudaError cudaGraphGetNodes(CUgraph_st*, CUgraphNode_st**, c_ulong*) @nogc nothrow; cudaError cudaGraphGetRootNodes(CUgraph_st*, CUgraphNode_st**, c_ulong*) @nogc nothrow; cudaError cudaGraphGetEdges(CUgraph_st*, CUgraphNode_st**, CUgraphNode_st**, c_ulong*) @nogc nothrow; cudaError cudaGraphNodeGetDependencies(CUgraphNode_st*, CUgraphNode_st**, c_ulong*) @nogc nothrow; cudaError cudaGraphNodeGetDependentNodes(CUgraphNode_st*, CUgraphNode_st**, c_ulong*) @nogc nothrow; cudaError cudaGraphAddDependencies(CUgraph_st*, const(CUgraphNode_st*)*, const(CUgraphNode_st*)*, c_ulong) @nogc nothrow; cudaError cudaGraphRemoveDependencies(CUgraph_st*, const(CUgraphNode_st*)*, const(CUgraphNode_st*)*, c_ulong) @nogc nothrow; cudaError cudaGraphDestroyNode(CUgraphNode_st*) @nogc nothrow; cudaError cudaGraphInstantiate(CUgraphExec_st**, CUgraph_st*, CUgraphNode_st**, char*, c_ulong) @nogc nothrow; cudaError cudaGraphExecKernelNodeSetParams(CUgraphExec_st*, CUgraphNode_st*, const(cudaKernelNodeParams)*) @nogc nothrow; cudaError cudaGraphExecMemcpyNodeSetParams(CUgraphExec_st*, CUgraphNode_st*, const(cudaMemcpy3DParms)*) @nogc nothrow; cudaError cudaGraphExecMemsetNodeSetParams(CUgraphExec_st*, CUgraphNode_st*, const(cudaMemsetParams)*) @nogc nothrow; cudaError cudaGraphExecHostNodeSetParams(CUgraphExec_st*, CUgraphNode_st*, const(cudaHostNodeParams)*) @nogc nothrow; cudaError cudaGraphExecUpdate(CUgraphExec_st*, CUgraph_st*, CUgraphNode_st**, cudaGraphExecUpdateResult*) @nogc nothrow; cudaError cudaGraphLaunch(CUgraphExec_st*, CUstream_st*) @nogc nothrow; cudaError cudaGraphExecDestroy(CUgraphExec_st*) @nogc nothrow; cudaError cudaGraphDestroy(CUgraph_st*) @nogc nothrow; cudaError cudaGetExportTable(const(void)**, const(CUuuid_st)*) @nogc nothrow; cudnnStatus_t cudnnRNNForwardInference(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*)*, void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetRNNLinLayerBiasParams(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*), const(cudnnFilterStruct*), const(void)*, const(int), cudnnFilterStruct*, void**) @nogc nothrow; cudnnStatus_t cudnnGetRNNLinLayerMatrixParams(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*), const(cudnnFilterStruct*), const(void)*, const(int), cudnnFilterStruct*, void**) @nogc nothrow; struct cudnnContext; alias cudnnHandle_t = cudnnContext*; c_ulong cudnnGetVersion() @nogc nothrow; c_ulong cudnnGetCudartVersion() @nogc nothrow; alias cudnnStatus_t = _Anonymous_27; enum _Anonymous_27 { CUDNN_STATUS_SUCCESS = 0, CUDNN_STATUS_NOT_INITIALIZED = 1, CUDNN_STATUS_ALLOC_FAILED = 2, CUDNN_STATUS_BAD_PARAM = 3, CUDNN_STATUS_INTERNAL_ERROR = 4, CUDNN_STATUS_INVALID_VALUE = 5, CUDNN_STATUS_ARCH_MISMATCH = 6, CUDNN_STATUS_MAPPING_ERROR = 7, CUDNN_STATUS_EXECUTION_FAILED = 8, CUDNN_STATUS_NOT_SUPPORTED = 9, CUDNN_STATUS_LICENSE_ERROR = 10, CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING = 11, CUDNN_STATUS_RUNTIME_IN_PROGRESS = 12, CUDNN_STATUS_RUNTIME_FP_OVERFLOW = 13, } enum CUDNN_STATUS_SUCCESS = _Anonymous_27.CUDNN_STATUS_SUCCESS; enum CUDNN_STATUS_NOT_INITIALIZED = _Anonymous_27.CUDNN_STATUS_NOT_INITIALIZED; enum CUDNN_STATUS_ALLOC_FAILED = _Anonymous_27.CUDNN_STATUS_ALLOC_FAILED; enum CUDNN_STATUS_BAD_PARAM = _Anonymous_27.CUDNN_STATUS_BAD_PARAM; enum CUDNN_STATUS_INTERNAL_ERROR = _Anonymous_27.CUDNN_STATUS_INTERNAL_ERROR; enum CUDNN_STATUS_INVALID_VALUE = _Anonymous_27.CUDNN_STATUS_INVALID_VALUE; enum CUDNN_STATUS_ARCH_MISMATCH = _Anonymous_27.CUDNN_STATUS_ARCH_MISMATCH; enum CUDNN_STATUS_MAPPING_ERROR = _Anonymous_27.CUDNN_STATUS_MAPPING_ERROR; enum CUDNN_STATUS_EXECUTION_FAILED = _Anonymous_27.CUDNN_STATUS_EXECUTION_FAILED; enum CUDNN_STATUS_NOT_SUPPORTED = _Anonymous_27.CUDNN_STATUS_NOT_SUPPORTED; enum CUDNN_STATUS_LICENSE_ERROR = _Anonymous_27.CUDNN_STATUS_LICENSE_ERROR; enum CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING = _Anonymous_27.CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING; enum CUDNN_STATUS_RUNTIME_IN_PROGRESS = _Anonymous_27.CUDNN_STATUS_RUNTIME_IN_PROGRESS; enum CUDNN_STATUS_RUNTIME_FP_OVERFLOW = _Anonymous_27.CUDNN_STATUS_RUNTIME_FP_OVERFLOW; const(char)* cudnnGetErrorString(cudnnStatus_t) @nogc nothrow; struct cudnnRuntimeTag_t; alias cudnnErrQueryMode_t = _Anonymous_28; enum _Anonymous_28 { CUDNN_ERRQUERY_RAWCODE = 0, CUDNN_ERRQUERY_NONBLOCKING = 1, CUDNN_ERRQUERY_BLOCKING = 2, } enum CUDNN_ERRQUERY_RAWCODE = _Anonymous_28.CUDNN_ERRQUERY_RAWCODE; enum CUDNN_ERRQUERY_NONBLOCKING = _Anonymous_28.CUDNN_ERRQUERY_NONBLOCKING; enum CUDNN_ERRQUERY_BLOCKING = _Anonymous_28.CUDNN_ERRQUERY_BLOCKING; cudnnStatus_t cudnnQueryRuntimeError(cudnnContext*, cudnnStatus_t*, cudnnErrQueryMode_t, cudnnRuntimeTag_t*) @nogc nothrow; cudnnStatus_t cudnnGetProperty(libraryPropertyType_t, int*) @nogc nothrow; cudnnStatus_t cudnnCreate(cudnnContext**) @nogc nothrow; cudnnStatus_t cudnnDestroy(cudnnContext*) @nogc nothrow; cudnnStatus_t cudnnSetStream(cudnnContext*, CUstream_st*) @nogc nothrow; cudnnStatus_t cudnnGetStream(cudnnContext*, CUstream_st**) @nogc nothrow; alias cudnnTensorDescriptor_t = cudnnTensorStruct*; struct cudnnTensorStruct; alias cudnnConvolutionDescriptor_t = cudnnConvolutionStruct*; struct cudnnConvolutionStruct; alias cudnnPoolingDescriptor_t = cudnnPoolingStruct*; struct cudnnPoolingStruct; alias cudnnFilterDescriptor_t = cudnnFilterStruct*; struct cudnnFilterStruct; alias cudnnLRNDescriptor_t = cudnnLRNStruct*; struct cudnnLRNStruct; alias cudnnActivationDescriptor_t = cudnnActivationStruct*; struct cudnnActivationStruct; alias cudnnSpatialTransformerDescriptor_t = cudnnSpatialTransformerStruct*; struct cudnnSpatialTransformerStruct; alias cudnnOpTensorDescriptor_t = cudnnOpTensorStruct*; struct cudnnOpTensorStruct; alias cudnnReduceTensorDescriptor_t = cudnnReduceTensorStruct*; struct cudnnReduceTensorStruct; alias cudnnCTCLossDescriptor_t = cudnnCTCLossStruct*; struct cudnnCTCLossStruct; alias cudnnTensorTransformDescriptor_t = cudnnTensorTransformStruct*; struct cudnnTensorTransformStruct; alias cudnnDataType_t = _Anonymous_29; enum _Anonymous_29 { CUDNN_DATA_FLOAT = 0, CUDNN_DATA_DOUBLE = 1, CUDNN_DATA_HALF = 2, CUDNN_DATA_INT8 = 3, CUDNN_DATA_INT32 = 4, CUDNN_DATA_INT8x4 = 5, CUDNN_DATA_UINT8 = 6, CUDNN_DATA_UINT8x4 = 7, CUDNN_DATA_INT8x32 = 8, } enum CUDNN_DATA_FLOAT = _Anonymous_29.CUDNN_DATA_FLOAT; enum CUDNN_DATA_DOUBLE = _Anonymous_29.CUDNN_DATA_DOUBLE; enum CUDNN_DATA_HALF = _Anonymous_29.CUDNN_DATA_HALF; enum CUDNN_DATA_INT8 = _Anonymous_29.CUDNN_DATA_INT8; enum CUDNN_DATA_INT32 = _Anonymous_29.CUDNN_DATA_INT32; enum CUDNN_DATA_INT8x4 = _Anonymous_29.CUDNN_DATA_INT8x4; enum CUDNN_DATA_UINT8 = _Anonymous_29.CUDNN_DATA_UINT8; enum CUDNN_DATA_UINT8x4 = _Anonymous_29.CUDNN_DATA_UINT8x4; enum CUDNN_DATA_INT8x32 = _Anonymous_29.CUDNN_DATA_INT8x32; alias cudnnMathType_t = _Anonymous_30; enum _Anonymous_30 { CUDNN_DEFAULT_MATH = 0, CUDNN_TENSOR_OP_MATH = 1, CUDNN_TENSOR_OP_MATH_ALLOW_CONVERSION = 2, } enum CUDNN_DEFAULT_MATH = _Anonymous_30.CUDNN_DEFAULT_MATH; enum CUDNN_TENSOR_OP_MATH = _Anonymous_30.CUDNN_TENSOR_OP_MATH; enum CUDNN_TENSOR_OP_MATH_ALLOW_CONVERSION = _Anonymous_30.CUDNN_TENSOR_OP_MATH_ALLOW_CONVERSION; alias cudnnNanPropagation_t = _Anonymous_31; enum _Anonymous_31 { CUDNN_NOT_PROPAGATE_NAN = 0, CUDNN_PROPAGATE_NAN = 1, } enum CUDNN_NOT_PROPAGATE_NAN = _Anonymous_31.CUDNN_NOT_PROPAGATE_NAN; enum CUDNN_PROPAGATE_NAN = _Anonymous_31.CUDNN_PROPAGATE_NAN; alias cudnnDeterminism_t = _Anonymous_32; enum _Anonymous_32 { CUDNN_NON_DETERMINISTIC = 0, CUDNN_DETERMINISTIC = 1, } enum CUDNN_NON_DETERMINISTIC = _Anonymous_32.CUDNN_NON_DETERMINISTIC; enum CUDNN_DETERMINISTIC = _Anonymous_32.CUDNN_DETERMINISTIC; alias cudnnReorderType_t = _Anonymous_33; enum _Anonymous_33 { CUDNN_DEFAULT_REORDER = 0, CUDNN_NO_REORDER = 1, } enum CUDNN_DEFAULT_REORDER = _Anonymous_33.CUDNN_DEFAULT_REORDER; enum CUDNN_NO_REORDER = _Anonymous_33.CUDNN_NO_REORDER; cudnnStatus_t cudnnGetRNNParamsSize(cudnnContext*, const(cudnnRNNStruct*), const(cudnnTensorStruct*), c_ulong*, cudnnDataType_t) @nogc nothrow; cudnnStatus_t cudnnCreateTensorDescriptor(cudnnTensorStruct**) @nogc nothrow; alias cudnnTensorFormat_t = _Anonymous_34; enum _Anonymous_34 { CUDNN_TENSOR_NCHW = 0, CUDNN_TENSOR_NHWC = 1, CUDNN_TENSOR_NCHW_VECT_C = 2, } enum CUDNN_TENSOR_NCHW = _Anonymous_34.CUDNN_TENSOR_NCHW; enum CUDNN_TENSOR_NHWC = _Anonymous_34.CUDNN_TENSOR_NHWC; enum CUDNN_TENSOR_NCHW_VECT_C = _Anonymous_34.CUDNN_TENSOR_NCHW_VECT_C; cudnnStatus_t cudnnSetTensor4dDescriptor(cudnnTensorStruct*, cudnnTensorFormat_t, cudnnDataType_t, int, int, int, int) @nogc nothrow; cudnnStatus_t cudnnSetTensor4dDescriptorEx(cudnnTensorStruct*, cudnnDataType_t, int, int, int, int, int, int, int, int) @nogc nothrow; cudnnStatus_t cudnnGetTensor4dDescriptor(const(cudnnTensorStruct*), cudnnDataType_t*, int*, int*, int*, int*, int*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnSetTensorNdDescriptor(cudnnTensorStruct*, cudnnDataType_t, int, const(int)*, const(int)*) @nogc nothrow; cudnnStatus_t cudnnSetTensorNdDescriptorEx(cudnnTensorStruct*, cudnnTensorFormat_t, cudnnDataType_t, int, const(int)*) @nogc nothrow; cudnnStatus_t cudnnGetTensorNdDescriptor(const(cudnnTensorStruct*), int, cudnnDataType_t*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnGetTensorSizeInBytes(const(cudnnTensorStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnDestroyTensorDescriptor(cudnnTensorStruct*) @nogc nothrow; alias cudnnFoldingDirection_t = _Anonymous_35; enum _Anonymous_35 { CUDNN_TRANSFORM_FOLD = 0, CUDNN_TRANSFORM_UNFOLD = 1, } enum CUDNN_TRANSFORM_FOLD = _Anonymous_35.CUDNN_TRANSFORM_FOLD; enum CUDNN_TRANSFORM_UNFOLD = _Anonymous_35.CUDNN_TRANSFORM_UNFOLD; cudnnStatus_t cudnnInitTransformDest(const(cudnnTensorTransformStruct*), const(cudnnTensorStruct*), cudnnTensorStruct*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnCreateTensorTransformDescriptor(cudnnTensorTransformStruct**) @nogc nothrow; cudnnStatus_t cudnnSetTensorTransformDescriptor(cudnnTensorTransformStruct*, const(uint), const(cudnnTensorFormat_t), const(int)*, const(int)*, const(uint)*, const(cudnnFoldingDirection_t)) @nogc nothrow; cudnnStatus_t cudnnGetTensorTransformDescriptor(cudnnTensorTransformStruct*, uint, cudnnTensorFormat_t*, int*, int*, uint*, cudnnFoldingDirection_t*) @nogc nothrow; cudnnStatus_t cudnnDestroyTensorTransformDescriptor(cudnnTensorTransformStruct*) @nogc nothrow; cudnnStatus_t cudnnTransformTensor(cudnnContext*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnTransformTensorEx(cudnnContext*, const(cudnnTensorTransformStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnGetFoldedConvBackwardDataDescriptors(const(cudnnContext*), const(cudnnFilterStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), const(cudnnTensorFormat_t), cudnnFilterStruct*, cudnnTensorStruct*, cudnnConvolutionStruct*, cudnnTensorStruct*, cudnnTensorTransformStruct*, cudnnTensorTransformStruct*, cudnnTensorTransformStruct*, cudnnTensorTransformStruct*) @nogc nothrow; cudnnStatus_t cudnnAddTensor(cudnnContext*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; alias cudnnOpTensorOp_t = _Anonymous_36; enum _Anonymous_36 { CUDNN_OP_TENSOR_ADD = 0, CUDNN_OP_TENSOR_MUL = 1, CUDNN_OP_TENSOR_MIN = 2, CUDNN_OP_TENSOR_MAX = 3, CUDNN_OP_TENSOR_SQRT = 4, CUDNN_OP_TENSOR_NOT = 5, } enum CUDNN_OP_TENSOR_ADD = _Anonymous_36.CUDNN_OP_TENSOR_ADD; enum CUDNN_OP_TENSOR_MUL = _Anonymous_36.CUDNN_OP_TENSOR_MUL; enum CUDNN_OP_TENSOR_MIN = _Anonymous_36.CUDNN_OP_TENSOR_MIN; enum CUDNN_OP_TENSOR_MAX = _Anonymous_36.CUDNN_OP_TENSOR_MAX; enum CUDNN_OP_TENSOR_SQRT = _Anonymous_36.CUDNN_OP_TENSOR_SQRT; enum CUDNN_OP_TENSOR_NOT = _Anonymous_36.CUDNN_OP_TENSOR_NOT; cudnnStatus_t cudnnCreateOpTensorDescriptor(cudnnOpTensorStruct**) @nogc nothrow; cudnnStatus_t cudnnSetOpTensorDescriptor(cudnnOpTensorStruct*, cudnnOpTensorOp_t, cudnnDataType_t, cudnnNanPropagation_t) @nogc nothrow; cudnnStatus_t cudnnGetOpTensorDescriptor(const(cudnnOpTensorStruct*), cudnnOpTensorOp_t*, cudnnDataType_t*, cudnnNanPropagation_t*) @nogc nothrow; cudnnStatus_t cudnnDestroyOpTensorDescriptor(cudnnOpTensorStruct*) @nogc nothrow; cudnnStatus_t cudnnOpTensor(cudnnContext*, const(cudnnOpTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; alias cudnnReduceTensorOp_t = _Anonymous_37; enum _Anonymous_37 { CUDNN_REDUCE_TENSOR_ADD = 0, CUDNN_REDUCE_TENSOR_MUL = 1, CUDNN_REDUCE_TENSOR_MIN = 2, CUDNN_REDUCE_TENSOR_MAX = 3, CUDNN_REDUCE_TENSOR_AMAX = 4, CUDNN_REDUCE_TENSOR_AVG = 5, CUDNN_REDUCE_TENSOR_NORM1 = 6, CUDNN_REDUCE_TENSOR_NORM2 = 7, CUDNN_REDUCE_TENSOR_MUL_NO_ZEROS = 8, } enum CUDNN_REDUCE_TENSOR_ADD = _Anonymous_37.CUDNN_REDUCE_TENSOR_ADD; enum CUDNN_REDUCE_TENSOR_MUL = _Anonymous_37.CUDNN_REDUCE_TENSOR_MUL; enum CUDNN_REDUCE_TENSOR_MIN = _Anonymous_37.CUDNN_REDUCE_TENSOR_MIN; enum CUDNN_REDUCE_TENSOR_MAX = _Anonymous_37.CUDNN_REDUCE_TENSOR_MAX; enum CUDNN_REDUCE_TENSOR_AMAX = _Anonymous_37.CUDNN_REDUCE_TENSOR_AMAX; enum CUDNN_REDUCE_TENSOR_AVG = _Anonymous_37.CUDNN_REDUCE_TENSOR_AVG; enum CUDNN_REDUCE_TENSOR_NORM1 = _Anonymous_37.CUDNN_REDUCE_TENSOR_NORM1; enum CUDNN_REDUCE_TENSOR_NORM2 = _Anonymous_37.CUDNN_REDUCE_TENSOR_NORM2; enum CUDNN_REDUCE_TENSOR_MUL_NO_ZEROS = _Anonymous_37.CUDNN_REDUCE_TENSOR_MUL_NO_ZEROS; alias cudnnReduceTensorIndices_t = _Anonymous_38; enum _Anonymous_38 { CUDNN_REDUCE_TENSOR_NO_INDICES = 0, CUDNN_REDUCE_TENSOR_FLATTENED_INDICES = 1, } enum CUDNN_REDUCE_TENSOR_NO_INDICES = _Anonymous_38.CUDNN_REDUCE_TENSOR_NO_INDICES; enum CUDNN_REDUCE_TENSOR_FLATTENED_INDICES = _Anonymous_38.CUDNN_REDUCE_TENSOR_FLATTENED_INDICES; alias cudnnIndicesType_t = _Anonymous_39; enum _Anonymous_39 { CUDNN_32BIT_INDICES = 0, CUDNN_64BIT_INDICES = 1, CUDNN_16BIT_INDICES = 2, CUDNN_8BIT_INDICES = 3, } enum CUDNN_32BIT_INDICES = _Anonymous_39.CUDNN_32BIT_INDICES; enum CUDNN_64BIT_INDICES = _Anonymous_39.CUDNN_64BIT_INDICES; enum CUDNN_16BIT_INDICES = _Anonymous_39.CUDNN_16BIT_INDICES; enum CUDNN_8BIT_INDICES = _Anonymous_39.CUDNN_8BIT_INDICES; cudnnStatus_t cudnnCreateReduceTensorDescriptor(cudnnReduceTensorStruct**) @nogc nothrow; cudnnStatus_t cudnnSetReduceTensorDescriptor(cudnnReduceTensorStruct*, cudnnReduceTensorOp_t, cudnnDataType_t, cudnnNanPropagation_t, cudnnReduceTensorIndices_t, cudnnIndicesType_t) @nogc nothrow; cudnnStatus_t cudnnGetReduceTensorDescriptor(const(cudnnReduceTensorStruct*), cudnnReduceTensorOp_t*, cudnnDataType_t*, cudnnNanPropagation_t*, cudnnReduceTensorIndices_t*, cudnnIndicesType_t*) @nogc nothrow; cudnnStatus_t cudnnDestroyReduceTensorDescriptor(cudnnReduceTensorStruct*) @nogc nothrow; cudnnStatus_t cudnnGetReductionIndicesSize(cudnnContext*, const(cudnnReduceTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnGetReductionWorkspaceSize(cudnnContext*, const(cudnnReduceTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnReduceTensor(cudnnContext*, const(cudnnReduceTensorStruct*), void*, c_ulong, void*, c_ulong, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnSetTensor(cudnnContext*, const(cudnnTensorStruct*), void*, const(void)*) @nogc nothrow; cudnnStatus_t cudnnScaleTensor(cudnnContext*, const(cudnnTensorStruct*), void*, const(void)*) @nogc nothrow; alias cudnnConvolutionMode_t = _Anonymous_40; enum _Anonymous_40 { CUDNN_CONVOLUTION = 0, CUDNN_CROSS_CORRELATION = 1, } enum CUDNN_CONVOLUTION = _Anonymous_40.CUDNN_CONVOLUTION; enum CUDNN_CROSS_CORRELATION = _Anonymous_40.CUDNN_CROSS_CORRELATION; cudnnStatus_t cudnnCreateFilterDescriptor(cudnnFilterStruct**) @nogc nothrow; cudnnStatus_t cudnnSetFilter4dDescriptor(cudnnFilterStruct*, cudnnDataType_t, cudnnTensorFormat_t, int, int, int, int) @nogc nothrow; cudnnStatus_t cudnnGetFilter4dDescriptor(const(cudnnFilterStruct*), cudnnDataType_t*, cudnnTensorFormat_t*, int*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnSetFilterNdDescriptor(cudnnFilterStruct*, cudnnDataType_t, cudnnTensorFormat_t, int, const(int)*) @nogc nothrow; cudnnStatus_t cudnnGetFilterNdDescriptor(const(cudnnFilterStruct*), int, cudnnDataType_t*, cudnnTensorFormat_t*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnGetFilterSizeInBytes(const(cudnnFilterStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnTransformFilter(cudnnContext*, const(cudnnTensorTransformStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(void)*, const(cudnnFilterStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnDestroyFilterDescriptor(cudnnFilterStruct*) @nogc nothrow; cudnnStatus_t cudnnReorderFilterAndBias(cudnnContext*, const(cudnnFilterStruct*), cudnnReorderType_t, const(void)*, void*, int, const(void)*, void*) @nogc nothrow; cudnnStatus_t cudnnCreateConvolutionDescriptor(cudnnConvolutionStruct**) @nogc nothrow; cudnnStatus_t cudnnSetConvolutionMathType(cudnnConvolutionStruct*, cudnnMathType_t) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionMathType(cudnnConvolutionStruct*, cudnnMathType_t*) @nogc nothrow; cudnnStatus_t cudnnSetConvolutionGroupCount(cudnnConvolutionStruct*, int) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionGroupCount(cudnnConvolutionStruct*, int*) @nogc nothrow; cudnnStatus_t cudnnSetConvolutionReorderType(cudnnConvolutionStruct*, cudnnReorderType_t) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionReorderType(cudnnConvolutionStruct*, cudnnReorderType_t*) @nogc nothrow; cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionStruct*, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t) @nogc nothrow; cudnnStatus_t cudnnGetConvolution2dDescriptor(const(cudnnConvolutionStruct*), int*, int*, int*, int*, int*, int*, cudnnConvolutionMode_t*, cudnnDataType_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolution2dForwardOutputDim(const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), const(cudnnFilterStruct*), int*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnSetConvolutionNdDescriptor(cudnnConvolutionStruct*, int, const(int)*, const(int)*, const(int)*, cudnnConvolutionMode_t, cudnnDataType_t) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionNdDescriptor(const(cudnnConvolutionStruct*), int, int*, int*, int*, int*, cudnnConvolutionMode_t*, cudnnDataType_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionNdForwardOutputDim(const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), const(cudnnFilterStruct*), int, int*) @nogc nothrow; cudnnStatus_t cudnnDestroyConvolutionDescriptor(cudnnConvolutionStruct*) @nogc nothrow; alias cudnnConvolutionFwdPreference_t = _Anonymous_41; enum _Anonymous_41 { CUDNN_CONVOLUTION_FWD_NO_WORKSPACE = 0, CUDNN_CONVOLUTION_FWD_PREFER_FASTEST = 1, CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT = 2, } enum CUDNN_CONVOLUTION_FWD_NO_WORKSPACE = _Anonymous_41.CUDNN_CONVOLUTION_FWD_NO_WORKSPACE; enum CUDNN_CONVOLUTION_FWD_PREFER_FASTEST = _Anonymous_41.CUDNN_CONVOLUTION_FWD_PREFER_FASTEST; enum CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT = _Anonymous_41.CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT; alias cudnnConvolutionFwdAlgo_t = _Anonymous_42; enum _Anonymous_42 { CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM = 0, CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM = 1, CUDNN_CONVOLUTION_FWD_ALGO_GEMM = 2, CUDNN_CONVOLUTION_FWD_ALGO_DIRECT = 3, CUDNN_CONVOLUTION_FWD_ALGO_FFT = 4, CUDNN_CONVOLUTION_FWD_ALGO_FFT_TILING = 5, CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD = 6, CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED = 7, CUDNN_CONVOLUTION_FWD_ALGO_COUNT = 8, } enum CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM; enum CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM; enum CUDNN_CONVOLUTION_FWD_ALGO_GEMM = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_GEMM; enum CUDNN_CONVOLUTION_FWD_ALGO_DIRECT = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_DIRECT; enum CUDNN_CONVOLUTION_FWD_ALGO_FFT = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_FFT; enum CUDNN_CONVOLUTION_FWD_ALGO_FFT_TILING = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_FFT_TILING; enum CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD; enum CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_WINOGRAD_NONFUSED; enum CUDNN_CONVOLUTION_FWD_ALGO_COUNT = _Anonymous_42.CUDNN_CONVOLUTION_FWD_ALGO_COUNT; struct cudnnConvolutionFwdAlgoPerf_t { cudnnConvolutionFwdAlgo_t algo; cudnnStatus_t status; float time; c_ulong memory; cudnnDeterminism_t determinism; cudnnMathType_t mathType; int[3] reserved; } cudnnStatus_t cudnnGetConvolutionForwardAlgorithmMaxCount(cudnnContext*, int*) @nogc nothrow; cudnnStatus_t cudnnFindConvolutionForwardAlgorithm(cudnnContext*, const(cudnnTensorStruct*), const(cudnnFilterStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), const(int), int*, cudnnConvolutionFwdAlgoPerf_t*) @nogc nothrow; cudnnStatus_t cudnnFindConvolutionForwardAlgorithmEx(cudnnContext*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), void*, const(int), int*, cudnnConvolutionFwdAlgoPerf_t*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionForwardAlgorithm(cudnnContext*, const(cudnnTensorStruct*), const(cudnnFilterStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), cudnnConvolutionFwdPreference_t, c_ulong, cudnnConvolutionFwdAlgo_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionForwardAlgorithm_v7(cudnnContext*, const(cudnnTensorStruct*), const(cudnnFilterStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), const(int), int*, cudnnConvolutionFwdAlgoPerf_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionForwardWorkspaceSize(cudnnContext*, const(cudnnTensorStruct*), const(cudnnFilterStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), cudnnConvolutionFwdAlgo_t, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnConvolutionForward(cudnnContext*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnConvolutionStruct*), cudnnConvolutionFwdAlgo_t, void*, c_ulong, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnConvolutionBiasActivationForward(cudnnContext*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnConvolutionStruct*), cudnnConvolutionFwdAlgo_t, void*, c_ulong, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnActivationStruct*), const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnConvolutionBackwardBias(cudnnContext*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; alias cudnnConvolutionBwdFilterPreference_t = _Anonymous_43; enum _Anonymous_43 { CUDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE = 0, CUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST = 1, CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT = 2, } enum CUDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE = _Anonymous_43.CUDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE; enum CUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST = _Anonymous_43.CUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST; enum CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT = _Anonymous_43.CUDNN_CONVOLUTION_BWD_FILTER_SPECIFY_WORKSPACE_LIMIT; alias cudnnConvolutionBwdFilterAlgo_t = _Anonymous_44; enum _Anonymous_44 { CUDNN_CONVOLUTION_BWD_FILTER_ALGO_0 = 0, CUDNN_CONVOLUTION_BWD_FILTER_ALGO_1 = 1, CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT = 2, CUDNN_CONVOLUTION_BWD_FILTER_ALGO_3 = 3, CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD = 4, CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD_NONFUSED = 5, CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT_TILING = 6, CUDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT = 7, } enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_0 = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_0; enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_1 = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_1; enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT; enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_3 = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_3; enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD; enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD_NONFUSED = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_WINOGRAD_NONFUSED; enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT_TILING = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_FFT_TILING; enum CUDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT = _Anonymous_44.CUDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT; struct cudnnConvolutionBwdFilterAlgoPerf_t { cudnnConvolutionBwdFilterAlgo_t algo; cudnnStatus_t status; float time; c_ulong memory; cudnnDeterminism_t determinism; cudnnMathType_t mathType; int[3] reserved; } cudnnStatus_t cudnnGetConvolutionBackwardFilterAlgorithmMaxCount(cudnnContext*, int*) @nogc nothrow; cudnnStatus_t cudnnFindConvolutionBackwardFilterAlgorithm(cudnnContext*, const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnFilterStruct*), const(int), int*, cudnnConvolutionBwdFilterAlgoPerf_t*) @nogc nothrow; cudnnStatus_t cudnnFindConvolutionBackwardFilterAlgorithmEx(cudnnContext*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnConvolutionStruct*), const(cudnnFilterStruct*), void*, const(int), int*, cudnnConvolutionBwdFilterAlgoPerf_t*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionBackwardFilterAlgorithm(cudnnContext*, const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnFilterStruct*), cudnnConvolutionBwdFilterPreference_t, c_ulong, cudnnConvolutionBwdFilterAlgo_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionBackwardFilterAlgorithm_v7(cudnnContext*, const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnFilterStruct*), const(int), int*, cudnnConvolutionBwdFilterAlgoPerf_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionBackwardFilterWorkspaceSize(cudnnContext*, const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnFilterStruct*), cudnnConvolutionBwdFilterAlgo_t, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnConvolutionBackwardFilter(cudnnContext*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnConvolutionStruct*), cudnnConvolutionBwdFilterAlgo_t, void*, c_ulong, const(void)*, const(cudnnFilterStruct*), void*) @nogc nothrow; alias cudnnConvolutionBwdDataPreference_t = _Anonymous_45; enum _Anonymous_45 { CUDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE = 0, CUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST = 1, CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT = 2, } enum CUDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE = _Anonymous_45.CUDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE; enum CUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST = _Anonymous_45.CUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST; enum CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT = _Anonymous_45.CUDNN_CONVOLUTION_BWD_DATA_SPECIFY_WORKSPACE_LIMIT; alias cudnnConvolutionBwdDataAlgo_t = _Anonymous_46; enum _Anonymous_46 { CUDNN_CONVOLUTION_BWD_DATA_ALGO_0 = 0, CUDNN_CONVOLUTION_BWD_DATA_ALGO_1 = 1, CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT = 2, CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT_TILING = 3, CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD = 4, CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD_NONFUSED = 5, CUDNN_CONVOLUTION_BWD_DATA_ALGO_COUNT = 6, } enum CUDNN_CONVOLUTION_BWD_DATA_ALGO_0 = _Anonymous_46.CUDNN_CONVOLUTION_BWD_DATA_ALGO_0; enum CUDNN_CONVOLUTION_BWD_DATA_ALGO_1 = _Anonymous_46.CUDNN_CONVOLUTION_BWD_DATA_ALGO_1; enum CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT = _Anonymous_46.CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT; enum CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT_TILING = _Anonymous_46.CUDNN_CONVOLUTION_BWD_DATA_ALGO_FFT_TILING; enum CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD = _Anonymous_46.CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD; enum CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD_NONFUSED = _Anonymous_46.CUDNN_CONVOLUTION_BWD_DATA_ALGO_WINOGRAD_NONFUSED; enum CUDNN_CONVOLUTION_BWD_DATA_ALGO_COUNT = _Anonymous_46.CUDNN_CONVOLUTION_BWD_DATA_ALGO_COUNT; struct cudnnConvolutionBwdDataAlgoPerf_t { cudnnConvolutionBwdDataAlgo_t algo; cudnnStatus_t status; float time; c_ulong memory; cudnnDeterminism_t determinism; cudnnMathType_t mathType; int[3] reserved; } cudnnStatus_t cudnnGetConvolutionBackwardDataAlgorithmMaxCount(cudnnContext*, int*) @nogc nothrow; cudnnStatus_t cudnnFindConvolutionBackwardDataAlgorithm(cudnnContext*, const(cudnnFilterStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), const(int), int*, cudnnConvolutionBwdDataAlgoPerf_t*) @nogc nothrow; cudnnStatus_t cudnnFindConvolutionBackwardDataAlgorithmEx(cudnnContext*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), void*, const(int), int*, cudnnConvolutionBwdDataAlgoPerf_t*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionBackwardDataAlgorithm(cudnnContext*, const(cudnnFilterStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), cudnnConvolutionBwdDataPreference_t, c_ulong, cudnnConvolutionBwdDataAlgo_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionBackwardDataAlgorithm_v7(cudnnContext*, const(cudnnFilterStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), const(int), int*, cudnnConvolutionBwdDataAlgoPerf_t*) @nogc nothrow; cudnnStatus_t cudnnGetConvolutionBackwardDataWorkspaceSize(cudnnContext*, const(cudnnFilterStruct*), const(cudnnTensorStruct*), const(cudnnConvolutionStruct*), const(cudnnTensorStruct*), cudnnConvolutionBwdDataAlgo_t, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnConvolutionBackwardData(cudnnContext*, const(void)*, const(cudnnFilterStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnConvolutionStruct*), cudnnConvolutionBwdDataAlgo_t, void*, c_ulong, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnIm2Col(cudnnContext*, const(cudnnTensorStruct*), const(void)*, const(cudnnFilterStruct*), const(cudnnConvolutionStruct*), void*) @nogc nothrow; alias cudnnSoftmaxAlgorithm_t = _Anonymous_47; enum _Anonymous_47 { CUDNN_SOFTMAX_FAST = 0, CUDNN_SOFTMAX_ACCURATE = 1, CUDNN_SOFTMAX_LOG = 2, } enum CUDNN_SOFTMAX_FAST = _Anonymous_47.CUDNN_SOFTMAX_FAST; enum CUDNN_SOFTMAX_ACCURATE = _Anonymous_47.CUDNN_SOFTMAX_ACCURATE; enum CUDNN_SOFTMAX_LOG = _Anonymous_47.CUDNN_SOFTMAX_LOG; alias cudnnSoftmaxMode_t = _Anonymous_48; enum _Anonymous_48 { CUDNN_SOFTMAX_MODE_INSTANCE = 0, CUDNN_SOFTMAX_MODE_CHANNEL = 1, } enum CUDNN_SOFTMAX_MODE_INSTANCE = _Anonymous_48.CUDNN_SOFTMAX_MODE_INSTANCE; enum CUDNN_SOFTMAX_MODE_CHANNEL = _Anonymous_48.CUDNN_SOFTMAX_MODE_CHANNEL; cudnnStatus_t cudnnSoftmaxForward(cudnnContext*, cudnnSoftmaxAlgorithm_t, cudnnSoftmaxMode_t, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnSoftmaxBackward(cudnnContext*, cudnnSoftmaxAlgorithm_t, cudnnSoftmaxMode_t, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; alias cudnnPoolingMode_t = _Anonymous_49; enum _Anonymous_49 { CUDNN_POOLING_MAX = 0, CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING = 1, CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING = 2, CUDNN_POOLING_MAX_DETERMINISTIC = 3, } enum CUDNN_POOLING_MAX = _Anonymous_49.CUDNN_POOLING_MAX; enum CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING = _Anonymous_49.CUDNN_POOLING_AVERAGE_COUNT_INCLUDE_PADDING; enum CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING = _Anonymous_49.CUDNN_POOLING_AVERAGE_COUNT_EXCLUDE_PADDING; enum CUDNN_POOLING_MAX_DETERMINISTIC = _Anonymous_49.CUDNN_POOLING_MAX_DETERMINISTIC; cudnnStatus_t cudnnCreatePoolingDescriptor(cudnnPoolingStruct**) @nogc nothrow; cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingStruct*, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int) @nogc nothrow; cudnnStatus_t cudnnGetPooling2dDescriptor(const(cudnnPoolingStruct*), cudnnPoolingMode_t*, cudnnNanPropagation_t*, int*, int*, int*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnSetPoolingNdDescriptor(cudnnPoolingStruct*, const(cudnnPoolingMode_t), const(cudnnNanPropagation_t), int, const(int)*, const(int)*, const(int)*) @nogc nothrow; cudnnStatus_t cudnnGetPoolingNdDescriptor(const(cudnnPoolingStruct*), int, cudnnPoolingMode_t*, cudnnNanPropagation_t*, int*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnGetPoolingNdForwardOutputDim(const(cudnnPoolingStruct*), const(cudnnTensorStruct*), int, int*) @nogc nothrow; cudnnStatus_t cudnnGetPooling2dForwardOutputDim(const(cudnnPoolingStruct*), const(cudnnTensorStruct*), int*, int*, int*, int*) @nogc nothrow; cudnnStatus_t cudnnDestroyPoolingDescriptor(cudnnPoolingStruct*) @nogc nothrow; cudnnStatus_t cudnnPoolingForward(cudnnContext*, const(cudnnPoolingStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnPoolingBackward(cudnnContext*, const(cudnnPoolingStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; alias cudnnActivationMode_t = _Anonymous_50; enum _Anonymous_50 { CUDNN_ACTIVATION_SIGMOID = 0, CUDNN_ACTIVATION_RELU = 1, CUDNN_ACTIVATION_TANH = 2, CUDNN_ACTIVATION_CLIPPED_RELU = 3, CUDNN_ACTIVATION_ELU = 4, CUDNN_ACTIVATION_IDENTITY = 5, } enum CUDNN_ACTIVATION_SIGMOID = _Anonymous_50.CUDNN_ACTIVATION_SIGMOID; enum CUDNN_ACTIVATION_RELU = _Anonymous_50.CUDNN_ACTIVATION_RELU; enum CUDNN_ACTIVATION_TANH = _Anonymous_50.CUDNN_ACTIVATION_TANH; enum CUDNN_ACTIVATION_CLIPPED_RELU = _Anonymous_50.CUDNN_ACTIVATION_CLIPPED_RELU; enum CUDNN_ACTIVATION_ELU = _Anonymous_50.CUDNN_ACTIVATION_ELU; enum CUDNN_ACTIVATION_IDENTITY = _Anonymous_50.CUDNN_ACTIVATION_IDENTITY; cudnnStatus_t cudnnCreateActivationDescriptor(cudnnActivationStruct**) @nogc nothrow; cudnnStatus_t cudnnSetActivationDescriptor(cudnnActivationStruct*, cudnnActivationMode_t, cudnnNanPropagation_t, double) @nogc nothrow; cudnnStatus_t cudnnGetActivationDescriptor(const(cudnnActivationStruct*), cudnnActivationMode_t*, cudnnNanPropagation_t*, double*) @nogc nothrow; cudnnStatus_t cudnnDestroyActivationDescriptor(cudnnActivationStruct*) @nogc nothrow; cudnnStatus_t cudnnActivationForward(cudnnContext*, cudnnActivationStruct*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnActivationBackward(cudnnContext*, cudnnActivationStruct*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnCreateLRNDescriptor(cudnnLRNStruct**) @nogc nothrow; cudnnStatus_t cudnnGetRNNTrainingReserveSize(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnGetRNNWorkspaceSize(cudnnContext*, const(cudnnRNNStruct*), const(int), const(cudnnTensorStruct*)*, c_ulong*) @nogc nothrow; alias cudnnLRNMode_t = _Anonymous_51; enum _Anonymous_51 { CUDNN_LRN_CROSS_CHANNEL_DIM1 = 0, } enum CUDNN_LRN_CROSS_CHANNEL_DIM1 = _Anonymous_51.CUDNN_LRN_CROSS_CHANNEL_DIM1; cudnnStatus_t cudnnSetLRNDescriptor(cudnnLRNStruct*, uint, double, double, double) @nogc nothrow; cudnnStatus_t cudnnGetLRNDescriptor(cudnnLRNStruct*, uint*, double*, double*, double*) @nogc nothrow; cudnnStatus_t cudnnDestroyLRNDescriptor(cudnnLRNStruct*) @nogc nothrow; cudnnStatus_t cudnnLRNCrossChannelForward(cudnnContext*, cudnnLRNStruct*, cudnnLRNMode_t, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnLRNCrossChannelBackward(cudnnContext*, cudnnLRNStruct*, cudnnLRNMode_t, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; alias cudnnDivNormMode_t = _Anonymous_52; enum _Anonymous_52 { CUDNN_DIVNORM_PRECOMPUTED_MEANS = 0, } enum CUDNN_DIVNORM_PRECOMPUTED_MEANS = _Anonymous_52.CUDNN_DIVNORM_PRECOMPUTED_MEANS; cudnnStatus_t cudnnDivisiveNormalizationForward(cudnnContext*, cudnnLRNStruct*, cudnnDivNormMode_t, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, void*, void*, const(void)*, const(cudnnTensorStruct*), void*) @nogc nothrow; cudnnStatus_t cudnnDivisiveNormalizationBackward(cudnnContext*, cudnnLRNStruct*, cudnnDivNormMode_t, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(void)*, void*, void*, const(void)*, const(cudnnTensorStruct*), void*, void*) @nogc nothrow; alias cudnnBatchNormMode_t = _Anonymous_53; enum _Anonymous_53 { CUDNN_BATCHNORM_PER_ACTIVATION = 0, CUDNN_BATCHNORM_SPATIAL = 1, CUDNN_BATCHNORM_SPATIAL_PERSISTENT = 2, } enum CUDNN_BATCHNORM_PER_ACTIVATION = _Anonymous_53.CUDNN_BATCHNORM_PER_ACTIVATION; enum CUDNN_BATCHNORM_SPATIAL = _Anonymous_53.CUDNN_BATCHNORM_SPATIAL; enum CUDNN_BATCHNORM_SPATIAL_PERSISTENT = _Anonymous_53.CUDNN_BATCHNORM_SPATIAL_PERSISTENT; cudnnStatus_t cudnnDeriveBNTensorDescriptor(cudnnTensorStruct*, const(cudnnTensorStruct*), cudnnBatchNormMode_t) @nogc nothrow; alias cudnnBatchNormOps_t = _Anonymous_54; enum _Anonymous_54 { CUDNN_BATCHNORM_OPS_BN = 0, CUDNN_BATCHNORM_OPS_BN_ACTIVATION = 1, CUDNN_BATCHNORM_OPS_BN_ADD_ACTIVATION = 2, } enum CUDNN_BATCHNORM_OPS_BN = _Anonymous_54.CUDNN_BATCHNORM_OPS_BN; enum CUDNN_BATCHNORM_OPS_BN_ACTIVATION = _Anonymous_54.CUDNN_BATCHNORM_OPS_BN_ACTIVATION; enum CUDNN_BATCHNORM_OPS_BN_ADD_ACTIVATION = _Anonymous_54.CUDNN_BATCHNORM_OPS_BN_ADD_ACTIVATION; cudnnStatus_t cudnnGetBatchNormalizationForwardTrainingExWorkspaceSize(cudnnContext*, cudnnBatchNormMode_t, cudnnBatchNormOps_t, const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnActivationStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnGetBatchNormalizationBackwardExWorkspaceSize(cudnnContext*, cudnnBatchNormMode_t, cudnnBatchNormOps_t, const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnTensorStruct*), const(cudnnActivationStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnGetBatchNormalizationTrainingExReserveSpaceSize(cudnnContext*, cudnnBatchNormMode_t, cudnnBatchNormOps_t, const(cudnnActivationStruct*), const(cudnnTensorStruct*), c_ulong*) @nogc nothrow; cudnnStatus_t cudnnBatchNormalizationForwardTraining(cudnnContext*, cudnnBatchNormMode_t, const(void)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), const(void)*, const(void)*, double, void*, void*, double, void*, void*) @nogc nothrow; cudnnStatus_t cudnnBatchNormalizationForwardTrainingEx(cudnnContext*, cudnnBatchNormMode_t, cudnnBatchNormOps_t, const(void)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), const(void)*, const(void)*, double, void*, void*, double, void*, void*, cudnnActivationStruct*, void*, c_ulong, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnBatchNormalizationForwardInference(cudnnContext*, cudnnBatchNormMode_t, const(void)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(void)*, const(void)*, double) @nogc nothrow; cudnnStatus_t cudnnBatchNormalizationBackward(cudnnContext*, cudnnBatchNormMode_t, const(void)*, const(void)*, const(void)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), const(void)*, void*, void*, double, const(void)*, const(void)*) @nogc nothrow; cudnnStatus_t cudnnBatchNormalizationBackwardEx(cudnnContext*, cudnnBatchNormMode_t, cudnnBatchNormOps_t, const(void)*, const(void)*, const(void)*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), void*, const(cudnnTensorStruct*), const(void)*, const(void)*, void*, void*, double, const(void)*, const(void)*, cudnnActivationStruct*, void*, c_ulong, void*, c_ulong) @nogc nothrow; alias cudnnSamplerType_t = _Anonymous_55; enum _Anonymous_55 { CUDNN_SAMPLER_BILINEAR = 0, } enum CUDNN_SAMPLER_BILINEAR = _Anonymous_55.CUDNN_SAMPLER_BILINEAR; cudnnStatus_t cudnnCreateSpatialTransformerDescriptor(cudnnSpatialTransformerStruct**) @nogc nothrow; cudnnStatus_t cudnnSetSpatialTransformerNdDescriptor(cudnnSpatialTransformerStruct*, cudnnSamplerType_t, cudnnDataType_t, const(int), const(int)*) @nogc nothrow; cudnnStatus_t cudnnDestroySpatialTransformerDescriptor(cudnnSpatialTransformerStruct*) @nogc nothrow; cudnnStatus_t cudnnSpatialTfGridGeneratorForward(cudnnContext*, const(cudnnSpatialTransformerStruct*), const(void)*, void*) @nogc nothrow; cudnnStatus_t cudnnSpatialTfGridGeneratorBackward(cudnnContext*, const(cudnnSpatialTransformerStruct*), const(void)*, void*) @nogc nothrow; cudnnStatus_t cudnnSpatialTfSamplerForward(cudnnContext*, cudnnSpatialTransformerStruct*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(void)*, cudnnTensorStruct*, void*) @nogc nothrow; cudnnStatus_t cudnnSpatialTfSamplerBackward(cudnnContext*, cudnnSpatialTransformerStruct*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(cudnnTensorStruct*), void*, const(void)*, const(cudnnTensorStruct*), const(void)*, const(void)*, const(void)*, void*) @nogc nothrow; alias cudnnDropoutDescriptor_t = cudnnDropoutStruct*; struct cudnnDropoutStruct; cudnnStatus_t cudnnCreateDropoutDescriptor(cudnnDropoutStruct**) @nogc nothrow; cudnnStatus_t cudnnDestroyDropoutDescriptor(cudnnDropoutStruct*) @nogc nothrow; cudnnStatus_t cudnnDropoutGetStatesSize(cudnnContext*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnDropoutGetReserveSpaceSize(cudnnTensorStruct*, c_ulong*) @nogc nothrow; cudnnStatus_t cudnnSetDropoutDescriptor(cudnnDropoutStruct*, cudnnContext*, float, void*, c_ulong, ulong) @nogc nothrow; cudnnStatus_t cudnnRestoreDropoutDescriptor(cudnnDropoutStruct*, cudnnContext*, float, void*, c_ulong, ulong) @nogc nothrow; cudnnStatus_t cudnnGetDropoutDescriptor(cudnnDropoutStruct*, cudnnContext*, float*, void**, ulong*) @nogc nothrow; cudnnStatus_t cudnnDropoutForward(cudnnContext*, const(cudnnDropoutStruct*), const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), void*, void*, c_ulong) @nogc nothrow; cudnnStatus_t cudnnDropoutBackward(cudnnContext*, const(cudnnDropoutStruct*), const(cudnnTensorStruct*), const(void)*, const(cudnnTensorStruct*), void*, void*, c_ulong) @nogc nothrow; alias cudnnRNNAlgo_t = _Anonymous_56; enum _Anonymous_56 { CUDNN_RNN_ALGO_STANDARD = 0, CUDNN_RNN_ALGO_PERSIST_STATIC = 1, CUDNN_RNN_ALGO_PERSIST_DYNAMIC = 2, CUDNN_RNN_ALGO_COUNT = 3, } enum CUDNN_RNN_ALGO_STANDARD = _Anonymous_56.CUDNN_RNN_ALGO_STANDARD; enum CUDNN_RNN_ALGO_PERSIST_STATIC = _Anonymous_56.CUDNN_RNN_ALGO_PERSIST_STATIC; enum CUDNN_RNN_ALGO_PERSIST_DYNAMIC = _Anonymous_56.CUDNN_RNN_ALGO_PERSIST_DYNAMIC; enum CUDNN_RNN_ALGO_COUNT = _Anonymous_56.CUDNN_RNN_ALGO_COUNT; alias cudnnRNNMode_t = _Anonymous_57; enum _Anonymous_57 { CUDNN_RNN_RELU = 0, CUDNN_RNN_TANH = 1, CUDNN_LSTM = 2, CUDNN_GRU = 3, } enum CUDNN_RNN_RELU = _Anonymous_57.CUDNN_RNN_RELU; enum CUDNN_RNN_TANH = _Anonymous_57.CUDNN_RNN_TANH; enum CUDNN_LSTM = _Anonymous_57.CUDNN_LSTM; enum CUDNN_GRU = _Anonymous_57.CUDNN_GRU; alias cudnnRNNBiasMode_t = _Anonymous_58; enum _Anonymous_58 { CUDNN_RNN_NO_BIAS = 0, CUDNN_RNN_SINGLE_INP_BIAS = 1, CUDNN_RNN_DOUBLE_BIAS = 2, CUDNN_RNN_SINGLE_REC_BIAS = 3, } enum CUDNN_RNN_NO_BIAS = _Anonymous_58.CUDNN_RNN_NO_BIAS; enum CUDNN_RNN_SINGLE_INP_BIAS = _Anonymous_58.CUDNN_RNN_SINGLE_INP_BIAS; enum CUDNN_RNN_DOUBLE_BIAS = _Anonymous_58.CUDNN_RNN_DOUBLE_BIAS; enum CUDNN_RNN_SINGLE_REC_BIAS = _Anonymous_58.CUDNN_RNN_SINGLE_REC_BIAS; alias cudnnDirectionMode_t = _Anonymous_59; enum _Anonymous_59 { CUDNN_UNIDIRECTIONAL = 0, CUDNN_BIDIRECTIONAL = 1, } enum CUDNN_UNIDIRECTIONAL = _Anonymous_59.CUDNN_UNIDIRECTIONAL; enum CUDNN_BIDIRECTIONAL = _Anonymous_59.CUDNN_BIDIRECTIONAL; alias cudnnRNNInputMode_t = _Anonymous_60; enum _Anonymous_60 { CUDNN_LINEAR_INPUT = 0, CUDNN_SKIP_INPUT = 1, } enum CUDNN_LINEAR_INPUT = _Anonymous_60.CUDNN_LINEAR_INPUT; enum CUDNN_SKIP_INPUT = _Anonymous_60.CUDNN_SKIP_INPUT; alias cudnnRNNClipMode_t = _Anonymous_61; enum _Anonymous_61 { CUDNN_RNN_CLIP_NONE = 0, CUDNN_RNN_CLIP_MINMAX = 1, } enum CUDNN_RNN_CLIP_NONE = _Anonymous_61.CUDNN_RNN_CLIP_NONE; enum CUDNN_RNN_CLIP_MINMAX = _Anonymous_61.CUDNN_RNN_CLIP_MINMAX; alias cudnnRNNDataLayout_t = _Anonymous_62; enum _Anonymous_62 { CUDNN_RNN_DATA_LAYOUT_SEQ_MAJOR_UNPACKED = 0, CUDNN_RNN_DATA_LAYOUT_SEQ_MAJOR_PACKED = 1, CUDNN_RNN_DATA_LAYOUT_BATCH_MAJOR_UNPACKED = 2, } enum CUDNN_RNN_DATA_LAYOUT_SEQ_MAJOR_UNPACKED = _Anonymous_62.CUDNN_RNN_DATA_LAYOUT_SEQ_MAJOR_UNPACKED; enum CUDNN_RNN_DATA_LAYOUT_SEQ_MAJOR_PACKED = _Anonymous_62.CUDNN_RNN_DATA_LAYOUT_SEQ_MAJOR_PACKED; enum CUDNN_RNN_DATA_LAYOUT_BATCH_MAJOR_UNPACKED = _Anonymous_62.CUDNN_RNN_DATA_LAYOUT_BATCH_MAJOR_UNPACKED; alias cudnnRNNPaddingMode_t = _Anonymous_63; enum _Anonymous_63 { CUDNN_RNN_PADDED_IO_DISABLED = 0, CUDNN_RNN_PADDED_IO_ENABLED = 1, } enum CUDNN_RNN_PADDED_IO_DISABLED = _Anonymous_63.CUDNN_RNN_PADDED_IO_DISABLED; enum CUDNN_RNN_PADDED_IO_ENABLED = _Anonymous_63.CUDNN_RNN_PADDED_IO_ENABLED; struct cudnnRNNStruct; alias cudnnRNNDescriptor_t = cudnnRNNStruct*; struct cudnnPersistentRNNPlan; alias cudnnPersistentRNNPlan_t = cudnnPersistentRNNPlan*; struct cudnnRNNDataStruct; alias cudnnRNNDataDescriptor_t = cudnnRNNDataStruct*; cudnnStatus_t cudnnCreateRNNDescriptor(cudnnRNNStruct**) @nogc nothrow; cudnnStatus_t cudnnDestroyRNNDescriptor(cudnnRNNStruct*) @nogc nothrow; cudnnStatus_t cudnnSetRNNDescriptor(cudnnContext*, cudnnRNNStruct*, const(int), const(int), cudnnDropoutStruct*, cudnnRNNInputMode_t, cudnnDirectionMode_t, cudnnRNNMode_t, cudnnRNNAlgo_t, cudnnDataType_t) @nogc nothrow; cudnnStatus_t cudnnGetRNNDescriptor(cudnnContext*, cudnnRNNStruct*, int*, int*, cudnnDropoutStruct**, cudnnRNNInputMode_t*, cudnnDirectionMode_t*, cudnnRNNMode_t*, cudnnRNNAlgo_t*, cudnnDataType_t*) @nogc nothrow; cudnnStatus_t cudnnSetRNNMatrixMathType(cudnnRNNStruct*, cudnnMathType_t) @nogc nothrow; cudnnStatus_t cudnnGetRNNMatrixMathType(cudnnRNNStruct*, cudnnMathType_t*) @nogc nothrow; cudnnStatus_t cudnnSetRNNBiasMode(cudnnRNNStruct*, cudnnRNNBiasMode_t) @nogc nothrow; cudnnStatus_t cudnnGetRNNBiasMode(cudnnRNNStruct*, cudnnRNNBiasMode_t*) @nogc nothrow; cudnnStatus_t cudnnRNNSetClip(cudnnContext*, cudnnRNNStruct*, cudnnRNNClipMode_t, cudnnNanPropagation_t, double, double) @nogc nothrow; cudnnStatus_t cudnnRNNGetClip(cudnnContext*, cudnnRNNStruct*, cudnnRNNClipMode_t*, cudnnNanPropagation_t*, double*, double*) @nogc nothrow; cudnnStatus_t cudnnSetRNNProjectionLayers(cudnnContext*, cudnnRNNStruct*, const(int), const(int)) @nogc nothrow; cudnnStatus_t cudnnGetRNNProjectionLayers(cudnnContext*, const(cudnnRNNStruct*), int*, int*) @nogc nothrow; cudnnStatus_t cudnnCreatePersistentRNNPlan(cudnnRNNStruct*, const(int), const(cudnnDataType_t), cudnnPersistentRNNPlan**) @nogc nothrow; cudnnStatus_t cudnnDestroyPersistentRNNPlan(cudnnPersistentRNNPlan*) @nogc nothrow; cudnnStatus_t cudnnSetPersistentRNNPlan(cudnnRNNStruct*, cudnnPersistentRNNPlan*) @nogc nothrow; static if(!is(typeof(CUDNN_BN_MIN_EPSILON))) { private enum enumMixinStr_CUDNN_BN_MIN_EPSILON = `enum CUDNN_BN_MIN_EPSILON = 0.0;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_BN_MIN_EPSILON); }))) { mixin(enumMixinStr_CUDNN_BN_MIN_EPSILON); } } static if(!is(typeof(CUDNN_LRN_MIN_BETA))) { private enum enumMixinStr_CUDNN_LRN_MIN_BETA = `enum CUDNN_LRN_MIN_BETA = 0.01;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_LRN_MIN_BETA); }))) { mixin(enumMixinStr_CUDNN_LRN_MIN_BETA); } } static if(!is(typeof(CUDNN_LRN_MIN_K))) { private enum enumMixinStr_CUDNN_LRN_MIN_K = `enum CUDNN_LRN_MIN_K = 1e-5;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_LRN_MIN_K); }))) { mixin(enumMixinStr_CUDNN_LRN_MIN_K); } } static if(!is(typeof(CUDNN_LRN_MAX_N))) { private enum enumMixinStr_CUDNN_LRN_MAX_N = `enum CUDNN_LRN_MAX_N = 16;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_LRN_MAX_N); }))) { mixin(enumMixinStr_CUDNN_LRN_MAX_N); } } static if(!is(typeof(CUDNN_LRN_MIN_N))) { private enum enumMixinStr_CUDNN_LRN_MIN_N = `enum CUDNN_LRN_MIN_N = 1;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_LRN_MIN_N); }))) { mixin(enumMixinStr_CUDNN_LRN_MIN_N); } } static if(!is(typeof(CUDNN_DIM_MAX))) { private enum enumMixinStr_CUDNN_DIM_MAX = `enum CUDNN_DIM_MAX = 8;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_DIM_MAX); }))) { mixin(enumMixinStr_CUDNN_DIM_MAX); } } static if(!is(typeof(CUDNN_VERSION))) { private enum enumMixinStr_CUDNN_VERSION = `enum CUDNN_VERSION = ( CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL );`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_VERSION); }))) { mixin(enumMixinStr_CUDNN_VERSION); } } static if(!is(typeof(CUDNN_PATCHLEVEL))) { private enum enumMixinStr_CUDNN_PATCHLEVEL = `enum CUDNN_PATCHLEVEL = 5;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_PATCHLEVEL); }))) { mixin(enumMixinStr_CUDNN_PATCHLEVEL); } } static if(!is(typeof(CUDNN_MINOR))) { private enum enumMixinStr_CUDNN_MINOR = `enum CUDNN_MINOR = 6;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_MINOR); }))) { mixin(enumMixinStr_CUDNN_MINOR); } } static if(!is(typeof(CUDNN_MAJOR))) { private enum enumMixinStr_CUDNN_MAJOR = `enum CUDNN_MAJOR = 7;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_MAJOR); }))) { mixin(enumMixinStr_CUDNN_MAJOR); } } static if(!is(typeof(__CUDA_DEPRECATED))) { private enum enumMixinStr___CUDA_DEPRECATED = `enum __CUDA_DEPRECATED = __attribute__ ( ( deprecated ) );`; static if(is(typeof({ mixin(enumMixinStr___CUDA_DEPRECATED); }))) { mixin(enumMixinStr___CUDA_DEPRECATED); } } static if(!is(typeof(CUDART_DEVICE))) { private enum enumMixinStr_CUDART_DEVICE = `enum CUDART_DEVICE = __device__;`; static if(is(typeof({ mixin(enumMixinStr_CUDART_DEVICE); }))) { mixin(enumMixinStr_CUDART_DEVICE); } } static if(!is(typeof(__dv))) { private enum enumMixinStr___dv = `enum __dv = ( v );`; static if(is(typeof({ mixin(enumMixinStr___dv); }))) { mixin(enumMixinStr___dv); } } static if(!is(typeof(CUDART_VERSION))) { private enum enumMixinStr_CUDART_VERSION = `enum CUDART_VERSION = 10020;`; static if(is(typeof({ mixin(enumMixinStr_CUDART_VERSION); }))) { mixin(enumMixinStr_CUDART_VERSION); } } static if(!is(typeof(__managed__))) { private enum enumMixinStr___managed__ = `enum __managed__ = __location__ ( managed );`; static if(is(typeof({ mixin(enumMixinStr___managed__); }))) { mixin(enumMixinStr___managed__); } } static if(!is(typeof(__constant__))) { private enum enumMixinStr___constant__ = `enum __constant__ = __location__ ( constant );`; static if(is(typeof({ mixin(enumMixinStr___constant__); }))) { mixin(enumMixinStr___constant__); } } static if(!is(typeof(__shared__))) { private enum enumMixinStr___shared__ = `enum __shared__ = __location__ ( shared );`; static if(is(typeof({ mixin(enumMixinStr___shared__); }))) { mixin(enumMixinStr___shared__); } } static if(!is(typeof(__global__))) { private enum enumMixinStr___global__ = `enum __global__ = __location__ ( global );`; static if(is(typeof({ mixin(enumMixinStr___global__); }))) { mixin(enumMixinStr___global__); } } static if(!is(typeof(__device__))) { private enum enumMixinStr___device__ = `enum __device__ = __location__ ( device );`; static if(is(typeof({ mixin(enumMixinStr___device__); }))) { mixin(enumMixinStr___device__); } } static if(!is(typeof(__host__))) { private enum enumMixinStr___host__ = `enum __host__ = __location__ ( host );`; static if(is(typeof({ mixin(enumMixinStr___host__); }))) { mixin(enumMixinStr___host__); } } static if(!is(typeof(__thread__))) { private enum enumMixinStr___thread__ = `enum __thread__ = __thread;`; static if(is(typeof({ mixin(enumMixinStr___thread__); }))) { mixin(enumMixinStr___thread__); } } static if(!is(typeof(__forceinline__))) { private enum enumMixinStr___forceinline__ = `enum __forceinline__ = __inline__ __attribute__ ( ( always_inline ) );`; static if(is(typeof({ mixin(enumMixinStr___forceinline__); }))) { mixin(enumMixinStr___forceinline__); } } static if(!is(typeof(__no_return__))) { private enum enumMixinStr___no_return__ = `enum __no_return__ = __attribute__ ( ( noreturn ) );`; static if(is(typeof({ mixin(enumMixinStr___no_return__); }))) { mixin(enumMixinStr___no_return__); } } static if(!is(typeof(__HAVE_GENERIC_SELECTION))) { private enum enumMixinStr___HAVE_GENERIC_SELECTION = `enum __HAVE_GENERIC_SELECTION = 1;`; static if(is(typeof({ mixin(enumMixinStr___HAVE_GENERIC_SELECTION); }))) { mixin(enumMixinStr___HAVE_GENERIC_SELECTION); } } static if(!is(typeof(CUDNN_SEQDATA_DIM_COUNT))) { private enum enumMixinStr_CUDNN_SEQDATA_DIM_COUNT = `enum CUDNN_SEQDATA_DIM_COUNT = 4;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_SEQDATA_DIM_COUNT); }))) { mixin(enumMixinStr_CUDNN_SEQDATA_DIM_COUNT); } } static if(!is(typeof(__restrict_arr))) { private enum enumMixinStr___restrict_arr = `enum __restrict_arr = __restrict;`; static if(is(typeof({ mixin(enumMixinStr___restrict_arr); }))) { mixin(enumMixinStr___restrict_arr); } } static if(!is(typeof(__fortify_function))) { private enum enumMixinStr___fortify_function = `enum __fortify_function = __extern_always_inline __attribute_artificial__;`; static if(is(typeof({ mixin(enumMixinStr___fortify_function); }))) { mixin(enumMixinStr___fortify_function); } } static if(!is(typeof(__extern_always_inline))) { private enum enumMixinStr___extern_always_inline = `enum __extern_always_inline = extern __always_inline __attribute__ ( ( __gnu_inline__ ) );`; static if(is(typeof({ mixin(enumMixinStr___extern_always_inline); }))) { mixin(enumMixinStr___extern_always_inline); } } static if(!is(typeof(__extern_inline))) { private enum enumMixinStr___extern_inline = `enum __extern_inline = extern __inline __attribute__ ( ( __gnu_inline__ ) );`; static if(is(typeof({ mixin(enumMixinStr___extern_inline); }))) { mixin(enumMixinStr___extern_inline); } } static if(!is(typeof(__always_inline))) { private enum enumMixinStr___always_inline = `enum __always_inline = __inline __attribute__ ( ( __always_inline__ ) );`; static if(is(typeof({ mixin(enumMixinStr___always_inline); }))) { mixin(enumMixinStr___always_inline); } } static if(!is(typeof(CUDNN_ATTN_QUERYMAP_ALL_TO_ONE))) { private enum enumMixinStr_CUDNN_ATTN_QUERYMAP_ALL_TO_ONE = `enum CUDNN_ATTN_QUERYMAP_ALL_TO_ONE = 0;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_ATTN_QUERYMAP_ALL_TO_ONE); }))) { mixin(enumMixinStr_CUDNN_ATTN_QUERYMAP_ALL_TO_ONE); } } static if(!is(typeof(CUDNN_ATTN_QUERYMAP_ONE_TO_ONE))) { private enum enumMixinStr_CUDNN_ATTN_QUERYMAP_ONE_TO_ONE = `enum CUDNN_ATTN_QUERYMAP_ONE_TO_ONE = ( 1U << 0 );`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_ATTN_QUERYMAP_ONE_TO_ONE); }))) { mixin(enumMixinStr_CUDNN_ATTN_QUERYMAP_ONE_TO_ONE); } } static if(!is(typeof(CUDNN_ATTN_DISABLE_PROJ_BIASES))) { private enum enumMixinStr_CUDNN_ATTN_DISABLE_PROJ_BIASES = `enum CUDNN_ATTN_DISABLE_PROJ_BIASES = 0;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_ATTN_DISABLE_PROJ_BIASES); }))) { mixin(enumMixinStr_CUDNN_ATTN_DISABLE_PROJ_BIASES); } } static if(!is(typeof(CUDNN_ATTN_ENABLE_PROJ_BIASES))) { private enum enumMixinStr_CUDNN_ATTN_ENABLE_PROJ_BIASES = `enum CUDNN_ATTN_ENABLE_PROJ_BIASES = ( 1U << 1 );`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_ATTN_ENABLE_PROJ_BIASES); }))) { mixin(enumMixinStr_CUDNN_ATTN_ENABLE_PROJ_BIASES); } } static if(!is(typeof(__attribute_warn_unused_result__))) { private enum enumMixinStr___attribute_warn_unused_result__ = `enum __attribute_warn_unused_result__ = __attribute__ ( ( __warn_unused_result__ ) );`; static if(is(typeof({ mixin(enumMixinStr___attribute_warn_unused_result__); }))) { mixin(enumMixinStr___attribute_warn_unused_result__); } } static if(!is(typeof(__attribute_deprecated__))) { private enum enumMixinStr___attribute_deprecated__ = `enum __attribute_deprecated__ = __attribute__ ( ( __deprecated__ ) );`; static if(is(typeof({ mixin(enumMixinStr___attribute_deprecated__); }))) { mixin(enumMixinStr___attribute_deprecated__); } } static if(!is(typeof(__attribute_noinline__))) { private enum enumMixinStr___attribute_noinline__ = `enum __attribute_noinline__ = __attribute__ ( ( __noinline__ ) );`; static if(is(typeof({ mixin(enumMixinStr___attribute_noinline__); }))) { mixin(enumMixinStr___attribute_noinline__); } } static if(!is(typeof(__attribute_used__))) { private enum enumMixinStr___attribute_used__ = `enum __attribute_used__ = __attribute__ ( ( __used__ ) );`; static if(is(typeof({ mixin(enumMixinStr___attribute_used__); }))) { mixin(enumMixinStr___attribute_used__); } } static if(!is(typeof(__attribute_const__))) { private enum enumMixinStr___attribute_const__ = `enum __attribute_const__ = __attribute__ ( cast( __const__ ) );`; static if(is(typeof({ mixin(enumMixinStr___attribute_const__); }))) { mixin(enumMixinStr___attribute_const__); } } static if(!is(typeof(__attribute_pure__))) { private enum enumMixinStr___attribute_pure__ = `enum __attribute_pure__ = __attribute__ ( ( __pure__ ) );`; static if(is(typeof({ mixin(enumMixinStr___attribute_pure__); }))) { mixin(enumMixinStr___attribute_pure__); } } static if(!is(typeof(__attribute_malloc__))) { private enum enumMixinStr___attribute_malloc__ = `enum __attribute_malloc__ = __attribute__ ( ( __malloc__ ) );`; static if(is(typeof({ mixin(enumMixinStr___attribute_malloc__); }))) { mixin(enumMixinStr___attribute_malloc__); } } static if(!is(typeof(CUDNN_ATTN_WKIND_COUNT))) { private enum enumMixinStr_CUDNN_ATTN_WKIND_COUNT = `enum CUDNN_ATTN_WKIND_COUNT = 8;`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_ATTN_WKIND_COUNT); }))) { mixin(enumMixinStr_CUDNN_ATTN_WKIND_COUNT); } } static if(!is(typeof(__glibc_c99_flexarr_available))) { private enum enumMixinStr___glibc_c99_flexarr_available = `enum __glibc_c99_flexarr_available = 1;`; static if(is(typeof({ mixin(enumMixinStr___glibc_c99_flexarr_available); }))) { mixin(enumMixinStr___glibc_c99_flexarr_available); } } static if(!is(typeof(__flexarr))) { private enum enumMixinStr___flexarr = `enum __flexarr = [ ];`; static if(is(typeof({ mixin(enumMixinStr___flexarr); }))) { mixin(enumMixinStr___flexarr); } } static if(!is(typeof(__ptr_t))) { private enum enumMixinStr___ptr_t = `enum __ptr_t = void *;`; static if(is(typeof({ mixin(enumMixinStr___ptr_t); }))) { mixin(enumMixinStr___ptr_t); } } static if(!is(typeof(__THROWNL))) { private enum enumMixinStr___THROWNL = `enum __THROWNL = __attribute__ ( ( __nothrow__ ) );`; static if(is(typeof({ mixin(enumMixinStr___THROWNL); }))) { mixin(enumMixinStr___THROWNL); } } static if(!is(typeof(__THROW))) { private enum enumMixinStr___THROW = `enum __THROW = __attribute__ ( ( __nothrow__ __LEAF ) );`; static if(is(typeof({ mixin(enumMixinStr___THROW); }))) { mixin(enumMixinStr___THROW); } } static if(!is(typeof(_SYS_CDEFS_H))) { private enum enumMixinStr__SYS_CDEFS_H = `enum _SYS_CDEFS_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__SYS_CDEFS_H); }))) { mixin(enumMixinStr__SYS_CDEFS_H); } } static if(!is(typeof(__SYSCALL_WORDSIZE))) { private enum enumMixinStr___SYSCALL_WORDSIZE = `enum __SYSCALL_WORDSIZE = 64;`; static if(is(typeof({ mixin(enumMixinStr___SYSCALL_WORDSIZE); }))) { mixin(enumMixinStr___SYSCALL_WORDSIZE); } } static if(!is(typeof(__WORDSIZE_TIME64_COMPAT32))) { private enum enumMixinStr___WORDSIZE_TIME64_COMPAT32 = `enum __WORDSIZE_TIME64_COMPAT32 = 1;`; static if(is(typeof({ mixin(enumMixinStr___WORDSIZE_TIME64_COMPAT32); }))) { mixin(enumMixinStr___WORDSIZE_TIME64_COMPAT32); } } static if(!is(typeof(__WORDSIZE))) { private enum enumMixinStr___WORDSIZE = `enum __WORDSIZE = 64;`; static if(is(typeof({ mixin(enumMixinStr___WORDSIZE); }))) { mixin(enumMixinStr___WORDSIZE); } } static if(!is(typeof(__WCHAR_MIN))) { private enum enumMixinStr___WCHAR_MIN = `enum __WCHAR_MIN = ( - __WCHAR_MAX - 1 );`; static if(is(typeof({ mixin(enumMixinStr___WCHAR_MIN); }))) { mixin(enumMixinStr___WCHAR_MIN); } } static if(!is(typeof(__WCHAR_MAX))) { private enum enumMixinStr___WCHAR_MAX = `enum __WCHAR_MAX = 0x7fffffff;`; static if(is(typeof({ mixin(enumMixinStr___WCHAR_MAX); }))) { mixin(enumMixinStr___WCHAR_MAX); } } static if(!is(typeof(_BITS_WCHAR_H))) { private enum enumMixinStr__BITS_WCHAR_H = `enum _BITS_WCHAR_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__BITS_WCHAR_H); }))) { mixin(enumMixinStr__BITS_WCHAR_H); } } static if(!is(typeof(__FD_SETSIZE))) { private enum enumMixinStr___FD_SETSIZE = `enum __FD_SETSIZE = 1024;`; static if(is(typeof({ mixin(enumMixinStr___FD_SETSIZE); }))) { mixin(enumMixinStr___FD_SETSIZE); } } static if(!is(typeof(__RLIM_T_MATCHES_RLIM64_T))) { private enum enumMixinStr___RLIM_T_MATCHES_RLIM64_T = `enum __RLIM_T_MATCHES_RLIM64_T = 1;`; static if(is(typeof({ mixin(enumMixinStr___RLIM_T_MATCHES_RLIM64_T); }))) { mixin(enumMixinStr___RLIM_T_MATCHES_RLIM64_T); } } static if(!is(typeof(__INO_T_MATCHES_INO64_T))) { private enum enumMixinStr___INO_T_MATCHES_INO64_T = `enum __INO_T_MATCHES_INO64_T = 1;`; static if(is(typeof({ mixin(enumMixinStr___INO_T_MATCHES_INO64_T); }))) { mixin(enumMixinStr___INO_T_MATCHES_INO64_T); } } static if(!is(typeof(__OFF_T_MATCHES_OFF64_T))) { private enum enumMixinStr___OFF_T_MATCHES_OFF64_T = `enum __OFF_T_MATCHES_OFF64_T = 1;`; static if(is(typeof({ mixin(enumMixinStr___OFF_T_MATCHES_OFF64_T); }))) { mixin(enumMixinStr___OFF_T_MATCHES_OFF64_T); } } static if(!is(typeof(__CPU_MASK_TYPE))) { private enum enumMixinStr___CPU_MASK_TYPE = `enum __CPU_MASK_TYPE = __SYSCALL_ULONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___CPU_MASK_TYPE); }))) { mixin(enumMixinStr___CPU_MASK_TYPE); } } static if(!is(typeof(__SSIZE_T_TYPE))) { private enum enumMixinStr___SSIZE_T_TYPE = `enum __SSIZE_T_TYPE = __SWORD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___SSIZE_T_TYPE); }))) { mixin(enumMixinStr___SSIZE_T_TYPE); } } static if(!is(typeof(CUDNN_SEV_ERROR_EN))) { private enum enumMixinStr_CUDNN_SEV_ERROR_EN = `enum CUDNN_SEV_ERROR_EN = ( 1U << CUDNN_SEV_ERROR );`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_SEV_ERROR_EN); }))) { mixin(enumMixinStr_CUDNN_SEV_ERROR_EN); } } static if(!is(typeof(CUDNN_SEV_WARNING_EN))) { private enum enumMixinStr_CUDNN_SEV_WARNING_EN = `enum CUDNN_SEV_WARNING_EN = ( 1U << CUDNN_SEV_WARNING );`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_SEV_WARNING_EN); }))) { mixin(enumMixinStr_CUDNN_SEV_WARNING_EN); } } static if(!is(typeof(CUDNN_SEV_INFO_EN))) { private enum enumMixinStr_CUDNN_SEV_INFO_EN = `enum CUDNN_SEV_INFO_EN = ( 1U << CUDNN_SEV_INFO );`; static if(is(typeof({ mixin(enumMixinStr_CUDNN_SEV_INFO_EN); }))) { mixin(enumMixinStr_CUDNN_SEV_INFO_EN); } } static if(!is(typeof(__FSID_T_TYPE))) { private enum enumMixinStr___FSID_T_TYPE = `enum __FSID_T_TYPE = { int __val [ 2 ] ; };`; static if(is(typeof({ mixin(enumMixinStr___FSID_T_TYPE); }))) { mixin(enumMixinStr___FSID_T_TYPE); } } static if(!is(typeof(__BLKSIZE_T_TYPE))) { private enum enumMixinStr___BLKSIZE_T_TYPE = `enum __BLKSIZE_T_TYPE = __SYSCALL_SLONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___BLKSIZE_T_TYPE); }))) { mixin(enumMixinStr___BLKSIZE_T_TYPE); } } static if(!is(typeof(__TIMER_T_TYPE))) { private enum enumMixinStr___TIMER_T_TYPE = `enum __TIMER_T_TYPE = void *;`; static if(is(typeof({ mixin(enumMixinStr___TIMER_T_TYPE); }))) { mixin(enumMixinStr___TIMER_T_TYPE); } } static if(!is(typeof(__CLOCKID_T_TYPE))) { private enum enumMixinStr___CLOCKID_T_TYPE = `enum __CLOCKID_T_TYPE = __S32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___CLOCKID_T_TYPE); }))) { mixin(enumMixinStr___CLOCKID_T_TYPE); } } static if(!is(typeof(__KEY_T_TYPE))) { private enum enumMixinStr___KEY_T_TYPE = `enum __KEY_T_TYPE = __S32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___KEY_T_TYPE); }))) { mixin(enumMixinStr___KEY_T_TYPE); } } static if(!is(typeof(__DADDR_T_TYPE))) { private enum enumMixinStr___DADDR_T_TYPE = `enum __DADDR_T_TYPE = __S32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___DADDR_T_TYPE); }))) { mixin(enumMixinStr___DADDR_T_TYPE); } } static if(!is(typeof(__SUSECONDS_T_TYPE))) { private enum enumMixinStr___SUSECONDS_T_TYPE = `enum __SUSECONDS_T_TYPE = __SYSCALL_SLONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___SUSECONDS_T_TYPE); }))) { mixin(enumMixinStr___SUSECONDS_T_TYPE); } } static if(!is(typeof(__USECONDS_T_TYPE))) { private enum enumMixinStr___USECONDS_T_TYPE = `enum __USECONDS_T_TYPE = __U32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___USECONDS_T_TYPE); }))) { mixin(enumMixinStr___USECONDS_T_TYPE); } } static if(!is(typeof(__TIME_T_TYPE))) { private enum enumMixinStr___TIME_T_TYPE = `enum __TIME_T_TYPE = __SYSCALL_SLONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___TIME_T_TYPE); }))) { mixin(enumMixinStr___TIME_T_TYPE); } } static if(!is(typeof(__CLOCK_T_TYPE))) { private enum enumMixinStr___CLOCK_T_TYPE = `enum __CLOCK_T_TYPE = __SYSCALL_SLONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___CLOCK_T_TYPE); }))) { mixin(enumMixinStr___CLOCK_T_TYPE); } } static if(!is(typeof(__ID_T_TYPE))) { private enum enumMixinStr___ID_T_TYPE = `enum __ID_T_TYPE = __U32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___ID_T_TYPE); }))) { mixin(enumMixinStr___ID_T_TYPE); } } static if(!is(typeof(__FSFILCNT64_T_TYPE))) { private enum enumMixinStr___FSFILCNT64_T_TYPE = `enum __FSFILCNT64_T_TYPE = __UQUAD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___FSFILCNT64_T_TYPE); }))) { mixin(enumMixinStr___FSFILCNT64_T_TYPE); } } static if(!is(typeof(__FSFILCNT_T_TYPE))) { private enum enumMixinStr___FSFILCNT_T_TYPE = `enum __FSFILCNT_T_TYPE = __SYSCALL_ULONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___FSFILCNT_T_TYPE); }))) { mixin(enumMixinStr___FSFILCNT_T_TYPE); } } static if(!is(typeof(__FSBLKCNT64_T_TYPE))) { private enum enumMixinStr___FSBLKCNT64_T_TYPE = `enum __FSBLKCNT64_T_TYPE = __UQUAD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___FSBLKCNT64_T_TYPE); }))) { mixin(enumMixinStr___FSBLKCNT64_T_TYPE); } } static if(!is(typeof(__FSBLKCNT_T_TYPE))) { private enum enumMixinStr___FSBLKCNT_T_TYPE = `enum __FSBLKCNT_T_TYPE = __SYSCALL_ULONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___FSBLKCNT_T_TYPE); }))) { mixin(enumMixinStr___FSBLKCNT_T_TYPE); } } static if(!is(typeof(__BLKCNT64_T_TYPE))) { private enum enumMixinStr___BLKCNT64_T_TYPE = `enum __BLKCNT64_T_TYPE = __SQUAD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___BLKCNT64_T_TYPE); }))) { mixin(enumMixinStr___BLKCNT64_T_TYPE); } } static if(!is(typeof(__BLKCNT_T_TYPE))) { private enum enumMixinStr___BLKCNT_T_TYPE = `enum __BLKCNT_T_TYPE = __SYSCALL_SLONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___BLKCNT_T_TYPE); }))) { mixin(enumMixinStr___BLKCNT_T_TYPE); } } static if(!is(typeof(__RLIM64_T_TYPE))) { private enum enumMixinStr___RLIM64_T_TYPE = `enum __RLIM64_T_TYPE = __UQUAD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___RLIM64_T_TYPE); }))) { mixin(enumMixinStr___RLIM64_T_TYPE); } } static if(!is(typeof(__RLIM_T_TYPE))) { private enum enumMixinStr___RLIM_T_TYPE = `enum __RLIM_T_TYPE = __SYSCALL_ULONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___RLIM_T_TYPE); }))) { mixin(enumMixinStr___RLIM_T_TYPE); } } static if(!is(typeof(__PID_T_TYPE))) { private enum enumMixinStr___PID_T_TYPE = `enum __PID_T_TYPE = __S32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___PID_T_TYPE); }))) { mixin(enumMixinStr___PID_T_TYPE); } } static if(!is(typeof(__OFF64_T_TYPE))) { private enum enumMixinStr___OFF64_T_TYPE = `enum __OFF64_T_TYPE = __SQUAD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___OFF64_T_TYPE); }))) { mixin(enumMixinStr___OFF64_T_TYPE); } } static if(!is(typeof(__OFF_T_TYPE))) { private enum enumMixinStr___OFF_T_TYPE = `enum __OFF_T_TYPE = __SYSCALL_SLONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___OFF_T_TYPE); }))) { mixin(enumMixinStr___OFF_T_TYPE); } } static if(!is(typeof(__FSWORD_T_TYPE))) { private enum enumMixinStr___FSWORD_T_TYPE = `enum __FSWORD_T_TYPE = __SYSCALL_SLONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___FSWORD_T_TYPE); }))) { mixin(enumMixinStr___FSWORD_T_TYPE); } } static if(!is(typeof(__NLINK_T_TYPE))) { private enum enumMixinStr___NLINK_T_TYPE = `enum __NLINK_T_TYPE = __SYSCALL_ULONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___NLINK_T_TYPE); }))) { mixin(enumMixinStr___NLINK_T_TYPE); } } static if(!is(typeof(__MODE_T_TYPE))) { private enum enumMixinStr___MODE_T_TYPE = `enum __MODE_T_TYPE = __U32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___MODE_T_TYPE); }))) { mixin(enumMixinStr___MODE_T_TYPE); } } static if(!is(typeof(__INO64_T_TYPE))) { private enum enumMixinStr___INO64_T_TYPE = `enum __INO64_T_TYPE = __UQUAD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___INO64_T_TYPE); }))) { mixin(enumMixinStr___INO64_T_TYPE); } } static if(!is(typeof(__INO_T_TYPE))) { private enum enumMixinStr___INO_T_TYPE = `enum __INO_T_TYPE = __SYSCALL_ULONG_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___INO_T_TYPE); }))) { mixin(enumMixinStr___INO_T_TYPE); } } static if(!is(typeof(__GID_T_TYPE))) { private enum enumMixinStr___GID_T_TYPE = `enum __GID_T_TYPE = __U32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___GID_T_TYPE); }))) { mixin(enumMixinStr___GID_T_TYPE); } } static if(!is(typeof(__UID_T_TYPE))) { private enum enumMixinStr___UID_T_TYPE = `enum __UID_T_TYPE = __U32_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___UID_T_TYPE); }))) { mixin(enumMixinStr___UID_T_TYPE); } } static if(!is(typeof(__DEV_T_TYPE))) { private enum enumMixinStr___DEV_T_TYPE = `enum __DEV_T_TYPE = __UQUAD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___DEV_T_TYPE); }))) { mixin(enumMixinStr___DEV_T_TYPE); } } static if(!is(typeof(__SYSCALL_ULONG_TYPE))) { private enum enumMixinStr___SYSCALL_ULONG_TYPE = `enum __SYSCALL_ULONG_TYPE = __ULONGWORD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___SYSCALL_ULONG_TYPE); }))) { mixin(enumMixinStr___SYSCALL_ULONG_TYPE); } } static if(!is(typeof(__SYSCALL_SLONG_TYPE))) { private enum enumMixinStr___SYSCALL_SLONG_TYPE = `enum __SYSCALL_SLONG_TYPE = __SLONGWORD_TYPE;`; static if(is(typeof({ mixin(enumMixinStr___SYSCALL_SLONG_TYPE); }))) { mixin(enumMixinStr___SYSCALL_SLONG_TYPE); } } static if(!is(typeof(_BITS_TYPESIZES_H))) { private enum enumMixinStr__BITS_TYPESIZES_H = `enum _BITS_TYPESIZES_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__BITS_TYPESIZES_H); }))) { mixin(enumMixinStr__BITS_TYPESIZES_H); } } static if(!is(typeof(__STD_TYPE))) { private enum enumMixinStr___STD_TYPE = `enum __STD_TYPE = typedef;`; static if(is(typeof({ mixin(enumMixinStr___STD_TYPE); }))) { mixin(enumMixinStr___STD_TYPE); } } static if(!is(typeof(__U64_TYPE))) { private enum enumMixinStr___U64_TYPE = `enum __U64_TYPE = unsigned long int;`; static if(is(typeof({ mixin(enumMixinStr___U64_TYPE); }))) { mixin(enumMixinStr___U64_TYPE); } } static if(!is(typeof(__S64_TYPE))) { private enum enumMixinStr___S64_TYPE = `enum __S64_TYPE = long int;`; static if(is(typeof({ mixin(enumMixinStr___S64_TYPE); }))) { mixin(enumMixinStr___S64_TYPE); } } static if(!is(typeof(__ULONG32_TYPE))) { private enum enumMixinStr___ULONG32_TYPE = `enum __ULONG32_TYPE = unsigned int;`; static if(is(typeof({ mixin(enumMixinStr___ULONG32_TYPE); }))) { mixin(enumMixinStr___ULONG32_TYPE); } } static if(!is(typeof(__SLONG32_TYPE))) { private enum enumMixinStr___SLONG32_TYPE = `enum __SLONG32_TYPE = int;`; static if(is(typeof({ mixin(enumMixinStr___SLONG32_TYPE); }))) { mixin(enumMixinStr___SLONG32_TYPE); } } static if(!is(typeof(__UWORD_TYPE))) { private enum enumMixinStr___UWORD_TYPE = `enum __UWORD_TYPE = unsigned long int;`; static if(is(typeof({ mixin(enumMixinStr___UWORD_TYPE); }))) { mixin(enumMixinStr___UWORD_TYPE); } } static if(!is(typeof(__SWORD_TYPE))) { private enum enumMixinStr___SWORD_TYPE = `enum __SWORD_TYPE = long int;`; static if(is(typeof({ mixin(enumMixinStr___SWORD_TYPE); }))) { mixin(enumMixinStr___SWORD_TYPE); } } static if(!is(typeof(__UQUAD_TYPE))) { private enum enumMixinStr___UQUAD_TYPE = `enum __UQUAD_TYPE = unsigned long int;`; static if(is(typeof({ mixin(enumMixinStr___UQUAD_TYPE); }))) { mixin(enumMixinStr___UQUAD_TYPE); } } static if(!is(typeof(__SQUAD_TYPE))) { private enum enumMixinStr___SQUAD_TYPE = `enum __SQUAD_TYPE = long int;`; static if(is(typeof({ mixin(enumMixinStr___SQUAD_TYPE); }))) { mixin(enumMixinStr___SQUAD_TYPE); } } static if(!is(typeof(__ULONGWORD_TYPE))) { private enum enumMixinStr___ULONGWORD_TYPE = `enum __ULONGWORD_TYPE = unsigned long int;`; static if(is(typeof({ mixin(enumMixinStr___ULONGWORD_TYPE); }))) { mixin(enumMixinStr___ULONGWORD_TYPE); } } static if(!is(typeof(__SLONGWORD_TYPE))) { private enum enumMixinStr___SLONGWORD_TYPE = `enum __SLONGWORD_TYPE = long int;`; static if(is(typeof({ mixin(enumMixinStr___SLONGWORD_TYPE); }))) { mixin(enumMixinStr___SLONGWORD_TYPE); } } static if(!is(typeof(__U32_TYPE))) { private enum enumMixinStr___U32_TYPE = `enum __U32_TYPE = unsigned int;`; static if(is(typeof({ mixin(enumMixinStr___U32_TYPE); }))) { mixin(enumMixinStr___U32_TYPE); } } static if(!is(typeof(__S32_TYPE))) { private enum enumMixinStr___S32_TYPE = `enum __S32_TYPE = int;`; static if(is(typeof({ mixin(enumMixinStr___S32_TYPE); }))) { mixin(enumMixinStr___S32_TYPE); } } static if(!is(typeof(__U16_TYPE))) { private enum enumMixinStr___U16_TYPE = `enum __U16_TYPE = unsigned short int;`; static if(is(typeof({ mixin(enumMixinStr___U16_TYPE); }))) { mixin(enumMixinStr___U16_TYPE); } } static if(!is(typeof(__S16_TYPE))) { private enum enumMixinStr___S16_TYPE = `enum __S16_TYPE = short int;`; static if(is(typeof({ mixin(enumMixinStr___S16_TYPE); }))) { mixin(enumMixinStr___S16_TYPE); } } static if(!is(typeof(_BITS_TYPES_H))) { private enum enumMixinStr__BITS_TYPES_H = `enum _BITS_TYPES_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__BITS_TYPES_H); }))) { mixin(enumMixinStr__BITS_TYPES_H); } } static if(!is(typeof(_BITS_STDINT_UINTN_H))) { private enum enumMixinStr__BITS_STDINT_UINTN_H = `enum _BITS_STDINT_UINTN_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__BITS_STDINT_UINTN_H); }))) { mixin(enumMixinStr__BITS_STDINT_UINTN_H); } } static if(!is(typeof(_BITS_STDINT_INTN_H))) { private enum enumMixinStr__BITS_STDINT_INTN_H = `enum _BITS_STDINT_INTN_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__BITS_STDINT_INTN_H); }))) { mixin(enumMixinStr__BITS_STDINT_INTN_H); } } static if(!is(typeof(RE_DUP_MAX))) { private enum enumMixinStr_RE_DUP_MAX = `enum RE_DUP_MAX = ( 0x7fff );`; static if(is(typeof({ mixin(enumMixinStr_RE_DUP_MAX); }))) { mixin(enumMixinStr_RE_DUP_MAX); } } static if(!is(typeof(CHARCLASS_NAME_MAX))) { private enum enumMixinStr_CHARCLASS_NAME_MAX = `enum CHARCLASS_NAME_MAX = 2048;`; static if(is(typeof({ mixin(enumMixinStr_CHARCLASS_NAME_MAX); }))) { mixin(enumMixinStr_CHARCLASS_NAME_MAX); } } static if(!is(typeof(LINE_MAX))) { private enum enumMixinStr_LINE_MAX = `enum LINE_MAX = _POSIX2_LINE_MAX;`; static if(is(typeof({ mixin(enumMixinStr_LINE_MAX); }))) { mixin(enumMixinStr_LINE_MAX); } } static if(!is(typeof(EXPR_NEST_MAX))) { private enum enumMixinStr_EXPR_NEST_MAX = `enum EXPR_NEST_MAX = _POSIX2_EXPR_NEST_MAX;`; static if(is(typeof({ mixin(enumMixinStr_EXPR_NEST_MAX); }))) { mixin(enumMixinStr_EXPR_NEST_MAX); } } static if(!is(typeof(COLL_WEIGHTS_MAX))) { private enum enumMixinStr_COLL_WEIGHTS_MAX = `enum COLL_WEIGHTS_MAX = 255;`; static if(is(typeof({ mixin(enumMixinStr_COLL_WEIGHTS_MAX); }))) { mixin(enumMixinStr_COLL_WEIGHTS_MAX); } } static if(!is(typeof(BC_STRING_MAX))) { private enum enumMixinStr_BC_STRING_MAX = `enum BC_STRING_MAX = _POSIX2_BC_STRING_MAX;`; static if(is(typeof({ mixin(enumMixinStr_BC_STRING_MAX); }))) { mixin(enumMixinStr_BC_STRING_MAX); } } static if(!is(typeof(BC_SCALE_MAX))) { private enum enumMixinStr_BC_SCALE_MAX = `enum BC_SCALE_MAX = _POSIX2_BC_SCALE_MAX;`; static if(is(typeof({ mixin(enumMixinStr_BC_SCALE_MAX); }))) { mixin(enumMixinStr_BC_SCALE_MAX); } } static if(!is(typeof(BC_DIM_MAX))) { private enum enumMixinStr_BC_DIM_MAX = `enum BC_DIM_MAX = _POSIX2_BC_DIM_MAX;`; static if(is(typeof({ mixin(enumMixinStr_BC_DIM_MAX); }))) { mixin(enumMixinStr_BC_DIM_MAX); } } static if(!is(typeof(BC_BASE_MAX))) { private enum enumMixinStr_BC_BASE_MAX = `enum BC_BASE_MAX = _POSIX2_BC_BASE_MAX;`; static if(is(typeof({ mixin(enumMixinStr_BC_BASE_MAX); }))) { mixin(enumMixinStr_BC_BASE_MAX); } } static if(!is(typeof(_POSIX2_CHARCLASS_NAME_MAX))) { private enum enumMixinStr__POSIX2_CHARCLASS_NAME_MAX = `enum _POSIX2_CHARCLASS_NAME_MAX = 14;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_CHARCLASS_NAME_MAX); }))) { mixin(enumMixinStr__POSIX2_CHARCLASS_NAME_MAX); } } static if(!is(typeof(_POSIX2_RE_DUP_MAX))) { private enum enumMixinStr__POSIX2_RE_DUP_MAX = `enum _POSIX2_RE_DUP_MAX = 255;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_RE_DUP_MAX); }))) { mixin(enumMixinStr__POSIX2_RE_DUP_MAX); } } static if(!is(typeof(_POSIX2_LINE_MAX))) { private enum enumMixinStr__POSIX2_LINE_MAX = `enum _POSIX2_LINE_MAX = 2048;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_LINE_MAX); }))) { mixin(enumMixinStr__POSIX2_LINE_MAX); } } static if(!is(typeof(_POSIX2_EXPR_NEST_MAX))) { private enum enumMixinStr__POSIX2_EXPR_NEST_MAX = `enum _POSIX2_EXPR_NEST_MAX = 32;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_EXPR_NEST_MAX); }))) { mixin(enumMixinStr__POSIX2_EXPR_NEST_MAX); } } static if(!is(typeof(_POSIX2_COLL_WEIGHTS_MAX))) { private enum enumMixinStr__POSIX2_COLL_WEIGHTS_MAX = `enum _POSIX2_COLL_WEIGHTS_MAX = 2;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_COLL_WEIGHTS_MAX); }))) { mixin(enumMixinStr__POSIX2_COLL_WEIGHTS_MAX); } } static if(!is(typeof(_POSIX2_BC_STRING_MAX))) { private enum enumMixinStr__POSIX2_BC_STRING_MAX = `enum _POSIX2_BC_STRING_MAX = 1000;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_BC_STRING_MAX); }))) { mixin(enumMixinStr__POSIX2_BC_STRING_MAX); } } static if(!is(typeof(cudaHostAllocDefault))) { private enum enumMixinStr_cudaHostAllocDefault = `enum cudaHostAllocDefault = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostAllocDefault); }))) { mixin(enumMixinStr_cudaHostAllocDefault); } } static if(!is(typeof(cudaHostAllocPortable))) { private enum enumMixinStr_cudaHostAllocPortable = `enum cudaHostAllocPortable = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostAllocPortable); }))) { mixin(enumMixinStr_cudaHostAllocPortable); } } static if(!is(typeof(cudaHostAllocMapped))) { private enum enumMixinStr_cudaHostAllocMapped = `enum cudaHostAllocMapped = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostAllocMapped); }))) { mixin(enumMixinStr_cudaHostAllocMapped); } } static if(!is(typeof(cudaHostAllocWriteCombined))) { private enum enumMixinStr_cudaHostAllocWriteCombined = `enum cudaHostAllocWriteCombined = 0x04;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostAllocWriteCombined); }))) { mixin(enumMixinStr_cudaHostAllocWriteCombined); } } static if(!is(typeof(cudaHostRegisterDefault))) { private enum enumMixinStr_cudaHostRegisterDefault = `enum cudaHostRegisterDefault = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostRegisterDefault); }))) { mixin(enumMixinStr_cudaHostRegisterDefault); } } static if(!is(typeof(cudaHostRegisterPortable))) { private enum enumMixinStr_cudaHostRegisterPortable = `enum cudaHostRegisterPortable = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostRegisterPortable); }))) { mixin(enumMixinStr_cudaHostRegisterPortable); } } static if(!is(typeof(cudaHostRegisterMapped))) { private enum enumMixinStr_cudaHostRegisterMapped = `enum cudaHostRegisterMapped = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostRegisterMapped); }))) { mixin(enumMixinStr_cudaHostRegisterMapped); } } static if(!is(typeof(cudaHostRegisterIoMemory))) { private enum enumMixinStr_cudaHostRegisterIoMemory = `enum cudaHostRegisterIoMemory = 0x04;`; static if(is(typeof({ mixin(enumMixinStr_cudaHostRegisterIoMemory); }))) { mixin(enumMixinStr_cudaHostRegisterIoMemory); } } static if(!is(typeof(cudaPeerAccessDefault))) { private enum enumMixinStr_cudaPeerAccessDefault = `enum cudaPeerAccessDefault = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaPeerAccessDefault); }))) { mixin(enumMixinStr_cudaPeerAccessDefault); } } static if(!is(typeof(cudaStreamDefault))) { private enum enumMixinStr_cudaStreamDefault = `enum cudaStreamDefault = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaStreamDefault); }))) { mixin(enumMixinStr_cudaStreamDefault); } } static if(!is(typeof(cudaStreamNonBlocking))) { private enum enumMixinStr_cudaStreamNonBlocking = `enum cudaStreamNonBlocking = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaStreamNonBlocking); }))) { mixin(enumMixinStr_cudaStreamNonBlocking); } } static if(!is(typeof(cudaStreamLegacy))) { private enum enumMixinStr_cudaStreamLegacy = `enum cudaStreamLegacy = ( cast( cudaStream_t ) 0x1 );`; static if(is(typeof({ mixin(enumMixinStr_cudaStreamLegacy); }))) { mixin(enumMixinStr_cudaStreamLegacy); } } static if(!is(typeof(cudaStreamPerThread))) { private enum enumMixinStr_cudaStreamPerThread = `enum cudaStreamPerThread = ( cast( cudaStream_t ) 0x2 );`; static if(is(typeof({ mixin(enumMixinStr_cudaStreamPerThread); }))) { mixin(enumMixinStr_cudaStreamPerThread); } } static if(!is(typeof(cudaEventDefault))) { private enum enumMixinStr_cudaEventDefault = `enum cudaEventDefault = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaEventDefault); }))) { mixin(enumMixinStr_cudaEventDefault); } } static if(!is(typeof(cudaEventBlockingSync))) { private enum enumMixinStr_cudaEventBlockingSync = `enum cudaEventBlockingSync = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaEventBlockingSync); }))) { mixin(enumMixinStr_cudaEventBlockingSync); } } static if(!is(typeof(cudaEventDisableTiming))) { private enum enumMixinStr_cudaEventDisableTiming = `enum cudaEventDisableTiming = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaEventDisableTiming); }))) { mixin(enumMixinStr_cudaEventDisableTiming); } } static if(!is(typeof(cudaEventInterprocess))) { private enum enumMixinStr_cudaEventInterprocess = `enum cudaEventInterprocess = 0x04;`; static if(is(typeof({ mixin(enumMixinStr_cudaEventInterprocess); }))) { mixin(enumMixinStr_cudaEventInterprocess); } } static if(!is(typeof(cudaDeviceScheduleAuto))) { private enum enumMixinStr_cudaDeviceScheduleAuto = `enum cudaDeviceScheduleAuto = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceScheduleAuto); }))) { mixin(enumMixinStr_cudaDeviceScheduleAuto); } } static if(!is(typeof(cudaDeviceScheduleSpin))) { private enum enumMixinStr_cudaDeviceScheduleSpin = `enum cudaDeviceScheduleSpin = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceScheduleSpin); }))) { mixin(enumMixinStr_cudaDeviceScheduleSpin); } } static if(!is(typeof(cudaDeviceScheduleYield))) { private enum enumMixinStr_cudaDeviceScheduleYield = `enum cudaDeviceScheduleYield = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceScheduleYield); }))) { mixin(enumMixinStr_cudaDeviceScheduleYield); } } static if(!is(typeof(cudaDeviceScheduleBlockingSync))) { private enum enumMixinStr_cudaDeviceScheduleBlockingSync = `enum cudaDeviceScheduleBlockingSync = 0x04;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceScheduleBlockingSync); }))) { mixin(enumMixinStr_cudaDeviceScheduleBlockingSync); } } static if(!is(typeof(cudaDeviceBlockingSync))) { private enum enumMixinStr_cudaDeviceBlockingSync = `enum cudaDeviceBlockingSync = 0x04;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceBlockingSync); }))) { mixin(enumMixinStr_cudaDeviceBlockingSync); } } static if(!is(typeof(cudaDeviceScheduleMask))) { private enum enumMixinStr_cudaDeviceScheduleMask = `enum cudaDeviceScheduleMask = 0x07;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceScheduleMask); }))) { mixin(enumMixinStr_cudaDeviceScheduleMask); } } static if(!is(typeof(cudaDeviceMapHost))) { private enum enumMixinStr_cudaDeviceMapHost = `enum cudaDeviceMapHost = 0x08;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceMapHost); }))) { mixin(enumMixinStr_cudaDeviceMapHost); } } static if(!is(typeof(cudaDeviceLmemResizeToMax))) { private enum enumMixinStr_cudaDeviceLmemResizeToMax = `enum cudaDeviceLmemResizeToMax = 0x10;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceLmemResizeToMax); }))) { mixin(enumMixinStr_cudaDeviceLmemResizeToMax); } } static if(!is(typeof(cudaDeviceMask))) { private enum enumMixinStr_cudaDeviceMask = `enum cudaDeviceMask = 0x1f;`; static if(is(typeof({ mixin(enumMixinStr_cudaDeviceMask); }))) { mixin(enumMixinStr_cudaDeviceMask); } } static if(!is(typeof(cudaArrayDefault))) { private enum enumMixinStr_cudaArrayDefault = `enum cudaArrayDefault = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaArrayDefault); }))) { mixin(enumMixinStr_cudaArrayDefault); } } static if(!is(typeof(cudaArrayLayered))) { private enum enumMixinStr_cudaArrayLayered = `enum cudaArrayLayered = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaArrayLayered); }))) { mixin(enumMixinStr_cudaArrayLayered); } } static if(!is(typeof(cudaArraySurfaceLoadStore))) { private enum enumMixinStr_cudaArraySurfaceLoadStore = `enum cudaArraySurfaceLoadStore = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaArraySurfaceLoadStore); }))) { mixin(enumMixinStr_cudaArraySurfaceLoadStore); } } static if(!is(typeof(cudaArrayCubemap))) { private enum enumMixinStr_cudaArrayCubemap = `enum cudaArrayCubemap = 0x04;`; static if(is(typeof({ mixin(enumMixinStr_cudaArrayCubemap); }))) { mixin(enumMixinStr_cudaArrayCubemap); } } static if(!is(typeof(cudaArrayTextureGather))) { private enum enumMixinStr_cudaArrayTextureGather = `enum cudaArrayTextureGather = 0x08;`; static if(is(typeof({ mixin(enumMixinStr_cudaArrayTextureGather); }))) { mixin(enumMixinStr_cudaArrayTextureGather); } } static if(!is(typeof(cudaArrayColorAttachment))) { private enum enumMixinStr_cudaArrayColorAttachment = `enum cudaArrayColorAttachment = 0x20;`; static if(is(typeof({ mixin(enumMixinStr_cudaArrayColorAttachment); }))) { mixin(enumMixinStr_cudaArrayColorAttachment); } } static if(!is(typeof(cudaIpcMemLazyEnablePeerAccess))) { private enum enumMixinStr_cudaIpcMemLazyEnablePeerAccess = `enum cudaIpcMemLazyEnablePeerAccess = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaIpcMemLazyEnablePeerAccess); }))) { mixin(enumMixinStr_cudaIpcMemLazyEnablePeerAccess); } } static if(!is(typeof(cudaMemAttachGlobal))) { private enum enumMixinStr_cudaMemAttachGlobal = `enum cudaMemAttachGlobal = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaMemAttachGlobal); }))) { mixin(enumMixinStr_cudaMemAttachGlobal); } } static if(!is(typeof(cudaMemAttachHost))) { private enum enumMixinStr_cudaMemAttachHost = `enum cudaMemAttachHost = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaMemAttachHost); }))) { mixin(enumMixinStr_cudaMemAttachHost); } } static if(!is(typeof(cudaMemAttachSingle))) { private enum enumMixinStr_cudaMemAttachSingle = `enum cudaMemAttachSingle = 0x04;`; static if(is(typeof({ mixin(enumMixinStr_cudaMemAttachSingle); }))) { mixin(enumMixinStr_cudaMemAttachSingle); } } static if(!is(typeof(cudaOccupancyDefault))) { private enum enumMixinStr_cudaOccupancyDefault = `enum cudaOccupancyDefault = 0x00;`; static if(is(typeof({ mixin(enumMixinStr_cudaOccupancyDefault); }))) { mixin(enumMixinStr_cudaOccupancyDefault); } } static if(!is(typeof(cudaOccupancyDisableCachingOverride))) { private enum enumMixinStr_cudaOccupancyDisableCachingOverride = `enum cudaOccupancyDisableCachingOverride = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaOccupancyDisableCachingOverride); }))) { mixin(enumMixinStr_cudaOccupancyDisableCachingOverride); } } static if(!is(typeof(cudaCpuDeviceId))) { private enum enumMixinStr_cudaCpuDeviceId = `enum cudaCpuDeviceId = ( cast( int ) - 1 );`; static if(is(typeof({ mixin(enumMixinStr_cudaCpuDeviceId); }))) { mixin(enumMixinStr_cudaCpuDeviceId); } } static if(!is(typeof(cudaInvalidDeviceId))) { private enum enumMixinStr_cudaInvalidDeviceId = `enum cudaInvalidDeviceId = ( cast( int ) - 2 );`; static if(is(typeof({ mixin(enumMixinStr_cudaInvalidDeviceId); }))) { mixin(enumMixinStr_cudaInvalidDeviceId); } } static if(!is(typeof(cudaCooperativeLaunchMultiDeviceNoPreSync))) { private enum enumMixinStr_cudaCooperativeLaunchMultiDeviceNoPreSync = `enum cudaCooperativeLaunchMultiDeviceNoPreSync = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaCooperativeLaunchMultiDeviceNoPreSync); }))) { mixin(enumMixinStr_cudaCooperativeLaunchMultiDeviceNoPreSync); } } static if(!is(typeof(cudaCooperativeLaunchMultiDeviceNoPostSync))) { private enum enumMixinStr_cudaCooperativeLaunchMultiDeviceNoPostSync = `enum cudaCooperativeLaunchMultiDeviceNoPostSync = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaCooperativeLaunchMultiDeviceNoPostSync); }))) { mixin(enumMixinStr_cudaCooperativeLaunchMultiDeviceNoPostSync); } } static if(!is(typeof(_POSIX2_BC_SCALE_MAX))) { private enum enumMixinStr__POSIX2_BC_SCALE_MAX = `enum _POSIX2_BC_SCALE_MAX = 99;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_BC_SCALE_MAX); }))) { mixin(enumMixinStr__POSIX2_BC_SCALE_MAX); } } static if(!is(typeof(_POSIX2_BC_DIM_MAX))) { private enum enumMixinStr__POSIX2_BC_DIM_MAX = `enum _POSIX2_BC_DIM_MAX = 2048;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_BC_DIM_MAX); }))) { mixin(enumMixinStr__POSIX2_BC_DIM_MAX); } } static if(!is(typeof(_POSIX2_BC_BASE_MAX))) { private enum enumMixinStr__POSIX2_BC_BASE_MAX = `enum _POSIX2_BC_BASE_MAX = 99;`; static if(is(typeof({ mixin(enumMixinStr__POSIX2_BC_BASE_MAX); }))) { mixin(enumMixinStr__POSIX2_BC_BASE_MAX); } } static if(!is(typeof(_BITS_POSIX2_LIM_H))) { private enum enumMixinStr__BITS_POSIX2_LIM_H = `enum _BITS_POSIX2_LIM_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__BITS_POSIX2_LIM_H); }))) { mixin(enumMixinStr__BITS_POSIX2_LIM_H); } } static if(!is(typeof(SSIZE_MAX))) { private enum enumMixinStr_SSIZE_MAX = `enum SSIZE_MAX = LONG_MAX;`; static if(is(typeof({ mixin(enumMixinStr_SSIZE_MAX); }))) { mixin(enumMixinStr_SSIZE_MAX); } } static if(!is(typeof(_POSIX_CLOCKRES_MIN))) { private enum enumMixinStr__POSIX_CLOCKRES_MIN = `enum _POSIX_CLOCKRES_MIN = 20000000;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_CLOCKRES_MIN); }))) { mixin(enumMixinStr__POSIX_CLOCKRES_MIN); } } static if(!is(typeof(_POSIX_TZNAME_MAX))) { private enum enumMixinStr__POSIX_TZNAME_MAX = `enum _POSIX_TZNAME_MAX = 6;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_TZNAME_MAX); }))) { mixin(enumMixinStr__POSIX_TZNAME_MAX); } } static if(!is(typeof(_POSIX_TTY_NAME_MAX))) { private enum enumMixinStr__POSIX_TTY_NAME_MAX = `enum _POSIX_TTY_NAME_MAX = 9;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_TTY_NAME_MAX); }))) { mixin(enumMixinStr__POSIX_TTY_NAME_MAX); } } static if(!is(typeof(_POSIX_TIMER_MAX))) { private enum enumMixinStr__POSIX_TIMER_MAX = `enum _POSIX_TIMER_MAX = 32;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_TIMER_MAX); }))) { mixin(enumMixinStr__POSIX_TIMER_MAX); } } static if(!is(typeof(_POSIX_SYMLOOP_MAX))) { private enum enumMixinStr__POSIX_SYMLOOP_MAX = `enum _POSIX_SYMLOOP_MAX = 8;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_SYMLOOP_MAX); }))) { mixin(enumMixinStr__POSIX_SYMLOOP_MAX); } } static if(!is(typeof(_POSIX_SYMLINK_MAX))) { private enum enumMixinStr__POSIX_SYMLINK_MAX = `enum _POSIX_SYMLINK_MAX = 255;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_SYMLINK_MAX); }))) { mixin(enumMixinStr__POSIX_SYMLINK_MAX); } } static if(!is(typeof(_POSIX_STREAM_MAX))) { private enum enumMixinStr__POSIX_STREAM_MAX = `enum _POSIX_STREAM_MAX = 8;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_STREAM_MAX); }))) { mixin(enumMixinStr__POSIX_STREAM_MAX); } } static if(!is(typeof(_POSIX_SSIZE_MAX))) { private enum enumMixinStr__POSIX_SSIZE_MAX = `enum _POSIX_SSIZE_MAX = 32767;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_SSIZE_MAX); }))) { mixin(enumMixinStr__POSIX_SSIZE_MAX); } } static if(!is(typeof(_POSIX_SIGQUEUE_MAX))) { private enum enumMixinStr__POSIX_SIGQUEUE_MAX = `enum _POSIX_SIGQUEUE_MAX = 32;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_SIGQUEUE_MAX); }))) { mixin(enumMixinStr__POSIX_SIGQUEUE_MAX); } } static if(!is(typeof(_POSIX_SEM_VALUE_MAX))) { private enum enumMixinStr__POSIX_SEM_VALUE_MAX = `enum _POSIX_SEM_VALUE_MAX = 32767;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_SEM_VALUE_MAX); }))) { mixin(enumMixinStr__POSIX_SEM_VALUE_MAX); } } static if(!is(typeof(_POSIX_SEM_NSEMS_MAX))) { private enum enumMixinStr__POSIX_SEM_NSEMS_MAX = `enum _POSIX_SEM_NSEMS_MAX = 256;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_SEM_NSEMS_MAX); }))) { mixin(enumMixinStr__POSIX_SEM_NSEMS_MAX); } } static if(!is(typeof(_POSIX_RTSIG_MAX))) { private enum enumMixinStr__POSIX_RTSIG_MAX = `enum _POSIX_RTSIG_MAX = 8;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_RTSIG_MAX); }))) { mixin(enumMixinStr__POSIX_RTSIG_MAX); } } static if(!is(typeof(_POSIX_RE_DUP_MAX))) { private enum enumMixinStr__POSIX_RE_DUP_MAX = `enum _POSIX_RE_DUP_MAX = 255;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_RE_DUP_MAX); }))) { mixin(enumMixinStr__POSIX_RE_DUP_MAX); } } static if(!is(typeof(_POSIX_PIPE_BUF))) { private enum enumMixinStr__POSIX_PIPE_BUF = `enum _POSIX_PIPE_BUF = 512;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_PIPE_BUF); }))) { mixin(enumMixinStr__POSIX_PIPE_BUF); } } static if(!is(typeof(_POSIX_PATH_MAX))) { private enum enumMixinStr__POSIX_PATH_MAX = `enum _POSIX_PATH_MAX = 256;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_PATH_MAX); }))) { mixin(enumMixinStr__POSIX_PATH_MAX); } } static if(!is(typeof(_POSIX_OPEN_MAX))) { private enum enumMixinStr__POSIX_OPEN_MAX = `enum _POSIX_OPEN_MAX = 20;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_OPEN_MAX); }))) { mixin(enumMixinStr__POSIX_OPEN_MAX); } } static if(!is(typeof(_POSIX_NGROUPS_MAX))) { private enum enumMixinStr__POSIX_NGROUPS_MAX = `enum _POSIX_NGROUPS_MAX = 8;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_NGROUPS_MAX); }))) { mixin(enumMixinStr__POSIX_NGROUPS_MAX); } } static if(!is(typeof(_POSIX_NAME_MAX))) { private enum enumMixinStr__POSIX_NAME_MAX = `enum _POSIX_NAME_MAX = 14;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_NAME_MAX); }))) { mixin(enumMixinStr__POSIX_NAME_MAX); } } static if(!is(typeof(_POSIX_MQ_PRIO_MAX))) { private enum enumMixinStr__POSIX_MQ_PRIO_MAX = `enum _POSIX_MQ_PRIO_MAX = 32;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_MQ_PRIO_MAX); }))) { mixin(enumMixinStr__POSIX_MQ_PRIO_MAX); } } static if(!is(typeof(_POSIX_MQ_OPEN_MAX))) { private enum enumMixinStr__POSIX_MQ_OPEN_MAX = `enum _POSIX_MQ_OPEN_MAX = 8;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_MQ_OPEN_MAX); }))) { mixin(enumMixinStr__POSIX_MQ_OPEN_MAX); } } static if(!is(typeof(_POSIX_MAX_INPUT))) { private enum enumMixinStr__POSIX_MAX_INPUT = `enum _POSIX_MAX_INPUT = 255;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_MAX_INPUT); }))) { mixin(enumMixinStr__POSIX_MAX_INPUT); } } static if(!is(typeof(_POSIX_MAX_CANON))) { private enum enumMixinStr__POSIX_MAX_CANON = `enum _POSIX_MAX_CANON = 255;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_MAX_CANON); }))) { mixin(enumMixinStr__POSIX_MAX_CANON); } } static if(!is(typeof(_POSIX_LOGIN_NAME_MAX))) { private enum enumMixinStr__POSIX_LOGIN_NAME_MAX = `enum _POSIX_LOGIN_NAME_MAX = 9;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_LOGIN_NAME_MAX); }))) { mixin(enumMixinStr__POSIX_LOGIN_NAME_MAX); } } static if(!is(typeof(_POSIX_LINK_MAX))) { private enum enumMixinStr__POSIX_LINK_MAX = `enum _POSIX_LINK_MAX = 8;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_LINK_MAX); }))) { mixin(enumMixinStr__POSIX_LINK_MAX); } } static if(!is(typeof(_POSIX_HOST_NAME_MAX))) { private enum enumMixinStr__POSIX_HOST_NAME_MAX = `enum _POSIX_HOST_NAME_MAX = 255;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_HOST_NAME_MAX); }))) { mixin(enumMixinStr__POSIX_HOST_NAME_MAX); } } static if(!is(typeof(_POSIX_DELAYTIMER_MAX))) { private enum enumMixinStr__POSIX_DELAYTIMER_MAX = `enum _POSIX_DELAYTIMER_MAX = 32;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_DELAYTIMER_MAX); }))) { mixin(enumMixinStr__POSIX_DELAYTIMER_MAX); } } static if(!is(typeof(_POSIX_CHILD_MAX))) { private enum enumMixinStr__POSIX_CHILD_MAX = `enum _POSIX_CHILD_MAX = 25;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_CHILD_MAX); }))) { mixin(enumMixinStr__POSIX_CHILD_MAX); } } static if(!is(typeof(_POSIX_ARG_MAX))) { private enum enumMixinStr__POSIX_ARG_MAX = `enum _POSIX_ARG_MAX = 4096;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_ARG_MAX); }))) { mixin(enumMixinStr__POSIX_ARG_MAX); } } static if(!is(typeof(_POSIX_AIO_MAX))) { private enum enumMixinStr__POSIX_AIO_MAX = `enum _POSIX_AIO_MAX = 1;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_AIO_MAX); }))) { mixin(enumMixinStr__POSIX_AIO_MAX); } } static if(!is(typeof(_POSIX_AIO_LISTIO_MAX))) { private enum enumMixinStr__POSIX_AIO_LISTIO_MAX = `enum _POSIX_AIO_LISTIO_MAX = 2;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_AIO_LISTIO_MAX); }))) { mixin(enumMixinStr__POSIX_AIO_LISTIO_MAX); } } static if(!is(typeof(_BITS_POSIX1_LIM_H))) { private enum enumMixinStr__BITS_POSIX1_LIM_H = `enum _BITS_POSIX1_LIM_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__BITS_POSIX1_LIM_H); }))) { mixin(enumMixinStr__BITS_POSIX1_LIM_H); } } static if(!is(typeof(SEM_VALUE_MAX))) { private enum enumMixinStr_SEM_VALUE_MAX = `enum SEM_VALUE_MAX = ( 2147483647 );`; static if(is(typeof({ mixin(enumMixinStr_SEM_VALUE_MAX); }))) { mixin(enumMixinStr_SEM_VALUE_MAX); } } static if(!is(typeof(MQ_PRIO_MAX))) { private enum enumMixinStr_MQ_PRIO_MAX = `enum MQ_PRIO_MAX = 32768;`; static if(is(typeof({ mixin(enumMixinStr_MQ_PRIO_MAX); }))) { mixin(enumMixinStr_MQ_PRIO_MAX); } } static if(!is(typeof(HOST_NAME_MAX))) { private enum enumMixinStr_HOST_NAME_MAX = `enum HOST_NAME_MAX = 64;`; static if(is(typeof({ mixin(enumMixinStr_HOST_NAME_MAX); }))) { mixin(enumMixinStr_HOST_NAME_MAX); } } static if(!is(typeof(LOGIN_NAME_MAX))) { private enum enumMixinStr_LOGIN_NAME_MAX = `enum LOGIN_NAME_MAX = 256;`; static if(is(typeof({ mixin(enumMixinStr_LOGIN_NAME_MAX); }))) { mixin(enumMixinStr_LOGIN_NAME_MAX); } } static if(!is(typeof(TTY_NAME_MAX))) { private enum enumMixinStr_TTY_NAME_MAX = `enum TTY_NAME_MAX = 32;`; static if(is(typeof({ mixin(enumMixinStr_TTY_NAME_MAX); }))) { mixin(enumMixinStr_TTY_NAME_MAX); } } static if(!is(typeof(DELAYTIMER_MAX))) { private enum enumMixinStr_DELAYTIMER_MAX = `enum DELAYTIMER_MAX = 2147483647;`; static if(is(typeof({ mixin(enumMixinStr_DELAYTIMER_MAX); }))) { mixin(enumMixinStr_DELAYTIMER_MAX); } } static if(!is(typeof(PTHREAD_STACK_MIN))) { private enum enumMixinStr_PTHREAD_STACK_MIN = `enum PTHREAD_STACK_MIN = 16384;`; static if(is(typeof({ mixin(enumMixinStr_PTHREAD_STACK_MIN); }))) { mixin(enumMixinStr_PTHREAD_STACK_MIN); } } static if(!is(typeof(AIO_PRIO_DELTA_MAX))) { private enum enumMixinStr_AIO_PRIO_DELTA_MAX = `enum AIO_PRIO_DELTA_MAX = 20;`; static if(is(typeof({ mixin(enumMixinStr_AIO_PRIO_DELTA_MAX); }))) { mixin(enumMixinStr_AIO_PRIO_DELTA_MAX); } } static if(!is(typeof(_POSIX_THREAD_THREADS_MAX))) { private enum enumMixinStr__POSIX_THREAD_THREADS_MAX = `enum _POSIX_THREAD_THREADS_MAX = 64;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_THREAD_THREADS_MAX); }))) { mixin(enumMixinStr__POSIX_THREAD_THREADS_MAX); } } static if(!is(typeof(PTHREAD_DESTRUCTOR_ITERATIONS))) { private enum enumMixinStr_PTHREAD_DESTRUCTOR_ITERATIONS = `enum PTHREAD_DESTRUCTOR_ITERATIONS = _POSIX_THREAD_DESTRUCTOR_ITERATIONS;`; static if(is(typeof({ mixin(enumMixinStr_PTHREAD_DESTRUCTOR_ITERATIONS); }))) { mixin(enumMixinStr_PTHREAD_DESTRUCTOR_ITERATIONS); } } static if(!is(typeof(_POSIX_THREAD_DESTRUCTOR_ITERATIONS))) { private enum enumMixinStr__POSIX_THREAD_DESTRUCTOR_ITERATIONS = `enum _POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_THREAD_DESTRUCTOR_ITERATIONS); }))) { mixin(enumMixinStr__POSIX_THREAD_DESTRUCTOR_ITERATIONS); } } static if(!is(typeof(PTHREAD_KEYS_MAX))) { private enum enumMixinStr_PTHREAD_KEYS_MAX = `enum PTHREAD_KEYS_MAX = 1024;`; static if(is(typeof({ mixin(enumMixinStr_PTHREAD_KEYS_MAX); }))) { mixin(enumMixinStr_PTHREAD_KEYS_MAX); } } static if(!is(typeof(_POSIX_THREAD_KEYS_MAX))) { private enum enumMixinStr__POSIX_THREAD_KEYS_MAX = `enum _POSIX_THREAD_KEYS_MAX = 128;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_THREAD_KEYS_MAX); }))) { mixin(enumMixinStr__POSIX_THREAD_KEYS_MAX); } } static if(!is(typeof(__GLIBC_USE_IEC_60559_TYPES_EXT))) { private enum enumMixinStr___GLIBC_USE_IEC_60559_TYPES_EXT = `enum __GLIBC_USE_IEC_60559_TYPES_EXT = 0;`; static if(is(typeof({ mixin(enumMixinStr___GLIBC_USE_IEC_60559_TYPES_EXT); }))) { mixin(enumMixinStr___GLIBC_USE_IEC_60559_TYPES_EXT); } } static if(!is(typeof(__GLIBC_USE_IEC_60559_FUNCS_EXT))) { private enum enumMixinStr___GLIBC_USE_IEC_60559_FUNCS_EXT = `enum __GLIBC_USE_IEC_60559_FUNCS_EXT = 0;`; static if(is(typeof({ mixin(enumMixinStr___GLIBC_USE_IEC_60559_FUNCS_EXT); }))) { mixin(enumMixinStr___GLIBC_USE_IEC_60559_FUNCS_EXT); } } static if(!is(typeof(__GLIBC_USE_IEC_60559_BFP_EXT))) { private enum enumMixinStr___GLIBC_USE_IEC_60559_BFP_EXT = `enum __GLIBC_USE_IEC_60559_BFP_EXT = 0;`; static if(is(typeof({ mixin(enumMixinStr___GLIBC_USE_IEC_60559_BFP_EXT); }))) { mixin(enumMixinStr___GLIBC_USE_IEC_60559_BFP_EXT); } } static if(!is(typeof(__GLIBC_USE_LIB_EXT2))) { private enum enumMixinStr___GLIBC_USE_LIB_EXT2 = `enum __GLIBC_USE_LIB_EXT2 = 0;`; static if(is(typeof({ mixin(enumMixinStr___GLIBC_USE_LIB_EXT2); }))) { mixin(enumMixinStr___GLIBC_USE_LIB_EXT2); } } static if(!is(typeof(WINT_MAX))) { private enum enumMixinStr_WINT_MAX = `enum WINT_MAX = ( 4294967295u );`; static if(is(typeof({ mixin(enumMixinStr_WINT_MAX); }))) { mixin(enumMixinStr_WINT_MAX); } } static if(!is(typeof(WINT_MIN))) { private enum enumMixinStr_WINT_MIN = `enum WINT_MIN = ( 0u );`; static if(is(typeof({ mixin(enumMixinStr_WINT_MIN); }))) { mixin(enumMixinStr_WINT_MIN); } } static if(!is(typeof(WCHAR_MAX))) { private enum enumMixinStr_WCHAR_MAX = `enum WCHAR_MAX = 0x7fffffff;`; static if(is(typeof({ mixin(enumMixinStr_WCHAR_MAX); }))) { mixin(enumMixinStr_WCHAR_MAX); } } static if(!is(typeof(WCHAR_MIN))) { private enum enumMixinStr_WCHAR_MIN = `enum WCHAR_MIN = ( - 0x7fffffff - 1 );`; static if(is(typeof({ mixin(enumMixinStr_WCHAR_MIN); }))) { mixin(enumMixinStr_WCHAR_MIN); } } static if(!is(typeof(SIZE_MAX))) { private enum enumMixinStr_SIZE_MAX = `enum SIZE_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_SIZE_MAX); }))) { mixin(enumMixinStr_SIZE_MAX); } } static if(!is(typeof(SIG_ATOMIC_MAX))) { private enum enumMixinStr_SIG_ATOMIC_MAX = `enum SIG_ATOMIC_MAX = ( 2147483647 );`; static if(is(typeof({ mixin(enumMixinStr_SIG_ATOMIC_MAX); }))) { mixin(enumMixinStr_SIG_ATOMIC_MAX); } } static if(!is(typeof(SIG_ATOMIC_MIN))) { private enum enumMixinStr_SIG_ATOMIC_MIN = `enum SIG_ATOMIC_MIN = ( - 2147483647 - 1 );`; static if(is(typeof({ mixin(enumMixinStr_SIG_ATOMIC_MIN); }))) { mixin(enumMixinStr_SIG_ATOMIC_MIN); } } static if(!is(typeof(PTRDIFF_MAX))) { private enum enumMixinStr_PTRDIFF_MAX = `enum PTRDIFF_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_PTRDIFF_MAX); }))) { mixin(enumMixinStr_PTRDIFF_MAX); } } static if(!is(typeof(PTRDIFF_MIN))) { private enum enumMixinStr_PTRDIFF_MIN = `enum PTRDIFF_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_PTRDIFF_MIN); }))) { mixin(enumMixinStr_PTRDIFF_MIN); } } static if(!is(typeof(UINTMAX_MAX))) { private enum enumMixinStr_UINTMAX_MAX = `enum UINTMAX_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_UINTMAX_MAX); }))) { mixin(enumMixinStr_UINTMAX_MAX); } } static if(!is(typeof(INTMAX_MAX))) { private enum enumMixinStr_INTMAX_MAX = `enum INTMAX_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_INTMAX_MAX); }))) { mixin(enumMixinStr_INTMAX_MAX); } } static if(!is(typeof(INTMAX_MIN))) { private enum enumMixinStr_INTMAX_MIN = `enum INTMAX_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INTMAX_MIN); }))) { mixin(enumMixinStr_INTMAX_MIN); } } static if(!is(typeof(UINTPTR_MAX))) { private enum enumMixinStr_UINTPTR_MAX = `enum UINTPTR_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_UINTPTR_MAX); }))) { mixin(enumMixinStr_UINTPTR_MAX); } } static if(!is(typeof(INTPTR_MAX))) { private enum enumMixinStr_INTPTR_MAX = `enum INTPTR_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_INTPTR_MAX); }))) { mixin(enumMixinStr_INTPTR_MAX); } } static if(!is(typeof(INTPTR_MIN))) { private enum enumMixinStr_INTPTR_MIN = `enum INTPTR_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INTPTR_MIN); }))) { mixin(enumMixinStr_INTPTR_MIN); } } static if(!is(typeof(UINT_FAST64_MAX))) { private enum enumMixinStr_UINT_FAST64_MAX = `enum UINT_FAST64_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_UINT_FAST64_MAX); }))) { mixin(enumMixinStr_UINT_FAST64_MAX); } } static if(!is(typeof(UINT_FAST32_MAX))) { private enum enumMixinStr_UINT_FAST32_MAX = `enum UINT_FAST32_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_UINT_FAST32_MAX); }))) { mixin(enumMixinStr_UINT_FAST32_MAX); } } static if(!is(typeof(cudaDevicePropDontCare))) { private enum enumMixinStr_cudaDevicePropDontCare = `enum cudaDevicePropDontCare = { { '\0' } , { { 0 } } , { '\0' } , 0 , 0 , 0 , 0 , 0 , 0 , 0 , { 0 , 0 , 0 } , { 0 , 0 , 0 } , 0 , 0 , - 1 , - 1 , 0 , 0 , - 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , { 0 , 0 } , { 0 , 0 } , { 0 , 0 , 0 } , { 0 , 0 } , { 0 , 0 , 0 } , { 0 , 0 , 0 } , 0 , { 0 , 0 } , { 0 , 0 , 0 } , { 0 , 0 } , 0 , { 0 , 0 } , { 0 , 0 , 0 } , { 0 , 0 } , { 0 , 0 , 0 } , 0 , { 0 , 0 } , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , };`; static if(is(typeof({ mixin(enumMixinStr_cudaDevicePropDontCare); }))) { mixin(enumMixinStr_cudaDevicePropDontCare); } } static if(!is(typeof(CUDA_IPC_HANDLE_SIZE))) { private enum enumMixinStr_CUDA_IPC_HANDLE_SIZE = `enum CUDA_IPC_HANDLE_SIZE = 64;`; static if(is(typeof({ mixin(enumMixinStr_CUDA_IPC_HANDLE_SIZE); }))) { mixin(enumMixinStr_CUDA_IPC_HANDLE_SIZE); } } static if(!is(typeof(UINT_FAST16_MAX))) { private enum enumMixinStr_UINT_FAST16_MAX = `enum UINT_FAST16_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_UINT_FAST16_MAX); }))) { mixin(enumMixinStr_UINT_FAST16_MAX); } } static if(!is(typeof(UINT_FAST8_MAX))) { private enum enumMixinStr_UINT_FAST8_MAX = `enum UINT_FAST8_MAX = ( 255 );`; static if(is(typeof({ mixin(enumMixinStr_UINT_FAST8_MAX); }))) { mixin(enumMixinStr_UINT_FAST8_MAX); } } static if(!is(typeof(INT_FAST64_MAX))) { private enum enumMixinStr_INT_FAST64_MAX = `enum INT_FAST64_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST64_MAX); }))) { mixin(enumMixinStr_INT_FAST64_MAX); } } static if(!is(typeof(INT_FAST32_MAX))) { private enum enumMixinStr_INT_FAST32_MAX = `enum INT_FAST32_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST32_MAX); }))) { mixin(enumMixinStr_INT_FAST32_MAX); } } static if(!is(typeof(INT_FAST16_MAX))) { private enum enumMixinStr_INT_FAST16_MAX = `enum INT_FAST16_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST16_MAX); }))) { mixin(enumMixinStr_INT_FAST16_MAX); } } static if(!is(typeof(INT_FAST8_MAX))) { private enum enumMixinStr_INT_FAST8_MAX = `enum INT_FAST8_MAX = ( 127 );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST8_MAX); }))) { mixin(enumMixinStr_INT_FAST8_MAX); } } static if(!is(typeof(INT_FAST64_MIN))) { private enum enumMixinStr_INT_FAST64_MIN = `enum INT_FAST64_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST64_MIN); }))) { mixin(enumMixinStr_INT_FAST64_MIN); } } static if(!is(typeof(INT_FAST32_MIN))) { private enum enumMixinStr_INT_FAST32_MIN = `enum INT_FAST32_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST32_MIN); }))) { mixin(enumMixinStr_INT_FAST32_MIN); } } static if(!is(typeof(INT_FAST16_MIN))) { private enum enumMixinStr_INT_FAST16_MIN = `enum INT_FAST16_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST16_MIN); }))) { mixin(enumMixinStr_INT_FAST16_MIN); } } static if(!is(typeof(INT_FAST8_MIN))) { private enum enumMixinStr_INT_FAST8_MIN = `enum INT_FAST8_MIN = ( - 128 );`; static if(is(typeof({ mixin(enumMixinStr_INT_FAST8_MIN); }))) { mixin(enumMixinStr_INT_FAST8_MIN); } } static if(!is(typeof(UINT_LEAST64_MAX))) { private enum enumMixinStr_UINT_LEAST64_MAX = `enum UINT_LEAST64_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_UINT_LEAST64_MAX); }))) { mixin(enumMixinStr_UINT_LEAST64_MAX); } } static if(!is(typeof(UINT_LEAST32_MAX))) { private enum enumMixinStr_UINT_LEAST32_MAX = `enum UINT_LEAST32_MAX = ( 4294967295U );`; static if(is(typeof({ mixin(enumMixinStr_UINT_LEAST32_MAX); }))) { mixin(enumMixinStr_UINT_LEAST32_MAX); } } static if(!is(typeof(cudaExternalMemoryDedicated))) { private enum enumMixinStr_cudaExternalMemoryDedicated = `enum cudaExternalMemoryDedicated = 0x1;`; static if(is(typeof({ mixin(enumMixinStr_cudaExternalMemoryDedicated); }))) { mixin(enumMixinStr_cudaExternalMemoryDedicated); } } static if(!is(typeof(cudaExternalSemaphoreSignalSkipNvSciBufMemSync))) { private enum enumMixinStr_cudaExternalSemaphoreSignalSkipNvSciBufMemSync = `enum cudaExternalSemaphoreSignalSkipNvSciBufMemSync = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaExternalSemaphoreSignalSkipNvSciBufMemSync); }))) { mixin(enumMixinStr_cudaExternalSemaphoreSignalSkipNvSciBufMemSync); } } static if(!is(typeof(cudaExternalSemaphoreWaitSkipNvSciBufMemSync))) { private enum enumMixinStr_cudaExternalSemaphoreWaitSkipNvSciBufMemSync = `enum cudaExternalSemaphoreWaitSkipNvSciBufMemSync = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaExternalSemaphoreWaitSkipNvSciBufMemSync); }))) { mixin(enumMixinStr_cudaExternalSemaphoreWaitSkipNvSciBufMemSync); } } static if(!is(typeof(cudaNvSciSyncAttrSignal))) { private enum enumMixinStr_cudaNvSciSyncAttrSignal = `enum cudaNvSciSyncAttrSignal = 0x1;`; static if(is(typeof({ mixin(enumMixinStr_cudaNvSciSyncAttrSignal); }))) { mixin(enumMixinStr_cudaNvSciSyncAttrSignal); } } static if(!is(typeof(cudaNvSciSyncAttrWait))) { private enum enumMixinStr_cudaNvSciSyncAttrWait = `enum cudaNvSciSyncAttrWait = 0x2;`; static if(is(typeof({ mixin(enumMixinStr_cudaNvSciSyncAttrWait); }))) { mixin(enumMixinStr_cudaNvSciSyncAttrWait); } } static if(!is(typeof(UINT_LEAST16_MAX))) { private enum enumMixinStr_UINT_LEAST16_MAX = `enum UINT_LEAST16_MAX = ( 65535 );`; static if(is(typeof({ mixin(enumMixinStr_UINT_LEAST16_MAX); }))) { mixin(enumMixinStr_UINT_LEAST16_MAX); } } static if(!is(typeof(UINT_LEAST8_MAX))) { private enum enumMixinStr_UINT_LEAST8_MAX = `enum UINT_LEAST8_MAX = ( 255 );`; static if(is(typeof({ mixin(enumMixinStr_UINT_LEAST8_MAX); }))) { mixin(enumMixinStr_UINT_LEAST8_MAX); } } static if(!is(typeof(INT_LEAST64_MAX))) { private enum enumMixinStr_INT_LEAST64_MAX = `enum INT_LEAST64_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST64_MAX); }))) { mixin(enumMixinStr_INT_LEAST64_MAX); } } static if(!is(typeof(INT_LEAST32_MAX))) { private enum enumMixinStr_INT_LEAST32_MAX = `enum INT_LEAST32_MAX = ( 2147483647 );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST32_MAX); }))) { mixin(enumMixinStr_INT_LEAST32_MAX); } } static if(!is(typeof(INT_LEAST16_MAX))) { private enum enumMixinStr_INT_LEAST16_MAX = `enum INT_LEAST16_MAX = ( 32767 );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST16_MAX); }))) { mixin(enumMixinStr_INT_LEAST16_MAX); } } static if(!is(typeof(INT_LEAST8_MAX))) { private enum enumMixinStr_INT_LEAST8_MAX = `enum INT_LEAST8_MAX = ( 127 );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST8_MAX); }))) { mixin(enumMixinStr_INT_LEAST8_MAX); } } static if(!is(typeof(INT_LEAST64_MIN))) { private enum enumMixinStr_INT_LEAST64_MIN = `enum INT_LEAST64_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST64_MIN); }))) { mixin(enumMixinStr_INT_LEAST64_MIN); } } static if(!is(typeof(INT_LEAST32_MIN))) { private enum enumMixinStr_INT_LEAST32_MIN = `enum INT_LEAST32_MIN = ( - 2147483647 - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST32_MIN); }))) { mixin(enumMixinStr_INT_LEAST32_MIN); } } static if(!is(typeof(INT_LEAST16_MIN))) { private enum enumMixinStr_INT_LEAST16_MIN = `enum INT_LEAST16_MIN = ( - 32767 - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST16_MIN); }))) { mixin(enumMixinStr_INT_LEAST16_MIN); } } static if(!is(typeof(INT_LEAST8_MIN))) { private enum enumMixinStr_INT_LEAST8_MIN = `enum INT_LEAST8_MIN = ( - 128 );`; static if(is(typeof({ mixin(enumMixinStr_INT_LEAST8_MIN); }))) { mixin(enumMixinStr_INT_LEAST8_MIN); } } static if(!is(typeof(UINT64_MAX))) { private enum enumMixinStr_UINT64_MAX = `enum UINT64_MAX = ( 18446744073709551615UL );`; static if(is(typeof({ mixin(enumMixinStr_UINT64_MAX); }))) { mixin(enumMixinStr_UINT64_MAX); } } static if(!is(typeof(UINT32_MAX))) { private enum enumMixinStr_UINT32_MAX = `enum UINT32_MAX = ( 4294967295U );`; static if(is(typeof({ mixin(enumMixinStr_UINT32_MAX); }))) { mixin(enumMixinStr_UINT32_MAX); } } static if(!is(typeof(UINT16_MAX))) { private enum enumMixinStr_UINT16_MAX = `enum UINT16_MAX = ( 65535 );`; static if(is(typeof({ mixin(enumMixinStr_UINT16_MAX); }))) { mixin(enumMixinStr_UINT16_MAX); } } static if(!is(typeof(UINT8_MAX))) { private enum enumMixinStr_UINT8_MAX = `enum UINT8_MAX = ( 255 );`; static if(is(typeof({ mixin(enumMixinStr_UINT8_MAX); }))) { mixin(enumMixinStr_UINT8_MAX); } } static if(!is(typeof(INT64_MAX))) { private enum enumMixinStr_INT64_MAX = `enum INT64_MAX = ( 9223372036854775807L );`; static if(is(typeof({ mixin(enumMixinStr_INT64_MAX); }))) { mixin(enumMixinStr_INT64_MAX); } } static if(!is(typeof(INT32_MAX))) { private enum enumMixinStr_INT32_MAX = `enum INT32_MAX = ( 2147483647 );`; static if(is(typeof({ mixin(enumMixinStr_INT32_MAX); }))) { mixin(enumMixinStr_INT32_MAX); } } static if(!is(typeof(INT16_MAX))) { private enum enumMixinStr_INT16_MAX = `enum INT16_MAX = ( 32767 );`; static if(is(typeof({ mixin(enumMixinStr_INT16_MAX); }))) { mixin(enumMixinStr_INT16_MAX); } } static if(!is(typeof(INT8_MAX))) { private enum enumMixinStr_INT8_MAX = `enum INT8_MAX = ( 127 );`; static if(is(typeof({ mixin(enumMixinStr_INT8_MAX); }))) { mixin(enumMixinStr_INT8_MAX); } } static if(!is(typeof(INT64_MIN))) { private enum enumMixinStr_INT64_MIN = `enum INT64_MIN = ( - 9223372036854775807L - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT64_MIN); }))) { mixin(enumMixinStr_INT64_MIN); } } static if(!is(typeof(INT32_MIN))) { private enum enumMixinStr_INT32_MIN = `enum INT32_MIN = ( - 2147483647 - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT32_MIN); }))) { mixin(enumMixinStr_INT32_MIN); } } static if(!is(typeof(INT16_MIN))) { private enum enumMixinStr_INT16_MIN = `enum INT16_MIN = ( - 32767 - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT16_MIN); }))) { mixin(enumMixinStr_INT16_MIN); } } static if(!is(typeof(INT8_MIN))) { private enum enumMixinStr_INT8_MIN = `enum INT8_MIN = ( - 128 );`; static if(is(typeof({ mixin(enumMixinStr_INT8_MIN); }))) { mixin(enumMixinStr_INT8_MIN); } } static if(!is(typeof(_STDINT_H))) { private enum enumMixinStr__STDINT_H = `enum _STDINT_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__STDINT_H); }))) { mixin(enumMixinStr__STDINT_H); } } static if(!is(typeof(_STDC_PREDEF_H))) { private enum enumMixinStr__STDC_PREDEF_H = `enum _STDC_PREDEF_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__STDC_PREDEF_H); }))) { mixin(enumMixinStr__STDC_PREDEF_H); } } static if(!is(typeof(RTSIG_MAX))) { private enum enumMixinStr_RTSIG_MAX = `enum RTSIG_MAX = 32;`; static if(is(typeof({ mixin(enumMixinStr_RTSIG_MAX); }))) { mixin(enumMixinStr_RTSIG_MAX); } } static if(!is(typeof(XATTR_LIST_MAX))) { private enum enumMixinStr_XATTR_LIST_MAX = `enum XATTR_LIST_MAX = 65536;`; static if(is(typeof({ mixin(enumMixinStr_XATTR_LIST_MAX); }))) { mixin(enumMixinStr_XATTR_LIST_MAX); } } static if(!is(typeof(XATTR_SIZE_MAX))) { private enum enumMixinStr_XATTR_SIZE_MAX = `enum XATTR_SIZE_MAX = 65536;`; static if(is(typeof({ mixin(enumMixinStr_XATTR_SIZE_MAX); }))) { mixin(enumMixinStr_XATTR_SIZE_MAX); } } static if(!is(typeof(XATTR_NAME_MAX))) { private enum enumMixinStr_XATTR_NAME_MAX = `enum XATTR_NAME_MAX = 255;`; static if(is(typeof({ mixin(enumMixinStr_XATTR_NAME_MAX); }))) { mixin(enumMixinStr_XATTR_NAME_MAX); } } static if(!is(typeof(PIPE_BUF))) { private enum enumMixinStr_PIPE_BUF = `enum PIPE_BUF = 4096;`; static if(is(typeof({ mixin(enumMixinStr_PIPE_BUF); }))) { mixin(enumMixinStr_PIPE_BUF); } } static if(!is(typeof(PATH_MAX))) { private enum enumMixinStr_PATH_MAX = `enum PATH_MAX = 4096;`; static if(is(typeof({ mixin(enumMixinStr_PATH_MAX); }))) { mixin(enumMixinStr_PATH_MAX); } } static if(!is(typeof(NAME_MAX))) { private enum enumMixinStr_NAME_MAX = `enum NAME_MAX = 255;`; static if(is(typeof({ mixin(enumMixinStr_NAME_MAX); }))) { mixin(enumMixinStr_NAME_MAX); } } static if(!is(typeof(MAX_INPUT))) { private enum enumMixinStr_MAX_INPUT = `enum MAX_INPUT = 255;`; static if(is(typeof({ mixin(enumMixinStr_MAX_INPUT); }))) { mixin(enumMixinStr_MAX_INPUT); } } static if(!is(typeof(MAX_CANON))) { private enum enumMixinStr_MAX_CANON = `enum MAX_CANON = 255;`; static if(is(typeof({ mixin(enumMixinStr_MAX_CANON); }))) { mixin(enumMixinStr_MAX_CANON); } } static if(!is(typeof(LINK_MAX))) { private enum enumMixinStr_LINK_MAX = `enum LINK_MAX = 127;`; static if(is(typeof({ mixin(enumMixinStr_LINK_MAX); }))) { mixin(enumMixinStr_LINK_MAX); } } static if(!is(typeof(ARG_MAX))) { private enum enumMixinStr_ARG_MAX = `enum ARG_MAX = 131072;`; static if(is(typeof({ mixin(enumMixinStr_ARG_MAX); }))) { mixin(enumMixinStr_ARG_MAX); } } static if(!is(typeof(NGROUPS_MAX))) { private enum enumMixinStr_NGROUPS_MAX = `enum NGROUPS_MAX = 65536;`; static if(is(typeof({ mixin(enumMixinStr_NGROUPS_MAX); }))) { mixin(enumMixinStr_NGROUPS_MAX); } } static if(!is(typeof(NR_OPEN))) { private enum enumMixinStr_NR_OPEN = `enum NR_OPEN = 1024;`; static if(is(typeof({ mixin(enumMixinStr_NR_OPEN); }))) { mixin(enumMixinStr_NR_OPEN); } } static if(!is(typeof(ULLONG_MAX))) { private enum enumMixinStr_ULLONG_MAX = `enum ULLONG_MAX = ( LLONG_MAX * 2ULL + 1 );`; static if(is(typeof({ mixin(enumMixinStr_ULLONG_MAX); }))) { mixin(enumMixinStr_ULLONG_MAX); } } static if(!is(typeof(LLONG_MAX))) { private enum enumMixinStr_LLONG_MAX = `enum LLONG_MAX = 0x7fffffffffffffffLL;`; static if(is(typeof({ mixin(enumMixinStr_LLONG_MAX); }))) { mixin(enumMixinStr_LLONG_MAX); } } static if(!is(typeof(LLONG_MIN))) { private enum enumMixinStr_LLONG_MIN = `enum LLONG_MIN = ( - 0x7fffffffffffffffLL - 1 );`; static if(is(typeof({ mixin(enumMixinStr_LLONG_MIN); }))) { mixin(enumMixinStr_LLONG_MIN); } } static if(!is(typeof(MB_LEN_MAX))) { private enum enumMixinStr_MB_LEN_MAX = `enum MB_LEN_MAX = 16;`; static if(is(typeof({ mixin(enumMixinStr_MB_LEN_MAX); }))) { mixin(enumMixinStr_MB_LEN_MAX); } } static if(!is(typeof(_LIBC_LIMITS_H_))) { private enum enumMixinStr__LIBC_LIMITS_H_ = `enum _LIBC_LIMITS_H_ = 1;`; static if(is(typeof({ mixin(enumMixinStr__LIBC_LIMITS_H_); }))) { mixin(enumMixinStr__LIBC_LIMITS_H_); } } static if(!is(typeof(__GLIBC_MINOR__))) { private enum enumMixinStr___GLIBC_MINOR__ = `enum __GLIBC_MINOR__ = 27;`; static if(is(typeof({ mixin(enumMixinStr___GLIBC_MINOR__); }))) { mixin(enumMixinStr___GLIBC_MINOR__); } } static if(!is(typeof(__GLIBC__))) { private enum enumMixinStr___GLIBC__ = `enum __GLIBC__ = 2;`; static if(is(typeof({ mixin(enumMixinStr___GLIBC__); }))) { mixin(enumMixinStr___GLIBC__); } } static if(!is(typeof(__GNU_LIBRARY__))) { private enum enumMixinStr___GNU_LIBRARY__ = `enum __GNU_LIBRARY__ = 6;`; static if(is(typeof({ mixin(enumMixinStr___GNU_LIBRARY__); }))) { mixin(enumMixinStr___GNU_LIBRARY__); } } static if(!is(typeof(cudaSurfaceType1D))) { private enum enumMixinStr_cudaSurfaceType1D = `enum cudaSurfaceType1D = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaSurfaceType1D); }))) { mixin(enumMixinStr_cudaSurfaceType1D); } } static if(!is(typeof(cudaSurfaceType2D))) { private enum enumMixinStr_cudaSurfaceType2D = `enum cudaSurfaceType2D = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaSurfaceType2D); }))) { mixin(enumMixinStr_cudaSurfaceType2D); } } static if(!is(typeof(cudaSurfaceType3D))) { private enum enumMixinStr_cudaSurfaceType3D = `enum cudaSurfaceType3D = 0x03;`; static if(is(typeof({ mixin(enumMixinStr_cudaSurfaceType3D); }))) { mixin(enumMixinStr_cudaSurfaceType3D); } } static if(!is(typeof(cudaSurfaceTypeCubemap))) { private enum enumMixinStr_cudaSurfaceTypeCubemap = `enum cudaSurfaceTypeCubemap = 0x0C;`; static if(is(typeof({ mixin(enumMixinStr_cudaSurfaceTypeCubemap); }))) { mixin(enumMixinStr_cudaSurfaceTypeCubemap); } } static if(!is(typeof(cudaSurfaceType1DLayered))) { private enum enumMixinStr_cudaSurfaceType1DLayered = `enum cudaSurfaceType1DLayered = 0xF1;`; static if(is(typeof({ mixin(enumMixinStr_cudaSurfaceType1DLayered); }))) { mixin(enumMixinStr_cudaSurfaceType1DLayered); } } static if(!is(typeof(cudaSurfaceType2DLayered))) { private enum enumMixinStr_cudaSurfaceType2DLayered = `enum cudaSurfaceType2DLayered = 0xF2;`; static if(is(typeof({ mixin(enumMixinStr_cudaSurfaceType2DLayered); }))) { mixin(enumMixinStr_cudaSurfaceType2DLayered); } } static if(!is(typeof(cudaSurfaceTypeCubemapLayered))) { private enum enumMixinStr_cudaSurfaceTypeCubemapLayered = `enum cudaSurfaceTypeCubemapLayered = 0xFC;`; static if(is(typeof({ mixin(enumMixinStr_cudaSurfaceTypeCubemapLayered); }))) { mixin(enumMixinStr_cudaSurfaceTypeCubemapLayered); } } static if(!is(typeof(__GLIBC_USE_DEPRECATED_GETS))) { private enum enumMixinStr___GLIBC_USE_DEPRECATED_GETS = `enum __GLIBC_USE_DEPRECATED_GETS = 0;`; static if(is(typeof({ mixin(enumMixinStr___GLIBC_USE_DEPRECATED_GETS); }))) { mixin(enumMixinStr___GLIBC_USE_DEPRECATED_GETS); } } static if(!is(typeof(__USE_FORTIFY_LEVEL))) { private enum enumMixinStr___USE_FORTIFY_LEVEL = `enum __USE_FORTIFY_LEVEL = 0;`; static if(is(typeof({ mixin(enumMixinStr___USE_FORTIFY_LEVEL); }))) { mixin(enumMixinStr___USE_FORTIFY_LEVEL); } } static if(!is(typeof(__USE_ATFILE))) { private enum enumMixinStr___USE_ATFILE = `enum __USE_ATFILE = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_ATFILE); }))) { mixin(enumMixinStr___USE_ATFILE); } } static if(!is(typeof(__USE_MISC))) { private enum enumMixinStr___USE_MISC = `enum __USE_MISC = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_MISC); }))) { mixin(enumMixinStr___USE_MISC); } } static if(!is(typeof(_ATFILE_SOURCE))) { private enum enumMixinStr__ATFILE_SOURCE = `enum _ATFILE_SOURCE = 1;`; static if(is(typeof({ mixin(enumMixinStr__ATFILE_SOURCE); }))) { mixin(enumMixinStr__ATFILE_SOURCE); } } static if(!is(typeof(__USE_XOPEN2K8))) { private enum enumMixinStr___USE_XOPEN2K8 = `enum __USE_XOPEN2K8 = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_XOPEN2K8); }))) { mixin(enumMixinStr___USE_XOPEN2K8); } } static if(!is(typeof(__USE_ISOC99))) { private enum enumMixinStr___USE_ISOC99 = `enum __USE_ISOC99 = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_ISOC99); }))) { mixin(enumMixinStr___USE_ISOC99); } } static if(!is(typeof(__USE_ISOC95))) { private enum enumMixinStr___USE_ISOC95 = `enum __USE_ISOC95 = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_ISOC95); }))) { mixin(enumMixinStr___USE_ISOC95); } } static if(!is(typeof(__USE_XOPEN2K))) { private enum enumMixinStr___USE_XOPEN2K = `enum __USE_XOPEN2K = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_XOPEN2K); }))) { mixin(enumMixinStr___USE_XOPEN2K); } } static if(!is(typeof(cudaTextureType1D))) { private enum enumMixinStr_cudaTextureType1D = `enum cudaTextureType1D = 0x01;`; static if(is(typeof({ mixin(enumMixinStr_cudaTextureType1D); }))) { mixin(enumMixinStr_cudaTextureType1D); } } static if(!is(typeof(cudaTextureType2D))) { private enum enumMixinStr_cudaTextureType2D = `enum cudaTextureType2D = 0x02;`; static if(is(typeof({ mixin(enumMixinStr_cudaTextureType2D); }))) { mixin(enumMixinStr_cudaTextureType2D); } } static if(!is(typeof(cudaTextureType3D))) { private enum enumMixinStr_cudaTextureType3D = `enum cudaTextureType3D = 0x03;`; static if(is(typeof({ mixin(enumMixinStr_cudaTextureType3D); }))) { mixin(enumMixinStr_cudaTextureType3D); } } static if(!is(typeof(cudaTextureTypeCubemap))) { private enum enumMixinStr_cudaTextureTypeCubemap = `enum cudaTextureTypeCubemap = 0x0C;`; static if(is(typeof({ mixin(enumMixinStr_cudaTextureTypeCubemap); }))) { mixin(enumMixinStr_cudaTextureTypeCubemap); } } static if(!is(typeof(cudaTextureType1DLayered))) { private enum enumMixinStr_cudaTextureType1DLayered = `enum cudaTextureType1DLayered = 0xF1;`; static if(is(typeof({ mixin(enumMixinStr_cudaTextureType1DLayered); }))) { mixin(enumMixinStr_cudaTextureType1DLayered); } } static if(!is(typeof(cudaTextureType2DLayered))) { private enum enumMixinStr_cudaTextureType2DLayered = `enum cudaTextureType2DLayered = 0xF2;`; static if(is(typeof({ mixin(enumMixinStr_cudaTextureType2DLayered); }))) { mixin(enumMixinStr_cudaTextureType2DLayered); } } static if(!is(typeof(cudaTextureTypeCubemapLayered))) { private enum enumMixinStr_cudaTextureTypeCubemapLayered = `enum cudaTextureTypeCubemapLayered = 0xFC;`; static if(is(typeof({ mixin(enumMixinStr_cudaTextureTypeCubemapLayered); }))) { mixin(enumMixinStr_cudaTextureTypeCubemapLayered); } } static if(!is(typeof(__USE_POSIX199506))) { private enum enumMixinStr___USE_POSIX199506 = `enum __USE_POSIX199506 = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_POSIX199506); }))) { mixin(enumMixinStr___USE_POSIX199506); } } static if(!is(typeof(__USE_POSIX199309))) { private enum enumMixinStr___USE_POSIX199309 = `enum __USE_POSIX199309 = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_POSIX199309); }))) { mixin(enumMixinStr___USE_POSIX199309); } } static if(!is(typeof(__USE_POSIX2))) { private enum enumMixinStr___USE_POSIX2 = `enum __USE_POSIX2 = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_POSIX2); }))) { mixin(enumMixinStr___USE_POSIX2); } } static if(!is(typeof(__USE_POSIX))) { private enum enumMixinStr___USE_POSIX = `enum __USE_POSIX = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_POSIX); }))) { mixin(enumMixinStr___USE_POSIX); } } static if(!is(typeof(_POSIX_C_SOURCE))) { private enum enumMixinStr__POSIX_C_SOURCE = `enum _POSIX_C_SOURCE = 200809L;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_C_SOURCE); }))) { mixin(enumMixinStr__POSIX_C_SOURCE); } } static if(!is(typeof(_POSIX_SOURCE))) { private enum enumMixinStr__POSIX_SOURCE = `enum _POSIX_SOURCE = 1;`; static if(is(typeof({ mixin(enumMixinStr__POSIX_SOURCE); }))) { mixin(enumMixinStr__POSIX_SOURCE); } } static if(!is(typeof(__USE_POSIX_IMPLICITLY))) { private enum enumMixinStr___USE_POSIX_IMPLICITLY = `enum __USE_POSIX_IMPLICITLY = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_POSIX_IMPLICITLY); }))) { mixin(enumMixinStr___USE_POSIX_IMPLICITLY); } } static if(!is(typeof(__USE_ISOC11))) { private enum enumMixinStr___USE_ISOC11 = `enum __USE_ISOC11 = 1;`; static if(is(typeof({ mixin(enumMixinStr___USE_ISOC11); }))) { mixin(enumMixinStr___USE_ISOC11); } } static if(!is(typeof(_DEFAULT_SOURCE))) { private enum enumMixinStr__DEFAULT_SOURCE = `enum _DEFAULT_SOURCE = 1;`; static if(is(typeof({ mixin(enumMixinStr__DEFAULT_SOURCE); }))) { mixin(enumMixinStr__DEFAULT_SOURCE); } } static if(!is(typeof(__VECTOR_FUNCTIONS_DECL__))) { private enum enumMixinStr___VECTOR_FUNCTIONS_DECL__ = `enum __VECTOR_FUNCTIONS_DECL__ = static __inline__ ;`; static if(is(typeof({ mixin(enumMixinStr___VECTOR_FUNCTIONS_DECL__); }))) { mixin(enumMixinStr___VECTOR_FUNCTIONS_DECL__); } } static if(!is(typeof(_FEATURES_H))) { private enum enumMixinStr__FEATURES_H = `enum _FEATURES_H = 1;`; static if(is(typeof({ mixin(enumMixinStr__FEATURES_H); }))) { mixin(enumMixinStr__FEATURES_H); } } static if(!is(typeof(NULL))) { private enum enumMixinStr_NULL = `enum NULL = ( cast( void * ) 0 );`; static if(is(typeof({ mixin(enumMixinStr_NULL); }))) { mixin(enumMixinStr_NULL); } } static if(!is(typeof(CHAR_MAX))) { private enum enumMixinStr_CHAR_MAX = `enum CHAR_MAX = 0x7f;`; static if(is(typeof({ mixin(enumMixinStr_CHAR_MAX); }))) { mixin(enumMixinStr_CHAR_MAX); } } static if(!is(typeof(CHAR_MIN))) { private enum enumMixinStr_CHAR_MIN = `enum CHAR_MIN = SCHAR_MIN;`; static if(is(typeof({ mixin(enumMixinStr_CHAR_MIN); }))) { mixin(enumMixinStr_CHAR_MIN); } } static if(!is(typeof(CHAR_BIT))) { private enum enumMixinStr_CHAR_BIT = `enum CHAR_BIT = 8;`; static if(is(typeof({ mixin(enumMixinStr_CHAR_BIT); }))) { mixin(enumMixinStr_CHAR_BIT); } } static if(!is(typeof(ULONG_MAX))) { private enum enumMixinStr_ULONG_MAX = `enum ULONG_MAX = ( 0x7fffffffffffffffL * 2UL + 1UL );`; static if(is(typeof({ mixin(enumMixinStr_ULONG_MAX); }))) { mixin(enumMixinStr_ULONG_MAX); } } static if(!is(typeof(UINT_MAX))) { private enum enumMixinStr_UINT_MAX = `enum UINT_MAX = ( 0x7fffffff * 2U + 1U );`; static if(is(typeof({ mixin(enumMixinStr_UINT_MAX); }))) { mixin(enumMixinStr_UINT_MAX); } } static if(!is(typeof(USHRT_MAX))) { private enum enumMixinStr_USHRT_MAX = `enum USHRT_MAX = ( 0x7fff * 2 + 1 );`; static if(is(typeof({ mixin(enumMixinStr_USHRT_MAX); }))) { mixin(enumMixinStr_USHRT_MAX); } } static if(!is(typeof(UCHAR_MAX))) { private enum enumMixinStr_UCHAR_MAX = `enum UCHAR_MAX = ( 0x7f * 2 + 1 );`; static if(is(typeof({ mixin(enumMixinStr_UCHAR_MAX); }))) { mixin(enumMixinStr_UCHAR_MAX); } } static if(!is(typeof(LONG_MIN))) { private enum enumMixinStr_LONG_MIN = `enum LONG_MIN = ( - 0x7fffffffffffffffL - 1L );`; static if(is(typeof({ mixin(enumMixinStr_LONG_MIN); }))) { mixin(enumMixinStr_LONG_MIN); } } static if(!is(typeof(INT_MIN))) { private enum enumMixinStr_INT_MIN = `enum INT_MIN = ( - 0x7fffffff - 1 );`; static if(is(typeof({ mixin(enumMixinStr_INT_MIN); }))) { mixin(enumMixinStr_INT_MIN); } } static if(!is(typeof(SHRT_MIN))) { private enum enumMixinStr_SHRT_MIN = `enum SHRT_MIN = ( - 0x7fff - 1 );`; static if(is(typeof({ mixin(enumMixinStr_SHRT_MIN); }))) { mixin(enumMixinStr_SHRT_MIN); } } static if(!is(typeof(SCHAR_MIN))) { private enum enumMixinStr_SCHAR_MIN = `enum SCHAR_MIN = ( - 0x7f - 1 );`; static if(is(typeof({ mixin(enumMixinStr_SCHAR_MIN); }))) { mixin(enumMixinStr_SCHAR_MIN); } } static if(!is(typeof(LONG_MAX))) { private enum enumMixinStr_LONG_MAX = `enum LONG_MAX = 0x7fffffffffffffffL;`; static if(is(typeof({ mixin(enumMixinStr_LONG_MAX); }))) { mixin(enumMixinStr_LONG_MAX); } } static if(!is(typeof(INT_MAX))) { private enum enumMixinStr_INT_MAX = `enum INT_MAX = 0x7fffffff;`; static if(is(typeof({ mixin(enumMixinStr_INT_MAX); }))) { mixin(enumMixinStr_INT_MAX); } } static if(!is(typeof(SHRT_MAX))) { private enum enumMixinStr_SHRT_MAX = `enum SHRT_MAX = 0x7fff;`; static if(is(typeof({ mixin(enumMixinStr_SHRT_MAX); }))) { mixin(enumMixinStr_SHRT_MAX); } } static if(!is(typeof(SCHAR_MAX))) { private enum enumMixinStr_SCHAR_MAX = `enum SCHAR_MAX = 0x7f;`; static if(is(typeof({ mixin(enumMixinStr_SCHAR_MAX); }))) { mixin(enumMixinStr_SCHAR_MAX); } } static if(!is(typeof(__cuda_builtin_vector_align8))) { private enum enumMixinStr___cuda_builtin_vector_align8 = `enum __cuda_builtin_vector_align8 = ( tag , members ) __attribute__ ( ( aligned ( 8 ) ) ) tag { members };`; static if(is(typeof({ mixin(enumMixinStr___cuda_builtin_vector_align8); }))) { mixin(enumMixinStr___cuda_builtin_vector_align8); } } }
D
import command; void main() { gCommandInterpreter.run(); }
D
/Users/shawngong/Centa/.build/debug/Fluent.build/Query/Comparison.swift.o : /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Database.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Driver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Entity/Entity.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Filters.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Group.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Sort.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/MemoryDriver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Database+Preparation.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Migration.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Preparation.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/PreparationError.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Action.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Comparison.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Filter.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Group.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Join.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Limit.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Query.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Scope.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Sort.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Children.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Parent.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/RelationError.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Siblings.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Database+Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Creator.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Field.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Modifier.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL+Query.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL+Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQLSerializer.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/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/shawngong/Centa/.build/debug/CLibreSSL.build/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/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/shawngong/Centa/.build/debug/Node.swiftmodule /Users/shawngong/Centa/.build/debug/PathIndexable.swiftmodule /Users/shawngong/Centa/.build/debug/Polymorphic.swiftmodule /Users/shawngong/Centa/.build/debug/Fluent.build/Comparison~partial.swiftmodule : /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Database.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Driver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Entity/Entity.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Filters.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Group.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Sort.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/MemoryDriver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Database+Preparation.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Migration.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Preparation.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/PreparationError.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Action.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Comparison.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Filter.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Group.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Join.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Limit.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Query.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Scope.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Sort.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Children.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Parent.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/RelationError.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Siblings.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Database+Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Creator.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Field.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Modifier.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL+Query.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL+Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQLSerializer.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/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/shawngong/Centa/.build/debug/CLibreSSL.build/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/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/shawngong/Centa/.build/debug/Node.swiftmodule /Users/shawngong/Centa/.build/debug/PathIndexable.swiftmodule /Users/shawngong/Centa/.build/debug/Polymorphic.swiftmodule /Users/shawngong/Centa/.build/debug/Fluent.build/Comparison~partial.swiftdoc : /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Database.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Driver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Entity/Entity.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Filters.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Group.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/Memory+Sort.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Memory/MemoryDriver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Database+Preparation.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Migration.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/Preparation.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Preparation/PreparationError.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Action.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Comparison.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Filter.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Group.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Join.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Limit.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Query.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Scope.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Query/Sort.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Children.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Parent.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/RelationError.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Relations/Siblings.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Database+Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Creator.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Field.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema+Modifier.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Schema/Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL+Query.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL+Schema.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQL.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/SQL/SQLSerializer.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/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/shawngong/Centa/.build/debug/CLibreSSL.build/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/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/shawngong/Centa/.build/debug/Node.swiftmodule /Users/shawngong/Centa/.build/debug/PathIndexable.swiftmodule /Users/shawngong/Centa/.build/debug/Polymorphic.swiftmodule
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dmodule.d, _dmodule.d) * Documentation: https://dlang.org/phobos/dmd_dmodule.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmodule.d */ module dmd.dmodule; import core.stdc.stdio; import core.stdc.stdlib; import core.stdc.string; import dmd.aggregate; import dmd.arraytypes; import dmd.astcodegen; import dmd.gluelayer; import dmd.dimport; import dmd.dmacro; import dmd.doc; import dmd.dscope; import dmd.dsymbol; import dmd.dsymbolsem; import dmd.errors; import dmd.expression; import dmd.globals; import dmd.id; import dmd.identifier; import dmd.parse; import dmd.root.file; import dmd.root.filename; import dmd.root.outbuffer; import dmd.root.port; import dmd.semantic2; import dmd.semantic3; import dmd.target; import dmd.visitor; version(Windows) { extern (C) char* getcwd(char* buffer, size_t maxlen); } else { import core.sys.posix.unistd : getcwd; } /* =========================== ===================== */ /******************************************** * Look for the source file if it's different from filename. * Look for .di, .d, directory, and along global.path. * Does not open the file. * Input: * filename as supplied by the user * global.path * Returns: * NULL if it's not different from filename. */ private const(char)* lookForSourceFile(const(char)* filename) { /* Search along global.path for .di file, then .d file. */ const(char)* sdi = FileName.forceExt(filename, global.hdr_ext); if (FileName.exists(sdi) == 1) return sdi; const(char)* sd = FileName.forceExt(filename, global.mars_ext); if (FileName.exists(sd) == 1) return sd; if (FileName.exists(filename) == 2) { /* The filename exists and it's a directory. * Therefore, the result should be: filename/package.d * iff filename/package.d is a file */ const(char)* ni = FileName.combine(filename, "package.di"); if (FileName.exists(ni) == 1) return ni; FileName.free(ni); const(char)* n = FileName.combine(filename, "package.d"); if (FileName.exists(n) == 1) return n; FileName.free(n); } if (FileName.absolute(filename)) return null; if (!global.path) return null; for (size_t i = 0; i < global.path.dim; i++) { const(char)* p = (*global.path)[i]; const(char)* n = FileName.combine(p, sdi); if (FileName.exists(n) == 1) { return n; } FileName.free(n); n = FileName.combine(p, sd); if (FileName.exists(n) == 1) { return n; } FileName.free(n); const(char)* b = FileName.removeExt(filename); n = FileName.combine(p, b); FileName.free(b); if (FileName.exists(n) == 2) { const(char)* n2i = FileName.combine(n, "package.di"); if (FileName.exists(n2i) == 1) return n2i; FileName.free(n2i); const(char)* n2 = FileName.combine(n, "package.d"); if (FileName.exists(n2) == 1) { return n2; } FileName.free(n2); } FileName.free(n); } return null; } // function used to call semantic3 on a module's dependencies void semantic3OnDependencies(Module m) { if (!m) return; if (m.semanticRun > PASS.semantic3) return; m.semantic3(null); foreach (i; 1 .. m.aimports.dim) semantic3OnDependencies(m.aimports[i]); } enum PKG : int { unknown, // not yet determined whether it's a package.d or not module_, // already determined that's an actual package.d package_, // already determined that's an actual package } /*********************************************************** */ extern (C++) class Package : ScopeDsymbol { PKG isPkgMod; uint tag; // auto incremented tag, used to mask package tree in scopes Module mod; // !=null if isPkgMod == PKG.module_ final extern (D) this(Identifier ident) { super(ident); this.isPkgMod = PKG.unknown; __gshared uint packageTag; this.tag = packageTag++; } override const(char)* kind() const { return "package"; } /**************************************************** * Input: * packages[] the pkg1.pkg2 of pkg1.pkg2.mod * Returns: * the symbol table that mod should be inserted into * Output: * *pparent the rightmost package, i.e. pkg2, or NULL if no packages * *ppkg the leftmost package, i.e. pkg1, or NULL if no packages */ static DsymbolTable resolve(Identifiers* packages, Dsymbol* pparent, Package* ppkg) { DsymbolTable dst = Module.modules; Dsymbol parent = null; //printf("Package::resolve()\n"); if (ppkg) *ppkg = null; if (packages) { for (size_t i = 0; i < packages.dim; i++) { Identifier pid = (*packages)[i]; Package pkg; Dsymbol p = dst.lookup(pid); if (!p) { pkg = new Package(pid); dst.insert(pkg); pkg.parent = parent; pkg.symtab = new DsymbolTable(); } else { pkg = p.isPackage(); assert(pkg); // It might already be a module, not a package, but that needs // to be checked at a higher level, where a nice error message // can be generated. // dot net needs modules and packages with same name // But we still need a symbol table for it if (!pkg.symtab) pkg.symtab = new DsymbolTable(); } parent = pkg; dst = pkg.symtab; if (ppkg && !*ppkg) *ppkg = pkg; if (pkg.isModule()) { // Return the module so that a nice error message can be generated if (ppkg) *ppkg = cast(Package)p; break; } } } if (pparent) *pparent = parent; return dst; } override final inout(Package) isPackage() inout { return this; } /** * Checks if pkg is a sub-package of this * * For example, if this qualifies to 'a1.a2' and pkg - to 'a1.a2.a3', * this function returns 'true'. If it is other way around or qualified * package paths conflict function returns 'false'. * * Params: * pkg = possible subpackage * * Returns: * see description */ final bool isAncestorPackageOf(const Package pkg) const { if (this == pkg) return true; if (!pkg || !pkg.parent) return false; return isAncestorPackageOf(pkg.parent.isPackage()); } override Dsymbol search(const ref Loc loc, Identifier ident, int flags = SearchLocalsOnly) { //printf("%s Package.search('%s', flags = x%x)\n", toChars(), ident.toChars(), flags); flags &= ~SearchLocalsOnly; // searching an import is always transitive if (!isModule() && mod) { // Prefer full package name. Dsymbol s = symtab ? symtab.lookup(ident) : null; if (s) return s; //printf("[%s] through pkdmod: %s\n", loc.toChars(), toChars()); return mod.search(loc, ident, flags); } return ScopeDsymbol.search(loc, ident, flags); } override void accept(Visitor v) { v.visit(this); } final Module isPackageMod() { if (isPkgMod == PKG.module_) { return mod; } return null; } } /*********************************************************** */ extern (C++) final class Module : Package { extern (C++) static __gshared Module rootModule; extern (C++) static __gshared DsymbolTable modules; // symbol table of all modules extern (C++) static __gshared Modules amodules; // array of all modules extern (C++) static __gshared Dsymbols deferred; // deferred Dsymbol's needing semantic() run on them extern (C++) static __gshared Dsymbols deferred2; // deferred Dsymbol's needing semantic2() run on them extern (C++) static __gshared Dsymbols deferred3; // deferred Dsymbol's needing semantic3() run on them extern (C++) static __gshared uint dprogress; // progress resolving the deferred list /** * A callback function that is called once an imported module is * parsed. If the callback returns true, then it tells the * frontend that the driver intends on compiling the import. */ extern (C++) static __gshared bool function(Module mod) onImport; static void _init() { modules = new DsymbolTable(); } extern (C++) static __gshared AggregateDeclaration moduleinfo; const(char)* arg; // original argument name ModuleDeclaration* md; // if !=null, the contents of the ModuleDeclaration declaration File* srcfile; // input source file File* objfile; // output .obj file File* hdrfile; // 'header' file File* docfile; // output documentation file uint errors; // if any errors in file uint numlines; // number of lines in source file int isDocFile; // if it is a documentation input file, not D source bool isPackageFile; // if it is a package.d Strings contentImportedFiles; // array of files whose content was imported int needmoduleinfo; int selfimports; // 0: don't know, 1: does not, 2: does /************************************* * Return true if module imports itself. */ bool selfImports() { //printf("Module::selfImports() %s\n", toChars()); if (selfimports == 0) { for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; selfimports = imports(this) + 1; for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; } return selfimports == 2; } int rootimports; // 0: don't know, 1: does not, 2: does /************************************* * Return true if module imports root module. */ bool rootImports() { //printf("Module::rootImports() %s\n", toChars()); if (rootimports == 0) { for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; rootimports = 1; for (size_t i = 0; i < amodules.dim; ++i) { Module m = amodules[i]; if (m.isRoot() && imports(m)) { rootimports = 2; break; } } for (size_t i = 0; i < amodules.dim; i++) amodules[i].insearch = 0; } return rootimports == 2; } int insearch; Identifier searchCacheIdent; Dsymbol searchCacheSymbol; // cached value of search int searchCacheFlags; // cached flags /** * A root module is one that will be compiled all the way to * object code. This field holds the root module that caused * this module to be loaded. If this module is a root module, * then it will be set to `this`. This is used to determine * ownership of template instantiation. */ Module importedFrom; Dsymbols* decldefs; // top level declarations for this Module Modules aimports; // all imported modules uint debuglevel; // debug level Identifiers* debugids; // debug identifiers Identifiers* debugidsNot; // forward referenced debug identifiers uint versionlevel; // version level Identifiers* versionids; // version identifiers Identifiers* versionidsNot; // forward referenced version identifiers Macro* macrotable; // document comment macros Escape* escapetable; // document comment escapes size_t nameoffset; // offset of module name from start of ModuleInfo size_t namelen; // length of module name in characters extern (D) this(const(char)* filename, Identifier ident, int doDocComment, int doHdrGen) { super(ident); const(char)* srcfilename; //printf("Module::Module(filename = '%s', ident = '%s')\n", filename, ident.toChars()); this.arg = filename; srcfilename = FileName.defaultExt(filename, global.mars_ext); if (global.run_noext && global.params.run && !FileName.ext(filename) && FileName.exists(srcfilename) == 0 && FileName.exists(filename) == 1) { FileName.free(srcfilename); srcfilename = FileName.removeExt(filename); // just does a mem.strdup(filename) } else if (!FileName.equalsExt(srcfilename, global.mars_ext) && !FileName.equalsExt(srcfilename, global.hdr_ext) && !FileName.equalsExt(srcfilename, "dd")) { error("source file name '%s' must have .%s extension", srcfilename, global.mars_ext); fatal(); } srcfile = new File(srcfilename); objfile = setOutfile(global.params.objname, global.params.objdir, filename, global.obj_ext); if (doDocComment) setDocfile(); if (doHdrGen) hdrfile = setOutfile(global.params.hdrname, global.params.hdrdir, arg, global.hdr_ext); //objfile = new File(objfilename); } static Module create(const(char)* filename, Identifier ident, int doDocComment, int doHdrGen) { return new Module(filename, ident, doDocComment, doHdrGen); } static Module load(Loc loc, Identifiers* packages, Identifier ident) { //printf("Module::load(ident = '%s')\n", ident.toChars()); // Build module filename by turning: // foo.bar.baz // into: // foo\bar\baz auto filename = ident.toChars(); if (packages && packages.dim) { OutBuffer buf; OutBuffer dotmods; auto ms = global.params.modFileAliasStrings; const msdim = ms ? ms.dim : 0; void checkModFileAlias(const(char)* p) { /* Check and replace the contents of buf[] with * an alias string from global.params.modFileAliasStrings[] */ dotmods.writestring(p); Lmain: for (size_t j = msdim; j--;) { const m = (*ms)[j]; const q = strchr(m, '='); assert(q); if (dotmods.offset == q - m && memcmp(dotmods.peekString(), m, q - m) == 0) { buf.reset(); auto qlen = strlen(q + 1); if (qlen && (q[qlen] == '/' || q[qlen] == '\\')) --qlen; // remove trailing separator buf.writestring(q[1 .. qlen + 1]); break Lmain; // last matching entry in ms[] wins } } dotmods.writeByte('.'); } for (size_t i = 0; i < packages.dim; i++) { Identifier pid = (*packages)[i]; const p = pid.toChars(); buf.writestring(p); if (msdim) checkModFileAlias(p); version (Windows) { buf.writeByte('\\'); } else { buf.writeByte('/'); } } buf.writestring(filename); if (msdim) checkModFileAlias(filename); buf.writeByte(0); filename = buf.extractData(); } auto m = new Module(filename, ident, 0, 0); m.loc = loc; /* Look for the source file */ const(char)* result = lookForSourceFile(filename); if (result) m.srcfile = new File(result); if (!m.read(loc)) return null; if (global.params.verbose) { OutBuffer buf; if (packages) { for (size_t i = 0; i < packages.dim; i++) { Identifier pid = (*packages)[i]; buf.writestring(pid.toChars()); buf.writeByte('.'); } } buf.printf("%s\t(%s)", ident.toChars(), m.srcfile.toChars()); message("import %s", buf.peekString()); } m = m.parse(); // Call onImport here because if the module is going to be compiled then we // need to determine it early because it affects semantic analysis. This is // being done after parsing the module so the full module name can be taken // from whatever was declared in the file. //!!!!!!!!!!!!!!!!!!!!!!! // Workaround for bug in dmd version 2.068.2 platform Darwin_64_32. // This is the compiler version that the autotester uses, and this code // has been carefully crafted using trial and error to prevent a seg fault // bug that occurs with that version of the compiler. Note, this segfault // does not occur on the next version of dmd, namely, version 2.069.0. If // the autotester upgrades to that version, then this workaround can be removed. //!!!!!!!!!!!!!!!!!!!!!!! version(OSX) { if (!m.isRoot() && onImport) { auto onImportResult = onImport(m); if(onImportResult) { m.importedFrom = m; assert(m.isRoot()); } } } else { if (!m.isRoot() && onImport && onImport(m)) { m.importedFrom = m; assert(m.isRoot()); } } Target.loadModule(m); return m; } override const(char)* kind() const { return "module"; } /********************************************* * Combines things into output file name for .html and .di files. * Input: * name Command line name given for the file, NULL if none * dir Command line directory given for the file, NULL if none * arg Name of the source file * ext File name extension to use if 'name' is NULL * global.params.preservePaths get output path from arg * srcfile Input file - output file name must not match input file */ File* setOutfile(const(char)* name, const(char)* dir, const(char)* arg, const(char)* ext) { const(char)* docfilename; if (name) { docfilename = name; } else { const(char)* argdoc; OutBuffer buf; if (!strcmp(arg, "__stdin.d")) { version (Posix) import core.sys.posix.unistd : getpid; else version (Windows) import core.sys.windows.windows : getpid = GetCurrentProcessId; buf.printf("__stdin_%d.d", getpid()); arg = buf.peekString(); } if (global.params.preservePaths) argdoc = arg; else argdoc = FileName.name(arg); // If argdoc doesn't have an absolute path, make it relative to dir if (!FileName.absolute(argdoc)) { //FileName::ensurePathExists(dir); argdoc = FileName.combine(dir, argdoc); } docfilename = FileName.forceExt(argdoc, ext); } if (FileName.equals(docfilename, srcfile.name.str)) { error("source file and output file have same name '%s'", srcfile.name.str); fatal(); } return new File(docfilename); } void setDocfile() { docfile = setOutfile(global.params.docname, global.params.docdir, arg, global.doc_ext); } // read file, returns 'true' if succeed, 'false' otherwise. bool read(Loc loc) { //printf("Module::read('%s') file '%s'\n", toChars(), srcfile.toChars()); if (srcfile.read()) { if (!strcmp(srcfile.toChars(), "object.d")) { .error(loc, "cannot find source code for runtime library file 'object.d'"); errorSupplemental(loc, "dmd might not be correctly installed. Run 'dmd -man' for installation instructions."); errorSupplemental(loc, "config file: %s", FileName.canonicalName(global.inifilename)); } else { // if module is not named 'package' but we're trying to read 'package.d', we're looking for a package module bool isPackageMod = (strcmp(toChars(), "package") != 0) && (strcmp(srcfile.name.name(), "package.d") == 0 || (strcmp(srcfile.name.name(), "package.di") == 0)); if (isPackageMod) .error(loc, "importing package '%s' requires a 'package.d' file which cannot be found in '%s'", toChars(), srcfile.toChars()); else error(loc, "is in file '%s' which cannot be read", srcfile.toChars()); } if (!global.gag) { /* Print path */ if (global.path) { for (size_t i = 0; i < global.path.dim; i++) { const(char)* p = (*global.path)[i]; fprintf(stderr, "import path[%llu] = %s\n", cast(ulong)i, p); } } else fprintf(stderr, "Specify path to file '%s' with -I switch\n", srcfile.toChars()); fatal(); } return false; } return true; } // syntactic parse Module parse() { //printf("Module::parse(srcfile='%s') this=%p\n", srcfile.name.toChars(), this); const(char)* srcname = srcfile.name.toChars(); //printf("Module::parse(srcname = '%s')\n", srcname); isPackageFile = (strcmp(srcfile.name.name(), "package.d") == 0 || strcmp(srcfile.name.name(), "package.di") == 0); char* buf = cast(char*)srcfile.buffer; size_t buflen = srcfile.len; if (buflen >= 2) { /* Convert all non-UTF-8 formats to UTF-8. * BOM : http://www.unicode.org/faq/utf_bom.html * 00 00 FE FF UTF-32BE, big-endian * FF FE 00 00 UTF-32LE, little-endian * FE FF UTF-16BE, big-endian * FF FE UTF-16LE, little-endian * EF BB BF UTF-8 */ uint le; uint bom = 1; // assume there's a BOM if (buf[0] == 0xFF && buf[1] == 0xFE) { if (buflen >= 4 && buf[2] == 0 && buf[3] == 0) { // UTF-32LE le = 1; Lutf32: OutBuffer dbuf; uint* pu = cast(uint*)buf; uint* pumax = &pu[buflen / 4]; if (buflen & 3) { error("odd length of UTF-32 char source %u", buflen); fatal(); } dbuf.reserve(buflen / 4); for (pu += bom; pu < pumax; pu++) { uint u; u = le ? Port.readlongLE(pu) : Port.readlongBE(pu); if (u & ~0x7F) { if (u > 0x10FFFF) { error("UTF-32 value %08x greater than 0x10FFFF", u); fatal(); } dbuf.writeUTF8(u); } else dbuf.writeByte(u); } dbuf.writeByte(0); // add 0 as sentinel for scanner buflen = dbuf.offset - 1; // don't include sentinel in count buf = dbuf.extractData(); } else { // UTF-16LE (X86) // Convert it to UTF-8 le = 1; Lutf16: OutBuffer dbuf; ushort* pu = cast(ushort*)buf; ushort* pumax = &pu[buflen / 2]; if (buflen & 1) { error("odd length of UTF-16 char source %u", buflen); fatal(); } dbuf.reserve(buflen / 2); for (pu += bom; pu < pumax; pu++) { uint u; u = le ? Port.readwordLE(pu) : Port.readwordBE(pu); if (u & ~0x7F) { if (u >= 0xD800 && u <= 0xDBFF) { uint u2; if (++pu > pumax) { error("surrogate UTF-16 high value %04x at end of file", u); fatal(); } u2 = le ? Port.readwordLE(pu) : Port.readwordBE(pu); if (u2 < 0xDC00 || u2 > 0xDFFF) { error("surrogate UTF-16 low value %04x out of range", u2); fatal(); } u = (u - 0xD7C0) << 10; u |= (u2 - 0xDC00); } else if (u >= 0xDC00 && u <= 0xDFFF) { error("unpaired surrogate UTF-16 value %04x", u); fatal(); } else if (u == 0xFFFE || u == 0xFFFF) { error("illegal UTF-16 value %04x", u); fatal(); } dbuf.writeUTF8(u); } else dbuf.writeByte(u); } dbuf.writeByte(0); // add 0 as sentinel for scanner buflen = dbuf.offset - 1; // don't include sentinel in count buf = dbuf.extractData(); } } else if (buf[0] == 0xFE && buf[1] == 0xFF) { // UTF-16BE le = 0; goto Lutf16; } else if (buflen >= 4 && buf[0] == 0 && buf[1] == 0 && buf[2] == 0xFE && buf[3] == 0xFF) { // UTF-32BE le = 0; goto Lutf32; } else if (buflen >= 3 && buf[0] == 0xEF && buf[1] == 0xBB && buf[2] == 0xBF) { // UTF-8 buf += 3; buflen -= 3; } else { /* There is no BOM. Make use of Arcane Jill's insight that * the first char of D source must be ASCII to * figure out the encoding. */ bom = 0; if (buflen >= 4) { if (buf[1] == 0 && buf[2] == 0 && buf[3] == 0) { // UTF-32LE le = 1; goto Lutf32; } else if (buf[0] == 0 && buf[1] == 0 && buf[2] == 0) { // UTF-32BE le = 0; goto Lutf32; } } if (buflen >= 2) { if (buf[1] == 0) { // UTF-16LE le = 1; goto Lutf16; } else if (buf[0] == 0) { // UTF-16BE le = 0; goto Lutf16; } } // It's UTF-8 if (buf[0] >= 0x80) { error("source file must start with BOM or ASCII character, not \\x%02X", buf[0]); fatal(); } } } /* If it starts with the string "Ddoc", then it's a documentation * source file. */ if (buflen >= 4 && memcmp(buf, cast(char*)"Ddoc", 4) == 0) { comment = buf + 4; isDocFile = 1; if (!docfile) setDocfile(); return this; } /* If it has the extension ".dd", it is also a documentation * source file. Documentation source files may begin with "Ddoc" * but do not have to if they have the .dd extension. * https://issues.dlang.org/show_bug.cgi?id=15465 */ if (FileName.equalsExt(arg, "dd")) { comment = buf; // the optional Ddoc, if present, is handled above. isDocFile = 1; if (!docfile) setDocfile(); return this; } { scope p = new Parser!ASTCodegen(this, buf[0 .. buflen], docfile !is null); p.nextToken(); members = p.parseModule(); md = p.md; numlines = p.scanloc.linnum; if (p.errors) ++global.errors; } if (srcfile._ref == 0) .free(srcfile.buffer); srcfile.buffer = null; srcfile.len = 0; /* The symbol table into which the module is to be inserted. */ DsymbolTable dst; if (md) { /* A ModuleDeclaration, md, was provided. * The ModuleDeclaration sets the packages this module appears in, and * the name of this module. */ this.ident = md.id; Package ppack = null; dst = Package.resolve(md.packages, &this.parent, &ppack); assert(dst); Module m = ppack ? ppack.isModule() : null; if (m && (strcmp(m.srcfile.name.name(), "package.d") != 0 && strcmp(m.srcfile.name.name(), "package.di") != 0)) { .error(md.loc, "package name '%s' conflicts with usage as a module name in file %s", ppack.toPrettyChars(), m.srcfile.toChars()); } } else { /* The name of the module is set to the source file name. * There are no packages. */ dst = modules; // and so this module goes into global module symbol table /* Check to see if module name is a valid identifier */ if (!Identifier.isValidIdentifier(this.ident.toChars())) error("has non-identifier characters in filename, use module declaration instead"); } // Add internal used functions in 'object' module members. if (!parent && ident == Id.object) { immutable code_ArrayEq = "bool _ArrayEq(T1, T2)(T1[] a, T2[] b) {\n if (a.length != b.length) return false;\n foreach (size_t i; 0 .. a.length) { if (a[i] != b[i]) return false; }\n return true; }\n"; immutable code_ArrayPostblit = "void _ArrayPostblit(T)(T[] a) { foreach (ref T e; a) e.__xpostblit(); }\n"; immutable code_ArrayDtor = "void _ArrayDtor(T)(T[] a) { foreach_reverse (ref T e; a) e.__xdtor(); }\n"; Identifier arreq = Id._ArrayEq; for (size_t i = 0; i < members.dim; i++) { Dsymbol sx = (*members)[i]; if (!sx) continue; if (arreq && sx.ident == arreq) arreq = null; } if (arreq) { scope p = new Parser!ASTCodegen(loc, this, code_ArrayEq, false); p.nextToken(); members.append(p.parseDeclDefs(0)); } { scope p = new Parser!ASTCodegen(loc, this, code_ArrayPostblit, false); p.nextToken(); members.append(p.parseDeclDefs(0)); } { scope p = new Parser!ASTCodegen(loc, this, code_ArrayDtor, false); p.nextToken(); members.append(p.parseDeclDefs(0)); } } // Insert module into the symbol table Dsymbol s = this; if (isPackageFile) { /* If the source tree is as follows: * pkg/ * +- package.d * +- common.d * the 'pkg' will be incorporated to the internal package tree in two ways: * import pkg; * and: * import pkg.common; * * If both are used in one compilation, 'pkg' as a module (== pkg/package.d) * and a package name 'pkg' will conflict each other. * * To avoid the conflict: * 1. If preceding package name insertion had occurred by Package::resolve, * later package.d loading will change Package::isPkgMod to PKG.module_ and set Package::mod. * 2. Otherwise, 'package.d' wrapped by 'Package' is inserted to the internal tree in here. */ auto p = new Package(ident); p.parent = this.parent; p.isPkgMod = PKG.module_; p.mod = this; p.tag = this.tag; // reuse the same package tag p.symtab = new DsymbolTable(); s = p; } if (!dst.insert(s)) { /* It conflicts with a name that is already in the symbol table. * Figure out what went wrong, and issue error message. */ Dsymbol prev = dst.lookup(ident); assert(prev); if (Module mprev = prev.isModule()) { if (FileName.compare(srcname, mprev.srcfile.toChars()) != 0) error(loc, "from file %s conflicts with another module %s from file %s", srcname, mprev.toChars(), mprev.srcfile.toChars()); else if (isRoot() && mprev.isRoot()) error(loc, "from file %s is specified twice on the command line", srcname); else error(loc, "from file %s must be imported with 'import %s;'", srcname, toPrettyChars()); // https://issues.dlang.org/show_bug.cgi?id=14446 // Return previously parsed module to avoid AST duplication ICE. return mprev; } else if (Package pkg = prev.isPackage()) { if (pkg.isPkgMod == PKG.unknown && isPackageFile) { /* If the previous inserted Package is not yet determined as package.d, * link it to the actual module. */ pkg.isPkgMod = PKG.module_; pkg.mod = this; pkg.tag = this.tag; // reuse the same package tag amodules.push(this); // Add to global array of all modules } else error(md ? md.loc : loc, "from file %s conflicts with package name %s", srcname, pkg.toChars()); } else assert(global.errors); } else { // Add to global array of all modules amodules.push(this); } return this; } override void importAll(Scope* prevsc) { //printf("+Module::importAll(this = %p, '%s'): parent = %p\n", this, toChars(), parent); if (_scope) return; // already done if (isDocFile) { error("is a Ddoc file, cannot import it"); return; } if (md && md.msg) { if (StringExp se = md.msg.toStringExp()) md.msg = se; else md.msg.error("string expected, not '%s'", md.msg.toChars()); } /* Note that modules get their own scope, from scratch. * This is so regardless of where in the syntax a module * gets imported, it is unaffected by context. * Ignore prevsc. */ Scope* sc = Scope.createGlobal(this); // create root scope // Add import of "object", even for the "object" module. // If it isn't there, some compiler rewrites, like // classinst == classinst -> .object.opEquals(classinst, classinst) // would fail inside object.d. if (members.dim == 0 || (*members)[0].ident != Id.object) { auto im = new Import(Loc.initial, null, Id.object, null, 0); members.shift(im); } if (!symtab) { // Add all symbols into module's symbol table symtab = new DsymbolTable(); for (size_t i = 0; i < members.dim; i++) { Dsymbol s = (*members)[i]; s.addMember(sc, sc.scopesym); } } // anything else should be run after addMember, so version/debug symbols are defined /* Set scope for the symbols so that if we forward reference * a symbol, it can possibly be resolved on the spot. * If this works out well, it can be extended to all modules * before any semantic() on any of them. */ setScope(sc); // remember module scope for semantic for (size_t i = 0; i < members.dim; i++) { Dsymbol s = (*members)[i]; s.setScope(sc); } for (size_t i = 0; i < members.dim; i++) { Dsymbol s = (*members)[i]; s.importAll(sc); } sc = sc.pop(); sc.pop(); // 2 pops because Scope::createGlobal() created 2 } /********************************** * Determine if we need to generate an instance of ModuleInfo * for this Module. */ int needModuleInfo() { //printf("needModuleInfo() %s, %d, %d\n", toChars(), needmoduleinfo, global.params.cov); return needmoduleinfo || global.params.cov; } override Dsymbol search(const ref Loc loc, Identifier ident, int flags = SearchLocalsOnly) { /* Since modules can be circularly referenced, * need to stop infinite recursive searches. * This is done with the cache. */ //printf("%s Module.search('%s', flags = x%x) insearch = %d\n", toChars(), ident.toChars(), flags, insearch); if (insearch) return null; /* Qualified module searches always search their imports, * even if SearchLocalsOnly */ if (!(flags & SearchUnqualifiedModule)) flags &= ~(SearchUnqualifiedModule | SearchLocalsOnly); if (searchCacheIdent == ident && searchCacheFlags == flags) { //printf("%s Module::search('%s', flags = %d) insearch = %d searchCacheSymbol = %s\n", // toChars(), ident.toChars(), flags, insearch, searchCacheSymbol ? searchCacheSymbol.toChars() : "null"); return searchCacheSymbol; } uint errors = global.errors; insearch = 1; Dsymbol s = ScopeDsymbol.search(loc, ident, flags); insearch = 0; if (errors == global.errors) { // https://issues.dlang.org/show_bug.cgi?id=10752 // Can cache the result only when it does not cause // access error so the side-effect should be reproduced in later search. searchCacheIdent = ident; searchCacheSymbol = s; searchCacheFlags = flags; } return s; } override bool isPackageAccessible(Package p, Prot protection, int flags = 0) { if (insearch) // don't follow import cycles return false; insearch = true; scope (exit) insearch = false; if (flags & IgnorePrivateImports) protection = Prot(Prot.Kind.public_); // only consider public imports return super.isPackageAccessible(p, protection); } override Dsymbol symtabInsert(Dsymbol s) { searchCacheIdent = null; // symbol is inserted, so invalidate cache return Package.symtabInsert(s); } void deleteObjFile() { if (global.params.obj) objfile.remove(); if (docfile) docfile.remove(); } /******************************************* * Can't run semantic on s now, try again later. */ static void addDeferredSemantic(Dsymbol s) { //printf("Module::addDeferredSemantic('%s')\n", s.toChars()); deferred.push(s); } static void addDeferredSemantic2(Dsymbol s) { //printf("Module::addDeferredSemantic2('%s')\n", s.toChars()); deferred2.push(s); } static void addDeferredSemantic3(Dsymbol s) { //printf("Module::addDeferredSemantic3('%s')\n", s.toChars()); deferred3.push(s); } /****************************************** * Run semantic() on deferred symbols. */ static void runDeferredSemantic() { if (dprogress == 0) return; static __gshared int nested; if (nested) return; //if (deferred.dim) printf("+Module::runDeferredSemantic(), len = %d\n", deferred.dim); nested++; size_t len; do { dprogress = 0; len = deferred.dim; if (!len) break; Dsymbol* todo; Dsymbol* todoalloc = null; Dsymbol tmp; if (len == 1) { todo = &tmp; } else { todo = cast(Dsymbol*)malloc(len * Dsymbol.sizeof); assert(todo); todoalloc = todo; } memcpy(todo, deferred.tdata(), len * Dsymbol.sizeof); deferred.setDim(0); for (size_t i = 0; i < len; i++) { Dsymbol s = todo[i]; s.dsymbolSemantic(null); //printf("deferred: %s, parent = %s\n", s.toChars(), s.parent.toChars()); } //printf("\tdeferred.dim = %d, len = %d, dprogress = %d\n", deferred.dim, len, dprogress); if (todoalloc) free(todoalloc); } while (deferred.dim < len || dprogress); // while making progress nested--; //printf("-Module::runDeferredSemantic(), len = %d\n", deferred.dim); } static void runDeferredSemantic2() { Module.runDeferredSemantic(); Dsymbols* a = &Module.deferred2; for (size_t i = 0; i < a.dim; i++) { Dsymbol s = (*a)[i]; //printf("[%d] %s semantic2a\n", i, s.toPrettyChars()); s.semantic2(null); if (global.errors) break; } a.setDim(0); } static void runDeferredSemantic3() { Module.runDeferredSemantic2(); Dsymbols* a = &Module.deferred3; for (size_t i = 0; i < a.dim; i++) { Dsymbol s = (*a)[i]; //printf("[%d] %s semantic3a\n", i, s.toPrettyChars()); s.semantic3(null); if (global.errors) break; } a.setDim(0); } static void clearCache() { for (size_t i = 0; i < amodules.dim; i++) { Module m = amodules[i]; m.searchCacheIdent = null; } } /************************************ * Recursively look at every module this module imports, * return true if it imports m. * Can be used to detect circular imports. */ int imports(Module m) { //printf("%s Module::imports(%s)\n", toChars(), m.toChars()); version (none) { for (size_t i = 0; i < aimports.dim; i++) { Module mi = cast(Module)aimports.data[i]; printf("\t[%d] %s\n", i, mi.toChars()); } } for (size_t i = 0; i < aimports.dim; i++) { Module mi = aimports[i]; if (mi == m) return true; if (!mi.insearch) { mi.insearch = 1; int r = mi.imports(m); if (r) return r; } } return false; } bool isRoot() { return this.importedFrom == this; } // true if the module source file is directly // listed in command line. bool isCoreModule(Identifier ident) { return this.ident == ident && parent && parent.ident == Id.core && !parent.parent; } // Back end int doppelganger; // sub-module Symbol* cov; // private uint[] __coverage; uint* covb; // bit array of valid code line numbers Symbol* sictor; // module order independent constructor Symbol* sctor; // module constructor Symbol* sdtor; // module destructor Symbol* ssharedctor; // module shared constructor Symbol* sshareddtor; // module shared destructor Symbol* stest; // module unit test Symbol* sfilename; // symbol for filename override inout(Module) isModule() inout { return this; } override void accept(Visitor v) { v.visit(this); } /*********************************************** * Writes this module's fully-qualified name to buf * Params: * buf = The buffer to write to */ void fullyQualifiedName(ref OutBuffer buf) { buf.writestring(ident.toString()); for (auto package_ = parent; package_ !is null; package_ = package_.parent) { buf.prependstring("."); buf.prependstring(package_.ident.toChars()); } } } /*********************************************************** */ struct ModuleDeclaration { Loc loc; Identifier id; Identifiers* packages; // array of Identifier's representing packages bool isdeprecated; // if it is a deprecated module Expression msg; extern (D) this(Loc loc, Identifiers* packages, Identifier id, Expression msg, bool isdeprecated) { this.loc = loc; this.packages = packages; this.id = id; this.msg = msg; this.isdeprecated = isdeprecated; } extern (C++) const(char)* toChars() { OutBuffer buf; if (packages && packages.dim) { for (size_t i = 0; i < packages.dim; i++) { Identifier pid = (*packages)[i]; buf.writestring(pid.toChars()); buf.writeByte('.'); } } buf.writestring(id.toChars()); return buf.extractString(); } }
D
/Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.o : /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/AFError.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Alamofire.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/MultipartFormData.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Notifications.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ParameterEncoding.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Request.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Response.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ResponseSerialization.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Result.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/SessionDelegate.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/SessionManager.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/TaskDelegate.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Timeline.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire~partial.swiftmodule : /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/AFError.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Alamofire.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/MultipartFormData.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Notifications.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ParameterEncoding.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Request.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Response.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ResponseSerialization.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Result.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/SessionDelegate.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/SessionManager.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/TaskDelegate.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Timeline.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire~partial.swiftdoc : /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/AFError.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Alamofire.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/MultipartFormData.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Notifications.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ParameterEncoding.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Request.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Response.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ResponseSerialization.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Result.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/ServerTrustPolicy.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/SessionDelegate.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/SessionManager.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/TaskDelegate.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Timeline.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/Alamofire/Source/Validation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a123456/Desktop/React/WeiBoNews/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
/Users/trietnguyen/Documents/Blockchain Development/NEAR SEPTEMBER/NEAR-Hackathon/smart-cert/contract/target/debug/build/syn-a003b890383149cf/build_script_build-a003b890383149cf: /Users/trietnguyen/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.57/build.rs /Users/trietnguyen/Documents/Blockchain Development/NEAR SEPTEMBER/NEAR-Hackathon/smart-cert/contract/target/debug/build/syn-a003b890383149cf/build_script_build-a003b890383149cf.d: /Users/trietnguyen/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.57/build.rs /Users/trietnguyen/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.57/build.rs:
D
import common; import std.algorithm; import std.array; import std.conv; import std.container; import std.file; import std.stdio; import std.string; import std.typecons; alias RedBlackTree!(Tuple!(ulong, ulong))[ulong] AlignmentSet; auto GetOneWayAlignments(string probsFileName, string foreignCorpusFileName, string nativeCorpusFileName, bool reverse) { auto alignmentFileName = probsFileName ~ ".alignments"; if (!exists(alignmentFileName)) { TProbs tProbs; QProbs qProbs; LoadProbs(&tProbs, &qProbs, probsFileName); auto foreignCorpus = ParseCorpus(foreignCorpusFileName, false); auto nativeCorpus = ParseCorpus(nativeCorpusFileName, true); assert(foreignCorpus.length == nativeCorpus.length); auto f = File(alignmentFileName, "w"); foreach(i; 0 .. foreignCorpus.length) { auto foreignLength = foreignCorpus[i].length; auto nativeLength = nativeCorpus[i].length; foreach(foreignIdx, foreignWord; foreignCorpus[i]) { auto bestProb = qProbs[foreignLength][nativeLength][foreignIdx][0] * tProbs[foreignWord][nullWord]; ulong bestNativeIdx = 0; foreach(nativeIdx, nativeWord; nativeCorpus[i][1..$]) { auto newProb = qProbs[foreignLength][nativeLength][foreignIdx][nativeIdx + 1] * tProbs[foreignWord][nativeWord]; if (newProb > bestProb) { bestProb = newProb; bestNativeIdx = nativeIdx + 1; } } if (bestNativeIdx > 0) { auto num1 = reverse ? foreignIdx + 1 : bestNativeIdx; auto num2 = reverse ? bestNativeIdx : foreignIdx + 1; f.writefln("%s %s %s", i + 1, num1, num2); } } } } AlignmentSet result; foreach(line; File(alignmentFileName).byLine()) { auto tokens = cast(string[])(line.dup.split()); auto sentenceIdx = to!ulong(tokens[0]); auto nativeIdx = to!ulong(tokens[1]); auto foreignIdx = to!ulong(tokens[2]); auto tuples = sentenceIdx in result; if (sentenceIdx !in result) { result[sentenceIdx] = new RedBlackTree!(Tuple!(ulong, ulong))(); } result[sentenceIdx].insert(Tuple!(ulong, ulong)(nativeIdx, foreignIdx)); } return result; } void main(string[] args) { stderr.writeln("Computing SP -> EN alignments"); auto spEnAlignments = GetOneWayAlignments(args[3], args[1], args[2], false); stderr.writeln("Computing EN -> SP alignments"); auto enSpAlignments = GetOneWayAlignments(args[4], args[2], args[1], true); foreach(sentenceIdx; 1 .. spEnAlignments.length + 1) { auto spEn = spEnAlignments[sentenceIdx]; auto enSp = enSpAlignments[sentenceIdx]; auto answer = new RedBlackTree!(Tuple!(ulong, ulong))(array(setIntersection(spEn[], enSp[]))); auto candidates = new RedBlackTree!(Tuple!(ulong, ulong))(array(setUnion(spEn[], enSp[]))); auto added = true; auto takenSpIndexes = new RedBlackTree!(ulong)(); auto takenEnIndexes = new RedBlackTree!(ulong)(); foreach(t; answer) { takenEnIndexes.insert(t[0]); takenSpIndexes.insert(t[1]); } while (added) { added = false; foreach(cand; candidates) { auto en = cand[0]; auto sp = cand[1]; if (en in takenEnIndexes || sp in takenSpIndexes) { continue; } if (Tuple!(ulong, ulong)(en - 1, sp) in answer || Tuple!(ulong, ulong)(en + 1, sp) in answer || Tuple!(ulong, ulong)(en, sp - 1) in answer || Tuple!(ulong, ulong)(en, sp + 1) in answer) { answer.insert(Tuple!(ulong, ulong)(en, sp)); takenEnIndexes.insert(en); takenSpIndexes.insert(sp); } } } foreach(ans; answer) { writefln("%s %s %s", sentenceIdx, ans[0], ans[1]); } } }
D
module hunt.http.Exceptions; import hunt.http.WebSocketStatusCode; import hunt.Exceptions; /** * */ class SessionInvalidException : RuntimeException { mixin BasicExceptionCtors; } /** * */ class SessionNotFoundException : RuntimeException { mixin BasicExceptionCtors; } class WebSocketException : RuntimeException { mixin BasicExceptionCtors; } class CloseException : WebSocketException { private int statusCode; this(int closeCode, string message, size_t line = __LINE__, string file = __FILE__) { super(message); this.statusCode = closeCode; } this(int closeCode, string message, Throwable cause, size_t line = __LINE__, string file = __FILE__) { super(message, cause); this.statusCode = closeCode; } this(int closeCode, Throwable cause, size_t line = __LINE__, string file = __FILE__) { super(cause); this.statusCode = closeCode; } int getStatusCode() { return statusCode; } } class BadPayloadException : CloseException { this(string message, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.BAD_PAYLOAD, message, line, file); } this(string message, Throwable t, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.BAD_PAYLOAD, message, t, line, file); } this(Throwable t, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.BAD_PAYLOAD, t, line, file); } } class MessageTooLargeException : CloseException { this(string message, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.MESSAGE_TOO_LARGE, message, line, file); } this(string message, Throwable t, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.MESSAGE_TOO_LARGE, message, t, line, file); } this(Throwable t, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.MESSAGE_TOO_LARGE, t, line, file); } } class ProtocolException : CloseException { this(string message, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.PROTOCOL, message, line, file); } this(string message, Throwable t, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.PROTOCOL, message, t, line, file); } this(Throwable t, size_t line = __LINE__, string file = __FILE__) { super(StatusCode.PROTOCOL, t, line, file); } }
D
Long: key-type Arg: <type> Help: Private key file type (DER/PEM/ENG) Protocols: TLS Category: tls Example: --key-type DER --key here $URL Added: 7.9.3 See-also: key --- Private key file type. Specify which type your --key provided private key is. DER, PEM, and ENG are supported. If not specified, PEM is assumed. If this option is used several times, the last one will be used.
D
a drug that reduces excitability and calms a person tending to soothe or tranquilize
D
module dxx.plugin.toolexample.examplecmd; class ExampleCommand { const CMD = "examplecmd"; }
D
United States civil rights leader whose college registration caused riots in traditionally segregated Mississippi (born in 1933) English novelist and poet (1828-1909)
D
module android.java.java.util.Locale_FilteringMode_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.java.lang.Enum_d_interface; import import0 = android.java.java.util.Locale_FilteringMode_d_interface; @JavaName("Locale$FilteringMode") final class Locale_FilteringMode : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import static import0.Locale_FilteringMode[] values(); @Import static import0.Locale_FilteringMode valueOf(string); @Import string name(); @Import int ordinal(); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import bool equals(IJavaObject); @Import int hashCode(); @Import int compareTo(import1.Enum); @Import import2.Class getDeclaringClass(); @Import static import1.Enum valueOf(import2.Class, string); @Import int compareTo(IJavaObject); @Import import2.Class getClass(); @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Ljava/util/Locale$FilteringMode;"; }
D
func void ReInit_Menu() { if(hero.hitchance[1]>=30) { Ico_1hst2="Ico_1h2Yes.tga"; } else { Ico_1hst2="Ico_1h2No.tga"; }; /**************************************/ if(hero.hitchance[1]>=60) { Ico_1hst3="Ico_1h3Yes.tga"; } else { Ico_1hst3="Ico_1h3No.tga"; }; /**************************************/ if(hero.hitchance[2]>=30) { Ico_2hst2="Ico_Axe.tga"; } else { Ico_2hst2="Ico_AxeSt2No.tga"; }; /**************************************/ if(hero.hitchance[2]>=60) { Ico_2hst3="AxeSt3yes.tga"; } else { Ico_2hst3="Ico_AxeSt3No.tga"; }; /**************************************/ if(hero.hitchance[3]>=30) { Ico_Bowst2="Ico_Bowst2yes.tga"; } else { Ico_Bowst2="Ico_Bowst2No.tga"; }; /**************************************/ if(hero.hitchance[3]>=60) { Ico_Bowst3="Ico_Bowst3yes.tga"; } else { Ico_Bowst3="Ico_Bowst3No.tga"; }; /**************************************/ if(hero.hitchance[4]>=30) { Ico_CrossBowSt2="Ico_CBst2Yes.tga"; } else { Ico_CrossBowSt2="Ico_CBst2No.tga"; }; /**************************************/ if(hero.hitchance[4]>=60) { Ico_CrossBowSt3="Ico_CBst3YEs.tga"; } else { Ico_CrossBowSt3="Ico_CBst3No.tga"; }; /**************************************/ if(Talent_Shield_Fight) { Ico_Shields="Ico_Shieldyes.tga"; } else { Ico_Shields="Ico_ShieldNo.tga"; }; /**************************************/ if(Talent_Dual_Fight) { Ico_Duals="Ico_2x2yes.tga"; } else { Ico_Duals="Ico_2x2NO.tga"; }; /**************************************/ if(Staff_Skill) { Ico_MagicStaffs="Ico_MagicStaffsYes"; }else{ Ico_MagicStaffs="Ico_MagicStaffsNo"; }; /**************************************/ if(!BreakSkill) { IMMUNE=-1; Ico_Break="Ico_BreakNO.tga"; } else { IMMUNE=50; Ico_Break="Ico_BreakYes.tga"; }; /**************************************/ if(!PenetrationSkill) { Ico_Penetration="Ico_PenetNo.tga"; } else { Ico_Penetration="Ico_PenetYes.tga"; }; /**************************************/ if(!HeroKnowOrcsWeapons) { Ico_OrcWeapons="Ico_OrcWeaponsNo.tga"; } else { Ico_OrcWeapons="Ico_OrcWeaponsYes.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_SNEAK) >=1) { Ico_Sneak="Ico_Sneak_Yes.tga"; } else { Ico_Sneak="Ico_Sneak_No.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_ACROBAT) >=1) { Ico_Barter="Ico_AcrobaticYes.tga"; } else { Ico_Barter="Ico_AcrobaticNo.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_PICKLOCK) >=1) { Ico_PickLock="Ico_LockPick_Yes.tga"; } else { Ico_PickLock="Ico_LockPick_No.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_PICKPOCKET) >=1) { Ico_PickPocket="Ico_PickPocket_Yes.tga"; } else { Ico_PickPocket="Ico_PickPocket_No.tga"; }; /************************************** if(Npc_GetTalentSkill(hero, NPC_TALENT_ACROBAT) >=1) { Ico_Shields="Ico_Shieldyes.tga"; } else { Ico_Shields="Ico_ShieldNo.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_SMITH) >=1) { Ico_Smith="Ico_Smith_Yes.tga"; } else { Ico_Smith="Ico_Smith_NO.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_ARMOR) >=1) { Ico_ArmorMaking="Ico_Armor_Yes.tga"; } else { Ico_ArmorMaking="Ico_Armor_No.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, PLAYER_TALENT_OREMASTER) >=1) { Ico_Minner="Ico_Minner_Yes.tga"; } else { Ico_Minner="Ico_Minner_No.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_MAGE) >=1) { Ico_MagicCircle="Ico_MagicCirclesYes.tga"; } else { Ico_MagicCircle="Ico_MagicCirclesNo.tga"; }; /**************************************/ if(Npc_GetTalentSkill(hero, NPC_TALENT_RUNES) >=1) { Ico_RuneMaker="Ico_RuneMakeYes.tga"; } else { Ico_RuneMaker="Ico_RuneMakeNo.tga"; }; /************************************** Kosturki xD if(Npc_GetTalentSkill(hero, NPC_TALENT_RUNES) >=1) { Ico_Shields="Ico_RuneMakeYes.tga"; } else { Ico_Shields="Ico_RuneMakeNo.tga"; }; /**************************************/ if(PLAYER_TALENT_ALCHEMY[POTION_HEALTH_01] == TRUE) { Ico_Health="Ico_Health_Yes.tga"; } else { Ico_Health="Ico_Health_No.tga"; }; /**************************************/ if(PLAYER_TALENT_ALCHEMY[POTION_PERM_HEALTH] == TRUE) { Ico_HealthPerm="Ico_PermHealth_Yes.tga"; } else { Ico_HealthPerm="Ico_PermHealth_No.tga"; }; /**************************************/ if(PLAYER_TALENT_ALCHEMY[POTION_MANA_01] == TRUE) { Ico_Mana="Ico_Health_Yes.tga"; } else { Ico_Mana="Ico_Health_No.tga"; }; /**************************************/ if(PLAYER_TALENT_ALCHEMY[POTION_PERM_MANA] == TRUE) { Ico_ManaPerm="Ico_PermMana_yes.tga"; } else { Ico_ManaPerm="Ico_PermMana_no.tga"; }; /**************************************/ if(PLAYER_TALENT_ALCHEMY[POTION_PERM_DEX] == TRUE) { Ico_PermDex="Ico_DEX_Yes.tga"; } else { Ico_PermDex="Ico_DEX_No.tga"; }; /**************************************/ if(PLAYER_TALENT_ALCHEMY[POTION_PERM_STR] == TRUE) { Ico_PermSTR="Ico_Str_Yes.tga"; } else { Ico_PermSTR="Ico_Str_no.tga"; }; /**************************************/ /***********HuntingSkills**************/ if(player_talent_takeanimaltrophy[TROPHY_TEETH] == TRUE) { Ico_Teeth="Ico_TeethYes.tga"; } else { Ico_Teeth="Ico_TeethNo.tga"; }; /**************************************/ if(player_talent_takeanimaltrophy[TROPHY_CLAWS] == TRUE) { Ico_Claws="Ico_ClawsYes.tga"; } else { Ico_Claws="Ico_ClawsNo.tga"; }; /**************************************/ if(player_talent_takeanimaltrophy[TROPHY_FUR] == TRUE) { Ico_Furs="Ico_FursYes.tga"; } else { Ico_Furs="Ico_FursNo.tga"; }; /**************************************/ if(player_talent_takeanimaltrophy[TROPHY_REPTILESKIN] == TRUE) { Ico_LurkerSkin="Ico_LurkerYes.tga"; } else { Ico_LurkerSkin="Ico_LurkerNo.tga"; }; /**************************************/ if(player_talent_takeanimaltrophy[TROPHY_SHADOWHORN] == TRUE) { Ico_ShadowHorn="Ico_ShadowHornYes.tga"; } else { Ico_ShadowHorn="Ico_ShadowHornNo.tga"; }; /**************************************/ if(player_talent_takeanimaltrophy[TROPHY_FIRETONGUE] == TRUE) { Ico_FireLan="Ico_FireWaranYes.tga"; } else { Ico_FireLan="Ico_FireWaranNo.tga"; }; /**************************************/ if(player_talent_takeanimaltrophy[TROPHY_BFSTING] == TRUE) { Ico_BloodFlySting="Ico_BloodFlyStingYes.tga"; } else { Ico_BloodFlySting="Ico_BloodFlyStingNo.tga"; }; /**************************************/ if(FastLearnSkill) { Ico_FastLearn="Ico_FastLearnYes.tga"; } else { Ico_FastLearn="Ico_FastLearnNo.tga"; }; /**************************************/ if(!Regenerate_HP_Skill) { Ico_HealthRegenation="Ico_Health_RegenNO.tga"; } else { Ico_HealthRegenation="Ico_Health_RegenYes.tga"; }; /**************************************/ if(!Regenerate_Mana_Skill) { Ico_ManaRegenation="Ico_MANA_RegenNo.tga"; } else { Ico_ManaRegenation="Ico_MANA_RegenYes.tga"; }; /**************************************/ if(player_talent_takeanimaltrophy[TROPHY_CRAWLERPLATE]==TRUE) { Ico_CrawlerPlate="Ico_ClawerPlateYes.tga"; } else { Ico_CrawlerPlate="Ico_ClawerPlateNo.tga"; }; }; var int Humans_NoTakeAnimAppiled; func void Save_Anims(){ var c_npc her; her = Hlp_GetNpc(pc_hero); if(Npc_IsInFightMode(her,FMODE_MELEE)) { if(shield_equip==1){ Mdl_RemoveOverlayMds(hero,"Humans_1hst2.mds"); Mdl_RemoveOverlayMds(hero,"Humans_1hst1.mds"); Mdl_RemoveOverlayMds(hero,"SHIELD_UNSKILLED.mds"); Mdl_ApplyOverlayMds(hero,"SHIELD_UNSKILLED.mds"); }else if (shield_equip==2){ Mdl_RemoveOverlayMds(hero,"Humans_1hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_1hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUM_SHIELD_ST1.mds"); Mdl_ApplyOverlayMds(hero,"HUM_SHIELD_ST1.mds"); }else if (shield_equip==3){ Mdl_RemoveOverlayMds(hero,"Humans_1hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_1hst2.mds"); Mdl_RemoveOverlayMds(hero,"SHIELD_ST4.mds"); Mdl_ApplyOverlayMds(hero,"SHIELD_ST4.mds"); }else if (shield_equip==4){ Mdl_RemoveOverlayMds(hero,"Humans_1hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_1hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUM_SHIELD2.mds"); Mdl_ApplyOverlayMds(hero,"HUM_SHIELD2.mds"); }; if(DualUser) { Mdl_RemoveOverlayMds(hero,"Humans_2hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_2hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUMANS_2x2st3.mds"); Mdl_ApplyOverlayMds(hero,"HUMANS_2x2st3.mds"); }; if(Know2hUberMaster)&&(!DualUser)&&(!StaffEquiped)&&(!Speer_Equip)&&(!OrcWeaponEquipped) { Mdl_RemoveOverlayMds(hero,"Humans_2hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_2hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUMANS_2hst3.mds"); Mdl_ApplyOverlayMds(hero,"HUMANS_2hst3.mds"); }; if(StaffEquiped) { Mdl_RemoveOverlayMds(hero,"Humans_2hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_2hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUM_STAFF_ST1.mds"); Mdl_ApplyOverlayMds(hero,"HUM_STAFF_ST1.mds"); }; if(Speer_Equip) { Mdl_RemoveOverlayMds(hero,"Humans_2hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_2hst2.mds"); Mdl_RemoveOverlayMds(hero,"Humans_spst2.mds"); Mdl_ApplyOverlayMds(hero,"Humans_spst2.mds"); }; if(OrcWeaponEquipped==1) { Mdl_RemoveOverlayMds(hero,"Humans_2hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_2hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUMANS_O2h.mds"); Mdl_ApplyOverlayMds(hero,"HUMANS_O2H.mds"); }; if (OrcWeaponEquipped==2) { Mdl_RemoveOverlayMds(hero,"Humans_2hst1.mds"); Mdl_RemoveOverlayMds(hero,"Humans_2hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUMANS_O2HL2.mds"); Mdl_ApplyOverlayMds(hero,"HUMANS_O2HL2.mds"); }; if(Know1hUberMaster)&&(!shield_equip) { Mdl_RemoveOverlayMds(hero,"Humans_1hst2.mds"); Mdl_RemoveOverlayMds(hero,"HUMANS_1hst3.mds"); Mdl_ApplyOverlayMds(hero,"HUMANS_1hst3.mds"); }; }; if(Humans_NoTakeAnimAppiled) { Mdl_ApplyOverlayMds(hero,"Humans_NoTakeAnim.mds"); }; };
D
module nsl.parse; import nsl.scriptfile : ScriptFile; /* size_t estimateMaxAstNodeCount(size_t text_length) { // maybe max 1 ast_node per 50 characters? return (unsigned)(text_length / 50); } */ void parse(ScriptFile file) { //assert(!file.astNodes, "codebug: parse was called on a script file that was already parsed"); Parser parser = Parser(&file); parser.parse(); } private struct Parser { ScriptFile* file; immutable(char)* next; uint lineNumber; size_t fileOffsetAt(const(char) *ptr) const { return cast(void*)ptr - cast(void*)file.mmap.ptr; } size_t currentFileOffset() const { return fileOffsetAt(next); } /+ static struct ast_node *alloc_node(struct parser *parser) { // for now we just use malloc for each node, but this is probably wasteful struct ast_node *node = (struct ast_node*)malloc_or_exit(sizeof(struct ast_node)); return node; } static err_t parse_expressions(struct parser *parser, enum token_type end_token, struct ast_node_vector *nodes) { for (;;) { struct token token; if (read_and_consume_token(parser, &token)) return err_fail; if (token.type == end_token) return err_pass; switch (token.type) { case TOKEN_TYPE_STRING: { struct ast_node *node = alloc_node(parser); init_ast_node(node, AST_NODE_STRING); node->string.escaped = token.string.escaped; if (ast_node_vector_add(nodes, node)) { errorf("TODO: write good error message"); return err_fail; } } break; case TOKEN_TYPE_EOF: return unexpected_token(parser, end_token, &token); default: errorf("parse_expressions: token '%s' not implemented", token_type_strings[token.type]); return err_fail; break; } } } static err_t parse_call(struct parser *parser, struct ast_node *node) { struct token id_token; if (expect_and_return_token(parser, TOKEN_TYPE_ID, &id_token)) return err_fail; //printf("[DEBUG] calling function '%.*s'\n", (unsigned)id_token.source.length, id_token.source.ptr); if (expect_and_ignore_token(parser, TOKEN_TYPE_LEFT_PAREN)) return err_fail; struct ast_node_vector arg_nodes = {0}; if (parse_expressions(parser, TOKEN_TYPE_RIGHT_PAREN, &arg_nodes)) return err_fail; init_ast_node(node, AST_NODE_CALL); node->call.function = id_token.source; node->call.args = arg_nodes; return err_pass; } void parse(struct ast_node *node) { if (expect_and_ignore_token(parser, TOKEN_TYPE_LEFT_PAREN)) return err_fail; struct ast_node_vector arg_nodes = {0}; if (parse_expressions(parser, TOKEN_TYPE_RIGHT_PAREN, &arg_nodes)) return err_fail; if (arg_nodes.size == 0) { errorf("%s(line %d) the 'run' directive must have at least one argument", parser->file->filename, parser->line_number); return err_fail; } for (;;) { if (read_token(parser)) return err_fail; // TODO: check if it is one of the keywords that can appear in a run command if (parser->token.type != TOKEN_TYPE_STRING) break; errorf("not impl"); return err_fail; } init_ast_node(node, AST_NODE_RUN); node->run.args = arg_nodes; return err_pass; } +/ static void parse() { assert(0, "parse not impl"); /+ for (;;) { /* printf("--------------------------------------------------------------------------------\n"); printf("Current Nodes(%llu):\n", (unsigned long long)ast_node_vector_size(&parser->file->nodes)); dump_nodes(&parser->file->nodes); printf("parsing next node...\n"); */ struct token token; if (read_and_consume_token(parser, &token)) { // error already logged return err_fail; } struct ast_node *new_node = NULL; switch(token.type) { case TOKEN_TYPE_ID: { //printf("[DEBUG] got id token '%.*s'\n", (unsigned)token.source.length, token.source.ptr); enum keyword keyword; if (!try_as_keyword(token.source, &keyword)) { errorf("%s(%d) expected a keyword but got '%.*s'", parser->file->filename, parser->line_number, (unsigned)token.source.length, token.source.ptr); return err_fail; } switch(keyword) { case KEYWORD_CALL: new_node = alloc_node(parser); if (parse_call(parser, new_node)) return err_fail; // error already logged break; case KEYWORD_RUN: new_node = alloc_node(parser); if (parse_run(parser, new_node)) return err_fail; // error already logged break; default: errorf("code bug: unhandled keyword enum value %d", keyword); return err_fail; } } break; case TOKEN_TYPE_EOF: return err_pass; default: errorf("code bug: unhandled token type enum value %d", token.type); return err_fail; } if (new_node) { if (ast_node_vector_add(&parser->file->nodes, new_node)) { errorf("TODO: write good error message"); return err_fail; } } } +/ } }
D
module logmaster.signals; import std.stdio; template Signal(T...) { // Type of a slot alias slot_t = void delegate(T); class Signal { private slot_t[] slots; void emit(T...)(T t) { foreach(f; this.slots) { f(t); } } void connect(slot_t slot) { slots ~= slot; } } } unittest { writeln("Testing signals..."); bool called; void handler(int i, string s) { called = true; } auto s = new Signal!(int, string); s.connect(&handler); s.emit(0x3, "string"); assert(called); }
D
module hunt.markdown.node.CustomNode; import hunt.markdown.node.Node; import hunt.markdown.node.Visitor; abstract class CustomNode : Node { override public void accept(Visitor visitor) { visitor.visit(this); } }
D
module darepl.x86.parser; import std.conv, darepl.core.expressions, darepl.core.lexer, darepl.core.parser, darepl.x86.enums, darepl.x86.expressions, darepl.x86.instructions, darepl.x86.machine; public final class X86Parser : Parser { private X86Machine _machine; pure nothrow invariant() { assert(_machine); } public this(X86Machine machine, Token[] tokens) pure nothrow in { assert(machine); assert(tokens); } body { super(tokens); _machine = machine; } public override X86Instruction parse() { auto prefix = X86PrefixName.none; if (auto ident = cast(IdentifierToken)next()) { try { prefix = to!X86PrefixName(ident.value); moveNext(); } catch (ConvException) { } } X86OpCodeName opCode; if (auto ident = cast(IdentifierToken)moveNext()) { try opCode = to!X86OpCodeName(ident.value); catch (ConvException) error("Unknown opcode mnemonic: %s", ident.value); } else error("Expected opcode mnemonic."); X86Operand operand1; X86Operand operand2; X86Operand operand3; if (!done()) { operand1 = parseOperand(); if (!done()) { auto comma1 = cast(DelimiterToken)moveNext(); if (comma1 && comma1.type == DelimiterType.comma) { operand2 = parseOperand(); if (!done()) { auto comma2 = cast(DelimiterToken)moveNext(); if (comma2 && comma2.type == DelimiterType.comma) operand3 = parseOperand(); else error("Expected comma followed by operand."); } } else error("Expected comma followed by operand."); } } if (!done()) error("Could not parse input completely."); return new X86Instruction(prefix, opCode, operand1, operand2, operand3); } private X86Operand parseOperand() out (result) { assert(result.hasValue); } body { auto tok = moveNext(); if (auto ident = cast(IdentifierToken)tok) { X86RegisterName reg; try reg = to!X86RegisterName(ident.value); catch (ConvException) error("Unknown register name: %s", ident.value); switch (reg) { case X86RegisterName.eflags: case X86RegisterName.rflags: case X86RegisterName.mxcsr: case X86RegisterName.eip: case X86RegisterName.rip: error("Cannot operate directly on register: %s", reg); break; default: break; } return X86Operand(cast(X86Register)_machine.registers[reg]); } else if (auto bracket = cast(DelimiterToken)tok) { if (bracket.type != DelimiterType.openBracket) error("Invalid opcode operand."); auto expr = parseExpression(); auto closing = cast(DelimiterToken)moveNext(); if (!closing || closing.type != DelimiterType.closeBracket) error("Expected closing bracket."); return X86Operand(expr); } else if (auto literal = cast(LiteralToken)tok) return X86Operand(literal.value); error("Invalid opcode operand."); assert(false); } protected override Expression parseSpecificExpression(Token token) { if (auto ident = cast(IdentifierToken)token) { X86RegisterName reg; try reg = to!X86RegisterName(ident.value); catch (ConvException) error("Unknown register name: %s", ident.value); switch (reg) { case X86RegisterName.eflags: case X86RegisterName.rflags: case X86RegisterName.mxcsr: case X86RegisterName.eip: case X86RegisterName.rip: error("Cannot operate directly on register: %s", reg); break; default: break; } return new X86RegisterExpression(cast(X86Register)_machine.registers[reg]); } return null; } }
D
// Written in the D programming language /* Copyright (C) 2004-2005 Christopher E. Miller This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. socket.d 1.3 Jan 2005 Thanks to Benjamin Herr for his assistance. */ /** * Notes: For Win32 systems, link with ws2_32.lib. * Example: See /dmd/samples/d/listener.d. * Authors: Christopher E. Miller, $(WEB klickverbot.at, David Nadlinger) * Source: $(PHOBOSSRC std/_socket.d) * Macros: * WIKI=Phobos/StdSocket */ module std.socket; import core.stdc.stdint, std.string, std.c.string, std.c.stdlib, std.conv, std.traits; import core.stdc.config; import core.time : dur, Duration; import std.algorithm : max; import std.exception : assumeUnique, enforce; version(unittest) { private import std.c.stdio : printf; } version(Posix) { version = BsdSockets; } version(Win32) { pragma (lib, "ws2_32.lib"); pragma (lib, "wsock32.lib"); private import std.c.windows.windows, std.c.windows.winsock; private alias std.c.windows.winsock.timeval _ctimeval; typedef SOCKET socket_t = INVALID_SOCKET; private const int _SOCKET_ERROR = SOCKET_ERROR; private int _lasterr() { return WSAGetLastError(); } } else version(BsdSockets) { version(Posix) { version(linux) import std.c.linux.socket : AF_IPX, AF_APPLETALK, SOCK_RDM, IPPROTO_IGMP, IPPROTO_GGP, IPPROTO_PUP, IPPROTO_IDP, SD_RECEIVE, SD_SEND, SD_BOTH, MSG_NOSIGNAL, INADDR_NONE; else version(OSX) private import std.c.osx.socket; else version(FreeBSD) { import core.sys.posix.sys.socket; import core.sys.posix.sys.select; import std.c.freebsd.socket; private enum SD_RECEIVE = SHUT_RD; private enum SD_SEND = SHUT_WR; private enum SD_BOTH = SHUT_RDWR; } else static assert(false); import core.sys.posix.netdb; private import core.sys.posix.fcntl; private import core.sys.posix.unistd; private import core.sys.posix.arpa.inet; private import core.sys.posix.netinet.tcp; private import core.sys.posix.netinet.in_; private import core.sys.posix.sys.time; //private import core.sys.posix.sys.select; private import core.sys.posix.sys.socket; private alias core.sys.posix.sys.time.timeval _ctimeval; } private import core.stdc.errno; typedef int32_t socket_t = -1; private const int _SOCKET_ERROR = -1; private int _lasterr() { return errno; } } else { static assert(0); // No socket support yet. } /// Base exception thrown from a Socket. class SocketException: Exception { int errorCode; /// Platform-specific error code. this(string msg, int err = 0) { errorCode = err; version(Posix) { if(errorCode > 0) { char[80] buf; const(char)* cs; version (linux) { cs = strerror_r(errorCode, buf.ptr, buf.length); } else version (OSX) { auto errs = strerror_r(errorCode, buf.ptr, buf.length); if (errs == 0) cs = buf.ptr; else { cs = "Unknown error"; } } else version (FreeBSD) { auto errs = strerror_r(errorCode, buf.ptr, buf.length); if (errs == 0) cs = buf.ptr; else { cs = "Unknown error"; } } else { static assert(0); } auto len = strlen(cs); if(cs[len - 1] == '\n') len--; if(cs[len - 1] == '\r') len--; msg = cast(string) (msg ~ ": " ~ cs[0 .. len]); } } super(msg); } } private __gshared typeof(&getnameinfo) getnameinfoPointer; shared static this() { version(Win32) { WSADATA wd; // Winsock will still load if an older version is present. // The version is just a request. int val; val = WSAStartup(0x2020, &wd); if(val) // Request Winsock 2.2 for IPv6. throw new SocketException("Unable to initialize socket library", val); // See the comment in InternetAddress.toHostNameString() for // details on the getnameinfo() issue. auto ws2Lib = GetModuleHandleA("ws2_32.dll"); if (ws2Lib) { getnameinfoPointer = cast(typeof(getnameinfoPointer)) GetProcAddress(ws2Lib, "getnameinfo"); } } else version(Posix) { getnameinfoPointer = &getnameinfo; } } shared static ~this() { version(Win32) { WSACleanup(); } } /** * The communication domain used to resolve an address. */ enum AddressFamily: int { UNSPEC = AF_UNSPEC, /// UNIX = AF_UNIX, /// local communication INET = AF_INET, /// internet protocol version 4 IPX = AF_IPX, /// novell IPX APPLETALK = AF_APPLETALK, /// appletalk INET6 = AF_INET6, // internet protocol version 6 } /** * Communication semantics */ enum SocketType: int { STREAM = SOCK_STREAM, /// sequenced, reliable, two-way communication-based byte streams DGRAM = SOCK_DGRAM, /// connectionless, unreliable datagrams with a fixed maximum length; data may be lost or arrive out of order RAW = SOCK_RAW, /// raw protocol access RDM = SOCK_RDM, /// reliably-delivered message datagrams SEQPACKET = SOCK_SEQPACKET, /// sequenced, reliable, two-way connection-based datagrams with a fixed maximum length } /** * Protocol */ enum ProtocolType: int { IP = IPPROTO_IP, /// internet protocol version 4 ICMP = IPPROTO_ICMP, /// internet control message protocol IGMP = IPPROTO_IGMP, /// internet group management protocol GGP = IPPROTO_GGP, /// gateway to gateway protocol TCP = IPPROTO_TCP, /// transmission control protocol PUP = IPPROTO_PUP, /// PARC universal packet protocol UDP = IPPROTO_UDP, /// user datagram protocol IDP = IPPROTO_IDP, /// Xerox NS protocol IPV6 = IPPROTO_IPV6, /// internet protocol version 6 } /** * Protocol is a class for retrieving protocol information. */ class Protocol { ProtocolType type; /// These members are populated when one of the following functions are called without failure: string name; /// ditto string[] aliases; /// ditto void populate(protoent* proto) { type = cast(ProtocolType)proto.p_proto; name = to!string(proto.p_name).idup; int i; for(i = 0;; i++) { if(!proto.p_aliases[i]) break; } if(i) { aliases = new string[i]; for(i = 0; i != aliases.length; i++) { aliases[i] = to!string(proto.p_aliases[i]).idup; } } else { aliases = null; } } /** Returns false on failure */ bool getProtocolByName(string name) { protoent* proto; proto = getprotobyname(toStringz(name)); if(!proto) return false; populate(proto); return true; } /** Returns false on failure */ // Same as getprotobynumber(). bool getProtocolByType(ProtocolType type) { protoent* proto; proto = getprotobynumber(type); if(!proto) return false; populate(proto); return true; } } unittest { Protocol proto = new Protocol; version (Windows) { // These fail, don't know why pragma(msg, " --- std.socket(" ~ __LINE__.stringof ~ ") broken test ---"); } else { assert(proto.getProtocolByType(ProtocolType.TCP)); //printf("About protocol TCP:\n\tName: %.*s\n", proto.name); // foreach(string s; proto.aliases) // { // printf("\tAlias: %.*s\n", s); // } assert(proto.name == "tcp"); assert(proto.aliases.length == 1 && proto.aliases[0] == "TCP"); } } /** * Service is a class for retrieving service information. */ class Service { /** These members are populated when one of the following functions are called without failure: */ string name; string[] aliases; /// ditto ushort port; /// ditto string protocolName; /// ditto void populate(servent* serv) { name = to!string(serv.s_name); port = ntohs(cast(ushort)serv.s_port); protocolName = to!string(serv.s_proto); int i; for(i = 0;; i++) { if(!serv.s_aliases[i]) break; } if(i) { aliases = new string[i]; for(i = 0; i != aliases.length; i++) { aliases[i] = to!string(serv.s_aliases[i]).idup; } } else { aliases = null; } } /** * If a protocol name is omitted, any protocol will be matched. * Returns: false on failure. */ bool getServiceByName(string name, string protocolName) { servent* serv; serv = getservbyname(toStringz(name), toStringz(protocolName)); if(!serv) return false; populate(serv); return true; } // Any protocol name will be matched. /// ditto bool getServiceByName(string name) { servent* serv; serv = getservbyname(toStringz(name), null); if(!serv) return false; populate(serv); return true; } /// ditto bool getServiceByPort(ushort port, string protocolName) { servent* serv; serv = getservbyport(port, toStringz(protocolName)); if(!serv) return false; populate(serv); return true; } // Any protocol name will be matched. /// ditto bool getServiceByPort(ushort port) { servent* serv; serv = getservbyport(port, null); if(!serv) return false; populate(serv); return true; } } unittest { Service serv = new Service; if(serv.getServiceByName("epmap", "tcp")) { // printf("About service epmap:\n\tService: %.*s\n" // "\tPort: %d\n\tProtocol: %.*s\n", // serv.name, serv.port, serv.protocolName); // foreach(string s; serv.aliases) // { // printf("\tAlias: %.*s\n", s); // } // For reasons unknown this is loc-srv on Wine and epmap on Windows assert(serv.name == "loc-srv" || serv.name == "epmap", serv.name); assert(serv.port == 135); assert(serv.protocolName == "tcp"); // This assert used to pass, don't know why it fails now //assert(serv.aliases.length == 1 && serv.aliases[0] == "epmap"); } else { printf("No service for epmap.\n"); } } /** * Base exception thrown from an InternetHost. */ class HostException: Exception { int errorCode; /// Platform-specific error code. this(string msg, int err = 0) { errorCode = err; super(msg); } } /** * InternetHost is a class for resolving IPv4 addresses. */ class InternetHost { /** These members are populated when one of the following functions are called without failure: */ string name; string[] aliases; /// ditto uint32_t[] addrList; /// ditto void validHostent(hostent* he) { if(he.h_addrtype != cast(int)AddressFamily.INET || he.h_length != 4) throw new HostException("Address family mismatch", _lasterr()); } void populate(hostent* he) { int i; char* p; name = to!string(he.h_name).idup; for(i = 0;; i++) { p = he.h_aliases[i]; if(!p) break; } if(i) { aliases = new string[i]; for(i = 0; i != aliases.length; i++) { aliases[i] = to!string(he.h_aliases[i]).idup; } } else { aliases = null; } for(i = 0;; i++) { p = he.h_addr_list[i]; if(!p) break; } if(i) { addrList = new uint32_t[i]; for(i = 0; i != addrList.length; i++) { addrList[i] = ntohl(*(cast(uint32_t*)he.h_addr_list[i])); } } else { addrList = null; } } /** * Resolve host name. Returns false if unable to resolve. */ bool getHostByName(string name) { version(Windows) { // TODO gethostbyname is deprecated in windows, use getaddrinfo auto he = gethostbyname(toStringz(name)); if(!he) return false; validHostent(he); populate(he); } else { // posix systems use global state for return value, so we // must synchronize across all threads synchronized(this.classinfo) { auto he = gethostbyname(toStringz(name)); if(!he) return false; validHostent(he); populate(he); } } return true; } /** * Resolve IPv4 address number. Returns false if unable to resolve. * * Params: * addr = The IPv4 address to resolve, in network byte order. */ bool getHostByAddr(uint addr) { uint x = htonl(addr); version(Windows) { // TODO gethostbyaddr is deprecated in windows, use getnameinfo auto he = gethostbyaddr(&x, 4, cast(int)AddressFamily.INET); if(!he) return false; validHostent(he); populate(he); } else { // posix systems use global state for return value, so we // must synchronize across all threads synchronized(this.classinfo) { auto he = gethostbyaddr(&x, 4, cast(int)AddressFamily.INET); if(!he) return false; validHostent(he); populate(he); } } return true; } /** * Same as previous, but addr is an IPv4 address string in the * dotted-decimal form $(I a.b.c.d). * Returns false if unable to resolve. */ bool getHostByAddr(string addr) { uint x = inet_addr(std.string.toStringz(addr)); version(Windows) { // TODO gethostbyaddr is deprecated in windows, use getnameinfo auto he = gethostbyaddr(&x, 4, cast(int)AddressFamily.INET); if(!he) return false; validHostent(he); populate(he); } else { // posix systems use global state for return value, so we // must synchronize across all threads synchronized(this.classinfo) { auto he = gethostbyaddr(&x, 4, cast(int)AddressFamily.INET); if(!he) return false; validHostent(he); populate(he); } } return true; } } unittest { try { InternetHost ih = new InternetHost; if (!ih.getHostByName("www.digitalmars.com")) return; // don't fail if not connected to internet //printf("addrList.length = %d\n", ih.addrList.length); assert(ih.addrList.length); InternetAddress ia = new InternetAddress(ih.addrList[0], InternetAddress.PORT_ANY); assert(ih.name == "www.digitalmars.com" || ih.name == "digitalmars.com", ih.name); // printf("IP address = %.*s\nname = %.*s\n", ia.toAddrString(), ih.name); // foreach(int i, string s; ih.aliases) // { // printf("aliases[%d] = %.*s\n", i, s); // } // printf("---\n"); assert(ih.getHostByAddr(ih.addrList[0])); // printf("name = %.*s\n", ih.name); // foreach(int i, string s; ih.aliases) // { // printf("aliases[%d] = %.*s\n", i, s); // } } catch (Throwable e) { // Test fails or succeeds depending on environment! printf(" --- std.socket(%u) broken test ---\n", __LINE__); printf(" (%.*s)\n", e.toString()); } } /** * Base exception thrown from an Address. */ class AddressException: Exception { this(string msg) { super(msg); } } /** * Address is an abstract class for representing a network addresses. */ abstract class Address { protected sockaddr* name(); protected int nameLen(); AddressFamily addressFamily(); /// Family of this address. override string toString(); /// Human readable string representing this address. } /** * */ class UnknownAddress: Address { protected: sockaddr sa; override sockaddr* name() { return &sa; } override int nameLen() { return sa.sizeof; } public: override AddressFamily addressFamily() { return cast(AddressFamily)sa.sa_family; } override string toString() { return "Unknown"; } } /** * InternetAddress is a class that represents an IPv4 (internet protocol version * 4) address and port. */ class InternetAddress: Address { protected: sockaddr_in sin; override sockaddr* name() { return cast(sockaddr*)&sin; } override int nameLen() { return sin.sizeof; } this() { } public: enum uint ADDR_ANY = INADDR_ANY; /// Any IPv4 address number. enum uint ADDR_NONE = INADDR_NONE; /// An invalid IPv4 address number. enum ushort PORT_ANY = 0; /// Any IPv4 port number. /// Overridden to return AddressFamily.INET. override AddressFamily addressFamily() { return cast(AddressFamily)AddressFamily.INET; } /// Returns the IPv4 port number. ushort port() { return ntohs(sin.sin_port); } /// Returns the IPv4 address number. uint addr() { return ntohl(sin.sin_addr.s_addr); } /** * Params: * addr = an IPv4 address string in the dotted-decimal form a.b.c.d, * or a host name that will be resolved using an InternetHost * object. * port = may be PORT_ANY as stated below. */ this(string addr, ushort port) { uint uiaddr = parse(addr); if(ADDR_NONE == uiaddr) { InternetHost ih = new InternetHost; if(!ih.getHostByName(addr)) //throw new AddressException("Invalid internet address"); throw new AddressException( "Unable to resolve host '" ~ addr ~ "'"); uiaddr = ih.addrList[0]; } sin.sin_family = AddressFamily.INET; sin.sin_addr.s_addr = htonl(uiaddr); sin.sin_port = htons(port); } /** * Construct a new Address. addr may be ADDR_ANY (default) and port may * be PORT_ANY, and the actual numbers may not be known until a connection * is made. */ this(uint addr, ushort port) { sin.sin_family = AddressFamily.INET; sin.sin_addr.s_addr = htonl(addr); sin.sin_port = htons(port); } /// ditto this(ushort port) { sin.sin_family = AddressFamily.INET; sin.sin_addr.s_addr = 0; //any, "0.0.0.0" sin.sin_port = htons(port); } /// Human readable string representing the IPv4 address in dotted-decimal form. string toAddrString() { return to!string(inet_ntoa(sin.sin_addr)).idup; } /// Human readable string representing the IPv4 port. string toPortString() { return std.conv.to!string(port()); } /* * Returns the host name as a fully qualified domain name, if * available, or the IP address in dotted-decimal notation otherwise. */ string toHostNameString() { // getnameinfo() is the recommended way to perform a reverse (name) // lookup on both Posix and Windows. However, it is only available // on Windows XP and above, and not included with the WinSock import // libraries shipped with DMD. Thus, we check for getnameinfo at // runtime in the shared module constructor, and fall back to the // deprecated getHostByAddr() if it could not be found. See also: // http://technet.microsoft.com/en-us/library/aa450403.aspx if (getnameinfoPointer is null) { auto host = new InternetHost(); enforce(host.getHostByAddr(sin.sin_addr.s_addr), new SocketException("Could not get host name.")); return host.name; } auto buf = new char[NI_MAXHOST]; auto rc = getnameinfoPointer(cast(sockaddr*)&sin, sin.sizeof, buf.ptr, cast(uint)buf.length, null, 0, 0); enforce(rc == 0, new SocketException( "Could not get host name", _lasterr())); return assumeUnique(buf[0 .. strlen(buf.ptr)]); } /// Human readable string representing the IPv4 address and port in the form $(I a.b.c.d:e). override string toString() { return toAddrString() ~ ":" ~ toPortString(); } /** * Parse an IPv4 address string in the dotted-decimal form $(I a.b.c.d) * and return the number. * If the string is not a legitimate IPv4 address, * ADDR_NONE is returned. */ static uint parse(string addr) { return ntohl(inet_addr(std.string.toStringz(addr))); } } unittest { try { InternetAddress ia = new InternetAddress("63.105.9.61", 80); assert(ia.toString() == "63.105.9.61:80"); } catch (Throwable e) { printf(" --- std.socket(%u) broken test ---\n", __LINE__); printf(" (%.*s)\n", e.toString()); } } /** */ class SocketAcceptException: SocketException { this(string msg, int err = 0) { super(msg, err); } } /// How a socket is shutdown: enum SocketShutdown: int { RECEIVE = SD_RECEIVE, /// socket receives are disallowed SEND = SD_SEND, /// socket sends are disallowed BOTH = SD_BOTH, /// both RECEIVE and SEND } /// Flags may be OR'ed together: enum SocketFlags: int { NONE = 0, /// no flags specified OOB = MSG_OOB, /// out-of-band stream data PEEK = MSG_PEEK, /// peek at incoming data without removing it from the queue, only for receiving DONTROUTE = MSG_DONTROUTE, /// data should not be subject to routing; this flag may be ignored. Only for sending } /// Duration timeout value. extern(C) struct timeval { // D interface c_long seconds; /// Number of seconds. c_long microseconds; /// Number of additional microseconds. // C interface deprecated { alias seconds tv_sec; alias microseconds tv_usec; } } /// A collection of sockets for use with Socket.select. class SocketSet { private: uint maxsockets; /// max desired sockets, the fd_set might be capable of holding more fd_set set; version(Win32) { uint count() { return set.fd_count; } } else version(BsdSockets) { int maxfd; uint count; } public: /// Set the maximum amount of sockets that may be added. this(uint max) { maxsockets = max; reset(); } /// Uses the default maximum for the system. this() { this(FD_SETSIZE); } /// Reset the SocketSet so that there are 0 Sockets in the collection. void reset() { FD_ZERO(&set); version(BsdSockets) { maxfd = -1; count = 0; } } void add(socket_t s) in { // Make sure too many sockets don't get added. assert(count < maxsockets); } body { FD_SET(s, &set); version(BsdSockets) { ++count; if(s > maxfd) maxfd = s; } } /// Add a Socket to the collection. Adding more than the maximum has dangerous side affects. void add(Socket s) { add(s.sock); } void remove(socket_t s) { FD_CLR(s, &set); version(BsdSockets) { --count; // note: adjusting maxfd would require scanning the set, not worth it } } /// Remove this Socket from the collection. void remove(Socket s) { remove(s.sock); } int isSet(socket_t s) { return FD_ISSET(s, &set); } /// Returns nonzero if this Socket is in the collection. int isSet(Socket s) { return isSet(s.sock); } /// Return maximum amount of sockets that can be added, like FD_SETSIZE. uint max() { return maxsockets; } fd_set* toFd_set() { return &set; } int selectn() { version(Win32) { return count; } else version(BsdSockets) { return maxfd + 1; } } } /// The level at which a socket option is defined: enum SocketOptionLevel: int { SOCKET = SOL_SOCKET, /// socket level IP = ProtocolType.IP, /// internet protocol version 4 level ICMP = ProtocolType.ICMP, /// IGMP = ProtocolType.IGMP, /// GGP = ProtocolType.GGP, /// TCP = ProtocolType.TCP, /// transmission control protocol level PUP = ProtocolType.PUP, /// UDP = ProtocolType.UDP, /// user datagram protocol level IDP = ProtocolType.IDP, /// IPV6 = ProtocolType.IPV6, /// internet protocol version 6 level } /// Linger information for use with SocketOption.LINGER. extern(C) struct linger { // D interface version(Win32) { uint16_t on; /// Nonzero for on. uint16_t time; /// Linger time. } else version(BsdSockets) { int32_t on; int32_t time; } // C interface deprecated { alias on l_onoff; alias time l_linger; } } /// Specifies a socket option: enum SocketOption: int { DEBUG = SO_DEBUG, /// record debugging information BROADCAST = SO_BROADCAST, /// allow transmission of broadcast messages REUSEADDR = SO_REUSEADDR, /// allow local reuse of address LINGER = SO_LINGER, /// linger on close if unsent data is present OOBINLINE = SO_OOBINLINE, /// receive out-of-band data in band SNDBUF = SO_SNDBUF, /// send buffer size RCVBUF = SO_RCVBUF, /// receive buffer size DONTROUTE = SO_DONTROUTE, /// do not route SNDTIMEO = SO_SNDTIMEO, /// send timeout RCVTIMEO = SO_RCVTIMEO, /// receive timeout // SocketOptionLevel.TCP: TCP_NODELAY = .TCP_NODELAY, /// disable the Nagle algorithm for send coalescing // SocketOptionLevel.IPV6: IPV6_UNICAST_HOPS = .IPV6_UNICAST_HOPS, /// IPV6_MULTICAST_IF = .IPV6_MULTICAST_IF, /// IPV6_MULTICAST_LOOP = .IPV6_MULTICAST_LOOP, /// IPV6_JOIN_GROUP = .IPV6_JOIN_GROUP, /// IPV6_LEAVE_GROUP = .IPV6_LEAVE_GROUP, /// } /** * Socket is a class that creates a network communication endpoint using the * Berkeley sockets interface. */ class Socket { private: socket_t sock; AddressFamily _family; version(Win32) bool _blocking = false; /// Property to get or set whether the socket is blocking or nonblocking. // The WinSock timeouts seem to be effectively skewed by a constant // offset of about half a second (value in milliseconds). This has // been confirmed on updated (as of Jun 2011) Windows XP, Windows 7 // and Windows Server 2008 R2 boxes. enum WINSOCK_TIMEOUT_SKEW = 500; void setSock(socket_t handle) { assert(handle != socket_t.init); sock = handle; // Set the option to disable SIGPIPE on send() if the platform // has it (e.g. on OS X). static if (is(typeof(SO_NOSIGPIPE))) { setOption(SocketOptionLevel.SOCKET, cast(SocketOption)SO_NOSIGPIPE, true); } } // For use with accepting(). protected this() { } public: /** * Create a blocking socket. If a single protocol type exists to support * this socket type within the address family, the ProtocolType may be * omitted. */ this(AddressFamily af, SocketType type, ProtocolType protocol) { _family = af; auto handle = cast(socket_t)socket(af, type, protocol); if(handle == socket_t.init) throw new SocketException("Unable to create socket", _lasterr()); setSock(handle); } // A single protocol exists to support this socket type within the // protocol family, so the ProtocolType is assumed. /// ditto this(AddressFamily af, SocketType type) { this(af, type, cast(ProtocolType)0); // Pseudo protocol number. } /// ditto this(AddressFamily af, SocketType type, string protocolName) { protoent* proto; proto = getprotobyname(toStringz(protocolName)); if(!proto) throw new SocketException("Unable to find the protocol", _lasterr()); this(af, type, cast(ProtocolType)proto.p_proto); } ~this() { close(); } /// Get underlying socket handle. socket_t handle() { return sock; } /** * Get/set socket's blocking flag. * * When a socket is blocking, calls to receive(), accept(), and send() * will block and wait for data/action. * A non-blocking socket will immediately return instead of blocking. */ bool blocking() { version(Win32) { return _blocking; } else version(BsdSockets) { return !(fcntl(handle, F_GETFL, 0) & O_NONBLOCK); } } /// ditto void blocking(bool byes) { version(Win32) { uint num = !byes; if(_SOCKET_ERROR == ioctlsocket(sock, FIONBIO, &num)) goto err; _blocking = byes; } else version(BsdSockets) { int x = fcntl(sock, F_GETFL, 0); if(-1 == x) goto err; if(byes) x &= ~O_NONBLOCK; else x |= O_NONBLOCK; if(-1 == fcntl(sock, F_SETFL, x)) goto err; } return; // Success. err: throw new SocketException("Unable to set socket blocking", _lasterr()); } /// Get the socket's address family. AddressFamily addressFamily() // getter { return _family; } /// Property that indicates if this is a valid, alive socket. bool isAlive() // getter { int type; socklen_t typesize = cast(socklen_t) type.sizeof; return !getsockopt(sock, SOL_SOCKET, SO_TYPE, cast(char*)&type, &typesize); } /// Associate a local address with this socket. void bind(Address addr) { if(_SOCKET_ERROR == .bind(sock, addr.name(), addr.nameLen())) throw new SocketException("Unable to bind socket", _lasterr()); } /** * Establish a connection. If the socket is blocking, connect waits for * the connection to be made. If the socket is nonblocking, connect * returns immediately and the connection attempt is still in progress. */ void connect(Address to) { if(_SOCKET_ERROR == .connect(sock, to.name(), to.nameLen())) { int err; err = _lasterr(); if(!blocking) { version(Win32) { if(WSAEWOULDBLOCK == err) return; } else version(Posix) { if(EINPROGRESS == err) return; } else { static assert(0); } } throw new SocketException("Unable to connect socket", err); } } /** * Listen for an incoming connection. bind must be called before you can * listen. The backlog is a request of how many pending incoming * connections are queued until accept'ed. */ void listen(int backlog) { if(_SOCKET_ERROR == .listen(sock, backlog)) throw new SocketException("Unable to listen on socket", _lasterr()); } /** * Called by accept when a new Socket must be created for a new * connection. To use a derived class, override this method and return an * instance of your class. The returned Socket's handle must not be set; * Socket has a protected constructor this() to use in this situation. */ // Override to use a derived class. // The returned socket's handle must not be set. protected Socket accepting() { return new Socket; } /** * Accept an incoming connection. If the socket is blocking, accept * waits for a connection request. Throws SocketAcceptException if unable * to accept. See accepting for use with derived classes. */ Socket accept() { auto newsock = cast(socket_t).accept(sock, null, null); if(socket_t.init == newsock) throw new SocketAcceptException("Unable to accept socket connection", _lasterr()); Socket newSocket; try { newSocket = accepting(); assert(newSocket.sock == socket_t.init); newSocket.setSock(newsock); version(Win32) newSocket._blocking = _blocking; //inherits blocking mode newSocket._family = _family; //same family } catch(Throwable o) { _close(newsock); throw o; } return newSocket; } /// Disables sends and/or receives. void shutdown(SocketShutdown how) { .shutdown(sock, cast(int)how); } private static void _close(socket_t sock) { version(Win32) { .closesocket(sock); } else version(BsdSockets) { .close(sock); } } /** * Immediately drop any connections and release socket resources. * Calling shutdown before close is recommended for connection-oriented * sockets. The Socket object is no longer usable after close. */ //calling shutdown() before this is recommended //for connection-oriented sockets void close() { _close(sock); sock = socket_t.init; } private Address newFamilyObject() { Address result; switch(_family) { case cast(AddressFamily)AddressFamily.INET: result = new InternetAddress; break; default: result = new UnknownAddress; } return result; } /// Returns the local machine's host name. Idea from mango. static string hostName() // getter { char[256] result; // Host names are limited to 255 chars. if(_SOCKET_ERROR == .gethostname(result.ptr, result.length)) throw new SocketException("Unable to obtain host name", _lasterr()); return to!string(cast(char*)result).idup; } /// Remote endpoint Address. Address remoteAddress() { Address addr = newFamilyObject(); socklen_t nameLen = cast(socklen_t) addr.nameLen(); if(_SOCKET_ERROR == .getpeername(sock, addr.name(), &nameLen)) throw new SocketException("Unable to obtain remote socket address", _lasterr()); assert(addr.addressFamily() == _family); return addr; } /// Local endpoint Address. Address localAddress() { Address addr = newFamilyObject(); socklen_t nameLen = cast(socklen_t) addr.nameLen(); if(_SOCKET_ERROR == .getsockname(sock, addr.name(), &nameLen)) throw new SocketException("Unable to obtain local socket address", _lasterr()); assert(addr.addressFamily() == _family); return addr; } /// Send or receive error code. enum int ERROR = _SOCKET_ERROR; /** * Send data on the connection. Returns the number of bytes actually * sent, or ERROR on failure. If the socket is blocking and there is no * buffer space left, send waits. */ //returns number of bytes actually sent, or -1 on error Select!(size_t.sizeof > 4, long, int) send(const(void)[] buf, SocketFlags flags) { static if (is(typeof(MSG_NOSIGNAL))) { flags = cast(SocketFlags)(flags | MSG_NOSIGNAL); } auto sent = .send(sock, buf.ptr, buf.length, cast(int)flags); return sent; } /// ditto Select!(size_t.sizeof > 4, long, int) send(const(void)[] buf) { return send(buf, SocketFlags.NONE); } /** * Send data to a specific destination Address. If the destination address is not specified, a connection must have been made and that address is used. If the socket is blocking and there is no buffer space left, sendTo waits. */ Select!(size_t.sizeof > 4, long, int) sendTo(const(void)[] buf, SocketFlags flags, Address to) { static if (is(typeof(MSG_NOSIGNAL))) { flags = cast(SocketFlags)(flags | MSG_NOSIGNAL); } return .sendto(sock, buf.ptr, buf.length, cast(int)flags, to.name(), to.nameLen()); } /// ditto Select!(size_t.sizeof > 4, long, int) sendTo(const(void)[] buf, Address to) { return sendTo(buf, SocketFlags.NONE, to); } //assumes you connect()ed /// ditto Select!(size_t.sizeof > 4, long, int) sendTo(const(void)[] buf, SocketFlags flags) { static if (is(typeof(MSG_NOSIGNAL))) { flags = cast(SocketFlags)(flags | MSG_NOSIGNAL); } return .sendto(sock, buf.ptr, buf.length, cast(int)flags, null, 0); } //assumes you connect()ed /// ditto Select!(size_t.sizeof > 4, long, int) sendTo(const(void)[] buf) { return sendTo(buf, SocketFlags.NONE); } /** * Receive data on the connection. Returns the number of bytes actually * received, 0 if the remote side has closed the connection, or ERROR on * failure. If the socket is blocking, receive waits until there is data * to be received. */ //returns number of bytes actually received, 0 on connection closure, or -1 on error ptrdiff_t receive(void[] buf, SocketFlags flags) { return buf.length ? .recv(sock, buf.ptr, buf.length, cast(int)flags) : 0; } /// ditto ptrdiff_t receive(void[] buf) { return receive(buf, SocketFlags.NONE); } /** * Receive data and get the remote endpoint Address. * If the socket is blocking, receiveFrom waits until there is data to * be received. * Returns: the number of bytes actually received, * 0 if the remote side has closed the connection, or ERROR on failure. */ Select!(size_t.sizeof > 4, long, int) receiveFrom(void[] buf, SocketFlags flags, out Address from) { if(!buf.length) //return 0 and don't think the connection closed return 0; from = newFamilyObject(); socklen_t nameLen = cast(socklen_t) from.nameLen(); auto read = .recvfrom(sock, buf.ptr, buf.length, cast(int)flags, from.name(), &nameLen); assert(from.addressFamily() == _family); // if(!read) //connection closed return read; } /// ditto ptrdiff_t receiveFrom(void[] buf, out Address from) { return receiveFrom(buf, SocketFlags.NONE, from); } //assumes you connect()ed /// ditto Select!(size_t.sizeof > 4, long, int) receiveFrom(void[] buf, SocketFlags flags) { if(!buf.length) //return 0 and don't think the connection closed return 0; auto read = .recvfrom(sock, buf.ptr, buf.length, cast(int)flags, null, null); // if(!read) //connection closed return read; } //assumes you connect()ed /// ditto ptrdiff_t receiveFrom(void[] buf) { return receiveFrom(buf, SocketFlags.NONE); } /// Get a socket option. Returns the number of bytes written to result. //returns the length, in bytes, of the actual result - very different from getsockopt() int getOption(SocketOptionLevel level, SocketOption option, void[] result) { socklen_t len = cast(socklen_t) result.length; if(_SOCKET_ERROR == .getsockopt(sock, cast(int)level, cast(int)option, result.ptr, &len)) throw new SocketException("Unable to get socket option", _lasterr()); return len; } /// Common case of getting integer and boolean options. int getOption(SocketOptionLevel level, SocketOption option, out int32_t result) { return getOption(level, option, (&result)[0 .. 1]); } /// Get the linger option. int getOption(SocketOptionLevel level, SocketOption option, out linger result) { //return getOption(cast(SocketOptionLevel)SocketOptionLevel.SOCKET, SocketOption.LINGER, (&result)[0 .. 1]); return getOption(level, option, (&result)[0 .. 1]); } /// Get a timeout (duration) option. void getOption(SocketOptionLevel level, SocketOption option, out Duration result) { enforce(option == SocketOption.SNDTIMEO || option == SocketOption.RCVTIMEO, new SocketException("Not a valid timeout option: " ~ to!string(option))); // WinSock returns the timeout values as a milliseconds DWORD, // while Linux and BSD return a timeval struct. version (Win32) { int msecs; getOption(level, option, (&msecs)[0 .. 1]); if (option == SocketOption.RCVTIMEO) { msecs += WINSOCK_TIMEOUT_SKEW; } result = dur!"msecs"(msecs); } else version (BsdSockets) { timeval tv; getOption(level, option, (&tv)[0..1]); result = dur!"seconds"(tv.seconds) + dur!"usecs"(tv.microseconds); } else static assert(false); } // Set a socket option. void setOption(SocketOptionLevel level, SocketOption option, void[] value) { if(_SOCKET_ERROR == .setsockopt(sock, cast(int)level, cast(int)option, value.ptr, cast(uint) value.length)) throw new SocketException("Unable to set socket option", _lasterr()); } /// Common case for setting integer and boolean options. void setOption(SocketOptionLevel level, SocketOption option, int32_t value) { setOption(level, option, (&value)[0 .. 1]); } /// Set the linger option. void setOption(SocketOptionLevel level, SocketOption option, linger value) { //setOption(cast(SocketOptionLevel)SocketOptionLevel.SOCKET, SocketOption.LINGER, (&value)[0 .. 1]); setOption(level, option, (&value)[0 .. 1]); } /** * Sets a timeout (duration) option, i.e. SocketOption.SNDTIMEO or * RCVTIMEO. Zero indicates no timeout. * * In a typical application, you might also want to consider using * a non-blocking socket instead of setting a timeout on a blocking one. * * Note: While the receive timeout setting is generally quite accurate * on *nix systems even for smaller durations, there are two issues to * be aware of on Windows: First, although undocumented, the effective * timeout duration seems to be the one set on the socket plus half * a second. setOption() tries to compensate for that, but still, * timeouts under 500ms are not possible on Windows. Second, be aware * that the actual amount of time spent until a blocking call returns * randomly varies on the order of 10ms. * * Params: * value = The timeout duration to set. Must not be negative. * * Throws: SocketException if setting the options fails. * * Example: * --- * import std.datetime; * auto pair = socketPair(); * scope(exit) foreach (s; pair) s.close(); * * // Set a receive timeout, and then wait at one end of * // the socket pair, knowing that no data will arrive. * pair[0].setOption(SocketOptionLevel.SOCKET, * SocketOption.RCVTIMEO, dur!"seconds"(1)); * * auto sw = StopWatch(AutoStart.yes); * ubyte[1] buffer; * pair[0].receive(buffer); * writefln("Waited %s ms until the socket timed out.", * sw.peek.msecs); * --- */ void setOption(SocketOptionLevel level, SocketOption option, Duration value) { enforce(option == SocketOption.SNDTIMEO || option == SocketOption.RCVTIMEO, new SocketException("Not a valid timeout option: " ~ to!string(option))); enforce(value >= dur!"hnsecs"(0), new SocketException( "Timeout duration must not be negative.")); version (Win32) { auto msecs = cast(int)value.total!"msecs"(); if (msecs == 0 || option != SocketOption.RCVTIMEO) { setOption(level, option, msecs); } else { setOption(level, option, cast(int) max(1, msecs - WINSOCK_TIMEOUT_SKEW)); } } else version (BsdSockets) { timeval tv = { seconds: cast(int)value.total!"seconds"(), microseconds: value.fracSec.usecs }; setOption(level, option, (&tv)[0 .. 1]); } else static assert(false); } /** * Wait for a socket to change status. A wait timeout timeval or int microseconds may be specified; if a timeout is not specified or the timeval is null, the maximum timeout is used. The timeval timeout has an unspecified value when select returns. Returns the number of sockets with status changes, 0 on timeout, or -1 on interruption. If the return value is greater than 0, the SocketSets are updated to only contain the sockets having status changes. For a connecting socket, a write status change means the connection is established and it's able to send. For a listening socket, a read status change means there is an incoming connection request and it's able to accept. */ //SocketSet's updated to include only those sockets which an event occured //returns the number of events, 0 on timeout, or -1 on interruption //for a connect()ing socket, writeability means connected //for a listen()ing socket, readability means listening //Winsock: possibly internally limited to 64 sockets per set static int select(SocketSet checkRead, SocketSet checkWrite, SocketSet checkError, timeval* tv) in { //make sure none of the SocketSet's are the same object if(checkRead) { assert(checkRead !is checkWrite); assert(checkRead !is checkError); } if(checkWrite) { assert(checkWrite !is checkError); } } body { fd_set* fr, fw, fe; int n = 0; version(Win32) { // Windows has a problem with empty fd_set`s that aren't null. fr = (checkRead && checkRead.count()) ? checkRead.toFd_set() : null; fw = (checkWrite && checkWrite.count()) ? checkWrite.toFd_set() : null; fe = (checkError && checkError.count()) ? checkError.toFd_set() : null; } else { if(checkRead) { fr = checkRead.toFd_set(); n = checkRead.selectn(); } else { fr = null; } if(checkWrite) { fw = checkWrite.toFd_set(); int _n; _n = checkWrite.selectn(); if(_n > n) n = _n; } else { fw = null; } if(checkError) { fe = checkError.toFd_set(); int _n; _n = checkError.selectn(); if(_n > n) n = _n; } else { fe = null; } } int result = .select(n, fr, fw, fe, cast(_ctimeval*)tv); version(Win32) { if(_SOCKET_ERROR == result && WSAGetLastError() == WSAEINTR) return -1; } else version(Posix) { if(_SOCKET_ERROR == result && errno == EINTR) return -1; } else { static assert(0); } if(_SOCKET_ERROR == result) throw new SocketException("Socket select error", _lasterr()); return result; } /// ditto static int select(SocketSet checkRead, SocketSet checkWrite, SocketSet checkError, int microseconds) { timeval tv; tv.seconds = microseconds / 1_000_000; tv.microseconds = microseconds % 1_000_000; return select(checkRead, checkWrite, checkError, &tv); } /// ditto //maximum timeout static int select(SocketSet checkRead, SocketSet checkWrite, SocketSet checkError) { return select(checkRead, checkWrite, checkError, null); } /+ bool poll(events) { int WSAEventSelect(socket_t s, WSAEVENT hEventObject, int lNetworkEvents); // Winsock 2 ? int poll(pollfd* fds, int nfds, int timeout); // Unix ? } +/ } /// TcpSocket is a shortcut class for a TCP Socket. class TcpSocket: Socket { /// Constructs a blocking TCP Socket. this(AddressFamily family) { super(family, SocketType.STREAM, ProtocolType.TCP); } /// Constructs a blocking TCP Socket. this() { this(cast(AddressFamily)AddressFamily.INET); } //shortcut /// Constructs a blocking TCP Socket and connects to an InternetAddress. this(Address connectTo) { this(connectTo.addressFamily()); connect(connectTo); } } /// UdpSocket is a shortcut class for a UDP Socket. class UdpSocket: Socket { /// Constructs a blocking UDP Socket. this(AddressFamily family) { super(family, SocketType.DGRAM, ProtocolType.UDP); } /// Constructs a blocking UDP Socket. this() { this(cast(AddressFamily)AddressFamily.INET); } } /** * Creates a pair of connected sockets. * * The two sockets are indistinguishable. * * Throws: SocketException if creation of the sockets fails. * * Example: * --- * immutable ubyte[] data = [1, 2, 3, 4]; * auto pair = socketPair(); * scope(exit) foreach (s; pair) s.close(); * * pair[0].send(data); * * auto buf = new ubyte[data.length]; * pair[1].receive(buf); * assert(buf == data); * --- */ Socket[2] socketPair() { version(BsdSockets) { int[2] socks; if (socketpair(AF_UNIX, SOCK_STREAM, 0, socks) == -1) { throw new SocketException("Unable to create socket pair", _lasterr()); } Socket toSocket(size_t id) { auto s = new Socket; s.setSock(cast(socket_t)socks[id]); s._family = AddressFamily.UNIX; return s; } return [toSocket(0), toSocket(1)]; } else version(Win32) { // We do not have socketpair() on Windows, just manually create a // pair of sockets connected over some localhost port. Socket[2] result; auto listener = new TcpSocket(); listener.setOption(SocketOptionLevel.SOCKET, SocketOption.REUSEADDR, true); listener.bind(new InternetAddress(INADDR_LOOPBACK, InternetAddress.PORT_ANY)); auto addr = listener.localAddress(); listener.listen(1); result[0] = new TcpSocket(addr); result[1] = listener.accept(); listener.close(); return result; } else static assert(false); } unittest { immutable ubyte[] data = [1, 2, 3, 4]; auto pair = socketPair(); scope(exit) foreach (s; pair) s.close(); pair[0].send(data); auto buf = new ubyte[data.length]; pair[1].receive(buf); assert(buf == data); }
D
module state.preparation; import std.range; import allegro; import state.gamestate; import gui.all; import geometry.all; import util.all; import model.character; import model.item; import util.savegame; import util.bicycle; import state.battle; import tilemap.loader; private enum { // button sprites lbButtonPos = Vector2i(36, 70), rbButtonPos = Vector2i(36, 560), startButtonPos = Vector2i(250, 580), } class Preparation : GameState { this(SaveData data, bool newMission) { _data = data; if (newMission) { data.advanceMission; } _data.saveGame; auto forSale = [ new Item("dirk"), new Item("broadsword"), new Item("falchion"), new Item("sabre"), new Item("claymore"), new Item("katana"), new Item("quarterstaff"), new Item("spear"), new Item("pike"), new Item("javelin"), new Item("glaive"), new Item("halberd"), new Item("mace"), new Item("battleaxe"), new Item("crescentaxe"), new Item("tomahawk"), new Item("greataxe"), new Item("warhammer"), new Item("shortbow"), new Item("crossbow"), new Item("longbow"), new Item("barbedbow"), new Item("greatbow"), new Item("arbalest"), new Item("poultice"), new Item("doorkey"), new Item("chestkey"), new Item("lockpick"), new Item("elixir"), new Item("heal"), new Item("surestrike"), new Item("cure"), new Item("stoneskin"), new Item("respite"), ]; _levelData = loadLevel(data.mission); auto rosterView = new RosterView(Vector2i.Zero, data, data.forHire); auto storeView = new StoreView(Vector2i.Zero, data, forSale, &showInput); _missionView = new MissionView(Vector2i.Zero, data, _levelData, &startMission); GUIContainer[] views = [rosterView, storeView, _missionView]; _views = bicycle(views); _input = new InputManager; showInput(true); playBgMusic("preparation"); } /// returns a GameState to request a state transition, null otherwise override GameState update(float time) { _input.update(time); _views.front.update(time); if (_menu) { if (_input.cancel) { _menu = null; } else { _menu.handleInput(_input); } } else { if (_views.front.handleInput(_input)) { return _startBattle; } if (_input.next) { _views.advance; _missionView.regenerateRoster; } else if (_input.previous) { _views.reverse; _missionView.regenerateRoster; } else if (_input.start) { _menu = new PreferencesMenu(screenCenter - Vector2i(50, 50)); } } return _startBattle; } /// render game state to screen override void draw() { _views.front.draw(); if (_showInput) { drawInputIcon("previous", lbButtonPos, _input.gamepadConnected); drawInputIcon("next", rbButtonPos, _input.gamepadConnected); drawInputIcon("start", startButtonPos, _input.gamepadConnected, " Options"); } if (_menu) { _menu.draw(); } } override void handleEvent(ALLEGRO_EVENT ev) { if (ev.type == ALLEGRO_EVENT_JOYSTICK_CONFIGURATION) { _input.reconfigureGamepad(); } } override void onExit() { } void showInput(bool val) { _showInput = val; } void startMission(Character[] party) { _startBattle = new Battle(_levelData, party, _data); } private: Bicycle!(GUIContainer[]) _views; InputManager _input; SaveData _data; Battle _startBattle; LevelData _levelData; MissionView _missionView; PreferencesMenu _menu; bool _showInput; }
D