code
stringlengths
3
10M
language
stringclasses
31 values
/** Audio module Copyright: (c) Enalye 2017 License: Zlib Authors: Enalye */ module atelier.audio; public { import atelier.audio.music; import atelier.audio.sound; }
D
import thBase.io; import thBase.string; import thBase.container.stack; import thBase.container.hashmap; import thBase.container.vector; import thBase.policies.hashing; import thBase.scoped; import thBase.file; import thBase.chunkfile; import thBase.format; import thBase.math; import thBase.math3d.all; import thBase.mat...
D
/Users/gbs/Xcode/souless/DerivedData/souless/Build/Intermediates.noindex/souless.build/Debug-iphonesimulator/souless.build/Objects-normal/x86_64/SignInView.o : /Users/gbs/Xcode/souless/souless/Data/UserMassageData.swift /Users/gbs/Xcode/souless/souless/Data/PostsData.swift /Users/gbs/Xcode/souless/souless/AuthService.s...
D
import core.stdc.stdio : printf; //------------------------------------------------------------------------------ T enforce7452(T, string file = __FILE__, size_t line = __LINE__) (T value, lazy const(char)[] msg = null) @safe pure { if (!value) throw new Exception(msg ? msg.idup : "Enforcement failed"...
D
/* THIS FILE GENERATED BY bcd.gen */ module bcd.fltk2.DoubleBufferWindow; align(4): public import bcd.bind; public import bcd.fltk2.Window; public import bcd.fltk2.Group; public import bcd.fltk2.Widget; public import bcd.fltk2.Style; public import bcd.fltk2.FL_API; public import bcd.fltk2.Rectangle; public import bcd.f...
D
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Validation.build/Validators/NilIgnoringValidator.swift.o : /Users/work/Projects/Hello/.build/checkouts/validation.git--4403154650041669468/Sources/Validation/Validatable.swift /Users/work/Projects/Hello/.build/checkouts/validation.git--4403154650041669468...
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/rick/home/0_Languages/2_Rust/Tutorials/guessing_game/target/debug/deps/libc-7fdb86a2677b135b.rmeta: /Users/rick/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.62/src/lib.rs /Users/rick/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.62/src/macros.rs /Users/rick/.cargo/registr...
D
/* Copyright (c) 2007 Scott Lembcke * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish...
D
module GameManager; import IManagers; import GlobalVariables; import LocalPlayer; static class GameManager : IManager { bool init() { GV.init(); players.length = 1; players[0] = new LocalPlayer(); thread.addPosToBlockLoader([0,0,0]); return true; } bool update(float delta) { bool retVal = true; ret...
D
/Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/.build/debug/Core.build/Byte/BytesConvertible.swift.o : /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Pos...
D
instance SFB_1000_Senyan(Npc_Default) { name[0] = "Senyan"; npcType = npctype_main; guild = GIL_SFB; level = 3; voice = 1; id = 1000; attribute[ATR_STRENGTH] = 25; attribute[ATR_DEXTERITY] = 20; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 106; attribute[ATR_HITPOINTS...
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010 by Rainer Schuetze, All Rights Reserved // // 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...
D
an elaborate party (often outdoors)
D
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIO.build/ByteBuffer-core.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/NonBlocking...
D
module pgsql.protocol; //https://www.postgresql.org/docs/10/static/protocol-message-formats.html enum OutputMessageType : ubyte { Bind = 'B', Close = 'C', CopyData = 'd', CopyDone = 'c', CopyFail = 'f', Describe = 'D', Execute = 'E', Flush = 'H', FunctionCall = 'F', Parse = 'P', Passwo...
D
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>. module gio.converteroutputstream; /* GIO - GLib Input, Output and Streaming Library * * Copyright (C) 2009 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
D
module hunt.framework.auth.guard.BasicGuard; import hunt.framework.auth.guard.Guard; import hunt.framework.auth.AuthOptions; import hunt.framework.auth.BasicAuthRealm; import hunt.framework.auth.JwtAuthRealm; import hunt.framework.auth.SimpleUserService; import hunt.framework.auth.UserService; import hunt.framework.ht...
D
/Users/markmoussa/HackathonProjects/Rhabit/DerivedData/Rhabit/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/BubbleChartView.o : /Users/markmoussa/HackathonProjects/Rhabit/Pods/Charts/Charts/Classes/Data/Implementations/Standard/BarChartData.swift /Users/markmoussa/HackathonProj...
D
module derelict.guile.hooks; /* corresponds to hooks.h in libguile */ alias scm_t_c_hook_function = extern(C) nothrow @nogc void* function(void* hook_data, void* fn_data, void* data); alias scm_t_c_hook_type = int; enum : scm_t_c_hook_type { SCM_C_HOOK_NORMAL, SCM_C_HOOK_OR, SCM_C_HOOK_AND } struct scm_t_c_hook...
D
/** * D header file for POSIX. * * Copyright: Copyright (c) 2013 Lars Tandle Kyllingstad. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Lars Tandle Kyllingstad * Standards: The Open Group Base Specifications Issue 7, IEEE Std 1003.1-2008 */ module core.sys.posix.sys.resource...
D
/Users/raunak/Downloads/steve-jobs/target/rls/debug/build/proc-macro2-6076c5b3ff4ebd43/build_script_build-6076c5b3ff4ebd43: /Users/raunak/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.24/build.rs /Users/raunak/Downloads/steve-jobs/target/rls/debug/build/proc-macro2-6076c5b3ff4ebd43/build_script_build...
D
/mnt/sda5/sabasit/Documents/IOT/Practice/menu_card/menu_generator/target/debug/deps/ppv_lite86-4314e74b6b1c9f1f.rmeta: /home/sabasit/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.5/src/lib.rs /home/sabasit/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.5/src/soft.rs /home/sabasit/.cargo...
D
a form of socialism featuring racism and expansionism and obedience to a strong leader
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, a...
D
module hunt.security.acl.permission.Permission; import hunt.security.acl.permission.Item; import std.algorithm; import kiss.logger; class Permission { PermissionItem[] permissions; public Permission addPermission(PermissionItem permission) { this.permissions ~= permission; return this; } ...
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 android.java.java.util.concurrent.RunnableFuture_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; import import1 = android.java.java.util.conc...
D
module android.java.android.view.KeyEvent_DispatcherState; public import android.java.android.view.KeyEvent_DispatcherState_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!KeyEvent_DispatcherState; import import1 = android.java.java.lang.Class;
D
// // Would be nice: way to take output of the canvas to an image file (raster and/or svg) // // // Copyright (c) 2013 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use ...
D
module ui.parse.css.padding_left; import std.stdio : writeln; import ui.parse.t.tokenize : Tok; import ui.parse.css.types : Length; import ui.parse.css.types : Percentage; import ui.parse.css.length : parse_length; import ui.parse.css.percentage : parse_percentag...
D
/++ + Copyright: Copyright 2016, Christian Koestlin + Authors: Christian Koestlin + License: MIT +/ module worker; import argparse; import androidlogger : AndroidLogger; import profiled : Profiler, theProfiler; import std.experimental.logger : LogLevel; import std.experimental.logger.core : sharedLog; import std.s...
D
instance NASZ_218_Ammann (Npc_Default) { // ------ NPC ------ name = "Ammann"; guild = GIL_OUT; id = 218; voice = 14; flags = 0; //NPC_FLAG_IMMORTAL oder 0 npctype = NPCTYPE_MAIN; aivar[AIV_IgnoresArmor] = TRUE; // ------ Atrybuty ------ B_SetAttributesToChapter (self, 5); ...
D
// Copyright © 2013, Bernard Helyer. All rights reserved. // See copyright notice in src/volt/license.d (BOOST ver. 1.0). module volt.errors; import watt.conv : toLower; import watt.text.format : format; import watt.io.std : writefln; import ir = volt.ir.ir; import volt.exceptions; import volt.token.token : tokenTo...
D
module godot.acceptdialog.all; public import godot.acceptdialog, godot.confirmationdialog, godot.filedialog, godot.editorfiledialog;
D
instance BAU_918_Bauer(Npc_Default) { name[0] = NAME_Bauer; guild = GIL_BAU; id = 918; voice = 7; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,1); B_GiveNpcTalents(self); B_SetFightSkills(self,15); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1h_Bau_Axe); B_CreateAmbientInv(s...
D
/** * Part of the D programming language runtime library. */ /* * Copyright (C) 2004-2007 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 *...
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
/* area2048 'STAGE-02' 'stg02.d' 2004/04/27 jumpei isshiki */ private import util_sdl; private import util_snd; private import define; private import task; private import gctrl; private import system; private import effect; private import bg; private import stg; private import ship; private i...
D
/Users/yamaguchiMacPro/Documents/work/ChousainPlus/Build/Intermediates.noindex/ChousainPlus.build/Debug-iphonesimulator/ChousainPlus.build/Objects-normal/x86_64/PlaneNode.o : /Users/yamaguchiMacPro/Documents/work/ChousainPlus/ChousainPlus/RecordData.swift /Users/yamaguchiMacPro/Documents/work/ChousainPlus/ChousainPlus/...
D
indecision in speech or action a certain degree of unwillingness the act of pausing uncertainly
D
/Users/yuxiangtang1/Documents/30DaysOfSwift/CustomFont/build/CustomFont.build/Debug-iphoneos/CustomFont.build/Objects-normal/armv7/AppDelegate.o : /Users/yuxiangtang1/Documents/30DaysOfSwift/CustomFont/CustomFont/ViewController.swift /Users/yuxiangtang1/Documents/30DaysOfSwift/CustomFont/CustomFont/AppDelegate.swift /A...
D
// PERMUTE_ARGS: module breaker; import core.stdc.stdio, core.vararg; /**********************************/ U foo(T, U)(U i) { return i + 1; } int foo(T)(int i) { return i + 2; } void test1() { auto i = foo!(int)(2L); // assert(i == 4); // now returns 3 } /**********************************/ U ...
D
import std.stdio, std.exception; import game.menu; void main(string[] args) { try { startGame(args); } catch(Exception e) { writeln(e.msg); foreach(trace; e.info) { writeln("at: ", trace); } } }
D
/** Copyright: © 2013 Simon Kérouack. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Simon Kérouack */ module plugin.network.transaction; public import plugin.network.session;
D
/Users/Avinash/Documents/Code/Poochie/Poochie/DerivedData/Poochie/Build/Intermediates/Pods.build/Debug-iphonesimulator/EPDeckView.build/Objects-normal/x86_64/Extensions.o : /Users/Avinash/Documents/Code/Poochie/Poochie/Pods/EPDeckView/Pod/Classes/EPCardView.swift /Users/Avinash/Documents/Code/Poochie/Poochie/Pods/EPDec...
D
import core.runtime, core.stdc.stdio, core.thread; version (linux) import core.sys.linux.dlfcn; else version (FreeBSD) import core.sys.freebsd.dlfcn; else static assert(0, "unimplemented"); void loadSym(T)(void* handle, ref T val, const char* mangle) { val = cast(T).dlsym(handle, mangle); } void* openLib(string ...
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_27_banking-137...
D
// https://issues.dlang.org/show_bug.cgi?id=21096 /* TEST_OUTPUT: --- fail_compilation/test21096.d(11): Error: identifier or new keyword expected following `(...)`. fail_compilation/test21096.d(11): Error: no identifier for declarator `char[(__error)]` --- */ char[(void*).];
D
void main() { int[] nums; nums.length = 1 + 10 + 1; enum Gate {closed, open} Gate[] gates; // all set to closed gates.length = nums.length; auto line = ""; foreach(i; 1 .. nums.length - 1) { int rc; do { import std.random; rc = cast(int)uniform(1, nums.length - 1); } while(gates[rc] == Gate.o...
D
module android.java.java.lang.StringBuilder_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import2 = android.java.java.lang.StringBuffer_d_interface; import import5 = android.java.java.util.stream.In...
D
/** * String manipulation and comparison utilities. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Sean Kelly, Walter Bright * Source: $(DRUNTIMESRC src/rt/util/_string.d) */ module core.internal.string; pure: nothrow: @nogc: ...
D
#source: mov2.s #as: --64 #ld: -pie -melf_x86_64 #objdump: -dw .*: +file format .* Disassembly of section .text: #... [ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <.*> [ ]*[a-f0-9]+: 48 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <...
D
// 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 dscanner.analysis.properly_documented_public_functions; import dparse.lexer; import dparse.ast; import dparse.formatter : astFmt = format; impo...
D
/** * Consoleur: a package for interaction with character-oriented terminal emulators * * Copyright: Maxim Freck, 2017. * Authors: Maxim Freck <maxim@freck.pp.ru> * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) */ module consoleur.core.posix; version(Posix) { ///STDIN file descrip...
D
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallClipRotateMultiple.o : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimat...
D
RTE/CMSIS_Driver/OTG_FS_STM32F4xx.o: C:/Users/david.waldo/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.14.0/CMSIS/Driver/OTG_FS_STM32F4xx.c RTE/CMSIS_Driver/OTG_FS_STM32F4xx.o: C:/Users/david.waldo/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.14.0/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h RTE/CMSIS_Driver/OTG_FS...
D
module UnrealScript.UnrealEd.ObjectExporterT3D; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Core.Exporter; extern(C++) interface ObjectExporterT3D : Exporter { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() {...
D
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Sessions/SessionsConfig.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/FileIO.swift /Users/Khanh/vapor/TILApp/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/FormD...
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
// Written in the D programming language. /** This is a submodule of $(LINK2 std_algorithm.html, std.algorithm). It contains generic _iteration algorithms. $(BOOKTABLE Cheat Sheet, $(TR $(TH Function Name) $(TH Description)) $(T2 cache, Eagerly evaluates and caches another range's $(D front).) $(T2 cacheBidi...
D
/******************************************************************//** * \file src/gui/objects/liquid.d * \brief LiquidMap is a HeightMap with liquid effect * * <i>Copyright (c) 2012</i> Danny Arends<br> * Last modified Feb, 2012<br> * First written Dec, 2011<br> * Written in the D Programming Language (http://...
D
/* _______ __ __ __ ______ __ __ _______ __ __ * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / * / /_// /\ / /_// / // / // /_/_ ...
D
module android.java.android.print.PageRange; public import android.java.android.print.PageRange_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!PageRange; import import1 = android.java.java.lang.Class;
D
instance STRF_1118_Addon_Patrick(Npc_Default) { name[0] = "Patrick"; guild = GIL_STRF; id = 1118; voice = 7; flags = 0; npcType = npctype_main; aivar[AIV_NoFightParker] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; aivar[AIV_ToughGuy] = TRUE; aivar[AIV_ToughGuyNewsOverride] = TRUE; aivar[AIV_IGNORE_Murder] = TRUE...
D
module stack; import value; import exception; import std.conv; class InnerStack { protected: uint max_stack_size_; Value[] stack_; uint sp_; public: this(uint max_stack_size) { this.max_stack_size_ = max_stack_size; this.sp_ = 0; this.stack_.length = 1; } @property ulon...
D
module compiler.compiler_test; import std.stdio; import std.string; import std.conv; import std.typecons; import vm.vm; import ast.ast; import code.code; import lexer.lexer; import objekt.objekt; import parser.parser; import compiler.compiler; import compiler.symbol_table; unittest { testIntegerArithmetic(); ...
D
const string Grd_213_CHECKPOINT = "OCC_GATE_INSIDE"; instance Info_Grd_213_FirstWarn(C_Info) { npc = Grd_213_Torwache; nr = 1; condition = Info_Grd_213_FirstWarn_Condition; information = Info_Grd_213_FirstWarn_Info; permanent = 1; important = 1; }; func int Info_Grd_213_FirstWarn_Condition() { if((hero.aivar...
D
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Timeout.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxS...
D
/home/komal/projects/practice/target/debug/build/proc-macro2-b200893a3c4969f3/build_script_build-b200893a3c4969f3: /home/komal/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.1/build.rs /home/komal/projects/practice/target/debug/build/proc-macro2-b200893a3c4969f3/build_script_build-b200893a3c4969f3.d: ...
D
import tango.io.Stdout; import tango.math.Math; void main() { int n = 2000000; ulong s = 0; bool primes[] = [false]; primes.length = n+1; for (int i=2; i < n+1; i++) primes[i] = true; for (int i=2; i < sqrt(cast(real)(n+1)); i++) if (primes[i]) for (int j=i*i; j < n+1; j += i) primes[j] = false; ...
D
//taken from learning d by Michael Parker template MyTemplate(T) { struct ValWrapper { T val; void printVal() { import std.stdio : writeln; writeln("The type is ", typeid(T)); writeln("The value is ", val); } } } void main() { MyTempl...
D
/Users/yongsangho/Desktop/Dev/carTalkProj/Project_CarTalk/carTalk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftSoup.build/Objects-normal/x86_64/XmlDeclaration.o : /Users/yongsangho/Desktop/Dev/carTalkProj/Project_CarTalk/carTalk/Pods/SwiftSoup/Sources/Node.swift /Users/yongsangho/Desktop/Dev/carTal...
D
module lib.physics.solver; public { import lib.physics.contact; import lib.physics.rigidbody; } void solveContact(ref Contact c, float dt) pure nothrow @safe { RigidBody body1 = c.body1; RigidBody body2 = c.body2; //float bounce = min(body1.bounce, body2.bounce); float bounce = body1.bounce;...
D
module worldstate.time; import std.string; import std.exception; immutable TICKS_PER_SECOND = 35; //Ticks per irl second //immutable TicksPerMinute = 24; //This is then number of ticks required to increase world/game time with 1 minute //For debug and quick day :) immutable TicksPerMinute = 15; immutable TicksPerHo...
D
module wx.DC; public import wx.common; public import wx.Window; public import wx.Pen; public import wx.Brush; public import wx.ArrayInt; extern(D) class КонтекстУстройства : ВизОбъект { public this(ЦелУкз вхобъ); ~this(); public проц режимФона(ПСтильЗаливки значение); public ПСтильЗаливки режимФона();...
D
make fit for, or change to suit a new purpose adapt or conform oneself to new or different conditions
D
import vibe.appmain; import vibe.core.core : runTask, sleep; import vibe.core.log : logError, logInfo; import vibe.core.net : TCPConnection, listenTCP; import vibe.stream.operations : readLine; import core.time; shared static this() { // shows how to handle reading and writing of the TCP connection // in separate t...
D
instance STRF_1135_Addon_Sklave(Npc_Default) { name[0] = NAME_Addon_Sklave; guild = GIL_STRF; id = 1135; voice = 3; flags = 0; npcType = npctype_main; aivar[AIV_NoFightParker] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; B_SetAttributesToChapter(self,2); fight_tactic = FAI_HUMAN_COWARD; B_CreateAmbientInv(self);...
D
/***********************************\ CONSOLECOMMANDS \***********************************/ //======================================== // [intern] Class / Variables //======================================== class CCItem { var int fncID; var string cmd; }; instance CCItem@(CCItem); const int _CC_L...
D
// Copyright © 2011, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/charge/charge.d (GPLv2 only). /** * Source file for Texture (s). */ module charge.gfx.texture; import std.string : format, toString; import charge.sys.resource; import charge.sys.logger; import charge.sys.file; import charg...
D
/Users/student/Desktop/IAK/StackKIA/StackKIA/DerivedData/StackKIA/Build/Intermediates.noindex/StackKIA.build/Debug-iphonesimulator/StackKIA.build/Objects-normal/x86_64/AppDelegate.o : /Users/student/Desktop/IAK/StackKIA/StackKIA/StackKIA/AppDelegate.swift /Users/student/Desktop/IAK/StackKIA/StackKIA/StackKIA/StackKIATa...
D
alias TypeTuple(T...) = T; class A { } class B : A { } class C : B { } /***************************************/ template Foo(int a, int b, int c) { const int Foo = 1; } template Foo(A...) { const int Foo = 2; } void test1() { int y = Foo!(1,2,3); assert(y == 1); y = Foo!(1,2); assert(y ==...
D
// Copyright Ferdinand Majerech 2013. // 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) /// Resource descriptors used by builtin resources. /// /// These descriptors can also be used by user c...
D
Ddoc $(DERS_BOLUMU $(IX contract programming) Contract Programming for Structs and Classes) $(P Contract programming is very effective in reducing coding errors. We have seen two of the contract programming features earlier in $(LINK2 contracts.html, the Contract Programming chapter): The $(C in) and $(C out) blocks ...
D
// Based on https://github.com/pokedpeter/dlang-derelict-sdl2-example1 import std.stdio; import derelict.sdl2.sdl; import derelict.sdl2.image; import std.conv; void main() { DerelictSDL2.load(); DerelictSDL2Image.load(); // Initialise SDL if (SDL_Init(SDL_INIT_VIDEO) != 0) { writeln("SDL_Init...
D
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/debug/wbuild/node-template-runtime/target/release/deps/proc_macro_crate-ea2e82fb3c0a24eb.rmeta: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-crate-1.0.0/src/lib.rs /Users/pacmac/Documents/GitHub/Bl...
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Core.build/MediaType.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Core/Data+Base64URL.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Core/NestedDat...
D
<?xml version="1.0" encoding="ASCII"?> <di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> <pageList> <availablePage> <emfPageIdentifier href="_Q8Hd4FwYEemawpDNrkj6eg-Statem...
D
import std.stdio; void main() { writeln(" *Notices Bulge*"); writeln("__ ___ _ _ _ _ _ "); writeln("\\ \\ / / |__ __ _| |_ ( ) ___ | |_| |__ (_) ___ "); writeln(" \\ \\ /\\ / /| '_ \\ / _\\`| __|// / __| | __| '_ \\| |/ __|"); writeln(" ...
D
/******************************************************************************* @file Conduit.d Copyright (c) 2004 Kris Bell This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for damages ...
D
module levelScreen; import tango.stdc.stringz; import ncurses; import tango.io.Stdout; import level; import dataScore; import arrowSection; import dancingMan; import asciiSprite; import narwhal; import backupDancer; import warningBar; import util.soundclip; class LevelScreen { DataScore _score; ArrowSection _arro...
D
/Users/deepansh/Desktop/ForexWatchlist/DerivedData/ForexWatchlist/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/HandyJSON.build/Objects-normal/x86_64/TransformOf.o : /Users/deepansh/Desktop/ForexWatchlist/Pods/HandyJSON/Source/Metadata.swift /Users/deepansh/Desktop/ForexWatchlist/Pods/HandyJSON/Source/CB...
D
module RC; import core.stdc.stdio; import core.stdc.stdlib; import core.stdc.string; import std.algorithm; import std.typecons; import std.algorithm.mutation : move; import std.traits: isCopyable, isOrderingComparable; //version = noboundcheck; nothrow: private struct _StringData{ nothrow: char* _ptr; size_t...
D
/* * This file generated automatically from shm.xml by c-client.xsl using XSLT. * Edit at your peril. */ /** * @defgroup XCB_Shm_API XCB Shm API * @brief Shm XCB Protocol Implementation. * @{ **/ module std.c.linux.X11.xcb.shm; version(USE_XCB): import std.c.linux.X11.xcb.xcb; import std.c.linux.X11.xcb.xpro...
D
module voxelman.blockentity.plugininfo; enum id = "voxelman.blockentity"; enum semver = "0.7.0"; enum deps = []; enum clientdeps = []; enum serverdeps = []; shared static this() { import pluginlib; import voxelman.blockentity.plugin; pluginRegistry.regClientPlugin(new BlockEntityClient); pluginRegistry.regServerPl...
D
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Fluent.build/Objects-normal/x86_64/QueryError.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent.git-625190...
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.block_stmt; import all; @(AstType.stmt_block) struct BlockStmtNode { mixin AstNodeData!(AstType.stmt_block, AstFlags.isStatement, AstNodeState.na...
D
import std.algorithm; import std.stdio; import core.stdc.stdio; import std.conv; import std.string; void main() { auto file = File("in.txt"); int curGuard = 0; int lastSleep = -1; char[] buf; int[60][int] guards; int[60] zs; for (int i = 0; i < 60; i++) { zs[i] = 0; } while...
D
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Async.build/Future+Transform.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/christia...
D