code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
instance Mod_2002_BAU_Ricelord_MT (Npc_Default)
{
//-------- primary data --------
name = "Reislord";
npctype = NPCTYPE_MAIN;
guild = GIL_MIL;
level = 10;
voice = 11;
id = 2002;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
//-------- visuals --------
// animati... | D |
/*
Copyright (c) 2014-2015 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... | D |
module brick;
import bindbc.sdl;
import bounce_direction : BounceDirection;
import config : BRICK_WIDTH, BRICK_HEIGHT;
import color : Color;
class Brick
{
public:
this(SDL_Renderer *r, int x, int y, Color c)
{
_renderer = r;
_brick.x = x;
_brick.y = y;
_brick.w = BRICK_WIDTH;
... | D |
INSTANCE Mod_12015_DRA_Echse_AW (C_NPC)
{
//----- Monster ----
name = "Junger Echsenmensch";
guild = GIL_DRACONIAN;
id = 12015;
level = 35;
voice = 23;
Npctype = NPCTYPE_MAIN;
exp = 5;
//----- Attribute ----
attribute [ATR_STRENGTH] = 130;
attribute [ATR_DEXTERITY] = 130;
attribute [ATR_HITPOINTS_MAX]... | D |
// Copyright Ferdinand Majerech 2012.
// 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)
///System that handles player/script control of entities.
module component.controllersystem;
import ... | D |
/*
TEST_OUTPUT:
---
fail_compilation/parseStc.d(12): Error: missing closing `)` after `if (x`
fail_compilation/parseStc.d(12): Error: use `{ }` for an empty statement, not `;`
fail_compilation/parseStc.d(12): Error: found `)` when expecting `;` following expression
fail_compilation/parseStc.d(12): expression: `1... | D |
import std.stdio;
void main() {
struct Customer {
string name;
string phone;
double bal = 0;
static numCusts = 0;
}
Customer c1;
c1.name = "Paul Smith";
c1.phone = "555-1212";
c1.bal = 340.10;
Customer.numCusts++;
writefln("Call %s at %s a... | D |
/Users/lap14205/Documents/home/blockchain_learning/casper/casper-get-started/src/contract/target/wasm32-unknown-unknown/release/deps/crunchy-b9ddcd1ba7b9103d.rmeta: /Users/lap14205/.cargo/registry/src/github.com-1ecc6299db9ec823/crunchy-0.2.2/src/lib.rs /Users/lap14205/Documents/home/blockchain_learning/casper/casper-g... | D |
# FIXED
evmomapl138_pmic.obj: C:/hzhou39_decamar2_ashwina2/SE423Repo/LabFiles/bsl_forSYSBIOS/src/evmomapl138_pmic.c
evmomapl138_pmic.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdio.h
evmomapl138_pmic.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/_ti_config.h
evmomapl138_... | D |
*/15 * * * * root [ -x /usr/lib/contractor/cron/genDNS ] && /usr/lib/contractor/cron/genDNS
*/5 * * * * root [ -x /usr/lib/contractor/cron/postMaster ] && /usr/lib/contractor/cron/postMaster
10 1 1 * 0 root [ -x /usr/lib/contractor/util/manage.py ] && /usr/lib/contractor/util/manage.py clearsessions
| D |
module widget.controller.notification.drawer.drawer;
import widget;
class NotificationDrawerController : WidgetControllerPrototype{
this(){
super();
this.name = "drawer";
this.web_interface_settings.urlPrefix = "/"~this.name;
this.router.registerWebInterface(this, this.web_interface_settings);
}
@method(H... | D |
// Written in the D programming language.
/**
* Encode and decode UTF-8, UTF-16 and UTF-32 strings.
*
* For Win32 systems, the C wchar_t type is UTF-16 and corresponds to the D
* wchar type.
* For linux systems, the C wchar_t type is UTF-32 and corresponds to
* the D utf.dchar type.
*
* UTF character support i... | D |
/Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Vapor.build/JSON/JSONRepresentable.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/vapor.git-549298... | D |
/// Mecca UT support
module mecca.runtime.ut;
// Licensed under the Boost license. Full copyright information in the AUTHORS file
version(unittest):
import std.file: read;
import std.stdio;
import std.string;
import std.datetime;
import std.path: absolutePath, buildNormalizedPath;
import core.sys.posix.unistd: isatt... | D |
version (D_InlineAsm_X86)
version = TestInlineAsm;
else version (D_InlineAsm_X86_64)
version = TestInlineAsm;
else
pragma(msg, "Inline asm not supported, not testing.");
version (TestInlineAsm)
{
void testInlineAsm()
{
asm
{
L1:
nop;
nop;
nop;
nop;
mov EAX, dw... | D |
/// Copyright: Copyright (c) 2017-2019 Andrey Penechko.
/// License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
/// Authors: Andrey Penechko.
module fe.ast.stmt.do_stmt;
import all;
@(AstType.stmt_do_while)
struct DoWhileStmtNode {
mixin AstNodeData!(AstType.stmt_do_while, AstFlags.isStatement, AstNodeSta... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -d -preview=dip1000
extern(C) int printf(const char*, ...);
class Eh : Exception
{
this()
{
super("Eh thrown");
}
}
/********************************************/
class Foo
{
static int x;
this()
{
assert(x == 0);
x++;
prin... | D |
module android.java.android.hardware.Camera_Size_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.lang.Class_d_interface;
import import0 = android.java.android.hardware.Came... | D |
instance Stt_311_Fisk(Npc_Default)
{
name[0] = "Fisk";
npcType = npctype_main;
guild = GIL_STT;
level = 7;
voice = 12;
id = 311;
attribute[ATR_STRENGTH] = 80;
attribute[ATR_DEXTERITY] = 60;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 226;
attribute[ATR_HITPOINTS] = 2... | D |
module android.java.java.util.Locale_Builder_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.util.Locale_d_interface;
import import0 = android.java.java.util.Locale_Builder... | D |
/Users/Rylyn/project/rust/TRPL_07_02_module_restaurant/target/debug/deps/TRPL_07_02_module_restaurant-6ea52935fbe4997c: src/main.rs
/Users/Rylyn/project/rust/TRPL_07_02_module_restaurant/target/debug/deps/TRPL_07_02_module_restaurant-6ea52935fbe4997c.d: src/main.rs
src/main.rs:
| D |
// Copyright Brian Schott (Hackerpilot) 2014-2015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module dscanner.analysis.unused_variable;
import dparse.ast;
import dscanner.analysis.base;... | D |
/**
* Semantic analysis of template parameters.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 http... | D |
/Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/SwiftSVG.build/Objects-normal/x86_64/UIView+SVG.o : /Users/Fares/Documents/Projects/TransitApp/Pods/SwiftSVG/SwiftSVG/CAShapeLayer+SVG.swift /Users/Fares/Documents/Projects/TransitApp/Pods/SwiftSVG/SwiftSVG/CrossPlatform.swift /Users/Fare... | D |
/*******************************************************************************
Fake DMQ node Pop request implementation.
Copyright:
Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
***********... | D |
module deimos.hyperdex;
public:
import deimos.hyperdex.core;
import deimos.hyperdex.client;
import deimos.hyperdex.admin;
import deimos.hyperdex.datastructures;
import deimos.hyperdex.hyperspace_builder;
| D |
/*******************************************************************************
* Copyright (c) 2003, 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 |
/Users/priscilla/Documents/UbiComProject/ProjectDB/HealthAIcurrent/build/Pods.build/Debug-iphonesimulator/SwipeCellKit.build/Objects-normal/x86_64/SwipeFeedback.o : /Users/priscilla/Documents/UbiComProject/ProjectDB/HealthAIcurrent/Pods/SwipeCellKit/Source/Swipeable.swift /Users/priscilla/Documents/UbiComProject/Projec... | D |
module gfx.glformatinfo;
import opengl;
import core.imageformat;
/// Structure containing information about the OpenGL internal format
/// corresponding to an 'ImageFormat'
struct GLFormatInfo
{
GLenum internal_fmt; //< Corresponding internal format
GLenum external_fmt; //< Preferred external format f... | D |
/*
* bitleveld - reinterpret.d
* by Laszlo Szeremi
*
* Copyright under Boost Software License.
*
* Contains functions that can be used to reinterpret data types and arrays between each other.
*/
module bitleveld.reinterpret;
/*
* Note on reinterpretation of pointers:
*
* The functions allow to cast pointers,... | D |
a native or inhabitant of Mexico
of or relating to Mexico or its inhabitants
| D |
// URL: https://atcoder.jp/contests/abc042/tasks/abc042_b
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 |
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/Validation.build/Exports.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/validation.git--4403154650041669468/Sources/Validation/Validatable.swift /Users/Khanh/vapor/TILApp/.build/checkouts/validation.git--4403154650041669468/Sources/Validation/Validat... | 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 |
// **************
// Kapitelwechsel
// **************
FUNC VOID B_Kapitelwechsel (VAR INT neues_Kapitel)
{
Kapitel = neues_Kapitel;
//***************************************************************************
// KAPITEL 1
//***************************************************************************
if (neues_K... | D |
import std;
auto extensionsUsed = [
[`GL_ARB_direct_state_access`, `required`],
[`GL_ARB_shader_storage_buffer_object`, `required`],
//[ `GL_EXT_texture_compression_dxt1`, `required` ],
[`GL_ARB_shader_draw_parameters`], // 7700, 410
[
`GL_ARB_bindless_texture`, `glGetTextureSamplerHandleARB`,
`glMakeTextur... | D |
/**
Tests for converting from XLOPER12 to D types.
*/
module ut.conv.from;
import test;
import xlld.conv.to: toXlOper;
import xlld.conv.from;
@("fromXlOper!double")
@system unittest {
import xlld.sdk.framework: freeXLOper;
TestAllocator allocator;
auto num = 4.0;
auto oper = num.toXlOper(allocat... | D |
/Users/davelevy/Desktop/80pts/80pts/Build/Intermediates/80pts.build/Debug-iphonesimulator/80pts.build/Objects-normal/x86_64/EditViewController.o : /Users/davelevy/Desktop/80pts/80pts/80pts/Wage.swift /Users/davelevy/Desktop/80pts/80pts/80pts/People.swift /Users/davelevy/Desktop/80pts/80pts/80pts/Determine.swift /Users/... | D |
import std.stdio;
import std.string;
import std.format;
// dmagick imports are broken, copy ~/.dub/packages/dmagick-0.2.1/dmagick to source directory
// depends on libmagickcore
import dmagick.Image;
import dmagick.ColorRGB;
void applyToPixel(ref ColorRGB col, ubyte delegate(ubyte) transform)
{
col.redByte(transform(... | D |
import std.stdio, std.range, std.traits;
/// Approximates y(t) in y'(t)=f(t,y) with y(a)=y0 and t=a..b and the step size h.
void euler(F)(in F f, in double y0, in double a, in double b, in double h) @safe
if (isCallable!F && __traits(compiles, { real r = f(0.0, 0.0); })) {
double y = y0;
foreach (immutable t; ... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gio.themedicon;
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Lice... | D |
# FIXED
HAL/Target/CC2650/_common/mb_PATCH.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/_common/cc26xx/mb_PATCH.c
HAL/Target/CC2650/_common/mb_PATCH.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/CC2650TIRTOS/hal_mcu.h
HAL/Target/CC2650/_common/mb_PATCH.obj: C:/ti/ccsv6/to... | D |
// URL: https://atcoder.jp/contests/language-test-202001/tasks/abc085_b
import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string;
version(unittest) {} else
void main()
{
int N; io.getV(N);
int[] d; io.getC(N, d);
d.sort;
io.put(d.uniq.walkLength);
}
auto io = IO!()();
im... | D |
module gdalprocessing;
import std.stdio;
import std.process : executeShell;
import std.file;
import std.path;
import std.datetime;
import std.conv;
import dbconnect;
import parseconfig;
import globals;
class GDAL
{
Config config;
this(Config config)
{
this.config = config;
}
// convert user upload to geoj... | D |
/**
*
* /home/tomas/workspace/mqtt-d/source/mqttd/package.d
*
* Author:
* Tomáš Chaloupka <chalucha@gmail.com>
*
* Copyright (c) 2015 Tomáš Chaloupka
*
* Boost Software License 1.0 (BSL-1.0)
*
* Permission is hereby granted, free of charge, to any person or organization obtaining a copy
* of the softw... | D |
instance Mod_1050_VLK_Buerger_NW (Npc_Default)
{
// ------ NSC ------
name = NAME_BUERGER;
guild = GIL_PAL;
id = 1050;
voice = 1;
flags = 0;
npctype = NPCTYPE_AMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2);
// ------ Kampf-Taktik ---... | D |
# DO NOT DELETE
./Plot-AM-MTR2j-07Sep_Susy-6-auto_C.so: /home/andrea/root/include/TString.h
./Plot-AM-MTR2j-07Sep_Susy-6-auto_C.so: /home/andrea/root/include/Riosfwd.h
./Plot-AM-MTR2j-07Sep_Susy-6-auto_C.so: /home/andrea/root/include/TMathBase.h
./Plot-AM-MTR2j-07Sep_Susy-6-auto_C.so: /home/andrea/root/include/Rtypes... | D |
/** Fundamental operations for arbitrary-precision arithmetic
*
* These functions are for internal use only.
*/
/* Copyright Don Clugston 2008 - 2010.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENS... | D |
/*
* Hunt - A refined core library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.util.Locale;
import hunt.Exceptions;
import hunt.Functions;
import hunt.io.Common;
import hunt... | D |
/Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/XAxisRendererRadarChart.o : /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/... | D |
// EXTRA_SOURCES: imports/ovs1528a.d imports/ovs1528b.d imports/template_ovs1.d imports/template_ovs2.d imports/template_ovs3.d
import imports.template_ovs1;
import imports.template_ovs2;
import imports.template_ovs3;
extern(C) int printf(const char* fmt, ...);
template TypeTuple(T...){ alias T TypeTuple; }
template... | D |
header obdef - PDP-11 object module formats
; See documentation at the end of this module
data obTgsd - global symbol directory entry
type obTgsd
is Anam : [2] WORD ; 2-word rad50 symbol name
Vflg : BYTE ; symbol flags
Vcod : BYTE ; symbol type code
Vval : WORD ; symbol value
end
; GSD
; |P... | D |
/Users/zackrossman/Documents/cmc_junior/Software_Development/hotspot/hotspot1/DerivedData/hotspot1/Build/Intermediates/hotspot1.build/Debug-iphonesimulator/hotspot1.build/Objects-normal/x86_64/ViewController.o : /Users/zackrossman/Documents/cmc_junior/Software_Development/hotspot/hotspot1/hotspot1/ViewController.swift ... | D |
module bookstore.order.query.service;
import bookstore.order.query.orderlist;
import bookstore.order.query.client;
class QueryService
{
private OrderListDenormalizer orderListDenormalizer;
private ProductCatalogClient productCatalogClient;
this(OrderListDenormalizer orderListDenormalizer, ProductCatalogClient p... | D |
module senderoxc.data.MysqlMapper;
import senderoxc.data.Mapper;
import senderoxc.data.mapper.mysql.IMysqlMapper;
import senderoxc.data.IDataResponder;
import senderoxc.data.mapper.mysql.Delete;
import senderoxc.data.mapper.mysql.Save;
import sendero.core.Config;
class MysqlMapper : Mapper, IMysqlMapper
{
static t... | D |
/*******************************************************************************
* Copyright (c) 2000, 2009 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 |
/Users/JenishMistry/DEMOS/MVCDemoAPI/DerivedData/MVCDemoAPI/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/UILayoutSupport+Extensions.o : /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/Sn... | 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 |
module wiz.sym.funcdef;
import wiz.lib;
import wiz.sym.lib;
class FuncDef : Definition
{
compile.Environment environment;
this(ast.Node decl, compile.Environment environment)
{
super(decl);
this.environment = environment;
}
} | D |
module setrefine;
/*
refine <type> <id> <parameters>
where:
<type> is the refinement type, available: pin, surf.
<refineId> is the item to be refined, either pin id or surface id.
<parameters> are the refinement parameters based on the type
if pin type: <parameters> = <divisions> <inner> <outer... | D |
func int B_TeachPlayerTalentRunes(var C_Npc slf,var C_Npc oth,var int spell)
{
var int kosten;
var C_Npc ScrollTrader;
kosten = B_GetLearnCostTalent(oth,NPC_TALENT_RUNES,spell);
if(oth.lp < kosten)
{
PrintScreen(PRINT_NotEnoughLearnPoints,-1,-1,FONT_ScreenSmall,2);
B_Say(slf,oth,"$NOLEARNNOPOINTS");
return ... | D |
module tuthpc.highlevel;
import std.range;
import tuthpc.taskqueue;
PushResult!U qmap(T, U)(PushResult!T list, U delegate(T) dg, in JobEnvironment env = defaultJobEnvironment(), string file = __FILE__, size_t line = __LINE__)
{
auto tasks = new MultiTaskList!U();
foreach(i; 0 .. list.retvals.length) {
... | D |
a canon who receives a prebend for serving the church
| D |
/Users/adelkhaziakhmetov/Documents/XCODE/UIKitChaining/build/UIKitChaining.build/Debug-iphonesimulator/UIKitChaining.build/Objects-normal/x86_64/UITabBar+Chaining.o : /Users/adelkhaziakhmetov/Documents/XCODE/UIKitChaining/UIKitChaining/UIChaining/UITextField+Chaining.swift /Users/adelkhaziakhmetov/Documents/XCODE/UIKit... | D |
module wx.StaticLine;
public import wx.common;
public import wx.Control;
//---------------------------------------------------------------------
extern(D) class СтатическаяСтрока : Контрол
{
enum
{
ГОРИЗОНТАЛЬНАЯ = ПОриентация.Горизонталь,
ВЕРТИКАЛЬНАЯ = ПОриентация.Вертикаль,
}
publ... | 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_MobileMedia... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.range;
import std.format;
import std.typecons;
import std.concurrency;
import std.exception;
import std.math;
import std.numeric;
import std.ascii;
import std.process;
void display(int[][] elves)
{
auto minx = elves.map!(x => x[... | D |
# FIXED
third_party/FreeRTOS/Source/tasks.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/tasks.c
third_party/FreeRTOS/Source/tasks.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stdlib.h
third_party/FreeRTOS/Source/tasks.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/_... | D |
/**
Copyright: Copyright (c) 2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.text.lexer;
//import std.array;
import std.range;
import std.uni;
import std.utf : byDchar, decodeFront;
import std.stdio;
struct Stack(T)
{
import std.array;
... | D |
module vulkan.surface;
import std.exception : enforce;
import derelict.sdl2.sdl;
import erupted;
import vulkan.check;
import vulkan.instance;
struct Surface
{
VkSurfaceKHR surface;
alias surface this;
VkInstance instance;
this(VkInstance instance, SDL_Window* window)
{
this.instance = instanc... | D |
/*
Copyright (c) 2019-2020 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,
... | D |
/*
Copyright (c) 2011-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... | D |
ZGEQRF (F08ASF) Example Program Data
6 4 2 :Values of M, N and NRHS
( 0.96,-0.81) (-0.03, 0.96) (-0.91, 2.06) (-0.05, 0.41)
(-0.98, 1.98) (-1.20, 0.19) (-0.66, 0.42) (-0.81, 0.56)
( 0.62,-0.46) ( 1.01, 0.02) ( 0.63,-0.17) (-1.11, 0.60)
(-0.37, 0.38) ( 0.19,-0.54) (-0.98,... | D |
import std.stdio;
import std.conv;
import std.algorithm;
import std.range;
import std.array;
import std.format;
struct claim_t {
int id, x, y, w, h;
this(string s) {
s.formattedRead!"#%s @ %s,%s: %sx%s"(id, x, y, w, h);
}
}
void main(string[] args)
{
enum N = 1000;
auto field = new int[][]... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail10528.d(19): Error: module fail10528 variable a10528.a is private
fail_compilation/fail10528.d(20): Error: variable a10528.a is not accessible from module fail10528
fail_compilation/fail10528.d(22): Error: variable a10528.b is not accessible from module fail10528
fail_compilatio... | D |
abnormal enlargement of a body part or organ
undergo hypertrophy
| D |
module minilib.core.ringbuffer;
import core.stdc.string;
import core.atomic;
import std.concurrency;
import std.exception;
import std.string;
/*
Previous names:
PaUtil_InitializeRingBuffer
PaUtil_FlushRingBuffer
PaUtil_GetRingBufferReadAvailable
PaUtil_GetRingBufferWriteAvailable
PaUtil_ReadRingBuffer
PaUtil_WriteRi... | D |
/++
+/
module exactmath.lexer;
import std.exception : enforce;
/++
+/
struct Token
{
/++
+/
static struct Loc
{
uint line;
uint ch;
}
///
string value;
//alias value this;
///
Loc loc;
}
/++
+/
final class LexerException : Exception
{
impo... | D |
import std.stdio;
import std.file;
import std.algorithm;
void main(string[] args) {
if (args.length == 1) {
writeln("IHD: check if a file is hidden (or should be) Unix Style.\nIHD stands for 'Is HidDen'\nSyntax: ihd <file>");
} else {
if (exists(args[1])) {
if (args[1].startsWith(".")) {
writeln("File ... | D |
T, K 2619.10577058243 2605.90655560093 2371.92052892036
T, K 2619.10577058243 2605.90655560093 2371.92052892036
T, K 2619.10577058243 2605.90655560093 2371.92052892036
T, K 2619.10577058243 2605.... | D |
///
module std.experimental.allocator.building_blocks.bitmapped_block;
import std.experimental.allocator.common;
import std.experimental.allocator.building_blocks.null_allocator;
/**
$(D BitmappedBlock) implements a simple heap consisting of one contiguous area
of memory organized in blocks, each of size $(D theBloc... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1985-1998 by Symantec
* Copyright (c) 2000-2017 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
module stache.i.renderable;
public import fuji.types;
interface IRenderable
{
void OnRenderWorld();
void OnRenderGUI(MFRect orthoRect);
@property bool CanRenderWorld();
@property bool CanRenderGUI();
} | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail223.d(14): Error: cannot modify const expression this.x
---
*/
//import std.stdio;
class A
{
public:
int x = 0;
void setX(int nx) const { x = nx; }
}
void foo(const A a) { a.setX(1); }
int main(char[][] args)
{
A a = new A;
foo(a);
//writefln(a.x);
re... | D |
module antlr.v4.runtime.misc.ObjectEqualityComparator;
import antlr.v4.runtime.misc.AbstractEqualityComparator;
/**
* This default implementation of {@link EqualityComparator} uses object equality
* for comparisons by calling {@link Object#hashCode} and {@link Object#equals}.
*
* @author Sam Harwell
*/
class Obj... | D |
# FIXED
csl_emif.obj: C:/ti/c55_lp/c55_csl_3.08.01/src/csl_emif.c
csl_emif.obj: C:/ti/c55_lp/c55_csl_3.08.01/inc/csl_emif.h
csl_emif.obj: C:/ti/c55_lp/c55_csl_3.08.01/inc/cslr.h
csl_emif.obj: C:/ti/c55_lp/c55_csl_3.08.01/inc/csl_error.h
csl_emif.obj: C:/ti/c55_lp/c55_csl_3.08.01/inc/csl_types.h
csl_emif.obj: C:/ti/bio... | D |
/Users/Leex/TableView_Test/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/DisposeBag.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/R... | D |
# FIXED
adc.obj: C:/TAPAS_Fandriver/TAPAS-DSP/ti/motorware/motorware_1_01_00_18/sw/drivers/adc/src/32b/f28x/f2806x/adc.c
adc.obj: C:/TAPAS_Fandriver/TAPAS-DSP/ti/motorware/motorware_1_01_00_18/sw/drivers/adc/src/32b/f28x/f2806x/adc.h
adc.obj: C:/TAPAS_Fandriver/TAPAS-DSP/ti/motorware/motorware_1_01_00_18/sw/drivers/cp... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gio.filemonitor;
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Lic... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
298.399994 61.7000008 5.9000001 0 58 62 -19.6000004 116.099998 141 3.29999995 8 0.962780352 sediments, sandstones, siltstones
310.200012 40.5999985 4.69999981 120.900002 56 59 -33.2000008 151.100006 241 8.60000038 8.60000038 0.976048249 extrusiv... | D |
//drop in another one to pull split from m2
module imports.m8668c;
public import imports.m8668b: split8668;
| D |
import std.algorithm;
import std.array;
import std.conv;
import std.math;
import std.stdio;
void main(string args[])
{
auto input = File("day1.1.input");
auto instructions = input.byLine.front.split(", ");
instructions.calculateDistance.writeln;
instructions.findFirstDoubleLocationDistance.writeln;
... | D |
void main()
{
import std.stdio;
import money;
Record[] records;
foreach (line; stdin.byLine)
records ~= Record(line.idup);
foreach (record; records)
record.writeln;
foreach (cycle; [2, 4, 7])
records.expensePerDays(cycle).writeln;
}
| D |
INSTANCE Mod_7734_BDT_Bandit_EIS (Npc_Default)
{
// ------ NSC ------
name = Name_Bandit;
guild = GIL_STRF;
id = 7734;
voice = 03;
flags = 0;
npctype = NPCTYPE_mt_bandit;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
aivar[AIV_ToughGuy] = TRUE;
aivar[AI... | D |
/Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ImageProgressive.o : /Users/macbook/Desktop/BookFarm/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/macbook/Desktop/BookFarm/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/macbook/Desktop/Book... | D |
.source T_mul_float_6.java
.class public dot.junit.opcodes.mul_float.d.T_mul_float_6
.super java/lang/Object
.method public <init>()V
.limit regs 1
invoke-direct {v0}, java/lang/Object/<init>()V
return-void
.end method
.method public run(FI)F
.limit regs 8
mul-float v0, v6, v7
return v0... | D |
module mvc.v.gtk.path_controls;
version (GTKApplication):
import gtk.Button;
import gtk.Entry;
import gtk.Grid;
import gtk.Image;
import gtk.Label;
@system:
enum PathControl: ubyte { renpySDK, project }
final class PathControls: Grid {
private {
Label[2] _labels;
Button[2] _btns;
Label[... | D |
/// Copyright: Copyright (c) 2017-2019 Andrey Penechko.
/// License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
/// Authors: Andrey Penechko.
module fe.ast.expr.unary_op;
import all;
@(AstType.expr_un_op)
struct UnaryExprNode {
mixin ExpressionNodeData!(AstType.expr_un_op);
UnOp op;
AstIndex child;
}
v... | D |
/**
License:
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,
execut... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.