code
stringlengths
3
10M
language
stringclasses
31 values
/++ Webインターフェースの利用 Source: $(LINK_TO_SRC thirdparty/vibe-d/source/vibed_usage/_web.d) +/ module vibed_usage.web; import vibed_usage._common; /++ Webインターフェースを利用する Webインターフェースを利用すると、D言語のメタプログラミングを使って、クラスのメソッド名からURLへのルーティングやPOSTパラメーターの自動生成などができます。 See_Also: - https://vibed.org/docs#web-interface-generator - https://v...
D
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/Utilities/HTMLEscape.swift.o : /Users/nice/HelloWord/.build/checkouts/template-kit.git--8055025670042454083/Sources/TemplateKit/Data/TemplateData.swift /Users/nice/HelloWord/.build/checkouts/template-kit.git--8055025670042454083/Sources/Templ...
D
var int Gorax_ItemsGiven_Chapter_1; var int Gorax_ItemsGiven_Chapter_2; var int Gorax_ItemsGiven_Chapter_3; var int Gorax_ItemsGiven_Chapter_4; var int Gorax_ItemsGiven_Chapter_5; FUNC VOID B_GiveTradeInv_Mod_Gorax_NW (var C_NPC slf) { if ((Kapitel >= 1) && (Gorax_ItemsGiven_Chapter_1 == FALSE)) { CreateInvItems ...
D
/+ + Copyright 2022 – 2023 Aya Partridge + 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 sdl.log; import bindbc.sdl.config; impo...
D
import mecab; import std.algorithm; import std.array; import std.string; import std.math : log; import std.conv : to; import std.stdio; import std.format; import std.file; import std.range; enum Parts { NOUN, VERB, ADJECTIVE } struct Dic { Word[string] words; alias words this; static struct Word { ...
D
/Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Concat.o : /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test2/Pods/R...
D
/******************************************************************************* * Copyright (c) 2000, 2005 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
func int b_getgreatestpetzcrime(var C_NPC slf) { if(c_npcbelongstooldcamp(slf)) { if(PETZCOUNTER_OLDCAMP_MURDER > 0) { return CRIME_MURDER; }; if(PETZCOUNTER_OLDCAMP_THEFT > 0) { return CRIME_THEFT; }; if(PETZCOUNTER_OLDCAMP_ATTACK > 0) { return CRIME_ATTACK; }; if(PETZCOUNTER_OLDCAMP_SH...
D
/* TEST_OUTPUT: --- int delegate() pure nothrow @nogc @safe delegate() pure nothrow @nogc @safe delegate() pure nothrow @safe int delegate() pure nothrow @nogc @safe delegate() pure nothrow @nogc @safe delegate() pure nothrow @safe int int int[] int delegate() pure nothrow @nogc @safe function() pure nothrow @safe --- ...
D
/** * Windows API header module * * Translated from MinGW Windows headers * * Authors: Stewart Gordon * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DRUNTIMESRC src/core/sys/windows/_ole.d) */ module core.sys.windows.ole; version (Windows): pragma(lib, "ole32"); private...
D
/** * Module for parsing scopes. * * License: MIT (https://github.com/Royal Programming Language/bl/blob/master/LICENSE) * * Copyright 2019 © Royal Programming Language - All Rights Reserved. */ module parser.scopeparser; import core.tokenizer; import core.errors; import core.debugging; import parser.meta; import par...
D
module UnrealScript.Engine.SpeechRecognition; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Core.UObject; extern(C++) interface SpeechRecognition : UObject { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mix...
D
// https://issues.dlang.org/show_bug.cgi?id=17955 /* TEST_OUTPUT: --- fail_compilation/fail17955.d(81): Error: cannot create instance of abstract class `SimpleTimeZone` fail_compilation/fail17955.d(81): function `bool hasDST()` is not implemented fail_compilation/fail17955.d(93): Error: template instance `fail17...
D
module dcpu16.emulator.idevice; import dcpu16.emulator: Computer; abstract class /*interface*/ IDevice { uint id() const pure; ushort ver() const pure; uint manufacturer() const pure; void handleHardwareInterrupt(Computer); void reset(); }
D
/* * This file was automatically generated by sel-utils and * released under the MIT License. * * License: https://github.com/sel-project/sel-utils/blob/master/LICENSE * Repository: https://github.com/sel-project/sel-utils * Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/raknet8...
D
/* REQUIRED_ARGS: -mcpu=native -transition=intpromote PERMUTE_ARGS: -O -inline -release */ import core.stdc.stdio; void testgoto() { int i; i = 3; goto L4; L3: i++; goto L5; L4: goto L3; L5: assert(i == 4); } int testswitch() { int i; i = 3; switch (i) { case 0: case...
D
import std.stdio, std.array, std.conv, std.string, std.file, std.path; import pegged.grammar; import core.stdc.stdlib; import statements; import basicstdlib; import nucleus; import stringlib; import globals; struct Variable { ushort location; string name; char type; ushort[2] dimensions = [1,1]; bool isConst = fa...
D
module android.java.android.renderscript.Script_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import3 = android.java.android.renderscript.Element_d_interface; import import4 = android.java.java.lang...
D
INSTANCE Info_Mod_HofstaatHundefutter_Hi (C_INFO) { npc = Mod_7334_HS_Typ_REL; nr = 1; condition = Info_Mod_HofstaatHundefutter_Hi_Condition; information = Info_Mod_HofstaatHundefutter_Hi_Info; permanent = 0; important = 0; description = "Hey!"; }; FUNC INT Info_Mod_HofstaatHundefutter_Hi_Condition() { retur...
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
module DryEngine.render.commandbuffer; class CommandBuffer { private byte[] _allocator; private size_t _allocatorOffset; }
D
/** * Configures and initializes the backend. * * Copyright: Copyright (C) 1999-2023 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:...
D
module android.java.java.util.EnumMap; public import android.java.java.util.EnumMap_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!EnumMap; import import5 = android.java.java.util.Collection; import import4 = android.java.java.util.Set;
D
INSTANCE Info_Mod_Dusty_Hi (C_INFO) { npc = Mod_1724_PSINOV_Dusty_NW; nr = 1; condition = Info_Mod_Dusty_Hi_Condition; information = Info_Mod_Dusty_Hi_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Dusty_Hi_Condition() { return 1; }; FUNC VOID Info_Mod_Dusty_Hi_Info() { AI_Output(self, hero, "Info...
D
instance GardeInnos_4098_Danae (Npc_Default) { //-------- primary data -------- name = "Danae"; Npctype = Npctype_main; guild = GIL_NONE; level = 80; voice = 0; id = 4098; //-------- abilities -------- B_SetAttributesToChapter (self, 6); level = 80; //-------- visuals -------- /...
D
module euler.solutions._4; import euler.common.solutions; mixin solution!(4, { int leftSide = 999; long num = make_pali(leftSide); while (!check(num)) { leftSide--; num = make_pali(leftSide); } return num; }); int make_pali(int num) { int c = num % 10; int b = (num / 10) % 10; int a = num / 100; ...
D
/* TEST_OUTPUT: --- fail_compilation/fail19729.d(35): Error: `fail19729.C.__ctor` called with argument types `(string)` matches both: fail_compilation/fail19729.d(18): `fail19729.C.Templ!string.this(string t)` and: fail_compilation/fail19729.d(18): `fail19729.C.Templ!string.this(string t)` fail_compilation/fail...
D
/Users/salsabilaazaria/Desktop/urskinappProject/Build/Intermediates.noindex/urskinappProject.build/Debug-iphonesimulator/urskinappProject.build/Objects-normal/x86_64/profilepage.o : /Users/salsabilaazaria/Desktop/urskinappProject/urskinappProject/profilepage/profilepage.swift /Users/salsabilaazaria/Desktop/urskinappPro...
D
//-------------------------------------- // Baum / Knoten. Für Vobtree //-------------------------------------- //template <class T> class zCTree { var int parent; //zCTree* var int firstChild; //zCTree* var int next; //zCTree* var int prev; //zC...
D
// Copyright © 2011, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/charge/charge.d (GPLv2 only). module charge.math.picture; import charge.math.color; import charge.sys.resource; import charge.sys.logger; import charge.sys.file; import charge.util.png; import charge.util.memory; class Pictu...
D
/Users/TK/projects/Swift/NetworkViewer/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/TK/projects/Swift/NetworkViewer/Pods/Alamofire/Source/MultipartFormData.swift /Users/TK/projects/Swift/NetworkViewer/Pods/Alamofire/Source/Timeline.swift /Users/TK/projec...
D
/home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/EventLoop/obj/ut_streamer.o /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/EventLoop/obj/ut_streamer.d : /home/shepj/xaod/ROOTAnalysisTutorial/EventLoop/test/ut_streamer.cxx /home/shepj/xaod/ROOTAnalysisTutorial/Eve...
D
/Users/christosnikolakakos/workspace/CheckMate/Build/Intermediates/CheckMate.build/Debug-iphoneos/CheckMate.build/Objects-normal/arm64/Photo.o : /Users/christosnikolakakos/workspace/CheckMate/CheckMate/Photo.swift /Users/christosnikolakakos/workspace/CheckMate/CheckMate/hystoryTableViewController.swift /Users/christosn...
D
/* Written in the D programming language. For git maintenance (ensure at least one congruent line with originating C header): #define crypto_scalarmult_curve25519_H */ module deimos.sodium.crypto_scalarmult_curve25519; extern(C) @nogc pure : enum crypto_scalarmult_curve25519_BYTES = 32U; size_t crypto_scalarmult_...
D
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/CombineLatest.o : /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sjwu/video/HouseHold/Pods/Rx...
D
import std.stdio; struct RECT { int x; int y; int w; int h; } alias uint COLOR; interface ICalculated { void GetCalculatedRelativeRect( RECT* rect ); COLOR GetCalculatedForeColor(); COLOR GetCalculatedBackColor(); } interface IEvable { // } interface ISurface { // } inter...
D
/Users/Lambert/Desktop/demo/DerivedData/demo1/Build/Intermediates/demo1.build/Debug/KituraNet.build/Objects-normal/x86_64/FastCGIServerRequest.o : /Users/Lambert/Desktop/demo/Packages/Kitura-net-1.6.1/Sources/KituraNet/BufferList.swift /Users/Lambert/Desktop/demo/Packages/Kitura-net-1.6.1/Sources/KituraNet/ClientReques...
D
module mango.locale.constants; /** Defines the types of cultures that can be retrieved from Culture.getCultures. **/ public enum CultureTypes { Neutral = 1, /// Refers to cultures that are associated with a language but not specific to a country or region. Specific = 2, /// Refers t...
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
func void B_AssignAmbientInfos_Addon_PIR_7(var C_Npc slf) { };
D
module sys.registry; alias цел булево; /// Перечисление распознаваемых режимов доступа к реестру /// /// \ingroup group_D_win32_reg enum ПРежимДоступаКРеестру { ЗапросЗначения = 0x0001 //!< Разрешение запроса данных подключа , УстановкаЗначения = 0x0002 //!< Разрешение уст...
D
/* This version of microEmacs is based on the public domain C * version written by Dave G. Conroy. * The D programming language version is written by Walter Bright. * http://www.digitalmars.com/d/ * This program is in the public domain. */ module tcap; version (none) { import ed; import std.c.stdio; import c...
D
module dlangide.tools.d.dparser; version(USE_LIBDPARSE): import dlangui.core.logger; import std.d.lexer; import std.d.parser; import std.d.ast; import std.algorithm; import std.string; import std.path; import std.file; import std.conv; string importDeclToModuleName(const IdentifierChain chain) { char[] buf; ...
D
instance KDF_405_Torrez (Npc_Default) { //-------- primary data -------- name = "Torrez"; npctype = npctype_main; guild = GIL_MAG; level = 26; voice = 4; id = 405; //-------- abilities -------- attribute[ATR_STRENGTH] = 40; attribute[ATR_DEXTERITY] = 40; attribute[ATR_MANA_MAX] = 85;...
D
/Users/Benjamin/Desktop/Delivry/Delivry/DerivedData/Delivry/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoding.o : /Users/Benjamin/Desktop/Delivry/Delivry/Pods/Alamofire/Source/MultipartFormData.swift /Users/Benjamin/Desktop/Delivry/Delivry/Pods/Alamofir...
D
module IDL.IdlUnit; import std.uni; import std.algorithm.iteration; import std.array; import std.conv; import IDL.IdlParseStruct; static IdlParseStruct[string] idlStructList; static string[string] idlDlangVariable; enum CODE_LANGUAGE{ CL_DLANG, CL_CPP, CL_JAVA, CL_GOLANG } string stringToUpper(string s, const...
D
/** * Executable file loader. Should somewhat be like EXEC. */ module vdos.loader; import core.stdc.stdio : FILE, fopen, fseek, ftell, fclose, fread, SEEK_END, SEEK_SET; import core.stdc.stdlib : malloc, free; import vcpu.core, vcpu.utils; import vcpu.mm : mmfu16, mmiu16; import vdos.os : MinorVersion, MajorVersion...
D
/** Stuff with dependencies. Copyright: © 2012 Matthias Dondorff License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Matthias Dondorff, Sönke Ludwig */ module dub.dependency; import dub.internal.vibecompat.core.log; import dub.internal.vibecompat.core....
D
/** HIGH LEVEL NOTES This will offer a pollable state of two styles of controller: a PS1 or an XBox 360. Actually, maybe I'll combine the two controller types. Make L2 and R2 just digital aliases for the triggers, which are analog aliases for it. Then have a virtual left stick which has the dpad aliases, while...
D
module godot.boxcontainer; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.object; import godot.container; @GodotBaseClass struct BoxContainer { static immutable string _GODOT_internal_name = "BoxContainer"; public: union { go...
D
module android.java.android.companion.AssociationRequest_Builder_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import1 = android.java.android.companion.DeviceFilter_d_interface; import import2 = and...
D
/Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/TakeUntil.o : /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/R...
D
module org.serviio.upnp.protocol.TemplateApplicator; import freemarker.Template.Configuration; import freemarker.Template.DefaultObjectWrapper; import freemarker.Template.Template; import freemarker.Template.TemplateException; import java.lang.String; import java.io.IOException; import java.io.StringWriter; import jav...
D
prototype Mst_Default_Gobbo_Black(C_Npc) { name[0] = "Черный гоблин"; guild = GIL_GOBBO; aivar[AIV_MM_REAL_ID] = ID_GOBBO_BLACK; level = 10; attribute[ATR_STRENGTH] = 100; attribute[ATR_DEXTERITY] = 120; attribute[ATR_HITPOINTS_MAX] = 200; attribute[ATR_HITPOINTS] = 200; attribute[ATR_MANA_MAX] = 0; attribut...
D
/** Copyright: Copyright (c) 2017-2019 Andrey Penechko. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Andrey Penechko. */ /// Grammar /// Lexer /// Recursive descent parser /// For expressions pratt parser is used /// Copyright (c) 2017, Jean-Marc Bourguet /// https://github.com/bourguet/op...
D
/// Merges the mainline history of several D repositories /// by rearranging each mainline commit's tree (or a subtree) /// as a subtree in the created repo. /// Spec file passed on the command line has one repo per line, /// with 2-3 tab-separated fields per line: target subtree, /// source repository URL, and optiona...
D
module android.java.javax.security.auth.x500.X500Principal; public import android.java.javax.security.auth.x500.X500Principal_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!X500Principal; import import2 = android.java.java.lang.Class;
D
# FIXED cpu_usage.obj: C:/ti/motorware/motorware_1_01_00_17/sw/modules/cpu_usage/src/32b/cpu_usage.c cpu_usage.obj: C:/Users/tokol0sh/Source/Repos/telescopeController_Hardware/third\ party/motorware_1_01_00_16/sw/modules/cpu_usage/src/32b/cpu_usage.h cpu_usage.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/in...
D
module android.java.android.database.sqlite.SQLiteCantOpenDatabaseException; public import android.java.android.database.sqlite.SQLiteCantOpenDatabaseException_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!SQLiteCantOpenDatabaseException; import import4 = android.java.java.lang.Class; import...
D
module osm.pbf.blob; import std.algorithm; import std.conv; import std.exception; import std.range; import std.zlib; import util.filerange; import osm.pbf.osmpbf; import osm.pbf.osmpbffile; // Converts ubyte num to proper endian // Used on initial 4 bytes before a HeaderBlock private int toNative(ubyte[] num) { im...
D
/******************************************************************************* * Copyright (c) 2000, 2006 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
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
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/_olectlid.d) */ module core.sys.windows.olectlid; version (Windows): import core.sys.windows.basetyps;
D
/* TEST_OUTPUT: --- fail_compilation/b20011.d(25): Error: `S1(cast(ubyte)0u).member` is not an lvalue and cannot be modified fail_compilation/b20011.d(28): Error: `S2(null).member` is not an lvalue and cannot be modified fail_compilation/b20011.d(29): Error: `S2(null).member` is not an lvalue and cannot be modified fai...
D
//This does NOT loop properly. import deimos.ncurses; import std.conv : to; enum WIDTH = 30; enum HEIGHT = 10; int startx = 0; int starty = 0; immutable choices = ["Choice 1", "Choice 2", "Choice 3", "Choice 4", "Exit"]; int main() { scope (failure) endwin(); scope (exit) endwin(); WIND...
D
void main() { auto ip = readAs!(long[]), N = ip[0], P = ip[1]; auto A = readAs!(long[]); if(A.all!"a % 2 == 0") writeln(P == 0 ? 2^^N : 0); else writeln(2^^(N-1)); } // =================================== import std.stdio; import std.string; import std.functional; import std.algorithm; import std.range; import st...
D
instance VLK_430_Buergerin(Npc_Default) { name[0] = NAME_Buergerin; guild = GIL_VLK; id = 430; voice = 17; flags = 0; npcType = NPCTYPE_AMBIENT; aivar[AIV_ToughGuy] = TRUE; B_SetAttributesToChapter(self,1); fight_tactic = FAI_HUMAN_COWARD; B_CreateAmbientInv(self); EquipItem(self,ItMw_1h_Vlk_Dagger); B_Set...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2019 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
/* lilySV100 - Casio Loopy emulator written in D. */ /* Copyright (c) 2020, Lady Starbreeze */ module bus; import core.bitop : byteswap, bswap; import std.file; import std.stdio; import bios, cpu, file, type; /* RAM */ private u8[0x8_0000] ram; /* ROM */ private u8[] rom; private u8[0x200] pram; private u8[0x10000...
D
/** * The core.internal.atomic module comtains the low-level atomic features available in hardware. * This module may be a routing layer for compiler intrinsics. * * Copyright: Copyright Manu Evans 2019. * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Authors: Sean Kelly, Alex Rønne Pe...
D
instance Mod_767_BAU_Malak_NW (Npc_Default) { // ------ NSC ------ name = "Schäfer"; guild = GIL_OUT; id = 767; voice = 8; flags = 0; //NPC_FLAG_IMMORTAL oder 0 npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 2); //setzt Attri...
D
/********************************************************** ** ** LOGRAMM ** Interpreter ** ** (c) 2009-2014, Dr.Kameleon ** ********************************************************** ** src/backend/string.d **********************************************************/ module backend.string; //===============...
D
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. SPDX-License-Identifier: curl Long: cert-type Protocols: TLS Arg: <type> Help: Certificate type (DER/PEM/ENG/P12) See-also: cert key key-type Category: tls Example: --cert-type PEM --cert file $URL Added: 7.9.3 Multi: single --- Tells c...
D
/** * Copyright: (c) 2015-2018, Milofon Project. * License: Subject to the terms of the BSD 3-Clause License, as written in the included LICENSE.md file. * Author: <m.galanin@milofon.pro> Maksim Galanin * Date: 2018-08-15 */ module uninode.serialization; public { import vibe.data.serialization : byName, opti...
D
//#not work import std.stdio, std.conv, std.string; void main() { auto arr = [1,2,3]; writeln( arr.capacity ); // 3 arr ~= [4,5,6]; writeln( arr.capacity ); // 7 arr ~= [7,8,9]; writeln( arr.capacity ); // 15 //arr.capacity = 31; // error - arr.capacity is not an lvalue immutable resize = ` char[] a = "12".d...
D
module ml_engine.core.script.map_binding; import ml_engine.core.manager.tilemapmanager; import derelict.sdl2.sdl; import derelict.lua.lua; import std.conv; import std.stdio; import std.string; protected SDL_Renderer* renderTarget; void initMapScript(SDL_Renderer *renderer){ renderTarget = renderer; } extern(C) n...
D
// Written in the D programming language /** * MACROS: * GRAMMAR = <pre class="grammar">$0</pre> * RULEDEF = $(B $(DDOC_ANCHOR $0) $0) * RULE = $(LINK2 #$0, $0) * LITERAL = $(D_STRING $(I $0)) */ module std.d.parser; import std.d.lexer; import std.d.ast; import std.allocator; import std.conv; import std.algori...
D
/** * Windows API header module * * Translated from MinGW Windows headers * * Authors: Stewart Gordon * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DRUNTIMESRC src/core/sys/windows/_iptypes.d) */ module core.sys.windows.iptypes; version (Windows): import core.sys.windo...
D
// //------------------------------------------------------------------------------ // Copyright 2007-2011 Mentor Graphics Corporation // Copyright 2007-2010 Cadence Design Systems, Inc. // Copyright 2010 Synopsys, Inc. // Copyright 2014 Coverify Systems Technology // All Rights Reserved Worldwide // // Lic...
D
/***********************************************************************\ * winnt.d * * * * Windows API header module * * ...
D
module UnrealScript.Engine.MaterialExpressionPower; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.MaterialExpression; extern(C++) interface MaterialExpressionPower : MaterialExpression { public extern(D): private static __gshared ScriptClass mStaticClass; @property final st...
D
instance Mod_7400_OUT_Jorgen_OM (Npc_Default) { // ------ NSC ------ name = "Jorgen"; guild = GIL_OUT; id = 7400; voice = 0; flags = NPC_FLAG_IMMORTAL; //Joly: Immortal Kapitän fürs Schiff im Kapitel 5! Mortal, Optionale Kapitäne: Torlof und Jack!!!!!!!!! npctype = NPCTYPE_MAIN; // ------...
D
instance BDT_1021_LeuchtturmBandit(Npc_Default) { name[0] = NAME_Bandit; guild = GIL_BDT; id = 1021; voice = 13; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,3); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_2h_Sld_Sword); EquipItem(self,ItRw_Sld_Bow); B_CreateAmbientInv(self);...
D
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/BarChartView.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/...
D
module util.math; import std.traits; bool isPow2(T)(T x) if (isIntegral!T) { return (x & (x - 1)) == 0; } Signed!T maybeNegate(T)(T value, bool neg) { return (value - neg) ^ -neg; } unittest { foreach (ulong i; 0 .. 64) { assert(maybeNegate(i, false) == i); assert(maybeNegate(i, true) == -i); assert(maybeN...
D
module pacman.levelgen; import core.thread; import std.algorithm; import std.experimental.logger; import std.random; import std.range; import pacman.entity.grid; import pacman.globals; import pacman; //offsets for Neumann neighborhoods private immutable vec2i[] neumannOffsets; //offsets for Moore neighborhoods priv...
D
/** * Written in the D programming language. * This module provides Win32-specific support for sections. * * Copyright: Copyright Digital Mars 2008 - 2012. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanying file LICENSE) * Au...
D
module test.codec.http2.model.HttpFieldsTest; import hunt.collection; import hunt.Exceptions; import hunt.text.Common; import hunt.Assert; import hunt.http.codec.http.encode.HttpGenerator; import hunt.http.HttpField; import hunt.http.HttpFields; import hunt.http.HttpHeader; import hunt.http.HttpHeader; import hunt.ht...
D
/** * Windows API header module * * Translated from MinGW Windows headers * * Authors: Stewart Gordon * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DRUNTIMESRC src/core/sys/windows/_ntdef.d) */ module core.sys.windows.ntdef; version (Windows): @system: private import c...
D
/** * Modified to remove system dependance */ /** * Forms the symbols available to all D programs. Includes Object, which is * the root of the class object hierarchy. This module is implicitly * imported. * Macros: * WIKI = Object * * Copyright: Copyright Digital Mars 2000 - 2011. * License: $(WEB www...
D
// Copyright Ferdinand Majerech 2012. // 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) /// GUI classes used by Game. module ice.gamegui; import std.conv; import std.random; import std.stri...
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
/** Zips up ranges up together */ module ddash.algorithm.zip; /// @("Module example") unittest { auto r1 = [[1, 2, 3], [4, 5, 6]]; assert(r1.zipEach.equal([[1, 4], [2, 5], [3, 6]])); auto r2 = [[1, 3], [4, 5, 6]]; assert(r2.zipEach.equal([[1, 4], [3, 5]])); auto r3 = [[1, 3], [], [4, 5, 6]]; ...
D
import std.getopt; import bitmap; import std_all; /** * Prints bitmap data to a terminal using ANSI color codes and the unicode * half-height block character. As each terminal character corresponds to two * pixels, this can produce quite large images. * * @param pixels Image data */ void printBitmap (ubyte[3]...
D
module kerisy.provider.SessionServiceProvider; import kerisy.provider.ServiceProvider; import kerisy.config.ApplicationConfig; import kerisy.http.session.SessionStorage; import kerisy.Init; import hunt.cache.Cache; import poodinis; /** * */ class SessionServiceProvider : ServiceProvider { override void regi...
D
# FIXED F2837xD_PieCtrl.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/source/F2837xD_PieCtrl.c F2837xD_PieCtrl.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_device.h F2837xD_PieCtrl.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/assert.h F2837xD_Pie...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; enum P = 10L^^9+7; void main() { readln; auto as = readln.split.to!(long[]); long s, k = 1; foreach_reverse (a; as) { s = (s + k * a) % P; auto b = a; while (b) { ...
D
/** * This module implements functionality helpful for writing integration tests * as opposed to the unit variety where unit-tests are defined as not * having global side-effects. In constrast, this module implements * assertions that check for global side-effects such as writing to the * file system. */ module ...
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/glasses/Desktop/Move/Rustlang/generictypes/target/debug/deps/generictypes-4f26e5986526a45b: src/main.rs /Users/glasses/Desktop/Move/Rustlang/generictypes/target/debug/deps/generictypes-4f26e5986526a45b.d: src/main.rs src/main.rs:
D