code
stringlengths
3
10M
language
stringclasses
31 values
//T compiles:yes //T lexer:yes //T parser:yes //T semantic:yes //T retval:6 //T Various cases for comments. int main() { // return 21; // // return 31; string a = /+ "+/" +/ 1"; string c = /* "*/" */ 1"; int d = 1 + /* 2 */ + /+ 3 +/ // 4 + 5; /* return 2...
D
module game.entity.physics; import game.entity.entity, game.transform, game.physics.bulletPhysics; void setPos(Entity!() ent, float[3] pos){ synchronized(ent){ ent.get!Transform.position = pos; ent.get!BulletPhysics.object.setPos(pos); } }
D
/Users/MohamedNawar/Desktop/weatherTask/build/WeatherTask.build/Debug-iphonesimulator/WeatherTask.build/Objects-normal/x86_64/WeatherDataModel.o : /Users/MohamedNawar/Desktop/weatherTask/WeatherTask/Network/NetworkingInterface.swift /Users/MohamedNawar/Desktop/weatherTask/WeatherTask/Resources/AppDelegate&SceneDelegate...
D
module kernel.filesystem.ramfs; import kernel.system.info; import kernel.core.error; import kernel.mem.heap; import kernel.core.kprintf; import kernel.environ.info; import kernel.environ.scheduler; import architecture.vm; import kernel.mem.giballocator; import kernel.mem.gib; // The beef of the logic involves thi...
D
module soup.ContentSniffer; private import glib.ConstructionException; private import glib.HashTable; private import glib.Str; private import gobject.ObjectG; private import soup.Buffer; private import soup.Message; private import soup.SessionFeatureIF; private import soup.SessionFeatureT; private import soup.c.functi...
D
module UnrealScript.Engine.NxTornadoAngularForceField; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.NxForceField; extern(C++) interface NxTornadoAngularForceField : NxForceField { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static S...
D
// Copyright 2018 - 2022 Michael D. Parker // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) module bindbc.sdl.bind.sdlrender; import bindbc.sdl.config; import bindbc.sdl.bind.sdlblendmode :...
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distribut...
D
module dunit.assertion; import dunit.diff; import core.thread; import core.time; import std.algorithm; import std.array; import std.conv; import std.range; import std.string; import std.traits; import std.exception; version (unittest) { import std.stdio; } /** * Thrown on an assertion failure. */ class Assert...
D
module draw.object.point; public import draw.object.base; import des.util.logsys; import std.file; abstract class BasePoint : BaseDrawObject { protected: GLBuffer data; public: this( SpaceNode p ) { super( p, readShader( "depthpoint.glsl" ) ); clr = col4( 0,1,0,1 ); warn_if_empty ...
D
import std.algorithm; import std.array; import std.conv; import std.stdio; Coord boundary; struct Coord { int x; int y; Coord move(const Coord movement) const { return Coord(x + movement.x, y + movement.y); } bool isOpposite(const Coord other) const { return x == -other.x ...
D
/** Compiler settings and abstraction. Copyright: © 2013 rejectedsoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module dub.compilers.compiler; import dub.compilers.dmd; import dub.compilers.gdc; import dub.compilers.ldc; import...
D
// URL: https://atcoder.jp/contests/abc045/tasks/arc061_a import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string; import std.regex; auto rdsp(){return readln.splitter;} void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;} void pickV(R,T...)(ref R r,ref T t){fore...
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module SysMets1; import core.runtime; import std.algorithm : max, min; import std.string; import std.conv; import std.utf : count, toUTFz; auto toUTF16z(S)(S s) { return toUTFz!(const(wchar)*)(s); } ...
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distributed in th...
D
/** Convenience wrappers types for accessing Redis keys. Note that the API is still subject to change! Copyright: © 2014 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.db.redis.types; import vibe.db.redis....
D
/Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.o : /Users/hanykaram/Desktop/MVC/Pods/Alamofire/Source/MultipartFormData.swift /Users/hanykaram/Desktop/MVC/Pods/Alamofire/Source/Timeline.swift /Users/hanykaram/Desk...
D
simm.cmi : \ asm.cmi
D
# FIXED ICallBLE/ICallBleAPI.obj: D:/khalesi/sadeghi/Texas/dev.ti/ble_cc26xx_2_01_00_44423_cloud__win/simplelink/ble_cc26xx_2_01_00_44423_cloud/Projects/ble/ICall/Application/ICallBleAPI.c ICallBLE/ICallBleAPI.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/string.h ICallBLE/ICallBleAPI.obj: C:/ti/ccsv6/to...
D
module Stream; extern(C++): class CStream { bool Write(T)(T v){ return false; } bool Read(T)(T v){ return false; } }
D
import std.stdio; void func(int i) { typeof(i) j; // j is of type int typeof(3 + 6.0) x; // x is of type double typeof(1)* p; // p is of type pointer to int int[typeof(p)] a; // a is of type int[int*] writefln("%d", typeof('c').sizeof); // prints 1 double c = cast(typeof(1.0))j; /...
D
module data.plane; import data.vec3r : Vec3r; import utils.formattedexception : FormattedException; struct Plane { Vec3r[3] points; this(Vec3r[] srcPts) { this.points[] = srcPts[0..3]; } this(string str) { this = parse(str); } static Plane parse(string str) { import std.algorithm : splitter; i...
D
module artemisd.entitymanager; import std.bitmanip; import artemisd.utils.bag; import artemisd.entity; import artemisd.manager; import artemisd.world; import artemisd.utils.type; class EntityManager : Manager { mixin TypeDecl; private: Bag!Entity entities; BitArray disabled_; int active; lo...
D
/Users/marvinevins/Library/Autosave\ Information/swagShop/DerivedData/swagShop/Build/Intermediates.noindex/swagShop.build/Debug-iphonesimulator/swagShop.build/Objects-normal/x86_64/CategoryCellTableViewCell.o : /Users/marvinevins/Library/Autosave\ Information/swagShop/swagShop/AppDelegate.swift /Users/marvinevins/Libra...
D
/** Test entities inside DefUnit containters **/ int dummy = f1+f2+f3t+f3f+f4+f5+f6; /*** CONDITIONALS ***/ version = Yes; version(Yes) { int f1; } debug = Yes; debug(Yes) { int f2; } static if(true) { int f3t; } else { int f3f; } /*** OTHER (ANONYMOUS DEFUNITS) ***/ enum { f4, f5 } template Tpl() { int ...
D
module admin.post; import vibe.vibe; @path("/tchoutchou") class AdminPost { @path("/") void index() { render!"admin/post.dt"; } @path("/blah") void test() { render!"admin/post.dt"; } }
D
/Users/Liki/Documents/Programmation/Swift/Kilobits_iOS/build/Kilobits_iOS.build/Debug-iphoneos/Kilobits_iOS.build/Objects-normal/armv7/DateExtension.o : /Users/Liki/Documents/Programmation/Swift/Kilobits_iOS/Kilobits_iOS/Villes.swift /Users/Liki/Documents/Programmation/Swift/Kilobits_iOS/Kilobits_iOS/DateExtension.swif...
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 ...
D
/Users/sukritwalia/Documents/code/rust-book/Chapter 1/hello_cargo/target/rls/debug/deps/hello_cargo-023b35a8ea2c9cf2.rmeta: src/main.rs /Users/sukritwalia/Documents/code/rust-book/Chapter 1/hello_cargo/target/rls/debug/deps/hello_cargo-023b35a8ea2c9cf2.d: src/main.rs src/main.rs:
D
/** * D header file for C99. * * Copyright: Public Domain * License: Public Domain * Authors: Sean Kelly, Walter Bright * Standards: ISO/IEC 9899:1999 (E) */ module core.stdc.stdio; private { import core.stdc.config; import core.stdc.stddef; // for size_t import core.stdc.stdarg; // for va_list ...
D
crypto_util/crypto_util.pp.ml: Affine Arg_type Array Command Core Field Fold Fold_lib Let_syntax List Option Pedersen Snarky String
D
module ui.renderdispatcher; import client; import messagebroker; import rect; import ui.ingamerenderer; import ui.mainmenu; import ui.renderer; import ui.renderhelper; import ui.renderstate; import ui.scenariolistrenderer; import derelict.sdl2.sdl; class RenderDispatcher : Renderer { // Renderer private MainMenu m...
D
/* TEST_OUTPUT: --- fail_compilation/fail112.d(11): Error: functions cannot return a function --- */ void func(int a) { } //typedef int ft(int); typeof(func) test() { }
D
func void B_SetVisuals_Draconian01(var C_NPC EchsiTexi) { Mdl_SetVisual (EchsiTexi, "Draconian.mds"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (EchsiTexi, "Draconian_Body_01", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, -1); }; func void B_SetVisuals_Draconian...
D
/Users/rathana/Desktop/24.06.2019/VSMS-usah/VSMS-Develope-Developer/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AFError.o : /Users/rathana/Desktop/24.06.2019/VSMS-usah/VSMS-Develope-Developer/Pods/Alamofire/Source/MultipartFormData.swift /Users/rathana/Desktop/24.06.2019/VSMS-usah/VSMS-...
D
/+dub.sdl: name "disk" dependency "psutil" path="../" +/ import std.stdio; import psutil.disk.partitions; void main() { foreach (i, part; partitions()) { writefln("partition %d", i); writefln(" device: %s", part.device); writefln(" mountpoint: %s", part.mountpoint); writefln(...
D
// Written in the D programming language. /** This module implements a $(WEB erdani.org/publications/cuj-04-2002.html,discriminated union) type (a.k.a. $(WEB en.wikipedia.org/wiki/Tagged_union,tagged union), $(WEB en.wikipedia.org/wiki/Algebraic_data_type,algebraic type)). Such types are useful for type-uniform binary...
D
/Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Fluent.build/Migration/AnyMigration.swift.o : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ID.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/fluent.git-6251908308727715749/Sourc...
D
// PERMUTE_ARGS: // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- // TEST_OUTPUT_FILE: extra-files/ddoc_markdown_lists.html // OUTPUT_FILES: ${RESULTS_DIR}/compilable/ddoc_markdown_lists.html /++ # Lists ## Unordered - item one *part of* item one --- // code in item one --- **not** part of item one ...
D
/******************************************************************//** * \file src/web/httphandler.d * \brief HTTP handler to handle HTTP requests * * <i>Copyright (c) 2012</i> Danny Arends<br> * Last modified Feb, 2012<br> * First written Jun, 2011<br> * Written in the D Programming Language (http://www.digita...
D
// PERMUTE_ARGS: extern(C) int printf(const char*, ...); int main(char[][] args) { printf("hello world\n"); printf("args.length = %zd\n", args.length); for (int i = 0; i < args.length; i++) printf("args[%d] = '%.*s'\n", i, cast(int)args[i].length, args[i].ptr); return 0; }
D
/// Note: this module is not completly tested! /// Use with special care, results might be wrong. module kgl3n.frustum; import kgl3n.vector; import kgl3n.matrix; import kgl3n.math : abs; import kgl3n.aabb : AABB; import kgl3n.plane : Plane; /// struct Frustum { enum { LEFT, /// Used to access the planes...
D
a surgical operation that creates an opening into the trachea with a tube inserted to provide a passage for air
D
/* TEST_OUTPUT: --- fail_compilation/e7804_1.d(10): Error: trait `farfelu` is either invalid or not supported as type fail_compilation/e7804_1.d(11): Error: trait `farfelu` is either invalid or not supported in alias --- */ module e7804_1; __traits(farfelu, Aggr, "member") a; alias foo = __traits(farfelu, Aggr, "membe...
D
module android.java.javax.net.ssl.SSLContextSpi_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; final class SSLContextSpi : IJavaObject { static i...
D
module io.protocol.Reader; private import io.Buffer; public import io.model; public import io.protocol.model; class Читатель : ИЧитатель { this (ИПотокВвода поток); this (ИПротокол протокол); this (ИРазместитель разместитель); final ИБуфер буфер (); final ИРазместитель размес...
D
module shader; import std.stdio; import std.file; import gl; private Shader activeShader; private Shader[string] loadedShaders; Shader GetActiveShader(){ return activeShader; } Shader GetShader(string name){ return loadedShaders[name]; } class Shader{ private: GLuint _program = 0; string fname; public: this...
D
module entity.querybuilder.valueexpression; import entity; class QueryBuilderValueExpression : Expression { string key; string value; this(string key , string value) { this.key = key; this.value = value; } override string toString() { return key ~ " = " ~ value ; //return _dialect.openQuote ~ key ~ _d...
D
// Written in the D programming language. /** A one-stop shop for converting values from one type to another. Copyright: Copyright Digital Mars 2007-. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(WEB digitalmars.com, Walter Bright), $(WEB erdani.org, Andrei Alexandrescu), ...
D
/Users/apple/Desktop/iOS/Buddy/build/Buddy.build/Debug-iphonesimulator/Buddy.build/Objects-normal/x86_64/ProfileViewController.o : /Users/apple/Desktop/iOS/Buddy/Buddy/DirectionViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/BuddiesWithHealthGoingTableViewController.swift /Users/apple/Desktop/iOS/Buddy/Buddy/...
D
// A minimal "hello world" Pyd module. module hello; import pyd.pyd; import std.stdio; void hello() { writefln("Hello, world!"); } mixin PydInit!({ def!(hello)(); module_init(); });
D
module saslwrapped; public import saslwrapped.client;
D
/* Digital Mars DMDScript source code. * Copyright (c) 2000-2002 by Chromium Communications * D version Copyright (c) 2004-2010 by Digital Mars * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * written by Walter ...
D
import std.stdio; static import gtk.Builder; static import gtk.Dialog; static import gtk.Button; static import gtk.TreeView; static import gtk.ListStore; static import gtk.ComboBox; class PresentListingDialog { gtk.Builder.Builder builder; gtk.Dialog.Dialog dialog_editor; gtk.ListStore.ListStore style_mo...
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Sean Kelly * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 2005 - 2009. ...
D
/** Command-line options */ module dpp.runtime.options; @safe: version(Windows) enum exeExtension = ".exe"; else enum exeExtension = ""; struct Options { enum usage = "Usage: d++ [options] [D compiler options] <filename.dpp> [D compiler args]"; string[] dppFileNames; int indentation; b...
D
/Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Cartography.build/Objects-normal/x86_64/LayoutSupport.o : /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/Cartography/Cartography/Compound.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/Cartography/Cartography/LayoutGuide...
D
instance DIA_Addon_Telbor_EXIT(C_Info) { npc = STRF_1121_Addon_Telbor; nr = 999; condition = DIA_Addon_Telbor_EXIT_Condition; information = DIA_Addon_Telbor_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Addon_Telbor_EXIT_Condition() { return TRUE; }; func void DIA_Addon_Telbor_EXIT_...
D
/** * Package module for the Cron framework * * Copyright: * Copyright (c) 2018, Maxim Tyapkin. * Authors: * Maxim Tyapkin * License: * This software is licensed under the terms of the MIT license. * The full terms of the license can be found in the LICENSE file. */ module cron; pu...
D
module UnrealScript.Engine.SkelControlSpline; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Core.UObject; import UnrealScript.Engine.SkelControlBase; extern(C++) interface SkelControlSpline : SkelControlBase { public extern(D): private static __gshared ScriptClass mStaticClass; @...
D
module sbin.repr; import std.traits : Unqual; import std.meta : allSatisfy; import sbin.serialize; import sbin.deserialize; struct EmptyReprHandler { enum sbinReprHandler; } template isReprHandler(RH) { enum isReprHandler = is(RH == struct) && __traits(hasMember, RH, "sbinReprHandler"); } unittest { static...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (c) 1999-2016 by Digital Mars, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1...
D
module spasm.rt.memory; pragma(LDC_no_moduleinfo); pragma(LDC_no_typeinfo); import spasm.rt.allocator: Region; import stdx.allocator.building_blocks.null_allocator; private __gshared Region!(NullAllocator) regionAllocator; import ldc.attributes; void alloc_init() { regionAllocator = Region!(NullAllocator)( ...
D
// Written in the D programming language // NOTE: When working on this module, be sure to run tests with -debug=std_socket // E.g.: dmd -version=StdUnittest -debug=std_socket -unittest -main -run socket // This will enable some tests which are too slow or flaky to run as part of CI. /* Copyright (C) 2004-2011...
D
// PERMUTE_ARGS: // EXTRA_FILES: imports/bug8922.d void test() { import renamed = imports.bug8922; enum x = __traits(parent, renamed).stringof; static assert(x == "package imports"); static assert(!__traits(compiles, __traits(parent, imports))); static assert(!__traits(compiles, __traits(parent, bug...
D
/** JSON serialization and value handling. This module provides the Json struct for reading, writing and manipulating JSON values. De(serialization) of arbitrary D types is also supported and is recommended for handling JSON in performance sensitive applications. Copyright: © 2012-2015 RejectedSoftware e.K. Lic...
D
/** * TypeInfo support code. * * Copyright: Copyright Digital Mars 2004 - 2009. * License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Walter Bright */ /* Copyright Digital Mars 2004 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See accompanying...
D
consideration in dealing with others and avoiding giving offense
D
instance PAL_259_Wache (Npc_Default) { // ------ NSC ------ name = NAME_Wache; guild = GIL_PAL; id = 259; voice = 4; flags = 0; npctype = NPCTYPE_OCAMBIENT; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ------ figh...
D
/Users/oyo02699/apps/easycrm/easycrm-api/target/debug/deps/parking_lot_core-9ccee1e4d1c1da88.rmeta: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/parking_lot_core-0.8.2/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/parking_lot_core-0.8.2/src/parking_lot.r...
D
to some (great or small) extent
D
module markov.json.encoder; import markov.chain; import markov.counter; import markov.serialize; import markov.state; import std.algorithm; import std.array; import std.conv; import std.json; import std.stdio; import std.string; struct JsonEncoder(T) { private: bool _pretty; public: this(bool pretty) {...
D
/** * Contains the garbage collector implementation. * * Copyright: Copyright Digital Mars 2001 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Walter Bright, David Friedman, Sean Kelly */ /* Copyright Digital Mars 2001 - 2009. * Distributed under...
D
/home/zzy/Project/os/target/riscv64imac-unknown-none-elf/debug/deps/bare_metal-ef1bf7f07aab8499.rmeta: /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bare-metal-0.2.5/src/lib.rs /home/zzy/Project/os/target/riscv64imac-unknown-none-elf/debug/deps/libbare_metal-ef1bf7f07aab8499.rlib: /home/zzy/.cargo...
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_25_agm-3815151...
D
/** * Contains support code for code profiling. * * Copyright: Copyright Digital Mars 1995 - 2012. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanying file LICENSE) * Authors: Walter Bright, Sean Kelly * Source: $(DRUNTIMESR...
D
/Users/varaprasadp/Desktop/React/Example/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/DefaultFillFormatter.o : /Users/varaprasadp/Desktop/React/Example/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/varaprasadp/Desktop/React/Exampl...
D
module dau.gui.textbox; import std.conv; import dau.gui.element; import dau.gui.data; import dau.geometry.all; import dau.graphics.color; import dau.graphics.font; class TextBox : GUIElement { this(GUIData data) { auto text = data.get("text", ""); this(data, text); } this(T)(GUIData data, T text) { ...
D
// ************************************************** // EXIT // ************************************************** instance DIA_Guy_Exit(C_INFO) { npc = Vlk_530_Guy; nr = 999; condition = DIA_Guy_Exit_Condition; information = DIA_Guy_Exit_Info; permanent = 1; description = DIALOG_ENDE; }; ...
D
private import wireformatlite; private import wireformat; private import message; private import prototype; private import io; ExtensionSet extensionset; class ExtensionIdentifier : WireFormat { this(char[] owner, bool repeat, bool pack, FieldType type, int num, int value) { this.owner = owner; this.is_re...
D
module luhn; unittest { immutable int allTestsEnabled = 0; // Single digit strings can not be valid assert(!valid("1")); static if (allTestsEnabled) { // A single zero is invalid assert(!valid("0")); // A simple valid SIN that remains valid if reversed assert(vali...
D
// Written in the D programming language /++ $(SCRIPT inhibitQuickIndex = 1;) $(BOOKTABLE, $(TR $(TH Category) $(TH Functions)) $(TR $(TD Main date types) $(TD $(LREF Date) $(LREF DateTime) )) $(TR $(TD Other date types) $(TD $(LREF Month) $(LREF DayOfWeek) $(LREF TimeOfDay) )) $(TR $(TD Date check...
D
/// Generate by tools module org.restlet.service.StatusService; import java.lang.exceptions; public class StatusService { public this() { implMissing(); } }
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/SQLite.build/SQL/SQLiteQuery.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/Sources/...
D
/* dstep -I/path/to/ndk-r9d/platforms/android-9/arch-x86/usr/include -I/path/to/ndk-r9d/toolchains/llvm-3.4/prebuilt/linux-x86/lib/clang/3.4/include /path/to/ndk-r9d/sources/android/native_app_glue/android_native_app_glue.h -o android_native_app_glue.d */ module android_native_app_glue; import core.sys.posix.pthread;...
D
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/WebSocket.build/Objects-normal/x86_64/WebSocket+Client.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/websocket.git--8741808337319971594/Sources/WebSocket/WebSocketFrameSequence.swift /Users/phungdu/Documents/code/vapor/T...
D
module d.gc.chunk; import d.gc.spec; struct PageDescriptor { /** * This is similar but not identical to what jemalloc does. * Visit: http://www.canonware.com/jemalloc/ to know more. * * Run address (or size) and various flags are stored together. The bit * layout looks like: * * ???????? ???????? ??...
D
/Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartHighlighter.o : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift...
D
/** * This code handles decoding UTF strings for foreach_reverse loops. There are * 6 combinations of conversions between char, wchar, and dchar, and 2 of each * of those. * * Copyright: Copyright Digital Mars 2004 - 2010. * License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Walter...
D
import std.stdio; void main(){ string func = __FUNCTION__; }
D
/** Fundamental operations for arbitrary-precision arithmetic * * These functions are for internal use only. */ /* Copyright Don Clugston 2008 - 2010. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENS...
D
import d_etpan; import std.stdio; import std.string; import std.file; import core.stdc.time; //import std.c.linux.linux; enum DEST_CHARSET="iso-8859-1"; enum NULL=cast(void*)0; /* build sample fields */ mailimf_fields *build_fields() { mailimf_mailbox_list * from; mailimf_address_list * to; string subject = "th...
D
func void zs_playtune() { printdebugnpc(PD_TA_FRAME,"ZS_PlayTune"); b_setperception(self); AI_SetWalkMode(self,NPC_WALK); if(!Npc_IsOnFP(self,"PLAYTUNE")) { AI_GotoWP(self,self.wp); }; }; func void zs_playtune_loop() { printdebugnpc(PD_TA_LOOP,"ZS_PlayTune_Loop"); if(!Npc_HasItems(self,itmilute)) { Creat...
D
module mordor.kalypso.vfs.model; import tango.core.Variant; import tango.time.Time; import mordor.common.iomanager; import mordor.common.streams.stream; import mordor.common.stringutils; interface IVFS : IObject { } interface ISnapshottableVFS : IVFS { IVFS snapshot(out Time timestamp); } interface IVersionedV...
D
Long: key Arg: <key> Protocols: TLS SSH Help: Private key file name --- Private key file name. Allows you to provide your private key in this separate file. For SSH, if not specified, curl tries the following candidates in order: \&'~/.ssh/id_rsa', '~/.ssh/id_dsa', './id_rsa', './id_dsa'. If curl is built against Open...
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; public { import git.attribute; import git.blob; import git.branch; impor...
D
/Users/brunodaluz/Desktop/project/Build/Intermediates/project.build/Debug/TemplateKit.build/Objects-normal/x86_64/HTMLEscape.o : /Users/brunodaluz/Desktop/project/.build/checkouts/template-kit.git-4631460999338977621/Sources/TemplateKit/Data/TemplateData.swift /Users/brunodaluz/Desktop/project/.build/checkouts/template...
D
/** * Windows API header module * * Translated from MinGW Windows headers * * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DRUNTIMESRC src/core/sys/windows/_cderr.d) */ module core.sys.windows.cderr; version (Windows): enum { CDERR_DIALOGFAILURE = 0xFFFF, CDER...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Bo...
D
module android.java.java.security.cert.CertPathBuilder_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import3 = android.java.java.security.cert.CertPathParameters_d_interface; import import5 = androi...
D