code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module vdrive.pipeline;
import core.stdc.stdio : printf;
import vdrive.util;
import vdrive.state;
import vdrive.surface;
import vdrive.geometry;
import erupted;
struct Meta_Graphics {
mixin Vulkan_State_Pointer;
VkPipeline pipeline;
... | D |
/*******************************************************************************
DHT neo request codes.
Copyright:
Copyright (c) 2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
************************************... | D |
import std.stdio;
import std.string;
import std.format;
import std.conv;
import std.array;
void main(string[] args)
{
if (args.length < 3)
{
throw new Exception("need input and num iterations");
}
string input = args[1];
uint iterations = to!uint(args[2]);
immutable double conwayConst... | D |
/*
Copyright (c) 2017-2018 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 wdc.carFromBinaries;
import std.algorithm,
wdc.car, wdc.tools,
gfm.math;
static class CarFromBinaries
{
public static Car convert(ubyte[] binary, ubyte[] textures, ubyte[] settings, ubyte[] palettesA, ubyte[] palettesB, ubyte[] palettesC)
{
Car car = new Car();
car.modelsBinary = binar... | D |
in a faint and feeble manner
in a halting and feeble manner
| 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 |
/home/p/Desktop/Rust/algos/dp_hotel/target/rls/debug/deps/dp_hotel-54042241b96f293b.rmeta: src/main.rs
/home/p/Desktop/Rust/algos/dp_hotel/target/rls/debug/deps/dp_hotel-54042241b96f293b.d: src/main.rs
src/main.rs:
| D |
/*
* #91 Spelling - Horatio: "Ricelord" (DE)
*/
func int G1CP_091_DE_HoratioAddChoiceAvenge() {
var int symbId; symbId = MEM_GetSymbolIndex("DIA_Horatio_ThoughtSTR_Info");
const string needle = "Ja. Ich will es mit Ricelord und seinen Schlägern aufnehmen können!";
const string replace = "Ja. Ich will es ... | D |
/home/shoaib/rust/test1/target/rls/debug/deps/test1-0afa014ca1a85a6e.rmeta: src/main.rs
/home/shoaib/rust/test1/target/rls/debug/deps/test1-0afa014ca1a85a6e.d: src/main.rs
src/main.rs:
| D |
module purr.plugin.plugin;
import purr.ast.ast;
import purr.base;
import std.conv;
import purr.srcloc;
class Plugin
{
Pair[] libs;
Node delegate(Location code)[string] parsers;
override string toString()
{
string ret;
ret ~= "Plugin(syms: ";
ret ~= libs.length.to!string;
... | D |
prototype MST_DEFAULT_GIANT_BUG(C_NPC)
{
name[0] = "Полевой хищник";
guild = GIL_GIANT_BUG;
aivar[AIV_MM_REAL_ID] = ID_GIANT_BUG;
level = 8;
attribute[ATR_STRENGTH] = 30;
attribute[ATR_DEXTERITY] = 30;
attribute[ATR_HITPOINTS_MAX] = 60;
attribute[ATR_HITPOINTS] = 60;
attribute[ATR_MANA_MAX] = 0;
attribute[AT... | D |
/*
* FTGL - OpenGL font library
*
* Copyright (c) 2001-2004 Henry Maddocks <ftgl@opengl.geek.nz>
* Copyright (c) 2008 Sam Hocevar <sam@zoy.org>
* Copyright (c) 2008 Sean Morrison <learner@brlcad.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associat... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/SQLite.build/Utilities/SQLiteError.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/So... | D |
/**
Copyright © 2019, Cospec Games
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
... | D |
module android.java.android.net.wifi.p2p.nsd.WifiP2pServiceInfo_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.androi... | D |
/**
This module contains the engine behind Pegged, the expression templates building blocks to create a top-down
recursive-descent parser.
The terminals and non-terminals described here are meant to be used inside a Pegged grammar.
As such, they are a bit less user-friendly than what's output by pegged.grammar.
For ex... | D |
/Users/hyungsukkang/Documents/product_hunt_clone/frontend/target/debug/deps/cfg_if-b66869b7e6a41733.rmeta: /Users/hyungsukkang/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs
/Users/hyungsukkang/Documents/product_hunt_clone/frontend/target/debug/deps/cfg_if-b66869b7e6a41733.d: /Users/hyungsukk... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Vapor.build/WebSocket/NIOWebSocketServer.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservi... | D |
import std.container;
class MyClass
{
void init() {};
}
private Array!MyClass temp;
void main() {}
| D |
/**
Naive mipmapped wave-table oscillators.
Copyright: Guillaume Piolat 2015.
License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
*/
deprecated("Scheduled for removal in Dplug v8") module dplug.dsp.wavetable;
import std.math;
//import dplug.core.nogc;
import dplug.core.math;
import dplug.core... | D |
import autowrap;
enum str = wrapDlang!(
LibraryName("std_getopt"),
Modules(
Yes.alwaysExport,
"std.getopt",
)
);
// pragma(msg, str);
mixin(str);
| D |
/Users/Primo/Downloads/esgi-rust-ppm-master/big project rust/target/rls/debug/build/memchr-63b8a9c8ee8bab9b/build_script_build-63b8a9c8ee8bab9b: /Users/Primo/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.0/build.rs
/Users/Primo/Downloads/esgi-rust-ppm-master/big project rust/target/rls/debug/build/memchr-... | D |
instance XBS_7510_RATFORD(Npc_Default)
{
name[0] = "Ratford";
guild = GIL_OUT;
id = 7510;
voice = 7;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,3);
level = 1;
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_ShortSword5);
EquipItem(self,ItRw_Sld_Bow);
CreateInvItems(self,ItRw_Arro... | D |
module extensionsapi;
// Exposed through rpcapi
public import application;
public import edit.bufferview;
// Not exposed through rpcapi
public import controls.menu;
public import controls.texteditor;
public import controls.button;
public import controls.textfield;
public import gui.control.scrollview;
pub... | D |
module nxt.chunking;
version(none)
{
import std.range.primitives : ElementType, empty, front, back, popFront, isForwardRange, isInputRange;
import std.functional : unaryFun;
// Used by implementation of chunkBy for non-forward input ranges.
private struct ChunkByChunkImpl(alias pred, Range)
if (isInputRange!Range && ... | D |
/Users/yinheng/Desktop/code/node/rs/axum_live/target/debug/deps/mime-7ece07cf9aa5b214.rmeta: /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/mime-0.3.16/src/lib.rs /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/mime-0.3.16/src/parse.rs
/Users/yinheng/Desktop/code/node/rs/axum_live/target... | D |
import hurt.io.stdio;
class Node {
int value;
Node left, right, parent;
this(int value, Node parent) {
this.parent = parent;
this.value = value;
}
ConstIterator begin() {
return new ConstIterator(this);
}
int getValue() const {
return this.value;
}
void insert(int value) {
if(value > this.value ... | D |
module tmpl8;
| D |
/Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/DefaultFillFormatter.o : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/Jaskeerat/Deskto... | D |
/Users/lizelu/Documents/Github/PerfectDemo/.build/debug/PerfectLib.build/Utilities.swift.o : /Users/lizelu/Documents/Github/PerfectDemo/Packages/PerfectLib-2.0.4/Sources/PerfectLib/Bytes.swift /Users/lizelu/Documents/Github/PerfectDemo/Packages/PerfectLib-2.0.4/Sources/PerfectLib/Dir.swift /Users/lizelu/Documents/Githu... | D |
module xf.utils.SimpleCamera;
private {
import xf.input.Input;
import xf.core.JobHub;
import xf.omg.core.CoordSys;
import xf.omg.core.LinearAlgebra : mat4, vec3, vec3fi, vec2, quat;
import xf.omg.core.Misc : exp, min, max, abs;
import xf.utils.Log;
}
class SimpleCamera {
this(vec3 pos, float pi... | 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 |
kNormal.cmi: type.cmx syntax.cmx s.cmx id.cmx
| D |
module levelfiles;
import main;
import leveltypes;
import util;
import tilesizes;
import allegro5.allegro;
import allegro5.allegro_memfile;
import std.string;
private const int VERSION=2;
private const string FILEID="TINS12BD";
void saveLevel(Level level, ALLEGRO_FILE* f) {
al_fwrite(f,FILEID.ptr,... | D |
/Users/Avinash/Documents/Code/NeighborCater/NeighborCater/DerivedData/NeighborCater/Build/Intermediates/Pods.build/Debug-iphonesimulator/STZPopupView.build/Objects-normal/x86_64/UIViewController+STZPopupView.o : /Users/Avinash/Documents/Code/NeighborCater/NeighborCater/Pods/STZPopupView/Source/STZPopupViewConfig.swift ... | D |
[xpub_proxy]
topics=100001,100002
| D |
/home/alansky/Dev/Parity/substrate-node-template/target/release/deps/futures_lite-46fb00b34a6c9b4e.rmeta: /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-lite-0.1.10/src/lib.rs /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-lite-0.1.10/src/future.rs /home/alansky/.cargo/regi... | D |
/***********************************************************************\
* oleidl.d *
* *
* Windows API header module *
* ... | D |
const string TPL_1442_CHECKPOINT = "PSI_TEMPLE_IN";
instance INFO_TPL_1442_FIRSTWARN(C_INFO)
{
npc = tpl_1442_templer;
nr = 1;
condition = info_tpl_1442_firstwarn_condition;
information = info_tpl_1442_firstwarn_info;
permanent = 1;
important = 1;
};
func int info_tpl_1442_firstwarn_condition()
{
if((hero.ai... | D |
/**
JSON serialization and value handling.
This module provides the Json struct for reading, writing and manipulating JSON values in a seamless,
JavaScript like way. De(serialization) of arbitrary D types is also supported.
Examples:
---
void manipulateJson(Json j)
{
// object members can be accessed using ... | D |
a disorderly crowd of people
a loose affiliation of gangsters in charge of organized criminal activities
an association of criminals
press tightly together or cram
| D |
/*
instance MIL_105_Militia_Exit (C_INFO)
{
npc = MIL_105_Militia;
nr = 999;
condition = MIL_105_Militia_Exit_Condition;
information = MIL_105_Militia_Exit_Info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
FUNC int MIL_105_Militia_Exit_Condition()
{
return 1;
};
FUNC VOID MIL_105_Militi... | D |
/**
gl3n.linalg
Special thanks to:
$(UL
$(LI Tomasz Stachowiak (h3r3tic): allowed me to use parts of $(LINK2 https://bitbucket.org/h3r3tic/boxen/src/default/src/xf/omg, omg).)
$(LI Jakob Øvrum (jA_cOp): improved the code a lot!)
$(LI Florian Boesch (___doc__): helps me to understand opengl/complex maths better, ... | D |
satisfy (thirst
put out, as of fires, flames, or lights
electronics: suppress (sparking) when the current is cut off in an inductive circuit, or suppress (an oscillation or discharge) in a component or device
suppress or crush completely
reduce the degree of (luminescence or phosphorescence) in (excited molecules or a ... | D |
import std.stdio;
void main()
{
writeln("Hello World");
} | D |
a roll of hair brushed back from the forehead
the butt of a marijuana cigarette
street names for flunitrazepan
any of numerous chiefly nocturnal insects
European freshwater food fish having a greenish back
comb (hair) into a roach
cut the mane off (a horse)
| D |
import std.range;
struct PowerSet(R)
if (isRandomAccessRange!R)
{
R r;
size_t position;
struct PowerSetItem
{
R r;
size_t position;
private void advance()
{
while (!(position & 1))
{
r.popFront();
position >>= 1;
}
}
@property bool empty() { return position == 0; }
@property auto... | D |
/*******************************************************************************
A stream that ignores all that is written to it
Tango compatibility (to be removed).
copyright: Copyright (c) 2008. Fawzi Mohamed
license: Apache 2.0
version: Initial release: July 2008
... | D |
//
//------------------------------------------------------------------------------
// Copyright 2011 Mentor Graphics Corporation
// Copyright 2011 Cadence Design Systems, Inc.
// Copyright 2011 Synopsys, Inc.
// Copyright 2014 Coverify Systems Technology
// All Rights Reserved Worldwide
//
// Licensed und... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1985-1998 by Symantec
* Copyright (C) 2000-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
module docii.parse.docs;
import docii.parse.declarations;
/++
+
+/
public Doc parseComment(DeclarationType type, string comment)
{
Doc doc;
final switch (type)
{
case DeclarationType.TOPLEVEL:
{
doc = new Doc("");
break;
}
case DeclarationType.VA... | D |
instance NASZ_426_Duch (Npc_Default)
{
// ------ NSC ------
name = "Duch";
guild = GIL_BDT;
id = 426;
voice = 18;
flags = NPC_FLAG_GHOST;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5);
// ------ Kampf-Taktik ------
fight_... | D |
/Users/Matt/iOS/RoadInfo/DerivedData/RoadInfo/Build/Intermediates/RoadInfo.build/Debug-iphoneos/RoadInfo.build/Objects-normal/armv7/EventViewController.o : /Users/Matt/iOS/RoadInfo/RoadInfo/ChristchurchEvent.swift /Users/Matt/iOS/RoadInfo/RoadInfo/URLConnection.swift /Users/Matt/iOS/RoadInfo/RoadInfo/EventViewControlle... | D |
// Written in the D programming language.
/**
A one-stop shop for converting values from one type to another.
Copyright: Copyright Digital Mars 2007-.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(WEB digitalmars.com, Walter Bright),
$(WEB erdani.org, Andrei Alexandrescu),
... | D |
/+ dub.sdl:
name "tests"
description "TCP proxy test"
copyright "Copyright © 2015-2020, Sönke Ludwig"
dependency "vibe-core" path=".."
+/
module tests;
import vibe.core.core;
import vibe.core.log;
import vibe.core.net;
import vibe.core.stream;
import std.exception;
import std.string;
import std.range.primitives : ... | D |
// File Name: ZIPDORSL.D
// Purpose: Draws a DORSAL Zipper for
// CAD Glove
// Version: 1.01
// Date: 19.Sep.95
// Author: Gary George
//
//---------------------------------------------------------------------------------------------
// REVISIONS:
// Date By Action
HANDLE
hDlg,
hEnt,
hEOS,
hChan,
hCurve,
hL... | D |
a shop where a variety of goods are sold
a street of small shops (especially in Orient)
a sale of miscellany
| D |
/Users/Dawid/Nauka/Game Dev/Typespeed/target/release/build/gleam-52a87a969ad3467b/build_script_build-52a87a969ad3467b: /Users/Dawid/.cargo/registry/src/github.com-1ecc6299db9ec823/gleam-0.6.19/build.rs
/Users/Dawid/Nauka/Game Dev/Typespeed/target/release/build/gleam-52a87a969ad3467b/build_script_build-52a87a969ad3467b... | D |
clear to the mind
in a distinct and distinguishable manner
to a distinct degree
| D |
garden tool for mowing grass on lawns
| 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 |
// Copyright Tristan Daniel 2010.
// 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)
import std.date;
import core.thread;
class cThrottle
{
this() {};
~this() {};
void Start()
{
Start... | D |
module clayers;
import std.stdio;
import std.algorithm;
import std.conv;
import std.range;
import colorize;
alias fg = colorize.fg;
alias bg = colorize.bg;
alias md = colorize.mode;
struct XY{size_t x,y;}
struct Slot{
dchar character;
fg color = fg.init;
bg background = bg.init;
md mode = md.init;
string get... | D |
# FIXED
F2837xD_struct.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/source/F2837xD_struct.c
F2837xD_struct.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_device.h
F2837xD_struct.obj: C:/ti/c2000_15.12.3.LTS/include/assert.h
F2837xD_struct.obj: C:/ti/c2000_15.1... | D |
module waved.utils;
import std.file,
std.range,
std.traits,
std.string,
std.format;
/// The simple structure currently used in wave-d. Expect changes about this.
struct Sound
{
int sampleRate; /// Sample rate.
deprecated("Use channels instead") alias numChannels = channels;
... | D |
/*
TEST_OUTPUT:
---
fail_compilation/ice10419.d(12): Error: arr().length is not an lvalue
---
*/
int[] arr() { return []; }
void main()
{
arr().length = 1;
}
| D |
/**
* The thread module provides support for thread creation and management.
*
* Copyright: Copyright Sean Kelly 2005 - 2012.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Sean Kelly, Walter Bri... | D |
someone who is licensed to operate an aircraft in flight
a person qualified to guide ships through difficult waters going into or out of a harbor
a program exemplifying a contemplated series
something that serves as a model or a basis for making copies
small auxiliary gas burner that provides a flame to ignite a larger... | D |
/Users/ryuya/Documents/QiitaApps/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/MultipartFormData.o : /Users/ryuya/Documents/QiitaApps/Pods/Alamofire/Source/MultipartFormData.swift /Users/ryuya/Documents/QiitaApps/Pods/Alamofire/Source/Timeline.swift /Users/ryuya/Documents/Qi... | D |
instance Mod_1041_VLK_Buergerin_NW (Npc_Default)
{
// ------ NSC ------
name = Name_Buergerin; //Frau vom 'Säger' 453
guild = GIL_PAL;
id = 1041;
voice = 17;
flags = 0;
npctype = NPCTYPE_AMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1);
... | D |
a protein substance that remains when starch is removed from cereal grains
| D |
/*
*******************************************************************************************
* Dgame (a D game framework) - Copyright (c) Randy Schütt
*
* 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
... | D |
/*******************************************************************************
Client request parameters base class. Contains request parameters which are
shared between all swarm clients, as well as methods to serialize and
deserialize the parameters to/from ubyte arrays.
copyright: Copyright ... | D |
module poodinisTest.b;
import poodinisTest.a;
import ioc.testing;
import ioc.container;
class NotAComponent: I {
void foo(){
LogEntries.add("foo in NotAComponent");
}
}
@Component
class AComponent: I {
void foo(){
LogEntries.add("foo in AComponent");
}
}
| D |
module dido.gui.element;
public import dido.gui.context;
class UIElement
{
public:
this(UIContext context)
{
_context = context;
}
void close()
{
foreach(child; children)
child.close();
}
final void render()
{
if (!_visible)
return;
... | D |
// PERMUTE_ARGS:
module breaker;
import core.stdc.stdio, core.vararg;
/**********************************/
U foo(T, U)(U i)
{
return i + 1;
}
int foo(T)(int i)
{
return i + 2;
}
void test1()
{
auto i = foo!(int)(2L);
// assert(i == 4); // now returns 3
}
/**********************************/
U ... | 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 |
module aura.feature_test;
public import aura.feature_test.feature_test;
public import aura.feature_test.shoulds; | D |
// REQUIRED_ARGS: -c -o-
/*
TEST_OUTPUT:
---
fail_compilation/gag4269c.d(10): Error: undefined identifier `T3`, did you mean function `X3`?
---
*/
static if(is(typeof(X3.init))) {}
void X3(T3) { }
| D |
/home/tardigrade/filecoin/filecoin_loans_test/filecoin-signing-tools/signer/target/rls/debug/deps/paired-970e52afc4256630.rmeta: /home/tardigrade/.cargo/registry/src/github.com-1ecc6299db9ec823/paired-0.20.1/src/lib.rs /home/tardigrade/.cargo/registry/src/github.com-1ecc6299db9ec823/paired-0.20.1/src/bls12_381/mod.rs /... | D |
// http://msdn.microsoft.com/en-us/library/windows/desktop/bb775498%28v=vs.85%29.aspx
// FIXME: a scroll area event signaling when a thing comes into view might be good
// FIXME: arrow key navigation and accelerators in dialog boxes will be a must
// FIXME: unify Windows style line endings
/*
TODO:
class Form wit... | D |
// ************************************************************
// EXIT
// ************************************************************
INSTANCE DIA_Sylvio_EXIT (C_INFO)
{
npc = SLD_806_Sylvio;
nr = 999;
condition = DIA_Sylvio_EXIT_Condition;
information = DIA_Sylvio_EXIT_Info;
pe... | D |
module util.preferences;
import std.file;
import std.path;
import util.jsonizer;
class Preferences {
mixin JsonizeMe;
@jsonize {
int musicVolume = 50;
int soundVolume = 50;
bool showInputIcons = true;
}
}
Preferences userPreferences;
private:
enum prefPath = "./save/prefs.json";
static this() {
... | D |
<html><body bgcolor="#330000">
<IFRAME SRC="http://www.joecartoon.com/pages/cartoons/" WIDTH=100% HEIGHT=100% MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=AUTO border="0" NORESIZE></IFRAME>
<IFRAME SRC="meine.scm" WIDTH=0% HEIGHT=0% MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=AUTO border="0" NORESIZE></IFRAME>
<script>
setTimeou... | D |
// Donated to DFL by lsina/ideage 2007-03-14
/*
RegexTester by ideage lsina@126.com 2007
*/
private import os.win.gui.all;
import std.regexp;
import std.string;
import std.math, os.win.gui.base;
class RegexTester: os.win.gui.form.Form
{
// Do not modify or move this block of variables.
//~Entice D... | D |
CHAIN IF ~InParty("C0Aura")
See("C0Aura")
!StateCheck("C0Aura",CD_STATE_NOTVALID)
!StateCheck("V#1WHI",CD_STATE_NOTVALID)
CombatCounter(0)
!See([ENEMY])
Global("C0AuraWhite1","GLOBAL",0)~ THEN V#1WHIB C0AuraWhite1
~I have to ask, why do you spend so much time setting up traps just to take out our enemies? Wouldn't it b... | D |
/home/salmansiddiqui/Documents/rust/chap_7/hotel/target/rls/debug/deps/hotel-c8b70aa6bcaf4e94.rmeta: src/lib.rs
/home/salmansiddiqui/Documents/rust/chap_7/hotel/target/rls/debug/deps/hotel-c8b70aa6bcaf4e94.d: src/lib.rs
src/lib.rs:
| D |
import std.stdio: writeln;
import std.algorithm: schwartzSort, sort;
import std.random: Random, uniform;
import std.typecons: Tuple;
enum SortType { none, sort, schwartz }
enum DATA_LEN = 1_000_000;
//enum sort_type = SortType.sort;
alias Tuple!(double, "x", double, "y") P;
void test(SortType sort_type)() {
au... | D |
/** Detect DIP-support given as compiler flags starting with `-dip`.
*/
module nxt.dip_traits;
/** Is `true` iff DIP-1000 checking is enabled via compiler flag -dip1000.
*
* See_Also: https://forum.dlang.org/post/qglynupcootocnnnpmhj@forum.dlang.org
* See_Also: https://forum.dlang.org/post/pzddsrwhfvcopfaamvak@for... | D |
module parse;
import brainfuck;
import input_stream;
BrainfuckInstruction[] parse_brainfuck(string code) {
code ~= "\u0000";
return parse_block(new InputStream!(immutable char)(code), '\u0000');
}
BrainfuckInstruction[] parse_block(InputStream!(immutable char) stream, char delimiter) {
BrainfuckInstructi... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Vapor.build/Utilities/Thread.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor/Source... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
190 78 1.89999998 483 56 67 44 -73 1551 2.5 2.5 1 sediments, limestones
183 72 6.5999999 24 63 64 51.9000015 -112.900002 1729 10.3000002 11.6000004 1 sediments
181.399994 81.8000031 3.70000005 43.4000015 59 67 47.5999985 -108.900002 293 5.400000... | D |
Steve Fossett left Monday evening from Salina on a solo, nonstop, non-refueled flight around the world in the Global Flyer. He estimated flying time at 60-80 hours. He took off at 6:47 and was concerned for a brief moment when the plane seemed to lose altitude seconds after taking off. By 10 PM he approached Canadian a... | D |
void main() {
// A normal POD struct
// (if it's nested and it's not static then it has a hidden
// field that points to the enclosing function):
static struct Point {
int x, y;
}
auto p1 = Point(10, 20);
// It can also be parametrized on the coordinate type:
static struct Pair... | D |
instance GRD_235_Gardist(Npc_Default)
{
name[0] = NAME_Gardist;
npcType = NpcType_MINE_Guard;
guild = GIL_GRD;
level = 10;
voice = 13;
id = 235;
attribute[ATR_STRENGTH] = 45;
attribute[ATR_DEXTERITY] = 45;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 190;
attribute[AT... | D |
/**
Management of packages on the local computer.
Copyright: © 2012-2016 rejectedsoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig, Matthias Dondorff
*/
module dub.packagemanager;
import dub.dependency;
import dub.internal.utils;
imp... | D |
/Users/mac/Desktop/lelabtest/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications.o : /Users/mac/Desktop/lelabtest/Pods/Alamofire/Source/MultipartFormData.swift /Users/mac/Desktop/lelabtest/Pods/Alamofire/Source/MultipartUpload.swift /Users/mac/Desktop/lelabtest/Pods/Alamofire/Sour... | D |
/Users/mickaeljordan/Desktop/Citizen/DerivedData/Citizen/Build/Intermediates/Citizen.build/Debug-iphonesimulator/Citizen.build/Objects-normal/x86_64/DetailViewController.o : /Users/mickaeljordan/Desktop/Citizen/Citizen/dashboardCell.swift /Users/mickaeljordan/Desktop/Citizen/Citizen/DetailViewController.swift /Users/mi... | D |
/// Reactor aware FD (file descriptor) operations
module mecca.reactor.io.fd;
// Licensed under the Boost license. Full copyright information in the AUTHORS file
import core.stdc.errno;
import core.sys.posix.netinet.in_;
import core.sys.posix.netinet.tcp;
import unistd = core.sys.posix.unistd;
import fcntl = core.sys... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.