code
stringlengths
3
10M
language
stringclasses
31 values
import std.c.stdio; template TypeTuple(T...){ alias T TypeTuple; } /***************************************************/ // 2625 struct Pair { immutable uint g1; uint g2; } void test1() { Pair[1] stuff; static assert(!__traits(compiles, (stuff[0] = Pair(1, 2)))); } /********************************...
D
// Optimist-like (https://github.com/substack/node-optimist/) argument parser string[string] optParse(string[] argv) { string[string] args; int startindex; for (auto index = 0; index < argv.length; index++) { if (argv[index][0] == '-') { startindex = (argv[index][1] == '-') ? 2 : 1; ...
D
/* * Database - Database abstraction layer for D programing language. * * Copyright (C) 2017 Shanghai Putao Technology Co., Ltd * * Developer: HuntLabs * * Licensed under the Apache-2.0 License. * */ module database.database; import database; class Database { Pool _pool; DatabaseOption _options; ...
D
INSTANCE Info_Mod_Brutus_Veronica (C_INFO) { npc = Mod_7563_OUT_Brutus_EIS; nr = 1; condition = Info_Mod_Brutus_Veronica_Condition; information = Info_Mod_Brutus_Veronica_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Brutus_Veronica_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Veronica_Hi)) { ...
D
module cv4d.opencv.highgui; //############################################################################## //##### opencv2/highgui/highgui_c.h //############################################################################## /*M///////////////////////////////////////////////////////////////////////////////////...
D
module mainserver; import std.stdio,std.digest.crc; import command.CmdManager, scripts.ScriptManager, network.NetManager; class MainServer { public: this() { } static bool InitServer(string[] args) { return true; } static bool StarServer(string[] args) { // 初始化命令 CmdManager.Ins...
D
# FIXED OSAL/OSAL_Timers.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/common/OSAL_Timers.c OSAL/OSAL_Timers.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_44423_cloud/Components/osal/include/comdef.h OSAL/OSAL_Timers.obj: C:/ti/tirex-content/simplelink/ble_cc26xx_2_01_00_4...
D
// Error: Type of return stmt. differs from declared type. func Main() { return 1234; }
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 299.399994 21.6000004 12 107 78 84 9.69999981 76.6999969 7151 12.6999998 17.5 0.666666667 intrusives, gabbro 290 33.5 6.69999981 37 65 105 23.7999992 85 3034 5 5 0.2 intrusives
D
module UnrealScript.Engine.NxTornadoAngularForceFieldCapsule; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.NxTornadoAngularForceField; extern(C++) interface NxTornadoAngularForceFieldCapsule : NxTornadoAngularForceField { public extern(D): private static __gshared ScriptClas...
D
instance Mod_7007_UntoterEliteNovize_AW (Npc_Default) { //-------- primary data -------- name = "Untoter Elite-Novize"; Npctype = Npctype_UNTOTERNOVIZE; guild = GIL_STRF; level = 50; voice = 0; id = 7007; //-------- abilities -------- B_SetAttributesToChapter (self, 4); level = 50; ...
D
instance PC_PSIONIC_DI(NPC_DEFAULT) { name[0] = "Лестер"; guild = GIL_NONE; id = 24; voice = 13; flags = 0; npctype = NPCTYPE_FRIEND; aivar[AIV_PARTYMEMBER] = TRUE; aivar[AIV_TOUGHGUY] = TRUE; aivar[AIV_TOUGHGUYNEWSOVERRIDE] = TRUE; b_setattributestochapter(self,6); fight_tactic = FAI_HUMAN_MASTER; b_creat...
D
module engine.framework.bt.bt_decorator; public import engine.framework.bt.bt_node; class CBTDecorator : CBTNode { mixin( TRegisterClass!CBTDecorator ); protected: CBTNode lchild; public: ~this() { destroyObject( lchild ); } @property { void child( CBTNode ichild ) { ...
D
/******************************************************************************* Structure holding parameters for a client command (a command assigned to a client which only affects the client itself and has no communication with or effect on a node). copyright: Copyright (c) 2012-2017 sociomanti...
D
var int APP_CONSTANTINO_TR; instance DIA_Constantino_EXIT(C_Info) { npc = VLK_417_Constantino; nr = 999; condition = DIA_Constantino_EXIT_Condition; information = DIA_Constantino_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Constantino_EXIT_Condition() { return TRUE; }; func void ...
D
var int PrayIdolDay; var int RecievedMoney; var int GivenHitpoints; var int GivenMana; const int BeliarsDispo = 10000; func void B_HitpointAngleich(var int BeliarsCost) { var int CurrentHitpoints; GivenHitpoints = GivenHitpoints + BeliarsCost; hero.attribute[ATR_HITPOINTS_MAX] = hero.attribute[ATR_HITPOINTS_MAX] - B...
D
module UnrealScript.Engine.UIResourceDataProvider; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.UIPropertyDataProvider; extern(C++) interface UIResourceDataProvider : UIPropertyDataProvider { public extern(D): private static __gshared ScriptClass mStaticClass; @property fi...
D
/Users/lefukeji/Desktop/content/chartDemoForPro/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CandleStickChartRenderer.o : /Users/lefukeji/Desktop/content/chartDemoForPro/Charts/Classes/Components/ChartAxisBase.swift /Users/lefukeji/Desktop/content/chartDemoForPro/Charts/Clas...
D
/** * Configuration enums/variables for different targets * * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1985-1998 by Symantec * Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved * Authors: $(LIN...
D
/Users/bootcamp/Documents/collab2/DerivedData/goOSC/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustPolicy.o : /Users/bootcamp/Documents/collab2/Pods/Alamofire/Source/MultipartFormData.swift /Users/bootcamp/Documents/colla...
D
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/LBE_Demo.build/Debug-iphonesimulator/LBE_Demo.build/Objects-normal/x86_64/DrawViewController.o : /Users/mli/Desktop/Develope/Swift/LBE_Demo/LBE_Demo/DrawViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch...
D
<?xml version="1.0" encoding="UTF-8"?> <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="model2.profile.notation#_1P3ykDywE...
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
/***********************************************************************\ * wtsapi32.d * * * * Windows API header module * * ...
D
//Path State: Path Evaluation import Statement; import SearchStated; class PathState { string path; public: this(string p) { path = p; } string return_evaluated_path() { SearchState ss = new SearchState(path); string c = ss.rep('.', '/'); return c; } }
D
void main() { runSolver(); } void problem() { auto N = scan!int; auto G = cast(char[][])scan!string(N); auto solve() { foreach(x; 0..N - 5) foreach(y; 0..N) { if (G[y][x..x+6].count('#') >= 4) return YESNO[true]; } foreach(x; 0..N) foreach(y; 0..N - 5) { if (6.iota.count!(d => G[y + d][x...
D
/* * A cute green square. * The application is based on Wacky Graphic Engine :) * * Alexander Kochurko, 2014 */ import std.stdio; import lib.graphics.wackyRender; import lib.graphics.wackyRenderInitializer; import lib.graphics.wackyShaderProgram; import lib.graphics.wackySimpleMesh; void main() { // Crea...
D
/Users/student/Documents/Marketplace/DerivedData/Build/Intermediates/Marketplace.build/Debug-iphonesimulator/Marketplace.build/Objects-normal/x86_64/RatingView.o : /Users/student/Documents/Marketplace/Marketplace/CoreDataComponents/Network/Download.swift /Users/student/Documents/Marketplace/Marketplace/CoreDataComponen...
D
import std.stdio, std.algorithm, std.range, std.functional; auto nextCarpet(in string[] c) /*pure nothrow*/ { const b = c.map!q{a ~ a ~ a}.array; return b ~ c.map!q{a ~ a.replace("#", " ") ~ a}.array ~ b; } void main() { ["#"] .recurrence!((a, n) => a[n - 1].nextCarpet) .dropExactly(3) .front ...
D
module scene.noneuclidean; import grtrace; import core.time; import std.concurrency; import std.stdio, std.math; import std.functional; import math.vector; import math.geometric; import scene.objects.plane; import math.matrix; import image.memory; import image.imgio; import image.color; import scene.camera; import sce...
D
/Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/Util.o : /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/Schema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift/RealmSwift/ObjectSchema.swift /Users/MohamedNawar/Desktop/Task/Pods/RealmSwift...
D
module android.java.android.view.Display_HdrCapabilities_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import1 = android.java.java.lang.Class_d_interface; import import0 = android.java.android.os.Pa...
D
/substrate-node-template/target/release/build/winapi-b44c1c4fe648f23c/build_script_build-b44c1c4fe648f23c: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/build.rs /substrate-node-template/target/release/build/winapi-b44c1c4fe648f23c/build_script_build-b44c1c4fe648f23c.d: /root/.cargo/registry/src/g...
D
/Users/grhodes/Projects/2020/SwiftProjects/PGDocFixer/.build/x86_64-apple-macosx/debug/PGDocFixer.build/Source/html.swift.o : /Users/grhodes/Projects/2020/SwiftProjects/PGDocFixer/Sources/PGDocFixer/Source/Stuff.swift /Users/grhodes/Projects/2020/SwiftProjects/PGDocFixer/Sources/PGDocFixer/Source/html.swift /Users/grho...
D
module Engine.Systems.AwakeSystem; import Engine.System; import Engine.Component; import Engine.Entity; import std.stdio; class AwakeSystem : System { override void start() { } override void process() { } @property override Timing timing() { return Timing.Awake; } override void onEntityEnter(Entity ...
D
// Copyright Michael D. Parker 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) module bindbc.sdl.bind.sdlsurface; import bindbc.sdl.config; import bindbc.sdl.bind.sdlblendmode : SDL_...
D
/** * Functions for raising errors. * * Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.c...
D
/Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Cipher/CipherAlgorithm.swift.o : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Utilities/Base32.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-79802591295113659...
D
/***************************************************************************** * * Higgs JavaScript Virtual Machine * * This file is part of the Higgs project. The project is distributed at: * https://github.com/maximecb/Higgs * * Copyright (c) 2012-2015, Maxime Chevalier-Boisvert. All rights re...
D
//////////////////////////////////////////////////////////////////////////////// // // Przyklad jak odczytac date wygasniecia klucza (o ile byla ustawiona) // // Wersja : PELock v2.0 // Jezyk : D // Autor : Bartosz Wójcik (support@pelock.com) // Strona domowa : https://www.pelock.com // /////...
D
// ************************************************** // B_MM_AssessEnemy // ---------------- // Monster nehmen andere Monster und Humans NUR wahr, // wenn sie ATT_HOSTILE gesetzt haben // (oder wenn sie oder ein Freund getroffen werden) // Beutetiere nehmen Jäger über PERC_ASSESSWARN wahr // -------------------------...
D
/Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/MigrationSupporting.o : /Users/petercernak/vapor/TILApp/.build/checkouts/fluent.git-8387737201324173519/Sources/Fluent/Model/ID.swift /Users/petercernak/vapor/TILApp/.build/checkouts/fluent.git-838773720132...
D
module vulkan.api.semaphore; import vulkan.all; VkSemaphore createSemaphore(VkDevice device) { VkSemaphoreCreateInfo info = { sType: VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, flags: 0 }; VkSemaphore semaphore; check(vkCreateSemaphore(device, &info, null, &semaphore)); return semap...
D
module mach.text.str.str; private: import mach.types : isTuple; import mach.traits : isNull, isBoolean, isIntegral, isFloatingPoint, isCharacter; import mach.traits : isImaginary, isComplex, isIterable, isFiniteIterable, isArray; import mach.traits : isString, isPointer, isEnumType, isAssociativeArray, isRange; imp...
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 306.399994 74.1999969 4.30000019 0 52 55 -31.8999996 151.300003 8785 5.9000001 5.9000001 0.911694787 extrusives, basalts 333.200012 64.6999969 6.5999999 0 52 55 -31.8999996 151.300003 8786 10.3000002 11.6999998 0.804286288 extrusives, basalts -6...
D
import std.stdio, std.random, std.traits, std.math, std.conv; immutable ubyte MAX_ALLOWED_SEQUENCE_LENGTH = 50; enum Color : bool { black, red } Color spin() { return uniform!Color(); } void main(string[] args) { immutable numSpins = args[1].to!int; writeln("Simulating ", numSpins, " rounds of r...
D
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Smack.build/Debug-iphonesimulator/Smack.build/Objects-normal/x86_64/Constants.o : /Users/slitovchenko/Documents/Smack/Smack/Controller/ProfileVC.swift /Users/slitovchenko/Documents/Smack/Smack/Controller/ChannelVC.swift /Users/slitovchenk...
D
//********************************************************************* // Info EXIT //********************************************************************* INSTANCE DIA_Opolos_Kap1_EXIT (C_INFO) { npc = NOV_605_Opolos; nr = 999; condition = DIA_Opolos_Kap1_EXIT_Condition; information = DIA_O...
D
// Author: Ivan Kazmenko (gassa@mail.ru) // Calculates winning probability for a battle of two wizards. // Reads two DNA strings separated by underscores from two command line arguments. // Writes the result to standard output. // Example usage (wizards #272 and #2): // ./simulatewiz 54_39_45_56_44_34_41_47 44_45_55_65...
D
// ************************************************************ // EXIT // ************************************************************ INSTANCE DIA_Jan_EXIT(C_INFO) { npc = DJG_714_Jan; nr = 999; condition = DIA_Jan_EXIT_Condition; information = DIA_Jan_EXIT_Info; permanent = TRUE; description ...
D
module extensions.dub.build; //import application; import extensionapi.common; import dccore.signals; import dccore.log : LogLevel; import core.time; import std.concurrency; import std.regex; import std.process; struct BuildStatus { string packageRoot; string buildType; int exitCode = int.min; strin...
D
/// Copyright: Copyright (c) 2017-2019 Andrey Penechko. /// License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). /// Authors: Andrey Penechko. module fe.ast.stmt.if_stmt; import all; @(AstType.stmt_if) struct IfStmtNode { mixin AstNodeData!(AstType.stmt_if, AstFlags.isStatement, AstNodeState.name_register_...
D
/Users/admin/Desktop/Day4/DemoClass/DerivedData/DemoClass/Build/Intermediates/DemoClass.build/Debug-iphonesimulator/DemoClass.build/Objects-normal/x86_64/AccessLevel.o : /Users/admin/Desktop/Day4/DemoClass/DemoClass/ReverseFile.swift /Users/admin/Desktop/Day4/DemoClass/DemoClass/PropertyDemo.swift /Users/admin/Desktop/...
D
a unit of potential equal to the potential difference between two points on a conductor carrying a current of 1 ampere when the power dissipated between the two points is 1 watt a soft silvery white toxic metallic element used in steel alloys the cardinal number that is the sum of four and one the 22nd letter of the Ro...
D
module main; int main(string[] args) { import nudelo: Config, minify; import std.array: split; import std.getopt: defaultGetoptPrinter, getopt; import std.stdio:File, stderr, stdin, stdout, writeln; try { Config cfg; string sourceFile = ""; string destFile = ""; string cssProcessor = ""; string jsP...
D
var int urshak_sucked; 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_...
D
/************************************************************************** ВОЛК Можно призывать. Трофеи: мясо, 2 клыка, шкура волка. Квестовые: волки Пепе. ***************************************************************************/ prototype Mst_Default_Wolf(C_Npc) { name[0] = "Волк"; guild = GI...
D
/** TCP/UDP connection and server handling. Copyright: © 2012 RejectedSoftware e.K. Authors: Sönke Ludwig License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. */ module vibe.core.net; public import vibe.core.driver; import core.sys.posix.netinet.in_; import core.time; im...
D
/* Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, a...
D
import std.stdio: writeln, writefln, readln; import std.conv; import std.string: chomp; int hcf(int a, int b) { while (b != 0) { int t = a % b; a = b; b = t; } return a; } unittest { // Sanity checks assert hcf(852, 15) == 3; assert hcf(5, 4) == 1; } int main(string[] args) { ...
D
module UnrealScript.UnrealEd.EditorViewportInput; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.Input; extern(C++) interface EditorViewportInput : Input { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() {...
D
module hunt.wechat.bean.component.PreAuthCode; import hunt.wechat.bean.BaseResult; class PreAuthCode : BaseResult{ private string pre_auth_code; private int expires_in; public string getPre_auth_code() { return pre_auth_code; } public void setPre_auth_code(string pre_auth_code) { this.pre_au...
D
module sdl2.error; // int set(string name, ...) // { // }
D
/** libevent based driver Copyright: © 2012-2014 RejectedSoftware e.K. Authors: Sönke Ludwig License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. */ module vibe.core.drivers.libevent2_tcp; version(VibeLibeventDriver) { public import vibe.core.core; import vibe.core.log;...
D
prototype Mst_Default_Skeleton(C_Npc) { name[0] = "Скелет"; guild = GIL_SKELETON; aivar[AIV_MM_REAL_ID] = ID_SKELETON; level = 30; attribute[ATR_STRENGTH] = 100; attribute[ATR_DEXTERITY] = 150; attribute[ATR_HITPOINTS_MAX] = 150; attribute[ATR_HITPOINTS] = 150; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA...
D
module glwtf.input; private { import glwtf.glfw; import glwtf.signals; import std.conv : to; } AEventHandler cast_userptr(GLFWwindow* window) out (result) { assert(result !is null, "glfwGetWindowUserPointer returned null"); } body { void* user_ptr = glfwGetWindowUserPointer(window); ...
D
module lix.skill.cuber; import game.physdraw; import game.terchang; import lix; class Cuber : Leaver { enum cubeSize = 16; mixin(CloneByCopyFrom!"Cuber"); override UpdateOrder updateOrder() const { return UpdateOrder.adder; } override void onBecomeLeaver() { if (facingLeft) { ...
D
module a; version = sym; version(sym) import b;
D
instance PC_MAGE_NW(NPC_DEFAULT) { name[0] = "Милтен"; guild = GIL_KDF; id = 12; voice = 3; flags = NPC_FLAG_IMMORTAL; npctype = NPCTYPE_FRIEND; b_setattributestochapter(self,6); fight_tactic = FAI_HUMAN_STRONG; b_createambientinv(self); b_setnpcvisual(self,MALE,"Hum_Head_Bald",FACE_N_MILTEN,BODYTEX_N,itar_k...
D
/* REQUIRED_ARGS: -dip1000 PERMUTE_ARGS: TEST_OUTPUT: --- fail_compilation/retscope.d(23): Error: scope variable p may not be returned fail_compilation/retscope.d(33): Error: returning `b ? nested1(& i) : nested2(& j)` escapes a reference to local variable `j` fail_compilation/retscope.d(46): Error: scope variable p as...
D
instance BDT_10018_Addon_Torwache (Npc_Default) { // ------ NSC ------ name = NAME_TORWACHE; guild = GIL_BDT; id = 10018; voice = 4; flags = 0; npctype = NPCTYPE_BL_MAIN; //---aivars----- aivar[AIV_NewsOverride] = TRUE; aivar[AIV_ToughGuyNewsOverride] = TRUE; // ------ Attribute ------ B...
D
//Org: Andrej Mitrovic 9 Aug 2011 - in ng: d.D //#bit of other stuff here import std.traits; string FieldInit(T, int len, string fun)() { string result; // auto fields = [__traits(allMembers, T)]; auto fields = [__traits(allMembers, T)][ 0 .. len ]; result ~= "this("; foreach (y, x; (Representatio...
D
a poisonous crystalline alkaloid (isometric with atropine but more potent
D
a feeling of stupefied astonishment marginal consciousness the action of stupefying
D
/++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Copyright (c) 2010 by Álvaro Castro-Castilla, All Rights Reserved. + Licensed under the MIT/X11 license, see LICENSE file for full description ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/ module math...
D
module android.java.android.os.TestLooperManager_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.android.os.MessageQueue_d_interface; import import2 = android.java.android.os.Ha...
D
/Users/apple/Desktop/save/HW9.01/build/HW9.01.build/Debug-iphonesimulator/HW9.01.build/Objects-normal/x86_64/SwiftSpinner.o : /Users/apple/Desktop/save/HW9.01/HW9.01/LegiTableViewController.swift /Users/apple/Desktop/save/HW9.01/HW9.01/LegiHouseTableViewController.swift /Users/apple/Desktop/save/HW9.01/HW9.01/BillNewCe...
D
/Users/stevepint/dev/sgp/github/SPCamera/.build/x86_64-apple-macosx/debug/SPCamera.build/Views/PreviewView.swift.o : /Users/stevepint/dev/sgp/github/SPCamera/Sources/SPCamera/Configuration.swift /Users/stevepint/dev/sgp/github/SPCamera/Sources/SPCamera/Views/CameraButton.swift /Users/stevepint/dev/sgp/github/SPCamera/S...
D
/Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/deps/scopeguard-6185fb5c3a2b4e58.rmeta: /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-1.0.0/src/lib.rs /Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/deps/libscopeguard-6185fb5c3a2b4e58.rlib: /Users/dimdew/....
D
module physics.job.walker; import physics.job; class Walker : Job { public: enum highestStepUp = 12; override AfterAssignment onManualAssignment(Job old) { // In general: Since we have callBecomeAfterAssignment == false, // if we decide to become walker after all, we have to set our frame...
D
// Written in the D programming language. // Regular Expressions /* * Copyright (C) 2000-2005 by Digital Mars, www.digitalmars.com * Written by Walter Bright * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arisi...
D
/Users/kubat/Documents/Tutorials/AdvancedNotes/Build/Intermediates/AdvancedNotes.build/Debug-iphonesimulator/AdvancedNotes.build/Objects-normal/x86_64/Picture+CoreDataProperties.o : /Users/kubat/Documents/Tutorials/AdvancedNotes/AdvancedNotes/ManagedObjects/Paragraph+CoreDataProperties.swift /Users/kubat/Documents/Tuto...
D
module pegged.performancetest.cursive.reader; import std.datetime; import pegged.performancetest.cursive.parser; void main(string[] args) { import std.stdio, std.file; string input = readText(args[1]); int N = 100; auto time = benchmark!( () => Cursive(input) )(N); writeln("Parser 1: ",...
D
$NetBSD$ Stolen from https://github.com/nrTQgc/druntime/tree/netbsd --- runtime/druntime/src/core/sys/posix/sys/uio.d.orig 2016-02-13 20:02:16.000000000 +0000 +++ runtime/druntime/src/core/sys/posix/sys/uio.d @@ -70,6 +70,17 @@ else version( FreeBSD ) ssize_t readv(int, in iovec*, int); ssize_t writev(int, ...
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/IdentityVerification.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/ByteBufferBIO.swift /Users/panartem/Developer/Study/Mic...
D
/** A HTTP 1.1/1.0 server implementation. Copyright: © 2012-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, Jan Krüger, Ilya Shipunov */ module vibe.http.server; public import vibe.core.net; public import vibe.http.co...
D
/** * Register allocator * * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1985-1998 by Symantec * Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Wa...
D
/***********************************************************************\ * lmuse.d * * * * Windows API header module * * ...
D
module game.entity.entity; import engine; import game.controller; abstract class Entity { public: Vector2f position = Vector2f(0,0); Vector2f velocity = Vector2f(0,0); double angle = 0; abstract void draw() const; abstract void update( double delta ); } abstract class ControllableEntity : Entity, Controllabl...
D
// Written in the D programming language. /** Functions for starting and interacting with other processes, and for working with the current process' execution environment. Process_handling: $(UL $(LI $(LREF spawnProcess) spawns a new process, optionally assigning it an arbitrary set of standard input, output,...
D
void main() { import std.stdio; enum n = 5; int[n][n] M; int pos, side = n; foreach (i; 0 .. (n / 2 + n % 2)) { foreach (j; 0 .. side) M[i][i + j] = pos++; foreach (j; 1 .. side) M[i + j][n - 1 - i] = pos++; foreach_reverse (j; 0 .. side - 1) ...
D
module wx.TabCtrl; //! \cond VERSION version(none) { //! \endcond public import wx.common; public import wx.Event; public import wx.Control; public import wx.ImageList; public import wx.wxString; //! \cond EXTERN static extern (C) IntPtr wxTabEvent_ctor(int commandType, int id, int nSel, int nOldSel); static e...
D
module UnrealScript.Engine.MeshComponent; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.MaterialInstanceConstant; import UnrealScript.Engine.PrimitiveComponent; import UnrealScript.Engine.MaterialInterface; import UnrealScript.Engine.MaterialInstanceTimeVarying; extern(C++) in...
D
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/trust_dns_proto-739092a6ffc97695.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/trust-dns-proto-0.7.4/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/trust-dns-proto-0...
D
/** * Package module for the Poodinis Dependency Injection framework. * * Authors: * Mike Bierlee, m.bierlee@lostmoment.com * Copyright: 2014-2021 Mike Bierlee * 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. ...
D
// See the included license.txt for copyright and license details. /// module dfl.control; import dfl.internal.dlib, dfl.internal.clib, dfl.internal.gtk; import dfl.event, dfl.drawing, dfl.base; /// Flags for setting control bounds. enum BoundsSpecified: ubyte { NONE = 0, /// X = 1, /// ditto Y...
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
void main() { runSolver(); } void problem() { auto N = scan!int; auto L = scan!long; auto A = scan!long(N); auto solve() { auto heap = (new long[](0)).heapify!"a > b"; foreach(a; A) { heap.insert(a); L -= a; } if (L > 0) heap.insert(L); long ans; while(!heap.empty) { ...
D
int f(int i) { if (i == 0) return 1; f(i - 1); } pragma(msg, f(5) == 120);
D
/*#D*/ // Copyright © 2015, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/volt/license.d (BOOST ver. 1.0). module volta.parser.errors; import watt.text.format : format; import volta.ir.location : Location; import volta.ir.token : Token, TokenType, tokenToString; import volta.ir.base : NodeTy...
D