code
stringlengths
3
10M
language
stringclasses
31 values
void main() { problem(); } void problem() { auto N = scan!long; auto P = scan!long(N); void solve() { auto ng = new bool[200_001]; long cur; foreach(p; P) { ng[p] = true; while(ng[cur]) cur++; writeln(cur); } } solve(); } // -------------------------------------------...
D
const int SPL_Cost_Zap = 15; const int SPL_Damage_Zap = 30; instance Spell_Zap(C_Spell_Proto) { time_per_mana = 0; damage_per_level = SPL_Damage_Zap; damagetype = DAM_MAGIC; }; func int Spell_Logic_Zap(var int manaInvested) { return Spell_Logic_Proto(SPL_Cost_Zap); }; func void Spell_Cast_Zap(var int spellLeve...
D
import pgship.model; import std.stdio; import std.string; public const string appver = "0.1.0"; int main(string[] args) { writeln("PGship Database Migration Tool"); writeln("Version: ", appver); writeln(); if (args.length < 4) { displayUsage(); return 0; } auto deploymentFil...
D
module kgl3n.linearcomponent; import kgl3n.vector; struct Line { vec3 p, d; } struct Ray { vec3 p, d; } struct LineSegment { vec3 p, d; float t; }
D
/** * Windows is a registered trademark of Microsoft Corporation in the United * States and other countries. * * Copyright: Copyright Digital Mars 2000 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Walter Bright, Sean Kelly */ /* Copyright Dig...
D
--- ltsmaster/runtime/druntime/src/core/sys/posix/setjmp.d.orig 2020-11-14 19:34:19 UTC +++ ltsmaster/runtime/druntime/src/core/sys/posix/setjmp.d @@ -163,6 +163,12 @@ else version( FreeBSD ) enum _JBLEN = 5; struct _jmp_buf { c_long[_JBLEN + 1] _jb; } } + else version( AArch64 ) + { + ...
D
module vulkan.image.Fonts; import vulkan.all; final class Fonts { private: VulkanContext context; VkDevice device; string fontDirectory; Font[string] fonts; ulong allocationUsed; public: this(VulkanContext context, string fontDirectory) { this.context = context; this.device = ...
D
module demu.emulator.parts.io.i8255; import demu.emulator.machine; import demu.emulator.parts.part; /*** TODO: missing modes ***/ class I8255 : Part { alias void delegate(Port port, ubyte data, ubyte mask) WriteDelegate; enum Port { A, B, C } enum Register { PortA, PortB, Po...
D
module tango.net.device.Berkeley; private import tango.sys.Common; private import tango.core.Exception; import consts=tango.sys.consts.socket; private import rt.core.stdc.string : strlen; private import rt.core.stdc.stringz; /****************************************************************************...
D
/// Generate by tools module net.sbbi.upnp.devices.UPNPRootDevice; import java.lang.exceptions; public class UPNPRootDevice { public this() { implMissing(); } }
D
INSTANCE Mod_7163_ASS_Kamal_NW (Npc_Default) { // ------ NSC ------ name = "Kamal"; guild = GIL_OUT; id = 7163; voice = 11; flags = 2; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ------ figh...
D
// Runen // Paladin Runen //******************************************************************************************** //Joly: Macht die Runen nicht zu teuer, es sind Produktionsitems -> EXPLOID!!!!!!!!!!! //******************************************************************************************** const string...
D
/** Json Copyright: (c) Enalye 2017 License: Zlib Authors: Enalye */ module magia.core.json; public import std.json; import std.conv; import std.regex, std.path; import std.stdio; /// Transform your path in a system agnostic path. string convertPathToExport(string path) { return replaceAll(path,...
D
func void B_DIA_Addon_Myxir_TeachRequest() { AI_Output(other,self,"DIA_Addon_Myxir_TeachRequest_15_00"); //Teach me that language. }; func void b_dia_addon_myxir_teach_fl() { AI_Output(self,other,"DIA_Addon_Myxir_TeachL1_12_00"); //We'll start with something easy. To begin with, I can teach you the language of the ...
D
/* * Hunt - A redis client library for D programming language. * * Copyright (C) 2018-2019 HuntLabs * * Website: https://www.huntlabs.net/ * * Licensed under the Apache-2.0 License. * */ module hunt.redis.BuilderFactory; import hunt.redis.Builder; import hunt.redis.GeoCoordinate; import hunt.redis.GeoRadius...
D
void stuff() { asm { int 80; int 0b10; int 0x80; } }
D
/Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Routing.build/RouteGroup.swift.o : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Routing-1.0.2/Sources/Routing/Branch.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Rout...
D
import app; import std.math; int mapSize = 1025; immutable int mapCenterCord = 1025/2; Point mapCenter = Point(mapCenterCord, mapCenterCord); float mapBaseHeight = 15; double[] spokeRotations = [ (PI*2)*(1f/16f), (PI*2)*(2f/16f), (PI*2)*(3f/16f), (PI*2)*(4f/16f), (PI*2)*(5f/16f), (PI*2)*(6f/16f), (PI*2)*(7f/16...
D
module app; import meu2d; class DMan : GameObject { Texture texture; int angle = 0; double x = 0.0, y = 0.0, vx = 0.0, vy = 0.0; this() { texture = Texture("res/image.png"); } override void update() { const distx = Mouse.x - x; const disty = Mouse.y - y; const...
D
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab3/os/target/debug/deps/lazy_static-cd1c195c29004fe1.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lazy_static-1.4.0/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lazy_static-1.4.0/src/core_lazy.rs ...
D
int i; void main() { assert("keepthis"); // ... assert(i , "bugbug"); }
D
/Users/waqar/Exercism/rust/snake_game/target/rls/debug/build/serde-0bdd8b5f3c2c8acd/build_script_build-0bdd8b5f3c2c8acd: /Users/waqar/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.117/build.rs /Users/waqar/Exercism/rust/snake_game/target/rls/debug/build/serde-0bdd8b5f3c2c8acd/build_script_build-0bdd8b5f3c2...
D
/home/shaqb4/dev/rust/projects/oop/target/debug/deps/blog-b177a297a1332dec.rmeta: src/lib.rs /home/shaqb4/dev/rust/projects/oop/target/debug/deps/blog-b177a297a1332dec.d: src/lib.rs src/lib.rs:
D
func void trshacken_s1() { var C_Npc her; her = Hlp_GetNpc(PC_Hero); if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(her)) { //print_percent_bar_none(ATR_STAMINA[0],ATR_STAMINA_MAX[0] * 10,"Vynoslivost'",42,97); if(CinemaMod == TRUE) { Wld_PlayEffect("DIALOGSCOPE_FX",hero,hero,0,0,0,FALSE); }; self....
D
module hunt.database.driver.postgresql.data.Line; import hunt.Double; /** * Line data type in Postgres represented by the linear equation Ax + By + C = 0, where A and B are not both zero. */ class Line { private double a; private double b; private double c; this() { this(0.0, 0.0, 0.0); ...
D
module Syntax; public import SyntaxProc; public import Define; public import Lambda; public import Quote; public import Cond;
D
/Users/Leex/TableView_Test/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Create.o : /Users/Leex/TableView_Test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test/Pods/RxSwi...
D
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Fluent.build/Relations/Children.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Fluent-1.0.7/Sources/Fluent/Database/Database.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPI...
D
import iopipe.textpipe; import iopipe.bufpipe; import iopipe.valve; import std.format; import std.io; import std.typecons : refCounted; auto stdout() { return File(1).refCounted; } // returns number of matches found size_t performSearch(UTFType utfType, Dev)(Dev dev, size_t contextLines, string[] terms) { // ...
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/JSON.build/JSON+Equatable.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/json.git-9153249592855998091/Sources/JSON/JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/json.git-...
D
/Users/macosx/Desktop/IOS-OBJ/ViberDemo/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications.o : /Users/macosx/Desktop/IOS-OBJ/ViberDemo/Pods/Alamofire/Source/MultipartFormData.swift /Users/macosx/Desktop/IOS-OBJ/ViberDemo/Pods/Alamofire/Source/Timeline.swift /Users/macosx/Desktop/...
D
module line; static assert(__LINE__ == 3); int #line 10 x; static assert(__LINE__ == 12); version(Windows) { static assert(__FILE__ == "compilable\\line.d"); static assert(__FILE_FULL_PATH__[1..3] == ":\\"); } else { static assert(__FILE__ == "compilable/line.d"); static assert(__FILE_FULL_PATH__[0] ...
D
module deimos.hyperdex.hyperspace_builder; /* Copyright (c) 2013, Cornell University * 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...
D
module android.java.android.net.UrlQuerySanitizer_IllegalCharacterValueSanitizer_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; @JavaName("UrlQuer...
D
instance NOV_1340_Novize(Npc_Default) { name[0] = NAME_Novize; npcType = npctype_ambient; guild = GIL_NOV; level = 9; flags = 0; voice = 3; id = 1340; attribute[ATR_STRENGTH] = 15; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 148; attr...
D
//Written in the D programming language /++ Module containing Date/Time functionality. This module provides: $(UL $(LI Types to represent points in time: $(D SysTime), $(D Date), $(D TimeOfDay), and $(D DateTime).) $(LI Types to represent intervals of time.) $(LI Types...
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/SQL.build/SQLSelectExpression.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sql/Sources/SQL/SQLJoinMeth...
D
/********************************************************* Copyright: (C) 2008-2010 by Steven Schveighoffer. All rights reserved License: Boost Software License version 1.0 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accomp...
D
# FIXED Drivers/LCD/LCDDogm1286.obj: C:/ti/tirtos_simplelink_2_13_00_06/packages/ti/drivers/lcd/LCDDogm1286.c Drivers/LCD/LCDDogm1286.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/string.h Drivers/LCD/LCDDogm1286.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/linkage.h Drivers/LCD/LCDDogm1286.obj:...
D
/Users/ryoto/Work/CITest/DerivedData/CITest/Build/Intermediates/CITest.build/Debug-iphonesimulator/CITest.build/Objects-normal/x86_64/AppDelegate.o : /Users/ryoto/Work/CITest/CITest/ViewController.swift /Users/ryoto/Work/CITest/CITest/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault....
D
// //---------------------------------------------------------------------- // Copyright 2007-2011 Mentor Graphics Corporation // Copyright 2007-2010 Cadence Design Systems, Inc. // Copyright 2010 Synopsys, Inc. // Copyright 2014 Coverify Systems Technology // All Rights Reserved Worldwide // // Licensed un...
D
<?xml version="1.0" encoding="UTF-8"?> <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="FileControl.notation#_3WlFUOVZ...
D
a small piece of paper that is supposed to be removed when a hole is punched in a card or paper tape a lake in north central Africa a landlocked desert republic in north-central Africa a family of Afroasiatic tonal languages (mostly two tones) spoken in the regions west and south of Lake Chad in north central Africa
D
// Copyright Ferdinand Majerech 2013-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 tharsis.entity.prototypemanager; import core.sync.rwmutex; import std.algorithm; import st...
D
/** Provides vibe based applications with a central program entry point. This module is included automatically through the import 'vibe.d'. It will provide a default application entry point which parses command line arguments, reads the global vibe configuration file, and starts the event loop. The application i...
D
import std.stdio; import std.typecons; // Nullable import std.c.stdlib; // exit() import std.path; import std.process; import std.getopt; import std.file; import std.format; import std.string; import config; import dirconfig; import dini; import log; import builder; import impl; struct ElixirBuildOptions { string r...
D
instance Bau_900_Onar(Npc_Default) { name[0] = "Онар"; guild = GIL_BAU; id = 900; voice = 14; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,4); level = 1; aivar[93] = TRUE; fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_1h_Bau_Mace); B_CreateAmbientInv(self); B_SetNpcVisual(self,M...
D
instance DIA_BAU_1_EXIT(C_Info) { nr = 999; condition = DIA_BAU_1_EXIT_Condition; information = DIA_BAU_1_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_BAU_1_EXIT_Condition() { return TRUE; }; func void DIA_BAU_1_EXIT_Info() { AI_StopProcessInfos(self); }; instance DIA_BAU_1_HowAU(...
D
/******************************************************************************* Copyright: Copyright (C) 2008 Kris Bell. все rights reserved. License: BSD стиль: $(LICENSE) version: Initial release: March 2008 Authors: Kris ****************************************...
D
INSTANCE Mod_7738_BDT_Bandit_EIS (Npc_Default) { // ------ NSC ------ name = "Bandit"; guild = GIL_STRF; id = 7738; voice = 03; flags = 0; npctype = NPCTYPE_nw_bandit; // ------ Attribute ------ B_SetAttributesToChapter (self, 3); // ------ Kampf-Taktik ------ fight_tact...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; int[3][2] BS; int[2][3] CS; int[2] solve(int t, int[3][3] bd) { if (t == 9) { int b, c; foreach (int ij; 0..9) { int i = ij/3; int j = ij%3; if (i+1 < 3) { ...
D
instance DIA_Sonja_EXIT(C_Info) { npc = VLK_436_Sonja; nr = 999; condition = DIA_Sonja_EXIT_Condition; information = DIA_Sonja_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Sonja_EXIT_Condition() { return TRUE; }; func void DIA_Sonja_EXIT_Info() { AI_StopProcessInfos(self); }; in...
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, a...
D
// ************************************************** // EXIT // ************************************************** INSTANCE DIA_RBL_2605_GARRY_Exit (C_INFO) { npc = RBL_2605_GARRY; nr = 999; condition = DIA_RBL_2605_GARRY_Exit_Condition; information = DIA_RBL_2605_GARRY_Exit_Info; permanent = 1; de...
D
<!DOCTYPE html> <html> <!-- Mirrored from www.cognitiveclouds.com/img/c/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/fa...
D
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Service.build/Utilities/Extendable.swift.o : /Users/work/Projects/Hello/.build/checkouts/service.git--3029908809087319447/Sources/Service/Services/ServiceID.swift /Users/work/Projects/Hello/.build/checkouts/service.git--3029908809087319447/Sources/Service...
D
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/tokio_executor-b079f515d0aceafe.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tokio-executor-0.1.10/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tokio-executor-0.1...
D
/Users/jpc-mac/Documents/NYTimesDemo/Build/Build/Intermediates.noindex/NYTimesDemo.build/Debug-iphonesimulator/NYTimesDemo.build/Objects-normal/x86_64/DataStore.o : /Users/jpc-mac/Documents/NYTimesDemo/NYTimesDemo/Model/Article.swift /Users/jpc-mac/Documents/NYTimesDemo/NYTimesDemo/Model/DataStore.swift /Users/jpc-mac/...
D
/***********************************************************************\ * setupapi.d * * * * Windows API header module * * ...
D
/******************************************************************************* copyright: Copyright (c) 2008 Jeff Davey. All rights reserved license: BSD style: $(LICENSE) author: Jeff Davey <j@submersion.com> ***************************************************...
D
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/Crypto.build/RSA/RSAPadding.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/RSA/RSA.swift /Users/Khanh/vapor/TILApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/MAC/HMAC.swift /Users/Khan...
D
# FIXED driverlib/usb.obj: C:/Users/Max/Desktop/TivaWare_C_Series-2.1.3.156/driverlib/usb.c driverlib/usb.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdbool.h driverlib/usb.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h driverlib/usb.obj: C:/Users/Max/Desktop/TivaWare_C_Serie...
D
/home/f/Desktop/rust-projects/guessing_game/target/rls/debug/build/libc-3160b678f2fa33c1/build_script_build-3160b678f2fa33c1: /home/f/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.62/build.rs /home/f/Desktop/rust-projects/guessing_game/target/rls/debug/build/libc-3160b678f2fa33c1/build_script_build-3160b678...
D
/home/git/for_nep141/nep141transfer/contract/target/debug/build/libc-aa9cacf7625af113/build_script_build-aa9cacf7625af113: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/build.rs /home/git/for_nep141/nep141transfer/contract/target/debug/build/libc-aa9cacf7625af113/build_script_build-aa9cacf7625af113...
D
(art) the branch of philosophy dealing with beauty and taste (emphasizing the evaluative criteria that are applied to art (philosophy) a philosophical theory as to what is beautiful
D
module senderoxc.data.object.HABTM;
D
/** A HTTP 1.1/1.0 server implementation. Copyright: © 2012-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, Jan Krüger, Ilya Shipunov */ module vibe.http.server; public import vibe.core.net; public import vibe.http.co...
D
/** * Utility subroutines * * Only used for DMD * * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1984-1998 by Symantec * Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http:...
D
INSTANCE Info_Mod_Dar_Miguel (C_INFO) { npc = Mod_782_SLD_Dar_MT; nr = 1; condition = Info_Mod_Dar_Miguel_Condition; information = Info_Mod_Dar_Miguel_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Dar_Miguel_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Miguel_Aufgabe3)) && (Npc_HasItems(hero, It...
D
INSTANCE Mod_7681_ASS_Halbtoter_NW (Npc_Default) { // ------ NSC ------ name = "Halbtoter"; guild = GIL_OUT; id = 7681; voice = 13; flags = 0; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ----...
D
/* * DSFML - The Simple and Fast Multimedia Library for D * * Copyright (c) 2013 - 2020 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
/****************************************************************************** This module contains the enumeration of Croc metamethods and some data about them used by the interpreter. License: Copyright (c) 2011 Jarrett Billingsley This software is provided 'as-is', without any express or implied warranty. In no e...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * Entry point for DMD. * * This modules defines the entry point (main) for DMD, as well as related * utilities needed for arguments parsing, path manipulation, etc... * This file is not shared with other compilers which...
D
module app; import vibe.core.core; import vibe.core.log; import vibe.http.auth.basic_auth; import vibe.http.client; import vibe.http.router; import vibe.http.server; import vibe.web.auth; import vibe.web.web; import std.algorithm : among; import std.datetime; import std.format : format; shared static this() { auto...
D
func int B_GhostSpecialDamage(var C_Npc oth,var C_Npc slf) { var C_Npc Quarho; var C_Npc Rhadem; var C_Npc her; Quarho = Hlp_GetNpc(NONE_ADDON_111_Quarhodron); Rhadem = Hlp_GetNpc(NONE_ADDON_112_Rhademes); her = Hlp_GetNpc(PC_Hero); if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Quarho)) || (Hlp_GetInstanceID...
D
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/Routing.build/RouteBuilder+RouteCollection.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Routing-1.0.2/Sources/Routing/Branch.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Routing-1.0.2/Sources/Rou...
D
// Written in the D programming language. /** Bit-level manipulation facilities. Macros: WIKI = StdBitarray Copyright: Copyright Digital Mars 2007 - 2011. License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. Authors: $(WEB digitalmars.com, Walter Bright), $(WEB erdani.org, A...
D
/Users/doriankinoocrutcher/Documents/blockheads/Blockstagram/blockstagram/contract/target/wasm32-unknown-unknown/debug/deps/keccak-96349553626b1b05.rmeta: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/keccak-0.1.0/src/lib.rs /Users/doriankinoocrutcher/Documents/blockheads/Blockstagram/bloc...
D
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
D
module xfbuild.Linker; private { import xfbuild.GlobalParams; import xfbuild.Module; import xfbuild.Process; import xfbuild.Misc; import tango.sys.Process; import tango.io.stream.Lines; import tango.stdc.ctype : isalnum; import tango.text.Util : contains; import Array=tango.core.Array; // TOD...
D
void foo(int x, int y = 3) { } foo(4); // same as foo(4, 3);
D
import derelict.sdl2.sdl; struct Key { bool state; int kEnum; } enum { W, A, S, D, UP, DOWN, LEFT, RIGHT, ATTACK, SELECT, LAST } private Key[] keys = [ {0, SDL_SCANCODE_W}, {0, SDL_SCANCODE_A}, {0, SDL_SCANCODE_S}, {0, SDL_SCANCODE_D}, {0, SDL_SCANCODE_UP}, {0, SDL_SCANCODE_DOWN}, {0, SDL_SCANCODE_LE...
D
/* TEST_OUTPUT: --- fail_compilation/ice13816.d(15): Error: alias `ice13816.ItemProperty!().ItemProperty` recursive alias declaration fail_compilation/ice13816.d(20): Error: template instance `ice13816.ItemProperty!()` error instantiating --- */ alias TypeTuple(T...) = T; template ItemProperty() { static if (true...
D
instance Mod_7462_RIT_Gerold_IR (Npc_Default) { // ------ NSC ------ name = "Gerold"; guild = GIL_OUT; id = 7462; voice = 0; flags = 0; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ------ fi...
D
/Users/reececomo/Documents/Dev/opensource/SFSymbols/.build/x86_64-apple-macosx/debug/SFSymbols.build/SFSymbols.swift.o : /Users/reececomo/Documents/Dev/opensource/SFSymbols/Sources/SFSymbols/SFSymbols.swift /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/Swift.sw...
D
module UnrealScript.TribesGame.TrFlagTeamRabbit; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.Controller; import UnrealScript.TribesGame.TrFlagBase; extern(C++) interface TrFlagTeamRabbit : TrFlagBase { public extern(D): private static __gshared ScriptClass mStaticClass; ...
D
module day9.part1.main; import std; import core.thread; void main() { auto memory = File("input", "r").readln.strip.splitter(",").map!(to!long).array; memory.length = 2048; auto input = [1L]; auto output = outputRange!((long e) { e.writeln; })(); Scheduler().schedule(createFiber(memory, input, out...
D
/home/fluix/Documents/CMPT383/Final_Project/Round2/CMPT383-Raytracer/raytracer/server/target/debug/build/log-0313cea0e944b064/build_script_build-0313cea0e944b064: /home/fluix/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.11/build.rs /home/fluix/Documents/CMPT383/Final_Project/Round2/CMPT383-Raytracer/raytrac...
D
short short_vars(uint i) { short v1; short v2 = 10; short v3 = 23u; short v4 = 32762u; short v5 = v2; short v6; short v7 = 1; v7 = 20; v6 = v4; if (i == 1) { return v1; } else if (i == 2) { return v2; } else if (i == 3) { return v3; } else if (i == 4) { return v4; } else if (i == 5) { retu...
D
import std.algorithm, std.array, std.csv, std.file, std.format, std.getopt, std.random, std.stdio, std.string, std.typecons, std.utf; class MemorizerException : Exception { this ( string mes, string file = __FILE__, uint line = __LINE__ ) { ...
D
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Routing/RouteCollection.swift.o : /Users/work/Projects/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/FileIO.swift /Users/work/Projects/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Content/Fo...
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
import std.stdio; import std.process; void convertFile() { auto WordToTxtPID = spawnProcess("WordToTxt"); if (wait(WordToTxtPID) != 0) writeln("Conversion failed!"); } void convertFile(string filePath) { auto WordToTxtPID = spawnProcess(["WordToTxt", filePath]); if (wait(WordToTxtPID) != 0) writeln("Con...
D
/** Ported by Laeeth Isharc 2014 to the D Programming Language Use at your own risk! This example shows how to create a chunked dataset. The program first writes integers in a hyperslab selection to a chunked dataset with dataspace dimensions of DIM0xDIM1 and chunk size of CHUNK0xCHUNK1, then ...
D
/** Copyright: Copyright (c) 2015-2016 Andrey Penechko. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Andrey Penechko. */ module voxelman.math.utils; import std.traits : isFloatingPoint; import voxelman.math; void nansToZero(T, int size)(ref Vector!(T, size) vector) if (isFloatingPoint!T) {...
D
module test.ProgressBarTest; import hunt.console.error.LogicException; import hunt.console.output.Output; import hunt.console.output.StreamOutput; import hunt.console.output.Verbosity; import hunt.console.util.StringUtils; import hunt.console.helper.ProgressBar; import test.asserts; import std.string; import...
D
// { dg-options "-I $srcdir/gdc.dg -I $srcdir/gdc.dg/imports" } // { dg-additional-sources "imports/gdc27.d imports/gdc231.d" } // { dg-do compile } import core.simd; import gcc.attribute; /******************************************/ // https://bugzilla.gdcproject.org/show_bug.cgi?id=27 import imports.gdc27; interf...
D
INSTANCE Info_Mod_Gritta_Hi (C_INFO) { npc = Mod_580_NONE_Gritta_NW; nr = 1; condition = Info_Mod_Gritta_Hi_Condition; information = Info_Mod_Gritta_Hi_Info; permanent = 0; important = 0; description = "Wer bist du?"; }; FUNC INT Info_Mod_Gritta_Hi_Condition() { return 1; }; FUNC VOID Info_Mod_Gritta_Hi_Inf...
D
// 1. CHAIN IF ~InParty("C#Ajantis") See("C#Ajantis") !StateCheck("C#Ajantis",CD_STATE_NOTVALID) !StateCheck("O#Coran",CD_STATE_NOTVALID) CombatCounter(0) !See([ENEMY]) Global("G#XB.AjantisCoranBanter1","GLOBAL",0)~ THEN BO#CORAN AjantisCoranBanter#1.1 ~Ajantis, what say you about a game of ball?~ DO ~SetGlobal("G#XB...
D
module flipper.chips.base; version (Tango) { alias char[] string; } import flipper.devices.device; import flipper.memory; import flipper.protocols.jtag; class Chip { TAPStateMachine sm; Memory[string] memory; this( TAPStateMachine sm ) { this.sm = sm; } void addMemory( string name, Memory inst ) { memo...
D