code
stringlengths
3
10M
language
stringclasses
31 values
/* * Placed into the Public Domain * written by Walter Bright * www.digitalmars.com */ void _d_invariant(Object o) { ClassInfo c; //printf("__d_invariant(%p)\n", o); // BUG: needs to be filename/line of caller, not library routine assert(o !is null); // just do null check, not invaria...
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Sean Kelly * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 20...
D
module javaClassLoader; // docs: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html import std.typecons, std.conv, std.variant, std.algorithm, std.range; // Conversion(Declared for UFCS) private auto toU2(ubyte[] data) pure { return cast(ushort)((cast(ushort)data[0] << 8) | cast(ushort)data[1]); } privat...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2018 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
import std.array : split; import std.conv; import dunit.toolkit; import std.stdio : write; class InstructionParser { enum short[string] op_map = [ "inc": 0x0000, "dec": 0x1000, "mov": 0x2000, "jmp": 0x3000, "jz" : 0x4000]; short parse_instruction(string instruction) { auto words = split(instructi...
D
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/RX_Product.build/Debug-iphonesimulator/RX_Product.build/Objects-normal/x86_64/APIRoter.o : /Users/sunchuyue/Documents/test/RX_Product/RX_Product/vender/network/RequestAPI.swift /Users/sunchuyue/Documents/test/RX_Product/RX_Pro...
D
// Written in the D programming language. /** * D constrains integral types to specific sizes. But efficiency of different sizes varies from machine to machine, pointer sizes vary, and the maximum integer size varies. <b>stdint</b> offers a portable way of trading off size vs efficiency, in a mann...
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_6_BeT-16179115...
D
import type_version.ctti; void main() { struct Color1 { union { uint value; struct { ubyte r, g, b, a; } } } struct Color2 { union { float[3] atIndex; struct { float r, g, b; } } } struct Color3 { union U1 { uint value; struct { ubyte r, g, b, a; } } U1 u; } struct Color4 { union U2 { float[3] atIndex;...
D
module cesetup; import std.stdio, std.file, std.process, std.path, std.string, std.getopt; version(X86) version(linux) version = nux32; version(X86_64) version(linux) version = nux64; version(X86) version(Windows)version = win32; version(Windows) enum exeExt = ".exe"; else enum exeExt = ""; alias ImpTyp...
D
module speed.packets; enum PacketType : ubyte { Login, Logoff, Whisper, ChangePassword, UploadFile, Data, } class Packet { } class LoginPacket : Packet { string username; } class LogoffPacket : Packet { string username; } class WhisperPacket : Packet { string target; string message; } class...
D
instance PIR_1394_Addon_InExtremo_YellowPfeiffer(Npc_Default) { name[0] = "Yellow Pfeiffer"; npcType = npctype_main; guild = GIL_NONE; level = 4; flags = 0; voice = 9; id = 1394; flags = NPC_FLAG_IMMORTAL; attribute[ATR_STRENGTH] = 20; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[A...
D
func void B_AssessFollowPlayer() { if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(VLK_444_Jack)) && (JackMeetLHGhost == TRUE) && (FinishStoryLH == FALSE)) { Npc_PercDisable(self,PERC_ASSESSTALK); }; if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(DiegoOW)) { if((Npc_GetDistToNpc(self,hero) < self.aivar[AIV_...
D
a slowly moving mass of ice
D
module android.java.android.view.SurfaceControl_Transaction; public import android.java.android.view.SurfaceControl_Transaction_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!SurfaceControl_Transaction; import import0 = android.java.android.view.SurfaceControl_Transaction; import import3 = an...
D
Special events were planned at bookstores worldwide, including Asia, for the much-anticipated release of Harry Potter and the Half-Blood Prince. The author herself was to host a special celebration at Edinburgh Castle for 70 children from around the world. A US drug store accidentally sold one copy of the book ahead of...
D
/** Source code class. Authors: Daniel Keep <daniel.keep@gmail.com> Copyright: See LICENSE. */ module ouro.Source; import Utf = tango.text.convert.Utf; import ouro.Location; import tango.io.Stdout; final class Source { char[] name, src; char[][] lines; size_t startLine, startCol; t...
D
module wx.CommandEvent; public import wx.common; public import wx.Event; public import wx.ClientData; //! \cond EXTERN static extern (C) IntPtr wxCommandEvent_ctor(int type,int winid); static extern (C) int wxCommandEvent_GetSelection(IntPtr self); static extern (C) IntPtr wxCommandEvent_GetString(IntPtr self); st...
D
/Users/ziadharb/HelloWorld/Build/Intermediates.noindex/HelloWorld.build/Debug-iphonesimulator/HelloWorld\ (iOS).build/Objects-normal/x86_64/HelloWorldApp.o : /Users/ziadharb/HelloWorld/Shared/HelloWorldApp.swift /Users/ziadharb/HelloWorld/Shared/ContentView.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPh...
D
/Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/AppCoordinatorsLearning.build/Debug-iphoneos/AppCoordinatorsLearning.build/Objects-normal/arm64/Coordinator.o : /Users/martyn/Development/AppCoordinatorsLearning/AppCoordinatorsLearning/AppDelegate.swift /U...
D
void main() { problem(); } void problem() { auto a = scan; string solve() { return a[$-1] == 's' ? a ~ "es" : a ~ "s"; } solve().writeln; } // ---------------------------------------------- import std.stdio, std.conv, std.array, std.string, std.algorithm, std.container, std.range, core.stdc.stdlib, s...
D
module UnrealScript.Engine.ParticleModuleBeamBase; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.ParticleModule; extern(C++) interface ParticleModuleBeamBase : ParticleModule { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static Scrip...
D
/* DSFML - The Simple and Fast Multimedia Library for D Copyright (c) 2013 - 2015 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. Permission is gran...
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.concurrency, std.range, std.algorithm; struct Node(T) { T data; Node* L, R; } Generator!T fringe(T)(Node!T* t1) { return new typeof(return)({ if (t1 != null) { if (t1.L == null && t1.R == null) // Is a leaf. yield(t1.data); else ...
D
module android.java.java.io.PipedOutputStream_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.io.PipedInputStream_d_interface; import import1 = android.java.java.lang.Class...
D
module dcrypt.main; import std.stdio; import std.conv; import dcrypt.streamcipher.streamcipher; import dcrypt.encoders.hex; import dcrypt.digest; import dcrypt.digests.sha1; import dcrypt.digests.sha2; import dcrypt.digests.sha3; import dcrypt.digests.blake; import dcrypt.keyderivation.pbkdf2; import dcrypt.blockci...
D
module ui.parse.css.unset;
D
/* 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, distribute, execute, and transmit the Software, a...
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_BeT-6721898...
D
module polyplex.core.color; import polyplex.math; import polyplex.utils.logging; public class Color { /* COLORS AUTOGENERATED WITH COLORGEN SCRIPT */ /// Color named Barley Corn, with hex: A68B5B public static @property Color BarleyCorn() { return new Color(0xA68B5BFF); } /// Color named Reno Sand, with hex: ...
D
/** * Copyright: Copyright (c) 2010-2011 Jacob Carlborg. * Authors: Jacob Carlborg * Version: Initial created: Feb 4, 2010 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) */ module orange.serialization.RegisterWrapper; import orange.serialization.Serializer; /** * This class...
D
module java.nonstandard.SharedLib; import java.lang.all; version (Tango) { static import tango.sys.SharedLib; static import tango.stdc.stringz; } else { // Phobos static import std.string; private alias HXModule = void*; version (Windows) { import core.sys.windows.windows; import std.utf; private HXMod...
D
module os.win.tlb.mswinsocklib; private import os.win.com.core; enum ProtocolConstants { sckTCPProtocol = 0x00000000, sckUDPProtocol = 0x00000001, } enum StateConstants { sckClosed = 0x00000000, sckOpen = 0x00000001, sckListening = 0x00000002, sckConnectionPending = 0x00000003, sckResolv...
D
class A { public int val1; void f(double[][] a, int c) { Print("A"); } } class B extends A{ int val2; void print() { Print(val2, " ", val1); } void f(int[] a, int e) { Print("B"); } } int main() { A a; B b; int[] i; double[] j; a = new A; b = new B; i = NewA...
D
/Users/bilalhashmi/Desktop/Developer/Concentration/DerivedData/Concentration/Build/Intermediates.noindex/Concentration.build/Debug-iphonesimulator/Concentration.build/Objects-normal/x86_64/Concentration.o : /Users/bilalhashmi/Desktop/Developer/Concentration/Concentration/Card.swift /Users/bilalhashmi/Desktop/Developer/...
D
/* _______ __ __ __ ______ __ __ _______ __ __ * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / * / /_// /\ / /_// / // / // /_/_ ...
D
/Users/simon/Documents/code/git_repo/rust_fun/microservice/hyper-microservice/target/debug/deps/maybe_uninit-717b94bd6b4f9da8.rmeta: /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/maybe-uninit-2.0.0/src/lib.rs /Users/simon/Documents/code/git_repo/rust_fun/microservice/hyper-microservice/target/debug/deps...
D
//Written in the D programming language /* Implementation of Thompson NFA std.regex engine. Key point is evaluation of all possible threads (state) at each step in a breadth-first manner, thereby geting some nice properties: - looking at each character only once - merging of equivalent threa...
D
module mach.traits.call.func; private: // public: template isFunctionPointer(Tx...) if(Tx.length == 1){ enum bool isFunctionPointer = !is(FunctionPointerType!(Tx[0]) == void); } template FunctionPointerType(alias T){ alias FunctionPointerType = FunctionPointerType!(typeof(T)); } template FunctionPointerT...
D
import vibe.appmain; import vibe.core.log; import vibe.http.router; import vibe.http.server; import std.exception; void uploadFile(HTTPServerRequest req, HTTPServerResponse res) { auto pf = "file" in req.files; enforce(pf !is null, "No file uploaded!"); try moveFile(pf.tempPath, Path(".") ~ pf.filename); catch (...
D
module wrapper.sodium.crypto_sign_ed25519; import wrapper.sodium.core; // assure sodium got initialized public import deimos.sodium.crypto_sign_ed25519: crypto_sign_ed25519ph_state, crypto_sign_ed25519ph_statebytes, crypto_sign_ed2...
D
#!/usr/local/bin/rdmd import std.stdio; int count(int n){ int ret=0; for(int x=n+1;x<=2*n;x++){ if(cast(long)(n)*x % (n-x)==0){ ret++; } } return ret; } void main(){ for(int i=78000;;i++){ if(count(i)>1000){ printf("Answer: %d\n", i); return; } if(i%1000==0)printf("%d,%...
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, std.bitmanip; immutable long INF = 1L << 59; immutable long MOD = 10^^9 + 7; void main() { auto s = readln.split.map!(to!int); auto...
D
/** * Windows API header module * * Translated from MinGW Windows headers * * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DRUNTIMESRC src/core/sys/windows/_sqltypes.d) */ module core.sys.windows.sqltypes; version (Windows): @system: version (ANSI) {} else version = Unic...
D
package org.chromium.support_lib_boundary; import java.lang.reflect.InvocationHandler; public interface WebKitTypeAsMethodReturnBoundaryInterface { InvocationHandler method(); InvocationHandler method2(); }
D
import std.stdio; import std.format : format; import std.conv : to; class Uno { Uno left; Uno right; Uno firstChild; Uno lastChild; Uno parent; alias firstChild childs; int opApply( int delegate( ref Uno ) dg ) { int result = 0; for ( Uno scan = this; scan !is null; scan...
D
an indirect suggestion a slight indication a slight but appreciable amount a just detectable amount an indication of potential opportunity drop a hint
D
/Users/hazuki/Desktop/13/la/lifeistech/Hairetsu/DerivedData/Hairetsu/Build/Intermediates.noindex/Hairetsu.build/Debug-iphonesimulator/Hairetsu.build/Objects-normal/x86_64/SceneDelegate.o : /Users/hazuki/Desktop/13/la/lifeistech/Hairetsu/Hairetsu/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Hairetsu/Hairet...
D
// URL: http://codeforces.com/contest/977/problem/C import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string; auto rdsp(){return readln.splitter;} void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;} void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r,v);} ...
D
/* * Kiss - A simple base net library * * Copyright (C) 2017 Shanghai Putao Technology Co., Ltd * * Developer: putao's Dlang team * * Licensed under the Apache-2.0 License. * */ module kiss.aio.AsyncGroupTcpServer; import kiss.aio.AsyncTcpServer; import kiss.event.Poll; class AsyncGroupTcpServer(T , A ...)...
D
module android.java.android.widget.QuickContactBadge; public import android.java.android.widget.QuickContactBadge_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!QuickContactBadge; import import41 = android.java.android.view.accessibility.AccessibilityNodeProvider; import import80 = android.ja...
D
/Users/potpie/Downloads/cf_demo_widget-master/DerivedData/WidgetDemo/Build/Intermediates.noindex/WidgetDemo.build/Debug-iphonesimulator/QuotesWidget.build/Objects-normal/x86_64/TodayViewController.o : /Users/potpie/Downloads/cf_demo_widget-master/QuotesWidget/TodayViewController.swift /Applications/Xcode.app/Contents/D...
D
// REQUIRED_ARGS: import std.math: poly; import core.stdc.stdarg; extern(C) { int printf(const char*, ...); version(Windows) { int _snprintf(char*, size_t, const char*, ...); alias _snprintf snprintf; } else int snprintf(char*, size_t, const char*, ...); } version (LDC) st...
D
func void ZS_ReactToWeapon() { Perception_Set_Minimal(); Npc_PercEnable(self,PERC_ASSESSFIGHTSOUND,B_AssessFightSound); Npc_PercEnable(self,PERC_ASSESSPLAYER,B_AssessPlayer_ImportantInfo); //нет ли важной информации для ГГ if(B_AssessEnemy()) { return; }; AI_Standup(self); B_LookAtNpc(self,other); B_Sele...
D
/** Implements logging facilities. Message logging is a common approach to expose runtime information of a program. Logging should be easy, but also flexible and powerful, therefore $(D D) provides a standard interface for logging. The easiest way to create a log message is to write $(D import std.logger; log("I am h...
D
/** * D header file for NetBSD * * Authors: Martin Nowak * * http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/sys/mman.h */ module core.sys.netbsd.sys.mman; version (NetBSD): extern (C): nothrow: public import core.sys.posix.sys.mman; import core.sys.posix.sys.types; enum __BSD_VISIBLE = ...
D
module mkk.tools.deploy.db; import std.getopt: getopt; import std.stdio: writeln; import std.exception: enforce; import mkk.backend.database: getAuthDB, getCommonDB, getHistoryDB; import webtank.db.datctrl: getScalar; import webtank.db.transaction: makeTransaction; import webtank.db: queryParams; void main(string[] ...
D
module util.array_includes; import std.algorithm; import util.equals; /** * Returns true if needle is found in haystack. Comparison is * case insensitive. */ bool includes_ci(string[] haystack, string needle) { bool is_requested(string a) { return a.equals_ci(needle); } return reduce!("a || b")(...
D
// PERMUTE_ARGS: // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 2 /** * Summary * * Description1 * * Description2 * * Description3 * * Macros: * WIKI = StdStream * meemie * See_Also: * Things to see also. * * And more things. */ /* *...
D
module deepmagic.dom.elements.scripting.canvas_element; import deepmagic.dom; class CanvasElement : Html5Element!("canvas"){ mixin(ElementConstructorTemplate!()); mixin(AttributeTemplate!(typeof(this), "Width", "width")); mixin(AttributeTemplate!(typeof(this), "Height", "height")); } ///Check Default Initializati...
D
module android.java.android.icu.util.Output_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; final class Output : IJavaObject { static immutable st...
D
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/SMTP.build/Email/Address/EmailAddress+StringLiteralConvertible.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/engine.git-3311994267206676365/Sources/SMTP/Utility/NSUUID+SMTPMessageID.swift /Users/Alei...
D
/Users/Larry/Desktop/ARKit-line-drawing/build/ARKitDraw.build/Debug-iphonesimulator/ARKitDraw.build/Objects-normal/x86_64/SCNVector3Extensions.o : /Users/Larry/Desktop/ARKit-line-drawing/ARKitDraw/AppDelegate.swift /Users/Larry/Desktop/ARKit-line-drawing/ARKitDraw/login.swift /Users/Larry/Desktop/ARKit-line-drawing/ARK...
D
# FIXED HAL/Target/CC2650/Drivers/hal_rtc_wrapper.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_rtc_wrapper.c HAL/Target/CC2650/Drivers/hal_rtc_wrapper.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/hal_mcu.h HAL/Target/CC2650/Drive...
D
module ez.Script.Serialization.Serialization; import std.format; import ez.Foundation.Memory.AllocatorBase; import ez.Script.Reflection.Reflection; import core.stdc.string : memcpy; enum DataType : uint { Byte = BasicType.Type.Byte, Short = BasicType.Type.Short, Int = BasicType.Type.Int, Long ...
D
/Users/oleksandrrudavka/Developer/RanDice/Build/Intermediates/RanDice.build/Debug/RanDice.build/Objects-normal/x86_64/Randomizer.o : /Users/oleksandrrudavka/Developer/RanDice/RanDice/AppDelegate.swift /Users/oleksandrrudavka/Developer/RanDice/RanDice/Controllers/DiceController.swift /Users/oleksandrrudavka/Developer/Ra...
D
/******************************************************************************* Copyright: Copyright (C) 2008 Kris Bell, все rights reserved License: BSD стиль: $(LICENSE) version: July 2008: Initial release Authors: Kris *******************************************...
D
/***********************************************************************\ * winsvc.d * * * * Windows API header module * * ...
D
INSTANCE PC_Hero(NPC_DEFAULT) { //-------- primary data -------- name = "Me"; Npctype = NPCTYPE_MAIN; guild = GIL_NONE; level = 0; voice = 15; id = 0; //------------------------------ exp = 0; exp_next = 500; lp = 0; //------------------------------ //--------- abilities ------...
D
/Users/vstavenko/projects/koordinata/frontend/target/debug/build/core-foundation-sys-56f51867f02bc7b7/build_script_build-56f51867f02bc7b7: /Users/vstavenko/.cargo/registry/src/github.com-1ecc6299db9ec823/core-foundation-sys-0.6.2/build.rs /Users/vstavenko/projects/koordinata/frontend/target/debug/build/core-foundation...
D
/***********************************************************************\ * lmremutl.d * * * * Windows API header module * * ...
D
/* Copyright (c) 2019 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, distribute, execu...
D
/** * Element module. * * License: * MIT. See LICENSE for full details. */ module tkd.element.cursor; /** * Cross-platform cursor values. */ enum Cursor : string { normal = "", xCursor = "X_cursor", arrow = "arrow", basedArrowDown = "based_arro...
D
module hunt.framework.provider.ViewServiceProvider; import hunt.framework.config.ApplicationConfig; import hunt.framework.provider.ServiceProvider; import hunt.framework.Init; import hunt.framework.view.View; import hunt.framework.view.Environment; import hunt.logging.ConsoleLogger; import poodinis; import std.path;...
D
//############################################ // Copyright (C) Lyrebird Software 1995-2013 // File: vtkd.cmake // Created: 2013-09-30 09:43:23 // Modified: 2013-10-08 14:05:54 //############################################ /* 1. rdmd genswigi.d -hl=wraplist.txt -po=hdrs -io=ifiles `ls -1 ./third_party/vtk-6.0.0/incl...
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_23_BeT-4823678...
D
module android.java.java.nio.channels.NonWritableChannelException; public import android.java.java.nio.channels.NonWritableChannelException_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!NonWritableChannelException; import import4 = android.java.java.lang.Class; import import3 = android.java....
D
void main() { runSolver(); } void problem() { auto N = scan!int; auto M = scan!int; auto E = scan!int(2 * M).chunks(2); auto QN = scan!int; auto Q = scan!int(2 * QN).chunks(2); auto solve() { auto graph = new int[][](N + 1, 0); foreach(e; E) { graph[e[0]] ~= e[1]; graph[e[1]] ~= e[0]; ...
D
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/App.build/boot.swift.o : /Users/christian/GitHub/vapor/HelloVapor/Sources/App/Jobs/JobEngine.swift /Users/christian/GitHub/vapor/HelloVapor/Sources/App/configure.swift /Users/christian/GitHub/vapor/HelloVapor/Sources/App/shell.swift /Users/christ...
D
/** * This module contains all functions related to an object's lifetime: * allocation, resizing, deallocation, and finalization. * * Copyright: Copyright Digital Mars 2000 - 2012. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompa...
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
/* Copyright (c) 2013 Andrey Penechko 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, distribute, exec...
D
/// Wrapper which accepts DMC command-line syntax /// and passes the transformed options to a MSVC cl.exe. module msvc_dmc; import std.algorithm.searching; import std.array; import std.file; import std.path; import std.process; import std.stdio; int main(string[] args) { import std.conv: to; imp...
D
/* * Copyright (C) 2019, HuntLabs * * 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...
D
/Users/lipeng/Developer/rustworkspace/rust_module/pkg_demo_1/target/rls/debug/deps/regex_syntax-35967dedc846fad4.rmeta: /Users/lipeng/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/regex-syntax-0.3.9/src/lib.rs /Users/lipeng/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/regex-syntax-0.3.9/src/liter...
D
module entreri.mem.allocator; import core.memory; import core.exception; import std.stdio; import std.conv; class ClassAllocator(A, bool GROWABLE = true) { static assert(__traits(isFinalClass, A), "ClassAllocator can only work with final classes."); private enum SIZE = __traits(classInstanceSize, A); pr...
D
prototype Mst_Default_Sleeper(C_Npc) { name[0] = "Спящий"; guild = GIL_SLF; aivar[AIV_IMPORTANT] = ID_SLEEPER; level = 2000; attribute[ATR_STRENGTH] = 500; attribute[ATR_DEXTERITY] = 500; attribute[ATR_HITPOINTS_MAX] = 1000; attribute[ATR_HITPOINTS] = 1000; attribute[ATR_MANA_MAX] = 500; attribute[ATR_MANA] ...
D
/Users/abdulbasitajeigbe/cs181g/engine2d/target/debug/deps/maze-aa5a71309a1fc8fd.rmeta: src/bin/maze.rs /Users/abdulbasitajeigbe/cs181g/engine2d/target/debug/deps/maze-aa5a71309a1fc8fd.d: src/bin/maze.rs src/bin/maze.rs:
D
module reggae.range; import reggae.build; import std.range; import std.algorithm; import std.conv; import std.exception; @safe: enum isTargetLike(T) = is(typeof(() { auto target = T.init; auto deps = target.dependencies; static assert(is(Unqual!(typeof(deps[0])) == Unqual!T)); auto imps = target.impl...
D
module wx.StaticBoxSizer; public import wx.common; public import wx.BoxSizer; public import wx.StaticBox; //! \cond EXTERN static extern (C) IntPtr wxStaticBoxSizer_ctor(IntPtr box, int orient); static extern (C) IntPtr wxStaticBoxSizer_GetStaticBox(IntPtr self); //! \endcond //-----------------------------...
D
var int Cronos_AW_ItemsGiven_Chapter_1; var int Cronos_AW_ItemsGiven_Chapter_2; var int Cronos_AW_ItemsGiven_Chapter_3; var int Cronos_AW_ItemsGiven_Chapter_4; var int Cronos_AW_ItemsGiven_Chapter_5; FUNC VOID B_GiveTradeInv_Mod_Cronos_AW (var C_NPC slf) { if ((Kapitel >= 2) && (Cronos_AW_ItemsGiven_Chapter_2 == ...
D
/Users/amandel/Desktop/repo/demo1/Postcard/DerivedData/Postcard/Build/Intermediates/Postcard.build/Debug-iphoneos/Postcard.build/Objects-normal/armv7/AppDelegate.o : /Users/amandel/Desktop/repo/demo1/Postcard/Postcard/ViewController.swift /Users/amandel/Desktop/repo/demo1/Postcard/Postcard/AppDelegate.swift /Applicatio...
D
/home/jiuhong/rust/erc20/my-project/tests/target/rls/debug/build/bitflags-087e9575b81aa9a1/build_script_build-087e9575b81aa9a1: /home/jiuhong/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/build.rs /home/jiuhong/rust/erc20/my-project/tests/target/rls/debug/build/bitflags-087e9575b81aa9a1/build_script_b...
D
module UnrealScript.TribesGame.TrMainMenuMeshInfo; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrObject; import UnrealScript.Core.UObject; import UnrealScript.Engine.ParticleSystem; extern(C++) interface TrMainMenuMeshInfo : UObject { public extern(D): private static ...
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 ...
D
import std.stdio; import std.range; import std.array; import std.algorithm; import std.exception; import std.conv; import std.string; import erupted; private void enforceVK(VkResult res) { enforce(res == VkResult.VK_SUCCESS, res.to!string); } int main() { // load global level functions Dereli...
D
// PERMUTE_ARGS: module traits; import std.stdio; alias int myint; struct S { void bar() { } int x = 4; static int z = 5; } class C { void bar() { } final void foo() { } static void abc() { } } abstract class AC { } class AC2 { abstract void foo(); } class AC3 : AC2 { } final class FC { void foo() { } } enum E { EMEM...
D
/* TEST_OUTPUT: --- tuple((Attrib)) --- */ // https://issues.dlang.org/show_bug.cgi?id=17545 module example; struct Attrib {} @Attrib enum TEST = 123; pragma(msg, __traits(getAttributes, __traits(getMember, example, "TEST")));
D
/* TEST_OUTPUT: --- fail_compilation/fail310.d(10): Error: undefined identifier 'Foo', did you mean function 'foo'? fail_compilation/fail310.d(14): Error: template instance fail310.foo!(1, 2) error instantiating fail_compilation/fail310.d(14): while evaluating: `static assert(foo!(1, 2)())` --- */ Foo foo(A...)...
D