code
stringlengths 3
10M
| language
stringclasses 31
values |
|---|---|
module sqld.update_builder;
import sqld.ast;
import sqld.builder;
import sqld.partials;
struct UpdateBuilder
{
mixin Builder;
mixin FromPartial;
mixin WherePartial;
mixin LimitPartial;
mixin ReturningPartial;
private:
immutable
{
TableNode _table;
SetNode _set;
}
public:
alias build this;
@property
immutable(UpdateNode) build()
{
return new immutable UpdateNode(_table, _set, _from, _where, _limit, _returning);
}
/+ - Table - +/
alias table = update;
UpdateBuilder update(immutable(TableNode) table)
{
return next!("table")(table);
}
UpdateBuilder update(string name)
{
return update(new immutable TableNode(name));
}
UpdateBuilder update(string schema, string name)
{
return update(new immutable TableNode(schema, name));
}
/+ - Set - +/
UpdateBuilder set(immutable(SetNode) set)
{
return next!("set")(set);
}
UpdateBuilder set(immutable(AssignmentNode) assignment)
{
if(_set is null)
{
return set(new immutable SetNode(assignment));
}
else
{
return set(new immutable SetNode(_set.assignments ~ assignment));
}
}
UpdateBuilder set(T)(immutable(ExpressionNode) left, T right) if(isExpressionType!(T))
{
return set(new immutable AssignmentNode(left, toExpression(right)));
}
UpdateBuilder set(T)(string left, T right) if(isExpressionType!(T))
{
return set(new immutable ColumnNode(left), right);
}
UpdateBuilder reset(TList...)(TList args)
{
return unset.set(args);
}
UpdateBuilder unset()
{
return set(cast(SetNode) null);
}
}
|
D
|
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Port to the D programming language:
* Frank Benoit <benoit@tionex.de>
*******************************************************************************/
module org.eclipse.swt.accessibility.ACC;
/**
* Class ACC contains all the constants used in defining an
* Accessible object.
*
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
*
* @since 2.0
*/
public class ACC {
public static const int STATE_NORMAL = 0x00000000;
public static const int STATE_SELECTED = 0x00000002;
public static const int STATE_SELECTABLE = 0x00200000;
public static const int STATE_MULTISELECTABLE = 0x1000000;
public static const int STATE_FOCUSED = 0x00000004;
public static const int STATE_FOCUSABLE = 0x00100000;
public static const int STATE_PRESSED = 0x8;
public static const int STATE_CHECKED = 0x10;
public static const int STATE_EXPANDED = 0x200;
public static const int STATE_COLLAPSED = 0x400;
public static const int STATE_HOTTRACKED = 0x80;
public static const int STATE_BUSY = 0x800;
public static const int STATE_READONLY = 0x40;
public static const int STATE_INVISIBLE = 0x8000;
public static const int STATE_OFFSCREEN = 0x10000;
public static const int STATE_SIZEABLE = 0x20000;
public static const int STATE_LINKED = 0x400000;
public static const int ROLE_CLIENT_AREA = 0xa;
public static const int ROLE_WINDOW = 0x9;
public static const int ROLE_MENUBAR = 0x2;
public static const int ROLE_MENU = 0xb;
public static const int ROLE_MENUITEM = 0xc;
public static const int ROLE_SEPARATOR = 0x15;
public static const int ROLE_TOOLTIP = 0xd;
public static const int ROLE_SCROLLBAR = 0x3;
public static const int ROLE_DIALOG = 0x12;
public static const int ROLE_LABEL = 0x29;
public static const int ROLE_PUSHBUTTON = 0x2b;
public static const int ROLE_CHECKBUTTON = 0x2c;
public static const int ROLE_RADIOBUTTON = 0x2d;
public static const int ROLE_COMBOBOX = 0x2e;
public static const int ROLE_TEXT = 0x2a;
public static const int ROLE_TOOLBAR = 0x16;
public static const int ROLE_LIST = 0x21;
public static const int ROLE_LISTITEM = 0x22;
public static const int ROLE_TABLE = 0x18;
public static const int ROLE_TABLECELL = 0x1d;
public static const int ROLE_TABLECOLUMNHEADER = 0x19;
/** @deprecated use ROLE_TABLECOLUMNHEADER */
public static const int ROLE_TABLECOLUMN = ROLE_TABLECOLUMNHEADER;
public static const int ROLE_TABLEROWHEADER = 0x1a;
public static const int ROLE_TREE = 0x23;
public static const int ROLE_TREEITEM = 0x24;
public static const int ROLE_TABFOLDER = 0x3c;
public static const int ROLE_TABITEM = 0x25;
public static const int ROLE_PROGRESSBAR = 0x30;
public static const int ROLE_SLIDER = 0x33;
public static const int ROLE_LINK = 0x1e;
public static const int CHILDID_SELF = -1;
public static const int CHILDID_NONE = -2;
public static const int CHILDID_MULTIPLE = -3;
public static const int TEXT_INSERT = 0;
public static const int TEXT_DELETE = 1;
}
|
D
|
a child of your son or daughter
|
D
|
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gio.networkaddress;
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2008 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
* Public License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*/
/+
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only <gio/gio.h> can be included directly."
//#endif
+/
public import gio.types;
extern(C):
//#define G_TYPE_NETWORK_ADDRESS (g_network_address_get_type ())
//#define G_NETWORK_ADDRESS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_NETWORK_ADDRESS, GNetworkAddress))
//#define G_NETWORK_ADDRESS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_NETWORK_ADDRESS, GNetworkAddressClass))
//#define G_IS_NETWORK_ADDRESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_NETWORK_ADDRESS))
//#define G_IS_NETWORK_ADDRESS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_NETWORK_ADDRESS))
//#define G_NETWORK_ADDRESS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_NETWORK_ADDRESS, GNetworkAddressClass))
//struct _GNetworkAddressClass GNetworkAddressClass;
struct _GNetworkAddressPrivate;
alias _GNetworkAddressPrivate* GNetworkAddressPrivate;
struct GNetworkAddress {
GObject parent_instance;
/*< private >*/
GNetworkAddressPrivate *priv;
};
struct GNetworkAddressClass {
GObjectClass parent_class;
};
GType g_network_address_get_type () pure;
GSocketConnectable *g_network_address_new (const(gchar)* hostname,
guint16 port);
GSocketConnectable *g_network_address_parse (const(gchar)* host_and_port,
guint16 default_port,
GError **error);
GSocketConnectable *g_network_address_parse_uri (const(gchar)* uri,
guint16 default_port,
GError **error);
const(gchar)* g_network_address_get_hostname (GNetworkAddress *addr);
guint16 g_network_address_get_port (GNetworkAddress *addr);
const(gchar)* g_network_address_get_scheme (GNetworkAddress *addr);
|
D
|
a communication system linking different rooms within a building or ship etc
|
D
|
/home/smith/project/document_image/target/release/build/generic-array-a7b245b16850246f/build_script_build-a7b245b16850246f: /home/smith/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.4/build.rs
/home/smith/project/document_image/target/release/build/generic-array-a7b245b16850246f/build_script_build-a7b245b16850246f.d: /home/smith/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.4/build.rs
/home/smith/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.4/build.rs:
|
D
|
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/TailRecursiveSink.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Deprecated.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Cancelable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObserverType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Reactive.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/RecursiveLock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Errors.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Event.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/First.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/Platform.Linux.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/sunchuyue/Documents/test/RX_Product/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/TailRecursiveSink~partial.swiftmodule : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Deprecated.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Cancelable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObserverType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Reactive.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/RecursiveLock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Errors.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Event.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/First.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/Platform.Linux.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/sunchuyue/Documents/test/RX_Product/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/TailRecursiveSink~partial.swiftdoc : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Deferred.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Deprecated.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Enumerated.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Maybe.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/ObservableType+PrimitiveSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Debounce.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Reduce.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Range.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Merge.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Take.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Cancelable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Completable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/GroupedObservable.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Single.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AsSingle.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sample.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Throttle.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObserverType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Create.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Generate.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Reactive.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Materialize.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/AddRef.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Using.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Debug.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Catch.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Switch.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/StartWith.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/RecursiveLock.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Sink.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Optional.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Scan.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Do.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Map.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Skip.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Producer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Buffer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Timer.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DeprecationWarner.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Filter.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Never.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Error.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Errors.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ElementAt.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Concat.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Repeat.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Event.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/SwiftSupport/SwiftSupport.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/TakeLast.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Multicast.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/First.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Just.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Timeout.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Window.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Rx.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/Platform/Platform.Linux.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/GroupBy.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Delay.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/ToArray.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Empty.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.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/sunchuyue/Documents/test/RX_Product/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
// runall.exe executable sits in the ..\Delivery\apps directory and will iterate through each
// project sub folder with xx_xx_project by:
// 1) change directory into that sub project
// 2) run dub command to build and then that project
// 3) change directory back into the apps directory
//
module runall;
import std.file : isDir, getcwd, dirEntries, SpanMode, chdir;
import std.stdio;
import std.algorithm.comparison : cmp;
import std.process : Config, spawnProcess, wait, spawnShell, execute;
import std.regex: regex, matchFirst;
import core.stdc.stdlib: exit;
void main(char[][] args)
{
string fixedLocation = getcwd(); // use this as a fixed location to use to find other files relative to this position.
writeln("runall.exe is in present working directory: ", fixedLocation);
// Iterate the current directory in breadth
foreach (string dir; dirEntries("", SpanMode.shallow))
{
auto m = matchFirst(dir, regex(`^\d\d_`)); // \d\d matches any unicode digit at beginning of directory name
if (isDir(dir) && !m.empty) // must be a directory with name begining xx_ where x = [0..9]
{
writeln("Directory: ", dir);
string binDir = dir;
chdir(binDir); // go down into the project subdirectory
writeln("present working subdirectory: ", getcwd());
version(Windows)
{
// string compilePath = fixedLocation ~ `\..\windows\compilers_and_utilities\\`;
// the --compiler argument can either be path\to\compiler\<compiler> or just
// <compiler> where the path is defined in the PATH environment variable
// string compiler = "dmd"; // gcc or ldc
// import std.datetime.systime;
// writeln("timestamp before spawnShell = ", Clock.currTime());
// auto pid = spawnShell(`..\duball.exe run --compiler="` ~ compiler ~ `" --arch=x86_64 --force`);
auto pid = spawnShell(`..\duball.exe run --compiler=dmd --arch=x86_64 --force`);
//auto pid = spawnShell(`time /T`);
}
else // OSX or Linux
{
auto pid = spawnShell(`../duball run --arch=x86_64 --force`);
}
wait(pid);
scope(exit)
{
auto exitCode = wait(pid);
writeln("myapp exited with code ", exitCode);
}
chdir(".."); // go up to the project
}
//string lineIn;
//writeln("Enter to continue");
//readf(" %s\n", &lineIn); // ← \n at the end
// kyle = execute(["pause"]);
//auto pid = spawnShell("pause");
//wait(pid);
// https://forum.dlang.org/thread/vkxhtvukjomsnschxain@forum.dlang.org
writeln("Press Enter key to continue or Q/q to quit");
char c;
readf("%c", &c);
if ((c == 'Q') || (c == 'q'))
{
exit(0);
}
}
}
|
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_sput_boolean_15.java
.class public dot.junit.opcodes.sput_boolean.d.T_sput_boolean_15
.super dot/junit/opcodes/sput_boolean/d/T_sput_boolean_1
.method public <init>()V
.limit regs 1
invoke-direct {v0}, dot/junit/opcodes/sput_boolean/d/T_sput_boolean_1/<init>()V
return-void
.end method
.method public run()V
.limit regs 3
const/16 v1, 1
sput-boolean v1, dot.junit.opcodes.sput_boolean.d.T_sput_boolean_1.st_pvt1 Z
return-void
.end method
|
D
|
module sketchup_api.model.texture;
import sketchup_api.common; // SUResult
import sketchup_api.model.defs;
//import sketchup_api.geom;
import sketchup_api.color;
import sketchup_api.defs; // SUStringRef
extern (C):
SUEntityRef SUTextureToEntity (SUTextureRef texture);
SUTextureRef SUTextureFromEntity (SUEntityRef entity);
SUResult SUTextureCreateFromImageData (
SUTextureRef* texture,
size_t width,
size_t height,
size_t bits_per_pixel,
const(SUByte)* pixel_data);
SUResult SUTextureCreateFromImageRep (
SUTextureRef* texture,
SUImageRepRef image);
SUResult SUTextureCreateFromFile (
SUTextureRef* texture,
const(char)* file_path,
double s_scale,
double t_scale);
SUResult SUTextureRelease (SUTextureRef* texture);
SUResult SUTextureGetDimensions (
SUTextureRef texture,
size_t* width,
size_t* height,
double* s_scale,
double* t_scale);
SUResult SUTextureGetImageDataSize (
SUTextureRef texture,
size_t* data_size,
size_t* bits_per_pixel);
SUResult SUTextureGetImageData (
SUTextureRef texture,
size_t data_size,
SUByte* pixel_data);
SUResult SUTextureGetImageRep (SUTextureRef texture, SUImageRepRef* image);
SUResult SUTextureWriteToFile (SUTextureRef texture, const(char)* file_path);
SUResult SUTextureSetFileName (SUTextureRef texture, const(char)* name);
SUResult SUTextureGetFileName (SUTextureRef texture, SUStringRef* file_name);
SUResult SUTextureGetUseAlphaChannel (
SUTextureRef texture,
bool* alpha_channel_used);
SUResult SUTextureGetAverageColor (SUTextureRef texture, SUColor* color_val);
SUResult SUTextureGetColorizedImageRep (
SUTextureRef texture,
SUImageRepRef* image_rep);
SUResult SUTextureWriteOriginalToFile (
SUTextureRef texture,
const(char)* file_path);
|
D
|
/**
* Copyright: (c) 2005-2009 Eric Poggel
* Authors: Eric Poggel
* License: <a href="lgpl3.txt">LGPL v3</a>
*/
module yage.scene.light;
import tango.math.Math;
import yage.core.all;
import yage.resource.graphics.material;
import yage.scene.node;
import yage.scene.scene;
import yage.system.graphics.probe;
import yage.scene.camera;
import yage.system.log;
/**
* LightNodes are Nodes that emit light.
* Opengl hardware lights are used by default, but shaders can be used to go
* beyond their capabilities.
*
* All color values are floating point in the range from 0 to 1 and in the order
* of red, green, blue and alpha. For example,
* (1, .5, 0, 0) is orange, since it is 100% red and 50% green.
*
* Spotlights default to shining in the -z direction (the same as the default looking direction of the camera).
* They can be rotated by rotating the Node itself.
* */
class LightNode : Node
{
/// Values that can be assigned to type.
enum Type
{ DIRECTIONAL, /// A light that shines in one direction through the entire scene
POINT, /// A light that shines outward in all directions
SPOT /// A light that emits light outward from a point in a single direction
}
Type type = Type.POINT; /// The type of light (directional, point, or spot)
Color ambient = {r:0, g:0, b:0, a:255}; /// Ambient color of the light. Defaults to black
Color diffuse = {r:255, g:255, b:255, a:255}; /// Diffuse color of the light. Defaults to 100% white.
Color specular= {r:255, g:255, b:255, a:255}; /// Specular color of the light, defaults to 100% white.
/**
* Spotlight angle of the light, in radians.
* If the light type is a spotlight, this is the angle of the light cone. */
float spotAngle = 45.0 * PI/180;
/**
* Spotlight exponent of the light.
* If the light type is a spotlight, this is how focussed the light is.
* Larger values produce brighter concentrations of light in the center of the circle
* A value of 0 provides an even distribution of light across the entire spot circle. */
float spotExponent = 0;
// properties I wish were private or would go away
public float quadAttenuation = 1.52e-5; // (1/256)^2, radius of 256, arbitrary
public int intensity; // Used internally as a temp variable to sort lights by intensity for each node.
public Vec3f cameraSpacePosition; // Used internally to store the position in camera-space.
this()
{ // default constructor required for clone.
}
this(Node parent) /// ditto
{ super(parent);
}
/**
* Make a duplicate of this node, unattached to any parent Node.
* Params:
* children = recursively clone children (and descendants) and add them as children to the new Node.
* Returns: The cloned Node. */
alias Node.clone clone; // TODO learn why GDC said i needed this
LightNode clone(bool children=false, LightNode destination=null)
{ auto result = cast(LightNode)super.clone(children, destination);
result.quadAttenuation = quadAttenuation;
result.type = type;
result.ambient = ambient;
result.diffuse = diffuse;
result.specular = specular;
result.spotAngle = spotAngle;
result.spotExponent = spotExponent;
return result;
}
/** Get / set the radius of the light. Default value is 256.
* Quadratic attenuation is used, so the brightness of an object is Radius^2/distance^2,
* Using this formula, a brightness of 1.0 or higher is 100% bright.*/
float getLightRadius()
{ return tango.math.Math.sqrt(1/quadAttenuation);
}
void setLightRadius(float radius) /// ditto
{ quadAttenuation = 1.0/(radius*radius);
}
/**
* Get the quadratic attenuation calculated from the light's radius. */
float getQuadraticAttenuation()
{ return quadAttenuation;
}
/**
* Return the RGB brightness this light contributes to a given point in 3D space, relative to this light's scene.
* OpenGl's fixed-function, traditional lighting calculations are used.
* The diffuse and ambient values of the light are taken into effect,
* while the specular is not, since it depends on the viewing angle of the camera.
* Also note that this does not take into account shadows or anything of that nature.
* Params:
* point = 3D coordinates of the point to be evaluated.
* margin = For spotlights, setting a margin cause this function to return brightest point inside
* of that radius, instead of the default of a single point.
* This is used internally for nodes that have a spotlight shine on one corner of them
* but not at all at their center.*/
Color getBrightness(Vec3f point, float margin=0.0)
{
// Directional lights are easy, since they don't depend on which way the light points
// or how far away the light is.
if (type==Type.DIRECTIONAL)
return Color(ambient.r+diffuse.r, ambient.g+diffuse.g, ambient.b+diffuse.b);
// light_direction is vector from light to point
Vec3f light_direction = point - Vec3f(getWorldTransform().v[12..15]);
// distance squared to light
float d2 = light_direction.x*light_direction.x + light_direction.y*light_direction.y + light_direction.z*light_direction.z;
float intensity = d2!=0 ? 1/(quadAttenuation*d2) : 1; // quadratic attenuation.
bool add_ambient = true; // Only if this node is in the spotlight
if (type==Type.SPOT)
{
float d = sqrt(d2); // distance
if (d==0)
d=.000000001; // arbitrarily small
// transform_abs.v[8..11] is the opengl default spotlight direction (0, 0, 1),
// rotated by the node's rotation. This is opposite the default direction of cameras
//float spotDot = Vec3f(transform_abs.v[8..11]).normalize().dot(light_direction/d);
float spotDot = getRotation().toAxis().normalize().dot(light_direction/d);
// Extra spotlight angle (in radians) to satisfy margin distance
float extraAngle = margin>0 ? atan2(margin, d) : 0;
float cutoff = cos(spotAngle + extraAngle);
if (spotDot > cutoff) // TODO some surfaces that should receive light don't.
{ // Normally this would work except it doesn't take into account the margin.
//intensity *= pow(spotDot, spotExponent);
// So instead we just ignore the spotExponent. This gives an incorrect result for spotlights with
// a spot exponent other than 1, but it still works well enough for VisibleNode.getLights.
}
else
{ intensity = 0; // if the spotlight isn't shining on this point.
add_ambient = false;
} }
// color will store the RGB color values of the intensity.
assert(intensity != float.infinity);
float scale = (1f/255f) * intensity;
Vec3f color = Vec3f(diffuse.r*scale, diffuse.g*scale, diffuse.b*scale);
if (add_ambient)
color += ambient.vec3f; // diffuse scaled by intensity plus ambient.
/*
if (color.x>=1) color.x=1;
if (color.y>=1) color.y=1;
if (color.z>=1) color.z=1;
*/
return Color(color);
}
/*
* This should be protected, but making it anything but public causes it not to be called.
* Perhaps it's a dmd bug? */
override public void ancestorChange(Node old_ancestor)
{ super.ancestorChange(old_ancestor); // must be called first so scene is set.
Scene old_scene = old_ancestor ? old_ancestor.getScene() : null;
if (scene !is old_scene)
{ if (old_scene)
old_ancestor.getScene().removeLight(this);
if (scene)
scene.addLight(this);
}
}
}
|
D
|
instance BDT_1066_Bandit_L(Npc_Default)
{
name[0] = NAME_Bandit;
guild = GIL_BDT;
id = 1066;
voice = 1;
flags = 0;
npcType = NPCTYPE_AMBIENT;
aivar[AIV_EnemyOverride] = TRUE;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Bau_Mace);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_Normal04,BodyTex_N,ITAR_Leather_L);
Mdl_SetModelFatness(self,0);
Mdl_ApplyOverlayMds(self,"Humans_Relaxed.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,30);
daily_routine = Rtn_Start_1066;
};
func void Rtn_Start_1066()
{
TA_Stand_Drinking(0,0,12,0,"NW_CASTLEMINE_TOWER_B");
TA_Smalltalk(12,0,0,0,"NW_CASTLEMINE_TOWER_B");
};
|
D
|
import std.stdio : writeln;
double average(int[] array) {
immutable initialLength = array.length;
double accumulator = 0.0;
while (array.length) {
accumulator += array[0];
array = array[1 .. $];
}
return accumulator / initialLength;
}
void main() {
int idx;
// while
idx = 0;
while (idx < 5) {
writeln("while with: ", idx);
idx++;
}
// do while
idx = 0;
do {
writeln("do while with: ", idx);
idx++;
} while (idx < 5);
// for
for (int i = 0; i < 5; i++) {
writeln("for with: ", i);
}
auto testers = [[5, 15],
[2, 3, 2, 3],
[3, 6, 2, 9]];
for (auto i = 0; i < testers.length; ++i) {
writeln("The average of ", testers[i], " = ", average(testers[i]));
}
}
|
D
|
module engine.core.engine.class_db;
import engine.core.utils.logger;
import engine.core.utils.singleton;
import engine.core.utils.array;
import engine.script.script_manager;
import engine.core.engine.engine;
struct SRegClass {
TypeInfo_Class classInfo;
}
class CClassDB : ASingleton!CClassDB {
private:
SRegClass[] registeredClasses;
CScriptManager scriptManager;
public:
this() {
scriptManager = getEngine().scriptManager;
}
void registerClass( T )() {
registerClassWithoutScript!T;
if ( scriptManager !is null ) {
scriptManager.registerClass!T;
}
}
void registerClassWithoutScript( T )() {
foreach ( SRegClass i; registeredClasses ) {
if ( i.classInfo == T.classinfo ) {
log.warning( T.stringof ~ " already registered" );
return;
}
}
SRegClass newClass;
newClass.classInfo = T.classinfo;
registeredClasses ~= newClass;
}
void unregisterClass( T )() {
foreach ( SRegClass i; registeredClasses ) {
if ( i.classInfo == T.classinfo ) {
removeElement( registeredClasses, i );
}
}
if ( scriptManager !is null ) {
scriptManager.unregisterClass!T;
}
}
Object newObject( string name ) {
foreach ( SRegClass i; registeredClasses ) {
if ( i.classInfo.name.split( "." )[$ - 1] == name ) {
return i.classInfo.create();
}
}
return null;
}
T newObject( T )( string name ) {
return cast( T )newObject( name );
}
}
CClassDB getClassDB() {
return CClassDB.get();
}
|
D
|
/**
Nanomsg Example: Filesend
*/
module nanomsg.examples.filesend;
import nanomsg;
import std.stdio;
import std.conv;
import std.file;
import std.string:toStringz;
///
enum NODE0 ="node0";
///
enum NODE1 ="node1";
///
int node0 (string xurl)
{
int sock = nn_socket (AF_SP, NN_PULL);
auto url=cast(char*)xurl;
assert(sock >= 0);
assert(nn_bind (sock, url) >= 0);
while (1)
{
char* buf = cast(char*)0;
int bytes = nn_recv (sock, &buf, NN_MSG, 0);
assert (bytes >= 0);
writefln("NODE0: RECEIVED %s bytes: \"%s\"", bytes,to!string(buf));
nn_freemsg (buf);
}
return 0;
}
///
int sendfile(string url, string filename)
{
auto msg=cast(char[])read(filename);
int sz_msg = cast(int)msg.length + 1; // '\0' too
int sock = nn_socket (AF_SP, NN_PUSH);
assert(sock >= 0);
assert(nn_connect(sock, url.toStringz) >= 0);
writefln("NODE1: SENDING \"%s\"", msg.to!string);
int bytes = nn_send(sock, msg.toStringz, sz_msg, 0);
assert(bytes == sz_msg);
return nn_shutdown(sock, 0);
}
///
int main (string[] argv)
{
if (argv.length>1)
{
if (NODE0==argv[1])
return node0(argv[2]);
else if (argv.length>2)
if (NODE1==argv[1])
return sendfile(argv[2], argv[3]);
} else
{
writefln("Usage: filesend %s|%s <URL> <ARG> ...'",NODE0, NODE1);
return 1;
}
return 0;
}
|
D
|
/*
REQUIRED_ARGS: -preview=in -preview=dip1000
TEST_OUTPUT:
---
fail_compilation/previewin.d(4): Error: function `previewin.takeFunction(void function(in real) f)` is not callable using argument types `(void function(real x) pure nothrow @nogc @safe)`
fail_compilation/previewin.d(4): cannot pass argument `__lambda1` of type `void function(real x) pure nothrow @nogc @safe` to parameter `void function(in real) f`
fail_compilation/previewin.d(5): Error: function `previewin.takeFunction(void function(in real) f)` is not callable using argument types `(void function(scope const(real) x) pure nothrow @nogc @safe)`
fail_compilation/previewin.d(5): cannot pass argument `__lambda2` of type `void function(scope const(real) x) pure nothrow @nogc @safe` to parameter `void function(in real) f`
fail_compilation/previewin.d(6): Error: function `previewin.takeFunction(void function(in real) f)` is not callable using argument types `(void function(ref scope const(real) x) pure nothrow @nogc @safe)`
fail_compilation/previewin.d(6): cannot pass argument `__lambda3` of type `void function(ref scope const(real) x) pure nothrow @nogc @safe` to parameter `void function(in real) f`
fail_compilation/previewin.d(15): Error: scope variable `arg` assigned to global variable `myGlobal`
fail_compilation/previewin.d(16): Error: scope variable `arg` assigned to global variable `myGlobal`
fail_compilation/previewin.d(17): Error: scope parameter `arg` may not be returned
fail_compilation/previewin.d(18): Error: scope variable `arg` assigned to `ref` variable `escape` with longer lifetime
fail_compilation/previewin.d(22): Error: returning `arg` escapes a reference to parameter `arg`
fail_compilation/previewin.d(22): perhaps annotate the parameter with `return`
---
*/
#line 1
void main ()
{
// No covariance without explicit `in`
takeFunction((real x) {});
takeFunction((const scope real x) {});
takeFunction((const scope ref real x) {});
tryEscape("Hello World"); // Yes by `tryEscape` is NG
}
void takeFunction(void function(in real) f);
// Make sure things cannot be escaped (`scope` is applied)
const(char)[] myGlobal;
void tryEscape(in char[] arg) @safe { myGlobal = arg; }
void tryEscape2(scope const char[] arg) @safe { myGlobal = arg; }
const(char)[] tryEscape3(in char[] arg) @safe { return arg; }
void tryEscape4(in char[] arg, ref const(char)[] escape) @safe { escape = arg; }
// Okay: value type
ulong[8] tryEscape5(in ulong[8] arg) @safe { return arg; }
// NG: Ref
ref const(ulong[8]) tryEscape6(in ulong[8] arg) @safe { return arg; }
|
D
|
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Port to the D programming language:
* Frank Benoit <benoit@tionex.de>
*******************************************************************************/
module org.eclipse.swt.widgets.ProgressBar;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTException;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.internal.win32.OS;
import org.eclipse.swt.widgets.Composite;
import java.lang.all;
/**
* Instances of the receiver represent an unselectable
* user interface object that is used to display progress,
* typically in the form of a bar.
* <dl>
* <dt><b>Styles:</b></dt>
* <dd>SMOOTH, HORIZONTAL, VERTICAL, INDETERMINATE</dd>
* <dt><b>Events:</b></dt>
* <dd>(none)</dd>
* </dl>
* <p>
* Note: Only one of the styles HORIZONTAL and VERTICAL may be specified.
* </p><p>
* IMPORTANT: This class is intended to be subclassed <em>only</em>
* within the SWT implementation.
* </p>
*
* @see <a href="http://www.eclipse.org/swt/snippets/#progressbar">ProgressBar snippets</a>
* @see <a href="http://www.eclipse.org/swt/examples.php">SWT Example: ControlExample</a>
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
*/
public class ProgressBar : Control {
alias Control.computeSize computeSize;
alias Control.windowProc windowProc;
static const int DELAY = 100;
static const int TIMER_ID = 100;
static const int MINIMUM_WIDTH = 100;
mixin(gshared!(`private static /+const+/ WNDPROC ProgressBarProc;`));
static const TCHAR[] ProgressBarClass = OS.PROGRESS_CLASS;
mixin(gshared!(`private static bool static_this_completed = false;`));
private static void static_this() {
if( static_this_completed ){
return;
}
synchronized {
if( static_this_completed ){
return;
}
WNDCLASS lpWndClass;
OS.GetClassInfo (null, ProgressBarClass.ptr, &lpWndClass);
ProgressBarProc = lpWndClass.lpfnWndProc;
/*
* Feature in Windows. The progress bar window class
* does not include CS_DBLCLKS. This means that these
* controls will not get double click messages such as
* WM_LBUTTONDBLCLK. The fix is to register a new
* window class with CS_DBLCLKS.
*
* NOTE: Screen readers look for the exact class name
* of the control in order to provide the correct kind
* of assistance. Therefore, it is critical that the
* new window class have the same name. It is possible
* to register a local window class with the same name
* as a global class. Since bits that affect the class
* are being changed, it is possible that other native
* code, other than SWT, could create a control with
* this class name, and fail unexpectedly.
*/
auto hInstance = OS.GetModuleHandle (null);
auto hHeap = OS.GetProcessHeap ();
lpWndClass.hInstance = hInstance;
lpWndClass.style &= ~OS.CS_GLOBALCLASS;
lpWndClass.style |= OS.CS_DBLCLKS;
int byteCount = (ProgressBarClass.length+1) * TCHAR.sizeof;
TCHAR* lpszClassName = cast(TCHAR*) OS.HeapAlloc (hHeap, OS.HEAP_ZERO_MEMORY, byteCount);
OS.MoveMemory (lpszClassName, ProgressBarClass.ptr, byteCount);
lpWndClass.lpszClassName = lpszClassName;
OS.RegisterClass (&lpWndClass);
OS.HeapFree (hHeap, 0, lpszClassName);
static_this_completed = true;
}
}
/**
* Constructs a new instance of this class given its parent
* and a style value describing its behavior and appearance.
* <p>
* The style value is either one of the style constants defined in
* class <code>SWT</code> which is applicable to instances of this
* class, or must be built by <em>bitwise OR</em>'ing together
* (that is, using the <code>int</code> "|" operator) two or more
* of those <code>SWT</code> style constants. The class description
* lists the style constants that are applicable to the class.
* Style bits are also inherited from superclasses.
* </p>
*
* @param parent a composite control which will be the parent of the new instance (cannot be null)
* @param style the style of control to construct
*
* @exception IllegalArgumentException <ul>
* <li>ERROR_NULL_ARGUMENT - if the parent is null</li>
* </ul>
* @exception SWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
* <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
* </ul>
*
* @see SWT#SMOOTH
* @see SWT#HORIZONTAL
* @see SWT#VERTICAL
* @see Widget#checkSubclass
* @see Widget#getStyle
*/
public this (Composite parent, int style) {
static_this();
super (parent, checkStyle (style));
}
override int callWindowProc (HWND hwnd, int msg, int wParam, int lParam) {
if (handle is null) return 0;
return OS.CallWindowProc (ProgressBarProc, hwnd, msg, wParam, lParam);
}
static int checkStyle (int style) {
style |= SWT.NO_FOCUS;
return checkBits (style, SWT.HORIZONTAL, SWT.VERTICAL, 0, 0, 0, 0);
}
override public Point computeSize (int wHint, int hHint, bool changed) {
checkWidget ();
int border = getBorderWidth ();
int width = border * 2, height = border * 2;
if ((style & SWT.HORIZONTAL) !is 0) {
width += OS.GetSystemMetrics (OS.SM_CXHSCROLL) * 10;
height += OS.GetSystemMetrics (OS.SM_CYHSCROLL);
} else {
width += OS.GetSystemMetrics (OS.SM_CXVSCROLL);
height += OS.GetSystemMetrics (OS.SM_CYVSCROLL) * 10;
}
if (wHint !is SWT.DEFAULT) width = wHint + (border * 2);
if (hHint !is SWT.DEFAULT) height = hHint + (border * 2);
return new Point (width, height);
}
override void createHandle () {
super.createHandle ();
startTimer ();
}
override int defaultForeground () {
return OS.GetSysColor (OS.COLOR_HIGHLIGHT);
}
/**
* Returns the maximum value which the receiver will allow.
*
* @return the maximum
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public int getMaximum () {
checkWidget ();
return OS.SendMessage (handle, OS.PBM_GETRANGE, 0, 0);
}
/**
* Returns the minimum value which the receiver will allow.
*
* @return the minimum
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public int getMinimum () {
checkWidget ();
return OS.SendMessage (handle, OS.PBM_GETRANGE, 1, 0);
}
/**
* Returns the single 'selection' that is the receiver's position.
*
* @return the selection
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public int getSelection () {
checkWidget ();
return OS.SendMessage (handle, OS.PBM_GETPOS, 0, 0);
}
/**
* Returns the state of the receiver. The value will be one of:
* <ul>
* <li>{@link SWT#NORMAL}</li>
* <li>{@link SWT#ERROR}</li>
* <li>{@link SWT#PAUSED}</li>
* </ul>
*
* @return the state
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.4
*/
public int getState () {
checkWidget ();
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
int state = OS.SendMessage (handle, OS.PBM_GETSTATE, 0, 0);
switch (state) {
case OS.PBST_NORMAL: return SWT.NORMAL;
case OS.PBST_ERROR: return SWT.ERROR;
case OS.PBST_PAUSED: return SWT.PAUSED;
default:
}
}
return SWT.NORMAL;
}
override void releaseWidget () {
super.releaseWidget ();
stopTimer ();
}
void startTimer () {
if ((style & SWT.INDETERMINATE) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if (OS.COMCTL32_MAJOR < 6 || (bits & OS.PBS_MARQUEE) is 0) {
OS.SetTimer (handle, TIMER_ID, DELAY, null);
} else {
OS.SendMessage (handle, OS.PBM_SETMARQUEE, 1, DELAY);
}
}
}
void stopTimer () {
if ((style & SWT.INDETERMINATE) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if (OS.COMCTL32_MAJOR < 6 || (bits & OS.PBS_MARQUEE) is 0) {
OS.KillTimer (handle, TIMER_ID);
} else {
OS.SendMessage (handle, OS.PBM_SETMARQUEE, 0, 0);
}
}
}
override void setBackgroundPixel (int pixel) {
if (pixel is -1) pixel = OS.CLR_DEFAULT;
OS.SendMessage (handle, OS.PBM_SETBKCOLOR, 0, pixel);
}
override void setForegroundPixel (int pixel) {
if (pixel is -1) pixel = OS.CLR_DEFAULT;
OS.SendMessage (handle, OS.PBM_SETBARCOLOR, 0, pixel);
}
/**
* Sets the maximum value that the receiver will allow. This new
* value will be ignored if it is not greater than the receiver's current
* minimum value. If the new maximum is applied then the receiver's
* selection value will be adjusted if necessary to fall within its new range.
*
* @param value the new maximum, which must be greater than the current minimum
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setMaximum (int value) {
checkWidget ();
int minimum = OS.SendMessage (handle, OS.PBM_GETRANGE, 1, 0);
if (0 <= minimum && minimum < value) {
OS.SendMessage (handle, OS.PBM_SETRANGE32, minimum, value);
}
}
/**
* Sets the minimum value that the receiver will allow. This new
* value will be ignored if it is negative or is not less than the receiver's
* current maximum value. If the new minimum is applied then the receiver's
* selection value will be adjusted if necessary to fall within its new range.
*
* @param value the new minimum, which must be nonnegative and less than the current maximum
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setMinimum (int value) {
checkWidget ();
int maximum = OS.SendMessage (handle, OS.PBM_GETRANGE, 0, 0);
if (0 <= value && value < maximum) {
OS.SendMessage (handle, OS.PBM_SETRANGE32, value, maximum);
}
}
/**
* Sets the single 'selection' that is the receiver's
* position to the argument which must be greater than or equal
* to zero.
*
* @param value the new selection (must be zero or greater)
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*/
public void setSelection (int value) {
checkWidget ();
/*
* Feature in Vista. When the progress bar is not in
* a normal state, PBM_SETPOS does not set the position
* of the bar when the selection is equal to the minimum.
* This is undocumented. The fix is to temporarily
* set the state to PBST_NORMAL, set the position, then
* reset the state.
*/
int /*long*/ state = 0;
bool fixSelection = false;
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
int /*long*/ minumum = OS.SendMessage (handle, OS.PBM_GETRANGE, 1, 0);
int /*long*/ selection = OS.SendMessage (handle, OS.PBM_GETPOS, 0, 0);
if (selection is minumum) {
fixSelection = true;
state = OS.SendMessage (handle, OS.PBM_GETSTATE, 0, 0);
OS.SendMessage (handle, OS.PBM_SETSTATE, OS.PBST_NORMAL, 0);
}
}
OS.SendMessage (handle, OS.PBM_SETPOS, value, 0);
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
if (fixSelection) OS.SendMessage (handle, OS.PBM_SETSTATE, state, 0);
}
}
/**
* Sets the state of the receiver. The state must be one of these values:
* <ul>
* <li>{@link SWT#NORMAL}</li>
* <li>{@link SWT#ERROR}</li>
* <li>{@link SWT#PAUSED}</li>
* </ul>
*
* @param state the new state
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
* @since 3.4
*/
public void setState (int state) {
checkWidget ();
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
switch (state) {
case SWT.NORMAL:
OS.SendMessage (handle, OS.PBM_SETSTATE, OS.PBST_NORMAL, 0);
break;
case SWT.ERROR:
OS.SendMessage (handle, OS.PBM_SETSTATE, OS.PBST_ERROR, 0);
break;
case SWT.PAUSED:
OS.SendMessage (handle, OS.PBM_SETSTATE, OS.PBST_PAUSED, 0);
break;
default:
}
}
}
override int widgetStyle () {
int bits = super.widgetStyle ();
if ((style & SWT.SMOOTH) !is 0) bits |= OS.PBS_SMOOTH;
if ((style & SWT.VERTICAL) !is 0) bits |= OS.PBS_VERTICAL;
if ((style & SWT.INDETERMINATE) !is 0) bits |= OS.PBS_MARQUEE;
return bits;
}
override String windowClass () {
return TCHARsToStr( ProgressBarClass );
}
override int windowProc () {
return cast(int) ProgressBarProc;
}
override LRESULT WM_GETDLGCODE (int wParam, int lParam) {
LRESULT result = super.WM_GETDLGCODE (wParam, lParam);
if (result !is null) return result;
/*
* Feature in Windows. The progress bar does
* not implement WM_GETDLGCODE. As a result,
* a progress bar takes focus and takes part
* in tab traversal. This behavior, while
* unspecified, is unwanted. The fix is to
* implement WM_GETDLGCODE to behave like a
* STATIC control.
*/
return new LRESULT (OS.DLGC_STATIC);
}
override LRESULT WM_SIZE (int wParam, int lParam) {
LRESULT result = super.WM_SIZE (wParam, lParam);
if (result !is null) return result;
/*
* Feature in Windows. When a progress bar with the style
* PBS_MARQUEE becomes too small, the animation (currently
* a small bar moving from right to left) does not have
* enough space to draw. The result is that the progress
* bar does not appear to be moving. The fix is to detect
* this case, clear the PBS_MARQUEE style and emulate the
* animation using PBM_STEPIT.
*
* NOTE: This only happens on Window XP.
*/
if ((style & SWT.INDETERMINATE) !is 0) {
if (OS.COMCTL32_MAJOR >= 6) {
forceResize ();
RECT rect;
OS.GetClientRect (handle, &rect);
int oldBits = OS.GetWindowLong (handle, OS.GWL_STYLE);
int newBits = oldBits;
if (rect.right - rect.left < MINIMUM_WIDTH) {
newBits &= ~OS.PBS_MARQUEE;
} else {
newBits |= OS.PBS_MARQUEE;
}
if (newBits !is oldBits) {
stopTimer ();
OS.SetWindowLong (handle, OS.GWL_STYLE, newBits);
startTimer ();
}
}
}
return result;
}
override LRESULT WM_TIMER (int wParam, int lParam) {
LRESULT result = super.WM_TIMER (wParam, lParam);
if (result !is null) return result;
if ((style & SWT.INDETERMINATE) !is 0) {
int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
if (OS.COMCTL32_MAJOR < 6 || (bits & OS.PBS_MARQUEE) is 0) {
if (wParam is TIMER_ID) {
OS.SendMessage (handle, OS.PBM_STEPIT, 0, 0);
}
}
}
return result;
}
}
|
D
|
// 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 analysis.allman;
import dparse.lexer;
import dparse.ast;
import analysis.base : BaseAnalyzer;
import dsymbol.scope_ : Scope;
import std.algorithm;
import std.range;
/**
Checks for the allman style (braces should be on their own line)
------------
if (param < 0) {
}
------------
should be
------------
if (param < 0)
{
}
------------
*/
class AllManCheck : BaseAnalyzer
{
///
this(string fileName, const(Token)[] tokens, bool skipTests = false)
{
super(fileName, null, skipTests);
foreach (i; 1 .. tokens.length - 1)
{
const curLine = tokens[i].line;
const prevTokenLine = tokens[i-1].line;
if (tokens[i].type == tok!"{" && curLine == prevTokenLine)
{
// ignore struct initialization
if (tokens[i-1].type == tok!"=")
continue;
// ignore duplicate braces
if (tokens[i-1].type == tok!"{" && tokens[i - 2].line != curLine)
continue;
// ignore inline { } braces
if (curLine != tokens[i + 1].line)
addErrorMessage(tokens[i].line, tokens[i].column, KEY, MESSAGE);
}
if (tokens[i].type == tok!"}" && curLine == prevTokenLine)
{
// ignore duplicate braces
if (tokens[i-1].type == tok!"}" && tokens[i - 2].line != curLine)
continue;
// ignore inline { } braces
if (!tokens[0 .. i].retro.until!(t => t.line != curLine).canFind!(t => t.type == tok!"{"))
addErrorMessage(tokens[i].line, tokens[i].column, KEY, MESSAGE);
}
}
}
enum string KEY = "dscanner.style.allman";
enum string MESSAGE = "Braces should be on their own line";
}
unittest
{
import analysis.config : StaticAnalysisConfig, Check, disabledConfig;
import analysis.helpers : assertAnalyzerWarnings;
import std.format : format;
import std.stdio : stderr;
StaticAnalysisConfig sac = disabledConfig();
sac.allman_braces_check = Check.enabled;
// check common allman style violation
assertAnalyzerWarnings(q{
void testAllman()
{
while (true) { // [warn]: %s
auto f = 1;
}
do { // [warn]: %s
auto f = 1;
} while (true);
// inline braces are OK
while (true) { auto f = 1; }
if (true) { // [warn]: %s
auto f = 1;
}
if (true)
{
auto f = 1; } // [warn]: %s
if (true) { auto f = 1; }
foreach (r; [1]) { // [warn]: %s
}
foreach (r; [1]) { }
foreach_reverse (r; [1]) { // [warn]: %s
}
foreach_reverse (r; [1]) { }
for (int i = 0; i < 10; i++) { // [warn]: %s
}
for (int i = 0; i < 10; i++) { }
// nested check
while (true) { // [warn]: %s
while (true) { // [warn]: %s
auto f = 1;
}
}
}
}c.format(
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
AllManCheck.MESSAGE,
), sac);
// check struct initialization
assertAnalyzerWarnings(q{
unittest
{
struct Foo { int a; }
Foo foo = {
a: 1;
};
}
}, sac);
// allow duplicate braces
assertAnalyzerWarnings(q{
unittest
{{
}}
}, sac);
stderr.writeln("Unittest for Allman passed.");
}
|
D
|
// This file is generated from text files from GLEW.
// See copyright in src/lib/gl/gl.d (BSD/MIT like).
module lib.gl.core.gl11;
import lib.gl.types;
bool GL_VERSION_1_1;
const GL_PROXY_TEXTURE_1D = 0x8063;
const GL_PROXY_TEXTURE_2D = 0x8064;
const GL_TEXTURE_PRIORITY = 0x8066;
const GL_TEXTURE_RESIDENT = 0x8067;
const GL_TEXTURE_BINDING_1D = 0x8068;
const GL_TEXTURE_BINDING_2D = 0x8069;
const GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
const GL_ALPHA4 = 0x803B;
const GL_ALPHA8 = 0x803C;
const GL_ALPHA12 = 0x803D;
const GL_ALPHA16 = 0x803E;
const GL_LUMINANCE4 = 0x803F;
const GL_LUMINANCE8 = 0x8040;
const GL_LUMINANCE12 = 0x8041;
const GL_LUMINANCE16 = 0x8042;
const GL_LUMINANCE4_ALPHA4 = 0x8043;
const GL_LUMINANCE6_ALPHA2 = 0x8044;
const GL_LUMINANCE8_ALPHA8 = 0x8045;
const GL_LUMINANCE12_ALPHA4 = 0x8046;
const GL_LUMINANCE12_ALPHA12 = 0x8047;
const GL_LUMINANCE16_ALPHA16 = 0x8048;
const GL_INTENSITY = 0x8049;
const GL_INTENSITY4 = 0x804A;
const GL_INTENSITY8 = 0x804B;
const GL_INTENSITY12 = 0x804C;
const GL_INTENSITY16 = 0x804D;
const GL_R3_G3_B2 = 0x2A10;
const GL_RGB4 = 0x804F;
const GL_RGB5 = 0x8050;
const GL_RGB8 = 0x8051;
const GL_RGB10 = 0x8052;
const GL_RGB12 = 0x8053;
const GL_RGB16 = 0x8054;
const GL_RGBA2 = 0x8055;
const GL_RGBA4 = 0x8056;
const GL_RGB5_A1 = 0x8057;
const GL_RGBA8 = 0x8058;
const GL_RGB10_A2 = 0x8059;
const GL_RGBA12 = 0x805A;
const GL_RGBA16 = 0x805B;
const GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
const GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
const GL_ALL_CLIENT_ATTRIB_BITS = 0xFFFFFFFF;
const GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF;
extern(System):
void function(GLsizei,GLuint*) glGenTextures;
void function(GLsizei,GLuint*) glDeleteTextures;
void function(GLenum,GLuint) glBindTexture;
void function(GLsizei,GLuint*,GLclampf*) glPrioritizeTextures;
GLboolean function(GLsizei,GLuint*,GLboolean*) glAreTexturesResident;
GLboolean function(GLuint) glIsTexture;
void function(GLenum,GLint,GLint,GLsizei,GLenum,GLenum,GLvoid*) glTexSubImage1D;
void function(GLenum,GLint,GLint,GLint,GLsizei,GLsizei,GLenum,GLenum,GLvoid*) glTexSubImage2D;
void function(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLint) glCopyTexImage1D;
void function(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLsizei,GLint) glCopyTexImage2D;
void function(GLenum,GLint,GLint,GLint,GLint,GLsizei) glCopyTexSubImage1D;
void function(GLenum,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei) glCopyTexSubImage2D;
void function(GLint,GLenum,GLsizei,GLvoid*) glVertexPointer;
void function(GLenum,GLsizei,GLvoid*) glNormalPointer;
void function(GLint,GLenum,GLsizei,GLvoid*) glColorPointer;
void function(GLenum,GLsizei,GLvoid*) glIndexPointer;
void function(GLint,GLenum,GLsizei,GLvoid*) glTexCoordPointer;
void function(GLsizei,GLvoid*) glEdgeFlagPointer;
void function(GLenum,GLvoid**) glGetPointerv;
void function(GLint) glArrayElement;
void function(GLenum,GLint,GLsizei) glDrawArrays;
void function(GLenum,GLsizei,GLenum,GLvoid*) glDrawElements;
void function(GLenum,GLsizei,GLvoid*) glInterleavedArrays;
|
D
|
public import gpointer;
struct GList
{
gpointer data;
GList *_next;
GList *_prev;
GList *
next()
{
return this._next;
}
}
extern (C)
{
void
g_list_free(GList *list);
}
|
D
|
func void B_InsertInExtremo()
{
Wld_InsertNpc(InExtremo_DrPymonte,"OCR_IE_PYMONTE");
Wld_InsertNpc(InExtremo_TheFlail,"OCR_IE_FLAIL");
Wld_InsertNpc(InExtremo_ThomasTheForger,"OCR_IE_THOMAS");
Wld_InsertNpc(InExtremo_Unicorn,"OCR_IE_UNICORN");
Wld_InsertNpc(InExtremo_YellowPfeiffer,"OCR_IE_PFEIFFER");
Wld_InsertNpc(InExtremo_Lutter,"OCR_IE_LUTTER");
Wld_InsertNpc(InExtremo_Flex,"OCR_IE_FLEX");
Wld_InsertNpc(IE_397_Announcer,"OCR_AUDIENCE_02");
Wld_InsertNpc(Charlotte,"OCR_AUDIENCE_03");
Wld_InsertNpc(IEFan1,"OCR_CROWD_01");
Wld_InsertNpc(IEFan2,"OCR_CROWD_02");
Wld_InsertNpc(IEFan3,"OCR_CROWD_03");
Wld_InsertNpc(IEFan4,"OCR_CROWD_04");
};
func void B_KillInExtremo()
{
B_ExchangeRoutine(InExtremo_DrPymonte,"off");
B_ExchangeRoutine(InExtremo_TheFlail,"off");
B_ExchangeRoutine(InExtremo_ThomasTheForger,"off");
B_ExchangeRoutine(InExtremo_Unicorn,"off");
B_ExchangeRoutine(InExtremo_YellowPfeiffer,"off");
B_ExchangeRoutine(InExtremo_Lutter,"off");
B_ExchangeRoutine(InExtremo_Flex,"off");
B_ExchangeRoutine(IE_397_Announcer,"off");
B_ExchangeRoutine(Charlotte,"off");
B_ExchangeRoutine(IEFan1,"off");
B_ExchangeRoutine(IEFan2,"off");
B_ExchangeRoutine(IEFan3,"off");
B_ExchangeRoutine(IEFan4,"off");
B_ExchangeRoutine(Vlk_580_Grim,"start");
};
func void B_InExtremoStartMusic()
{
Wld_SendTrigger("INEXTREMO_IE");
Wld_SendTrigger("INEXTREMO_MUSIK");
InExtremoPlaying = TRUE;
};
func void B_InExtremoStopMusic()
{
Wld_SendUntrigger("INEXTREMO_MUSIK");
Wld_SendUntrigger("INEXTREMO_IE");
InExtremoPlaying = FALSE;
};
|
D
|
//-------- Spell Commands --------
// SPL_DONTINVEST = 0; // Es können keine weiteren Manapunkte investiert werden. Erst durch CTRL loslassen geht der Spell ab
// SPL_RECEIVEINVEST = 1; // Wirkung durchgeführt, es können weitere Invest kommen, zB.bei Heal nach jedem Pöppel
// SPL_SENDCAST = 2; // Starte den Zauber-Effekt (wie CTRL loslassen), automatischer Abbruch
// SPL_SENDSTOP = 3; // Beende Zauber ohne Effekt
// SPL_NEXTLEVEL = 4; // setze den Spruch auf den nächsten Level
func int Spell_Logic_IceCube(var int manaInvested)
{
//PrintDebugNpc (PD_MAGIC, "Spell_Logic_IceCube");
Correct_ScrollMana(SPL_SENDCAST_ICECUBE,manaInvested);
if (manaInvested>= SPL_SENDCAST_ICECUBE)
{
Multicast();
return SPL_SENDCAST;
};
return SPL_NEXTLEVEL;
};
|
D
|
/*
TEST_OUTPUT:
---
fail_compilation/fail_contracts3.d(13): Error: function `fail_contracts3.D.foo` cannot have an in contract when overridden function `fail_contracts3.C.foo` does not have an in contract
---
*/
class C {
void foo(){}
}
class D : C {
override void foo()in{}do{}
}
|
D
|
module soup.Cache;
private import glib.ConstructionException;
private import glib.Str;
private import gobject.ObjectG;
private import soup.SessionFeatureIF;
private import soup.SessionFeatureT;
private import soup.c.functions;
public import soup.c.types;
/**
* #SoupCache implements a file-based cache for HTTP resources.
*/
public class Cache : ObjectG, SessionFeatureIF
{
/** the main Gtk struct */
protected SoupCache* soupCache;
/** Get the main Gtk struct */
public SoupCache* getCacheStruct(bool transferOwnership = false)
{
if (transferOwnership)
ownedRef = false;
return soupCache;
}
/** the main Gtk struct as a void* */
protected override void* getStruct()
{
return cast(void*)soupCache;
}
/**
* Sets our main struct and passes it to the parent class.
*/
public this (SoupCache* soupCache, bool ownedRef = false)
{
this.soupCache = soupCache;
super(cast(GObject*)soupCache, ownedRef);
}
// add the SessionFeature capabilities
mixin SessionFeatureT!(SoupCache);
/** */
public static GType getType()
{
return soup_cache_get_type();
}
/**
* Creates a new #SoupCache.
*
* Params:
* cacheDir = the directory to store the cached data, or %NULL
* to use the default one. Note that since the cache isn't safe to access for
* multiple processes at once, and the default directory isn't namespaced by
* process, clients are strongly discouraged from passing %NULL.
* cacheType = the #SoupCacheType of the cache
*
* Returns: a new #SoupCache
*
* Since: 2.34
*
* Throws: ConstructionException GTK+ fails to create the object.
*/
public this(string cacheDir, SoupCacheType cacheType)
{
auto __p = soup_cache_new(Str.toStringz(cacheDir), cacheType);
if(__p is null)
{
throw new ConstructionException("null returned by new");
}
this(cast(SoupCache*) __p, true);
}
/**
* Will remove all entries in the @cache plus all the cache files.
*
* Since: 2.34
*/
public void clear()
{
soup_cache_clear(soupCache);
}
/**
* Synchronously writes the cache index out to disk. Contrast with
* soup_cache_flush(), which writes pending cache
* <emphasis>entries</emphasis> to disk.
*
* You must call this before exiting if you want your cache data to
* persist between sessions.
*
* Since: 2.34.
*/
public void dump()
{
soup_cache_dump(soupCache);
}
/**
* This function will force all pending writes in the @cache to be
* committed to disk. For doing so it will iterate the #GMainContext
* associated with @cache's session as long as needed.
*
* Contrast with soup_cache_dump(), which writes out the cache index
* file.
*
* Since: 2.34
*/
public void flush()
{
soup_cache_flush(soupCache);
}
/**
* Gets the maximum size of the cache.
*
* Returns: the maximum size of the cache, in bytes.
*
* Since: 2.34
*/
public uint getMaxSize()
{
return soup_cache_get_max_size(soupCache);
}
/**
* Loads the contents of @cache's index into memory.
*
* Since: 2.34
*/
public void load()
{
soup_cache_load(soupCache);
}
/**
* Sets the maximum size of the cache.
*
* Params:
* maxSize = the maximum size of the cache, in bytes
*
* Since: 2.34
*/
public void setMaxSize(uint maxSize)
{
soup_cache_set_max_size(soupCache, maxSize);
}
}
|
D
|
// Author: Ivan Kazmenko (gassa@mail.ru)
module solution;
import std.algorithm, std.stdio, std.string;
void main ()
{
string s;
while ((s = readln.strip) != "")
{
if (s.startsWith ("Alice"))
{
writeln ("123");
continue;
}
auto a = new int [int.max / 9];
a[] = 1;
}
}
|
D
|
///////////////////////////////////////////////////////////////////////
// Info EXIT
///////////////////////////////////////////////////////////////////////
INSTANCE DIA_Babera_EXIT (C_INFO)
{
npc = BAU_934_Babera;
nr = 999;
condition = DIA_Babera_EXIT_Condition;
information = DIA_Babera_EXIT_Info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC INT DIA_Babera_EXIT_Condition()
{
return TRUE;
};
FUNC VOID DIA_Babera_EXIT_Info()
{
AI_StopProcessInfos (self);
};
///////////////////////////////////////////////////////////////////////
// Info Hallo
///////////////////////////////////////////////////////////////////////
instance DIA_Babera_HALLO (C_INFO)
{
npc = BAU_934_Babera;
nr = 1;
condition = DIA_Babera_HALLO_Condition;
information = DIA_Babera_HALLO_Info;
description = "Haló, krásná paní služebná.";
};
func int DIA_Babera_HALLO_Condition ()
{
return TRUE;
};
func void DIA_Babera_HALLO_Info ()
{
AI_Output (other, self, "DIA_Babera_HALLO_15_00"); //Haló, krásná paní služebná.
AI_Output (self, other, "DIA_Babera_HALLO_16_01"); //Pâestaŕ s tęmi sladkými âečičkami, hochu. Âekni, co chceš. Mám práci.
};
///////////////////////////////////////////////////////////////////////
// Info Wiesiehtsaus
///////////////////////////////////////////////////////////////////////
instance DIA_Babera_WIESIEHTSAUS (C_INFO)
{
npc = BAU_934_Babera;
nr = 2;
condition = DIA_Babera_WIESIEHTSAUS_Condition;
information = DIA_Babera_WIESIEHTSAUS_Info;
description = "Jak pokračujou polní práce?";
};
func int DIA_Babera_WIESIEHTSAUS_Condition ()
{
if (Npc_KnowsInfo(other, DIA_Babera_HALLO))
{
return TRUE;
};
};
func void DIA_Babera_WIESIEHTSAUS_Info ()
{
AI_Output (other, self, "DIA_Babera_WIESIEHTSAUS_15_00"); //Jak pokračujou polní práce?
AI_Output (self, other, "DIA_Babera_WIESIEHTSAUS_16_01"); //Podívej se na ty obrovský lány, co musíme obdęlávat, a bude ti to jasné.
AI_Output (self, other, "DIA_Babera_WIESIEHTSAUS_16_02"); //Hledáš snad rolnickou práci?
Info_ClearChoices (DIA_Babera_WIESIEHTSAUS);
if (hero.guild == GIL_NONE)
{
Info_AddChoice (DIA_Babera_WIESIEHTSAUS, "Ne. Vlastnę se chci stát žoldákem.", DIA_Babera_WIESIEHTSAUS_Nein );
Info_AddChoice (DIA_Babera_WIESIEHTSAUS, "Možná.", DIA_Babera_WIESIEHTSAUS_Vielleicht );
};
};
func void DIA_Babera_WIESIEHTSAUS_Vielleicht ()
{
AI_Output (other, self, "DIA_Babera_WIESIEHTSAUS_Vielleicht_15_00"); //Možná.
AI_Output (self, other, "DIA_Babera_WIESIEHTSAUS_Vielleicht_16_01"); //V tom pâípadę bys męl zajít za Sekobem, tím starým otrokáâem. Možná pro tebe nęco bude mít.
AI_Output (self, other, "DIA_Babera_WIESIEHTSAUS_Vielleicht_16_02"); //Taky můžeš samozâejmę zkusit Onarovu farmu na konci téhle dlouhé cesty.
AI_Output (self, other, "DIA_Babera_WIESIEHTSAUS_Vielleicht_16_03"); //Ale dej si pozor na žoldáky. Nemaj rádi cizince.
Info_ClearChoices (DIA_Babera_WIESIEHTSAUS);
};
func void DIA_Babera_WIESIEHTSAUS_Nein ()
{
AI_Output (other, self, "DIA_Babera_WIESIEHTSAUS_Nein_15_00"); //Ne. Vlastnę se chci stát žoldákem.
AI_Output (self, other, "DIA_Babera_WIESIEHTSAUS_Nein_16_01"); //Tak to tady jsi špatnę. Žoldáky najdeš na farmę velkostatkáâe.
Info_ClearChoices (DIA_Babera_WIESIEHTSAUS);
};
///////////////////////////////////////////////////////////////////////
// Info bronko
///////////////////////////////////////////////////////////////////////
instance DIA_Babera_BRONKO (C_INFO)
{
npc = BAU_934_Babera;
nr = 3;
condition = DIA_Babera_BRONKO_Condition;
information = DIA_Babera_BRONKO_Info;
description = "(Zeptat se na Bronca.)";
};
func int DIA_Babera_BRONKO_Condition ()
{
if (
(Npc_KnowsInfo(other, DIA_Bronko_Hallo))
&& (Npc_KnowsInfo(other, DIA_Babera_WIESIEHTSAUS))
)
{
return TRUE;
};
};
func void DIA_Babera_BRONKO_Info ()
{
AI_Output (other, self, "DIA_Babera_BRONKO_15_00"); //Âekni, ten hnusnej chlápek tamhle...
AI_Output (self, other, "DIA_Babera_BRONKO_16_01"); //To je Bronco. Co s ním?
AI_Output (other, self, "DIA_Babera_BRONKO_15_02"); //To je váš farmáâ?
AI_Output (self, other, "DIA_Babera_BRONKO_16_03"); //(smích) Tak tohle ti âekl? Náš farmáâ je Sekob. Bronco není nic než povaleč a budižkničemu. Ale je silnej jako bejk.
AI_Output (self, other, "DIA_Babera_BRONKO_16_04"); //Proto mu taky nikdo nic neâekne, když nic nedęlá.
if ((hero.guild == GIL_SLD) || (hero.guild == GIL_DJG))
{
AI_Output (self, other, "DIA_Babera_BRONKO_16_05"); //Nebojí se nikoho jiného než vás, žoldnéâů.
}
else
{
AI_Output (self, other, "DIA_Babera_BRONKO_16_06"); //Jedinej, kdo ho může pâimęt k práci, je nękdo od žoldáků. Bojí se jich.
};
Babera_BronkoKeinBauer = TRUE;
};
///////////////////////////////////////////////////////////////////////
// Info Rosi
///////////////////////////////////////////////////////////////////////
instance DIA_Babera_Rosi (C_INFO)
{
npc = BAU_934_Babera;
nr = 3;
condition = DIA_Babera_Rosi_Condition;
information = DIA_Babera_Rosi_Info;
description = "Kde je Rosi?";
};
func int DIA_Babera_Rosi_Condition ()
{
if (MIS_bringRosiBackToSekob == LOG_RUNNING)
&& (Kapitel >= 5)
&& (RosiFoundKap5 == FALSE)
{
return TRUE;
};
};
func void DIA_Babera_Rosi_Info ()
{
AI_Output (other, self, "DIA_Babera_Rosi_15_00"); //Kde je Rosi?
AI_Output (self, other, "DIA_Babera_Rosi_16_01"); //Už to tu nemohla dýl vydržet, tak odešla na sever, do lesa.
B_LogEntry (TOPIC_RosisFlucht,"Rosi uprchla ze Sekobova statku. Podle Babery míâila na sever, do lesů.");
B_LogEntry (TOPIC_bringRosiBackToSekob,"Rosi uprchla ze Sekobova statku. Podle Babery míâila na sever, do lesů.");
};
///////////////////////////////////////////////////////////////////////
// Info dustoerst
///////////////////////////////////////////////////////////////////////
instance DIA_Babera_DUSTOERST (C_INFO)
{
npc = BAU_934_Babera;
nr = 10;
condition = DIA_Babera_DUSTOERST_Condition;
information = DIA_Babera_DUSTOERST_Info;
permanent = TRUE;
description = "A kromę toho?";
};
func int DIA_Babera_DUSTOERST_Condition ()
{
if (Npc_KnowsInfo(other, DIA_Babera_BRONKO))
{
return TRUE;
};
};
func void DIA_Babera_DUSTOERST_Info ()
{
AI_Output (other, self, "DIA_Babera_DUSTOERST_15_00"); //A kromę toho?
AI_Output (self, other, "DIA_Babera_DUSTOERST_16_01"); //Mám práci.
AI_StopProcessInfos (self);
};
// ************************************************************
// PICK POCKET
// ************************************************************
INSTANCE DIA_Babera_PICKPOCKET (C_INFO)
{
npc = BAU_934_Babera;
nr = 900;
condition = DIA_Babera_PICKPOCKET_Condition;
information = DIA_Babera_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_20_Female;
};
FUNC INT DIA_Babera_PICKPOCKET_Condition()
{
C_Beklauen (20, 30);
};
FUNC VOID DIA_Babera_PICKPOCKET_Info()
{
Info_ClearChoices (DIA_Babera_PICKPOCKET);
Info_AddChoice (DIA_Babera_PICKPOCKET, DIALOG_BACK ,DIA_Babera_PICKPOCKET_BACK);
Info_AddChoice (DIA_Babera_PICKPOCKET, DIALOG_PICKPOCKET ,DIA_Babera_PICKPOCKET_DoIt);
};
func void DIA_Babera_PICKPOCKET_DoIt()
{
B_Beklauen ();
Info_ClearChoices (DIA_Babera_PICKPOCKET);
};
func void DIA_Babera_PICKPOCKET_BACK()
{
Info_ClearChoices (DIA_Babera_PICKPOCKET);
};
|
D
|
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/ArgumentConvertible.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/ArgumentDescription.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/ArgumentParser.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/Command.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/CommandRunner.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/CommandType.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/Commands.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/Error.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/Group.swift.o : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.swiftmodule : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.swiftdoc : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/Commander-Swift.h : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
/Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.swiftsourceinfo : /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Command.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandType.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Group.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Error.swift /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/checkouts/Commander/Sources/Commander/Commands.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/11.3/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/RswiftCore.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Spectre.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/Commander.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/BuildTools.build/module.modulemap /Users/aseldergadziev/Desktop/MyIdeas/BuildTools/.build/x86_64-apple-macosx/release/XcodeEdit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/Darwin.apinotes
|
D
|
/*******************************************************************************
* Copyright (c) 2006, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Brad Reynolds - bug 168153
*******************************************************************************/
module org.eclipse.core.databinding.observable.Realm;
import java.lang.all;
import org.eclipse.core.databinding.Binding;
import org.eclipse.core.databinding.util.Policy;
import org.eclipse.core.internal.databinding.Queue;
import org.eclipse.core.runtime.ISafeRunnable;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.SafeRunner;
import org.eclipse.core.runtime.Status;
/**
* A realm defines a context from which objects implementing {@link IObservable}
* must be accessed, and on which these objects will notify their listeners. To
* bridge between observables from different realms, subclasses of
* {@link Binding} can be used.
* <p>
* A block of code is said to be executing within a realm if calling
* {@link #isCurrent()} from that block returns true. Code reached by calling
* methods from that block will execute within the same realm, with the
* exception of methods on this class that can be used to execute code within a
* specific realm. Clients can use {@link #syncExeccast(Runnable)},
* {@link #asyncExeccast(Runnable)}, or {@link #execcast(Runnable)} to execute a
* runnable within this realm. Note that using {@link #syncExeccast(Runnable)} can
* lead to deadlocks and should be avoided if the current thread holds any
* locks.
* </p>
* <p>
* It is instructive to think about possible implementations of Realm: It can be
* based on executing on a designated thread such as a UI thread, or based on
* holding a lock. In the former case, calling syncExec on a realm that is not
* the current realm will execute the given runnable on a different thread (the
* designated thread). In the latter case, calling syncExec may execute the
* given runnable on the calling thread, but calling
* {@link #asyncExeccast(Runnable)} will execute the given runnable on a different
* thread. Therefore, no assumptions can be made about the thread that will
* execute arguments to {@link #asyncExeccast(Runnable)},
* {@link #syncExeccast(Runnable)}, or {@link #execcast(Runnable)}.
* </p>
* <p>
* It is possible that a block of code is executing within more than one realm.
* This can happen for implementations of Realm that are based on holding a lock
* but don't use a separate thread to run runnables given to
* {@link #syncExeccast(Runnable)}. Realm implementations of this kind should be
* appropriately documented because it increases the opportunity for deadlock.
* </p>
* <p>
* Some implementations of {@link IObservable} provide constructors which do not
* take a Realm argument and are specified to create the observable instance
* with the current default realm. The default realm can be set for the
* currently executing thread by using {@link #runWithDefault(Realm, Runnable)}.
* Note that the default realm does not have to be the current realm.
* </p>
* <p>
* Subclasses must override at least one of asyncExec()/syncExec(). For realms
* based on a designated thread, it may be easier to implement asyncExec and
* keep the default implementation of syncExec. For realms based on holding a
* lock, it may be easier to implement syncExec and keep the default
* implementation of asyncExec.
* </p>
*
* @since 1.0
*
* @see IObservable
*/
public abstract class Realm {
private static ThreadLocal defaultRealm_;
private static ThreadLocal defaultRealm(){
if( defaultRealm_ is null ){
synchronized{
if( defaultRealm_ is null ){
defaultRealm_ = new ThreadLocal();
}
}
}
return defaultRealm_;
}
this(){
workQueue = new Queue();
}
/**
* Returns the default realm for the calling thread, or <code>null</code>
* if no default realm has been set.
*
* @return the default realm, or <code>null</code>
*/
public static Realm getDefault() {
return cast(Realm) defaultRealm.get();
}
/**
* Sets the default realm for the calling thread, returning the current
* default thread. This method is inherently unsafe, it is recommended to
* use {@link #runWithDefault(Realm, Runnable)} instead. This method is
* exposed to subclasses to facilitate testing.
*
* @param realm
* the new default realm, or <code>null</code>
* @return the previous default realm, or <code>null</code>
*/
protected static Realm setDefault(Realm realm) {
Realm oldValue = getDefault();
defaultRealm.set(realm);
return oldValue;
}
/**
* @return true if the caller is executing in this realm. This method must
* not have side-effects (such as, for example, implicitly placing
* the caller in this realm).
*/
abstract public bool isCurrent();
private Thread workerThread;
Queue workQueue;
/**
* Runs the given runnable. If an exception occurs within the runnable, it
* is logged and not re-thrown. If the runnable implements
* {@link ISafeRunnable}, the exception is passed to its
* <code>handleException<code> method.
*
* @param runnable
*/
protected static void safeRun(Runnable runnable) {
ISafeRunnable safeRunnable;
if ( null !is cast(ISafeRunnable)runnable ) {
safeRunnable = cast(ISafeRunnable) runnable;
} else {
safeRunnable = new class(runnable) ISafeRunnable {
Runnable runnable_;
this(Runnable r){runnable_=r;}
public void handleException(Throwable exception) {
Policy
.getLog()
.log(
new Status(
IStatus.ERROR,
Policy.JFACE_DATABINDING,
IStatus.OK,
"Unhandled exception: " ~ exception.msg, exception)); //$NON-NLS-1$
}
public void run() {
runnable_.run();
}
};
}
SafeRunner.run(safeRunnable);
}
/**
* Causes the <code>run()</code> method of the runnable to be invoked from
* within this realm. If the caller is executing in this realm, the
* runnable's run method is invoked directly, otherwise it is run at the
* next reasonable opportunity using asyncExec.
* <p>
* If the given runnable is an instance of {@link ISafeRunnable}, its
* exception handler method will be called if any exceptions occur while
* running it. Otherwise, the exception will be logged.
* </p>
*
* @param runnable
*/
public void exec(Runnable runnable) {
if (isCurrent()) {
safeRun(runnable);
} else {
asyncExec(runnable);
}
}
/**
* Causes the <code>run()</code> method of the runnable to be invoked from
* within this realm at the next reasonable opportunity. The caller of this
* method continues to run in parallel, and is not notified when the
* runnable has completed.
* <p>
* If the given runnable is an instance of {@link ISafeRunnable}, its
* exception handler method will be called if any exceptions occur while
* running it. Otherwise, the exception will be logged.
* </p>
* <p>
* Subclasses should use {@link #safeRuncast(Runnable)} to run the runnable.
* </p>
*
* @param runnable
*/
public void asyncExec(Runnable runnable) {
synchronized (workQueue) {
ensureWorkerThreadIsRunning();
workQueue.enqueue(cast(Object)runnable);
workQueue.notifyAll();
}
}
/**
*
*/
private void ensureWorkerThreadIsRunning() {
if (workerThread is null) {
workerThread = new class() Thread {
public void run() {
try {
while (true) {
Runnable work = null;
synchronized (workQueue) {
while (workQueue.isEmpty()) {
workQueue.wait();
}
work = cast(Runnable) workQueue.dequeue();
}
syncExec(work);
}
} catch (InterruptedException e) {
// exit
}
}
};
workerThread.start();
}
}
/**
* Causes the <code>run()</code> method of the runnable to be invoked from
* within this realm at the next reasonable opportunity. This method is
* blocking the caller until the runnable completes.
* <p>
* If the given runnable is an instance of {@link ISafeRunnable}, its
* exception handler method will be called if any exceptions occur while
* running it. Otherwise, the exception will be logged.
* </p>
* <p>
* Subclasses should use {@link #safeRuncast(Runnable)} to run the runnable.
* </p>
* <p>
* Note: This class is not meant to be called by clients and therefore has
* only protected access.
* </p>
*
* @param runnable
*/
protected void syncExec(Runnable runnable) {
SyncRunnable syncRunnable = new SyncRunnable(runnable);
asyncExec(syncRunnable);
synchronized (syncRunnable) {
while (!syncRunnable.hasRun) {
try {
syncRunnable.wait();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
}
}
static class SyncRunnable : Runnable {
bool hasRun = false;
private Runnable runnable;
this(Runnable runnable) {
this.runnable = runnable;
}
public void run() {
try {
safeRun(runnable);
} finally {
synchronized (this) {
hasRun = true;
this.notifyAll();
}
}
}
void notifyAll(){
implMissing( __FILE__, __LINE__ );
}
void wait(){
implMissing( __FILE__, __LINE__ );
}
}
/**
* Sets the provided <code>realm</code> as the default for the duration of
* {@link Runnable#run()} and resets the previous realm after completion.
* Note that this will not set the given realm as the current realm.
*
* @param realm
* @param runnable
*/
public static void runWithDefault(Realm realm, Runnable runnable) {
Realm oldRealm = Realm.getDefault();
try {
defaultRealm.set(realm);
runnable.run();
} finally {
defaultRealm.set(oldRealm);
}
}
}
|
D
|
module menu.lastgame;
/*
* Stats after playing a level, displayed below the preview instead
* of a couple other stats that would normally show when you highlight a level
* or replay in the browser.
*/
import std.algorithm;
import std.format;
import optional;
import basics.globals;
import file.option;
import file.option : replayLastLevel;
import file.filename;
import file.trophy;
import game.harvest;
import game.replay;
import graphic.color;
import gui;
import file.language;
import hardware.sound;
import level.level;
class StatsAfterReplay : StatsAfterSingleplayer {
private:
Optional!(const Replay) _lastLoaded;
public:
this(Geom g, Harvest ha, Optional!(const Replay) lastLoaded)
{
_lastLoaded = lastLoaded;
super(g, ha);
}
protected:
override bool maySaveAutoReplay() const
{
return super.maySaveAutoReplay() && _harvest.replay != _lastLoaded;
}
}
class StatsAfterSingleplayer : StatsAfterGame {
private:
Optional!Label _youSaved;
Label _autoReplayDesc;
public:
this(Geom g, Harvest ha)
in {
assert (g.xl >= 60, "Stats need more space");
assert (g.yl >= 60, "Stats need more space");
}
body {
super(g, ha);
// Hack: In 640x480, the English text "Replay autosaved"
// was shortened to "Replay autosave.". To remedy, give some geoms of
// leeway both to the left and to the right outside of this's xlg.
_autoReplayDesc = new Label(new Geom(0, 20, xlg+15, 20, From.TOP));
addChild(_autoReplayDesc);
if (! solved)
return;
_youSaved = () {
auto ret = new Label(new Geom(0, 00, xlg, 40, From.TOP),
Lang.harvestYouSavedThisTime.translf(lixSaved));
addChild(ret);
return some(ret);
}();
saveTrophy();
if (saveAutoReplay()) {
_autoReplayDesc.text = Lang.harvestReplayAutoSaved.transl;
saveManuallyText = Lang.harvestReplaySaveManuallyToo.transl;
}
}
bool isOnlyFinalRowShown() const { return _youSaved.empty; }
protected:
/*
* undrawSelf: Explicitly undraw _autoReplayDesc and the manual button.
* (Normally, undrawing doesn't loop over children because painting over
* the (parent == this) is enough. This override doesn't paint over this.)
* Reason: Work around a drawing order curiosity in the singleplayer
* browser. For that movement to work, we need y-alignment
* from the top. The curiosity is: First, singleplayerbrowser's
* labels will be drawn, then we will be undrawn. We should not
* paint over the labels that have already been drawn, but we
* must paint over our own buttons.
*/
override void undrawSelf()
{
foreach (ch; children)
ch.undraw();
}
override bool maySaveAutoReplay() const
{
// This is the subclass of LastGameStats for singleplayer.
// This is also called after watching a saved netgame replay (bad OO).
// Never save those playbacks again.
return _harvest.replay.numPlayers == 1
// Don't autosave other people's singleplayer solutions again.
&& _harvest.replay.players.byValue.front.name == userName;
}
}
abstract class StatsAfterGame : Element {
private:
TextButton _saveManually;
Label _doneSavingManually;
Harvest _harvest; // We take ownership of last game's level and replay.
public:
this(Geom g, Harvest ha)
{
super(g);
_harvest = ha;
{
Geom newG() { return new Geom(0, 0, xlg, 20, From.BOT_RIG); }
_doneSavingManually = new Label(newG());
_saveManually = new TextButton(newG(),
Lang.harvestReplaySaveManuallyAtAll.transl);
}
_doneSavingManually.hide();
_saveManually.onExecute = () {
replay.saveManually(level);
_saveManually.hide();
_doneSavingManually.show();
_doneSavingManually.text = replay.manualSaveFilename.rootless;
playQuiet(Sound.DISKSAVE);
};
addChildren(_saveManually, _doneSavingManually);
}
@property const @nogc nothrow {
const(Level) level() { return _harvest.level; }
const(Replay) replay() { return _harvest.replay; }
int lixSaved() { return _harvest.trophy.lixSaved; }
bool solved() {
return _harvest.trophy.lixSaved >= _harvest.level.required;
}
}
protected:
abstract bool maySaveAutoReplay() const;
final void saveTrophy()
{
if (replay.players.length != 1
|| replay.players.byValue.front.name != file.option.userName)
return;
maybeImprove(_harvest.trophyKey, _harvest.trophy);
}
// Returns whether the Replay class decided to save.
final bool saveAutoReplay() const
{
if (! maySaveAutoReplay())
return false;
replay.saveAsAutoReplay(level);
return replay.shouldWeAutoSave;
}
@property string saveManuallyText(string s)
{
return _saveManually.text = s;
}
}
private:
// Work around Phobos 18615: Rebindable!_Date doesn't use _Date.opEquals.
// Date is immutable(_Date) and MutableDate is Rebindable!Date.
import file.date;
bool privateEqual(Date a, Date b) { return a == b; }
unittest {
Optional!Trophy old = Trophy(new Date("2000-01-01"),
new VfsFilename("./levels/a.txt"));
Level level = new Level();
level.built = new Date("2000-01-01");
assert (privateEqual(level.built, old.unwrap.built),
"should be equal if we explicitly compare two Dates, even"
~ " when one is Rebindable!_Date.");
}
|
D
|
/Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Indicator.o : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/Source.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/Resource.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Image.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/GIFAnimatedImage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/Storage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/DiskStorage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/MemoryStorage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/ImageCache.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/AuthenticationChallengeResponsable.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Runtime.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Delegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/SessionDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDownloaderDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/CallbackQueue.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageProgressive.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageDrawing.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/SessionDataTask.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageTransition.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherOptionsInfo.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDownloader.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/ImageDataProvider.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Placeholder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherManager.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImagePrefetcher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/WKInterfaceImage+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/UIButton+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/NSButton+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/ImageView+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageModifier.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/RequestModifier.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/RedirectHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Filter.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/CacheSerializer.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/FormatIndicatedCacheSerializer.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherError.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDataProcessor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageProcessor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Views/Indicator.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/SizeExtensions.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/ExtensionHelpers.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageFormat.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Result.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Views/AnimatedImageView.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Box.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/Accelerate.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/os.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/Accelerate.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/os.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/citiesListTask/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Kingfisher.h /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.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/citiesListTask/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Indicator~partial.swiftmodule : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/Source.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/Resource.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Image.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/GIFAnimatedImage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/Storage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/DiskStorage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/MemoryStorage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/ImageCache.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/AuthenticationChallengeResponsable.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Runtime.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Delegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/SessionDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDownloaderDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/CallbackQueue.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageProgressive.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageDrawing.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/SessionDataTask.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageTransition.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherOptionsInfo.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDownloader.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/ImageDataProvider.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Placeholder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherManager.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImagePrefetcher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/WKInterfaceImage+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/UIButton+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/NSButton+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/ImageView+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageModifier.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/RequestModifier.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/RedirectHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Filter.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/CacheSerializer.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/FormatIndicatedCacheSerializer.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherError.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDataProcessor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageProcessor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Views/Indicator.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/SizeExtensions.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/ExtensionHelpers.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageFormat.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Result.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Views/AnimatedImageView.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Box.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/Accelerate.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/os.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/Accelerate.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/os.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/citiesListTask/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Kingfisher.h /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.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/citiesListTask/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Indicator~partial.swiftdoc : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/Source.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/Resource.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Image.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/GIFAnimatedImage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/Storage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/DiskStorage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/MemoryStorage.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/ImageCache.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/AuthenticationChallengeResponsable.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Runtime.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Delegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/SessionDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDownloaderDelegate.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/CallbackQueue.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageProgressive.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageDrawing.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/SessionDataTask.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageTransition.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherOptionsInfo.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDownloader.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/ImageSource/ImageDataProvider.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Placeholder.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherManager.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImagePrefetcher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/WKInterfaceImage+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/UIButton+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/NSButton+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Extensions/ImageView+Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/Kingfisher.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageModifier.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/RequestModifier.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/RedirectHandler.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/Filter.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/CacheSerializer.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Cache/FormatIndicatedCacheSerializer.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/KingfisherError.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Networking/ImageDataProcessor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageProcessor.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Views/Indicator.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/SizeExtensions.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/ExtensionHelpers.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Image/ImageFormat.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Result.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Views/AnimatedImageView.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/Box.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/Accelerate.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/os.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/Accelerate.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/os.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/citiesListTask/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Kingfisher.h /Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.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
|
abstract class Agent {
int[2] location;
void die(Island island){
island[this.location[0]][this.location[1]].agent = null;
}
bool isValidDestination(int[2] destination){
return island[destination[0]][destination[1]].agent is null;
}
int[2][] getAdjacentTiles(){
return [[this.location[0] + 1, this.location[1]],
[this.location[0] - 1, this.location[1]],
[this.location[0], this.location[1] + 1],
[this.location[0], this.location[1] - 1]];
}
abstract void act(Island island);
}
|
D
|
module mir.internal.utility;
import std.traits;
import std.meta;
version(Have_mir)
import mir.ndslice.slice;
else
import std.experimental.ndslice.slice;
alias Iota(size_t j) = Iota!(0, j);
template Iota(size_t i, size_t j)
{
static assert(i <= j, "Iota: i should be less than or equal to j");
static if (i == j)
alias Iota = AliasSeq!();
else
alias Iota = AliasSeq!(i, Iota!(i + 1, j));
}
enum isSimpleSlice(S) = is(S : Slice!(N1, T1[]), size_t N1,T1) || is(S : Slice!(N2, T2*), size_t N2,T2);
template realType(C)
{
static if (isComplex!C)
alias realType = typeof(Unqual!C.init.re);
else
alias realType = Unqual!C;
}
template isComplex(C)
{
enum bool isComplex
= is(Unqual!C == creal)
|| is(Unqual!C == cdouble)
|| is(Unqual!C == cfloat);
}
//enum isSIMDVector(V) = is(V : __vector(F[N]), F, size_t N);
auto toDense(R)(Slice!(1, R) x)
{
assert(x.stride == 1);
auto ptr = x.ptr;
static if (isPointer!R)
{
return ptr[0 .. x.length];
}
else
{
return ptr.range[ptr.shift .. x.length + ptr.shift];
}
}
alias ConstData(S : Slice!(N, T*), size_t N, T) = Slice!(N, const(T)*);
alias ConstData(S : Slice!(N, T[]), size_t N, T) = Slice!(N, const(T)[]);
alias ConstData(S : T[], T) = const(T)[];
enum isVector(V) = is(V : T1[], T1) || is(V : Slice!(1, T2*), T2);
enum isMatrix(M) = is(M : Slice!(2, T*), T);
|
D
|
/**
* PNG file format image loader/exporter
*
* Copyright: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(LINK2 http://cattermole.co.nz, Richard Andrew Cattermole)
*
* Standards:
* Close to $(LINK2 http://www.w3.org/TR/PNG/, PNG 1.2) standard
*/
module std.experimental.graphic.image.fileformats.png;
import std.experimental.graphic.image.fileformats.defs : HeadersOnly, ImageNotLoadableException, ImageNotExportableException;
import std.experimental.graphic.image.interfaces;
import std.experimental.graphic.image.primitives : isImage, ImageColor;
import std.experimental.graphic.image.storage.base : ImageStorageHorizontal;
import std.experimental.allocator : IAllocator, theAllocator, makeArray, make, expandArray, dispose;
import std.experimental.graphic.color : isColor, RGB8, RGBA8;
import std.experimental.graphic.color.conv : convertColor;
import std.experimental.graphic.color.rgb : RGB;
import std.experimental.memory.managed;
import std.range : isInputRange, ElementType;
import std.datetime : DateTime;
import std.traits : isPointer;
///
alias HeadersOnlyPNGFileFormat = PNGFileFormat!HeadersOnly;
/**
* PNG file format representation
*
* Does not actually support color correction/alteration for the chunks: cHRM, sRGB, iCCP and gAMA.
* Use them once you have already performed the alterations upon IDAT and respective data.
*
* FIXME:
* Reliance on e.g. GC/processAllocator for when compressing/decompressing via zlib.
* Exporters use of filters 2, 3 and 4. Creates artifacts.
*/
struct PNGFileFormat(Color) if (isColor!Color || is(Color == HeadersOnly)) {
import std.bitmanip : bigEndianToNative, nativeToBigEndian;
import std.experimental.containers.map;
import std.experimental.containers.list;
///
IHDR_Chunk IHDR;
///
PLTE_Chunk* PLTE;
///
tRNS_Chunk* tRNS;
///
gAMA_Chunk* gAMA;
///
cHRM_Chunk* cHRM;
///
sRGB_Chunk* sRGB;
///
iCCP_Chunk* iCCP;
/// tEXt values are really latin-1 but treated as UTF-8 in D code, may originate from iEXt
managed!(Map!(PngTextKeywords, string)) tEXt = void;
/// zEXt values are really latin-1 but treated as UTF-8 in D code, may originate from iEXt
managed!(Map!(PngTextKeywords, string)) zEXt = void;
///
bKGD_Chunk* bKGD;
///
pPHs_Chunk* pPHs;
///
sBIT_Chunk* sBIT;
///
managed!(List!sPLT_Chunk) sPLT = void;
///
managed!(List!ushort) hIST = void;
///
DateTime* tIME;
static if (!is(Color == HeadersOnly)) {
/// Only available when Color is specified as not HeadersOnly
ImageStorage!Color value;
alias value this;
///
managed!(ubyte[]) toBytes() {
return performExport();
}
}
string toString() {
import std.conv : text;
char[] ret;
void addText(string[] toAdd...) {
import std.algorithm : sum, map;
size_t len = ret.length;
allocator.expandArray(ret, toAdd.map!`a.length`.sum);
foreach(v; toAdd) {
ret[len .. len + v.length] = v[];
len += v.length;
}
}
addText("PNGFileFormat!", Color.stringof, " [\n\tChunks: [\n");
addText("\t\t", IHDR.text, ",\n");
if (tEXt.keys.length > 0)
addText("\t\ttEXt(", tEXt.text, "),\n");
if (zEXt.keys.length > 0)
addText("\t\tzEXt(", tEXt.text, "),\n");
if (PLTE !is null)
addText("\t\t", (*PLTE).text, ",\n");
if (tRNS !is null)
addText("\t\t", (*tRNS).text, ",\n");
if (gAMA !is null)
addText("\t\t", (*gAMA).text, ",\n");
if (cHRM !is null)
addText("\t\t", (*cHRM).text, ",\n");
if (sRGB !is null)
addText("\t\t", (*sRGB).text, ",\n");
if (iCCP !is null)
addText("\t\t", (*iCCP).text, ",\n");
if (bKGD !is null)
addText("\t\t", (*bKGD).text, ",\n");
if (pPHs !is null)
addText("\t\t", (*pPHs).text, ",\n");
if (sBIT !is null)
addText("\t\t", (*sBIT).text, ",\n");
if (tIME !is null)
addText("\t\t", (*tIME).text, ",\n");
if (sPLT.length > 0)
addText("\t\t", sPLT.text, ",\n");
if (hIST.length > 0)
addText("\t\t", hIST.text, ",\n");
addText("\t]\n");
static if (!is(Color == HeadersOnly)) {
addText("\tData: [\n");
foreach(y; 0 .. value.height) {
addText("\t\t(y: ", y.text, " ");
foreach(x; 0 .. value.width) {
addText("(x: ", x.text, " ", value.getPixel(x, y).text, ")"); // FIXME: text allocates
if (x + 1 < value.width)
addText(", ");
}
addText(")");
if (y + 1 < value.height)
addText(",\n");
else
addText("\n");
}
addText("\t]\n");
}
addText("]");
return cast(string)ret;
}
@property {
///
IAllocator allocator() {
return alloc;
}
}
this(IAllocator allocator) @safe {
this.alloc = allocator;
tEXt = Map!(PngTextKeywords, string)(allocator);
zEXt = Map!(PngTextKeywords, string)(allocator);
sPLT = List!sPLT_Chunk(allocator);
hIST = List!ushort(allocator);
}
~this() @trusted {
if (PLTE !is null)
allocator.dispose(PLTE);
if (tRNS !is null)
allocator.dispose(tRNS);
if (gAMA !is null)
allocator.dispose(gAMA);
if (cHRM !is null)
allocator.dispose(cHRM);
if (sRGB !is null)
allocator.dispose(sRGB);
if (iCCP !is null)
allocator.dispose(iCCP);
if (bKGD !is null)
allocator.dispose(bKGD);
if (pPHs !is null)
allocator.dispose(pPHs);
if (sBIT !is null)
allocator.dispose(sBIT);
if (tIME !is null)
allocator.dispose(tIME);
static if (!is(Color == HeadersOnly)) {
if (IDAT !is null) {
allocator.dispose(IDAT.data);
allocator.dispose(IDAT);
allocator.dispose(value);
}
}
}
private {
IAllocator alloc;
void delegate(size_t width, size_t height) @trusted theImageAllocator;
static if (!is(Color == HeadersOnly)) {
IDAT_Chunk!Color* IDAT;
void allocateTheImage(ImageImpl)(size_t width, size_t height) @trusted {
static if (is(ImageImpl : ImageStorage!Color)) {
value = alloc.make!(ImageImpl)(width, height, alloc);
} else {
value = imageObject!(ImageImpl)(width, height, alloc);
}
}
} else {
// this gets checked for so many places, that it would be a pain to actually fix it there.
// instead declare it as an untyped pointer to emulate 'is null'.
// it should _never_ be assigned to!
void* IDAT = null;
}
/*
* The importer
*/
void performInput(IR)(IR input) @trusted {
import std.range;
ubyte[] buffer = allocator.makeArray!ubyte(1024 * 1024 * 8); // 8mb
ubyte popReadValue() {
scope(exit) {
if (input.empty)
throw allocator.make!ImageNotLoadableException("Input was not long enough");
input.popFront;
}
return input.front;
}
bool checkHasPNGText() {
if (!popReadValue == 0x89)
return false;
if (!popReadValue == 0x50)
return false;
if (!popReadValue == 0x4E)
return false;
if (!popReadValue == 0x47)
return false;
if (!popReadValue == 0x0D)
return false;
if (!popReadValue == 0x0A)
return false;
if (!popReadValue == 0x1A)
return false;
if (!popReadValue == 0x0A)
return false;
return true;
}
if (!checkHasPNGText()) {
throw allocator.make!ImageNotLoadableException("Input was not a PNG image");
}
ubyte[] readChunk(out char[4] name) {
import std.digest.crc : crc32Of, crcHexString;
import std.conv : to;
ubyte[4] tuintbuff;
// chunk length
tuintbuff[0] = popReadValue;
tuintbuff[1] = popReadValue;
tuintbuff[2] = popReadValue;
tuintbuff[3] = popReadValue;
uint chunkLength = bigEndianToNative!uint(tuintbuff);
// chunk name
name[0] = popReadValue;
name[1] = popReadValue;
name[2] = popReadValue;
name[3] = popReadValue;
// chunk data
if (buffer.length < chunkLength + 4)
allocator.expandArray(buffer, chunkLength + 4);
buffer[0 .. 4] = cast(ubyte[4])name[];
foreach(index; 4 .. chunkLength + 4) {
buffer[index] = popReadValue;
}
// get the CRC code for chunk
tuintbuff[0] = popReadValue;
tuintbuff[1] = popReadValue;
tuintbuff[2] = popReadValue;
tuintbuff[3] = popReadValue;
uint crcCode = bigEndianToNative!uint(tuintbuff);
// check the chunk has not been "tampered" with
// FIXME: probably allocated in crcHexString ew
if (crcHexString(crc32Of(buffer[0 .. chunkLength + 4])) != crcHexString((cast(ubyte*)&crcCode)[0 .. 4])) {
throw allocator.make!ImageNotLoadableException("CRC code did not match for chunk");
}
return buffer[4 .. chunkLength + 4];
}
WL: while(!input.empty) {
char[4] chunkName;
ubyte[] chunkData = readChunk(chunkName);
switch(chunkName) {
case "IHDR":
readChunk_IHDR(chunkData);
break;
case "cHRM":
// preceede IDAT, PLTE _only_
if (IDAT !is null || PLTE !is null)
throw allocator.make!ImageNotLoadableException("cHRM chunk must preceede IDAT or PLTE chunks");
else if (cHRM !is null) // must not have a iCCP chunk as well
throw allocator.make!ImageNotLoadableException("Only one cHRM chunk can exist");
readChunk_cHRM(chunkData);
break;
case "sRGB":
// preceede IDAT, PLTE _only_
if (IDAT !is null || PLTE !is null)
throw allocator.make!ImageNotLoadableException("sRGB chunk must preceede IDAT or PLTE chunks");
else if (iCCP !is null) // must not have a iCCP chunk as well
throw allocator.make!ImageNotLoadableException("sRGB chunk must not exist along with iCCP chunk");
else if (sRGB !is null) // must not have a sRGB chunk as well
throw allocator.make!ImageNotLoadableException("Only one sRGB chunk can exist");
readChunk_sRGB(chunkData);
break;
case "iCCP":
// preceede IDAT, PLTE _only_
if (IDAT !is null || PLTE !is null)
throw allocator.make!ImageNotLoadableException("iCCP chunk must preceede IDAT or PLTE chunks");
else if (sRGB !is null) // must not have a sRGB chunk as well
throw allocator.make!ImageNotLoadableException("iCCP chunk must not exist along with sRGB chunk");
else if (iCCP !is null) // must not have a iCCP chunk as well
throw allocator.make!ImageNotLoadableException("Only one iCCP chunk can exist");
readChunk_iCCP(chunkData);
break;
case "PLTE":
if (IDAT !is null || bKGD !is null)
throw allocator.make!ImageNotLoadableException("iCCP chunk must preceede IDAT and bKGD chunk(s)");
else if (PLTE !is null) // must not have a PLTE chunk as well
throw allocator.make!ImageNotLoadableException("Only one PLTE chunk can exist");
readChunk_PLTE(chunkData);
break;
case "gAMA":
if (IDAT !is null || PLTE !is null)
throw allocator.make!ImageNotLoadableException("gAMA chunk must preceede IDAT or PLTE chunks");
else if (gAMA !is null) // must not have a gAMA chunk as well
throw allocator.make!ImageNotLoadableException("Only one gAMA chunk can exist");
readChunk_gAMA(chunkData);
break;
case "tRNS":
if (IDAT !is null || PLTE !is null)
throw allocator.make!ImageNotLoadableException("tRNS chunk must preceede IDAT or PLTE chunks");
else if (tRNS !is null) // must not have a tRNS chunk as well
throw allocator.make!ImageNotLoadableException("Only one tRNS chunk can exist");
readChunk_tRNS(chunkData);
break;
case "tEXt":
readChunk_tEXt(chunkData);
break;
case "zEXt":
readChunk_zEXt(chunkData);
break;
case "iTXt":
readChunk_iEXt(chunkData);
break;
case "bKGD":
if (IDAT !is null)
throw allocator.make!ImageNotLoadableException("bKGD chunk must preceede IDAT chunks");
else if (bKGD !is null) // must not have a tRNS chunk as well
throw allocator.make!ImageNotLoadableException("Only one bKGD chunk can exist");
readChunk_bKGD(chunkData);
break;
case "pPHs":
if (IDAT !is null)
throw allocator.make!ImageNotLoadableException("pPHs chunk must preceede IDAT chunks");
else if (pPHs !is null) // must not have a tRNS chunk as well
throw allocator.make!ImageNotLoadableException("Only one pPHs chunk can exist");
readChunk_pPHs(chunkData);
break;
case "sBIT":
if (IDAT !is null)
throw allocator.make!ImageNotLoadableException("sBIT chunk must preceede IDAT chunks");
else if (sBIT !is null) // must not have a tRNS chunk as well
throw allocator.make!ImageNotLoadableException("Only one sBIT chunk can exist");
readChunk_sBIT(chunkData);
break;
case "sPLT":
if (IDAT !is null)
throw allocator.make!ImageNotLoadableException("sPLT chunk must preceede IDAT chunks");
readChunk_sPLT(chunkData);
break;
case "hIST":
if (IDAT !is null)
throw allocator.make!ImageNotLoadableException("hIST chunk must preceede IDAT chunks");
else if (PLTE !is null)
throw allocator.make!ImageNotLoadableException("hIST chunk must proceed PLTE chunk");
readChunk_hIST(chunkData);
break;
case "tIME":
readChunk_tIME(chunkData);
break;
static if (!is(Color == HeadersOnly)) {
case "IDAT":
if (hIST.length > 0 && PLTE.colors.length != hIST.length)
throw allocator.make!ImageNotLoadableException("hIST and PLTE chunks must have the same index length");
if ((IHDR.colorType & PngIHDRColorType.Palette) == PngIHDRColorType.Palette && tRNS !is null && tRNS.indexAlphas.length < PLTE.colors.length)
allocator.expandArray(tRNS.indexAlphas, tRNS.indexAlphas.length - PLTE.colors.length, 255);
if (IDAT is null) {// allocate the image storage
IDAT = allocator.make!(IDAT_Chunk!Color);
theImageAllocator(IHDR.width, IHDR.height);
}
allocator.expandArray(IDAT.data, chunkData.length);
IDAT.data[$-chunkData.length .. $] = chunkData[];
break;
}
case "IEND":
static if (!is(Color == HeadersOnly)) {
if (IDAT is null)
throw allocator.make!ImageNotLoadableException("No IDAT chunk present");
readChunk_IDAT(IDAT.data);
}
readChunk_IEND(chunkData);
break WL;
default:
break;
}
}
allocator.dispose(buffer);
}
void readChunk_IHDR(ubyte[] chunkData) @trusted {
if (chunkData.length != 13)
throw allocator.make!ImageNotLoadableException("IHDR chunk size must be 13 bytes long");
IHDR = IHDR_Chunk(
bigEndianToNative!uint(cast(ubyte[4])chunkData[0 .. 4]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[4 .. 8]),
cast(PngIHDRBitDepth) chunkData[8],
cast(PngIHDRColorType) chunkData[9],
cast(PngIHDRCompresion) chunkData[10],
cast(PngIHDRFilter) chunkData[11],
cast(PngIHDRInterlaceMethod) chunkData[12]);
}
void readChunk_cHRM(ubyte[] chunkData) @trusted {
if (chunkData.length != 32)
throw allocator.make!ImageNotLoadableException("cHRM chunk must be 32 bytes long");
cHRM = allocator.make!cHRM_Chunk(
bigEndianToNative!uint(cast(ubyte[4])chunkData[0 .. 4]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[4 .. 8]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[8 .. 12]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[12 .. 16]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[16 .. 20]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[20 .. 24]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[24 .. 28]),
bigEndianToNative!uint(cast(ubyte[4])chunkData[28 .. 32]));
}
void readChunk_sRGB(ubyte[] chunkData) @trusted {
if (chunkData.length != 1)
throw allocator.make!ImageNotLoadableException("cHRM chunk must be 1 byte long");
sRGB = allocator.make!sRGB_Chunk(cast(PngRenderingIntent)chunkData[0]);
}
void readChunk_iCCP(ubyte[] chunkData) @trusted {
import std.zlib : uncompress;
char[] profileName;
foreach(i, c; chunkData) {
if (i >= 80)
throw allocator.make!ImageNotLoadableException("iCCP chunk profile name must be less then 80 characters long (c-string\\0)");
if (c == 0) {// null terminator
if (i == 0) // error
throw allocator.make!ImageNotLoadableException("iCCP chunk profile name must be atleast 1 character in length");
profileName = cast(char[])chunkData[0 .. i];
if (i + 2 < chunkData.length)
throw allocator.make!ImageNotLoadableException("iCCP chunk data is not long enough");
chunkData = chunkData[i + 1 .. $];
break;
}
}
iCCP = allocator.make!iCCP_Chunk();
// profile name
iCCP.profileName = cast(string)allocator.makeArray!char(profileName.length);
cast(char[])iCCP.profileName[] = profileName[];
// compression method deflate/inflate
iCCP.compressionMethod = cast(PngIHDRCompresion)chunkData[0];
//
if (iCCP.compressionMethod == PngIHDRCompresion.DeflateInflate) {
iCCP.profile = cast(ubyte[])uncompress(chunkData[1 .. $]);
} else {
throw allocator.make!ImageNotLoadableException("Unknown iCCP chunk compression method");
}
}
void readChunk_PLTE(ubyte[] chunkData) @trusted {
PLTE = allocator.make!PLTE_Chunk;
if ((chunkData.length % 3) > 0)
throw allocator.make!ImageNotLoadableException("PLTE chunk size must be devisible by 3");
else if ((chunkData.length / 3) > 256)
throw allocator.make!ImageNotLoadableException("PLTE chunk must contain at the most 256 entries");
PLTE.colors = allocator.makeArray!(PLTE_Chunk.Color)(chunkData.length / 3);
size_t offset;
for (size_t i; i < (chunkData.length / 3); i++) {
PLTE.colors[i] = PLTE_Chunk.Color(chunkData[offset], chunkData[offset + 1], chunkData[offset + 2]);
offset += 3;
}
}
void readChunk_gAMA(ubyte[] chunkData) @trusted {
if (chunkData.length != 4)
throw allocator.make!ImageNotLoadableException("gAMA chunk must be 4 bytes in size");
gAMA = allocator.make!gAMA_Chunk(bigEndianToNative!uint(cast(ubyte[4])chunkData[0 .. 4]));
}
void readChunk_tRNS(ubyte[] chunkData) @trusted {
import std.range : inputRangeObject;
tRNS = allocator.make!tRNS_Chunk();
if (IHDR.colorType & PngIHDRColorType.Palette) {
tRNS.indexAlphas = allocator.makeArray!ubyte(chunkData.length);
tRNS.indexAlphas[] = chunkData[];
} else if (IHDR.colorType & PngIHDRColorType.Grayscale) {
if (chunkData.length != 2)
throw allocator.make!ImageNotLoadableException("tRNS chunk size must be 2 bytes when it is grayscale");
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
ushort c = bigEndianToNative!ushort(cast(ubyte[2])chunkData[0 .. 2]);
tRNS.b16 = RGB16(c, c, c);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
// TODO: confirm that it is the first byte and not the second?
tRNS.b8 = RGB8(chunkData[0], chunkData[0], chunkData[0]);
} else {
ubyte c = cast(ubyte)(chunkData[0] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
tRNS.b8 = RGB8(c, c, c);
}
} else if (IHDR.colorType & PngIHDRColorType.ColorUsed) {
if (chunkData.length != 3)
throw allocator.make!ImageNotLoadableException("tRNS chunk size must be 2 bytes when it is grayscale");
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
ushort r = bigEndianToNative!ushort(cast(ubyte[2])chunkData[0 .. 2]);
ushort g = bigEndianToNative!ushort(cast(ubyte[2])chunkData[2 .. 4]);
ushort b = bigEndianToNative!ushort(cast(ubyte[2])chunkData[4 .. 6]);
tRNS.b16 = RGB16(r, g, b);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
// TODO: confirm that it is the first byte and not the second?
tRNS.b8 = RGB8(chunkData[0], chunkData[2], chunkData[4]);
} else {
tRNS.b8 = RGB8(cast(ubyte)(chunkData[0] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1)),
cast(ubyte)(chunkData[2] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1)),
cast(ubyte)(chunkData[4] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1)));
}
}
}
void readChunk_tEXt(ubyte[] chunkData) @trusted {
size_t sinceLast;
ubyte[] buffer;
ubyte[] keyword;
if (chunkData.length < 2)
throw allocator.make!ImageNotLoadableException("tEXt chunk must be atleast 2 bytes");
foreach(i, c; chunkData) {
if (c == 0) {
keyword = buffer;
buffer = null;
sinceLast = i + 1;
} else {
buffer = chunkData[sinceLast .. i + 1];
}
}
char[] keyword2 = allocator.makeArray!char(keyword.length);
keyword2[] = cast(char[])keyword[];
char[] buffer2 = allocator.makeArray!char(buffer.length);
buffer2[] = cast(char[])buffer[];
tEXt[cast(PngTextKeywords)keyword2] = cast(string)buffer2;
}
void readChunk_zEXt(ubyte[] chunkData) @trusted {
import std.zlib : uncompress;
size_t sinceLast;
ubyte[] buffer;
ubyte[] keyword;
if (chunkData.length < 2)
throw allocator.make!ImageNotLoadableException("zEXt chunk must be atleast 2 bytes");
foreach(i, c; chunkData) {
if (c == 0) {
keyword = buffer;
buffer = null;
sinceLast = i + 1;
} else {
buffer = chunkData[sinceLast .. i + 1];
}
}
char[] keyword2 = allocator.makeArray!char(keyword.length);
keyword2[] = cast(char[])keyword[];
if (buffer.length > 0)
throw allocator.make!ImageNotLoadableException("zEXt chunk must have a compression method");
ubyte compressionMethod = buffer[0];
if (compressionMethod > 0)
throw allocator.make!ImageNotLoadableException("zEXt chunk unknown compression method");
buffer = cast(ubyte[])uncompress(buffer);
char[] buffer2 = allocator.makeArray!char(buffer.length - 1);
buffer2[] = cast(char[])buffer[1 .. $];
tEXt[cast(PngTextKeywords)keyword2] = cast(string)buffer2;
}
void readChunk_iEXt(ubyte[] chunkData) @trusted {
import std.zlib : uncompress;
size_t sinceLast;
ubyte[] buffer;
ubyte[] keyword;
if (chunkData.length < 2)
throw allocator.make!ImageNotLoadableException("iEXt chunk must be atleast 2 bytes");
foreach(i, c; chunkData) {
if (c == 0 && keyword !is null) {
//keyword = buffer;
buffer = null;
sinceLast = i + 1;
} else {
buffer = chunkData[sinceLast .. i + 1];
}
}
if (buffer.length > 0)
throw allocator.make!ImageNotLoadableException("iEXt chunk must have a compression method");
bool useCompression = cast(bool)buffer[0];
ubyte compressionMethod = buffer[1];
if (useCompression && compressionMethod > 0)
throw allocator.make!ImageNotLoadableException("iEXt chunk unknown compression method");
buffer = buffer[1 .. $];
if (buffer.length > 0)
throw allocator.make!ImageNotLoadableException("iEXt chunk must have a language");
ubyte[] buffer2;
ubyte[] language;
foreach(i, c; buffer) {
if (c == 0 && language !is null) {
language = buffer2;
buffer2 = null;
sinceLast = i + 1;
} else {
buffer2 = buffer[sinceLast .. i + 1];
}
}
buffer = buffer2;
if (buffer.length > 0)
throw allocator.make!ImageNotLoadableException("iEXt chunk must have a translated keyword");
foreach(i, c; buffer) {
if (c == 0 && language !is null) {
keyword = buffer2;
buffer2 = null;
sinceLast = i + 1;
} else {
buffer2 = buffer[sinceLast .. i + 1];
}
}
buffer = buffer2;
if (useCompression && compressionMethod == 0)
buffer = cast(ubyte[])uncompress(buffer);
char[] keyword2 = allocator.makeArray!char(keyword.length);
keyword2[] = cast(char[])keyword[];
char[] buffer3 = allocator.makeArray!char(buffer.length);
buffer3 = cast(char[])buffer[];
if (useCompression)
zEXt[cast(PngTextKeywords)keyword2] = cast(string)buffer3;
else
tEXt[cast(PngTextKeywords)keyword2] = cast(string)buffer3;
}
void readChunk_bKGD(ubyte[] chunkData) @trusted {
bKGD = allocator.make!bKGD_Chunk();
if (IHDR.colorType & PngIHDRColorType.Palette) {
if (chunkData.length != 2)
throw allocator.make!ImageNotLoadableException("bKGD chunk size must be 1 bytes when it is palette");
bKGD.index = chunkData[0];
} else if (IHDR.colorType & PngIHDRColorType.Grayscale) {
if (chunkData.length != 2)
throw allocator.make!ImageNotLoadableException("bKGD chunk size must be 2 bytes when it is grayscale");
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
ushort c = bigEndianToNative!ushort(cast(ubyte[2])chunkData[0 .. 2]);
bKGD.b16 = RGB16(c, c, c);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
// TODO: confirm that it is the first byte and not the second?
bKGD.b8 = RGB8(chunkData[0], chunkData[0], chunkData[0]);
} else {
ubyte c = cast(ubyte)(chunkData[0] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
bKGD.b8 = RGB8(c, c, c);
}
} else if (IHDR.colorType & PngIHDRColorType.ColorUsed) {
if (chunkData.length != 3)
throw allocator.make!ImageNotLoadableException("bKGD chunk size must be 2 bytes when it is grayscale");
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
ushort r = bigEndianToNative!ushort(cast(ubyte[2])chunkData[0 .. 2]);
ushort g = bigEndianToNative!ushort(cast(ubyte[2])chunkData[2 .. 4]);
ushort b = bigEndianToNative!ushort(cast(ubyte[2])chunkData[4 .. 6]);
bKGD.b16 = RGB16(r, g, b);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
// TODO: confirm that it is the first byte and not the second?
bKGD.b8 = RGB8(chunkData[0], chunkData[2], chunkData[4]);
} else {
bKGD.b8 = RGB8(cast(ubyte)(chunkData[0] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1)),
cast(ubyte)(chunkData[2] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1)),
cast(ubyte)(chunkData[4] * cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1)));
}
}
}
void readChunk_pPHs(ubyte[] chunkData) @trusted {
pPHs = allocator.make!pPHs_Chunk();
if (chunkData.length != 9)
throw allocator.make!ImageNotLoadableException("pPHs chunk size must be 9 bytes");
pPHs.ppx = bigEndianToNative!uint(cast(ubyte[4])chunkData[0 .. 4]);
pPHs.ppy = bigEndianToNative!uint(cast(ubyte[4])chunkData[4 .. 8]);
pPHs.unit = cast(PngPhysicalPixelUnit)chunkData[8];
}
void readChunk_sBIT(ubyte[] chunkData) @trusted {
sBIT = allocator.make!sBIT_Chunk();
if (IHDR.colorType & PngIHDRColorType.Palette) {
if (chunkData.length != 3)
throw allocator.make!ImageNotLoadableException("sBIT chunk size must be 3 byte for palette color type");
sBIT.indexed[] = chunkData[0 .. 3];
} else if (IHDR.colorType & PngIHDRColorType.Grayscale) {
bool withAlpha = (IHDR.colorType & PngIHDRColorType.AlphaChannelUsed) == PngIHDRColorType.AlphaChannelUsed;
if ((!withAlpha && chunkData.length != 1) || (withAlpha && chunkData.length != 2))
throw allocator.make!ImageNotLoadableException("sBIT chunk size must be 1 byte for grayscale color type and 2 for grayscale with alpha");
if (withAlpha)
sBIT.grayScaleAlpha[] = chunkData[0 .. 2];
else
sBIT.grayScale = chunkData[0];
} else if (IHDR.colorType & PngIHDRColorType.ColorUsed) {
bool withAlpha = (IHDR.colorType & PngIHDRColorType.AlphaChannelUsed) == PngIHDRColorType.AlphaChannelUsed;
if ((!withAlpha && chunkData.length != 3) || (withAlpha && chunkData.length != 4))
throw allocator.make!ImageNotLoadableException("sBIT chunk size must be 3 bytes for truecolor color type and 4 for truecolor with alpha");
if (withAlpha)
sBIT.trueColorAlpha[] = chunkData[0 .. 4];
else
sBIT.trueColor[] = chunkData[0 .. 3];
}
}
void readChunk_sPLT(ubyte[] chunkData) @trusted {
sPLT_Chunk chunk;
if (chunkData.length < 2)
throw allocator.make!ImageNotLoadableException("sPLT chunk size must greater than 2 bytes");
ubyte[] buffer;
char[] name;
size_t sinceLast;
foreach(i, c; chunkData) {
if (c == 0 && name !is null) {
name = cast(char[])buffer;
buffer = null;
sinceLast = i + 1;
} else {
buffer = buffer[sinceLast .. i + 1];
}
}
chunk.paletteName = cast(string)allocator.makeArray!char(buffer.length);
(cast(char[])chunk.paletteName)[] = name;
if (buffer.length < 2)
throw allocator.make!ImageNotLoadableException("sPLT chunk size must be greater than 1 byte for sample depth");
chunk.sampleDepth = cast(PngIHDRBitDepth)buffer[0];
buffer = buffer[1 .. $];
size_t count;
if (chunk.sampleDepth == PngIHDRBitDepth.BitDepth8) {
if (buffer.length % 6 == 0) {
chunk.colors = allocator.makeArray!(sPLT_Chunk.Entry)(buffer.length / 6);
for(size_t i; i < buffer.length; i += 6) {
ubyte[2] values;
values[] = chunkData[i + 4 .. i + 6];
chunk.colors[count].color.b8 = RGBA8(chunkData[i], chunkData[i + 1], chunkData[i + 2], chunkData[i + 3]);
chunk.colors[count].frequency = bigEndianToNative!ushort(values);
count++;
}
} else {
throw allocator.make!ImageNotLoadableException("sPLT chunk palette must be devisible by 6 for sample depth of 8");
}
} else if (chunk.sampleDepth == PngIHDRBitDepth.BitDepth16) {
if (buffer.length % 10 == 0) {
chunk.colors = allocator.makeArray!(sPLT_Chunk.Entry)(buffer.length / 10);
for(size_t i; i < buffer.length; i += 10) {
ubyte[2][5] values;
values[0][] = chunkData[i .. i + 2];
values[1][] = chunkData[i + 2 .. i + 4];
values[2][] = chunkData[i + 4 .. i + 6];
values[3][] = chunkData[i + 6 .. i + 8];
values[4][] = chunkData[i + 8 .. i + 10];
chunk.colors[count].color.b16 = RGBA16(
bigEndianToNative!ushort(values[0]),
bigEndianToNative!ushort(values[1]),
bigEndianToNative!ushort(values[2]),
bigEndianToNative!ushort(values[3]));
chunk.colors[count].frequency = bigEndianToNative!ushort(values[4]);
count++;
}
} else {
throw allocator.make!ImageNotLoadableException("sPLT chunk palette must be devisible by 10 for sample depth of 16");
}
} else {
throw allocator.make!ImageNotLoadableException("sPLT chunk must have a bit depth of either 8 or 16");
}
sPLT ~= chunk;
}
void readChunk_hIST(ubyte[] chunkData) @trusted {
if (chunkData.length % 2 == 1)
throw allocator.make!ImageNotLoadableException("hIST chunk must be devisible by 2");
size_t count = chunkData.length / 2;
size_t ci;
foreach(i; hIST.length - count .. hIST.length) {
ubyte[2] values;
values[] = chunkData[ci .. ci + 2];
hIST ~= bigEndianToNative!ushort(values);
ci += 2;
}
}
void readChunk_tIME(ubyte[] chunkData) @trusted {
if (chunkData.length != 7)
throw allocator.make!ImageNotLoadableException("tIME chunk must be 7 bytes");
int[6] values = [
bigEndianToNative!short(cast(ubyte[2])chunkData[0 .. 2]),
chunkData[2], chunkData[3], chunkData[4], chunkData[5], chunkData[6]
];
if ((values[1] >= 1 && values[1] <= 12) &&
(values[2] >= 1 && values[2] <= 31) &&
(values[3] >= 0 && values[3] <= 23) &&
(values[4] >= 0 && values[4] <= 59) &&
(values[5] >= 0 && values[5] <= 60)) {}
else
throw allocator.make!ImageNotLoadableException("tIME chunk date time value is invalid");
tIME = allocator.make!DateTime(values[0], values[1], values[2], values[3], values[4], values[5]);
}
static if (!is(Color == HeadersOnly)) {
void readChunk_IDAT(ubyte[] chunkData) @trusted {
import std.zlib : uncompress; // FIXME: std.zlib allocates without using the allocator *grumbles*
import std.math : ceil, floor;
// a simple check
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7 || IHDR.interlaceMethod == PngIHDRInterlaceMethod.NoInterlace)
{} else
throw allocator.make!ImageNotLoadableException("IDAT unknown interlace method");
if (IHDR.compressionMethod == PngIHDRCompresion.DeflateInflate) {}
else
throw allocator.make!ImageNotLoadableException("IDAT unknown compression method");
// constants
size_t pixelPreviousByteAmount;
size_t totalSize, scanLineSize;
size_t[7] /+rowsPerPass, +/scanLinesSize;
bool withAlpha = (IHDR.colorType & PngIHDRColorType.AlphaChannelUsed) == PngIHDRColorType.AlphaChannelUsed;
bool isGrayScale = (IHDR.colorType & PngIHDRColorType.Grayscale) == PngIHDRColorType.Grayscale;
bool isPalette = (IHDR.colorType & PngIHDRColorType.Palette) == PngIHDRColorType.Palette;
bool isColor = (IHDR.colorType & PngIHDRColorType.ColorUsed) == PngIHDRColorType.ColorUsed;
// some needed variables, in future processing
ubyte[] decompressed, previousScanLine, tempBitDepth124, myAdaptiveOffsets;
ubyte pass, sampleSize, pixelSampleSize;
size_t offsetX, offsetY, offset, currentRow;
final switch(IHDR.colorType) {
case PngIHDRColorType.AlphaChannelUsed:
sampleSize = 2;
break;
case PngIHDRColorType.PalletteWithColorUsed:
case PngIHDRColorType.Palette:
case PngIHDRColorType.Grayscale:
sampleSize = 1;
break;
case PngIHDRColorType.ColorUsedWithAlpha:
sampleSize = 4;
break;
case PngIHDRColorType.ColorUsed:
sampleSize = 3;
break;
}
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
pixelSampleSize = cast(ubyte)(sampleSize + sampleSize);
pixelPreviousByteAmount = pixelSampleSize;
scanLineSize = pixelSampleSize * IHDR.width;
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
pixelSampleSize = sampleSize;
pixelPreviousByteAmount = sampleSize;
scanLineSize = sampleSize * IHDR.width;
} else {
pixelSampleSize = sampleSize;
pixelPreviousByteAmount = 1;
tempBitDepth124 = alloc.makeArray!ubyte(8);
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth1)
scanLineSize = cast(size_t)ceil((sampleSize * IHDR.width) / 8f);
else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth2)
scanLineSize = cast(size_t)ceil((sampleSize * IHDR.width) / 4f);
else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth4)
scanLineSize = cast(size_t)ceil((sampleSize * IHDR.width) / 2f);
}
totalSize = IHDR.width * pixelSampleSize * IHDR.height;
if (IHDR.filterMethod == PngIHDRFilter.Adaptive) {
scanLineSize += 1;
totalSize += IHDR.height;
}
// no point calculating this if we are not gonna use it!
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7) {
if (IHDR.filterMethod == PngIHDRFilter.Adaptive)
myAdaptiveOffsets = alloc.makeArray!ubyte(IHDR.height);
// calculates the length of each scan line per pass (Adam7)
for(pass = 0; pass < 7; pass++) {
if (starting_row[pass] >= IHDR.height) {
scanLinesSize[pass] = 0;
} else {
float tscanLineSize = IHDR.width * pixelSampleSize;
tscanLineSize -= starting_col[pass];
tscanLineSize /= col_increment[pass];
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth1)
tscanLineSize /= 8f;
else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth2)
tscanLineSize /= 4f;
else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth4)
tscanLineSize /= 2f;
tscanLineSize = ceil(tscanLineSize);
if (IHDR.filterMethod == PngIHDRFilter.Adaptive)
tscanLineSize += 1;
if (tscanLineSize <= 1)
tscanLineSize = 0;
scanLinesSize[pass] = cast(size_t)tscanLineSize;
}
}
}
// decompress
decompressed = cast(ubyte[])uncompress(chunkData, totalSize);
void assignPixel(ColorP)(ColorP valuec) {
// store color at coordinate
static if (is(ColorP == Color))
value.setPixel(offsetX, offsetY, valuec);
else
value.setPixel(offsetX, offsetY, valuec.convertColor!Color);
// changes x and y coordinates for no interlace
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.NoInterlace) {
offsetX++;
if (offsetX == IHDR.width) {
offsetX = 0;
offsetY++;
}
} else if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7)
offsetX += col_increment[pass];
}
void grabPixelsFromScanLine(ubyte[] scanLine) {
bool useMultiByte = IHDR.bitDepth == PngIHDRBitDepth.BitDepth16;
void handleSamples(ubyte[] samples) {
while(samples.length > 0) {
if (isPalette) {
ubyte v = samples[0];
if (v >= PLTE.colors.length)
throw allocator.make!ImageNotLoadableException("IDAT unknown palette color");
assignPixel(PLTE.colors[v]);
samples = samples[1 .. $];
} else if (useMultiByte) {
if (isColor) {
ushort[4] values;
values[0] = bigEndianToNative!ushort(cast(ubyte[2])samples[0 .. 2]);
values[1] = bigEndianToNative!ushort(cast(ubyte[2])samples[2 .. 4]);
values[2] = bigEndianToNative!ushort(cast(ubyte[2])samples[4 .. 6]);
if (withAlpha) {
values[3] = bigEndianToNative!ushort(cast(ubyte[2])samples[6 .. 8]);
assignPixel(RGBA16(values[0], values[1], values[2], values[3]));
samples = samples[8 .. $];
} else {
assignPixel(RGB16(values[0], values[1], values[2]));
samples = samples[6 .. $];
}
} else if (isGrayScale) {
ushort v = bigEndianToNative!ushort(cast(ubyte[2])samples[0 .. 2]);
if (withAlpha) {
assignPixel(RGBA16(v, v, v, bigEndianToNative!ushort(cast(ubyte[2])samples[2 .. 4])));
samples = samples[4 .. $];
} else {
assignPixel(RGB16(v, v, v));
samples = samples[2 .. $];
}
}
} else {
if (isColor) {
if (withAlpha) {
assignPixel(RGBA8(samples[0], samples[1], samples[2], samples[3]));
samples = samples[4 .. $];
} else {
assignPixel(RGB8(samples[0], samples[1], samples[2]));
samples = samples[3 .. $];
}
} else if (isGrayScale) {
ubyte v = samples[0];
if (withAlpha) {
assignPixel(RGBA8(v, v, v, samples[1]));
samples = samples[2 .. $];
} else {
assignPixel(RGB8(v, v, v));
samples = samples[1 .. $];
}
}
}
}
}
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16 || IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
handleSamples(scanLine);
} else {
ptrdiff_t maxSamples = IHDR.width;
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7)
maxSamples = cast(size_t)ceil((maxSamples - starting_col[pass]) / cast(float)col_increment[pass]);
maxSamples *= sampleSize;
// 1, 2, 4 bit depths
foreach(scb; scanLine) {
ubyte[] samples;
if (maxSamples <= 0)
return;
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth4) {
samples = tempBitDepth124[0 .. 2];
samples[1] = cast(ubyte)((scb & 15) >> 0);
samples[0] = cast(ubyte)((scb & 240) >> 4);
if (!isPalette) {
samples[0] *= 17;
samples[1] *= 17;
}
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth2) {
samples = tempBitDepth124[0 .. 4];
samples[3] = cast(ubyte)((scb & 3) >> 0);
samples[2] = cast(ubyte)((scb & 12) >> 2);
samples[1] = cast(ubyte)((scb & 48) >> 4);
samples[0] = cast(ubyte)((scb & 192) >> 6);
if (!isPalette) {
samples[0] *= 85;
samples[1] *= 85;
samples[2] *= 85;
samples[3] *= 85;
}
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth1) {
samples = tempBitDepth124[0 .. 8];
samples[7] = cast(ubyte)((scb & 1) >> 0);
samples[6] = cast(ubyte)((scb & 2) >> 1);
samples[5] = cast(ubyte)((scb & 4) >> 2);
samples[4] = cast(ubyte)((scb & 8) >> 3);
samples[3] = cast(ubyte)((scb & 16) >> 4);
samples[2] = cast(ubyte)((scb & 32) >> 5);
samples[1] = cast(ubyte)((scb & 64) >> 6);
samples[0] = cast(ubyte)((scb & 128) >> 7);
if (!isPalette) {
samples[0] *= 255;
samples[1] *= 255;
samples[2] *= 255;
samples[3] *= 255;
samples[4] *= 255;
samples[5] *= 255;
samples[6] *= 255;
samples[7] *= 255;
}
}
if (samples.length <= maxSamples)
handleSamples(samples);
else
handleSamples(samples[0 .. maxSamples]);
maxSamples -= samples.length;
}
}
}
// defilters the scan line
previousScanLine = null;
void scanLineDefilter(ubyte adaptiveOffset, ubyte[] scanLine) {
// defilter
if (IHDR.filterMethod == PngIHDRFilter.Adaptive) {
if (scanLine.length <= 0) {
previousScanLine = null;
return;
}
foreach(i; 0 .. scanLine.length) {
switch(adaptiveOffset) {
case 1: // sub
// Sub(x) + Raw(x-bpp)
if (i >= pixelPreviousByteAmount) {
ubyte rawSub = scanLine[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] + rawSub);
} else {
// no changes needed
}
break;
case 2: // up
// Up(x) + Prior(x)
if (previousScanLine.length > i) {
ubyte prior = previousScanLine[i];
scanLine[i] = cast(ubyte)(scanLine[i] + prior);
} else {
// no changes needed
}
break;
case 3: // average
// Average(x) + floor((Raw(x-bpp)+Prior(x))/2)
if (previousScanLine.length > i) {
if (i >= pixelPreviousByteAmount) {
ubyte prior = previousScanLine[i];
ubyte rawSub = scanLine[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] + floor(cast(real)(rawSub + prior) / 2f));
} else {
ubyte prior = previousScanLine[i];
ubyte rawSub = 0;
scanLine[i] = cast(ubyte)(scanLine[i] + floor(cast(real)(rawSub + prior) / 2f));
}
} else if (i >= pixelPreviousByteAmount) {
ubyte prior = 0;
ubyte rawSub = scanLine[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] + floor(cast(real)(rawSub + prior) / 2f));
} else {
// no changes needed
}
break;
case 4: // paeth
// Paeth(x) + PaethPredictor(Raw(x-bpp), Prior(x), Prior(x-bpp))
if (previousScanLine.length > i) {
if (i >= pixelPreviousByteAmount) {
ubyte prior = previousScanLine[i];
ubyte rawSub = scanLine[i-pixelPreviousByteAmount];
ubyte priorRawSub = previousScanLine[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] + PaethPredictor(rawSub, prior, priorRawSub));
} else {
ubyte prior = previousScanLine[i];
ubyte rawSub = 0;
ubyte priorRawSub = 0;
scanLine[i] = cast(ubyte)(scanLine[i] + PaethPredictor(rawSub, prior, priorRawSub));
}
} else if (i >= pixelPreviousByteAmount) {
ubyte prior = 0;
ubyte rawSub = scanLine[i-pixelPreviousByteAmount];
ubyte priorRawSub = 0;
scanLine[i] = cast(ubyte)(scanLine[i] + PaethPredictor(rawSub, prior, priorRawSub));
} else {
// no changes needed
}
break;
default:
case 0: // none
break;
}
}
}
previousScanLine = scanLine;
grabPixelsFromScanLine(scanLine);
}
size_t lastYStart = size_t.max;
// performs the actual parsing of the scanlines
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7) {
pass = 0;
while(pass < 7) {
offsetY = starting_row[pass];
scanLineSize = scanLinesSize[pass];
if (scanLineSize == 0) {
pass++;
continue;
}
while(offsetY < IHDR.height) {
offsetX = starting_col[pass];
bool thisScanLine = IHDR.bitDepth != PngIHDRBitDepth.BitDepth1 || !(offsetY == lastYStart && offsetX > 0);
if (IHDR.filterMethod == PngIHDRFilter.Adaptive) {
if (thisScanLine) {
myAdaptiveOffsets[offsetY] = decompressed[offset];
scanLineDefilter(myAdaptiveOffsets[offsetY], decompressed[offset + 1 .. offset + scanLineSize]);
offset += scanLineSize;
} else {
scanLineDefilter(myAdaptiveOffsets[offsetY], decompressed[offset .. offset + (scanLineSize - 1)]);
offset += (scanLineSize - 1);
}
} else {
assert(0);
}
lastYStart = offsetY;
offsetY += row_increment[pass];
}
pass++;
}
} else {
while(offset < decompressed.length) {
if (IHDR.filterMethod == PngIHDRFilter.Adaptive) {
scanLineDefilter(decompressed[offset], decompressed[offset + 1 .. offset + scanLineSize]);
} else {
assert(0);
}
offset += scanLineSize;
}
}
alloc.dispose(tempBitDepth124);
}
}
void readChunk_IEND(ubyte[] chunkData) @safe {
// IEND chunk should be the last one.
// It doesn't do anything special other then say, this is the end.
// Now stop looking for more chunks!
}
/*
* The exporter
*/
managed!(ubyte[]) performExport() @trusted {
import std.digest.crc : crc32Of;
ubyte[] buffer = allocator.makeArray!ubyte((1024 * 1024 * 8) + 4); // 8mb
assert(buffer.length > 0);
import core.memory : GC;
GC.disable;
ubyte[] ret = allocator.makeArray!ubyte(8);
ret[0 .. 8] = [0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A];
void writeChunk(char[4] name, ubyte[] data) @trusted {
size_t len = data.length + 12; // name + length + crc
allocator.expandArray(ret, len);
ret[$-len .. $][0 .. 4] = nativeToBigEndian(cast(uint)data.length);
ret[$-len .. $][4 .. 8] = cast(ubyte[4])name[];
ret[$-len .. $][8 .. $-4] = data[];
buffer[0 .. 4] = cast(ubyte[4])name[];
ret[$-4 .. $] = nativeToBigEndian(*cast(uint*)crc32Of(buffer[0 .. data.length + 4]).ptr);
}
writeChunk_IHDR(buffer[4 .. $], &writeChunk);
if (gAMA !is null)
writeChunk_gAMA(buffer[4 .. $], &writeChunk);
if (PLTE !is null)
writeChunk_PLTE(buffer[4 .. $], &writeChunk);
if (tRNS !is null)
writeChunk_tRNS(buffer[4 .. $], &writeChunk);
if (cHRM !is null)
writeChunk_cHRM(buffer[4 .. $], &writeChunk);
if (sRGB !is null)
writeChunk_sRGB(buffer[4 .. $], &writeChunk);
if (iCCP !is null)
writeChunk_iCCP(buffer[4 .. $], &writeChunk);
writeChunk_tEXt(buffer[4 .. $], &writeChunk);
writeChunk_zEXt(buffer[4 .. $], &writeChunk);
if (bKGD !is null)
writeChunk_bKGD(buffer[4 .. $], &writeChunk);
if (pPHs !is null)
writeChunk_pPHs(buffer[4 .. $], &writeChunk);
if (sBIT !is null)
writeChunk_sBIT(buffer[4 .. $], &writeChunk);
if (sPLT.length > 0)
writeChunk_sPLT(buffer[4 .. $], &writeChunk);
if (hIST.length > 0)
writeChunk_hIST(buffer[4 .. $], &writeChunk);
if (tIME !is null)
writeChunk_tIME(buffer[4 .. $], &writeChunk);
static if (!is(Color == HeadersOnly)) {
writeChunk_IDAT(buffer[4 .. $], &writeChunk);
}
// it contains nothing, so why bother having a dedicated method?
writeChunk(cast(char[4])"IEND", null);
GC.enable;
allocator.dispose(buffer);
return managed!(ubyte[])(ret, managers(), Ownership.Secondary, alloc);
}
void writeChunk_IHDR(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite;
towrite = buffer[0 .. 13];
towrite[0 .. 4] = nativeToBigEndian(IHDR.width);
towrite[4 .. 8] = nativeToBigEndian(IHDR.height);
towrite[8 .. 9] = nativeToBigEndian(IHDR.bitDepth);
towrite[9 .. 10] = nativeToBigEndian(IHDR.colorType);
towrite[10 .. 11] = nativeToBigEndian(IHDR.compressionMethod);
towrite[11 .. 12] = nativeToBigEndian(IHDR.filterMethod);
towrite[12 .. 13] = nativeToBigEndian(IHDR.interlaceMethod);
write(cast(char[4])"IHDR", towrite);
}
void writeChunk_PLTE(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite;
towrite = buffer[0 .. PLTE.colors.length * 3];
size_t offset;
foreach(i, c; PLTE.colors) {
towrite[offset] = c.r;
towrite[offset + 1] = c.g;
towrite[offset + 2] = c.b;
offset += 3;
}
write(cast(char[4])"PLTE", towrite);
}
void writeChunk_tRNS(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite;
if (IHDR.colorType & PngIHDRColorType.Palette) {
towrite = buffer[0 .. tRNS.indexAlphas.length];
towrite[] = tRNS.indexAlphas[];
} else if (IHDR.colorType & PngIHDRColorType.Grayscale) {
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
towrite = buffer[0 .. 2];
towrite[] = nativeToBigEndian(tRNS.b16.r);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
towrite = buffer[0 .. 2];
towrite[0] = tRNS.b8.r;
} else {
towrite = buffer[0 .. 2];
towrite[0] = cast(ubyte)(tRNS.b8.r / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
}
} else if (IHDR.colorType & PngIHDRColorType.ColorUsed) {
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
towrite = buffer[0 .. 6];
towrite[0 .. 2] = nativeToBigEndian(tRNS.b16.r);
towrite[2 .. 4] = nativeToBigEndian(tRNS.b16.g);
towrite[4 .. 6] = nativeToBigEndian(tRNS.b16.b);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
towrite = buffer[0 .. 6];
towrite[0] = tRNS.b8.r;
towrite[2] = tRNS.b8.g;
towrite[4] = tRNS.b8.b;
} else {
towrite = buffer[0 .. 6];
towrite[0] = cast(ubyte)(tRNS.b8.r / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
towrite[2] = cast(ubyte)(tRNS.b8.g / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
towrite[4] = cast(ubyte)(tRNS.b8.b / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
}
}
write(cast(char[4])"tRNS", towrite);
}
void writeChunk_gAMA(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite = buffer[0 .. 4];
towrite[] = nativeToBigEndian(gAMA.value);
write(cast(char[4])"gAMA", towrite);
}
void writeChunk_cHRM(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite = buffer[0 .. 32];
towrite[0 .. 4] = nativeToBigEndian(cHRM.white_x);
towrite[4 .. 8] = nativeToBigEndian(cHRM.white_y);
towrite[8 .. 12] = nativeToBigEndian(cHRM.red_x);
towrite[12 .. 16] = nativeToBigEndian(cHRM.red_y);
towrite[16 .. 20] = nativeToBigEndian(cHRM.green_x);
towrite[20 .. 24] = nativeToBigEndian(cHRM.green_y);
towrite[24 .. 28] = nativeToBigEndian(cHRM.blue_x);
towrite[28 .. 32] = nativeToBigEndian(cHRM.blue_y);
write(cast(char[4])"cHRM", towrite);
}
void writeChunk_sRGB(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite = buffer[0 .. 1];
towrite[0] = sRGB.intent;
write(cast(char[4])"sRGB", towrite);
}
void writeChunk_iCCP(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
import std.zlib : compress;
ubyte[] towrite;
towrite = buffer[0 .. iCCP.profileName.length + 2];
towrite[0 .. $-2] = cast(ubyte[])iCCP.profileName[];
towrite[$-2] = '\0';
towrite[$-1] = cast(ubyte)iCCP.compressionMethod;
ubyte[] compressed = cast(ubyte[])compress(iCCP.profile);
towrite = buffer[0 .. towrite.length + compressed.length];
towrite[$-compressed.length .. $] = compressed[];
write(cast(char[4])"iCCP", towrite);
}
void writeChunk_tEXt(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
foreach(keyword, value; tEXt) {
ubyte[] towrite = buffer[0 .. keyword.length + 1];
towrite[0 .. $-1] = cast(ubyte[])keyword[];
towrite[$-1] = '\0';
towrite = buffer[0 .. towrite.length + value.length];
towrite[$-value.length .. $] = cast(ubyte[])value[];
write(cast(char[4])"tEXt", towrite);
}
}
void writeChunk_zEXt(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
import std.zlib : compress;
foreach(keyword, value; zEXt) {
ubyte[] towrite = buffer[0 .. keyword.length + 2];
towrite[0 .. $-2] = cast(ubyte[])keyword[];
towrite[$-2] = '\0';
towrite[$-1] = PngIHDRCompresion.DeflateInflate;
// FIXME: allocates
ubyte[] compressed = cast(ubyte[])compress(value);
towrite = buffer[0 .. towrite.length + compressed.length];
towrite[$-compressed.length .. $] = compressed[];
write(cast(char[4])"zEXt", towrite);
}
}
void writeChunk_bKGD(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite;
if (IHDR.colorType & PngIHDRColorType.Palette) {
towrite = buffer[0 .. 1];
towrite[0] = bKGD.index;
} else if (IHDR.colorType & PngIHDRColorType.Grayscale) {
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
towrite = buffer[0 .. 2];
towrite[] = nativeToBigEndian(bKGD.b16.r);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
towrite = buffer[0 .. 2];
towrite[0] = bKGD.b8.r;
} else {
towrite = buffer[0 .. 2];
towrite[0] = cast(ubyte)(bKGD.b8.r / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
}
} else if (IHDR.colorType & PngIHDRColorType.ColorUsed) {
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
towrite = buffer[0 .. 6];
towrite[0 .. 2] = nativeToBigEndian(bKGD.b16.r);
towrite[2 .. 4] = nativeToBigEndian(bKGD.b16.g);
towrite[4 .. 6] = nativeToBigEndian(bKGD.b16.b);
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
towrite = buffer[0 .. 6];
towrite[0] = bKGD.b8.r;
towrite[2] = bKGD.b8.g;
towrite[4] = bKGD.b8.b;
} else {
towrite = buffer[0 .. 6];
towrite[0] = cast(ubyte)(bKGD.b8.r / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
towrite[2] = cast(ubyte)(bKGD.b8.g / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
towrite[4] = cast(ubyte)(bKGD.b8.b / cast(ubyte)(256f/(2^(cast(ubyte)IHDR.bitDepth))-1));
}
}
write(cast(char[4])"bKGD", towrite);
}
void writeChunk_pPHs(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite = buffer[0 .. 9];
towrite[0 .. 4] = nativeToBigEndian(pPHs.ppx);
towrite[4 .. 8] = nativeToBigEndian(pPHs.ppy);
towrite[8] = pPHs.unit;
write(cast(char[4])"pPHs", towrite);
}
void writeChunk_sBIT(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite;
if (IHDR.colorType & PngIHDRColorType.Palette) {
towrite = buffer[0 .. 3];
towrite[] = sBIT.indexed[];
} else if (IHDR.colorType & PngIHDRColorType.Grayscale) {
bool withAlpha = (IHDR.colorType & PngIHDRColorType.AlphaChannelUsed) == PngIHDRColorType.AlphaChannelUsed;
if (withAlpha) {
towrite = buffer[0 .. 2];
towrite[] = sBIT.grayScaleAlpha[];
} else {
towrite = buffer[0 .. 1];
towrite[0] = sBIT.grayScale;
}
} else if (IHDR.colorType & PngIHDRColorType.ColorUsed) {
bool withAlpha = (IHDR.colorType & PngIHDRColorType.AlphaChannelUsed) == PngIHDRColorType.AlphaChannelUsed;
if (withAlpha) {
towrite = buffer[0 .. 4];
towrite[] = sBIT.trueColorAlpha[];
} else {
towrite = buffer[0 .. 3];
towrite[] = sBIT.trueColor[];
}
}
write(cast(char[4])"sBIT", towrite);
}
void writeChunk_sPLT(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite;
foreach(chunk; sPLT) {
towrite = buffer[towrite.length .. towrite.length + chunk.paletteName.length + 2];
towrite[$-(chunk.paletteName.length + 2) .. $-2] = cast(ubyte[])chunk.paletteName[];
towrite[$-2] = '\0';
towrite[$-1] = chunk.sampleDepth;
size_t count;
if (chunk.sampleDepth == PngIHDRBitDepth.BitDepth8) {
size_t offset = towrite.length;
towrite = buffer[0 .. towrite.length + (chunk.colors.length * 6)];
foreach(c; chunk.colors) {
towrite[offset] = c.color.b8.r;
towrite[offset + 1] = c.color.b8.g;
towrite[offset + 2] = c.color.b8.b;
towrite[offset + 3] = c.color.b8.a;
towrite[offset + 4 .. offset + 6] = nativeToBigEndian(c.frequency);
offset += 6;
}
} else if (chunk.sampleDepth == PngIHDRBitDepth.BitDepth16) {
size_t offset = towrite.length;
towrite = buffer[0 .. towrite.length + (chunk.colors.length * 10)];
foreach(c; chunk.colors) {
towrite[offset .. offset + 2] = nativeToBigEndian(c.color.b16.r);
towrite[offset + 2 .. offset + 4] = nativeToBigEndian(c.color.b16.g);
towrite[offset + 4 .. offset + 6] = nativeToBigEndian(c.color.b16.b);
towrite[offset + 6 .. offset + 8] = nativeToBigEndian(c.color.b16.a);
towrite[offset + 8 .. offset + 10] = nativeToBigEndian(c.frequency);
offset += 10;
}
} else {
// TODO: ugh oh, this is not good!
}
}
write(cast(char[4])"sPLT", towrite);
}
void writeChunk_hIST(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite = buffer[0 .. hIST.length * 2];
size_t offset;
foreach(v; hIST) {
towrite[offset .. offset + 2] = nativeToBigEndian(v);
offset += 2;
}
write(cast(char[4])"hIST", towrite);
}
void writeChunk_tIME(ubyte[] buffer, void delegate(char[4], ubyte[]) write) @trusted {
ubyte[] towrite = buffer[0 .. 7];
towrite[0 .. 2] = nativeToBigEndian(tIME.year);
towrite[2] = tIME.month;
towrite[3] = tIME.day;
towrite[4] = tIME.hour;
towrite[5] = tIME.minute;
towrite[6] = tIME.second;
write(cast(char[4])"tIME", towrite);
}
static if (!is(Color == HeadersOnly)) {
void writeChunk_IDAT(ubyte[] buffer, void delegate(char[4], ubyte[]) theWriteFunc) @trusted {
import std.zlib : compress;
import std.math : ceil, floor;
ubyte findPLTEColor(Color c1) {
RGB8 c = convertColor!RGB8(c1);
foreach(i, c2; PLTE.colors) {
if (i >= 256)
break;
if (c2 == c) {
return cast(ubyte)i;
}
}
throw alloc.make!ImageNotExportableException("Palette not completed with all colors.");
}
// a simple check
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7 || IHDR.interlaceMethod == PngIHDRInterlaceMethod.NoInterlace)
{} else
throw allocator.make!ImageNotLoadableException("IDAT unknown interlace method");
if (IHDR.compressionMethod == PngIHDRCompresion.DeflateInflate) {}
else
throw allocator.make!ImageNotLoadableException("IDAT unknown compression method");
// constants
size_t pixelPreviousByteAmount, rowSize;
ubyte sampleSize, pixelSampleSize, scanLineFilterMethodOffset;
bool withAlpha = (IHDR.colorType & PngIHDRColorType.AlphaChannelUsed) == PngIHDRColorType.AlphaChannelUsed;
bool isGrayScale = (IHDR.colorType & PngIHDRColorType.Grayscale) == PngIHDRColorType.Grayscale;
bool isPalette = (IHDR.colorType & PngIHDRColorType.Palette) == PngIHDRColorType.Palette;
bool isColor = (IHDR.colorType & PngIHDRColorType.ColorUsed) == PngIHDRColorType.ColorUsed;
// some needed variables, in future processing
ubyte[] decompressed, previousScanLine, tempFilterPrevious, tempFilterCurrent, tempScanLine, currentScanLine;
ubyte pass, byteToOffset;
size_t offsetX, offsetY;
final switch(IHDR.colorType) {
case PngIHDRColorType.AlphaChannelUsed:
sampleSize = 2;
break;
case PngIHDRColorType.PalletteWithColorUsed:
case PngIHDRColorType.Palette:
case PngIHDRColorType.Grayscale:
sampleSize = 1;
break;
case PngIHDRColorType.ColorUsedWithAlpha:
sampleSize = 4;
break;
case PngIHDRColorType.ColorUsed:
sampleSize = 3;
break;
}
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
pixelSampleSize = cast(ubyte)(sampleSize + sampleSize);
pixelPreviousByteAmount = pixelSampleSize;
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
pixelSampleSize = sampleSize;
pixelPreviousByteAmount = sampleSize;
} else {
pixelSampleSize = sampleSize;
pixelPreviousByteAmount = 1;
}
rowSize = IHDR.width * pixelSampleSize;
if (IHDR.filterMethod == PngIHDRFilter.Adaptive)
rowSize++;
tempFilterPrevious = alloc.makeArray!ubyte(rowSize);
tempFilterCurrent = alloc.makeArray!ubyte(rowSize);
tempScanLine = alloc.makeArray!ubyte(rowSize);
// filters the scan line
previousScanLine = null;
void filterScanLine(ubyte[] scanLine) {
// filter
tempFilterCurrent[0 .. scanLine.length] = scanLine[];
if (IHDR.filterMethod == PngIHDRFilter.Adaptive) {
if (scanLine.length <= 1) {
previousScanLine = tempFilterPrevious[0 .. 0];
return;
}
ubyte adaptiveOffset = scanLine[0];
foreach(i; 1 .. scanLine.length) {
switch(adaptiveOffset) {
case 1: // sub
// Sub(x) - Raw(x-bpp)
if (i-1 >= pixelPreviousByteAmount) {
ubyte rawSub = tempFilterCurrent[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] - rawSub);
} else {
// no changes needed
}
break;
case 2: // up
// Up(x) - Prior(x)
if (previousScanLine.length > i) {
ubyte prior = previousScanLine[i];
scanLine[i] = cast(ubyte)(scanLine[i] - prior);
} else {
// no changes needed
}
break;
case 3: // average
// Average(x) - floor((Raw(x-bpp)+Prior(x))/2)
if (previousScanLine.length > i) {
if (i-1 >= pixelPreviousByteAmount) {
ubyte prior = previousScanLine[i];
ubyte rawSub = tempFilterCurrent[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] - floor(cast(real)(rawSub + prior) / 2f));
} else {
ubyte prior = previousScanLine[i];
ubyte rawSub = 0;
scanLine[i] = cast(ubyte)(scanLine[i] - floor(cast(real)(rawSub + prior) / 2f));
}
} else if (i-1 >= pixelPreviousByteAmount) {
ubyte prior = 0;
ubyte rawSub = tempFilterCurrent[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] - floor(cast(real)(rawSub + prior) / 2f));
} else {
// no changes needed
}
break;
case 4: // paeth
// Paeth(x) - PaethPredictor(Raw(x-bpp), Prior(x), Prior(x-bpp))
if (previousScanLine.length > i) {
if (i-1 >= pixelPreviousByteAmount) {
ubyte prior = previousScanLine[i];
ubyte rawSub = tempFilterCurrent[i-pixelPreviousByteAmount];
ubyte priorRawSub = previousScanLine[i-pixelPreviousByteAmount];
scanLine[i] = cast(ubyte)(scanLine[i] - PaethPredictor(rawSub, prior, priorRawSub));
} else {
ubyte prior = previousScanLine[i];
ubyte rawSub = 0;
ubyte priorRawSub = 0;
scanLine[i] = cast(ubyte)(scanLine[i] - PaethPredictor(rawSub, prior, priorRawSub));
}
} else if (i-1 >= pixelPreviousByteAmount) {
ubyte prior = 0;
ubyte rawSub = tempFilterCurrent[i-pixelPreviousByteAmount];
ubyte priorRawSub = 0;
scanLine[i] = cast(ubyte)(scanLine[i] - PaethPredictor(rawSub, prior, priorRawSub));
} else {
// no changes needed
}
break;
default:
case 0: // none
break;
}
}
}
alloc.expandArray(decompressed, scanLine.length-scanLineFilterMethodOffset);
decompressed[$-(scanLine.length - scanLineFilterMethodOffset) .. $] = scanLine[scanLineFilterMethodOffset .. $];
previousScanLine = tempFilterPrevious[0 .. scanLine.length];
previousScanLine[] = tempFilterCurrent[0 .. scanLine.length][];
}
const ubyte bitByteCount = cast(ubyte)(8 / IHDR.bitDepth);
void storeChannel(ubyte v) {
if (byteToOffset == bitByteCount)
byteToOffset = 0;
if (byteToOffset == 0)
currentScanLine = tempScanLine[0 .. currentScanLine.length + 1];
if (byteToOffset > 0) {
v = cast(ubyte)(v << ((8-IHDR.bitDepth)-(IHDR.bitDepth * byteToOffset)));
currentScanLine[$-1] |= v;
} else
currentScanLine[$-1] = cast(ubyte)(v << (8-IHDR.bitDepth));
byteToOffset++;
}
void serializeScanLine(Color c) {
// serailize the color as apropriete form into the scanLineBuffer
if (isPalette) {
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8 || IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
currentScanLine = tempScanLine[0 .. currentScanLine.length + 1];
currentScanLine[$-1] = findPLTEColor(c);
} else {
storeChannel(findPLTEColor(c));
}
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8 || IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
currentScanLine = tempScanLine[0 .. currentScanLine.length + pixelSampleSize];
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth16) {
RGBA16 pixToUse = convertColor!RGBA16(c);
if (isColor) {
if (withAlpha) {
currentScanLine[$-8 .. $-6] = nativeToBigEndian(pixToUse.r);
currentScanLine[$-6 .. $-4] = nativeToBigEndian(pixToUse.g);
currentScanLine[$-4 .. $-2] = nativeToBigEndian(pixToUse.b);
currentScanLine[$-2 .. $] = nativeToBigEndian(pixToUse.a);
} else {
currentScanLine[$-6 .. $-4] = nativeToBigEndian(pixToUse.r);
currentScanLine[$-4 .. $-2] = nativeToBigEndian(pixToUse.g);
currentScanLine[$-2 .. $] = nativeToBigEndian(pixToUse.b);
}
} else if (isGrayScale) {
float pixG = (pixToUse.r / 3f) + (pixToUse.g / 3f) + (pixToUse.b / 3f);
if (withAlpha) {
currentScanLine[$-4 .. $-2] = nativeToBigEndian(cast(ushort)pixG);
currentScanLine[$-2 .. $] = nativeToBigEndian(pixToUse.a);
} else {
currentScanLine[$-2 .. $] = nativeToBigEndian(cast(ushort)pixG);
}
}
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth8) {
RGBA8 pixToUse = convertColor!RGBA8(c);
if (isColor) {
if (withAlpha) {
currentScanLine[$-4 .. $-3] = pixToUse.r;
currentScanLine[$-3 .. $-2] = pixToUse.g;
currentScanLine[$-2 .. $-1] = pixToUse.b;
currentScanLine[$-1 .. $] = pixToUse.a;
} else {
currentScanLine[$-3 .. $-2] = pixToUse.r;
currentScanLine[$-2 .. $-1] = pixToUse.g;
currentScanLine[$-1 .. $] = pixToUse.b;
}
} else if (isGrayScale) {
float pixG = (pixToUse.r / 3f) + (pixToUse.g / 3f) + (pixToUse.b / 3f);
if (withAlpha) {
currentScanLine[$-2 .. $-1] = cast(ubyte)pixG;
currentScanLine[$-1 .. $] = pixToUse.a;
} else {
currentScanLine[$-1 .. $] = cast(ubyte)pixG;
}
}
}
} else {
// 1, 2, 4 bit depths
ubyte bitMaxValue;
ubyte samplesPerPixel;
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth4) {
bitMaxValue = 15;
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth2) {
bitMaxValue = 3;
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth1) {
bitMaxValue = 1;
}
if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth4) {
samplesPerPixel = 2;
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth2) {
samplesPerPixel = 4;
} else if (IHDR.bitDepth == PngIHDRBitDepth.BitDepth1) {
samplesPerPixel = 8;
} else
samplesPerPixel = 1;
RGBA8 pixToUse = convertColor!RGBA8(c);
ubyte[4] bitDepthValues = [
cast(ubyte)ceil((pixToUse.r / 256f) * bitMaxValue),
cast(ubyte)ceil((pixToUse.g / 256f) * bitMaxValue),
cast(ubyte)ceil((pixToUse.b / 256f) * bitMaxValue),
cast(ubyte)ceil((pixToUse.a / 256f) * bitMaxValue)
];
if (isColor) {
storeChannel(bitDepthValues[0]);
storeChannel(bitDepthValues[1]);
storeChannel(bitDepthValues[2]);
if (withAlpha)
storeChannel(bitDepthValues[3]);
} else if (isGrayScale) {
storeChannel(bitDepthValues[0]);
if (withAlpha)
storeChannel(bitDepthValues[3]);
}
}
}
void startScanLine() {
if (IHDR.filterMethod == PngIHDRFilter.Adaptive) {
const ubyte[] filtersToApply = [cast(ubyte)0, 1];
currentScanLine = tempScanLine[0 .. 1];
//if (isPalette)
currentScanLine[0] = 0;
//else
// currentScanLine[0] = filtersToApply[offsetY % filtersToApply.length];
scanLineFilterMethodOffset = 0;
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7) {
if (offsetX > 0) {
//scanLineFilterMethodOffset = 1;
}
}
} else
currentScanLine = tempScanLine[0 .. 0];
byteToOffset = 0; // 1, 2, 4 bit depth
}
bool[size_t][size_t] doneSets;
if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.Adam7) {
pass = 0;
while(pass < 7) {
offsetY = starting_row[pass];
while(offsetY < IHDR.height) {
offsetX = starting_col[pass];
startScanLine();
while(offsetX < IHDR.width) {
assert(doneSets.get(offsetY, null).get(offsetX, true));
doneSets[offsetY][offsetX] = true;
serializeScanLine(value[offsetX, offsetY]);
offsetX += col_increment[pass];
}
filterScanLine(currentScanLine);
offsetY += row_increment[pass];
}
pass++;
}
} else if (IHDR.interlaceMethod == PngIHDRInterlaceMethod.NoInterlace) {
foreach(y; 0 .. IHDR.height) {
offsetY = y;
offsetX = 0;
startScanLine();
foreach(x; 0 .. IHDR.width) {
offsetX = x;
assert(doneSets.get(offsetY, null).get(offsetX, true));
doneSets[offsetY][offsetX] = true;
serializeScanLine(value[offsetX, offsetY]);
}
filterScanLine(currentScanLine);
}
}
foreach(x; 0 .. IHDR.width) {
foreach(y; 0 .. IHDR.height) {
assert(doneSets.get(y, null).get(x, false));
}
}
ubyte[] compressed;
// compress
if (IHDR.compressionMethod == PngIHDRCompresion.DeflateInflate) {
compressed = cast(ubyte[])compress(decompressed);
} else {
throw allocator.make!ImageNotLoadableException("IDAT unknown compression method");
}
ubyte[] bfr2 = buffer[0 .. compressed.length];
bfr2[] = compressed[];
theWriteFunc(cast(char[4])"IDAT", bfr2);
alloc.dispose(tempFilterPrevious);
alloc.dispose(tempFilterCurrent);
alloc.dispose(decompressed);
}
}
/*
* Misc functions
*/
void performCompatConfigure() {
static if (!is(Color == HeadersOnly)) {
IHDR.width = cast(uint)value.width;
IHDR.height = cast(uint)value.height;
// TODO: better color space guessing
IHDR.bitDepth = PngIHDRBitDepth.BitDepth8;
IHDR.colorType = PngIHDRColorType.ColorUsed;
IHDR.compressionMethod = PngIHDRCompresion.DeflateInflate;
IHDR.filterMethod = PngIHDRFilter.Adaptive;
}
}
}
}
/**
* Loads a PNG file headers
*
* Can be used to determine which color type to use at runtime.
*
* Returns:
* A PNG files headers without the image data
*/
managed!(PNGFileFormat!HeadersOnly) loadPNGHeaders(IR)(IR input, IAllocator allocator = theAllocator()) @trusted if (isInputRange!IR && is(ElementType!IR == ubyte)) {
managed!(PNGFileFormat!HeadersOnly) ret = managed!(PNGFileFormat!HeadersOnly)(managers(), tuple(allocator), allocator);
ret.performInput(input);
return ret;
}
/**
* Loads a PNG file using specific color type
*
* Params:
* input = Input range that returns the files bytes
* allocator = The allocator to use the allocate the image
*
* Returns:
* A PNG file, loaded as an image along with its headers. Using specified image storage type.
*/
managed!(PNGFileFormat!Color) loadPNG(Color, ImageImpl=ImageStorageHorizontal!Color, IR)(IR input, IAllocator allocator = theAllocator()) @trusted if (isInputRange!IR && is(ElementType!IR == ubyte) && isImage!ImageImpl) {
managed!(PNGFileFormat!Color) ret = managed!(PNGFileFormat!Color)(managers(), tuple(allocator), allocator);
ret.theImageAllocator = &ret.allocateTheImage!ImageImpl;
ret.performInput(input);
return ret;
}
///
unittest {
import std.experimental.graphic.color;
import std.file : read;
auto input = cast(ubyte[])read("testAssets/test.png");
PNGFileFormat!RGB8 image = loadPNG!RGB8(input);
}
/**
* Constructs a compatible version of an image as PNG
*
* Params:
* form = The image to construct from
*
* Returns:
* A compatible PNG image
*/
managed!(PNGFileFormat!Color) asPNG(From, Color = ImageColor!From, ImageImpl=ImageStorageHorizontal!Color)(From from, IAllocator allocator = theAllocator()) @safe if (isImage!From) {
import std.experimental.graphic.image.primitives : copyTo;
managed!(PNGFileFormat!Color) ret = managed!(PNGFileFormat!Color)(managers(), tuple(allocator), allocator);
ret.allocateTheImage!ImageImpl(from.width, from.height);
from.copyTo(ret.value);
ret.performCompatConfigure();
return ret;
}
///
unittest {
import std.experimental.graphic.color;
import std.file : read;
auto input = cast(ubyte[])read("testAssets/test.png");
ImageStorageHorizontal!RGB8 image = ImageStorageHorizontal!RGB8(2, 2);
PNGFileFormat!RGB8 image2 = asPNG(&image);
// modify some fields
ubyte[] or = image2.toBytes();
}
///
enum PngTextKeywords : string {
///
Title = "Title",
///
Author = "Author",
///
Description = "Description",
///
Copyright = "Copyright",
///
CreationTime = "Creation Time",
///
Software = "Software",
///
Disclaimer = "Disclaimer",
///
Warning = "Warning",
///
Source = "Source",
///
Comment = "Comment"
}
///
enum PngIHDRColorType : ubyte {
///
Grayscale = 0, // valid (0)
Palette = 1 << 0, // not valid
///
ColorUsed = 1 << 1, // valid (2) rgb
///
AlphaChannelUsed = 1 << 2, // valid (4) a
///
PalletteWithColorUsed = Palette | ColorUsed, // valid (1, 2) index + alpha
///
ColorUsedWithAlpha = ColorUsed | AlphaChannelUsed, // valid (2, 4) rgba
///
GrayscaleWithAlpha = Grayscale | AlphaChannelUsed
}
///
enum PngIHDRBitDepth : ubyte {
// valid with color type:
///
BitDepth1 = 1, // 0, 3
///
BitDepth2 = 2, // 0, 3
///
BitDepth4 = 4, // 0, 3
///
BitDepth8 = 8, // 0, 2, 3, 4, 8
///
BitDepth16 = 16 // 0, 2, 4, 8
}
///
enum PngIHDRCompresion : ubyte {
///
DeflateInflate = 0
}
///
enum PngIHDRFilter : ubyte {
///
Adaptive = 0
}
///
enum PngIHDRInterlaceMethod : ubyte {
///
NoInterlace = 0,
///
Adam7 = 1
}
///
enum PngRenderingIntent : ubyte {
///
Perceptual = 0,
///
RelativeColorimetric = 1,
///
Saturation = 2,
///
AbsoluteColorimetric = 3,
///
Unknown=255
}
///
enum PngPhysicalPixelUnit : ubyte {
///
Unknown = 0,
///
Meter = 1
}
///
struct IHDR_Chunk {
///
uint width;
///
uint height;
///
PngIHDRBitDepth bitDepth;
///
PngIHDRColorType colorType;
///
PngIHDRCompresion compressionMethod;
///
PngIHDRFilter filterMethod;
///
PngIHDRInterlaceMethod interlaceMethod;
}
///
struct PLTE_Chunk {
///
alias Color = RGB8;
///
Color[] colors;
}
///
struct cHRM_Chunk {
///
uint white_x;
///
uint white_y;
///
uint red_x;
///
uint red_y;
///
uint green_x;
///
uint green_y;
///
uint blue_x;
///
uint blue_y;
}
///
struct sRGB_Chunk {
///
PngRenderingIntent intent;
}
///
struct iCCP_Chunk {
///
string profileName;
///
PngIHDRCompresion compressionMethod;
///
ubyte[] profile;
}
///
struct gAMA_Chunk {
///
uint value;
///
@property void set(float value) {
this.value = cast(uint)(value * 100000);
}
///
@property float get() {
return value / 100000f;
}
}
///
union tRNS_Chunk {
///
ubyte[] indexAlphas;
///
RGB8 b8;
///
RGB16 b16;
}
///
union bKGD_Chunk {
///
ubyte index;
///
RGB8 b8;
///
RGB16 b16;
}
///
struct pPHs_Chunk {
///
uint ppx;
///
uint ppy;
///
PngPhysicalPixelUnit unit;
}
///
union sBIT_Chunk {
///
ubyte grayScale;
///
ubyte[3] trueColor;
///
ubyte[3] indexed;
///
ubyte[2] grayScaleAlpha;
///
ubyte[4] trueColorAlpha;
}
///
struct sPLT_Chunk {
///
string paletteName;
///
PngIHDRBitDepth sampleDepth;
///
struct Entry {
///
union Color {
///
RGBA8 b8;
///
RGBA16 b16;
}
///
Color color;
///
ushort frequency;
}
///
Entry[] colors;
}
/// Grumbles @ManuEvans...
alias RGBA16 = RGB!("rgba", ushort);
/// Grumbles @ManuEvans...
alias RGB16 = RGB!("rgb", ushort);
private {
struct IDAT_Chunk(Color) {
ubyte[] data;
}
enum {
starting_row = [
0, 0, 4, 0, 2, 0, 1
],
starting_col = [
0, 4, 0, 2, 0, 1, 0
],
row_increment = [
8, 8, 8, 4, 4, 2, 2
],
col_increment = [
8, 8, 4, 4, 2, 2, 1
],
block_height = [
8, 8, 4, 4, 2, 2, 1
],
block_width = [
8, 4, 4, 2, 2, 1, 1
]
}
ubyte PaethPredictor(ubyte a, ubyte b, ubyte c) {
import std.math : abs;
// a = left, b = above, c = upper left
int p = a + b - c; // initial estimate
int pa = abs(p - a); // distances to a, b, c
int pb = abs(p - b);
int pc = abs(p - c);
// return nearest of a,b,c,
// breaking ties in order a,b,c.
if (pa <= pb && pa <= pc) return a;
else if (pb <= pc) return b;
else return c;
}
}
|
D
|
module android.java.javax.crypto.SecretKeyFactory;
public import android.java.javax.crypto.SecretKeyFactory_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SecretKeyFactory;
import import0 = android.java.javax.crypto.SecretKeyFactory;
import import2 = android.java.javax.crypto.SecretKey;
|
D
|
module math.rtree2d.ptrs;
import math.geometry;
import core.bitop;
import std.typecons: Nullable;
import std.exception: enforce;
debug import std.stdio;
version(unittest) import std.string;
class RTreePtrs( _Box, _Payload )
{
alias _Box Box;
alias _Payload Payload;
const size_t maxChildren;
const size_t maxLeafChildren;
package ubyte depth = 0;
package Node* root;
private Payload[] payloads;
this( in size_t maxChildren, in size_t maxLeafChildren )
in
{
assert( maxChildren >= 2 );
assert( maxLeafChildren >= 1 );
}
body
{
this.maxChildren = maxChildren;
this.maxLeafChildren = maxLeafChildren;
root = new Node;
}
struct Node
{
package
{
Node* parent;
Box boundary;
union
{
Node*[] children;
Payload* payload;
}
debug const bool leafNode;
}
this( in Box boundary, Payload* payload )
{
debug leafNode = true;
this.boundary = boundary;
this.payload = payload;
}
Box getBoundary() const
{
return boundary;
}
void assignChild( Node* child )
{
debug assert( !leafNode );
if( children.length )
boundary.addCircumscribe( child.boundary );
else
boundary = child.boundary;
children ~= child;
child.parent = &this;
}
}
Payload* addObject( in Box boundary, Payload payload )
{
payloads ~= payload;
Payload* payload_ptr = &payloads[$-1];
Node* leaf = new Node( boundary, payload_ptr );
auto place = selectLeafPlace( boundary );
debug(rtptrs) writeln( "Add leaf ", leaf, " to node ", place );
place.assignChild( leaf ); // unconditional add a leaf
correct( place ); // correction of the tree
return payload_ptr;
}
Payload*[] search( in Box boundary ) const
{
Node* r = cast(Node*) root;
return search( boundary, r );
}
Box getBoundary() const
{
assert( root.children.length );
return root.boundary;
}
private
{
Payload*[] search( in Box boundary, Node* curr, size_t currDepth = 0 ) const
{
Payload*[] res;
if( currDepth > depth )
{
debug assert( curr.leafNode );
res ~= curr.payload;
}
else
{
debug assert( !curr.leafNode );
foreach( i, c; curr.children )
if( c.boundary.isOverlappedBy( boundary ) )
res ~= search( boundary, c, currDepth+1 );
}
return res;
}
Node* selectLeafPlace( in Box newItemBoundary ) const
{
Node* curr = cast(Node*) root;
for( auto currDepth = 0; currDepth < depth; currDepth++ )
{
debug assert( !curr.leafNode );
// search for min area of child nodes
float minArea = float.infinity;
size_t minKey;
foreach( i, c; curr.children )
{
auto area = c.boundary.getCircumscribed( newItemBoundary ).getArea();
if( area < minArea )
{
minArea = area;
minKey = i;
}
}
curr = curr.children[minKey];
}
return curr;
}
void correct( in Node* fromDeepestNode )
{
auto node = cast(Node*) fromDeepestNode;
bool leafs_level = true;
debug(rtptrs) writeln( "Correcting from node ", fromDeepestNode );
while( node )
{
debug(rtptrs) writeln( "Correcting node ", node );
debug assert( node.children[0].leafNode == leafs_level );
if( (leafs_level && node.children.length > maxLeafChildren) // need split on leafs level?
|| (!leafs_level && node.children.length > maxChildren) ) // need split of node?
{
if( node.parent is null ) // for root split need a new root node
{
auto old_root = root;
root = new Node;
root.assignChild( old_root );
depth++;
debug(rtptrs) writeln( "Added new root ", root, ", depth (without leafs) now is: ", depth );
}
Node* n = splitNode( node );
node.parent.assignChild( n );
}
else // just recalculate boundary
{
Box boundary = node.children[0].boundary;
foreach( c; node.children[1..$] )
boundary.addCircumscribe( c.boundary );
node.boundary = boundary;
}
node = node.parent;
leafs_level = false;
}
debug(rtptrs) writeln( "End of correction" );
}
/// Brute force method
Node* splitNode( Node* n )
in
{
debug assert( !n.leafNode );
assert( n.children.length >= 2 );
}
body
{
debug(rtptrs)
{
writeln( "Begin splitting node ", n, " by brute force" );
stdout.flush();
}
size_t children_num = n.children.length;
alias ulong BinKey;
struct Metrics
{
auto overlapping_perimeter = real.max;
auto boundary_perimeter = real.max;
}
Metrics metrics;
BinKey minMetricsKey;
// loop through all combinations of nodes
auto capacity = numToBits!BinKey( children_num );
for( BinKey i = 1; i < ( capacity + 1 ) / 2; i++ )
{
Nullable!Box b1;
Nullable!Box b2;
static void circumscribe( ref Nullable!Box box, inout Box add )
{
if( box.isNull )
box = add;
else
box.addCircumscribe( add );
}
// division into two unique combinations of child nodes
for( size_t bit_num = 0; bit_num < children_num; bit_num++ )
{
auto boundary = n.children[ bit_num ].boundary;
if( bt( cast( size_t* ) &i, bit_num ) == 0 )
circumscribe( b1, boundary );
else
circumscribe( b2, boundary );
}
// search for combination with minimum metrics
Metrics m;
if( b1.isOverlappedBy( b2 ) )
m.overlapping_perimeter = b1.getOverlappingBox( b2 ).getPerimeter;
else
m.overlapping_perimeter = 0;
if( metrics.overlapping_perimeter )
{
if( m.overlapping_perimeter < metrics.overlapping_perimeter )
{
metrics = m;
minMetricsKey = i;
}
}
else
{
m.boundary_perimeter = b1.getPerimeter + b2.getPerimeter;
if( m.boundary_perimeter < metrics.boundary_perimeter )
{
metrics = m;
minMetricsKey = i;
}
}
}
// split by places specified by bits of key
auto oldChildren = n.children.dup;
n.children.destroy;
auto newNode = new Node;
for( auto i = 0; i < children_num; i++ )
{
auto c = oldChildren[i];
if( bt( cast( size_t* ) &minMetricsKey, i ) == 0 )
n.assignChild( c );
else
newNode.assignChild( c );
}
debug(rtptrs)
{
writeln( "Split node ", n, " ", n.children, ", new ", newNode, " ", newNode.children );
stdout.flush();
}
return newNode;
}
package debug
void showTree()
{
showBranch( root );
}
debug
void showBranch( Node* from, uint depth = 0 )
{
writeln( "Depth: ", depth );
if( depth > this.depth )
{
writeln( "Leaf: ", from, " parent: ", from.parent, " value: ", *from.payload );
}
else
{
writeln( "Node: ", from, " parent: ", from.parent, " children: ", from.children );
foreach( i, c; from.children )
{
showBranch( c, depth+1 );
}
}
}
package void statistic(
ref size_t nodesNum,
ref size_t leafsNum,
ref size_t leafBlocksNum,
Node* curr = null,
size_t currDepth = 0
) const
{
if( !curr )
{
curr = cast(Node*) root;
nodesNum = 1;
}
if( currDepth == depth )
{
leafBlocksNum++;
leafsNum += curr.children.length;
}
else
{
nodesNum += curr.children.length;
foreach( i, c; curr.children )
statistic( nodesNum, leafsNum, leafBlocksNum, c, currDepth+1 );
}
}
}
}
private
{
/// convert number to number of bits
T numToBits( T, N )( N n ) pure
{
{
auto max_n = n + 1;
auto bytes_used = max_n / 8;
if( max_n % 8 > 0 )
bytes_used++;
enforce( bytes_used <= T.sizeof );
}
T res;
for( N i = 0; i < n; i++ )
res = cast(T) ( res << 1 | 1 );
return res;
}
unittest
{
assert( numToBits!ubyte( 3 ) == 0b_0000_0111 );
}
}
version(unittest)
{
static struct DumbPayload
{
char[6] data = [ 0x58, 0x58, 0x58, 0x58, 0x58, 0x58 ];
ubyte[] Serialize() const /// TODO: real serialization
{
ubyte res[] = (cast (ubyte*) &this) [ 0 .. this.sizeof ];
return res;
}
size_t Deserialize( ubyte* data ) /// TODO: real serialization
{
(cast (ubyte*) &this)[ 0 .. this.sizeof] = data[ 0 .. this.sizeof ].dup[ 0 .. this.sizeof ];
return this.sizeof;
}
}
unittest
{
DumbPayload a;
DumbPayload b;
auto serialized = &(a.Serialize())[0];
auto size = b.Deserialize( serialized );
assert( size == a.sizeof );
assert( a == b );
}
}
unittest
{
import core.memory;
debug GC.disable();
alias Vector2D!float Vector;
alias Box!Vector BBox;
auto rtree = new RTreePtrs!(BBox, DumbPayload)( 2, 2 );
for( float y = 1; y < 4; y++ )
for( float x = 1; x < 4; x++ )
{
DumbPayload payload;
BBox boundary = BBox( Vector( x, y ), Vector( 1, 1 ) );
rtree.addObject( boundary, payload );
}
debug(rtree) rtree.showBranch( rtree.root );
debug GC.enable();
size_t nodes, leafs, leafBlocksNum;
rtree.statistic( nodes, leafs, leafBlocksNum );
assert( leafs == 9 );
//assert( nodes == 13 );
assert( leafBlocksNum == 6 );
assert( rtree.root.getBoundary == BBox(Vector(1, 1), Vector(3, 3)) );
BBox search1 = BBox( Vector( 2, 2 ), Vector( 1, 1 ) );
BBox search2 = BBox( Vector( 2.1, 2.1 ), Vector( 0.8, 0.8 ) );
assert( rtree.search( search1 ).length == 9 );
assert( rtree.search( search2 ).length == 1 );
}
|
D
|
instance VLK_4201_Wirt(Npc_Default)
{
name[0] = "Лендлорд";
guild = GIL_VLK;
id = 4201;
voice = 14;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_N_OldBald_Jeremiah,BodyTex_N,ITAR_Barkeeper);
Mdl_SetModelFatness(self,2);
Mdl_ApplyOverlayMds(self,"Humans_Arrogance.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,70);
daily_routine = Rtn_Start_4201;
};
func void Rtn_Start_4201()
{
TA_Stand_Guarding(4,35,21,0,"NW_CITY_BEER_02");
TA_Pee(21,0,21,5,"NW_CITY_KASERN_PLACE_01");
TA_Stand_Drinking(21,5,4,30,"NW_CITY_BEER_02");
TA_Pee(4,30,4,35,"NW_CITY_KASERN_PLACE_01");
};
|
D
|
module CodeAnalyzer.syntax.identifiers;
import CodeAnalyzer.syntax.core;
class IdentifierSequence : ParseRule
{
public this(TokenScanner ts)
{
super(ts);
}
/**
IdentifierSequence:
IdentifierList
IdentifierSequence ! TemplateArguments
IdentifierSequence ! TemplateArguments . IdentifierSequence
*/
public void parse()
{
parseR!(IdentifierList);
if( ts.next( TOK.Tnot, TOK.Openparen ) || ( ( compilerVersion > 1 ) && ts.next( TOK.Tnot ) && !ts.next( TOK.Tnot, TOK.Tis ) ) )
{
parseTerminal();
parseR!(TemplateArguments);
if( ts.next( TOK.Tdot ) )
{
parseTerminal();
parse(); //recursivly parse
}
}
}
}
class IdentifierList : ParseRule
{
public this(TokenScanner ts)
{
super(ts);
}
/**
IdentifierList:
Identifier . IdentifierList
Identifier
. Identifier
. Identifier . IdentifierList
*/
public void parse()
{
if( ts.next( TOK.Tdot ) )
{
parseTerminal();
}
parseR!(Identifier);
while( ts.next( TOK.Tdot ) )
{
parseTerminal();
parseR!(Identifier);
}
}
}
class TemplateArguments : ParseRule
{
this(TokenScanner ts)
{
super(ts);
}
/**
TemplateArguments:
( TemplateArgumentList )
( )
*/
public void parse()
{
if( ts.next( TOK.Openparen ) )
parseTerminal( TOK.Openparen );
else
{ // D 2.0
parseR!(TemplateArgumentList);
return;
}
if( !ts.next( TOK.Closeparen ) )
{
parseR!(TemplateArgumentList);
}
parseTerminal( TOK.Closeparen );
}
}
class TemplateArgumentList : ParseRule
{
this(TokenScanner ts)
{
super(ts);
}
/**
TemplateArgumentList:
TemplateArgument
TemplateArgument, TemplateArgumentList
*/
public void parse()
{
parseR!(TemplateArgument);
if( ts.next( TOK.Comma ) )
{
parseTerminal();
parse();
}
}
}
class TemplateArgument : ParseRule
{
this(TokenScanner ts)
{
super(ts);
}
/**
TemplateArgument:
Type
AssignExpression
Symbol
*/
public void parse()
{
parseR!(ExprType);
}
}
class Number : ParseRule
{
this(TokenScanner ts)
{
super(ts);
}
/**
*/
public void parse()
{
parseTerminal( TOK.Tnumber );
}
}
class Character : ParseRule
{
this(TokenScanner ts)
{
super(ts);
}
/**
*/
public void parse()
{
parseTerminal( TOK.Tcharconstant );
}
}
class StringList : ParseRule
{
this(TokenScanner ts)
{
super(ts);
}
/**
StringList:
String
String StringList
*/
public void parse()
{
parseR!(String);
if( ts.next( TOK.Tstring ) )
{
parse();
}
}
}
class String : ParseRule
{
this(TokenScanner ts)
{
super(ts);
}
/**
*/
public void parse()
{
parseTerminal( TOK.Tstring );
}
}
|
D
|
/*
* Copyright Andrej Mitrovic 2013.
* 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 git.credentials;
import std.conv;
import std.exception;
import std.string;
import std.typecons;
import deimos.git2.transport;
import git.exception;
import git.util;
import git.version_;
version (GIT_SSH)
{
static assert(0, "dlibgit does not support SSH yet.");
}
static if (targetLibGitVersion == VersionInfo(0, 19, 0)):
/* The base structure for all credential types. */
struct GitCred
{
// internal
private this(git_cred* cred)
{
_data = Data(cred);
}
/**
Return the actual credential type of this credential.
Use the $(D get) template to cast this type to the
type tagged as $(D credType).
*/
@property GitCredType credType()
{
return cast(GitCredType)_data._payload.credtype;
}
/** Throw if the target credential type is not equal to credType that's stored. */
void verifyTypeMatch(GitCredType target)
{
enforceEx!GitException(credType == target,
format("Tried to cast GitCred of type '%s' to type '%s'",
credType, target));
}
/**
Cast this credential to the structure type matching
the $(D cred) enum tag.
If the underlying type does not match the target type,
a $(D GitException) is thrown.
*/
auto get(GitCredType cred)()
{
return get!(_credToType!cred);
}
/**
Cast this credential to a specific credential type $(D T).
If the underlying type does not match the target type,
a $(D GitException) is thrown.
*/
T get(T)() if (isGitCredential!T)
{
verifyTypeMatch(T.credType);
return getImpl!T;
}
package:
/**
* The internal libgit2 handle for this object.
*
* Care should be taken not to escape the reference outside a scope where
* a GitCred encapsulating the handle is kept alive.
*/
@property git_cred* cHandle()
{
return _data._payload;
}
private:
T getImpl(T : GitCred_PlainText)()
{
auto cred = cast(T.c_cred_struct*)_data._payload;
T result;
result.parent = this;
result.username = to!string(cred.username);
result.password = to!string(cred.password);
return result;
}
version (GIT_SSH)
{
static assert(0, "dlibgit does not support SSH yet.");
T getImpl(T : GitCred_KeyFilePassPhrase)()
{
auto cred = cast(T.c_cred_struct*)_data._payload;
T result;
result.parent = this;
result.publickey = to!string(cred.publickey);
result.privatekey = to!string(cred.privatekey);
result.passphrase = to!string(cred.passphrase);
return result;
}
T getImpl(T : GitCred_PublicKey)()
{
auto cred = cast(T.c_cred_struct*)_data._payload;
T result;
result.parent = this;
result.publickey = cred.publickey[0 .. cred.publickey_len];
result.sign_callback = cred.sign_callback;
result.sign_data = cred.sign_data;
return result;
}
}
/** Payload for the $(D git_cred) object which should be refcounted. */
struct Payload
{
this(git_cred* payload)
{
_payload = payload;
}
~this()
{
//~ writefln("- %s", __FUNCTION__);
if (_payload !is null)
{
_payload.free(_payload);
_payload = null;
}
}
/// Should never perform copy
@disable this(this);
/// Should never perform assign
@disable void opAssign(typeof(this));
git_cred* _payload;
}
alias RefCounted!(Payload, RefCountedAutoInitialize.no) Data;
Data _data;
}
///
enum GitCredType
{
///
plaintext = GIT_CREDTYPE_USERPASS_PLAINTEXT,
///
passphrase = GIT_CREDTYPE_SSH_KEYFILE_PASSPHRASE,
///
publickey = GIT_CREDTYPE_SSH_PUBLICKEY,
}
/* A plaintext username and password. */
struct GitCred_PlainText
{
///
enum credType = GitCredType.plaintext;
///
GitCred parent;
///
string username;
///
string password;
private alias c_cred_struct = git_cred_userpass_plaintext;
}
version (GIT_SSH)
{
static assert(0, "dlibgit does not support SSH yet.");
/* A ssh key file and passphrase. */
struct GitCred_KeyFilePassPhrase
{
///
enum credType = GitCredType.passphrase;
///
GitCred parent;
///
string publicKey;
///
string privateKey;
///
string passPhrase;
private alias c_cred_struct = git_cred_ssh_keyfile_passphrase;
}
/* A ssh public key and authentication callback. */
struct GitCred_PublicKey
{
///
enum credType = GitCredType.publickey;
///
GitCred parent;
///
ubyte[] publicKey;
///
void* signCallback;
///
void* signData;
private alias c_cred_struct = git_cred_ssh_publickey;
}
}
/** Check if type $(D T) is one of the supported git credential types. */
template isGitCredential(T)
{
version (GIT_SSH)
{
static assert(0, "dlibgit does not support SSH yet.");
enum bool isGitCredential = is(T == GitCred_PlainText) ||
is(T == GitCred_KeyFilePassPhrase) ||
is(T == GitCred_PublicKey);
}
else
{
enum bool isGitCredential = is(T == GitCred_PlainText);
}
}
// helper
private template _credToType(GitCredType credType)
{
static if (credType == GitCredType.plaintext)
alias _credToType = GitCred_PlainText;
else
version (GIT_SSH)
{
static assert(0, "dlibgit does not support SSH yet.");
static if (credType == GitCredType.passphrase)
alias _credToType = GitCred_KeyFilePassPhrase;
else
static if (credType == GitCredType.publickey)
alias _credToType = GitCred_PublicKey;
else
static assert(0);
}
else
static assert(0);
}
/**
Creates a new plain-text username and password credential object.
The supplied credential parameter will be internally duplicated.
*/
GitCred getCredPlainText(string username, string password)
{
git_cred* _git_cred;
require(git_cred_userpass_plaintext_new(&_git_cred, username.gitStr, password.gitStr) == 0);
return GitCred(_git_cred);
}
///
unittest
{
auto cred = getCredPlainText("user", "pass");
switch (cred.credType) with (GitCredType)
{
case plaintext:
{
version (GIT_SSH)
{
static assert(0, "dlibgit does not support SSH yet.");
// throw when trying to cast to an inappropriate type
assertThrown!GitException(cred.get!passphrase);
// ditto
assertThrown!GitException(cred.get!GitCred_KeyFilePassPhrase);
}
// use enum for the get template
auto cred1 = cred.get!plaintext;
assert(cred1.username == "user");
assert(cred1.password == "pass");
// or use a type
auto cred2 = cred.get!GitCred_PlainText;
assert(cred2.username == "user");
assert(cred2.password == "pass");
break;
}
default: assert(0, text(cred.credType));
}
}
version (GIT_SSH)
{
static assert(0, "dlibgit does not support SSH yet.");
/**
Creates a new ssh key file and passphrase credential object.
The supplied credential parameter will be internally duplicated.
Params:
- $(D publicKey): The path to the public key of the credential.
- $(D privateKey): The path to the private key of the credential.
- $(D passPhrase): The passphrase of the credential.
*/
GitCred getCredKeyFilePassPhrase(string publicKey, string privateKey, string passPhrase)
{
git_cred* _git_cred;
require(git_cred_ssh_keyfile_passphrase_new(&_git_cred, publicKey.gitStr, privateKey.gitStr, passPhrase.gitStr) == 0);
return GitCred(_git_cred);
}
///
unittest
{
auto cred = getCredKeyFilePassPhrase("public", "private", "passphrase");
switch (cred.credType) with (GitCredType)
{
case passphrase:
{
// throw when trying to cast to an inappropriate type
assertThrown!GitException(cred.get!plaintext);
// ditto
assertThrown!GitException(cred.get!GitCred_PlainText);
// use enum for the get template
auto cred1 = cred.get!passphrase;
assert(cred1.publicKey == "public");
assert(cred1.privateKey == "private");
assert(cred1.passPhrase == "passphrase");
// or use a type
auto cred2 = cred.get!GitCred_KeyFilePassPhrase;
assert(cred2.publicKey == "public");
assert(cred2.privateKey == "private");
assert(cred2.passPhrase == "passphrase");
break;
}
default: assert(0, text(cred.credType));
}
}
/**
Creates a new ssh public key credential object.
The supplied credential parameter will be internally duplicated.
Params:
- $(D publicKey): The bytes of the public key.
- $(D signCallback): The callback method for authenticating.
- $(D signData): The abstract data sent to the $(D signCallback) method.
*/
GitCred getCredPublicKey(ubyte[] publicKey, void* signCallback, void* signData)
{
git_cred* _git_cred;
require(git_cred_ssh_publickey_new(&_git_cred, publicKey.ptr, publicKey.length, signCallback, signData) == 0);
return GitCred(_git_cred);
}
///
unittest
{
auto cred = getCredPublicKey([], null, null);
switch (cred.credType) with (GitCredType)
{
case publickey:
{
// throw when trying to cast to an inappropriate type
assertThrown!GitException(cred.get!plaintext);
// ditto
assertThrown!GitException(cred.get!GitCred_PlainText);
// use enum for the get template
auto cred1 = cred.get!publickey;
assert(cred1.publicKey == []);
assert(cred1.signCallback is null);
assert(cred1.signData is null);
// or use a type
auto cred2 = cred.get!GitCred_PublicKey;
assert(cred2.publicKey == []);
assert(cred2.signCallback is null);
assert(cred2.signData is null);
break;
}
default: assert(0, text(cred.credType));
}
}
}
alias GitCredAcquireDelegate = GitCred delegate(
in char[] url,
in char[] usernameFromURL,
uint allowedTypes);
|
D
|
module scene.scenemanager;
import std.conv;
import scene.instancemanager;
import scene.meshnode;
import scene.entityproxy;
import scene.unitproxy;
import scene.texturearray;
import graphics.camera;
import graphics.image;
import graphics.models.cgymodel;
import graphics.shader;
import modelparser.cgyparser;
import entities.entity;
import unit;
import cgy.util.filesystem;
import cgy.math.vector : vec3d;
enum SceneNodeType {
Model,
ParticleHost,
Billboard,
Sprite, //Same as billboard but locked?
Count,
}
interface SceneNode {
void setPosition(vec3d pos);
vec3d getPosition();
SceneNodeType getType();
void render();
};
alias ShaderProgram!("VP", "texUnit") SceneNodeShader;
struct InstanceData {
vec3f pos; //Updated to be camera-relative each frame in proxy.preRender
vec3f rot;
vec3f scale = vec3f(1.0f);
uint animationIndex;
uint frameIndex;
uint texIdx;
}
//Rename to SkeletonGroup, because yeah?
final class Skeleton {
SceneManager sceneManager;
int[string] animations; //List of animationname-to-animationindex
InstanceManager[CGYMesh] meshInstanceManagers;
this(SceneManager _sceneManager) {
sceneManager = _sceneManager;
}
bool destroyed = false;
~this() {
BREAK_IF(!destroyed);
}
void destroy() {
destroyed = true;
}
void register(CGYMesh mesh, InstanceData** ptrPtr) {
if(mesh in meshInstanceManagers) {
meshInstanceManagers[mesh].register(ptrPtr);
return;
}
auto im = new InstanceManager(sceneManager, mesh);
meshInstanceManagers[mesh] = im;
im.register(ptrPtr);
}
void unregister(CGYMesh mesh, InstanceData** ptrPtr) {
meshInstanceManagers[mesh].unregister(ptrPtr);
}
void render(Camera camera) {
foreach(instanceManager; meshInstanceManagers) {
instanceManager.render(camera);
}
}
void startAnimation(string animName, AnimationState animState) {
animState.frameIndex = 0;
animState.animationIndex = 0;
if(animName in animations) {
animState.animationIndex = animations[animName];
}
}
}
final class AnimationState {
uint animationIndex;
uint frameIndex;
}
final class SceneManager {
SceneNode[][SceneNodeType.Count] sceneNodes;
UnitProxy[uint] unitProxies;
EntityProxy[uint] entityProxies;
uint meshPartCount = 0;
uint[string] meshNameToInt;
cgyModel[string] models;
cgyModel[] newModels; //To be uploaded on first use
Skeleton[string] skeletons;
SceneNodeShader[string] shaders;
TextureArray[uint] textureArrays;
this() {
}
bool destroyed = false;
~this() {
BREAK_IF(!destroyed);
}
void destroy() {
foreach(proxy ; unitProxies) {
proxy.destroy();
}
foreach(proxy ; entityProxies) {
proxy.destroy();
}
foreach(model ; models) {
model.destroy();
}
foreach(skeleton ; skeletons) {
skeleton.destroy();
}
foreach(shader ; shaders) {
shader.destroy();
}
foreach(textureArray ; textureArrays) {
textureArray.destroy();
}
shaders = null;
destroyed = true;
}
UnitProxy getProxy(Unit unit) {
if(unit.id in unitProxies) {
return unitProxies[unit.id];
}
auto proxy = new UnitProxy(this, unit);
unitProxies[unit.id] = proxy;
return proxy;
}
void removeProxy(Unit unit) {
UnitProxy* proxy = unit.id in unitProxies;
if(proxy is null) return;
unitProxies.remove(unit.id);
proxy.destroy();
}
EntityProxy getProxy(Entity entity) {
if(entity.entityId in entityProxies) {
return entityProxies[entity.entityId];
}
auto proxy = new EntityProxy(this, entity);
entityProxies[entity.entityId] = proxy;
return proxy;
}
void removeProxy(Entity entity) {
EntityProxy* proxy = entity.entityId in entityProxies;
if(proxy is null) return;
entityProxies.remove(entity.entityId);
proxy.destroy();
}
void newNode(SceneNode node) {
//Make sure we dont have it already
sceneNodes[node.getType()] ~= node;
}
uint getMeshId(string meshName, int meshPart) {
auto str = meshName ~ to!string(meshPart);
if(str in meshNameToInt) {
return meshNameToInt[str];
}
meshNameToInt[str] = meshPartCount;
meshPartCount += 1;
return meshPartCount - 1;
}
cgyModel loadModel(string modelName) {
if(modelName in models) {
return models[modelName];
}
cgyModel model = new cgyModel();
newModels ~= model;
auto file = readText("models/" ~ modelName);
auto meshData = parseModel(file);
model.loadMesh(meshData);
models[modelName] = model;
return model;
}
Skeleton loadSkeleton(string skeletonName) {
if(skeletonName in skeletons) {
return skeletons[skeletonName];
}
Skeleton skeleton = new Skeleton(this);
//auto file = readText(skeletonName);
//auto skeletonData = parse(file);
//skeleton.loadSkeleton(skeletonData);
skeletons[skeletonName] = skeleton;
pragma(msg, "implement skeleton loading");
return skeleton;
}
SceneNodeShader getShader(string shaderPath) {
if(shaderPath in shaders) {
return shaders[shaderPath];
}
auto shader = loadShader(shaderPath);
shaders[shaderPath] = shader;
return shader;
}
private SceneNodeShader loadShader(string shaderPath) {
auto vertexPath = shaderPath ~ ".vert";
auto fragmentPath = shaderPath ~ ".frag";
auto shader = new SceneNodeShader(vertexPath, fragmentPath);
shader.bindAttribLocation(0, "position");
shader.bindAttribLocation(1, "texcoord");
shader.bindAttribLocation(2, "normal");
shader.bindAttribLocation(3, "bones");
shader.bindAttribLocation(4, "weights");
shader.bindAttribLocation(5, "pos");
shader.bindAttribLocation(6, "rot");
shader.bindAttribLocation(7, "animationIndex");
shader.bindAttribLocation(8, "frameIndex");
shader.bindAttribLocation(9, "texIdx");
shader.bindAttribLocation(10, "scale");
shader.link();
shader.use();
shader.VP = shader.getUniformLocation("VP");
shader.texUnit = shader.getUniformLocation("texUnit");
shader.setUniform(shader.texUnit, 3); //Hardcoded texture unit 3
shader.use(false);
/*
code to detect which variables and things are used in the shader.
and to bind attributes and the like.
*/
return shader;
}
TextureArray loadArrayTexture(string texture, out uint arrayIdx) {
TextureArray ret;
Image image = Image(texture);
uint hash = 10_000 * image.imgWidth + image.imgHeight;
if(hash !in textureArrays) {
ret = new TextureArray();
textureArrays[hash] = ret;
} else {
ret = textureArrays[hash];
}
arrayIdx = ret.loadImage(texture, image);
return ret;
}
void renderScene(Camera camera) {
/*
foreach(typeList ; sceneNodes) {
foreach(node ; typeList) {
node.render();
}
}
*/
foreach(model ; newModels) {
model.prepare();
}
newModels.length = 0;
foreach(unitId, unitProxy ; unitProxies) {
unitProxy.preRender(camera);
}
foreach(entityId, entityProxy ; entityProxies) {
entityProxy.preRender(camera);
}
foreach(skeleton ; skeletons) {
skeleton.render(camera);
}
}
};
|
D
|
version https://git-lfs.github.com/spec/v1
oid sha256:7766530beafceee6cfa42d174b99f57d05878df5f2241fce83b20d282b05e3c5
size 2491
|
D
|
module vulkan.api.frame_buffer;
/**
* https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFramebufferCreateInfo.html
*/
import vulkan.all;
VkFramebuffer createFrameBuffer(VkDevice device,
VkRenderPass renderPass,
VkImageView[] views,
uint width,
uint height,
uint layers)
{
VkFramebuffer frameBuffer;
VkFramebufferCreateInfo info;
info.sType = VkStructureType.VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO;
info.flags = 0;
info.renderPass = renderPass;
info.attachmentCount = cast(uint)views.length;
info.pAttachments = views.ptr;
info.width = width;
info.height = height;
info.layers = layers;
check(vkCreateFramebuffer(
device,
&info,
null,
&frameBuffer
));
return frameBuffer;
}
|
D
|
module perfontain.managers.gui;
import std.utf, std.range, std.stdio, std.ascii, std.array, std.string,
std.regex, std.encoding, std.algorithm, stb.image, perfontain,
perfontain.misc, perfontain.misc.dxt, perfontain.misc.draw,
perfontain.opengl, perfontain.signals;
public import nuklear, perfontain.managers.gui.tab, perfontain.managers.gui.text,
perfontain.managers.gui.misc, perfontain.managers.gui.basic,
perfontain.managers.gui.scroll, perfontain.managers.gui.select,
perfontain.managers.gui.images, perfontain.managers.gui.element,
perfontain.managers.gui.tooltip, perfontain.managers.gui.layout,
perfontain.managers.gui.window, perfontain.managers.gui.style,
perfontain.managers.gui.property;
mixin template Nuklear()
{
protected static ctx()
{
return PE.gui.ctx;
}
protected static widthFor(string text)
{
auto font = ctx.style.font;
return cast(ushort)font.width(cast(nk_handle)font.userdata,
font.height, text.ptr, cast(int)text.length);
}
}
final class GUIManager
{
this()
{
_prog = ProgramCreator(`gui`).create;
bg.r = 0.10f, bg.g = 0.18f, bg.b = 0.24f, bg.a = 1.0f;
{
nk_font_atlas_init_default(atlas = new nk_font_atlas);
nk_font_atlas_begin(atlas);
auto size = 16;
auto conf = nk_font_config_(size);
static const nk_rune[] nk_font_japanese_glyph_ranges = [
0x0020, 0x00FF, 0x2200, 0x22FF, // Mathematical Operators
0x3000, 0x303F, // CJK Symbols and Punctuation
//0x1F600, 0x1F64F, // emoji
0x0400, 0x052F, // cyrrilic
0x2DE0, 0x2DFF, 0xA640, 0xA69F, 0
];
conf.range = nk_font_cyrillic_glyph_ranges(); // nk_font_japanese_glyph_ranges.ptr;
//conf.pixel_snap = 1;
conf.oversample_v = 1;
conf.oversample_h = 1;
auto data = PE.fs.get("data/font/notosans-regular.ttf");
auto font = nk_font_atlas_add_from_memory(atlas, data.ptr, data.length, size, &conf);
int w, h;
auto image = nk_font_atlas_bake(atlas, &w, &h, NK_FONT_ATLAS_RGBA32);
auto td = TextureData(Vector2s(w, h), image[0 .. w * h * 4].toByte);
auto ti = TextureInfo(TEX_RGBA, td.sliceOne);
new Image(w, h, td.data).saveToFile(`res.png`);
ftex = new Texture(ti);
nk_font_atlas_end(atlas, nk_handle_ptr(cast(void*)ftex), &null_);
/*if (atlas.default_font)
nk_style_set_font(_nk, &atlas.default_font.handle);
else
nk_style_set_font(_nk, &font.handle);*/
nk_init_default(_nk = new nk_context, &font.handle);
_nk.style.window.min_row_height_padding = 2; // TODO: ???
nk_buffer_init_default(&cmds);
}
PE.onResize.permanent(&onResize);
}
nk_font_atlas* atlas;
nk_colorf bg;
nk_buffer cmds;
nk_context* _nk;
RC!Texture ftex;
auto ctx()
{
return _nk;
}
void draw()
{
//alias F = (a, b) => a.flags.topMost < b.flags.topMost;
//root.childs[].sort!(F, SwapStrategy.stable);
//root.draw(Vector2s.init);
//overview(_nk);
_windows.each!(a => a.draw);
if (drawGUI)
drawGUI();
nk_buffer vbuf;
nk_buffer ebuf;
{
nk_convert_config config;
const(nk_draw_vertex_layout_element)[] vertex_layout = [
{NK_VERTEX_POSITION, NK_FORMAT_FLOAT, 0},
{NK_VERTEX_TEXCOORD, NK_FORMAT_FLOAT, 8},
{NK_VERTEX_COLOR, NK_FORMAT_R32G32B32A32_FLOAT, 16},
NK_VERTEX_LAYOUT_END
];
import core.stdc.string;
memset(&config, 0, config.sizeof);
config.vertex_layout = vertex_layout.ptr;
config.vertex_size = 32;
config.vertex_alignment = 1;
config.null_ = null_;
config.circle_segment_count = 22;
config.curve_segment_count = 22;
config.arc_segment_count = 22;
config.global_alpha = 1.0f;
config.shape_AA = NK_ANTI_ALIASING_ON;
config.line_AA = NK_ANTI_ALIASING_ON;
nk_buffer_init_default(&vbuf);
nk_buffer_init_default(&ebuf);
nk_convert(_nk, &cmds, &vbuf, &ebuf, &config);
}
drawPopups;
auto elements = nk_buffer_memory(&ebuf)[0 .. ebuf.needed].as!uint;
if (elements.length)
{
auto vertices = nk_buffer_memory(&vbuf)[0 .. vbuf.needed].as!float;
draw(SubMeshData(elements, vertices.toByte));
}
nk_clear(_nk);
nk_buffer_clear(&cmds);
nk_buffer_free(&vbuf);
nk_buffer_free(&ebuf);
}
void addPopup(PopupText pt)
{
_texts ~= pt;
}
void delegate() drawGUI;
nk_draw_null_texture null_;
Signal!(void, GUIElement) onCurrentChanged;
RC!MeshHolder holder;
Vector2s[] sizes;
package:
void add(GUIWindow w)
{
_windows ~= w;
}
void remove(GUIWindow w)
{
_windows.remove(w);
}
private:
RCArray!GUIWindow _windows;
PopupText[] _texts;
void draw(SubMeshData data)
{
auto mh = asRC(new MeshHolder(RENDER_GUI, data));
//mh.texs = (cast(Texture) ftex).sliceOne;
{
uint offset;
short n;
glDisable(GL_CULL_FACE);
for (auto cmd = nk__draw_begin(_nk, &cmds); (cmd); (cmd) = nk__draw_next(cmd,
&cmds, _nk))
{
if (!cmd.elem_count)
continue;
//writefln(`%s`, cmd.elem_count);
{
auto tex = cast(Texture)cmd.texture.ptr;
auto idx = mh.texs[].countUntil!(a => a is tex);
if (idx < 0)
{
mh.texs ~= tex;
idx = mh.texs[].length - 1;
}
mh.meshes ~= HolderMesh([
HolderSubMesh(cmd.elem_count, offset, cast(ushort)idx)
]);
}
DrawInfo d;
d.mh = mh;
d.id = n++;
d.flags = DI_NO_DEPTH;
d.blendingMode = blendingNormal;
d.scissor = Vector4s(cmd.clip_rect.x,
(PE.window.size.y - (cmd.clip_rect.y + cmd.clip_rect.h)),
(cmd.clip_rect.w), (cmd.clip_rect.h));
d.scissor.z += d.scissor.x;
d.scissor.w += d.scissor.y;
PE.render.toQueue(d);
/* glBindTexture(GL_TEXTURE_2D, cast(GLuint)cmd.texture.id);
glScissor(cast(GLint)(cmd.clip_rect.x * scale.x),
cast(GLint)((height - cast(GLint)(cmd.clip_rect.y + cmd.clip_rect.h)) * scale.y),
cast(GLint)(cmd.clip_rect.w * scale.x),
cast(GLint)(cmd.clip_rect.h * scale.y));
glDrawElements(GL_TRIANGLES, cast(GLsizei)cmd.elem_count, GL_UNSIGNED_INT, offset);*/
offset += cmd.elem_count;
}
}
PE.render.doDraw(_prog, RENDER_GUI, _proj, null, false);
glEnable(GL_CULL_FACE);
}
void drawPopups()
{
foreach (pt; _texts)
{
auto s = pt.msg;
assert(s.length);
auto f = ctx.style.font;
auto w = f.width(cast()f.userdata, f.height, s.ptr, cast(uint)s.length);
pt.pos.x -= cast(short)w / 2;
pt.pos.y -= cast(short)f.height / 2;
if (pt.fill)
{
auto r = nk_rect_(pt.pos.x - 2, pt.pos.y, w + 4, f.height);
nk_draw_list_fill_rect(&ctx.draw_list, r, nk_rgba(0, 0, 0, 128), 0);
}
auto c = nk_rgb(255, 255, 255);
auto r = nk_rect_(pt.pos.x, pt.pos.y, w, f.height);
foreach (x; -1 .. 2)
foreach (y; -1 .. 2)
if (x || y)
nk_draw_list_add_text(&ctx.draw_list, f,
nk_rect(r.x + x, r.y + y, r.w, r.h), s.ptr,
cast(uint)s.length, f.height, nk_rgb(0, 0, 0));
nk_draw_list_add_text(&ctx.draw_list, f, r, s.ptr, cast(uint)s.length, f.height, c);
}
_texts = null;
}
private:
void onResize(Vector2s sz)
{
//root.size = sz;
float[4][4] ortho = [
[2.0f, 0.0f, 0.0f, 0.0f], [0.0f, -2.0f, 0.0f, 0.0f],
[0.0f, 0.0f, -1.0f, 0.0f], [-1.0f, 1.0f, 0.0f, 1.0f],
];
ortho[0][0] /= sz.x;
ortho[1][1] /= sz.y;
_proj.A[] = ortho[];
// foreach (c; root.childs)
// {
// if (c.end.x > sz.x || c.end.y > sz.y)
// {
// c.poseDefault;
// }
// }
}
RC!Program _prog;
RC!TextInput _text;
Matrix4 _proj;
Vector2s _moveSub = -1.Vector2s;
}
|
D
|
instance Mod_4008_UntoterMagier_03_MT (Npc_Default)
{
//-------- primary data --------
name = "Untoter Magier";
Npctype = Npctype_UNTOTERMAGIER;
guild = GIL_STRF;
level = 20;
voice = 2;
id = 4008;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
//-------- visuals --------
// animations
Mdl_SetVisual (self,"HUMANS.MDS");
Mdl_ApplyOverlayMds (self,"Humans_Relaxed.mds");
// body mesh ,bdytex,skin,head mesh ,headtex,teethtex,ruestung
Mdl_SetVisualBody (self,"hum_body_Naked0", 14, 0,"Hum_Head_FatBald", 200, 1, ITAR_UntoterMagier);
Mdl_SetModelFatness(self,0);
B_SetFightSkills (self, 65);
B_CreateAmbientInv (self);
fight_tactic = FAI_HUMAN_STRONG;
//-------- Talente --------
//-------- inventory --------
//-------------Daily Routine-------------
daily_routine = Rtn_start_4008;
//------------- //MISSIONs-------------
};
FUNC VOID Rtn_start_4008 ()
{
TA_Stand_WP (02,00,08,00,"PALTOBURG_4");
TA_Stand_WP (08,00,02,00,"PALTOBURG_4");
};
|
D
|
module graphics.context;
import derelict.opengl3.gl3;
import log;
import graphics.enums;
auto logChnl = LogChannel("OPENGL");
struct gl
{
import std.string, std.conv;
static auto ref opDispatch(string name, Args...)(Args args)
{
enum glName = "gl" ~ name[0].toUpper.to!string ~ name[1 .. $];
//logChnl.info(glName,"(", args, ")");
debug scope(exit) checkGLError(glName, args);
mixin("return " ~ glName ~ "(args);");
}
}
void checkGLError(Args...)(string name, Args args)
{
auto err = glGetError();
import std.stdio;
if(err)
{
switch(err)
{
case GL_INVALID_ENUM:
logErr("Got GL_INVALID_ENUM error when calling " ~ name);
break;
case GL_INVALID_VALUE:
logErr("Got GL_INVALID_VALUE error when calling " ~ name);
break;
case GL_INVALID_OPERATION:
logErr("Got GL_INVALID_OPERATION error when calling " ~ name);
break;
case GL_INVALID_FRAMEBUFFER_OPERATION:
logErr("Got GL_INVALID_FRAMEBUFFER_OPERATION error when calling " ~ name);
break;
case GL_OUT_OF_MEMORY:
logErr("Got GL_OUT_OF_MEMORY error when calling " ~ name);
break;
default:
logErr("Got unkown gl error");
break;
}
logChnl.error("Called with arguments");
foreach(i, arg; args)
{
logChnl.error("Arg ", i, "=", arg);
}
assert(0, "GL ERROR");
}
}
struct Context
{
import graphics.texture;
uint program;
uint[TextureUnit.max - TextureUnit.min] textures;
uint[TextureUnit.max - TextureUnit.min] samplers;
uint ibo, vbo, texbo, pixbo, pixubo, vao;
uint fbo;
void opIndexAssign(T)(T texture, TextureUnit unit)
{
if(textures[unit - TextureUnit.min] == texture.glName)
return;
textures[unit - TextureUnit.min] = texture.glName;
gl.activeTexture(unit);
gl.bindTexture(texture.target, texture.glName);
}
void opIndexAssign(Sampler sampler, TextureUnit unit)
{
if(samplers[unit - TextureUnit.min] == sampler.glName)
return;
samplers[unit - TextureUnit.min] = sampler.glName;
gl.bindSampler(unit - TextureUnit.min, sampler.glName);
}
}
__gshared Context context;
|
D
|
# FIXED
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/example/common/udma_if.c
udma_if.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdio.h
udma_if.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h
udma_if.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h
udma_if.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/string.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_ints.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_memmap.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_uart.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_types.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_udma.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/rom.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/rom_map.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/rom_patch.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/gpio.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/udma.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/interrupt.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/prcm.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/uart.h
udma_if.obj: C:/ti/CC3200SDK_1.3.0/cc3200-sdk/example/common/udma_if.h
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/example/common/udma_if.c:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdio.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/string.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_ints.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_memmap.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_uart.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_types.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/inc/hw_udma.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/rom.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/rom_map.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/rom_patch.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/gpio.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/udma.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/interrupt.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/prcm.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/driverlib/uart.h:
C:/ti/CC3200SDK_1.3.0/cc3200-sdk/example/common/udma_if.h:
|
D
|
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/RevertCommand.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/MigrateCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/RevertCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/SoftDeletable.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationConfig.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/JoinSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/QuerySupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationLog.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/AnyModel.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Children.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/FluentProvider.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaUpdater.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/FluentError.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaCreator.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Siblings.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Exports.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Parent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ModelEvent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Pivot.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/CacheEntry.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Command.framework/Modules/Command.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/cpp_magic.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/ifaddrs-android.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Headers/CNIODarwin.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/CNIOAtomics.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/CNIOLinux.h /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--5226887469817572071/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Modules/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/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/RevertCommand~partial.swiftmodule : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/MigrateCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/RevertCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/SoftDeletable.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationConfig.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/JoinSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/QuerySupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationLog.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/AnyModel.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Children.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/FluentProvider.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaUpdater.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/FluentError.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaCreator.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Siblings.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Exports.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Parent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ModelEvent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Pivot.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/CacheEntry.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Command.framework/Modules/Command.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/cpp_magic.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/ifaddrs-android.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Headers/CNIODarwin.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/CNIOAtomics.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/CNIOLinux.h /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--5226887469817572071/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Modules/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/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/RevertCommand~partial.swiftdoc : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+CRUD.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/MigrateCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/RevertCommand.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Decode.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Range.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/SoftDeletable.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Aggregate.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationConfig.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/JoinSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Transaction/TransactionSupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/QuerySupporting.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/MigrationLog.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Model.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/AnyModel.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Children.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Join/QueryBuilder+Join.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaSupporting+Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigration.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Run.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/FluentProvider.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaUpdater.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Filter.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/FluentError.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/SchemaCreator.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Schema/DatabasesConfig+References.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Siblings.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/Migrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Migration/AnyMigrations.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Operators.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Utilities/Exports.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Relations/Parent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Service/CommandConfig+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/KeyedCacheSupporting+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Database/DatabaseConnection+Fluent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ModelEvent.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/Pivot.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/QueryBuilder/QueryBuilder+Sort.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Cache/CacheEntry.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Query/FluentProperty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Command.framework/Modules/Command.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Console.framework/Modules/Console.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Logging.framework/Modules/Logging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/cpp_magic.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/ifaddrs-android.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Headers/CNIODarwin.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Headers/CNIOAtomics.h /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Headers/CNIOLinux.h /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--5226887469817572071/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIODarwin.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOAtomics.framework/Modules/module.modulemap /Users/phungdu/Documents/code/vapor/TILApp/Build/Products/Debug/CNIOLinux.framework/Modules/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
|
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:
template TypeTuple(T...) { alias TypeTuple = T; }
bool startsWith(string s, string m) { return s[0 .. m.length] == m; }
void main()
{
enum string castPrefix = "cast(" ~ size_t.stringof ~ ")";
// TypeSArray
static assert((int[10]).stringof == "int[10]", T.stringof);
int[] arr;
// IndexExp
{
// index == IntegerExp
static assert((arr[ 4 ]).stringof == "arr[4]");
static assert((arr[ 4U ]).stringof == "arr[4]");
static assert((arr[ 4L ]).stringof == "arr[4]");
static assert((arr[ 4LU]).stringof == "arr[4]");
// index == UAddExp
static assert((arr[+4 ]).stringof == "arr[4]");
static assert((arr[+4U ]).stringof == "arr[4]");
static assert((arr[+4L ]).stringof == "arr[4]");
static assert((arr[+4LU]).stringof == "arr[4]");
// index == NegExp
static assert((arr[-4 ]).stringof == "arr[" ~ castPrefix ~ "-4]");
static assert((arr[-4U ]).stringof == "arr[4294967292]");
static assert((arr[int.min] ).stringof == "arr[" ~ castPrefix ~ "-2147483648]");
static if (is(size_t == ulong))
{
static assert((arr[-4L ]).stringof == "arr[" ~ castPrefix ~ "-4L]");
static assert((arr[-4LU]).stringof == "arr[-4LU]");
// IntegerLiteral needs suffix if the value is greater than long.max
static assert((arr[long.max + 0]).stringof == "arr[9223372036854775807]");
static assert((arr[long.max + 1]).stringof == "arr[" ~ castPrefix ~ "(9223372036854775807L + 1L)]");
}
foreach (Int; TypeTuple!(byte, ubyte, short, ushort, int, uint, long, ulong))
{
enum Int p4 = +4;
enum string result1 = (arr[p4]).stringof;
static assert(result1 == "arr[4]");
enum string result2 = (arr[cast(Int)+4]).stringof;
static assert(result2 == "arr[4]");
}
foreach (Int; TypeTuple!(byte, short, int, long))
{
// keep "cast(Type)" in the string representation
enum Int m4 = -4;
static if (is(typeof({ size_t x = m4; })))
{
enum string result1 = (arr[m4]).stringof;
static assert(result1.startsWith("arr[" ~ castPrefix));
}
else
static assert(!__traits(compiles, arr[m4]));
enum string result2 = (arr[cast(Int)-4]).stringof;
static assert(result2.startsWith("arr[" ~ castPrefix));
}
}
// SliceExp
{
// lwr,upr == IntegerExp
static assert((arr[4 .. 8 ]).stringof == "arr[4..8]");
static assert((arr[4U .. 8U ]).stringof == "arr[4..8]");
static assert((arr[4L .. 8L ]).stringof == "arr[4..8]");
static assert((arr[4LU .. 8LU]).stringof == "arr[4..8]");
// lwr,upr == UAddExp
static assert((arr[+4 .. +8 ]).stringof == "arr[4..8]");
static assert((arr[+4U .. +8U ]).stringof == "arr[4..8]");
static assert((arr[+4L .. +8L ]).stringof == "arr[4..8]");
static assert((arr[+4LU .. +8LU]).stringof == "arr[4..8]");
}
}
|
D
|
/Users/ozgun/Desktop/IOSCase/build/IOSCase.build/Debug-iphonesimulator/IOSCase.build/Objects-normal/x86_64/GlobalHelpers.o : /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewModelType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewControllerType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/AppDelegate.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ClientApi.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/TermsModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/Cell/TermsTableViewCell.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Common/Extension/UIImageView+Extension.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseViewController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseRouter.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ErrorGenerator.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Helpers/GlobalHelpers.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/Base/Result.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/HTTPClient.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailView.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListView.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/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.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/Accelerate.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/AVFoundation.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/CoreAudio.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/os.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/RxRelay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RX.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXObjCRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoaRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXKVOObserver.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXDelegateProxy.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/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/CoreMedia.framework/Headers/CoreMedia.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/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/AVFoundation.framework/Headers/AVFoundation.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/CoreAudioTypes.framework/Headers/CoreAudioTypes.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.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/AVKit.framework/Headers/AVKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.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/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/ozgun/Desktop/IOSCase/build/IOSCase.build/Debug-iphonesimulator/IOSCase.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftmodule : /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewModelType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewControllerType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/AppDelegate.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ClientApi.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/TermsModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/Cell/TermsTableViewCell.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Common/Extension/UIImageView+Extension.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseViewController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseRouter.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ErrorGenerator.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Helpers/GlobalHelpers.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/Base/Result.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/HTTPClient.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailView.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListView.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/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.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/Accelerate.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/AVFoundation.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/CoreAudio.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/os.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/RxRelay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RX.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXObjCRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoaRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXKVOObserver.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXDelegateProxy.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/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/CoreMedia.framework/Headers/CoreMedia.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/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/AVFoundation.framework/Headers/AVFoundation.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/CoreAudioTypes.framework/Headers/CoreAudioTypes.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.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/AVKit.framework/Headers/AVKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.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/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/ozgun/Desktop/IOSCase/build/IOSCase.build/Debug-iphonesimulator/IOSCase.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftdoc : /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewModelType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewControllerType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/AppDelegate.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ClientApi.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/TermsModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/Cell/TermsTableViewCell.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Common/Extension/UIImageView+Extension.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseViewController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseRouter.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ErrorGenerator.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Helpers/GlobalHelpers.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/Base/Result.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/HTTPClient.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailView.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListView.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/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.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/Accelerate.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/AVFoundation.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/CoreAudio.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/os.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/RxRelay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RX.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXObjCRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoaRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXKVOObserver.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXDelegateProxy.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/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/CoreMedia.framework/Headers/CoreMedia.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/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/AVFoundation.framework/Headers/AVFoundation.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/CoreAudioTypes.framework/Headers/CoreAudioTypes.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.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/AVKit.framework/Headers/AVKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.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/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/ozgun/Desktop/IOSCase/build/IOSCase.build/Debug-iphonesimulator/IOSCase.build/Objects-normal/x86_64/GlobalHelpers~partial.swiftsourceinfo : /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewModelType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewControllerType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Utils/ViewType.swift /Users/ozgun/Desktop/IOSCase/IOSCase/AppDelegate.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ClientApi.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/TermsModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListViewModel.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/Cell/TermsTableViewCell.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Common/Extension/UIImageView+Extension.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseViewController.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/BaseViewController/BaseRouter.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/ErrorGenerator.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Helpers/GlobalHelpers.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Models/Base/Result.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Networking/HTTPClient.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermDetailController/TermDetailView.swift /Users/ozgun/Desktop/IOSCase/IOSCase/Controller/TermsListController/TermsListView.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/CoreMIDI.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreMedia.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/simd.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/Accelerate.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/AVFoundation.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/CoreAudio.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/os.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/RxCocoa.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/Kingfisher.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/RxSwift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/RxRelay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RX.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-umbrella.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXObjCRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoaRuntime.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXKVOObserver.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/RxCocoa-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Headers/Kingfisher-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Headers/RxSwift-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Headers/RxRelay-Swift.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Headers/_RXDelegateProxy.h /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxCocoa/RxCocoa.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/Kingfisher/Kingfisher.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxSwift/RxSwift.framework/Modules/module.modulemap /Users/ozgun/Desktop/IOSCase/build/Debug-iphonesimulator/RxRelay/RxRelay.framework/Modules/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/CoreMedia.framework/Headers/CoreMedia.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/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.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/AVFoundation.framework/Headers/AVFoundation.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/CoreAudioTypes.framework/Headers/CoreAudioTypes.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/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.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/AVKit.framework/Headers/AVKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.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/MediaToolbox.framework/Headers/MediaToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
// c05ex03.d
import std.stdio;
void main()
{
int IDADE = 25;
int * PIDADE = &IDADE;
writef("O valor idade %d esta armazenado no ", IDADE);
writefln("endereco de memoria %X.", PIDADE);
}
|
D
|
/afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/obj/x86_64-slc6-gcc49-opt/checkTrack/obj/MyxAODAnalysis.o /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/obj/x86_64-slc6-gcc49-opt/checkTrack/obj/MyxAODAnalysis.d : /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/checkTrack/Root/MyxAODAnalysis.cxx /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventLoop/Job.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventLoop/Global.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/SampleHandler/SampleHandler.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/SampleHandler/Global.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TObject.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Rtypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RtypesCore.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RConfig.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RVersion.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/DllImport.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Rtypeinfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/snprintf.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/strlcpy.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TGenericClassInfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TSchemaHelper.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TStorage.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TVersionCheck.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Riosfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TBuffer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/SampleHandler/MetaObject.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/RootCoreUtils/Assert.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/RootCoreUtils/Global.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/RootCoreUtils/Deprecated.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TCollection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TIterator.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TString.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMathBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RStringView.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RConfigure.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RWrap_libcpp_string_view.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/libcpp_string_view.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventLoop/StatusCode.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventLoop/Worker.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Rtypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TList.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TSeqCollection.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/checkTrack/checkTrack/MyxAODAnalysis.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventLoop/Algorithm.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TNamed.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfxAOD/xAODConfigTool.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/AsgMetadataTool.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/AsgTool.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/AsgToolsConf.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/IAsgTool.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/AsgToolMacros.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/StatusCode.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/Check.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/MsgStreamMacros.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/MsgLevel.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/AsgMessaging.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/MsgStream.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/SgTEvent.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/SgTEvent.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/TEvent.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODEventFormat/EventFormat.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODEventFormat/versions/EventFormat_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODEventFormat/EventFormatElement.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCore/CLASS_DEF.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCore/ClassID_traits.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/IAuxStoreHolder.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccessInterfaces/TVirtualEvent.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccessInterfaces/TVirtualEvent.icc /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TError.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TReturnCode.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/TEvent.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/ClassName.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/ClassName.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/error.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/TStore.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/ConstDataVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/DataVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/exceptions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/AuxTypes.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/CxxUtils/unordered_set.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/CxxUtils/hashtable.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_const.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/user.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/select_compiler_config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/compiler/gcc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/select_stdlib_config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/stdlib/libstdcpp3.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/select_platform_config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/platform/linux.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/posix_features.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/suffix.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/workaround.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/CxxUtils/noreturn.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/OwnershipPolicy.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/IndexTrackingPolicy.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxVectorBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxVectorData.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/IConstAuxStore.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/AuxDataOption.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/AuxDataOption.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/AuxDataTraits.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/DataLink.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/DataLinkBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/tools/selection_ns.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RVersion.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/RootMetaSelection.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/DataLink.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccessInterfaces/TActiveEvent.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/CxxUtils/override.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/likely.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/assume.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/threading.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/threading.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxVectorData.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxTypeRegistry.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/IAuxTypeVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/IAuxTypeVectorFactory.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/AuxTypeVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/IAuxSetOption.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/PackedContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/PackedParameters.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/PackedParameters.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/PackedContainer.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/AuxTypeVector.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/AuxTypeVectorFactory.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/AuxTypeVectorFactory.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxTypeRegistry.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/IAuxStore.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxElement.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/IAuxElement.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxElement.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/ATHCONTAINERS_ASSERT.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainersInterfaces/AuxStore_traits.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/AuxVectorBase.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVLNoBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVLInfo.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/ClassID.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVLInfo.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVLCast.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVLIterator.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/ElementProxy.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/ElementProxy.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/iterator_adaptor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/static_assert.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/iterator_categories.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/detail/config_def.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/eval_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/value_wknd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/static_cast.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/workaround.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/integral.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/msvc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/eti.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/na_spec.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/lambda_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/void_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/adl_barrier.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/adl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/intel.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/gcc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/na.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/bool.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/bool_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/integral_c_tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/static_constant.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/na_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/ctps.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/lambda.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/ttp.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/int.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/int_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/nttp_decl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/nttp.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/integral_wrapper.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/cat.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/config/config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/lambda_arity_param.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/template_arity_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/arity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/dtp.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessor/params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/preprocessor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/comma_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/punctuation/comma_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/control/if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/control/iif.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/logical/bool.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/facilities/empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/punctuation/comma.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repeat.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/repeat.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/debug/error.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/detail/auto_rec.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/tuple/eat.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/inc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/arithmetic/inc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessor/enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessor/def_params_tail.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/limits/arity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/logical/and.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/logical/bitand.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/identity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/facilities/identity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/arithmetic/add.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/arithmetic/dec.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/control/while.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/fold_left.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/detail/fold_left.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/control/expr_iif.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/adt.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/detail/is_binary.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/detail/check.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/logical/compl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/fold_right.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/detail/fold_right.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/reverse.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/control/detail/while.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/tuple/elem.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/facilities/expand.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/facilities/overload.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/variadic/size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/tuple/rem.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/tuple/detail/is_single_return.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/variadic/elem.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/arithmetic/sub.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/overload_resolution.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/lambda_support.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/identity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/placeholders.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/arg.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/arg_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/na_assert.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/assert.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/not.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/nested_type_wknd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/yes_no.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/arrays.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/gpu.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/pp_counter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/arity_spec.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/arg_typedef.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/use_preprocessed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/include_preprocessed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/compiler.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/stringize.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_convertible.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/intrinsics.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/version.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/integral_constant.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/yes_no_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_array.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_arithmetic.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_integral.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_floating_point.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_void.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_abstract.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/add_lvalue_reference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/add_reference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/add_rvalue_reference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_reference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_lvalue_reference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_rvalue_reference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_function.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/is_function_ptr_helper.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/declval.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/detail/config_undef.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/iterator_facade.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/interoperable.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/or.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/or.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/iterator_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/detail/facade_iterator_category.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/and.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/and.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_same.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_const.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/indirect_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_pointer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_class.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_volatile.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_member_function_pointer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_cv.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_member_pointer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_reference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_pointer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/detail/enable_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/addressof.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/addressof.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/add_const.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/add_pointer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_pod.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_scalar.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/always.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessor/default_params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/apply.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/apply_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/apply_wrap.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/has_apply.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/has_xxx.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/type_wrapper.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/has_xxx.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/msvc_typename.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/array/elem.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/array/data.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/array/size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/enum_params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/enum_trailing_params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/has_apply.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/msvc_never_true.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/lambda.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/bind.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/bind_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/bind.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/next.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/next_prior.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/common_name_wknd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/protect.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/bind.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/full_lambda.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/quote.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/void.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/has_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/bcc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/quote.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/template_arity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVL_iter_swap.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVL_algorithms.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/DVL_algorithms.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/IsMostDerivedFlag.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/add_cv.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/add_volatile.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/aligned_storage.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/alignment_of.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/type_with_alignment.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/conditional.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/common_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/decay.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_bounds.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_extent.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/mp_defer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/copy_cv.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/extent.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/floating_point_promotion.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/function_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_bit_and.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/has_binary_operator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_base_of.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_base_and_derived.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_fundamental.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_bit_and_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_bit_or.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_bit_or_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_bit_xor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_bit_xor_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_complement.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/has_prefix_operator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_dereference.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_divides.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_divides_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_equal_to.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_greater.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_greater_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_left_shift.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_left_shift_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_less.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_less_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_logical_and.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_logical_not.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_logical_or.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_minus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_minus_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_modulus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_modulus_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_multiplies.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_multiplies_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_negate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_new_operator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_not_equal_to.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_nothrow_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_assignable.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_nothrow_constructor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_default_constructible.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_nothrow_copy.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_copy_constructible.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_constructible.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_destructible.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_nothrow_destructor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_trivial_destructor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_plus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_plus_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_post_decrement.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/detail/has_postfix_operator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_post_increment.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_pre_decrement.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_pre_increment.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_right_shift.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_right_shift_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_trivial_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_trivial_constructor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_trivial_copy.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_trivial_move_assign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_trivial_move_constructor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_unary_minus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_unary_plus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/has_virtual_destructor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_complex.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_compound.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_copy_assignable.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/noncopyable.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/noncopyable.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_final.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_float.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_member_object_pointer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_nothrow_move_assignable.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/enable_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/enable_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_nothrow_move_constructible.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_object.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_polymorphic.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_signed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_stateless.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_union.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_unsigned.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/is_virtual_base_of.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/make_signed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/make_unsigned.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/rank.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_all_extents.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/remove_volatile.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/type_identity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/integral_promotion.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/promote.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/DataVector.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/tools/CompareAndPrint.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/ConstDataVector.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/transform_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/result_of.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/iteration/iterate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/slot/slot.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/slot/detail/def.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/enum_binary_params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/enum_shifted_params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/facilities/intercept.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/declval.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/iteration/detail/iter/forward1.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/iteration/detail/bounds/lower1.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/slot/detail/shared.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/iteration/detail/bounds/upper1.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/detail/result_of_iterate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/TStore.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthContainers/normalizedTypeinfoName.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TDestructorRegistry.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TDestructorRegistry.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TDestructor.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TDestructor.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TCDVHolderT.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/THolder.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TCDVHolderT.icc /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TClass.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TDictionary.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/ESTLType.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TObjArray.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TObjString.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/ThreadLocalStorage.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/AsgTool.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/PropertyMgr.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/Property.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/PropertyMgr.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/TProperty.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/ToolHandle.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/ToolHandle.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/ToolStore.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/ToolHandleArray.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/ToolHandleArray.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/TProperty.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/SetProperty.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/SgTEventMeta.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/SgTEventMeta.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/TVirtualIncidentListener.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/TIncident.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AsgTools/AsgMetadataTool.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfInterfaces/ITrigConfigTool.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfInterfaces/IILVL1ConfigSvc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfInterfaces/IIHLTConfigSvc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/CTPConfig.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/Menu.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/L1DataBaseclass.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/TrigConfData.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/TriggerItem.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/TriggerItemNode.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/L1DataDef.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/ThresholdConfig.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/TriggerThreshold.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/TriggerThresholdValue.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/CaloInfo.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/CaloSinCos.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/METSigParam.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/IsolationParam.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/ThresholdMonitor.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/PIT.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/TIP.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index_container.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/allocator_utilities.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/no_exceptions_support.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/no_exceptions_support.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/core.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/config_begin.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/workaround.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/config_end.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/at.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/at_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/at_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/begin_end.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/begin_end_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/begin_end_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/sequence_tag_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/has_begin.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/traits_lambda_spec.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/sequence_tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/has_tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/is_msvc_eti_arg.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/advance.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/advance_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/less.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/comparison_op.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/numeric_op.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/numeric_cast.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/numeric_cast_utils.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/forwarding.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/msvc_eti_base.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/less.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/negate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/integral_c.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/integral_c_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/long.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/long_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/advance_forward.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/advance_backward.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/prior.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/deref.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/msvc_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/contains.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/contains_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/contains_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/find.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/find_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/find_if_pred.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/iter_apply.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/iter_fold_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/logical.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/pair.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/iter_fold_if_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/same_as.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/lambda_spec.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/size_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/size_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/distance.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/distance_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/iter_fold.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/O1_size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/O1_size_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/O1_size_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/has_size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/iter_fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/iterator_range.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index_container_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/identity.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/identity_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/indexed_by.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/limits/vector.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/vector20.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/vector10.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/vector0.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/at.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/typeof.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/front_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/push_front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/push_front_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/item.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/pop_front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/pop_front_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/push_back.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/push_back_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/pop_back.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/pop_back_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/back.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/back_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/clear.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/clear_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/vector0.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/iterator_tags.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/plus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/arithmetic_op.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/largest_int.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/plus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/minus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/minus.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/O1_size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/empty_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/begin_end.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/include_preprocessed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/vector.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/control/expr_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/ordered_index_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/ord_index_args.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/no_duplicate_tags.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/fold.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/set0.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/at_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/has_key_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/has_key_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/overload_names.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/ptr_to_ref.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/config/operators.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/clear_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/set0.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/size_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/empty_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/insert_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/insert_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/item.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/base.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/insert_range_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/insert_range_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/insert.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/insert_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/reverse_fold.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/reverse_fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/clear.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/clear_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/push_front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/push_front_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/erase_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/erase_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/erase_key_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/erase_key_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/key_type_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/key_type_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/value_type_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/value_type_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/begin_end_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/set/aux_/iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/has_key.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/has_key_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/transform.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/pair_view.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/iterator_category.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/min_max.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/is_sequence.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/inserter_algorithm.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/back_inserter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/push_back.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/push_back_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/inserter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/front_inserter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/ord_index_impl_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/access_specifier.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/adl_swap.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/base_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/index_base.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/utility.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/utility_core.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/meta_utils.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/meta_utils_core.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/type_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/assert.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/copy_map.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/auto_space.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/raw_ptr.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/do_not_copy_elements_tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/node_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/reverse_iter_fold.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/reverse_iter_fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/header_holder.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/index_node_base.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/archive/archive_exception.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/archive/detail/decl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/archive/detail/abi_prefix.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/abi_prefix.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/archive/detail/abi_suffix.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/abi_suffix.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/access.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/throw_exception.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/is_index_list.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/empty_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/vartempl_support.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/tuple/tuple.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/ref.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/ref.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/tuple/detail/tuple_basic.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/cv_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/swap.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/swap.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/index_loader.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/nvp.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/level.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/level_enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/tracking.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/equal_to.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/greater.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/greater.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/tracking_enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/type_info_implementation.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/split_member.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/base_object.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/force_include.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/void_cast_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/wrapper.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/index_saver.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/index_matcher.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/converter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/has_tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/safe_mode.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/scope_guard.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/base_from_member.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/repeat_from_to.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/archive_constructed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/serialization.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/strong_typedef.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/operators.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/serialization_version.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/version.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/comparison.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/not_equal_to.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/less_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/greater_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/collection_size_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/split_free.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/serialization/is_bitwise_serializable.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/mem_fun.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/hashed_index.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/call_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/call_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/foreach_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/limits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/bucket_array.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/hash_index_node.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/elem.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/hash_index_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/modify_key_adaptor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/promotes_arg.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/hashed_index_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/hash_index_args.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash/hash.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash/hash_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash/detail/hash_float.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash/detail/float_functions.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/no_tr1/cmath.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash/detail/limits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/integer/static_log2.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/integer_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/cstdint.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash/extensions.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/container_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/ordered_index.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/ord_index_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/reverse_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/next_prior.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/bidir_node_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/ord_index_node.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/uintptr_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/ord_index_ops.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/unbounded.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/value_compare.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/bind.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mem_fn.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/mem_fn.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/get_pointer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/no_tr1/memory.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/mem_fn_template.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/mem_fn_cc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/is_placeholder.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/arg.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/visit_each.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/is_same.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/storage.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/bind_cc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/bind_mf_cc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/bind_mf2_cc.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/bind/placeholders.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/duplicates_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/sequenced_index.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/seq_index_node.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/seq_index_ops.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/sequenced_index_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/random_access_index.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/rnd_node_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/rnd_index_node.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/integer/common_factor_rt.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/rnd_index_ops.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/rnd_index_ptr_array.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/random_access_index_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/rnd_index_loader.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/PrescaleSet.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/BunchGroupSet.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/BunchGroup.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/PrescaledClock.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/DeadTime.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/Random.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/CTPFiles.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/PrioritySet.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfL1Data/Muctpi.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfHLTData/HLTChainList.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfHLTData/HLTChain.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfHLTData/HLTPrescale.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered_map.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/unordered_map.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/unordered_map_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/functional/hash_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/equivalent.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/table.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/buckets.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/util.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/select_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/move.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/iterator_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/std_ns_begin.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/detail/std_ns_end.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/algorithm.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/swap.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/allocate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/dec.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/pointer_to_other.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/extract_key.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/unordered/detail/unique.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfHLTData/HLTLevel.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/composite_key.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/at.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/list/rest_n.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/multi_index/detail/cons_stdtuple.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfHLTData/HLTSequenceList.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfHLTData/HLTSequence.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/TriggerMenu.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/TriggerMenu_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/TriggerMenuContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/TriggerMenuContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/TrigDecisionTool.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionInterface/ITrigDecisionTool.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/TrigDecisionToolCore.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/ChainGroupFunctions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/std_containers_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/std/string_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/yes_no_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/sequence_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/std/list_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/std/slist_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/trim.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/begin.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/range_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/mutable_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/extract_optional_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/msvc_has_iterator_workaround.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/const_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/end.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/implementation_help.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/common.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/sfinae.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/as_literal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/iterator_range.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/iterator_range_core.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/functions.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/size_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/difference_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/has_range_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/concepts.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept_check.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept/assert.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept/detail/general.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept/detail/backward_compatibility.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept/detail/has_constraints.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/conversion_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept/usage.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept/detail/concept_def.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/for_each_i.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/for.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/repetition/detail/for.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/seq.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/detail/is_empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/concept/detail/concept_undef.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/iterator/iterator_concepts.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/value_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/misc_concept.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/has_member_size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/binary.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/control/deduce_d.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/cat.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/fold_left.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/seq/transform.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/arithmetic/mod.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/arithmetic/detail/div_base.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/comparison/less_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/logical/not.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/utility/identity_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/checked_delete.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/checked_delete.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/distance.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/rbegin.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/reverse_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/rend.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/algorithm/equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/safe_bool.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/iterator_range_io.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/range/detail/str_types.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/trim.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/classification.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/classification.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/predicate_facade.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/case_conv.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/case_conv.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/predicate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/compare.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/find.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/finder.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/constants.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/finder.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/predicate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/split.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/iter_find.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/concept.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/find_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/find_iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/iterate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function/detail/prologue.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/no_tr1/functional.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function/function_base.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/sp_typeinfo.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/typeinfo.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/core/demangle.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/integer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/integer_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_traits/composite_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function_equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function/function_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/enum_params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function/detail/function_iterate.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function/detail/maybe_include.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/function/function_template.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/util.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/join.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/sequence.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/replace.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/find_format.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/find_format.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/find_format_store.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/replace_storage.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/find_format_all.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/formatter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/detail/formatter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/algorithm/string/erase.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/ChainGroup.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/CacheGlobalMemory.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/foreach.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigConfHLTData/HLTStreamTag.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/Chain.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/Enums.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/IDecisionUnpacker.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/Logger.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/EventPtrDef.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/Conditions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/FeatureContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/Combination.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/Feature.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/shared_ptr.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/shared_ptr.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/shared_count.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/bad_weak_ptr.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/sp_counted_base.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/sp_has_sync.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/sp_counted_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/sp_disable_deprecated.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/sp_convertible.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/sp_nullptr_t.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/spinlock_pool.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/spinlock.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/spinlock_sync.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/yield_k.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/language.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/language/stdc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/version_number.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/make.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/detail/test.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/language/stdcpp.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/language/objc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/alpha.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/arm.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/blackfin.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/convex.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/ia64.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/m68k.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/mips.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/parisc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/ppc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/pyramid.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/rs6k.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/sparc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/superh.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/sys370.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/sys390.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/x86.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/x86/32.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/x86/64.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/architecture/z.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/borland.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/clang.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/comeau.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/compaq.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/diab.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/digitalmars.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/dignus.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/edg.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/ekopath.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/gcc_xml.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/gcc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/detail/comp_detected.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/greenhills.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/hp_acc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/iar.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/ibm.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/intel.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/kai.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/llvm.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/metaware.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/metrowerks.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/microtec.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/mpw.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/palm.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/pgi.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/sgi_mipspro.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/sunpro.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/tendra.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/visualc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/compiler/watcom.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/c.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/c/_prefix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/detail/_cassert.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/c/gnu.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/c/uc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/c/vms.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/c/zos.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/_prefix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/detail/_exception.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/cxx.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/dinkumware.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/libcomo.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/modena.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/msl.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/roguewave.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/sgi.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/stdcpp3.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/stlport.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/library/std/vacpp.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/aix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/amigaos.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/android.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/beos.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/bsd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/macos.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/ios.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/bsd/bsdi.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/bsd/dragonfly.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/bsd/free.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/bsd/open.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/bsd/net.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/cygwin.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/haiku.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/hpux.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/irix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/linux.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/detail/os_detected.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/os400.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/qnxnto.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/solaris.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/unix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/vms.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/os/windows.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/other.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/other/endian.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/platform.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/platform/mingw.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/platform/windows_desktop.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/platform/windows_store.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/platform/windows_phone.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/platform/windows_runtime.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/x86.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/x86/versions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/x86_amd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/x86_amd/versions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/arm.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/arm/versions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/ppc.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/hardware/simd/ppc/versions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/version.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/smart_ptr/detail/operator_bool.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/bad_lexical_cast.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/try_lexical_convert.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/is_character.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/converter_numeric.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/cast.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/converter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/conversion_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/conversion_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/meta.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/int_float_mixture.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/int_float_mixture_enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/sign_mixture.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/sign_mixture_enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/udt_builtin_mixture.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/udt_builtin_mixture_enum.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/is_subranged.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/multiplies.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/times.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/times.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/converter_policies.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/converter.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/bounds.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/bounds.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/numeric_cast_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/numeric_cast_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/converter_lexical.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/lcast_precision.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/widest_char.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/array.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/container/container_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/container/detail/std_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/converter_lexical_streams.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/lcast_char_constants.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/lcast_unsigned_converters.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/lexical_cast/detail/inf_nan.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/special_functions/sign.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/tools/config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/tools/user.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/fenv.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/special_functions/math_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/special_functions/detail/round_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/tools/promotion.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/policies/policy.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/limits/list.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/list20.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/list10.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/list0.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/push_front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/item.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/tag.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/pop_front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/push_back.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/clear.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/O1_size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/size.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/empty.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/begin_end.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/iterator.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/include_preprocessed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/preprocessed/plain/list10.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/list/aux_/preprocessed/plain/list20.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/list.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/remove_if.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/config/no_tr1/complex.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/special_functions/detail/fp_traits.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/endian.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/predef/detail/endian_compat.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/special_functions/fpclassify.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/tools/real_cast.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/basic_pointerbuf.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/TriggerElement.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/Types.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/variant.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_index.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_index/stl_type_index.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/type_index/type_index_facade.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/config.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/variant_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/blank_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/preprocessor/enum_shifted_params.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/substitute_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/backup_holder.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/enable_recursive_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/forced_return.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/generic_result_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/initializer.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/reference_content.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/recursive_wrapper_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/move.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/move/adl_move_swap.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/make_variant_list.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/over_sequence.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/visitation_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/cast_storage.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/hash_variant.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/static_visitor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/apply_visitor.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/apply_visitor_unary.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/apply_visitor_binary.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/apply_visitor_delayed.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/has_result_type.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/aligned_storage.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/blank.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/detail/templated_streams.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math/common_factor_ct.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/math_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/front.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/front_impl.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/max_element.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/size_t.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/size_t_fwd.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/sizeof.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/variant_io.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/recursive_variant.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/enable_recursive.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/substitute.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/aux_/preprocessor/repeat.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/recursive_wrapper.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/mpl/equal.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/get.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/detail/element_index.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/visitor_ptr.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/boost/variant/bad_visit.hpp /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/EmTauRoI.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/EmTauRoI_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCore/BaseInfo.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/EmTauRoI_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/EmTauRoIContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/EmTauRoIContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/EmTauRoIContainer_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/MuonRoI.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/MuonRoI_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/MuonRoIContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/MuonRoIContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/JetRoI.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/JetRoI_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/JetRoI_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/JetRoIContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/JetRoIContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/JetRoIContainer_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/TypelessFeature.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBase/IParticle.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TLorentzVector.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMath.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TError.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TVector3.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TVector2.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TObject.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrix.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixF.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixT.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixTBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixFBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixDBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TVectorFfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TVectorDfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixTUtils.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixFfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixFUtils.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMatrixFUtilsfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TRotation.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBase/ObjectType.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/TrigNavStructure.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/TriggerElementFactory.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/BaseHolder.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/TrigHolderStructure.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBase/IParticleContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/FeatureCollectStandalone.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/TDTUtilities.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/TrigPassBits.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/TrigPassBitsCollection.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/TrigRoiDescriptor.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/RoiDescriptor/RoiDescriptor.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/IRegionSelector/IRoiDescriptor.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/TrigRoiDescriptorCollection.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigRoiConversion/RoiSerialise.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/RoiDescriptorStore.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/RoiDescriptorStore_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/TypedHolder.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigNavStructure/TypelessHolder.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/TrigPassFlags.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigSteeringEvent/TrigPassFlagsCollection.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/ConfigurationAccess.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/DecisionAccess.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/TrigDecisionTool/ExpertMethods.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/Init.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/TrackParticleContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/TrackParticle.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/TrackParticle_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/ElementLink.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/ElementLinkBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/tools/TypeTools.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/ElementLink.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/TrackingPrimitives.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventPrimitives/EventPrimitives.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Core /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/DisableStupidWarnings.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/Macros.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/MKL_support.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/Constants.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/ForwardDeclarations.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/Meta.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/StaticAssert.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/XprHelper.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/Memory.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/NumTraits.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/MathFunctions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/GenericPacketMath.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/arch/SSE/PacketMath.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/arch/SSE/MathFunctions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/arch/SSE/Complex.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/arch/Default/Settings.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Functors.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/DenseCoeffsBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/DenseBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/../plugins/BlockMethods.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/MatrixBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/../plugins/CommonCwiseBinaryOps.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/../plugins/MatrixCwiseUnaryOps.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/../plugins/MatrixCwiseBinaryOps.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventPrimitives/AmgMatrixPlugin.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/EigenBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Assign.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/BlasUtil.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/DenseStorage.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/NestByValue.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/ForceAlignedAccess.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/ReturnByValue.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/NoAlias.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/PlainObjectBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Matrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventPrimitives/SymmetricMatrixHelpers.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Array.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/CwiseBinaryOp.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/CwiseUnaryOp.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/CwiseNullaryOp.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/CwiseUnaryView.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/SelfCwiseBinaryOp.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Dot.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/StableNorm.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/MapBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Stride.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Map.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Block.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/VectorBlock.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Ref.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Transpose.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/DiagonalMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Diagonal.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/DiagonalProduct.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/PermutationMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Transpositions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Redux.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Visitor.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Fuzzy.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/IO.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Swap.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/CommaInitializer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Flagged.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/ProductBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/GeneralProduct.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/TriangularMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/SelfAdjointView.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/Parallelizer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/CoeffBasedProduct.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/SolveTriangular.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/SelfadjointMatrixVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/SelfadjointMatrixMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/SelfadjointProduct.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/SelfadjointRank2Update.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/TriangularMatrixVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/TriangularMatrixMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/TriangularSolverMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/products/TriangularSolverVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/BandMatrix.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/CoreIterators.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/BooleanRedux.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Select.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/VectorwiseOp.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Random.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Replicate.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/Reverse.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/ArrayBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/../plugins/ArrayCwiseUnaryOps.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/../plugins/ArrayCwiseBinaryOps.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/ArrayWrapper.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/GlobalFunctions.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Core/util/ReenableStupidWarnings.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Dense /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Core /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/LU /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/misc/Solve.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/misc/Kernel.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/misc/Image.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/LU/FullPivLU.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/LU/PartialPivLU.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/LU/Determinant.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/LU/Inverse.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/LU/arch/Inverse_SSE.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Cholesky /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Cholesky/LLT.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Cholesky/LDLT.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/QR /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Jacobi /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Jacobi/Jacobi.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Householder /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Householder/Householder.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Householder/HouseholderSequence.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Householder/BlockHouseholder.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/QR/HouseholderQR.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/QR/FullPivHouseholderQR.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/QR/ColPivHouseholderQR.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/SVD /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/SVD/JacobiSVD.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/SVD/UpperBidiagonalization.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Geometry /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/OrthoMethods.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/EulerAngles.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Homogeneous.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/RotationBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Rotation2D.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Quaternion.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/AngleAxis.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Transform.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/EventPrimitives/AmgTransformPlugin.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Translation.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Scaling.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Hyperplane.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/ParametrizedLine.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/AlignedBox.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/Umeyama.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Geometry/arch/Geometry_SSE.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Eigenvalues /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/Tridiagonalization.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/RealSchur.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/./HessenbergDecomposition.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/EigenSolver.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/./RealSchur.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/./Tridiagonalization.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/HessenbergDecomposition.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/ComplexSchur.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/ComplexEigenSolver.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/./ComplexSchur.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/RealQZ.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/./RealQZ.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/VertexContainerFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/VertexFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/TrackParticleContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/TrackParticle_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/TrackParticleContainerFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/TrackParticleFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/VertexContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/Vertex.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/Vertex_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/GeoPrimitives/GeoPrimitives.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/Eigen/Geometry /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/NeutralParticleContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/NeutralParticle.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/NeutralParticle_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/NeutralParticleContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/NeutralParticle_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/NeutralParticleContainerFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/NeutralParticleFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBase/ObjectType.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTracking/versions/VertexContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/TruthParticleContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/TruthParticle.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/versions/TruthParticle_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/TruthVertexContainerFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/TruthVertexFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/versions/TruthParticleContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/TruthParticleContainerFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/TruthParticleFwd.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/TruthVertex.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTruth/versions/TruthVertex_v1.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TH1.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TAttAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TArrayD.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TArray.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TAttLine.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TAttFill.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TAttMarker.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TArrayC.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TArrayS.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TArrayI.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TArrayF.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Foption.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TFitResultPtr.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TH2.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TH3.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TAtt3D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TRandom.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TProfile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TFile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TDirectoryFile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TDirectory.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TDatime.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TUUID.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TMap.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/THashTable.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TUrl.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TTree.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TBranch.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TDataType.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TVirtualTreePlayer.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/TComplex.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODRootAccess/tools/Message.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODEventInfo/EventInfo.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODEventInfo/versions/EventInfo_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/TrigSpacePointCountsContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/versions/TrigSpacePointCountsContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/versions/TrigSpacePointCounts_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/TrigTrackCountsContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/versions/TrigTrackCountsContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/versions/TrigTrackCounts_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/TrigHisto2D.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigMinBias/versions/TrigHisto2D_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/EnergySumRoI.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigger/versions/EnergySumRoI_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODHIEvent/HIEventShape.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODHIEvent/versions/HIEventShape_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODHIEvent/HIEventShapeContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODHIEvent/versions/HIEventShapeContainer_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/ForwardEventInfoContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/ForwardEventInfo.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/versions/ForwardEventInfo_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/versions/ForwardEventInfoContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/MBTSModuleContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/MBTSModule.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/versions/MBTSModule_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/versions/MBTSModuleContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/ZdcModuleContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/ZdcModule.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/versions/ZdcModule_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigL1Calo/TriggerTowerContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigL1Calo/TriggerTower.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigL1Calo/versions/TriggerTower_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigL1Calo/versions/TriggerTower_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/CxxUtils/final.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigL1Calo/versions/TriggerTowerContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODTrigL1Calo/versions/TriggerTowerContainer_v2.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODForward/versions/ZdcModuleContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCaloEvent/CaloClusterContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCaloEvent/CaloCluster.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCaloEvent/versions/CaloCluster_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/CaloGeoHelpers/CaloSampling.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/CaloGeoHelpers/CaloSampling.def /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCaloEvent/CaloClusterBadChannelData.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCaloEvent/versions/CaloClusterBadChannelData_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODCaloEvent/versions/CaloClusterContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/JetContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/Jet.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/versions/Jet_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/BTaggingContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/BTagging.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/versions/BTagging_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/BTaggingEnums.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/BTagVertexContainer.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/BTagVertex.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/versions/BTagVertex_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/versions/BTagVertexContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODBTagging/versions/BTaggingContainer_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/JetConstituentVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/JetTypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/Vector4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/Vector4Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/PxPyPzE4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/eta.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/etaMax.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/GenVector_exception.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/PtEtaPhiE4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/Math.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/PxPyPzM4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/PtEtaPhiM4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/LorentzVector.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/DisplacementVector3D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/Cartesian3D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/Polar3Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/PositionVector3Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/GenVectorIO.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/BitReproducible.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/include/Math/GenVector/CoordinateSystemTags.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/JetAttributes.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/JetContainerInfo.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/versions/Jet_v1.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/versions/JetAccessorMap_v1.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/ElementLinkVector.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/ElementLinkVectorBase.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/AthLinks/ElementLinkVector.icc /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/JetAccessors.h /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/MC_pPb8/RootCoreBin/include/xAODJet/versions/JetContainer_v1.h
|
D
|
// Copyright Ferdinand Majerech 2011.
// Copyright Cameron Ross 2016.
// 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)
/**
* YAML serializer.
* Code based on PyYAML: http://www.pyyaml.org
*/
module wyaml.serializer;
import std.array;
import std.conv;
import std.format;
import std.typecons;
import wyaml.anchor;
import wyaml.emitter;
import wyaml.event;
import wyaml.exception;
import wyaml.node;
import wyaml.resolver;
import wyaml.tag;
import wyaml.tagdirective;
import wyaml.token;
///Serializes represented YAML nodes, generating events which are then emitted by Emitter.
package struct Serializer(T) {
///Emitter to emit events produced.
private Emitter!T* emitter_;
///Resolver used to determine which tags are automaticaly resolvable.
private Resolver resolver_;
///Do all document starts have to be specified explicitly?
private Flag!"explicitStart" explicitStart_;
///Do all document ends have to be specified explicitly?
private Flag!"explicitEnd" explicitEnd_;
///YAML version string.
private string yamlVersion_;
///Tag directives to emit.
private TagDirective[] tagDirectives_;
//TODO Use something with more deterministic memory usage.
///Nodes with assigned anchors.
private Anchor[Node] anchors_;
///Nodes with assigned anchors that are already serialized.
private bool[Node] serializedNodes_;
///ID of the last anchor generated.
private uint lastAnchorID_ = 0;
/**
* Construct a Serializer.
*
* Params: emitter = Emitter to emit events produced.
* resolver = Resolver used to determine which tags are automaticaly resolvable.
* explicitStart = Do all document starts have to be specified explicitly?
* explicitEnd = Do all document ends have to be specified explicitly?
* YAMLVersion = YAML version string.
* tagDirectives = Tag directives to emit.
*/
public this(ref Emitter!T emitter, Resolver resolver, const Flag!"explicitStart" explicitStart, const Flag!"explicitEnd" explicitEnd, string YAMLVersion, TagDirective[] tagDirectives) {
emitter_ = &emitter;
resolver_ = resolver;
explicitStart_ = explicitStart;
explicitEnd_ = explicitEnd;
yamlVersion_ = YAMLVersion;
tagDirectives_ = tagDirectives;
emitter_.emit(Event(EventID.StreamStart));
}
///Destroy the Serializer.
public ~this() {
emitter_.emit(Event(EventID.StreamEnd));
}
///Serialize a node, emitting it in the process.
public void serialize(ref Node node) {
emitter_.emit(documentStartEvent(explicitStart_, yamlVersion_, tagDirectives_));
anchorNode(node);
serializeNode(node);
emitter_.emit(documentEndEvent(explicitEnd_));
serializedNodes_.clear();
anchors_.clear();
lastAnchorID_ = 0;
}
/**
* Determine if it's a good idea to add an anchor to a node.
*
* Used to prevent associating every single repeating scalar with an
* anchor/alias - only nodes long enough can use anchors.
*
* Params: node = Node to check for anchorability.
*
* Returns: True if the node is anchorable, false otherwise.
*/
private static bool anchorable(ref Node node) {
if (node.isScalar) {
return node.isType!string ? node.to!string.length > 64 : node.isType!(ubyte[]) ? node.to!(ubyte[]).length > 64 : false;
}
return node.length > 2;
}
///Add an anchor to the node if it's anchorable and not anchored yet.
private void anchorNode(ref Node node) {
if (!anchorable(node)) {
return;
}
if ((node in anchors_) !is null) {
if (anchors_[node].isNull()) {
anchors_[node] = generateAnchor();
}
return;
}
anchors_[node] = Anchor(null);
if (node.isSequence) {
foreach (ref Node item; node) {
anchorNode(item);
}
} else if (node.isMapping) {
foreach (ref Node key, ref Node value; node) {
anchorNode(key);
anchorNode(value);
}
}
}
///Generate and return a new anchor.
private Anchor generateAnchor() {
++lastAnchorID_;
auto appender = appender!string();
formattedWrite(appender, "id%03d", lastAnchorID_);
return Anchor(appender.data);
}
///Serialize a node and all its subnodes.
private void serializeNode(ref Node node) {
//If the node has an anchor, emit an anchor (as aliasEvent) on the
//first occurrence, save it in serializedNodes_, and emit an alias
//if it reappears.
Anchor aliased = Anchor();
if (anchorable(node) && (node in anchors_) !is null) {
aliased = anchors_[node];
if ((node in serializedNodes_) !is null) {
emitter_.emit(Event(EventID.Alias, aliased));
return;
}
serializedNodes_[node] = true;
}
if (node.isScalar) {
assert(node.isType!string, "Scalar node type must be string before serialized");
auto value = node.to!string;
const detectedTag = resolver_.resolve(NodeID.Scalar, Tag(null), value, true);
const defaultTag = resolver_.resolve(NodeID.Scalar, Tag(null), value, false);
bool isDetected = node.tag_ == detectedTag;
bool isDefault = node.tag_ == defaultTag;
emitter_.emit(scalarEvent(Mark(), Mark(), aliased, node.tag_, tuple(isDetected, isDefault), value, node.scalarStyle));
return;
}
if (node.isSequence) {
const defaultTag = resolver_.defaultSequenceTag;
const implicit = node.tag_ == defaultTag;
emitter_.emit(collectionStartEvent(EventID.SequenceStart, Mark(), Mark(), aliased, node.tag_, implicit, node.collectionStyle));
foreach (ref Node item; node) {
serializeNode(item);
}
emitter_.emit(Event(EventID.SequenceEnd));
return;
}
if (node.isMapping) {
const defaultTag = resolver_.defaultMappingTag;
const implicit = node.tag_ == defaultTag;
emitter_.emit(collectionStartEvent(EventID.MappingStart, Mark(), Mark(), aliased, node.tag_, implicit, node.collectionStyle));
foreach (ref Node key, ref Node value; node) {
serializeNode(key);
serializeNode(value);
}
emitter_.emit(Event(EventID.MappingEnd));
return;
}
assert(false, "This code should never be reached");
}
}
|
D
|
module xf.utils.Functional;
T[] map(S, T)(S[] src, T delegate(S) dg) {
T[] res;
foreach (s; src) {
res ~= dg(s);
}
return res;
}
|
D
|
module rethinkdb.rethinkdb;
import rethinkdb.connection, rethinkdb.term;
class RethinkDB {
Connection connection;
bool is_connected;
this(string hostname = "localhost", ushort port = 28015) {
this.connection = new Connection(hostname, port);
if(this.connection.connect()) {
this.is_connected = true;
} else {
this.is_connected = false;
}
}
// core of the magic: dispatch all unhandled methods to new Term
auto opDispatch(string s, T...)(T t) {
auto term = new Term(this);
return mixin("term." ~ s ~ "(t)");
}
}
|
D
|
/**
* D header file for interaction with C++ std::type_traits.
*
* Copyright: Copyright Digital Mars 2018.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Manu Evans
* Source: $(DRUNTIMESRC core/stdcpp/type_traits.d)
*/
module core.stdcpp.type_traits;
extern(C++, "std"):
///
struct integral_constant(T, T Val)
{
///
enum T value = Val;
///
alias value_type = T;
///
alias type = typeof(this);
}
///
alias bool_constant(bool b) = integral_constant!(bool, b);
// Useful for dealing with enable_if constraints.
///
alias true_type = bool_constant!true;
///
alias false_type = bool_constant!false;
///
struct is_empty(T)
{
static if (is(T == struct))
private enum __is_empty = T.tupleof.length == 0;
else
private enum __is_empty = false;
///
enum bool value = __is_empty;
///
alias value_type = bool;
///
alias type = integral_constant!(bool, value);
}
|
D
|
module android.java.java.lang.JavaException;
public import android.java.java.lang.JavaException_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!JavaException;
import import4 = android.java.java.lang.Class;
import import3 = android.java.java.lang.StackTraceElement;
|
D
|
/Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/Objects-normal/x86_64/DynamicNodeEncoding.o : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-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/XMLCoder.build/Objects-normal/x86_64/DynamicNodeEncoding~partial.swiftmodule : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-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/XMLCoder.build/Objects-normal/x86_64/DynamicNodeEncoding~partial.swiftdoc : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-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/XMLCoder.build/Objects-normal/x86_64/DynamicNodeEncoding~partial.swiftsourceinfo : /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/KeyedStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncodingStorage.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DynamicNodeDecoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/DynamicNodeEncoding.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/DecodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/EncodingErrorExtension.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoderImplementation.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLHeader.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLDecoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLReferencingEncoder.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/XMLChoiceDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Decoder/SingleValueDecodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLUnkeyedEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/XMLChoiceEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Encoder/SingleValueEncodingContainer.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLStackParser.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/ISO8601DateFormatter.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Metatypes.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/String+Extensions.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLCoderElement.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/Box.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/URLBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DataBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SharedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/KeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/SingleKeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UnkeyedBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ChoiceBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DateBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/ValueBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/StringBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/DecimalBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/NullBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/BoolBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/FloatBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/IntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/Box/UIntBox.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLKey.swift /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/XMLCoder/Sources/XMLCoder/Auxiliaries/XMLChoiceCodingKey.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/dunjamaksimovic/Documents/FirebaseNotifier/Pods/Target\ Support\ Files/XMLCoder/XMLCoder-umbrella.h /Users/dunjamaksimovic/Documents/FirebaseNotifier/build/Pods.build/Debug-iphonesimulator/XMLCoder.build/unextended-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
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
module thrift.server.transport.socket;
import core.thread : dur, Duration, Thread;
import core.stdc.string : strerror;
import std.array : empty;
import std.conv : text, to;
import std.exception : enforce;
import std.socket;
import thrift.base;
import thrift.internal.socket;
import thrift.server.transport.base;
import thrift.transport.base;
import thrift.transport.socket;
import thrift.util.awaitable;
import thrift.util.cancellation;
private alias TServerTransportException STE;
/**
* Server socket implementation of TServerTransport.
*
* Maps to std.socket listen()/accept(); only provides TCP/IP sockets (i.e. no
* Unix sockets) for now, because they are not supported in std.socket.
*/
class TServerSocket : TServerTransport {
/**
* Constructs a new instance.
*
* Params:
* port = The TCP port to listen at (host is always 0.0.0.0).
* sendTimeout = The socket sending timeout.
* recvTimout = The socket receiving timeout.
*/
this(ushort port, Duration sendTimeout = dur!"hnsecs"(0),
Duration recvTimeout = dur!"hnsecs"(0))
{
port_ = port;
sendTimeout_ = sendTimeout;
recvTimeout_ = recvTimeout;
cancellationNotifier_ = new TSocketNotifier;
socketSet_ = new SocketSet;
}
/// The port the server socket listens at.
ushort port() const @property {
return port_;
}
/// The socket sending timeout, zero to block infinitely.
void sendTimeout(Duration sendTimeout) @property {
sendTimeout_ = sendTimeout;
}
/// The socket receiving timeout, zero to block infinitely.
void recvTimeout(Duration recvTimeout) @property {
recvTimeout_ = recvTimeout;
}
/// The maximum number of listening retries if it fails.
void retryLimit(ushort retryLimit) @property {
retryLimit_ = retryLimit;
}
/// The delay between a listening attempt failing and retrying it.
void retryDelay(Duration retryDelay) @property {
retryDelay_ = retryDelay;
}
/// The size of the TCP send buffer, in bytes.
void tcpSendBuffer(int tcpSendBuffer) @property {
tcpSendBuffer_ = tcpSendBuffer;
}
/// The size of the TCP receiving buffer, in bytes.
void tcpRecvBuffer(int tcpRecvBuffer) @property {
tcpRecvBuffer_ = tcpRecvBuffer;
}
/// Whether to listen on IPv6 only, if IPv6 support is detected
/// (default: false).
void ipv6Only(bool value) @property {
ipv6Only_ = value;
}
override void listen() {
enforce(!isListening, new STE(STE.Type.ALREADY_LISTENING));
serverSocket_ = makeSocketAndListen(port_, ACCEPT_BACKLOG, retryLimit_,
retryDelay_, tcpSendBuffer_, tcpRecvBuffer_, ipv6Only_);
}
override void close() {
enforce(isListening, new STE(STE.Type.NOT_LISTENING));
serverSocket_.shutdown(SocketShutdown.BOTH);
serverSocket_.close();
serverSocket_ = null;
}
override bool isListening() @property {
return serverSocket_ !is null;
}
/// Number of connections listen() backlogs.
enum ACCEPT_BACKLOG = 1024;
override TTransport accept(TCancellation cancellation = null) {
enforce(isListening, new STE(STE.Type.NOT_LISTENING));
if (cancellation) cancellationNotifier_.attach(cancellation.triggering);
scope (exit) if (cancellation) cancellationNotifier_.detach();
// Too many EINTRs is a fault condition and would need to be handled
// manually by our caller, but we can tolerate a certain number.
enum MAX_EINTRS = 10;
uint numEintrs;
while (true) {
socketSet_.reset();
socketSet_.add(serverSocket_);
socketSet_.add(cancellationNotifier_.socket);
auto ret = Socket.select(socketSet_, null, null);
enforce(ret != 0, new STE("Socket.select() returned 0.",
STE.Type.RESOURCE_FAILED));
if (ret < 0) {
// Select itself failed, check if it was just due to an interrupted
// syscall.
if (getSocketErrno() == INTERRUPTED_ERRNO) {
if (numEintrs++ < MAX_EINTRS) {
continue;
} else {
throw new STE("Socket.select() was interrupted by a signal (EINTR) " ~
"more than " ~ to!string(MAX_EINTRS) ~ " times.",
STE.Type.RESOURCE_FAILED
);
}
}
throw new STE("Unknown error on Socket.select(): " ~
socketErrnoString(getSocketErrno()), STE.Type.RESOURCE_FAILED);
} else {
// Check for a ping on the interrupt socket.
if (socketSet_.isSet(cancellationNotifier_.socket)) {
cancellation.throwIfTriggered();
}
// Check for the actual server socket having a connection waiting.
if (socketSet_.isSet(serverSocket_)) {
break;
}
}
}
try {
auto client = createTSocket(serverSocket_.accept());
client.sendTimeout = sendTimeout_;
client.recvTimeout = recvTimeout_;
return client;
} catch (SocketException e) {
throw new STE("Unknown error on accepting: " ~ to!string(e),
STE.Type.RESOURCE_FAILED);
}
}
protected:
/**
* Allows derived classes to create a different TSocket type.
*/
TSocket createTSocket(Socket socket) {
return new TSocket(socket);
}
private:
ushort port_;
Duration sendTimeout_;
Duration recvTimeout_;
ushort retryLimit_;
Duration retryDelay_;
uint tcpSendBuffer_;
uint tcpRecvBuffer_;
bool ipv6Only_;
Socket serverSocket_;
TSocketNotifier cancellationNotifier_;
// Keep socket set between accept() calls to avoid reallocating.
SocketSet socketSet_;
}
Socket makeSocketAndListen(ushort port, int backlog, ushort retryLimit,
Duration retryDelay, uint tcpSendBuffer = 0, uint tcpRecvBuffer = 0,
bool ipv6Only = false
) {
Address localAddr;
try {
// null represents the wildcard address.
auto addrInfos = getAddressInfo(null, to!string(port),
AddressInfoFlags.PASSIVE, SocketType.STREAM, ProtocolType.TCP);
foreach (i, ai; addrInfos) {
// Prefer to bind to IPv6 addresses, because then IPv4 is listened to as
// well, but not the other way round.
if (ai.family == AddressFamily.INET6 || i == (addrInfos.length - 1)) {
localAddr = ai.address;
break;
}
}
} catch (Exception e) {
throw new STE("Could not determine local address to listen on.",
STE.Type.RESOURCE_FAILED, __FILE__, __LINE__, e);
}
Socket socket;
try {
socket = new Socket(localAddr.addressFamily, SocketType.STREAM,
ProtocolType.TCP);
} catch (SocketException e) {
throw new STE("Could not create accepting socket: " ~ to!string(e),
STE.Type.RESOURCE_FAILED);
}
try {
socket.setOption(SocketOptionLevel.IPV6, SocketOption.IPV6_V6ONLY, ipv6Only);
} catch (SocketException e) {
// This is somewhat expected on older systems (e.g. pre-Vista Windows),
// which do not support the IPV6_V6ONLY flag yet. Racy flag just to avoid
// log spew in unit tests.
shared static warned = false;
if (!warned) {
logError("Could not set IPV6_V6ONLY socket option: %s", e);
warned = true;
}
}
alias SocketOptionLevel.SOCKET lvlSock;
// Prevent 2 maximum segement lifetime delay on accept.
try {
socket.setOption(lvlSock, SocketOption.REUSEADDR, true);
} catch (SocketException e) {
throw new STE("Could not set REUSEADDR socket option: " ~ to!string(e),
STE.Type.RESOURCE_FAILED);
}
// Set TCP buffer sizes.
if (tcpSendBuffer > 0) {
try {
socket.setOption(lvlSock, SocketOption.SNDBUF, tcpSendBuffer);
} catch (SocketException e) {
throw new STE("Could not set socket send buffer size: " ~ to!string(e),
STE.Type.RESOURCE_FAILED);
}
}
if (tcpRecvBuffer > 0) {
try {
socket.setOption(lvlSock, SocketOption.RCVBUF, tcpRecvBuffer);
} catch (SocketException e) {
throw new STE("Could not set receive send buffer size: " ~ to!string(e),
STE.Type.RESOURCE_FAILED);
}
}
// Turn linger off to avoid blocking on socket close.
try {
linger l;
l.on = 0;
l.time = 0;
socket.setOption(lvlSock, SocketOption.LINGER, l);
} catch (SocketException e) {
throw new STE("Could not disable socket linger: " ~ to!string(e),
STE.Type.RESOURCE_FAILED);
}
// Set TCP_NODELAY.
try {
socket.setOption(SocketOptionLevel.TCP, SocketOption.TCP_NODELAY, true);
} catch (SocketException e) {
throw new STE("Could not disable Nagle's algorithm: " ~ to!string(e),
STE.Type.RESOURCE_FAILED);
}
ushort retries;
while (true) {
try {
socket.bind(localAddr);
break;
} catch (SocketException) {}
// If bind() worked, we breaked outside the loop above.
retries++;
if (retries < retryLimit) {
Thread.sleep(retryDelay);
} else {
throw new STE(text("Could not bind to address: ", localAddr),
STE.Type.RESOURCE_FAILED);
}
}
socket.listen(backlog);
return socket;
}
unittest {
// Test interrupt().
{
auto sock = new TServerSocket(0);
sock.listen();
scope (exit) sock.close();
auto cancellation = new TCancellationOrigin;
auto intThread = new Thread({
// Sleep for a bit until the socket is accepting.
Thread.sleep(dur!"msecs"(50));
cancellation.trigger();
});
intThread.start();
import std.exception;
assertThrown!TCancelledException(sock.accept(cancellation));
}
// Test receive() timeout on accepted client sockets.
{
immutable port = 11122;
auto timeout = dur!"msecs"(500);
auto serverSock = new TServerSocket(port, timeout, timeout);
serverSock.listen();
scope (exit) serverSock.close();
auto clientSock = new TSocket("127.0.0.1", port);
clientSock.open();
scope (exit) clientSock.close();
shared bool hasTimedOut;
auto recvThread = new Thread({
auto sock = serverSock.accept();
ubyte[1] data;
try {
sock.read(data);
} catch (TTransportException e) {
if (e.type == TTransportException.Type.TIMED_OUT) {
hasTimedOut = true;
} else {
import std.stdio;
stderr.writeln(e);
}
}
});
recvThread.isDaemon = true;
recvThread.start();
// Wait for the timeout, with a little bit of spare time.
Thread.sleep(timeout + dur!"msecs"(50));
enforce(hasTimedOut,
"Client socket receive() blocked for longer than recvTimeout.");
}
}
|
D
|
instance DIA_Raven_Exit(C_Info)
{
npc = EBR_105_Raven;
nr = 999;
condition = DIA_Raven_Exit_Condition;
information = DIA_Raven_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int DIA_Raven_Exit_Condition()
{
return 1;
};
func void DIA_Raven_Exit_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Raven_FirstIn(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_FirstIn_Condition;
information = DIA_Raven_FirstIn_Info;
permanent = 0;
important = 1;
};
func int DIA_Raven_FirstIn_Condition()
{
var C_Npc wache218;
wache218 = Hlp_GetNpc(Grd_218_Gardist);
if(wache218.aivar[AIV_PASSGATE] == TRUE)
{
return 1;
};
};
func void DIA_Raven_FirstIn_Info()
{
AI_Output(self,other,"DIA_Raven_FirstIn_10_00"); //Co mogę dla ciebie zrobić?
};
instance DIA_Raven_Who(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_Who_Condition;
information = DIA_Raven_Who_Info;
permanent = 0;
description = "Kim jesteś?";
};
func int DIA_Raven_Who_Condition()
{
return 1;
};
func void DIA_Raven_Who_Info()
{
AI_Output(other,self,"DIA_Raven_Who_15_00"); //Kim jesteś?
AI_Output(self,other,"DIA_Raven_Who_10_01"); //Nazywam się Kruk. Jestem prawą ręką Gomeza. Każdy, kto chce się spotkać z szefem, musi najpierw porozmawiać ze mną.
};
instance DIA_Raven_Krautbote(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_Krautbote_Condition;
information = DIA_Raven_Krautbote_Info;
permanent = 0;
description = "Mam trochę bagiennego ziela dla Gomeza od Cor Kaloma.";
};
func int DIA_Raven_Krautbote_Condition()
{
if(Kalom_Krautbote == LOG_RUNNING)
{
return 1;
};
};
func void DIA_Raven_Krautbote_Info()
{
AI_Output(other,self,"DIA_Raven_Krautbote_15_00"); //Mam trochę bagiennego ziela dla Gomeza od Cor Kaloma.
AI_Output(self,other,"DIA_Raven_Krautbote_10_01"); //Gomez nie zajmuje się takimi rzeczami osobiście. To działka Bartholo.
AI_Output(self,other,"DIA_Raven_Krautbote_10_02"); //Znajdziesz go w komnacie na prawo od wejścia, albo w kuchni w dużej wieży.
AI_Output(self,other,"DIA_Raven_Krautbote_10_03"); //Oczywiście w nocy pewnie śpi. Na twoim miejscu nie przeszkadzałbym mu do rana.
B_LogEntry(CH1_KrautBote,"Ziele dla Gomeza należy dostarczyć do Bartholo. Znajdę go w rezydencji Magnatów.");
};
instance DIA_Raven_Aufnahme(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_Aufnahme_Condition;
information = DIA_Raven_Aufnahme_Info;
permanent = 0;
description = "Chcę się zobaczyć z Gomezem. Thorus powiedział, że mogę zostać Cieniem.";
};
func int DIA_Raven_Aufnahme_Condition()
{
if(Npc_KnowsInfo(hero,Info_Thorus_ReadyForGomez) && (Npc_GetTrueGuild(other) == GIL_None))
{
return 1;
};
};
func void DIA_Raven_Aufnahme_Info()
{
AI_Output(other,self,"DIA_Raven_Aufnahme_15_00"); //Chcę się zobaczyć z Gomezem. Thorus powiedział, że mogę zostać Cieniem.
AI_Output(self,other,"DIA_Raven_Aufnahme_10_01"); //Dobrych ludzi nigdy nie za wielu. Chyba masz wystarczająco równo pod sufitem. Możesz się nam przydać.
AI_Output(self,other,"DIA_Raven_Aufnahme_10_02"); //Zabiorę cię do Gomeza. Chodź za mną, tylko niczego nie dotykaj!
AI_StopProcessInfos(self);
Npc_ExchangeRoutine(self,"GUIDE");
};
instance DIA_Raven_There(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_There_Condition;
information = DIA_Raven_There_Info;
permanent = 0;
important = 1;
};
func int DIA_Raven_There_Condition()
{
if(Npc_KnowsInfo(hero,DIA_Raven_Aufnahme) && Hlp_StrCmp(Npc_GetNearestWP(self),"OCC_BARONS_GREATHALL_CENTER_MOVEMENT"))
{
return 1;
};
};
func void DIA_Raven_There_Info()
{
AI_Output(self,other,"DIA_Raven_There_10_01"); //Gomez jest tam. Jeśli nie okażesz mu należnego szacunku, osobiście nauczę cię dobrych manier. Zrozumiano?
AI_StopProcessInfos(self);
Npc_ExchangeRoutine(self,"START");
};
instance DIA_Raven_PERM(C_Info)
{
npc = EBR_105_Raven;
nr = 8;
condition = DIA_Raven_PERM_Condition;
information = DIA_Raven_PERM_Info;
permanent = 1;
description = "Jak idzie handel rudą?";
};
func int DIA_Raven_PERM_Condition()
{
if(Npc_KnowsInfo(hero,Info_Thorus_ReadyForGomez))
{
return 1;
};
};
func void DIA_Raven_PERM_Info()
{
AI_Output(other,self,"DIA_Raven_PERM_15_00"); //Jak idzie handel rudą?
AI_Output(self,other,"DIA_Raven_PERM_10_01"); //Stara Kopalnia jakoś radzi sobie z wydobyciem. Ostatni transport do zewnętrznego świata był bardzo duży.
};
instance DIA_Raven_BinDabei(C_Info)
{
npc = EBR_105_Raven;
nr = 8;
condition = DIA_Raven_BinDabei_Condition;
information = DIA_Raven_BinDabei_Info;
permanent = 0;
description = "Gomez powiedział, że się nadaję.";
};
func int DIA_Raven_BinDabei_Condition()
{
if(Npc_KnowsInfo(hero,DIA_Gomez_Dabei))
{
return 1;
};
};
func void DIA_Raven_BinDabei_Info()
{
CreateInvItem(hero,stt_armor_m);
CreateInvItem(self,ItAmArrow);
B_GiveInvItems(self,hero,ItAmArrow,1);
Npc_RemoveInvItem(hero,ItAmArrow);
AI_Output(other,self,"DIA_Raven_BinDabei_15_00"); //Gomez powiedział, że się nadaję.
AI_Output(self,other,"DIA_Raven_BinDabei_10_01"); //Świetnie! Tak się składa, że możesz od razu udowodnić, na co cię stać. Jest dla ciebie robota.
AI_Output(self,other,"DIA_Raven_BinDabei_10_02"); //To nie powinno być zbyt trudne, jeśli rzeczywiście masz kontakty, o jakich mówiłeś.
AI_EquipBestArmor(hero);
};
var int Raven_SpySect;
instance DIA_Raven_SpySect(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_SpySect_Condition;
information = DIA_Raven_SpySect_Info;
permanent = 0;
description = "Co mam zrobić?";
};
func int DIA_Raven_SpySect_Condition()
{
if(Npc_KnowsInfo(hero,DIA_Raven_BinDabei))
{
return 1;
};
};
func void DIA_Raven_SpySect_Info()
{
AI_Output(other,self,"DIA_Raven_SpySect_15_00"); //Co mam zrobić?
AI_Output(self,other,"DIA_Raven_SpySect_10_01"); //Prowadzimy intensywną wymianę handlową z Bractwem, co nie znaczy, że im do końca ufamy.
AI_Output(self,other,"DIA_Raven_SpySect_10_02"); //Idź na bagna.
AI_Output(self,other,"DIA_Raven_SpySect_10_03"); //Kiedy dotrzesz do Obozu Bractwa, miej uszy i oczy szeroko otwarte. Każdy strzępek informacji może się okazać niezwykle cenny.
AI_Output(self,other,"DIA_Raven_SpySect_10_04"); //Im więcej wywęszysz, tym lepiej. Ta misja wymaga odrobiny taktu, jeśli wiesz, co mam na myśli.
AI_Output(other,self,"DIA_Raven_SpySect_15_05"); //Bez obaw. Postaram się ich nie rozzłościć.
AI_Output(self,other,"DIA_Raven_SpySect_10_06"); //Wiedziałem, że się zrozumiemy.
Raven_SpySect = LOG_RUNNING;
Log_CreateTopic(CH1_GoToPsi,LOG_MISSION);
Log_SetTopicStatus(CH1_GoToPsi,LOG_RUNNING);
B_LogEntry(CH1_GoToPsi,"Kruk wysłał mnie do obozu Bractwa. Mam się tam trochę rozejrzeć i donieść mu o wszystkich podejrzanych wydarzeniach. Może uda mi się dowiedzieć czegoś ciekawego.");
};
instance DIA_Raven_Equipment(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_Equipment_Condition;
information = DIA_Raven_Equipment_Info;
permanent = 0;
description = "Gdzie mogę dostać lepsze wyposażenie?";
};
func int DIA_Raven_Equipment_Condition()
{
if(Raven_SpySect == LOG_RUNNING)
{
return 1;
};
};
func void DIA_Raven_Equipment_Info()
{
AI_Output(other,self,"DIA_Raven_Equipment_15_00"); //Gdzie mogę dostać lepsze wyposażenie?
AI_Output(self,other,"DIA_Raven_Equipment_10_01"); //Porozmawiaj z Diego, on da ci jakąś zbroję. Ten pancerz nie tylko uchroni cię przed śmiercią, ale będzie również służył jako znak rozpoznawczy.
AI_Output(self,other,"DIA_Raven_Equipment_10_02"); //Dzięki niemu zyskasz dostęp do wszystkich ważniejszych miejsc.
AI_Output(self,other,"DIA_Raven_Equipment_10_03"); //Gdybyś potrzebował broni, porozmawiaj ze Skipem. Znajdziesz go w tej wielkiej szopie, w lewym tylnym rogu zamkowego dziedzińca.
Log_CreateTopic(GE_TraderOC,LOG_NOTE);
B_LogEntry(GE_TraderOC,"Diego ma lepsze wyposażenie dla Cieni Gomeza. Znajdę go przy zamkowej bramie.");
if(!Npc_KnowsInfo(hero,DIA_Skip_First))
{
B_LogEntry(GE_TraderOC,"Skip, strażnik z tylnego dziedzińca, sprzedaje oręż, ale tylko ludziom Gomeza.");
};
};
instance DIA_Raven_SpyBericht(C_Info)
{
npc = EBR_105_Raven;
nr = 1;
condition = DIA_Raven_SpyBericht_Condition;
information = DIA_Raven_SpyBericht_Info;
permanent = 1;
description = "Pomyślałem, że zdam ci raport...";
};
func int DIA_Raven_SpyBericht_Condition()
{
if(Raven_SpySect == LOG_RUNNING)
{
return 1;
};
};
func void DIA_Raven_SpyBericht_Info()
{
AI_Output(other,self,"DIA_Raven_SpyBericht_15_00"); //Pomyślałem, że zdam ci raport...
AI_Output(self,other,"DIA_Raven_SpyBericht_10_01"); //To dobrze. Lubię być informowany na bieżąco.
if((Npc_HasItems(other,ItAt_Crawlerqueen) >= 1) || (CorKalom_BringMCQBalls == LOG_SUCCESS))
{
if(Kapitel >= 3)
{
AI_Output(other,self,"Org_826_Mordrag_RUNNING_15_04"); //Odbyło się wielkie przywołanie.
AI_Output(self,other,"DIA_Raven_SpyBericht_10_04"); //Dobrze się spisałeś.
Raven_SpySect = LOG_SUCCESS;
B_GiveXP(XP_ReportToRaven);
Log_SetTopicStatus(CH1_GoToPsi,LOG_SUCCESS);
B_LogEntry(CH1_GoToPsi,"Kruk spławił mnie byle gadką. Nie potrzeba mi takich przyjaciół. Od tej pory działam na własny rachunek.");
}
else
{
AI_Output(other,self,"DIA_Raven_SpyBericht_15_02"); //Teraz Bractwo potrzebuje jaj królowej pełzaczy. Przygotują z nich napój, który umożliwi im nawiązanie kontaktu ze Śniącym. Mam te jaja przy sobie.
if(CorKalom_BringMCQBalls != LOG_SUCCESS)
{
AI_Output(self,other,"DIA_Raven_SpyBericht_10_03"); //Hmm, interesujące. Ciekawe czy to zadziała. Zanieś jaja do świątyni.
}
else
{
AI_Output(self,other,"DIA_Raven_SpyBericht_10_04"); //Dobrze się spisałeś.
Raven_SpySect = LOG_SUCCESS;
B_GiveXP(XP_ReportToRaven);
Log_SetTopicStatus(CH1_GoToPsi,LOG_SUCCESS);
B_LogEntry(CH1_GoToPsi,"Kruk spławił mnie byle gadką. Nie potrzeba mi takich przyjaciół. Od tej pory działam na własny rachunek.");
};
};
}
else
{
AI_Output(other,self,"DIA_Raven_SpyBericht_15_05"); //Niestety, jeszcze nie wiem, co planują ludzie z Bractwa.
AI_Output(self,other,"DIA_Raven_SpyBericht_10_06"); //To dlaczego zawracasz mi głowę?
};
};
|
D
|
# FIXED
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/common/osal.c
OSAL/osal.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/string.h
OSAL/osal.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/linkage.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/comdef.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/../_common/cc26xx/_hal_types.h
OSAL/osal.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_defs.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_board.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_board_cfg.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_mcu.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_nvic.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_ints.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_types.h
OSAL/osal.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdbool.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/../inc/hw_chip_def.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_gpio.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_memmap.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/systick.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/debug.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/interrupt.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/cpu.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_cpu_scs.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../driverlib/rom.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/uart.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_uart.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/gpio.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/flash.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_flash.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_sysctl.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_fcfg1.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/ioc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ioc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/icall/src/inc/icall.h
OSAL/osal.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdlib.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_assert.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal.h
OSAL/osal.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/limits.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_memory.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_timers.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_tasks.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_pwrmgr.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_clock.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/common/cc26xx/onboard.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/sys_ctrl.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_sysctl.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_prcm.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_wuc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aux_wuc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_ioc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ddi_0_osc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_rfc_pwr.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_adi_3_refsys.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_rtc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/pwr_ctrl.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_adi_2_refsys.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/osc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ddi.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/ddi.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aux_smph.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/prcm.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/aon_ioc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/adi.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_adi.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/aux_wuc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/aon_wuc.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/vims.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_vims.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_sleep.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_drivers.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h
OSAL/osal.obj: C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/icall/src/inc/icall_jt.h
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/common/osal.c:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/string.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/linkage.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/comdef.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/../_common/cc26xx/_hal_types.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_defs.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_board.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_board_cfg.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_mcu.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_nvic.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_ints.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_types.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdbool.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/../inc/hw_chip_def.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_gpio.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/inc/hw_memmap.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/systick.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/debug.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/interrupt.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/cpu.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_cpu_scs.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../driverlib/rom.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/uart.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_uart.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/gpio.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/flash.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_flash.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_sysctl.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_fcfg1.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/ioc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ioc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/icall/src/inc/icall.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdlib.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_assert.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal.h:
C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/limits.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_memory.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_timers.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_tasks.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_pwrmgr.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/osal/src/inc/osal_clock.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/common/cc26xx/onboard.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/sys_ctrl.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_sysctl.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_prcm.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_wuc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aux_wuc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_ioc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ddi_0_osc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_rfc_pwr.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_adi_3_refsys.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aon_rtc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/pwr_ctrl.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_adi_2_refsys.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/osc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_ddi.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/ddi.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_aux_smph.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/prcm.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/aon_ioc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/adi.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_adi.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/aux_wuc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/aon_wuc.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/vims.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/devices/cc26x0r2/driverlib/../inc/hw_vims.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_sleep.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/inc/hal_drivers.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/hal/src/target/_common/hal_types.h:
C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/blestack/icall/src/inc/icall_jt.h:
|
D
|
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/HTTP.build/Objects-normal/x86_64/Status.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Method/Method.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Messages/Message.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/ResponseRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/BodyRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Messages/Message+CustomStringConvertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Middleware/Middleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/Response.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Middleware/Middleware+Chaining.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Method/Method+String.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/Response+Chunk.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/Body+Chunk.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/ChunkStream.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Version/Version.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/URI+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Response+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Client+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Request+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Responder/Responder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Responder/AsyncResponder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/AsyncServerWorker.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/CHTTPParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ResponseParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/RequestParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/Server.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/TCPServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/TLSServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/BasicServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/AsyncServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/Serializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/ResponseSerializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/RequestSerializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ParserError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/ServerError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/SerializerError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/Body+Bytes.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Headers/Headers.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ParseResults.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Status/Status.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/Response+Redirect.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Client/HTTP+Client.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Client/Client.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Request/Request.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/ThreadsafeArray.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/Body.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/URI.framework/Modules/URI.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/TLS.framework/Modules/TLS.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Random.framework/Modules/Random.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sockets.framework/Modules/Sockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Transport.framework/Modules/Transport.swiftmodule/x86_64.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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/cansoykarafakili/Desktop/Hello/Hello.xcodeproj/GeneratedModuleMap/CHTTP/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/HTTP.build/Objects-normal/x86_64/Status~partial.swiftmodule : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Method/Method.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Messages/Message.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/ResponseRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/BodyRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Messages/Message+CustomStringConvertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Middleware/Middleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/Response.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Middleware/Middleware+Chaining.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Method/Method+String.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/Response+Chunk.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/Body+Chunk.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/ChunkStream.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Version/Version.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/URI+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Response+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Client+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Request+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Responder/Responder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Responder/AsyncResponder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/AsyncServerWorker.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/CHTTPParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ResponseParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/RequestParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/Server.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/TCPServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/TLSServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/BasicServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/AsyncServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/Serializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/ResponseSerializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/RequestSerializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ParserError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/ServerError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/SerializerError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/Body+Bytes.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Headers/Headers.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ParseResults.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Status/Status.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/Response+Redirect.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Client/HTTP+Client.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Client/Client.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Request/Request.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/ThreadsafeArray.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/Body.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/URI.framework/Modules/URI.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/TLS.framework/Modules/TLS.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Random.framework/Modules/Random.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sockets.framework/Modules/Sockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Transport.framework/Modules/Transport.swiftmodule/x86_64.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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/cansoykarafakili/Desktop/Hello/Hello.xcodeproj/GeneratedModuleMap/CHTTP/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/HTTP.build/Objects-normal/x86_64/Status~partial.swiftdoc : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Method/Method.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Messages/Message.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/ResponseRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/BodyRepresentable.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Messages/Message+CustomStringConvertible.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Middleware/Middleware.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/Response.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Middleware/Middleware+Chaining.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Method/Method+String.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/Response+Chunk.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/Body+Chunk.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Chunk/ChunkStream.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Version/Version.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/URI+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Response+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Client+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/FoundationClient/Request+Foundation.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Responder/Responder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Responder/AsyncResponder.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/AsyncServerWorker.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/CHTTPParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ResponseParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/RequestParser.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/Server.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/TCPServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/TLSServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/BasicServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/AsyncServer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/Serializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/ResponseSerializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/RequestSerializer.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ParserError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/ServerError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Serializer/SerializerError.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/Body+Bytes.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Headers/Headers.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Parser/ParseResults.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Status/Status.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Response/Response+Redirect.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Client/HTTP+Client.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Client/Client.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Request/Request.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Server/ThreadsafeArray.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Body/Body.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/URI.framework/Modules/URI.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/TLS.framework/Modules/TLS.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Random.framework/Modules/Random.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Sockets.framework/Modules/Sockets.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/cansoykarafakili/Desktop/Hello/build/Products/Debug/Transport.framework/Modules/Transport.swiftmodule/x86_64.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/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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/CHTTP/include/http_parser.h /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/cansoykarafakili/Desktop/Hello/Hello.xcodeproj/GeneratedModuleMap/CHTTP/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
|
D
|
/Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/API/Attribute.swift.o : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSS.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastFeed.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLViewportWidthMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Node.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/AnyNode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Language.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Renderable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/URLRepresentable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/NodeConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastMediaType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/TwitterCardType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastEpisodeType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormContentType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLInputType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Attribute.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/DocumentEncoding.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/String+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Indentation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLLinkRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/ElementRenderer.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLVideoFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAudioFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorTarget.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Element.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Document.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/ControlFlow.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapChangeFrequency.swift /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/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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/API/Attribute~partial.swiftmodule : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSS.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastFeed.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLViewportWidthMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Node.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/AnyNode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Language.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Renderable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/URLRepresentable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/NodeConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastMediaType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/TwitterCardType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastEpisodeType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormContentType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLInputType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Attribute.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/DocumentEncoding.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/String+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Indentation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLLinkRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/ElementRenderer.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLVideoFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAudioFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorTarget.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Element.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Document.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/ControlFlow.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapChangeFrequency.swift /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/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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/API/Attribute~partial.swiftdoc : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSS.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastFeed.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLViewportWidthMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Node.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/AnyNode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Language.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Renderable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/URLRepresentable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/NodeConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastMediaType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/TwitterCardType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastEpisodeType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormContentType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLInputType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Attribute.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/DocumentEncoding.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/String+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Indentation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLLinkRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/ElementRenderer.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLVideoFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAudioFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorTarget.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Element.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Document.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/ControlFlow.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapChangeFrequency.swift /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/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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/API/Attribute~partial.swiftsourceinfo : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XML.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSS.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastFeed.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormMethod.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLViewportWidthMode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Node.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/AnyNode.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Language.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Renderable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/URLRepresentable.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/NodeConvertible.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastMediaType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/TwitterCardType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastEpisodeType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLFormContentType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLInputType.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Attribute.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/DocumentEncoding.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/String+Escaping.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Indentation.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMap.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLLinkRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorRelationship.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/Internal/ElementRenderer.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastAttributes.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/XMLElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/RSSElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastElements.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/PodcastComponents.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLVideoFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAudioFormat.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/HTMLAnchorTarget.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Element.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/Document.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/ControlFlow.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/plot/Sources/Plot/API/SiteMapChangeFrequency.swift /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/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/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/dyld.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Codextended.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/PublishCLICore.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Splash.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Ink.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/SplashPublishPlugin.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Sweep.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Files.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Plot.build/module.modulemap /Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/ShellOut.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
|
D
|
// Written in the D programming language.
/**
A one-stop shop for converting values from one type to another.
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Generic) $(TD
$(LREF asOriginalType)
$(LREF castFrom)
$(LREF emplace)
$(LREF parse)
$(LREF to)
$(LREF toChars)
))
$(TR $(TD Strings) $(TD
$(LREF text)
$(LREF wtext)
$(LREF dtext)
$(LREF hexString)
))
$(TR $(TD Numeric) $(TD
$(LREF octal)
$(LREF roundTo)
$(LREF signed)
$(LREF unsigned)
))
$(TR $(TD Exceptions) $(TD
$(LREF ConvException)
$(LREF ConvOverflowException)
))
)
Copyright: Copyright The D Language Foundation 2007-.
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP digitalmars.com, Walter Bright),
$(HTTP erdani.org, Andrei Alexandrescu),
Shin Fujishiro,
Adam D. Ruppe,
Kenji Hara
Source: $(PHOBOSSRC std/conv.d)
*/
module std.conv;
public import std.ascii : LetterCase;
import std.meta;
import std.range.primitives;
import std.traits;
// Same as std.string.format, but "self-importing".
// Helps reduce code and imports, particularly in static asserts.
// Also helps with missing imports errors.
package template convFormat()
{
import std.format : format;
alias convFormat = format;
}
/* ************* Exceptions *************** */
/**
* Thrown on conversion errors.
*/
class ConvException : Exception
{
import std.exception : basicExceptionCtors;
///
mixin basicExceptionCtors;
}
///
@safe unittest
{
import std.exception : assertThrown;
assertThrown!ConvException(to!int("abc"));
}
private auto convError(S, T)(S source, string fn = __FILE__, size_t ln = __LINE__)
{
string msg;
if (source.empty)
msg = "Unexpected end of input when converting from type " ~ S.stringof ~ " to type " ~ T.stringof;
else
{
ElementType!S el = source.front;
if (el == '\n')
msg = text("Unexpected '\\n' when converting from type " ~ S.stringof ~ " to type " ~ T.stringof);
else
msg = text("Unexpected '", el,
"' when converting from type " ~ S.stringof ~ " to type " ~ T.stringof);
}
return new ConvException(msg, fn, ln);
}
private auto convError(S, T)(S source, int radix, string fn = __FILE__, size_t ln = __LINE__)
{
string msg;
if (source.empty)
msg = text("Unexpected end of input when converting from type " ~ S.stringof ~ " base ", radix,
" to type " ~ T.stringof);
else
msg = text("Unexpected '", source.front,
"' when converting from type " ~ S.stringof ~ " base ", radix,
" to type " ~ T.stringof);
return new ConvException(msg, fn, ln);
}
@safe pure/* nothrow*/ // lazy parameter bug
private auto parseError(lazy string msg, string fn = __FILE__, size_t ln = __LINE__)
{
return new ConvException(text("Can't parse string: ", msg), fn, ln);
}
private void parseCheck(alias source)(dchar c, string fn = __FILE__, size_t ln = __LINE__)
{
if (source.empty)
throw parseError(text("unexpected end of input when expecting", "\"", c, "\""));
if (source.front != c)
throw parseError(text("\"", c, "\" is missing"), fn, ln);
source.popFront();
}
private
{
T toStr(T, S)(S src)
if (isSomeString!T)
{
// workaround for Bugzilla 14198
static if (is(S == bool) && is(typeof({ T s = "string"; })))
{
return src ? "true" : "false";
}
else
{
import std.array : appender;
import std.format : FormatSpec, formatValue;
auto w = appender!T();
FormatSpec!(ElementEncodingType!T) f;
formatValue(w, src, f);
return w.data;
}
}
template isExactSomeString(T)
{
enum isExactSomeString = isSomeString!T && !is(T == enum);
}
template isEnumStrToStr(S, T)
{
enum isEnumStrToStr = isImplicitlyConvertible!(S, T) &&
is(S == enum) && isExactSomeString!T;
}
template isNullToStr(S, T)
{
enum isNullToStr = isImplicitlyConvertible!(S, T) &&
(is(Unqual!S == typeof(null))) && isExactSomeString!T;
}
}
/**
* Thrown on conversion overflow errors.
*/
class ConvOverflowException : ConvException
{
@safe pure nothrow
this(string s, string fn = __FILE__, size_t ln = __LINE__)
{
super(s, fn, ln);
}
}
///
@safe unittest
{
import std.exception : assertThrown;
assertThrown!ConvOverflowException(to!ubyte(1_000_000));
}
/**
The `to` template converts a value from one type _to another.
The source type is deduced and the target type must be specified, for example the
expression `to!int(42.0)` converts the number 42 from
`double` _to `int`. The conversion is "safe", i.e.,
it checks for overflow; `to!int(4.2e10)` would throw the
`ConvOverflowException` exception. Overflow checks are only
inserted when necessary, e.g., `to!double(42)` does not do
any checking because any `int` fits in a `double`.
Conversions from string _to numeric types differ from the C equivalents
`atoi()` and `atol()` by checking for overflow and not allowing whitespace.
For conversion of strings _to signed types, the grammar recognized is:
$(PRE $(I Integer): $(I Sign UnsignedInteger)
$(I UnsignedInteger)
$(I Sign):
$(B +)
$(B -))
For conversion _to unsigned types, the grammar recognized is:
$(PRE $(I UnsignedInteger):
$(I DecimalDigit)
$(I DecimalDigit) $(I UnsignedInteger))
*/
template to(T)
{
T to(A...)(A args)
if (A.length > 0)
{
return toImpl!T(args);
}
// Fix issue 6175
T to(S)(ref S arg)
if (isStaticArray!S)
{
return toImpl!T(arg);
}
// Fix issue 16108
T to(S)(ref S arg)
if (isAggregateType!S && !isCopyable!S)
{
return toImpl!T(arg);
}
}
/**
* Converting a value _to its own type (useful mostly for generic code)
* simply returns its argument.
*/
@safe pure unittest
{
int a = 42;
int b = to!int(a);
double c = to!double(3.14); // c is double with value 3.14
}
/**
* Converting among numeric types is a safe way _to cast them around.
*
* Conversions from floating-point types _to integral types allow loss of
* precision (the fractional part of a floating-point number). The
* conversion is truncating towards zero, the same way a cast would
* truncate. (_To round a floating point value when casting _to an
* integral, use `roundTo`.)
*/
@safe pure unittest
{
import std.exception : assertThrown;
int a = 420;
assert(to!long(a) == a);
assertThrown!ConvOverflowException(to!byte(a));
assert(to!int(4.2e6) == 4200000);
assertThrown!ConvOverflowException(to!uint(-3.14));
assert(to!uint(3.14) == 3);
assert(to!uint(3.99) == 3);
assert(to!int(-3.99) == -3);
}
/**
* When converting strings _to numeric types, note that the D hexadecimal and binary
* literals are not handled. Neither the prefixes that indicate the base, nor the
* horizontal bar used _to separate groups of digits are recognized. This also
* applies to the suffixes that indicate the type.
*
* _To work around this, you can specify a radix for conversions involving numbers.
*/
@safe pure unittest
{
auto str = to!string(42, 16);
assert(str == "2A");
auto i = to!int(str, 16);
assert(i == 42);
}
/**
* Conversions from integral types _to floating-point types always
* succeed, but might lose accuracy. The largest integers with a
* predecessor representable in floating-point format are `2^24-1` for
* `float`, `2^53-1` for `double`, and `2^64-1` for `real` (when
* `real` is 80-bit, e.g. on Intel machines).
*/
@safe pure unittest
{
// 2^24 - 1, largest proper integer representable as float
int a = 16_777_215;
assert(to!int(to!float(a)) == a);
assert(to!int(to!float(-a)) == -a);
}
/**
Conversion from string types to char types enforces the input
to consist of a single code point, and said code point must
fit in the target type. Otherwise, $(LREF ConvException) is thrown.
*/
@safe pure unittest
{
import std.exception : assertThrown;
assert(to!char("a") == 'a');
assertThrown(to!char("ñ")); // 'ñ' does not fit into a char
assert(to!wchar("ñ") == 'ñ');
assertThrown(to!wchar("😃")); // '😃' does not fit into a wchar
assert(to!dchar("😃") == '😃');
// Using wstring or dstring as source type does not affect the result
assert(to!char("a"w) == 'a');
assert(to!char("a"d) == 'a');
// Two code points cannot be converted to a single one
assertThrown(to!char("ab"));
}
/**
* Converting an array _to another array type works by converting each
* element in turn. Associative arrays can be converted _to associative
* arrays as long as keys and values can in turn be converted.
*/
@safe pure unittest
{
import std.string : split;
int[] a = [1, 2, 3];
auto b = to!(float[])(a);
assert(b == [1.0f, 2, 3]);
string str = "1 2 3 4 5 6";
auto numbers = to!(double[])(split(str));
assert(numbers == [1.0, 2, 3, 4, 5, 6]);
int[string] c;
c["a"] = 1;
c["b"] = 2;
auto d = to!(double[wstring])(c);
assert(d["a"w] == 1 && d["b"w] == 2);
}
/**
* Conversions operate transitively, meaning that they work on arrays and
* associative arrays of any complexity.
*
* This conversion works because `to!short` applies _to an `int`, `to!wstring`
* applies _to a `string`, `to!string` applies _to a `double`, and
* `to!(double[])` applies _to an `int[]`. The conversion might throw an
* exception because `to!short` might fail the range check.
*/
@safe unittest
{
int[string][double[int[]]] a;
auto b = to!(short[wstring][string[double[]]])(a);
}
/**
* Object-to-object conversions by dynamic casting throw exception when
* the source is non-null and the target is null.
*/
@safe pure unittest
{
import std.exception : assertThrown;
// Testing object conversions
class A {}
class B : A {}
class C : A {}
A a1 = new A, a2 = new B, a3 = new C;
assert(to!B(a2) is a2);
assert(to!C(a3) is a3);
assertThrown!ConvException(to!B(a3));
}
/**
* Stringize conversion from all types is supported.
* $(UL
* $(LI String _to string conversion works for any two string types having
* (`char`, `wchar`, `dchar`) character widths and any
* combination of qualifiers (mutable, `const`, or `immutable`).)
* $(LI Converts array (other than strings) _to string.
* Each element is converted by calling `to!T`.)
* $(LI Associative array _to string conversion.
* Each element is printed by calling `to!T`.)
* $(LI Object _to string conversion calls `toString` against the object or
* returns `"null"` if the object is null.)
* $(LI Struct _to string conversion calls `toString` against the struct if
* it is defined.)
* $(LI For structs that do not define `toString`, the conversion _to string
* produces the list of fields.)
* $(LI Enumerated types are converted _to strings as their symbolic names.)
* $(LI Boolean values are printed as `"true"` or `"false"`.)
* $(LI `char`, `wchar`, `dchar` _to a string type.)
* $(LI Unsigned or signed integers _to strings.
* $(DL $(DT [special case])
* $(DD Convert integral value _to string in $(D_PARAM radix) radix.
* radix must be a value from 2 to 36.
* value is treated as a signed value only if radix is 10.
* The characters A through Z are used to represent values 10 through 36
* and their case is determined by the $(D_PARAM letterCase) parameter.)))
* $(LI All floating point types _to all string types.)
* $(LI Pointer to string conversions prints the pointer as a `size_t` value.
* If pointer is `char*`, treat it as C-style strings.
* In that case, this function is `@system`.))
*/
@system pure unittest // @system due to cast and ptr
{
// Conversion representing dynamic/static array with string
long[] a = [ 1, 3, 5 ];
assert(to!string(a) == "[1, 3, 5]");
// Conversion representing associative array with string
int[string] associativeArray = ["0":1, "1":2];
assert(to!string(associativeArray) == `["0":1, "1":2]` ||
to!string(associativeArray) == `["1":2, "0":1]`);
// char* to string conversion
assert(to!string(cast(char*) null) == "");
assert(to!string("foo\0".ptr) == "foo");
// Conversion reinterpreting void array to string
auto w = "abcx"w;
const(void)[] b = w;
assert(b.length == 8);
auto c = to!(wchar[])(b);
assert(c == "abcx");
}
// Tests for issue 6175
@safe pure nothrow unittest
{
char[9] sarr = "blablabla";
auto darr = to!(char[])(sarr);
assert(sarr.ptr == darr.ptr);
assert(sarr.length == darr.length);
}
// Tests for issue 7348
@safe pure /+nothrow+/ unittest
{
assert(to!string(null) == "null");
assert(text(null) == "null");
}
// Tests for issue 11390
@safe pure /+nothrow+/ unittest
{
const(typeof(null)) ctn;
immutable(typeof(null)) itn;
assert(to!string(ctn) == "null");
assert(to!string(itn) == "null");
}
// Tests for issue 8729: do NOT skip leading WS
@safe pure unittest
{
import std.exception;
static foreach (T; AliasSeq!(byte, ubyte, short, ushort, int, uint, long, ulong))
{
assertThrown!ConvException(to!T(" 0"));
assertThrown!ConvException(to!T(" 0", 8));
}
static foreach (T; AliasSeq!(float, double, real))
{
assertThrown!ConvException(to!T(" 0"));
}
assertThrown!ConvException(to!bool(" true"));
alias NullType = typeof(null);
assertThrown!ConvException(to!NullType(" null"));
alias ARR = int[];
assertThrown!ConvException(to!ARR(" [1]"));
alias AA = int[int];
assertThrown!ConvException(to!AA(" [1:1]"));
}
/**
If the source type is implicitly convertible to the target type, $(D
to) simply performs the implicit conversion.
*/
private T toImpl(T, S)(S value)
if (isImplicitlyConvertible!(S, T) &&
!isEnumStrToStr!(S, T) && !isNullToStr!(S, T))
{
template isSignedInt(T)
{
enum isSignedInt = isIntegral!T && isSigned!T;
}
alias isUnsignedInt = isUnsigned;
// Conversion from integer to integer, and changing its sign
static if (isUnsignedInt!S && isSignedInt!T && S.sizeof == T.sizeof)
{ // unsigned to signed & same size
import std.exception : enforce;
enforce(value <= cast(S) T.max,
new ConvOverflowException("Conversion positive overflow"));
}
else static if (isSignedInt!S && isUnsignedInt!T)
{ // signed to unsigned
import std.exception : enforce;
enforce(0 <= value,
new ConvOverflowException("Conversion negative overflow"));
}
return value;
}
@safe pure nothrow unittest
{
enum E { a } // Issue 9523 - Allow identity enum conversion
auto e = to!E(E.a);
assert(e == E.a);
}
@safe pure nothrow unittest
{
int a = 42;
auto b = to!long(a);
assert(a == b);
}
// Tests for issue 6377
@safe pure unittest
{
import std.exception;
// Conversion between same size
static foreach (S; AliasSeq!(byte, short, int, long))
{{
alias U = Unsigned!S;
static foreach (Sint; AliasSeq!(S, const S, immutable S))
static foreach (Uint; AliasSeq!(U, const U, immutable U))
{{
// positive overflow
Uint un = Uint.max;
assertThrown!ConvOverflowException(to!Sint(un),
text(Sint.stringof, ' ', Uint.stringof, ' ', un));
// negative overflow
Sint sn = -1;
assertThrown!ConvOverflowException(to!Uint(sn),
text(Sint.stringof, ' ', Uint.stringof, ' ', un));
}}
}}
// Conversion between different size
static foreach (i, S1; AliasSeq!(byte, short, int, long))
static foreach ( S2; AliasSeq!(byte, short, int, long)[i+1..$])
{{
alias U1 = Unsigned!S1;
alias U2 = Unsigned!S2;
static assert(U1.sizeof < S2.sizeof);
// small unsigned to big signed
static foreach (Uint; AliasSeq!(U1, const U1, immutable U1))
static foreach (Sint; AliasSeq!(S2, const S2, immutable S2))
{{
Uint un = Uint.max;
assertNotThrown(to!Sint(un));
assert(to!Sint(un) == un);
}}
// big unsigned to small signed
static foreach (Uint; AliasSeq!(U2, const U2, immutable U2))
static foreach (Sint; AliasSeq!(S1, const S1, immutable S1))
{{
Uint un = Uint.max;
assertThrown(to!Sint(un));
}}
static assert(S1.sizeof < U2.sizeof);
// small signed to big unsigned
static foreach (Sint; AliasSeq!(S1, const S1, immutable S1))
static foreach (Uint; AliasSeq!(U2, const U2, immutable U2))
{{
Sint sn = -1;
assertThrown!ConvOverflowException(to!Uint(sn));
}}
// big signed to small unsigned
static foreach (Sint; AliasSeq!(S2, const S2, immutable S2))
static foreach (Uint; AliasSeq!(U1, const U1, immutable U1))
{{
Sint sn = -1;
assertThrown!ConvOverflowException(to!Uint(sn));
}}
}}
}
/*
Converting static arrays forwards to their dynamic counterparts.
*/
private T toImpl(T, S)(ref S s)
if (isStaticArray!S)
{
return toImpl!(T, typeof(s[0])[])(s);
}
@safe pure nothrow unittest
{
char[4] test = ['a', 'b', 'c', 'd'];
static assert(!isInputRange!(Unqual!(char[4])));
assert(to!string(test) == test);
}
/**
When source type supports member template function opCast, it is used.
*/
private T toImpl(T, S)(S value)
if (!isImplicitlyConvertible!(S, T) &&
is(typeof(S.init.opCast!T()) : T) &&
!isExactSomeString!T &&
!is(typeof(T(value))))
{
return value.opCast!T();
}
@safe pure unittest
{
static struct Test
{
struct T
{
this(S s) @safe pure { }
}
struct S
{
T opCast(U)() @safe pure { assert(false); }
}
}
cast(void) to!(Test.T)(Test.S());
// make sure std.conv.to is doing the same thing as initialization
Test.S s;
Test.T t = s;
}
@safe pure unittest
{
class B
{
T opCast(T)() { return 43; }
}
auto b = new B;
assert(to!int(b) == 43);
struct S
{
T opCast(T)() { return 43; }
}
auto s = S();
assert(to!int(s) == 43);
}
/**
When target type supports 'converting construction', it is used.
$(UL $(LI If target type is struct, `T(value)` is used.)
$(LI If target type is class, $(D new T(value)) is used.))
*/
private T toImpl(T, S)(S value)
if (!isImplicitlyConvertible!(S, T) &&
is(T == struct) && is(typeof(T(value))))
{
return T(value);
}
// Bugzilla 3961
@safe pure unittest
{
struct Int
{
int x;
}
Int i = to!Int(1);
static struct Int2
{
int x;
this(int x) @safe pure { this.x = x; }
}
Int2 i2 = to!Int2(1);
static struct Int3
{
int x;
static Int3 opCall(int x) @safe pure
{
Int3 i;
i.x = x;
return i;
}
}
Int3 i3 = to!Int3(1);
}
// Bugzilla 6808
@safe pure unittest
{
static struct FakeBigInt
{
this(string s) @safe pure {}
}
string s = "101";
auto i3 = to!FakeBigInt(s);
}
/// ditto
private T toImpl(T, S)(S value)
if (!isImplicitlyConvertible!(S, T) &&
is(T == class) && is(typeof(new T(value))))
{
return new T(value);
}
@safe pure unittest
{
static struct S
{
int x;
}
static class C
{
int x;
this(int x) @safe pure { this.x = x; }
}
static class B
{
int value;
this(S src) @safe pure { value = src.x; }
this(C src) @safe pure { value = src.x; }
}
S s = S(1);
auto b1 = to!B(s); // == new B(s)
assert(b1.value == 1);
C c = new C(2);
auto b2 = to!B(c); // == new B(c)
assert(b2.value == 2);
auto c2 = to!C(3); // == new C(3)
assert(c2.x == 3);
}
@safe pure unittest
{
struct S
{
class A
{
this(B b) @safe pure {}
}
class B : A
{
this() @safe pure { super(this); }
}
}
S.B b = new S.B();
S.A a = to!(S.A)(b); // == cast(S.A) b
// (do not run construction conversion like new S.A(b))
assert(b is a);
static class C : Object
{
this() @safe pure {}
this(Object o) @safe pure {}
}
Object oc = new C();
C a2 = to!C(oc); // == new C(a)
// Construction conversion overrides down-casting conversion
assert(a2 !is a); //
}
/**
Object-to-object conversions by dynamic casting throw exception when the source is
non-null and the target is null.
*/
private T toImpl(T, S)(S value)
if (!isImplicitlyConvertible!(S, T) &&
(is(S == class) || is(S == interface)) && !is(typeof(value.opCast!T()) : T) &&
(is(T == class) || is(T == interface)) && !is(typeof(new T(value))))
{
static if (is(T == immutable))
{
// immutable <- immutable
enum isModConvertible = is(S == immutable);
}
else static if (is(T == const))
{
static if (is(T == shared))
{
// shared const <- shared
// shared const <- shared const
// shared const <- immutable
enum isModConvertible = is(S == shared) || is(S == immutable);
}
else
{
// const <- mutable
// const <- immutable
enum isModConvertible = !is(S == shared);
}
}
else
{
static if (is(T == shared))
{
// shared <- shared mutable
enum isModConvertible = is(S == shared) && !is(S == const);
}
else
{
// (mutable) <- (mutable)
enum isModConvertible = is(Unqual!S == S);
}
}
static assert(isModConvertible, "Bad modifier conversion: "~S.stringof~" to "~T.stringof);
auto result = ()@trusted{ return cast(T) value; }();
if (!result && value)
{
throw new ConvException("Cannot convert object of static type "
~S.classinfo.name~" and dynamic type "~value.classinfo.name
~" to type "~T.classinfo.name);
}
return result;
}
// Unittest for 6288
@safe pure unittest
{
import std.exception;
alias Identity(T) = T;
alias toConst(T) = const T;
alias toShared(T) = shared T;
alias toSharedConst(T) = shared const T;
alias toImmutable(T) = immutable T;
template AddModifier(int n)
if (0 <= n && n < 5)
{
static if (n == 0) alias AddModifier = Identity;
else static if (n == 1) alias AddModifier = toConst;
else static if (n == 2) alias AddModifier = toShared;
else static if (n == 3) alias AddModifier = toSharedConst;
else static if (n == 4) alias AddModifier = toImmutable;
}
interface I {}
interface J {}
class A {}
class B : A {}
class C : B, I, J {}
class D : I {}
static foreach (m1; 0 .. 5) // enumerate modifiers
static foreach (m2; 0 .. 5) // ditto
{{
alias srcmod = AddModifier!m1;
alias tgtmod = AddModifier!m2;
// Compile time convertible equals to modifier convertible.
static if (isImplicitlyConvertible!(srcmod!Object, tgtmod!Object))
{
// Test runtime conversions: class to class, class to interface,
// interface to class, and interface to interface
// Check that the runtime conversion to succeed
srcmod!A ac = new srcmod!C();
srcmod!I ic = new srcmod!C();
assert(to!(tgtmod!C)(ac) !is null); // A(c) to C
assert(to!(tgtmod!I)(ac) !is null); // A(c) to I
assert(to!(tgtmod!C)(ic) !is null); // I(c) to C
assert(to!(tgtmod!J)(ic) !is null); // I(c) to J
// Check that the runtime conversion fails
srcmod!A ab = new srcmod!B();
srcmod!I id = new srcmod!D();
assertThrown(to!(tgtmod!C)(ab)); // A(b) to C
assertThrown(to!(tgtmod!I)(ab)); // A(b) to I
assertThrown(to!(tgtmod!C)(id)); // I(d) to C
assertThrown(to!(tgtmod!J)(id)); // I(d) to J
}
else
{
// Check that the conversion is rejected statically
static assert(!is(typeof(to!(tgtmod!C)(srcmod!A.init)))); // A to C
static assert(!is(typeof(to!(tgtmod!I)(srcmod!A.init)))); // A to I
static assert(!is(typeof(to!(tgtmod!C)(srcmod!I.init)))); // I to C
static assert(!is(typeof(to!(tgtmod!J)(srcmod!I.init)))); // I to J
}
}}
}
/**
Handles type _to string conversions
*/
private T toImpl(T, S)(S value)
if (!(isImplicitlyConvertible!(S, T) &&
!isEnumStrToStr!(S, T) && !isNullToStr!(S, T)) &&
!isInfinite!S && isExactSomeString!T)
{
static if (isExactSomeString!S && value[0].sizeof == ElementEncodingType!T.sizeof)
{
// string-to-string with incompatible qualifier conversion
static if (is(ElementEncodingType!T == immutable))
{
// conversion (mutable|const) -> immutable
return value.idup;
}
else
{
// conversion (immutable|const) -> mutable
return value.dup;
}
}
else static if (isExactSomeString!S)
{
import std.array : appender;
// other string-to-string
//Use Appender directly instead of toStr, which also uses a formatedWrite
auto w = appender!T();
w.put(value);
return w.data;
}
else static if (isIntegral!S && !is(S == enum))
{
// other integral-to-string conversions with default radix
return toImpl!(T, S)(value, 10);
}
else static if (is(S == void[]) || is(S == const(void)[]) || is(S == immutable(void)[]))
{
import core.stdc.string : memcpy;
import std.exception : enforce;
// Converting void array to string
alias Char = Unqual!(ElementEncodingType!T);
auto raw = cast(const(ubyte)[]) value;
enforce(raw.length % Char.sizeof == 0,
new ConvException("Alignment mismatch in converting a "
~ S.stringof ~ " to a "
~ T.stringof));
auto result = new Char[raw.length / Char.sizeof];
()@trusted{ memcpy(result.ptr, value.ptr, value.length); }();
return cast(T) result;
}
else static if (isPointer!S && isSomeChar!(PointerTarget!S))
{
// This is unsafe because we cannot guarantee that the pointer is null terminated.
return () @system {
static if (is(S : const(char)*))
import core.stdc.string : strlen;
else
size_t strlen(S s) nothrow
{
S p = s;
while (*p++) {}
return p-s-1;
}
return toImpl!T(value ? value[0 .. strlen(value)].dup : null);
}();
}
else static if (isSomeString!T && is(S == enum))
{
static if (isSwitchable!(OriginalType!S) && EnumMembers!S.length <= 50)
{
switch (value)
{
foreach (member; NoDuplicates!(EnumMembers!S))
{
case member:
return to!T(enumRep!(immutable(T), S, member));
}
default:
}
}
else
{
foreach (member; EnumMembers!S)
{
if (value == member)
return to!T(enumRep!(immutable(T), S, member));
}
}
import std.array : appender;
import std.format : FormatSpec, formatValue;
//Default case, delegate to format
//Note: we don't call toStr directly, to avoid duplicate work.
auto app = appender!T();
app.put("cast(" ~ S.stringof ~ ")");
FormatSpec!char f;
formatValue(app, cast(OriginalType!S) value, f);
return app.data;
}
else
{
// other non-string values runs formatting
return toStr!T(value);
}
}
// Bugzilla 14042
@system unittest
{
immutable(char)* ptr = "hello".ptr;
auto result = ptr.to!(char[]);
}
// Bugzilla 8384
@system unittest
{
void test1(T)(T lp, string cmp)
{
static foreach (e; AliasSeq!(char, wchar, dchar))
{
test2!(e[])(lp, cmp);
test2!(const(e)[])(lp, cmp);
test2!(immutable(e)[])(lp, cmp);
}
}
void test2(D, S)(S lp, string cmp)
{
assert(to!string(to!D(lp)) == cmp);
}
static foreach (e; AliasSeq!("Hello, world!", "Hello, world!"w, "Hello, world!"d))
{
test1(e, "Hello, world!");
test1(e.ptr, "Hello, world!");
}
static foreach (e; AliasSeq!("", ""w, ""d))
{
test1(e, "");
test1(e.ptr, "");
}
}
/*
To string conversion for non copy-able structs
*/
private T toImpl(T, S)(ref S value)
if (!(isImplicitlyConvertible!(S, T) &&
!isEnumStrToStr!(S, T) && !isNullToStr!(S, T)) &&
!isInfinite!S && isExactSomeString!T && !isCopyable!S)
{
import std.array : appender;
import std.format : FormatSpec, formatValue;
auto w = appender!T();
FormatSpec!(ElementEncodingType!T) f;
formatValue(w, value, f);
return w.data;
}
// Bugzilla 16108
@system unittest
{
static struct A
{
int val;
bool flag;
string toString() { return text(val, ":", flag); }
@disable this(this);
}
auto a = A();
assert(to!string(a) == "0:false");
static struct B
{
int val;
bool flag;
@disable this(this);
}
auto b = B();
assert(to!string(b) == "B(0, false)");
}
/*
Check whether type `T` can be used in a switch statement.
This is useful for compile-time generation of switch case statements.
*/
private template isSwitchable(E)
{
enum bool isSwitchable = is(typeof({
switch (E.init) { default: }
}));
}
//
@safe unittest
{
static assert(isSwitchable!int);
static assert(!isSwitchable!double);
static assert(!isSwitchable!real);
}
//Static representation of the index I of the enum S,
//In representation T.
//T must be an immutable string (avoids un-necessary initializations).
private template enumRep(T, S, S value)
if (is (T == immutable) && isExactSomeString!T && is(S == enum))
{
static T enumRep = toStr!T(value);
}
@safe pure unittest
{
import std.exception;
void dg()
{
// string to string conversion
alias Chars = AliasSeq!(char, wchar, dchar);
foreach (LhsC; Chars)
{
alias LhStrings = AliasSeq!(LhsC[], const(LhsC)[], immutable(LhsC)[]);
foreach (Lhs; LhStrings)
{
foreach (RhsC; Chars)
{
alias RhStrings = AliasSeq!(RhsC[], const(RhsC)[], immutable(RhsC)[]);
foreach (Rhs; RhStrings)
{
Lhs s1 = to!Lhs("wyda");
Rhs s2 = to!Rhs(s1);
//writeln(Lhs.stringof, " -> ", Rhs.stringof);
assert(s1 == to!Lhs(s2));
}
}
}
}
foreach (T; Chars)
{
foreach (U; Chars)
{
T[] s1 = to!(T[])("Hello, world!");
auto s2 = to!(U[])(s1);
assert(s1 == to!(T[])(s2));
auto s3 = to!(const(U)[])(s1);
assert(s1 == to!(T[])(s3));
auto s4 = to!(immutable(U)[])(s1);
assert(s1 == to!(T[])(s4));
}
}
}
dg();
assertCTFEable!dg;
}
@safe pure unittest
{
// Conversion representing bool value with string
bool b;
assert(to!string(b) == "false");
b = true;
assert(to!string(b) == "true");
}
@safe pure unittest
{
// Conversion representing character value with string
alias AllChars =
AliasSeq!( char, const( char), immutable( char),
wchar, const(wchar), immutable(wchar),
dchar, const(dchar), immutable(dchar));
foreach (Char1; AllChars)
{
foreach (Char2; AllChars)
{
Char1 c = 'a';
assert(to!(Char2[])(c)[0] == c);
}
uint x = 4;
assert(to!(Char1[])(x) == "4");
}
string s = "foo";
string s2;
foreach (char c; s)
{
s2 ~= to!string(c);
}
assert(s2 == "foo");
}
@safe pure nothrow unittest
{
import std.exception;
// Conversion representing integer values with string
static foreach (Int; AliasSeq!(ubyte, ushort, uint, ulong))
{
assert(to!string(Int(0)) == "0");
assert(to!string(Int(9)) == "9");
assert(to!string(Int(123)) == "123");
}
static foreach (Int; AliasSeq!(byte, short, int, long))
{
assert(to!string(Int(0)) == "0");
assert(to!string(Int(9)) == "9");
assert(to!string(Int(123)) == "123");
assert(to!string(Int(-0)) == "0");
assert(to!string(Int(-9)) == "-9");
assert(to!string(Int(-123)) == "-123");
assert(to!string(const(Int)(6)) == "6");
}
assert(wtext(int.max) == "2147483647"w);
assert(wtext(int.min) == "-2147483648"w);
assert(to!string(0L) == "0");
assertCTFEable!(
{
assert(to!string(1uL << 62) == "4611686018427387904");
assert(to!string(0x100000000) == "4294967296");
assert(to!string(-138L) == "-138");
});
}
@safe unittest // sprintf issue
{
double[2] a = [ 1.5, 2.5 ];
assert(to!string(a) == "[1.5, 2.5]");
}
@system unittest
{
// Conversion representing class object with string
class A
{
override string toString() const { return "an A"; }
}
A a;
assert(to!string(a) == "null");
a = new A;
assert(to!string(a) == "an A");
// Bug 7660
class C { override string toString() const { return "C"; } }
struct S { C c; alias c this; }
S s; s.c = new C();
assert(to!string(s) == "C");
}
@safe unittest
{
// Conversion representing struct object with string
struct S1
{
string toString() { return "wyda"; }
}
assert(to!string(S1()) == "wyda");
struct S2
{
int a = 42;
float b = 43.5;
}
S2 s2;
assert(to!string(s2) == "S2(42, 43.5)");
// Test for issue 8080
struct S8080
{
short[4] data;
alias data this;
string toString() { return "<S>"; }
}
S8080 s8080;
assert(to!string(s8080) == "<S>");
}
@safe unittest
{
// Conversion representing enum value with string
enum EB : bool { a = true }
enum EU : uint { a = 0, b = 1, c = 2 } // base type is unsigned
enum EI : int { a = -1, b = 0, c = 1 } // base type is signed (bug 7909)
enum EF : real { a = 1.414, b = 1.732, c = 2.236 }
enum EC : char { a = 'x', b = 'y' }
enum ES : string { a = "aaa", b = "bbb" }
static foreach (E; AliasSeq!(EB, EU, EI, EF, EC, ES))
{
assert(to! string(E.a) == "a"c);
assert(to!wstring(E.a) == "a"w);
assert(to!dstring(E.a) == "a"d);
}
// Test an value not corresponding to an enum member.
auto o = cast(EU) 5;
assert(to! string(o) == "cast(EU)5"c);
assert(to!wstring(o) == "cast(EU)5"w);
assert(to!dstring(o) == "cast(EU)5"d);
}
@safe unittest
{
enum E
{
foo,
doo = foo, // check duplicate switch statements
bar,
}
//Test regression 12494
assert(to!string(E.foo) == "foo");
assert(to!string(E.doo) == "foo");
assert(to!string(E.bar) == "bar");
static foreach (S; AliasSeq!(string, wstring, dstring, const(char[]), const(wchar[]), const(dchar[])))
{{
auto s1 = to!S(E.foo);
auto s2 = to!S(E.foo);
assert(s1 == s2);
// ensure we don't allocate when it's unnecessary
assert(s1 is s2);
}}
static foreach (S; AliasSeq!(char[], wchar[], dchar[]))
{{
auto s1 = to!S(E.foo);
auto s2 = to!S(E.foo);
assert(s1 == s2);
// ensure each mutable array is unique
assert(s1 !is s2);
}}
}
// ditto
@trusted pure private T toImpl(T, S)(S value, uint radix, LetterCase letterCase = LetterCase.upper)
if (isIntegral!S &&
isExactSomeString!T)
in
{
assert(radix >= 2 && radix <= 36);
}
do
{
alias EEType = Unqual!(ElementEncodingType!T);
T toStringRadixConvert(size_t bufLen)(uint runtimeRadix = 0)
{
Unsigned!(Unqual!S) div = void, mValue = unsigned(value);
size_t index = bufLen;
EEType[bufLen] buffer = void;
char baseChar = letterCase == LetterCase.lower ? 'a' : 'A';
char mod = void;
do
{
div = cast(S)(mValue / runtimeRadix );
mod = cast(ubyte)(mValue % runtimeRadix);
mod += mod < 10 ? '0' : baseChar - 10;
buffer[--index] = cast(char) mod;
mValue = div;
} while (mValue);
return cast(T) buffer[index .. $].dup;
}
import std.array : array;
switch (radix)
{
case 10:
// The (value+0) is so integral promotions happen to the type
return toChars!(10, EEType)(value + 0).array;
case 16:
// The unsigned(unsigned(value)+0) is so unsigned integral promotions happen to the type
if (letterCase == letterCase.upper)
return toChars!(16, EEType, LetterCase.upper)(unsigned(unsigned(value) + 0)).array;
else
return toChars!(16, EEType, LetterCase.lower)(unsigned(unsigned(value) + 0)).array;
case 2:
return toChars!(2, EEType)(unsigned(unsigned(value) + 0)).array;
case 8:
return toChars!(8, EEType)(unsigned(unsigned(value) + 0)).array;
default:
return toStringRadixConvert!(S.sizeof * 6)(radix);
}
}
@safe pure nothrow unittest
{
static foreach (Int; AliasSeq!(uint, ulong))
{
assert(to!string(Int(16), 16) == "10");
assert(to!string(Int(15), 2u) == "1111");
assert(to!string(Int(1), 2u) == "1");
assert(to!string(Int(0x1234AF), 16u) == "1234AF");
assert(to!string(Int(0x1234BCD), 16u, LetterCase.upper) == "1234BCD");
assert(to!string(Int(0x1234AF), 16u, LetterCase.lower) == "1234af");
}
static foreach (Int; AliasSeq!(int, long))
{
assert(to!string(Int(-10), 10u) == "-10");
}
assert(to!string(byte(-10), 16) == "F6");
assert(to!string(long.min) == "-9223372036854775808");
assert(to!string(long.max) == "9223372036854775807");
}
/**
Narrowing numeric-numeric conversions throw when the value does not
fit in the narrower type.
*/
private T toImpl(T, S)(S value)
if (!isImplicitlyConvertible!(S, T) &&
(isNumeric!S || isSomeChar!S || isBoolean!S) &&
(isNumeric!T || isSomeChar!T || isBoolean!T) && !is(T == enum))
{
enum sSmallest = mostNegative!S;
enum tSmallest = mostNegative!T;
static if (sSmallest < 0)
{
// possible underflow converting from a signed
static if (tSmallest == 0)
{
immutable good = value >= 0;
}
else
{
static assert(tSmallest < 0);
immutable good = value >= tSmallest;
}
if (!good)
throw new ConvOverflowException("Conversion negative overflow");
}
static if (S.max > T.max)
{
// possible overflow
if (value > T.max)
throw new ConvOverflowException("Conversion positive overflow");
}
return (ref value)@trusted{ return cast(T) value; }(value);
}
@safe pure unittest
{
import std.exception;
dchar a = ' ';
assert(to!char(a) == ' ');
a = 300;
assert(collectException(to!char(a)));
dchar from0 = 'A';
char to0 = to!char(from0);
wchar from1 = 'A';
char to1 = to!char(from1);
char from2 = 'A';
char to2 = to!char(from2);
char from3 = 'A';
wchar to3 = to!wchar(from3);
char from4 = 'A';
dchar to4 = to!dchar(from4);
}
@safe unittest
{
import std.exception;
// Narrowing conversions from enum -> integral should be allowed, but they
// should throw at runtime if the enum value doesn't fit in the target
// type.
enum E1 : ulong { A = 1, B = 1UL << 48, C = 0 }
assert(to!int(E1.A) == 1);
assert(to!bool(E1.A) == true);
assertThrown!ConvOverflowException(to!int(E1.B)); // E1.B overflows int
assertThrown!ConvOverflowException(to!bool(E1.B)); // E1.B overflows bool
assert(to!bool(E1.C) == false);
enum E2 : long { A = -1L << 48, B = -1 << 31, C = 1 << 31 }
assertThrown!ConvOverflowException(to!int(E2.A)); // E2.A overflows int
assertThrown!ConvOverflowException(to!uint(E2.B)); // E2.B overflows uint
assert(to!int(E2.B) == -1 << 31); // but does not overflow int
assert(to!int(E2.C) == 1 << 31); // E2.C does not overflow int
enum E3 : int { A = -1, B = 1, C = 255, D = 0 }
assertThrown!ConvOverflowException(to!ubyte(E3.A));
assertThrown!ConvOverflowException(to!bool(E3.A));
assert(to!byte(E3.A) == -1);
assert(to!byte(E3.B) == 1);
assert(to!ubyte(E3.C) == 255);
assert(to!bool(E3.B) == true);
assertThrown!ConvOverflowException(to!byte(E3.C));
assertThrown!ConvOverflowException(to!bool(E3.C));
assert(to!bool(E3.D) == false);
}
/**
Array-to-array conversion (except when target is a string type)
converts each element in turn by using `to`.
*/
private T toImpl(T, S)(S value)
if (!isImplicitlyConvertible!(S, T) &&
!isSomeString!S && isDynamicArray!S &&
!isExactSomeString!T && isArray!T)
{
alias E = typeof(T.init[0]);
static if (isStaticArray!T)
{
import std.exception : enforce;
auto res = to!(E[])(value);
enforce!ConvException(T.length == res.length,
convFormat("Length mismatch when converting to static array: %s vs %s", T.length, res.length));
return res[0 .. T.length];
}
else
{
import std.array : appender;
auto w = appender!(E[])();
w.reserve(value.length);
foreach (ref e; value)
{
w.put(to!E(e));
}
return w.data;
}
}
@safe pure unittest
{
import std.exception;
// array to array conversions
uint[] a = [ 1u, 2, 3 ];
auto b = to!(float[])(a);
assert(b == [ 1.0f, 2, 3 ]);
immutable(int)[3] d = [ 1, 2, 3 ];
b = to!(float[])(d);
assert(b == [ 1.0f, 2, 3 ]);
uint[][] e = [ a, a ];
auto f = to!(float[][])(e);
assert(f[0] == b && f[1] == b);
// Test for bug 8264
struct Wrap
{
string wrap;
alias wrap this;
}
Wrap[] warr = to!(Wrap[])(["foo", "bar"]); // should work
// Issue 12633
import std.conv : to;
const s2 = ["10", "20"];
immutable int[2] a3 = s2.to!(int[2]);
assert(a3 == [10, 20]);
// verify length mismatches are caught
immutable s4 = [1, 2, 3, 4];
foreach (i; [1, 4])
{
auto ex = collectException(s4[0 .. i].to!(int[2]));
assert(ex && ex.msg == "Length mismatch when converting to static array: 2 vs " ~ [cast(char)(i + '0')],
ex ? ex.msg : "Exception was not thrown!");
}
}
@safe unittest
{
auto b = [ 1.0f, 2, 3 ];
auto c = to!(string[])(b);
assert(c[0] == "1" && c[1] == "2" && c[2] == "3");
}
/**
Associative array to associative array conversion converts each key
and each value in turn.
*/
private T toImpl(T, S)(S value)
if (!isImplicitlyConvertible!(S, T) && isAssociativeArray!S &&
isAssociativeArray!T && !is(T == enum))
{
/* This code is potentially unsafe.
*/
alias K2 = KeyType!T;
alias V2 = ValueType!T;
// While we are "building" the AA, we need to unqualify its values, and only re-qualify at the end
Unqual!V2[K2] result;
foreach (k1, v1; value)
{
// Cast values temporarily to Unqual!V2 to store them to result variable
result[to!K2(k1)] = cast(Unqual!V2) to!V2(v1);
}
// Cast back to original type
return cast(T) result;
}
@safe unittest
{
// hash to hash conversions
int[string] a;
a["0"] = 1;
a["1"] = 2;
auto b = to!(double[dstring])(a);
assert(b["0"d] == 1 && b["1"d] == 2);
}
@safe unittest // Bugzilla 8705, from doc
{
import std.exception;
int[string][double[int[]]] a;
auto b = to!(short[wstring][string[double[]]])(a);
a = [null:["hello":int.max]];
assertThrown!ConvOverflowException(to!(short[wstring][string[double[]]])(a));
}
@system unittest // Extra cases for AA with qualifiers conversion
{
int[][int[]] a;// = [[], []];
auto b = to!(immutable(short[])[immutable short[]])(a);
double[dstring][int[long[]]] c;
auto d = to!(immutable(short[immutable wstring])[immutable string[double[]]])(c);
}
@safe unittest
{
import std.algorithm.comparison : equal;
import std.array : byPair;
int[int] a;
assert(a.to!(int[int]) == a);
assert(a.to!(const(int)[int]).byPair.equal(a.byPair));
}
version (unittest)
private void testIntegralToFloating(Integral, Floating)()
{
Integral a = 42;
auto b = to!Floating(a);
assert(a == b);
assert(a == to!Integral(b));
}
version (unittest)
private void testFloatingToIntegral(Floating, Integral)()
{
bool convFails(Source, Target, E)(Source src)
{
try
cast(void) to!Target(src);
catch (E)
return true;
return false;
}
// convert some value
Floating a = 4.2e1;
auto b = to!Integral(a);
assert(is(typeof(b) == Integral) && b == 42);
// convert some negative value (if applicable)
a = -4.2e1;
static if (Integral.min < 0)
{
b = to!Integral(a);
assert(is(typeof(b) == Integral) && b == -42);
}
else
{
// no go for unsigned types
assert(convFails!(Floating, Integral, ConvOverflowException)(a));
}
// convert to the smallest integral value
a = 0.0 + Integral.min;
static if (Integral.min < 0)
{
a = -a; // -Integral.min not representable as an Integral
assert(convFails!(Floating, Integral, ConvOverflowException)(a)
|| Floating.sizeof <= Integral.sizeof);
}
a = 0.0 + Integral.min;
assert(to!Integral(a) == Integral.min);
--a; // no more representable as an Integral
assert(convFails!(Floating, Integral, ConvOverflowException)(a)
|| Floating.sizeof <= Integral.sizeof);
a = 0.0 + Integral.max;
assert(to!Integral(a) == Integral.max || Floating.sizeof <= Integral.sizeof);
++a; // no more representable as an Integral
assert(convFails!(Floating, Integral, ConvOverflowException)(a)
|| Floating.sizeof <= Integral.sizeof);
// convert a value with a fractional part
a = 3.14;
assert(to!Integral(a) == 3);
a = 3.99;
assert(to!Integral(a) == 3);
static if (Integral.min < 0)
{
a = -3.14;
assert(to!Integral(a) == -3);
a = -3.99;
assert(to!Integral(a) == -3);
}
}
@safe pure unittest
{
alias AllInts = AliasSeq!(byte, ubyte, short, ushort, int, uint, long, ulong);
alias AllFloats = AliasSeq!(float, double, real);
alias AllNumerics = AliasSeq!(AllInts, AllFloats);
// test with same type
{
foreach (T; AllNumerics)
{
T a = 42;
auto b = to!T(a);
assert(is(typeof(a) == typeof(b)) && a == b);
}
}
// test that floating-point numbers convert properly to largest ints
// see http://oregonstate.edu/~peterseb/mth351/docs/351s2001_fp80x87.html
// look for "largest fp integer with a predecessor"
{
// float
int a = 16_777_215; // 2^24 - 1
assert(to!int(to!float(a)) == a);
assert(to!int(to!float(-a)) == -a);
// double
long b = 9_007_199_254_740_991; // 2^53 - 1
assert(to!long(to!double(b)) == b);
assert(to!long(to!double(-b)) == -b);
// real
static if (real.mant_dig >= 64)
{
ulong c = 18_446_744_073_709_551_615UL; // 2^64 - 1
assert(to!ulong(to!real(c)) == c);
}
}
// test conversions floating => integral
{
// AllInts[0 .. $ - 1] should be AllInts
// @@@ BUG IN COMPILER @@@
foreach (Integral; AllInts[0 .. $ - 1])
{
foreach (Floating; AllFloats)
{
testFloatingToIntegral!(Floating, Integral)();
}
}
}
// test conversion integral => floating
{
foreach (Integral; AllInts[0 .. $ - 1])
{
foreach (Floating; AllFloats)
{
testIntegralToFloating!(Integral, Floating)();
}
}
}
// test parsing
{
foreach (T; AllNumerics)
{
// from type immutable(char)[2]
auto a = to!T("42");
assert(a == 42);
// from type char[]
char[] s1 = "42".dup;
a = to!T(s1);
assert(a == 42);
// from type char[2]
char[2] s2;
s2[] = "42";
a = to!T(s2);
assert(a == 42);
// from type immutable(wchar)[2]
a = to!T("42"w);
assert(a == 42);
}
}
}
@safe unittest
{
alias AllInts = AliasSeq!(byte, ubyte, short, ushort, int, uint, long, ulong);
alias AllFloats = AliasSeq!(float, double, real);
alias AllNumerics = AliasSeq!(AllInts, AllFloats);
// test conversions to string
{
foreach (T; AllNumerics)
{
T a = 42;
assert(to!string(a) == "42");
assert(to!wstring(a) == "42"w);
assert(to!dstring(a) == "42"d);
// array test
T[] b = new T[2];
b[0] = 42;
b[1] = 33;
assert(to!string(b) == "[42, 33]");
}
}
// test array to string conversion
foreach (T ; AllNumerics)
{
auto a = [to!T(1), 2, 3];
assert(to!string(a) == "[1, 2, 3]");
}
// test enum to int conversion
enum Testing { Test1, Test2 }
Testing t;
auto a = to!string(t);
assert(a == "Test1");
}
/**
String, or string-like input range, to non-string conversion runs parsing.
$(UL
$(LI When the source is a wide string, it is first converted to a narrow
string and then parsed.)
$(LI When the source is a narrow string, normal text parsing occurs.))
*/
private T toImpl(T, S)(S value)
if (isInputRange!S && isSomeChar!(ElementEncodingType!S) &&
!isExactSomeString!T && is(typeof(parse!T(value))))
{
scope(success)
{
if (!value.empty)
{
throw convError!(S, T)(value);
}
}
return parse!T(value);
}
/// ditto
private T toImpl(T, S)(S value, uint radix)
if (isInputRange!S && !isInfinite!S && isSomeChar!(ElementEncodingType!S) &&
isIntegral!T && is(typeof(parse!T(value, radix))))
{
scope(success)
{
if (!value.empty)
{
throw convError!(S, T)(value);
}
}
return parse!T(value, radix);
}
@safe pure unittest
{
// Issue 6668 - ensure no collaterals thrown
try { to!uint("-1"); }
catch (ConvException e) { assert(e.next is null); }
}
@safe pure unittest
{
static foreach (Str; AliasSeq!(string, wstring, dstring))
{{
Str a = "123";
assert(to!int(a) == 123);
assert(to!double(a) == 123);
}}
// 6255
auto n = to!int("FF", 16);
assert(n == 255);
}
// bugzilla 15800
@safe unittest
{
import std.utf : byCodeUnit, byChar, byWchar, byDchar;
assert(to!int(byCodeUnit("10")) == 10);
assert(to!int(byCodeUnit("10"), 10) == 10);
assert(to!int(byCodeUnit("10"w)) == 10);
assert(to!int(byCodeUnit("10"w), 10) == 10);
assert(to!int(byChar("10")) == 10);
assert(to!int(byChar("10"), 10) == 10);
assert(to!int(byWchar("10")) == 10);
assert(to!int(byWchar("10"), 10) == 10);
assert(to!int(byDchar("10")) == 10);
assert(to!int(byDchar("10"), 10) == 10);
}
/**
String, or string-like input range, to char type not directly
supported by parse parses the first dchar of the source.
Returns: the first code point of the input range, converted
to type T.
Throws: ConvException if the input range contains more than
a single code point, or if the code point does not
fit into a code unit of type T.
*/
private T toImpl(T, S)(S value)
if (isSomeChar!T && !is(typeof(parse!T(value))) &&
is(typeof(parse!dchar(value))))
{
import std.utf : encode;
immutable dchar codepoint = parse!dchar(value);
if (!value.empty)
throw new ConvException(convFormat("Cannot convert \"%s\" to %s because it " ~
"contains more than a single code point.",
value, T.stringof));
T[dchar.sizeof / T.sizeof] decodedCodepoint;
if (encode(decodedCodepoint, codepoint) != 1)
throw new ConvException(convFormat("First code point '%s' of \"%s\" does not fit into a " ~
"single %s code unit", codepoint, value, T.stringof));
return decodedCodepoint[0];
}
@safe pure unittest
{
import std.exception : assertThrown;
assert(toImpl!wchar("a") == 'a');
assert(toImpl!char("a"d) == 'a');
assert(toImpl!char("a"w) == 'a');
assert(toImpl!wchar("a"d) == 'a');
assertThrown!ConvException(toImpl!wchar("ab"));
assertThrown!ConvException(toImpl!char("😃"d));
}
/**
Convert a value that is implicitly convertible to the enum base type
into an Enum value. If the value does not match any enum member values
a ConvException is thrown.
Enums with floating-point or string base types are not supported.
*/
private T toImpl(T, S)(S value)
if (is(T == enum) && !is(S == enum)
&& is(typeof(value == OriginalType!T.init))
&& !isFloatingPoint!(OriginalType!T) && !isSomeString!(OriginalType!T))
{
foreach (Member; EnumMembers!T)
{
if (Member == value)
return Member;
}
throw new ConvException(convFormat("Value (%s) does not match any member value of enum '%s'", value, T.stringof));
}
@safe pure unittest
{
import std.exception;
enum En8143 : int { A = 10, B = 20, C = 30, D = 20 }
enum En8143[][] m3 = to!(En8143[][])([[10, 30], [30, 10]]);
static assert(m3 == [[En8143.A, En8143.C], [En8143.C, En8143.A]]);
En8143 en1 = to!En8143(10);
assert(en1 == En8143.A);
assertThrown!ConvException(to!En8143(5)); // matches none
En8143[][] m1 = to!(En8143[][])([[10, 30], [30, 10]]);
assert(m1 == [[En8143.A, En8143.C], [En8143.C, En8143.A]]);
}
/***************************************************************
Rounded conversion from floating point to integral.
Rounded conversions do not work with non-integral target types.
*/
template roundTo(Target)
{
Target roundTo(Source)(Source value)
{
import std.math : trunc;
static assert(isFloatingPoint!Source);
static assert(isIntegral!Target);
return to!Target(trunc(value + (value < 0 ? -0.5L : 0.5L)));
}
}
///
@safe unittest
{
assert(roundTo!int(3.14) == 3);
assert(roundTo!int(3.49) == 3);
assert(roundTo!int(3.5) == 4);
assert(roundTo!int(3.999) == 4);
assert(roundTo!int(-3.14) == -3);
assert(roundTo!int(-3.49) == -3);
assert(roundTo!int(-3.5) == -4);
assert(roundTo!int(-3.999) == -4);
assert(roundTo!(const int)(to!(const double)(-3.999)) == -4);
}
@safe unittest
{
import std.exception;
// boundary values
static foreach (Int; AliasSeq!(byte, ubyte, short, ushort, int, uint))
{
assert(roundTo!Int(Int.min - 0.4L) == Int.min);
assert(roundTo!Int(Int.max + 0.4L) == Int.max);
assertThrown!ConvOverflowException(roundTo!Int(Int.min - 0.5L));
assertThrown!ConvOverflowException(roundTo!Int(Int.max + 0.5L));
}
}
/**
The `parse` family of functions works quite like the `to`
family, except that:
$(OL
$(LI It only works with character ranges as input.)
$(LI It takes the input by reference. (This means that rvalues - such
as string literals - are not accepted: use `to` instead.))
$(LI It advances the input to the position following the conversion.)
$(LI It does not throw if it could not convert the entire input.))
This overload converts a character input range to a `bool`.
Params:
Target = the type to convert to
source = the lvalue of an $(REF_ALTTEXT input range, isInputRange, std,range,primitives)
Returns:
A `bool`
Throws:
A $(LREF ConvException) if the range does not represent a `bool`.
Note:
All character input range conversions using $(LREF to) are forwarded
to `parse` and do not require lvalues.
*/
Target parse(Target, Source)(ref Source source)
if (isInputRange!Source &&
isSomeChar!(ElementType!Source) &&
is(Unqual!Target == bool))
{
import std.ascii : toLower;
static if (isNarrowString!Source)
{
import std.string : representation;
auto s = source.representation;
}
else
{
alias s = source;
}
if (!s.empty)
{
auto c1 = toLower(s.front);
bool result = c1 == 't';
if (result || c1 == 'f')
{
s.popFront();
foreach (c; result ? "rue" : "alse")
{
if (s.empty || toLower(s.front) != c)
goto Lerr;
s.popFront();
}
static if (isNarrowString!Source)
source = cast(Source) s;
return result;
}
}
Lerr:
throw parseError("bool should be case-insensitive 'true' or 'false'");
}
///
@safe unittest
{
auto s = "true";
bool b = parse!bool(s);
assert(b);
}
@safe unittest
{
import std.algorithm.comparison : equal;
import std.exception;
struct InputString
{
string _s;
@property auto front() { return _s.front; }
@property bool empty() { return _s.empty; }
void popFront() { _s.popFront(); }
}
auto s = InputString("trueFALSETrueFalsetRUEfALSE");
assert(parse!bool(s) == true);
assert(s.equal("FALSETrueFalsetRUEfALSE"));
assert(parse!bool(s) == false);
assert(s.equal("TrueFalsetRUEfALSE"));
assert(parse!bool(s) == true);
assert(s.equal("FalsetRUEfALSE"));
assert(parse!bool(s) == false);
assert(s.equal("tRUEfALSE"));
assert(parse!bool(s) == true);
assert(s.equal("fALSE"));
assert(parse!bool(s) == false);
assert(s.empty);
foreach (ss; ["tfalse", "ftrue", "t", "f", "tru", "fals", ""])
{
s = InputString(ss);
assertThrown!ConvException(parse!bool(s));
}
}
/**
Parses a character $(REF_ALTTEXT input range, isInputRange, std,range,primitives)
to an integral value.
Params:
Target = the integral type to convert to
s = the lvalue of an input range
Returns:
A number of type `Target`
Throws:
A $(LREF ConvException) If an overflow occurred during conversion or
if no character of the input was meaningfully converted.
*/
Target parse(Target, Source)(ref Source s)
if (isSomeChar!(ElementType!Source) &&
isIntegral!Target && !is(Target == enum))
{
static if (Target.sizeof < int.sizeof)
{
// smaller types are handled like integers
auto v = .parse!(Select!(Target.min < 0, int, uint))(s);
auto result = ()@trusted{ return cast(Target) v; }();
if (result == v)
return result;
throw new ConvOverflowException("Overflow in integral conversion");
}
else
{
// int or larger types
static if (Target.min < 0)
bool sign = false;
else
enum bool sign = false;
enum char maxLastDigit = Target.min < 0 ? 7 : 5;
uint c;
static if (isNarrowString!Source)
{
import std.string : representation;
auto source = s.representation;
}
else
{
alias source = s;
}
if (source.empty)
goto Lerr;
c = source.front;
static if (Target.min < 0)
{
switch (c)
{
case '-':
sign = true;
goto case '+';
case '+':
source.popFront();
if (source.empty)
goto Lerr;
c = source.front;
break;
default:
break;
}
}
c -= '0';
if (c <= 9)
{
Target v = cast(Target) c;
source.popFront();
while (!source.empty)
{
c = cast(typeof(c)) (source.front - '0');
if (c > 9)
break;
if (v >= 0 && (v < Target.max/10 ||
(v == Target.max/10 && c <= maxLastDigit + sign)))
{
// Note: `v` can become negative here in case of parsing
// the most negative value:
v = cast(Target) (v * 10 + c);
source.popFront();
}
else
throw new ConvOverflowException("Overflow in integral conversion");
}
if (sign)
v = -v;
static if (isNarrowString!Source)
s = cast(Source) source;
return v;
}
Lerr:
static if (isNarrowString!Source)
throw convError!(Source, Target)(cast(Source) source);
else
throw convError!(Source, Target)(source);
}
}
///
@safe pure unittest
{
string s = "123";
auto a = parse!int(s);
assert(a == 123);
// parse only accepts lvalues
static assert(!__traits(compiles, parse!int("123")));
}
///
@safe pure unittest
{
import std.string : tr;
string test = "123 \t 76.14";
auto a = parse!uint(test);
assert(a == 123);
assert(test == " \t 76.14"); // parse bumps string
test = tr(test, " \t\n\r", "", "d"); // skip ws
assert(test == "76.14");
auto b = parse!double(test);
assert(b == 76.14);
assert(test == "");
}
@safe pure unittest
{
static foreach (Int; AliasSeq!(byte, ubyte, short, ushort, int, uint, long, ulong))
{
{
assert(to!Int("0") == 0);
static if (isSigned!Int)
{
assert(to!Int("+0") == 0);
assert(to!Int("-0") == 0);
}
}
static if (Int.sizeof >= byte.sizeof)
{
assert(to!Int("6") == 6);
assert(to!Int("23") == 23);
assert(to!Int("68") == 68);
assert(to!Int("127") == 0x7F);
static if (isUnsigned!Int)
{
assert(to!Int("255") == 0xFF);
}
static if (isSigned!Int)
{
assert(to!Int("+6") == 6);
assert(to!Int("+23") == 23);
assert(to!Int("+68") == 68);
assert(to!Int("+127") == 0x7F);
assert(to!Int("-6") == -6);
assert(to!Int("-23") == -23);
assert(to!Int("-68") == -68);
assert(to!Int("-128") == -128);
}
}
static if (Int.sizeof >= short.sizeof)
{
assert(to!Int("468") == 468);
assert(to!Int("32767") == 0x7FFF);
static if (isUnsigned!Int)
{
assert(to!Int("65535") == 0xFFFF);
}
static if (isSigned!Int)
{
assert(to!Int("+468") == 468);
assert(to!Int("+32767") == 0x7FFF);
assert(to!Int("-468") == -468);
assert(to!Int("-32768") == -32768);
}
}
static if (Int.sizeof >= int.sizeof)
{
assert(to!Int("2147483647") == 0x7FFFFFFF);
static if (isUnsigned!Int)
{
assert(to!Int("4294967295") == 0xFFFFFFFF);
}
static if (isSigned!Int)
{
assert(to!Int("+2147483647") == 0x7FFFFFFF);
assert(to!Int("-2147483648") == -2147483648);
}
}
static if (Int.sizeof >= long.sizeof)
{
assert(to!Int("9223372036854775807") == 0x7FFFFFFFFFFFFFFF);
static if (isUnsigned!Int)
{
assert(to!Int("18446744073709551615") == 0xFFFFFFFFFFFFFFFF);
}
static if (isSigned!Int)
{
assert(to!Int("+9223372036854775807") == 0x7FFFFFFFFFFFFFFF);
assert(to!Int("-9223372036854775808") == 0x8000000000000000);
}
}
}
}
@safe pure unittest
{
import std.exception;
immutable string[] errors =
[
"",
"-",
"+",
"-+",
" ",
" 0",
"0 ",
"- 0",
"1-",
"xx",
"123h",
"-+1",
"--1",
"+-1",
"++1",
];
immutable string[] unsignedErrors =
[
"+5",
"-78",
];
// parsing error check
static foreach (Int; AliasSeq!(byte, ubyte, short, ushort, int, uint, long, ulong))
{
foreach (j, s; errors)
assertThrown!ConvException(to!Int(s));
// parse!SomeUnsigned cannot parse head sign.
static if (isUnsigned!Int)
{
foreach (j, s; unsignedErrors)
assertThrown!ConvException(to!Int(s));
}
}
immutable string[] positiveOverflowErrors =
[
"128", // > byte.max
"256", // > ubyte.max
"32768", // > short.max
"65536", // > ushort.max
"2147483648", // > int.max
"4294967296", // > uint.max
"9223372036854775808", // > long.max
"18446744073709551616", // > ulong.max
];
// positive overflow check
static foreach (i, Int; AliasSeq!(byte, ubyte, short, ushort, int, uint, long, ulong))
{
foreach (j, s; positiveOverflowErrors[i..$])
assertThrown!ConvOverflowException(to!Int(s));
}
immutable string[] negativeOverflowErrors =
[
"-129", // < byte.min
"-32769", // < short.min
"-2147483649", // < int.min
"-9223372036854775809", // < long.min
];
// negative overflow check
static foreach (i, Int; AliasSeq!(byte, short, int, long))
{
foreach (j, s; negativeOverflowErrors[i..$])
assertThrown!ConvOverflowException(to!Int(s));
}
}
@safe pure unittest
{
void checkErrMsg(string input, dchar charInMsg, dchar charNotInMsg)
{
try
{
int x = input.to!int();
assert(false, "Invalid conversion did not throw");
}
catch (ConvException e)
{
// Ensure error message contains failing character, not the character
// beyond.
import std.algorithm.searching : canFind;
assert( e.msg.canFind(charInMsg) &&
!e.msg.canFind(charNotInMsg));
}
catch (Exception e)
{
assert(false, "Did not throw ConvException");
}
}
checkErrMsg("@$", '@', '$');
checkErrMsg("@$123", '@', '$');
checkErrMsg("1@$23", '@', '$');
checkErrMsg("1@$", '@', '$');
checkErrMsg("1@$2", '@', '$');
checkErrMsg("12@$", '@', '$');
}
@safe pure unittest
{
import std.exception;
assertCTFEable!({ string s = "1234abc"; assert(parse! int(s) == 1234 && s == "abc"); });
assertCTFEable!({ string s = "-1234abc"; assert(parse! int(s) == -1234 && s == "abc"); });
assertCTFEable!({ string s = "1234abc"; assert(parse!uint(s) == 1234 && s == "abc"); });
}
// Issue 13931
@safe pure unittest
{
import std.exception;
assertThrown!ConvOverflowException("-21474836480".to!int());
assertThrown!ConvOverflowException("-92233720368547758080".to!long());
}
// Issue 14396
@safe pure unittest
{
struct StrInputRange
{
this (string s) { str = s; }
char front() const @property { return str[front_index]; }
char popFront() { return str[front_index++]; }
bool empty() const @property { return str.length <= front_index; }
string str;
size_t front_index = 0;
}
auto input = StrInputRange("777");
assert(parse!int(input) == 777);
}
/// ditto
Target parse(Target, Source)(ref Source source, uint radix)
if (isSomeChar!(ElementType!Source) &&
isIntegral!Target && !is(Target == enum))
in
{
assert(radix >= 2 && radix <= 36);
}
do
{
import core.checkedint : mulu, addu;
import std.exception : enforce;
if (radix == 10)
return parse!Target(source);
enforce!ConvException(!source.empty, "s must not be empty in integral parse");
immutable uint beyond = (radix < 10 ? '0' : 'a'-10) + radix;
Target v = 0;
static if (isNarrowString!Source)
{
import std.string : representation;
auto s = source.representation;
}
else
{
alias s = source;
}
do
{
uint c = s.front;
if (c < '0')
break;
if (radix < 10)
{
if (c >= beyond)
break;
}
else
{
if (c > '9')
{
c |= 0x20;//poorman's tolower
if (c < 'a' || c >= beyond)
break;
c -= 'a'-10-'0';
}
}
bool overflow = false;
auto nextv = v.mulu(radix, overflow).addu(c - '0', overflow);
enforce!ConvOverflowException(!overflow && nextv <= Target.max, "Overflow in integral conversion");
v = cast(Target) nextv;
s.popFront();
} while (!s.empty);
static if (isNarrowString!Source)
source = cast(Source) s;
return v;
}
@safe pure unittest
{
string s; // parse doesn't accept rvalues
foreach (i; 2 .. 37)
{
assert(parse!int(s = "0", i) == 0);
assert(parse!int(s = "1", i) == 1);
assert(parse!byte(s = "10", i) == i);
}
assert(parse!int(s = "0011001101101", 2) == 0b0011001101101);
assert(parse!int(s = "765", 8) == octal!765);
assert(parse!int(s = "fCDe", 16) == 0xfcde);
// 6609
assert(parse!int(s = "-42", 10) == -42);
assert(parse!ubyte(s = "ff", 16) == 0xFF);
}
@safe pure unittest // bugzilla 7302
{
import std.range : cycle;
auto r = cycle("2A!");
auto u = parse!uint(r, 16);
assert(u == 42);
assert(r.front == '!');
}
@safe pure unittest // bugzilla 13163
{
import std.exception;
foreach (s; ["fff", "123"])
assertThrown!ConvOverflowException(s.parse!ubyte(16));
}
@safe pure unittest // bugzilla 17282
{
auto str = "0=\x00\x02\x55\x40&\xff\xf0\n\x00\x04\x55\x40\xff\xf0~4+10\n";
assert(parse!uint(str) == 0);
}
/**
* Takes a string representing an `enum` type and returns that type.
*
* Params:
* Target = the `enum` type to convert to
* s = the lvalue of the range to _parse
*
* Returns:
* An `enum` of type `Target`
*
* Throws:
* A $(LREF ConvException) if type `Target` does not have a member
* represented by `s`.
*/
Target parse(Target, Source)(ref Source s)
if (isSomeString!Source && !is(Source == enum) &&
is(Target == enum))
{
import std.algorithm.searching : startsWith;
Target result;
size_t longest_match = 0;
foreach (i, e; EnumMembers!Target)
{
auto ident = __traits(allMembers, Target)[i];
if (longest_match < ident.length && s.startsWith(ident))
{
result = e;
longest_match = ident.length ;
}
}
if (longest_match > 0)
{
s = s[longest_match .. $];
return result ;
}
throw new ConvException(
Target.stringof ~ " does not have a member named '"
~ to!string(s) ~ "'");
}
///
@safe unittest
{
enum EnumType : bool { a = true, b = false, c = a }
auto str = "a";
assert(parse!EnumType(str) == EnumType.a);
}
@safe unittest
{
import std.exception;
enum EB : bool { a = true, b = false, c = a }
enum EU { a, b, c }
enum EI { a = -1, b = 0, c = 1 }
enum EF : real { a = 1.414, b = 1.732, c = 2.236 }
enum EC : char { a = 'a', b = 'b', c = 'c' }
enum ES : string { a = "aaa", b = "bbb", c = "ccc" }
static foreach (E; AliasSeq!(EB, EU, EI, EF, EC, ES))
{
assert(to!E("a"c) == E.a);
assert(to!E("b"w) == E.b);
assert(to!E("c"d) == E.c);
assertThrown!ConvException(to!E("d"));
}
}
@safe pure unittest // bugzilla 4744
{
enum A { member1, member11, member111 }
assert(to!A("member1" ) == A.member1 );
assert(to!A("member11" ) == A.member11 );
assert(to!A("member111") == A.member111);
auto s = "member1111";
assert(parse!A(s) == A.member111 && s == "1");
}
/**
* Parses a character range to a floating point number.
*
* Params:
* Target = a floating point type
* source = the lvalue of the range to _parse
*
* Returns:
* A floating point number of type `Target`
*
* Throws:
* A $(LREF ConvException) if `source` is empty, if no number could be
* parsed, or if an overflow occurred.
*/
Target parse(Target, Source)(ref Source source)
if (isInputRange!Source && isSomeChar!(ElementType!Source) && !is(Source == enum) &&
isFloatingPoint!Target && !is(Target == enum))
{
import std.ascii : isDigit, isAlpha, toLower, toUpper, isHexDigit;
import std.exception : enforce;
static if (isNarrowString!Source)
{
import std.string : representation;
auto p = source.representation;
}
else
{
alias p = source;
}
static immutable real[14] negtab =
[ 1e-4096L,1e-2048L,1e-1024L,1e-512L,1e-256L,1e-128L,1e-64L,1e-32L,
1e-16L,1e-8L,1e-4L,1e-2L,1e-1L,1.0L ];
static immutable real[13] postab =
[ 1e+4096L,1e+2048L,1e+1024L,1e+512L,1e+256L,1e+128L,1e+64L,1e+32L,
1e+16L,1e+8L,1e+4L,1e+2L,1e+1L ];
ConvException bailOut()(string msg = null, string fn = __FILE__, size_t ln = __LINE__)
{
if (msg == null)
msg = "Floating point conversion error";
return new ConvException(text(msg, " for input \"", source, "\"."), fn, ln);
}
enforce(!p.empty, bailOut());
bool sign = false;
switch (p.front)
{
case '-':
sign = true;
p.popFront();
enforce(!p.empty, bailOut());
if (toLower(p.front) == 'i')
goto case 'i';
break;
case '+':
p.popFront();
enforce(!p.empty, bailOut());
break;
case 'i': case 'I':
// inf
p.popFront();
enforce(!p.empty && toUpper(p.front) == 'N',
bailOut("error converting input to floating point"));
p.popFront();
enforce(!p.empty && toUpper(p.front) == 'F',
bailOut("error converting input to floating point"));
// skip past the last 'f'
p.popFront();
static if (isNarrowString!Source)
source = cast(Source) p;
return sign ? -Target.infinity : Target.infinity;
default: {}
}
bool isHex = false;
bool startsWithZero = p.front == '0';
if (startsWithZero)
{
p.popFront();
if (p.empty)
{
static if (isNarrowString!Source)
source = cast(Source) p;
return sign ? -0.0 : 0.0;
}
isHex = p.front == 'x' || p.front == 'X';
if (isHex) p.popFront();
}
else if (toLower(p.front) == 'n')
{
// nan
p.popFront();
enforce(!p.empty && toUpper(p.front) == 'A',
bailOut("error converting input to floating point"));
p.popFront();
enforce(!p.empty && toUpper(p.front) == 'N',
bailOut("error converting input to floating point"));
// skip past the last 'n'
p.popFront();
static if (isNarrowString!Source)
source = cast(Source) p;
return typeof(return).nan;
}
/*
* The following algorithm consists of 2 steps:
* 1) parseDigits processes the textual input into msdec and possibly
* lsdec/msscale variables, followed by the exponent parser which sets
* exp below.
* Hex: input is 0xaaaaa...p+000... where aaaa is the mantissa in hex
* and 000 is the exponent in decimal format with base 2.
* Decimal: input is 0.00333...p+000... where 0.0033 is the mantissa
* in decimal and 000 is the exponent in decimal format with base 10.
* 2) Convert msdec/lsdec and exp into native real format
*/
real ldval = 0.0;
char dot = 0; /* if decimal point has been seen */
int exp = 0;
ulong msdec = 0, lsdec = 0;
ulong msscale = 1;
bool sawDigits;
enum { hex, decimal }
// sets msdec, lsdec/msscale, and sawDigits by parsing the mantissa digits
void parseDigits(alias FloatFormat)()
{
static if (FloatFormat == hex)
{
enum uint base = 16;
enum ulong msscaleMax = 0x1000_0000_0000_0000UL; // largest power of 16 a ulong holds
enum ubyte expIter = 4; // iterate the base-2 exponent by 4 for every hex digit
alias checkDigit = isHexDigit;
/*
* convert letter to binary representation: First clear bit
* to convert lower space chars to upperspace, then -('A'-10)
* converts letter A to 10, letter B to 11, ...
*/
alias convertDigit = (int x) => isAlpha(x) ? ((x & ~0x20) - ('A' - 10)) : x - '0';
sawDigits = false;
}
else static if (FloatFormat == decimal)
{
enum uint base = 10;
enum ulong msscaleMax = 10_000_000_000_000_000_000UL; // largest power of 10 a ulong holds
enum ubyte expIter = 1; // iterate the base-10 exponent once for every decimal digit
alias checkDigit = isDigit;
alias convertDigit = (int x) => x - '0';
// Used to enforce that any mantissa digits are present
sawDigits = startsWithZero;
}
else
static assert(false, "Unrecognized floating-point format used.");
while (!p.empty)
{
int i = p.front;
while (checkDigit(i))
{
sawDigits = true; /* must have at least 1 digit */
i = convertDigit(i);
if (msdec < (ulong.max - base)/base)
{
// For base 16: Y = ... + y3*16^3 + y2*16^2 + y1*16^1 + y0*16^0
msdec = msdec * base + i;
}
else if (msscale < msscaleMax)
{
lsdec = lsdec * base + i;
msscale *= base;
}
else
{
exp += expIter;
}
exp -= dot;
p.popFront();
if (p.empty)
break;
i = p.front;
if (i == '_')
{
p.popFront();
if (p.empty)
break;
i = p.front;
}
}
if (i == '.' && !dot)
{
p.popFront();
dot += expIter;
}
else
break;
}
// Have we seen any mantissa digits so far?
enforce(sawDigits, bailOut("no digits seen"));
static if (FloatFormat == hex)
enforce(!p.empty && (p.front == 'p' || p.front == 'P'),
bailOut("Floating point parsing: exponent is required"));
}
if (isHex)
parseDigits!hex;
else
parseDigits!decimal;
if (isHex || (!p.empty && (p.front == 'e' || p.front == 'E')))
{
char sexp = 0;
int e = 0;
p.popFront();
enforce(!p.empty, new ConvException("Unexpected end of input"));
switch (p.front)
{
case '-': sexp++;
goto case;
case '+': p.popFront();
break;
default: {}
}
sawDigits = false;
while (!p.empty && isDigit(p.front))
{
if (e < 0x7FFFFFFF / 10 - 10) // prevent integer overflow
{
e = e * 10 + p.front - '0';
}
p.popFront();
sawDigits = true;
}
exp += (sexp) ? -e : e;
enforce(sawDigits, new ConvException("No digits seen."));
}
ldval = msdec;
if (msscale != 1) /* if stuff was accumulated in lsdec */
ldval = ldval * msscale + lsdec;
if (isHex)
{
import std.math : ldexp;
// Exponent is power of 2, not power of 10
ldval = ldexp(ldval,exp);
}
else if (ldval)
{
uint u = 0;
int pow = 4096;
while (exp > 0)
{
while (exp >= pow)
{
ldval *= postab[u];
exp -= pow;
}
pow >>= 1;
u++;
}
while (exp < 0)
{
while (exp <= -pow)
{
ldval *= negtab[u];
enforce(ldval != 0, new ConvException("Range error"));
exp += pow;
}
pow >>= 1;
u++;
}
}
// if overflow occurred
enforce(ldval != real.infinity, new ConvException("Range error"));
static if (isNarrowString!Source)
source = cast(Source) p;
return sign ? -ldval : ldval;
}
///
@safe unittest
{
import std.math : approxEqual;
auto str = "123.456";
assert(parse!double(str).approxEqual(123.456));
}
@safe unittest
{
import std.exception;
import std.math : isNaN, fabs;
// Compare reals with given precision
bool feq(in real rx, in real ry, in real precision = 0.000001L)
{
if (rx == ry)
return 1;
if (isNaN(rx))
return cast(bool) isNaN(ry);
if (isNaN(ry))
return 0;
return cast(bool)(fabs(rx - ry) <= precision);
}
// Make given typed literal
F Literal(F)(F f)
{
return f;
}
static foreach (Float; AliasSeq!(float, double, real))
{
assert(to!Float("123") == Literal!Float(123));
assert(to!Float("+123") == Literal!Float(+123));
assert(to!Float("-123") == Literal!Float(-123));
assert(to!Float("123e2") == Literal!Float(123e2));
assert(to!Float("123e+2") == Literal!Float(123e+2));
assert(to!Float("123e-2") == Literal!Float(123e-2));
assert(to!Float("123.") == Literal!Float(123.0));
assert(to!Float(".375") == Literal!Float(.375));
assert(to!Float("1.23375E+2") == Literal!Float(1.23375E+2));
assert(to!Float("0") is 0.0);
assert(to!Float("-0") is -0.0);
assert(isNaN(to!Float("nan")));
assertThrown!ConvException(to!Float("\x00"));
}
// min and max
float f = to!float("1.17549e-38");
assert(feq(cast(real) f, cast(real) 1.17549e-38));
assert(feq(cast(real) f, cast(real) float.min_normal));
f = to!float("3.40282e+38");
assert(to!string(f) == to!string(3.40282e+38));
// min and max
double d = to!double("2.22508e-308");
assert(feq(cast(real) d, cast(real) 2.22508e-308));
assert(feq(cast(real) d, cast(real) double.min_normal));
d = to!double("1.79769e+308");
assert(to!string(d) == to!string(1.79769e+308));
assert(to!string(d) == to!string(double.max));
assert(to!string(to!real(to!string(real.max / 2L))) == to!string(real.max / 2L));
// min and max
real r = to!real(to!string(real.min_normal));
version (NetBSD)
{
// NetBSD notice
// to!string returns 3.3621e-4932L. It is less than real.min_normal and it is subnormal value
// Simple C code
// long double rd = 3.3621e-4932L;
// printf("%Le\n", rd);
// has unexpected result: 1.681050e-4932
//
// Bug report: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=50937
}
else
{
assert(to!string(r) == to!string(real.min_normal));
}
r = to!real(to!string(real.max));
assert(to!string(r) == to!string(real.max));
real pi = 3.1415926535897932384626433832795028841971693993751;
string fullPrecision = "3.1415926535897932384626433832795028841971693993751";
assert(feq(parse!real(fullPrecision), pi, 2*real.epsilon));
real x = 0x1.FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAAFAAFAFAFAFAFAFAFAP-252;
string full = "0x1.FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFAAFAAFAFAFAFAFAFAFAP-252";
assert(parse!real(full) == x);
}
// Tests for the double implementation
@system unittest
{
// @system because strtod is not @safe.
static if (real.mant_dig == 53)
{
import core.stdc.stdlib, std.exception, std.math;
//Should be parsed exactly: 53 bit mantissa
string s = "0x1A_BCDE_F012_3456p10";
auto x = parse!real(s);
assert(x == 0x1A_BCDE_F012_3456p10L);
//1 bit is implicit
assert(((*cast(ulong*)&x) & 0x000F_FFFF_FFFF_FFFF) == 0xA_BCDE_F012_3456);
assert(strtod("0x1ABCDEF0123456p10", null) == x);
//Should be parsed exactly: 10 bit mantissa
s = "0x3FFp10";
x = parse!real(s);
assert(x == 0x03FFp10);
//1 bit is implicit
assert(((*cast(ulong*)&x) & 0x000F_FFFF_FFFF_FFFF) == 0x000F_F800_0000_0000);
assert(strtod("0x3FFp10", null) == x);
//60 bit mantissa, round up
s = "0xFFF_FFFF_FFFF_FFFFp10";
x = parse!real(s);
assert(approxEqual(x, 0xFFF_FFFF_FFFF_FFFFp10));
//1 bit is implicit
assert(((*cast(ulong*)&x) & 0x000F_FFFF_FFFF_FFFF) == 0x0000_0000_0000_0000);
assert(strtod("0xFFFFFFFFFFFFFFFp10", null) == x);
//60 bit mantissa, round down
s = "0xFFF_FFFF_FFFF_FF90p10";
x = parse!real(s);
assert(approxEqual(x, 0xFFF_FFFF_FFFF_FF90p10));
//1 bit is implicit
assert(((*cast(ulong*)&x) & 0x000F_FFFF_FFFF_FFFF) == 0x000F_FFFF_FFFF_FFFF);
assert(strtod("0xFFFFFFFFFFFFF90p10", null) == x);
//61 bit mantissa, round up 2
s = "0x1F0F_FFFF_FFFF_FFFFp10";
x = parse!real(s);
assert(approxEqual(x, 0x1F0F_FFFF_FFFF_FFFFp10));
//1 bit is implicit
assert(((*cast(ulong*)&x) & 0x000F_FFFF_FFFF_FFFF) == 0x000F_1000_0000_0000);
assert(strtod("0x1F0FFFFFFFFFFFFFp10", null) == x);
//61 bit mantissa, round down 2
s = "0x1F0F_FFFF_FFFF_FF10p10";
x = parse!real(s);
assert(approxEqual(x, 0x1F0F_FFFF_FFFF_FF10p10));
//1 bit is implicit
assert(((*cast(ulong*)&x) & 0x000F_FFFF_FFFF_FFFF) == 0x000F_0FFF_FFFF_FFFF);
assert(strtod("0x1F0FFFFFFFFFFF10p10", null) == x);
//Huge exponent
s = "0x1F_FFFF_FFFF_FFFFp900";
x = parse!real(s);
assert(strtod("0x1FFFFFFFFFFFFFp900", null) == x);
//exponent too big -> converror
s = "";
assertThrown!ConvException(x = parse!real(s));
assert(strtod("0x1FFFFFFFFFFFFFp1024", null) == real.infinity);
//-exponent too big -> 0
s = "0x1FFFFFFFFFFFFFp-2000";
x = parse!real(s);
assert(x == 0);
assert(strtod("0x1FFFFFFFFFFFFFp-2000", null) == x);
}
}
@system unittest
{
import core.stdc.errno;
import core.stdc.stdlib;
import std.math : floatTraits, RealFormat;
errno = 0; // In case it was set by another unittest in a different module.
struct longdouble
{
static if (floatTraits!real.realFormat == RealFormat.ieeeQuadruple)
{
ushort[8] value;
}
else static if (floatTraits!real.realFormat == RealFormat.ieeeExtended)
{
ushort[5] value;
}
else static if (floatTraits!real.realFormat == RealFormat.ieeeDouble)
{
ushort[4] value;
}
else
static assert(false, "Not implemented");
}
real ld;
longdouble x;
real ld1;
longdouble x1;
int i;
static if (floatTraits!real.realFormat == RealFormat.ieeeQuadruple)
enum s = "0x1.FFFFFFFFFFFFFFFFFFFFFFFFFFFFp-16382";
else static if (floatTraits!real.realFormat == RealFormat.ieeeExtended)
enum s = "0x1.FFFFFFFFFFFFFFFEp-16382";
else static if (floatTraits!real.realFormat == RealFormat.ieeeDouble)
enum s = "0x1.FFFFFFFFFFFFFFFEp-1000";
else
static assert(false, "Floating point format for real not supported");
auto s2 = s.idup;
ld = parse!real(s2);
assert(s2.empty);
x = *cast(longdouble *)&ld;
static if (floatTraits!real.realFormat == RealFormat.ieeeExtended)
{
version (CRuntime_Microsoft)
ld1 = 0x1.FFFFFFFFFFFFFFFEp-16382L; // strtold currently mapped to strtod
else
ld1 = strtold(s.ptr, null);
}
else
ld1 = strtold(s.ptr, null);
x1 = *cast(longdouble *)&ld1;
assert(x1 == x && ld1 == ld);
assert(!errno);
s2 = "1.0e5";
ld = parse!real(s2);
assert(s2.empty);
x = *cast(longdouble *)&ld;
ld1 = strtold("1.0e5", null);
x1 = *cast(longdouble *)&ld1;
}
@safe pure unittest
{
import std.exception;
// Bugzilla 4959
{
auto s = "0 ";
auto x = parse!double(s);
assert(s == " ");
assert(x == 0.0);
}
// Bugzilla 3369
assert(to!float("inf") == float.infinity);
assert(to!float("-inf") == -float.infinity);
// Bugzilla 6160
assert(6_5.536e3L == to!real("6_5.536e3")); // 2^16
assert(0x1000_000_000_p10 == to!real("0x1000_000_000_p10")); // 7.03687e+13
// Bugzilla 6258
assertThrown!ConvException(to!real("-"));
assertThrown!ConvException(to!real("in"));
// Bugzilla 7055
assertThrown!ConvException(to!float("INF2"));
//extra stress testing
auto ssOK = ["1.", "1.1.1", "1.e5", "2e1e", "2a", "2e1_1", "3.4_",
"inf", "-inf", "infa", "-infa", "inf2e2", "-inf2e2",
"nan", "-NAN", "+NaN", "-nAna", "NAn2e2", "-naN2e2"];
auto ssKO = ["", " ", "2e", "2e+", "2e-", "2ee", "2e++1", "2e--1", "2e_1",
"+inf", "-in", "I", "+N", "-NaD", "0x3.F"];
foreach (s; ssOK)
parse!double(s);
foreach (s; ssKO)
assertThrown!ConvException(parse!double(s));
}
/**
Parsing one character off a range returns the first element and calls `popFront`.
Params:
Target = the type to convert to
s = the lvalue of an $(REF_ALTTEXT input range, isInputRange, std,range,primitives)
Returns:
A character of type `Target`
Throws:
A $(LREF ConvException) if the range is empty.
*/
Target parse(Target, Source)(ref Source s)
if (isSomeString!Source && !is(Source == enum) &&
staticIndexOf!(Unqual!Target, dchar, Unqual!(ElementEncodingType!Source)) >= 0)
{
if (s.empty)
throw convError!(Source, Target)(s);
static if (is(Unqual!Target == dchar))
{
Target result = s.front;
s.popFront();
return result;
}
else
{
// Special case: okay so parse a Char off a Char[]
Target result = s[0];
s = s[1 .. $];
return result;
}
}
@safe pure unittest
{
static foreach (Str; AliasSeq!(string, wstring, dstring))
{
static foreach (Char; AliasSeq!(char, wchar, dchar))
{{
static if (is(Unqual!Char == dchar) ||
Char.sizeof == ElementEncodingType!Str.sizeof)
{
Str s = "aaa";
assert(parse!Char(s) == 'a');
assert(s == "aa");
}
}}
}
}
/// ditto
Target parse(Target, Source)(ref Source s)
if (!isSomeString!Source && isInputRange!Source && isSomeChar!(ElementType!Source) &&
isSomeChar!Target && Target.sizeof >= ElementType!Source.sizeof && !is(Target == enum))
{
if (s.empty)
throw convError!(Source, Target)(s);
Target result = s.front;
s.popFront();
return result;
}
///
@safe pure unittest
{
auto s = "Hello, World!";
char first = parse!char(s);
assert(first == 'H');
assert(s == "ello, World!");
}
/*
Tests for to!bool and parse!bool
*/
@safe pure unittest
{
import std.exception;
assert(to!bool("TruE") == true);
assert(to!bool("faLse"d) == false);
assertThrown!ConvException(to!bool("maybe"));
auto t = "TrueType";
assert(parse!bool(t) == true);
assert(t == "Type");
auto f = "False killer whale"d;
assert(parse!bool(f) == false);
assert(f == " killer whale"d);
auto m = "maybe";
assertThrown!ConvException(parse!bool(m));
assert(m == "maybe"); // m shouldn't change on failure
auto s = "true";
auto b = parse!(const(bool))(s);
assert(b == true);
}
/**
Parsing a character range to `typeof(null)` returns `null` if the range
spells `"null"`. This function is case insensitive.
Params:
Target = the type to convert to
s = the lvalue of an $(REF_ALTTEXT input range, isInputRange, std,range,primitives)
Returns:
`null`
Throws:
A $(LREF ConvException) if the range doesn't represent `null`.
*/
Target parse(Target, Source)(ref Source s)
if (isInputRange!Source &&
isSomeChar!(ElementType!Source) &&
is(Unqual!Target == typeof(null)))
{
import std.ascii : toLower;
foreach (c; "null")
{
if (s.empty || toLower(s.front) != c)
throw parseError("null should be case-insensitive 'null'");
s.popFront();
}
return null;
}
///
@safe pure unittest
{
import std.exception : assertThrown;
alias NullType = typeof(null);
auto s1 = "null";
assert(parse!NullType(s1) is null);
assert(s1 == "");
auto s2 = "NUll"d;
assert(parse!NullType(s2) is null);
assert(s2 == "");
auto m = "maybe";
assertThrown!ConvException(parse!NullType(m));
assert(m == "maybe"); // m shouldn't change on failure
auto s = "NULL";
assert(parse!(const NullType)(s) is null);
}
//Used internally by parse Array/AA, to remove ascii whites
package void skipWS(R)(ref R r)
{
import std.ascii : isWhite;
static if (isSomeString!R)
{
//Implementation inspired from stripLeft.
foreach (i, c; r)
{
if (!isWhite(c))
{
r = r[i .. $];
return;
}
}
r = r[0 .. 0]; //Empty string with correct type.
return;
}
else
{
for (; !r.empty && isWhite(r.front); r.popFront())
{}
}
}
/**
* Parses an array from a string given the left bracket (default $(D
* '[')), right bracket (default `']'`), and element separator (by
* default `','`). A trailing separator is allowed.
*
* Params:
* s = The string to parse
* lbracket = the character that starts the array
* rbracket = the character that ends the array
* comma = the character that separates the elements of the array
*
* Returns:
* An array of type `Target`
*/
Target parse(Target, Source)(ref Source s, dchar lbracket = '[', dchar rbracket = ']', dchar comma = ',')
if (isSomeString!Source && !is(Source == enum) &&
isDynamicArray!Target && !is(Target == enum))
{
import std.array : appender;
auto result = appender!Target();
parseCheck!s(lbracket);
skipWS(s);
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front == rbracket)
{
s.popFront();
return result.data;
}
for (;; s.popFront(), skipWS(s))
{
if (!s.empty && s.front == rbracket)
break;
result ~= parseElement!(ElementType!Target)(s);
skipWS(s);
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front != comma)
break;
}
parseCheck!s(rbracket);
return result.data;
}
///
@safe pure unittest
{
auto s1 = `[['h', 'e', 'l', 'l', 'o'], "world"]`;
auto a1 = parse!(string[])(s1);
assert(a1 == ["hello", "world"]);
auto s2 = `["aaa", "bbb", "ccc"]`;
auto a2 = parse!(string[])(s2);
assert(a2 == ["aaa", "bbb", "ccc"]);
}
@safe unittest // Bugzilla 9615
{
string s0 = "[1,2, ]";
string s1 = "[1,2, \t\v\r\n]";
string s2 = "[1,2]";
assert(s0.parse!(int[]) == [1,2]);
assert(s1.parse!(int[]) == [1,2]);
assert(s2.parse!(int[]) == [1,2]);
string s3 = `["a","b",]`;
string s4 = `["a","b"]`;
assert(s3.parse!(string[]) == ["a","b"]);
assert(s4.parse!(string[]) == ["a","b"]);
import std.exception : assertThrown;
string s5 = "[,]";
string s6 = "[, \t,]";
assertThrown!ConvException(parse!(string[])(s5));
assertThrown!ConvException(parse!(int[])(s6));
}
@safe unittest
{
int[] a = [1, 2, 3, 4, 5];
auto s = to!string(a);
assert(to!(int[])(s) == a);
}
@safe unittest
{
int[][] a = [ [1, 2] , [3], [4, 5] ];
auto s = to!string(a);
assert(to!(int[][])(s) == a);
}
@safe unittest
{
int[][][] ia = [ [[1,2],[3,4],[5]] , [[6],[],[7,8,9]] , [[]] ];
char[] s = to!(char[])(ia);
int[][][] ia2;
ia2 = to!(typeof(ia2))(s);
assert( ia == ia2);
}
@safe pure unittest
{
import std.exception;
//Check proper failure
auto s = "[ 1 , 2 , 3 ]";
foreach (i ; 0 .. s.length-1)
{
auto ss = s[0 .. i];
assertThrown!ConvException(parse!(int[])(ss));
}
int[] arr = parse!(int[])(s);
}
@safe pure unittest
{
//Checks parsing of strings with escaped characters
string s1 = `[
"Contains a\0null!",
"tab\there",
"line\nbreak",
"backslash \\ slash / question \?",
"number \x35 five",
"unicode \u65E5 sun",
"very long \U000065E5 sun"
]`;
//Note: escaped characters purposefully replaced and isolated to guarantee
//there are no typos in the escape syntax
string[] s2 = [
"Contains a" ~ '\0' ~ "null!",
"tab" ~ '\t' ~ "here",
"line" ~ '\n' ~ "break",
"backslash " ~ '\\' ~ " slash / question ?",
"number 5 five",
"unicode 日 sun",
"very long 日 sun"
];
assert(s2 == parse!(string[])(s1));
assert(s1.empty);
}
/// ditto
Target parse(Target, Source)(ref Source s, dchar lbracket = '[', dchar rbracket = ']', dchar comma = ',')
if (isExactSomeString!Source &&
isStaticArray!Target && !is(Target == enum))
{
static if (hasIndirections!Target)
Target result = Target.init[0].init;
else
Target result = void;
parseCheck!s(lbracket);
skipWS(s);
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front == rbracket)
{
static if (result.length != 0)
goto Lmanyerr;
else
{
s.popFront();
return result;
}
}
for (size_t i = 0; ; s.popFront(), skipWS(s))
{
if (i == result.length)
goto Lmanyerr;
result[i++] = parseElement!(ElementType!Target)(s);
skipWS(s);
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front != comma)
{
if (i != result.length)
goto Lfewerr;
break;
}
}
parseCheck!s(rbracket);
return result;
Lmanyerr:
throw parseError(text("Too many elements in input, ", result.length, " elements expected."));
Lfewerr:
throw parseError(text("Too few elements in input, ", result.length, " elements expected."));
}
@safe pure unittest
{
import std.exception;
auto s1 = "[1,2,3,4]";
auto sa1 = parse!(int[4])(s1);
assert(sa1 == [1,2,3,4]);
auto s2 = "[[1],[2,3],[4]]";
auto sa2 = parse!(int[][3])(s2);
assert(sa2 == [[1],[2,3],[4]]);
auto s3 = "[1,2,3]";
assertThrown!ConvException(parse!(int[4])(s3));
auto s4 = "[1,2,3,4,5]";
assertThrown!ConvException(parse!(int[4])(s4));
}
/**
* Parses an associative array from a string given the left bracket (default $(D
* '[')), right bracket (default `']'`), key-value separator (default $(D
* ':')), and element seprator (by default `','`).
*
* Params:
* s = the string to parse
* lbracket = the character that starts the associative array
* rbracket = the character that ends the associative array
* keyval = the character that associates the key with the value
* comma = the character that separates the elements of the associative array
*
* Returns:
* An associative array of type `Target`
*/
Target parse(Target, Source)(ref Source s, dchar lbracket = '[',
dchar rbracket = ']', dchar keyval = ':', dchar comma = ',')
if (isSomeString!Source && !is(Source == enum) &&
isAssociativeArray!Target && !is(Target == enum))
{
alias KeyType = typeof(Target.init.keys[0]);
alias ValType = typeof(Target.init.values[0]);
Target result;
parseCheck!s(lbracket);
skipWS(s);
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front == rbracket)
{
s.popFront();
return result;
}
for (;; s.popFront(), skipWS(s))
{
auto key = parseElement!KeyType(s);
skipWS(s);
parseCheck!s(keyval);
skipWS(s);
auto val = parseElement!ValType(s);
skipWS(s);
result[key] = val;
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front != comma)
break;
}
parseCheck!s(rbracket);
return result;
}
///
@safe pure unittest
{
auto s1 = "[1:10, 2:20, 3:30]";
auto aa1 = parse!(int[int])(s1);
assert(aa1 == [1:10, 2:20, 3:30]);
auto s2 = `["aaa":10, "bbb":20, "ccc":30]`;
auto aa2 = parse!(int[string])(s2);
assert(aa2 == ["aaa":10, "bbb":20, "ccc":30]);
auto s3 = `["aaa":[1], "bbb":[2,3], "ccc":[4,5,6]]`;
auto aa3 = parse!(int[][string])(s3);
assert(aa3 == ["aaa":[1], "bbb":[2,3], "ccc":[4,5,6]]);
}
@safe pure unittest
{
import std.exception;
//Check proper failure
auto s = "[1:10, 2:20, 3:30]";
foreach (i ; 0 .. s.length-1)
{
auto ss = s[0 .. i];
assertThrown!ConvException(parse!(int[int])(ss));
}
int[int] aa = parse!(int[int])(s);
}
private dchar parseEscape(Source)(ref Source s)
if (isInputRange!Source && isSomeChar!(ElementType!Source))
{
parseCheck!s('\\');
if (s.empty)
throw parseError("Unterminated escape sequence");
dchar getHexDigit()(ref Source s_ = s) // workaround
{
import std.ascii : isAlpha, isHexDigit;
if (s_.empty)
throw parseError("Unterminated escape sequence");
s_.popFront();
if (s_.empty)
throw parseError("Unterminated escape sequence");
dchar c = s_.front;
if (!isHexDigit(c))
throw parseError("Hex digit is missing");
return isAlpha(c) ? ((c & ~0x20) - ('A' - 10)) : c - '0';
}
dchar result;
switch (s.front)
{
case '"': result = '\"'; break;
case '\'': result = '\''; break;
case '0': result = '\0'; break;
case '?': result = '\?'; break;
case '\\': result = '\\'; break;
case 'a': result = '\a'; break;
case 'b': result = '\b'; break;
case 'f': result = '\f'; break;
case 'n': result = '\n'; break;
case 'r': result = '\r'; break;
case 't': result = '\t'; break;
case 'v': result = '\v'; break;
case 'x':
result = getHexDigit() << 4;
result |= getHexDigit();
break;
case 'u':
result = getHexDigit() << 12;
result |= getHexDigit() << 8;
result |= getHexDigit() << 4;
result |= getHexDigit();
break;
case 'U':
result = getHexDigit() << 28;
result |= getHexDigit() << 24;
result |= getHexDigit() << 20;
result |= getHexDigit() << 16;
result |= getHexDigit() << 12;
result |= getHexDigit() << 8;
result |= getHexDigit() << 4;
result |= getHexDigit();
break;
default:
throw parseError("Unknown escape character " ~ to!string(s.front));
}
if (s.empty)
throw parseError("Unterminated escape sequence");
s.popFront();
return result;
}
@safe pure unittest
{
string[] s1 = [
`\"`, `\'`, `\?`, `\\`, `\a`, `\b`, `\f`, `\n`, `\r`, `\t`, `\v`, //Normal escapes
//`\141`, //@@@9621@@@ Octal escapes.
`\x61`,
`\u65E5`, `\U00012456`
//`\&`, `\"`, //@@@9621@@@ Named Character Entities.
];
const(dchar)[] s2 = [
'\"', '\'', '\?', '\\', '\a', '\b', '\f', '\n', '\r', '\t', '\v', //Normal escapes
//'\141', //@@@9621@@@ Octal escapes.
'\x61',
'\u65E5', '\U00012456'
//'\&', '\"', //@@@9621@@@ Named Character Entities.
];
foreach (i ; 0 .. s1.length)
{
assert(s2[i] == parseEscape(s1[i]));
assert(s1[i].empty);
}
}
@safe pure unittest
{
import std.exception;
string[] ss = [
`hello!`, //Not an escape
`\`, //Premature termination
`\/`, //Not an escape
`\gggg`, //Not an escape
`\xzz`, //Not an hex
`\x0`, //Premature hex end
`\XB9`, //Not legal hex syntax
`\u!!`, //Not a unicode hex
`\777`, //Octal is larger than a byte //Note: Throws, but simply because octals are unsupported
`\u123`, //Premature hex end
`\U123123` //Premature hex end
];
foreach (s ; ss)
assertThrown!ConvException(parseEscape(s));
}
// Undocumented
Target parseElement(Target, Source)(ref Source s)
if (isInputRange!Source && isSomeChar!(ElementType!Source) && !is(Source == enum) &&
isExactSomeString!Target)
{
import std.array : appender;
auto result = appender!Target();
// parse array of chars
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front == '[')
return parse!Target(s);
parseCheck!s('\"');
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front == '\"')
{
s.popFront();
return result.data;
}
while (true)
{
if (s.empty)
throw parseError("Unterminated quoted string");
switch (s.front)
{
case '\"':
s.popFront();
return result.data;
case '\\':
result.put(parseEscape(s));
break;
default:
result.put(s.front);
s.popFront();
break;
}
}
assert(0);
}
// ditto
Target parseElement(Target, Source)(ref Source s)
if (isInputRange!Source && isSomeChar!(ElementType!Source) && !is(Source == enum) &&
isSomeChar!Target && !is(Target == enum))
{
Target c;
parseCheck!s('\'');
if (s.empty)
throw convError!(Source, Target)(s);
if (s.front != '\\')
{
c = s.front;
s.popFront();
}
else
c = parseEscape(s);
parseCheck!s('\'');
return c;
}
// ditto
Target parseElement(Target, Source)(ref Source s)
if (isInputRange!Source && isSomeChar!(ElementType!Source) &&
!isSomeString!Target && !isSomeChar!Target)
{
return parse!Target(s);
}
/***************************************************************
* Convenience functions for converting one or more arguments
* of any type into _text (the three character widths).
*/
string text(T...)(T args)
if (T.length > 0) { return textImpl!string(args); }
///ditto
wstring wtext(T...)(T args)
if (T.length > 0) { return textImpl!wstring(args); }
///ditto
dstring dtext(T...)(T args)
if (T.length > 0) { return textImpl!dstring(args); }
///
@safe unittest
{
assert( text(42, ' ', 1.5, ": xyz") == "42 1.5: xyz"c);
assert(wtext(42, ' ', 1.5, ": xyz") == "42 1.5: xyz"w);
assert(dtext(42, ' ', 1.5, ": xyz") == "42 1.5: xyz"d);
}
@safe unittest
{
char c = 'h';
wchar w = '你';
dchar d = 'እ';
assert( text(c, "ello", ' ', w, "好 ", d, "ው ሰላም ነው") == "hello 你好 እው ሰላም ነው"c);
assert(wtext(c, "ello", ' ', w, "好 ", d, "ው ሰላም ነው") == "hello 你好 እው ሰላም ነው"w);
assert(dtext(c, "ello", ' ', w, "好 ", d, "ው ሰላም ነው") == "hello 你好 እው ሰላም ነው"d);
string cs = "今日は";
wstring ws = "여보세요";
dstring ds = "Здравствуйте";
assert( text(cs, ' ', ws, " ", ds) == "今日は 여보세요 Здравствуйте"c);
assert(wtext(cs, ' ', ws, " ", ds) == "今日は 여보세요 Здравствуйте"w);
assert(dtext(cs, ' ', ws, " ", ds) == "今日は 여보세요 Здравствуйте"d);
}
private S textImpl(S, U...)(U args)
{
static if (U.length == 0)
{
return null;
}
else static if (U.length == 1)
{
return to!S(args[0]);
}
else
{
import std.array : appender;
import std.traits : isSomeChar, isSomeString;
auto app = appender!S();
// assume that on average, parameters will have less
// than 20 elements
app.reserve(U.length * 20);
foreach (arg; args)
{
static if (
isSomeChar!(typeof(arg)) || isSomeString!(typeof(arg)) ||
( isInputRange!(typeof(arg)) && isSomeChar!(ElementType!(typeof(arg))) )
)
app.put(arg);
else static if (
is(Unqual!(typeof(arg)) == uint) || is(Unqual!(typeof(arg)) == ulong) ||
is(Unqual!(typeof(arg)) == int) || is(Unqual!(typeof(arg)) == long)
)
// https://issues.dlang.org/show_bug.cgi?id=17712#c15
app.put(textImpl!(S)(arg));
else
app.put(to!S(arg));
}
return app.data;
}
}
/***************************************************************
The `octal` facility provides a means to declare a number in base 8.
Using `octal!177` or `octal!"177"` for 127 represented in octal
(same as 0177 in C).
The rules for strings are the usual for literals: If it can fit in an
`int`, it is an `int`. Otherwise, it is a `long`. But, if the
user specifically asks for a `long` with the `L` suffix, always
give the `long`. Give an unsigned iff it is asked for with the $(D
U) or `u` suffix. _Octals created from integers preserve the type
of the passed-in integral.
See_Also:
$(LREF parse) for parsing octal strings at runtime.
*/
template octal(string num)
if (isOctalLiteral(num))
{
static if ((octalFitsInInt!num && !literalIsLong!num) && !literalIsUnsigned!num)
enum octal = octal!int(num);
else static if ((!octalFitsInInt!num || literalIsLong!num) && !literalIsUnsigned!num)
enum octal = octal!long(num);
else static if ((octalFitsInInt!num && !literalIsLong!num) && literalIsUnsigned!num)
enum octal = octal!uint(num);
else static if ((!octalFitsInInt!(num) || literalIsLong!(num)) && literalIsUnsigned!(num))
enum octal = octal!ulong(num);
else
static assert(false);
}
/// Ditto
template octal(alias decimalInteger)
if (is(typeof(decimalInteger)) && isIntegral!(typeof(decimalInteger)))
{
enum octal = octal!(typeof(decimalInteger))(to!string(decimalInteger));
}
///
@safe unittest
{
// same as 0177
auto x = octal!177;
// octal is a compile-time device
enum y = octal!160;
// Create an unsigned octal
auto z = octal!"1_000_000u";
}
/*
Takes a string, num, which is an octal literal, and returns its
value, in the type T specified.
*/
private T octal(T)(const string num)
{
assert(isOctalLiteral(num));
T value = 0;
foreach (const char s; num)
{
if (s < '0' || s > '7') // we only care about digits; skip the rest
// safe to skip - this is checked out in the assert so these
// are just suffixes
continue;
value *= 8;
value += s - '0';
}
return value;
}
@safe unittest
{
int a = octal!int("10");
assert(a == 8);
}
/*
Take a look at int.max and int.max+1 in octal and the logic for this
function follows directly.
*/
private template octalFitsInInt(string octalNum)
{
// note it is important to strip the literal of all
// non-numbers. kill the suffix and underscores lest they mess up
// the number of digits here that we depend on.
enum bool octalFitsInInt = strippedOctalLiteral(octalNum).length < 11 ||
strippedOctalLiteral(octalNum).length == 11 &&
strippedOctalLiteral(octalNum)[0] == '1';
}
private string strippedOctalLiteral(string original)
{
string stripped = "";
foreach (c; original)
if (c >= '0' && c <= '7')
stripped ~= c;
return stripped;
}
private template literalIsLong(string num)
{
static if (num.length > 1)
// can be xxL or xxLu according to spec
enum literalIsLong = (num[$-1] == 'L' || num[$-2] == 'L');
else
enum literalIsLong = false;
}
private template literalIsUnsigned(string num)
{
static if (num.length > 1)
// can be xxU or xxUL according to spec
enum literalIsUnsigned = (num[$-1] == 'u' || num[$-2] == 'u')
// both cases are allowed too
|| (num[$-1] == 'U' || num[$-2] == 'U');
else
enum literalIsUnsigned = false;
}
/*
Returns if the given string is a correctly formatted octal literal.
The format is specified in spec/lex.html. The leading zero is allowed, but
not required.
*/
@safe pure nothrow @nogc
private bool isOctalLiteral(const string num)
{
if (num.length == 0)
return false;
// Must start with a number. To avoid confusion, literals that
// start with a '0' are not allowed
if (num[0] == '0' && num.length > 1)
return false;
if (num[0] < '0' || num[0] > '7')
return false;
foreach (i, c; num)
{
if ((c < '0' || c > '7') && c != '_') // not a legal character
{
if (i < num.length - 2)
return false;
else // gotta check for those suffixes
{
if (c != 'U' && c != 'u' && c != 'L')
return false;
if (i != num.length - 1)
{
// if we're not the last one, the next one must
// also be a suffix to be valid
char c2 = num[$-1];
if (c2 != 'U' && c2 != 'u' && c2 != 'L')
return false; // spam at the end of the string
if (c2 == c)
return false; // repeats are disallowed
}
}
}
}
return true;
}
@safe unittest
{
// ensure that you get the right types, even with embedded underscores
auto w = octal!"100_000_000_000";
static assert(!is(typeof(w) == int));
auto w2 = octal!"1_000_000_000";
static assert(is(typeof(w2) == int));
static assert(octal!"45" == 37);
static assert(octal!"0" == 0);
static assert(octal!"7" == 7);
static assert(octal!"10" == 8);
static assert(octal!"666" == 438);
static assert(octal!45 == 37);
static assert(octal!0 == 0);
static assert(octal!7 == 7);
static assert(octal!10 == 8);
static assert(octal!666 == 438);
static assert(octal!"66_6" == 438);
static assert(octal!2520046213 == 356535435);
static assert(octal!"2520046213" == 356535435);
static assert(octal!17777777777 == int.max);
static assert(!__traits(compiles, octal!823));
static assert(!__traits(compiles, octal!"823"));
static assert(!__traits(compiles, octal!"_823"));
static assert(!__traits(compiles, octal!"spam"));
static assert(!__traits(compiles, octal!"77%"));
static assert(is(typeof(octal!"17777777777") == int));
static assert(octal!"17777777777" == int.max);
static assert(is(typeof(octal!"20000000000U") == ulong)); // Shouldn't this be uint?
static assert(octal!"20000000000" == uint(int.max) + 1);
static assert(is(typeof(octal!"777777777777777777777") == long));
static assert(octal!"777777777777777777777" == long.max);
static assert(is(typeof(octal!"1000000000000000000000U") == ulong));
static assert(octal!"1000000000000000000000" == ulong(long.max) + 1);
int a;
long b;
// biggest value that should fit in an it
a = octal!"17777777777";
assert(a == int.max);
// should not fit in the int
static assert(!__traits(compiles, a = octal!"20000000000"));
// ... but should fit in a long
b = octal!"20000000000";
assert(b == 1L + int.max);
b = octal!"1L";
assert(b == 1);
b = octal!1L;
assert(b == 1);
}
/+
emplaceRef is a package function for phobos internal use. It works like
emplace, but takes its argument by ref (as opposed to "by pointer").
This makes it easier to use, easier to be safe, and faster in a non-inline
build.
Furthermore, emplaceRef optionally takes a type parameter, which specifies
the type we want to build. This helps to build qualified objects on mutable
buffer, without breaking the type system with unsafe casts.
+/
package void emplaceRef(T, UT, Args...)(ref UT chunk, auto ref Args args)
{
static if (args.length == 0)
{
static assert(is(typeof({static T i;})),
convFormat("Cannot emplace a %1$s because %1$s.this() is annotated with @disable.", T.stringof));
static if (is(T == class)) static assert(!isAbstractClass!T,
T.stringof ~ " is abstract and it can't be emplaced");
emplaceInitializer(chunk);
}
else static if (
!is(T == struct) && Args.length == 1 /* primitives, enums, arrays */
||
Args.length == 1 && is(typeof({T t = args[0];})) /* conversions */
||
is(typeof(T(args))) /* general constructors */)
{
static struct S
{
T payload;
this(ref Args x)
{
static if (Args.length == 1)
static if (is(typeof(payload = x[0])))
payload = x[0];
else
payload = T(x[0]);
else
payload = T(x);
}
}
if (__ctfe)
{
static if (is(typeof(chunk = T(args))))
chunk = T(args);
else static if (args.length == 1 && is(typeof(chunk = args[0])))
chunk = args[0];
else assert(0, "CTFE emplace doesn't support "
~ T.stringof ~ " from " ~ Args.stringof);
}
else
{
S* p = () @trusted { return cast(S*) &chunk; }();
static if (UT.sizeof > 0)
emplaceInitializer(*p);
p.__ctor(args);
}
}
else static if (is(typeof(chunk.__ctor(args))))
{
// This catches the rare case of local types that keep a frame pointer
emplaceInitializer(chunk);
chunk.__ctor(args);
}
else
{
//We can't emplace. Try to diagnose a disabled postblit.
static assert(!(Args.length == 1 && is(Args[0] : T)),
convFormat("Cannot emplace a %1$s because %1$s.this(this) is annotated with @disable.", T.stringof));
//We can't emplace.
static assert(false,
convFormat("%s cannot be emplaced from %s.", T.stringof, Args[].stringof));
}
}
// ditto
package void emplaceRef(UT, Args...)(ref UT chunk, auto ref Args args)
if (is(UT == Unqual!UT))
{
emplaceRef!(UT, UT)(chunk, args);
}
//emplace helper functions
private void emplaceInitializer(T)(scope ref T chunk) @trusted pure nothrow
{
static if (!hasElaborateAssign!T && isAssignable!T)
chunk = T.init;
else
{
static if (__traits(isZeroInit, T))
{
import core.stdc.string : memset;
memset(&chunk, 0, T.sizeof);
}
else
{
import core.stdc.string : memcpy;
static immutable T init = T.init;
memcpy(&chunk, &init, T.sizeof);
}
}
}
// emplace
/**
Given a pointer `chunk` to uninitialized memory (but already typed
as `T`), constructs an object of non-`class` type `T` at that
address. If `T` is a class, initializes the class reference to null.
Returns: A pointer to the newly constructed object (which is the same
as `chunk`).
*/
T* emplace(T)(T* chunk) @safe pure nothrow
{
emplaceRef!T(*chunk);
return chunk;
}
///
@system unittest
{
static struct S
{
int i = 42;
}
S[2] s2 = void;
emplace(&s2);
assert(s2[0].i == 42 && s2[1].i == 42);
}
///
@system unittest
{
interface I {}
class K : I {}
K k = void;
emplace(&k);
assert(k is null);
I i = void;
emplace(&i);
assert(i is null);
}
/**
Given a pointer `chunk` to uninitialized memory (but already typed
as a non-class type `T`), constructs an object of type `T` at
that address from arguments `args`. If `T` is a class, initializes
the class reference to `args[0]`.
This function can be `@trusted` if the corresponding constructor of
`T` is `@safe`.
Returns: A pointer to the newly constructed object (which is the same
as `chunk`).
*/
T* emplace(T, Args...)(T* chunk, auto ref Args args)
if (is(T == struct) || Args.length == 1)
{
emplaceRef!T(*chunk, args);
return chunk;
}
///
@system unittest
{
int a;
int b = 42;
assert(*emplace!int(&a, b) == 42);
}
@system unittest
{
shared int i;
emplace(&i, 42);
assert(i == 42);
}
private @nogc pure nothrow @safe
void testEmplaceChunk(void[] chunk, size_t typeSize, size_t typeAlignment)
{
assert(chunk.length >= typeSize, "emplace: Chunk size too small.");
assert((cast(size_t) chunk.ptr) % typeAlignment == 0, "emplace: Chunk is not aligned.");
}
/**
Given a raw memory area `chunk` (but already typed as a class type `T`),
constructs an object of `class` type `T` at that address. The constructor
is passed the arguments `Args`.
If `T` is an inner class whose `outer` field can be used to access an instance
of the enclosing class, then `Args` must not be empty, and the first member of it
must be a valid initializer for that `outer` field. Correct initialization of
this field is essential to access members of the outer class inside `T` methods.
Note:
This function is `@safe` if the corresponding constructor of `T` is `@safe`.
Returns: The newly constructed object.
*/
T emplace(T, Args...)(T chunk, auto ref Args args)
if (is(T == class))
{
static assert(!isAbstractClass!T, T.stringof ~
" is abstract and it can't be emplaced");
// Initialize the object in its pre-ctor state
enum classSize = __traits(classInstanceSize, T);
(() @trusted => (cast(void*) chunk)[0 .. classSize] = typeid(T).initializer[])();
static if (isInnerClass!T)
{
static assert(Args.length > 0,
"Initializing an inner class requires a pointer to the outer class");
static assert(is(Args[0] : typeof(T.outer)),
"The first argument must be a pointer to the outer class");
chunk.outer = args[0];
alias args1 = args[1..$];
}
else alias args1 = args;
// Call the ctor if any
static if (is(typeof(chunk.__ctor(args1))))
{
// T defines a genuine constructor accepting args
// Go the classic route: write .init first, then call ctor
chunk.__ctor(args1);
}
else
{
static assert(args1.length == 0 && !is(typeof(&T.__ctor)),
"Don't know how to initialize an object of type "
~ T.stringof ~ " with arguments " ~ typeof(args1).stringof);
}
return chunk;
}
///
@safe unittest
{
() @safe {
class SafeClass
{
int x;
@safe this(int x) { this.x = x; }
}
auto buf = new void[__traits(classInstanceSize, SafeClass)];
auto support = (() @trusted => cast(SafeClass)(buf.ptr))();
auto safeClass = emplace!SafeClass(support, 5);
assert(safeClass.x == 5);
class UnsafeClass
{
int x;
@system this(int x) { this.x = x; }
}
auto buf2 = new void[__traits(classInstanceSize, UnsafeClass)];
auto support2 = (() @trusted => cast(UnsafeClass)(buf2.ptr))();
static assert(!__traits(compiles, emplace!UnsafeClass(support2, 5)));
static assert(!__traits(compiles, emplace!UnsafeClass(buf2, 5)));
}();
}
@safe unittest
{
class Outer
{
int i = 3;
class Inner
{
@safe auto getI() { return i; }
}
}
auto outerBuf = new void[__traits(classInstanceSize, Outer)];
auto outerSupport = (() @trusted => cast(Outer)(outerBuf.ptr))();
auto innerBuf = new void[__traits(classInstanceSize, Outer.Inner)];
auto innerSupport = (() @trusted => cast(Outer.Inner)(innerBuf.ptr))();
auto inner = innerSupport.emplace!(Outer.Inner)(outerSupport.emplace!Outer);
assert(inner.getI == 3);
}
/**
Given a raw memory area `chunk`, constructs an object of `class` type `T` at
that address. The constructor is passed the arguments `Args`.
If `T` is an inner class whose `outer` field can be used to access an instance
of the enclosing class, then `Args` must not be empty, and the first member of it
must be a valid initializer for that `outer` field. Correct initialization of
this field is essential to access members of the outer class inside `T` methods.
Preconditions:
`chunk` must be at least as large as `T` needs and should have an alignment
multiple of `T`'s alignment. (The size of a `class` instance is obtained by using
$(D __traits(classInstanceSize, T))).
Note:
This function can be `@trusted` if the corresponding constructor of `T` is `@safe`.
Returns: The newly constructed object.
*/
T emplace(T, Args...)(void[] chunk, auto ref Args args)
if (is(T == class))
{
enum classSize = __traits(classInstanceSize, T);
testEmplaceChunk(chunk, classSize, classInstanceAlignment!T);
return emplace!T(cast(T)(chunk.ptr), args);
}
///
@system unittest
{
static class C
{
int i;
this(int i){this.i = i;}
}
auto buf = new void[__traits(classInstanceSize, C)];
auto c = emplace!C(buf, 5);
assert(c.i == 5);
}
@system unittest
{
class Outer
{
int i = 3;
class Inner
{
auto getI() { return i; }
}
}
auto outerBuf = new void[__traits(classInstanceSize, Outer)];
auto innerBuf = new void[__traits(classInstanceSize, Outer.Inner)];
auto inner = innerBuf.emplace!(Outer.Inner)(outerBuf.emplace!Outer);
assert(inner.getI == 3);
}
@nogc pure nothrow @safe unittest
{
int var = 6;
align(__conv_EmplaceTestClass.alignof) ubyte[__traits(classInstanceSize, __conv_EmplaceTestClass)] buf;
auto support = (() @trusted => cast(__conv_EmplaceTestClass)(buf.ptr))();
auto k = emplace!__conv_EmplaceTestClass(support, 5, var);
assert(k.i == 5);
assert(var == 7);
}
/**
Given a raw memory area `chunk`, constructs an object of non-$(D
class) type `T` at that address. The constructor is passed the
arguments `args`, if any.
Preconditions:
`chunk` must be at least as large
as `T` needs and should have an alignment multiple of `T`'s
alignment.
Note:
This function can be `@trusted` if the corresponding constructor of
`T` is `@safe`.
Returns: A pointer to the newly constructed object.
*/
T* emplace(T, Args...)(void[] chunk, auto ref Args args)
if (!is(T == class))
{
testEmplaceChunk(chunk, T.sizeof, T.alignof);
emplaceRef!(T, Unqual!T)(*cast(Unqual!T*) chunk.ptr, args);
return cast(T*) chunk.ptr;
}
///
@system unittest
{
struct S
{
int a, b;
}
auto buf = new void[S.sizeof];
S s;
s.a = 42;
s.b = 43;
auto s1 = emplace!S(buf, s);
assert(s1.a == 42 && s1.b == 43);
}
// Bulk of emplace unittests starts here
@system unittest /* unions */
{
static union U
{
string a;
int b;
struct
{
long c;
int[] d;
}
}
U u1 = void;
U u2 = { "hello" };
emplace(&u1, u2);
assert(u1.a == "hello");
}
version (unittest) private struct __conv_EmplaceTest
{
int i = 3;
this(int i)
{
assert(this.i == 3 && i == 5);
this.i = i;
}
this(int i, ref int j)
{
assert(i == 5 && j == 6);
this.i = i;
++j;
}
@disable:
this();
this(this);
void opAssign();
}
version (unittest) private class __conv_EmplaceTestClass
{
int i = 3;
this(int i) @nogc @safe pure nothrow
{
assert(this.i == 3 && i == 5);
this.i = i;
}
this(int i, ref int j) @nogc @safe pure nothrow
{
assert(i == 5 && j == 6);
this.i = i;
++j;
}
}
@system unittest // bugzilla 15772
{
abstract class Foo {}
class Bar: Foo {}
void[] memory;
// test in emplaceInitializer
static assert(!is(typeof(emplace!Foo(cast(Foo*) memory.ptr))));
static assert( is(typeof(emplace!Bar(cast(Bar*) memory.ptr))));
// test in the emplace overload that takes void[]
static assert(!is(typeof(emplace!Foo(memory))));
static assert( is(typeof(emplace!Bar(memory))));
}
@system unittest
{
struct S { @disable this(); }
S s = void;
static assert(!__traits(compiles, emplace(&s)));
emplace(&s, S.init);
}
@system unittest
{
struct S1
{}
struct S2
{
void opAssign(S2);
}
S1 s1 = void;
S2 s2 = void;
S1[2] as1 = void;
S2[2] as2 = void;
emplace(&s1);
emplace(&s2);
emplace(&as1);
emplace(&as2);
}
@system unittest
{
static struct S1
{
this(this) @disable;
}
static struct S2
{
this() @disable;
}
S1[2] ss1 = void;
S2[2] ss2 = void;
emplace(&ss1);
static assert(!__traits(compiles, emplace(&ss2)));
S1 s1 = S1.init;
S2 s2 = S2.init;
static assert(!__traits(compiles, emplace(&ss1, s1)));
emplace(&ss2, s2);
}
@system unittest
{
struct S
{
immutable int i;
}
S s = void;
S[2] ss1 = void;
S[2] ss2 = void;
emplace(&s, 5);
assert(s.i == 5);
emplace(&ss1, s);
assert(ss1[0].i == 5 && ss1[1].i == 5);
emplace(&ss2, ss1);
assert(ss2 == ss1);
}
//Start testing emplace-args here
@system unittest
{
interface I {}
class K : I {}
K k = null, k2 = new K;
assert(k !is k2);
emplace!K(&k, k2);
assert(k is k2);
I i = null;
assert(i !is k);
emplace!I(&i, k);
assert(i is k);
}
@system unittest
{
static struct S
{
int i = 5;
void opAssign(S){assert(0);}
}
S[2] sa = void;
S[2] sb;
emplace(&sa, sb);
assert(sa[0].i == 5 && sa[1].i == 5);
}
//Start testing emplace-struct here
// Test constructor branch
@system unittest
{
struct S
{
double x = 5, y = 6;
this(int a, int b)
{
assert(x == 5 && y == 6);
x = a;
y = b;
}
}
auto s1 = new void[S.sizeof];
auto s2 = S(42, 43);
assert(*emplace!S(cast(S*) s1.ptr, s2) == s2);
assert(*emplace!S(cast(S*) s1, 44, 45) == S(44, 45));
}
@system unittest
{
__conv_EmplaceTest k = void;
emplace(&k, 5);
assert(k.i == 5);
}
@system unittest
{
int var = 6;
__conv_EmplaceTest k = void;
emplace(&k, 5, var);
assert(k.i == 5);
assert(var == 7);
}
// Test matching fields branch
@system unittest
{
struct S { uint n; }
S s;
emplace!S(&s, 2U);
assert(s.n == 2);
}
@safe unittest
{
struct S { int a, b; this(int){} }
S s;
static assert(!__traits(compiles, emplace!S(&s, 2, 3)));
}
@system unittest
{
struct S { int a, b = 7; }
S s1 = void, s2 = void;
emplace!S(&s1, 2);
assert(s1.a == 2 && s1.b == 7);
emplace!S(&s2, 2, 3);
assert(s2.a == 2 && s2.b == 3);
}
//opAssign
@system unittest
{
static struct S
{
int i = 5;
void opAssign(int){assert(0);}
void opAssign(S){assert(0);}
}
S sa1 = void;
S sa2 = void;
S sb1 = S(1);
emplace(&sa1, sb1);
emplace(&sa2, 2);
assert(sa1.i == 1);
assert(sa2.i == 2);
}
//postblit precedence
@system unittest
{
//Works, but breaks in "-w -O" because of @@@9332@@@.
//Uncomment test when 9332 is fixed.
static struct S
{
int i;
this(S other){assert(false);}
this(int i){this.i = i;}
this(this){}
}
S a = void;
assert(is(typeof({S b = a;}))); //Postblit
assert(is(typeof({S b = S(a);}))); //Constructor
auto b = S(5);
emplace(&a, b);
assert(a.i == 5);
static struct S2
{
int* p;
this(const S2){}
}
static assert(!is(immutable S2 : S2));
S2 s2 = void;
immutable is2 = (immutable S2).init;
emplace(&s2, is2);
}
//nested structs and postblit
@system unittest
{
static struct S
{
int* p;
this(int i){p = [i].ptr;}
this(this)
{
if (p)
p = [*p].ptr;
}
}
static struct SS
{
S s;
void opAssign(const SS)
{
assert(0);
}
}
SS ssa = void;
SS ssb = SS(S(5));
emplace(&ssa, ssb);
assert(*ssa.s.p == 5);
assert(ssa.s.p != ssb.s.p);
}
//disabled postblit
@system unittest
{
static struct S1
{
int i;
@disable this(this);
}
S1 s1 = void;
emplace(&s1, 1);
assert(s1.i == 1);
static assert(!__traits(compiles, emplace(&s1, S1.init)));
static struct S2
{
int i;
@disable this(this);
this(ref S2){}
}
S2 s2 = void;
static assert(!__traits(compiles, emplace(&s2, 1)));
emplace(&s2, S2.init);
static struct SS1
{
S1 s;
}
SS1 ss1 = void;
emplace(&ss1);
static assert(!__traits(compiles, emplace(&ss1, SS1.init)));
static struct SS2
{
S2 s;
}
SS2 ss2 = void;
emplace(&ss2);
static assert(!__traits(compiles, emplace(&ss2, SS2.init)));
// SS1 sss1 = s1; //This doesn't compile
// SS1 sss1 = SS1(s1); //This doesn't compile
// So emplace shouldn't compile either
static assert(!__traits(compiles, emplace(&sss1, s1)));
static assert(!__traits(compiles, emplace(&sss2, s2)));
}
//Imutability
@system unittest
{
//Castable immutability
{
static struct S1
{
int i;
}
static assert(is( immutable(S1) : S1));
S1 sa = void;
auto sb = immutable(S1)(5);
emplace(&sa, sb);
assert(sa.i == 5);
}
//Un-castable immutability
{
static struct S2
{
int* p;
}
static assert(!is(immutable(S2) : S2));
S2 sa = void;
auto sb = immutable(S2)(null);
assert(!__traits(compiles, emplace(&sa, sb)));
}
}
@system unittest
{
static struct S
{
immutable int i;
immutable(int)* j;
}
S s = void;
emplace(&s, 1, null);
emplace(&s, 2, &s.i);
assert(s is S(2, &s.i));
}
//Context pointer
@system unittest
{
int i = 0;
{
struct S1
{
void foo(){++i;}
}
S1 sa = void;
S1 sb;
emplace(&sa, sb);
sa.foo();
assert(i == 1);
}
{
struct S2
{
void foo(){++i;}
this(this){}
}
S2 sa = void;
S2 sb;
emplace(&sa, sb);
sa.foo();
assert(i == 2);
}
}
//Alias this
@system unittest
{
static struct S
{
int i;
}
//By Ref
{
static struct SS1
{
int j;
S s;
alias s this;
}
S s = void;
SS1 ss = SS1(1, S(2));
emplace(&s, ss);
assert(s.i == 2);
}
//By Value
{
static struct SS2
{
int j;
S s;
S foo() @property{return s;}
alias foo this;
}
S s = void;
SS2 ss = SS2(1, S(2));
emplace(&s, ss);
assert(s.i == 2);
}
}
version (unittest)
{
//Ambiguity
private struct __std_conv_S
{
int i;
this(__std_conv_SS ss) {assert(0);}
static opCall(__std_conv_SS ss)
{
__std_conv_S s; s.i = ss.j;
return s;
}
}
private struct __std_conv_SS
{
int j;
__std_conv_S s;
ref __std_conv_S foo() return @property {s.i = j; return s;}
alias foo this;
}
}
@system unittest
{
static assert(is(__std_conv_SS : __std_conv_S));
__std_conv_S s = void;
__std_conv_SS ss = __std_conv_SS(1);
__std_conv_S sTest1 = ss; //this calls "SS alias this" (and not "S.this(SS)")
emplace(&s, ss); //"alias this" should take precedence in emplace over "opCall"
assert(s.i == 1);
}
//Nested classes
@system unittest
{
class A{}
static struct S
{
A a;
}
S s1 = void;
S s2 = S(new A);
emplace(&s1, s2);
assert(s1.a is s2.a);
}
//safety & nothrow & CTFE
@system unittest
{
//emplace should be safe for anything with no elaborate opassign
static struct S1
{
int i;
}
static struct S2
{
int i;
this(int j)@safe nothrow{i = j;}
}
int i;
S1 s1 = void;
S2 s2 = void;
auto pi = &i;
auto ps1 = &s1;
auto ps2 = &s2;
void foo() @safe nothrow
{
emplace(pi);
emplace(pi, 5);
emplace(ps1);
emplace(ps1, 5);
emplace(ps1, S1.init);
emplace(ps2);
emplace(ps2, 5);
emplace(ps2, S2.init);
}
foo();
T bar(T)() @property
{
T t/+ = void+/; //CTFE void illegal
emplace(&t, 5);
return t;
}
// CTFE
enum a = bar!int;
static assert(a == 5);
enum b = bar!S1;
static assert(b.i == 5);
enum c = bar!S2;
static assert(c.i == 5);
// runtime
auto aa = bar!int;
assert(aa == 5);
auto bb = bar!S1;
assert(bb.i == 5);
auto cc = bar!S2;
assert(cc.i == 5);
}
@system unittest
{
struct S
{
int[2] get(){return [1, 2];}
alias get this;
}
struct SS
{
int[2] ii;
}
struct ISS
{
int[2] ii;
}
S s;
SS ss = void;
ISS iss = void;
emplace(&ss, s);
emplace(&iss, s);
assert(ss.ii == [1, 2]);
assert(iss.ii == [1, 2]);
}
//disable opAssign
@system unittest
{
static struct S
{
@disable void opAssign(S);
}
S s;
emplace(&s, S.init);
}
//opCall
@system unittest
{
int i;
//Without constructor
{
static struct S1
{
int i;
static S1 opCall(int*){assert(0);}
}
S1 s = void;
static assert(!__traits(compiles, emplace(&s, 1)));
}
//With constructor
{
static struct S2
{
int i = 0;
static S2 opCall(int*){assert(0);}
static S2 opCall(int){assert(0);}
this(int i){this.i = i;}
}
S2 s = void;
emplace(&s, 1);
assert(s.i == 1);
}
//With postblit ambiguity
{
static struct S3
{
int i = 0;
static S3 opCall(ref S3){assert(0);}
}
S3 s = void;
emplace(&s, S3.init);
}
}
@safe unittest //@@@9559@@@
{
import std.algorithm.iteration : map;
import std.array : array;
import std.typecons : Nullable;
alias I = Nullable!int;
auto ints = [0, 1, 2].map!(i => i & 1 ? I.init : I(i))();
auto asArray = array(ints);
}
@system unittest //http://forum.dlang.org/post/nxbdgtdlmwscocbiypjs@forum.dlang.org
{
import std.array : array;
import std.datetime : SysTime, UTC;
import std.math : isNaN;
static struct A
{
double i;
}
static struct B
{
invariant()
{
if (j == 0)
assert(a.i.isNaN(), "why is 'j' zero?? and i is not NaN?");
else
assert(!a.i.isNaN());
}
SysTime when; // comment this line avoid the breakage
int j;
A a;
}
B b1 = B.init;
assert(&b1); // verify that default eyes invariants are ok;
auto b2 = B(SysTime(0, UTC()), 1, A(1));
assert(&b2);
auto b3 = B(SysTime(0, UTC()), 1, A(1));
assert(&b3);
auto arr = [b2, b3];
assert(arr[0].j == 1);
assert(arr[1].j == 1);
auto a2 = arr.array(); // << bang, invariant is raised, also if b2 and b3 are good
}
//static arrays
@system unittest
{
static struct S
{
int[2] ii;
}
static struct IS
{
immutable int[2] ii;
}
int[2] ii;
S s = void;
IS ims = void;
ubyte ub = 2;
emplace(&s, ub);
emplace(&s, ii);
emplace(&ims, ub);
emplace(&ims, ii);
uint[2] uu;
static assert(!__traits(compiles, {S ss = S(uu);}));
static assert(!__traits(compiles, emplace(&s, uu)));
}
@system unittest
{
int[2] sii;
int[2] sii2;
uint[2] uii;
uint[2] uii2;
emplace(&sii, 1);
emplace(&sii, 1U);
emplace(&uii, 1);
emplace(&uii, 1U);
emplace(&sii, sii2);
//emplace(&sii, uii2); //Sorry, this implementation doesn't know how to...
//emplace(&uii, sii2); //Sorry, this implementation doesn't know how to...
emplace(&uii, uii2);
emplace(&sii, sii2[]);
//emplace(&sii, uii2[]); //Sorry, this implementation doesn't know how to...
//emplace(&uii, sii2[]); //Sorry, this implementation doesn't know how to...
emplace(&uii, uii2[]);
}
@system unittest
{
bool allowDestruction = false;
struct S
{
int i;
this(this){}
~this(){assert(allowDestruction);}
}
S s = S(1);
S[2] ss1 = void;
S[2] ss2 = void;
S[2] ss3 = void;
emplace(&ss1, s);
emplace(&ss2, ss1);
emplace(&ss3, ss2[]);
assert(ss1[1] == s);
assert(ss2[1] == s);
assert(ss3[1] == s);
allowDestruction = true;
}
@system unittest
{
//Checks postblit, construction, and context pointer
int count = 0;
struct S
{
this(this)
{
++count;
}
~this()
{
--count;
}
}
S s;
{
S[4] ss = void;
emplace(&ss, s);
assert(count == 4);
}
assert(count == 0);
}
@system unittest
{
struct S
{
int i;
}
S s;
S[2][2][2] sss = void;
emplace(&sss, s);
}
@system unittest //Constness
{
import std.stdio;
int a = void;
emplaceRef!(const int)(a, 5);
immutable i = 5;
const(int)* p = void;
emplaceRef!(const int*)(p, &i);
struct S
{
int* p;
}
alias IS = immutable(S);
S s = void;
emplaceRef!IS(s, IS());
S[2] ss = void;
emplaceRef!(IS[2])(ss, IS());
IS[2] iss = IS.init;
emplaceRef!(IS[2])(ss, iss);
emplaceRef!(IS[2])(ss, iss[]);
}
pure nothrow @safe @nogc unittest
{
int i;
emplaceRef(i);
emplaceRef!int(i);
emplaceRef(i, 5);
emplaceRef!int(i, 5);
}
// Test attribute propagation for UDTs
pure nothrow @safe /* @nogc */ unittest
{
static struct Safe
{
this(this) pure nothrow @safe @nogc {}
}
Safe safe = void;
emplaceRef(safe, Safe());
Safe[1] safeArr = [Safe()];
Safe[1] uninitializedSafeArr = void;
emplaceRef(uninitializedSafeArr, safe);
emplaceRef(uninitializedSafeArr, safeArr);
static struct Unsafe
{
this(this) @system {}
}
Unsafe unsafe = void;
static assert(!__traits(compiles, emplaceRef(unsafe, Unsafe())));
Unsafe[1] unsafeArr = [Unsafe()];
Unsafe[1] uninitializedUnsafeArr = void;
static assert(!__traits(compiles, emplaceRef(uninitializedUnsafeArr, unsafe)));
static assert(!__traits(compiles, emplaceRef(uninitializedUnsafeArr, unsafeArr)));
}
@system unittest
{
// Issue 15313
static struct Node
{
int payload;
Node* next;
uint refs;
}
import core.stdc.stdlib : malloc;
void[] buf = malloc(Node.sizeof)[0 .. Node.sizeof];
import std.conv : emplace;
const Node* n = emplace!(const Node)(buf, 42, null, 10);
assert(n.payload == 42);
assert(n.next == null);
assert(n.refs == 10);
}
@system unittest
{
int var = 6;
auto k = emplace!__conv_EmplaceTest(new void[__conv_EmplaceTest.sizeof], 5, var);
assert(k.i == 5);
assert(var == 7);
}
@system unittest
{
class A
{
int x = 5;
int y = 42;
this(int z)
{
assert(x == 5 && y == 42);
x = y = z;
}
}
void[] buf;
static align(A.alignof) byte[__traits(classInstanceSize, A)] sbuf;
buf = sbuf[];
auto a = emplace!A(buf, 55);
assert(a.x == 55 && a.y == 55);
// emplace in bigger buffer
buf = new byte[](__traits(classInstanceSize, A) + 10);
a = emplace!A(buf, 55);
assert(a.x == 55 && a.y == 55);
// need ctor args
static assert(!is(typeof(emplace!A(buf))));
}
// Bulk of emplace unittests ends here
@safe unittest
{
import std.algorithm.comparison : equal;
import std.algorithm.iteration : map;
// Check fix for http://d.puremagic.com/issues/show_bug.cgi?id=2971
assert(equal(map!(to!int)(["42", "34", "345"]), [42, 34, 345]));
}
// Undocumented for the time being
void toTextRange(T, W)(T value, W writer)
if (isIntegral!T && isOutputRange!(W, char))
{
import core.internal.string : SignedStringBuf, signedToTempString,
UnsignedStringBuf, unsignedToTempString;
if (value < 0)
{
SignedStringBuf buf = void;
put(writer, signedToTempString(value, buf, 10));
}
else
{
UnsignedStringBuf buf = void;
put(writer, unsignedToTempString(value, buf, 10));
}
}
@safe unittest
{
import std.array : appender;
auto result = appender!(char[])();
toTextRange(-1, result);
assert(result.data == "-1");
}
/**
Returns the corresponding _unsigned value for `x` (e.g. if `x` has type
`int`, it returns $(D cast(uint) x)). The advantage compared to the cast
is that you do not need to rewrite the cast if `x` later changes type
(e.g from `int` to `long`).
Note that the result is always mutable even if the original type was const
or immutable. In order to retain the constness, use $(REF Unsigned, std,traits).
*/
auto unsigned(T)(T x)
if (isIntegral!T)
{
return cast(Unqual!(Unsigned!T))x;
}
///
@safe unittest
{
import std.traits : Unsigned;
immutable int s = 42;
auto u1 = unsigned(s); //not qualified
static assert(is(typeof(u1) == uint));
Unsigned!(typeof(s)) u2 = unsigned(s); //same qualification
static assert(is(typeof(u2) == immutable uint));
immutable u3 = unsigned(s); //explicitly qualified
}
@safe unittest
{
static foreach (T; AliasSeq!(byte, ubyte))
{
static assert(is(typeof(unsigned(cast(T) 1)) == ubyte));
static assert(is(typeof(unsigned(cast(const T) 1)) == ubyte));
static assert(is(typeof(unsigned(cast(immutable T) 1)) == ubyte));
}
static foreach (T; AliasSeq!(short, ushort))
{
static assert(is(typeof(unsigned(cast(T) 1)) == ushort));
static assert(is(typeof(unsigned(cast(const T) 1)) == ushort));
static assert(is(typeof(unsigned(cast(immutable T) 1)) == ushort));
}
static foreach (T; AliasSeq!(int, uint))
{
static assert(is(typeof(unsigned(cast(T) 1)) == uint));
static assert(is(typeof(unsigned(cast(const T) 1)) == uint));
static assert(is(typeof(unsigned(cast(immutable T) 1)) == uint));
}
static foreach (T; AliasSeq!(long, ulong))
{
static assert(is(typeof(unsigned(cast(T) 1)) == ulong));
static assert(is(typeof(unsigned(cast(const T) 1)) == ulong));
static assert(is(typeof(unsigned(cast(immutable T) 1)) == ulong));
}
}
auto unsigned(T)(T x)
if (isSomeChar!T)
{
// All characters are unsigned
static assert(T.min == 0);
return cast(Unqual!T) x;
}
@safe unittest
{
static foreach (T; AliasSeq!(char, wchar, dchar))
{
static assert(is(typeof(unsigned(cast(T)'A')) == T));
static assert(is(typeof(unsigned(cast(const T)'A')) == T));
static assert(is(typeof(unsigned(cast(immutable T)'A')) == T));
}
}
/**
Returns the corresponding _signed value for `x` (e.g. if `x` has type
`uint`, it returns $(D cast(int) x)). The advantage compared to the cast
is that you do not need to rewrite the cast if `x` later changes type
(e.g from `uint` to `ulong`).
Note that the result is always mutable even if the original type was const
or immutable. In order to retain the constness, use $(REF Signed, std,traits).
*/
auto signed(T)(T x)
if (isIntegral!T)
{
return cast(Unqual!(Signed!T))x;
}
///
@safe unittest
{
import std.traits : Signed;
immutable uint u = 42;
auto s1 = signed(u); //not qualified
static assert(is(typeof(s1) == int));
Signed!(typeof(u)) s2 = signed(u); //same qualification
static assert(is(typeof(s2) == immutable int));
immutable s3 = signed(u); //explicitly qualified
}
@system unittest
{
static foreach (T; AliasSeq!(byte, ubyte))
{
static assert(is(typeof(signed(cast(T) 1)) == byte));
static assert(is(typeof(signed(cast(const T) 1)) == byte));
static assert(is(typeof(signed(cast(immutable T) 1)) == byte));
}
static foreach (T; AliasSeq!(short, ushort))
{
static assert(is(typeof(signed(cast(T) 1)) == short));
static assert(is(typeof(signed(cast(const T) 1)) == short));
static assert(is(typeof(signed(cast(immutable T) 1)) == short));
}
static foreach (T; AliasSeq!(int, uint))
{
static assert(is(typeof(signed(cast(T) 1)) == int));
static assert(is(typeof(signed(cast(const T) 1)) == int));
static assert(is(typeof(signed(cast(immutable T) 1)) == int));
}
static foreach (T; AliasSeq!(long, ulong))
{
static assert(is(typeof(signed(cast(T) 1)) == long));
static assert(is(typeof(signed(cast(const T) 1)) == long));
static assert(is(typeof(signed(cast(immutable T) 1)) == long));
}
}
@safe unittest
{
// issue 10874
enum Test { a = 0 }
ulong l = 0;
auto t = l.to!Test;
}
// asOriginalType
/**
Returns the representation of an enumerated value, i.e. the value converted to
the base type of the enumeration.
*/
OriginalType!E asOriginalType(E)(E value)
if (is(E == enum))
{
return value;
}
///
@safe unittest
{
enum A { a = 42 }
static assert(is(typeof(A.a.asOriginalType) == int));
assert(A.a.asOriginalType == 42);
enum B : double { a = 43 }
static assert(is(typeof(B.a.asOriginalType) == double));
assert(B.a.asOriginalType == 43);
}
/**
A wrapper on top of the built-in cast operator that allows one to restrict
casting of the original type of the value.
A common issue with using a raw cast is that it may silently continue to
compile even if the value's type has changed during refactoring,
which breaks the initial assumption about the cast.
Params:
From = The type to cast from. The programmer must ensure it is legal
to make this cast.
*/
template castFrom(From)
{
/**
Params:
To = The type _to cast _to.
value = The value _to cast. It must be of type `From`,
otherwise a compile-time error is emitted.
Returns:
the value after the cast, returned by reference if possible.
*/
auto ref to(To, T)(auto ref T value) @system
{
static assert(
is(From == T),
"the value to cast is not of specified type '" ~ From.stringof ~
"', it is of type '" ~ T.stringof ~ "'"
);
static assert(
is(typeof(cast(To) value)),
"can't cast from '" ~ From.stringof ~ "' to '" ~ To.stringof ~ "'"
);
return cast(To) value;
}
}
///
@system unittest
{
// Regular cast, which has been verified to be legal by the programmer:
{
long x;
auto y = cast(int) x;
}
// However this will still compile if 'x' is changed to be a pointer:
{
long* x;
auto y = cast(int) x;
}
// castFrom provides a more reliable alternative to casting:
{
long x;
auto y = castFrom!long.to!int(x);
}
// Changing the type of 'x' will now issue a compiler error,
// allowing bad casts to be caught before it's too late:
{
long* x;
static assert(
!__traits(compiles, castFrom!long.to!int(x))
);
// if cast is still needed, must be changed to:
auto y = castFrom!(long*).to!int(x);
}
}
// https://issues.dlang.org/show_bug.cgi?id=16667
@system unittest
{
ubyte[] a = ['a', 'b', 'c'];
assert(castFrom!(ubyte[]).to!(string)(a) == "abc");
}
/**
Check the correctness of a string for `hexString`.
The result is true if and only if the input string is composed of whitespace
characters (\f\n\r\t\v lineSep paraSep nelSep) and
an even number of hexadecimal digits (regardless of the case).
*/
@safe pure @nogc
private bool isHexLiteral(String)(scope const String hexData)
{
import std.ascii : isHexDigit;
import std.uni : lineSep, paraSep, nelSep;
size_t i;
foreach (const dchar c; hexData)
{
switch (c)
{
case ' ':
case '\t':
case '\v':
case '\f':
case '\r':
case '\n':
case lineSep:
case paraSep:
case nelSep:
continue;
default:
break;
}
if (c.isHexDigit)
++i;
else
return false;
}
return !(i & 1);
}
@safe unittest
{
// test all the hex digits
static assert( ("0123456789abcdefABCDEF").isHexLiteral);
// empty or white strings are not valid
static assert( "\r\n\t".isHexLiteral);
// but are accepted if the count of hex digits is even
static assert( "A\r\n\tB".isHexLiteral);
}
@safe unittest
{
import std.ascii;
// empty/whites
static assert( "".isHexLiteral);
static assert( " \r".isHexLiteral);
static assert( whitespace.isHexLiteral);
static assert( ""w.isHexLiteral);
static assert( " \r"w.isHexLiteral);
static assert( ""d.isHexLiteral);
static assert( " \r"d.isHexLiteral);
static assert( "\u2028\u2029\u0085"d.isHexLiteral);
// odd x strings
static assert( !("5" ~ whitespace).isHexLiteral);
static assert( !"123".isHexLiteral);
static assert( !"1A3".isHexLiteral);
static assert( !"1 23".isHexLiteral);
static assert( !"\r\n\tC".isHexLiteral);
static assert( !"123"w.isHexLiteral);
static assert( !"1A3"w.isHexLiteral);
static assert( !"1 23"w.isHexLiteral);
static assert( !"\r\n\tC"w.isHexLiteral);
static assert( !"123"d.isHexLiteral);
static assert( !"1A3"d.isHexLiteral);
static assert( !"1 23"d.isHexLiteral);
static assert( !"\r\n\tC"d.isHexLiteral);
// even x strings with invalid charset
static assert( !"12gG".isHexLiteral);
static assert( !"2A 3q".isHexLiteral);
static assert( !"12gG"w.isHexLiteral);
static assert( !"2A 3q"w.isHexLiteral);
static assert( !"12gG"d.isHexLiteral);
static assert( !"2A 3q"d.isHexLiteral);
// valid x strings
static assert( ("5A" ~ whitespace).isHexLiteral);
static assert( ("5A 01A C FF de 1b").isHexLiteral);
static assert( ("0123456789abcdefABCDEF").isHexLiteral);
static assert( (" 012 34 5 6789 abcd ef\rAB\nCDEF").isHexLiteral);
static assert( ("5A 01A C FF de 1b"w).isHexLiteral);
static assert( ("0123456789abcdefABCDEF"w).isHexLiteral);
static assert( (" 012 34 5 6789 abcd ef\rAB\nCDEF"w).isHexLiteral);
static assert( ("5A 01A C FF de 1b"d).isHexLiteral);
static assert( ("0123456789abcdefABCDEF"d).isHexLiteral);
static assert( (" 012 34 5 6789 abcd ef\rAB\nCDEF"d).isHexLiteral);
// library version allows what's pointed by issue 10454
static assert( ("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF").isHexLiteral);
}
/**
Converts a hex literal to a string at compile time.
Takes a string made of hexadecimal digits and returns
the matching string by converting each pair of digits to a character.
The input string can also include white characters, which can be used
to keep the literal string readable in the source code.
The function is intended to replace the hexadecimal literal strings
starting with `'x'`, which could be removed to simplify the core language.
Params:
hexData = string to be converted.
Returns:
a `string`, a `wstring` or a `dstring`, according to the type of hexData.
*/
template hexString(string hexData)
if (hexData.isHexLiteral)
{
enum hexString = mixin(hexToString(hexData));
}
/// ditto
template hexString(wstring hexData)
if (hexData.isHexLiteral)
{
enum wstring hexString = mixin(hexToString(hexData));
}
/// ditto
template hexString(dstring hexData)
if (hexData.isHexLiteral)
{
enum dstring hexString = mixin(hexToString(hexData));
}
///
@safe unittest
{
// conversion at compile time
auto string1 = hexString!"304A314B";
assert(string1 == "0J1K");
auto string2 = hexString!"304A314B"w;
assert(string2 == "0J1K"w);
auto string3 = hexString!"304A314B"d;
assert(string3 == "0J1K"d);
}
@safe nothrow pure private
{
/* These are meant to be used with CTFE.
* They cause the instantiations of hexStrLiteral()
* to be in Phobos, not user code.
*/
string hexToString(string s)
{
return hexStrLiteral(s);
}
wstring hexToString(wstring s)
{
return hexStrLiteral(s);
}
dstring hexToString(dstring s)
{
return hexStrLiteral(s);
}
}
/*
Turn a hexadecimal string into a regular string literal.
I.e. "dead beef" is transformed into "\xde\xad\xbe\xef"
suitable for use in a mixin.
Params:
hexData is string, wstring, or dstring and validated by isHexLiteral()
*/
@trusted nothrow pure
private auto hexStrLiteral(String)(scope String hexData)
{
import std.ascii : isHexDigit;
alias C = Unqual!(ElementEncodingType!String); // char, wchar or dchar
C[] result;
result.length = 1 + hexData.length * 2 + 1; // don't forget the " "
/* Use a pointer because we know it won't overrun,
* and this will reduce the size of the function substantially
* by not doing the array bounds checks.
* This is why this function is @trusted.
*/
auto r = result.ptr;
r[0] = '"';
size_t cnt = 0;
foreach (c; hexData)
{
if (c.isHexDigit)
{
if ((cnt & 1) == 0)
{
r[1 + cnt] = '\\';
r[1 + cnt + 1] = 'x';
cnt += 2;
}
r[1 + cnt] = c;
++cnt;
}
}
r[1 + cnt] = '"';
result.length = 1 + cnt + 1; // trim off any excess length
return result;
}
@safe unittest
{
// compile time
assert(hexString!"46 47 48 49 4A 4B" == "FGHIJK");
assert(hexString!"30\r\n\t\f\v31 32 33 32 31 30" == "0123210");
assert(hexString!"ab cd" == hexString!"ABCD");
}
/**
* Convert integer to a range of characters.
* Intended to be lightweight and fast.
*
* Params:
* radix = 2, 8, 10, 16
* Char = character type for output
* letterCase = lower for deadbeef, upper for DEADBEEF
* value = integer to convert. Can be uint or ulong. If radix is 10, can also be
* int or long.
* Returns:
* Random access range with slicing and everything
*/
auto toChars(ubyte radix = 10, Char = char, LetterCase letterCase = LetterCase.lower, T)(T value)
pure nothrow @nogc @safe
if ((radix == 2 || radix == 8 || radix == 10 || radix == 16) &&
(is(Unqual!T == uint) || is(Unqual!T == ulong) ||
radix == 10 && (is(Unqual!T == int) || is(Unqual!T == long))))
{
alias UT = Unqual!T;
static if (radix == 10)
{
/* uint.max is 42_9496_7295
* int.max is 21_4748_3647
* ulong.max is 1844_6744_0737_0955_1615
* long.max is 922_3372_0368_5477_5807
*/
static struct Result
{
void initialize(UT value)
{
bool neg = false;
if (value < 10)
{
if (value >= 0)
{
lwr = 0;
upr = 1;
buf[0] = cast(char)(cast(uint) value + '0');
return;
}
value = -value;
neg = true;
}
auto i = cast(uint) buf.length - 1;
while (cast(Unsigned!UT) value >= 10)
{
buf[i] = cast(ubyte)('0' + cast(Unsigned!UT) value % 10);
value = unsigned(value) / 10;
--i;
}
buf[i] = cast(char)(cast(uint) value + '0');
if (neg)
{
buf[i - 1] = '-';
--i;
}
lwr = i;
upr = cast(uint) buf.length;
}
@property size_t length() { return upr - lwr; }
alias opDollar = length;
@property bool empty() { return upr == lwr; }
@property Char front() { return buf[lwr]; }
void popFront() { ++lwr; }
@property Char back() { return buf[upr - 1]; }
void popBack() { --upr; }
@property Result save() { return this; }
Char opIndex(size_t i) { return buf[lwr + i]; }
Result opSlice(size_t lwr, size_t upr)
{
Result result = void;
result.buf = buf;
result.lwr = cast(uint)(this.lwr + lwr);
result.upr = cast(uint)(this.lwr + upr);
return result;
}
private:
uint lwr = void, upr = void;
char[(UT.sizeof == 4) ? 10 + isSigned!T : 20] buf = void;
}
Result result = void;
result.initialize(value);
return result;
}
else
{
static if (radix == 2)
enum SHIFT = 1;
else static if (radix == 8)
enum SHIFT = 3;
else static if (radix == 16)
enum SHIFT = 4;
else
static assert(0);
static struct Result
{
this(UT value)
{
this.value = value;
ubyte len = 1;
while (value >>>= SHIFT)
++len;
this.len = len;
}
@property size_t length() { return len; }
@property bool empty() { return len == 0; }
@property Char front() { return opIndex(0); }
void popFront() { --len; }
@property Char back() { return opIndex(len - 1); }
void popBack()
{
value >>>= SHIFT;
--len;
}
@property Result save() { return this; }
Char opIndex(size_t i)
{
Char c = (value >>> ((len - i - 1) * SHIFT)) & ((1 << SHIFT) - 1);
return cast(Char)((radix < 10 || c < 10) ? c + '0'
: (letterCase == LetterCase.upper ? c + 'A' - 10
: c + 'a' - 10));
}
Result opSlice(size_t lwr, size_t upr)
{
Result result = void;
result.value = value >>> ((len - upr) * SHIFT);
result.len = cast(ubyte)(upr - lwr);
return result;
}
private:
UT value;
ubyte len;
}
return Result(value);
}
}
///
@safe unittest
{
import std.algorithm.comparison : equal;
assert(toChars(1).equal("1"));
assert(toChars(1_000_000).equal("1000000"));
assert(toChars!(2)(2U).equal("10"));
assert(toChars!(16)(255U).equal("ff"));
assert(toChars!(16, char, LetterCase.upper)(255U).equal("FF"));
}
@safe unittest
{
import std.array;
import std.range;
{
assert(toChars!2(0u).array == "0");
assert(toChars!2(0Lu).array == "0");
assert(toChars!2(1u).array == "1");
assert(toChars!2(1Lu).array == "1");
auto r = toChars!2(2u);
assert(r.length == 2);
assert(r[0] == '1');
assert(r[1 .. 2].array == "0");
auto s = r.save;
assert(r.array == "10");
assert(s.retro.array == "01");
}
{
assert(toChars!8(0u).array == "0");
assert(toChars!8(0Lu).array == "0");
assert(toChars!8(1u).array == "1");
assert(toChars!8(1234567Lu).array == "4553207");
auto r = toChars!8(8u);
assert(r.length == 2);
assert(r[0] == '1');
assert(r[1 .. 2].array == "0");
auto s = r.save;
assert(r.array == "10");
assert(s.retro.array == "01");
}
{
assert(toChars!10(0u).array == "0");
assert(toChars!10(0Lu).array == "0");
assert(toChars!10(1u).array == "1");
assert(toChars!10(1234567Lu).array == "1234567");
assert(toChars!10(uint.max).array == "4294967295");
assert(toChars!10(ulong.max).array == "18446744073709551615");
auto r = toChars(10u);
assert(r.length == 2);
assert(r[0] == '1');
assert(r[1 .. 2].array == "0");
auto s = r.save;
assert(r.array == "10");
assert(s.retro.array == "01");
}
{
assert(toChars!10(0).array == "0");
assert(toChars!10(0L).array == "0");
assert(toChars!10(1).array == "1");
assert(toChars!10(1234567L).array == "1234567");
assert(toChars!10(int.max).array == "2147483647");
assert(toChars!10(long.max).array == "9223372036854775807");
assert(toChars!10(-int.max).array == "-2147483647");
assert(toChars!10(-long.max).array == "-9223372036854775807");
assert(toChars!10(int.min).array == "-2147483648");
assert(toChars!10(long.min).array == "-9223372036854775808");
auto r = toChars!10(10);
assert(r.length == 2);
assert(r[0] == '1');
assert(r[1 .. 2].array == "0");
auto s = r.save;
assert(r.array == "10");
assert(s.retro.array == "01");
}
{
assert(toChars!(16)(0u).array == "0");
assert(toChars!(16)(0Lu).array == "0");
assert(toChars!(16)(10u).array == "a");
assert(toChars!(16, char, LetterCase.upper)(0x12AF34567Lu).array == "12AF34567");
auto r = toChars!(16)(16u);
assert(r.length == 2);
assert(r[0] == '1');
assert(r[1 .. 2].array == "0");
auto s = r.save;
assert(r.array == "10");
assert(s.retro.array == "01");
}
}
@safe unittest // opSlice (issue 16192)
{
import std.meta : AliasSeq;
static struct Test { ubyte radix; uint number; }
alias tests = AliasSeq!(
Test(2, 0b1_0110_0111u),
Test(2, 0b10_1100_1110u),
Test(8, octal!123456701u),
Test(8, octal!1234567012u),
Test(10, 123456789u),
Test(10, 1234567890u),
Test(16, 0x789ABCDu),
Test(16, 0x789ABCDEu),
);
foreach (test; tests)
{
enum ubyte radix = test.radix;
auto original = toChars!radix(test.number);
// opSlice vs popFront
auto r = original.save;
size_t i = 0;
for (; !r.empty; r.popFront(), ++i)
{
assert(original[i .. original.length].tupleof == r.tupleof);
// tupleof is used to work around issue 16216.
}
// opSlice vs popBack
r = original.save;
i = 0;
for (; !r.empty; r.popBack(), ++i)
{
assert(original[0 .. original.length - i].tupleof == r.tupleof);
}
// opSlice vs both popFront and popBack
r = original.save;
i = 0;
for (; r.length >= 2; r.popFront(), r.popBack(), ++i)
{
assert(original[i .. original.length - i].tupleof == r.tupleof);
}
}
}
|
D
|
/*
DSFML - The Simple and Fast Multimedia Library for D
Copyright (c) 2013 - 2015 Jeremy DeHaan (dehaan.jeremiah@gmail.com)
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
*/
module dsfml.graphics.rectangleshape;
import dsfml.graphics.shape;
import dsfml.system.vector2;
/++
+ Specialized shape representing a rectangle.
+
+ This class inherits all the functions of Transformable (position, rotation, scale, bounds, ...) as well as the functions of Shape (outline, color, texture, ...).
+
+ Authors: Laurent Gomila, Jeremy DeHaan
+ See_Also: http://www.sfml-dev.org/documentation/2.0/classsf_1_1RectangleShape.php#details
+/
class RectangleShape:Shape
{
private Vector2f m_size;
this(Vector2f theSize = Vector2f(0,0))
{
size = theSize;
}
~this()
{
import dsfml.system.config;
mixin(destructorOutput);
}
/// The point count for a rectangle is always 4.
@property
{
override uint pointCount()
{
return 4;
}
}
/// The size of the rectangle.
@property
{
Vector2f size(Vector2f theSize)
{
m_size = theSize;
update();
return theSize;
}
Vector2f size()
{
return m_size;
}
}
/**
* Get a point of the rectangle.
*
* The result is undefined if index is out of the valid range.
*
* Params:
* index = Index of the point to get, in range [0 .. pointCount - 1]
*
* Returns: Index-th point of the shape.
*/
override Vector2f getPoint(uint index) const
{
switch (index)
{
default:
case 0: return Vector2f(0, 0);
case 1: return Vector2f(m_size.x, 0);
case 2: return Vector2f(m_size.x, m_size.y);
case 3: return Vector2f(0, m_size.y);
}
}
}
unittest
{
version(DSFML_Unittest_Graphics)
{
import std.stdio;
import dsfml.graphics;
writeln("Unit test for RectangleShape");
auto window = new RenderWindow(VideoMode(800,600), "RectangleShape unittest");
auto rectangleShape = new RectangleShape(Vector2f(10, 20));
rectangleShape.fillColor = Color.Blue;
rectangleShape.outlineColor = Color.Green;
auto clock = new Clock();
while(window.isOpen())
{
Event event;
while(window.pollEvent(event))
{
//no events gonna do stuffs!
}
//draws the shape for a while before closing the window
if(clock.getElapsedTime().total!"seconds" > 1)
{
window.close();
}
window.clear();
window.draw(rectangleShape);
window.display();
}
writeln();
}
}
|
D
|
/Users/apple/Desktop/TaskAwoke/Build/Intermediates/TaskAwoke.build/Debug-iphoneos/TaskAwoke.build/Objects-normal/arm64/ViewController.o : /Users/apple/Desktop/TaskAwoke/TaskAwoke/ViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AddNewEventVC.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AllListTableViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/CheckList.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/ListDetailTableViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/MainItem.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/MainController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AppDelegate.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/DataModel.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule
/Users/apple/Desktop/TaskAwoke/Build/Intermediates/TaskAwoke.build/Debug-iphoneos/TaskAwoke.build/Objects-normal/arm64/ViewController~partial.swiftmodule : /Users/apple/Desktop/TaskAwoke/TaskAwoke/ViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AddNewEventVC.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AllListTableViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/CheckList.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/ListDetailTableViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/MainItem.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/MainController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AppDelegate.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/DataModel.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule
/Users/apple/Desktop/TaskAwoke/Build/Intermediates/TaskAwoke.build/Debug-iphoneos/TaskAwoke.build/Objects-normal/arm64/ViewController~partial.swiftdoc : /Users/apple/Desktop/TaskAwoke/TaskAwoke/ViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AddNewEventVC.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AllListTableViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/CheckList.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/ListDetailTableViewController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/MainItem.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/MainController.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/AppDelegate.swift /Users/apple/Desktop/TaskAwoke/TaskAwoke/DataModel.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule
|
D
|
/**
* Copyright: Copyright (c) 2018 Wojciech Szęszoł. All rights reserved.
* Authors: Wojciech Szęszoł
* Version: Initial created: October 03, 2018
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
import Common;
unittest
{
assertTranslates(
q"C
typedef struct
{
} BOARDINFO, *PBOARDINFO;
C", q"D
extern (C):
struct BOARDINFO
{
}
alias PBOARDINFO = BOARDINFO*;
D");
assertTranslates(
q"C
typedef struct
{
char SerNo[12];
char ID[20];
char Version[10];
char Date[12];
unsigned char Select;
unsigned char Type;
char Reserved[8];
} BOARDINFO, *PBOARDINFO;
C", q"D
extern (C):
struct BOARDINFO
{
char[12] SerNo;
char[20] ID;
char[10] Version;
char[12] Date;
ubyte Select;
ubyte Type;
char[8] Reserved;
}
alias PBOARDINFO = BOARDINFO*;
D");
}
|
D
|
in a despicable manner
|
D
|
instance DIA_LanSkeleton_EXIT(DIA_Proto_End)
{
npc = PIR_207_DS2P_LanSkeleton;
};
|
D
|
module common.common;
import client;
import requests;
import url;
import std.stdio;
import std.json : parseJSON, JSONValue;
import std.typecons : tuple, Tuple;
import std.conv : to;
string GetterSetter(string Type, string ClassName)(string name) {
import std.ascii : toUpper;
return `
import std.traits : isAggregateType, isArray;
import std.range.primitives : ElementType;
public auto get` ~ name[0].toUpper ~ name[1..$] ~ `() {
return this._` ~ name ~ `;
}
public ` ~ ClassName ~ ` set` ~ name[0].toUpper ~ name[1..$] ~ `(` ~ Type ~ ` setter_arg) {
this._` ~ name ~ ` = setter_arg;
return this;
}
`;
}
string GetterSetterAssoc(string Type, string ClassName)(string name) {
import std.ascii : toUpper;
return `
import std.traits : isAggregateType, isArray;
import std.range.primitives : ElementType;
public auto get` ~ name[0].toUpper ~ name[1..$] ~ `() {
return this._` ~ name ~ `;
}
public ` ~ ClassName ~ ` set` ~ name[0].toUpper ~ name[1..$] ~ `(` ~ Type ~ ` setter_arg) {
this._` ~ name ~ ` = setter_arg;
this["` ~ name ~ `"] = JSONValue(setter_arg);
return this;
}
`;
}
string GetterSetterAssocArray(string ValueType, string Type, string ClassName)(string Name) {
import std.ascii : toUpper;
return
`public ` ~ Type ~ ` get` ~ Name[0].toUpper ~ Name[1..$] ~ `() {
import std.array : replace;
import std.traits : isArray;
` ~ Type ~ ` result;
if ("` ~ Name ~ `" in this) {
static if (isArray!(` ~ ValueType ~ `)) {
JSONValue[string] jsonAssocArray = this["` ~ Name ~`"].get!(JSONValue[string]);
foreach (key, value; jsonAssocArray) {
result[key] = to!(` ~ ValueType ~ `)(value.array);
}
} else {
string resultStr = this["` ~ Name ~ `"].toJSON.replace("{", "[").replace("}", "]");
result = to!(` ~ Type ~ `)(resultStr);
}
}
return result;
}
public ` ~ ClassName ~ ` set` ~ Name[0].toUpper ~ Name[1..$] ~ `(` ~ Type ~ ` setter_arg) {
this["` ~ Name ~ `"] = JSONValue(setter_arg);
return this;
}
`;
}
string GetterSetterBasicType(Type, string ClassName)(string Name) {
import std.ascii : toUpper;
return `
public final auto get` ~ Name[0].toUpper ~ Name[1..$] ~ `() {
import std.traits : isArray;
` ~ Type.stringof ~ ` result;
if ("` ~ Name ~ `" in this) {
static if(is(`~ Type.stringof ~` == SysTime)) {
result = SysTime.fromSimpleString(this["` ~ Name ~ `"].toJSON);
} else {
result = to!(` ~ Type.stringof ~ `)(this["` ~ Name ~ `"].toJSON);
static if (!isArray!(` ~ Type.stringof ~ `)) {
return result.nullable;
}
}
}
static if (isArray!(` ~ Type.stringof ~ `) || is(` ~ Type.stringof ~ ` == SysTime)) {
return result;
} else {
return Nullable!` ~ Type.stringof ~ `.init;
}
}
public final ` ~ ClassName ~ ` set` ~ Name[0].toUpper ~ Name[1..$] ~ `(` ~ Type.stringof ~ ` setter_arg) {
static if (is(` ~ Type.stringof ~ ` == SysTime)) {
this["` ~ Name ~ `"] = JSONValue(setter_arg.toString);
} else {
this["` ~ Name ~ `"] = JSONValue(setter_arg);
}
return this;
}
`;
}
string GetterSetterAgregateType(string Type, string ClassName)(string Name) {
import std.ascii : toUpper;
return `
public final auto get` ~ Name[0].toUpper ~ Name[1..$] ~ `() {
import std.traits : isArray;
if ("` ~ Name ~ `" in this) {
static if (isArray!(` ~ Type ~ `)) {
return to!(` ~ Type ~ `)(this["` ~ Name ~ `"].array);
} else {
return cast(` ~ Type ~ `)this["` ~ Name ~ `"];
}
}
return ` ~ Type ~ `.init;
}
public final ` ~ ClassName ~ ` set` ~ Name[0].toUpper ~ Name[1..$] ~ `(` ~ Type ~ ` setter_arg) {
import std.traits : isArray;
static if (isArray!(` ~ Type ~ `)) {
this["` ~ Name ~ `"] = to!(JSONValue[])(setter_arg);
} else {
this["` ~ Name ~ `"] = cast(JSONValue)setter_arg;
}
return this;
}
`;
}
class APIRequest(ReqBody, RequestT = Request, ResponseT = Response) {
RequestT req;
URL url;
ReqBody body;
string mediaContent;
public string alt;
/**
* Data format for the response. [default: json]
*/
public string getAlt() {
return alt;
}
/** Data format for the response. */
public APIRequest!(ReqBody, RequestT, ResponseT) setAlt(string alt) {
this.alt = alt;
this.url.queryParams.add("alt", alt);
return this;
}
/** Selector specifying which fields to include in a partial response. */
public string fields;
/**
* Selector specifying which fields to include in a partial response.
*/
public string getFields() {
return this.fields;
}
/** Selector specifying which fields to include in a partial response. */
public APIRequest!(ReqBody, RequestT, ResponseT) setFields(string fields) {
this.fields = fields;
this.url.queryParams.add("fields", fields);
return this;
}
/**
* API key. Your API key identifies your project and provides you with API access, quota, and
* reports. Required unless you provide an OAuth 2.0 token.
*/
public string key;
/**
* API key. Your API key identifies your project and provides you with API access, quota, and
* reports. Required unless you provide an OAuth 2.0 token.
*/
public string getKey() {
return key;
}
/**
* API key. Your API key identifies your project and provides you with API access, quota, and
* reports. Required unless you provide an OAuth 2.0 token.
*/
public APIRequest!(ReqBody, RequestT, ResponseT) setKey(string key) {
this.key = key;
this.url.queryParams.add("key", key);
return this;
}
/** OAuth 2.0 token for the current user. */
public string oauthToken;
/**
* OAuth 2.0 token for the current user.
*/
public string getOauthToken() {
return oauthToken;
}
/** OAuth 2.0 token for the current user. */
public APIRequest!(ReqBody, RequestT, ResponseT) setOauthToken(string oauthToken) {
this.oauthToken = oauthToken;
return this;
}
/** Returns response with indentations and line breaks. */
public bool prettyPrint;
/**
* Returns response with indentations and line breaks. [default: true]
*/
public bool getPrettyPrint() {
return prettyPrint;
}
/** Returns response with indentations and line breaks. */
public APIRequest!(ReqBody, RequestT, ResponseT) setPrettyPrint(bool prettyPrint) {
this.prettyPrint = prettyPrint;
addQueryParams("prettyPrint", to!(string)(prettyPrint));
return this;
}
/** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */
public string quotaUser;
/**
* An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
*/
public string getQuotaUser() {
return quotaUser;
}
/** An opaque string that represents a user for quota purposes. Must not exceed 40 characters. */
public APIRequest!(ReqBody, RequestT, ResponseT) setQuotaUser(string quotaUser) {
this.quotaUser = quotaUser;
this.url.queryParams.add("quotaUser", quotaUser);
return this;
}
/** Deprecated. Please use quotaUser instead. */
public string userIp;
/**
* Deprecated. Please use quotaUser instead.
*/
public string getUserIp() {
return userIp;
}
/** Deprecated. Please use quotaUser instead. */
public APIRequest!(ReqBody, RequestT, ResponseT) setUserIp(string userIp) {
this.userIp = userIp;
addQueryParams("userIp", userIp);
return this;
}
public APIRequest!(ReqBody, RequestT, ResponseT) setRequestHeaders(string[string] headers) {
this.req.addHeaders(headers);
return this;
}
public APIRequest!(ReqBody, RequestT, ResponseT) addQueryParams(string key, string value) {
this.url.queryParams.add(key, value);
return this;
}
this(string url, ReqBody content = ReqBody.init, string mediaContent = string.init) {
static if (is(RequestT == Request)) {
this.req = Request();
this.req.sslSetVerifyPeer(false);
}
if (content != ReqBody.init) {
this.body = content;
}
this.url = url.parseURL;
}
ReqBody exec(string HttpRequest)() {
import vibe.data.json;
string content;
static if (HttpRequest == "GET") {
content = "";
} else {
content = body.serializeToJson().toString;
}
req.addHeaders([
"Authorization": "Bearer " ~ oauthToken,
"Content-Type": "application/json"
]);
string stringResponse = req.exec!HttpRequest(url, content, "application/json").responseBody.toString;
import std.regex;
auto re = regex("[a-zA-Z./]+\":");
stringResponse = replaceAll(stringResponse, re, "_$&");
Json response = Json(parseJSON(stringResponse));
writeln("=============================\n\n\n");
writeln(response.toString);
writeln("============================\n\n\n");
this.body = deserializeJson!ReqBody(response);
return this.body;
}
static const int MB = 0x100000;
ReqBody upload(string InitialHttpRequest, InputStream = string)(InputStream inputStream) {
import vibe.data.json;
req.addHeaders([
"Authorization": "Bearer " ~ oauthToken
]);
if (this.body == ReqBody.init) {
addQueryParams("uploadType", "media");
auto response = parseJSON(req.exec!InitialHttpRequest(url, inputStream).responseBody.toString);
this.body = deserializeJson!ReqBody(response.toString);
} else {
addQueryParams("uploadType", "resumable");
import std.json : JSONOptions;
string metadata = body.serializeToJson().toString;
req.addHeaders([
"Content-Type": "application/json"
]);
auto response = req.exec!InitialHttpRequest(url, metadata);
string location = response.responseHeaders["location"];
req.clearHeaders();
req.addHeaders([
"Content-Range": "bytes 0-" ~ to!(string)(inputStream.length - 1) ~ "/" ~ to!(string)(inputStream.length)
]);
response = req.exec!"PUT"(location, inputStream);
this.body = deserializeJson!ReqBody(parseJSON(response.responseBody.toString).toString);
}
return this.body;
}
string execUnparsed(string HttpRequest)() {
req.addHeaders([
"Authorization": "Bearer " ~ oauthToken
]);
return req.exec!HttpRequest(url, "").responseBody.toString;
}
}
|
D
|
/**
These _range-construction tools are implemented using templates; but sometimes
an object-based interface for ranges is needed. For this purpose, this module
provides a number of object and $(D interface) definitions that can be used to
wrap around _range objects created by the above templates.
$(BOOKTABLE ,
$(TR $(TD $(D $(LREF InputRange)))
$(TD Wrapper for input ranges.
))
$(TR $(TD $(D $(LREF InputAssignable)))
$(TD Wrapper for input ranges with assignable elements.
))
$(TR $(TD $(D $(LREF ForwardRange)))
$(TD Wrapper for forward ranges.
))
$(TR $(TD $(D $(LREF ForwardAssignable)))
$(TD Wrapper for forward ranges with assignable elements.
))
$(TR $(TD $(D $(LREF BidirectionalRange)))
$(TD Wrapper for bidirectional ranges.
))
$(TR $(TD $(D $(LREF BidirectionalAssignable)))
$(TD Wrapper for bidirectional ranges with assignable elements.
))
$(TR $(TD $(D $(LREF RandomAccessFinite)))
$(TD Wrapper for finite random-access ranges.
))
$(TR $(TD $(D $(LREF RandomAccessAssignable)))
$(TD Wrapper for finite random-access ranges with assignable elements.
))
$(TR $(TD $(D $(LREF RandomAccessInfinite)))
$(TD Wrapper for infinite random-access ranges.
))
$(TR $(TD $(D $(LREF OutputRange)))
$(TD Wrapper for output ranges.
))
$(TR $(TD $(D $(LREF OutputRangeObject)))
$(TD Class that implements the $(D OutputRange) interface and wraps the
$(D put) methods in virtual functions.
))
$(TR $(TD $(D $(LREF InputRangeObject)))
$(TD Class that implements the $(D InputRange) interface and wraps the
input _range methods in virtual functions.
))
$(TR $(TD $(D $(LREF RefRange)))
$(TD Wrapper around a forward _range that gives it reference semantics.
))
)
Source: $(PHOBOSSRC std/range/_interfaces.d)
Macros:
WIKI = Phobos/StdRange
Copyright: Copyright by authors 2008-.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(WEB erdani.com, Andrei Alexandrescu), David Simcha,
and Jonathan M Davis. Credit for some of the ideas in building this module goes
to $(WEB fantascienza.net/leonardo/so/, Leonardo Maffi).
*/
module std.range.interfaces;
import std.range.constraints;
import std.traits;
import std.typetuple;
/**These interfaces are intended to provide virtual function-based wrappers
* around input ranges with element type E. This is useful where a well-defined
* binary interface is required, such as when a DLL function or virtual function
* needs to accept a generic range as a parameter. Note that
* $(LREF isInputRange) and friends check for conformance to structural
* interfaces, not for implementation of these $(D interface) types.
*
* Examples:
* ---
* void useRange(InputRange!int range) {
* // Function body.
* }
*
* // Create a range type.
* auto squares = map!"a * a"(iota(10));
*
* // Wrap it in an interface.
* auto squaresWrapped = inputRangeObject(squares);
*
* // Use it.
* useRange(squaresWrapped);
* ---
*
* Limitations:
*
* These interfaces are not capable of forwarding $(D ref) access to elements.
*
* Infiniteness of the wrapped range is not propagated.
*
* Length is not propagated in the case of non-random access ranges.
*
* See_Also:
* $(LREF inputRangeObject)
*/
interface InputRange(E) {
///
@property E front();
///
E moveFront();
///
void popFront();
///
@property bool empty();
/* Measurements of the benefits of using opApply instead of range primitives
* for foreach, using timings for iterating over an iota(100_000_000) range
* with an empty loop body, using the same hardware in each case:
*
* Bare Iota struct, range primitives: 278 milliseconds
* InputRangeObject, opApply: 436 milliseconds (1.57x penalty)
* InputRangeObject, range primitives: 877 milliseconds (3.15x penalty)
*/
/**$(D foreach) iteration uses opApply, since one delegate call per loop
* iteration is faster than three virtual function calls.
*/
int opApply(int delegate(E));
/// Ditto
int opApply(int delegate(size_t, E));
}
/**Interface for a forward range of type $(D E).*/
interface ForwardRange(E) : InputRange!E {
///
@property ForwardRange!E save();
}
/**Interface for a bidirectional range of type $(D E).*/
interface BidirectionalRange(E) : ForwardRange!(E) {
///
@property BidirectionalRange!E save();
///
@property E back();
///
E moveBack();
///
void popBack();
}
/**Interface for a finite random access range of type $(D E).*/
interface RandomAccessFinite(E) : BidirectionalRange!(E) {
///
@property RandomAccessFinite!E save();
///
E opIndex(size_t);
///
E moveAt(size_t);
///
@property size_t length();
///
alias opDollar = length;
// Can't support slicing until issues with requiring slicing for all
// finite random access ranges are fully resolved.
version(none) {
///
RandomAccessFinite!E opSlice(size_t, size_t);
}
}
/**Interface for an infinite random access range of type $(D E).*/
interface RandomAccessInfinite(E) : ForwardRange!E {
///
E moveAt(size_t);
///
@property RandomAccessInfinite!E save();
///
E opIndex(size_t);
}
/**Adds assignable elements to InputRange.*/
interface InputAssignable(E) : InputRange!E {
///
@property void front(E newVal);
}
/**Adds assignable elements to ForwardRange.*/
interface ForwardAssignable(E) : InputAssignable!E, ForwardRange!E {
///
@property ForwardAssignable!E save();
}
/**Adds assignable elements to BidirectionalRange.*/
interface BidirectionalAssignable(E) : ForwardAssignable!E, BidirectionalRange!E {
///
@property BidirectionalAssignable!E save();
///
@property void back(E newVal);
}
/**Adds assignable elements to RandomAccessFinite.*/
interface RandomFiniteAssignable(E) : RandomAccessFinite!E, BidirectionalAssignable!E {
///
@property RandomFiniteAssignable!E save();
///
void opIndexAssign(E val, size_t index);
}
/**Interface for an output range of type $(D E). Usage is similar to the
* $(D InputRange) interface and descendants.*/
interface OutputRange(E) {
///
void put(E);
}
@safe unittest
{
// 6973
static assert(isOutputRange!(OutputRange!int, int));
}
// CTFE function that generates mixin code for one put() method for each
// type E.
private string putMethods(E...)()
{
import std.conv : to;
string ret;
foreach (ti, Unused; E)
{
ret ~= "void put(E[" ~ to!string(ti) ~ "] e) { .put(_range, e); }";
}
return ret;
}
/**Implements the $(D OutputRange) interface for all types E and wraps the
* $(D put) method for each type $(D E) in a virtual function.
*/
class OutputRangeObject(R, E...) : staticMap!(OutputRange, E) {
// @BUG 4689: There should be constraints on this template class, but
// DMD won't let me put them in.
private R _range;
this(R range) {
this._range = range;
}
mixin(putMethods!E());
}
/**Returns the interface type that best matches $(D R).*/
template MostDerivedInputRange(R) if (isInputRange!(Unqual!R)) {
private alias E = ElementType!R;
static if (isRandomAccessRange!R) {
static if (isInfinite!R) {
alias MostDerivedInputRange = RandomAccessInfinite!E;
} else static if (hasAssignableElements!R) {
alias MostDerivedInputRange = RandomFiniteAssignable!E;
} else {
alias MostDerivedInputRange = RandomAccessFinite!E;
}
} else static if (isBidirectionalRange!R) {
static if (hasAssignableElements!R) {
alias MostDerivedInputRange = BidirectionalAssignable!E;
} else {
alias MostDerivedInputRange = BidirectionalRange!E;
}
} else static if (isForwardRange!R) {
static if (hasAssignableElements!R) {
alias MostDerivedInputRange = ForwardAssignable!E;
} else {
alias MostDerivedInputRange = ForwardRange!E;
}
} else {
static if (hasAssignableElements!R) {
alias MostDerivedInputRange = InputAssignable!E;
} else {
alias MostDerivedInputRange = InputRange!E;
}
}
}
/**Implements the most derived interface that $(D R) works with and wraps
* all relevant range primitives in virtual functions. If $(D R) is already
* derived from the $(D InputRange) interface, aliases itself away.
*/
template InputRangeObject(R) if (isInputRange!(Unqual!R)) {
static if (is(R : InputRange!(ElementType!R))) {
alias InputRangeObject = R;
} else static if (!is(Unqual!R == R)) {
alias InputRangeObject = InputRangeObject!(Unqual!R);
} else {
///
class InputRangeObject : MostDerivedInputRange!(R) {
private R _range;
private alias E = ElementType!R;
this(R range) {
this._range = range;
}
@property E front() { return _range.front; }
E moveFront() {
return .moveFront(_range);
}
void popFront() { _range.popFront(); }
@property bool empty() { return _range.empty; }
static if (isForwardRange!R) {
@property typeof(this) save() {
return new typeof(this)(_range.save);
}
}
static if (hasAssignableElements!R) {
@property void front(E newVal) {
_range.front = newVal;
}
}
static if (isBidirectionalRange!R) {
@property E back() { return _range.back; }
E moveBack() {
return .moveBack(_range);
}
void popBack() { return _range.popBack(); }
static if (hasAssignableElements!R) {
@property void back(E newVal) {
_range.back = newVal;
}
}
}
static if (isRandomAccessRange!R) {
E opIndex(size_t index) {
return _range[index];
}
E moveAt(size_t index) {
return .moveAt(_range, index);
}
static if (hasAssignableElements!R) {
void opIndexAssign(E val, size_t index) {
_range[index] = val;
}
}
static if (!isInfinite!R) {
@property size_t length() {
return _range.length;
}
alias opDollar = length;
// Can't support slicing until all the issues with
// requiring slicing support for finite random access
// ranges are resolved.
version(none) {
typeof(this) opSlice(size_t lower, size_t upper) {
return new typeof(this)(_range[lower..upper]);
}
}
}
}
// Optimization: One delegate call is faster than three virtual
// function calls. Use opApply for foreach syntax.
int opApply(int delegate(E) dg) {
int res;
for(auto r = _range; !r.empty; r.popFront()) {
res = dg(r.front);
if (res) break;
}
return res;
}
int opApply(int delegate(size_t, E) dg) {
int res;
size_t i = 0;
for(auto r = _range; !r.empty; r.popFront()) {
res = dg(i, r.front);
if (res) break;
i++;
}
return res;
}
}
}
}
/**Convenience function for creating an $(D InputRangeObject) of the proper type.
* See $(LREF InputRange) for an example.
*/
InputRangeObject!R inputRangeObject(R)(R range) if (isInputRange!R) {
static if (is(R : InputRange!(ElementType!R))) {
return range;
} else {
return new InputRangeObject!R(range);
}
}
/**Convenience function for creating an $(D OutputRangeObject) with a base range
* of type $(D R) that accepts types $(D E).
Examples:
---
import std.array;
uint[] outputArray;
auto app = appender(&outputArray);
auto appWrapped = outputRangeObject!(uint, uint[])(app);
static assert(is(typeof(appWrapped) : OutputRange!(uint[])));
static assert(is(typeof(appWrapped) : OutputRange!(uint)));
---
*/
template outputRangeObject(E...) {
///
OutputRangeObject!(R, E) outputRangeObject(R)(R range) {
return new OutputRangeObject!(R, E)(range);
}
}
unittest
{
import std.internal.test.dummyrange;
import std.algorithm : equal;
import std.array;
static void testEquality(R)(iInputRange r1, R r2) {
assert(equal(r1, r2));
}
auto arr = [1,2,3,4];
RandomFiniteAssignable!int arrWrapped = inputRangeObject(arr);
static assert(isRandomAccessRange!(typeof(arrWrapped)));
// static assert(hasSlicing!(typeof(arrWrapped)));
static assert(hasLength!(typeof(arrWrapped)));
arrWrapped[0] = 0;
assert(arr[0] == 0);
assert(arr.moveFront() == 0);
assert(arr.moveBack() == 4);
assert(arr.moveAt(1) == 2);
foreach(elem; arrWrapped) {}
foreach(i, elem; arrWrapped) {}
assert(inputRangeObject(arrWrapped) is arrWrapped);
foreach(DummyType; AllDummyRanges) {
auto d = DummyType.init;
static assert(propagatesRangeType!(DummyType,
typeof(inputRangeObject(d))));
static assert(propagatesRangeType!(DummyType,
MostDerivedInputRange!DummyType));
InputRange!uint wrapped = inputRangeObject(d);
assert(equal(wrapped, d));
}
// Test output range stuff.
auto app = appender!(uint[])();
auto appWrapped = outputRangeObject!(uint, uint[])(app);
static assert(is(typeof(appWrapped) : OutputRange!(uint[])));
static assert(is(typeof(appWrapped) : OutputRange!(uint)));
appWrapped.put(1);
appWrapped.put([2, 3]);
assert(app.data.length == 3);
assert(equal(app.data, [1,2,3]));
}
|
D
|
a metal stretcher with wheels
|
D
|
updown.o: C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/updown.c \
C:/Users/Eren/Desktop/ders/EE462/LED_ert_rtw/rtwtypes.h \
C:/PROGRA~1/MATLAB/R2015b/simulink/include/rtw_extmode.h \
C:/PROGRA~1/MATLAB/R2015b/simulink/include/sysran_types.h \
C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/ext_types.h \
C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/ext_share.h \
C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/ext_svr.h \
C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/ext_work.h \
C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/updown_util.h \
C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/dt_info.h \
C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/upsup_public.h
|
D
|
module ast.modules;
import ast.base, ast.namespace, ast.parse, ast.fold, ast.fun;
import tools.ctfe, tools.threadpool;
alias asmfile.startsWith startsWith;
string[] include_path;
bool dumpXMLRep;
static this() {
include_path ~= "/usr/local/include";
include_path ~= "/usr/include";
}
Threadpool tp;
extern(C) void check_imports_usage(string info, Namespace[] imports, bool[] importsUsed) {
foreach (i, ns; imports) if (auto mod = fastcast!(Module) (ns)) {
// importing module with constructor can be valid reason to import never-used module.
if (!mod.constrs.length && !*getPtrResizing(importsUsed, i))
logSmart!(false)("WARN:", info, ": import ", mod.name, " never used. ");
}
}
class Module : NamespaceImporter, IModule, Tree, Named, StoresDebugState, EmittingContext {
string name;
string sourcefile;
string cleaned_name() { return name.cleanup(); }
mixin ImporterImpl!();
Function[] constrs;
Tree[] entries;
Setupable[] setupable;
bool parsingDone;
AsmFile inProgress; // late to the party;
bool _hasDebug = true;
Module[] getAllModuleImports() {
Module[] res;
foreach (ns; getImports())
if (auto mod = fastcast!(Module) (ns))
res ~= mod;
foreach (entry; entries)
if (auto imp = fastcast!(Importer) (entry))
foreach (ns; imp.getImports())
if (auto mod = fastcast!(Module) (ns))
res ~= mod;
return res;
}
bool isValid; // still in the build list; set to false if superceded by a newer Module
bool doneEmitting, alreadyEmat; // one for the parser, the other for the linker
bool dontEmit; // purely definitions, no symbols; nothing to actually compile.
bool splitIntoSections;
private this() { assert(false); }
this(string name, string sourcefile) {
this.name = name;
this.sourcefile = sourcefile;
// needed by sysmod; avoid circle
isValid = true;
}
string filename() { return name.replace(".", "/") ~ EXT; }
void addSetupable(Setupable s) {
setupable ~= s;
if (inProgress) s.setup(inProgress);
}
override {
bool isBeingEmat() { return !!inProgress; }
void _add(string name, Object obj) {
if (auto fn = fastcast!(Function)(obj)) {
if (fn.name == "init") {
fn.sup = this;
constrs ~= fn;
return;
}
}
super._add(name, obj);
}
bool hasDebug() { return _hasDebug; }
void iterate(void delegate(ref Iterable) dg, IterMode mode = IterMode.Lexical) {
if (mode == IterMode.Semantic) fail; // what
auto backup = current_module();
scope(exit) current_module.set(backup);
current_module.set(this);
defaultIterate!(entries).iterate(dg);
}
Module dup() { assert(false, "What the hell are you doing, man. "); }
string getIdentifier() { return name; }
void emitAsm(AsmFile af) {
auto backup = current_module();
scope(exit) current_module.set(backup);
current_module.set(this);
inProgress = af;
foreach (s; setupable) s.setup(af);
scope(exit) inProgress = null;
int i; // NOTE: not a foreach! entries may yet grow.
while (i < entries.length) {
auto entry = entries[i++];
// logln("emit entry ", entry);
if (fastcast!(NoOp) (entry)) continue;
// globvars don't write any code!
// keep our assembly clean. :D
if ((fastcast!(Object) (entry)).classinfo.name != "ast.globvars.GlobVarDecl" && splitIntoSections) {
auto codename = Format("index_", i);
if (auto mang = fastcast!(IsMangled) (entry)) codename = mang.mangleSelf();
if (isWindoze())
af.put(".section .text.", codename, ", \"ax\"");
else if (isARM)
{}
else
af.put(".section .text.", codename, ", \"ax\", @progbits");
}
opt(entry);
entry.emitAsm(af);
}
if (!isARM) af.put(".section .text");
doneEmitting = true;
checkImportsUsage;
}
string mangle(string name, IType type) {
return "module_"~cleaned_name()~"_"~name.cleanup()~(type?("_of_"~type.mangle()):"");
}
Object lookup(string name, bool local = false) {
if (auto res = super.lookup(name)) return res;
if (auto lname = name.startsWith(this.name).startsWith("."))
if (auto res = super.lookup(lname)) return res;
return lookupInImports(name, local);
}
string toString() { return "module "~name; }
}
override Stuple!(IType, string, int)[] stackframe() { assert(false); }
}
static this() {
registerSetupable = (Setupable s) { (fastcast!(Module) (current_module())).addSetupable(s); };
}
extern(C) Namespace __getSysmod() { return sysmod; } // for ast.namespace
Module[string] cache;
Lock cachelock; // also covers currentlyParsing
bool[string] currentlyParsing;
static this() { New(cachelock); }
bool delegate(Module) rereadMod;
// some module names may require special handling
// for instance, c.*
Module delegate(string) specialHandler;
import tools.compat: read, castLike, exists, sub;
string[] module_stack;
Module[string] modules_wip;
Module lookupMod(string name) {
foreach (i, mod; module_stack) {
if (mod == name) {
string loop() {
auto parts = module_stack[i..$];
string res;
void add(string s) {
if (res.length) res ~= " -> ";
res ~= s;
}
foreach (part; parts) add(part);
add(name);
return res;
}
logln("WARN: module loop ", loop(), ". This is not well tested. ");
return modules_wip[name];
}
}
module_stack ~= name;
scope(exit) module_stack = module_stack[0..$-1];
if (name == "sys") {
return fastcast!(Module) (sysmod);
}
Module res;
cachelock.Synchronized = {
while (true) {
if (name in currentlyParsing) {
cachelock.Unsynchronized = { slowyield(); };
continue;
}
break;
}
if (auto p = name in cache) {
// return *p; // BAD!
if (!rereadMod || !rereadMod(*p)) {
res = *p;
return;
}
}
currentlyParsing[name] = true;
};
if (res) return res;
scope(exit) cachelock.Synchronized = {
currentlyParsing.remove(name);
};
Module mod;
auto fn = (name.replace(".", "/") ~ EXT);
if (specialHandler) mod = specialHandler(name);
if (!mod) {
if (!fn.exists()) {
foreach (path; include_path) {
auto combined = path.sub(fn);
if (combined.exists()) {
fn = combined;
break;
}
}
}
auto file = fn.read().castLike("");
synchronized(SyncObj!(sourcefiles))
sourcefiles[fn] = file;
mod = fastcast!(Module) (parsecon.parse(file, "tree.module"));
if (!mod)
file.failparse("Could not parse module");
if (file.strip().length)
file.failparse("Failed to parse module");
}
cachelock.Synchronized = {
cache[name] = mod;
};
return mod;
}
|
D
|
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License only.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
module net.pms.util.Iso639;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map : Entry;
import net.pms.PMS;
import net.pms.dlna.DLNAMediaLang;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* This class provides a list of languages mapped to ISO 639 language codes
* and some methods to verify which language matches which ISO code.
*/
public class Iso639 {
private static immutable Logger LOGGER = LoggerFactory.getLogger!Iso639();
/**
* ISO code alias for the language set in the preferences
*/
private static const String LOCAL_ALIAS = "loc";
/**
* Hashmap that contains full language names and their ISO codes.
*/
private static HashMap/*<String, String[]>*/ links = new HashMap/*<String, String[]>*/();
/**
* List that contains all known language names.
*/
private static ArrayList/*<String>*/ languages = new ArrayList/*<String>*/();
/**
* List that contains all known ISO language codes.
*/
private static ArrayList/*<String>*/ codes = new ArrayList/*<String>*/();
static this() {
// Make sure everything is initialized before it is retrieved.
initLinks();
initLanguages();
initCodes();
}
/**
* Returns the full language name for a given ISO language code. Will return
* null when the language name cannot be determined.
*
* @param code
* The ISO language code.
* @return The full language name.
*/
public static String getLanguage(String code) {
if (code is null) {
return null;
}
String lang = null;
Iterator/*<Entry<String, String[]>>*/ iterator = links.entrySet().iterator();
while (iterator.hasNext()) {
Entry<String, String[]> entry = iterator.next();
foreach (String c ; entry.getValue()) {
if (code.equalsIgnoreCase(c)) {
return entry.getKey();
}
}
}
return lang;
}
/**
* Returns the ISO 639_2 code for an ISO code. Will return null if no
* match can be found.
*
* @param code The ISO code.
* @return The ISO 639_2 code.
*/
public static String getISO639_2Code(String code) {
if (code is null) {
return null;
}
String lang = null;
Iterator/*<Entry<String, String[]>>*/ iterator = links.entrySet().iterator();
while (iterator.hasNext()) {
Entry/*<String, String[]>*/ entry = iterator.next();
foreach (String c ; entry.getValue()) {
if (code.equalsIgnoreCase(c)) {
return entry.getValue()[entry.getValue().length - 1].toLowerCase();
}
}
}
return lang;
}
/**
* Returns the ISO code, except when the alias "loc" is used. In that case
* the ISO code of the preferred language in the PMS settings is returned.
*
* @param isoCode An ISO code, or <code>"loc"</code>.
* @return The code.
*/
private static String normalize(String isoCode) {
if (LOCAL_ALIAS.opEquals(isoCode)) {
return PMS.getConfiguration().getLanguage();
} else {
return isoCode;
}
}
/**
* Verifies that a full language name is matching an ISO code. Returns true
* if a match can be made, false otherwise.
*
* @param language
* The full language name.
* @param code
* The ISO code. If "loc" is given, the ISO code of the preferred
* language is used instead.
* @return True if both match, false otherwise.
*/
public static bool isCodeMatching(String language, String code) {
if (language is null || code is null) {
return false;
}
String isoCode = normalize(code);
String[] codes = links.get(language);
foreach (String c ; codes) {
if (c.equalsIgnoreCase(isoCode)) {
return true;
}
}
return false;
}
/**
* Verifies that two ISO codes match the same language. Returns true if a
* match can be made, false otherwise. The alias "loc" can be used as a code,
* it will be replaced by the ISO code of the preferred language from the
* PMS settings.
*
* @param code1 The first ISO code.
* @param code2 The second ISO code.
* @return True if both match, false otherwise.
*/
public static bool isCodesMatching(String code1, String code2) {
if (code1 is null || code2 is null) {
return false;
}
String isoCode1 = normalize(code1);
String isoCode2 = normalize(code2);
Iterator/*<Entry<String, String[]>>*/ iterator = links.entrySet().iterator();
while (iterator.hasNext()) {
Entry/*<String, String[]>*/ entry = iterator.next();
foreach (String c ; entry.getValue()) {
if (isoCode1.equalsIgnoreCase(c)) {
foreach (String c2 ; entry.getValue()) {
if (isoCode2.equalsIgnoreCase(c2)) {
return true;
}
}
}
}
}
return false;
}
/**
* Returns the list of known full language names.
*
* @return The list of languages.
*/
public static ArrayList/*<String>*/ getLanguageList() {
return languages;
}
/**
* Returns the list of known ISO language codes.
*
* @return The list of codes.
*/
public static ArrayList/*<String>*/ getCodeList() {
return codes;
}
/**
* Add a full language name and up to three language codes to the mapping.
* The language codes can be null.
*
* @param language The full language name.
* @param iso6391 The first ISO code
* @param iso6392 The second ISO code
* @param iso6392bis The third ISO code
*/
private static void putCode(String language, String iso6391,
String iso6392, String iso6392bis) {
ArrayList/*<String>*/ codeArray = new ArrayList/*<String>*/();
if (iso6391 !is null) {
codeArray.add(iso6391);
}
if (iso6392 !is null) {
codeArray.add(iso6392);
}
if (iso6392bis !is null) {
codeArray.add(iso6392bis);
}
String[] newCodes = new String[codeArray.size()];
codeArray.toArray(newCodes);
links.put(language, newCodes);
}
/**
* Initialize the list of language strings.
*/
private static void initLanguages() {
Iterator/*<String>*/ iterator = links.keySet().iterator();
while (iterator.hasNext()) {
languages.add(iterator.next());
}
}
/**
* Initialize the list of language codes.
*/
private static void initCodes() {
codes = new ArrayList/*<String>*/();
Iterator/*<String[]>*/ iterator = links.values().iterator();
while (iterator.hasNext()) {
foreach (String s ; iterator.next()) {
codes.add(s);
}
}
}
/**
* Initialize the hashmap containing languages and their codes.
*/
private static void initLinks() {
putCode("Abkhazian", "ab", "abk", "abk");
putCode("Achinese", null, "ace", "ace");
putCode("Acoli", null, "ach", "ach");
putCode("Adangme", null, "ada", "ada");
putCode("Afar", "aa", "aar", "aar");
putCode("Afrihili", null, "afh", "afh");
putCode("Afrikaans", "af", "afr", "afr");
putCode("Afro-Asiatic (Other)", null, "afa", "afa");
putCode("Akan", null, "aka", "aka");
putCode("Akkadian", null, "akk", "akk");
putCode("Albanian", "sq", "sqi", "alb");
putCode("Aleut", null, "ale", "ale");
putCode("Algonquian languages", null, "alg", "alg");
putCode("Altaic (Other)", null, "tut", "tut");
putCode("Amharic", "am", "amh", "amh");
putCode("Apache languages", null, "apa", "apa");
putCode("Arabic", "ar", "ara", "ara");
putCode("Aramaic", null, "arc", "arc");
putCode("Arapaho", null, "arp", "arp");
putCode("Araucanian", null, "arn", "arn");
putCode("Arawak", null, "arw", "arw");
putCode("Armenian", "hy", "hye", "arm");
putCode("Artificial (Other)", null, "art", "art");
putCode("Assamese", "as", "asm", "asm");
putCode("Athapascan languages", null, "ath", "ath");
putCode("Australian languages", null, "aus", "aus");
putCode("Austronesian (Other)", null, "map", "map");
putCode("Avaric", null, "ava", "ava");
putCode("Avestan", "ae", "ave", "ave");
putCode("Awadhi", null, "awa", "awa");
putCode("Aymara", "ay", "aym", "aym");
putCode("Azerbaijani", "az", "aze", "aze");
putCode("Balinese", null, "ban", "ban");
putCode("Baltic (Other)", null, "bat", "bat");
putCode("Baluchi", null, "bal", "bal");
putCode("Bambara", null, "bam", "bam");
putCode("Bamileke languages", null, "bai", "bai");
putCode("Banda", null, "bad", "bad");
putCode("Bantu (Other)", null, "bnt", "bnt");
putCode("Basa", null, "bas", "bas");
putCode("Bashkir", "ba", "bak", "bak");
putCode("Basque", "eu", "eus", "baq");
putCode("Batak (Indonesia)", null, "btk", "btk");
putCode("Beja", null, "bej", "bej");
putCode("Belarusian", "be", "bel", "bel");
putCode("Bemba", null, "bem", "bem");
putCode("Bengali", "bn", "ben", "ben");
putCode("Berber (Other)", null, "ber", "ber");
putCode("Bhojpuri", null, "bho", "bho");
putCode("Bihari", "bh", "bih", "bih");
putCode("Bikol", null, "bik", "bik");
putCode("Bini", null, "bin", "bin");
putCode("Bislama", "bi", "bis", "bis");
putCode("Bosnian", "bs", "bos", "bos");
putCode("Braj", null, "bra", "bra");
putCode("Breton", "br", "bre", "bre");
putCode("Buginese", null, "bug", "bug");
putCode("Bulgarian", "bg", "bul", "bul");
putCode("Buriat", null, "bua", "bua");
putCode("Burmese", "my", "mya", "bur");
putCode("Caddo", null, "cad", "cad");
putCode("Carib", null, "car", "car");
putCode("Catalan", "ca", "cat", "cat");
putCode("Caucasian (Other)", null, "cau", "cau");
putCode("Cebuano", null, "ceb", "ceb");
putCode("Celtic (Other)", null, "cel", "cel");
putCode("Central American Indian (Other)", null, "cai", "cai");
putCode("Chagatai", null, "chg", "chg");
putCode("Chamic languages", null, "cmc", "cmc");
putCode("Chamorro", "ch", "cha", "cha");
putCode("Chechen", "ce", "che", "che");
putCode("Cherokee", null, "chr", "chr");
putCode("Cheyenne", null, "chy", "chy");
putCode("Chibcha", null, "chb", "chb");
putCode("Chichewa; Nyanja", "ny", "nya", "nya");
putCode("Chinese", "zh", "zho", "chi");
putCode("Chinook jargon", null, "chn", "chn");
putCode("Chipewyan", null, "chp", "chp");
putCode("Choctaw", null, "cho", "cho");
putCode("Church Slavic", "cu", "chu", "chu");
putCode("Chuukese", null, "chk", "chk");
putCode("Chuvash", "cv", "chv", "chv");
putCode("Coptic", null, "cop", "cop");
putCode("Cornish", "kw", "cor", "cor");
putCode("Corsican", "co", "cos", "cos");
putCode("Cree", null, "cre", "cre");
putCode("Creek", null, "mus", "mus");
putCode("Creoles and pidgins (Other)", null, "crp", "crp");
putCode("Creoles and pidgins, English-based (Other)", null, "cpe", "cpe");
putCode("Creoles and pidgins, French-based (Other)", null, "cpf", "cpf");
putCode("Creoles and pidgins, Portuguese-based (Other)", null, "cpp", "cpp");
putCode("Croatian", "hr", "hrv", "scr");
putCode("Cushitic (Other)", null, "cus", "cus");
putCode("Czech", "cs", "ces", "cze");
putCode("Dakota", null, "dak", "dak");
putCode("Danish", "da", "dan", "dan");
putCode("Dayak", null, "day", "day");
putCode("Delaware", null, "del", "del");
putCode("Dinka", null, "din", "din");
putCode("Divehi", null, "div", "div");
putCode("Dogri", null, "doi", "doi");
putCode("Dogrib", null, "dgr", "dgr");
putCode("Dravidian (Other)", null, "dra", "dra");
putCode("Duala", null, "dua", "dua");
putCode("Dutch", "nl", "nld", "dut");
putCode("Dutch, Middle (ca. 1050-1350)", null, "dum", "dum");
putCode("Dyula", null, "dyu", "dyu");
putCode("Dzongkha", "dz", "dzo", "dzo");
putCode("Efik", null, "efi", "efi");
putCode("Egyptian (Ancient)", null, "egy", "egy");
putCode("Ekajuk", null, "eka", "eka");
putCode("Elamite", null, "elx", "elx");
putCode("English", "en", "eng", "eng");
putCode("English, Middle (1100-1500)", null, "enm", "enm");
putCode("English, Old (ca.450-1100)", null, "ang", "ang");
putCode("Esperanto", "eo", "epo", "epo");
putCode("Estonian", "et", "est", "est");
putCode("Ewe", null, "ewe", "ewe");
putCode("Ewondo", null, "ewo", "ewo");
putCode("Fang", null, "fan", "fan");
putCode("Fanti", null, "fat", "fat");
putCode("Faroese", "fo", "fao", "fao");
putCode("Fijian", "fj", "fij", "fij");
putCode("Finnish", "fi", "fin", "fin");
putCode("Finno-Ugrian (Other)", null, "fiu", "fiu");
putCode("Fon", null, "fon", "fon");
putCode("French", "fr", "fra", "fre");
putCode("French, Middle (ca.1400-1600)", null, "frm", "frm");
putCode("French, Old (842-ca.1400)", null, "fro", "fro");
putCode("Frisian", "fy", "fry", "fry");
putCode("Friulian", null, "fur", "fur");
putCode("Fulah", null, "ful", "ful");
putCode("Ga", null, "gaa", "gaa");
putCode("Gaelic (Scots)", "gd", "gla", "gla");
putCode("Gallegan", "gl", "glg", "glg");
putCode("Ganda", null, "lug", "lug");
putCode("Gayo", null, "gay", "gay");
putCode("Gbaya", null, "gba", "gba");
putCode("Geez", null, "gez", "gez");
putCode("Georgian", "ka", "kat", "geo");
putCode("German", "de", "deu", "ger");
putCode("German, Low; Saxon, Low; Low German; Low Saxon", null, "nds", "nds");
putCode("German, Middle High (ca.1050-1500)", null, "gmh", "gmh");
putCode("German, Old High (ca.750-1050)", null, "goh", "goh");
putCode("Germanic (Other)", null, "gem", "gem");
putCode("Gilbertese", null, "gil", "gil");
putCode("Gondi", null, "gon", "gon");
putCode("Gorontalo", null, "gor", "gor");
putCode("Gothic", null, "got", "got");
putCode("Grebo", null, "grb", "grb");
putCode("Greek, Ancient (to 1453)", null, "grc", "grc");
putCode("Greek, Modern (1453-)", "el", "ell", "gre");
putCode("Guarani", "gn", "grn", "grn");
putCode("Gujarati", "gu", "guj", "guj");
putCode("Gwich-in", null, "gwi", "gwi");
putCode("Haida", null, "hai", "hai");
putCode("Hausa", "ha", "hau", "hau");
putCode("Hawaiian", null, "haw", "haw");
putCode("Hebrew", "he", "heb", "heb");
putCode("Herero", "hz", "her", "her");
putCode("Hiligaynon", null, "hil", "hil");
putCode("Himachali", null, "him", "him");
putCode("Hindi", "hi", "hin", "hin");
putCode("Hiri Motu", "ho", "hmo", "hmo");
putCode("Hittite", null, "hit", "hit");
putCode("Hmong", null, "hmn", "hmn");
putCode("Hungarian", "hu", "hun", "hun");
putCode("Hupa", null, "hup", "hup");
putCode("Iban", null, "iba", "iba");
putCode("Icelandic", "is", "isl", "ice");
putCode("Igbo", null, "ibo", "ibo");
putCode("Ijo", null, "ijo", "ijo");
putCode("Iloko", null, "ilo", "ilo");
putCode("Indic (Other)", null, "inc", "inc");
putCode("Indo-European (Other)", null, "ine", "ine");
putCode("Indonesian", "id", "ind", "ind");
putCode("Interlingua (International Auxiliary Language Association)", "ia", "ina", "ina");
putCode("Interlingue", "ie", "ile", "ile");
putCode("Inuktitut", "iu", "iku", "iku");
putCode("Inupiaq", "ik", "ipk", "ipk");
putCode("Iranian (Other)", null, "ira", "ira");
putCode("Irish", "ga", "gle", "gle");
putCode("Irish, Middle (900-1200)", null, "mga", "mga");
putCode("Irish, Old (to 900)", null, "sga", "sga");
putCode("Iroquoian languages", null, "iro", "iro");
putCode("Italian", "it", "ita", "ita");
putCode("Japanese", "ja", "jpn", "jpn");
putCode("Javanese", "jw", "jaw", "jav");
putCode("Judeo-Arabic", null, "jrb", "jrb");
putCode("Judeo-Persian", null, "jpr", "jpr");
putCode("Kabyle", null, "kab", "kab");
putCode("Kachin", null, "kac", "kac");
putCode("Kalaallisut", "kl", "kal", "kal");
putCode("Kamba", null, "kam", "kam");
putCode("Kannada", "kn", "kan", "kan");
putCode("Kanuri", null, "kau", "kau");
putCode("Kara-Kalpak", null, "kaa", "kaa");
putCode("Karen", null, "kar", "kar");
putCode("Kashmiri", "ks", "kas", "kas");
putCode("Kawi", null, "kaw", "kaw");
putCode("Kazakh", "kk", "kaz", "kaz");
putCode("Khasi", null, "kha", "kha");
putCode("Khmer", "km", "khm", "khm");
putCode("Khoisan (Other)", null, "khi", "khi");
putCode("Khotanese", null, "kho", "kho");
putCode("Kikuyu", "ki", "kik", "kik");
putCode("Kimbundu", null, "kmb", "kmb");
putCode("Kinyarwanda", "rw", "kin", "kin");
putCode("Kirghiz", "ky", "kir", "kir");
putCode("Komi", "kv", "kom", "kom");
putCode("Kongo", null, "kon", "kon");
putCode("Konkani", null, "kok", "kok");
putCode("Korean", "ko", "kor", "kor");
putCode("Kosraean", null, "kos", "kos");
putCode("Kpelle", null, "kpe", "kpe");
putCode("Kru", null, "kro", "kro");
putCode("Kuanyama", "kj", "kua", "kua");
putCode("Kumyk", null, "kum", "kum");
putCode("Kurdish", "ku", "kur", "kur");
putCode("Kurukh", null, "kru", "kru");
putCode("Kutenai", null, "kut", "kut");
putCode("Ladino", null, "lad", "lad");
putCode("Lahnda", null, "lah", "lah");
putCode("Lamba", null, "lam", "lam");
putCode("Lao", "lo", "lao", "lao");
putCode("Latin", "la", "lat", "lat");
putCode("Latvian", "lv", "lav", "lav");
putCode("Letzeburgesch", "lb", "ltz", "ltz");
putCode("Lezghian", null, "lez", "lez");
putCode("Lingala", "ln", "lin", "lin");
putCode("Lithuanian", "lt", "lit", "lit");
putCode("Low German; Low Saxon; German, Low; Saxon, Low", null, "nds", "nds");
putCode("Low Saxon; Low German; Saxon, Low; German, Low", null, "nds", "nds");
putCode("Lozi", null, "loz", "loz");
putCode("Luba-Katanga", null, "lub", "lub");
putCode("Luba-Lulua", null, "lua", "lua");
putCode("Luiseno", null, "lui", "lui");
putCode("Lunda", null, "lun", "lun");
putCode("Luo (Kenya and Tanzania)", null, "luo", "luo");
putCode("Lushai", null, "lus", "lus");
putCode("Macedonian", "mk", "mkd", "mac");
putCode("Madurese", null, "mad", "mad");
putCode("Magahi", null, "mag", "mag");
putCode("Maithili", null, "mai", "mai");
putCode("Makasar", null, "mak", "mak");
putCode("Malagasy", "mg", "mlg", "mlg");
putCode("Malay", "ms", "msa", "may");
putCode("Malayalam", "ml", "mal", "mal");
putCode("Maltese", "mt", "mlt", "mlt");
putCode("Manchu", null, "mnc", "mnc");
putCode("Mandar", null, "mdr", "mdr");
putCode("Mandingo", null, "man", "man");
putCode("Manipuri", null, "mni", "mni");
putCode("Manobo languages", null, "mno", "mno");
putCode("Manx", "gv", "glv", "glv");
putCode("Maori", "mi", "mri", "mao");
putCode("Marathi", "mr", "mar", "mar");
putCode("Mari", null, "chm", "chm");
putCode("Marshall", "mh", "mah", "mah");
putCode("Marwari", null, "mwr", "mwr");
putCode("Masai", null, "mas", "mas");
putCode("Mayan languages", null, "myn", "myn");
putCode("Mende", null, "men", "men");
putCode("Micmac", null, "mic", "mic");
putCode("Minangkabau", null, "min", "min");
putCode("Miscellaneous languages", null, "mis", "mis");
putCode("Mohawk", null, "moh", "moh");
putCode("Moldavian", "mo", "mol", "mol");
putCode("Mon-Khmer (Other)", null, "mkh", "mkh");
putCode("Mongo", null, "lol", "lol");
putCode("Mongolian", "mn", "mon", "mon");
putCode("Mossi", null, "mos", "mos");
putCode("Munda languages", null, "mun", "mun");
putCode("Nahuatl", null, "nah", "nah");
putCode("Nauru", "na", "nau", "nau");
putCode("Navajo", "nv", "nav", "nav");
putCode("Ndebele, North", "nd", "nde", "nde");
putCode("Ndebele, South", "nr", "nbl", "nbl");
putCode("Ndonga", "ng", "ndo", "ndo");
putCode("Nepali", "ne", "nep", "nep");
putCode("Newari", null, "new", "new");
putCode("Nias", null, "nia", "nia");
putCode("Niger-Kordofanian (Other)", null, "nic", "nic");
putCode("Nilo-Saharan (Other)", null, "ssa", "ssa");
putCode("Niuean", null, "niu", "niu");
putCode("Norse, Old", null, "non", "non");
putCode("North American Indian(Other)", null, "nai", "nai");
putCode("Northern Sami", "se", "sme", "sme");
putCode("Norwegian", "no", "nor", "nor");
putCode("Norwegian Bokmal", "nb", "nob", "nob");
putCode("Norwegian Nynorsk", "nn", "nno", "nno");
putCode("Nubian languages", null, "nub", "nub");
putCode("Nyamwezi", null, "nym", "nym");
putCode("Nyanja; Chichewa", "ny", "nya", "nya");
putCode("Nyankole", null, "nyn", "nyn");
putCode("Nyoro", null, "nyo", "nyo");
putCode("Nzima", null, "nzi", "nzi");
putCode("Occitan (post 1500); Provencal", "oc", "oci", "oci");
putCode("Ojibwa", null, "oji", "oji");
putCode("Oriya", "or", "ori", "ori");
putCode("Oromo", "om", "orm", "orm");
putCode("Osage", null, "osa", "osa");
putCode("Ossetian; Ossetic", "os", "oss", "oss");
putCode("Otomian languages", null, "oto", "oto");
putCode("Pahlavi", null, "pal", "pal");
putCode("Palauan", null, "pau", "pau");
putCode("Pali", "pi", "pli", "pli");
putCode("Pampanga", null, "pam", "pam");
putCode("Pangasinan", null, "pag", "pag");
putCode("Panjabi", "pa", "pan", "pan");
putCode("Papiamento", null, "pap", "pap");
putCode("Papuan (Other)", null, "paa", "paa");
putCode("Persian", "fa", "fas", "per");
putCode("Persian, Old (ca.600-400 B.C.)", null, "peo", "peo");
putCode("Philippine (Other)", null, "phi", "phi");
putCode("Phoenician", null, "phn", "phn");
putCode("Pohnpeian", null, "pon", "pon");
putCode("Polish", "pl", "pol", "pol");
putCode("Portuguese", "pt", "por", "por");
putCode("Prakrit languages", null, "pra", "pra");
putCode("Provencal; Occitan (post 1500)", "oc", "oci", "oci");
putCode("Provencal, Old (to 1500)", null, "pro", "pro");
putCode("Pushto", "ps", "pus", "pus");
putCode("Quechua", "qu", "que", "que");
putCode("Raeto-Romance", "rm", "roh", "roh");
putCode("Rajasthani", null, "raj", "raj");
putCode("Rapanui", null, "rap", "rap");
putCode("Rarotongan", null, "rar", "rar");
putCode("Romance (Other)", null, "roa", "roa");
putCode("Romanian", "ro", "ron", "rum");
putCode("Romany", null, "rom", "rom");
putCode("Rundi", "rn", "run", "run");
putCode("Russian", "ru", "rus", "rus");
putCode("Salishan languages", null, "sal", "sal");
putCode("Samaritan Aramaic", null, "sam", "sam");
putCode("Sami languages (Other)", null, "smi", "smi");
putCode("Samoan", "sm", "smo", "smo");
putCode("Sandawe", null, "sad", "sad");
putCode("Sango", "sg", "sag", "sag");
putCode("Sanskrit", "sa", "san", "san");
putCode("Santali", null, "sat", "sat");
putCode("Sardinian", "sc", "srd", "srd");
putCode("Sasak", null, "sas", "sas");
putCode("Saxon, Low; German, Low; Low Saxon; Low German", null, "nds", "nds");
putCode("Scots", null, "sco", "sco");
putCode("Selkup", null, "sel", "sel");
putCode("Semitic (Other)", null, "sem", "sem");
putCode("Serbian", "sr", "srp", "scc");
putCode("Serer", null, "srr", "srr");
putCode("Shan", null, "shn", "shn");
putCode("Shona", "sn", "sna", "sna");
putCode("Sidamo", null, "sid", "sid");
putCode("Sign languages", null, "sgn", "sgn");
putCode("Siksika", null, "bla", "bla");
putCode("Sindhi", "sd", "snd", "snd");
putCode("Sinhalese", "si", "sin", "sin");
putCode("Sino-Tibetan (Other)", null, "sit", "sit");
putCode("Siouan languages", null, "sio", "sio");
putCode("Slave (Athapascan)", null, "den", "den");
putCode("Slavic (Other)", null, "sla", "sla");
putCode("Slovak", "sk", "slk", "slo");
putCode("Slovenian", "sl", "slv", "slv");
putCode("Sogdian", null, "sog", "sog");
putCode("Somali", "so", "som", "som");
putCode("Songhai", null, "son", "son");
putCode("Soninke", null, "snk", "snk");
putCode("Sorbian languages", null, "wen", "wen");
putCode("Sotho, Northern", null, "nso", "nso");
putCode("Sotho, Southern", "st", "sot", "sot");
putCode("South American Indian (Other)", null, "sai", "sai");
putCode("Spanish", "es", "spa", "spa");
putCode("Sukuma", null, "suk", "suk");
putCode("Sumerian", null, "sux", "sux");
putCode("Sundanese", "su", "sun", "sun");
putCode("Susu", null, "sus", "sus");
putCode("Swahili", "sw", "swa", "swa");
putCode("Swati", "ss", "ssw", "ssw");
putCode("Swedish", "sv", "swe", "swe");
putCode("Syriac", null, "syr", "syr");
putCode("Tagalog", "tl", "tgl", "tgl");
putCode("Tahitian", "ty", "tah", "tah");
putCode("Tai (Other)", null, "tai", "tai");
putCode("Tajik", "tg", "tgk", "tgk");
putCode("Tamashek", null, "tmh", "tmh");
putCode("Tamil", "ta", "tam", "tam");
putCode("Tatar", "tt", "tat", "tat");
putCode("Telugu", "te", "tel", "tel");
putCode("Tereno", null, "ter", "ter");
putCode("Tetum", null, "tet", "tet");
putCode("Thai", "th", "tha", "tha");
putCode("Tibetan", "bo", "bod", "tib");
putCode("Tigre", null, "tig", "tig");
putCode("Tigrinya", "ti", "tir", "tir");
putCode("Timne", null, "tem", "tem");
putCode("Tiv", null, "tiv", "tiv");
putCode("Tlingit", null, "tli", "tli");
putCode("Tok Pisin", null, "tpi", "tpi");
putCode("Tokelau", null, "tkl", "tkl");
putCode("Tonga (Nyasa)", null, "tog", "tog");
putCode("Tonga (Tonga Islands)", "to", "ton", "ton");
putCode("Tsimshian", null, "tsi", "tsi");
putCode("Tsonga", "ts", "tso", "tso");
putCode("Tswana", "tn", "tsn", "tsn");
putCode("Tumbuka", null, "tum", "tum");
putCode("Turkish", "tr", "tur", "tur");
putCode("Turkish, Ottoman (1500-1928)", null, "ota", "ota");
putCode("Turkmen", "tk", "tuk", "tuk");
putCode("Tuvalu", null, "tvl", "tvl");
putCode("Tuvinian", null, "tyv", "tyv");
putCode("Twi", "tw", "twi", "twi");
putCode("Ugaritic", null, "uga", "uga");
putCode("Uighur", "ug", "uig", "uig");
putCode("Ukrainian", "uk", "ukr", "ukr");
putCode("Umbundu", null, "umb", "umb");
putCode("Undetermined", null, DLNAMediaLang.UND, DLNAMediaLang.UND);
putCode("Urdu", "ur", "urd", "urd");
putCode("Uzbek", "uz", "uzb", "uzb");
putCode("Vai", null, "vai", "vai");
putCode("Venda", null, "ven", "ven");
putCode("Vietnamese", "vi", "vie", "vie");
putCode("Volapuk", "vo", "vol", "vol");
putCode("Votic", null, "vot", "vot");
putCode("Wakashan languages", null, "wak", "wak");
putCode("Walamo", null, "wal", "wal");
putCode("Waray", null, "war", "war");
putCode("Washo", null, "was", "was");
putCode("Welsh", "cy", "cym", "wel");
putCode("Wolof", "wo", "wol", "wol");
putCode("Xhosa", "xh", "xho", "xho");
putCode("Yakut", null, "sah", "sah");
putCode("Yao", null, "yao", "yao");
putCode("Yapese", null, "yap", "yap");
putCode("Yiddish", "yi", "yid", "yid");
putCode("Yoruba", "yo", "yor", "yor");
putCode("Yupik languages", null, "ypk", "ypk");
putCode("Zande", null, "znd", "znd");
putCode("Zapotec", null, "zap", "zap");
putCode("Zenaga", null, "zen", "zen");
putCode("Zhuang", "za", "zha", "zha");
putCode("Zulu", "zu", "zul", "zul");
putCode("Zuni", null, "zun", "zun");
}
}
|
D
|
/** オーナードローGDI用。
Dmd: 2.071.0
Date: 2016-May-01 16:41:46
Authors: KUMA
License: CC0
*/
module sworks.win32.gdi;
pragma(lib,"gdi32.lib");
pragma(lib, "Msimg32.lib"); // AlphaBlend とか、GradientFill とか。
import sworks.win32.util;
import sworks.base.matrix;
debug import sworks.win32.dump;
//------------------------------------------------------------------------------
/// Wnd のシュガー
auto dc(T)(Wnd wnd, scope T delegate(Dc) proc)
{
static if (is(T == void))
{
auto hdc = GetDC(wnd.ptr);
proc(Dc(hdc));
ReleaseDC(wnd.ptr, hdc);
}
else
{
auto hdc = GetDC(wnd.ptr);
auto t = proc(Dc(hdc));
ReleaseDC(wnd.ptr, hdc);
return t;
}
}
import std.traits : isCallable;
//------------------------------------------------------------------------------
/// void wm_paint(Dc, ref PAINTSTRUCT) を得る。
template IsPaintHandler(f...) if (1 == f.length && isCallable!f)
{
import std.traits : ParameterTypeTuple, ParameterStorageClassTuple,
ParameterStorageClass, Unqual;
alias TYPE = ParameterTypeTuple!f;
alias PSCT = ParameterStorageClassTuple!f;
enum IsPaintHandler = 2 == TYPE.length
&& is(TYPE[0] : Dc)
&& is(TYPE[1] : PAINTSTRUCT)
&& PSCT[1] == ParameterStorageClass.ref_;
}
//------------------------------------------------------------------------------
/// HDC のラッパ
struct Dc
{
HDC _payload; ///
/// 中身
@property @nogc pure nothrow
auto ptr() inout { return _payload; }
///
@property @nogc
void getBITMAP(ref BITMAP bm)
{ GetObject(GetCurrentObject(_payload, OBJ_BITMAP), BITMAP.sizeof, &bm); }
///
void clear()
{ if (_payload) DeleteDC(_payload); _payload = null; }
///
@property @trusted @nogc pure nothrow
bool empty() const { return _payload is null; }
///
@trusted @nogc pure nothrow
bool opEquals(in Dc d) const
{ return d._payload is _payload; }
///
@trusted @nogc pure nothrow
bool opEquals(in BitmapDc d) const
{ return d.dc._payload is _payload; }
@trusted @nogc pure nothrow
private static RECT toRECT(int x, int y, int w, int h)
{
return RECT(0 < w ? x : x + w, 0 < h ? y : y + h,
0 < w ? x + w : x, 0 < h ? y + h : y);
}
void move(int x, int y)
{ MoveToEx(_payload, x, y, null); }
void line(int x, int y)
{ LineTo(_payload, x, y); }
/// 現在のブラシを使う。
void fill()(in auto ref RECT rc)
{
Rectangle(_payload, rc.left, rc.top, rc.right, rc.bottom);
MoveToEx(_payload, rc.right, rc.bottom, null);
}
/// ditto
void fill(int x, int y, int w, int h)
{ auto rc = toRECT(x, y, w, h); fill(rc); }
/// ditto
void fill(int w, int h)
{
POINT p; MoveToEx(_payload, 0, 0, &p);
auto rc = toRECT(p.x, p.y, w, h);
fill(rc);
}
/// ブラシをハンドルで指定
void fill()(in auto ref RECT rc, HBRUSH br)
{
FillRect(_payload, &rc, br);
MoveToEx(_payload, rc.right, rc.bottom, null);
}
/// ditto
void fill(int x, int y, int w, int h, HBRUSH br)
{ auto rc = toRECT(x, y, w, h); fill(rc, br); }
/// ditto
void fill(int w, int h, HBRUSH br)
{
POINT p; MoveToEx(_payload, 0, 0, &p);
auto rc = toRECT(p.x, p.y, w, h);
fill(rc, br);
}
/// ditto
void fill(int x, int y, int w, int h, ubyte r, ubyte g, ubyte b)
{
auto br = CreateSolidBrush(RGB(r, g, b));
auto rc = toRECT(x, y, w, h);
FillRect(_payload, &rc, br);
DeleteObject(br);
}
/// ditto
void fill(int x, int y, int w, int h, COLORREF c)
{
auto br = CreateSolidBrush(c);
auto rc = toRECT(x, y, w, h);
FillRect(_payload, &rc, br);
DeleteObject(br);
}
/** BR の名前のブラシを得る。
GetStockObject か、 GetSysColorBrush を呼び出す。
もしくは、 "255 150 100" みたいな文字列を色としてブラシを作る。
*/
static HBRUSH getBrush(string BR)()
{
import std.string : toUpper;
static if (is(typeof(mixin(BR.toUpper ~ "_BRUSH"))))
return GetStockObject(mixin(BR.toUpper ~ "_BRUSH"));
else static if (is(typeof(mixin("COLOR_" ~ BR.toUpper))))
return GetSysColorBrush(mixin("COLOR_" ~ BR.toUpper));
else static if (is(typeof(mixin("COLOR" ~ BR.toUpper))))
return GetSysColorBrush(mixin("COLOR" ~ BR.toUpper));
else
{
import sworks.util.panel : toRGB;
enum C = BR.toRGB;
return CreateSolidBrush(C);
}
}
//
@trusted @nogc pure nothrow
static bool definedBrush(string BR)()
{
import std.string : toUpper;
static if (is(typeof(mixin(BR.toUpper ~ "_BRUSH"))))
return true;
else static if (is(typeof(mixin("COLOR_" ~ BR.toUpper))))
return true;
else static if (is(typeof(mixin("COLOR" ~ BR.toUpper))))
return true;
else
return false;
}
/// BR の名前のブラシを選択する。
HBRUSH selectBrush(string BR)()
{ return SelectObject(_payload, getBrush!BR); }
/// ブラシを名前で指定
void fill(string BR)(in auto ref RECT rc)
{
static if (BR == "WHITE" || BR == "BLACK")
fill!BR(rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top);
else
{
auto b = getBrush!BR;
FillRect(_payload, &rc, b);
MoveToEx(_payload, rc.right, rc.bottom, null);
static if (!Dc.definedBrush!BR)
DeleteObject(b);
}
}
/// ditto
void fill(string BR)(int x, int y, int w, int h)
{
static if (BR == "WHITE" || BR == "BLACK")
{
BitBlt(_payload, x, y, w, h, null, 0, 0, mixin(BR ~ "NESS"));
MoveToEx(_payload, x + w, y + h, null);
}
else
{
auto rc = RECT(x, y, x + w, y + h);
fill!BR(rc);
}
}
/// ditto
void fill(string BR)(int w, int h)
{
POINT p; MoveToEx(_payload, 0, 0, &p);
static if (BR == "WHITE" || BR == "BLACK")
fill!BR(p.x, p.y, w, h);
else
{
auto rc = RECT(p.x, p.y, p.x + w, p.y + h);
fill!BR(rc);
}
}
///
SIZE calcTextSize(const(wchar)[] str, HFONT f = null)
{
SIZE size;
if (f !is null) f = SelectObject(_payload, f);
GetTextExtentPoint32W(_payload, str.ptr, cast(int)str.length, &size);
if (f !is null) f = SelectObject(_payload, f);
return size;
}
/// TextOut を呼び出す。
void text(string L = "C")(wstring str)
{
POINT p; MoveToEx(_payload, 0, 0, &p);
text!L(str, p);
}
/// テキストがちょうど入る RECT を返す。
RECT getTextRect(string L = "C")(in int x, in int y, wstring str)
{
enum LAYOUT
{
C = 0x0000,
N = 0x0001,
E = 0x0002,
S = 0x0004,
W = 0x0008,
}
enum l = {
LAYOUT l;
import std.ascii : toUpper;
foreach (one; L) { switch(one.toUpper)
{
case 'N': l |= LAYOUT.N;
break; case 'E': l |= LAYOUT.E;
break; case 'S': l |= LAYOUT.S;
break; case 'W': l |= LAYOUT.W;
break; default:
} }
return l;
}();
auto s = calcTextSize(str);
RECT rc;
if (l & LAYOUT.N) rc.top = y - s.cy;
else if (l & LAYOUT.S) rc.top = y;
else rc.top = y - s.cy / 2;
if (l & LAYOUT.E) rc.left = x;
else if (l & LAYOUT.W) rc.left = x - s.cx;
else rc.left = x - s.cx / 2;
rc.right = rc.left + s.cx;
rc.bottom = rc.top + s.cy;
return rc;
}
/// ditto
void text(string L = "C")(in int x, in int y, wstring str)
{
auto rc = getTextRect!L(x, y, str);
text(rc, str);
}
/// ditto
void text()(in auto ref RECT rc, wstring str)
{
TextOut(_payload, rc.left, rc.top, str.ptr, cast(int)str.length);
MoveToEx(_payload, rc.right, rc.top, null);
}
/** 現在のペンで PolyDraw を呼び出す。
* Assimptote っぽい書式で線を描く。
* 直線 : 1, 2 -- 5, 6
* ベジエ曲線 : 0, 0 -- 1, 2 .. 5, 6 -- 10, 10
* ベジエ曲線(コントロールポイントを明示) : 0, 0 ~~ 1, 2 ~~ 5, 6 ~~ 10, 10
*/
void line(string PATTERN)()
{
///!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/// BUG:
/// error LNK2001: unresolved external symbol
/// dmd2.068.2
///
/// 1. -m64で
/// 2. CTFE時に実行されるラムダ内で定義されている
/// 3. 配列をメンバに持つ構造体の
/// 4. 配列のconcatを行うと
///
struct P{ Vector2f p; string t; }
/// ↑ 本当は ↓の mixin の中に入れたい。
mixin({
import std.string : join;
import std.conv : to;
import sworks.util.cached_buffer;
string[] buf;
@trusted @nogc pure nothrow
static auto toVec(in POINT p)
{ return Vector2f(cast(float)p.x, cast(float)p.y); }
@trusted @nogc pure nothrow
static auto toPt(in Vector2f v)
{ return POINT(cast(int)v.x, cast(int)v.y); }
P[] pos;
bool circle = false;
for (auto c = PATTERN.toCache; !c.empty;)
{
P p;
c.stripLeftWhite;
if (c.empty) break;
switch(c.peek(2))
{
case "..": p.t = "AUTOBEZIER"; c.popFront(2);
break; case "--": p.t = "PT_LINETO"; c.popFront(2);
break; case "~~": p.t = "PT_BEZIERTO"; c.popFront(2);
break; default: p.t = "PT_MOVETO";
}
c.stripLeftWhite;
if (c.empty)
{
if (0 < pos.length)
{ p.p = pos[0].p; circle = true; }
else break;
}
else p.p = toVec(c.toLONGSas!POINT);
pos ~= p;
}
// Bezierのコントロールポイントの準備
Vector2f pp, pd; // 1個前の場所と、接線方向
// 最初だけは特別に準備する。
if (0 < pos.length && pos[0].t == "AUTOBEZIER") // 最初はむり。
pos[0].t = "PT_MOVETO";
// 循環する場合の最初。
if (circle && 1 < pos.length)
{
if ("AUTOBEZIER" == pos[$-1].t)
pd = (pos[1].p - pos[$-2].p).normalizedVector;
else if ("PT_LINETO" == pos[$-1].t)
pd = (pos[$-1].p - pos[$-2].p).normalizedVector;
}
if (0 < pos.length) pp = pos[0].p;
for (size_t i = 1; i < pos.length; ++i) // 0 はとばす。
{
if ("PT_MOVETO" == pos[i].t)
{ pd = Vector2f(); pp = pos[i].p; continue; }
if ("AUTOBEZIER" != pos[i].t)
{
pd = (pos[i].p - pp).normalizedVector;
pp = pos[i].p;
continue;
}
auto dir2 = Vector2f(0, 0);
if (i+1 < pos.length)
{
if ("AUTOBEZIER" == pos[i+1].t)
dir2 = (pos[i+1].p - pp).normalizedVector;
else if ("PT_MOVETO" != pos[i+1].t)
dir2 = (pos[i+1].p - pos[i].p).normalizedVector;
}
else if (circle && pos[1].t != "PT_MOVETO")
dir2 = (pos[1].p - pos[0].p).normalizedVector;
auto p32 = pos[i].p - pp;
auto dot1 = pd.dot(p32) * 0.6;
auto dot2 = dir2.dot(p32) * 0.6;
auto l = p32.length;
pos[i].t = "PT_BEZIERTO";
pos = pos[0..i]
~ [P(pp + pd * (dot2<=0?l:dot2), "PT_BEZIERTO"),
P(pos[i].p - dir2 * (dot1<=0?l:dot1), "PT_BEZIERTO")]
~ pos[i..$];
}
auto buf2 = new string[pos.length];
foreach (i, one; pos) buf2[i] = toPt(one.p).to!string;
buf ~= ["auto pos = [", buf2.join(","), "];"];
foreach (i, one; pos) buf2[i] = one.t;
buf ~= ["auto types = cast(BYTE[])[", buf2.join(","), "];",
"PolyDraw(_payload, pos.ptr, types.ptr, ",
pos.length.to!string, ");"];
return buf.join;
}());
}
/// PATTERN で PolyDraw を定義し、現在のブラシで塗り潰す。
void fill(string PATTERN)()
{
BeginPath(_payload);
line!PATTERN();
EndPath(_payload);
FillPath(_payload);
}
///
void blitTo()(Dc dst, in auto ref RECT r, DWORD dwRop = SRCCOPY)
{
BitBlt(dst.ptr, r.left, r.top, r.right - r.left, r.bottom - r.top,
_payload, 0, 0, dwRop);
}
}
/// 3Dっぽい影のついたウィンドウ色に塗る。
void fill3D(Dc dc, int W, int H)
{
dc.fill!"3DDKSHADOW"(0, 0, W, 1);
dc.fill!"3DDKSHADOW"(0, 1, 1, H);
dc.fill!"3DHILIGHT"(1, 1, W-3, 2);
dc.fill!"3DHILIGHT"(1, 3, 2, H-5);
dc.fill!"3DFACE"(3, 3, W-5, H-5);
dc.fill!"3DDKSHADOW"(0, H-2, W-2, 2);
dc.fill!"3DDKSHADOW"(W-2, 0, 2, H);
}
/// 凹んでる。
void fill3DInv(Dc dc, int W, int H)
{
dc.fill!"3DDKSHADOW"(0, 0, W, 3);
dc.fill!"3DDKSHADOW"(0, 3, 3, H-3);
dc.fill!"3DFACE"(3, 3, W-4, H-4);
dc.fill!"3DDKSHADOW"(W-1, 3, 1, H);
dc.fill!"3DDKSHADOW"(3, H-1, W-3, 1);
}
//------------------------------------------------------------------------------
/** 線形グラデーションで塗る。
x, y, w, h の範囲が少くとも塗り潰される。むしろそれよりハミ出て塗り
潰される。→ クリップして使ってね。
point1 から point2 の間がグラデーションになり、それの外側は端の色となる。
GradientStop.offset = 0 のとき point1 の位置を表し、
〃 = 1 のとき point2 の位置を表す。
$(LINK #sworks.gdi.alphaBlit)関数のソースとして使う場合は stops に指定する
色のアルファ値を反転させておく必要がある。
**/
void fillLinearGradient(Dc dc, int x, int y, int w, int h,
POINT point1, POINT point2,
GradientStop[] stops)
{
// 四隅の座標。
auto lt = Vector2f(x, y);
auto rt = Vector2f(x+w, y);
auto lb = Vector2f(x, y+h);
auto rb = Vector2f(x+w, y+h);
auto pos1 = Vector2f(point1.x, point1.y);
auto pos2 = Vector2f(point2.x, point2.y);
// グラデーションの方向のベクトル
auto v0 = pos2 - pos1;
auto v = v0.normalizedVector;
// グラデーションに垂直な方向
auto v2 = Vector2f(-v.y, v.x);
// 指定範囲をハミ出て塗る為にそれぞれの軸への射影を求めている。
// グラデーション方向に垂直な軸への影
float t, minS =0, maxS = 0;
t = v.cross(lt - pos1);
if (t < minS) minS = t;
else if (maxS < t) maxS = t;
t = v.cross(rt - pos1);
if (t < minS) minS = t;
else if (maxS < t) maxS = t;
t = v.cross(lb - pos1);
if (t < minS) minS = t;
else if (maxS < t) maxS = t;
t = v.cross(rb - pos1);
if (t < minS) minS = t;
else if (maxS < t) maxS = t;
// グラデーション方向への影
float minC = 0, maxC = 0;
t = v.dot(lt - pos1);
if (t < minC) minC = t;
else if (maxC < t) maxC = t;
t = v.dot(rt - pos1);
if (t < minC) minC = t;
else if (maxC < t) maxC = t;
t = v.dot(lb - pos1);
if (t < minC) minC = t;
else if (maxC < t) maxC = t;
t = v.dot(rb - pos1);
if (t < minC) minC = t;
else if (maxC < t) maxC = t;
// 一時的に使うのん
Vector2f vt;
auto v2min = v2 * minS;
auto v2max = v2 * maxS;
auto distance = pos1.distance(pos2);
auto l = stops.length + (minC < 0 ? 1 : 0) + (distance < maxC ? 1 : 0);
auto pos = new Vector2f[l*2];
size_t posi = 0;
auto col = new uint[l];
size_t coli = 0;
// グラデーション開始位置よりも範囲の方が広い。
if (minC < 0)
{
vt = pos1 + v * minC;
pos[posi++] = vt + v2min;
pos[posi++] = vt + v2max;
col[coli++] = stops[0].color;
}
// グラデーション
for (size_t i = 0; i < stops.length; ++i)
{
vt = pos1 + v0 * stops[i].offset;
pos[posi++] = vt + v2min;
pos[posi++] = vt + v2max;
col[coli++] = stops[i].color;
}
// グラデの最後よりも範囲が広い場合。
if (distance < maxC)
{
vt = pos1 + v * maxC;
pos[posi++] = vt + v2min;
pos[posi++] = vt + v2max;
col[coli++] = stops[$-1].color;
}
// 塗り潰し。
fillLinearGradient(dc.ptr, pos, col);
}
/// ditto
struct GradientStop
{
float offset;
COLORREF color;
}
//
private void fillTRIVERTEX(float x, float y, uint color, out TRIVERTEX t)
{
t.x = cast(int)x;
t.y = cast(int)y;
t.Red = GetRValue(color) << 8;
t.Green = GetGValue(color) << 8;
t.Blue = GetBValue(color) << 8;
t.Alpha = (color >> 16) & 0xff00;
}
//
private void fillLinearGradient(HDC hdc, Vector2f[] pos, uint[] col)
{
assert(pos.length == col.length * 2);
auto v = new TRIVERTEX[pos.length];
for (size_t i = 0; i < v.length; ++i)
fillTRIVERTEX(pos[i].x, pos[i].y, col[i>>1], v[i]);
auto t = new GRADIENT_TRIANGLE[pos.length - 2];
for (uint i = 0; i < t.length; i+=2)
{
t[i] = GRADIENT_TRIANGLE(i, i+1, i+2);
t[i+1] = GRADIENT_TRIANGLE(i+2, i+1, i+3);
}
GradientFill(hdc, v.ptr, cast(uint)v.length, t.ptr, cast(uint)t.length,
GRADIENT_FILL_TRIANGLE);
}
/*
pos[0] は中心。
pos[1..$] は、内側から1周ずつ格納されているとする。
col[0] は中心の色
col[$-1] は外側の色。
*/
private void _fillRadialGradient(HDC hdc, Vector2f[] pos, uint[] col)
{
assert(1 < pos.length);
assert(1 < col.length);
// 1周を何分割しているか。
auto div = cast(uint)((pos.length-1) / (col.length - 1));
auto v = new TRIVERTEX[pos.length];
// 中心
fillTRIVERTEX(pos[0].x, pos[0].y, col[0], v[0]);
for (size_t i = 1; i < v.length; ++i)
fillTRIVERTEX(pos[i].x, pos[i].y, col[(i-1)/div+1], v[i]);
auto t = new GRADIENT_TRIANGLE[div + div * 2 * (col.length-2)];
// 最初の一周
for (uint i = 0; i < div-1; ++i)
t[i] = GRADIENT_TRIANGLE(0, i+1, i+2);
t[div-1] = GRADIENT_TRIANGLE(0, div, 1); // 最後の一角
// 残りの周
for (uint i = 0; i < col.length-2; ++i)
{
for (uint j = 0; j < div-1; ++j)
{
t[div + i * div * 2 + j*2]
= GRADIENT_TRIANGLE(1+i*div+j,
1+(i+1)*div+j,
1+(i+1)*div+j+1);
t[div + i * div * 2 + j*2 + 1]
= GRADIENT_TRIANGLE(1+i*div+j,
1+(i+1)*div+j+1,
1+i*div+j+1);
}
// 最後の1角
t[div + (i+1) * div * 2 - 2]
= GRADIENT_TRIANGLE(1+(i+1)*div-1,
1+(i+2)*div-1,
1+(i+1)*div);
t[div + (i+1) * div * 2 - 1]
= GRADIENT_TRIANGLE(1+(i+1)*div-1,
1+i*div,
1+(i+1)*div);
}
// 塗り潰し
GradientFill(hdc, v.ptr, cast(uint)v.length, t.ptr, cast(uint)t.length,
GRADIENT_FILL_TRIANGLE);
}
//------------------------------------------------------------------------------
/** 円形グラデーションで塗る。
x, y, w, h の範囲が少くとも塗り潰される。むしろそれよりハミ出て塗り
潰される。→ クリップして使ってね。
largeCenter から radius の間がグラデーションになり、
それの外側は端の色となる。
GradientStop.offset = 0 のとき、center の位置を表し、
〃 = 1 のとき、center から radius の位置を表す。
Params:
N = 円を何分割するか。
center = グラデーションの中心。
largeCenter = グラデーションの最大円の中心。
radius = グラデーションの最大円の半径。
transform = ようわからん。最後に掛ける。
Ref:
$(LINK http://www.w3.org/TR/SVG/pservers.html#RadialGradientElementGradientTransformAttribute)
**/
void fillRadialGradient(int N)(Dc dc, int x, int y, int w, int h,
POINT center, POINT largeCenter, int radius,
ref Matrix3f transform,
GradientStop[] stops)
{
assert(2 <= stops.length);
// 塗り潰しの最大半径を求める。
float maxRadius = radius;
auto lC = Vector2f(largeCenter.x, largeCenter.y);
auto temp = Vector2f(x, y);
auto dist = lC.distance(temp);
if (maxRadius < dist) maxRadius = dist;
temp = Vector2f(x + w, y);
dist = lC.distance(temp);
if (maxRadius < dist) maxRadius = dist;
temp = Vector2f(x, y + h);
dist = lC.distance(temp);
if (maxRadius < dist) maxRadius = dist;
temp = Vector2f(x + w, y + h);
dist = lC.distance(temp);
if (maxRadius < dist) maxRadius = dist;
// 一時オブジェクト
auto gC = Vector2f(center.x, center.y);
float smallRadius = 0, middleRadius = 0;
float delta = DOUBLE_PI / N;
Vector2f small1, small2, large1, large2;
auto lgC = lC - gC;
// グラデーションに使うやつ。
TRIVERTEX[] v;
GRADIENT_TRIANGLE[] t;
// stop 位置とX軸からの角度で位置を得る。
Vector2f getPos(float r, float rad)
{
auto v = Vector2f(radius, 0);
v.rotate(rad);
v += lgC;
v *= r;
v += gC;
v = transform * v;
return v;
}
//
auto col = new uint[stops.length + (radius < maxRadius ? 1 : 0)];
auto pos = new Vector2f[1 + (stops.length-1) * N
+ (radius < maxRadius ? N : 0)];
// 中心
pos[0] = gC;
col[0] = stops[0].color;
for (size_t i = 1; i < stops.length; ++i)
{
for (size_t j = 0; j < N; ++j)
pos[1+(i-1)*N+j] = getPos(stops[i].offset, delta * j);
col[i] = stops[i].color;
}
if (radius < maxRadius)
{
radius = cast(int)maxRadius;
for (size_t j = 0; j < N; ++j)
pos[$-N+j] = getPos(1, delta * j);
col[$-1] = stops[$-1].color;
}
// 塗り潰し。
_fillRadialGradient(dc.ptr, pos, col);
}
//------------------------------------------------------------------------------
/** src bitmap のアルファチャンネル使わないタイプの半透明合成
$(LINK2 https://msdn.microsoft.com/en-us/library/windows/desktop/dd183351%28v=vs.85%29.aspx, AlphaBlend())用
Params:
alpha = src 全体に適用されるアルファ値。[0, 1]の範囲で、
0 = 透明
1 = 不透明
で指定する。
**/
BOOL alphaBlit(HDC dst, int dstX, int dstY, int dstW, int dstH,
HDC src, int srcX, int srcY, float alpha)
{
return AlphaBlend(dst, dstX, dstY, dstW, dstH, src, srcX, srcY, dstW, dstH,
BLENDFUNCTION(AC_SRC_OVER, 0, cast(BYTE)(0xff * alpha), 0));
}
/// suger
HBITMAP newDIB(HDC dc, int w, int h, ubyte bitCount, out ubyte* pbits)
{
BITMAPINFO bmi;
with (bmi.bmiHeader)
{
biSize = BITMAPINFO.sizeof;
biWidth = w;
biHeight = h;
biPlanes = 1;
biBitCount = bitCount;
biCompression = BI_RGB;
}
void* pb;
auto r = CreateDIBSection(dc, &bmi, DIB_RGB_COLORS, &pb, null, 0);
pbits = cast(ubyte*)pb;
return r;
}
/// ditto
HBITMAP newDIB(HDC dc, int w, int h, ubyte bitCount)
{
BITMAPINFO bmi;
with (bmi.bmiHeader)
{
biSize = BITMAPINFO.sizeof;
biWidth = w;
biHeight = h;
biPlanes = 1;
biBitCount = bitCount;
biCompression = BI_RGB;
}
void* pb;
auto r = CreateDIBSection(dc, &bmi, DIB_RGB_COLORS, &pb, null, 0);
return r;
}
// ※ 実行後、srcの中身は変になってます。
BOOL alphaMerge(HDC dst, int dstX, int dstY, int dstW, int dstH,
HDC src, float alpha = 1.0, bool invert = false)
{
GdiFlush();
auto srcbmp = GetCurrentObject(src, OBJ_BITMAP);
BITMAP srcbm; GetObject(srcbmp, BITMAP.sizeof, &srcbm);
assert(srcbm.bmBitsPixel == 32);
auto pbits = cast(ubyte*)srcbm.bmBits;
auto stride = srcbm.bmWidthBytes;
size_t wh = srcbm.bmWidth * srcbm.bmHeight * 4;
ubyte inv = invert ? 0xff : 0;
for (size_t p = 0; p < wh; p+=4)
{
pbits[p+3] ^= inv;
auto af = (cast(float)pbits[p+3]) / 255f;
pbits[p] = cast(ubyte)((cast(float)pbits[p]) * af);
pbits[p+1] = cast(ubyte)((cast(float)pbits[p+1]) * af);
pbits[p+2] = cast(ubyte)((cast(float)pbits[p+2]) * af);
}
auto r = AlphaBlend(dst, dstX, dstY, dstW, dstH,
src, 0, 0, srcbm.bmWidth, srcbm.bmHeight,
BLENDFUNCTION(AC_SRC_OVER, 0,
cast(ubyte)(255f * alpha), AC_SRC_ALPHA));
return r;
}
/** src 画像のピクセル毎のalpha値を使うタイプの半透明合成を行う。
NOTICE:
proc 内で 引数のデヴァイスコンテキストに画像を書き込む。
この時、画像の alpha チャンネルは 0=不透明、255=透明とする。
直感とは逆なので注意。
関数終了時の dst の alpha チャンネルは 0=透明、255=不透明である。
input 画像の alpha 値が反転しているのは何故かというと、
WIN32の多くの描画関数で、アルファ値に0以外を指定できないからである。
WHITENESS で BitBlt 関数を呼び出した場合は 0xffffffff で塗り潰される。
背景の透明部分を WHITENESS で塗り潰し、不透明部分を普通のペンやブラシで塗
ればうまくいく。
output画像の alpha チャンネルが input画像に対して反転するのは、関数内で呼
び出している $(LINK2 https://msdn.microsoft.com/en-us/library/windows/desktop/dd183351%28v=vs.85%29.aspx, AlphaBlend()関数)
の出力がそうなっているため。
**/
BOOL alphaBlit(HDC dst, int dstX, int dstY, int dstW, int dstH,
void delegate(BitmapDc) proc, float alpha = 1.0)
{
ubyte* pbits;
auto src = BitmapDc(dst, dstW, dstH, 32, pbits);
proc(src);
auto r = alphaMerge(dst, dstX, dstY, dstW, dstH, src.ptr, alpha, true);
src.clear;
return r;
}
/// ditto
BOOL alphaBlit(HDC dst, int dstX, int dstY, int dstW, int dstH,
void delegate(BitmapDc) proc, int srcW, int srcH,
float alpha = 1.0)
{
ubyte* pbits;
auto src = BitmapDc(dst, srcW, srcH, 32, pbits);
proc(src);
auto r = alphaMerge(dst, dstX, dstY, dstW, dstH, src.ptr, alpha, true);
src.clear;
return r;
}
///
BOOL alphaStretch(HDC src, int newW, int newH, bool invert = false)
{
auto dst = BitmapDc(src, newW, newH, 32);
SetStretchBltMode(dst.ptr, HALFTONE);
auto r = alphaMerge(dst.ptr, 0, 0, newW, newH, src, 1.0, invert);
DeleteObject(SelectObject(src, dst.dumpClear));
return r;
}
///
void alphaBlur(HDC src, float strength)
{
assert(1 < strength);
BITMAP srcbm;
GetObject(GetCurrentObject(src, OBJ_BITMAP), BITMAP.sizeof, &srcbm);
assert(srcbm.bmBitsPixel == 32);
auto w = cast(int)(srcbm.bmWidth / strength);
auto h = cast(int)(srcbm.bmHeight / strength);
auto dst = BitmapDc(src, w, h, 32);
SetStretchBltMode(dst.ptr, HALFTONE);
alphaMerge(dst.ptr, 0, 0, w, h, src);
BitBlt(src, 0, 0, srcbm.bmWidth, srcbm.bmHeight, null, 0, 0, BLACKNESS);
SetStretchBltMode(src, HALFTONE);
alphaMerge(src, 0, 0, srcbm.bmWidth, srcbm.bmHeight, dst.ptr);
dst.clear;
}
/* アルファチャンネルを含む。1ピクセル 32bit。0xAABBGGRRのフォーマット。
alpha チャンネルは 0=不透明、255=透明とする。
Params:
W = ボカシの幅
dst = ボカされた画像が出力される。
src と同じだけ確保されている必要がある。
src = 1列目の該当ピクセルを指している。
この関数では、src + num * stride までアクセスする。
stride = 次に読むピクセルまで何byte離れているか。
4の時、横方向へのボカシになる。
4*imageWidth の時、縦方向へのボカシになる。
num = ピクセル数
*/
private void blurBoxA(ubyte* dst, ubyte* src,
in int W, in size_t stride, in int num) pure
{
const int W2 = W>>1;
float r = 0, g = 0, b = 0;
int a, an;
size_t j;
float alpha, n = 0;
for (int i = -W2; i < num; ++i)
{
// 右端の色を追加
if (i+W2 < num)
{
j = (i+W2)*stride;
alpha = 1 - src[j+3] / 255.0f;
r += src[j] * alpha;
g += src[j+1] * alpha;
b += src[j+2] * alpha;
a += src[j+3];
n += alpha;
++an;
}
// 代入
j = i * stride;
if (0 < n && 0 <= i)
{
dst[j] = cast(ubyte)(r / n);
dst[j+1] = cast(ubyte)(g / n);
dst[j+2] = cast(ubyte)(b / n);
}
if (0 < an && 0 <= i)
{
dst[j+3] = cast(ubyte)(a / an);
}
// 左端の色を引く。
if (W2 <= i)
{
j = (i-W2)*stride;
alpha = 1 - src[j+3] / 255.0f;
r -= src[j] * alpha;
g -= src[j+1] * alpha;
b -= src[j+2] * alpha;
a -= src[j+3];
n -= alpha;
--an;
}
}
}
/* ditto
アルファチャンネルなし。1ピクセル24bit
*/
private void blurBox(ubyte* dst, ubyte* src,
in int W, in size_t stride, in int num) pure
{
const int W2 = W>>1;
int r = 0, g = 0, b = 0, n;
size_t j;
for (int i = -W2; i < num; ++i)
{
// 右端の色を追加
if (i+W2 < num)
{
j = (i+W2)*stride;
r += src[j];
g += src[j+1];
b += src[j+2];
++n;
}
// 代入
if (0 < n && 0 <= i)
{
j = i * stride;
dst[j] = cast(ubyte)(r / n);
dst[j+1] = cast(ubyte)(g / n);
dst[j+2] = cast(ubyte)(b / n);
}
// 左端の色を引く。
if (W2 <= i)
{
j = (i-W2)*stride;
r -= src[j];
g -= src[j+1];
b -= src[j+2];
--n;
}
}
}
/** 画像をボカす。
入力/出力画像の alpha チャンネルは 0=不透明、255=透明とするので注意。
引数の BITMAP.bmBits にアクセスするため、この関数を呼ぶ前に
$(LINK2 https://msdn.microsoft.com/en-us/library/windows/desktop/dd144844%28v=vs.85%29.aspx, GdiFlush())を呼んでね。
参照:
$(LINK http://blog.ivank.net/fastest-gaussian-blur.html)
Params:
bm = ボカす画像。
bmBitsPixelは 32 か 24 のみに対応。
W = サンプル数。
2以上でボケます。
N = ボカす回数。
1で box blur
2以上で pseudo gaussian blur。
一辺が W * N の矩形内に色が影響します。
Throws:
bm.bmBitsPixel が 32、24 以外で assertion error。
**/
void blurImage(ref BITMAP bm, in uint W, in ubyte N)
{
auto src = cast(ubyte*)bm.bmBits;
auto w= bm.bmWidth;
auto wb = bm.bmWidthBytes;
auto h = bm.bmHeight;
if (32 == bm.bmBitsPixel)
{
ubyte* dst = (new ubyte[wb * h]).ptr;
for (ubyte i = 0; i < N; ++i)
{
for (size_t y = 0; y < h; ++y)
blurBoxA(dst+y*wb, src+y*wb, W, 4, w);
for (size_t x = 0; x < w; ++x)
blurBoxA(src+x*4, dst+x*4, W, wb, h);
}
}
else if (24 == bm.bmBitsPixel)
{
auto dst = (new ubyte[wb * h]).ptr;
for (ubyte i = 0; i < N; ++i)
{
for (size_t y = 0; y < h; ++y)
blurBox(dst+y*wb, src+y*wb, W, 3, w);
for (size_t x = 0; x < w; ++x)
blurBox(src+x*3, dst+x*3, W, wb, h);
}
}
else assert(0);
}
/** bm のアルファチャンネルを反転させる。
Exception:
b.BitsPixel が32以外だったら assertion error.
**/
@nogc pure
void invertAlpha(ref BITMAP bm)
{
assert(bm.bmBitsPixel == 32);
auto buf = cast(uint*)bm.bmBits;
auto stride = bm.bmWidthBytes >> 2;
for (int y = 0; y < bm.bmHeight; ++y)
for (int x = 0; x < bm.bmWidth; ++x)
buf[y*stride+x] ^= 0xff000000;
}
// ditto
@nogc
void invertAlpha(Dc dc)
{
BITMAP bm; dc.getBITMAP(bm);
assert(bm.bmBitsPixel == 32);
auto buf = cast(uint*)bm.bmBits;
auto stride = bm.bmWidthBytes >> 2;
for (int y = 0; y < bm.bmHeight; ++y)
for (int x = 0; x < bm.bmWidth; ++x)
buf[y*stride+x] ^= 0xff000000;
}
///
HBITMAP cloneBmp(HDC odc, HBITMAP bmp)
{
BITMAP b; GetObject(bmp, BITMAP.sizeof, &b);
auto sdc = CreateCompatibleDC(odc);
auto ddc = CreateCompatibleDC(odc);
auto dbmp = CreateCompatibleBitmap(odc, b.bmWidth, b.bmHeight);
auto psbmp = SelectObject(sdc, bmp);
auto pdbmp = SelectObject(ddc, dbmp);
BitBlt(ddc, 0, 0, b.bmWidth, b.bmHeight, sdc, 0, 0, SRCCOPY);
SelectObject(sdc, psbmp);
SelectObject(ddc, pdbmp);
DeleteObject(sdc);
return dbmp;
}
/// alphaチャンネルからマスク画像を得る。
HBITMAP splitMask(Dc dc, bool invert = false)
{
import std.conv : to;
BITMAP srcbm; dc.getBITMAP(srcbm);
auto src = cast(ubyte*)srcbm.bmBits;
auto srcstride = srcbm.bmWidthBytes;
auto w = srcbm.bmWidth;
auto h = srcbm.bmHeight;
assert (srcbm.bmBitsPixel == 32, srcbm.bmBitsPixel.to!string ~ " != 32");
auto maskdc = BitmapDc(dc.ptr, w, h, 1);
BITMAP maskbm; maskdc.getBITMAP(maskbm);
auto mask = cast(ubyte*)maskbm.bmBits;
auto maskstride = maskbm.bmWidthBytes;
enum cols = [0x00000000, 0xffffffff];
SetDIBColorTable(maskdc.ptr, 0, 2, cast(RGBQUAD*)cols.ptr);
for (int y = 0; y < h; ++y)
{
for (int x = 0; x < w; ++x)
{
if ((0 == (src[y * srcstride + x * 4 + 3])) == invert)
mask[y * maskstride + x / 8] |=
cast(ubyte)(1 << (7-(x % 8)));
}
}
return maskdc.dumpClear;
}
//
void splitMask2(Dc dc, out HBITMAP _col, out HBITMAP _mask, bool invert = false)
{
import std.conv : to;
BITMAP srcbm; dc.getBITMAP(srcbm);
auto src = cast(ubyte*)srcbm.bmBits;
auto srcstride = srcbm.bmWidthBytes;
auto w = srcbm.bmWidth;
auto h = srcbm.bmHeight;
assert (srcbm.bmBitsPixel == 32, srcbm.bmBitsPixel.to!string ~ " != 32");
auto maskdc = BitmapDc(dc.ptr, w, h, 1);
BITMAP maskbm; maskdc.getBITMAP(maskbm);
auto mask = cast(ubyte*)maskbm.bmBits;
auto maskstride = maskbm.bmWidthBytes;
auto colordc = BitmapDc(dc.ptr, w, h, 24);
BITMAP colorbm; colordc.getBITMAP(colorbm);
auto color = cast(ubyte*)colorbm.bmBits;
auto colorstride = colorbm.bmWidthBytes;
auto trueside = invert ? 0 : 1;
auto falseside = invert ? 1 : 0;
for (int y = 0; y < h; ++y)
{
for (int x = 0; x < w; ++x)
{
mask[y * maskstride + x / 8] |= cast(ubyte)
((0xef < (src[y * srcstride + x * 4 + 3]))
? trueside : falseside) << (x % 8);
color[y * colorstride + x * 3 .. y * colorstride + x * 3 + 3] =
src[y * srcstride + x * 4 .. y * srcstride + x * 4 + 3];
}
}
_mask = maskdc.dumpClear;
_col = colordc.dumpClear;
}
//------------------------------------------------------------------------------
/// BitBlt 用のラッパ
struct BitmapDc
{
///
Dc dc;
alias dc this;
private HBITMAP _originalBmp;
private int* _refCount;
///
this(HDC originalDc, int w, int h)
{
dc = Dc(CreateCompatibleDC(originalDc));
auto bmp = CreateCompatibleBitmap(originalDc, w, h);
_originalBmp = SelectObject(dc.ptr, bmp);
_refCount = (new int[1]).ptr;
}
///
this(HDC originalDc, int w, int h, ubyte bpp)
{
dc = Dc(CreateCompatibleDC(originalDc));
auto bmp = newDIB(originalDc, w, h, bpp);
_originalBmp = SelectObject(dc.ptr, bmp);
_refCount = (new int[1]).ptr;
}
///
this(HDC originalDc, int w, int h, ubyte bpp, out ubyte* pbits)
{
dc = Dc(CreateCompatibleDC(originalDc));
auto bmp = newDIB(originalDc, w, h, bpp, pbits);
_originalBmp = SelectObject(dc.ptr, bmp);
_refCount = (new int[1]).ptr;
}
///
this(HDC originalDc, HBITMAP bmp)
{
dc = Dc(CreateCompatibleDC(originalDc));
_originalBmp = SelectObject(dc.ptr, bmp);
_refCount = (new int[1]).ptr;
}
/**
ビットマップの本体とその参照を使い分けることで、不要なメモリコピーを減らす。
*/
@trusted pure nothrow
int incRefCount()
{
++(*_refCount);
return (*_refCount);
}
///
@trusted @nogc pure nothrow
bool opEquals(in BitmapDc d) const
{ return d.dc._payload is dc._payload; }
///
@trusted @nogc pure nothrow
bool opEquals(in Dc d) const
{ return d._payload is dc._payload; }
///
SIZE size() @property
{ BITMAP b; getBITMAP(b); return SIZE(b.bmWidth+1, b.bmHeight+1); }
///
void blitTo(Dc dst, int x, int y, DWORD dwRop = SRCCOPY)
{
auto s = size;
BitBlt(dst.ptr, x, y, s.cx, s.cy, _payload, 0, 0, dwRop);
}
void blitTo(Dc dst, int x, int y, int w, int h, DWORD dwRop = SRCCOPY)
{
BitBlt(dst.ptr, x, y, w, h, _payload, 0, 0, dwRop);
}
///
void clear()
{
if (_refCount !is null && 0 < (*_refCount)) --(*_refCount);
else
{
DeleteObject(SelectObject(dc.ptr, _originalBmp));
dc.clear;
_originalBmp = null;
_refCount = null;
}
}
///
HBITMAP dumpClear()
{
assert(_refCount is null || (*_refCount) == 0);
auto bmp = SelectObject(dc.ptr, _originalBmp);
dc.clear;
_refCount = null;
_originalBmp = null;
return bmp;
}
///
void stretchTo()(Dc dst, in auto ref RECT r, DWORD dwRop = SRCCOPY)
{
BITMAP b; getBITMAP(b);
if (r.right - r.left == b.bmWidth && r.bottom - r.top == b.bmHeight)
BitBlt(dst.ptr, r.left, r.top, b.bmWidth, b.bmHeight,
dc.ptr, 0, 0, dwRop);
else
StretchBlt(dst.ptr, r.left, r.top,
r.right - r.left, r.bottom - r.top,
dc.ptr, 0, 0, b.bmWidth, b.bmHeight, dwRop);
}
}
//==============================================================================
// 画像をくっつける。
/// くっつける元データの抽象型
interface IImageResource { SIZE size(Wnd); void clear(); }
/// 文字のくっつけるデータ
class TextResource : IImageResource
{
wstring text; ///
HFONT font; ///
private SIZE _size;
///
@trusted @nogc pure nothrow
this(wstring t, HFONT f = null){ text = t; font = f; }
//
SIZE size(Wnd wnd)
{
if (_size.cx <= 0) _size = wnd.calcTextSize(text, font);
return _size;
}
//
void clear()
{
if (font !is null) DeleteObject(font);
font = null;
text = null;
_size = SIZE(-1, -1);
}
}
/// 画像のくっつけるデータ
class BmpResource : IImageResource
{
HANDLE handle; ///
private SIZE _size;
///
@trusted @nogc pure nothrow
this(HANDLE h){ handle = h; }
//
SIZE size(Wnd)
{
if (_size.cx <= 0)
{
BITMAP b; GetObject(handle, BITMAP.sizeof, &b);
_size = SIZE(b.bmWidth, b.bmHeight);
}
return _size;
}
//
void clear()
{
if (handle !is null) DeleteObject(handle);
handle = null;
_size = SIZE(-1, -1);
}
}
/// 空白のくっつけるデータ
class SizeResource : IImageResource
{
private SIZE _size;
///
@trusted @nogc pure nothrow
this(SIZE s){ _size = s; }
@trusted @nogc pure nothrow
SIZE size(Wnd) const { return _size; }
void clear() { _size = SIZE(-1, -1); }
}
/// 塗りつぶしデータ
class FillResource : IImageResource
{
RECT rect; ///
HANDLE brush; ///
///
this(int l, int t, int r, int b, HANDLE br = null)
{
rect = RECT(l, t, r, b);
brush = br ? br : GetStockObject(BLACK_BRUSH);
}
this(in RECT r, HANDLE br = null)
{
rect = r;
brush = br ? br : GetStockObject(BLACK_BRUSH);
}
//
@trusted @nogc pure nothrow
SIZE size(Wnd) const { return SIZE(0, 0); } // 占有する領域は 0
//
void clear()
{
if (brush) DeleteObject(brush);
brush = null;
}
}
/// 改行のくっつけるデータ
class LineBreakResource : IImageResource
{
@trusted @nogc pure nothrow :
this(){}
SIZE size(Wnd){ return SIZE(0, 0); }
void clear(){}
}
/// データの列びをどうするか
enum ALIGN
{
LEFT = 0x00, ///
CENTER = 0x01, ///
RIGHT = 0x02, ///
TOP = 0x00, ///
MIDDLE = 0x04, ///
BOTTOM = 0x08, ///
C = CENTER | MIDDLE ///
}
/** 画像とか文字を一緒くたにして画像にする。
Params:
size = 画像サイズを指定する。
ただし、中身がこれより大きくなったら無視される。
**/
HANDLE combine(Wnd wnd, ALIGN al, HBRUSH bgBrush, SIZE size,
IImageResource[] rcs...)
{
import std.utf : toUTF16z;
auto lineSizes = new SIZE[1];
foreach (one; rcs) // 各行のサイズを計算
{
if (cast(LineBreakResource)one) { lineSizes ~= SIZE(0, 0); continue; }
auto s = one.size(wnd);
auto l = &lineSizes[$-1];
l.cx += s.cx;
if (l.cy < s.cy) l.cy = s.cy;
}
SIZE reqSize; // 全体のサイズ
POINT ite;
foreach (one; lineSizes) // 全体のサイズを計算
{
if (reqSize.cx < one.cx) reqSize.cx = one.cx;
reqSize.cy += one.cy;
}
if (reqSize.cx < size.cx)
{
ite.x = (size.cx - reqSize.cx)/2;
reqSize.cx = size.cx;
}
if (reqSize.cy < size.cy)
{
ite.y = (size.cy - reqSize.cy) / 2;
reqSize.cy = size.cy;
}
foreach (one; rcs)
{
if (auto fr = cast(FillResource)one)
{
if (reqSize.cx < fr.rect.right) reqSize.cx = fr.rect.right;
if (reqSize.cy < fr.rect.bottom) reqSize.cy = fr.rect.bottom;
}
}
// デバイスコンテキストとか処理結果となるビットマップの準備
auto odc = GetDC(wnd.ptr);
auto srcDc = CreateCompatibleDC(odc);
auto dstDc = CreateCompatibleDC(odc);
auto odst = SelectObject(dstDc,
CreateCompatibleBitmap(odc, reqSize.cx, reqSize.cy));
ReleaseDC(wnd.ptr, odc);
// 背景塗り潰し。文字の背景色をセット
auto rc = RECT(0, 0, reqSize.cx, reqSize.cy);
FillRect(dstDc, &rc, bgBrush);
LOGBRUSH b; GetObject(bgBrush, LOGBRUSH.sizeof, &b);
if (b.lbStyle == BS_SOLID) SetBkColor(dstDc, b.lbColor);
else SetBkColor(dstDc, TRANSPARENT);
bool linehead = true;
size_t lineNum = 0;
SIZE lineSize, s;
foreach (one; rcs)
{
if (auto fr = cast(FillResource)one)
{
FillRect(dstDc, &fr.rect, fr.brush);
continue;
}
if (linehead) // 行頭では左右の字揃えに合わせて空白を入れる。
{
ite.y += lineSize.cy;
lineSize = lineSizes[lineNum];
if (al & ALIGN.CENTER)
ite.x = (reqSize.cx - lineSize.cx)/2;
else if (al & ALIGN.RIGHT)
ite.x = reqSize.cx - lineSize.cx;
}
if (linehead = ((cast(LineBreakResource)one) !is null), linehead)
{ ++lineNum; continue; }
s = one.size(wnd);
int marginTop = 0; // 各アイテムの上下の揃えに合わせて空白を入れる。
if (al & ALIGN.MIDDLE)
marginTop = (lineSize.cy - s.cy)/2;
else if (al & ALIGN.BOTTOM)
marginTop = lineSize.cy - s.cy;
if (auto tr = cast(TextResource)one)
{
if (tr.font !is null) tr.font = SelectObject(dstDc, tr.font);
TextOut(dstDc, ite.x, ite.y + marginTop, tr.text.ptr,
cast(int)tr.text.length);
if (tr.font !is null) tr.font = SelectObject(dstDc, tr.font);
}
else if (auto br = cast(BmpResource)one)
{
auto osrc = SelectObject(srcDc, br.handle);
BitBlt(dstDc, ite.x, ite.y + marginTop, s.cx, s.cy,
srcDc, 0, 0, SRCCOPY);
SelectObject(srcDc, osrc);
}
ite.x += s.cx;
}
auto result = SelectObject(dstDc, odst);
DeleteObject(srcDc);
DeleteObject(dstDc);
return result;
}
//------------------------------------------------------------------------------
//
//
//
//------------------------------------------------------------------------------
///
struct UpdateTarget
{
@trusted @nogc pure nothrow
this(Wnd w){ _wnd = w; }
@property @trusted @nogc pure nothrow
auto ptr() inout { return &_target; }
void update()
{ if (0 == IsRectEmpty(&_target)) _wnd.redraw(&_target); }
void done() { SetRectEmpty(&_target); }
private:
RECT _target;
Wnd _wnd;
}
/**
常に 60fps で描き変えられるタイプではなく、必要に応じて随時 InvalidateRect
を呼び出すようなプログラムで使う。
_target を通じ、位置情報等が変わった時に更新領域を通知する。
**/
class RectUpdator
{
private RECT* _target;
private bool _v;
private RECT _rc;
/**
Params:
tr = 更新されるターゲット。
v = true -> 見えている。 false -> 見えていない。
l = left
t = top
r = right
b = bottom
**/
this(RECT* tr, bool v, int l = 0, int t = 0, int r = 0, int b = 0)
{
_target = tr;
_v = v;
_rc = RECT(l, t, r, b);
unite;
}
protected void unite()
{ if (_v) { auto r = *_target; UnionRect(_target, &r, &_rc); } }
///
@property @trusted @nogc pure nothrow
bool visible() const { return _v; }
///
@property @trusted @nogc pure nothrow
const(RECT)* ptr() const { return &_rc; }
///
@property @trusted @nogc pure nothrow
ref auto rect() const { return _rc; }
///
@property @trusted @nogc pure nothrow
int left() const { return _rc.left; }
///
@property @trusted @nogc pure nothrow
int right() const { return _rc.right; }
///
@property @trusted @nogc pure nothrow
int top() const { return _rc.top; }
///
@property @trusted @nogc pure nothrow
int bottom() const { return _rc.bottom; }
///
@property @trusted @nogc pure nothrow
int width() const { return _rc.right - _rc.left; }
///
@property @trusted @nogc pure nothrow
int height() const { return _rc.bottom - _rc.top; }
///
void set(int l, int t, int r, int b)
{unite; _rc = RECT(l, t, r, b); unite; }
///
void opAssign()(in auto ref RECT r)
{ unite; _rc = r; unite; }
///
void zero()
{ hide; SetRectEmpty(&_rc); }
///
void show()
{ if (!_v) {_v = true; unite;} }
///
void hide()
{ if (_v) {unite; _v = false; } }
///
bool hits(int x, int y) const
{ return _v && 0 != PtInRect(&_rc, POINT(x, y)); }
}
//------------------------------------------------------------------------------
///
class BmpRect : RectUpdator
{
private BitmapDc _bmp;
///
this(RECT* t, BitmapDc bmp, bool v = false, int x = 0, int y = 0)
{
assert(!bmp.empty);
_bmp = bmp;
auto s = _bmp.size;
super(t, v, x, y, x + s.cx, y + s.cy);
}
///
@property @trusted @nogc pure nothrow
auto dc() inout { return _bmp.dc; }
///
void setCenterX(int x)
{
auto w2 = (right - left)/2;
RectUpdator.set(x - w2, top, x + w2, bottom);
}
///
void setCenterY(int y)
{
auto h2 = (bottom - top)/2;
RectUpdator.set(left, y - h2, right, y + h2);
}
///
void set(int x, int y)
{ RectUpdator.set(x, y, x + right - left, y + bottom - top); }
///
void set(BitmapDc b)
{
if (_bmp == b) return;
_bmp = b;
auto s = b.size;
auto dw2 = (s.cx - (right - left)) / 2;
auto dh2 = (s.cy - (bottom - top)) / 2;
RectUpdator.set(left - dw2, top - dh2, right + dw2, bottom + dh2);
}
///
void set(BitmapDc b, int x, int y)
{
assert(!b.empty);
if (_bmp == b) return;
_bmp = b;
auto s = b.size;
RectUpdator.set(x, y, x + s.cx, y + s.cy);
}
///
void blitTo(Dc dst, DWORD dwRop = SRCCOPY)
{
if (visible)
BitBlt(dst.ptr, left, top, right - left, bottom - top,
_bmp.ptr, 0, 0, dwRop);
}
///
void stretchTo()(Dc dst, in auto ref RECT rc, DWORD dwRop = SRCCOPY)
{
if (visible)
StretchBlt(dst.ptr, rc.left, rc.top,
rc.right - rc.left, rc.bottom - rc.top,
_bmp.ptr, left, top,
right - left, bottom - top, dwRop);
}
///
void clear(){ _bmp.clear; }
}
//------------------------------------------------------------------------------
///
class BrushRect : RectUpdator
{
private HBRUSH _brush;
///
this(RECT* t, bool v, ubyte r, ubyte g, ubyte b)
{
super(t, v);
_brush = CreateSolidBrush(RGB(r, g, b));
}
///
void clear(){ if (_brush) DeleteObject(_brush); _brush = null; }
///
void blitTo(Dc dst)
{ if (visible && 0 == IsRectEmpty(ptr)) dst.fill(rect, _brush); }
}
//------------------------------------------------------------------------------
///
class TextRect : RectUpdator
{
private wstring _text;
protected COLORREF _color;
protected COLORREF _bk;
///
this(RECT* t, bool v, wstring txt = null, COLORREF c = RGB(0, 0, 0),
COLORREF bk = RGB(255, 255, 255))
{ super(t, v); _text = txt; _color = c; _bk = bk; }
///
this(RECT* t, bool v, COLORREF c, COLORREF bk = RGB(255, 255, 255))
{ super(t, v); _color = c; _bk = bk; }
override protected void unite()
{
if (_v)
{
auto r1 = *_target;
auto r2 = RECT(left-5, top-5, right+5, bottom+5);
UnionRect(_target, &r1, &r2);
}
}
///
@property @trusted @nogc pure nothrow
wstring text() const { return _text; }
///
void set(wstring t){ _text = t; }
///
void set(string L = "C")(Wnd w, int x, int y)
{
auto rc = w.dc(dc => dc.getTextRect!L(x, y, _text));
RectUpdator.opAssign(rc);
}
///
void set(string L = "C")(Wnd w, wstring t, int x, int y)
{
_text = t;
auto rc = w.dc(dc => dc.getTextRect!L(x, y, _text));
RectUpdator.opAssign(rc);
}
///
void blitTo(Dc dc)
{
if (visible)
{
COLORREF pc, bc;
pc = SetTextColor(dc.ptr, _color);
bc = SetBkColor(dc.ptr, _bk);
dc.text(rect, _text);
SetTextColor(dc.ptr, pc);
SetBkColor(dc.ptr, bc);
}
}
}
//------------------------------------------------------------------------------
/**
mouseMove を呼び出すことでマウスホバーで絵が変わるようになる。
**/
class HoverRect : BmpRect
{
private BitmapDc _ndc, _adc;
///
this(RECT* t, BitmapDc n, BitmapDc a, bool v = false, int x = 0, int y = 0)
{
assert(!n.empty); assert(!a.empty);
_ndc = n; _adc = a;
super(t, n, v, x, y);
}
///
bool mouseMove(int x, int y)
{
if (!visible) return false;
else if (hits(x, y))
{
if (dc != _adc) set(_adc);
return true;
}
else
{
if (dc != _ndc) set(_ndc);
return false;
}
}
///
void setActive(){ if (dc != _adc) set(_adc); }
///
void setNormal(){ if (dc != _ndc) set(_ndc); }
///
@property @trusted @nogc pure nothrow
bool isActive() const { return dc != _ndc; }
///
void change(BitmapDc n, BitmapDc a)
{
auto f = isActive;
_ndc = n; _adc = a;
if (f) setActive;
else setNormal;
}
//
override void hide()
{ setNormal; super.hide; }
//
override void clear() { _ndc.clear; _adc.clear; _bmp = _ndc; }
}
//------------------------------------------------------------------------------
/// 普通、ホバー、押下の3状態がある。
class S3Rect : HoverRect
{
private BitmapDc _ddc;
///
this(RECT* t, BitmapDc n, BitmapDc a, BitmapDc d, bool v = false,
int x = 0, int y = 0)
{
assert(!d.empty);
super(t, n, a, v, x, y);
_ddc = d;
}
///
override
bool mouseMove(int x, int y)
{
if (hits(x, y))
{
if (!isActive) setActive;
return true;
}
else if (visible)
{
if (isActive) setNormal;
}
return false;
}
///
void setDown(){ if (dc == _adc) set(_ddc); }
///
@property @trusted @nogc pure nothrow
bool isDown() const { return dc == _ddc; }
///
void change(BitmapDc n, BitmapDc a, BitmapDc d)
{
auto f = isDown;
super.change(n, a);
_ddc = d;
if (f) setDown;
}
///
override void clear(){ super.clear; _ddc.clear; }
}
//------------------------------------------------------------------------------
/// マウスホバーで色が変わる文字。
class HoverText : TextRect
{
private COLORREF _normal, _active;
///
this(RECT* t, bool v, COLORREF nc = RGB(150, 150, 150),
COLORREF ac = RGB(0, 0, 0))
{ super(t, v, nc); _normal = nc; _active = ac; }
///
void setActive()
{ if (_color != _active) { _color = _active; unite; }}
///
void setNormal()
{ if (_color != _normal) { _color = _normal; unite; }}
///
void mouseMove(int x, int y)
{ if (hits(x, y)) setActive; else setNormal; }
}
BitmapDc readyBitmap(string PATH, string BG_COLOR, string COLOR)
(HDC dc, int W, int H, bool isLine = false)
{
auto ret = BitmapDc(dc, W, H);
with (ret.dc)
{
fill!BG_COLOR(0, 0, W, H);
selectBrush!COLOR;
if (isLine) line!PATH;
else fill!PATH;
}
return ret;
}
/** マウスホバーで灰色から黒に色が変わるボタン
中身の画像をstatic変数で共用している為、インスタンス毎のclearではなく、
clarAllを呼び出してください。
**/
class THoverButton(int W, int H, string PATH,
string BG_COLOR = "3DFACE",
string N_COLOR = "LTGRAY",
string A_COLOR = "BLACK") : S3Rect
{
private static BitmapDc _normal, _hover, _down;
private static void ready(Wnd wnd)
{
if (!_normal.empty) return;
wnd.dc((dc)
{
_normal = readyBitmap!(PATH, BG_COLOR, N_COLOR)(dc.ptr, W, H);
_hover = readyBitmap!(PATH, BG_COLOR, A_COLOR)(dc.ptr, W, H);
_down = readyBitmap!(PATH, BG_COLOR, A_COLOR)(dc.ptr, W, H, true);
});
}
alias ONCLICK = bool delegate();
private ONCLICK _onClick;
///
static void clearAll()
{
_normal.clear;
_hover.clear;
_down.clear;
}
///
this(Wnd wnd, RECT* ur, ONCLICK dg, bool v = false, int x = 0, int y = 0)
{
ready(wnd);
super(ur, _normal, _hover, _down, v, x, y);
_onClick = dg;
}
/// 呼び出してもなにも起きない。clearAllで本当に解放される。
@trusted @nogc pure nothrow
override void clear(){}
/// ヒットしてたらtrue
bool lDown(int x, int y)
{
bool f;
if (hits(x, y)) { setDown; f = true; }
else if (visible) setNormal;
return f;
}
/// クリックが処理されたら true。ヒットと関係ないので注意。
bool lUp(int x, int y)
{
bool f;
if (hits(x, y))
{
if (isDown && _onClick !is null) f = _onClick();
setActive;
}
else setNormal;
return f;
}
}
/**
*/
class T2StateSwitch(int W, int H, string PATH_ON, string PATH_OFF,
string BG_COLOR = "3DFACE",
string N_COLOR = "LTGRAY",
string A_COLOR = "BLACK") : S3Rect
{
alias ONCLICK = bool delegate(bool);
static void clearAll()
{
_onNormal.clear; _onHover.clear; _onDown.clear;
_offNormal.clear; _offHover.clear; _offDown.clear;
}
this(Wnd wnd, RECT* ur, ONCLICK dg, bool v = false, int x = 0, int y = 0)
{
ready(wnd);
super(ur, _offNormal, _offHover, _offDown, v, x, y);
_onClick = dg;
}
@trusted @nogc pure nothrow override
void clear(){}
bool lDown(int x, int y)
{
bool f;
if (hits(x, y)) { setDown; f = true; }
else if (visible) setNormal;
return f;
}
bool lUp(int x, int y)
{
bool f;
if (hits(x, y))
{
_isOn = !_isOn;
if (isDown && _onClick !is null) f = _onClick(_isOn);
if (_isOn) change(_onNormal, _onHover, _onDown);
else change(_offNormal, _offHover, _offDown);
setActive;
}
else setNormal;
return f;
}
@property @trusted @nogc pure nothrow
bool isOn() const { return _isOn; }
private:
ONCLICK _onClick;
bool _isOn;
static:
BitmapDc _onNormal, _onHover, _onDown, _offNormal, _offHover, _offDown;
void ready(Wnd wnd)
{
if (!_onNormal.empty) return;
wnd.dc((dc)
{
_onNormal = readyBitmap!(PATH_ON, BG_COLOR, N_COLOR)(dc.ptr, W, H);
_onHover = readyBitmap!(PATH_ON, BG_COLOR, A_COLOR)(dc.ptr, W, H);
_onDown = readyBitmap!(PATH_ON, BG_COLOR, A_COLOR)
(dc.ptr, W, H, true);
_offNormal = readyBitmap!(PATH_OFF, BG_COLOR, N_COLOR)
(dc.ptr, W, H);
_offHover = readyBitmap!(PATH_OFF, BG_COLOR, A_COLOR)(dc.ptr, W, H);
_offDown = readyBitmap!(PATH_OFF, BG_COLOR, A_COLOR)
(dc.ptr, W, H, true);
});
}
}
//------------------------------------------------------------------------------
///
struct SliderStop
{
int value; ///
private HoverText _text;
}
/// スライダーコントール。縦横兼用部分。
class VHSlider(bool isV)
{
import std.algorithm : max, min;
import sworks.win32.gdi;
/// '_L' is 'Long side'. '_S' is 'Short side'.
protected enum
{
THUMB_L = 20,
THUMB_S = 10,
SLIT_S = 4,
}
static if (isV)
{
protected alias THUMB_W = THUMB_L; ///
protected alias THUMB_H = THUMB_S; ///
protected alias SLIT_W = SLIT_S; ///
protected alias SLIT_H = _slit_length; ///
}
else
{
protected alias THUMB_W = THUMB_S; ///
protected alias THUMB_H = THUMB_L; ///
protected alias SLIT_H = SLIT_S; ///
protected alias SLIT_W = _slit_length; ///
}
///
protected static BitmapDc _thumbDc;
///
static BitmapDc ready(Wnd wnd)
{
if (!_thumbDc.empty) return _thumbDc;
wnd.dc((dc)
{
_thumbDc = BitmapDc(dc.ptr, THUMB_W, THUMB_H);
_thumbDc.fill3D(THUMB_W, THUMB_H);
});
return _thumbDc;
}
///
static void clearAll() { _thumbDc.clear; }
protected Wnd _wnd; /// owner
protected RECT* _target; /// 更新領域を通知する対象。
protected BmpRect _thumb; /// ツマミのビットマップ
protected POINT _pos; /// ツマミ幅を含むスライダの左上の位置
protected int _slit_length; /// スライダの長さ
protected int _min, _max, _value;
/// スライダ右/下に表示されるラベル
/// クリックでその位置にツマミが移動する。
protected SliderStop[] _stops;
///
this(Wnd wnd, RECT* tr, int min, int max,
bool v, int x = 0, int y = 0, int len = 0)
{
_wnd = wnd;
_target = tr;
_pos = POINT(x, y);
_slit_length = len;
_min = min; _max = max;
_value = min;
_thumb = new BmpRect(tr, ready(wnd), v, x, y);
}
///
@trusted @nogc pure nothrow
POINT getPixelPos(int p) const
{
static if (isV)
return POINT(_pos.x, cast(int)(_pos.y + cast(float)_slit_length
* (_max-p) / (_max - _min)));
else
return POINT(cast(int)(_pos.x + cast(float)_slit_length
* (p-_min) / (_max - _min)), _pos.y);
}
///
@trusted @nogc pure nothrow
int mouseToLogical(int x, int y) const
{
static if (isV)
return max(_min, min(_max,
cast(int)(_max - cast(float)(y - _pos.y)
/ _slit_length * (_max - _min))));
else
return max(_min, min(_max,
cast(int)(_min + cast(float)(x - _pos.x)
/ _slit_length * (_max - _min))));
}
///
@property @trusted @nogc pure nothrow
int value() const { return _value; }
///
@property
void value(int v)
{
_value = max(_min, min(_max, v));
auto p = getPixelPos(_value);
_thumb.set(p.x - THUMB_W/2, p.y - THUMB_H/2);
}
///
void move(int x, int y, int h)
{
_pos.x = x; _pos.y = y; _slit_length = h;
value = _value;
}
///
void blitTo(Dc dc)
{
static if (isV)
dc.fill!"black"(_pos.x - SLIT_W/2, _pos.y, SLIT_W, SLIT_H);
else
dc.fill!"black"(_pos.x, _pos.y - SLIT_H/2, SLIT_W, SLIT_H);
foreach (one; _stops) one._text.blitTo(dc);
_thumb.blitTo(dc);
}
///
protected POINT _offset;
///
protected bool _nowDragging;
///
bool mousedown(int x, int y)
{
if (_thumb.hits(x, y))
{
auto p = getPixelPos(_value);
_offset = POINT(x - p.x, y - p.y);
_nowDragging = true;
foreach (one; _stops)
one._text.setNormal;
return true;
}
return false;
}
///
bool mouseup(int x, int y)
{
if (!_nowDragging) foreach (one; _stops)
{
if (one._text.hits(x, y))
{
value = one.value;
return true;
}
}
_nowDragging = false;
return false;
}
///
bool mousemove(int x, int y)
{
if (_nowDragging)
{
value = mouseToLogical(x - _offset.x, y - _offset.y);
return true;
}
else
{
foreach (one; _stops)
one._text.mouseMove(x, y);
}
return false;
}
///
void clearStops()
{
foreach (one; _stops)
if (one._text !is null) one._text.hide;
_stops = null;
}
///
void resetStops(wstring[int] stops)
{
static if (isV)
enum L = "E";
else
enum L = "S";
auto newl = stops.length;
for (size_t i = newl; i < _stops.length; ++i)
_stops[i]._text.hide;
_stops.length = newl;
size_t i = 0;
foreach (key, val; stops)
{
auto p = getPixelPos(key);
static if (isV)
p.x += THUMB_W/2;
else
p.y += THUMB_H/2;
auto ps = &_stops[i++];
if (ps._text is null)
ps._text = new HoverText(_target, true);
ps.value = key;
ps._text.set!L(_wnd, val, p.x, p.y);
}
}
}
//------------------------------------------------------------------------------
alias VSlider = VHSlider!true; /// ditto
alias HSlider = VHSlider!false; /// ditto
////////////////////XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\\\\\\\\\\\\\\\\\\\\
debug(gdi):
import sworks.win32.multi_window;
final class Test
{ mixin MultiWindowMix!() MWM;
this()
{
MWM.ready.regist;
MWM.create(WS_OVERLAPPEDWINDOW | WS_VISIBLE, "test"w.ptr);
}
LRESULT wm_destroy(Msg)
{
PostQuitMessage(0);
return 0;
}
void wm_paint(Dc dc, ref PAINTSTRUCT ps)
{
int x = 300;
with (dc)
{
line!q{10 10 -- 10 100 .. 60 150 -- 160 150};
line!q{100 20 -- 200 20 .. 200 40 -- 100 40};
fill!"BLACK"(300, 300, 100, 100);
fill!"GRAY"(-30, -30);
line!q{ 200, 200 .. 100, 300 .. 200, 400 .. 300, 300 ..};
selectBrush!"white";
fill!q{ 200, 200 -- 100, 300 -- 200, 400 -- 300, 300 --};
text!"NW"("hello");
}
}
}
void main()
{
import std.utf : toUTF16z;
try
{
scope auto mt = new Test();
for (MSG msg; 0 < GetMessage(&msg, null, 0, 0);)
{ DispatchMessage(&msg); }
}
catch (WinException w) okbox(w.toStringWz);
catch (Throwable t) okbox(t.toString.toUTF16z);
}
|
D
|
/*
* s_tar.d : Tar archive scanner
*/
module s_tar;
import std.stdio, dfile, utils;
enum Tar = "ustar\000";
enum GNUTar = "GNUtar\00";
void scan_tar(File file)
{ // http://www.fileformat.info/format/tar/corion.htm
import core.stdc.string : memcpy;
enum NAMSIZ = 100;
enum TUNMLEN = 32, TGNMLEN = 32;
struct tar_hdr {
char[NAMSIZ] name;
char[8] mode;
char[8] uid;
char[8] gid;
char[12] size;
char[12] mtime;
char[8] chksum;
char linkflag;
char[NAMSIZ] linkname;
char[8] magic;
char[TUNMLEN] uname;
char[TGNMLEN] gname;
char[8] devmajor;
char[8] devminor;
}
tar_hdr h;
scpy(file, &h, h.sizeof, true);
switch (h.linkflag)
{
case 0,'0': report("Normal", false); break;
case '1': report("Link", false); break;
case '2': report("Syslink", false); break;
case '3': report("Character Special", false); break;
case '4': report("Block Special", false); break;
case '5': report("Directory", false); break;
case '6': report("FIFO Special", false); break;
case '7': report("Contiguous", false); break;
default: report("Unknown type Tar archive"); return;
}
write(" Tar archive");
if (More)
{
write(", Reports ", tarstr(h.size), " Bytes");
}
writeln();
}
|
D
|
// Written in the D programming language.
/**
Source: $(PHOBOSSRC std/logger/core.d)
*/
module std.logger.core;
import core.atomic : atomicLoad, atomicOp, atomicStore, MemoryOrder;
import core.sync.mutex : Mutex;
import std.datetime.date : DateTime;
import std.datetime.systime : Clock, SysTime;
import std.range.primitives;
import std.traits;
import std.logger.filelogger;
/** This functions is used at runtime to determine if a `LogLevel` is
active. The same previously defined version statements are used to disable
certain levels. Again the version statements are associated with a compile
unit and can therefore not disable logging in other compile units.
pure bool isLoggingEnabled()(LogLevel ll) @safe nothrow @nogc
*/
bool isLoggingEnabled()(LogLevel ll, LogLevel loggerLL,
LogLevel globalLL, lazy bool condition = true) @safe
{
return ll >= globalLL
&& ll >= loggerLL
&& ll != LogLevel.off
&& globalLL != LogLevel.off
&& loggerLL != LogLevel.off
&& condition;
}
/* This function formates a `SysTime` into an `OutputRange`.
The `SysTime` is formatted similar to
$(LREF std.datatime.DateTime.toISOExtString) except the fractional second part.
The fractional second part is in milliseconds and is always 3 digits.
*/
void systimeToISOString(OutputRange)(OutputRange o, const ref SysTime time)
if (isOutputRange!(OutputRange,string))
{
import std.format.write : formattedWrite;
const auto dt = cast(DateTime) time;
const auto fsec = time.fracSecs.total!"msecs";
formattedWrite(o, "%04d-%02d-%02dT%02d:%02d:%02d.%03d",
dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second,
fsec);
}
/** This function logs data.
In order for the data to be processed, the `LogLevel` of the log call must
be greater or equal to the `LogLevel` of the `sharedLog` and the
`defaultLogLevel`; additionally the condition passed must be `true`.
Params:
ll = The `LogLevel` used by this log call.
condition = The condition must be `true` for the data to be logged.
args = The data that should be logged.
Example:
--------------------
log(LogLevel.warning, true, "Hello World", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll,
lazy bool condition, lazy A args)
if (args.length != 1)
{
stdThreadLocalLog.log!(line, file, funcName, prettyFuncName, moduleName)
(ll, condition, args);
}
/// Ditto
void log(T, string moduleName = __MODULE__)(const LogLevel ll,
lazy bool condition, lazy T arg, int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__)
{
stdThreadLocalLog.log!(T,moduleName)(ll, condition, arg, line, file, funcName,
prettyFuncName);
}
/** This function logs data.
In order for the data to be processed the `LogLevel` of the log call must
be greater or equal to the `LogLevel` of the `sharedLog`.
Params:
ll = The `LogLevel` used by this log call.
args = The data that should be logged.
Example:
--------------------
log(LogLevel.warning, "Hello World", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll, lazy A args)
if (args.length > 1 && !is(Unqual!(A[0]) : bool))
{
stdThreadLocalLog.log!(line, file, funcName, prettyFuncName, moduleName)
(ll, args);
}
/// Ditto
void log(T, string moduleName = __MODULE__)(const LogLevel ll, lazy T arg,
int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__)
{
stdThreadLocalLog.log!T(ll, arg, line, file, funcName, prettyFuncName,
moduleName);
}
/** This function logs data.
In order for the data to be processed the `LogLevel` of the
`sharedLog` must be greater or equal to the `defaultLogLevel`
add the condition passed must be `true`.
Params:
condition = The condition must be `true` for the data to be logged.
args = The data that should be logged.
Example:
--------------------
log(true, "Hello World", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition, lazy A args)
if (args.length != 1)
{
stdThreadLocalLog.log!(line, file, funcName, prettyFuncName, moduleName)
(stdThreadLocalLog.logLevel, condition, args);
}
/// Ditto
void log(T, string moduleName = __MODULE__)(lazy bool condition, lazy T arg,
int line = __LINE__, string file = __FILE__, string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__)
{
stdThreadLocalLog.log!(T,moduleName)(stdThreadLocalLog.logLevel,
condition, arg, line, file, funcName, prettyFuncName);
}
/** This function logs data.
In order for the data to be processed the `LogLevel` of the
`sharedLog` must be greater or equal to the `defaultLogLevel`.
Params:
args = The data that should be logged.
Example:
--------------------
log("Hello World", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy A args)
if ((args.length > 1 && !is(Unqual!(A[0]) : bool)
&& !is(Unqual!(A[0]) == LogLevel))
|| args.length == 0)
{
stdThreadLocalLog.log!(line, file, funcName,
prettyFuncName, moduleName)(stdThreadLocalLog.logLevel, args);
}
void log(T)(lazy T arg, int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__)
{
stdThreadLocalLog.log!T(stdThreadLocalLog.logLevel, arg, line, file,
funcName, prettyFuncName, moduleName);
}
/** This function logs data in a `printf`-style manner.
In order for the data to be processed the `LogLevel` of the log call must
be greater or equal to the `LogLevel` of the `sharedLog` and the
`defaultLogLevel` additionally the condition passed must be `true`.
Params:
ll = The `LogLevel` used by this log call.
condition = The condition must be `true` for the data to be logged.
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
logf(LogLevel.warning, true, "Hello World %f", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll,
lazy bool condition, lazy string msg, lazy A args)
{
stdThreadLocalLog.logf!(line, file, funcName, prettyFuncName, moduleName)
(ll, condition, msg, args);
}
/** This function logs data in a `printf`-style manner.
In order for the data to be processed the `LogLevel` of the log call must
be greater or equal to the `LogLevel` of the `sharedLog` and the
`defaultLogLevel`.
Params:
ll = The `LogLevel` used by this log call.
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
logf(LogLevel.warning, "Hello World %f", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll, lazy string msg,
lazy A args)
{
stdThreadLocalLog.logf!(line, file, funcName, prettyFuncName, moduleName)
(ll, msg, args);
}
/** This function logs data in a `printf`-style manner.
In order for the data to be processed the `LogLevel` of the log call must
be greater or equal to the `defaultLogLevel` additionally the condition
passed must be `true`.
Params:
condition = The condition must be `true` for the data to be logged.
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
logf(true, "Hello World %f", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__, string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition,
lazy string msg, lazy A args)
{
stdThreadLocalLog.logf!(line, file, funcName, prettyFuncName, moduleName)
(stdThreadLocalLog.logLevel, condition, msg, args);
}
/** This function logs data in a `printf`-style manner.
In order for the data to be processed the `LogLevel` of the log call must
be greater or equal to the `defaultLogLevel`.
Params:
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
logf("Hello World %f", 3.1415);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy string msg, lazy A args)
{
stdThreadLocalLog.logf!(line, file, funcName,prettyFuncName, moduleName)
(stdThreadLocalLog.logLevel, msg, args);
}
/** This template provides the global log functions with the `LogLevel`
is encoded in the function name.
The aliases following this template create the public names of these log
functions.
*/
template defaultLogFunction(LogLevel ll)
{
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void defaultLogFunction(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy A args)
if ((args.length > 0 && !is(Unqual!(A[0]) : bool)) || args.length == 0)
{
stdThreadLocalLog.memLogFunctions!(ll).logImpl!(line, file, funcName,
prettyFuncName, moduleName)(args);
}
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void defaultLogFunction(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition, lazy A args)
{
stdThreadLocalLog.memLogFunctions!(ll).logImpl!(line, file, funcName,
prettyFuncName, moduleName)(condition, args);
}
}
/** This function logs data to the `stdThreadLocalLog`, optionally depending
on a condition.
In order for the resulting log message to be logged the `LogLevel` must
be greater or equal than the `LogLevel` of the `stdThreadLocalLog` and
must be greater or equal than the global `LogLevel`.
Additionally the `LogLevel` must be greater or equal than the `LogLevel`
of the `stdSharedLogger`.
If a condition is given, it must evaluate to `true`.
Params:
condition = The condition must be `true` for the data to be logged.
args = The data that should be logged.
Example:
--------------------
trace(1337, "is number");
info(1337, "is number");
error(1337, "is number");
critical(1337, "is number");
fatal(1337, "is number");
trace(true, 1337, "is number");
info(false, 1337, "is number");
error(true, 1337, "is number");
critical(false, 1337, "is number");
fatal(true, 1337, "is number");
--------------------
*/
alias trace = defaultLogFunction!(LogLevel.trace);
/// Ditto
alias info = defaultLogFunction!(LogLevel.info);
/// Ditto
alias warning = defaultLogFunction!(LogLevel.warning);
/// Ditto
alias error = defaultLogFunction!(LogLevel.error);
/// Ditto
alias critical = defaultLogFunction!(LogLevel.critical);
/// Ditto
alias fatal = defaultLogFunction!(LogLevel.fatal);
/** This template provides the global `printf`-style log functions with
the `LogLevel` is encoded in the function name.
The aliases following this template create the public names of the log
functions.
*/
template defaultLogFunctionf(LogLevel ll)
{
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void defaultLogFunctionf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy string msg, lazy A args)
{
stdThreadLocalLog.memLogFunctions!(ll).logImplf!(line, file, funcName,
prettyFuncName, moduleName)(msg, args);
}
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void defaultLogFunctionf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition,
lazy string msg, lazy A args)
{
stdThreadLocalLog.memLogFunctions!(ll).logImplf!(line, file, funcName,
prettyFuncName, moduleName)(condition, msg, args);
}
}
/** This function logs data to the `sharedLog` in a `printf`-style
manner.
In order for the resulting log message to be logged the `LogLevel` must
be greater or equal than the `LogLevel` of the `sharedLog` and
must be greater or equal than the global `LogLevel`.
Additionally the `LogLevel` must be greater or equal than the `LogLevel`
of the `stdSharedLogger`.
Params:
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
tracef("is number %d", 1);
infof("is number %d", 2);
errorf("is number %d", 3);
criticalf("is number %d", 4);
fatalf("is number %d", 5);
--------------------
The second version of the function logs data to the `sharedLog` in a $(D
printf)-style manner.
In order for the resulting log message to be logged the `LogLevel` must
be greater or equal than the `LogLevel` of the `sharedLog` and
must be greater or equal than the global `LogLevel`.
Additionally the `LogLevel` must be greater or equal than the `LogLevel`
of the `stdSharedLogger`.
Params:
condition = The condition must be `true` for the data to be logged.
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
tracef(false, "is number %d", 1);
infof(false, "is number %d", 2);
errorf(true, "is number %d", 3);
criticalf(true, "is number %d", 4);
fatalf(someFunct(), "is number %d", 5);
--------------------
*/
alias tracef = defaultLogFunctionf!(LogLevel.trace);
/// Ditto
alias infof = defaultLogFunctionf!(LogLevel.info);
/// Ditto
alias warningf = defaultLogFunctionf!(LogLevel.warning);
/// Ditto
alias errorf = defaultLogFunctionf!(LogLevel.error);
/// Ditto
alias criticalf = defaultLogFunctionf!(LogLevel.critical);
/// Ditto
alias fatalf = defaultLogFunctionf!(LogLevel.fatal);
private struct MsgRange
{
import std.traits : isSomeString, isSomeChar;
private Logger log;
this(Logger log) @safe
{
this.log = log;
}
void put(T)(T msg) @safe
if (isSomeString!T)
{
log.logMsgPart(msg);
}
void put(dchar elem) @safe
{
import std.utf : encode;
char[4] buffer;
size_t len = encode(buffer, elem);
log.logMsgPart(buffer[0 .. len]);
}
}
private void formatString(A...)(MsgRange oRange, A args)
{
import std.format.write : formattedWrite;
foreach (arg; args)
{
formattedWrite(oRange, "%s", arg);
}
}
@system unittest
{
void dummy() @safe
{
auto tl = new TestLogger();
auto dst = MsgRange(tl);
formatString(dst, "aaa", "bbb");
}
dummy();
}
/**
There are eight usable logging level. These level are $(I all), $(I trace),
$(I info), $(I warning), $(I error), $(I critical), $(I fatal), and $(I off).
If a log function with `LogLevel.fatal` is called the shutdown handler of
that logger is called.
*/
enum LogLevel : ubyte
{
all = 1, /** Lowest possible assignable `LogLevel`. */
trace = 32, /** `LogLevel` for tracing the execution of the program. */
info = 64, /** This level is used to display information about the
program. */
warning = 96, /** warnings about the program should be displayed with this
level. */
error = 128, /** Information about errors should be logged with this
level.*/
critical = 160, /** Messages that inform about critical errors should be
logged with this level. */
fatal = 192, /** Log messages that describe fatal errors should use this
level. */
off = ubyte.max /** Highest possible `LogLevel`. */
}
/** This class is the base of every logger. In order to create a new kind of
logger a deriving class needs to implement the `writeLogMsg` method. By
default this is not thread-safe.
It is also possible to `override` the three methods `beginLogMsg`,
`logMsgPart` and `finishLogMsg` together, this option gives more
flexibility.
*/
abstract class Logger
{
import std.array : appender, Appender;
import std.concurrency : thisTid, Tid;
/** LogEntry is a aggregation combining all information associated
with a log message. This aggregation will be passed to the method
writeLogMsg.
*/
protected struct LogEntry
{
/// the filename the log function was called from
string file;
/// the line number the log function was called from
int line;
/// the name of the function the log function was called from
string funcName;
/// the pretty formatted name of the function the log function was
/// called from
string prettyFuncName;
/// the name of the module the log message is coming from
string moduleName;
/// the `LogLevel` associated with the log message
LogLevel logLevel;
/// thread id of the log message
Tid threadId;
/// the time the message was logged
SysTime timestamp;
/// the message of the log message
string msg;
/// A refernce to the `Logger` used to create this `LogEntry`
Logger logger;
}
/**
Every subclass of `Logger` has to call this constructor from their
constructor. It sets the `LogLevel`, and creates a fatal handler. The fatal
handler will throw an `Error` if a log call is made with level
`LogLevel.fatal`.
Params:
lv = `LogLevel` to use for this `Logger` instance.
*/
this(this This)(LogLevel lv)
{
this.logLevel_ = lv;
this.fatalHandler_ = delegate() {
throw new Error("A fatal log message was logged");
};
this.mutex = new typeof(mutex)();
}
/** A custom logger must implement this method in order to work in a
`MultiLogger` and `ArrayLogger`.
Params:
payload = All information associated with call to log function.
See_Also: beginLogMsg, logMsgPart, finishLogMsg
*/
abstract protected void writeLogMsg(ref LogEntry payload) @safe;
/* The default implementation will use an `std.array.appender`
internally to construct the message string. This means dynamic,
GC memory allocation. A logger can avoid this allocation by
reimplementing `beginLogMsg`, `logMsgPart` and `finishLogMsg`.
`beginLogMsg` is always called first, followed by any number of calls
to `logMsgPart` and one call to `finishLogMsg`.
As an example for such a custom `Logger` compare this:
----------------
class CLogger : Logger
{
override void beginLogMsg(string file, int line, string funcName,
string prettyFuncName, string moduleName, LogLevel logLevel,
Tid threadId, SysTime timestamp)
{
... logic here
}
override void logMsgPart(const(char)[] msg)
{
... logic here
}
override void finishLogMsg()
{
... logic here
}
void writeLogMsg(ref LogEntry payload)
{
this.beginLogMsg(payload.file, payload.line, payload.funcName,
payload.prettyFuncName, payload.moduleName, payload.logLevel,
payload.threadId, payload.timestamp, payload.logger);
this.logMsgPart(payload.msg);
this.finishLogMsg();
}
}
----------------
*/
protected void beginLogMsg(string file, int line, string funcName,
string prettyFuncName, string moduleName, LogLevel logLevel,
Tid threadId, SysTime timestamp, Logger logger)
@safe
{
msgAppender = appender!string();
header = LogEntry(file, line, funcName, prettyFuncName,
moduleName, logLevel, threadId, timestamp, null, logger);
}
/** Logs a part of the log message. */
protected void logMsgPart(scope const(char)[] msg) @safe
{
msgAppender.put(msg);
}
/** Signals that the message has been written and no more calls to
`logMsgPart` follow. */
protected void finishLogMsg() @safe
{
header.msg = msgAppender.data;
this.writeLogMsg(header);
}
/** The `LogLevel` determines if the log call are processed or dropped
by the `Logger`. In order for the log call to be processed the
`LogLevel` of the log call must be greater or equal to the `LogLevel`
of the `logger`.
These two methods set and get the `LogLevel` of the used `Logger`.
Example:
-----------
auto f = new FileLogger(stdout);
f.logLevel = LogLevel.info;
assert(f.logLevel == LogLevel.info);
-----------
*/
@property final LogLevel logLevel() const pure @safe @nogc
{
return trustedLoad(this.logLevel_);
}
/// Ditto
@property final void logLevel(const LogLevel lv) @safe @nogc
{
atomicStore(this.logLevel_, lv);
}
/** This `delegate` is called in case a log message with
`LogLevel.fatal` gets logged.
By default an `Error` will be thrown.
*/
@property final void delegate() fatalHandler() @safe @nogc
{
synchronized (mutex) return this.fatalHandler_;
}
/// Ditto
@property final void fatalHandler(void delegate() @safe fh) @safe @nogc
{
synchronized (mutex) this.fatalHandler_ = fh;
}
/** This method allows forwarding log entries from one logger to another.
`forwardMsg` will ensure proper synchronization and then call
`writeLogMsg`. This is an API for implementing your own loggers and
should not be called by normal user code. A notable difference from other
logging functions is that the `globalLogLevel` wont be evaluated again
since it is assumed that the caller already checked that.
*/
void forwardMsg(ref LogEntry payload) @trusted
{
if (isLoggingEnabled(payload.logLevel, this.logLevel_,
globalLogLevel))
{
this.writeLogMsg(payload);
if (payload.logLevel == LogLevel.fatal)
this.fatalHandler_();
}
}
/** This template provides the log functions for the `Logger` `class`
with the `LogLevel` encoded in the function name.
For further information see the two functions defined inside of this
template.
The aliases following this template create the public names of these log
functions.
*/
template memLogFunctions(LogLevel ll)
{
/** This function logs data to the used `Logger`.
In order for the resulting log message to be logged the `LogLevel`
must be greater or equal than the `LogLevel` of the used `Logger`
and must be greater or equal than the global `LogLevel`.
Params:
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.trace(1337, "is number");
s.info(1337, "is number");
s.error(1337, "is number");
s.critical(1337, "is number");
s.fatal(1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logImpl(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy A args)
if (args.length == 0 || (args.length > 0 && !is(A[0] : bool)))
{
synchronized (mutex)
{
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
static if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` depending on a
condition.
In order for the resulting log message to be logged the `LogLevel` must
be greater or equal than the `LogLevel` of the used `Logger` and
must be greater or equal than the global `LogLevel` additionally the
condition passed must be `true`.
Params:
condition = The condition must be `true` for the data to be logged.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.trace(true, 1337, "is number");
s.info(false, 1337, "is number");
s.error(true, 1337, "is number");
s.critical(false, 1337, "is number");
s.fatal(true, 1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logImpl(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition,
lazy A args)
{
synchronized (mutex)
{
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel,
condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
static if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` in a
`printf`-style manner.
In order for the resulting log message to be logged the `LogLevel`
must be greater or equal than the `LogLevel` of the used `Logger`
and must be greater or equal than the global `LogLevel` additionally
the passed condition must be `true`.
Params:
condition = The condition must be `true` for the data to be logged.
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stderr);
s.tracef(true, "is number %d", 1);
s.infof(true, "is number %d", 2);
s.errorf(false, "is number %d", 3);
s.criticalf(someFunc(), "is number %d", 4);
s.fatalf(true, "is number %d", 5);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logImplf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition,
lazy string msg, lazy A args)
{
synchronized (mutex)
{
import std.format.write : formattedWrite;
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel,
condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formattedWrite(writer, msg, args);
this.finishLogMsg();
static if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` in a
`printf`-style manner.
In order for the resulting log message to be logged the `LogLevel` must
be greater or equal than the `LogLevel` of the used `Logger` and
must be greater or equal than the global `LogLevel`.
Params:
msg = The `printf`-style string.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stderr);
s.tracef("is number %d", 1);
s.infof("is number %d", 2);
s.errorf("is number %d", 3);
s.criticalf("is number %d", 4);
s.fatalf("is number %d", 5);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logImplf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy string msg, lazy A args)
{
synchronized (mutex)
{
import std.format.write : formattedWrite;
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formattedWrite(writer, msg, args);
this.finishLogMsg();
static if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
}
/// Ditto
alias trace = memLogFunctions!(LogLevel.trace).logImpl;
/// Ditto
alias tracef = memLogFunctions!(LogLevel.trace).logImplf;
/// Ditto
alias info = memLogFunctions!(LogLevel.info).logImpl;
/// Ditto
alias infof = memLogFunctions!(LogLevel.info).logImplf;
/// Ditto
alias warning = memLogFunctions!(LogLevel.warning).logImpl;
/// Ditto
alias warningf = memLogFunctions!(LogLevel.warning).logImplf;
/// Ditto
alias error = memLogFunctions!(LogLevel.error).logImpl;
/// Ditto
alias errorf = memLogFunctions!(LogLevel.error).logImplf;
/// Ditto
alias critical = memLogFunctions!(LogLevel.critical).logImpl;
/// Ditto
alias criticalf = memLogFunctions!(LogLevel.critical).logImplf;
/// Ditto
alias fatal = memLogFunctions!(LogLevel.fatal).logImpl;
/// Ditto
alias fatalf = memLogFunctions!(LogLevel.fatal).logImplf;
/** This method logs data with the `LogLevel` of the used `Logger`.
This method takes a `bool` as first argument. In order for the
data to be processed the `bool` must be `true` and the `LogLevel`
of the Logger must be greater or equal to the global `LogLevel`.
Params:
args = The data that should be logged.
condition = The condition must be `true` for the data to be logged.
args = The data that is to be logged.
Returns: The logger used by the logging function as reference.
Example:
--------------------
auto l = new StdioLogger();
l.log(1337);
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll,
lazy bool condition, lazy A args)
if (args.length != 1)
{
synchronized (mutex)
{
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel, condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/// Ditto
void log(T, string moduleName = __MODULE__)(const LogLevel ll,
lazy bool condition, lazy T args, int line = __LINE__,
string file = __FILE__, string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__)
{
synchronized (mutex)
{
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel, condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` with a specific
`LogLevel`.
In order for the resulting log message to be logged the `LogLevel`
must be greater or equal than the `LogLevel` of the used `Logger`
and must be greater or equal than the global `LogLevel`.
Params:
ll = The specific `LogLevel` used for logging the log message.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.log(LogLevel.trace, 1337, "is number");
s.log(LogLevel.info, 1337, "is number");
s.log(LogLevel.warning, 1337, "is number");
s.log(LogLevel.error, 1337, "is number");
s.log(LogLevel.fatal, 1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll, lazy A args)
if ((args.length > 1 && !is(Unqual!(A[0]) : bool)) || args.length == 0)
{
synchronized (mutex)
{
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/// Ditto
void log(T)(const LogLevel ll, lazy T args, int line = __LINE__,
string file = __FILE__, string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__)
{
synchronized (mutex)
{
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` depending on a
explicitly passed condition with the `LogLevel` of the used
`Logger`.
In order for the resulting log message to be logged the `LogLevel`
of the used `Logger` must be greater or equal than the global
`LogLevel` and the condition must be `true`.
Params:
condition = The condition must be `true` for the data to be logged.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.log(true, 1337, "is number");
s.log(true, 1337, "is number");
s.log(true, 1337, "is number");
s.log(false, 1337, "is number");
s.log(false, 1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition, lazy A args)
if (args.length != 1)
{
synchronized (mutex)
{
if (isLoggingEnabled(this.logLevel_, this.logLevel_,
globalLogLevel, condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, this.logLevel_, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
if (this.logLevel_ == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/// Ditto
void log(T)(lazy bool condition, lazy T args, int line = __LINE__,
string file = __FILE__, string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__)
{
synchronized (mutex)
{
if (isLoggingEnabled(this.logLevel_, this.logLevel_, globalLogLevel,
condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, this.logLevel_, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
if (this.logLevel_ == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` with the `LogLevel`
of the used `Logger`.
In order for the resulting log message to be logged the `LogLevel`
of the used `Logger` must be greater or equal than the global
`LogLevel`.
Params:
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.log(1337, "is number");
s.log(info, 1337, "is number");
s.log(1337, "is number");
s.log(1337, "is number");
s.log(1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void log(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy A args)
if ((args.length > 1
&& !is(Unqual!(A[0]) : bool)
&& !is(immutable A[0] == immutable LogLevel))
|| args.length == 0)
{
synchronized (mutex)
{
if (isLoggingEnabled(this.logLevel_, this.logLevel_,
globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, this.logLevel_, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, args);
this.finishLogMsg();
if (this.logLevel_ == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/// Ditto
void log(T)(lazy T arg, int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__)
{
synchronized (mutex)
{
if (isLoggingEnabled(this.logLevel_, this.logLevel_, globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, this.logLevel_, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formatString(writer, arg);
this.finishLogMsg();
if (this.logLevel_ == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` with a specific
`LogLevel` and depending on a condition in a `printf`-style manner.
In order for the resulting log message to be logged the `LogLevel`
must be greater or equal than the `LogLevel` of the used `Logger`
and must be greater or equal than the global `LogLevel` and the
condition must be `true`.
Params:
ll = The specific `LogLevel` used for logging the log message.
condition = The condition must be `true` for the data to be logged.
msg = The format string used for this log call.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.logf(LogLevel.trace, true ,"%d %s", 1337, "is number");
s.logf(LogLevel.info, true ,"%d %s", 1337, "is number");
s.logf(LogLevel.warning, true ,"%d %s", 1337, "is number");
s.logf(LogLevel.error, false ,"%d %s", 1337, "is number");
s.logf(LogLevel.fatal, true ,"%d %s", 1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll,
lazy bool condition, lazy string msg, lazy A args)
{
synchronized (mutex)
{
import std.format.write : formattedWrite;
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel, condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formattedWrite(writer, msg, args);
this.finishLogMsg();
if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` with a specific
`LogLevel` in a `printf`-style manner.
In order for the resulting log message to be logged the `LogLevel`
must be greater or equal than the `LogLevel` of the used `Logger`
and must be greater or equal than the global `LogLevel`.
Params:
ll = The specific `LogLevel` used for logging the log message.
msg = The format string used for this log call.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.logf(LogLevel.trace, "%d %s", 1337, "is number");
s.logf(LogLevel.info, "%d %s", 1337, "is number");
s.logf(LogLevel.warning, "%d %s", 1337, "is number");
s.logf(LogLevel.error, "%d %s", 1337, "is number");
s.logf(LogLevel.fatal, "%d %s", 1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(const LogLevel ll,
lazy string msg, lazy A args)
{
synchronized (mutex)
{
import std.format.write : formattedWrite;
if (isLoggingEnabled(ll, this.logLevel_, globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, ll, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formattedWrite(writer, msg, args);
this.finishLogMsg();
if (ll == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This function logs data to the used `Logger` depending on a
condition with the `LogLevel` of the used `Logger` in a
`printf`-style manner.
In order for the resulting log message to be logged the `LogLevel`
of the used `Logger` must be greater or equal than the global
`LogLevel` and the condition must be `true`.
Params:
condition = The condition must be `true` for the data to be logged.
msg = The format string used for this log call.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.logf(true ,"%d %s", 1337, "is number");
s.logf(true ,"%d %s", 1337, "is number");
s.logf(true ,"%d %s", 1337, "is number");
s.logf(false ,"%d %s", 1337, "is number");
s.logf(true ,"%d %s", 1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy bool condition,
lazy string msg, lazy A args)
{
synchronized (mutex)
{
import std.format.write : formattedWrite;
if (isLoggingEnabled(this.logLevel_, this.logLevel_, globalLogLevel,
condition))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, this.logLevel_, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formattedWrite(writer, msg, args);
this.finishLogMsg();
if (this.logLevel_ == LogLevel.fatal)
this.fatalHandler_();
}
}
}
/** This method logs data to the used `Logger` with the `LogLevel`
of the this `Logger` in a `printf`-style manner.
In order for the data to be processed the `LogLevel` of the `Logger`
must be greater or equal to the global `LogLevel`.
Params:
msg = The format string used for this log call.
args = The data that should be logged.
Example:
--------------------
auto s = new FileLogger(stdout);
s.logf("%d %s", 1337, "is number");
s.logf("%d %s", 1337, "is number");
s.logf("%d %s", 1337, "is number");
s.logf("%d %s", 1337, "is number");
s.logf("%d %s", 1337, "is number");
--------------------
*/
pragma(inline, true) // LDC: Must inline because of __FILE__ as template parameter
void logf(int line = __LINE__, string file = __FILE__,
string funcName = __FUNCTION__,
string prettyFuncName = __PRETTY_FUNCTION__,
string moduleName = __MODULE__, A...)(lazy string msg, lazy A args)
{
synchronized (mutex)
{
import std.format.write : formattedWrite;
if (isLoggingEnabled(this.logLevel_, this.logLevel_,
globalLogLevel))
{
this.beginLogMsg(file, line, funcName, prettyFuncName,
moduleName, this.logLevel_, thisTid, Clock.currTime, this);
auto writer = MsgRange(this);
formattedWrite(writer, msg, args);
this.finishLogMsg();
if (this.logLevel_ == LogLevel.fatal)
this.fatalHandler_();
}
}
}
private void delegate() @safe fatalHandler_;
private shared LogLevel logLevel_ = LogLevel.info;
private Mutex mutex;
protected Appender!string msgAppender;
protected LogEntry header;
}
// Thread Global
private shared Logger stdSharedDefaultLogger;
private shared Logger stdSharedLogger;
private shared LogLevel stdLoggerGlobalLogLevel = LogLevel.all;
/* This method returns the global default Logger.
* Marked @trusted because of excessive reliance on __gshared data
*/
private @property shared(Logger) defaultSharedLoggerImpl() @trusted
{
import core.lifetime : emplace;
import std.stdio : stderr;
__gshared align(__traits(classInstanceAlignment, FileLogger))
void[__traits(classInstanceSize, FileLogger)] _buffer = void;
import std.concurrency : initOnce;
initOnce!stdSharedDefaultLogger({
auto buffer = cast(ubyte[]) _buffer;
return cast(shared) emplace!(FileLogger)(buffer, stderr, LogLevel.info);
}());
return atomicLoad(stdSharedDefaultLogger);
}
/** This property sets and gets the default `Logger`. Unless set to another
logger by the user, the default logger's log level is LogLevel.info.
Example:
-------------
sharedLog = new FileLogger(yourFile);
-------------
The example sets a new `FileLogger` as new `sharedLog`.
If at some point you want to use the original default logger again, you can
use $(D sharedLog = null;). This will put back the original.
Note:
While getting and setting `sharedLog` is thread-safe, it has to be considered
that the returned reference is only a current snapshot and in the following
code, you must make sure no other thread reassigns to it between reading and
writing `sharedLog`.
`sharedLog` is only thread-safe if the used `Logger` is thread-safe.
The default `Logger` is thread-safe.
-------------
if (sharedLog !is myLogger)
sharedLog = new myLogger;
-------------
*/
@property shared(Logger) sharedLog() @safe
{
// If we have set up our own logger use that
if (auto logger = atomicLoad!(MemoryOrder.seq)(stdSharedLogger))
{
return atomicLoad(logger);
}
else
{
// Otherwise resort to the default logger
return defaultSharedLoggerImpl;
}
}
/// Ditto
@property void sharedLog(shared(Logger) logger) @safe
{
atomicStore!(MemoryOrder.seq)(stdSharedLogger, atomicLoad(logger));
}
/** This methods get and set the global `LogLevel`.
Every log message with a `LogLevel` lower as the global `LogLevel`
will be discarded before it reaches `writeLogMessage` method of any
`Logger`.
*/
/* Implementation note:
For any public logging call, the global log level shall only be queried once on
entry. Otherwise when another threads changes the level, we would work with
different levels at different spots in the code.
*/
@property LogLevel globalLogLevel() @safe @nogc
{
return trustedLoad(stdLoggerGlobalLogLevel);
}
/// Ditto
@property void globalLogLevel(LogLevel ll) @safe
{
trustedStore(stdLoggerGlobalLogLevel, ll);
}
// Thread Local
/** The `StdForwardLogger` will always forward anything to the sharedLog.
The `StdForwardLogger` will not throw if data is logged with $(D
LogLevel.fatal).
*/
class StdForwardLogger : Logger
{
/** The default constructor for the `StdForwardLogger`.
Params:
lv = The `LogLevel` for the `MultiLogger`. By default the $(D
LogLevel) is `all`.
*/
this(const LogLevel lv = LogLevel.all) @safe
{
super(lv);
this.fatalHandler = delegate() {};
}
override protected void writeLogMsg(ref LogEntry payload) @trusted
{
synchronized (sharedLog.mutex)
{
(cast() sharedLog).forwardMsg(payload);
}
}
}
///
@safe unittest
{
auto nl1 = new StdForwardLogger(LogLevel.all);
}
@safe unittest
{
import core.thread : Thread, msecs;
static class RaceLogger : Logger
{
int value;
this() @safe shared
{
super(LogLevel.init);
}
override void writeLogMsg(ref LogEntry payload) @safe
{
import core.thread : Thread, msecs;
if (payload.msg == "foo")
{
value = 42;
() @trusted { Thread.sleep(100.msecs); }();
assert(value == 42, "Another thread changed the value");
}
else
{
() @trusted { Thread.sleep(50.msecs); } ();
value = 13;
}
}
}
auto oldSharedLog = sharedLog;
sharedLog = new shared RaceLogger;
scope(exit)
{
sharedLog = oldSharedLog;
}
Thread toWaitFor;
() @trusted { toWaitFor = new Thread(() { log("foo"); }).start(); }();
log("bar");
() @trusted
{
toWaitFor.join();
}();
}
/** This `LogLevel` is unqiue to every thread.
The thread local `Logger` will use this `LogLevel` to filter log calls
every same way as presented earlier.
*/
//public LogLevel threadLogLevel = LogLevel.all;
private Logger stdLoggerThreadLogger;
private Logger stdLoggerDefaultThreadLogger;
/* This method returns the thread local default Logger.
*/
private @property Logger stdThreadLocalLogImpl() @trusted
{
import core.lifetime : emplace;
static align(__traits(classInstanceAlignment, StdForwardLogger))
void[__traits(classInstanceSize, StdForwardLogger)] buffer;
if (stdLoggerDefaultThreadLogger is null)
{
stdLoggerDefaultThreadLogger = emplace!StdForwardLogger(buffer, LogLevel.all);
}
return stdLoggerDefaultThreadLogger;
}
/** This function returns a thread unique `Logger`, that by default
propagates all data logged to it to the `sharedLog`.
These properties can be used to set and get this `Logger`. Every
modification to this `Logger` will only be visible in the thread the
modification has been done from.
This `Logger` is called by the free standing log functions. This allows to
create thread local redirections and still use the free standing log
functions.
*/
@property Logger stdThreadLocalLog() @safe
{
// If we have set up our own logger use that
if (auto logger = stdLoggerThreadLogger)
return logger;
else
// Otherwise resort to the default logger
return stdThreadLocalLogImpl;
}
/// Ditto
@property void stdThreadLocalLog(Logger logger) @safe
{
stdLoggerThreadLogger = logger;
}
/// Ditto
@system unittest
{
import std.logger.filelogger : FileLogger;
import std.file : deleteme, remove;
Logger l = stdThreadLocalLog;
stdThreadLocalLog = new FileLogger(deleteme ~ "-someFile.log");
scope(exit) remove(deleteme ~ "-someFile.log");
auto tempLog = stdThreadLocalLog;
stdThreadLocalLog = l;
destroy(tempLog);
}
@safe unittest
{
LogLevel ll = globalLogLevel;
globalLogLevel = LogLevel.fatal;
assert(globalLogLevel == LogLevel.fatal);
globalLogLevel = ll;
}
package class TestLogger : Logger
{
int line = -1;
string file = null;
string func = null;
string prettyFunc = null;
string msg = null;
LogLevel lvl;
this(const LogLevel lv = LogLevel.all) @safe
{
super(lv);
}
override protected void writeLogMsg(ref LogEntry payload) @safe
{
this.line = payload.line;
this.file = payload.file;
this.func = payload.funcName;
this.prettyFunc = payload.prettyFuncName;
this.lvl = payload.logLevel;
this.msg = payload.msg;
}
}
version (StdUnittest) private void testFuncNames(Logger logger) @safe
{
string s = "I'm here";
logger.log(s);
}
@safe unittest
{
auto tl1 = new TestLogger();
testFuncNames(tl1);
assert(tl1.func == "std.logger.core.testFuncNames", tl1.func);
assert(tl1.prettyFunc ==
"void std.logger.core.testFuncNames(Logger logger) @safe",
tl1.prettyFunc);
assert(tl1.msg == "I'm here", tl1.msg);
}
@safe unittest
{
auto tl1 = new TestLogger(LogLevel.all);
tl1.log();
assert(tl1.line == __LINE__ - 1);
tl1.log(true);
assert(tl1.line == __LINE__ - 1);
tl1.log(false);
assert(tl1.line == __LINE__ - 3);
tl1.log(LogLevel.info);
assert(tl1.line == __LINE__ - 1);
tl1.log(LogLevel.off);
assert(tl1.line == __LINE__ - 3);
tl1.log(LogLevel.info, true);
assert(tl1.line == __LINE__ - 1);
tl1.log(LogLevel.info, false);
assert(tl1.line == __LINE__ - 3);
auto oldunspecificLogger = sharedLog;
scope(exit) {
sharedLog = atomicLoad(oldunspecificLogger);
}
() @trusted {
sharedLog = cast(shared) tl1;
}();
log();
assert(tl1.line == __LINE__ - 1);
log(LogLevel.info);
assert(tl1.line == __LINE__ - 1);
log(true);
assert(tl1.line == __LINE__ - 1);
log(LogLevel.warning, true);
assert(tl1.line == __LINE__ - 1);
trace();
assert(tl1.line == __LINE__ - 1);
}
@safe unittest
{
import std.logger.multilogger : MultiLogger;
auto tl1 = new TestLogger;
auto tl2 = new TestLogger;
auto ml = new MultiLogger();
ml.insertLogger("one", tl1);
ml.insertLogger("two", tl2);
string msg = "Hello Logger World";
ml.log(msg);
int lineNumber = __LINE__ - 1;
assert(tl1.msg == msg);
assert(tl1.line == lineNumber);
assert(tl2.msg == msg);
assert(tl2.line == lineNumber);
ml.removeLogger("one");
ml.removeLogger("two");
auto n = ml.removeLogger("one");
assert(n is null);
}
@safe unittest
{
bool errorThrown = false;
auto tl = new TestLogger;
auto dele = delegate() {
errorThrown = true;
};
tl.fatalHandler = dele;
tl.fatal();
assert(errorThrown);
}
@safe unittest
{
import std.conv : to;
import std.exception : assertThrown, assertNotThrown;
import std.format : format;
auto l = new TestLogger(LogLevel.all);
string msg = "Hello Logger World";
l.log(msg);
int lineNumber = __LINE__ - 1;
assert(l.msg == msg);
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
l.log(true, msg);
lineNumber = __LINE__ - 1;
assert(l.msg == msg, l.msg);
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
l.log(false, msg);
assert(l.msg == msg);
assert(l.line == lineNumber, to!string(l.line));
assert(l.logLevel == LogLevel.all);
msg = "%s Another message";
l.logf(msg, "Yet");
lineNumber = __LINE__ - 1;
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
l.logf(true, msg, "Yet");
lineNumber = __LINE__ - 1;
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
l.logf(false, msg, "Yet");
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
() @trusted {
assertThrown!Throwable(l.logf(LogLevel.fatal, msg, "Yet"));
} ();
lineNumber = __LINE__ - 2;
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
() @trusted {
assertThrown!Throwable(l.logf(LogLevel.fatal, true, msg, "Yet"));
} ();
lineNumber = __LINE__ - 2;
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
assertNotThrown(l.logf(LogLevel.fatal, false, msg, "Yet"));
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
Logger oldunspecificLogger;
() @trusted {
oldunspecificLogger = cast() sharedLog;
}();
assert(oldunspecificLogger.logLevel == LogLevel.info,
to!string(oldunspecificLogger.logLevel));
assert(l.logLevel == LogLevel.all);
() @trusted {
sharedLog = cast(shared) l;
}();
assert(globalLogLevel == LogLevel.all,
to!string(globalLogLevel));
scope(exit)
{
() @trusted {
sharedLog = atomicLoad(cast(shared) oldunspecificLogger);
}();
}
() @trusted {
assert((cast() sharedLog).logLevel == LogLevel.all);
}();
assert(stdThreadLocalLog.logLevel == LogLevel.all);
assert(globalLogLevel == LogLevel.all);
msg = "Another message";
log(msg);
lineNumber = __LINE__ - 1;
assert(l.logLevel == LogLevel.all);
assert(l.line == lineNumber, to!string(l.line));
assert(l.msg == msg, l.msg);
log(true, msg);
lineNumber = __LINE__ - 1;
assert(l.msg == msg);
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
log(false, msg);
assert(l.msg == msg);
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
msg = "%s Another message";
logf(msg, "Yet");
lineNumber = __LINE__ - 1;
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
logf(true, msg, "Yet");
lineNumber = __LINE__ - 1;
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
logf(false, msg, "Yet");
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
msg = "%s Another message";
() @trusted {
assertThrown!Throwable(logf(LogLevel.fatal, msg, "Yet"));
} ();
lineNumber = __LINE__ - 2;
assert(l.msg == msg.format("Yet"), l.msg);
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
() @trusted {
assertThrown!Throwable(logf(LogLevel.fatal, true, msg, "Yet"));
} ();
lineNumber = __LINE__ - 2;
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
assertNotThrown(logf(LogLevel.fatal, false, msg, "Yet"));
assert(l.msg == msg.format("Yet"));
assert(l.line == lineNumber);
assert(l.logLevel == LogLevel.all);
}
@system unittest // default logger
{
import std.file : deleteme, exists, remove;
import std.stdio : File;
import std.string : indexOf;
string filename = deleteme ~ __FUNCTION__ ~ ".tempLogFile";
FileLogger l = new FileLogger(filename);
auto oldunspecificLogger = sharedLog;
sharedLog = cast(shared) l;
scope(exit)
{
remove(filename);
assert(!exists(filename));
sharedLog = atomicLoad(oldunspecificLogger);
globalLogLevel = LogLevel.all;
}
string notWritten = "this should not be written to file";
string written = "this should be written to file";
globalLogLevel = LogLevel.critical;
assert(globalLogLevel == LogLevel.critical);
log(LogLevel.warning, notWritten);
log(LogLevel.critical, written);
l.file.flush();
l.file.close();
auto file = File(filename, "r");
assert(!file.eof);
string readLine = file.readln();
assert(readLine.indexOf(written) != -1, readLine);
assert(readLine.indexOf(notWritten) == -1, readLine);
file.close();
}
@system unittest
{
import std.file : deleteme, remove;
import std.stdio : File;
import std.string : indexOf;
string filename = deleteme ~ __FUNCTION__ ~ ".tempLogFile";
auto oldunspecificLogger = sharedLog;
scope(exit)
{
remove(filename);
sharedLog = atomicLoad(oldunspecificLogger);
globalLogLevel = LogLevel.all;
}
string notWritten = "this should not be written to file";
string written = "this should be written to file";
auto l = new FileLogger(filename);
sharedLog = cast(shared) l;
() @trusted {
(cast() sharedLog).logLevel = LogLevel.critical;
}();
log(LogLevel.error, false, notWritten);
log(LogLevel.critical, true, written);
destroy(l);
auto file = File(filename, "r");
auto readLine = file.readln();
assert(!readLine.empty, readLine);
assert(readLine.indexOf(written) != -1);
assert(readLine.indexOf(notWritten) == -1);
file.close();
}
@safe unittest
{
import std.conv : to;
auto tl = new TestLogger(LogLevel.all);
int l = __LINE__;
tl.info("a");
assert(tl.line == l+1);
assert(tl.msg == "a");
assert(tl.logLevel == LogLevel.all);
assert(globalLogLevel == LogLevel.all);
l = __LINE__;
tl.trace("b");
assert(tl.msg == "b", tl.msg);
assert(tl.line == l+1, to!string(tl.line));
}
// testing possible log conditions
@safe unittest
{
import std.conv : to;
import std.format : format;
import std.string : indexOf;
auto oldunspecificLogger = sharedLog;
auto mem = new TestLogger;
mem.fatalHandler = delegate() {};
() @trusted {
sharedLog = cast(shared) mem;
}();
scope(exit)
{
sharedLog = atomicLoad(oldunspecificLogger);
globalLogLevel = LogLevel.all;
}
int value = 0;
foreach (gll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
globalLogLevel = gll;
foreach (ll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
mem.logLevel = ll;
foreach (cond; [true, false])
{
foreach (condValue; [true, false])
{
foreach (memOrG; [true, false])
{
foreach (prntf; [true, false])
{
foreach (ll2; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning,
LogLevel.error, LogLevel.critical,
LogLevel.fatal, LogLevel.off])
{
foreach (singleMulti; 0 .. 2)
{
int lineCall;
mem.msg = "-1";
if (memOrG)
{
if (prntf)
{
if (cond)
{
if (singleMulti == 0)
{
mem.logf(ll2, condValue, "%s",
value);
lineCall = __LINE__;
}
else
{
mem.logf(ll2, condValue,
"%d %d", value, value);
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
mem.logf(ll2, "%s", value);
lineCall = __LINE__;
}
else
{
mem.logf(ll2, "%d %d",
value, value);
lineCall = __LINE__;
}
}
}
else
{
if (cond)
{
if (singleMulti == 0)
{
mem.log(ll2, condValue,
to!string(value));
lineCall = __LINE__;
}
else
{
mem.log(ll2, condValue,
to!string(value), value);
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
mem.log(ll2, to!string(value));
lineCall = __LINE__;
}
else
{
mem.log(ll2,
to!string(value),
value);
lineCall = __LINE__;
}
}
}
}
else
{
if (prntf)
{
if (cond)
{
if (singleMulti == 0)
{
logf(ll2, condValue, "%s",
value);
lineCall = __LINE__;
}
else
{
logf(ll2, condValue,
"%s %d", value, value);
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
logf(ll2, "%s", value);
lineCall = __LINE__;
}
else
{
logf(ll2, "%s %s", value,
value);
lineCall = __LINE__;
}
}
}
else
{
if (cond)
{
if (singleMulti == 0)
{
log(ll2, condValue,
to!string(value));
lineCall = __LINE__;
}
else
{
log(ll2, condValue, value,
to!string(value));
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
log(ll2, to!string(value));
lineCall = __LINE__;
}
else
{
log(ll2, value,
to!string(value));
lineCall = __LINE__;
}
}
}
}
string valueStr = to!string(value);
++value;
bool ll2Off = (ll2 != LogLevel.off);
bool gllOff = (gll != LogLevel.off);
bool llOff = (ll != LogLevel.off);
bool condFalse = (cond ? condValue : true);
bool ll2VSgll = (ll2 >= gll);
bool ll2VSll = (ll2 >= ll);
bool shouldLog = ll2Off && gllOff && llOff
&& condFalse && ll2VSgll && ll2VSll;
/*
writefln(
"go(%b) ll2o(%b) c(%b) lg(%b) ll(%b) s(%b)"
, gll != LogLevel.off, ll2 != LogLevel.off,
cond ? condValue : true,
ll2 >= gll, ll2 >= ll, shouldLog);
*/
if (shouldLog)
{
assert(mem.msg.indexOf(valueStr) != -1,
format(
"lineCall(%d) ll2Off(%u) gll(%u) ll(%u) ll2(%u) " ~
"cond(%b) condValue(%b)" ~
" memOrG(%b) shouldLog(%b) %s == %s" ~
" %b %b %b %b %b",
lineCall, ll2Off, gll, ll, ll2, cond,
condValue, memOrG, shouldLog, mem.msg,
valueStr, gllOff, llOff, condFalse,
ll2VSgll, ll2VSll
));
}
else
{
assert(mem.msg.indexOf(valueStr),
format(
"lineCall(%d) ll2Off(%u) gll(%u) ll(%u) ll2(%u) " ~
"cond(%b) condValue(%b)" ~
" memOrG(%b) shouldLog(%b) %s == %s" ~
" %b %b %b %b %b",
lineCall, ll2Off, gll, ll, ll2, cond,
condValue, memOrG, shouldLog, mem.msg,
valueStr, gllOff, llOff, condFalse,
ll2VSgll, ll2VSll
));
}
}
}
}
}
}
}
}
}
}
// more testing
@safe unittest
{
import std.conv : to;
import std.format : format;
import std.string : indexOf;
auto oldunspecificLogger = sharedLog;
auto mem = new TestLogger;
mem.fatalHandler = delegate() {};
() @trusted {
sharedLog = cast(shared) mem;
}();
scope(exit)
{
sharedLog = atomicLoad(oldunspecificLogger);
globalLogLevel = LogLevel.all;
}
int value = 0;
foreach (gll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
globalLogLevel = gll;
foreach (ll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
mem.logLevel = ll;
foreach (tll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
stdThreadLocalLog.logLevel = tll;
foreach (cond; [true, false])
{
foreach (condValue; [true, false])
{
foreach (memOrG; [true, false])
{
foreach (prntf; [true, false])
{
foreach (singleMulti; 0 .. 2)
{
int lineCall;
mem.msg = "-1";
if (memOrG)
{
if (prntf)
{
if (cond)
{
if (singleMulti == 0)
{
mem.logf(condValue, "%s",
value);
lineCall = __LINE__;
}
else
{
mem.logf(condValue,
"%d %d", value, value);
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
mem.logf("%s", value);
lineCall = __LINE__;
}
else
{
mem.logf("%d %d",
value, value);
lineCall = __LINE__;
}
}
}
else
{
if (cond)
{
if (singleMulti == 0)
{
mem.log(condValue,
to!string(value));
lineCall = __LINE__;
}
else
{
mem.log(condValue,
to!string(value), value);
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
mem.log(to!string(value));
lineCall = __LINE__;
}
else
{
mem.log(to!string(value),
value);
lineCall = __LINE__;
}
}
}
}
else
{
if (prntf)
{
if (cond)
{
if (singleMulti == 0)
{
logf(condValue, "%s", value);
lineCall = __LINE__;
}
else
{
logf(condValue, "%s %d", value,
value);
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
logf("%s", value);
lineCall = __LINE__;
}
else
{
logf("%s %s", value, value);
lineCall = __LINE__;
}
}
}
else
{
if (cond)
{
if (singleMulti == 0)
{
log(condValue,
to!string(value));
lineCall = __LINE__;
}
else
{
log(condValue, value,
to!string(value));
lineCall = __LINE__;
}
}
else
{
if (singleMulti == 0)
{
log(to!string(value));
lineCall = __LINE__;
}
else
{
log(value, to!string(value));
lineCall = __LINE__;
}
}
}
}
string valueStr = to!string(value);
++value;
bool gllOff = (gll != LogLevel.off);
bool llOff = (ll != LogLevel.off);
bool tllOff = (tll != LogLevel.off);
bool llVSgll = (ll >= gll);
bool tllVSll =
(stdThreadLocalLog.logLevel >= ll);
bool condFalse = (cond ? condValue : true);
bool shouldLog = gllOff && llOff
&& (memOrG ? true : tllOff)
&& (memOrG ?
(ll >= gll) :
(tll >= gll && tll >= ll))
&& condFalse;
if (shouldLog)
{
assert(mem.msg.indexOf(valueStr) != -1,
format("\ngll(%s) ll(%s) tll(%s) " ~
"cond(%s) condValue(%s) " ~
"memOrG(%s) prntf(%s) " ~
"singleMulti(%s)",
gll, ll, tll, cond, condValue,
memOrG, prntf, singleMulti)
~ format(" gllOff(%s) llOff(%s) " ~
"llVSgll(%s) tllVSll(%s) " ~
"tllOff(%s) condFalse(%s) "
~ "shoudlLog(%s)",
gll != LogLevel.off,
ll != LogLevel.off, llVSgll,
tllVSll, tllOff, condFalse,
shouldLog)
~ format("msg(%s) line(%s) " ~
"lineCall(%s) valueStr(%s)",
mem.msg, mem.line, lineCall,
valueStr)
);
}
else
{
assert(mem.msg.indexOf(valueStr) == -1,
format("\ngll(%s) ll(%s) tll(%s) " ~
"cond(%s) condValue(%s) " ~
"memOrG(%s) prntf(%s) " ~
"singleMulti(%s)",
gll, ll, tll, cond, condValue,
memOrG, prntf, singleMulti)
~ format(" gllOff(%s) llOff(%s) " ~
"llVSgll(%s) tllVSll(%s) " ~
"tllOff(%s) condFalse(%s) "
~ "shoudlLog(%s)",
gll != LogLevel.off,
ll != LogLevel.off, llVSgll,
tllVSll, tllOff, condFalse,
shouldLog)
~ format("msg(%s) line(%s) " ~
"lineCall(%s) valueStr(%s)",
mem.msg, mem.line, lineCall,
valueStr)
);
}
}
}
}
}
}
}
}
}
}
// testing more possible log conditions
@safe unittest
{
bool fatalLog;
auto mem = new TestLogger;
mem.fatalHandler = delegate() { fatalLog = true; };
auto oldunspecificLogger = sharedLog;
stdThreadLocalLog.logLevel = LogLevel.all;
() @trusted {
sharedLog = cast(shared) mem;
}();
scope(exit)
{
sharedLog = atomicLoad(oldunspecificLogger);
globalLogLevel = LogLevel.all;
}
foreach (gll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
globalLogLevel = gll;
foreach (ll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
mem.logLevel = ll;
foreach (tll; [cast(LogLevel) LogLevel.all, LogLevel.trace,
LogLevel.info, LogLevel.warning, LogLevel.error,
LogLevel.critical, LogLevel.fatal, LogLevel.off])
{
stdThreadLocalLog.logLevel = tll;
foreach (cond; [true, false])
{
assert(globalLogLevel == gll);
assert(mem.logLevel == ll);
bool gllVSll = LogLevel.trace >= globalLogLevel;
bool llVSgll = ll >= globalLogLevel;
bool lVSll = LogLevel.trace >= ll;
bool gllOff = globalLogLevel != LogLevel.off;
bool llOff = mem.logLevel != LogLevel.off;
bool tllOff = stdThreadLocalLog.logLevel != LogLevel.off;
bool tllVSll = tll >= ll;
bool tllVSgll = tll >= gll;
bool lVSgll = LogLevel.trace >= tll;
bool test = llVSgll && gllVSll && lVSll && gllOff && llOff && cond;
bool testG = gllOff && llOff && tllOff && lVSgll && tllVSll && tllVSgll && cond;
mem.line = -1;
/*
writefln("gll(%3u) ll(%3u) cond(%b) test(%b)",
gll, ll, cond, test);
writefln("%b %b %b %b %b %b test2(%b)", llVSgll, gllVSll, lVSll,
gllOff, llOff, cond, test2);
*/
mem.trace(__LINE__); int line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
trace(__LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.trace(cond, __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
trace(cond, __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.tracef("%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
tracef("%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.tracef(cond, "%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
tracef(cond, "%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
llVSgll = ll >= globalLogLevel;
lVSll = LogLevel.info >= ll;
lVSgll = LogLevel.info >= tll;
test = llVSgll && gllVSll && lVSll && gllOff && llOff && cond;
testG = gllOff && llOff && tllOff && tllVSll && tllVSgll &&
lVSgll && cond;
mem.info(__LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
info(__LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.info(cond, __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
info(cond, __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.infof("%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
infof("%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.infof(cond, "%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
infof(cond, "%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
llVSgll = ll >= globalLogLevel;
lVSll = LogLevel.warning >= ll;
lVSgll = LogLevel.warning >= tll;
test = llVSgll && gllVSll && lVSll && gllOff && llOff && cond;
testG = gllOff && llOff && tllOff && tllVSll && tllVSgll &&
lVSgll && cond;
mem.warning(__LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
warning(__LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.warning(cond, __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
warning(cond, __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.warningf("%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
warningf("%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.warningf(cond, "%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
warningf(cond, "%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
llVSgll = ll >= globalLogLevel;
lVSll = LogLevel.critical >= ll;
lVSgll = LogLevel.critical >= tll;
test = llVSgll && gllVSll && lVSll && gllOff && llOff && cond;
testG = gllOff && llOff && tllOff && tllVSll && tllVSgll &&
lVSgll && cond;
mem.critical(__LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
critical(__LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.critical(cond, __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
critical(cond, __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.criticalf("%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
criticalf("%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
mem.criticalf(cond, "%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
criticalf(cond, "%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
llVSgll = ll >= globalLogLevel;
lVSll = LogLevel.fatal >= ll;
lVSgll = LogLevel.fatal >= tll;
test = llVSgll && gllVSll && lVSll && gllOff && llOff && cond;
testG = gllOff && llOff && tllOff && tllVSll && tllVSgll &&
lVSgll && cond;
mem.fatal(__LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
assert(test ? fatalLog : true);
fatalLog = false;
fatal(__LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
assert(testG ? fatalLog : true);
fatalLog = false;
mem.fatal(cond, __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
assert(test ? fatalLog : true);
fatalLog = false;
fatal(cond, __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
assert(testG ? fatalLog : true);
fatalLog = false;
mem.fatalf("%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
assert(test ? fatalLog : true);
fatalLog = false;
fatalf("%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
assert(testG ? fatalLog : true);
fatalLog = false;
mem.fatalf(cond, "%d", __LINE__); line = __LINE__;
assert(test ? mem.line == line : true); line = -1;
assert(test ? fatalLog : true);
fatalLog = false;
fatalf(cond, "%d", __LINE__); line = __LINE__;
assert(testG ? mem.line == line : true); line = -1;
assert(testG ? fatalLog : true);
fatalLog = false;
}
}
}
}
}
// Issue #5
@safe unittest
{
import std.string : indexOf;
auto oldunspecificLogger = sharedLog;
scope(exit)
{
sharedLog = atomicLoad(oldunspecificLogger);
globalLogLevel = LogLevel.all;
}
auto tl = new TestLogger(LogLevel.info);
() @trusted {
sharedLog = cast(shared) tl;
}();
trace("trace");
assert(tl.msg.indexOf("trace") == -1);
}
// Issue #5
@safe unittest
{
import std.logger.multilogger : MultiLogger;
import std.string : indexOf;
stdThreadLocalLog.logLevel = LogLevel.all;
auto oldunspecificLogger = sharedLog;
scope(exit)
{
sharedLog = atomicLoad(oldunspecificLogger);
globalLogLevel = LogLevel.all;
}
auto logger = new MultiLogger(LogLevel.error);
auto tl = new TestLogger(LogLevel.info);
logger.insertLogger("required", tl);
() @trusted {
sharedLog = cast(shared) logger;
}();
trace("trace");
assert(tl.msg.indexOf("trace") == -1);
info("info");
assert(tl.msg.indexOf("info") == -1);
error("error");
assert(tl.msg.indexOf("error") == 0);
}
@system unittest
{
import std.exception : assertThrown;
auto tl = new TestLogger();
assertThrown!Throwable(tl.fatal("fatal"));
}
// log objects with non-safe toString
@system unittest
{
struct Test
{
string toString() const @system
{
return "test";
}
}
auto tl = new TestLogger();
tl.info(Test.init);
assert(tl.msg == "test");
}
// Workaround for atomics not allowed in @safe code
private auto trustedLoad(T)(ref shared T value) @trusted
{
return atomicLoad!(MemoryOrder.acq)(value);
}
// ditto
private void trustedStore(T)(ref shared T dst, ref T src) @trusted
{
atomicStore!(MemoryOrder.rel)(dst, src);
}
// check that thread-local logging does not propagate
// to shared logger
@system unittest
{
import core.thread, std.concurrency;
static shared logged_count = 0;
class TestLog : Logger
{
Tid tid;
this()
{
super (LogLevel.trace);
this.tid = thisTid;
}
override void writeLogMsg(ref LogEntry payload) @trusted
{
assert(thisTid == this.tid);
atomicOp!"+="(logged_count, 1);
}
}
class IgnoredLog : Logger
{
this()
{
super (LogLevel.trace);
}
override void writeLogMsg(ref LogEntry payload) @trusted
{
assert(false);
}
}
auto oldSharedLog = sharedLog;
scope(exit)
{
sharedLog = atomicLoad(oldSharedLog);
}
() @trusted {
sharedLog = cast(shared) new IgnoredLog;
}();
Thread[] spawned;
foreach (i; 0 .. 4)
{
spawned ~= new Thread({
stdThreadLocalLog = new TestLog;
trace("zzzzzzzzzz");
});
spawned[$-1].start();
}
foreach (t; spawned)
t.join();
assert(atomicOp!"=="(logged_count, 4));
}
@safe unittest
{
auto dl = () @trusted {
return cast(FileLogger) cast() sharedLog;
}();
assert(dl !is null);
assert(dl.logLevel == LogLevel.info);
assert(globalLogLevel == LogLevel.all);
auto tl = cast(StdForwardLogger) stdThreadLocalLog;
assert(tl !is null);
stdThreadLocalLog.logLevel = LogLevel.all;
}
// https://issues.dlang.org/show_bug.cgi?id=14940
@safe unittest
{
import std.typecons : Nullable;
Nullable!int a = 1;
auto l = new TestLogger();
l.infof("log: %s", a);
assert(l.msg == "log: 1");
}
// Ensure @system toString methods work
@system unittest
{
enum SystemToStringMsg = "SystemToString";
static struct SystemToString
{
string toString() @system
{
return SystemToStringMsg;
}
}
auto tl = new TestLogger();
SystemToString sts;
tl.logf("%s", sts);
assert(tl.msg == SystemToStringMsg);
}
// https://issues.dlang.org/show_bug.cgi?id=17328
@safe unittest
{
import std.format : format;
ubyte[] data = [0];
string s = format("%(%02x%)", data); // format 00
assert(s == "00");
auto tl = new TestLogger();
tl.infof("%(%02x%)", data); // infof 000
size_t i;
string fs = tl.msg;
for (; i < s.length; ++i)
{
assert(s[s.length - 1 - i] == fs[fs.length - 1 - i], fs);
}
assert(fs.length == 2);
}
// https://issues.dlang.org/show_bug.cgi?id=15954
@safe unittest
{
import std.conv : to;
auto tl = new TestLogger();
tl.log("123456789".to!wstring);
assert(tl.msg == "123456789");
}
// https://issues.dlang.org/show_bug.cgi?id=16256
@safe unittest
{
import std.conv : to;
auto tl = new TestLogger();
tl.log("123456789"d);
assert(tl.msg == "123456789");
}
// https://issues.dlang.org/show_bug.cgi?id=15517
@system unittest
{
import std.file : exists, remove, tempDir;
import std.path : buildPath;
import std.stdio : File;
import std.string : indexOf;
string fn = tempDir.buildPath("logfile.log");
if (exists(fn))
{
remove(fn);
}
auto oldShared = sharedLog;
scope(exit)
{
sharedLog = atomicLoad(oldShared);
if (exists(fn))
{
remove(fn);
}
}
auto ts = [ "Test log 1", "Test log 2", "Test log 3"];
auto fl = new FileLogger(fn);
() @trusted {
sharedLog = cast(shared) fl;
}();
assert(exists(fn));
foreach (t; ts)
{
log(t);
}
auto f = File(fn);
auto l = f.byLine();
assert(!l.empty);
size_t idx;
foreach (it; l)
{
assert(it.indexOf(ts[idx]) != -1, it);
++idx;
}
assert(exists(fn));
fl.file.close();
}
|
D
|
/mnt/c/3_Rust/variables_march/strings_lessons/target/rls/debug/deps/strings_lessons-c755235a4b81609a.rmeta: src/main.rs
/mnt/c/3_Rust/variables_march/strings_lessons/target/rls/debug/deps/strings_lessons-c755235a4b81609a.d: src/main.rs
src/main.rs:
|
D
|
/Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustPolicy.o : /Users/Natalia/FunChatik/Pods/Alamofire/Source/MultipartFormData.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Timeline.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Alamofire.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Response.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/TaskDelegate.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/SessionDelegate.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Validation.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/SessionManager.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/AFError.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Notifications.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Result.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Request.swift /Users/Natalia/FunChatik/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/Natalia/FunChatik/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Users/Natalia/FunChatik/Pods/Starscream/zlib/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustPolicy~partial.swiftmodule : /Users/Natalia/FunChatik/Pods/Alamofire/Source/MultipartFormData.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Timeline.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Alamofire.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Response.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/TaskDelegate.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/SessionDelegate.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Validation.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/SessionManager.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/AFError.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Notifications.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Result.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Request.swift /Users/Natalia/FunChatik/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/Natalia/FunChatik/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Users/Natalia/FunChatik/Pods/Starscream/zlib/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustPolicy~partial.swiftdoc : /Users/Natalia/FunChatik/Pods/Alamofire/Source/MultipartFormData.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Timeline.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Alamofire.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Response.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/TaskDelegate.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/SessionDelegate.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/ParameterEncoding.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Validation.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/ResponseSerialization.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/SessionManager.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/AFError.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Notifications.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Result.swift /Users/Natalia/FunChatik/Pods/Alamofire/Source/Request.swift /Users/Natalia/FunChatik/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/Natalia/FunChatik/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Users/Natalia/FunChatik/Pods/Starscream/zlib/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
|
D
|
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Routing.build/Utilities/Exports.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RouterNode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/Route.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/ParameterValue.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/RouterOption.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/TrieRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/RoutingError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameters.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RoutableComponent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/PathComponent.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/Service.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/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/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/Routing.build/Utilities/Exports~partial.swiftmodule : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RouterNode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/Route.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/ParameterValue.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/RouterOption.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/TrieRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/RoutingError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameters.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RoutableComponent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/PathComponent.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/Service.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/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/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/Routing.build/Utilities/Exports~partial.swiftdoc : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RouterNode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/Route.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/ParameterValue.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/RouterOption.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/TrieRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/RoutingError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameters.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RoutableComponent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/PathComponent.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/Service.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/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/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/Routing.build/Utilities/Exports~partial.swiftsourceinfo : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RouterNode.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/Route.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/ParameterValue.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/RouterOption.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/TrieRouter.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/RoutingError.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Parameter/Parameters.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Utilities/Exports.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Routing/RoutableComponent.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/routing/Sources/Routing/Register/PathComponent.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/Service.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/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/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
|
/***************************************************************************************
* Genesis Plus
* Main 68k bus handlers
*
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Charles Mac Donald (original code)
* Copyright (C) 2007-2013 Eke-Eke (Genesis Plus GX)
*
* Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met:
*
* - Redistributions may not be sold, nor may they be used in a commercial
* product or activity.
*
* - Redistributions that are modified from the original source must include the
* complete source code, including the source code for all components used by a
* binary built from the modified sources. However, as a special exception, the
* source code distributed need not include anything that is normally distributed
* (in either source or binary form) with the major components (compiler, kernel,
* and so on) of the operating system on which the executable runs, unless that
* component itself accompanies the executable.
*
* - Redistributions must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************************/
import common;
/*--------------------------------------------------------------------------*/
/* Unused areas (return open bus data, i.e prefetched instruction word) */
/*--------------------------------------------------------------------------*/
u32 m68k_read_bus_8(u32 address)
{
version(LOGERROR) {
error("Unused read8 %08X (%08X)\n", address, m68k_get_reg(M68K_REG_PC));
}
address = m68k.pc | (address & 1);
return READ_BYTE(m68k.memory_map[((address)>>16)&0xff].base, (address) & 0xffff);
}
u32 m68k_read_bus_16(u32 address)
{
version(LOGERROR) {
error("Unused read16 %08X (%08X)\n", address, m68k_get_reg(M68K_REG_PC));
}
address = m68k.pc;
return *cast(u16 *)(m68k.memory_map[((address)>>16)&0xff].base + ((address) & 0xffff));
}
void m68k_unused_8_w(u32 address, u32 data)
{
assert(address == address);
assert(data == data);
version(LOGERROR) {
error("Unused write8 %08X = %02X (%08X)\n", address, data, m68k_get_reg(M68K_REG_PC));
}
}
void m68k_unused_16_w(u32 address, u32 data)
{
assert(address == address);
assert(data == data);
version(LOGERROR) {
error("Unused write16 %08X = %04X (%08X)\n", address, data, m68k_get_reg(M68K_REG_PC));
}
}
/*--------------------------------------------------------------------------*/
/* Illegal areas (cause system to lock-up since !DTACK is not returned) */
/*--------------------------------------------------------------------------*/
void m68k_lockup_w_8 (u32 address, u32 data)
{
assert(address == address);
assert(data == data);
version(LOGERROR) {
error ("Lockup %08X = %02X (%08X)\n", address, data, m68k_get_reg(M68K_REG_PC));
}
if (!config.force_dtack)
{
m68k_pulse_halt();
m68k.cycles = m68k.cycle_end;
}
}
void m68k_lockup_w_16 (u32 address, u32 data)
{
assert(address == address);
assert(data == data);
version(LOGERROR) {
error ("Lockup %08X = %04X (%08X)\n", address, data, m68k_get_reg(M68K_REG_PC));
}
if (!config.force_dtack)
{
m68k_pulse_halt();
m68k.cycles = m68k.cycle_end;
}
}
u32 m68k_lockup_r_8 (u32 address)
{
version(LOGERROR) {
error ("Lockup %08X.b (%08X)\n", address, m68k_get_reg(M68K_REG_PC));
}
if (!config.force_dtack)
{
m68k_pulse_halt();
m68k.cycles = m68k.cycle_end;
}
address = m68k.pc | (address & 1);
return READ_BYTE(m68k.memory_map[((address)>>16)&0xff].base, (address) & 0xffff);
}
u32 m68k_lockup_r_16 (u32 address)
{
version(LOGERROR) {
error ("Lockup %08X.w (%08X)\n", address, m68k_get_reg(M68K_REG_PC));
}
if (!config.force_dtack)
{
m68k_pulse_halt();
m68k.cycles = m68k.cycle_end;
}
address = m68k.pc;
return *cast(u16 *)(m68k.memory_map[((address)>>16)&0xff].base + ((address) & 0xffff));
}
/*--------------------------------------------------------------------------*/
/* Z80 bus (accessed through I/O chip) */
/*--------------------------------------------------------------------------*/
u32 z80_read_byte(u32 address)
{
switch ((address >> 13) & 3)
{
case 2: /* YM2612 */
{
return fm_read(m68k.cycles, address & 3);
}
case 3: /* Misc */
{
/* VDP (through 68k bus) */
if ((address & 0xFF00) == 0x7F00)
{
return m68k_lockup_r_8(address);
}
return (m68k_read_bus_8(address) | 0xFF);
}
default: /* ZRAM */
{
return zram[address & 0x1FFF];
}
}
}
u32 z80_read_word(u32 address)
{
u32 data = z80_read_byte(address);
return (data | (data << 8));
}
void z80_write_byte(u32 address, u32 data)
{
switch ((address >> 13) & 3)
{
case 2: /* YM2612 */
{
fm_write(m68k.cycles, address & 3, data);
return;
}
case 3:
{
switch ((address >> 8) & 0x7F)
{
case 0x60: /* Bank register */
{
gen_zbank_w(data & 1);
return;
}
case 0x7F: /* VDP */
{
m68k_lockup_w_8(address, data);
return;
}
default:
{
m68k_unused_8_w(address, data);
return;
}
}
}
default: /* ZRAM */
{
zram[address & 0x1FFF] = data;
m68k.cycles += 8; /* ZRAM access latency (fixes Pacman 2: New Adventures) */
return;
}
}
}
void z80_write_word(u32 address, u32 data)
{
z80_write_byte(address, data >> 8);
}
/*--------------------------------------------------------------------------*/
/* I/O Control */
/*--------------------------------------------------------------------------*/
static void m68k_poll_detect(u32 reg)
{
/* detect MAIN-CPU register polling */
if (m68k.poll.detected == cast(u32) (1 << reg))
{
if (m68k.cycles <= m68k.poll.cycle)
{
if (m68k.pc == m68k.poll.pc)
{
/* stop MAIN-CPU until register is modified by SUB-CPU */
version(LOG_SCD) {
error("m68k stopped from %d cycles\n", m68k.cycles);
}
m68k.cycles = m68k.cycle_end;
m68k.stopped = 1 << reg;
/* return to current instruction */
do
{
m68k.pc -= 2;
}
while (m68k.ir != *cast(u16 *)(m68k.memory_map[(m68k.pc>>16)&0xff].base + (m68k.pc & 0xffff)));
}
return;
}
}
else
{
/* set MAIN-CPU register access flag */
m68k.poll.detected = 1 << reg;
}
/* restart MAIN-CPU polling detection */
m68k.poll.cycle = m68k.cycles + 840;
m68k.poll.pc = m68k.pc;
}
static void m68k_poll_sync(u32 reg)
{
/* relative SUB-CPU cycle counter */
u32 cycles = (m68k.cycles * SCYCLES_PER_LINE) / MCYCLES_PER_LINE;
/* sync SUB-CPU with MAIN-CPU */
if (!s68k.stopped && (s68k.cycles < cycles))
{
s68k_run(cycles);
}
/* SUB-CPU stopped on register polling ? */
if (s68k.stopped & (3 << reg))
{
/* sync SUB-CPU with MAIN-CPU */
s68k.cycles = cycles;
/* restart SUB-CPU */
s68k.stopped = 0;
version(LOG_SCD) {
error("s68k started from %d cycles\n", cycles);
}
}
/* clear CPU register(s) access flags */
m68k.poll.detected &= ~(3 << reg);
s68k.poll.detected &= ~(3 << reg);
}
u32 ctrl_io_read_byte(u32 address)
{
switch ((address >> 8) & 0xFF)
{
case 0x00: /* I/O chip */
{
if (!(address & 0xE0))
{
return io_68k_read((address >> 1) & 0x0F);
}
return m68k_read_bus_8(address);
}
case 0x11: /* Z80 BUSACK */
{
if (!(address & 1))
{
/* Unused bits return prefetched bus data (Time Killers) */
address = m68k.pc;
/* Check if bus has been requested and is not reseted */
if (zstate == 3)
{
/* D0 is cleared */
return (READ_BYTE(m68k.memory_map[((address)>>16)&0xff].base, (address) & 0xffff) & 0xFE);
}
/* D0 is set */
return (READ_BYTE(m68k.memory_map[((address)>>16)&0xff].base, (address) & 0xffff) | 0x01);
}
return m68k_read_bus_8(address);
}
case 0x20: /* MEGA-CD */
{
version(LOG_SCD) {
error("[%d][%d]read byte CD register %X (%X)\n", v_counter, m68k.cycles, address, m68k.pc);
}
if (system_hw == SYSTEM_MCD)
{
/* register index ($A12000-A1203F mirrored up to $A120FF) */
u8 index = address & 0x3f;
/* Memory Mode */
if (index == 0x03)
{
m68k_poll_detect(0x03);
return scd.regs[0x03>>1].b.l;
}
/* SUB-CPU communication flags */
if (index == 0x0f)
{
/* relative SUB-CPU cycle counter */
u32 cycles = (m68k.cycles * SCYCLES_PER_LINE) / MCYCLES_PER_LINE;
/* sync SUB-CPU with MAIN-CPU (Dracula Unleashed w/ Sega CD Model 2 OS ROM) */
if (!s68k.stopped && (s68k.cycles < cycles))
{
s68k_run(cycles);
}
m68k_poll_detect(0x0f);
return scd.regs[0x0f>>1].b.l;
}
/* default registers */
if (index < 0x30)
{
/* SUB-CPU communication words */
if (index >= 0x20)
{
m68k_poll_detect(index - 0x10);
}
/* register LSB */
if (address & 1)
{
return scd.regs[index >> 1].b.l;
}
/* register MSB */
return scd.regs[index >> 1].b.h;
}
}
return m68k_read_bus_8(address);
}
case 0x30: /* TIME */
{
if (cart.hw.time_r)
{
u32 data = cart.hw.time_r(address);
if (address & 1)
{
return (data & 0xFF);
}
return (data >> 8);
}
return m68k_read_bus_8(address);
}
case 0x41: /* BOOT ROM */
{
if ((config.bios & 1) && (address & 1))
{
u32 data = gen_bankswitch_r() & 1;
/* Unused bits return prefetched bus data */
address = m68k.pc;
data |= (READ_BYTE(m68k.memory_map[((address)>>16)&0xff].base, (address) & 0xffff) & 0xFE);
return data;
}
return m68k_read_bus_8(address);
}
case 0x10: /* MEMORY MODE */
case 0x12: /* Z80 RESET */
case 0x13: /* unknown */
case 0x40: /* TMSS */
case 0x44: /* RADICA */
case 0x50: /* SVP */
{
return m68k_read_bus_8(address);
}
default: /* Invalid address */
{
return m68k_lockup_r_8(address);
}
}
}
u32 ctrl_io_read_word(u32 address)
{
switch ((address >> 8) & 0xFF)
{
case 0x00: /* I/O chip */
{
if (!(address & 0xE0))
{
u32 data = io_68k_read((address >> 1) & 0x0F);
return (data << 8 | data);
}
return m68k_read_bus_16(address);
}
case 0x11: /* Z80 BUSACK */
{
/* Unused bits return prefetched bus data (Time Killers) */
address = m68k.pc;
/* Check if bus has been requested and is not reseted */
if (zstate == 3)
{
/* D8 is cleared */
return (*cast(u16 *)(m68k.memory_map[((address)>>16)&0xff].base + ((address) & 0xffff)) & 0xFEFF);
}
/* D8 is set */
return (*cast(u16 *)(m68k.memory_map[((address)>>16)&0xff].base + ((address) & 0xffff)) | 0x0100);
}
case 0x20: /* MEGA-CD */
{
version(LOG_SCD) {
error("[%d][%d]read word CD register %X (%X)\n", v_counter, m68k.cycles, address, m68k.pc);
}
if (system_hw == SYSTEM_MCD)
{
/* register index ($A12000-A1203F mirrored up to $A120FF) */
u8 index = address & 0x3f;
/* Memory Mode */
if (index == 0x02)
{
m68k_poll_detect(0x03);
return scd.regs[0x03>>1].w;
}
/* CDC host data (word access only ?) */
if (index == 0x08)
{
return cdc_host_r();
}
/* H-INT vector (word access only ?) */
if (index == 0x06)
{
return *cast(u16 *)(m68k.memory_map[0].base + 0x72);
}
/* Stopwatch counter (word read access only ?) */
if (index == 0x0c)
{
/* relative SUB-CPU cycle counter */
u32 cycles = (m68k.cycles * SCYCLES_PER_LINE) / MCYCLES_PER_LINE;
/* cycle-accurate counter value */
return (scd.regs[0x0c>>1].w + ((cycles - scd.stopwatch) / TIMERS_SCYCLES_RATIO)) & 0xfff;
}
/* default registers */
if (index < 0x30)
{
/* SUB-CPU communication words */
if (index >= 0x20)
{
m68k_poll_detect(index - 0x10);
}
return scd.regs[index >> 1].w;
}
}
/* invalid address */
return m68k_read_bus_16(address);
}
case 0x30: /* TIME */
{
if (cart.hw.time_r)
{
return cart.hw.time_r(address);
}
return m68k_read_bus_16(address);
}
case 0x50: /* SVP */
{
if ((address & 0xFD) == 0)
{
return svp.ssp1601.gr[SSP_XST].b.h;
}
if ((address & 0xFF) == 4)
{
u32 data = svp.ssp1601.gr[SSP_PM0].b.h;
svp.ssp1601.gr[SSP_PM0].b.h &= ~1;
return data;
}
return m68k_read_bus_16(address);
}
case 0x10: /* MEMORY MODE */
case 0x12: /* Z80 RESET */
case 0x13: /* unknown */
case 0x40: /* TMSS */
case 0x41: /* BOOT ROM */
case 0x44: /* RADICA */
{
return m68k_read_bus_16(address);
}
default: /* Invalid address */
{
return m68k_lockup_r_16(address);
}
}
}
void ctrl_io_write_byte(u32 address, u32 data)
{
switch ((address >> 8) & 0xFF)
{
case 0x00: /* I/O chip */
{
if ((address & 0xE1) == 0x01)
{
/* get /LWR only */
io_68k_write((address >> 1) & 0x0F, data);
return;
}
m68k_unused_8_w(address, data);
return;
}
case 0x11: /* Z80 BUSREQ */
{
if (!(address & 1))
{
gen_zbusreq_w(data & 1, m68k.cycles);
return;
}
m68k_unused_8_w(address, data);
return;
}
case 0x12: /* Z80 RESET */
{
if (!(address & 1))
{
gen_zreset_w(data & 1, m68k.cycles);
return;
}
m68k_unused_8_w(address, data);
return;
}
case 0x20: /* MEGA-CD */
{
version(LOG_SCD) {
error("[%d][%d]write byte CD register %X -> 0x%02X (%X)\n", v_counter, m68k.cycles, address, data, m68k.pc);
}
if (system_hw == SYSTEM_MCD)
{
/* register index ($A12000-A1203F mirrored up to $A120FF) */
switch (address & 0x3f)
{
case 0x00: /* SUB-CPU interrupt */
{
/* IFL2 bit */
if (data & 0x01)
{
/* level 2 interrupt enabled ? */
if (scd.regs[0x32>>1].b.l & 0x04)
{
/* relative SUB-CPU cycle counter */
u32 cycles = (m68k.cycles * SCYCLES_PER_LINE) / MCYCLES_PER_LINE;
/* sync SUB-CPU with MAIN-CPU */
if (!s68k.stopped && (s68k.cycles < cycles))
{
s68k_run(cycles);
}
/* set IFL2 flag */
scd.regs[0x00].b.h |= 0x01;
/* trigger level 2 interrupt */
scd.pending |= (1 << 2);
/* update IRQ level */
s68k_update_irq((scd.pending & scd.regs[0x32>>1].b.l) >> 1);
}
}
/* writing 0 does nothing */
return;
}
case 0x01: /* SUB-CPU control */
{
/* RESET bit */
if (data & 0x01)
{
/* trigger reset on 0->1 transition */
if (!(scd.regs[0x00].b.l & 0x01))
{
/* reset SUB-CPU */
s68k_pulse_reset();
}
/* BUSREQ bit */
if (data & 0x02)
{
/* SUB-CPU bus requested */
s68k_pulse_halt();
}
else
{
/* SUB-CPU bus released */
s68k_clear_halt();
}
}
else
{
/* SUB-CPU is halted while !RESET is asserted */
s68k_pulse_halt();
}
scd.regs[0x00].b.l = data;
return;
}
case 0x02: /* PRG-RAM Write Protection */
{
scd.regs[0x02>>1].b.h = data;
return;
}
case 0x03: /* Memory mode */
{
m68k_poll_sync(0x02);
/* PRG-RAM 128k bank mapped to $020000-$03FFFF (resp. $420000-$43FFFF) */
m68k.memory_map[scd.cartridge.boot + 0x02].base = scd.prg_ram + ((data & 0xc0) << 11);
m68k.memory_map[scd.cartridge.boot + 0x03].base = m68k.memory_map[scd.cartridge.boot + 0x02].base + 0x10000;
/* check current mode */
if (scd.regs[0x03>>1].b.l & 0x04)
{
/* DMNA bit */
if (data & 0x02)
{
/* writing 1 to DMNA in 1M mode will return Word-RAM to SUB-CPU in 2M mode */
scd.dmna = 1;
}
else
{
/* writing 0 to DMNA in 1M mode actually set DMNA bit */
data |= 0x02;
/* update BK0-1 & DMNA bits */
scd.regs[0x03>>1].b.l = (scd.regs[0x03>>1].b.l & ~0xc2) | (data & 0xc2);
return;
}
}
else
{
/* writing 0 in 2M mode does nothing */
if (data & 0x02)
{
/* Word-RAM is assigned to SUB-CPU */
scd.dmna = 1;
/* clear RET bit */
scd.regs[0x03>>1].b.l = (scd.regs[0x03>>1].b.l & ~0xc3) | (data & 0xc2);
return;
}
}
/* update BK0-1 bits */
scd.regs[0x03>>1].b.l = (scd.regs[0x02>>1].b.l & ~0xc0) | (data & 0xc0);
return;
}
case 0x0f: /* SUB-CPU communication flags, normally read-only (Space Ace, Dragon's Lair) */
{
/* ROL8 operation */
data = (data << 1) | ((data >> 7) & 1);
}
case 0x0e: /* MAIN-CPU communication flags */
{
m68k_poll_sync(0x0e);
scd.regs[0x0e>>1].b.h = data;
return;
}
default:
{
/* MAIN-CPU communication words */
if ((address & 0x30) == 0x10)
{
m68k_poll_sync(address & 0x1e);
/* register LSB */
if (address & 1)
{
scd.regs[(address >> 1) & 0xff].b.l = data;
return;
}
/* register MSB */
scd.regs[(address >> 1) & 0xff].b.h = data;
return;
}
/* invalid address */
m68k_unused_8_w(address, data);
return;
}
}
}
m68k_unused_8_w(address, data);
return;
}
case 0x30: /* TIME */
{
cart.hw.time_w(address, data);
return;
}
case 0x41: /* BOOT ROM */
{
if ((config.bios & 1) && (address & 1))
{
gen_bankswitch_w(data & 1);
return;
}
m68k_unused_8_w(address, data);
return;
}
case 0x10: /* MEMORY MODE */
case 0x13: /* unknown */
case 0x40: /* TMSS */
case 0x44: /* RADICA */
case 0x50: /* SVP */
{
m68k_unused_8_w(address, data);
return;
}
default: /* Invalid address */
{
m68k_lockup_w_8(address, data);
return;
}
}
}
void ctrl_io_write_word(u32 address, u32 data)
{
switch ((address >> 8) & 0xFF)
{
case 0x00: /* I/O chip */
{
if (!(address & 0xE0))
{
io_68k_write((address >> 1) & 0x0F, data & 0xFF);
return;
}
m68k_unused_16_w(address, data);
return;
}
case 0x11: /* Z80 BUSREQ */
{
gen_zbusreq_w((data >> 8) & 1, m68k.cycles);
return;
}
case 0x12: /* Z80 RESET */
{
gen_zreset_w((data >> 8) & 1, m68k.cycles);
return;
}
case 0x20: /* MEGA-CD */
{
version(LOG_SCD) {
error("[%d][%d]write word CD register %X -> 0x%04X (%X)\n", v_counter, m68k.cycles, address, data, m68k.pc);
}
if (system_hw == SYSTEM_MCD)
{
/* register index ($A12000-A1203F mirrored up to $A120FF) */
switch (address & 0x3e)
{
case 0x00: /* SUB-CPU interrupt & control */
{
/* RESET bit */
if (data & 0x01)
{
/* trigger reset on 0->1 transition */
if (!(scd.regs[0x00].b.l & 0x01))
{
/* reset SUB-CPU */
s68k_pulse_reset();
}
/* BUSREQ bit */
if (data & 0x02)
{
/* SUB-CPU bus requested */
s68k_pulse_halt();
}
else
{
/* SUB-CPU bus released */
s68k_clear_halt();
}
}
else
{
/* SUB-CPU is halted while !RESET is asserted */
s68k_pulse_halt();
}
/* IFL2 bit */
if (data & 0x100)
{
/* level 2 interrupt enabled ? */
if (scd.regs[0x32>>1].b.l & 0x04)
{
/* set IFL2 flag */
scd.regs[0x00].b.h |= 0x01;
/* trigger level 2 interrupt */
scd.pending |= (1 << 2);
/* update IRQ level */
s68k_update_irq((scd.pending & scd.regs[0x32>>1].b.l) >> 1);
}
}
/* update LSB only */
scd.regs[0x00].b.l = data & 0xff;
return;
}
case 0x02: /* Memory Mode */
{
m68k_poll_sync(0x02);
/* PRG-RAM 128k bank mapped to $020000-$03FFFF (resp. $420000-$43FFFF) */
m68k.memory_map[scd.cartridge.boot + 0x02].base = scd.prg_ram + ((data & 0xc0) << 11);
m68k.memory_map[scd.cartridge.boot + 0x03].base = m68k.memory_map[scd.cartridge.boot + 0x02].base + 0x10000;
/* check current mode */
if (scd.regs[0x03>>1].b.l & 0x04)
{
/* DMNA bit */
if (data & 0x02)
{
/* writing 1 to DMNA in 1M mode will return Word-RAM to SUB-CPU in 2M mode */
scd.dmna = 1;
}
else
{
/* writing 0 to DMNA in 1M mode actually set DMNA bit */
data |= 0x02;
/* update WP0-7, BK0-1 & DMNA bits */
scd.regs[0x02>>1].w = (scd.regs[0x02>>1].w & ~0xffc2) | (data & 0xffc2);
return;
}
}
else
{
/* writing 0 in 2M mode does nothing */
if (data & 0x02)
{
/* Word-RAM is assigned to SUB-CPU */
scd.dmna = 1;
/* clear RET bit */
scd.regs[0x02>>1].w = (scd.regs[0x02>>1].w & ~0xffc3) | (data & 0xffc2);
return;
}
}
/* update WP0-7 & BK0-1 bits */
scd.regs[0x02>>1].w = (scd.regs[0x02>>1].w & ~0xffc0) | (data & 0xffc0);
return;
}
case 0x06: /* H-INT vector (word access only ?) */
{
*cast(u16 *)(m68k.memory_map[0].base + 0x72) = data;
return;
}
case 0x0e: /* MAIN-CPU communication flags */
{
m68k_poll_sync(0x0e);
/* LSB is read-only (Mortal Kombat) */
scd.regs[0x0e>>1].b.h = data;
return;
}
default:
{
/* MAIN-CPU communication words */
if ((address & 0x30) == 0x10)
{
m68k_poll_sync(address & 0x1e);
scd.regs[(address >> 1) & 0xff].w = data;
return;
}
/* invalid address */
m68k_unused_16_w (address, data);
return;
}
}
}
m68k_unused_16_w (address, data);
return;
}
case 0x30: /* TIME */
{
cart.hw.time_w(address, data);
return;
}
case 0x40: /* TMSS */
{
if (config.bios & 1)
{
gen_tmss_w(address & 3, data);
return;
}
m68k_unused_16_w(address, data);
return;
}
case 0x50: /* SVP */
{
if (!(address & 0xFD))
{
svp.ssp1601.gr[SSP_XST].b.h = data;
svp.ssp1601.gr[SSP_PM0].b.h |= 2;
svp.ssp1601.emu_status &= ~SSP_WAIT_PM0;
return;
}
m68k_unused_16_w(address, data);
return;
}
case 0x10: /* MEMORY MODE */
case 0x13: /* unknown */
case 0x41: /* BOOT ROM */
case 0x44: /* RADICA */
{
m68k_unused_16_w (address, data);
return;
}
default: /* Invalid address */
{
m68k_lockup_w_16 (address, data);
return;
}
}
}
/*--------------------------------------------------------------------------*/
/* VDP */
/*--------------------------------------------------------------------------*/
u32 vdp_read_byte(u32 address)
{
switch (address & 0xFD)
{
case 0x00: /* DATA */
{
return (vdp_68k_data_r() >> 8);
}
case 0x01: /* DATA */
{
return (vdp_68k_data_r() & 0xFF);
}
case 0x04: /* CTRL */
{
u32 data = (vdp_68k_ctrl_r(m68k.cycles) >> 8) & 3;
/* Unused bits return prefetched bus data */
address = m68k.pc;
data |= (READ_BYTE(m68k.memory_map[((address)>>16)&0xff].base, (address) & 0xffff) & 0xFC);
return data;
}
case 0x05: /* CTRL */
{
return (vdp_68k_ctrl_r(m68k.cycles) & 0xFF);
}
case 0x08: /* HVC */
case 0x0C:
{
return (vdp_hvc_r(m68k.cycles) >> 8);
}
case 0x09: /* HVC */
case 0x0D:
{
return (vdp_hvc_r(m68k.cycles) & 0xFF);
}
case 0x18: /* Unused */
case 0x19:
case 0x1C:
case 0x1D:
{
return m68k_read_bus_8(address);
}
default: /* Invalid address */
{
return m68k_lockup_r_8(address);
}
}
}
u32 vdp_read_word(u32 address)
{
switch (address & 0xFC)
{
case 0x00: /* DATA */
{
return vdp_68k_data_r();
}
case 0x04: /* CTRL */
{
u32 data = vdp_68k_ctrl_r(m68k.cycles) & 0x3FF;
/* Unused bits return prefetched bus data */
address = m68k.pc;
data |= (*cast(u16 *)(m68k.memory_map[((address)>>16)&0xff].base + ((address) & 0xffff)) & 0xFC00);
return data;
}
case 0x08: /* HVC */
case 0x0C:
{
return vdp_hvc_r(m68k.cycles);
}
case 0x18: /* Unused */
case 0x1C:
{
return m68k_read_bus_16(address);
}
default: /* Invalid address */
{
return m68k_lockup_r_16(address);
}
}
}
void vdp_write_byte(u32 address, u32 data)
{
switch (address & 0xFC)
{
case 0x00: /* Data port */
{
vdp_68k_data_w(data << 8 | data);
return;
}
case 0x04: /* Control port */
{
vdp_68k_ctrl_w(data << 8 | data);
return;
}
case 0x10: /* PSG */
case 0x14:
{
if (address & 1)
{
SN76489_Write(m68k.cycles, data);
return;
}
m68k_unused_8_w(address, data);
return;
}
case 0x18: /* Unused */
{
m68k_unused_8_w(address, data);
return;
}
case 0x1C: /* TEST register */
{
vdp_test_w(data << 8 | data);
return;
}
default: /* Invalid address */
{
m68k_lockup_w_8(address, data);
return;
}
}
}
void vdp_write_word(u32 address, u32 data)
{
switch (address & 0xFC)
{
case 0x00: /* DATA */
{
vdp_68k_data_w(data);
return;
}
case 0x04: /* CTRL */
{
vdp_68k_ctrl_w(data);
return;
}
case 0x10: /* PSG */
case 0x14:
{
SN76489_Write(m68k.cycles, data & 0xFF);
return;
}
case 0x18: /* Unused */
{
m68k_unused_16_w(address, data);
return;
}
case 0x1C: /* Test register */
{
vdp_test_w(data);
return;
}
default: /* Invalid address */
{
m68k_lockup_w_16 (address, data);
return;
}
}
}
/*--------------------------------------------------------------------------*/
/* PICO (incomplete) */
/*--------------------------------------------------------------------------*/
u32 pico_read_byte(u32 address)
{
switch (address & 0xFF)
{
case 0x01: /* VERSION register */
{
return (region_code >> 1);
}
case 0x03: /* IO register */
{
return ~input.pad[0];
}
case 0x05: /* PEN X coordinate (MSB) */
{
return (input.analog[0][0] >> 8);
}
case 0x07: /* PEN X coordinate (LSB) */
{
return (input.analog[0][0] & 0xFF);
}
case 0x09: /* PEN Y coordinate (MSB) */
{
return (input.analog[0][1] >> 8);
}
case 0x0B: /* PEN Y coordinate (LSB) */
{
return (input.analog[0][1] & 0xFF);
}
case 0x0D: /* PAGE register */
{
return (1 << pico_current) - 1;
}
case 0x10: /* ADPCM data registers (TODO) */
case 0x11:
{
return 0xff;
}
case 0x12: /* ADPCM control registers (TODO) */
{
return 0x80;
}
default:
{
return m68k_read_bus_8(address);
}
}
}
u32 pico_read_word(u32 address)
{
return (pico_read_byte(address | 1) | (pico_read_byte(address) << 8));
}
|
D
|
// Written in the D programming language.
/**
$(RED Warning: This module is considered out-dated and not up to Phobos'
current standards. It will be removed from Phobos in 2.101.0.
If you still need it, go to $(LINK https://github.com/DigitalMars/undeaD))
Classes and functions for creating and parsing XML
The basic architecture of this module is that there are standalone functions,
classes for constructing an XML document from scratch (Tag, Element and
Document), and also classes for parsing a pre-existing XML file (ElementParser
and DocumentParser). The parsing classes <i>may</i> be used to build a
Document, but that is not their primary purpose. The handling capabilities of
DocumentParser and ElementParser are sufficiently customizable that you can
make them do pretty much whatever you want.
Example: This example creates a DOM (Document Object Model) tree
from an XML file.
------------------------------------------------------------------------------
import std.xml;
import std.stdio;
import std.string;
import std.file;
// books.xml is used in various samples throughout the Microsoft XML Core
// Services (MSXML) SDK.
//
// See http://msdn2.microsoft.com/en-us/library/ms762271(VS.85).aspx
void main()
{
string s = cast(string) std.file.read("books.xml");
// Check for well-formedness
check(s);
// Make a DOM tree
auto doc = new Document(s);
// Plain-print it
writeln(doc);
}
------------------------------------------------------------------------------
Example: This example does much the same thing, except that the file is
deconstructed and reconstructed by hand. This is more work, but the
techniques involved offer vastly more power.
------------------------------------------------------------------------------
import std.xml;
import std.stdio;
import std.string;
struct Book
{
string id;
string author;
string title;
string genre;
string price;
string pubDate;
string description;
}
void main()
{
string s = cast(string) std.file.read("books.xml");
// Check for well-formedness
check(s);
// Take it apart
Book[] books;
auto xml = new DocumentParser(s);
xml.onStartTag["book"] = (ElementParser xml)
{
Book book;
book.id = xml.tag.attr["id"];
xml.onEndTag["author"] = (in Element e) { book.author = e.text(); };
xml.onEndTag["title"] = (in Element e) { book.title = e.text(); };
xml.onEndTag["genre"] = (in Element e) { book.genre = e.text(); };
xml.onEndTag["price"] = (in Element e) { book.price = e.text(); };
xml.onEndTag["publish-date"] = (in Element e) { book.pubDate = e.text(); };
xml.onEndTag["description"] = (in Element e) { book.description = e.text(); };
xml.parse();
books ~= book;
};
xml.parse();
// Put it back together again;
auto doc = new Document(new Tag("catalog"));
foreach (book;books)
{
auto element = new Element("book");
element.tag.attr["id"] = book.id;
element ~= new Element("author", book.author);
element ~= new Element("title", book.title);
element ~= new Element("genre", book.genre);
element ~= new Element("price", book.price);
element ~= new Element("publish-date",book.pubDate);
element ~= new Element("description", book.description);
doc ~= element;
}
// Pretty-print it
writefln(join(doc.pretty(3),"\n"));
}
-------------------------------------------------------------------------------
Copyright: Copyright Janice Caron 2008 - 2009.
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Janice Caron
Source: $(PHOBOSSRC std/xml.d)
*/
/*
Copyright Janice Caron 2008 - 2009.
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 appbase.utils.xml;
enum cdata = "<![CDATA[";
/**
* Returns true if the character is a character according to the XML standard
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isChar(dchar c) @safe @nogc pure nothrow // rule 2
{
if (c <= 0xD7FF)
{
if (c >= 0x20)
return true;
switch (c)
{
case 0xA:
case 0x9:
case 0xD:
return true;
default:
return false;
}
}
else if (0xE000 <= c && c <= 0x10FFFF)
{
if ((c & 0x1FFFFE) != 0xFFFE) // U+FFFE and U+FFFF
return true;
}
return false;
}
@safe @nogc nothrow pure unittest
{
assert(!isChar(cast(dchar) 0x8));
assert( isChar(cast(dchar) 0x9));
assert( isChar(cast(dchar) 0xA));
assert(!isChar(cast(dchar) 0xB));
assert(!isChar(cast(dchar) 0xC));
assert( isChar(cast(dchar) 0xD));
assert(!isChar(cast(dchar) 0xE));
assert(!isChar(cast(dchar) 0x1F));
assert( isChar(cast(dchar) 0x20));
assert( isChar('J'));
assert( isChar(cast(dchar) 0xD7FF));
assert(!isChar(cast(dchar) 0xD800));
assert(!isChar(cast(dchar) 0xDFFF));
assert( isChar(cast(dchar) 0xE000));
assert( isChar(cast(dchar) 0xFFFD));
assert(!isChar(cast(dchar) 0xFFFE));
assert(!isChar(cast(dchar) 0xFFFF));
assert( isChar(cast(dchar) 0x10000));
assert( isChar(cast(dchar) 0x10FFFF));
assert(!isChar(cast(dchar) 0x110000));
debug (stdxml_TestHardcodedChecks)
{
foreach (c; 0 .. dchar.max + 1)
assert(isChar(c) == lookup(CharTable, c));
}
}
/**
* Returns true if the character is whitespace according to the XML standard
*
* Only the following characters are considered whitespace in XML - space, tab,
* carriage return and linefeed
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isSpace(dchar c) @safe @nogc pure nothrow
{
return c == '\u0020' || c == '\u0009' || c == '\u000A' || c == '\u000D';
}
/**
* Returns true if the character is a digit according to the XML standard
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isDigit(dchar c) @safe @nogc pure nothrow
{
if (c <= 0x0039 && c >= 0x0030)
return true;
else
return lookup(DigitTable,c);
}
@safe @nogc nothrow pure unittest
{
debug (stdxml_TestHardcodedChecks)
{
foreach (c; 0 .. dchar.max + 1)
assert(isDigit(c) == lookup(DigitTable, c));
}
}
/**
* Returns true if the character is a letter according to the XML standard
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isLetter(dchar c) @safe @nogc nothrow pure // rule 84
{
return isIdeographic(c) || isBaseChar(c);
}
/**
* Returns true if the character is an ideographic character according to the
* XML standard
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isIdeographic(dchar c) @safe @nogc nothrow pure
{
if (c == 0x3007)
return true;
if (c <= 0x3029 && c >= 0x3021 )
return true;
if (c <= 0x9FA5 && c >= 0x4E00)
return true;
return false;
}
@safe @nogc nothrow pure unittest
{
assert(isIdeographic('\u4E00'));
assert(isIdeographic('\u9FA5'));
assert(isIdeographic('\u3007'));
assert(isIdeographic('\u3021'));
assert(isIdeographic('\u3029'));
debug (stdxml_TestHardcodedChecks)
{
foreach (c; 0 .. dchar.max + 1)
assert(isIdeographic(c) == lookup(IdeographicTable, c));
}
}
/**
* Returns true if the character is a base character according to the XML
* standard
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isBaseChar(dchar c) @safe @nogc nothrow pure
{
return lookup(BaseCharTable,c);
}
/**
* Returns true if the character is a combining character according to the
* XML standard
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isCombiningChar(dchar c) @safe @nogc nothrow pure
{
return lookup(CombiningCharTable,c);
}
/**
* Returns true if the character is an extender according to the XML standard
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* c = the character to be tested
*/
bool isExtender(dchar c) @safe @nogc nothrow pure
{
return lookup(ExtenderTable,c);
}
/**
* Encodes a string by replacing all characters which need to be escaped with
* appropriate predefined XML entities.
*
* encode() escapes certain characters (ampersand, quote, apostrophe, less-than
* and greater-than), and similarly, decode() unescapes them. These functions
* are provided for convenience only. You do not need to use them when using
* the std.xml classes, because then all the encoding and decoding will be done
* for you automatically.
*
* If the string is not modified, the original will be returned.
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* s = The string to be encoded
*
* Returns: The encoded string
*
* Example:
* --------------
* writefln(encode("a > b")); // writes "a > b"
* --------------
*/
S encode(S)(S s)
{
import std.array : appender;
string r;
size_t lastI;
auto result = appender!S();
foreach (i, c; s)
{
switch (c)
{
case '&': r = "&"; break;
case '"': r = """; break;
case '\'': r = "'"; break;
case '<': r = "<"; break;
case '>': r = ">"; break;
default: continue;
}
// Replace with r
result.put(s[lastI .. i]);
result.put(r);
lastI = i + 1;
}
if (!result.data.ptr) return s;
result.put(s[lastI .. $]);
return result.data;
}
@safe pure unittest
{
auto s = "hello";
assert(encode(s) is s);
assert(encode("a > b") == "a > b", encode("a > b"));
assert(encode("a < b") == "a < b");
assert(encode("don't") == "don't");
assert(encode("\"hi\"") == ""hi"", encode("\"hi\""));
assert(encode("cat & dog") == "cat & dog");
}
/**
* Mode to use for decoding.
*
* $(DDOC_ENUM_MEMBERS NONE) Do not decode
* $(DDOC_ENUM_MEMBERS LOOSE) Decode, but ignore errors
* $(DDOC_ENUM_MEMBERS STRICT) Decode, and throw exception on error
*/
enum DecodeMode
{
NONE, LOOSE, STRICT
}
/**
* Decodes a string by unescaping all predefined XML entities.
*
* encode() escapes certain characters (ampersand, quote, apostrophe, less-than
* and greater-than), and similarly, decode() unescapes them. These functions
* are provided for convenience only. You do not need to use them when using
* the std.xml classes, because then all the encoding and decoding will be done
* for you automatically.
*
* This function decodes the entities &amp;, &quot;, &apos;,
* &lt; and &gt,
* as well as decimal and hexadecimal entities such as &#x20AC;
*
* If the string does not contain an ampersand, the original will be returned.
*
* Note that the "mode" parameter can be one of DecodeMode.NONE (do not
* decode), DecodeMode.LOOSE (decode, but ignore errors), or DecodeMode.STRICT
* (decode, and throw a DecodeException in the event of an error).
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Params:
* s = The string to be decoded
* mode = (optional) Mode to use for decoding. (Defaults to LOOSE).
*
* Throws: DecodeException if mode == DecodeMode.STRICT and decode fails
*
* Returns: The decoded string
*
* Example:
* --------------
* writefln(decode("a > b")); // writes "a > b"
* --------------
*/
string decode(string s, DecodeMode mode=DecodeMode.LOOSE) @safe pure
{
import std.algorithm.searching : startsWith;
if (mode == DecodeMode.NONE) return s;
string buffer;
foreach (ref i; 0 .. s.length)
{
char c = s[i];
if (c != '&')
{
if (buffer.length != 0) buffer ~= c;
}
else
{
if (buffer.length == 0)
{
buffer = s[0 .. i].dup;
}
if (startsWith(s[i..$],"&#"))
{
try
{
dchar d;
string t = s[i..$];
checkCharRef(t, d);
char[4] temp;
import std.utf : encode;
buffer ~= temp[0 .. encode(temp, d)];
i = s.length - t.length - 1;
}
catch (Err e)
{
if (mode == DecodeMode.STRICT)
throw new DecodeException("Unescaped &");
buffer ~= '&';
}
}
else if (startsWith(s[i..$],"&" )) { buffer ~= '&'; i += 4; }
else if (startsWith(s[i..$],""")) { buffer ~= '"'; i += 5; }
else if (startsWith(s[i..$],"'")) { buffer ~= '\''; i += 5; }
else if (startsWith(s[i..$],"<" )) { buffer ~= '<'; i += 3; }
else if (startsWith(s[i..$],">" )) { buffer ~= '>'; i += 3; }
else
{
if (mode == DecodeMode.STRICT)
throw new DecodeException("Unescaped &");
buffer ~= '&';
}
}
}
return (buffer.length == 0) ? s : buffer;
}
@safe pure unittest
{
void assertNot(string s) pure
{
bool b = false;
try { decode(s,DecodeMode.STRICT); }
catch (DecodeException e) { b = true; }
assert(b,s);
}
// Assert that things that should work, do
auto s = "hello";
assert(decode(s, DecodeMode.STRICT) is s);
assert(decode("a > b", DecodeMode.STRICT) == "a > b");
assert(decode("a < b", DecodeMode.STRICT) == "a < b");
assert(decode("don't", DecodeMode.STRICT) == "don't");
assert(decode(""hi"", DecodeMode.STRICT) == "\"hi\"");
assert(decode("cat & dog", DecodeMode.STRICT) == "cat & dog");
assert(decode("*", DecodeMode.STRICT) == "*");
assert(decode("*", DecodeMode.STRICT) == "*");
assert(decode("cat & dog", DecodeMode.LOOSE) == "cat & dog");
assert(decode("a > b", DecodeMode.LOOSE) == "a > b");
assert(decode("&#;", DecodeMode.LOOSE) == "&#;");
assert(decode("&#x;", DecodeMode.LOOSE) == "&#x;");
assert(decode("G;", DecodeMode.LOOSE) == "G;");
assert(decode("G;", DecodeMode.LOOSE) == "G;");
// Assert that things that shouldn't work, don't
assertNot("cat & dog");
assertNot("a > b");
assertNot("&#;");
assertNot("&#x;");
assertNot("G;");
assertNot("G;");
}
/**
* Class representing an XML document.
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
*/
class Document : Element
{
/**
* Contains all text which occurs before the root element.
* Defaults to <?xml version="1.0"?>
*/
string prolog = "<?xml version=\"1.0\"?>";
/**
* Contains all text which occurs after the root element.
* Defaults to the empty string
*/
string epilog;
/**
* Constructs a Document by parsing XML text.
*
* This function creates a complete DOM (Document Object Model) tree.
*
* The input to this function MUST be valid XML.
* This is enforced by DocumentParser's in contract.
*
* Params:
* s = the complete XML text.
*/
this(string s)
in
{
assert(s.length != 0);
}
do
{
auto xml = new DocumentParser(s);
string tagString = xml.tag.tagString;
this(xml.tag);
prolog = s[0 .. tagString.ptr - s.ptr];
parse(xml);
epilog = *xml.s;
}
/**
* Constructs a Document from a Tag.
*
* Params:
* tag = the start tag of the document.
*/
this(const(Tag) tag)
{
super(tag);
}
const
{
/**
* Compares two Documents for equality
*
* Example:
* --------------
* Document d1,d2;
* if (d1 == d2) { }
* --------------
*/
override bool opEquals(scope const Object o) const
{
const doc = toType!(const Document)(o);
return prolog == doc.prolog
&& (cast(const) this).Element.opEquals(cast(const) doc)
&& epilog == doc.epilog;
}
/**
* Compares two Documents
*
* You should rarely need to call this function. It exists so that
* Documents can be used as associative array keys.
*
* Example:
* --------------
* Document d1,d2;
* if (d1 < d2) { }
* --------------
*/
override int opCmp(scope const Object o) scope const
{
const doc = toType!(const Document)(o);
if (prolog != doc.prolog)
return prolog < doc.prolog ? -1 : 1;
if (int cmp = this.Element.opCmp(doc))
return cmp;
if (epilog != doc.epilog)
return epilog < doc.epilog ? -1 : 1;
return 0;
}
/**
* Returns the hash of a Document
*
* You should rarely need to call this function. It exists so that
* Documents can be used as associative array keys.
*/
override size_t toHash() scope const @trusted
{
return hash(prolog, hash(epilog, (cast() this).Element.toHash()));
}
/**
* Returns the string representation of a Document. (That is, the
* complete XML of a document).
*/
override string toString() scope const @safe
{
return prolog ~ super.toString() ~ epilog;
}
}
}
@system unittest
{
// https://issues.dlang.org/show_bug.cgi?id=14966
auto xml = `<?xml version="1.0" encoding="UTF-8"?><foo></foo>`;
auto a = new Document(xml);
auto b = new Document(xml);
assert(a == b);
assert(!(a < b));
int[Document] aa;
aa[a] = 1;
assert(aa[b] == 1);
b ~= new Element("b");
assert(a < b);
assert(b > a);
}
/**
* Class representing an XML element.
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*/
class Element : Item
{
Tag tag; /// The start tag of the element
Item[] items; /// The element's items
Text[] texts; /// The element's text items
CData[] cdatas; /// The element's CData items
Comment[] comments; /// The element's comments
ProcessingInstruction[] pis; /// The element's processing instructions
Element[] elements; /// The element's child elements
/**
* Constructs an Element given a name and a string to be used as a Text
* interior.
*
* Params:
* name = the name of the element.
* interior = (optional) the string interior.
*
* Example:
* -------------------------------------------------------
* auto element = new Element("title","Serenity")
* // constructs the element <title>Serenity</title>
* -------------------------------------------------------
*/
this(string name, string interior=null) @safe pure
{
this(new Tag(name));
if (interior.length != 0) opOpAssign!("~")(new Text(interior));
}
/**
* Constructs an Element from a Tag.
*
* Params:
* tag_ = the start or empty tag of the element.
*/
this(const(Tag) tag_) @safe pure
{
this.tag = new Tag(tag_.name);
tag.type = TagType.EMPTY;
foreach (k,v;tag_.attr) tag.attr[k] = v;
tag.tagString = tag_.tagString;
}
/**
* Append a text item to the interior of this element
*
* Params:
* item = the item you wish to append.
*
* Example:
* --------------
* Element element;
* element ~= new Text("hello");
* --------------
*/
void opOpAssign(string op)(Text item) @safe pure
if (op == "~")
{
texts ~= item;
appendItem(item);
}
/**
* Append a CData item to the interior of this element
*
* Params:
* item = the item you wish to append.
*
* Example:
* --------------
* Element element;
* element ~= new CData("hello");
* --------------
*/
void opOpAssign(string op)(CData item) @safe pure
if (op == "~")
{
cdatas ~= item;
appendItem(item);
}
/**
* Append a comment to the interior of this element
*
* Params:
* item = the item you wish to append.
*
* Example:
* --------------
* Element element;
* element ~= new Comment("hello");
* --------------
*/
void opOpAssign(string op)(Comment item) @safe pure
if (op == "~")
{
comments ~= item;
appendItem(item);
}
/**
* Append a processing instruction to the interior of this element
*
* Params:
* item = the item you wish to append.
*
* Example:
* --------------
* Element element;
* element ~= new ProcessingInstruction("hello");
* --------------
*/
void opOpAssign(string op)(ProcessingInstruction item) @safe pure
if (op == "~")
{
pis ~= item;
appendItem(item);
}
/**
* Append a complete element to the interior of this element
*
* Params:
* item = the item you wish to append.
*
* Example:
* --------------
* Element element;
* Element other = new Element("br");
* element ~= other;
* // appends element representing <br />
* --------------
*/
void opOpAssign(string op)(Element item) @safe pure
if (op == "~")
{
elements ~= item;
appendItem(item);
}
private void appendItem(Item item) @safe pure
{
items ~= item;
if (tag.type == TagType.EMPTY && !item.isEmptyXML)
tag.type = TagType.START;
}
private void parse(ElementParser xml)
{
xml.onText = (string s) { opOpAssign!("~")(new Text(s)); };
xml.onCData = (string s) { opOpAssign!("~")(new CData(s)); };
xml.onComment = (string s) { opOpAssign!("~")(new Comment(s)); };
xml.onPI = (string s) { opOpAssign!("~")(new ProcessingInstruction(s)); };
xml.onStartTag[null] = (ElementParser xml)
{
auto e = new Element(xml.tag);
e.parse(xml);
opOpAssign!("~")(e);
};
xml.parse();
}
/**
* Compares two Elements for equality
*
* Example:
* --------------
* Element e1,e2;
* if (e1 == e2) { }
* --------------
*/
override bool opEquals(scope const Object o) const
{
const element = toType!(const Element)(o);
immutable len = items.length;
if (len != element.items.length) return false;
foreach (i; 0 .. len)
{
if (!items[i].opEquals(element.items[i])) return false;
}
return true;
}
/**
* Compares two Elements
*
* You should rarely need to call this function. It exists so that Elements
* can be used as associative array keys.
*
* Example:
* --------------
* Element e1,e2;
* if (e1 < e2) { }
* --------------
*/
override int opCmp(scope const Object o) @safe const
{
const element = toType!(const Element)(o);
for (uint i=0; ; ++i)
{
if (i == items.length && i == element.items.length) return 0;
if (i == items.length) return -1;
if (i == element.items.length) return 1;
if (!items[i].opEquals(element.items[i]))
return items[i].opCmp(element.items[i]);
}
}
/**
* Returns the hash of an Element
*
* You should rarely need to call this function. It exists so that Elements
* can be used as associative array keys.
*/
override size_t toHash() scope const @safe
{
size_t hash = tag.toHash();
foreach (item;items) hash += item.toHash();
return hash;
}
const
{
/**
* Returns the decoded interior of an element.
*
* The element is assumed to contain text <i>only</i>. So, for
* example, given XML such as "<title>Good &amp;
* Bad</title>", will return "Good & Bad".
*
* Params:
* mode = (optional) Mode to use for decoding. (Defaults to LOOSE).
*
* Throws: DecodeException if decode fails
*/
string text(DecodeMode mode=DecodeMode.LOOSE)
{
string buffer;
foreach (item;items)
{
Text t = cast(Text) item;
if (t is null) throw new DecodeException(item.toString());
buffer ~= decode(t.toString(),mode);
}
return buffer;
}
/**
* Returns an indented string representation of this item
*
* Params:
* indent = (optional) number of spaces by which to indent this
* element. Defaults to 2.
*/
override string[] pretty(uint indent=2) scope
{
import std.algorithm.searching : count;
import std.string : rightJustify;
if (isEmptyXML) return [ tag.toEmptyString() ];
if (items.length == 1)
{
auto t = cast(const(Text))(items[0]);
if (t !is null)
{
return [tag.toStartString() ~ t.toString() ~ tag.toEndString()];
}
}
string[] a = [ tag.toStartString() ];
foreach (item;items)
{
string[] b = item.pretty(indent);
foreach (s;b)
{
a ~= rightJustify(s,count(s) + indent);
}
}
a ~= tag.toEndString();
return a;
}
/**
* Returns the string representation of an Element
*
* Example:
* --------------
* auto element = new Element("br");
* writefln(element.toString()); // writes "<br />"
* --------------
*/
override string toString() scope @safe
{
if (isEmptyXML) return tag.toEmptyString();
string buffer = tag.toStartString();
foreach (item;items) { buffer ~= item.toString(); }
buffer ~= tag.toEndString();
return buffer;
}
override @property @safe pure @nogc nothrow bool isEmptyXML() const scope { return items.length == 0; }
}
}
/**
* Tag types.
*
* $(DDOC_ENUM_MEMBERS START) Used for start tags
* $(DDOC_ENUM_MEMBERS END) Used for end tags
* $(DDOC_ENUM_MEMBERS EMPTY) Used for empty tags
*
*/
enum TagType { START, END, EMPTY }
/**
* Class representing an XML tag.
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* The class invariant guarantees
* <ul>
* <li> that $(B type) is a valid enum TagType value</li>
* <li> that $(B name) consists of valid characters</li>
* <li> that each attribute name consists of valid characters</li>
* </ul>
*/
class Tag
{
TagType type = TagType.START; /// Type of tag
string name; /// Tag name
string[string] attr; /// Associative array of attributes
private string tagString;
invariant()
{
string s;
string t;
assert(type == TagType.START
|| type == TagType.END
|| type == TagType.EMPTY);
s = name;
try { checkName(s,t); }
catch (Err e) { assert(false,"Invalid tag name:" ~ e.toString()); }
foreach (k,v;attr)
{
s = k;
try { checkName(s,t); }
catch (Err e)
{ assert(false,"Invalid attribute name:" ~ e.toString()); }
}
}
/**
* Constructs an instance of Tag with a specified name and type
*
* The constructor does not initialize the attributes. To initialize the
* attributes, you access the $(B attr) member variable.
*
* Params:
* name = the Tag's name
* type = (optional) the Tag's type. If omitted, defaults to
* TagType.START.
*
* Example:
* --------------
* auto tag = new Tag("img",Tag.EMPTY);
* tag.attr["src"] = "http://example.com/example.jpg";
* --------------
*/
this(string name, TagType type=TagType.START) @safe pure
{
this.name = name;
this.type = type;
}
/* Private constructor (so don't ddoc this!)
*
* Constructs a Tag by parsing the string representation, e.g. "<html>".
*
* The string is passed by reference, and is advanced over all characters
* consumed.
*
* The second parameter is a dummy parameter only, required solely to
* distinguish this constructor from the public one.
*/
private this(ref string s, bool dummy) @safe pure
{
import std.algorithm.searching : countUntil;
import std.ascii : isWhite;
import std.utf : byCodeUnit;
tagString = s;
try
{
reqc(s,'<');
if (optc(s,'/')) type = TagType.END;
ptrdiff_t i = s.byCodeUnit.countUntil(">", "/>", " ", "\t", "\v", "\r", "\n", "\f");
name = s[0 .. i];
s = s[i .. $];
i = s.byCodeUnit.countUntil!(a => !isWhite(a));
s = s[i .. $];
while (s.length > 0 && s[0] != '>' && s[0] != '/')
{
i = s.byCodeUnit.countUntil("=", " ", "\t", "\v", "\r", "\n", "\f");
string key = s[0 .. i];
s = s[i .. $];
i = s.byCodeUnit.countUntil!(a => !isWhite(a));
s = s[i .. $];
reqc(s,'=');
i = s.byCodeUnit.countUntil!(a => !isWhite(a));
s = s[i .. $];
immutable char quote = requireOneOf(s,"'\"");
i = s.byCodeUnit.countUntil(quote);
string val = decode(s[0 .. i], DecodeMode.LOOSE);
s = s[i .. $];
reqc(s,quote);
i = s.byCodeUnit.countUntil!(a => !isWhite(a));
s = s[i .. $];
attr[key] = val;
}
if (optc(s,'/'))
{
if (type == TagType.END) throw new TagException("");
type = TagType.EMPTY;
}
reqc(s,'>');
tagString.length = tagString.length - s.length;
}
catch (XMLException e)
{
tagString.length = tagString.length - s.length;
throw new TagException(tagString);
}
}
const
{
/**
* Compares two Tags for equality
*
* You should rarely need to call this function. It exists so that Tags
* can be used as associative array keys.
*
* Example:
* --------------
* Tag tag1,tag2
* if (tag1 == tag2) { }
* --------------
*/
override bool opEquals(scope Object o)
{
const tag = toType!(const Tag)(o);
return
(name != tag.name) ? false : (
(attr != tag.attr) ? false : (
(type != tag.type) ? false : (
true )));
}
/**
* Compares two Tags
*
* Example:
* --------------
* Tag tag1,tag2
* if (tag1 < tag2) { }
* --------------
*/
override int opCmp(Object o)
{
const tag = toType!(const Tag)(o);
// Note that attr is an AA, so the comparison is nonsensical (bug 10381)
return
((name != tag.name) ? ( name < tag.name ? -1 : 1 ) :
((attr != tag.attr) ? ( cast(void *) attr < cast(void*) tag.attr ? -1 : 1 ) :
((type != tag.type) ? ( type < tag.type ? -1 : 1 ) :
0 )));
}
/**
* Returns the hash of a Tag
*
* You should rarely need to call this function. It exists so that Tags
* can be used as associative array keys.
*/
override size_t toHash()
{
return .hashOf(name);
}
/**
* Returns the string representation of a Tag
*
* Example:
* --------------
* auto tag = new Tag("book",TagType.START);
* writefln(tag.toString()); // writes "<book>"
* --------------
*/
override string toString() @safe
{
if (isEmpty) return toEmptyString();
return (isEnd) ? toEndString() : toStartString();
}
private
{
string toNonEndString() @safe
{
import std.format : format;
string s = "<" ~ name;
foreach (key,val;attr)
s ~= format(" %s=\"%s\"",key,encode(val));
return s;
}
string toStartString() @safe { return toNonEndString() ~ ">"; }
string toEndString() @safe { return "</" ~ name ~ ">"; }
string toEmptyString() @safe { return toNonEndString() ~ " />"; }
}
/**
* Returns true if the Tag is a start tag
*
* Example:
* --------------
* if (tag.isStart) { }
* --------------
*/
@property bool isStart() @safe @nogc pure nothrow { return type == TagType.START; }
/**
* Returns true if the Tag is an end tag
*
* Example:
* --------------
* if (tag.isEnd) { }
* --------------
*/
@property bool isEnd() @safe @nogc pure nothrow { return type == TagType.END; }
/**
* Returns true if the Tag is an empty tag
*
* Example:
* --------------
* if (tag.isEmpty) { }
* --------------
*/
@property bool isEmpty() @safe @nogc pure nothrow { return type == TagType.EMPTY; }
}
}
/**
* Class representing a comment
*/
class Comment : Item
{
private string content;
/**
* Construct a comment
*
* Params:
* content = the body of the comment
*
* Throws: CommentException if the comment body is illegal (contains "--"
* or exactly equals "-")
*
* Example:
* --------------
* auto item = new Comment("This is a comment");
* // constructs <!--This is a comment-->
* --------------
*/
this(string content) @safe pure
{
import std.string : indexOf;
if (content == "-" || content.indexOf("--") != -1)
throw new CommentException(content);
this.content = content;
}
/**
* Compares two comments for equality
*
* Example:
* --------------
* Comment item1,item2;
* if (item1 == item2) { }
* --------------
*/
override bool opEquals(scope const Object o) const
{
const item = toType!(const Item)(o);
const t = cast(const Comment) item;
return t !is null && content == t.content;
}
/**
* Compares two comments
*
* You should rarely need to call this function. It exists so that Comments
* can be used as associative array keys.
*
* Example:
* --------------
* Comment item1,item2;
* if (item1 < item2) { }
* --------------
*/
override int opCmp(scope const Object o) scope const
{
const item = toType!(const Item)(o);
const t = cast(const Comment) item;
return t !is null && (content != t.content
? (content < t.content ? -1 : 1 ) : 0 );
}
/**
* Returns the hash of a Comment
*
* You should rarely need to call this function. It exists so that Comments
* can be used as associative array keys.
*/
override size_t toHash() scope const nothrow { return hash(content); }
/**
* Returns a string representation of this comment
*/
override string toString() scope const @safe pure nothrow { return "<!--" ~ content ~ "-->"; }
override @property @safe @nogc pure nothrow scope bool isEmptyXML() const { return false; } /// Returns false always
}
// https://issues.dlang.org/show_bug.cgi?id=16241
@safe unittest
{
import std.exception : assertThrown;
auto c = new Comment("==");
assert(c.content == "==");
assertThrown!CommentException(new Comment("--"));
}
/**
* Class representing a Character Data section
*/
class CData : Item
{
private string content;
/**
* Construct a character data section
*
* Params:
* content = the body of the character data segment
*
* Throws: CDataException if the segment body is illegal (contains "]]>")
*
* Example:
* --------------
* auto item = new CData("<b>hello</b>");
* // constructs <![CDATA[<b>hello</b>]]>
* --------------
*/
this(string content) @safe pure
{
import std.string : indexOf;
if (content.indexOf("]]>") != -1) throw new CDataException(content);
this.content = content;
}
/**
* Compares two CDatas for equality
*
* Example:
* --------------
* CData item1,item2;
* if (item1 == item2) { }
* --------------
*/
override bool opEquals(scope const Object o) const
{
const item = toType!(const Item)(o);
const t = cast(const CData) item;
return t !is null && content == t.content;
}
/**
* Compares two CDatas
*
* You should rarely need to call this function. It exists so that CDatas
* can be used as associative array keys.
*
* Example:
* --------------
* CData item1,item2;
* if (item1 < item2) { }
* --------------
*/
override int opCmp(scope const Object o) scope const
{
const item = toType!(const Item)(o);
const t = cast(const CData) item;
return t !is null && (content != t.content
? (content < t.content ? -1 : 1 ) : 0 );
}
/**
* Returns the hash of a CData
*
* You should rarely need to call this function. It exists so that CDatas
* can be used as associative array keys.
*/
override size_t toHash() scope const nothrow { return hash(content); }
/**
* Returns a string representation of this CData section
*/
override string toString() scope const @safe pure nothrow { return cdata ~ content ~ "]]>"; }
override @property @safe @nogc pure nothrow scope bool isEmptyXML() const { return false; } /// Returns false always
}
/**
* Class representing a text (aka Parsed Character Data) section
*/
class Text : Item
{
private string content;
/**
* Construct a text (aka PCData) section
*
* Params:
* content = the text. This function encodes the text before
* insertion, so it is safe to insert any text
*
* Example:
* --------------
* auto Text = new CData("a < b");
* // constructs a < b
* --------------
*/
this(string content) @safe pure
{
this.content = encode(content);
}
/**
* Compares two text sections for equality
*
* Example:
* --------------
* Text item1,item2;
* if (item1 == item2) { }
* --------------
*/
override bool opEquals(scope const Object o) const
{
const item = toType!(const Item)(o);
const t = cast(const Text) item;
return t !is null && content == t.content;
}
/**
* Compares two text sections
*
* You should rarely need to call this function. It exists so that Texts
* can be used as associative array keys.
*
* Example:
* --------------
* Text item1,item2;
* if (item1 < item2) { }
* --------------
*/
override int opCmp(scope const Object o) scope const
{
const item = toType!(const Item)(o);
const t = cast(const Text) item;
return t !is null
&& (content != t.content ? (content < t.content ? -1 : 1 ) : 0 );
}
/**
* Returns the hash of a text section
*
* You should rarely need to call this function. It exists so that Texts
* can be used as associative array keys.
*/
override size_t toHash() scope const nothrow { return hash(content); }
/**
* Returns a string representation of this Text section
*/
override string toString() scope const @safe @nogc pure nothrow { return content; }
/**
* Returns true if the content is the empty string
*/
override @property @safe @nogc pure nothrow scope bool isEmptyXML() const { return content.length == 0; }
}
/**
* Class representing an XML Instruction section
*/
class XMLInstruction : Item
{
private string content;
/**
* Construct an XML Instruction section
*
* Params:
* content = the body of the instruction segment
*
* Throws: XIException if the segment body is illegal (contains ">")
*
* Example:
* --------------
* auto item = new XMLInstruction("ATTLIST");
* // constructs <!ATTLIST>
* --------------
*/
this(string content) @safe pure
{
import std.string : indexOf;
if (content.indexOf(">") != -1) throw new XIException(content);
this.content = content;
}
/**
* Compares two XML instructions for equality
*
* Example:
* --------------
* XMLInstruction item1,item2;
* if (item1 == item2) { }
* --------------
*/
override bool opEquals(scope const Object o) const
{
const item = toType!(const Item)(o);
const t = cast(const XMLInstruction) item;
return t !is null && content == t.content;
}
/**
* Compares two XML instructions
*
* You should rarely need to call this function. It exists so that
* XmlInstructions can be used as associative array keys.
*
* Example:
* --------------
* XMLInstruction item1,item2;
* if (item1 < item2) { }
* --------------
*/
override int opCmp(scope const Object o) scope const
{
const item = toType!(const Item)(o);
const t = cast(const XMLInstruction) item;
return t !is null
&& (content != t.content ? (content < t.content ? -1 : 1 ) : 0 );
}
/**
* Returns the hash of an XMLInstruction
*
* You should rarely need to call this function. It exists so that
* XmlInstructions can be used as associative array keys.
*/
override size_t toHash() scope const nothrow { return hash(content); }
/**
* Returns a string representation of this XmlInstruction
*/
override string toString() scope const @safe pure nothrow { return "<!" ~ content ~ ">"; }
override @property @safe @nogc pure nothrow scope bool isEmptyXML() const { return false; } /// Returns false always
}
/**
* Class representing a Processing Instruction section
*/
class ProcessingInstruction : Item
{
private string content;
/**
* Construct a Processing Instruction section
*
* Params:
* content = the body of the instruction segment
*
* Throws: PIException if the segment body is illegal (contains "?>")
*
* Example:
* --------------
* auto item = new ProcessingInstruction("php");
* // constructs <?php?>
* --------------
*/
this(string content) @safe pure
{
import std.string : indexOf;
if (content.indexOf("?>") != -1) throw new PIException(content);
this.content = content;
}
/**
* Compares two processing instructions for equality
*
* Example:
* --------------
* ProcessingInstruction item1,item2;
* if (item1 == item2) { }
* --------------
*/
override bool opEquals(scope const Object o) const
{
const item = toType!(const Item)(o);
const t = cast(const ProcessingInstruction) item;
return t !is null && content == t.content;
}
/**
* Compares two processing instructions
*
* You should rarely need to call this function. It exists so that
* ProcessingInstructions can be used as associative array keys.
*
* Example:
* --------------
* ProcessingInstruction item1,item2;
* if (item1 < item2) { }
* --------------
*/
override int opCmp(scope const Object o) scope const
{
const item = toType!(const Item)(o);
const t = cast(const ProcessingInstruction) item;
return t !is null
&& (content != t.content ? (content < t.content ? -1 : 1 ) : 0 );
}
/**
* Returns the hash of a ProcessingInstruction
*
* You should rarely need to call this function. It exists so that
* ProcessingInstructions can be used as associative array keys.
*/
override size_t toHash() scope const nothrow { return hash(content); }
/**
* Returns a string representation of this ProcessingInstruction
*/
override string toString() scope const @safe pure nothrow { return "<?" ~ content ~ "?>"; }
override @property @safe @nogc pure nothrow bool isEmptyXML() scope const { return false; } /// Returns false always
}
/**
* Abstract base class for XML items
*/
abstract class Item
{
/// Compares with another Item of same type for equality
abstract override bool opEquals(scope const Object o) @safe const;
/// Compares with another Item of same type
abstract override int opCmp(scope const Object o) @safe const;
/// Returns the hash of this item
abstract override size_t toHash() @safe scope const;
/// Returns a string representation of this item
abstract override string toString() @safe scope const;
/**
* Returns an indented string representation of this item
*
* Params:
* indent = number of spaces by which to indent child elements
*/
string[] pretty(uint indent) @safe scope const
{
import std.string : strip;
string s = strip(toString());
return s.length == 0 ? [] : [ s ];
}
/// Returns true if the item represents empty XML text
abstract @property @safe @nogc pure nothrow bool isEmptyXML() scope const;
}
/**
* Class for parsing an XML Document.
*
* This is a subclass of ElementParser. Most of the useful functions are
* documented there.
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Bugs:
* Currently only supports UTF documents.
*
* If there is an encoding attribute in the prolog, it is ignored.
*
*/
class DocumentParser : ElementParser
{
string xmlText;
/**
* Constructs a DocumentParser.
*
* The input to this function MUST be valid XML.
* This is enforced by the function's in contract.
*
* Params:
* xmlText_ = the entire XML document as text
*
*/
this(string xmlText_)
in
{
assert(xmlText_.length != 0);
try
{
// Confirm that the input is valid XML
check(xmlText_);
}
catch (CheckException e)
{
// And if it's not, tell the user why not
assert(false, "\n" ~ e.toString());
}
}
do
{
xmlText = xmlText_;
s = &xmlText;
super(); // Initialize everything
parse(); // Parse through the root tag (but not beyond)
}
}
@system unittest
{
auto doc = new Document("<root><child><grandchild/></child></root>");
assert(doc.elements.length == 1);
assert(doc.elements[0].tag.name == "child");
assert(doc.items == doc.elements);
}
/**
* Class for parsing an XML element.
*
* Standards: $(LINK2 http://www.w3.org/TR/1998/REC-xml-19980210, XML 1.0)
*
* Note that you cannot construct instances of this class directly. You can
* construct a DocumentParser (which is a subclass of ElementParser), but
* otherwise, Instances of ElementParser will be created for you by the
* library, and passed your way via onStartTag handlers.
*
*/
class ElementParser
{
alias Handler = void delegate(string);
alias ElementHandler = void delegate(in Element element);
alias ParserHandler = void delegate(ElementParser parser);
private
{
Tag tag_;
string elementStart;
string* s;
Handler commentHandler = null;
Handler cdataHandler = null;
Handler xiHandler = null;
Handler piHandler = null;
Handler rawTextHandler = null;
Handler textHandler = null;
// Private constructor for start tags
this(ElementParser parent) @safe @nogc pure nothrow
{
s = parent.s;
this();
tag_ = parent.tag_;
}
// Private constructor for empty tags
this(Tag tag, string* t) @safe @nogc pure nothrow
{
s = t;
this();
tag_ = tag;
}
}
/**
* The Tag at the start of the element being parsed. You can read this to
* determine the tag's name and attributes.
*/
@property @safe @nogc pure nothrow const(Tag) tag() const { return tag_; }
/**
* Register a handler which will be called whenever a start tag is
* encountered which matches the specified name. You can also pass null as
* the name, in which case the handler will be called for any unmatched
* start tag.
*
* Example:
* --------------
* // Call this function whenever a <podcast> start tag is encountered
* onStartTag["podcast"] = (ElementParser xml)
* {
* // Your code here
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
*
* // call myEpisodeStartHandler (defined elsewhere) whenever an <episode>
* // start tag is encountered
* onStartTag["episode"] = &myEpisodeStartHandler;
*
* // call delegate dg for all other start tags
* onStartTag[null] = dg;
* --------------
*
* This library will supply your function with a new instance of
* ElementHandler, which may be used to parse inside the element whose
* start tag was just found, or to identify the tag attributes of the
* element, etc.
*
* Note that your function will be called for both start tags and empty
* tags. That is, we make no distinction between <br></br>
* and <br/>.
*/
ParserHandler[string] onStartTag;
/**
* Register a handler which will be called whenever an end tag is
* encountered which matches the specified name. You can also pass null as
* the name, in which case the handler will be called for any unmatched
* end tag.
*
* Example:
* --------------
* // Call this function whenever a </podcast> end tag is encountered
* onEndTag["podcast"] = (in Element e)
* {
* // Your code here
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
*
* // call myEpisodeEndHandler (defined elsewhere) whenever an </episode>
* // end tag is encountered
* onEndTag["episode"] = &myEpisodeEndHandler;
*
* // call delegate dg for all other end tags
* onEndTag[null] = dg;
* --------------
*
* Note that your function will be called for both start tags and empty
* tags. That is, we make no distinction between <br></br>
* and <br/>.
*/
ElementHandler[string] onEndTag;
protected this() @safe @nogc pure nothrow
{
elementStart = *s;
}
/**
* Register a handler which will be called whenever text is encountered.
*
* Example:
* --------------
* // Call this function whenever text is encountered
* onText = (string s)
* {
* // Your code here
*
* // The passed parameter s will have been decoded by the time you see
* // it, and so may contain any character.
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
* --------------
*/
@property @safe @nogc pure nothrow void onText(Handler handler) { textHandler = handler; }
/**
* Register an alternative handler which will be called whenever text
* is encountered. This differs from onText in that onText will decode
* the text, whereas onTextRaw will not. This allows you to make design
* choices, since onText will be more accurate, but slower, while
* onTextRaw will be faster, but less accurate. Of course, you can
* still call decode() within your handler, if you want, but you'd
* probably want to use onTextRaw only in circumstances where you
* know that decoding is unnecessary.
*
* Example:
* --------------
* // Call this function whenever text is encountered
* onText = (string s)
* {
* // Your code here
*
* // The passed parameter s will NOT have been decoded.
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
* --------------
*/
@safe @nogc pure nothrow void onTextRaw(Handler handler) { rawTextHandler = handler; }
/**
* Register a handler which will be called whenever a character data
* segment is encountered.
*
* Example:
* --------------
* // Call this function whenever a CData section is encountered
* onCData = (string s)
* {
* // Your code here
*
* // The passed parameter s does not include the opening <![CDATA[
* // nor closing ]]>
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
* --------------
*/
@property @safe @nogc pure nothrow void onCData(Handler handler) { cdataHandler = handler; }
/**
* Register a handler which will be called whenever a comment is
* encountered.
*
* Example:
* --------------
* // Call this function whenever a comment is encountered
* onComment = (string s)
* {
* // Your code here
*
* // The passed parameter s does not include the opening <!-- nor
* // closing -->
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
* --------------
*/
@property @safe @nogc pure nothrow void onComment(Handler handler) { commentHandler = handler; }
/**
* Register a handler which will be called whenever a processing
* instruction is encountered.
*
* Example:
* --------------
* // Call this function whenever a processing instruction is encountered
* onPI = (string s)
* {
* // Your code here
*
* // The passed parameter s does not include the opening <? nor
* // closing ?>
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
* --------------
*/
@property @safe @nogc pure nothrow void onPI(Handler handler) { piHandler = handler; }
/**
* Register a handler which will be called whenever an XML instruction is
* encountered.
*
* Example:
* --------------
* // Call this function whenever an XML instruction is encountered
* // (Note: XML instructions may only occur preceding the root tag of a
* // document).
* onPI = (string s)
* {
* // Your code here
*
* // The passed parameter s does not include the opening <! nor
* // closing >
* //
* // This is a a closure, so code here may reference
* // variables which are outside of this scope
* };
* --------------
*/
@property @safe @nogc pure nothrow void onXI(Handler handler) { xiHandler = handler; }
/**
* Parse an XML element.
*
* Parsing will continue until the end of the current element. Any items
* encountered for which a handler has been registered will invoke that
* handler.
*
* Throws: various kinds of XMLException
*/
void parse()
{
import std.algorithm.searching : startsWith;
import std.string : indexOf;
string t;
const Tag root = tag_;
Tag[string] startTags;
if (tag_ !is null) startTags[tag_.name] = tag_;
while (s.length != 0)
{
if (startsWith(*s,"<!--"))
{
chop(*s,4);
t = chop(*s,indexOf(*s,"-->"));
if (commentHandler.funcptr !is null) commentHandler(t);
chop(*s,3);
}
else if (startsWith(*s,"<![CDATA["))
{
chop(*s,9);
t = chop(*s,indexOf(*s,"]]>"));
if (cdataHandler.funcptr !is null) cdataHandler(t);
chop(*s,3);
}
else if (startsWith(*s,"<!"))
{
chop(*s,2);
t = chop(*s,indexOf(*s,">"));
if (xiHandler.funcptr !is null) xiHandler(t);
chop(*s,1);
}
else if (startsWith(*s,"<?"))
{
chop(*s,2);
t = chop(*s,indexOf(*s,"?>"));
if (piHandler.funcptr !is null) piHandler(t);
chop(*s,2);
}
else if (startsWith(*s,"<"))
{
tag_ = new Tag(*s,true);
if (root is null)
return; // Return to constructor of derived class
if (tag_.isStart)
{
startTags[tag_.name] = tag_;
auto parser = new ElementParser(this);
auto handler = tag_.name in onStartTag;
if (handler !is null) (*handler)(parser);
else
{
handler = null in onStartTag;
if (handler !is null) (*handler)(parser);
}
}
else if (tag_.isEnd)
{
const startTag = startTags[tag_.name];
string text;
if (startTag.tagString.length == 0)
assert(0);
immutable(char)* p = startTag.tagString.ptr
+ startTag.tagString.length;
immutable(char)* q = &tag_.tagString[0];
text = decode(p[0..(q-p)], DecodeMode.LOOSE);
auto element = new Element(startTag);
if (text.length != 0) element ~= new Text(text);
auto handler = tag_.name in onEndTag;
if (handler !is null) (*handler)(element);
else
{
handler = null in onEndTag;
if (handler !is null) (*handler)(element);
}
if (tag_.name == root.name) return;
}
else if (tag_.isEmpty)
{
Tag startTag = new Tag(tag_.name);
// FIX by hed010gy
// https://issues.dlang.org/show_bug.cgi?id=2979
if (tag_.attr.length > 0)
foreach (tn,tv; tag_.attr) startTag.attr[tn]=tv;
// END FIX
// Handle the pretend start tag
string s2;
auto parser = new ElementParser(startTag,&s2);
auto handler1 = startTag.name in onStartTag;
if (handler1 !is null) (*handler1)(parser);
else
{
handler1 = null in onStartTag;
if (handler1 !is null) (*handler1)(parser);
}
// Handle the pretend end tag
auto element = new Element(startTag);
auto handler2 = tag_.name in onEndTag;
if (handler2 !is null) (*handler2)(element);
else
{
handler2 = null in onEndTag;
if (handler2 !is null) (*handler2)(element);
}
}
}
else
{
t = chop(*s,indexOf(*s,"<"));
if (rawTextHandler.funcptr !is null)
rawTextHandler(t);
else if (textHandler.funcptr !is null)
textHandler(decode(t,DecodeMode.LOOSE));
}
}
}
/**
* Returns that part of the element which has already been parsed
*/
override string toString() const @nogc @safe pure nothrow
{
assert(elementStart.length >= s.length);
return elementStart[0 .. elementStart.length - s.length];
}
}
private
{
template Check(string msg)
{
string old = s;
void fail() @safe pure
{
s = old;
throw new Err(s,msg);
}
void fail(Err e) @safe pure
{
s = old;
throw new Err(s,msg,e);
}
void fail(string msg2) @safe pure
{
fail(new Err(s,msg2));
}
}
void checkMisc(ref string s) @safe pure // rule 27
{
import std.algorithm.searching : startsWith;
mixin Check!("Misc");
try
{
if (s.startsWith("<!--")) { checkComment(s); }
else if (s.startsWith("<?")) { checkPI(s); }
else { checkSpace(s); }
}
catch (Err e) { fail(e); }
}
void checkDocument(ref string s) @safe pure // rule 1
{
mixin Check!("Document");
try
{
checkProlog(s);
checkElement(s);
star!(checkMisc)(s);
}
catch (Err e) { fail(e); }
}
void checkChars(ref string s) @safe pure // rule 2
{
// TO DO - Fix std.utf stride and decode functions, then use those
// instead
import std.format : format;
mixin Check!("Chars");
dchar c;
ptrdiff_t n = -1;
// 'i' must not be smaller than size_t because size_t is used internally in
// aApply.d and it will be cast e.g to (int *) which fails on BigEndian targets.
foreach (size_t i, dchar d; s)
{
if (!isChar(d))
{
c = d;
n = i;
break;
}
}
if (n != -1)
{
s = s[n..$];
fail(format("invalid character: U+%04X",c));
}
}
void checkSpace(ref string s) @safe pure // rule 3
{
import std.algorithm.searching : countUntil;
import std.ascii : isWhite;
import std.utf : byCodeUnit;
mixin Check!("Whitespace");
ptrdiff_t i = s.byCodeUnit.countUntil!(a => !isWhite(a));
if (i == -1 && s.length > 0 && isWhite(s[0]))
s = s[$ .. $];
else if (i > -1)
s = s[i .. $];
if (s is old) fail();
}
void checkName(ref string s, out string name) @safe pure // rule 5
{
mixin Check!("Name");
if (s.length == 0) fail();
ptrdiff_t n;
// 'i' must not be smaller than size_t because size_t is used internally in
// aApply.d and it will be cast e.g to (int *) which fails on BigEndian targets.
foreach (size_t i, dchar c; s)
{
if (c == '_' || c == ':' || isLetter(c)) continue;
if (i == 0) fail();
if (c == '-' || c == '.' || isDigit(c)
|| isCombiningChar(c) || isExtender(c)) continue;
n = i;
break;
}
name = s[0 .. n];
s = s[n..$];
}
void checkAttValue(ref string s) @safe pure // rule 10
{
import std.algorithm.searching : countUntil;
import std.utf : byCodeUnit;
mixin Check!("AttValue");
if (s.length == 0) fail();
char c = s[0];
if (c != '\u0022' && c != '\u0027')
fail("attribute value requires quotes");
s = s[1..$];
for (;;)
{
s = s[s.byCodeUnit.countUntil(c) .. $];
if (s.length == 0) fail("unterminated attribute value");
if (s[0] == '<') fail("< found in attribute value");
if (s[0] == c) break;
try { checkReference(s); } catch (Err e) { fail(e); }
}
s = s[1..$];
}
void checkCharData(ref string s) @safe pure // rule 14
{
import std.algorithm.searching : startsWith;
mixin Check!("CharData");
while (s.length != 0)
{
if (s.startsWith("&")) break;
if (s.startsWith("<")) break;
if (s.startsWith("]]>")) fail("]]> found within char data");
s = s[1..$];
}
}
void checkComment(ref string s) @safe pure // rule 15
{
import std.string : indexOf;
mixin Check!("Comment");
try { checkLiteral("<!--",s); } catch (Err e) { fail(e); }
ptrdiff_t n = s.indexOf("--");
if (n == -1) fail("unterminated comment");
s = s[n..$];
try { checkLiteral("-->",s); } catch (Err e) { fail(e); }
}
void checkPI(ref string s) @safe pure // rule 16
{
mixin Check!("PI");
try
{
checkLiteral("<?",s);
checkEnd("?>",s);
}
catch (Err e) { fail(e); }
}
void checkCDSect(ref string s) @safe pure // rule 18
{
mixin Check!("CDSect");
try
{
checkLiteral(cdata,s);
checkEnd("]]>",s);
}
catch (Err e) { fail(e); }
}
void checkProlog(ref string s) @safe pure // rule 22
{
mixin Check!("Prolog");
try
{
/* The XML declaration is optional
* http://www.w3.org/TR/2008/REC-xml-20081126/#NT-prolog
*/
opt!(checkXMLDecl)(s);
star!(checkMisc)(s);
opt!(seq!(checkDocTypeDecl,star!(checkMisc)))(s);
}
catch (Err e) { fail(e); }
}
void checkXMLDecl(ref string s) @safe pure // rule 23
{
mixin Check!("XMLDecl");
try
{
checkLiteral("<?xml",s);
checkVersionInfo(s);
opt!(checkEncodingDecl)(s);
opt!(checkSDDecl)(s);
opt!(checkSpace)(s);
checkLiteral("?>",s);
}
catch (Err e) { fail(e); }
}
void checkVersionInfo(ref string s) @safe pure // rule 24
{
mixin Check!("VersionInfo");
try
{
checkSpace(s);
checkLiteral("version",s);
checkEq(s);
quoted!(checkVersionNum)(s);
}
catch (Err e) { fail(e); }
}
void checkEq(ref string s) @safe pure // rule 25
{
mixin Check!("Eq");
try
{
opt!(checkSpace)(s);
checkLiteral("=",s);
opt!(checkSpace)(s);
}
catch (Err e) { fail(e); }
}
void checkVersionNum(ref string s) @safe pure // rule 26
{
import std.algorithm.searching : countUntil;
import std.utf : byCodeUnit;
mixin Check!("VersionNum");
s = s[s.byCodeUnit.countUntil('\"') .. $];
if (s is old) fail();
}
void checkDocTypeDecl(ref string s) @safe pure // rule 28
{
mixin Check!("DocTypeDecl");
try
{
checkLiteral("<!DOCTYPE",s);
//
// TO DO -- ensure DOCTYPE is well formed
// (But not yet. That's one of our "future directions")
//
checkEnd(">",s);
}
catch (Err e) { fail(e); }
}
void checkSDDecl(ref string s) @safe pure // rule 32
{
import std.algorithm.searching : startsWith;
mixin Check!("SDDecl");
try
{
checkSpace(s);
checkLiteral("standalone",s);
checkEq(s);
}
catch (Err e) { fail(e); }
int n = 0;
if (s.startsWith("'yes'") || s.startsWith("\"yes\"")) n = 5;
else if (s.startsWith("'no'" ) || s.startsWith("\"no\"" )) n = 4;
else fail("standalone attribute value must be 'yes', \"yes\","~
" 'no' or \"no\"");
s = s[n..$];
}
void checkElement(ref string s) @safe pure // rule 39
{
mixin Check!("Element");
string sname,ename,t;
try { checkTag(s,t,sname); } catch (Err e) { fail(e); }
if (t == "STag")
{
try
{
checkContent(s);
t = s;
checkETag(s,ename);
}
catch (Err e) { fail(e); }
if (sname != ename)
{
s = t;
fail("end tag name \"" ~ ename
~ "\" differs from start tag name \""~sname~"\"");
}
}
}
// rules 40 and 44
void checkTag(ref string s, out string type, out string name) @safe pure
{
mixin Check!("Tag");
try
{
type = "STag";
checkLiteral("<",s);
checkName(s,name);
star!(seq!(checkSpace,checkAttribute))(s);
opt!(checkSpace)(s);
if (s.length != 0 && s[0] == '/')
{
s = s[1..$];
type = "ETag";
}
checkLiteral(">",s);
}
catch (Err e) { fail(e); }
}
void checkAttribute(ref string s) @safe pure // rule 41
{
mixin Check!("Attribute");
try
{
string name;
checkName(s,name);
checkEq(s);
checkAttValue(s);
}
catch (Err e) { fail(e); }
}
void checkETag(ref string s, out string name) @safe pure // rule 42
{
mixin Check!("ETag");
try
{
checkLiteral("</",s);
checkName(s,name);
opt!(checkSpace)(s);
checkLiteral(">",s);
}
catch (Err e) { fail(e); }
}
void checkContent(ref string s) @safe pure // rule 43
{
import std.algorithm.searching : startsWith;
mixin Check!("Content");
try
{
while (s.length != 0)
{
old = s;
if (s.startsWith("&")) { checkReference(s); }
else if (s.startsWith("<!--")) { checkComment(s); }
else if (s.startsWith("<?")) { checkPI(s); }
else if (s.startsWith(cdata)) { checkCDSect(s); }
else if (s.startsWith("</")) { break; }
else if (s.startsWith("<")) { checkElement(s); }
else { checkCharData(s); }
}
}
catch (Err e) { fail(e); }
}
void checkCharRef(ref string s, out dchar c) @safe pure // rule 66
{
import std.format : format;
mixin Check!("CharRef");
c = 0;
try { checkLiteral("&#",s); } catch (Err e) { fail(e); }
int radix = 10;
if (s.length != 0 && s[0] == 'x')
{
s = s[1..$];
radix = 16;
}
if (s.length == 0) fail("unterminated character reference");
if (s[0] == ';')
fail("character reference must have at least one digit");
while (s.length != 0)
{
immutable char d = s[0];
int n = 0;
switch (d)
{
case 'F','f': ++n; goto case;
case 'E','e': ++n; goto case;
case 'D','d': ++n; goto case;
case 'C','c': ++n; goto case;
case 'B','b': ++n; goto case;
case 'A','a': ++n; goto case;
case '9': ++n; goto case;
case '8': ++n; goto case;
case '7': ++n; goto case;
case '6': ++n; goto case;
case '5': ++n; goto case;
case '4': ++n; goto case;
case '3': ++n; goto case;
case '2': ++n; goto case;
case '1': ++n; goto case;
case '0': break;
default: n = 100; break;
}
if (n >= radix) break;
c *= radix;
c += n;
s = s[1..$];
}
if (!isChar(c)) fail(format("U+%04X is not a legal character",c));
if (s.length == 0 || s[0] != ';') fail("expected ;");
else s = s[1..$];
}
void checkReference(ref string s) @safe pure // rule 67
{
import std.algorithm.searching : startsWith;
mixin Check!("Reference");
try
{
dchar c;
if (s.startsWith("&#")) checkCharRef(s,c);
else checkEntityRef(s);
}
catch (Err e) { fail(e); }
}
void checkEntityRef(ref string s) @safe pure // rule 68
{
mixin Check!("EntityRef");
try
{
string name;
checkLiteral("&",s);
checkName(s,name);
checkLiteral(";",s);
}
catch (Err e) { fail(e); }
}
void checkEncName(ref string s) @safe pure // rule 81
{
import std.algorithm.searching : countUntil;
import std.ascii : isAlpha;
import std.utf : byCodeUnit;
mixin Check!("EncName");
s = s[s.byCodeUnit.countUntil!(a => !isAlpha(a)) .. $];
if (s is old) fail();
s = s[s.byCodeUnit.countUntil('\"', '\'') .. $];
}
void checkEncodingDecl(ref string s) @safe pure // rule 80
{
mixin Check!("EncodingDecl");
try
{
checkSpace(s);
checkLiteral("encoding",s);
checkEq(s);
quoted!(checkEncName)(s);
}
catch (Err e) { fail(e); }
}
// Helper functions
void checkLiteral(string literal,ref string s) @safe pure
{
import std.string : startsWith;
mixin Check!("Literal");
if (!s.startsWith(literal)) fail("Expected literal \""~literal~"\"");
s = s[literal.length..$];
}
void checkEnd(string end,ref string s) @safe pure
{
import std.string : indexOf;
// Deliberately no mixin Check here.
auto n = s.indexOf(end);
if (n == -1) throw new Err(s,"Unable to find terminating \""~end~"\"");
s = s[n..$];
checkLiteral(end,s);
}
// Metafunctions -- none of these use mixin Check
void opt(alias f)(ref string s)
{
try { f(s); } catch (Err e) {}
}
void plus(alias f)(ref string s)
{
f(s);
star!(f)(s);
}
void star(alias f)(ref string s)
{
while (s.length != 0)
{
try { f(s); }
catch (Err e) { return; }
}
}
void quoted(alias f)(ref string s)
{
import std.string : startsWith;
if (s.startsWith("'"))
{
checkLiteral("'",s);
f(s);
checkLiteral("'",s);
}
else
{
checkLiteral("\"",s);
f(s);
checkLiteral("\"",s);
}
}
void seq(alias f,alias g)(ref string s)
{
f(s);
g(s);
}
}
/**
* Check an entire XML document for well-formedness
*
* Params:
* s = the document to be checked, passed as a string
*
* Throws: CheckException if the document is not well formed
*
* CheckException's toString() method will yield the complete hierarchy of
* parse failure (the XML equivalent of a stack trace), giving the line and
* column number of every failure at every level.
*/
void check(string s) @safe pure
{
try
{
checkChars(s);
checkDocument(s);
if (s.length != 0) throw new Err(s,"Junk found after document");
}
catch (Err e)
{
e.complete(s);
throw e;
}
}
@system pure unittest
{
import std.string : indexOf;
try
{
check(q"[<?xml version="1.0"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications
with XML.</description>
</book>
<book id="bk102">
<author>Ralls, Kim</author>
<title>Midnight Rain</title>
<genre>Fantasy</genres>
<price>5.95</price>
<publish_date>2000-12-16</publish_date>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.</description>
</book>
<book id="bk103">
<author>Corets, Eva</author>
<title>Maeve Ascendant</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2000-11-17</publish_date>
<description>After the collapse of a nanotechnology
society in England, the young survivors lay the
foundation for a new society.</description>
</book>
</catalog>
]");
assert(false);
}
catch (CheckException e)
{
auto n = e.toString().indexOf("end tag name \"genres\" differs"~
" from start tag name \"genre\"");
assert(n != -1);
}
}
@system unittest
{
string s = q"EOS
<?xml version="1.0"?>
<set>
<one>A</one>
<!-- comment -->
<two>B</two>
</set>
EOS";
try
{
check(s);
}
catch (CheckException e)
{
assert(0, e.toString());
}
}
@system unittest
{
string test_xml = `<?xml version="1.0" encoding='UTF-8'?><r><stream:stream
xmlns:stream="http://etherx.'jabber'.org/streams"
xmlns="jabber:'client'" from='jid.pl' id="587a5767"
xml:lang="en" version="1.0" attr='a"b"c'>
</stream:stream></r>`;
DocumentParser parser = new DocumentParser(test_xml);
bool tested = false;
parser.onStartTag["stream:stream"] = (ElementParser p) {
assert(p.tag.attr["xmlns"] == "jabber:'client'");
assert(p.tag.attr["from"] == "jid.pl");
assert(p.tag.attr["attr"] == "a\"b\"c");
tested = true;
};
parser.parse();
assert(tested);
}
@system unittest
{
string s = q"EOS
<?xml version="1.0" encoding="utf-8"?> <Tests>
<Test thing="What & Up">What & Up Second</Test>
</Tests>
EOS";
auto xml = new DocumentParser(s);
xml.onStartTag["Test"] = (ElementParser xml) {
assert(xml.tag.attr["thing"] == "What & Up");
};
xml.onEndTag["Test"] = (in Element e) {
assert(e.text() == "What & Up Second");
};
xml.parse();
}
@system unittest
{
string s = `<tag attr=""value>" />`;
auto doc = new Document(s);
assert(doc.toString() == s);
}
/** The base class for exceptions thrown by this module */
class XMLException : Exception { this(string msg) @safe pure { super(msg); } }
// Other exceptions
/// Thrown during Comment constructor
class CommentException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/// Thrown during CData constructor
class CDataException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/// Thrown during XMLInstruction constructor
class XIException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/// Thrown during ProcessingInstruction constructor
class PIException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/// Thrown during Text constructor
class TextException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/// Thrown during decode()
class DecodeException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/// Thrown if comparing with wrong type
class InvalidTypeException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/// Thrown when parsing for Tags
class TagException : XMLException
{ private this(string msg) @safe pure { super(msg); } }
/**
* Thrown during check()
*/
class CheckException : XMLException
{
CheckException err; /// Parent in hierarchy
private string tail;
/**
* Name of production rule which failed to parse,
* or specific error message
*/
string msg;
size_t line = 0; /// Line number at which parse failure occurred
size_t column = 0; /// Column number at which parse failure occurred
private this(string tail,string msg,Err err=null) @safe pure
{
super(null);
this.tail = tail;
this.msg = msg;
this.err = err;
}
private void complete(string entire) @safe pure
{
import std.string : count, lastIndexOf;
import std.utf : toUTF32;
string head = entire[0..$-tail.length];
ptrdiff_t n = head.lastIndexOf('\n') + 1;
line = head.count("\n") + 1;
dstring t = toUTF32(head[n..$]);
column = t.length + 1;
if (err !is null) err.complete(entire);
}
override string toString() const @safe pure
{
import std.format : format;
string s;
if (line != 0) s = format("Line %d, column %d: ",line,column);
s ~= msg;
s ~= '\n';
if (err !is null) s = err.toString() ~ s;
return s;
}
}
private alias Err = CheckException;
// Private helper functions
private
{
inout(T) toType(T)(return inout Object o) @safe
{
T t = cast(T)(o);
if (t is null)
{
throw new InvalidTypeException("Attempt to compare a "
~ T.stringof ~ " with an instance of another type");
}
return t;
}
string chop(ref string s, size_t n) @safe pure nothrow
{
if (n == -1) n = s.length;
string t = s[0 .. n];
s = s[n..$];
return t;
}
bool optc(ref string s, char c) @safe pure nothrow
{
immutable bool b = s.length != 0 && s[0] == c;
if (b) s = s[1..$];
return b;
}
void reqc(ref string s, char c) @safe pure
{
if (s.length == 0 || s[0] != c) throw new TagException("");
s = s[1..$];
}
char requireOneOf(ref string s, string chars) @safe pure
{
import std.string : indexOf;
if (s.length == 0 || indexOf(chars,s[0]) == -1)
throw new TagException("");
immutable char ch = s[0];
s = s[1..$];
return ch;
}
alias hash = .hashOf;
// Definitions from the XML specification
immutable CharTable=[0x9,0x9,0xA,0xA,0xD,0xD,0x20,0xD7FF,0xE000,0xFFFD,
0x10000,0x10FFFF];
immutable BaseCharTable=[0x0041,0x005A,0x0061,0x007A,0x00C0,0x00D6,0x00D8,
0x00F6,0x00F8,0x00FF,0x0100,0x0131,0x0134,0x013E,0x0141,0x0148,0x014A,
0x017E,0x0180,0x01C3,0x01CD,0x01F0,0x01F4,0x01F5,0x01FA,0x0217,0x0250,
0x02A8,0x02BB,0x02C1,0x0386,0x0386,0x0388,0x038A,0x038C,0x038C,0x038E,
0x03A1,0x03A3,0x03CE,0x03D0,0x03D6,0x03DA,0x03DA,0x03DC,0x03DC,0x03DE,
0x03DE,0x03E0,0x03E0,0x03E2,0x03F3,0x0401,0x040C,0x040E,0x044F,0x0451,
0x045C,0x045E,0x0481,0x0490,0x04C4,0x04C7,0x04C8,0x04CB,0x04CC,0x04D0,
0x04EB,0x04EE,0x04F5,0x04F8,0x04F9,0x0531,0x0556,0x0559,0x0559,0x0561,
0x0586,0x05D0,0x05EA,0x05F0,0x05F2,0x0621,0x063A,0x0641,0x064A,0x0671,
0x06B7,0x06BA,0x06BE,0x06C0,0x06CE,0x06D0,0x06D3,0x06D5,0x06D5,0x06E5,
0x06E6,0x0905,0x0939,0x093D,0x093D,0x0958,0x0961,0x0985,0x098C,0x098F,
0x0990,0x0993,0x09A8,0x09AA,0x09B0,0x09B2,0x09B2,0x09B6,0x09B9,0x09DC,
0x09DD,0x09DF,0x09E1,0x09F0,0x09F1,0x0A05,0x0A0A,0x0A0F,0x0A10,0x0A13,
0x0A28,0x0A2A,0x0A30,0x0A32,0x0A33,0x0A35,0x0A36,0x0A38,0x0A39,0x0A59,
0x0A5C,0x0A5E,0x0A5E,0x0A72,0x0A74,0x0A85,0x0A8B,0x0A8D,0x0A8D,0x0A8F,
0x0A91,0x0A93,0x0AA8,0x0AAA,0x0AB0,0x0AB2,0x0AB3,0x0AB5,0x0AB9,0x0ABD,
0x0ABD,0x0AE0,0x0AE0,0x0B05,0x0B0C,0x0B0F,0x0B10,0x0B13,0x0B28,0x0B2A,
0x0B30,0x0B32,0x0B33,0x0B36,0x0B39,0x0B3D,0x0B3D,0x0B5C,0x0B5D,0x0B5F,
0x0B61,0x0B85,0x0B8A,0x0B8E,0x0B90,0x0B92,0x0B95,0x0B99,0x0B9A,0x0B9C,
0x0B9C,0x0B9E,0x0B9F,0x0BA3,0x0BA4,0x0BA8,0x0BAA,0x0BAE,0x0BB5,0x0BB7,
0x0BB9,0x0C05,0x0C0C,0x0C0E,0x0C10,0x0C12,0x0C28,0x0C2A,0x0C33,0x0C35,
0x0C39,0x0C60,0x0C61,0x0C85,0x0C8C,0x0C8E,0x0C90,0x0C92,0x0CA8,0x0CAA,
0x0CB3,0x0CB5,0x0CB9,0x0CDE,0x0CDE,0x0CE0,0x0CE1,0x0D05,0x0D0C,0x0D0E,
0x0D10,0x0D12,0x0D28,0x0D2A,0x0D39,0x0D60,0x0D61,0x0E01,0x0E2E,0x0E30,
0x0E30,0x0E32,0x0E33,0x0E40,0x0E45,0x0E81,0x0E82,0x0E84,0x0E84,0x0E87,
0x0E88,0x0E8A,0x0E8A,0x0E8D,0x0E8D,0x0E94,0x0E97,0x0E99,0x0E9F,0x0EA1,
0x0EA3,0x0EA5,0x0EA5,0x0EA7,0x0EA7,0x0EAA,0x0EAB,0x0EAD,0x0EAE,0x0EB0,
0x0EB0,0x0EB2,0x0EB3,0x0EBD,0x0EBD,0x0EC0,0x0EC4,0x0F40,0x0F47,0x0F49,
0x0F69,0x10A0,0x10C5,0x10D0,0x10F6,0x1100,0x1100,0x1102,0x1103,0x1105,
0x1107,0x1109,0x1109,0x110B,0x110C,0x110E,0x1112,0x113C,0x113C,0x113E,
0x113E,0x1140,0x1140,0x114C,0x114C,0x114E,0x114E,0x1150,0x1150,0x1154,
0x1155,0x1159,0x1159,0x115F,0x1161,0x1163,0x1163,0x1165,0x1165,0x1167,
0x1167,0x1169,0x1169,0x116D,0x116E,0x1172,0x1173,0x1175,0x1175,0x119E,
0x119E,0x11A8,0x11A8,0x11AB,0x11AB,0x11AE,0x11AF,0x11B7,0x11B8,0x11BA,
0x11BA,0x11BC,0x11C2,0x11EB,0x11EB,0x11F0,0x11F0,0x11F9,0x11F9,0x1E00,
0x1E9B,0x1EA0,0x1EF9,0x1F00,0x1F15,0x1F18,0x1F1D,0x1F20,0x1F45,0x1F48,
0x1F4D,0x1F50,0x1F57,0x1F59,0x1F59,0x1F5B,0x1F5B,0x1F5D,0x1F5D,0x1F5F,
0x1F7D,0x1F80,0x1FB4,0x1FB6,0x1FBC,0x1FBE,0x1FBE,0x1FC2,0x1FC4,0x1FC6,
0x1FCC,0x1FD0,0x1FD3,0x1FD6,0x1FDB,0x1FE0,0x1FEC,0x1FF2,0x1FF4,0x1FF6,
0x1FFC,0x2126,0x2126,0x212A,0x212B,0x212E,0x212E,0x2180,0x2182,0x3041,
0x3094,0x30A1,0x30FA,0x3105,0x312C,0xAC00,0xD7A3];
immutable IdeographicTable=[0x3007,0x3007,0x3021,0x3029,0x4E00,0x9FA5];
immutable CombiningCharTable=[0x0300,0x0345,0x0360,0x0361,0x0483,0x0486,
0x0591,0x05A1,0x05A3,0x05B9,0x05BB,0x05BD,0x05BF,0x05BF,0x05C1,0x05C2,
0x05C4,0x05C4,0x064B,0x0652,0x0670,0x0670,0x06D6,0x06DC,0x06DD,0x06DF,
0x06E0,0x06E4,0x06E7,0x06E8,0x06EA,0x06ED,0x0901,0x0903,0x093C,0x093C,
0x093E,0x094C,0x094D,0x094D,0x0951,0x0954,0x0962,0x0963,0x0981,0x0983,
0x09BC,0x09BC,0x09BE,0x09BE,0x09BF,0x09BF,0x09C0,0x09C4,0x09C7,0x09C8,
0x09CB,0x09CD,0x09D7,0x09D7,0x09E2,0x09E3,0x0A02,0x0A02,0x0A3C,0x0A3C,
0x0A3E,0x0A3E,0x0A3F,0x0A3F,0x0A40,0x0A42,0x0A47,0x0A48,0x0A4B,0x0A4D,
0x0A70,0x0A71,0x0A81,0x0A83,0x0ABC,0x0ABC,0x0ABE,0x0AC5,0x0AC7,0x0AC9,
0x0ACB,0x0ACD,0x0B01,0x0B03,0x0B3C,0x0B3C,0x0B3E,0x0B43,0x0B47,0x0B48,
0x0B4B,0x0B4D,0x0B56,0x0B57,0x0B82,0x0B83,0x0BBE,0x0BC2,0x0BC6,0x0BC8,
0x0BCA,0x0BCD,0x0BD7,0x0BD7,0x0C01,0x0C03,0x0C3E,0x0C44,0x0C46,0x0C48,
0x0C4A,0x0C4D,0x0C55,0x0C56,0x0C82,0x0C83,0x0CBE,0x0CC4,0x0CC6,0x0CC8,
0x0CCA,0x0CCD,0x0CD5,0x0CD6,0x0D02,0x0D03,0x0D3E,0x0D43,0x0D46,0x0D48,
0x0D4A,0x0D4D,0x0D57,0x0D57,0x0E31,0x0E31,0x0E34,0x0E3A,0x0E47,0x0E4E,
0x0EB1,0x0EB1,0x0EB4,0x0EB9,0x0EBB,0x0EBC,0x0EC8,0x0ECD,0x0F18,0x0F19,
0x0F35,0x0F35,0x0F37,0x0F37,0x0F39,0x0F39,0x0F3E,0x0F3E,0x0F3F,0x0F3F,
0x0F71,0x0F84,0x0F86,0x0F8B,0x0F90,0x0F95,0x0F97,0x0F97,0x0F99,0x0FAD,
0x0FB1,0x0FB7,0x0FB9,0x0FB9,0x20D0,0x20DC,0x20E1,0x20E1,0x302A,0x302F,
0x3099,0x3099,0x309A,0x309A];
immutable DigitTable=[0x0030,0x0039,0x0660,0x0669,0x06F0,0x06F9,0x0966,
0x096F,0x09E6,0x09EF,0x0A66,0x0A6F,0x0AE6,0x0AEF,0x0B66,0x0B6F,0x0BE7,
0x0BEF,0x0C66,0x0C6F,0x0CE6,0x0CEF,0x0D66,0x0D6F,0x0E50,0x0E59,0x0ED0,
0x0ED9,0x0F20,0x0F29];
immutable ExtenderTable=[0x00B7,0x00B7,0x02D0,0x02D0,0x02D1,0x02D1,0x0387,
0x0387,0x0640,0x0640,0x0E46,0x0E46,0x0EC6,0x0EC6,0x3005,0x3005,0x3031,
0x3035,0x309D,0x309E,0x30FC,0x30FE];
bool lookup(const(int)[] table, int c) @safe @nogc nothrow pure
{
while (table.length != 0)
{
auto m = (table.length >> 1) & ~1;
if (c < table[m])
{
table = table[0 .. m];
}
else if (c > table[m+1])
{
table = table[m+2..$];
}
else return true;
}
return false;
}
string startOf(string s) @safe nothrow pure
{
string r;
foreach (char c;s)
{
r ~= (c < 0x20 || c > 0x7F) ? '.' : c;
if (r.length >= 40) { r ~= "___"; break; }
}
return r;
}
void exit(string s=null)
{
throw new XMLException(s);
}
}
|
D
|
/Users/zhujiabin/Desktop/EECS441/FoodTracker/DerivedData/FoodTracker/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Surge.build/Objects-normal/x86_64/Matrix.o : /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/FFT.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Hyperbolic.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Trigonometric.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Arithmetic.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Exponential.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Convolution.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Power.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Matrix.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Auxiliary.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Accelerate.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/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/Accelerate.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/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Target\ Support\ Files/Surge/Surge-umbrella.h /Users/zhujiabin/Desktop/EECS441/FoodTracker/DerivedData/FoodTracker/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Surge.build/unextended-module.modulemap
/Users/zhujiabin/Desktop/EECS441/FoodTracker/DerivedData/FoodTracker/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Surge.build/Objects-normal/x86_64/Matrix~partial.swiftmodule : /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/FFT.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Hyperbolic.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Trigonometric.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Arithmetic.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Exponential.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Convolution.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Power.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Matrix.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Auxiliary.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Accelerate.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/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/Accelerate.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/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Target\ Support\ Files/Surge/Surge-umbrella.h /Users/zhujiabin/Desktop/EECS441/FoodTracker/DerivedData/FoodTracker/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Surge.build/unextended-module.modulemap
/Users/zhujiabin/Desktop/EECS441/FoodTracker/DerivedData/FoodTracker/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Surge.build/Objects-normal/x86_64/Matrix~partial.swiftdoc : /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/FFT.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Hyperbolic.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Trigonometric.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Arithmetic.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Exponential.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Convolution.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Power.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Matrix.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Surge/Source/Auxiliary.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Accelerate.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/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/Accelerate.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/zhujiabin/Desktop/EECS441/FoodTracker/Pods/Target\ Support\ Files/Surge/Surge-umbrella.h /Users/zhujiabin/Desktop/EECS441/FoodTracker/DerivedData/FoodTracker/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Surge.build/unextended-module.modulemap
|
D
|
/Users/apple/Desktop/iOS/Buddy/build/Buddy.build/Debug-iphonesimulator/Buddy.build/Objects-normal/x86_64/ProfileTableViewController.o : /Users/apple/Desktop/iOS/Buddy/Buddy/DirectionViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/BuddiesWithHealthGoingTableViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/GeoWithHealthViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/LoginViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/ViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/GeoViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/ProfileTableViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/DirectionWithHealthViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/AppDelegate.swift /Users/apple/Desktop/iOS/Buddy/Buddy/PriyankaViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/BuddiesGoingTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/apple/Desktop/iOS/Buddy/Buddy/Buddy-Bridging-Header.h /Users/apple/Desktop/iOS/Buddy/Buddy/SWRevealViewController.h /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
/Users/apple/Desktop/iOS/Buddy/build/Buddy.build/Debug-iphonesimulator/Buddy.build/Objects-normal/x86_64/ProfileTableViewController~partial.swiftmodule : /Users/apple/Desktop/iOS/Buddy/Buddy/DirectionViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/BuddiesWithHealthGoingTableViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/GeoWithHealthViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/LoginViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/ViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/GeoViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/ProfileTableViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/DirectionWithHealthViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/AppDelegate.swift /Users/apple/Desktop/iOS/Buddy/Buddy/PriyankaViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/BuddiesGoingTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/apple/Desktop/iOS/Buddy/Buddy/Buddy-Bridging-Header.h /Users/apple/Desktop/iOS/Buddy/Buddy/SWRevealViewController.h /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
/Users/apple/Desktop/iOS/Buddy/build/Buddy.build/Debug-iphonesimulator/Buddy.build/Objects-normal/x86_64/ProfileTableViewController~partial.swiftdoc : /Users/apple/Desktop/iOS/Buddy/Buddy/DirectionViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/BuddiesWithHealthGoingTableViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/GeoWithHealthViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/LoginViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/ViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/GeoViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/ProfileTableViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/DirectionWithHealthViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/AppDelegate.swift /Users/apple/Desktop/iOS/Buddy/Buddy/PriyankaViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/BuddiesGoingTableViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/apple/Desktop/iOS/Buddy/Buddy/Buddy-Bridging-Header.h /Users/apple/Desktop/iOS/Buddy/Buddy/SWRevealViewController.h /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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule
|
D
|
/**
Some additional alogorithm functions.
Copyright: © 2019 Arne Ludwig <arne.ludwig@posteo.de>
License: Subject to the terms of the MIT license, as written in the
included LICENSE file.
Authors: Arne Ludwig <arne.ludwig@posteo.de>
*/
module dalicious.algorithm.mutation;
import std.range.primitives;
/**
Copies the content of `source` into `target` and returns the
*filled* part of `target`. This is the counterpart of
`std.algorithm.mutation.copy`.
Preconditions: `target` shall have enough room to accommodate
the entirety of `source`.
Params:
source = an input range
target = an output range with slicing and length
Returns:
The filled part of target
*/
TargetRange bufferedIn(SourceRange, TargetRange)(SourceRange source, TargetRange target)
if (
isInputRange!SourceRange &&
isOutputRange!(TargetRange, ElementType!SourceRange) &&
hasSlicing!TargetRange && hasLength!TargetRange
)
{
import std.algorithm.mutation : copy;
static if (hasLength!SourceRange)
assert(
source.length <= target.length,
"Cannot copy a source range into a smaller target range.",
);
const bufferRest = source.copy(target);
return target[0 .. $ - bufferRest.length];
}
|
D
|
module org.eclipse.swt.internal.mozilla.nsIEmbeddingSiteWindow2;
import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsIEmbeddingSiteWindow;
const char[] NS_IEMBEDDINGSITEWINDOW2_IID_STR = "e932bf55-0a64-4beb-923a-1f32d3661044";
const nsIID NS_IEMBEDDINGSITEWINDOW2_IID=
{0xe932bf55, 0x0a64, 0x4beb,
[ 0x92, 0x3a, 0x1f, 0x32, 0xd3, 0x66, 0x10, 0x44 ]};
interface nsIEmbeddingSiteWindow2 : nsIEmbeddingSiteWindow {
static const char[] IID_STR = NS_IEMBEDDINGSITEWINDOW2_IID_STR;
static const nsIID IID = NS_IEMBEDDINGSITEWINDOW2_IID;
extern(System):
nsresult Blur();
}
|
D
|
// REQUIRED_ARGS: -transition=import -transition=checkimports -de
/*
TEST_OUTPUT:
---
fail_compilation/checkimports2b.d(22): Deprecation: local import search method found variable imports.imp2.X instead of variable checkimports2b.X
fail_compilation/checkimports2b.d(28): Deprecation: local import search method found variable imports.imp2.X instead of nothing
fail_compilation/checkimports2b.d(29): Deprecation: local import search method found variable imports.imp2.Y instead of nothing
fail_compilation/checkimports2b.d(31): Deprecation: local import search method found variable imports.imp2.X instead of variable checkimports2b.X
fail_compilation/checkimports2b.d(32): Deprecation: local import search method found variable imports.imp2.Y instead of variable imports.imp1.Y
---
*/
// old lookup + information
import imports.imp1;
enum X = 0;
class B
{
import imports.imp2;
static assert(X == 2); // imp2.X --> .X (information)
int[Y] aa; // imp2.Y
}
class C : B
{
static assert(B.X == 2); // imp2.X --> error (keep old lookup rule)
static assert(B.Y == 2); // imp2.Y --> error (keep old lookup rule)
static assert(X == 2); // imp2.X --> .X (information)
static assert(Y == 2); // imp2.Y --> imp1.Y (information)
}
|
D
|
extern(C++) ubyte[] foo() { return []; }
|
D
|
instance Mod_504_PAL_Parcival_REL (Npc_Default)
{
// ------ NSC ------
name = "Parcival";
guild = GIL_OUT;
id = 504;
voice = 13;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_MASTER; // MASTER / STRONG / COWARD
// ------ Equippte Waffen ------ //Munition wird automatisch generiert, darf aber angegeben werden
EquipItem (self, ItMw_Paladinschwert);
// ------ Inventory ------
B_CreateAmbientInv (self);
// ------ visuals ------ //Muss NACH Attributen kommen, weil in B_SetNpcVisual die Breite abh. v. STR skaliert wird
B_SetNpcVisual (self, MALE, "Hum_Head_Pony", Face_P_Tough_Drago, BodyTex_P, ITAR_PAL_H);
Mdl_SetModelFatness (self, 0);
Mdl_ApplyOverlayMds (self, "Humans_Militia.mds"); // Tired / Militia / Mage / Arrogance / Relaxed
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------ //Der enthaltene B_AddFightSkill setzt Talent-Ani abhängig von TrefferChance% - alle Kampftalente werden gleichhoch gesetzt
B_SetFightSkills (self, 65); //Grenzen für Talent-Level liegen bei 30 und 60
// ------ TA anmelden ------
daily_routine = Rtn_Start_504;
};
FUNC VOID Rtn_Start_504 ()
{
TA_Stand_Guarding (08,00,21,00,"REL_MOOR_206");
TA_Stand_Guarding (21,00,08,00,"REL_MOOR_206");
};
FUNC VOID Rtn_VorKneipe_504 ()
{
TA_Smalltalk_Plaudern (08,00,21,00,"REL_MOOR_141");
TA_Smalltalk_Plaudern (21,00,08,00,"REL_MOOR_141");
};
FUNC VOID Rtn_InKneipe_504 ()
{
TA_Stand_Drinking (08,00,21,00,"REL_MOOR_144");
TA_Stand_Drinking (21,00,08,00,"REL_MOOR_144");
};
FUNC VOID Rtn_Siedlung_504 ()
{
TA_Stand_Guarding (08,00,21,00,"REL_MOOR_008");
TA_Stand_Guarding (21,00,08,00,"REL_MOOR_008");
};
|
D
|
/**
Copyright: 2018 Mark Fisher
License:
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
**/
module dxx.sys.loader;
private import std.exception;
private import std.experimental.logger;
private import reloaded : Reloaded, ReloadedCrashReturn;
private import dxx.constants;
private import dxx.util.notify;
private import dxx.util.log;
struct ModuleData
{
const(RTConstants)* hostRuntime;
const(RTConstants)* moduleRuntime;
void* modData;
}
class Loader {
@property
const(string) path;
shared(ModuleData) moduleData;
Reloaded script;
this(const(string) path,void* data) {
debug(Loader) {
MsgLog.info("Loader " ~ path);
}
//this.moduleData.libVersion = packageVersion;
this.moduleData.hostRuntime = &RTConstants.runtimeConstants;
this.moduleData.modData = cast(shared(void*))data;
this.path = path;
script = Reloaded();
}
void load() {
debug(Loader) {
sharedLog.info("load " ~ path);
}
script.load(path, moduleData);
mixin ReloadedCrashReturn;
}
void update() {
debug(Loader) {
sharedLog.info("update " ~ path);
}
script.update;
}
void update(void* data) {
debug(Loader) {
sharedLog.info("update");
}
this.moduleData.modData = cast(shared(void*))data;
update;
}
static auto loadModule(const(string) path,void* data) {
debug(Loader) {
sharedLog.info("loadModule " ~ path);
}
auto l = new Loader(path,data);
l.load;
debug(Loader) {
sharedLog.info("loaded " ~ path);
}
l.validate;
return l;
}
void validate() {
debug(Loader) {
sharedLog.info("validate " ~ path);
sharedLog.info(moduleData.hostRuntime.libVersions);
}
enforce(moduleData.moduleRuntime);
enforce(moduleData.moduleRuntime.checkVersion(RTConstants.constants.semVer));
}
}
final class Module : SyncNotificationSource {
struct ModuleEvent {
enum Type {
Init,
Deinit,
Load,
Unload,
Update
}
Type eventType;
shared(Module) mod;
};
ModuleData* moduleData;
private static __gshared shared(Module) INSTANCE;
static bool instantiated = false;
static auto getInstance() {
if(!instantiated) {
synchronized(Module.classinfo) {
if(!INSTANCE) {
INSTANCE = new shared(Module);
debug(Module) {
sharedLog.info("new instance.");
}
}
}
instantiated = true;
}
return INSTANCE;
}
template data(alias T) {
//alias data = moduleData.data!T;
auto ref shared data() {
return cast(T*)moduleData.modData;
}
}
private shared this() {}
private nothrow shared void sendModuleEvent(alias T)() {
auto m = ModuleEvent(T,this);
this.send!ModuleEvent(&m);
}
shared void init() {
//checkModuleVersion;
debug(Module) { sharedLog.info("init"); }
sendModuleEvent!(ModuleEvent.Type.Init);
}
shared void deinit() {
debug(Module) { sharedLog.info("deinit"); }
sendModuleEvent!(ModuleEvent.Type.Deinit);
}
shared void load() {
debug(Module) { sharedLog.info("load"); }
sendModuleEvent!(ModuleEvent.Type.Load);
}
shared void unload() {
debug(Module) { sharedLog.info("unload"); }
sendModuleEvent!(ModuleEvent.Type.Unload);
}
shared void update() {
debug(Module) { sharedLog.info("update"); }
sendModuleEvent!(ModuleEvent.Type.Update);
}
}
class ModuleNotificationListener : NotificationListener {
override shared void handleNotification(void* t) {
Module.ModuleEvent* event = cast(Module.ModuleEvent*)t;
debug(Module) {
import std.conv;
sharedLog.info("Notification:",event.eventType);
}
final switch(event.eventType) {
case Module.ModuleEvent.Type.Init:
onInit(event);
break;
case Module.ModuleEvent.Type.Deinit:
onDeinit(event);
unregister;
break;
case Module.ModuleEvent.Type.Load:
onLoad(event);
break;
case Module.ModuleEvent.Type.Unload:
onUnload(event);
break;
case Module.ModuleEvent.Type.Update:
onUpdate(event);
break;
}
}
shared void onInit(Module.ModuleEvent* event){}
shared void onDeinit(Module.ModuleEvent* event){}
shared void onLoad(Module.ModuleEvent* event){}
shared void onUnload(Module.ModuleEvent* event){}
shared void onUpdate(Module.ModuleEvent* event){}
void register() {
version(DXX_Module) {
Module.getInstance.addNotificationListener(cast(shared(NotificationListener))this);
}
}
shared void unregister() {
version(DXX_Module) {
Module.getInstance.removeNotificationListener(cast(shared(NotificationListener))this);
}
}
}
version(DXX_Module) {
extern(C):
void load( void* userdata );
void unload(void* userdata);
void init(void* data);
void uninit(void* userdata);
void update();
}
|
D
|
// This source code was generated by regenerator
module libclang.cxerrorcode;
enum CXErrorCode
{
_Success = 0x0,
_Failure = 0x1,
_Crashed = 0x2,
_InvalidArguments = 0x3,
_ASTReadError = 0x4,
}
|
D
|
// Copyright Brian Schott (Hackerpilot) 2014.
// 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 analysis.range;
import std.stdio;
import dparse.ast;
import dparse.lexer;
import analysis.base;
import analysis.helpers;
import dsymbol.scope_ : Scope;
/**
* Checks for .. expressions where the left side is larger than the right. This
* is almost always a mistake.
*/
class BackwardsRangeCheck : BaseAnalyzer
{
alias visit = BaseAnalyzer.visit;
/// Key for this check in the report output
enum string KEY = "dscanner.bugs.backwards_slices";
/**
* Params:
* fileName = the name of the file being analyzed
*/
this(string fileName, const Scope* sc, bool skipTests = false)
{
super(fileName, sc, skipTests);
}
override void visit(const ForeachStatement foreachStatement)
{
if (foreachStatement.low !is null && foreachStatement.high !is null)
{
import std.string : format;
state = State.left;
visit(foreachStatement.low);
state = State.right;
visit(foreachStatement.high);
state = State.ignore;
if (hasLeft && hasRight && left > right)
{
string message = format(
"%d is larger than %d. Did you mean to use 'foreach_reverse( ... ; %d .. %d)'?",
left, right, right, left);
addErrorMessage(line, this.column, KEY, message);
}
hasLeft = false;
hasRight = false;
}
foreachStatement.accept(this);
}
override void visit(const AddExpression add)
{
immutable s = state;
state = State.ignore;
add.accept(this);
state = s;
}
override void visit(const UnaryExpression unary)
{
if (state != State.ignore && unary.primaryExpression is null)
return;
else
unary.accept(this);
}
override void visit(const PrimaryExpression primary)
{
import std.conv : to, ConvException;
if (state == State.ignore || !isNumberLiteral(primary.primary.type))
return;
if (state == State.left)
{
line = primary.primary.line;
this.column = primary.primary.column;
try
left = parseNumber(primary.primary.text);
catch (ConvException e)
return;
hasLeft = true;
}
else
{
try
right = parseNumber(primary.primary.text);
catch (ConvException e)
return;
hasRight = true;
}
}
override void visit(const Index index)
{
if (index.low !is null && index.high !is null)
{
state = State.left;
visit(index.low);
state = State.right;
visit(index.high);
state = State.ignore;
if (hasLeft && hasRight && left > right)
{
import std.string : format;
string message = format("%d is larger than %d. This slice is likely incorrect.",
left, right);
addErrorMessage(line, this.column, KEY, message);
}
hasLeft = false;
hasRight = false;
}
index.accept(this);
}
private:
bool hasLeft;
bool hasRight;
long left;
long right;
size_t column;
size_t line;
enum State
{
ignore,
left,
right
}
State state = State.ignore;
long parseNumber(string te)
{
import std.conv : to;
import std.regex : ctRegex, replaceAll;
enum re = ctRegex!("[_uUlL]", "");
string t = te.replaceAll(re, "");
if (t.length > 2)
{
if (t[1] == 'x' || t[1] == 'X')
return to!long(t[2 .. $], 16);
if (t[1] == 'b' || t[1] == 'B')
return to!long(t[2 .. $], 2);
}
return to!long(t);
}
}
unittest
{
import analysis.config : StaticAnalysisConfig, Check, disabledConfig;
StaticAnalysisConfig sac = disabledConfig();
sac.backwards_range_check = Check.enabled;
assertAnalyzerWarnings(q{
void testRange()
{
a = node.tupleof[2..T.length+1]; // ok
foreach (a; 10 .. j + 2) {} // ok
int[] data = [1, 2, 3, 4, 5];
data = data[1 .. 3]; // ok
data = data[3 .. 1]; // [warn]: 3 is larger than 1. This slice is likely incorrect.
foreach (n; 1 .. 3) { } // ok
foreach (n; 3 .. 1) { } // [warn]: 3 is larger than 1. Did you mean to use 'foreach_reverse( ... ; 1 .. 3)'?
}
}c, sac);
stderr.writeln("Unittest for BackwardsRangeCheck passed.");
}
|
D
|
// Written in the D programming language.
/**
* This module implements a
* $(LINK2 http://erdani.org/publications/cuj-04-2002.html,discriminated union)
* type (a.k.a.
* $(LINK2 http://en.wikipedia.org/wiki/Tagged_union,tagged union),
* $(LINK2 http://en.wikipedia.org/wiki/Algebraic_data_type,algebraic type)).
* Such types are useful
* for type-uniform binary interfaces, interfacing with scripting
* languages, and comfortable exploratory programming.
*
* Macros:
* WIKI = Phobos/StdVariant
*
* Synopsis:
*
* ----
* Variant a; // Must assign before use, otherwise exception ensues
* // Initialize with an integer; make the type int
* Variant b = 42;
* assert(b.type == typeid(int));
* // Peek at the value
* assert(b.peek!(int) !is null && *b.peek!(int) == 42);
* // Automatically convert per language rules
* auto x = b.get!(real);
* // Assign any other type, including other variants
* a = b;
* a = 3.14;
* assert(a.type == typeid(double));
* // Implicit conversions work just as with built-in types
* assert(a < b);
* // Check for convertibility
* assert(!a.convertsTo!(int)); // double not convertible to int
* // Strings and all other arrays are supported
* a = "now I'm a string";
* assert(a == "now I'm a string");
* a = new int[42]; // can also assign arrays
* assert(a.length == 42);
* a[5] = 7;
* assert(a[5] == 7);
* // Can also assign class values
* class Foo {}
* auto foo = new Foo;
* a = foo;
* assert(*a.peek!(Foo) == foo); // and full type information is preserved
* ----
*
* Credits:
*
* Reviewed by Brad Roberts. Daniel Keep provided a detailed code
* review prompting the following improvements: (1) better support for
* arrays; (2) support for associative arrays; (3) friendlier behavior
* towards the garbage collector.
*
* Copyright: Copyright Andrei Alexandrescu 2007 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(WEB erdani.org, Andrei Alexandrescu)
* Source: $(PHOBOSSRC std/_variant.d)
*/
/* Copyright Andrei Alexandrescu 2007 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
module std.variant;
import std.traits, std.c.string, std.typetuple, std.conv, std.exception;
@trusted:
/++
Gives the $(D sizeof) the largest type given.
+/
template maxSize(T...)
{
static if (T.length == 1)
{
enum size_t maxSize = T[0].sizeof;
}
else
{
enum size_t maxSize = T[0].sizeof >= maxSize!(T[1 .. $])
? T[0].sizeof : maxSize!(T[1 .. $]);
}
}
struct This;
template AssociativeArray(T)
{
enum bool valid = false;
alias void Key;
alias void Value;
}
template AssociativeArray(T : V[K], K, V)
{
enum bool valid = true;
alias K Key;
alias V Value;
}
template This2Variant(V, T...)
{
static if (T.length == 0) alias TypeTuple!() This2Variant;
else static if (is(AssociativeArray!(T[0]).Key == This))
{
static if (is(AssociativeArray!(T[0]).Value == This))
alias TypeTuple!(V[V],
This2Variant!(V, T[1 .. $])) This2Variant;
else
alias TypeTuple!(AssociativeArray!(T[0]).Value[V],
This2Variant!(V, T[1 .. $])) This2Variant;
}
else static if (is(AssociativeArray!(T[0]).Value == This))
alias TypeTuple!(V[AssociativeArray!(T[0]).Key],
This2Variant!(V, T[1 .. $])) This2Variant;
else static if (is(T[0] == This[]))
alias TypeTuple!(V[], This2Variant!(V, T[1 .. $])) This2Variant;
else static if (is(T[0] == This*))
alias TypeTuple!(V*, This2Variant!(V, T[1 .. $])) This2Variant;
else
alias TypeTuple!(T[0], This2Variant!(V, T[1 .. $])) This2Variant;
}
/**
* $(D_PARAM VariantN) is a back-end type seldom used directly by user
* code. Two commonly-used types using $(D_PARAM VariantN) as
* back-end are:
*
* $(OL $(LI $(B Algebraic): A closed discriminated union with a
* limited type universe (e.g., $(D_PARAM Algebraic!(int, double,
* string)) only accepts these three types and rejects anything
* else).) $(LI $(B Variant): An open discriminated union allowing an
* unbounded set of types. The restriction is that the size of the
* stored type cannot be larger than the largest built-in type. This
* means that $(D_PARAM Variant) can accommodate all primitive types
* and all user-defined types except for large $(D_PARAM struct)s.) )
*
* Both $(D_PARAM Algebraic) and $(D_PARAM Variant) share $(D_PARAM
* VariantN)'s interface. (See their respective documentations below.)
*
* $(D_PARAM VariantN) is a discriminated union type parameterized
* with the largest size of the types stored ($(D_PARAM maxDataSize))
* and with the list of allowed types ($(D_PARAM AllowedTypes)). If
* the list is empty, then any type up of size up to $(D_PARAM
* maxDataSize) (rounded up for alignment) can be stored in a
* $(D_PARAM VariantN) object.
*
*/
struct VariantN(size_t maxDataSize, AllowedTypesX...)
{
alias This2Variant!(VariantN, AllowedTypesX) AllowedTypes;
private:
// Compute the largest practical size from maxDataSize
struct SizeChecker
{
int function() fptr;
ubyte[maxDataSize] data;
}
enum size = SizeChecker.sizeof - (int function()).sizeof;
static assert(size >= (void*).sizeof);
/** Tells whether a type $(D_PARAM T) is statically allowed for
* storage inside a $(D_PARAM VariantN) object by looking
* $(D_PARAM T) up in $(D_PARAM AllowedTypes). If $(D_PARAM
* AllowedTypes) is empty, all types of size up to $(D_PARAM
* maxSize) are allowed.
*/
public template allowed(T)
{
enum bool allowed
= is(T == VariantN)
||
//T.sizeof <= size &&
(AllowedTypes.length == 0 || staticIndexOf!(T, AllowedTypes) >= 0);
}
// Each internal operation is encoded with an identifier. See
// the "handler" function below.
enum OpID { getTypeInfo, get, compare, testConversion, toString,
index, indexAssign, catAssign, copyOut, length,
apply }
// state
ptrdiff_t function(OpID selector, ubyte[size]* store, void* data) fptr
= &handler!(void);
union
{
ubyte[size] store;
// conservatively mark the region as pointers
static if (size >= (void*).sizeof)
void* p[size / (void*).sizeof];
}
// internals
// Handler for an uninitialized value
static ptrdiff_t handler(A : void)(OpID selector, ubyte[size]*, void* parm)
{
switch (selector)
{
case OpID.getTypeInfo:
*cast(TypeInfo *) parm = typeid(A);
break;
case OpID.copyOut:
auto target = cast(VariantN *) parm;
target.fptr = &handler!(A);
// no need to copy the data (it's garbage)
break;
case OpID.compare:
auto rhs = cast(const VariantN *) parm;
return rhs.peek!(A)
? 0 // all uninitialized are equal
: ptrdiff_t.min; // uninitialized variant is not comparable otherwise
case OpID.toString:
string * target = cast(string*) parm;
*target = "<Uninitialized VariantN>";
break;
case OpID.get:
case OpID.testConversion:
case OpID.index:
case OpID.indexAssign:
case OpID.catAssign:
case OpID.length:
throw new VariantException(
"Attempt to use an uninitialized VariantN");
default: assert(false, "Invalid OpID");
}
return 0;
}
// Handler for all of a type's operations
static ptrdiff_t handler(A)(OpID selector, ubyte[size]* pStore, void* parm)
{
static A* getPtr(void* untyped)
{
if (untyped)
{
static if (A.sizeof <= size)
return cast(A*) untyped;
else
return *cast(A**) untyped;
}
return null;
}
auto zis = getPtr(pStore);
// Input: TypeInfo object
// Output: target points to a copy of *me, if me was not null
// Returns: true iff the A can be converted to the type represented
// by the incoming TypeInfo
static bool tryPutting(A* src, TypeInfo targetType, void* target)
{
alias TypeTuple!(A, ImplicitConversionTargets!A) AllTypes;
foreach (T ; AllTypes)
{
if (targetType != typeid(T) &&
targetType != typeid(const(T)))
{
static if (isImplicitlyConvertible!(T, immutable(T)))
{
if (targetType != typeid(immutable(T)))
{
continue;
}
}
else
{
continue;
}
}
// found!!!
static if (is(typeof(*cast(T*) target = *src)))
{
auto zat = cast(T*) target;
if (src)
{
assert(target, "target must be non-null");
*zat = *src;
}
}
else
{
// type is not assignable
if (src) assert(false, A.stringof);
}
return true;
}
return false;
}
switch (selector)
{
case OpID.getTypeInfo:
*cast(TypeInfo *) parm = typeid(A);
break;
case OpID.copyOut:
auto target = cast(VariantN *) parm;
assert(target);
tryPutting(zis, typeid(A), cast(void*) getPtr(&target.store))
|| assert(false);
target.fptr = &handler!(A);
break;
case OpID.get:
return !tryPutting(zis, *cast(TypeInfo*) parm, parm);
case OpID.testConversion:
return !tryPutting(null, *cast(TypeInfo*) parm, null);
case OpID.compare:
auto rhsP = cast(VariantN *) parm;
auto rhsType = rhsP.type;
// Are we the same?
if (rhsType == typeid(A))
{
// cool! Same type!
auto rhsPA = getPtr(&rhsP.store);
static if (is(typeof(A.init == A.init)))
{
if (*rhsPA == *zis)
{
return 0;
}
static if (is(typeof(A.init < A.init)))
{
return *zis < *rhsPA ? -1 : 1;
}
else
{
// Not equal, and type does not support ordering
// comparisons.
return ptrdiff_t.min;
}
}
else
{
// Type does not support comparisons at all.
return ptrdiff_t.min;
}
} else if (rhsType == typeid(void))
{
// No support for ordering comparisons with
// uninitialized vars
return ptrdiff_t.min;
}
VariantN temp;
// Do I convert to rhs?
if (tryPutting(zis, rhsType, &temp.store))
{
// cool, I do; temp's store contains my data in rhs's type!
// also fix up its fptr
temp.fptr = rhsP.fptr;
// now lhsWithRhsType is a full-blown VariantN of rhs's type
return temp.opCmp(*rhsP);
}
// Does rhs convert to zis?
*cast(TypeInfo*) &temp.store = typeid(A);
if (rhsP.fptr(OpID.get, &rhsP.store, &temp.store) == 0)
{
// cool! Now temp has rhs in my type!
auto rhsPA = getPtr(&temp.store);
static if (is(typeof(A.init == A.init)))
{
if (*rhsPA == *zis)
{
return 0;
}
static if (is(typeof(A.init < A.init)))
{
return *zis < *rhsPA ? -1 : 1;
}
else
{
// Not equal, and type does not support ordering
// comparisons.
return ptrdiff_t.min;
}
}
else
{
// Type does not support comparisons at all.
return ptrdiff_t.min;
}
}
return ptrdiff_t.min; // dunno
case OpID.toString:
auto target = cast(string*) parm;
static if (is(typeof(to!(string)(*zis))))
{
*target = to!(string)(*zis);
break;
}
// TODO: The following test evaluates to true for shared objects.
// Use __traits for now until this is sorted out.
// else static if (is(typeof((*zis).toString)))
else static if (__traits(compiles, {(*zis).toString();}))
{
*target = (*zis).toString();
break;
}
else
{
throw new VariantException(typeid(A), typeid(string));
}
case OpID.index:
// Added allowed!(...) prompted by a bug report by Chris
// Nicholson-Sauls.
static if (isStaticArray!(A) && allowed!(typeof(A.init)))
{
enforce(0, "Not implemented");
}
static if (isDynamicArray!(A) && allowed!(typeof(A.init[0])))
{
// array type; input and output are the same VariantN
auto result = cast(VariantN*) parm;
size_t index = result.convertsTo!(int)
? result.get!(int) : result.get!(size_t);
*result = (*zis)[index];
break;
}
else static if (isAssociativeArray!(A)
&& allowed!(typeof(A.init.values[0])))
{
auto result = cast(VariantN*) parm;
*result = (*zis)[result.get!(typeof(A.keys[0]))];
break;
}
else
{
throw new VariantException(typeid(A), typeid(void[]));
}
case OpID.indexAssign:
static if (isArray!(A) && is(typeof((*zis)[0] = (*zis)[0])))
{
// array type; result comes first, index comes second
auto args = cast(VariantN*) parm;
size_t index = args[1].convertsTo!(int)
? args[1].get!(int) : args[1].get!(size_t);
(*zis)[index] = args[0].get!(typeof((*zis)[0]));
break;
}
else static if (isAssociativeArray!(A))
{
auto args = cast(VariantN*) parm;
(*zis)[args[1].get!(typeof(A.keys[0]))]
= args[0].get!(typeof(A.values[0]));
break;
}
else
{
throw new VariantException(typeid(A), typeid(void[]));
}
case OpID.catAssign:
static if (is(typeof((*zis)[0])) && is(typeof((*zis) ~= *zis)))
{
// array type; parm is the element to append
auto arg = cast(VariantN*) parm;
alias typeof((*zis)[0]) E;
if (arg[0].convertsTo!(E))
{
// append one element to the array
(*zis) ~= [ arg[0].get!(E) ];
}
else
{
// append a whole array to the array
(*zis) ~= arg[0].get!(A);
}
break;
}
else
{
throw new VariantException(typeid(A), typeid(void[]));
}
case OpID.length:
static if (is(typeof(zis.length)))
{
return zis.length;
}
else
{
throw new VariantException(typeid(A), typeid(void[]));
}
case OpID.apply:
assert(0);
default: assert(false);
}
return 0;
}
public:
/** Constructs a $(D_PARAM VariantN) value given an argument of a
* generic type. Statically rejects disallowed types.
*/
this(T)(T value)
{
static assert(allowed!(T), "Cannot store a " ~ T.stringof
~ " in a " ~ VariantN.stringof);
opAssign(value);
}
/** Assigns a $(D_PARAM VariantN) from a generic
* argument. Statically rejects disallowed types. */
VariantN opAssign(T)(T rhs)
{
//writeln(typeid(rhs));
static assert(allowed!(T), "Cannot store a " ~ T.stringof
~ " in a " ~ VariantN.stringof ~ ". Valid types are "
~ AllowedTypes.stringof);
static if (is(T : VariantN))
{
rhs.fptr(OpID.copyOut, &rhs.store, &this);
}
else static if (is(T : const(VariantN)))
{
static assert(false,
"Assigning Variant objects from const Variant"
" objects is currently not supported.");
}
else
{
static if (T.sizeof <= size)
{
// If T is a class we're only copying the reference, so it
// should be safe to cast away shared so the memcpy will work.
//
// TODO: If a shared class has an atomic reference then using
// an atomic load may be more correct. Just make sure
// to use the fastest approach for the load op.
static if (is(T == class) && is(T == shared))
memcpy(&store, cast(const(void*)) &rhs, rhs.sizeof);
else
memcpy(&store, &rhs, rhs.sizeof);
}
else
{
static if (__traits(compiles, {new T(rhs);}))
{
auto p = new T(rhs);
}
else
{
auto p = new T;
*p = rhs;
}
memcpy(&store, &p, p.sizeof);
}
fptr = &handler!(T);
}
return this;
}
/** Returns true if and only if the $(D_PARAM VariantN) object
* holds a valid value (has been initialized with, or assigned
* from, a valid value).
* Example:
* ----
* Variant a;
* assert(!a.hasValue);
* Variant b;
* a = b;
* assert(!a.hasValue); // still no value
* a = 5;
* assert(a.hasValue);
* ----
*/
@property bool hasValue() const pure nothrow
{
// @@@BUG@@@ in compiler, the cast shouldn't be needed
return cast(typeof(&handler!(void))) fptr != &handler!(void);
}
/**
* If the $(D_PARAM VariantN) object holds a value of the
* $(I exact) type $(D_PARAM T), returns a pointer to that
* value. Otherwise, returns $(D_PARAM null). In cases
* where $(D_PARAM T) is statically disallowed, $(D_PARAM
* peek) will not compile.
*
* Example:
* ----
* Variant a = 5;
* auto b = a.peek!(int);
* assert(b !is null);
* *b = 6;
* assert(a == 6);
* ----
*/
@property inout T * peek(T)() inout
{
static if (!is(T == void))
static assert(allowed!(T), "Cannot store a " ~ T.stringof
~ " in a " ~ VariantN.stringof);
return type == typeid(T) ? cast(T*) &store : null;
}
/**
* Returns the $(D_PARAM typeid) of the currently held value.
*/
@property TypeInfo type() const
{
TypeInfo result;
fptr(OpID.getTypeInfo, null, &result);
return result;
}
/**
* Returns $(D_PARAM true) if and only if the $(D_PARAM VariantN)
* object holds an object implicitly convertible to type $(D_PARAM
* U). Implicit convertibility is defined as per
* $(LINK2 std_traits.html#ImplicitConversionTargets,ImplicitConversionTargets).
*/
@property bool convertsTo(T)() const
{
TypeInfo info = typeid(T);
return fptr(OpID.testConversion, null, &info) == 0;
}
// private T[] testing123(T)(T*);
// /**
// * A workaround for the fact that functions cannot return
// * statically-sized arrays by value. Essentially $(D_PARAM
// * DecayStaticToDynamicArray!(T[N])) is an alias for $(D_PARAM
// * T[]) and $(D_PARAM DecayStaticToDynamicArray!(T)) is an alias
// * for $(D_PARAM T).
// */
// template DecayStaticToDynamicArray(T)
// {
// static if (isStaticArray!(T))
// {
// alias typeof(testing123(&T[0])) DecayStaticToDynamicArray;
// }
// else
// {
// alias T DecayStaticToDynamicArray;
// }
// }
// static assert(is(DecayStaticToDynamicArray!(immutable(char)[21]) ==
// immutable(char)[]),
// DecayStaticToDynamicArray!(immutable(char)[21]).stringof);
/**
* Returns the value stored in the $(D_PARAM VariantN) object,
* implicitly converted to the requested type $(D_PARAM T), in
* fact $(D_PARAM DecayStaticToDynamicArray!(T)). If an implicit
* conversion is not possible, throws a $(D_PARAM
* VariantException).
*/
@property T get(T)() if (!is(T == const))
{
union Buf
{
TypeInfo info;
T result;
}
auto p = *cast(T**) &store;
Buf buf = { typeid(T) };
if (fptr(OpID.get, &store, &buf))
{
throw new VariantException(type, typeid(T));
}
return buf.result;
}
@property T get(T)() const if (is(T == const))
{
union Buf
{
TypeInfo info;
Unqual!T result;
}
auto p = *cast(T**) &store;
Buf buf = { typeid(T) };
if (fptr(OpID.get, cast(ubyte[size]*) &store, &buf))
{
throw new VariantException(type, typeid(T));
}
return buf.result;
}
/**
* Returns the value stored in the $(D_PARAM VariantN) object,
* explicitly converted (coerced) to the requested type $(D_PARAM
* T). If $(D_PARAM T) is a string type, the value is formatted as
* a string. If the $(D_PARAM VariantN) object is a string, a
* parse of the string to type $(D_PARAM T) is attempted. If a
* conversion is not possible, throws a $(D_PARAM
* VariantException).
*/
@property T coerce(T)()
{
static if (isNumeric!(T))
{
if (convertsTo!real)
{
// maybe optimize this fella; handle ints separately
return to!T(get!real);
}
else if (convertsTo!(const(char)[]))
{
return to!T(get!(const(char)[]));
}
// I'm not sure why this doesn't convert to const(char),
// but apparently it doesn't (probably a deeper bug).
//
// Until that is fixed, this quick addition keeps a common
// function working. "10".coerce!int ought to work.
else if (convertsTo!(immutable(char)[]))
{
return to!T(get!(immutable(char)[]));
}
else
{
enforce(false, text("Type ", type, " does not convert to ",
typeid(T)));
assert(0);
}
}
else static if (is(T : Object))
{
return to!(T)(get!(Object));
}
else static if (isSomeString!(T))
{
return to!(T)(toString());
}
else
{
// Fix for bug 1649
static assert(false, "unsupported type for coercion");
}
}
// testing the string coerce
unittest
{
Variant a = "10";
assert(a.coerce!int == 10);
}
/**
* Formats the stored value as a string.
*/
string toString()
{
string result;
fptr(OpID.toString, &store, &result) == 0 || assert(false);
return result;
}
/**
* Comparison for equality used by the "==" and "!=" operators.
*/
// returns 1 if the two are equal
bool opEquals(T)(auto ref T rhs) const
{
static if (is(Unqual!T == VariantN))
alias rhs temp;
else
auto temp = VariantN(rhs);
return !fptr(OpID.compare, cast(ubyte[size]*) &store,
cast(void*) &temp);
}
/**
* Ordering comparison used by the "<", "<=", ">", and ">="
* operators. In case comparison is not sensible between the held
* value and $(D_PARAM rhs), an exception is thrown.
*/
int opCmp(T)(T rhs)
{
static if (is(T == VariantN))
alias rhs temp;
else
auto temp = VariantN(rhs);
auto result = fptr(OpID.compare, &store, &temp);
if (result == ptrdiff_t.min)
{
throw new VariantException(type, temp.type);
}
assert(result >= -1 && result <= 1); // Should be true for opCmp.
return cast(int) result;
}
/**
* Computes the hash of the held value.
*/
size_t toHash()
{
return type.getHash(&store);
}
private VariantN opArithmetic(T, string op)(T other)
{
VariantN result;
static if (is(T == VariantN))
{
if (convertsTo!(uint) && other.convertsTo!(uint))
result = mixin("get!(uint) " ~ op ~ " other.get!(uint)");
else if (convertsTo!(int) && other.convertsTo!(int))
result = mixin("get!(int) " ~ op ~ " other.get!(int)");
else if (convertsTo!(ulong) && other.convertsTo!(ulong))
result = mixin("get!(ulong) " ~ op ~ " other.get!(ulong)");
else if (convertsTo!(long) && other.convertsTo!(long))
result = mixin("get!(long) " ~ op ~ " other.get!(long)");
else if (convertsTo!(float) && other.convertsTo!(float))
result = mixin("get!(float) " ~ op ~ " other.get!(float)");
else if (convertsTo!(double) && other.convertsTo!(double))
result = mixin("get!(double) " ~ op ~ " other.get!(double)");
else
result = mixin("get!(real) " ~ op ~ " other.get!(real)");
}
else
{
if (is(typeof(T.max) : uint) && T.min == 0 && convertsTo!(uint))
result = mixin("get!(uint) " ~ op ~ " other");
else if (is(typeof(T.max) : int) && T.min < 0 && convertsTo!(int))
result = mixin("get!(int) " ~ op ~ " other");
else if (is(typeof(T.max) : ulong) && T.min == 0
&& convertsTo!(ulong))
result = mixin("get!(ulong) " ~ op ~ " other");
else if (is(typeof(T.max) : long) && T.min < 0 && convertsTo!(long))
result = mixin("get!(long) " ~ op ~ " other");
else if (is(T : float) && convertsTo!(float))
result = mixin("get!(float) " ~ op ~ " other");
else if (is(T : double) && convertsTo!(double))
result = mixin("get!(double) " ~ op ~ " other");
else
result = mixin("get!(real) " ~ op ~ " other");
}
return result;
}
private VariantN opLogic(T, string op)(T other)
{
VariantN result;
static if (is(T == VariantN))
{
if (convertsTo!(uint) && other.convertsTo!(uint))
result = mixin("get!(uint) " ~ op ~ " other.get!(uint)");
else if (convertsTo!(int) && other.convertsTo!(int))
result = mixin("get!(int) " ~ op ~ " other.get!(int)");
else if (convertsTo!(ulong) && other.convertsTo!(ulong))
result = mixin("get!(ulong) " ~ op ~ " other.get!(ulong)");
else
result = mixin("get!(long) " ~ op ~ " other.get!(long)");
}
else
{
if (is(typeof(T.max) : uint) && T.min == 0 && convertsTo!(uint))
result = mixin("get!(uint) " ~ op ~ " other");
else if (is(typeof(T.max) : int) && T.min < 0 && convertsTo!(int))
result = mixin("get!(int) " ~ op ~ " other");
else if (is(typeof(T.max) : ulong) && T.min == 0
&& convertsTo!(ulong))
result = mixin("get!(ulong) " ~ op ~ " other");
else
result = mixin("get!(long) " ~ op ~ " other");
}
return result;
}
/**
* Arithmetic between $(D_PARAM VariantN) objects and numeric
* values. All arithmetic operations return a $(D_PARAM VariantN)
* object typed depending on the types of both values
* involved. The conversion rules mimic D's built-in rules for
* arithmetic conversions.
*/
// Adapted from http://www.prowiki.org/wiki4d/wiki.cgi?DanielKeep/Variant
// arithmetic
VariantN opAdd(T)(T rhs) { return opArithmetic!(T, "+")(rhs); }
///ditto
VariantN opSub(T)(T rhs) { return opArithmetic!(T, "-")(rhs); }
// Commenteed all _r versions for now because of ambiguities
// arising when two Variants are used
/////ditto
// VariantN opSub_r(T)(T lhs)
// {
// return VariantN(lhs).opArithmetic!(VariantN, "-")(this);
// }
///ditto
VariantN opMul(T)(T rhs) { return opArithmetic!(T, "*")(rhs); }
///ditto
VariantN opDiv(T)(T rhs) { return opArithmetic!(T, "/")(rhs); }
// ///ditto
// VariantN opDiv_r(T)(T lhs)
// {
// return VariantN(lhs).opArithmetic!(VariantN, "/")(this);
// }
///ditto
VariantN opMod(T)(T rhs) { return opArithmetic!(T, "%")(rhs); }
// ///ditto
// VariantN opMod_r(T)(T lhs)
// {
// return VariantN(lhs).opArithmetic!(VariantN, "%")(this);
// }
///ditto
VariantN opAnd(T)(T rhs) { return opLogic!(T, "&")(rhs); }
///ditto
VariantN opOr(T)(T rhs) { return opLogic!(T, "|")(rhs); }
///ditto
VariantN opXor(T)(T rhs) { return opLogic!(T, "^")(rhs); }
///ditto
VariantN opShl(T)(T rhs) { return opLogic!(T, "<<")(rhs); }
// ///ditto
// VariantN opShl_r(T)(T lhs)
// {
// return VariantN(lhs).opLogic!(VariantN, "<<")(this);
// }
///ditto
VariantN opShr(T)(T rhs) { return opLogic!(T, ">>")(rhs); }
// ///ditto
// VariantN opShr_r(T)(T lhs)
// {
// return VariantN(lhs).opLogic!(VariantN, ">>")(this);
// }
///ditto
VariantN opUShr(T)(T rhs) { return opLogic!(T, ">>>")(rhs); }
// ///ditto
// VariantN opUShr_r(T)(T lhs)
// {
// return VariantN(lhs).opLogic!(VariantN, ">>>")(this);
// }
///ditto
VariantN opCat(T)(T rhs)
{
auto temp = this;
temp ~= rhs;
return temp;
}
// ///ditto
// VariantN opCat_r(T)(T rhs)
// {
// VariantN temp = rhs;
// temp ~= this;
// return temp;
// }
///ditto
VariantN opAddAssign(T)(T rhs) { return this = this + rhs; }
///ditto
VariantN opSubAssign(T)(T rhs) { return this = this - rhs; }
///ditto
VariantN opMulAssign(T)(T rhs) { return this = this * rhs; }
///ditto
VariantN opDivAssign(T)(T rhs) { return this = this / rhs; }
///ditto
VariantN opModAssign(T)(T rhs) { return this = this % rhs; }
///ditto
VariantN opAndAssign(T)(T rhs) { return this = this & rhs; }
///ditto
VariantN opOrAssign(T)(T rhs) { return this = this | rhs; }
///ditto
VariantN opXorAssign(T)(T rhs) { return this = this ^ rhs; }
///ditto
VariantN opShlAssign(T)(T rhs) { return this = this << rhs; }
///ditto
VariantN opShrAssign(T)(T rhs) { return this = this >> rhs; }
///ditto
VariantN opUShrAssign(T)(T rhs) { return this = this >>> rhs; }
///ditto
VariantN opCatAssign(T)(T rhs)
{
auto toAppend = VariantN(rhs);
fptr(OpID.catAssign, &store, &toAppend) == 0 || assert(false);
return this;
}
/**
* Array and associative array operations. If a $(D_PARAM
* VariantN) contains an (associative) array, it can be indexed
* into. Otherwise, an exception is thrown.
*
* Example:
* ----
* auto a = Variant(new int[10]);
* a[5] = 42;
* assert(a[5] == 42);
* int[int] hash = [ 42:24 ];
* a = hash;
* assert(a[42] == 24);
* ----
*
* Caveat:
*
* Due to limitations in current language, read-modify-write
* operations $(D_PARAM op=) will not work properly:
*
* ----
* Variant a = new int[10];
* a[5] = 42;
* a[5] += 8;
* assert(a[5] == 50); // fails, a[5] is still 42
* ----
*/
VariantN opIndex(K)(K i)
{
auto result = VariantN(i);
fptr(OpID.index, &store, &result) == 0 || assert(false);
return result;
}
unittest
{
int[int] hash = [ 42:24 ];
Variant v = hash;
assert(v[42] == 24);
v[42] = 5;
assert(v[42] == 5);
}
/// ditto
VariantN opIndexAssign(T, N)(T value, N i)
{
VariantN[2] args = [ VariantN(value), VariantN(i) ];
fptr(OpID.indexAssign, &store, &args) == 0 || assert(false);
return args[0];
}
/** If the $(D_PARAM VariantN) contains an (associative) array,
* returns the length of that array. Otherwise, throws an
* exception.
*/
@property size_t length()
{
return cast(size_t) fptr(OpID.length, &store, null);
}
/**
If the $(D VariantN) contains an array, applies $(D dg) to each
element of the array in turn. Otherwise, throws an exception.
*/
int opApply(Delegate)(scope Delegate dg) if (is(Delegate == delegate))
{
alias ParameterTypeTuple!(Delegate)[0] A;
if (type == typeid(A[]))
{
auto arr = get!(A[]);
foreach (ref e; arr)
{
if (dg(e)) return 1;
}
}
else static if (is(A == VariantN))
{
foreach (i; 0 .. length)
{
// @@@TODO@@@: find a better way to not confuse
// clients who think they change values stored in the
// Variant when in fact they are only changing tmp.
auto tmp = this[i];
debug scope(exit) assert(tmp == this[i]);
if (dg(tmp)) return 1;
}
}
else
{
enforce(false, text("Variant type ", type,
" not iterable with values of type ",
A.stringof));
}
return 0;
}
}
//Issue# 8195
unittest
{
struct S
{
int a;
long b;
string c;
real d = 0.0;
bool e;
}
static assert(S.sizeof >= Variant.sizeof);
alias TypeTuple!(string, int, S) Types;
alias VariantN!(maxSize!Types, Types) MyVariant;
auto v = MyVariant(S.init);
assert(v == S.init);
}
/**
* Algebraic data type restricted to a closed set of possible
* types. It's an alias for a $(D_PARAM VariantN) with an
* appropriately-constructed maximum size. $(D_PARAM Algebraic) is
* useful when it is desirable to restrict what a discriminated type
* could hold to the end of defining simpler and more efficient
* manipulation.
*
* Future additions to $(D_PARAM Algebraic) will allow compile-time
* checking that all possible types are handled by user code,
* eliminating a large class of errors.
*
* Bugs:
*
* Currently, $(D_PARAM Algebraic) does not allow recursive data
* types. They will be allowed in a future iteration of the
* implementation.
*
* Example:
* ----
* auto v = Algebraic!(int, double, string)(5);
* assert(v.peek!(int));
* v = 3.14;
* assert(v.peek!(double));
* // auto x = v.peek!(long); // won't compile, type long not allowed
* // v = '1'; // won't compile, type char not allowed
* ----
*/
template Algebraic(T...)
{
alias VariantN!(maxSize!(T), T) Algebraic;
}
/**
$(D_PARAM Variant) is an alias for $(D_PARAM VariantN) instantiated
with the largest of $(D_PARAM creal), $(D_PARAM char[]), and $(D_PARAM
void delegate()). This ensures that $(D_PARAM Variant) is large enough
to hold all of D's predefined types, including all numeric types,
pointers, delegates, and class references. You may want to use
$(D_PARAM VariantN) directly with a different maximum size either for
storing larger types, or for saving memory.
*/
alias VariantN!(maxSize!(creal, char[], void delegate())) Variant;
/**
* Returns an array of variants constructed from $(D_PARAM args).
* Example:
* ----
* auto a = variantArray(1, 3.14, "Hi!");
* assert(a[1] == 3.14);
* auto b = Variant(a); // variant array as variant
* assert(b[1] == 3.14);
* ----
*
* Code that needs functionality similar to the $(D_PARAM boxArray)
* function in the $(D_PARAM std.boxer) module can achieve it like this:
*
* ----
* // old
* Box[] fun(...)
* {
* ...
* return boxArray(_arguments, _argptr);
* }
* // new
* Variant[] fun(T...)(T args)
* {
* ...
* return variantArray(args);
* }
* ----
*
* This is by design. During construction the $(D_PARAM Variant) needs
* static type information about the type being held, so as to store a
* pointer to function for fast retrieval.
*/
Variant[] variantArray(T...)(T args)
{
Variant[] result;
foreach (arg; args)
{
result ~= Variant(arg);
}
return result;
}
/**
* Thrown in three cases:
*
* $(OL $(LI An uninitialized Variant is used in any way except
* assignment and $(D_PARAM hasValue);) $(LI A $(D_PARAM get) or
* $(D_PARAM coerce) is attempted with an incompatible target type;)
* $(LI A comparison between $(D_PARAM Variant) objects of
* incompatible types is attempted.))
*
*/
// @@@ BUG IN COMPILER. THE 'STATIC' BELOW SHOULD NOT COMPILE
static class VariantException : Exception
{
/// The source type in the conversion or comparison
TypeInfo source;
/// The target type in the conversion or comparison
TypeInfo target;
this(string s)
{
super(s);
}
this(TypeInfo source, TypeInfo target)
{
super("Variant: attempting to use incompatible types "
~ source.toString()
~ " and " ~ target.toString());
this.source = source;
this.target = target;
}
}
unittest
{
alias This2Variant!(char, int, This[int]) W1;
alias TypeTuple!(int, char[int]) W2;
static assert(is(W1 == W2));
alias Algebraic!(void, string) var_t;
var_t foo = "quux";
}
unittest
{
// @@@BUG@@@
// alias Algebraic!(real, This[], This[int], This[This]) A;
// A v1, v2, v3;
// v2 = 5.0L;
// v3 = 42.0L;
// //v1 = [ v2 ][];
// auto v = v1.peek!(A[]);
// //writeln(v[0]);
// v1 = [ 9 : v3 ];
// //writeln(v1);
// v1 = [ v3 : v3 ];
// //writeln(v1);
}
unittest
{
// try it with an oddly small size
VariantN!(1) test;
assert(test.size > 1);
// variantArray tests
auto heterogeneous = variantArray(1, 4.5, "hi");
assert(heterogeneous.length == 3);
auto variantArrayAsVariant = Variant(heterogeneous);
assert(variantArrayAsVariant[0] == 1);
assert(variantArrayAsVariant.length == 3);
// array tests
auto arr = Variant([1.2].dup);
auto e = arr[0];
assert(e == 1.2);
arr[0] = 2.0;
assert(arr[0] == 2);
arr ~= 4.5;
assert(arr[1] == 4.5);
// general tests
Variant a;
auto b = Variant(5);
assert(!b.peek!(real) && b.peek!(int));
// assign
a = *b.peek!(int);
// comparison
assert(a == b, a.type.toString() ~ " " ~ b.type.toString());
auto c = Variant("this is a string");
assert(a != c);
// comparison via implicit conversions
a = 42; b = 42.0; assert(a == b);
// try failing conversions
bool failed = false;
try
{
auto d = c.get!(int);
}
catch (Exception e)
{
//writeln(stderr, e.toString);
failed = true;
}
assert(failed); // :o)
// toString tests
a = Variant(42); assert(a.toString() == "42");
a = Variant(42.22); assert(a.toString() == "42.22");
// coerce tests
a = Variant(42.22); assert(a.coerce!(int) == 42);
a = cast(short) 5; assert(a.coerce!(double) == 5);
// Object tests
class B1 {}
class B2 : B1 {}
a = new B2;
assert(a.coerce!(B1) !is null);
a = new B1;
// BUG: I can't get the following line to pass:
// assert(collectException(a.coerce!(B2) is null));
a = cast(Object) new B2; // lose static type info; should still work
assert(a.coerce!(B2) !is null);
// struct Big { int a[45]; }
// a = Big.init;
// hash
assert(a.toHash() != 0);
}
// tests adapted from
// http://www.dsource.org/projects/tango/browser/trunk/tango/core/Variant.d?rev=2601
unittest
{
Variant v;
assert(!v.hasValue);
v = 42;
assert( v.peek!(int) );
assert( v.convertsTo!(long) );
assert( v.get!(int) == 42 );
assert( v.get!(long) == 42L );
assert( v.get!(ulong) == 42uL );
// should be string... @@@BUG IN COMPILER
v = "Hello, World!"c;
assert( v.peek!(string) );
assert( v.get!(string) == "Hello, World!" );
assert(!is(char[] : wchar[]));
assert( !v.convertsTo!(wchar[]) );
assert( v.get!(string) == "Hello, World!" );
// Literal arrays are dynamically-typed
v = cast(int[5]) [1,2,3,4,5];
assert( v.peek!(int[5]) );
assert( v.get!(int[5]) == [1,2,3,4,5] );
{
// @@@BUG@@@: array literals should have type T[], not T[5] (I guess)
// v = [1,2,3,4,5];
// assert( v.peek!(int[]) );
// assert( v.get!(int[]) == [1,2,3,4,5] );
}
v = 3.1413;
assert( v.peek!(double) );
assert( v.convertsTo!(real) );
//@@@ BUG IN COMPILER: DOUBLE SHOULD NOT IMPLICITLY CONVERT TO FLOAT
assert( !v.convertsTo!(float) );
assert( *v.peek!(double) == 3.1413 );
auto u = Variant(v);
assert( u.peek!(double) );
assert( *u.peek!(double) == 3.1413 );
// operators
v = 38;
assert( v + 4 == 42 );
assert( 4 + v == 42 );
assert( v - 4 == 34 );
assert( Variant(4) - v == -34 );
assert( v * 2 == 76 );
assert( 2 * v == 76 );
assert( v / 2 == 19 );
assert( Variant(2) / v == 0 );
assert( v % 2 == 0 );
assert( Variant(2) % v == 2 );
assert( (v & 6) == 6 );
assert( (6 & v) == 6 );
assert( (v | 9) == 47 );
assert( (9 | v) == 47 );
assert( (v ^ 5) == 35 );
assert( (5 ^ v) == 35 );
assert( v << 1 == 76 );
assert( Variant(1) << Variant(2) == 4 );
assert( v >> 1 == 19 );
assert( Variant(4) >> Variant(2) == 1 );
assert( Variant("abc") ~ "def" == "abcdef" );
assert( Variant("abc") ~ Variant("def") == "abcdef" );
v = 38;
v += 4;
assert( v == 42 );
v = 38; v -= 4; assert( v == 34 );
v = 38; v *= 2; assert( v == 76 );
v = 38; v /= 2; assert( v == 19 );
v = 38; v %= 2; assert( v == 0 );
v = 38; v &= 6; assert( v == 6 );
v = 38; v |= 9; assert( v == 47 );
v = 38; v ^= 5; assert( v == 35 );
v = 38; v <<= 1; assert( v == 76 );
v = 38; v >>= 1; assert( v == 19 );
v = 38; v += 1; assert( v < 40 );
v = "abc";
v ~= "def";
assert( v == "abcdef", *v.peek!(char[]) );
assert( Variant(0) < Variant(42) );
assert( Variant(42) > Variant(0) );
assert( Variant(42) > Variant(0.1) );
assert( Variant(42.1) > Variant(1) );
assert( Variant(21) == Variant(21) );
assert( Variant(0) != Variant(42) );
assert( Variant("bar") == Variant("bar") );
assert( Variant("foo") != Variant("bar") );
{
auto v1 = Variant(42);
auto v2 = Variant("foo");
auto v3 = Variant(1+2.0i);
int[Variant] hash;
hash[v1] = 0;
hash[v2] = 1;
hash[v3] = 2;
assert( hash[v1] == 0 );
assert( hash[v2] == 1 );
assert( hash[v3] == 2 );
}
/+
// @@@BUG@@@
// dmd: mtype.c:3886: StructDeclaration* TypeAArray::getImpl(): Assertion `impl' failed.
{
int[char[]] hash;
hash["a"] = 1;
hash["b"] = 2;
hash["c"] = 3;
Variant vhash = hash;
assert( vhash.get!(int[char[]])["a"] == 1 );
assert( vhash.get!(int[char[]])["b"] == 2 );
assert( vhash.get!(int[char[]])["c"] == 3 );
}
+/
}
unittest
{
// bug 1558
Variant va=1;
Variant vb=-2;
assert((va+vb).get!(int) == -1);
assert((va-vb).get!(int) == 3);
}
unittest
{
Variant a;
a=5;
Variant b;
b=a;
Variant[] c;
c = variantArray(1, 2, 3.0, "hello", 4);
assert(c[3] == "hello");
}
unittest
{
Variant v = 5;
assert (!__traits(compiles, v.coerce!(bool delegate())));
}
unittest
{
struct Huge {
real a, b, c, d, e, f, g;
}
Huge huge;
huge.e = 42;
Variant v;
v = huge; // Compile time error.
assert(v.get!(Huge).e == 42);
}
unittest
{
const x = Variant(42);
auto y1 = x.get!(const int);
// @@@BUG@@@
//auto y2 = x.get!(immutable int)();
}
// test iteration
unittest
{
auto v = Variant([ 1, 2, 3, 4 ][]);
auto j = 0;
foreach (int i; v)
{
assert(i == ++j);
}
assert(j == 4);
}
// test convertibility
unittest
{
auto v = Variant("abc".dup);
assert(v.convertsTo!(char[]));
}
// http://d.puremagic.com/issues/show_bug.cgi?id=5424
unittest
{
interface A {
void func1();
}
static class AC: A {
void func1() {
}
}
A a = new AC();
a.func1();
Variant b = Variant(a);
}
unittest
{
// bug 7070
Variant v;
v = null;
}
// Ordering comparisons of incompatible types, e.g. issue 7990.
unittest
{
assertThrown!VariantException(Variant(3) < "a");
assertThrown!VariantException("a" < Variant(3));
assertThrown!VariantException(Variant(3) < Variant("a"));
assertThrown!VariantException(Variant.init < Variant(3));
assertThrown!VariantException(Variant(3) < Variant.init);
}
// Handling of unordered types, e.g. issue 9043.
unittest
{
static struct A { int a; }
assert(Variant(A(3)) != A(4));
assertThrown!VariantException(Variant(A(3)) < A(4));
assertThrown!VariantException(A(3) < Variant(A(4)));
assertThrown!VariantException(Variant(A(3)) < Variant(A(4)));
}
/**
* Applies a delegate or function to the given Algebraic depending on the held type,
* ensuring that all types are handled by the visiting functions.
*
* The delegate or function having the currently held value as parameter is called
* with $(D_PARM variant)'s current value. Visiting handlers are passed
* in the template parameter list.
* It is statically ensured that all types of
* $(D_PARAM variant) are handled accross all handlers.
* $(D_PARAM visit) allows delegates and static functions to be passed
* as parameters.
*
* If a function without parameters is specified, this function is called
* when variant doesn't hold a value. Exactly one parameter-less function
* is allowed.
*
* Duplicate overloads matching the same type in one of the visitors are disallowed.
*
* Example:
* -----------------------
* Algebraic!(int, string) variant;
*
* variant = 10;
* assert(variant.visit!((string s) => cast(int)s.length,
* (int i) => i)()
* == 10);
* variant = "string";
* assert(variant.visit!((int i) => return i,
* (string s) => cast(int)s.length)()
* == 6);
*
* // Error function usage
* Algebraic!(int, string) emptyVar;
* assert(variant.visit!((string s) => cast(int)s.length,
* (int i) => i,
* () => -1)()
* == -1);
* ----------------------
* Returns: The return type of visit is deduced from the visiting functions and must be
* the same accross all overloads.
* Throws: If no parameter-less, error function is specified:
* $(D_PARAM VariantException) if $(D_PARAM variant) doesn't hold a value.
*/
template visit(Handler ...)
if (Handler.length > 0)
{
auto visit(VariantType)(VariantType variant)
if (isAlgebraic!VariantType)
{
return visitImpl!(true, VariantType, Handler)(variant);
}
}
unittest
{
Algebraic!(size_t, string) variant;
// not all handled check
static assert(!__traits(compiles, variant.visit!((size_t i){ })() ));
variant = cast(size_t)10;
auto which = 0;
variant.visit!( (string s) => which = 1,
(size_t i) => which = 0
)();
// integer overload was called
assert(which == 0);
// mustn't compile as generic Variant not supported
Variant v;
static assert(!__traits(compiles, v.visit!((string s) => which = 1,
(size_t i) => which = 0
)()
));
static size_t func(string s) {
return s.length;
}
variant = "test";
assert( 4 == variant.visit!(func,
(size_t i) => i
)());
Algebraic!(int, float, string) variant2 = 5.0f;
// Shouldn' t compile as float not handled by visitor.
static assert(!__traits(compiles, variant2.visit!(
(int) {},
(string) {})()));
Algebraic!(size_t, string, float) variant3;
variant3 = 10.0f;
auto floatVisited = false;
assert(variant3.visit!(
(float f) { floatVisited = true; return cast(size_t)f; },
func,
(size_t i) { return i; }
)() == 10);
assert(floatVisited == true);
Algebraic!(float, string) variant4;
assert(variant4.visit!(func, (float f) => cast(size_t)f, () => size_t.max)() == size_t.max);
// double error func check
static assert(!__traits(compiles,
visit!(() => size_t.max, func, (float f) => cast(size_t)f, () => size_t.max)(variant4))
);
}
/**
* Behaves as $(D_PARAM visit) but doesn't enforce that all types are handled
* by the visiting functions.
*
* If a parameter-less function is specified it is called when
* either $(D_PARAM variant) doesn't hold a value or holds a type
* which isn't handled by the visiting functions.
*
* Example:
* -----------------------
* Algebraic!(int, string) variant;
*
* variant = 10;
* auto which = -1;
* variant.tryVisit!((int i) { which = 0; })();
* assert(which = 0);
*
* // Error function usage
* variant = "test";
* variant.tryVisit!((int i) { which = 0; },
* () { which = -100; })();
* assert(which == -100);
* ----------------------
*
* Returns: The return type of tryVisit is deduced from the visiting functions and must be
* the same accross all overloads.
* Throws: If no parameter-less, error function is specified: $(D_PARAM VariantException) if
* $(D_PARAM variant) doesn't hold a value or
* if $(D_PARAM variant) holds a value which isn't handled by the visiting
* functions.
*/
template tryVisit(Handler ...)
if (Handler.length > 0)
{
auto tryVisit(VariantType)(VariantType variant)
if (isAlgebraic!VariantType)
{
return visitImpl!(false, VariantType, Handler)(variant);
}
}
unittest
{
Algebraic!(int, string) variant;
variant = 10;
auto which = -1;
variant.tryVisit!((int i){ which = 0; })();
assert(which == 0);
variant = "test";
assertThrown!VariantException(variant.tryVisit!((int i) { which = 0; })());
void errorfunc()
{
which = -1;
}
variant.tryVisit!((int i) { which = 0; }, errorfunc)();
assert(which == -1);
}
private template isAlgebraic(Type)
{
static if (is(Type _ == VariantN!T, T...))
enum isAlgebraic = T.length >= 2; // T[0] == maxDataSize, T[1..$] == AllowedTypesX
else
enum isAlgebraic = false;
}
unittest
{
static assert(!isAlgebraic!(Variant));
static assert( isAlgebraic!(Algebraic!(string)));
static assert( isAlgebraic!(Algebraic!(int, int[])));
}
private auto visitImpl(bool Strict, VariantType, Handler...)(VariantType variant)
if (isAlgebraic!VariantType && Handler.length > 0)
{
alias VariantType.AllowedTypes AllowedTypes;
/**
* Returns: Struct where $(D_PARAM indices) is an array which
* contains at the n-th position the index in Handler which takes the
* n-th type of AllowedTypes. If an Handler doesn't match an
* AllowedType, -1 is set. If a function in the delegates doesn't
* have parameters, the field $(D_PARAM exceptionFuncIdx) is set;
* otherwise it's -1.
*/
auto visitGetOverloadMap()
{
struct Result {
int[AllowedTypes.length] indices;
int exceptionFuncIdx = -1;
}
Result result;
foreach(tidx, T; AllowedTypes)
{
bool added = false;
foreach(dgidx, dg; Handler)
{
// Handle normal function objects
static if (isSomeFunction!dg)
{
alias ParameterTypeTuple!dg Params;
static if (Params.length == 0)
{
// Just check exception functions in the first
// inner iteration (over delegates)
if (tidx > 0)
continue;
else
{
if (result.exceptionFuncIdx != -1)
assert(false, "duplicate parameter-less (error-)function specified");
result.exceptionFuncIdx = dgidx;
}
}
else if (is(Unqual!(Params[0]) == T))
{
if (added)
assert(false, "duplicate overload specified for type '" ~ T.stringof ~ "'");
added = true;
result.indices[tidx] = dgidx;
}
}
// Handle composite visitors with opCall overloads
else
{
static assert(false, dg.stringof ~ " is not a function or delegate");
}
}
if (!added)
result.indices[tidx] = -1;
}
return result;
}
enum HandlerOverloadMap = visitGetOverloadMap();
if (!variant.hasValue)
{
// Call the exception function. The HandlerOverloadMap
// will have its exceptionFuncIdx field set to value != -1 if an
// exception function has been specified; otherwise we just through an exception.
static if (HandlerOverloadMap.exceptionFuncIdx != -1)
return Handler[ HandlerOverloadMap.exceptionFuncIdx ]();
else
throw new VariantException("variant must hold a value before being visited.");
}
foreach(idx, T; AllowedTypes)
{
if (T* ptr = variant.peek!T)
{
enum dgIdx = HandlerOverloadMap.indices[idx];
static if (dgIdx == -1)
{
static if (Strict)
static assert(false, "overload for type '" ~ T.stringof ~ "' hasn't been specified");
else
{
static if (HandlerOverloadMap.exceptionFuncIdx != -1)
return Handler[ HandlerOverloadMap.exceptionFuncIdx ]();
else
throw new VariantException("variant holds value of type '" ~ T.stringof ~ "' but no visitor has been provided");
}
}
else
{
return Handler[ dgIdx ](*ptr);
}
}
}
assert(false);
}
unittest
{
// http://d.puremagic.com/issues/show_bug.cgi?id=5310
const Variant a;
assert(a == a);
Variant b;
assert(a == b);
assert(b == a);
}
|
D
|
module contract.aggregates;
import contract;
// mixin Contract!(TestName("struct.onefield.int"), contract_onefield_int);
// @ContractFunction(CodeURL("it.c.compile.struct_", "onefield.int"))
auto contract_onefield_int(TestMode mode, CursorType)(auto ref CursorType tu) {
tu.kind.expect == Cursor.Kind.TranslationUnit;
tu.children.expectLength == 1;
auto struct_ = tu.child(0);
struct_.isDefinition.expect == true;
struct_.expectEqual(Cursor.Kind.StructDecl, "Foo");
struct_.type.expectEqual(Type.Kind.Record, "struct Foo");
printChildren(struct_);
struct_.children.expectLength == 1;
auto member = struct_.child(0);
member.expectEqual(Cursor.Kind.FieldDecl,"i");
member.type.expectEqual(Type.Kind.Int, "int");
static if(is(CursorType == MockCursor)) return tu;
}
// mixin Contract!(TestName("struct.nested.c"), contract_nested);
// @ContractFunction(CodeURL("it.c.compile.struct_", "nested"))
auto contract_nested(TestMode mode, CursorType)(auto ref CursorType tu) {
tu.kind.expect == Cursor.Kind.TranslationUnit;
tu.children.expectLength == 1;
auto outer = tu.child(0);
outer.isDefinition.expect == true;
outer.kind.expect == Cursor.Kind.StructDecl;
outer.spelling.expect == "Outer";
outer.type.kind.expect == Type.Kind.Record;
outer.type.spelling.expect == "struct Outer";
printChildren(outer);
outer.children.expectLength == 3;
auto integer = outer.child(0);
integer.kind.expect == Cursor.Kind.FieldDecl;
integer.spelling.expect == "integer";
integer.type.kind.expect == Type.Kind.Int;
integer.type.spelling.expect == "int";
auto innerStruct = outer.child(1);
innerStruct.kind.expect == Cursor.Kind.StructDecl;
innerStruct.spelling.expect == "Inner";
innerStruct.type.expectEqual(Type.Kind.Record, "struct Inner");
innerStruct.type.canonical.expectEqual(Type.Kind.Record, "struct Inner");
printChildren(innerStruct);
innerStruct.children.expectLength == 1; // the `x` field
auto xfield = innerStruct.child(0);
xfield.kind.expect == Cursor.Kind.FieldDecl;
xfield.spelling.expect == "x";
xfield.type.kind.expect == Type.Kind.Int;
auto innerField = outer.child(2);
innerField.kind.expect == Cursor.Kind.FieldDecl;
innerField.spelling.expect == "inner";
printChildren(innerField);
innerField.children.expectLength == 1; // the Inner StructDecl
innerField.type.expectEqual(Type.Kind.Elaborated, "struct Inner");
innerField.type.canonical.expectEqual(Type.Kind.Record, "struct Inner");
auto innerFieldChild = innerField.child(0);
innerFieldChild.expect == innerStruct;
static if(is(CursorType == MockCursor)) return tu;
}
// Slightly different from the C version
@Tags("cpp")
@("struct.nested.cpp")
@safe unittest {
const tu = parse(
Cpp(
q{
struct Outer {
int integer;
struct Inner {
int x;
} inner;
};
}
)
);
const outer = tu.children[0];
printChildren(outer);
outer.children.length.should == 3;
const integer = outer.children[0];
integer.kind.should == Cursor.Kind.FieldDecl;
integer.spelling.should == "integer";
integer.type.kind.should == Type.Kind.Int;
integer.type.spelling.should == "int";
const innerStruct = outer.children[1];
innerStruct.kind.should == Cursor.Kind.StructDecl;
innerStruct.spelling.should == "Inner";
printChildren(innerStruct);
innerStruct.children.length.should == 1; // the `x` field
innerStruct.type.kind.should == Type.Kind.Record;
innerStruct.type.spelling.should == "Outer::Inner";
innerStruct.type.canonical.kind.should == Type.Kind.Record;
innerStruct.type.canonical.spelling.should == "Outer::Inner";
const xfield = innerStruct.children[0];
xfield.kind.should == Cursor.Kind.FieldDecl;
xfield.spelling.should == "x";
xfield.type.kind.should == Type.Kind.Int;
const innerField = outer.children[2];
innerField.kind.should == Cursor.Kind.FieldDecl;
innerField.spelling.should == "inner";
printChildren(innerField);
innerField.children.length.should == 1; // the Inner StructDecl
innerField.type.kind.should == Type.Kind.Elaborated;
innerField.type.spelling.should == "struct Inner";
innerField.type.canonical.kind.should == Type.Kind.Record;
innerField.type.canonical.spelling.should == "Outer::Inner";
innerField.children[0].should == innerStruct;
}
// mixin Contract!(TestName("struct.typedef.name"), contract_typedef_name);
// @ContractFunction(CodeURL("it.c.compile.struct_", "typedef.name"))
auto contract_typedef_name(TestMode mode, CursorType)(auto ref CursorType tu) {
tu.kind.expect == Cursor.Kind.TranslationUnit;
tu.children.expectLength == 2;
auto struct_ = tu.child(0);
struct_.isDefinition.expect == true;
struct_.kind.expect == Cursor.Kind.StructDecl;
struct_.spelling.expect == "TypeDefd_";
struct_.type.kind.expect == Type.Kind.Record;
struct_.type.spelling.expect == "struct TypeDefd_";
auto typedef_ = tu.child(1);
typedef_.isDefinition.expect == true;
typedef_.kind.expect == Cursor.Kind.TypedefDecl;
typedef_.spelling.expect == "TypeDefd";
typedef_.type.kind.expect == Type.Kind.Typedef;
typedef_.type.spelling.expect == "TypeDefd";
typedef_.underlyingType.kind.expect == Type.Kind.Elaborated;
typedef_.underlyingType.spelling.expect == "struct TypeDefd_";
typedef_.underlyingType.canonical.kind.expect == Type.Kind.Record;
typedef_.underlyingType.canonical.spelling.expect == "struct TypeDefd_";
printChildren(typedef_);
typedef_.children.expectLength == 1;
typedef_.children[0].expect == struct_;
static if(is(CursorType == MockCursor)) return tu;
}
// mixin Contract!(TestName("struct.typedef.anon"), contract_typedef_anon);
// @ContractFunction(CodeURL("it.c.compile.struct_", "typedef.anon"))
auto contract_typedef_anon(TestMode mode, CursorType)(auto ref CursorType tu) {
tu.kind.expect == Cursor.Kind.TranslationUnit;
tu.children.expectLength == 4;
{
auto struct1 = tu.child(0);
struct1.isDefinition.expect == true;
struct1.kind.expect == Cursor.Kind.StructDecl;
struct1.spelling.expect == "";
struct1.type.kind.expect == Type.Kind.Record;
// the cursor has no spelling but the type does
struct1.type.spelling.expect == "Nameless1";
struct1.children.expectLength == 3;
struct1.child(0).kind.expect == Cursor.Kind.FieldDecl;
struct1.child(0).spelling.expect == "x";
struct1.child(0).type.kind.expect == Type.Kind.Int;
struct1.child(1).kind.expect == Cursor.Kind.FieldDecl;
struct1.child(1).spelling.expect == "y";
struct1.child(1).type.kind.expect == Type.Kind.Int;
struct1.child(2).kind.expect == Cursor.Kind.FieldDecl;
struct1.child(2).spelling.expect == "z";
struct1.child(2).type.kind.expect == Type.Kind.Int;
auto typedef1 = tu.child(1);
typedef1.isDefinition.expect == true;
typedef1.kind.expect == Cursor.Kind.TypedefDecl;
typedef1.spelling.expect == "Nameless1";
typedef1.type.kind.expect == Type.Kind.Typedef;
typedef1.type.spelling.expect == "Nameless1";
typedef1.underlyingType.kind.expect == Type.Kind.Elaborated;
typedef1.underlyingType.spelling.expect == "struct Nameless1";
typedef1.underlyingType.canonical.kind.expect == Type.Kind.Record;
typedef1.underlyingType.canonical.spelling.expect == "Nameless1";
printChildren(typedef1);
typedef1.children.expectLength == 1;
typedef1.children[0].expect == struct1;
}
{
auto struct2 = tu.child(2);
struct2.isDefinition.expect == true;
struct2.kind.expect == Cursor.Kind.StructDecl;
struct2.spelling.expect == "";
struct2.type.kind.expect == Type.Kind.Record;
struct2.type.spelling.expect == "Nameless2";
struct2.children.expectLength == 1;
struct2.child(0).kind.expect == Cursor.Kind.FieldDecl;
struct2.child(0).spelling.expect == "d";
struct2.child(0).type.kind.expect == Type.Kind.Double;
auto typedef2 = tu.child(3);
typedef2.isDefinition.expect == true;
typedef2.kind.expect == Cursor.Kind.TypedefDecl;
typedef2.spelling.expect == "Nameless2";
typedef2.type.kind.expect == Type.Kind.Typedef;
typedef2.type.spelling.expect == "Nameless2";
typedef2.underlyingType.kind.expect == Type.Kind.Elaborated;
typedef2.underlyingType.spelling.expect == "struct Nameless2";
typedef2.underlyingType.canonical.kind.expect == Type.Kind.Record;
typedef2.underlyingType.canonical.spelling.expect == "Nameless2";
printChildren(typedef2);
typedef2.children.expectLength == 1;
typedef2.children[0].expect == struct2;
}
static if(is(CursorType == MockCursor)) return tu;
}
// mixin Contract!(TestName("struct.typedef.before"), contract_typedef_before);
// @ContractFunction(CodeURL("it.c.compile.struct_", "typedef.before"))
auto contract_typedef_before(TestMode mode, CursorType)(auto ref CursorType tu) {
tu.kind.expect == Cursor.Kind.TranslationUnit;
tu.children.expectLength == 3;
// first, a struct declaration with no definition
auto struct1 = tu.child(0);
struct1.isDefinition.expect == false;
struct1.kind.expect == Cursor.Kind.StructDecl;
struct1.spelling.expect == "A";
struct1.type.kind.expect == Type.Kind.Record;
struct1.type.spelling.expect == "struct A";
// forward declaration has no children
struct1.children.expectLength == 0;
auto typedef_ = tu.child(1);
typedef_.isDefinition.expect == true;
typedef_.kind.expect == Cursor.Kind.TypedefDecl;
typedef_.spelling.expect == "B";
typedef_.type.kind.expect == Type.Kind.Typedef;
typedef_.type.spelling.expect == "B";
typedef_.underlyingType.kind.expect == Type.Kind.Elaborated;
typedef_.underlyingType.spelling.expect == "struct A";
typedef_.underlyingType.canonical.kind.expect == Type.Kind.Record;
typedef_.underlyingType.canonical.spelling.expect == "struct A";
// then, a struct declaration that is a definition
auto struct2 = tu.child(2);
struct2.isDefinition.expect == true;
struct2.kind.expect == Cursor.Kind.StructDecl;
struct2.spelling.expect == "A";
struct2.type.kind.expect == Type.Kind.Record;
struct2.type.spelling.expect == "struct A";
// definition has the child
struct2.children.expectLength == 1;
auto child = struct2.child(0);
child.kind.expect == Cursor.Kind.FieldDecl;
child.spelling.expect == "a";
child.type.kind.expect == Type.Kind.Int;
child.type.spelling.expect == "int";
static if(is(CursorType == MockCursor)) return tu;
}
// TODO: multiple declarations test
@("struct.typedef.normal")
@safe unittest {
const tu = parse(
C(
q{
typedef struct {
int i;
} Struct;
}
)
);
tu.children.length.should == 2;
const structDecl = tu.children[0];
structDecl.shouldMatch(Cursor.Kind.StructDecl, "");
structDecl.type.shouldMatch(Type.Kind.Record, "Struct");
printChildren(structDecl);
structDecl.children.length.should == 1;
structDecl.children[0].shouldMatch(Cursor.Kind.FieldDecl, "i");
structDecl.children[0].type.shouldMatch(Type.Kind.Int, "int");
const typedef_ = tu.children[1];
typedef_.shouldMatch(Cursor.Kind.TypedefDecl, "Struct");
typedef_.type.shouldMatch(Type.Kind.Typedef, "Struct");
printChildren(typedef_);
typedef_.children.length.should == 1;
typedef_.children[0].shouldMatch(Cursor.Kind.StructDecl, "");
typedef_.children[0].type.shouldMatch(Type.Kind.Record, "Struct");
}
@Tags("cpp")
@("struct.typedef.ptr")
@safe unittest {
const tu = parse(
C(
q{
typedef struct {
int i;
} *Struct;
}
)
);
tu.children.length.should == 2;
const structDecl = tu.children[0];
structDecl.shouldMatch(Cursor.Kind.StructDecl, "");
structDecl.type.kind.should == Type.Kind.Record;
try
"anonymous at".should.be in structDecl.type.spelling;
catch (Exception _)
"unnamed at".should.be in structDecl.type.spelling;
printChildren(structDecl);
structDecl.children.length.should == 1;
structDecl.children[0].shouldMatch(Cursor.Kind.FieldDecl, "i");
structDecl.children[0].type.shouldMatch(Type.Kind.Int, "int");
const typedef_ = tu.children[1];
typedef_.shouldMatch(Cursor.Kind.TypedefDecl, "Struct");
typedef_.type.shouldMatch(Type.Kind.Typedef, "Struct");
}
|
D
|
module leptonica.pix;
alias uint l_uint32;
alias int l_int32;
alias Pix PIX;
struct Pix
{
l_uint32 w; /* width in pixels */
l_uint32 h; /* height in pixels */
l_uint32 d; /* depth in bits */
l_uint32 wpl; /* 32-bit words/line */
l_uint32 refcount; /* reference count (1 if no clones) */
l_int32 xres; /* image res (ppi) in x direction */
/* (use 0 if unknown) */
l_int32 yres; /* image res (ppi) in y direction */
/* (use 0 if unknown) */
l_int32 informat; /* input file format, IFF_* */
char *text; /* text string associated with pix */
PixColormap *colormap; /* colormap (may be null) */
l_uint32 *data; /* the image data */
}
alias PixColormap PIXCMAP;
struct PixColormap
{
void *array; /* colormap table (array of RGBA_QUAD) */
l_int32 depth; /* of pix (1, 2, 4 or 8 bpp) */
l_int32 nalloc; /* number of color entries allocated */
l_int32 n; /* number of color entries used */
}
extern(C):
PIX * pixConvert1To32 ( PIX *pixd, PIX *pixs, l_uint32 val0, l_uint32 val1 );
|
D
|
/home/syed/Desktop/rust_web_scrap/target/debug/build/native-tls-3ca85ed2cf7b4c2f/build_script_build-3ca85ed2cf7b4c2f: /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/native-tls-0.2.4/build.rs
/home/syed/Desktop/rust_web_scrap/target/debug/build/native-tls-3ca85ed2cf7b4c2f/build_script_build-3ca85ed2cf7b4c2f.d: /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/native-tls-0.2.4/build.rs
/home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/native-tls-0.2.4/build.rs:
|
D
|
// PERMUTE_ARGS:
// EXTRA_SOURCES: /extra-files/ddoc9676a.ddoc
// REQUIRED_ARGS: -D -Ddtest_results/compilable -o-
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 9676a
module ddoc9676a;
///
deprecated void foo() {}
|
D
|
<?xml version="1.0" encoding="ASCII" standalone="no"?>
<di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0">
<pageList>
<availablePage>
<emfPageIdentifier href="VAR_9_MobileMedia-1163246615.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder">
<children>
<emfPageIdentifier href="VAR_9_MobileMedia-1163246615.notation#_copSALmGEeKQQp7P9cQvNQ"/>
</children>
</children>
</windows>
</sashModel>
</di:SashWindowsMngr>
|
D
|
/Users/thendral/POC/vapor/Friends/.build/debug/Jay.build/Error.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ValueParser.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/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
/Users/thendral/POC/vapor/Friends/.build/debug/Jay.build/Error~partial.swiftmodule : /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ValueParser.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/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
/Users/thendral/POC/vapor/Friends/.build/debug/Jay.build/Error~partial.swiftdoc : /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ValueParser.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/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
|
D
|
// REQUIRED_ARGS: -preview=fixAliasThis
// https://issues.dlang.org/show_bug.cgi?id=16086
struct A
{
void tail() {}
}
struct S16086
{
struct Inner2
{
Inner a;
alias a this;
}
struct Inner
{
int unique_identifier_name;
int tail = 2;
}
Inner2 inner;
alias inner this;
auto works()
{
return unique_identifier_name;
}
auto fails()
{
int a = tail;
return tail; // Line 22
// The workaround: return this.tail;
}
}
// https://issues.dlang.org/show_bug.cgi?id=16082
struct S16082
{
struct Inner
{
int any_name_but_modulename;
int aliasthis = 5;
}
Inner inner;
alias inner this;
auto works()
{
return any_name_but_modulename;
}
auto fails()
{
return aliasthis; // Line 20
}
}
|
D
|
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Core.build/Reflectable.swift.o : /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Base64URL.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/NestedData.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Thread+Async.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Deprecated.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/NotFound.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecodable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/Decodable+Reflectable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Reflectable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/LosslessDataConvertible.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/File.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/MediaType.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/OptionalType.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Process+Execute.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/HeaderValue.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/DirectoryConfig.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CaseInsensitiveString.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Future+Unwrap.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/FutureEncoder.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CoreError.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/String+Utilities.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/DataCoders.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecoders.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Exports.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Hex.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/BasicKey.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/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/work/Projects/Hello/.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/work/Projects/Hello/.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/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/work/Projects/Hello/.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/work/Projects/Hello/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Core.build/Reflectable~partial.swiftmodule : /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Base64URL.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/NestedData.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Thread+Async.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Deprecated.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/NotFound.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecodable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/Decodable+Reflectable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Reflectable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/LosslessDataConvertible.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/File.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/MediaType.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/OptionalType.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Process+Execute.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/HeaderValue.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/DirectoryConfig.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CaseInsensitiveString.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Future+Unwrap.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/FutureEncoder.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CoreError.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/String+Utilities.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/DataCoders.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecoders.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Exports.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Hex.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/BasicKey.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/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/work/Projects/Hello/.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/work/Projects/Hello/.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/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/work/Projects/Hello/.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/work/Projects/Hello/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Core.build/Reflectable~partial.swiftdoc : /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Base64URL.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/NestedData.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Thread+Async.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Deprecated.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/NotFound.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecodable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/Decodable+Reflectable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Reflectable.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/LosslessDataConvertible.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/File.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/MediaType.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/OptionalType.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Process+Execute.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/HeaderValue.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/DirectoryConfig.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CaseInsensitiveString.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Future+Unwrap.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/FutureEncoder.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CoreError.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/String+Utilities.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/DataCoders.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/CodableReflection/ReflectionDecoders.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Exports.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/Data+Hex.swift /Users/work/Projects/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/BasicKey.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/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/work/Projects/Hello/.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/work/Projects/Hello/.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/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/work/Projects/Hello/.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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/cpp_magic.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIODarwin/include/c_nio_darwin.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOAtomics/include/c-atomics.h /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/CNIOLinux/include/c_nio_linux.h /Users/work/Projects/Hello/.build/checkouts/swift-nio-zlib-support.git--1071467962839356487/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
|
D
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.