code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
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 |
module sqld.ast.join_node;
import sqld.ast.expression_node;
import sqld.ast.node;
import sqld.ast.visitor;
enum JoinType : string
{
inner = "INNER JOIN",
left = "LEFT OUTER JOIN",
right = "RIGHT OUTER JOIN",
full = "FULL OUTER JOIN",
cross = "CROSS JOIN"
}
immutable class JoinNode : Node
{
... | D |
/**
* Copyright © DiamondMVC 2019
* License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE)
* Author: Jacob Jensen (bausshf)
*/
module diamond.authentication.auth;
import diamond.core.apptype;
static if (isWeb)
{
import core.time : minutes;
import std.datetime : Clock;
import diamond.http;
i... | D |
module bio.sff.read;
/// SFF record
struct SffRead {
/// Read identifier
string name;
/// Homopolymer stretch estimates for each flow of the read
ushort[] flowgram_values;
ubyte[] flow_index_per_base;
/// Basecalled nucleotide sequence
char[] bases;
/// Phred-scaled quality scores
... | D |
import std.stdio, std.string, std.algorithm, std.path, std.array;
string commonDirPath(in string[] paths, in string sep = "/")
/*pure nothrow*/ {
if (paths.empty)
return null;
return paths.map!(p => p.split(sep)).reduce!commonPrefix.join(sep);
}
void main() {
auto paths = ["/home/user1/tmp/coverag... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Transport.build/Exports.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/sockets.git-1550083001277339713/Sources/Transport/Streams/Stream.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/sockets.git-1550083001277339713/Sour... | D |
/home/naufil/Desktop/rust/3june/todocopy/target/debug/deps/libunic_char_property-ede8b29fcb1346c9.rlib: /home/naufil/.cargo/registry/src/github.com-1ecc6299db9ec823/unic-char-property-0.7.0/src/lib.rs /home/naufil/.cargo/registry/src/github.com-1ecc6299db9ec823/unic-char-property-0.7.0/src/pkg_info.rs /home/naufil/.car... | 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 |
instance DIA_Addon_Myxir_CITY_EXIT(C_Info)
{
npc = KDW_140300_Addon_Myxir_CITY;
nr = 999;
condition = DIA_Addon_Myxir_CITY_EXIT_Condition;
information = DIA_Addon_Myxir_CITY_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Myxir_CITY_EXIT_Condition()
{
return TRUE;
};
func void D... | D |
module BClass;
public class BClass
{
private int myint;
}
| D |
// Written in the D programming language.
/**
This is a submodule of $(MREF std, math).
It contains hardware support for floating point numbers.
Copyright: Copyright The D Language Foundation 2000 - 2011.
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP digitalmars.com, Walter B... | D |
module sde.zipreader;
import dyaml;
import std.zip;
import std.stdio;
import std.conv;
import sde.fetchzip;
Node extractItemTypes(ZipArchive zipArchive) {
auto zipMember = zipArchive.directory["sde/fsd/typeIDs.yaml"];
ubyte[] bytes = zipArchive.expand(zipMember);
Node rootNode = Loader.fromString(cast(c... | D |
module dlex.Rule.SeqRule;
import dlex.Rule;
class SeqRule : Rule {
public:
Rule prevRule;
Rule postRule;
this (Rule prevRule, Rule postRule) {
this.prevRule = prevRule;
this.postRule = postRule;
}
override MatchResult match(dstring source, ref Position pos) {
auto prevPos = pos;
auto pre... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(HTTP 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
*/
/* ... | D |
/**
Copyright: Copyright (c) 2015-2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.utils.linebuffer;
struct LineBuffer
{
import derelict.imgui.imgui;
import std.array : empty;
import std.format : formattedWrite;
import voxelman.contain... | D |
instance PAL_6054_RITTER(Npc_Default)
{
name[0] = NAME_Ritter;
guild = GIL_BDT;
aivar[AIV_IgnoresFakeGuild] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
id = 6054;
voice = 8;
flags = 0;
npcType = NPCTYPE_PALMORA;
aivar[AIV_DropDeadAndKill] = TRUE;
B_SetAttributesToChapter(self,6);
fight_tactic = FAI_HUMAN_MASTER... | D |
/Users/edward.wangcrypto.com/study/substrate_lesson_homework_template/node-template-benchmark/target/release/wbuild/node-template-runtime/target/release/build/crunchy-6bc0312ab58ffb63/build_script_build-6bc0312ab58ffb63: /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/crunchy-0.2.2/build.rs... | D |
module bottino.bots;
import bottino.ircgrammar;
import bottino.irc;
import vibe.core.core;
import vibe.core.concurrency : send, receiveOnly;
import vibe.core.task;
import vibe.core.log;
import std.string;
import std.container;
import std.algorithm.iteration;
import std.range;
import std.meta;
import std.conv : to;
/... | D |
instance Grd_200_Thorus (Npc_Default)
{
//-------- primary data --------
name = "Thorus";
npctype = NPCTYPE_FRIEND;
guild = GIL_GRD;
level = 50;
voice = 9;
id = 200;
//-------- abilities --------
attribute[ATR_STRENGTH] = 155;
attribute[ATR_DEXTERITY] = 80;
attribute[ATR_MANA_MAX] ... | D |
/Users/olafgomez/Documents/PracticasCice/PokedexXYiOS/PokemonXYiOS/DerivedData/PokemonXYiOS/Build/Intermediates.noindex/Alamofire.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Notifications.o : /Users/olafgomez/Documents/PracticasCice/PokedexXYiOS/PokemonXYiOS/DerivedData/PokemonXYiOS/SourcePackages... | D |
module net.pms.configuration.ProgramPathDisabler;
class ProgramPathDisabler : ProgramPaths {
private bool disableVlc = false;
private bool disableMencoder = false;
private bool disableFfmpeg = false;
private bool disableMplayer = false;
private bool disableDCraw = false;
private bool disableIMConvert = false;
p... | D |
/**
Numeric related utilities used by TSV Utilities.
Utilities in this file:
$(LIST
* [formatNumber] - An alternate print format for numbers, especially useful when
doubles are being used to represent integer and float values.
* [rangeMedian] - Finds the median value of a range.
* [quantile] - Gene... | D |
/**
Copyright: Copyright (c) 2020, Joakim Brännström. All rights reserved.
License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
Author: Joakim Brännström (joakim.brannstrom@gmx.com)
A convenient library for calculating the hash of bits of data.
*/
module my.hash;
import std.digest.crc : ... | D |
module io.UnicodeFile;
private import io.device.File;
public import text.convert.UnicodeBom;
class ФайлЮ(T)
{
private ЮникодМПБ!(T) bom_;
private ткст path_;
this (ткст путь, Кодировка кодировка)
{
bom_ = new ЮникодМПБ!(T)(кодировка);
... | D |
module xf.omg.core.Misc;
public {
import tango.math.Math : min, max, floor, ceil, sin, cos, tan, atan, atan2,
rndint, pow, abs, exp, sqrt, cbrt;
import tango.stdc.math : fmodf;
}
const real deg2rad = 0.0174532925199432957692369076848861;
const real rad2deg = 57.295... | D |
instance RuneSword_stormfist(Npc_Default)
{
/* var string name;
var string slot;//vfxname
var string spawnPoint;//sfxname
var int id;
var int flags;//chargecost
var int voice;//damage
var int npctype;//damagetype
var int lp;//runetype
0-NEUTRAL
1-DARK
2-FIRE
3-LIGHT
4-WATER
5-WIND
*/
name = "Uderzenie b... | D |
// https://issues.dlang.org/show_bug.cgi?id=20567
import core.memory;
void main()
{
auto stats = GC.profileStats();
assert(stats.numCollections == 0);
char[] sbuf = new char[256]; // small pool
char[] lbuf = new char[2049]; // large pool
stats = GC.profileStats();
assert(stats.numCollection... | D |
/**
* Xmd.h: MACHINE DEPENDENT DECLARATIONS.
*
* License:
* Copyright 1987, 1998 The Open Group
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in a... | D |
import std.stdio;
import std.process;
import std.file;
import std.datetime;
import std.algorithm;
import std.array;
import std.json;
import std.getopt;
import jsonizer.fromjson;
import jsonizer.tojson;
import jsonizer.jsonize;
import net.masterthought.rainbow;
import core.thread;
import std.digest.sha;
import std.rang... | D |
module org.serviio.upnp.webserver.DeviceDescriptionRequestHandler;
import java.io.IOException;
import java.net.InetAddress;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import org.apache.http.HttpException;
import org.apache.http.HttpRequest;
import org.ap... | D |
//--------------------------------------------------------------------
// Info EXIT
//--------------------------------------------------------------------
INSTANCE DIA_Addon_Miguel_EXIT (C_INFO)
{
npc = BDT_10022_Addon_Miguel;
nr = 999;
condition = DIA_Addon_Miguel_EXIT_Condition;
information ... | D |
module UnrealScript.Engine.MaterialExpressionTextureSampleParameter;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Core.UObject;
import UnrealScript.Engine.MaterialExpressionTextureSample;
extern(C++) interface MaterialExpressionTextureSampleParameter : MaterialExpressionTextureSample
... | D |
# FIXED
proj_lab02b.obj: C:/ti/motorware/motorware_1_01_00_17/sw/solutions/instaspin_foc/src/proj_lab02b.c
proj_lab02b.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/math.h
proj_lab02b.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include/linkage.h
proj_lab02b.obj: C:/ti/ccsv6/tools/compiler/c2000_15.12... | D |
// Written in the D programming language.
/**
* Functions informing about processor's instruction set and unittests.
*/
module wrapper.sodium.runtime;
import wrapper.sodium.core; // assure sodium got initialized
public
import deimos.sodium.runtime;
/** unittest(s) : all deimos/wrapper functions and their attrib... | D |
/*
Copyright (c) 2019-2022 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 |
/*
this file should compile using D compiler 1.0: http://www.digitalmars.com/d/1.0/
tested with DMD v1.022
License: You can use this program as you like, but you won't make me responsible for anything. *NO WARRATINES* of any kind.
*/
import std.stdio, std.string, std.c.stdlib, std.file, std.stream;
const ... | D |
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Socks.build/Objects-normal/x86_64/TCPClient.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Socks-1.2.0/Sources/Socks/Socks.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Socks-1.2.0/Sources/Socks/SynchronousTCPServer.swift /Users/kimhyewo... | D |
{% if prediction_success %}
import std.algorithm;
import std.conv;
import std.stdio;
import std.string;
{% endif %}
{% if mod or yes_str or no_str %}
{% endif %}
{% if mod %}
immutable long MOD = {{ mod }};
{% endif %}
{% if yes_str %}
immutable string YES = "{{ yes_str }}";
{% endif %}
{% if no_str %}
immutable strin... | D |
/++
A module containing the TAP13 reporter https://testanything.org/
This is an example of how this reporter looks
<script type="text/javascript" src="https://asciinema.org/a/135734.js" id="asciicast-135734" async></script>
Copyright: © 2017 Szabo Bogdan
License: Subject to the terms of the MIT license, as ... | D |
/**
* Inline assembler implementation for DMD.
* https://dlang.org/spec/iasm.html
*
* Copyright: Copyright (c) 1992-1999 by Symantec
* Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
* Authors: Mike Cote, John Micco and $(LINK2 http://www.digitalmars.com, Walter Bright... | D |
(classical mythology) a hero noted for his strength
a large constellation in the northern hemisphere between Lyra and Corona Borealis
| D |
module dash.benchmark.spec;
import dash.benchmark.test;
import std.algorithm : all;
import vibecompat.data.json;
struct Spec {
string name;
Test[] tests;
}
immutable Test delegate(string, Json)[string] testTypeMap;
shared static this() {
import dash.benchmark.defaulttest;
testTypeMap["default"] = (d,... | D |
// EXTRA_SOURCES: imports/test24a.d imports/test24b.d
// PERMUTE_ARGS:
// REQUIRED_ARGS: -d
import imports.test24a, imports.test24b;
void main()
{
string hi = std.string.format("%s", 3);
}
| D |
the physical coming together of two or more things
the act of contacting one thing with another
deliver a sharp blow, as with the hand, fist, or weapon
have an emotional or cognitive impact upon
hit against
make a strategic, offensive, assault against an enemy, opponent, or a target
indicate (a certain time) by strikin... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
320 63 9 15.5 34 65 -38 145.5 1854 16 16 0.666976811 extrusives
314 70 6 132 48 50 -33.2999992 151.199997 1844 9 10 0.835270211 intrusives, basalt
302.700012 66.8000031 6.80000019 35 34 65 -38 145.5 1819 10.8000002 12.1000004 0.793580724 extrusi... | D |
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab5/os/target/rls/debug/deps/thread_local-05f3d0984ed3e172.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/thread_local-1.0.1/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/thread_local-1.0.1/src/thread... | D |
/Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/DerivedData/XYiOS/Build/Intermediates/XYiOS.build/Debug-iphonesimulator/XYiOS.build/Objects-normal/x86_64/DotScreen.o : /Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/XYiOS/Sepia.swift /Users/tom.power/Developer/MusicTechProjects/XYMusic... | D |
module connection;
import std.conv;
import std.datetime.stopwatch;
import std.socket;
import std.stdio;
import std.string;
import knxnet;
struct KnxNetRequest {
// TUNNELING_REQ or DEV_MGMT_REQ
ushort service;
// cemi frame
ubyte[] cemi;
}
struct KnxNetConnection {
bool active = false;
Address addr;
u... | D |
import vibe.d;
void handleRequest(HttpServerRequest req, HttpServerResponse res)
{
string local_var = "Hello, World!";
res.headers["Content-Type"] = "text/html";
auto output = res.bodyWriter();
//parseDietFile!("diet.dt", req, local_var)(output);
res.renderCompat!("diet.dt",
HttpServerRequest, "req",
string... | D |
lasting a very short time
| D |
/*
Copyright (c) 2011 Ola Østtveit
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, copy, modify, merge, publish, distribut... | D |
// *************
// SPL_MassDeath
// *************
const int SPL_Cost_MassDeath = 150;
var int SPL_Damage_MassDeath; //SPL_Damage_MassDeath = 500;
INSTANCE Spell_MassDeath (C_Spell_Proto)
{
time_per_mana = 0;
damage_per_level = SPL_Damage_MassDeath;
targetCollectAlgo = TARGET_COLLECT_NONE; // Opfer werden... | D |
a republic in northwestern South America
| D |
/Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/Jobs.build/Helpers.swift.o : /Users/christian/GitHub/Tweescord/.build/checkouts/Jobs/Sources/JSON.swift /Users/christian/GitHub/Tweescord/.build/checkouts/Jobs/Sources/Shell.swift /Users/christian/GitHub/Tweescord/.build/checkouts/Jobs/Sources/Jobs.swif... | D |
/*******************************************************************************
Client node connection registry
copyright: Copyright (c) 2011-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*************************... | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/separator-a070574251c40762.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/separator-0.3.1/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/separator-0.3.1/src/macros.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.c... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.build/Output/ConsoleStyle.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/console.git--1231705849320085599/Sources/Console/Terminal/ANSI.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/console.git--12317... | D |
import matrix;
import openmethods;
mixin(registerMethods);
class DiagonalMatrix : Matrix
{
@property int rows() const { return cast(int) elems.length; }
@property int cols() const { return cast(int) elems.length; }
@property double at(int i, int j) const { return i == j ? elems[i] : 0; }
double[] elems;
t... | D |
instance Mod_7461_RIT_Marcos_IR (Npc_Default)
{
// ------ NSC ------
name = "Marcos";
guild = GIL_OUT;
id = 7461;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
aivar[AIV_Partymember] = TRUE;
//... | D |
/Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/CCM.o : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /User... | D |
/**
This module contains the core functionality of the vibe.d framework.
Copyright: © 2012-2015 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.core.core;
public import vibe.core.driver;
import vibe.core.arg... | D |
/Users/alimurat_mac/Desktop/Tanitim_calisma/SiberSuclarTanitim/DerivedData/SiberSuclarTanitim-ddywkabefydtlkfvshlbygjxqcua/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustPolicy.o : /Users/alimurat_mac/Desktop/Tanitim_calisma/SiberSuclarTanitim/Pods/Alamofir... | D |
/**
(Almost) a copy-paste from std/stream.d
*/
module bio.core.utils.switchendianness;
import core.bitop;
/***
* Switches the byte order of buffer.
* $(D size) must be even.
*/
void switchEndianness(const(void)* buffer, size_t size)
in
{
assert((size & 1) == 0);
}
body
{
ubyte* startb = cast(ubyte*)buffer;
... | D |
import std.stdio;
import std.string;
import std.range;
import std.conv;
import std.json;
import core.thread;
import core.sys.posix.signal;
import std.exception;
import std.c.stdlib;
import mosquitto;
class MosquittoClient : Mosquitto
{
this()
{
super("mqtt-demo");
connect("5.9.153.213", 1883... | D |
/*******************************************************************************
Test cases for the neo RemoveChannel request.
Note that a test case for the behaviour of removing a mirrored channel is
in dhttest.cases.neo.Mirror. (It was more convenient to write there due to
the existing framework in ... | D |
/++
$(H2 Multidimensional traits)
This is a submodule of $(MREF mir,ndslice).
$(BOOKTABLE $(H2 Function),
$(TR $(TH Function Name) $(TH Description))
$(T2 isVector, Test if type is a one-dimensional slice.)
$(T2 isMatrix, Test if type is a two-dimensional slice.)
$(T2 isContiguousSlice, Test if type is a contiguous ... | D |
instance Mod_7183_BDT_Miguel_OC (Npc_Default)
{
// ------ NSC ------
name = "Miguel";
guild = GIL_OUT;
id = 7183;
voice = 11;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 3);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_NORMAL;
... | D |
/Users/congle/Desktop/DEVELOPMENTS/ParsingJSON/Build/Intermediates.noindex/ParsingJSON.build/Debug-iphonesimulator/ParsingJSON.build/Objects-normal/x86_64/DetailViewController.o : /Users/congle/Desktop/DEVELOPMENTS/ParsingJSON/ParsingJSON/Model/Data.swift /Users/congle/Desktop/DEVELOPMENTS/ParsingJSON/ParsingJSON/Downl... | 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,
execute, a... | D |
#!/usr/bin/env rdmd
// http://qiita.com/Nabetani/items/23ebddb44f0234e7fb15
// http://nabetani.sakura.ne.jp/hena/ord28spirwa/
import core.stdc.stdio;
int main(){
const char* dir="ESWN";
int n,e,s,w;
long days;
for(;~scanf("%d,%d,%d,%d:%lld",&n,&e,&s,&w,&days);){
days+=1;
int[] l=[e,s,w,n];
int f=1;
for(in... | D |
// ************************************************************
// EXIT
// ************************************************************
INSTANCE DIA_Marcos_EXIT(C_INFO)
{
npc = PAL_217_Marcos;
nr = 999;
condition = DIA_Marcos_EXIT_Condition;
information = DIA_Marcos_EXIT_Info;
permanent = TRUE;
d... | D |
/Users/christopherdugan/rust_projects/pong/target/debug/deps/rand_chacha-94e0cd47be6b04b8.rmeta: /Users/christopherdugan/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /Users/christopherdugan/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs
/Users/christophe... | D |
/*
* main.d : CLI Main entry point.
*/
module main;
import std.stdio, std.file, dfile;
enum
PROJECT_NAME = "dfile",
PROJECT_VERSION = "0.6.0";
debug { }
else
{
extern (C) __gshared bool
rt_envvars_enabled = false, rt_cmdline_enabled = false;
}
string[] args;
int main(string[] args_)
{
ar... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Crypto.build/RSA/RSA.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/Crypto/Utilities/Base32.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/Cry... | D |
module godot.container;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.object;
import godot.classdb;
import godot.control;
@GodotBaseClass struct Container
{
static immutable string _GODOT_internal_name = "Container";
public:
... | D |
import std.stdio;
void main()
{
writeln("dub test instead");
}
| D |
module opencl.command_queue;
import opencl.image2d;
import opencl.c;
import opencl.cl_object;
import opencl.types;
import opencl.context;
import opencl.conv;
import opencl.kernel;
import opencl.image;
import opencl.event;
import opencl.buffer;
import opencl.mem_object;
import opencl.device_id;
import std.traits;
import... | 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/_sqlucode.d)
*/
module core.sys.windows.sqlucode;
version (Windows):
@system:
version (ANSI) {} else version = Unic... | D |
module android.java.android.icu.util.MeasureUnit_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.java.util.Set_d_inter... | D |
instance DIA_Dar_EXIT(C_Info)
{
npc = Sld_810_Dar;
nr = 999;
condition = DIA_Dar_EXIT_Condition;
information = DIA_Dar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Dar_EXIT_Condition()
{
if(Kapitel < 3)
{
return TRUE;
};
};
func void DIA_Dar_EXIT_Info()
{
AI_StopProcessInfos(s... | D |
module UnrealScript.TribesGame.dsWebAdmin;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.IpDrv.WebRequest;
import UnrealScript.IpDrv.WebResponse;
import UnrealScript.IpDrv.WebApplication;
extern(C++) interface dsWebAdmin : WebApplication
{
public extern(D):
private static __gshare... | D |
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop, std.bitmanip;
void main() {
auto N = readln.chomp.to!int;
auto A = readln.split.map!(to!int).array;
auto B = readln.split.map!(... | D |
/Users/zyang/SNGithub/Cosmos/Build/Intermediates/Cosmos.build/Debug-iphonesimulator/Cosmos.build/Objects-normal/x86_64/Image+Filter.o : /Users/zyang/SNGithub/Cosmos/Cosmos/Curve.swift /Users/zyang/SNGithub/Cosmos/Cosmos/Shape+Creation.swift /Users/zyang/SNGithub/Cosmos/Cosmos/Wedge.swift /Users/zyang/SNGithub/Cosmos/Co... | D |
module tefutefu.commons.Importance;
public enum Importance {
HIGH,
MID,
LOW
}
| D |
module android.java.android.media.MediaPlayer_OnErrorListener;
public import android.java.android.media.MediaPlayer_OnErrorListener_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!MediaPlayer_OnErrorListener;
import import1 = android.java.java.lang.Class;
| D |
module config;
import std.json;
import std.file;
struct Config
{
string aws_access_key;
string aws_secret_key;
string aws_endpoint;
}
bool as_bool(JSONValue jv, string f)
{
JSONValue* v = f in jv.object;
if (!v) return false;
return v.type == JSON_TYPE.TRUE;
}
string as_string(JSONValue jv,... | D |
import vibe.d;
import std.algorithm;
import std.conv;
import std.datetime;
import std.math;
import std.random;
import std.uuid;
import mongoschema;
import data;
import crypt.password;
static import lieferando;
Shop aboutToImport;
__gshared bool registerFirstUser;
shared static this()
{
sd = readSessionData();
s... | D |
module godot.visualscriptoperator;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.d.bind;
import godot.object;
import godot.classdb;
import godot.visualscriptnode;
@GodotBaseClass struct VisualScriptOperator
{
static immutable... | D |
instance GUR_1212_MadCorKalom(Npc_Default)
{
name[0] = "Сумасшедший Кор Галом";
npcType = npctype_main;
guild = GIL_GUR;
level = 1000;
voice = 10;
id = 1212;
flags = 0;
attribute[ATR_STRENGTH] = 70;
attribute[ATR_DEXTERITY] = 100;
attribute[ATR_MANA_MAX] = 500;
attribute[ATR_MANA] = 500;
attribute[ATR_HITP... | D |
module vision.eventbus;
import core.time : msecs, seconds, Duration;
import vibe.core.task;
import vibe.core.core : sleep;
import std.conv : to;
/**
* Struct to identify subscribed task by cached hash string
*/
struct SubscriberIdent
{
Task task; ///< task identified
string id; ///< cached string identifier... | D |
import contrib.math.string;
import std.stdio;
/*
Evaluate strings of "math" to a float result
*/
void main() {
writefln( "2*5+1 = %f", evaluateMathString( "2*5+1" ) );
writefln( "2*5/2+1 = %f", evaluateMathString( "2*5/2+1" ) );
writefln( "2*(2+3)+1 = %f", evaluateMathString( "2*(2+3)+1" ) );
}
| D |
formulate in a particular style or language
prepare for publication or presentation by correcting, revising, or adapting
| D |
instance BDT_1075_Addon_Fortuno(Npc_Default)
{
name[0] = "Fortuno";
guild = GIL_BDT;
id = 1075;
voice = 13;
flags = 0;
npcType = NPCTYPE_BL_MAIN;
aivar[AIV_NewsOverride] = TRUE;
aivar[AIV_NoFightParker] = TRUE;
B_SetAttributesToChapter(self,2);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,ItMw_1H_Sword_L... | D |
module hip.filesystem.systems.dstd;
import hip.api.filesystem.hipfs;
version(HipDStdFile) class HipStdFileSystemInteraction : IHipFileSystemInteraction
{
import std.stdio : File;
bool read(string path, void delegate(ubyte[] data) onSuccess, void delegate(string err) onError)
{
import hip.er... | D |
/**
* Does the semantic 1 pass on the AST, which looks at symbol declarations but not initializers
* or function bodies.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.bo... | D |
/*
TEST_OUTPUT:
---
fail_compilation/ice15922.d(23): Error: function ice15922.ValidSparseDataStore!int.ValidSparseDataStore.correctedInsert!false.correctedInsert has no return statement, but is expected to return a value of type int
fail_compilation/ice15922.d(21): Error: template instance ice15922.ValidSparseDataStore... | D |
pg$brk (6) --- catch a break for the page subroutine 07/19/84
| _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n
| subroutine pg$brk (cp)
| long_int cp
| _F_u_n_c_t_i_o_n
| 'Pg$brk' is used by the 'page' subroutine t... | D |
module hunt.wechat.bean.bizwifi.couponput.get.CouponputGetResult;
import hunt.wechat.bean.shakearound.AbstractResult;
/**
* @ProjectName weixin-popular
* @Author: zeroJun
* @Date: 2018/7/24 17:16
* @Description:
*/
class CouponputGetResult : AbstractResult!(CouponputGetResultData) {
}
| D |
module mach.io;
public:
import mach.io.file;
import mach.io.log;
import mach.io.stdio;
import mach.io.stream;
| D |
// Written in the D programming language.
/**
Functions for starting and interacting with other processes, and for
working with the current _process' execution environment.
Process_handling:
$(UL $(LI
$(LREF spawnProcess) spawns a new _process, optionally assigning it an
arbitrary set of standard input, outpu... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.