code
stringlengths
3
10M
language
stringclasses
31 values
module test; import rbtree_with_stats; import std.conv; import std.stdio; import std.datetime; import core.memory; import std.random; import std.socket; import std.string; import std.array; import std.process; import std.stream; ubyte[] TA(T)(ref T a) { return cast(ubyte[])((&a)[0..1]); } int compare3way(T)(ref T ...
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_4_MobileMedia-...
D
import std.algorithm; import std.datetime; import std.file; import std.getopt; import std.random; import std.stdio; import std.string; import quantities; enum filename = "generated_values.txt"; void generate(size_t n) { writefln("Generating n value of concentration..."); string[] units = [ "mol/L", ...
D
/Users/adelkhaziakhmetov/Documents/XCODE/ViewChaining4.2/build/ViewChaining.build/Debug-iphonesimulator/ViewChaining.build/Objects-normal/x86_64/UILabel+Chaining.o : /Users/adelkhaziakhmetov/Documents/XCODE/ViewChaining4.2/ViewChaining/UIChaining/UITextField+Chaining.swift /Users/adelkhaziakhmetov/Documents/XCODE/ViewC...
D
module deck; import std.stdio; import std.random; import std.algorithm.mutation; //suit: Spades, Hearts, Diamonds, Clubs struct Card { Card* previous = null; int rank = -1; int suit = -1; // a<b = a.opCmp(b) < 0 //return -1 if a < b, return 1 if a >= b int opCmp(ref const Card a) const { if(this.rank ...
D
/** Module implements Image utility class, and basic API for image manipulation. Image class encapsulates image properties with minimal functionality. It is primarily designed to be used as I/O unit. For any image processing needs, image data can be sliced to std.experimental.ndslice.slice.Slice. Example: ---- Imag...
D
module UnrealScript.TribesGame.TrDevice_Melee_DS; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrDevice_Melee; extern(C++) interface TrDevice_Melee_DS : TrDevice_Melee { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptC...
D
#!/usr/bin/env rdmd-dev-module module numeric_ex; import std.range: isInputRange, ElementType; import std.traits: CommonType, isFloatingPoint; import std.algorithm: reduce; import std.numeric: sum; /** TODO: Issue 4725: Remove when sum is standard in Phobos. See also: http://d.puremagic.com/issues/show_bug.cgi?...
D
module android.java.android.graphics.BlendModeColorFilter_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.grap...
D
//==========================================================================; // // // -= ACM DDK DOCUMENTATION =- // // // //==========================================================================; /***************************************************************************** * @do...
D
module encoders; import std.range.primitives; struct Encoder(T) { uint size; void delegate(T, ref uint, scope void delegate(uint)) encoder; void encode(T value, ref uint offset, scope void delegate(uint) sink) { encoder(value, offset, sink); } } Encoder!string enumEncoder(Range)(Range ...
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/App.build/Controllers/UserController.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/configure.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/Models/UserToken.swift /Users/weirujian/Desk...
D
instance BAU_931_Till(Npc_Default) { name[0] = "زوًً"; guild = GIL_OUT; id = 931; voice = 3; flags = 0; npcType = NPCTYPE_MAIN; B_SetAttributesToChapter(self,2); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_1h_Bau_Axe); B_CreateAmbientInv(self); B_CreateItemToSteal(self,36,ItMi_Gold,40); B_SetNpcVi...
D
/* -------------------- CZ CHANGELOG -------------------- */ /* v1.00: instance DIA_NICLAS_HIREDASSIST - úpravy dialogů (kvůli úpravám úkolů Noví lovci (TOPIC_NewHunters) a Lidé pro tábor (TOPIC_PPL_FOR_TOWER)) instance DIA_NICLAS_HIREDASSIST_BILGOT - úpravy dialogů (kvůli úpravám úkolů Noví lovci (TOPIC_NewHunters)...
D
/Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/.build/debug/Turnstile.build/Core/Subject.swift.o : /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/Packages/Turnstile-1.0.3/Sources/Turnstile/TurnstileError.swift /Users/KyleBlazier/Documents/Development/Xcode...
D
import std.stdio; import polyplex.core; import polyplex.utils.logging; import polyplex.math; import std.conv; import std.random; import sev.event; void main(string[] args) { import polyplex; BasicGameLauncher.InitSDL(); LogLevel |= LogType.Debug; BasicGameLauncher.LaunchGame(new MyGame(), args); } struct Particle...
D
module lighttp.server.router; import std.algorithm : max; import std.base64 : Base64; import std.conv : to, ConvException; import std.digest.sha : sha1Of; import std.regex : Regex, isRegexFor, regex, matchAll; import std.socket : Address; import std.string : startsWith, join; import std.traits : Parameters, hasUDA; ...
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
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EVReflection.build/Objects-normal/x86_64/EVReflection.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/EVReflection/Source/EVReflectable.swift /Users/babaiholdings/D...
D
/** Mirror _dictobject.h */ module deimos.python.dictobject; import deimos.python.pyport; import deimos.python.object; import deimos.python.pythonrun; import core.stdc.stdio; extern(C): // Python-header-file: Include/dictobject.h: /** PyDict_MINSIZE is the minimum size of a dictionary. This many slots are * al...
D
module UnrealScript.TribesGame.TrAccolade_BaseTurretKill; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrAccolade; extern(C++) interface TrAccolade_BaseTurretKill : TrAccolade { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static...
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.863074519 intrusives, gabbro 290 33.5 6.69999981 37 65 105 23.7999992 85 3034 5 5 0.602529316 intrusives
D
/Users/asatyamurthy/Desktop/PhunwareHW/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/Mappable.o : /Users/asatyamurthy/Desktop/PhunwareHW/Pods/ObjectMapper/ObjectMapper/Transforms/CustomDateFormatTransform.swift /Users/asatyamurthy/Desktop/PhunwareHW/Pods/ObjectMapper/ObjectMapper/Trans...
D
module pam_.modules; import pam_.types; extern (C): int pam_set_data (pam_handle_t* pamh, const(char)* module_data_name, void* data, void function (pam_handle_t*, void*, int) cleanup); int pam_get_data (const(pam_handle_t)* pamh, const(char)* module_data_name, const(void*)* data); int pam_get_user (pam_handle_t* pa...
D
//---------------------------------------------------------------------- // Info EXIT //---------------------------------------------------------------------- INSTANCE DIA_Addon_BDT_10019_Wache_EXIT (C_INFO) { npc = BDT_10019_Addon_Wache; nr = 999; condition = DIA_Addon_10019_Wache_EXIT_Conditi...
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 329.5 49.5 11.6000004 23.6000004 100 120 -23 150.5 8586 19.7000008 21.3999996 0.420771458 extrusives 322.399994 60.7000008 8.19999981 35.2999992 90 110 -33.7999992 150.899994 85 13.3999996 13.3999996 0.480602712 intrusives, dolerite 328 45 10 30...
D
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/HorizontalBarHighlighter.o : /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Ch...
D
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/protobuf/worker.proto module tensorflow.worker; import google.protobuf; import google.protobuf.any; import tensorflow.cost_graph; import tensorflow.device_attributes; import tensorflow.graph; import tensorflow.step_stats; import te...
D
module unecht.core.components.material; import derelict.opengl3.gl3; import gl3n.linalg; import unecht.core.component; import unecht.gl.shader; import unecht.gl.program; import unecht.gl.texture; /// struct GLMaterialUniforms { private GLProgram _program; void setColor(in vec4 _v) { _program....
D
auto g_Values = [ 1 , 3, 4 ,5 ,6 ]; int main() { f(g_Values); return 0; } void f(immutable int[] values) { auto s1 = sum(values); g(); auto s2 = sum(values); } void g() { //g_Values[0] = 0; }
D
/******************************************************************************* * Copyright (c) 2007, 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
/******************************************************************************* * Copyright (c) 2000, 2003 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...
D
/Users/MohamedNawar/Desktop/appointment/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Validation.o : /Users/MohamedNawar/Desktop/appointment/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/appointment/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawa...
D
// ********************* // Standard Voice Module // ********************* CLASS C_SVM { // ------ B_Say_GuildGreetings ------ var string MILGreetings; //Miliz grüßt Miliz oer Paladin var string PALGreetings; //Paladin grüßt Paladin oder Magier var string Weather; //So ein Mistwetter! // ------ B_Say...
D
// https://issues.dlang.org/show_bug.cgi?id=2920 // recursive templates blow compiler stack // template_17_A. template t(int i) { const int x = t!(i + 1).x; } void main() { int i = t!(0).x; }
D
import item; import enums; import slump; class ItemBearTreat : Item { this() { string[] itemNameList = [ "A treat for quadrupedal mammals of the ursidae family.", "Bears love this stuff!", "TTT, the Teddy Taming Treat.", ]; super("Bear treat",...
D
exploitation by a stronger country of weaker one
D
// URL: https://atcoder.jp/contests/arc044/tasks/arc044_c import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string; auto rdsp(){return readln.splitter;} void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;} void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r...
D
/* Test15: Un programa sencillo que utiliza una cadena, en un lugar que no está permitido.*/ void main(enum b;) { int x = 10; if (x == 10) { writeln("HOLA"); } }
D
module prova.attachables.audio; public import prova.attachables.audio.audiosource;
D
module editor.mirrtile; /* * Mirror, rotate, darken tiles. * This module accesses the package fields of Editor and creates Undoables, * so that the Undoables don't have to access the Editor fields anymore. */ import std.algorithm; import std.range; import basics.help; import basics.topology; import editor.editor...
D
module ltotests_1; /******************************************/ // https://bugzilla.gdcproject.org/show_bug.cgi?id=88 extern(C) int test88a() { return 0; }
D
module foo.bar; import core.vararg; import std.stdio; pragma (lib, "test"); pragma (msg, "Hello World"); static assert(true, "message"); alias double mydbl; int testmain(); struct S { int m; int n; } template Foo(T, int V) { void foo(...) { static if (is(Object _ : X!TL, alias X, TL...)) { } auto x = __tra...
D
instance Mod_13035_SP_Seelenpeiniger_OM (Npc_Default) { //-------- primary data -------- name = "Seelenpeiniger"; npctype = npctype_main; guild = GIL_DMT; level = 25; voice = 5; id = 13035; flags = NPC_FLAG_GHOST; //-------- abilities -------- attribute[ATR_STRENGTH] = 100; attribut...
D
module dwt.internal.mozilla.imgIContainerObserver; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; import dwt.internal.mozilla.imgIContainer; import dwt.internal.mozilla.gfxIImageFrame; const char[] IMGICONTAINEROBSERVER_IID_STR = "53102f15-0f53-4939-957...
D
// ************************************************** // EXIT // ************************************************** INSTANCE DIA_STT_315_Sly_Exit (C_INFO) { npc = STT_315_Sly; nr = 999; condition = DIA_STT_315_Sly_Exit_Condition; information = DIA_STT_315_Sly_Exit_Info; permanent = 1; description = ...
D
belonging to or having the characteristics of a despot ruled by or characteristic of a despot characteristic of an absolute ruler or absolute rule
D
/Users/sapientisat/Projects/Supplements/Supplements/XcodeBuild/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/RequestInterceptor.o : /Users/sapientisat/Projects/Supplements/Supplements/Pods/Alamofire/Source/MultipartFormData.swift /Users/sapientisat/Projects/Supplements/Sup...
D
/***********************************************************************\ * subauth.d * * * * Windows API header module * * ...
D
/** * Intrinsic functions * * Also contains an Intrinsic symbol for use with the symbol table when evaluating */ module exlang.runtime.intrinsic; /** * Imports */ import exlang.symtab.symbol; /** * Intrinsic symbol class */ class IntrinsicFunction : Symbol { /** * The function */ Intrins...
D
module game.model.init; import std.algorithm; import std.array; import std.conv; import std.typecons; import basics.alleg5; import basics.help; // len import basics.globconf; import graphic.gadget; import graphic.torbit; import game.core.game; import game.model.state; import game.replay; import game.effect; import ti...
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module BachTocc; import core.memory; import core.runtime; import core.thread; import std.conv; import std.math; import std.range; import std.string; import std.utf; auto toUTF16z(S)(S s) { return toUT...
D
instance DIA_Addon_BDT_10026_Wache_EXIT(C_Info) { npc = BDT_10026_Addon_Wache; nr = 999; condition = DIA_Addon_10026_Wache_EXIT_Condition; information = DIA_Addon_10026_Wache_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Addon_10026_Wache_EXIT_Condition() { return TRUE; }; func void...
D
module sketchup_api.model.material; import sketchup_api.common; // SUResult import sketchup_api.model.defs; //import sketchup_api.geom; import sketchup_api.color; import sketchup_api.defs; // SUStringRef extern (C): enum SUMaterialType { SUMaterialType_Colored = 0, SUMaterialType_Textured = 1, SUMaterial...
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Sean Kelly, Alex Rønne Petersen * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyr...
D
module gui.keycode; import std.string; // Directly mapped from SDL keymod enum KeyMod { none = 0x0000, leftShift = 0x0001, rightShift = 0x0002, leftCTRL = 0x0040, rightCTRL = 0x0080, leftALT = 0x0100, rightALT = 0x0200, leftGUI = 0x0400, rightGUI = 0x0800, num = 0x1000, caps = 0x2000, m...
D
prototype MST_DEFAULT_STONEGOLEM(C_NPC) { name[0] = "Kamenný golem"; guild = GIL_STONEGOLEM; aivar[AIV_MM_REAL_ID] = ID_STONEGOLEM; level = 25; attribute[ATR_STRENGTH] = 125; attribute[ATR_DEXTERITY] = 125; attribute[ATR_HITPOINTS_MAX] = 250; attribute[ATR_HITPOINTS] = 250; attribute[ATR_MANA_MAX] = 100; att...
D
module hunt.serialization.Specify; import std.traits; import std.range; import hunt.serialization.Common; import hunt.serialization.BinarySerializer; import hunt.serialization.BinaryDeserializer; import hunt.logging.ConsoleLogger; template PtrType(T) { static if (is(T == bool) || is(T == char)) { alias ...
D
/media/maher/extra/rust/rust_book/projects/saico/target/debug/deps/unic_ucd_version-220174e5e3d233fc.rmeta: /home/maher/.cargo/registry/src/github.com-1ecc6299db9ec823/unic-ucd-version-0.7.0/src/lib.rs /home/maher/.cargo/registry/src/github.com-1ecc6299db9ec823/unic-ucd-version-0.7.0/src/pkg_info.rs /home/maher/.cargo/...
D
<?xml version="1.0" encoding="ASCII" standalone="no"?> <di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0"> <pageList> <availablePage> <emfPageIdentifier href="VAR_10_MobileMedia...
D
.source T_shr_int_lit8_9.java .class public dot.junit.opcodes.shr_int_lit8.d.T_shr_int_lit8_9 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run(J)I .limit regs 8 shr-int/lit8 v0, v6, 2 ...
D
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Random.build/OSRandom.swift.o : /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/Random/RandomProtocol.swift /Users/nice/HelloWord/.build/checkouts/crypto.git--3937561158972323303/Sources/Random/Array+Random.swift /Users/nice/Hell...
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, a...
D
module srl.Model; private import std.file; private import std.path; private import srl.IView; private import srl.OutputType; private import srl.Process; public class Model { public IView view() { return this._view; } public IView view(IView value) { return this._view = value; } private IView _view;...
D
module spindle.ast.stmt.variable_decl; import spindle.all; enum Const { UNRESOLVED, YES, NO } /** * VariableDecl * [0] Expression (TypeDecl) * [1] Expression (value) */ final class VariableDecl : Statement { string name; bool isPublic; Const const_ = Const.UNRESOLVED; uint numRefs; ...
D
/* * This file is part of EvinceD. * EvinceD is based on GtkD. * * EvinceD 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 3 * of the License, or (at your option) any later version...
D
/substrate-node-template/target/debug/deps/pin_project_lite-03fe3f1a403b4b1f.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.1.7/src/lib.rs /substrate-node-template/target/debug/deps/pin_project_lite-03fe3f1a403b4b1f.d: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-l...
D
/** * Defines a function declaration. * * Includes: * - function/delegate literals * - function aliases * - (static/shared) constructors/destructors/post-blits * - `invariant` * - `unittest` * * Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http...
D
import std.stdio; import std.c.stdio; /*********************************************************/ template Foo(T) { static if ( is(T : int) ) alias T t1; static if (T.sizeof == 4) alias T t2; static if ( is(T AB : int) ) alias AB t3; static if ( is(T* V : V*) ) alias V t4; static if ( is(T...
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module PopFind; import core.memory; import core.runtime; import core.thread; import std.conv; import std.math; import std.range; import std.string; import std.utf : count, toUTFz; auto toUTF16z(S)(S s) { ...
D
instance Mil_328_Miliz(Npc_Default) { name[0] = "Mils"; guild = GIL_NONE; id = 328; voice = 8; flags = 0; npcType = npctype_main; aivar[AIV_DropDeadAndKill] = TRUE; aivar[AIV_ToughGuy] = TRUE; B_SetAttributesToChapter(self,2); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_1h_Mil_Sword); CreateInvIte...
D
module android.java.android.widget.Toast; public import android.java.android.widget.Toast_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!Toast; import import4 = android.java.java.lang.Class; import import2 = android.java.android.widget.Toast;
D
/** * isentropic_nozzle.d * * Module to calculate the exit velocity of an circular nozzle under isentropic and * adiabatic operation. Refer to the final report for more details. * * Contents: * 1. A(r) & r(x) * 2. ideal() * 3. iapws() * 4. main() * Author: Jiasheng(Jason) Liang * Version: */ i...
D
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Log/DatabaseLogHandler.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build...
D
/** * Transition from intermediate representation to code generator * * Compiler implementation of the * $(LINK2 https://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1984-1998 by Symantec * Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved * Authors...
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 303.5 77.1999969 2.79999995 89.6999969 10 14 -38.7000008 143.100006 139 4.19999981 4.19999981 1 sediments, limestone 289.600006 75.1999969 1.79999995 73.1999969 11 19 -31.6000004 145.600006 9338 2.5 2.5 0.625 sediments, saprolite 294.399994 82.9...
D
/***********************************************************************\ * snmp.d * * * * Windows API header module * * ...
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Sean Kelly * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 20...
D
module tofuEngine.components.physics_components; import derelict.ode.ode; import tofuEngine; import math.matrix; import util.serial2:SerialSkip; private dWorldID phy_world; private dSpaceID phy_space; private dJointGroupID phy_contactgroup; private enum GROUND_HEIGHT = 0; private enum MAX_CONTACTS = 4; version(Windo...
D
/** Some additional alogorithm functions. Copyright: © 2019 Arne Ludwig <arne.ludwig@posteo.de> License: Subject to the terms of the MIT license, as written in the included LICENSE file. Authors: Arne Ludwig <arne.ludwig@posteo.de> */ module dalicious.algorithm.iteration; import dalicious...
D
import std.stdio; import core.memory; import std.file : readText; import bindbc.opengl; import bindbc.glfw; import arc.core; import arc.engine; import arc.math; import arc.gfx.shader; import arc.gfx.shader_provider; import arc.gfx.shader_program; import arc.gfx.camera; import arc.gfx.node; import arc.gfx.node_part; i...
D
/** Mirror _object.h Object and type object interface Objects are structures allocated on the heap. Special rules apply to the use of objects to ensure they are properly garbage-collected. Objects are never allocated statically or on the stack; they must be accessed through special macros and functions only. (Typ...
D
/* Copyright (c) 2011-2017 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, dist...
D
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/AlchemintProject.build/Debug-iphonesimulator/AlchemintProject.build/Objects-normal/x86_64/validator.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/AlchemintProject/S...
D
module jamc.api.widgets.BaseWidget; import jamc.api.events; import jamc.api.eventTypes; import jamc.api.game; import jamc.api.material; import jamc.api.renderer; public import jamc.api.widgets.IWidget; import jamc.util.color; import jamc.util.vector; import std.algorithm; import std.container; import std.datetime; i...
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
module renderer.objectinfos; import base.renderproxy; import thBase.math3d.all; import renderer.vertexbuffer; import renderer.model; import renderer.cubetexture; enum ExtractType : uint { INVALID = 0, MODEL = 1, PARTICLE_SYSTEM = 2, CAMERA = 3, TEXT = 4, SHAPE = 5, TEXTURED_SHAPE = 6, SKYBOX =...
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
# FIXED uCOS-II/Source/os_tmr.obj: C:/ti/Workspace/PLC_certificate/Software/uCOS-II/Source/os_tmr.c uCOS-II/Source/os_tmr.obj: C:/ti/Workspace/PLC_certificate/Software/uCOS-II/Source/ucos_ii.h uCOS-II/Source/os_tmr.obj: C:/ti/Workspace/PLC_certificate/Examples/TI/TMDSDOCK28335/OS2/app_cfg.h uCOS-II/Source/os_tmr.obj: ...
D
module sendero.server.http.model.IHttpResponder; public import tango.io.model.IConduit; interface IHttpResponder { OutputStream getOutputStream(); void sendHeaders(); void sendData(bool finish, void[][] data...); void sendContent(char[] mimeType, void[][] data...); /** * Sets HTTP response status. * If...
D
////////////////////////////////////////////////////////////////////////// // B_AssessItem // ============ // Wird durch die aktive Wahrnehmung PERC_ASSESSITEM // ////////////////////////////////////////////////////////////////////////// func void B_AssessItem () { ////PrintDebugNpc (PD_ZS_FRAME, "B_AssessItem" ); ...
D
import core.vararg; extern (C) int printf(const(char*) fmt, ...); template TypeTuple(T...) { alias TypeTuple = T; } /**********************************/ int sdtor; struct S1 { ~this() { printf("~S()\n"); sdtor++; } } void test1() { S1* s = new S1(); delete s; assert(sdtor == 1); } /*************...
D
preach the gospel (to) convert to Christianity
D
#source: call3.s #as: --32 -mrelax-relocations=yes #ld: -melf_i386 #objdump: -dw .*: +file format .* Disassembly of section .text: #... [ ]*[a-f0-9]+: 67 e8 ([0-9a-f]{2} ){4} * addr16 call +[a-f0-9]+ <foo> #pass
D
module served.linters.dscanner; import std.algorithm; import std.conv; import std.file; import std.json; import std.path; import std.string; import served.extension; import served.linters.diagnosticmanager; import served.types; import workspaced.api; import workspaced.coms; static immutable string DScannerDiagnosti...
D
import bindbc.opengl; import bindbc.opengl.gl; import bindbc.sdl; import bindbc.sdl.image; import global; struct SpriteShader { this(string vertex_code, string fragment_code, string geometry_code = null) { import std.string : toStringz; // Compile the vertex shader GLuint vertex; auto vertex_code_z = vert...
D
module dinu.command.exec; import dinu; __gshared: shared immutable class CommandExec: Command { string[] parts; this(string name){ super(Type.script, name, options.colorExec); parts = name.chompPrefix(getcwd ~ "/").split('/'); } this(Type type, string name, float[3] color){ super(type, name, color); ...
D
/// Translated from C to D module glfw3.posix_time; extern(C): @nogc: nothrow: __gshared: //======================================================================== // GLFW 3.3 POSIX - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2002-2006 Marcus Geelnard // ...
D
module blogd.repositories.interfaces.iaccountrepository; import vibe.web.validation : ValidEmail; import blogd.repositories.interfaces.irepository : IRepository; import blogd.models.account : Account; /** * More specific repository interface for Accounts * * Copyright: &copy; 2017 Joshua Hodkinson * License: MIT a...
D
instance SLD_1725_Soeldner (Npc_Default) { //-------- primary data -------- name = Name_Soeldner; guild = GIL_SLV; level = 16; voice = 8; id = 1725; //-------- abilities -------- attribute[ATR_STRENGTH] = 70; attribute[ATR_DEXTERITY] = 55; attribute[ATR_MANA_MAX] = 0; att...
D