code
stringlengths
3
10M
language
stringclasses
31 values
instance NOV_1337_Novize(Npc_Default) { name[0] = NAME_Novize; npcType = npctype_ambient; guild = GIL_NOV; level = 3; voice = 2; id = 1337; attribute[ATR_STRENGTH] = 30; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 8; attribute[ATR_MANA] = 8; attribute[ATR_HITPOINTS_MAX] = 208; attribute[ATR_HI...
D
having or showing an exaggerated opinion of your importance, ability, etc offending against sexual mores in conduct or appearance
D
/Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/JSON.build/JSON+Serialize.swift.o : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/JSON-1.0.6/...
D
module dwt.internal.mozilla.nsIObserverService; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; import dwt.internal.mozilla.nsIObserver; import dwt.internal.mozilla.nsISimpleEnumerator; const char[] NS_IOBSERVERSERVICE_IID_STR = "d07f5192-e3d1-11d...
D
instance PAL_9109_RITTER(Npc_Default) { name[0] = NAME_Ritter; guild = GIL_PAL; id = 9109; 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_Fi...
D
INSTANCE Mod_7219_BDT_Bandit_NW (Npc_Default) { // ------ NSC ------ name = "Räuber"; guild = GIL_STRF; id = 7219; voice = 8; flags = 0; npctype = NPCTYPE_nw_bandit; // ------ Attribute ------ B_SetAttributesToChapter (self, 3); // ------ Kampf-Taktik ------ fight_tacti...
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/_ipexport.d) */ module core.sys.windows.ipexport; version (Windows): private import core...
D
INSTANCE Mod_724_NOV_Mattheus_NW (Npc_Default) { // ------ NSC ------ name = "Mattheus"; guild = GIL_VLK; id = 724; voice = 9; flags = 0; //Joly: HAUPTSTORY: NOV_600_Pedro ist erst noch immortel -> Pedro klaut das Auge Innos im Kapitel 3, ist später Knacki auf der Dracheninsel np...
D
/** * Function inliner. * * This is meant to replace the previous inliner, which inlined the front end AST. * This inlines based on the intermediate code, after it is optimized, * which is simpler and presumably can inline more functions. * It does not yet have full functionality, * - it does not inline expressi...
D
/Users/Primo/Downloads/esgi-rust-ppm-master/big project rust/target/rls/debug/build/memoffset-fb8b5716af5abc69/build_script_build-fb8b5716af5abc69: /Users/Primo/.cargo/registry/src/github.com-1ecc6299db9ec823/memoffset-0.5.3/build.rs /Users/Primo/Downloads/esgi-rust-ppm-master/big project rust/target/rls/debug/build/m...
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="class_methods.notation#_lv3lUJzMEe...
D
alias immutable ubyte[16][8] SBox; // A matrix of nibbles. private bool _validateSBox(in SBox data) pure nothrow { foreach (ref row; data) foreach (ub; row) if (ub >= 16) // Verify it's a nibble. return false; return true; } struct GOST(sBoxes...) if (sBoxes.length == 1 && ...
D
// REQUIRED_ARGS: -O -fPIC // PERMUTE_ARGS: -mcpu=avx -mcpu=avx2 // only testing on SYSV-ABI, but backend code is identical across platforms // DISABLED: win32 win64 osx linux32 freebsd32 debug = PRINTF; debug (PRINTF) import core.stdc.stdio; // Run this after codegen changes: // env DMD=generated/linux/release/64/dmd...
D
import std.stdio; import std.string; int main(string[] args){ //paths of the files controling keyboard brightness enum brightness_path="/sys/class/leds/asus::kbd_backlight/brightness"; enum max_brightness_path="/sys/class/leds/asus::kbd_backlight/max_brightness"; immutable int max_brightness = get_max_brightn...
D
/******************************************************************************* copyright: Copyright (c) 2006 Dinrus. Все права защищены license: BSD стиль: see doc/license.txt for details version: Initial release: Feb 2006 author: Regan Heath, Os...
D
/* Copyright 2016 HaCk3D, substanceof https://github.com/HaCk3Dq https://github.com/substanceof 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 ...
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 poseidon.loader; private import dwt.all; private import poseidon.controller.gui; private import poseidon.globals; private import poseidon.controller.dialog.splash; private import std.c.windows.windows; private import std.utf; //extern( Windows ) HANDLE CreateMutexA(LPSECURITY_ATTRIBUTES, BOOL, LPCSTR); con...
D
/** Mirror _pythread.h */ module deimos.python.pythread; import deimos.python.pyport; extern(C): // Python-header-file: Include/pythread.h: version(Python_3_2_Or_Later) { /** Return status codes for Python lock acquisition. Chosen for maximum * backwards compatibility, ie failure -> 0, success -> 1. *...
D
import hibernated.core; import std.algorithm; import std.stdio; // Annotations of entity classes class User { long id; string name; Customer customer; @ManyToMany // cannot be inferred, requires annotation LazyCollection!Role roles; } class Custome...
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/WebSocketFrameEncoder.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/panartem/Developer/Study/Microservices-vap...
D
/++ + Module for parsing ISUPPORT replies. +/ module virc.numerics.isupport; import std.range.primitives : isForwardRange; import virc.numerics.definitions; enum defaultModePrefixesMap = ['o': '@', 'v': '+']; enum defaultModePrefixes = "@+"; /++ + +/ enum ISupportToken { /// accept = "ACCEPT", /// awayLen = "AWA...
D
module hello; float helloFunc() { return 2.0; }
D
/+ The MIT License (MIT) Copyright (c) <2013> <Oleg Butko (deviator), Anton Akzhigitov (Akzwar)> 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 wit...
D
module android.java.android.content.DialogInterface_OnCancelListener_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.android.content.DialogInterface_d_interface; import import1 ...
D
instance Mod_1849_HEX_Hexe_PAT (Npc_Default) { // ------ NSC ------ name = Name_hexe; //Frau vom 'Säger' 453 guild = GIL_strf; id = 1849; voice = 43; flags = 0; npctype = NPCTYPE_pat_hexe; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ----...
D
/******************************************************************************* * Copyright (c) 2006, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
D
# FIXED Bump.obj: C:/Github_Sync/ARM_TI_MSP432P401R/CCS/general/MotorSwitchDemo/inc/Bump.c Bump.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stdint.h Bump.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/stdint.h Bump.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/c...
D
/* TEST_OUTPUT: --- fail_compilation/diag8928.d(7): Error: constructor diag8928.Y.this no match for implicit super() call in constructor fail_compilation/diag8928.d(10): Error: constructor diag8928.Z.this no match for implicit super() call in implicitly generated constructor --- */ #line 1 class X { this(int n) {} ...
D
/Users/patricerapaport/Desktop/swift/adminSQL/Build/Intermediates.noindex/adminSQL.build/Debug/adminSQL.build/Objects-normal/x86_64/recuperation.o : /Users/patricerapaport/Desktop/swift/adminSQL/adminSQL/controllers/sauvegarde1.swift /Users/patricerapaport/Desktop/swift/adminSQL/adminSQL/controls/parentWC.swift /Users/...
D
/* * Hunt - A high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design. * * Copyright (C) 2015-2019, HuntLabs * * Website: https://www.huntlabs.net/ * * Licensed under the Apache-2.0 License. * */ module hunt.framework.controller.Controller; import hunt.fr...
D
module test.dli.mock_menu_item; import dli.text_menu : MenuItem; /// public class MockMenuItem : MenuItem { private bool _executed; /// Whether the item has been executed or not. @property public bool executed() const { return _executed; } /// this(string displayString = "moc...
D
import std.algorithm, std.conv, std.range, std.stdio, std.string; version(unittest) {} else void main() { foreach (i; 1..10) foreach (j; 1..10) writefln("%dx%d=%d", i, j, i * j); }
D
/** * Copyright © DiamondMVC 2019 * License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE) * Author: Jacob Jensen (bausshf) */ module diamond.data.mapping.engines.mssql.mssqlentityformatter; import diamond.core.apptype; static if (hasMsSql) { import std.string : format; import std.traits : hasUD...
D
module c; int Erase = 2; int NotErase = 2;
D
/Users/shoujiikkei/fl00-lite/ios/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/AppDelegate.o : /Users/shoujiikkei/fl00-lite/ios/Runner/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sd...
D
// Written in the D programming language. /** Processing of command line options. The getopt module implements a `getopt` function, which adheres to the POSIX syntax for command line options. GNU extensions are supported in the form of long options introduced by a double dash ("--"). Support for bundling of command l...
D
/Users/thodges/Workspace/Rust/learn-rust-in-7-days/day01/hello/target/debug/deps/hello-a8b556efac1f8a15.rmeta: src/main.rs /Users/thodges/Workspace/Rust/learn-rust-in-7-days/day01/hello/target/debug/deps/hello-a8b556efac1f8a15.d: src/main.rs src/main.rs:
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.build/Parser/RequestParser.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.b...
D
// { dg-do compile } // { dg-additional-sources "imports/attributes.d" } import gcc.attributes; @value_ignored int f0() { return 0; } @type_symbol // { dg-warning ".type_symbol. attribute has no effect" } int f1() { return 1; } @template_symbol // { dg-warning ".template_symbol. attribute has no effect" } i...
D
module s2.util.math.exactfloat_test; import fluent.asserts; import s2.util.math.exactfloat; import std.bigint; import std.stdio; @("createFromInt") unittest { ExactFloat xf = -3; writeln("xf has value: ", xf); Assert.equal(xf.toDouble(), -3.0); } @("createFromFloat") unittest { ExactFloat xf = -3.0; writel...
D
instance VLK_455_Buerger(Npc_Default) { name[0] = NAME_Buerger; guild = GIL_VLK; id = 455; voice = 8; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,2); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1h_Vlk_Sword); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Pony"...
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010-2011 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/LICE...
D
instance VLK_4301_Addon_Farim(Npc_Default) { name[0] = "Фарим"; guild = GIL_VLK; id = 4301; voice = 13; npcType = npctype_main; aivar[AIV_Temper] = TEMPER_ToughGuy; B_SetAttributesToChapter(self,2); aivar[AIV_Temper] = TEMPER_ToughGuy; fight_tactic = FAI_HUMAN_NORMAL; CreateInvItems(self,ItMi_Aquamarine,1); ...
D
/** * Code generation 3 * * Includes: * - generating a function prolog (pushing return address, loading paramters) * - generating a function epilog (restoring registers, returning) * - generation / peephole optimizations of jump / branch instructions * * Compiler implementation of the * $(LINK2 https://www.dla...
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 core.stdc.stdio; // Test function inlining debug = NRVO; /************************************/ int foo(int i) { return i; } int bar() { return foo(3) + 4; } void test1() { printf("%d\n", bar()); assert(bar() == 7); } /************************************/ struct Foo2 { int a,b,c,e,...
D
/home/lbali/proyectos/Gits/rust_experiments/sample2/target/debug/deps/sample2-a06e127b4b90a302: src/main.rs /home/lbali/proyectos/Gits/rust_experiments/sample2/target/debug/deps/sample2-a06e127b4b90a302.d: src/main.rs src/main.rs:
D
version https://git-lfs.github.com/spec/v1 oid sha256:49fcc0670a4f40726f367da92b33586a7857272bcd6856a15a94ce398650f5b3 size 60
D
module cppmangle3; extern(C++, "true") { } extern(C++, "__traits") { } extern(C++, "foo") { } int foo; // no name clashing with above namespace extern(C++, "std", "chrono") { void func(); } version(Windows) static assert(func.mangleof == "?func@chrono@std@@YAXXZ"); else static assert(func.mangleo...
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
D
module darrow.arrow_bindings; 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; } alias _Bool = bool; struct dpp { static struct ...
D
// Copyright © 2012, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/charge/charge.d (GPLv2 only). module charge.game.dcpu.cpu; import lib.gl.gl; import lib.dcpu.dcpu; /** * Info struct for attached hw. */ struct DcpuHwInfo { uint id; uint manufacturer; ushort ver; ushort index; } /**...
D
module served.extension; import core.sync.mutex : Mutex; import served.types; import served.translate; import served.fibermanager; import served.nothrow_fs; import core.time : Duration, msecs, seconds; import std.algorithm : map, endsWith, canFind, any; import std.array : array; import std.conv : to; import std.dat...
D
p s1423.p 916 1448 a 1 24 1332 8 a 2 25 2695 10 a 3 27 1652 12 a 4 28 1721 8 a 5 29 782 17 a 6 30 1325 14 a 7 31 2785 11 a 8 32 1930 22 a 9 33 285 22 a 10 34 1391 8 a 11 36 1126 13 a 12 39 504 11 a 13 41 2473 5 a 14 42 1228 22 a 15 43 317 22 a 16 44 1557 29 a 17 45 2754 5 a 18 46 1503 18 a 24 751 1201 6 a 25 458 2458 2...
D
/home/jm/rust/jude-omenai/target/release/deps/cfg_if-49b3a1f9276e5f12.rmeta: /home/jm/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs /home/jm/rust/jude-omenai/target/release/deps/libcfg_if-49b3a1f9276e5f12.rlib: /home/jm/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs...
D
module scoreboard.config; struct ScoreboardConfig { string title; PlayerConfig player1; PlayerConfig player2; PlayerConfig player3; PlayerConfig player4; } struct PlayerConfig { bool active; string shortName; double[2] bars; }
D
module inherit; import pyd.pyd; import std.stdio; class Base { this(int i) { writefln("Base.this(): ", i); } void foo() { writefln("Base.foo"); } void bar() { writefln("Base.bar"); } } class Derived : Base { this(int i) { super(i); writefln("Derived.this(): ", ...
D
module UnrealScript.UTGame.UTPhysicalMaterialProperty; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.PhysicalMaterialPropertyBase; extern(C++) interface UTPhysicalMaterialProperty : PhysicalMaterialPropertyBase { public extern(D): private static __gshared ScriptClass mStaticC...
D
import std.stdio; int foo(int i) { int x = void; x++; return i + x; } void main() { const y = foo(3); writefln(y); }
D
module bed; public import reporters; public import runnable; public import spec; public import suite; static Suite[] suites; static Suite currentSuite; void describe(string title, Block block) { if(currentSuite is null) { currentSuite = new Suite(title); } else { auto suite = new Suite(title, curre...
D
module plugin; import common; import xf.omg.core.LinearAlgebra; import xf.omg.rt.Common; import xf.omg.geom.Sphere; import xf.omg.geom.Plane; import xf.dog.Dog; import tango.io.Stdout; import tango.util.log.Trace; struct Light { vec3 pos; vec3 color; float intens; vec3 sample(vec3 pt) { ...
D
//T compiles:yes //T retval:4 class Foo { void func1() {} void func2() body {} void func3() in {} body {} void func4() out {} body {} void func5() out {} in {} body {} void func6() in {} out {} body {} } void func1() {} void func2() body {} void func3() in {} body {} void func4() out {} b...
D
instance Mod_7255_TPL_Templer_MT (Npc_Default) { //-------- primary data -------- name = Name_Templer; npctype = NPCTYPE_MAIN; guild = GIL_out; level = 17; voice = 13; id = 7255; //-------- abilities -------- attribute[ATR_STRENGTH] = 130; attribute[ATR_DEXTERITY] = ...
D
module bulletml.data.oref; public import bulletml.data.param; public struct ORef(T) { public: alias T Referent; T* target = null; string label; Param[] params; }
D
module hunt.http.codec.http.stream.StreamSPI; import hunt.http.codec.http.stream.CloseState; import hunt.http.codec.http.stream.Stream; import hunt.http.codec.http.stream.SessionSPI; import hunt.http.codec.http.frame.Frame; import hunt.util.Common; import hunt.util.Common; /** * <p>The SPI interface for implementi...
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
/***************************************************************************** * * Higgs JavaScript Virtual Machine * * This file is part of the Higgs project. The project is distributed at: * https://github.com/maximecb/Higgs * * Copyright (c) 2011-2015, Maxime Chevalier-Boisvert. All rights re...
D
// Copyright (c) 2014- Facebook // License: Boost License 1.0, http://boost.org/LICENSE_1_0.txt // @author Andrei Alexandrescu (andrei.alexandrescu@facebook.com) import std.range, std.stdio, std.string; const kIgnorePause = "// %flint: pause"; const kIgnoreResume = "// %flint: resume"; string removeIgnoredCode(strin...
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="cloud_modeling_language_concep...
D
tree_c.cmi :
D
/Users/matsumur/Dropbox/Working/tekupico7(acm)/DerivedData/てくPico/Build/Intermediates/ArchiveIntermediates/てくPico/IntermediateBuildFilesPath/てくPico.build/Release-iphoneos/てくPico.build/Objects-normal/armv7/Someaction.o : /Users/matsumur/Dropbox/Working/tekupico7(acm)/wakapeko/AppDelegate.swift /Users/matsumur/Dropbox/Wo...
D
module UnrealScript.Engine.ParticleModuleUberBase; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.ParticleModule; extern(C++) interface ParticleModuleUberBase : ParticleModule { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static Scrip...
D
module UnrealScript.TribesGame.TrSkin_Infiltrator_Assassin; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrSkin; extern(C++) interface TrSkin_Infiltrator_Assassin : TrSkin { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static Scr...
D
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/SQL.build/SQLBind.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/sql/Sources/SQL/SQLJoinMethod.swift ...
D
// Copyright Mac Liu 2021. // 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 sprite.coating; import sprite.member; import sprite.reflectable; import std.stdio; import std.traits :...
D
// REQUIRED_ARGS: -de /* TEST_OUTPUT: --- fail_compilation/fail6572.d(9): Deprecation: use of typedef is deprecated; use alias instead --- */ typedef int y; // 11424 /* TEST_OUTPUT: --- fail_compilation/fail6572.d(18): Deprecation: use of typedef is deprecated; use alias instead --- */ typedef struct S { }
D
/* TEST_OUTPUT: --- fail_compilation/fail120.d(12): Error: non-constant nested delegate literal expression __lambda4 fail_compilation/fail120.d(13): Error: non-constant nested delegate literal expression __lambda5 --- */ class Foo { int[2] nodes; auto left = (){ return nodes[0]; }; auto right = (){ return ...
D
module util.bicycle; import std.range; // TODO: support for bidirectional range? /// cycle that can be shifted forward or backwards struct Bicycle(R) if (isRandomAccessRange!R && hasLength!R) { this(R range) { _range = range; _len = _range.length; } @property auto front() { return _range[_idx]; }...
D
import std.c.stdlib; import std.stdio; // Allocator designs by Andrei Alexandrescu. // See http://www.nwcpp.org/old/Downloads/2008/memory-allocation.screen.pdf struct Mallocator { alias malloc allocate; alias free deallocate; } struct SizedAlloc(B) { void* allocate(size_t s) { debug writeln("sized allocation...
D
module app.MainMenu; private import gtk.ImageMenuItem, gtk.MenuBar, gtk.MenuItem, gtk.Menu, gtk.SeparatorMenuItem; class MainMenu: MenuBar { private: MenuItem itemFile, itemFileNew_, itemFileOpen_, itemFileSave_, itemFileSaveAs_, itemFileExport_, itemFileQuit_, itemLayout, it...
D
module antlr.v4.runtime.atn.ActionTransition; import std.conv; import antlr.v4.runtime.atn.Transition; import antlr.v4.runtime.atn.TransitionStates; import antlr.v4.runtime.atn.ATNState; /** * TODO add class description */ class ActionTransition : Transition { public int ruleIndex; /** * @uml * ...
D
a state in the southeastern United States on the Gulf of Mexico a member of the Muskhogean people formerly living in what is now the state of Alabama a river in Alabama formed by the confluence of the Coosa and Tallapoosa Rivers near Montgomery the Muskhogean language of the Alabama
D
// URL: https://atcoder.jp/contests/abc098/tasks/abc098_a 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...
D
cause to regain consciousness give new life or energy to be brought back to life, consciousness, or strength restore from a depressed, inactive, or unused state return to consciousness restored to consciousness or life or vigor given fresh life or vigor or spirit
D
void main() { runSolver(); } void problem() { auto N = scan!long; auto K = scan!long; auto P = scan!long(3 * N).chunks(3).map!"a.sum".array; auto solve() { auto ranked = P.dup.sort; foreach(p; P) { auto ups = ranked.upperBound(p + 300); writeln(YESNO[ups.length < K]); } } outputFo...
D
/Users/ohs80340/rustWork/rust_tate/target/debug/deps/fxhash-b5ef67c7fc307b67.rmeta: /Users/ohs80340/.cargo/registry/src/github.com-1ecc6299db9ec823/fxhash-0.2.1/lib.rs /Users/ohs80340/rustWork/rust_tate/target/debug/deps/libfxhash-b5ef67c7fc307b67.rlib: /Users/ohs80340/.cargo/registry/src/github.com-1ecc6299db9ec823/f...
D
module stone_ground; import std.random; import std.stdio; import std.string; import game; import sgogl; import animation; import vector; import ground; import agent; import validatable; class Stone_ground_1 : Ground { static bool type_initialized = false; static uint image_1, image_2, image_3, image_4, image_5, i...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (c) 1999-2016 by Digital Mars, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Region storage allocator implementation. * * Copyright: Copyright (C) 2019-2019 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $...
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, this li...
D
fruit with red or yellow or green skin and sweet to tart crisp whitish flesh native Eurasian tree widely cultivated in many varieties for its firm rounded edible fruits
D
module android.java.android.database.Observable; public import android.java.android.database.Observable_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!Observable; import import0 = android.java.java.lang.Class;
D
module dquick.system.win32.guiApplicationWin32; version (Windows) { import dquick.system.guiApplication; import dquick.system.win32.openglContextWin32; import dquick.system.win32.d3d10ContextWin32; import dquick.utils.utils; import std.stdio; import std.c.stdlib; import std.c.string; // for memset import std...
D
/Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/AnonymousObserver.o : /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/R...
D
/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
D
/Users/danielmorales/CSUMB/Potluck/build/Potluck.build/Debug-iphonesimulator/Potluck.build/Objects-normal/x86_64/EventTableViewCell-45722daaf9ff82b270d6836d6068902a1ca683249fd1a64c93e32105462fd3a8.o : /Users/danielmorales/CSUMB/Potluck/Potluck/AppDelegate.swift /Users/danielmorales/CSUMB/Potluck/Potluck/EventTableViewC...
D
/** * Documentation: https://dlang.org/phobos/dmd_strictvisitor.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/strictvisitor.d */ module dmd.strictvisitor; import dmd.parsetimevisitor; /** The StrictVisitor asserts 0 an all visiting functions in order to * make sure that all the nodes a...
D
void main() { import std.stdio : writeln; writeln("Hello Stephen, from D!"); }
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