code
stringlengths
3
10M
language
stringclasses
31 values
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <!-- Mirrored from www.cospa.com/images/events/pc/pub/top_image/pub/top_image/pub/top_imag...
D
/** * Collectively imports the MonoBounD library modules. * * License: * * 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 "Soft...
D
/** * Copyright: Copyright Digital Mars 2010. * License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Jacob Carlborg * Version: Initial created: Feb 20, 2010 */ /* Copyright Digital Mars 2010. * Distributed under the Boost Software License, Version 1.0. * (See accompanying...
D
module unit; import std.exception; import std.stdio; import std.json : JSONValue; import changes.changelist; import changes.worldproxy; import clan; import clans; import inventory; import mission; import cgy.util.pos; import cgy.stolen.aabbox3d; import unittypemanager; import cgy.math.vector : vec3d; import worldst...
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/SQLCreateTableBuilder.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcrony...
D
module allocation; public import allocation.native; public import allocation.region; public import allocation.stack; public import allocation.gc; public import allocation.common; public import allocation.freelist;
D
/Users/zwelithinimathebula/Documents/Project/Yookos/build/Yookos.build/Release-iphoneos/Yookos.build/Objects-normal/arm64/AppDelegate.o : /Users/zwelithinimathebula/Documents/Project/Yookos/Yookos/ViewController.swift /Users/zwelithinimathebula/Documents/Project/Yookos/Yookos/ExtentionsMethods.swift /Users/zwelithinima...
D
/Users/slashare/zongjie/rust/code/messages-actix/target/debug/build/ryu-b8d96f571b142b7f/build_script_build-b8d96f571b142b7f: /Users/slashare/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs /Users/slashare/zongjie/rust/code/messages-actix/target/debug/build/ryu-b8d96f571b142b7f/build_script_build-b8...
D
/* Copyright (c) 2019 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execu...
D
module dwt.internal.mozilla.nsIDOMEntityReference; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsIDOMNode; const char[] NS_IDOMENTITYREFERENCE_IID_STR = "a6cf907a-15b3-11d2-932e-00805f8add32"; const nsIID NS_IDOMENTITYREFERENCE_IID= {0xa6cf907a, 0x15b3, 0x11d...
D
// ************ // SPL_FireBolt // ************ const int SPL_Cost_Firebolt = 3; var int SPL_Damage_Firebolt; //SPL_Damage_Firebolt = 25; INSTANCE Spell_Firebolt (C_Spell_Proto) { time_per_mana = 0; damage_per_level = SPL_Damage_Firebolt; damageType = DAM_MAGIC; }; func int Spell_Logic_Firebolt (var int ...
D
/Users/olegp/Desktop/XCoordinatorPlayground/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ObservableType+Extensions.o : /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwi...
D
/** * Written in the D programming language. * This module provides functions to uniform calculating hash values for different types * * Copyright: Copyright Igor Stepanov 2013-2013. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Igor Stepanov * Source: $(DRUNTIMESRC core/int...
D
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Differentiator.build/Objects-normal/x86_64/SectionModelType.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/Differentiator/Sources/Differentiator/IdentifiableType.swift /Users/sunchuyue/Doc...
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="TEMP_9agm.notation...
D
/home/alansky/Dev/Parity/substrate-node-template/target/debug/deps/ref_cast-545704107bde1a67.rmeta: /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.2/src/lib.rs /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-1.0.2/src/trivial.rs /home/alansky/Dev/Parity/substrate-node...
D
INSTANCE Info_Mod_Hero_Start_Charakter (C_INFO) { npc = PC_Hero; nr = 1; condition = Info_Mod_Hero_Start_Charakter_Condition; information = Info_Mod_Hero_Start_Charakter_Info; permanent = 0; important = 0; description = "Charakter wählen"; }; FUNC INT Info_Mod_Hero_Start_Charakter_Condition () { if (PLAYER_M...
D
main.d main.p1: C:/Users/Dinusha/Documents/PICProjects/PIC877AProjects/CProjects/DHT1100/main.c
D
/* * Hunt - a framework for web and console application based on Collie using Dlang development * * Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd * * Developer: putao's Dlang team * * Licensed under the BSD License. * */ module app.controller.index; import hunt; import app.middleware; import ...
D
/afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MadGraphME/obj/CPPProcess_P0_Sigma_heft_pp_Hjj_4l_heft_gux_epemmupmumgux.o /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MadGraphME/obj/CPPProcess_P0_Sigma_heft_pp_Hjj_4l_heft_gux_epemmupm...
D
instance ItPo_Addon_Geist_01(C_Item) { name = "Potion of mental alteration"; mainflag = ITEM_KAT_POTIONS; flags = ITEM_MULTI; value = VALUE_ALTERATION; visual = "ItPo_Perm_STR.3ds"; material = MAT_GLAS; on_state[0] = UseItPo_Geist_01; scemeName = "POTIONFAST"; description = name; text[2] = "Take PRECAUTIONS ...
D
<!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <!-- Mirrored...
D
module imports.m8668a; void split8668(T)(T k) if(is(T : string)) { }
D
/** * Written in the D programming language. * Module initialization routines. * * Copyright: Copyright Digital Mars 2000 - 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, Se...
D
// **************************************** // Exit // **************************************** INSTANCE DIA_Aidan_Exit (C_INFO) { npc = ORG_859_Aidan; nr = 999; condition = DIA_Aidan_Exit_Condition; information = DIA_Aidan_Exit_Info; permanent = 1; description = DIALOG_ENDE; }; ...
D
/* * hunt-proton: AMQP Protocol library for D programming language. * * Copyright (C) 2018-2019 HuntLabs * * Website: https://www.huntlabs.net/ * * Licensed under the Apache-2.0 License. * */ module hunt.proton.codec.AMQPDefinedTypes; import hunt.proton.codec.messaging.DataType; import hunt.p...
D
/** * A library in the OMF format, a legacy format for 32-bit Windows. * * Copyright: Copyright (C) 1999-2021 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) * So...
D
/** * Defines lexical tokens. * * Specification: $(LINK2 https://dlang.org/spec/lex.html#tokens, Tokens) * * 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/LICEN...
D
module libpng.png; /* png.h - header file for PNG reference library * * libpng version 1.6.16, December 22, 2014 * Copyright (c) 1998-2014 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This code is re...
D
/+ + Copyright (c) 2014-2020 The Khronos Group Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and/or associated documentation files (the "Materials"), + to deal in the Materials without restriction, including without limitation + the rights to use, copy, ...
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 273 54 4 0 46 48 -33.5 151.300003 1769 6 6 1 intrusives, basalt 320 63 9 15.5 34 65 -38 145.5 1854 16 16 0.483870968 extrusives 314 70 6 132 48 50 -33.2999992 151.199997 1844 9 10 1 intrusives, basalt 302.700012 66.8000031 6.80000019 35 34 65 -3...
D
/root/tkms/TSS/opaque-debug/target/debug/deps/sgx_libc-d9ff173098a5cbfc.rmeta: /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/a6a172e/sgx_libc/src/lib.rs /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d/a6a172e/sgx_libc/src/macros.rs /root/.cargo/git/checkouts/teaclave-sgx-sdk-be25c2ad2f03718d...
D
module hunt.http.codec.http.model.MultiPartOutputStream; // import java.io.FilterOutputStream; // import hunt.Exceptions; // import java.io.OutputStream; // import java.nio.charset.StandardCharsets; // class MultiPartOutputStream :FilterOutputStream { // private static byte[] __CRLF = { '\r', '\n' }; // private st...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string; void main() { long h, w; readf("%d %d", &h, &w); if (h%3 == 0 || w%3 == 0) { writeln("0"); return; } long ret_d = long.max; foreach (wd; 1..w) { auto hb = h * wd; auto wb1 = (h+1)/2 * (w-wd); ...
D
/Users/sara/Developer/CDSwiftAST/.build/x86_64-apple-macosx10.10/debug/Bocho.build/SwiftExtensions/String+Indentation.swift.o : /Users/sara/Developer/CDSwiftAST/.build/checkouts/bocho-9204563082657130146/Sources/Bocho/DotYanagiba/DotYanagiba+Merge.swift /Users/sara/Developer/CDSwiftAST/.build/checkouts/bocho-9204563082...
D
instance SLD_804_Rod (Npc_Default) { // ------ NSC ------ name = "Rod"; guild = GIL_SLD; id = 804; voice = 6; flags = 0; //NPC_FLAG_IMMORTAL oder 0 npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 2); //setzt Attribute und LEV...
D
#!/usr/bin/env dub /+ dub.sdl: name "snippet39" dependency "dwt" path="../../../../../../" libs \ "atk-1.0" \ "cairo" \ "dl" \ "fontconfig" \ "gdk-x11-2.0" \ "gdk_pixbuf-2.0" \ "glib-2.0" \ "gmodule-2.0" \ "gnomeui-2" \ "gnomevfs-2" \ "gobjec...
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 243.699997 85.5 10.1000004 21.2000008 42 47 38.4000015 -79.4000015 1634 11.8000002 15.3999996 0.600465531 intrusives 309 80 2 0 35 56 72 -112 1699 3.79999995 3.9000001 0.980198673 intrusives, diabase 217 85 16 60 35 56 72 -112 1697 31 31 0.27803...
D
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EZSwiftExtensions.build/Objects-normal/x86_64/UserDefaultsExtension.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/EZSwiftExtensions/Sources/BlockSwipe.swift /Users/sunchuyue/Documents/tes...
D
import tango.io.Stdout; import tango.core.Vararg; int[][] grid = [ [ 8, 02, 22, 97, 38, 15, 00, 40, 00, 75, 04, 05, 07, 78, 52, 12, 50, 77, 91, 8], [49, 49, 99, 40, 17, 81, 18, 57, 60, 87, 17, 40, 98, 43, 69, 48, 04, 56, 62, 00], [81, 49, 31, 73, 55, 79, 14, 29, 93, 71, 40, 67, 53, 88, 30, 03, 49, 13, 36, 65], [52...
D
/** * TLS Protocol Constants * * Copyright: * (C) 2004-2010,2015 Jack Lloyd * (C) 2014-2015 Etienne Cimon * * License: * Botan is released under the Simplified BSD License (see LICENSE.md) */ module botan.tls.magic; import botan.constants; static if (BOTAN_HAS_TLS): package: /** * Protocol Constants for TLS */ alias...
D
/Users/Rami/Desktop/TaskCompanyUSA/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/Rami/Desktop/TaskCompanyUSA/Pods/Alamofire/Source/MultipartFormData.swift /Users/Rami/Desktop/TaskCompanyUSA/Pods/Alamofire/Source/Timeline.swift /Users/Rami/Desktop/TaskCompanyUSA/Pods/Al...
D
/Users/Thomas_Stuart/Library/Mobile\ Documents/com~apple~CloudDocs/Desktop/XcodeProjects/MediumArticleSwiftReusableCode/Build/Intermediates/Previews/MediumArticleSwiftReusableCode/Intermediates.noindex/MediumArticleSwiftReusableCode.build/Debug-iphonesimulator/MediumArticleSwiftReusableCode.build/Objects-normal/x86_64/...
D
module source.Matrix; import std.algorithm; import std.complex; import std.conv: to; import std.exception: assertThrown, enforce; import std.math; import std.numeric : Fft, dotProduct; import std.random; import std.range : iota, array; import std.string; import source.Parameter; version(unittest) { ...
D
module godot.tileset; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.d.bind; import godot.object; import godot.classdb; import godot.resource; import godot.texture; import godot.shadermaterial; import godot.shape2d; import godo...
D
/Volumes/iMacProjetos/Curso/Rocketseat/GoNative/module4/ios/build/module4/Build/Intermediates.noindex/RNTrackPlayer.build/Debug-iphonesimulator/RNTrackPlayer.build/Objects-normal/x86_64/AVPlayerTimeObserver.o : /Volumes/iMacProjetos/Curso/Rocketseat/GoNative/module4/node_modules/react-native-track-player/ios/RNTrackPla...
D
/******************************************************************************* * Copyright (c) 2000, 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, an...
D
/** * Copyright: (c) 2005-2009 Eric Poggel * Authors: Eric Poggel * License: <a href="lgpl3.txt">LGPL v3</a> * * Import every module in the yage.system.graphics package. */ module yage.system.sound.all; public { import yage.system.sound.openal; import yage.system.sound.soundsystem; }
D
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/Console.build/Activity/ActivityIndicatorState.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/console.git--2431895819212044213/Sources/Console/Terminal/ANSI.swift /Users/Khanh/vapor/TILApp/.build/checkouts/console.git--2431895819212044213/Sources/Cons...
D
module app.model.User; import hunt.entity; @Table("users") class User : Model { mixin MakeModel; @AutoIncrement @PrimaryKey ulong id; string username; string password; string email; uint created; uint updated; }
D
/** Mirror _modsupport.h Module support interface */ module deimos.python.modsupport; import std.c.stdio; import deimos.python.pyport; import deimos.python.object; import deimos.python.methodobject; import deimos.python.moduleobject; extern(C): // Python-header-file: Include/modsupport.h: version(Python_2_5_...
D
@OneOf("group1") { JSONValue[string] fred; bool mertz; bool ethel; }
D
import std.stdio; void main() { double n; readf("%s\n", &n); writef("%.2f\n", (n*7)/2); }
D
instance PAL_91520_RITTER(Npc_Default) { name[0] = NAME_Ritter; guild = GIL_PAL; id = 91520; voice = 8; flags = 0; npcType = NPCTYPE_OCAMBIENT; B_SetAttributesToChapter(self,6); fight_tactic = FAI_HUMAN_MASTER; EquipItem(self,ItMw_2H_Blessed_02); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_...
D
import std.stdio; import std.algorithm; import std.math; import std.string; import std.array; import std.conv; import dplug.core; import dplug.host; import colorize; import waved; void usage() { writeln("Usage:"); writeln(" latency-check [-preset n] [-param n value] <plugin-path>"); writeln(); ...
D
module UnrealScript.UnrealEd.LensFlareEditorOptions; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Core.UObject; extern(C++) interface LensFlareEditorOptions : UObject { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticC...
D
func void ZS_MM_AttackMage () { PrintDebugNpc (PD_ZS_FRAME, "ZS_MM_AttackMage" ); Npc_PercEnable (self, PERC_ASSESSDAMAGE, B_MMM_CombatReactToDamage ); Npc_PercEnable (self, PERC_ASSESSMAGIC, B_AssessMagic ); Npc_GetTarget (self); B_SelectWeapon (self, other); }; func int ZS_MM_AttackMag...
D
import weka.BXX.ZE.BF; import weka.BXX.FF; struct VJ { GF* WJ(LJ , bool delegate(GF*) ) { } auto TJ(JB)(LJ RJ) { bool ZJ(GF* WF) { return !WF; } auto WF = WJ(RJ, &ZJ); return WF.UF!JB; } } VJ SJ;
D
instance PAL_9160_ORTO(Npc_Default) { name[0] = "Orto"; guild = GIL_PAL; id = 9160; voice = 8; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,5); fight_tactic = FAI_HUMAN_MASTER; EquipItem(self,ItMw_1H_Blessed_02); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Fighter",Face_...
D
import std.array: array; struct Foo1 { int i; } struct Foo2 { immutable int i; } void main() { enum r1 = [Foo1(1)].array; // OK enum r2 = [Foo2(1)].array; // Error }
D
module david.input.posix; import std.bitmanip : bitfields; enum InputCode //: WPARAM { a = 'A', b = 'B', c = 'C', d = 'D', e = 'E', f = 'F', g = 'G', h = 'H', i = 'I', j = 'J', k = 'K', l = 'L', m = 'M', n = 'N', o = 'O', p = 'P', ...
D
/* Copyright (c) 2011-2013 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute...
D
/* * Hello Object DLL Self-Registering Server * Heavily modified from: */ /* * SELFREG.CPP * Server Self-Registrtation Utility, Chapter 5 * * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved * * Kraig Brockschmidt, Microsoft * Internet : kraigb@microsoft.com * Compuserve: >INTERNET:kraig...
D
module tango.stdc.complex; pragma(lib, "rulada.lib"); public import rt.core.stdc.complex_;
D
/** * TLS Cipher Suites * * Copyright: * (C) 2004-2011,2012 Jack Lloyd * (C) 2014-2015 Etienne Cimon * * License: * Botan is released under the Simplified BSD License (see LICENSE.md) */ module botan.tls.ciphersuite; import botan.constants; static if (BOTAN_HAS_TLS): import botan.utils.types; import botan.libstate....
D
instance ORG_867_SANCHO(Npc_Default) { name[0] = "Sancho"; npcType = npctype_main; guild = GIL_None; level = 12; voice = 13; id = 867; attribute[ATR_STRENGTH] = 75; attribute[ATR_DEXTERITY] = 50; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 214; attribute[ATR_HITPOINT...
D
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIO.build/System.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.sw...
D
void main() { runSolver(); } void problem() { auto L = scan!long; auto R = scan!long; auto solve() { const dmax = min(10^^6, R - L); foreach(d; 0..dmax) foreach(dl; 0..d + 1) { const dr = d - dl; const l = L + dl; const r = R - dr; if (gcd(l, r) == 1) { return r - l; ...
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
/****************************************************************************** Custom dparse visitor class iterates resulting AST and creates mappings between language constructs that need to be converted and token indexes in the original lexed array. Copyright: Copyright (c) 2016 Sociomantic Labs. A...
D
module socketio.transport; import vibe.core.core; import vibe.core.signal; import vibe.data.json; import vibe.http.server; import vibe.http.websockets; import socketio.parameters, socketio.socketio, socketio.parser; import core.time; class EventObject { alias void delegate(Json[] data) Handler; ...
D
module imports.test5230a; class Base { int method() out (res) { } body { return 42; } }
D
import std.stdio; void main() { MyClass myClass = Allocator!MyClass.New(10); } template Allocator(alias className) { className New(Args...)(Args args) { return new className(args); } } class MyClass { this(int i) { writefln("New MyClass constructed with i = %s", i ); } }
D
/** * Windows API header module * * Translated from MinGW API for MS-Windows 3.12 * * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DRUNTIMESRC src/core/sys/windows/_winnt.d) */ module core.sys.windows.winnt; version (Windows): @system: version (ANSI) {} else version = Un...
D
class A { this() {} } class B : A { this() { static if (__traits(compiles, super())) super(); } }
D
// ************************************************************************* // Kapitel 1 // ************************************************************************* // ************************************************************************* // EXIT // *********************************************...
D
/** $(SCRIPT inhibitQuickIndex = 1;) This is a submodule of $(MREF std, experimental, ndslice). Selectors create new views and iteration patterns over the same data, without copying. $(H2 Subspace selectors) Subspace selectors serve to generalize and combine other selectors easily. For a slice of `Slice!(N, Range)`...
D
/* * International System of Units (SI) units and prefixes for use with * $(D std.units). * * The definitions have been taken from the NIST Special Publication 330, * $(WEB http://physics.nist.gov/Pubs/SP330/sp330.pdf, The International * System of Units), 2008 edition. * * Todo: $(UL * $(LI Do something abou...
D
import des.util.logsys; void main() { logger.fatal( "fatal message" ); logger.error( "error message" ); logger.warn( "warn message" ); logger.info( "info message" ); logger.Debug( "debug message" ); logger.trace( "trace message" ); }
D
import std.stdio, std.math, std.algorithm, std.range; /*auto*/ creal[] fft(/*in*/ creal[] x) /*pure nothrow*/ { int N = x.length; if (N <= 1) return x; auto ev = stride(x, 2).array().fft(); auto od = stride(x[1 .. $], 2).array().fft(); auto l = map!(k => ev[k] + expi(-2*PI*k/N) * od[k])(iota(N / 2)...
D
module temple.tests.capture; version(TempleUnittest): import temple.tests.common; unittest { // test captures auto test = compile_temple!q{ <% auto a = capture(() { %> This is captured in A <% }); %> <% auto b = capture(() { %> This is captured in B <% }); %> B said: "<%= b %>" A said: "<%= a %>"...
D
not in agreement or harmony lacking in harmony
D
instance DIA_SENTENZA_EXIT(C_INFO) { npc = sld_814_sentenza; nr = 999; condition = dia_sentenza_exit_condition; information = dia_sentenza_exit_info; permanent = TRUE; description = DIALOG_ENDE; }; func int dia_sentenza_exit_condition() { return TRUE; }; func void dia_sentenza_exit_info() { AI_StopProcessIn...
D
/Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/HeaderFooterView.o : /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Eureka/Source/Validations/RuleURL.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Eureka/Source/Validations/...
D
module os.win.xml.all; public import os.win.xml.core, os.win.xml.dom, os.win.xml.xsl, os.win.xml.streaming;
D
module grpc.GrpcService; import grpc.GrpcStream; import grpc.Status; import hunt.http.codec.http.frame; import hunt.http.codec.http.stream; import hunt.http.codec.http.model; import hunt.util.Common; import std.conv; HeadersFrame endHeaderFrame(Status status , int streamId) { HttpFields end_fileds = new HttpFi...
D
module bullet2._Examples.helloworld; import bullet2; void bulletHelloWorld() { ///-----includes_end----- ///-----initialization_start----- ///collision configuration contains default setup for memory, collision setup. Advanced users can create their own configuration. btDefaultCollisionConfiguration collisio...
D
/// Global enumerations. module dgt.core.enums; /// horizontal or vertical orientation enum Orientation { horizontal, vertical } /// ditto @property bool isHorizontal(in Orientation orientation) pure { return orientation == Orientation.horizontal; } /// ditto @property bool isVertical(in Orientation orie...
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
/******************************************************************************* * 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, an...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range; void get(Args...)(ref Args args) { import std.traits, std.meta, std.typecons; static if (Args.length == 1) { alias Arg = Args[0]; static if (isArray!Arg) { ...
D
module derelict.x11.extensions.Xrandr; version(linux): /* * Copyright © 2000 Compaq Computer Corporation, Inc. * Copyright © 2002 Hewlett-Packard Company, Inc. * Copyright © 2006 Intel Corporation * Copyright © 2008 Red Hat, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * ...
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.stream; import vibe.core.driver; import vibe.core.log; import ...
D
module extensions.gctracker; import extensions; static if (false && HasModule!"extensions.errorlist"): import gui.event; import gui.label; import controls.texteditor; import core.buffer; import extensions.errorlist; import std.stdio; import std.regex; class GCAllocAnchor : TextEditorAnchor { Label label; GCTracke...
D
import std.file; import std.json; import std.string; import std.uri; import std.net.curl; // some options when running the script... //version = MigrateMetadata; // starkos says he doesn't want the component or milestone data version = OnlyOpenBugs; version = MigrateComments; version = BlankAssignee; // starkos wants ...
D
/Users/abdirrahman/Desktop/rustsgame/target/rls/debug/deps/rustc_version-1b181852b1d8917f.rmeta: /Users/abdirrahman/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc_version-0.2.3/src/lib.rs /Users/abdirrahman/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc_version-0.2.3/src/errors.rs /Users/abdirrahman/Desk...
D
/* Copyright (c) 2017-2018 Timur Gafarov Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, ...
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
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.build/Schema/SchemaSupporting.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ID.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335...
D
module android.java.android.graphics.drawable.InsetDrawable; public import android.java.android.graphics.drawable.InsetDrawable_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!InsetDrawable; import import13 = android.java.android.graphics.drawable.Drawable_ConstantState; import import20 = andr...
D