code
stringlengths
3
10M
language
stringclasses
31 values
// Copyright Brian Schott (Hackerpilot) 2014. // 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.del; import std.stdio; import dparse.ast; import dparse.lexer; import ...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; void main() { auto N = readln.chomp.to!int; int[string] ss; foreach (_; 0..N) ++ss[readln.chomp]; int max_n; foreach (_, n; ss) max_n = max(max_n, n); string[] rs; foreach (s, n; ss) if (n...
D
/** * The runtime module exposes information specific to the D runtime code. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Authors: Sean Kelly * Source: $(DRUNTIMESRC core/_runtime.d) */ /* Copyright Sean Kelly 2005...
D
module eventcore.drivers.posix.watchers; @safe: import eventcore.driver; import eventcore.drivers.posix.driver; import eventcore.internal.utils : nogc_assert; final class InotifyEventDriverWatchers(Events : EventDriverEvents) : EventDriverWatchers { import core.stdc.errno : errno, EAGAIN, EINPROGRESS; import core....
D
lacking a conscience greatly exceeding bounds of reason or moderation
D
/Users/adamtoth-fejel/Documents/GitHub/rust/target/debug/deps/want-a37b48ae978fa9aa.rmeta: /Users/adamtoth-fejel/.cargo/registry/src/github.com-1ecc6299db9ec823/want-0.0.4/src/lib.rs /Users/adamtoth-fejel/Documents/GitHub/rust/target/debug/deps/want-a37b48ae978fa9aa.d: /Users/adamtoth-fejel/.cargo/registry/src/github....
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.build/Status/Status.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/ch...
D
module coral.debugger.idebugger; /// A basic interface by which debugger instances /// should conform. Most debuggers support these interactions interface IDebugger { void start(); void stop(); // ----------- void stepInto(); void stepOver(); void stepOut(); // ------------ void cont(); void pause();...
D
#!/usr/bin/dmd -run /* sh style script syntax is supported */ /* Hello World in D To compile: dmd hello.d or to optimize: dmd -O -inline -release hello.d */ import std.stdio; void main(string[] args) { writefln("Hello World, Reloaded"); // auto type inference and built-in foreach foreach...
D
import std.stdio, std.algorithm, std.string; struct Item { string name; real amount, value; @property real valuePerKG() @safe const pure nothrow @nogc { return value / amount; } string toString() const pure /*nothrow*/ @safe { return format("%10s %7.2f %7.2f %7.2f", ...
D
/Users/hdcui/NIZKs-for-AsiaCCS19-and-HSM-CL/bld_sig/target/release/deps/cfg_if-b3b70a375e0763d4.rmeta: /Users/hdcui/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs /Users/hdcui/NIZKs-for-AsiaCCS19-and-HSM-CL/bld_sig/target/release/deps/libcfg_if-b3b70a375e0763d4.rlib: /Users/hdcui/.cargo/regis...
D
// Copyright © 2012, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/charge/charge.d (GPLv2 only). module miners.background; import charge.charge; import miners.types; import miners.runner; import miners.options; /** * Used during and after startup has completed. Deals with not all resource...
D
module CPUblit.composing.specblt; import CPUblit.composing.common; /** * Text blitter, mainly intended for single color texts, can work in other applications as long as they're correctly formatted, * meaning: transparent pixels = 0, colored pixels = T.max */ public void textBlitter(T)(T* src, T* dest, size_t leng...
D
module tym.api.build; import data = tym.core.data.types; import db = tym.core.data.sql; import vibe.web.rest; import vibe.data.json; /** * The intention of this endpoint is to build the database and any default * data from the Tables in tym.implementation.BuildTargets[]. */ @path("/build") interface IBuildAPI { /** ...
D
/+ Copyright (c) 2006 Eric Anderton, BCS 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, m...
D
module http.HttpURI; import hunt.collection.MultiMap; import hunt.Exceptions; import hunt.text.Charset; import hunt.text.Common; import hunt.text.StringBuilder; import hunt.util.TypeUtils; import http.UrlEncoded; import std.array; import std.conv; import std.string; import hunt.logging; /** * Http URI. Parse a...
D
module android.java.android.graphics.ColorSpace_Model_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.android.graphics.ColorSpace_Model_d_interface; import import2 = android.jav...
D
In November, Colombian police arrested a FARC assassin, the army killed a FARC leader, and the court approved the extradition of a FARC chief to the US to face narcotics trafficking and money laundering charges. FARC rebels murdered four indigenous Indian leaders in less than a week. The government and FARC continued t...
D
// Copyright Ferdinand Majerech 2010 - 2011. // 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) ///Interface for monitorable classes. module monitor.monitorable; @safe import monitor.monito...
D
# FIXED MotorSimple.obj: C:/Users/Jingyuan/Desktop/AV/slac768//\ (1)/tirslk_maze_1_00_01/tirslk_maze_1_00_00/inc/MotorSimple.c MotorSimple.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h MotorSimple.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_stdint40.h MotorSimple...
D
/******************************************************************************* Module containing record layout. copyright: Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved License: Boost Software License Version 1.0. See LICENSE.txt for details. *********************...
D
E: c76, c21, c97, c78, c64, c57, c15, c73, c95, c65, c88, c55, c6, c80, c18, c79, c4, c40, c29, c54, c51, c0, c37, c86, c8, c67, c72, c1, c70, c94, c56, c7, c52, c3, c32. p9(E,E) c76,c21 c78,c97 c76,c79 c76,c29 c80,c15 c76,c97 c80,c73 c80,c97 c6,c97 c6,c15 c6,c37 c8,c97 c78,c51 c80,c79 c6,c79 c78,c37 c78,c21 c78,c15 c...
D
module widget.experiment_render_utils; import derelict.sdl2.sdl; static import render_utils; import misc.coords; import state.render_state; import widget.experiment_widget; struct ExperimentRenderState { private ExperimentWidget parent; // state for panning and zooming WorldCoords centerPoint = WorldCoords(0, 0)...
D
void main() { import std.stdio, std.string; string[string] replacements = ["test" : "passed", "text" : "replaced" ]; replacements["foo"] = "bar"; assert(replacements["test"] == "passed"); foreach(line; stdin.byLine()) { line = line.strip(); //cut off whitespace //see if the given line is in the mapping.....
D
/******************************************************************************* Channels-based node base class Extends the node base class with the following features: * Contains a set of storage channels. copyright: Copyright (c) 2012-2017 sociomantic labs GmbH. All rights reserved Li...
D
module android.java.android.webkit.WebView_WebViewTransport_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.android.webkit.WebView_d_interface; import import1 = android.java.jav...
D
/* Copyright (c) 2007 SIEGE Development Team All rights reserved. This file is part of libSIEGE. This software is copyrighted work licensed under the terms of the 2-clause BSD license. Please consult the file "license.txt" for details. If you did not recieve the file with this program, pl...
D
the hospital ward or clinic in which patients are detoxified treat for alcohol or drug dependence
D
exchange or deliver for money or its equivalent be sold at a certain price or in a certain way persuade somebody to accept something do business give up for a price or reward be approved of or gain acceptance be responsible for the sale of deliver to an enemy by treachery disposed of to a purchaser
D
func void B_ClearRoomTalk() { if(C_WantToAttackRoomIntruder(self)) { B_Say(self,other,"$GETOUTOFHERE"); } else { B_Say(self,other,"$WHYAREYOUINHERE"); }; }; func int B_ExitIfRoomLeft() { var int portalguild; portalguild = Wld_GetPlayerPortalGuild(); if(!c_npcisbotheredbyplayerroomguildnew(self,other) &&...
D
instance Mod_1054_VLK_Nimius_NW (Npc_Default) { // ------ NSC ------ name = "Nimius"; guild = GIL_PAL; id = 1054; voice = 1; flags = 0; npctype = NPCTYPE_main; // ------ Attribute ------ B_SetAttributesToChapter (self, 2); // ------ Kampf-Taktik ------ fig...
D
/* TEST_OUTPUT: --- fail_compilation/failCopyCtor.d(10): Error: `struct A` may not define both a rvalue constructor and a copy constructor fail_compilation/failCopyCtor.d(12): rvalue constructor defined here fail_compilation/failCopyCtor.d(13): copy constructor defined here --- */ struct A { this(imm...
D
/* REQUIRED_ARGS: -dw TEST_OUTPUT: --- compilable/depmsg.d(39): Deprecation: struct `depmsg.main.Inner.A` is deprecated - With message! compilable/depmsg.d(39): Deprecation: struct `depmsg.main.Inner.A` is deprecated - With message! compilable/depmsg.d(40): Deprecation: class `depmsg.main.Inner.B` is deprecated - With ...
D
/Users/JasonVranek/Desktop/rust/tokio-interval/target/debug/deps/nodrop-4dc3b5a39868578c.rmeta: /Users/JasonVranek/.cargo/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs /Users/JasonVranek/Desktop/rust/tokio-interval/target/debug/deps/nodrop-4dc3b5a39868578c.d: /Users/JasonVranek/.cargo/registry/src/...
D
/* * Copyright (c) 2004-2008 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...
D
[Unit] ConditionPathExists=/overloaded/by/initial-setup.service
D
module rcd.ic.mouse; private { version(Posix) { import xmouse = rcd.ic.x11; import deimos.X11.Xlib; import deimos.X11.X; } } enum MouseButton : int { Left = 1, Right = 2, Middle = 3, Other4 = 4, Other5 = 5 } version(Posix) { private __gshared Display* _display...
D
/** Helper functions for working with $(I C strings). This module is intended to provide fast, safe and garbage free way to work with $(I C strings). Example: --- version(Posix): import core.stdc.stdlib: free; import core.sys.posix.stdlib: setenv; import std.exception: enforce; void setEnvironment(in char[] name, i...
D
// Written in the D programming language. /** * Templates which extract information about types and symbols at compile time. * * $(SCRIPT inhibitQuickIndex = 1;) * * $(DIVC quickindex, * $(BOOKTABLE , * $(TR $(TH Category) $(TH Templates)) * $(TR $(TD Symbol Name _traits) $(TD * $(LREF fullyQualifie...
D
module bio.core.utils.stream; public import std.stream; import core.stdc.stdio; import core.stdc.errno; import core.stdc.string; import core.sys.posix.sys.select; import std.conv; version(Posix){ private import core.sys.posix.unistd; } version(Windows) { private import std.file; private import std.utf; ...
D
version(CLI) import ssa3d.cli.CLI; version(GUI) import ssa3d.gui.GUI; void main() { MainLoop(); }
D
instance Mod_118_MIL_Rumbold_NW (Npc_Default) { // ------ NSC ------ name = "Rumbold"; guild = GIL_PAL; id = 118; voice = 10; flags = 0; npctype = NPCTYPE_MAIN; // ------ AIVARs ------ aivar[AIV_ToughGuy] = TRUE; // ------ Attribute ------ B_SetAttributesToChapter (self,...
D
/** * This code handles backtrace generation using DWARF debug_line section * in ELF and Mach-O files for Posix. * * Reference: http://www.dwarfstd.org/ * * Copyright: Copyright Digital Mars 2015 - 2015. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Yazan Dabain, Sean Kelly...
D
module dutils.hashset; struct HashSet(T, alias evalFun = null) { private: debug pragma(msg, typeof(evalFun)); static if(is(typeof(evalFun) == typeof(null))) { import std.traits : isAggregateType; static if(isAggregateType!T && __traits(hasMember, T, "hashCode")) { debug pragma(msg, "Found hashCode"); au...
D
import std.stdio; import std.json; import std.file; import std.array; import std.format; //TODO: support optional and required in shapes auto output = appender!string; struct Alias { JSONValue json; string type; } struct Operation { string name; //JSONValue[string] http; string input; string output; string d...
D
// 3775 struct Bug3775 { static int byLine()() { return 1; } } static assert(cast(int)Bug3775.byLine == 1);
D
void main() { runSolver(); } void problem() { auto N = scan!long; auto K = scan!long; auto H = scan!long(N); auto solve() { auto dp = new long[](N); dp[] = uint.max; dp[0] = 0; foreach(i; 1..N) { foreach(j; 1..min(i+1, K+1)) { dp[i] = dp[i].min(dp[i - j] + (H[i] - H[i - j]).abs);...
D
INSTANCE Mod_913_NOV_Agon_NW (Npc_Default) { // ------ NSC ------ name = Name_Novize; guild = GIL_VLK; id = 913; voice = 0; flags = 0; npctype = NPCTYPE_nw_feuernovize; // ------ Attribute ------ B_SetAttributesToChapter (self, 1); // ------ Kampf-Taktik ------ fight_tac...
D
module ggplotd.ggplotd; import cconfig = cairo.c.config; import cpdf = cairo.pdf; import csvg = cairo.svg; import cairo = cairo; import ggplotd.aes; import ggplotd.axes; import ggplotd.colour; import ggplotd.geom; import ggplotd.bounds; import ggplotd.scale; import ggplotd.colourspace : RGBA, toCairoRGBA; version (u...
D
/Users/jackwong/Desktop/Developer/SkillUpTest1/Build/Intermediates.noindex/SkillUpTest1.build/Debug-iphoneos/SkillUpTest1.build/Objects-normal/arm64/ViewController.o : /Users/jackwong/Desktop/Developer/SkillUpTest1/SkillUpTest1/AppDelegate.swift /Users/jackwong/Desktop/Developer/SkillUpTest1/SkillUpTest1/ViewController...
D
module android.java.android.text.method.LinkMovementMethod; public import android.java.android.text.method.LinkMovementMethod_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!LinkMovementMethod; import import3 = android.java.android.text.method.MovementMethod; import import5 = android.java.java...
D
import std.algorithm : map, minElement, maxElement, canFind, sum; import std.file : slurp; import std.math : abs; import std.range : retro; import std.stdio : writeln; import std.typecons : tuple, Tuple; import std.container : RedBlackTree, make; int distance(Tuple!(int, int) a, Tuple!(int, int) b) { return abs(b[0] ...
D
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>. module gio.application; /* * Copyright © 2010 Codethink Limited * * This program 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; ei...
D
unittest { { { foreach (abcde, def; abcdef.map!(battlecruiser => battlecruiser[123 .. 1231231]) .filter!(bravo => charlie[10] > 90000).sum()) { } abcdeabcdeabcde(12341234).abcdeabcdeabcde(12341234).abcdeabcdeabcde(12341234) .abcdeabcde...
D
86000000 86000001 86000002 86000003 86000004 86000005 86000006 86000007 86000008 86000009 86000010 86000011 86000012 86000013 86000014 86000015 86000016 86000017 86000018 86000019 86000020 86000021 86000022 86000023 86000024 86000025 86000026 86000027 86000028 86000029 86000030 86000031 86000032 86000033 86000034 86000...
D
/* * hunt-console eases the creation of beautiful and testable command line interfaces. * * Copyright (C) 2018-2019, HuntLabs * * Website: https://www.huntlabs.net * * Licensed under the Apache-2.0 License. * */ module hunt.console.output; public import hunt.console.output.AbstractOutput; public import hunt...
D
/home/ammad/Desktop/GITHUB/assignment-quater3iot/actix/target/debug/build/failure_derive-89b20f5bbbeb7f68/build_script_build-89b20f5bbbeb7f68: /home/ammad/.cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.8/build.rs /home/ammad/Desktop/GITHUB/assignment-quater3iot/actix/target/debug/build/failure_deri...
D
/******************************************************************************* Registry of currently active requests. The size of the registry must be limited to avoid leaking resources (memory) if, for whatever reason, a client start more requests than finish over a long time. If the limit of s...
D
/* * DSFML - The Simple and Fast Multimedia Library for D * * Copyright (c) 2013 - 2018 Jeremy DeHaan (dehaan.jeremiah@gmail.com) * * 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 of this software. ...
D
/******************************************************************************* @file IEvent.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
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; int[][10^^5] T; int[10^^5] CS; void main() { auto nm = readln.split.to!(int[]); auto N = nm[0]; auto M = nm[1]; foreach (_; 0..N-1) { auto ab = readln.split.to!(int[]); auto A = ab[0]...
D
/* Copyright © 2020, Luna Nielsen Distributed under the 2-Clause BSD License, see LICENSE file. Authors: Luna Nielsen */ module engine.audio.music; import core.thread; import engine.audio.astream; import bindbc.openal; import engine.math; import std.math : isFinite; import engine; import events; import...
D
instance DIA_Talbin_NW_EXIT(C_Info) { npc = VLK_4132_Talbin_NW; nr = 999; condition = DIA_Talbin_NW_EXIT_Condition; information = DIA_Talbin_NW_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Talbin_NW_EXIT_Condition() { return TRUE; }; func void DIA_Talbin_NW_EXIT_Info() { AI_StopPr...
D
void main() { import std.stdio, std.string, std.conv, std.algorithm; int n; rd(n); for (int i = 0; i <= 100; i++) { for (int j = 0; j <= 100; j++) { if (i * 4 + j * 7 == n) { writeln("Yes"); return; } } } writeln("No"); } void rd(T...)(ref T x) { import std.stdio : r...
D
/** * D header file for POSIX. * * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). */ module core.sys.posix.sys.ttycom; import core.sys.posix.sys.ioccom; import core.sys.posix.termios; import core.sys.posix.sys.time; version (OSX) version = Darwin; else version (iOS) version = Darwin; ...
D
func void B_CheckLog() { B_CloseTopics_Mattes(); B_CloseTopics_Hoshi(); B_CloseTopics_Yoly(); }; func void B_CheckLog_Failed() { B_CloseTopics_Mattes_Failed(); B_CloseTopics_Hoshi_Failed(); B_CloseTopics_Yoly_Failed(); };
D
module screens.TestGameActivity; import d2d; import components.PanelText; import std.algorithm; import std.datetime; import std.math; import logic.entity.Character; import logic.entity.Entity; import logic.entity.Projectile; immutable double moveRate = 0.1; //The default acceleration rate per tick for heroes /** *...
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_28_agm-7613361...
D
/** * Semantic analysis for D types. * * Copyright: Copyright (C) 1999-2021 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, Boost License 1.0) * Source: $(LINK2 https://github.co...
D
// ************************ // B_TeachPlayerTalentRunes // ************************ func int B_TeachPlayerTalentRunes (var C_NPC slf, var C_NPC oth, var int spell) { // ------ Kosten festlegen ------ var int kosten; kosten = B_GetLearnCostTalent(oth, NPC_TALENT_RUNES, spell); //EXIT IF... // ------ Player h...
D
func int C_Beklauen (var int TheftDex, var int TheftGold) { if (Npc_GetTalentSkill (other,NPC_TALENT_PICKPOCKET) == TRUE) && (self.aivar[AIV_PlayerHasPickedMyPocket] == FALSE) && (other.attribute[ATR_DEXTERITY] >= (TheftDex - Theftdiff)) { if (Npc_IsInState (self, ZS_Talk)) { if (TheftDex <= 20) { ...
D
module android.java.org.apache.http.conn.scheme.LayeredSocketFactory_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import3 = android.java.org.apache.http.params.HttpParams_d_interface; import import...
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/_winnls.d) */ module core.sys.windows.winnls; version (Windows): @system: version (ANSI)...
D
/* * #1 NPCs wake up immediately * * There does not seem an easy way to test this fix programmatically, so this test relies on manual confirmation. * * Expected behavior: NPCs should be able to sleep. */ func void G1CP_Test_001() { if (G1CP_TestsuiteAllowManual) { Wld_SetTime(0, 0); AI_Telepor...
D
/Users/zachgitt/Documents/repos/FoodTracker/build/FoodTracker.build/Debug-iphonesimulator/FoodTracker.build/Objects-normal/x86_64/ContentView.o : /Users/zachgitt/Documents/repos/FoodTracker/FoodTracker/SceneDelegate.swift /Users/zachgitt/Documents/repos/FoodTracker/FoodTracker/AppDelegate.swift /Users/zachgitt/Document...
D
/* * Copyright (c) 2004-2008 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...
D
instance EBR_110_Seraphia(Npc_Default) { name[0] = "Serafia"; npcType = npctype_main; guild = GIL_BAB; level = 1; voice = 16; id = 110; flags = NPC_FLAG_IMMORTAL; attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 20; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] ...
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module SysMets; import core.runtime; import core.thread; import std.algorithm : min, max; import std.conv; import std.math; import std.range; import std.string; import std.utf : count, toUTFz; auto toUTF1...
D
// D import file generated from 'derelict\allegro\primitives.d' module derelict.allegro.primitves; private { import std.stdint; import derelict.allegro.allegrotypes; import derelict.util.compat; import derelict.util.loader; } struct ALLEGRO_VERTEX_ELEMENT { int attribute; int storage; int o...
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
/** Date: 6 Sep 2010 Origin: C# web site: http://www.codeproject.com/KB/cs/quickcsharp.aspx */ import std.stdio: writeln, writefln, readln; import std.string: strip; import std.conv: to; void main() { int Add(int val1, int val2) { return val1 + val2; } int Subtract (int val1, int val2) { return val1 - ...
D
// Vicfred // https://atcoder.jp/contests/abc153/tasks/abc153_b // greedy import std.algorithm; import std.array; import std.conv; import std.stdio; import std.string; void main() { int n, h; readf("%s %s", &h, &n); readln; int[] a = readln.split.map!(to!int).array; int power = sum(a); if(po...
D
module openssl.v1_1_0e; import core.stdc.config; import core.stdc.stdarg: va_list; static import core.simd; static import std.conv; struct Int128 { long lower; long upper; } struct UInt128 { ulong lower; ulong upper; } struct __locale_data { int dummy; } al...
D
/home/gambl3r/Rust/telegrambotdev/BotDev/target/debug/build/crossbeam-epoch-2f2989af27cb1b5d/build_script_build-2f2989af27cb1b5d: /home/gambl3r/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-epoch-0.8.2/build.rs /home/gambl3r/Rust/telegrambotdev/BotDev/target/debug/build/crossbeam-epoch-2f2989af27cb1b5d/bui...
D
/Users/yq/Project/Swift/SwiftGroup/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Filter.o : /Users/yq/Project/Swift/SwiftGroup/Pods/Kingfisher/Sources/String+MD5.swift /Users/yq/Project/Swift/SwiftGroup/Pods/Kingfisher/Sources/Resource.swift /Users/yq/Project/Swift/...
D
//////////////////////////////////////////////////////////////////////////////// // // Example of how to read registered user name from the license key // // Version : PELock v2.0 // Language : D // Author : Bartosz Wójcik (support@pelock.com) // Web page : https://www.pelock.com // /////////...
D
module awebview.wrapper.cpp.surface; mixin template Awesomium() { interface Surface {} interface SurfaceFactory {} } mixin template Awesomium4D() { interface ISurfaceD { void paint(const(char)* src, int srcRowSpan, const(Rect)* sR, const(Rect)* dR); void scroll(int dx, int dy, const(R...
D
parse.cmi :
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
import std.stdio, std.array, std.string, std.conv, std.algorithm; import std.typecons, std.range, std.random, std.math, std.container; import std.numeric, std.bigint, core.bitop, core.stdc.string; void main() { auto N = readln.chomp.to!int; auto A = readln.split.map!(to!long).array; A.sort(); auto dp ...
D
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/FluentTester.build/Tester+InsertAndFind.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/fluent.git-6251908308727715749/Sources/FluentTester/Tester+Schema.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/flue...
D
var int Hodges_ItemsGiven_Chapter_1; var int Hodges_ItemsGiven_Chapter_2; var int Hodges_ItemsGiven_Chapter_3; var int Hodges_ItemsGiven_Chapter_4; var int Hodges_ItemsGiven_Chapter_5; var int Hodges_ItemsGiven_JoinGuild; func void B_GiveTradeInv_Hodges(var C_Npc slf) { if((Kapitel >= 1) && (Hodges_ItemsGiven_Chapte...
D
// ***************************************************************** // //Joly: Auge Innos nicht dabei? Kein Problem. Xardas hilft auch dir Idiot!!!!!!!!!!!! // Vorsicht: Nur für D.A.U.s // ***************************************************************** INSTANCE ItSe_XardasNotfallBeutel_MIS (C_Item) { name = "Ä...
D
/** * * THIS FILE IS AUTO-GENERATED BY ./parse_specs.d FOR MCU attiny5 WITH ARCHITECTURE avrtiny * */ module avr.specs.specs_attiny5; enum __AVR_ARCH__ = 100; enum __AVR_ASM_ONLY__ = false; enum __AVR_ENHANCED__ = false; enum __AVR_HAVE_MUL__ = false; enum __AVR_HAVE_JMP_CALL__ = false; enum __AVR_MEGA__ = false...
D
/** * Symbols for the back end * * Compiler implementation of the * $(LINK2 https://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1984-1998 by Symantec * Copyright (C) 2000-2022 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars...
D
/Users/mordi/Desktop/xCode/MissMystique/Build/Intermediates/MissMystique.build/Debug-iphonesimulator/MissMystique.build/Objects-normal/x86_64/statViewController.o : /Users/mordi/Desktop/xCode/MissMystique/MissMystique/statisticsViewController.swift /Users/mordi/Desktop/xCode/MissMystique/MissMystique/scanViewController...
D
module org.serviio.library.local.metadata.extractor.embedded.WMAExtractionStrategy; import org.serviio.dlna.AudioContainer; import org.serviio.library.local.metadata.extractor.embedded.AudioExtractionStrategy; public class WMAExtractionStrategy : AudioExtractionStrategy { override protected AudioContainer getCont...
D
/* Copyright (c) 2013-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, dis...
D
instance Mod_1842_HEX_Hexe_PAT (Npc_Default) { // ------ NSC ------ name = Name_hexe; guild = GIL_strf; id = 1842; voice = 43; flags = 0; npctype = NPCTYPE_pat_hexe; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ------...
D
/** * ASN.1 Internals * * Copyright: * (C) 1999-2007 Jack Lloyd * (C) 2014-2015 Etienne Cimon * * License: * Botan is released under the Simplified BSD License (see LICENSE.md) */ module botan.asn1.asn1_obj; import botan.constants; public import botan.asn1.der_enc; public import botan.asn1.ber_dec; public import bot...
D