code
stringlengths
3
10M
language
stringclasses
31 values
instance NOV_1327_NOVIZE(NPC_DEFAULT) { name[0] = NAME_NOVIZE; npctype = NPCTYPE_AMBIENT; guild = GIL_NOV; level = 3; voice = 5; id = 1327; attribute[ATR_STRENGTH] = 10; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 76; attribute[ATR_HIT...
D
import lib; void main() { foo(); }
D
module het.win;/+DIDE+/ //The next @comment is important: It marks the app as a windowed app. //@win version(/+$DIDE_REGION+/all) { pragma(lib, "gdi32.lib"); pragma(lib, "winmm.lib"); pragma(lib, "opengl32.lib"); //needed for initWglChoosePixelFormat() public import het.utils, het.geometry, het.inputs; //m...
D
/* Copyright (c) 2013 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, exe...
D
instance Spell_PalRepelEvil(C_Spell_Proto) { time_per_mana = 0; damage_per_level = SPL_Damage_PalRepelEvil; targetCollectRange = 1500; }; func int Spell_Logic_PalRepelEvil(var int manaInvested) { if(Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_Cost_Scroll2)) { return SPL_SENDCAST; } ...
D
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/GroupedObservable.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/babaiholdings/Doc...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1985-1998 by Symantec * Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: ...
D
//tests.tup,tests.dependencies,tests.simple_foo_reggaefile,tests.code_command,tests.options,tests.simple_bar_reggaefile,tests.ninja,tests.default_rules,tests.serialisation,tests.cpprules,tests.ut,tests.binary,tests.by_package,tests.realistic_build,tests.drules,tests.high_rules,tests.range,tests.dub_json,tests.dub_call,...
D
// //------------------------------------------------------------------------------ // Copyright 2007-2010 Mentor Graphics Corporation // Copyright 2007-2010 Cadence Design Systems, Inc. // Copyright 2010 Synopsys, Inc. // Copyright 2014 Coverify Systems Technology // All Rights Reserved Worldwide // // Lic...
D
func void g_cannotuse(var int bisplayer,var int nattribute,var int nvalue) { var string strmessage; var string strattributemissing; var int nattributevalue; var int ndifference; var string strdifference; if((nattribute == ATR_MANA_MAX) && (nvalue == 666666)) { strmessage = PRINT_ADDON_BELIARSCOURSE_MISSING; ...
D
# FIXED sci.obj: E:/motor//\ control/Motor_control-master/motorware/sw/drivers/sci/src/32b/f28x/f2806x/sci.c sci.obj: E:/motor//\ control/Motor_control-master/motorware/sw/drivers/sci/src/32b/f28x/f2806x/sci.h sci.obj: E:/motor//\ control/Motor_control-master/motorware/sw/drivers/cpu/src/32b/f28x/f2806x/cpu.h sci.obj:...
D
/** Poet base exception. */ module poet.exception; import std.exception : basicExceptionCtors; @safe: /** Poet base exception. */ class PoetException : Exception { /// mixin basicExceptionCtors; } /** Unmatch type exception. */ class UnmatchTypeException : PoetException { /// mixin basicExceptionCto...
D
/Users/whitneyfoster/Dev/WFEventHubClient/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Request.o : /Users/whitneyfoster/Dev/WFEventHubClient/Pods/Alamofire/Source/Alamofire.swift /Users/whitneyfoster/Dev/WFEventHubClient/Pods/Alamofire/Source/Download.swift /Users/whitneyfo...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1984-1998 by Symantec * Copyright (C) 2000-2019 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: ...
D
module android.java.java.lang.annotation.Annotation_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 Annotation : IJavaObject { static ...
D
/******************************************************************************* Authors: Blaze team, see AUTHORS file Maintainers: Mason Green (zzzzrrr) and Clay Smith (clayasaurus) License: zlib/png license This software is provided 'as-is', without any express or implied warranty. In no ...
D
module perfontain.misc.draw; import core.stdc.stdlib, perfontain, perfontain.opengl; final class DrawAllocator : RCounted { this(ubyte type) { iv = new IndexVertex(type); } void draw(Program pg, in DrawInfo[] nodes, uint submeshes) { _drawnNodes = cast(uint)nodes.length; _drawnTriangles = 0; pg...
D
move slowly to go stealthily or furtively grow or spread, often in such a way as to cover (a surface show submission or fear
D
module hunt.application.config; import std.exception; import std.parallelism : totalCPUs; import std.socket : Address, parseAddress; import std.experimental.logger; import hunt.text.configuration; import hunt.application.application : WebSocketFactory; import hunt.routing.configbase; final class AppConfig { struc...
D
/root/pkg/portex_pkg/simulation/service/target/release/deps/cfg_if-b3841fa33948eec8.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs /root/pkg/portex_pkg/simulation/service/target/release/deps/libcfg_if-b3841fa33948eec8.rlib: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cf...
D
import bson_value; import std.stdio; // --- cast & constructor --- unittest { //make int64 auto x = BSONValue("x", 666); assert(x.int64() == 666); } unittest { //make string auto x = BSONValue("x", "666"); assert(x.str() == "666"); } unittest { //make binary byte[] source = [1,2,3]; ...
D
module std.switcherr; import std.stdio; class SwitchError : Error { private: uint linnum; char[] filename; this(char[] filename, uint linnum) { this.linnum = linnum; this.filename = filename; char[] buffer = new char[17 + filename.length + linnum.sizeof * 3 + 1]; int len = sprintf(buffer.ptr...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.bigint; void main() { auto P = readln.chomp.to!int; int p = 1000; auto x = 1789997546303L; while (p != P) { --p; if (x >= 10L^^16) { x = 0; } else if (x <= 1) {...
D
instance BDT_10307_Addon_RangerBandit_M (Npc_Default) { // ------ NSC ------ name = NAME_BANDIT; guild = GIL_BDT; id = 10307; voice = 1; flags = 0; //NPC_FLAG_IMMORTAL oder 0 npctype = NPCTYPE_AMBIENT; // ------ Attribute ------ B_SetAttributesToChapter (self, 1); //...
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_26_BeT-1618216...
D
module deimos.libuv.pthread_barrier; import deimos.libuv._d; static if( isAndroidOS || isMacOS ) : extern(C) : pure: nothrow: @nogc: /* Copyright (c) 2016, Kari Tristan Helgason <kthelgason@gmail.com> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted...
D
/Users/deepansh/Desktop/ForexWatchlist/DerivedData/ForexWatchlist/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Timer.o : /Users/deepansh/Desktop/ForexWatchlist/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/deepansh/Desktop/ForexWatchlist/Pods/RxSwift/RxSwift/Obser...
D
an extreme state of adversity the point below the observer that is directly opposite the zenith on the imaginary sphere against which celestial bodies appear to be projected
D
module example_5; import std.stdio; import std.math; import std.mathspecial; import rpp.client.rpc; import utilities; int main(char[][] args) { initRPP(`127.0.0.1`, 54000); real start = -5; real end = 5; int points = 200; Meshgrid grid = meshgrid(linspace(-5, 5, points), linspace(-5, 5, points)); real[][] Z...
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
build/Debug/Cygwin-Windows/HW7_2.o: HW7_2.cpp
D
/** * Copyright © Yurai Web Framework 2021 * License: MIT (https://github.com/YuraiWeb/yurai/blob/main/LICENSE) * Author: Jacob Jensen (bausshf) */ module yurai.core.ihttprequest; import yurai.core.fileupload; import yurai.external.iserver; public interface IHttpRequest { @property { string[] path(); File...
D
/** * Copyright: Copyright Jason White, 2016 * License: MIT * Authors: Jason White * * Description: * This is the root command handler. That is, this decides which command handler * to use. */ module button.handler; import button.resource; import button.context; import button.handlers; import button.comma...
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
import std.stdio, std.cstream; import ll, codegen, scanner; import stack; void main(string[] args) { /* Production.add_rules([ "production_stmt", "string[]", "nonterminal_expr", "string[]", "nonterminal_expr_", "string[]", "rule_stmt", "Nonterminal[]", "rule_stmt_", "Nonterminal[]", "production_li...
D
module csfml.graphics.color; struct sfColor { ubyte r; ubyte g; ubyte b; ubyte a; } sfColor sfBlack; sfColor sfWhite; sfColor sfRed; sfColor sfGreen; sfColor sfBlue; sfColor sfYellow; sfColor sfMagenta; sfColor sfCyan; extern(C) { sfColor sfColor_FromRGB(ubyte red, ubyte green, ubyte blue); sfColor sfColor_Fro...
D
promise of reimbursement in the case of loss written contract or certificate of insurance protection against future loss
D
/***********************************************************************\ * rpcdce.d * * * * Windows API header module * * ...
D
func void ZS_Pray_Innos_FP() { Perception_Set_Normal(); B_ResetAll(self); AI_SetWalkMode(self,NPC_WALK); if(Npc_GetDistToWP(self,self.wp) > TA_DIST_SELFWP_MAX) { AI_GotoWP(self,self.wp); }; }; func int ZS_Pray_Innos_FP_Loop() { if(Npc_IsOnFP(self,"PRAY")) { if(!C_BodyStateContains(self,BS_SIT)) { AI_...
D
instance DJG_703_Cipher (Npc_Default) { // ------ NSC ------ name = "Cipher"; guild = GIL_DJG; id = 703; voice = 7; flags = 0; //NPC_FLAG_IMMORTAL oder 0 npctype = NPCTYPE_FRIEND; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); //setzt Attribute...
D
import core.thread; // ref or out void fibonacciSeries( out int cur){ cur=0; int next=1; while(true){ Fiber.yield(); const nextNext = cur+ next; cur= next; next=nextNext; } } // Fiber(void f()) void main(){ int cur; Fiber fiber = new Fiber(()=>fibonacciSeries(cur)); foreach(int i;0..10){ ...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range; void get(Args...)(ref Args args) { import std.traits, std.meta, std.typecons; static if (Args.length == 1) { alias Arg = Args[0]; static if (isArray!Arg) { ...
D
/Users/SiD/Desktop/CS\ 490/Yelpp/build/Yelpp.build/Debug-iphonesimulator/Yelpp.build/Objects-normal/x86_64/ViewController.o : /Users/SiD/Desktop/CS\ 490/Yelpp/Yelpp/ViewController.swift /Users/SiD/Desktop/CS\ 490/Yelpp/Yelpp/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchai...
D
/Users/jagtap_lalit/Start\ iOS\ Nano/ColorMaker/Build/Intermediates.noindex/ColorMaker.build/Debug-iphonesimulator/ColorMaker.build/Objects-normal/x86_64/AppDelegate.o : /Users/jagtap_lalit/Start\ iOS\ Nano/ColorMaker/ColorMaker/SceneDelegate.swift /Users/jagtap_lalit/Start\ iOS\ Nano/ColorMaker/ColorMaker/AppDelegate....
D
/+ Copyright (c) 2005-2007 Eric Anderton, Tomasz Stachowiak 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, ...
D
struct s {} enum var = s; void main() {}
D
/** Integration tests. */ module it; public import unit_threaded; public import unit_threaded.integration; struct In { string value; } struct Out { string value; } /// C code struct C { string code; } /// D code struct D { string code; } struct IncludeSandbox { alias sandbox this; Sa...
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Console.build/Console/Clear/ConsoleClear.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/console.git--2431895819212044213/Sources/Console/Swift3.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.b...
D
/* * This file was automatically generated by sel-utils and * released under the MIT License. * * License: https://github.com/sel-project/sel-utils/blob/master/LICENSE * Repository: https://github.com/sel-project/sel-utils * Generated from https://github.com/sel-project/sel-utils/blob/master/xml/protocol/java338...
D
module orm.table; import std.array; import std.uuid; import std.traits; import std.conv; import std.string; import std.datetime; import std.typecons; import std.typetuple; import util.common; import orm.orm; import dpq2.all; class TableFormatException(Type) : Exception { this(string msg) { super("TableFormat!"~T...
D
/Users/derrickmu/Desktop/JustAThought/DerivedData/JustAThought/Build/Intermediates.noindex/JustAThought.build/Debug-iphonesimulator/JustAThought.build/Objects-normal/x86_64/LoginVC.o : /Users/derrickmu/Desktop/JustAThought/JustAThought/SpecificTopicVC.swift /Users/derrickmu/Desktop/JustAThought/JustAThought/LikeLeaderb...
D
/* TEST_OUTPUT: --- fail_compilation/fail6029.d(10): Error: alias this is not reachable as `A` already converts to `A` --- */ struct A { static A a; alias a this; } void foo(A a) { } void main() { // foo(A); // Error: type A is not an expression int s = A; // Error: type A has no value + stack overflo...
D
/Users/MohamedNawar/Desktop/weatherTask/build/WeatherTask.build/Debug-iphonesimulator/WeatherTask.build/Objects-normal/x86_64/MainWeather+citiesTableView.o : /Users/MohamedNawar/Desktop/weatherTask/WeatherTask/Network/NetworkingInterface.swift /Users/MohamedNawar/Desktop/weatherTask/WeatherTask/Resources/AppDelegate&Sc...
D
/// module arith_eval.evaluable; import arith_eval.exceptions; import arith_eval.internal.eval; import std.ascii; import std.conv : to; import std.exception; import std.experimental.checkedint : Checked, Throw; import std.format; import std.meta : allSatisfy, aliasSeqOf; import std.string; import std.traits : isNume...
D
/* * $Id: shot.d,v 1.2 2005/07/03 07:05:22 kenta Exp $ * * Copyright 2005 Kenta Cho. Some rights reserved. */ module abagames.gr.shot; private import std.math; private import std.string; private import opengl; private import abagames.util.actor; private import abagames.util.vector; private import abagames.util.ran...
D
module cimgui; public import cimgui.funcs; public import cimgui.imgui; public import cimgui.types;
D
/Users/arjunpola/Documents/Swift/Homework9/build/ZillowSearch.build/Debug-iphonesimulator/Homework9.build/Objects-normal/x86_64/MyCustomCell.o : /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPUpload.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPTask.swift /Users/arjunpola/Documents/Swift/Home...
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/_nspapi.d) */ module core.sys.windows.nspapi; version (Windows): @system: version (ANSI)...
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#_tese0I9lEeKwZI8VGY...
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
/* 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
# FIXED F2806x_PieCtrl.obj: C:/ti/c2000/C2000Ware_2_01_00_00/device_support/f2806x/common/source/F2806x_PieCtrl.c F2806x_PieCtrl.obj: C:/ti/c2000/C2000Ware_2_01_00_00/device_support/f2806x/headers/include/F2806x_Device.h F2806x_PieCtrl.obj: C:/ti/c2000/C2000Ware_2_01_00_00/device_support/f2806x/headers/include/F28...
D
; Copyright (C) 2008 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law ...
D
/Users/William/dev/rust/substrate-blockchain-test/substrate-test/runtime/target/debug/build/serde-c5695660b4cd8f23/build_script_build-c5695660b4cd8f23: /Users/William/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.99/build.rs /Users/William/dev/rust/substrate-blockchain-test/substrate-test/runtime/target/de...
D
// Written in the D programming language. /** Functions and types that manipulate built-in arrays and associative arrays. This module provides all kinds of functions to create, manipulate or convert arrays: $(BOOKTABLE , $(TR $(TH Function Name) $(TH Description) ) $(TR $(TD $(D $(LREF _array))) $(TD Retu...
D
module UnrealScript.TribesGame.GFxTrScene; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.OnlineSubsystem; import UnrealScript.TribesGame.GFxTrMenuMoviePlayer; import UnrealScript.GFxUI.GFxObject; extern(C++) interface GFxTrScene : GFxObject { public extern(D): private stati...
D
instance PAL_91060_RITTER(Npc_Default) { name[0] = NAME_Ritter; guild = GIL_PAL; id = 91060; voice = 8; flags = 0; npcType = NPCTYPE_OCAMBIENT; B_SetAttributesToChapter(self,5); fight_tactic = FAI_HUMAN_MASTER; EquipItem(self,ItMw_1H_Blessed_02); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_...
D
/** * The semaphore module provides a general use semaphore for synchronization. * * 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/sync/_semaphore.d) */ /* Copyright Sean...
D
/Users/Rens/Development/RecoveryJournal/Build/Intermediates/RecoveryJournal.build/Debug/CodableKit.build/Objects-normal/x86_64/File.o : /Users/Rens/Development/RecoveryJournal/.build/checkouts/core.git-9210800844849382486/Sources/CodableKit/File.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/core.git-92...
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module StokFont; 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.stdio; import std.utf : count, t...
D
/** * Contains a memset implementation used by compiler-generated code. * * Copyright: Copyright Digital Mars 2004 - 2010. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Walter Bright */ /* Copyright Digital Mars 2004 - 2010. * Distributed under the Boost Software L...
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distribut...
D
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Validation.o : /Users/hanykaram/Desktop/MVP/Pods/Alamofire/Source/MultipartFormData.swift /Users/hanykaram/Desktop/MVP/Pods/Alamofire/Source/Timeline.swift /Users/hanykaram/Des...
D
prototype MST_DEFAULT_TROLL_BLACK(C_NPC) { name[0] = "Černý trol"; guild = GIL_TROLL; aivar[AIV_MM_REAL_ID] = ID_TROLL_BLACK; level = 100; attribute[ATR_STRENGTH] = 200; attribute[ATR_DEXTERITY] = 200; attribute[ATR_HITPOINTS_MAX] = 1000; attribute[ATR_HITPOINTS] = 1000; attribute[ATR_MANA_MAX] = 0; attribut...
D
# FIXED F2837xD_CpuTimers.obj: C:/TI/controlSUITE/device_support/F2837xD/v190/F2837xD_common/source/F2837xD_CpuTimers.c F2837xD_CpuTimers.obj: C:/TI/controlSUITE/device_support/F2837xD/v190/F2837xD_headers/include/F2837xD_device.h F2837xD_CpuTimers.obj: C:/PROGRA~3/MATLAB/SUPPOR~1/R2018a/3P778C~1.INS/TIC200~1.INS/ti-c...
D
instance DIA_Torlof_DI_KAP3_EXIT(C_Info) { npc = SLD_801_Torlof_DI; nr = 999; condition = DIA_Torlof_DI_KAP3_EXIT_Condition; information = DIA_Torlof_DI_KAP3_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Torlof_DI_KAP3_EXIT_Condition() { return TRUE; }; func void DI...
D
import std.stdio, std.algorithm, std.range; auto horner(U, V)(U[] p, V x) { return reduce!((a, b) => a * x + b)(cast(V)0, retro(p)); } void main() { writeln([-19, 7, -4, 6].horner(3.0)); }
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
struct Vector(T, int n) { T[n] data; alias data this; this(const ref T[n] data) { this.data = data; } this(const T[n] data...) { this.data = data; } this(T value) { T[n] data = value; this(data); } static immutable Vector zero = Vector(...
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE 316.602509 65.0843244 2.79999995 89.6999969 10 14 -38.7000008 143.100006 139 3.0418992 8.97654233 sediments, limestone 310.955025 63.4788474 1.79999995 73.1999969 11 19 -31.6000004 145.600006 9338 1.64131529 4.9309244 sediments, saprolite 321.41076...
D
/** Stuff having to do with memory management. Mostly a copy of RegionAllocator for now until it gets into Phobos, as well as some RegionAllocator-specific data structures. Author: David Simcha*/ /* * License: * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of c...
D
module gl.error; import std.string; class OpenGLError : object.Exception { this(char[] s) { super(s); } } // FBO class FBOError : OpenGLError { this(char[] s) { super(s); } } // shaders class ShaderError : OpenGLError { this(char[] s) { super(s); } } fin...
D
module b19002; void printf(scope const char* format){} void main() { printf(__FILE__); printf(__FILE_FULL_PATH__); printf(__FUNCTION__); printf(__PRETTY_FUNCTION__); printf(__MODULE__); }
D
/** * Contains the external GC interface. * * Copyright: D Language Foundation 2005 - 2021. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Walter Bright, Sean Kelly */ module core.internal.gc.proxy; import core.internal.gc.impl.proto.gc; import core.gc.config; import core.gc....
D
import diet.internal.html : htmlEscape, htmlAttribEscape; import std.format : formattedWrite; #line 1 "layout.dt" import qv.enums; { #line 1 "layout.dt" } _diet_output.put("<!DOCTYPE html><head><!--/ Blobal CSS and JS--><link rel=\"stylesheet\" href=\"/"); #line 6 "layout.dt" _diet_output.htmlAttribEscape(AssetsURL.cs...
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/TemplateKit.build/AST/TemplateIterator.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/c...
D
// PERMUTE_ARGS: // REQUIRED_ARGS: -D -Ddtest_results/compilable -o- // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 8271 module ddoc8271; /** $(まくろ) Macros: まくろ = $(マクロ) マクロ = Macro */ void ddoc8271() { }
D
$NetBSD$ Stolen from https://github.com/nrTQgc/druntime/tree/netbsd --- runtime/druntime/test/shared/src/load.d.orig 2020-05-07 08:52:18.324675259 +0000 +++ runtime/druntime/test/shared/src/load.d @@ -3,6 +3,7 @@ import core.runtime, core.stdc.stdio, co version (linux) import core.sys.linux.dlfcn; else version (Fre...
D
/** * Forms the symbols available to all D programs. Includes Object, which is * the root of the class object hierarchy. This module is implicitly * imported. * * Copyright: Copyright Digital Mars 2000 - 2011. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Walter Bright, Sea...
D
module startup; version(GNU) { static import gcc.attribute; // we need this to get the section, weak and alias attributes void wfi(){ version(ALLOW_WFI){ asm{ "wfi"; } } } } else version(LDC) { import ldc.llvmasm; void wfi(){ version(ALLOW_WFI){ __asm("wfi"); } } } import core.stdc.config; // we need th...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; alias XW = Tuple!(long, "x", long, "w"); void main() { auto N = readln.chomp.to!int; XW[] xws; foreach (_; 0..N) { auto xw = readln.split.to!(long[]); xws ~= XW(xw[0], xw[1]); } s...
D
/Users/obuchiyuki/Desktop/SaftyDrive/Build/Intermediates/SaftyDrive.build/Debug-iphoneos/SaftyDrive.build/Objects-normal/arm64/MKEmbedDrawerControllerSegue.o : /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/MK/MKSnackbar.swift /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/RMMenu.swift /Users/obuchiyuki/Desktop/Safty...
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_8_MobileMedia-...
D
instance ORG_829_ORGANISATOR(NPC_DEFAULT) { name[0] = NAME_TORWACHE; npctype = NPCTYPE_MAIN; guild = GIL_ORG; level = 4; voice = 6; id = 829; attribute[ATR_STRENGTH] = 15; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 88; attribute[ATR_H...
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(WEB 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 */ /* C...
D
/Users/andrewburns/Desktop/Programming/swift/Bite/build/Bite.build/Release-iphoneos/Bite.build/Objects-normal/arm64/NewSoundBiteViewController.o : /Users/andrewburns/Desktop/Programming/swift/Bite/TextBite+CoreDataProperties.swift /Users/andrewburns/Desktop/Programming/swift/Bite/Bite/NewTextBiteViewController.swift /U...
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/_winuser.d) */ module core.sys.windows.winuser; version (Windows): pragma(lib, "user32"); // Conversion Notes: // T...
D
module windows.enhancedstorage; public import windows.com; public import windows.systemservices; public import windows.windowsportabledevices; extern(Windows): struct ENHANCED_STORAGE_PASSWORD_SILO_INFORMATION { ubyte CurrentAdminFailures; ubyte CurrentUserFailures; uint TotalUserAuthenticationCount; ...
D
int main() { int a = 10; printf("hello, world %d, %d, %d\n", foo(2, 1), *&a, &a); return 11; } int foo(int a, int b) { return a * a + b; } int printf(ubyte *, ...);
D
#!/sbin/runscript depend() { use net @neededservices@ before nfs after logger } start() { ebegin "Starting cupsd" start-stop-daemon --start --quiet --exec /usr/sbin/cupsd eend $? } stop() { ebegin "Stopping cupsd" start-stop-daemon --stop --quiet --exec /usr/sbin/cupsd eend $? }
D