code
stringlengths
3
10M
language
stringclasses
31 values
import std.stdio; import std.string; import std.conv; import std.algorithm; void main() { string[] inputs = split(readln()); int n = to!int(inputs[0]); int x = to!int(inputs[1]); if(n/2. >= x) (x-1).writeln; else (n-x).writeln; }
D
module dwtx.dwtxhelper.TimerTask; import tango.time.Time; import dwt.dwthelper.utils; import dwt.dwthelper.Runnable; import dwtx.dwtxhelper.Timer; class TimerTask : Runnable { package long scheduled; package long lastExecutionTime; package long period; package bool fixed; this(){ this.sc...
D
the number that is represented as a one followed by 7 zeros
D
func void B_Story_ShowedUrizielToXardas() { //-------- Missionsgegenstände -------- //-------- Tagebucheinträge -------- B_LogEntry (CH4_EnterTemple,"Xardas was quite surprised that I had managed to get into the underground temple. Looks like he thinks I'm the icon from an old Orcish prophecy."); Log_SetTopicSt...
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
unrestrained, especially with regard to feelings presumptuously arrogant
D
/** * Copyright: Copyright (c) 2012 Jacob Carlborg. All rights reserved. * Authors: Jacob Carlborg * Version: Initial created: Aug 1, 2012 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) */ module mambo.arguments.Formatter; import mambo.arguments.Arguments; import mambo.argume...
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 0.703125 intrusives, basalt 306.399994 74.1999969 4.30000019 0 52 55 -31.8999996 151.300003 8785 5.9000001 5.9000001 0.922851562 extrusives, basalts 333.200012 64.6999969 6.5999999 0 52 55 -31.8999996 1...
D
/Users/sapientisat/Projects/Supplements/Supplements/XcodeBuild/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CollectionViewPagingLayout.build/Objects-normal/x86_64/Multipliable.o : /Users/sapientisat/Projects/Supplements/Supplements/Pods/CollectionViewPagingLayout/Lib/SwiftUI/PagingCollectionViewModifierData.s...
D
module wx.Gauge; public import wx.common; public import wx.Control; //--------------------------------------------------------------------- alias Gauge wxGauge; extern(D) class Gauge : Контрол { enum { ГОРИЗОНТАЛЬНЫЙ = ПОриентация.Горизонталь, ВЕРТИКАЛЬНЫЙ = ПОриентация.Вертикал...
D
module gl.state; import std.stdio, std.string, std.c.stdio; import derelict.opengl.gl, derelict.opengl.glu, derelict.opengl.glext; import derelict.opengl.extension.arb.color_buffer_float; import derelict.opengl.extension.arb.vertex_buffer_object; import derelict.opengl.extension.arb.half_float_pixel; import derelict...
D
/Users/harrisa/dev/apps/b.mobbing/chrono/SwiftyChrono/.build/x86_64-apple-macosx/debug/SwiftyChrono.build/Utils/Date.swift.o : /Users/harrisa/dev/apps/b.mobbing/chrono/SwiftyChrono/Sources/SwiftyChrono/Utils/Date.swift /Users/harrisa/dev/apps/b.mobbing/chrono/SwiftyChrono/Sources/SwiftyChrono/Utils/Util.swift /Users/ha...
D
import wx.wx; /** * Class to display a list of images. The scrolled window helps us with * managing scrollbars when the window's contents are too large to be * displayed. */ public class ImageList : ScrolledWindow { private ImageViewer m_viewer; /** * Sets up...
D
module android.java.android.media.MediaScannerConnection_MediaScannerConnectionClient; public import android.java.android.media.MediaScannerConnection_MediaScannerConnectionClient_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!MediaScannerConnection_MediaScannerConnectionClient; import import...
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
// ************************************************************************************************ // Wert von Kram // ************************************************************************************************ // Items für Objektbenutzung und Item-Interaktion... // z.B. Krautstampfer, Hammer, Kochöffel, Laborfl...
D
/Users/Lambert/Desktop/demo/DerivedData/demo1/Build/Intermediates/demo1.build/Debug/Kitura.build/Objects-normal/x86_64/RouterMiddlewareGenerator.o : /Users/Lambert/Desktop/demo/Packages/Kitura-1.6.1/Sources/Kitura/Error.swift /Users/Lambert/Desktop/demo/Packages/Kitura-1.6.1/Sources/Kitura/FileResourceServer.swift /Use...
D
/** * Global optimizer main loop * * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1986-1998 by Symantec * Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars...
D
func int c_npcisevil(var C_NPC slf) { if((slf.guild == GIL_DMT) || (slf.guild == GIL_BDT) || (slf.guild == GIL_DRAGON) || (slf.guild == GIL_ORC) || (slf.aivar[AIV_MM_REAL_ID] == ID_WARG) || (slf.aivar[AIV_MM_REAL_ID] == ID_DRAGONSNAPPER) || (slf.guild == GIL_DRACONIAN) || (slf.guild == GIL_DEMON) || (slf.guild == GIL...
D
/* * This file has been automatically generated by Soupply and released under the MIT license. */ module soupply; public import soupply.bedrock; public import soupply.bedrock137; public import soupply.bedrock141; public import soupply.bedrock150; public import soupply.bedrock160; public import soupply.bedrock201; pu...
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
INSTANCE Info_Mod_Alax_Hi (C_INFO) { npc = Mod_7502_KDS_Alax_MT; nr = 1; condition = Info_Mod_Alax_Hi_Condition; information = Info_Mod_Alax_Hi_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Alax_Hi_Condition() { return 1; }; FUNC VOID Info_Mod_Alax_Hi_Info() { AI_Output(self, hero, "Info_Mod_Alax...
D
FUNC VOID WeaponSpawner () { var int Randi; // Primärwaffen // Levelpart One Randi = r_max(Weapon_Lester_Level_01-1)+1; Wld_InsertItem (ItMw_Lester_02_World, ConcatStrings("FP_ITEM_LESTER_01_0", IntToString(Randi))); Randi = r_max(Weapon_Gorn_Level_01-1)+1; Wld_InsertItem (ItMw_Gorn_02_World, ConcatStrings...
D
instance Mil_337_Mika(Npc_Default) { name[0] = "Мика"; guild = GIL_MIL; id = 337; voice = 12; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,3); fight_tactic = FAI_HUMAN_STRONG; aivar[AIV_Temper] = TEMPER_ToughGuy; EquipItem(self,ItMw_1h_Mil_Sword); CreateInvItems(self,ItPo_Health_01,4); ...
D
a coagulated liquid resembling milk curd coagulated milk
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2020 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
any of numerous small rodents typically resembling diminutive rats having pointed snouts and small ears on elongated bodies with slender usually hairless tails a swollen bruise caused by a blow to the eye person who is quiet or timid a hand-operated electronic device that controls the coordinates of a cursor on your co...
D
module engine.smodules.display_server.x11; version( linux ): public: import engine.smodules.display_server.x11.input; import engine.smodules.display_server.x11.input_map; import engine.smodules.display_server.x11.display_server;
D
# FIXED third_party/FreeRTOS/Source/list.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/list.c third_party/FreeRTOS/Source/list.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdlib.h third_party/FreeRTOS/Source/list.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/_ti_c...
D
func int C_RefuseTalk(var C_Npc slf,var C_Npc oth) { if(Npc_RefuseTalk(slf) && C_NpcIsGateGuard(slf) && (slf.aivar[AIV_Guardpassage_Status] == GP_NONE)) { return TRUE; }; if((slf.aivar[AIV_TalkedToPlayer] == FALSE) && (Npc_GetDistToWP(slf,slf.wp) > 500)) { if(Hlp_GetInstanceID(slf) == Hlp_GetInstanceID(Lothar...
D
/Users/tito/Desktop/Backup/Projects/Coordinator/.build/x86_64-apple-macosx/debug/Coordinator_Example.build/Sources/Main/Navigator.swift.o : /Users/tito/Desktop/Backup/Projects/Coordinator/Sources/DataService.swift /Users/tito/Desktop/Backup/Projects/Coordinator/Sources/AppDelegate.swift /Users/tito/Desktop/Backup/Proje...
D
func int B_TeachPlayerTalentTakeAnimalTrophy(var C_Npc slf,var C_Npc oth,var int trophy) { var int kosten; kosten = B_GetLearnCostTalent(oth,NPC_TALENT_TAKEANIMALTROPHY,trophy); if(oth.lp < kosten) { PrintScreen(PRINT_NotEnoughLearnPoints,-1,-1,FONT_ScreenSmall,2); B_Say(slf,oth,"$NOLEARNNOPOINTS"); return F...
D
// Copyright Ferdinand Majerech 2011 - 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) module dgamevfs.stream; import std.algorithm; import std.stream; import dgamevfs.exceptions;...
D
/Users/work/iOS/Syncopate/Framework/Syncopate/build/Syncopate.build/Release-iphoneos/Syncopate.build/Objects-normal/armv7/SLTickReceiver.o : /Users/work/iOS/Syncopate/Framework/Syncopate/Syncopate/SLTicker.swift /Users/work/iOS/Syncopate/Framework/Syncopate/Syncopate/SLSampleManager.swift /Users/work/iOS/Syncopate/Fram...
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module FontOut; import core.memory; import core.runtime; import core.thread; import std.conv; import std.math; import std.random; import std.range; import std.string; import std.utf : count, toUTFz; auto ...
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.7 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
D
module diagram; import boilerplate; import std.array; import std.datetime; class Diagram { public struct Point { SysTime time; Duration duration; string correlationId; } @ConstRead private string[] types_; @(This.Init!null) private Appender!(Point[])[string[]] p...
D
/Users/hiro/Desktop/SwiftPractic/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/MultipartFormData.o : /Users/hiro/Desktop/SwiftPractic/Pods/Alamofire/Source/MultipartFormData.swift /Users/hiro/Desktop/SwiftPractic/Pods/Alamofire/Source/Timeline.swift /Users/hiro/Desktop/SwiftPractic/Pods/A...
D
/Users/natasilva/repositories/algoritmos/atividade-6/target/rls/debug/deps/atividade_6-aa1f0524f84932b2.rmeta: src/main.rs /Users/natasilva/repositories/algoritmos/atividade-6/target/rls/debug/deps/atividade_6-aa1f0524f84932b2.d: src/main.rs src/main.rs:
D
module orelang.Interpreter; import orelang.Transpiler, orelang.Engine, orelang.Value; import std.string, std.stdio, std.conv; // TODO: Need to implement exit operator class Interpreter { private { Engine engine; Transpiler transpiler; long bracketState; } this(...
D
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/TemplateKit.build/Utilities/HTMLEscape.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/chec...
D
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Assistant of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensee...
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 psutil.sensors.common; version(linux) package enum SYSFS_HWMON_PATH = "/sys/class/hwmon/"; version(linux) package enum SYSFS_POWER_SUPPLY_PATH = "/sys/class/power_supply/";
D
instance STT_329_Dexter (Npc_Default) { //-------- primary data -------- name = "Dexter"; npctype = npctype_ambient; guild = GIL_GRD; level = 12; voice = 110; id = 329; //-------- abilities -------- attribute[ATR_STRENGTH] = 35; attribute[ATR_DEXTERITY] = 18; attribute[ATR_MANA_...
D
module directx.d3d10shader; ////////////////////////////////////////////////////////////////////////////// // // Copyright (c) Microsoft Corporation. All rights reserved. // // File: D3D10Shader.h // Content: D3D10 Shader Types and APIs // ///////////////////////////////////////////////////////////////////...
D
/Users/Ntokozo/Documents/Libraries/RWPickFlavor/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.o : /Users/Ntokozo/Documents/Libraries/RWPickFlavor/Pods/Alamofire/Source/Alamofire.swift /Users/Ntokozo/Documents/Libraries/RWPickFlavor/Pods/...
D
module krepel.physics; public import krepel.physics.physics_component; public import krepel.physics.rigid_body; public import krepel.physics.shape; public import krepel.physics.system; public import krepel.physics.collision_detection;
D
move to and fro fasten or join with a joggle
D
in addition, by way of addition
D
/******************************************************************************* Dht node channel dump tool. copyright: Copyright (c) 2014-2017 dunnhumby Germany GmbH. All rights reserved License: Boost Software License Version 1.0. See LICENSE.txt for details. **************************...
D
/Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/Build/Intermediates/IBDesignables/Intermediates/FareDeal.build/Debug-iphonesimulator/FareDeal.build/Objects-normal/x86_64/RegisterUserVC.o : /Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/FareDeal/RestaurantDealsVC.swift /Users/angelasmith/Desktop/SourceT...
D
instance DIA_TENGRON_EXIT(C_INFO) { npc = pal_280_tengron; nr = 999; condition = dia_tengron_exit_condition; information = dia_tengron_exit_info; permanent = TRUE; description = DIALOG_ENDE; }; func int dia_tengron_exit_condition() { return TRUE; }; func void dia_tengron_exit_info() { AI_StopProcessInfos(se...
D
/Users/WenNiao/myproject/iosprojects/HackerNews/build/HackerNews.build/Debug-iphonesimulator/HackerNews.build/Objects-normal/x86_64/TopStoryData.o : /Users/WenNiao/myproject/iosprojects/HackerNews/HackerNews/ViewController.swift /Users/WenNiao/myproject/iosprojects/HackerNews/HackerNews/TableViewCell.swift /Users/WenNi...
D
/Users/sol369/Desktop/curben-oc/DerivedData/curben/Build/Intermediates/Pods.build/Debug-iphonesimulator/SKPhotoBrowser.build/Objects-normal/x86_64/SKToolbar.o : /Users/sol369/Desktop/curben-oc/Pods/SKPhotoBrowser/SKPhotoBrowser/SKCache.swift /Users/sol369/Desktop/curben-oc/Pods/SKPhotoBrowser/SKPhotoBrowser/SKCacheable...
D
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Vapor.build/Routing/Router.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/vapor/Sourc...
D
/******************************************************************************* * Copyright (c) 2006 Tom Schindl 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, and is a...
D
# FIXED drivers/http.obj: C:/ti/TivaWare_C_Series-2.1.4.178/examples/boards/ek-tm4c129exl/drivers/http.c drivers/http.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h drivers/http.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdbool.h drivers/http.obj: C:/ti/ccsv7/tools/compiler/...
D
// EXTRA_FILES: imports/test71.d import imports.test71; void bar() { imports.test71.foo(); }
D
module arcana.grammar.ast.parameter_list_node; import arcana.grammar.ast.node; import arcana.grammar.ast.parameter_node; import std.string; class ParameterListNode : Node { private: ParameterNode[] _params; public: this(ParameterNode[] params) { _params = params; } @property Parame...
D
module mafisdl.events; import derelict.sdl2.sdl; import std.traits; /** an alias for the correspondnig SDL event type */ alias SDL_KEYDOWN keyDown; alias SDL_KEYUP keyUp; /// ditto alias SDL_MOUSEBUTTONDOWN mouseDown; /// ditto alias SDL_MOUSEBUTTONUP mouseUp; /// ditto alias SDL_JOYBUTTONDOWN joyBut...
D
func void ZS_Stand_ReadyWeapon() { Perception_Set_Normal(); B_ResetAll(self); AI_SetWalkMode(self,NPC_WALK); AI_GotoWP(self,self.wp); AI_AlignToWP(self); AI_EquipBestMeleeWeapon(self); self.aivar[AIV_TAPOSITION] = NOTINPOS; }; func int ZS_Stand_ReadyWeapon_loop() { var int random; if(self.aivar[AIV_TAPOSITIO...
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/mprechner/vapor-demo/HelloWorld/.build/debug/Core.build/Byte/Byte+Random.swift.o : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/core.git-9210800844849382486/Sources/Core/Array.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/core.git-9210800844849382486/Sources/Core/Bool+String.swift /Use...
D
module webkit2.URIRequest; private import glib.ConstructionException; private import glib.Str; private import gobject.ObjectG; private import soup.MessageHeaders; private import webkit2.c.functions; public import webkit2.c.types; /** * A #WebKitURIRequest can be created with a URI using the * webkit_uri_request_n...
D
instance DIA_Jesse_Exit(C_Info) { npc = VLK_564_Jesse; nr = 999; condition = DIA_Jesse_Exit_Condition; information = DIA_Jesse_Exit_Info; permanent = 1; description = DIALOG_ENDE; }; func int DIA_Jesse_Exit_Condition() { return 1; }; func void DIA_Jesse_Exit_Info() { AI_StopProcessInfos(self); }; instance...
D
/Users/philiphaynes/devel/rust/bradman/target/debug/deps/bradman-a0a867ecac53701f: src/main.rs /Users/philiphaynes/devel/rust/bradman/target/debug/deps/bradman-a0a867ecac53701f.d: src/main.rs src/main.rs:
D
# FIXED TOOLS/onboard.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/common/cc26xx/onboard.c TOOLS/onboard.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/bcomdef.h TOOLS/onboard.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/comdef.h TOOLS/onboard.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/comp...
D
/Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/CircuitBreaker.build/MonitorCollection.swift.o : /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/CircuitBreaker/Sources/CircuitBreaker/Bulkhead.swift /Users/patbutler/Developer/Server/Kitura/EmojiJo...
D
/Users/sapientisat/Projects/Supplements/Supplements/XcodeBuild/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/URLEncodedFormEncoder.o : /Users/sapientisat/Projects/Supplements/Supplements/Pods/Alamofire/Source/MultipartFormData.swift /Users/sapientisat/Projects/Supplements/...
D
/* HDF5 "windows" File Driver */ module hdf5.c.drivers.windows; import hdf5.c.h5; import hdf5.c.h5i; import hdf5.c.drivers.sec2; hid_t H5FD_WINDOWS() @property @nogc { version (Windows) { return H5FD_windows_init(); } else { return -1; } } extern (C) nothrow @nogc: version (Windows)...
D
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Fluent.build/Query/QueryError.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.buil...
D
void _d_invariant(Object o) {} extern (C) { private alias MainFunc = int function(char[][] args); __gshared void* _PDCLIB_locale_tss; __gshared void* _PDCLIB_ascii_codec; } extern (C) int _d_run_main(int argc, char** argv, MainFunc mainFunc) { return 0; }
D
/** Internal hash map implementation. Copyright: © 2013 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.utils.hashmap; import vibe.utils.memory; import std.conv : emplace; import std.traits; struct Default...
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 */ /* ...
D
module gameplay.game_state; import allegro5.allegro; import app; enum game_state_type { main_menu, main_game } abstract class GameState { public: this(ALLEGRO_BITMAP* _main_buffer, MainWindow _parent) { main_buffer = _main_buffer; parent = _parent; assert(parent !is null); } abstract void update(); abstr...
D
module ogre.effects.compositorlogic; import ogre.effects.compositor; /** \addtogroup Core * @{ */ /** \addtogroup Effects * @{ */ /** Interface for compositor logics, which can be automatically binded to compositors, * allowing per-compositor logic (such as attaching a relevant listener) to happ...
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/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ResponseSerialization.o : /Users/william/Projects/studySocial/studySocial/Pods/Alamofire/Source/MultipartFormData.swift /Users/william/Projects/studySocial/studySocial/Pods/Alamofire/Source/Timel...
D
/+ dub.sdl: name "randgens" targetType "executable" dependency "openmethods" path="../" +/ import std.stdio, std.datetime, std.random, std.meta, std.string; void main() { foreach (r; AliasSeq!(LinearCongruentialEngine, MersenneTwisterEngine, XorshiftEngine)) { auto name = r.stringof[0 .. r.stringof.indexOf...
D
/** * Open-Addressed Hash Set * Copyright: © 2015 Economic Modeling Specialists, Intl. * Authors: Brian Schott * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) */ module containers.openhashset; private import containers.internal.hash; private import containers.internal.node : shouldAddG...
D
/** Boost Software License - Version 1.0 - August 17th, 2003 Copyright (c) 2018 Clipsey Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, ...
D
/Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/.build/debug/SwiftMoment.build/Operators.swift.o : /Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/Packages/SwiftMoment-0.9.1/Sources/SwiftMoment/Duration.swift /Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/Packages/SwiftMome...
D
module Windows.Devices.I2c; import dwinrt; struct I2cTransferResult { Windows.Devices.I2c.I2cTransferStatus Status; UINT32 BytesTransferred; } @uuid("f2db1307-ab6f-4639-a767-54536dc3460f") @WinrtFactory("Windows.Devices.I2c.I2cConnectionSettings") interface II2cConnectionSettings : IInspectable { extern(Windows): ...
D
// PERMUTE_ARGS: // POST_SCRIPT: runnable/extra-files/cov2-postscript.sh // REQUIRED_ARGS: -cov // EXECUTE_ARGS: ${RESULTS_DIR}/runnable extern(C) void dmd_coverDestPath(string pathname); /***************************************************/ void test1() { int counter = 20; do { --counter; } ...
D
module UnrealScript.UnrealEd.InterpTrackFloatPropHelper; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.UnrealEd.InterpTrackHelper; extern(C++) interface InterpTrackFloatPropHelper : InterpTrackHelper { public extern(D): private static __gshared ScriptClass mStaticClass; @property ...
D
/Users/markmoussa/HackathonProjects/Rhabit/DerivedData/Rhabit/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/BarLineScatterCandleBubbleChartData.o : /Users/markmoussa/HackathonProjects/Rhabit/Pods/Charts/Charts/Classes/Data/Implementations/Standard/BarChartData.swift /Users/mark...
D
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Transport.build/Internet/ClientStream.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/sockets.git-972942978533733666/Sources/Transport/Streams/Stream.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/sockets....
D
/Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Enumerated.o : /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SingleAsync.swi...
D
/home/unknown/Documents/trithemius-master/PRiVYCHAT/target/debug/build/num-traits-2db14b690059cec6/build_script_build-2db14b690059cec6: /home/unknown/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.12/build.rs /home/unknown/Documents/trithemius-master/PRiVYCHAT/target/debug/build/num-traits-2db14b690059...
D
/home/gui/Projects/rustLearning/target/rls/debug/deps/libactix_derive-5b491f4a66b6041c.so: /home/gui/.asdf/installs/rust/1.48.0/registry/src/github.com-1ecc6299db9ec823/actix_derive-0.3.2/src/lib.rs /home/gui/.asdf/installs/rust/1.48.0/registry/src/github.com-1ecc6299db9ec823/actix_derive-0.3.2/src/message.rs /home/gu...
D
/* * Licensed under the GNU Lesser General Public License Version 3 * * This library 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 late...
D
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CandleStickChartView.o : /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts...
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="model.notation#_sgFx8DuSEeOea-LKtt...
D
struct quantum(T){ T payload; bool collapsed=false; auto opCmp(U)(U a){ if(collapsed){ return payload.opcmp(a);} assert(false,"I hate how comparisions was implimented"); return true; /*implied cast(int) for reasons*/ } auto opEquals(U)(U a){ if(collapsed){ return payload.opequal(a);} else{ retur...
D
/Users/justinlew/Documents/iOS_dev/mealify.io/DerivedData/mealify/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CandleChartDataSet.o : /Users/justinlew/Documents/iOS_dev/mealify.io/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/justinlew/Documents/iOS...
D
module awebview.wrapper.cpp.printconfig; mixin template Awesomium() { align(1) struct PrintConfig { Rect pageSize; double dpi; bool splitPagesIntoMultipleFiles; bool printSelectionOnly; static PrintConfig opCall() { PrintConfig pc; ...
D
/* * Copyright (c) 2004-2009 Derelict Developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this li...
D
/Users/rrunfa/Desktop/RxIssuesSample/.build/x86_64-apple-macosx10.10/debug/Alamofire.build/AFError.swift.o : /Users/rrunfa/Desktop/RxIssuesSample/.build/checkouts/Alamofire.git-6801331143877184500/Source/MultipartFormData.swift /Users/rrunfa/Desktop/RxIssuesSample/.build/checkouts/Alamofire.git-6801331143877184500/Sour...
D
// Simple sample: how to use delegates within objects import std.stdio; // DelegateClass: a class with declared delegate function "printText" class DelegateClass { public void delegate(string) printText; } int main() { // Function print void print(string text) { writeln("First: ", text); } void print2(str...
D