code
stringlengths
3
10M
language
stringclasses
31 values
/** * Defines the help texts for the CLI options offered by DMD. * * This file is not shared with other compilers which use the DMD front-end. * However, this file will be used to generate the * $(LINK2 https://dlang.org/dmd-linux.html, online documentation) and MAN pages. * * Copyright: Copyright (C) 1999-202...
D
import std.stdio, std.string, std.array, std.algorithm, std.conv, std.typecons, std.numeric, std.math; struct SegTree(alias _fun, alias def, T) if (is(typeof(def) : T)) { import std.functional : binaryFun; alias fun = binaryFun!_fun; /// this(size_t n, T[] ts) { this.n = 1; while (this...
D
module acl.segtree; import acl.internal_bit; // --- segtree --- struct Segtree(S, alias op, alias e) { import std.functional : binaryFun, unaryFun; import std.traits : isCallable, Parameters; static if (is(typeof(e) : string)) { auto unit() { return mixin(e); } ...
D
module org.apache.lucene.document; public import org.apache.lucene.document.Document; public import org.apache.lucene.document.Field; public import org.apache.lucene.document.FieldType; public import org.apache.lucene.document.StringField; public import org.apache.lucene.document.TextField;
D
/******************************************************************************* * Copyright (c) 2000, 2009 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, a...
D
// *********** // SPL_IceBolt // *********** const int SPL_Cost_IceBolt = 5; var int SPL_Damage_IceBolt; //SPL_Damage_IceBolt = 50; INSTANCE Spell_IceBolt (C_Spell_Proto) { time_per_mana = 0; damage_per_level = SPL_Damage_IceBolt; }; func int Spell_Logic_IceBolt (var int manaInvested) { if (Npc_GetActiveSp...
D
import loggd.core; import std.stdio; void main() { //auto logger = getLogger("core"); auto logger = getGlobalLogger(); logger.setLevel(Level.INFO); logger.trace("trace test"); logger.info("info test"); logger.log(Level.DEBUG, "debug test"); logger.warn("warn test"); logger.error("error test"); logger.fata...
D
module UnrealScript.TribesGame.TrAttachment_DualRhinos; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrDeviceAttachment; extern(C++) interface TrAttachment_DualRhinos : TrDeviceAttachment { public extern(D): private static __gshared ScriptClass mStaticClass; @property ...
D
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Fluent.build/Database/Database.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Fluent-1.0.7/Sources/Fluent/Database/Database.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPIC...
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Hash/Hash.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/cry...
D
module test.codec.websocket; import hunt.http.codec.websocket.encode.Generator; import hunt.http.codec.websocket.frame.Frame; import hunt.http.codec.websocket.model.OutgoingFrames; import hunt.util.Common; import hunt.collection.BufferUtils; import hunt.util.TypeUtils; import hunt.Assert; import hunt.collection.ByteB...
D
module UnrealScript.TribesGame.TrProj_RhinoSMG_MKD; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrProj_RhinoSMG; extern(C++) interface TrProj_RhinoSMG_MKD : TrProj_RhinoSMG { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static S...
D
instance DJG_703_Cipher(Npc_Default) { name[0] = "Сифер"; guild = GIL_DJG; id = 703; voice = 7; flags = 0; npcType = NPCTYPE_MAIN; aivar[AIV_Teeth] = 2; B_SetAttributesToChapter(self,4); fight_tactic = FAI_HUMAN_MASTER; EquipItem(self,ItMw_1h_Sld_Sword); EquipItem(self,ItRw_Crossbow_M_01); B_CreateAmbient...
D
/** * Defines the named entities to support the "\\&Entity;" escape sequence for strings / character literals. * * Specification $(LINK2 https://dlang.org/spec/entity.html, Named Character Entities) * * Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved * Authors: $(LIN...
D
/******************************************************************************* Copyright: Copyright (c) 2017 dunnhumby Germany GmbH. All rights reserved. License: Boost Software License Version 1.0. See LICENSE.txt for details. ***************************************************************...
D
<?xml version="1.0" encoding="ASCII"?> <di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> <pageList> <availablePage> <emfPageIdentifier href="agregacao1.notation#_54m84CFUEeODU...
D
/Users/oslo/code/swift_vapor_server/.build/debug/JSON.build/File.swift.o : /Users/oslo/code/swift_vapor_server/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/oslo/code/swift_vapor_server/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/oslo/code/swift_vapor_server/Packages/JSON-1.0.6/Sources/JSON/JSON+Equat...
D
import std.stdio, std.algorithm, std.conv, std.array, std.range; struct Fractran { int front; bool empty = false; const int[][] fracts; this(in string prog, in int val) { this.front = val; fracts = prog.split.map!(p => p.split("/").to!(int[])).array; } void popFront() { ...
D
module android.java.org.w3c.dom.EntityReference_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import4 = android.java.org.w3c.dom.Document_d_interface; import import3 = android.java.org.w3c.dom.Named...
D
/Users/Lorenzo/Desktop/EO18_2/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/RouteStep.o : /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxCoreNavigation/MapboxCoreNavigation/Seque...
D
module vkapi.connection; import vibe.http.client; import std.conv: to; import dxml.parser; import std.exception; import vkapi.oauth: VkOAuthSession; import vkapi.exception; private auto doRawRequest(string url, string[string][] queryParams, in VkOAuthSession oAuthSession, bool isGetMethod = false) in(oAuthSession !is...
D
import std.stdio; import smack; int sum(int[] array, int n, int s, int t) in { __VERIFIER_assert(s >= 0 && s <= t && t <= n); } do { if (s == t) return 0; return sum(array, n, s, t - 1) + array[t - 1]; } struct pos { int start; int end; } pos maxSegSum(int[] array, int n) out(result) { ...
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Multipart.build/MultipartPart.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/multipart/Sources/Multipart/MultipartPartConvertible.swift /Users/panartem/Developer/Study/Micro...
D
a loud laugh that sounds like a horse neighing a ditch with one side being a retaining wall
D
/** * Hash Set * Copyright: © 2015 Economic Modeling Specialists, Intl. * Authors: Brian Schott * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) */ module containers.hashset; private import containers.internal.hash : generateHash; private import containers.internal.node : shouldAddGCRa...
D
/** * Element module. * * License: * MIT. See LICENSE for full details. */ module tkd.element.element; /** * Imports. */ import core.memory; import std.array; import std.conv; import std.digest.crc; import std.random; import std.string; import tcltk.tk; import tkd.interpreter; /** * The ui element base cl...
D
/* * Copyright (C) 2017 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 app...
D
module UnrealScript.TribesGame.GFxTrPage_PartyAction; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.GFxTrPage; import UnrealScript.GFxUI.GFxObject; extern(C++) interface GFxTrPage_PartyAction : GFxTrPage { public extern(D): private static __gshared ScriptClass mStaticCla...
D
/Users/ruru/Desktop/Money1/DerivedData/Money1/Build/Intermediates/IBDesignables/Intermediates/Money1.build/Debug-iphonesimulator/Money1.build/Objects-normal/x86_64/DayRecordTableViewCell.o : /Users/ruru/Desktop/Money1/Money1/myUITextField.swift /Users/ruru/Desktop/Money1/Money1/AppDelegate.swift /Users/ruru/Desktop/Mon...
D
/home/yneversky/ynwork/SCUOS_LAB/SCUOS_Lab1/os/target/riscv64imac-unknown-none-elf/debug/deps/bare_metal-98727911f95c5de1.rmeta: /home/yneversky/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bare-metal-0.2.5/src/lib.rs /home/yneversky/ynwork/SCUOS_LAB/SCUOS_Lab1/os/target/riscv64imac-unknown-none-elf/debug/...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; alias MM = Tuple!(int, "max", int, "min"); void main() { auto N = readln.chomp.to!int; int[] LS; LS.length = N; foreach (i; 0..N) LS[i] = readln.chomp.to!int; int[] CS; CS.length = N; for...
D
INSTANCE Info_Mod_Xardas_AW_Hi (C_INFO) { npc = Mod_678_DMB_Xardas_AW; nr = 1; condition = Info_Mod_Xardas_AW_Hi_Condition; information = Info_Mod_Xardas_AW_Hi_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_AW_Hi_Condition() { if (FokiEingesetzt == 5) { return 1; }; }; FUNC VOID Info_Mod...
D
module aura.persistence.core.relations; import aura.util.string_transforms; import aura.util.inflections.en; string defineBelongsTo(S, M, string propertyName, string key, string foreignKey)() { import std.string; static if (!propertyName.length) string _propertyName = M.stringof.camelCaseLower; else string...
D
/** tsv-utils version file. */ module tsv_utils.common.tsvutils_version; enum string tsvutilsVersion = "v1.4.4"; string tsvutilsVersionNotice (string toolName) @safe pure nothrow { return toolName ~ " (eBay/tsv-utils) " ~ tsvutilsVersion ~ "\n" ~ q"EOS Copyright (c) 2015-2020, eBay Inc. https://github.com/eBay/...
D
import std.stdio; import std.string; import std.conv; import std.algorithm; import std.range; import std.traits; import std.math; import std.conv; import std.typecons; import std.uni; import std.ascii; import std.bitmanip; import core.bitop; int N; bool[] dp; int[] W; void main() { N = ri; W = readAs!(int[]); int s...
D
/Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Build/Intermediates/basicmvvm.build/Debug-iphonesimulator/basicmvvm.build/Objects-normal/x86_64/ViewController.o : /Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/basicmvvm/AppDelegate.swift /Users/bernardo.tolosa/Documents/workspace/iosworks/b...
D
module chirp.program; import chirp.logging.logger; import chirp.lexer.lexer; import chirp : chirpVersion; import chirp.logging.color : Color; /++ + The main class that handles the compilation of a file +/ // TODO: Make better logging system. Both for compilation errors, but also CLI errors // TODO: Better memory ma...
D
/Users/chris/BB/BB/TestApps/BBTestAppFailPostbuildScript/build/BBTestAppFailPostbuildScript.build/Release-iphoneos/BBTestAppFailPostbuildScript.build/Objects-normal/arm64/AppDelegate.o : /Users/chris/BB/BB/TestApps/BBTestAppFailPostbuildScript/BBTestAppFailPostbuildScript/ViewController.swift /Users/chris/BB/BB/TestApp...
D
/** Module for image I/O. Copyright: Copyright Relja Ljubobratovic 2016. Authors: Relja Ljubobratovic License: $(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0). */ module dcv.io.image; /* TODO: write wrappers and use libjpeg, libpng, libtiff, openexr. v0.1 norm: Implemented an...
D
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/BCrypt.build/Objects-normal/x86_64/Base64.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/bcrypt.git-6177224099894028443/Sources/BCrypt/Base64.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/bcrypt.git-617722409989402844...
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
module communication.serializable; import std.datetime.systime: StdSysTime = SysTime; import std.typecons: Nullable, nullable, StdTernary = Ternary; nothrow pure @safe @nogc: struct Ternary { StdTernary data; alias data this; Nullable!bool toRepresentation() const { return data == StdTernary.un...
D
module gui.option.keydup; // This looks at several KeyButtons, checks whether any of those share // keys, and sends a message to all registered KeyButtons whether the button // has a shared keybind or not. import std.algorithm; import gui.button.key; class KeyDuplicationWatcher { private: KeyButton[] _watched; ...
D
/Users/geoffrey/IdeaProjects/chip8_emulator/target/debug/build/num-iter-aa468c9a14e7989d/build_script_build-aa468c9a14e7989d: /Users/geoffrey/.cargo/registry/src/github.com-1ecc6299db9ec823/num-iter-0.1.37/build.rs /Users/geoffrey/IdeaProjects/chip8_emulator/target/debug/build/num-iter-aa468c9a14e7989d/build_script_bu...
D
/home/mcrae/Code/hermes/target/debug/build/serde-53e3c1c99b436f9a/build_script_build-53e3c1c99b436f9a: /home/mcrae/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.125/build.rs /home/mcrae/Code/hermes/target/debug/build/serde-53e3c1c99b436f9a/build_script_build-53e3c1c99b436f9a.d: /home/mcrae/.cargo/registry/...
D
class A { int i; } class B : A { int j; } template copy(alias a, alias b) { void copy() { a = b; } } class C : B { alias copyIJ = copy!(i, j); }
D
a car that has top that can be folded or removed a corporate security (usually bonds or preferred stock) that can be exchanged for another form of security (usually common stock) a sofa that can be converted into a bed capable of being exchanged for or replaced by something of equal value designed to be changed from on...
D
/Users/apple/Developer/SuperDemo/build/SuperDemo.build/Debug-iphonesimulator/SuperDemo.build/Objects-normal/x86_64/ViewController.o : /Users/apple/Developer/SuperDemo/SuperDemo/TableViewCell.swift /Users/apple/Developer/SuperDemo/SuperDemo/Item.swift /Users/apple/Developer/SuperDemo/SuperDemo/Detail.swift /Users/apple/...
D
[cc]mc | .hd declare "create shell variables" 09/11/84 [cc]mc declare { <identifier> [ = <value> ] } .ds 'Declare' is the primary method of creating shell variables with local (i.e., to the command file) scope. Its arguments are the names of the variables to be declared; they are declared at the current lexical level...
D
/++ "Service"-level plugins, used to carry out tasks behind the scenes. Removing or disabling any of these may yield adverse results. See_Also: [kameloso.plugins.services.chanquery] [kameloso.plugins.services.connect] [kameloso.plugins.services.ctcp] [kameloso.plugins.servi...
D
instance Mod_954_STT_Huno_MT (Npc_Default) { // ------ NSC ------ name = "Huno"; guild = GIL_OUT; id = 954; voice = 6; flags = 0; npctype = NPCTYPE_main; // ------ Attribute ------ B_SetAttributesToChapter (self, 3); // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_NORMAL; // ...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.bigint; void main() { auto N = readln.chomp.to!int; auto cs = readln.chomp.to!(char[]); auto abxy = "ABXY"; int r = int.max; foreach (l1; abxy) { foreach (l2; abxy) { for...
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_28_BeT-9151913...
D
/** kgl3n.util Authors: David Herberth License: MIT */ module kgl3n.util; import std.meta : AliasSeq; template TupleRange(int from, int to) if (from <= to) { static if (from >= to) { alias TupleRange = AliasSeq!(); } else { alias TupleRange = AliasSeq!(from, TupleRange!(from + 1, to)); ...
D
restricted to bare necessities moderation in eating and drinking
D
/* * Copyright 2017-2019 * Andreia Correia <andreia.veiga@unine.ch> * Pedro Ramalhete <pramalhe@gmail.com> * Pascal Felber <pascal.felber@unine.ch> * Nachshon Cohen <nachshonc@gmail.com> * * Modified for D by Harry T. Vennik. * * Copyright 2019 * Harry T. Vennik <htvennik@gmail.com> * * This work ...
D
// Written in the D programming language. /** * This module defines an Abstract Syntax Tree for the D language * * Examples: * --- * // TODO * --- * * Copyright: Brian Schott 2013 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt Boost, License 1.0) * Authors: Brian Schott * Source: $(PHOBOSSRC std/d/...
D
instance DIA_Urshak_EXIT(C_Info) { npc = NONE_110_Urshak; nr = 999; condition = DIA_Urshak_EXIT_Condition; information = DIA_Urshak_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Urshak_EXIT_Condition() { return TRUE; }; func void DIA_Urshak_EXIT_Info() { AI_StopProcessInfos(self); ...
D
module android.java.android.icu.text.CurrencyPluralInfo_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import1 = android.java.android.icu.util.ULocale_d_interface; import import0 = android.java.java....
D
func void GregIsBack_S1() { if(GregIsBack == FALSE) { Wld_InsertNpc(PIR_1320_Addon_Greg,"ADW_PIRATECAMP_GREG"); B_StartOtherRoutine(Bill,"GREGISBACK"); B_StartOtherRoutine(Morgan,"GREGISBACK"); B_StartOtherRoutine(AlligatorJack,"GREGISBACK"); Wld_InsertNpc(CanyonRazor07,"ADW_CANYON_MINE1_01"); Wld_Insert...
D
supported by both sides involving two parts or elements operating or permitting operation in either of two opposite directions
D
module game.nurse.savestat; import std.algorithm; import file.option; // replayAfterFrameBack import game.nurse.cache; import hardware.tharsis; import physics.state; public import game.nurse.base; class SaveStatingNurse : Nurse { private: PhysicsCache _cache; public: /* * Forwarding constructor. We ge...
D
import std.stdio; import std.range; import std.algorithm; import std.conv; import std.array; import std.file; import std.utf; void main(){ char[] input = readText("dec8input.txt").byChar.array.dup; input = input[0 .. $ -1]; //toss ending newline enum width = 25; enum height = 6; alias layer = ...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (c) 1999-2017 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
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Core.build/CodableReflection/ReflectionDecodable.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/core/Sources/Core/Data+Base64URL.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/che...
D
module ui.rect; import core.sys.windows.windows; struct Rect { union { struct { int c; int h; int d; int g; } RECT windowsRECT; } int cd() { import std.math : abs; return abs( d - c ); } in...
D
module doogle.window.opengl.window_def; import doogle.window.window_def; import gl3n.linalg : vec4; abstract shared class Window_OpenGL_Def : Window_Def { shared(vec4) glslCoordFix = vec4(0, 0, 0, 0); }
D
/Volumes/Work Space/LearnRust/projects/sql_practice/target/debug/build/io-enum-b60ef5d1bc95c576/build_script_build-b60ef5d1bc95c576: /Users/goble/.cargo/registry/src/github.com-1ecc6299db9ec823/io-enum-0.2.6/build.rs /Volumes/Work Space/LearnRust/projects/sql_practice/target/debug/build/io-enum-b60ef5d1bc95c576/build_...
D
/Users/GMoran/Desktop/ClassicPlayer/DerivedData/ClassicPlayer/Build/Intermediates/ClassicPlayer.build/Debug-iphonesimulator/ClassicPlayer.build/Objects-normal/i386/SongListMenuVC.o : /Users/GMoran/Desktop/ClassicPlayer/ClassicPlayer/NowPlayingVC.swift /Users/GMoran/Desktop/ClassicPlayer/ClassicPlayer/AboutScreenVC.swif...
D
/***************************************************************************** * Lower triangular matrix Impl *****************************************************************************/ module sekitk.qvm.impl.lowertri; import sekitk.qvm.common: TypeOfSize, MajorOrder; /+ mixin template LowerTriangular(T, real Thr...
D
module UnrealScript.Engine.OnlineContentInterface; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.OnlineSubsystem; import UnrealScript.Core.UInterface; extern(C++) interface OnlineContentInterface : UInterface { public extern(D): private static __gshared ScriptClass mStaticCl...
D
/// module fswatch; import std.file; import core.thread; debug (FSWTestRun2) version = FSWForcePoll; /// enum FileChangeEventType : ubyte { /// Occurs when a file or folder is created. create, /// Occurs when a file or folder is modified. modify, /// Occurs when a file or folder is removed. r...
D
/* * Public domain * sys/time.h compatibility shim */ module libressl_d.compat.time; public import core.stdc.time; public import libressl_d.compat.sys.time; //#if defined(_WIN32) //core.stdc.time.tm* __gmtime_r(const (core.stdc.time.time_t)* t, core.stdc.time.tm* core.stdc.time.tm); //#define gmtime_r(tp, core....
D
//T compiles:yes //T lexer:yes //T parser:yes //T semantic:yes //T retval:17 struct S { A foo(bar b) { A a; a.i = b; return a; } } struct A { int i; } alias int bar; int main() { S s; return s.foo(16).i + 1; }
D
/** * Внешнее API Copyright: © 2014-2015 Semantic Machines License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Valeriy Bushenev */ module veda.core.context; private import std.concurrency, std.datetime; private import util.container; private import searc...
D
an ostentatious display (of effort or extravagance etc.) any act of immoderate indulgence indulge oneself be showy or ostentatious
D
import std.stdio; struct MyFile { this(string filename) { } auto byLine() { return 0; } } struct Wrapper { this(Args...)(Args args) {} } auto func(F = std.stdio.File)(bool[] args) { import std.algorithm.iteration : map; foreach (x; args.map!(arg => arg ? Wrapper( ...
D
/Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/CredifyCore.build/Debug-iphonesimulator/CredifyCore.build/Objects-normal/x86_64/ClaimUseCaseProtocol.o : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/CredifyCore/CredifyCore.swift /Users/nalousnguyen/...
D
#!/usr/bin/env dub /+ dub.json: { "name": "euclidean_distance", "dependencies": {"mir": {"path":"../.."}}, "dflags-ldc": ["-mcpu=native"] } +/ /+ $ ldc2 --version LDC - the LLVM D compiler (918073): based on DMD v2.071.1 and LLVM 3.8.0 built with LDC - the LLVM D compiler (918073) Default target: x86_...
D
/** Parsing result module. */ module bcparser.result; /** Parsing result. */ struct ParsingResult { @nogc @safe: /** Match result. */ static immutable match = ParsingResult(Type.match, null); /** Unmatch result. */ static immutable unmatch = ParsingResult(Type.unmatch, null); /**...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1985-1998 by Symantec * Copyright (C) 2000-2019 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: ...
D
/* * Copyright (c) 2004-2009 Derelict Developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this li...
D
# FIXED utils/ustdlib.obj: C:/ti/TivaWare_C_Series-2.1.4.178/utils/ustdlib.c utils/ustdlib.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h utils/ustdlib.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/debug.h utils/ustdlib.obj: C:/ti/TivaWare_C_Series-2.1.4.178/utils/ustdlib.h utils/ustdlib.obj...
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
D
/home/git/for_nep141/nep141transfer/contract/target/debug/build/syn-db0672afc39b9b75/build_script_build-db0672afc39b9b75: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.57/build.rs /home/git/for_nep141/nep141transfer/contract/target/debug/build/syn-db0672afc39b9b75/build_script_build-db0672afc39b9b75.d:...
D
uint sumDigits(T)(T n, in uint base=10) /*pure nothrow*/ in { assert(base > 1); } body { typeof(return) total = 0; //while (n) { while (n != 0) { total += n % base; n /= base; } return total; } void main() { import std.stdio, std.bigint; writeln(sumDigits(1)); writel...
D
module parser; import ast; import sdpc; import common; import symbol; import type : BaseType, RefType, ArrayType, DynamicArrayType; import std.functional, std.array, std.conv; import std.typecons : Nullable; alias Result(T) = sdpc.Result!(I, T, Err!I); private auto map_or(alias func = "a", T, R = typeof(func(T.init))...
D
/Users/admin/Desktop/WavePlayer/build/WavePlayer.build/Debug-iphonesimulator/WavePlayer.build/Objects-normal/x86_64/MusicLibrary.o : /Users/admin/Desktop/WavePlayer/WavePlayer/AppDelegate.swift /Users/admin/Desktop/WavePlayer/WavePlayer/View/MoreTableViewCell.swift /Users/admin/Desktop/WavePlayer/WavePlayer/Controller/...
D
/home/blujay/code/USDA/code/SQL/target/debug/deps/hmac-eba7411b95e0c9cf.rmeta: /home/blujay/.cargo/registry/src/github.com-1ecc6299db9ec823/hmac-0.7.1/src/lib.rs /home/blujay/code/USDA/code/SQL/target/debug/deps/libhmac-eba7411b95e0c9cf.rlib: /home/blujay/.cargo/registry/src/github.com-1ecc6299db9ec823/hmac-0.7.1/src/...
D
/***********************************\ SAVES \***********************************/ func void BW_Savegame() { }; func void BR_Savegame() { }; //======================================== // [intern] Gibt Pfad zur Speicherdatei zurück //======================================== func string _BIN_GetSavefi...
D
module android.java.android.content.pm.VersionedPackage; public import android.java.android.content.pm.VersionedPackage_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!VersionedPackage; import import1 = android.java.java.lang.Class;
D
/Volumes/Element-Mac/_development/_ios/_training/ThreeRingControl/Build/Intermediates/ThreeRingControl.build/Debug-iphonesimulator/ThreeRingControl.build/Objects-normal/x86_64/RingTip.o : /Volumes/Element-Mac/_development/_ios/_training/ThreeRingControl/ThreeRingControl/Utilities.swift /Volumes/Element-Mac/_development...
D
instance SFB_1035_Schuerfer (Npc_Default) { //-------- primary data -------- name = NAME_Schuerfer; npctype = Npctype_ambient; guild = GIL_SFB; level = 6; flags = 0; voice = 5; id = 1035; //-------- abilities -------- attribute[ATR_STRENGTH] = 30; attri...
D
/Users/zhaoxingchen/Desktop/abc/Mattth/Build/Intermediates.noindex/MathFlow.build/Debug/Mattth.build/Objects-normal/x86_64/AppDelegate.o : /Users/zhaoxingchen/Desktop/abc/Mattth/Mattth/AppDelegate.swift /Users/zhaoxingchen/Desktop/abc/Mattth/Mattth/ContentViewController.swift /Users/zhaoxingchen/Desktop/abc/Mattth/Matt...
D
import std.stdio; import sieve; int numWays(int n, int maxIndex, int[] sieve) { if (n == 0) return 1; if (n == 1 || n < 0) return 0; static int[][] stored; if (stored.length <= n - 2) { stored.length = n - 1; } while(sieve[maxIndex] > n) maxIndex--; if (stored[n - 2].length <= maxIndex) stored[n - 2...
D
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/tblAssignTo.o : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/apple-...
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 ma...
D
/Users/sbordo/RustLearning/Rust_Chrome_Dino/terminal_dino/target/debug/deps/glob-ea1dded40b0bed1c.rmeta: /Users/sbordo/.cargo/registry/src/github.com-1ecc6299db9ec823/glob-0.3.0/src/lib.rs /Users/sbordo/RustLearning/Rust_Chrome_Dino/terminal_dino/target/debug/deps/libglob-ea1dded40b0bed1c.rlib: /Users/sbordo/.cargo/re...
D
// Written in the D programming language. /** Source: $(PHOBOSSRC std/experimental/allocator/building_blocks/segregator.d) */ module std.experimental.allocator.building_blocks.segregator; import std.experimental.allocator.common; /** Dispatches allocations (and deallocations) between two allocators ($(D SmallAllocato...
D
// https://issues.dlang.org/show_bug.cgi?id=1870 // https://issues.dlang.org/show_bug.cgi?id=12790 string get() { return "int x =\n 123;\r\n" ~ q{ int y; int z = x + y;}; } void main() { mixin(get()); }
D