code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/*
* Copyright (c) 2004-2009 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 |
instance Info_Xardas_OT(C_Info)
{
npc = KDF_406_OTXardas;
condition = Info_Xardas_OT_Condition;
information = Info_Xardas_OT_Info;
important = 1;
permanent = 0;
};
func int Info_Xardas_OT_Condition()
{
if(Npc_GetDistToWP(self,"TPL_331") < 1000)
{
return TRUE;
};
};
func void Info_Xardas_OT_Info()
{
AI_Ou... | D |
/**
* Contains all implicitly declared types and variables.
*
* Copyright: Copyright Digital Mars 2000 - 2011.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, Sean Kelly
*
* Copyright Digital Mars 2000 - 2011.
* Distributed under the Boost Software Lice... | D |
/// Dealing with query arguments
module dpq2.args;
@safe:
public import dpq2.conv.from_d_types;
public import dpq2.conv.from_bson;
import dpq2.value;
import dpq2.oids: Oid;
import std.conv: to;
import std.string: toStringz;
/// Query parameters
struct QueryParams
{
string sqlCommand; /// SQL command
ValueFo... | D |
instance Mod_1201_SLD_Soeldner_NW (Npc_Default)
{
// ------ NSC ------
name = NAME_SOELDNER;
guild = GIL_mil;
id = 1201;
voice = 0;
flags = 2; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_nw_soeldner;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/Data/TemplateDataEncoder.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/template-kit.git-6616349092713276412/Sources/TemplateKit/Data/TemplateData.swift /Users/lb/Documents/Project/LearnVapor/.build/checkou... | D |
// Written in the D programming language.
/++
$(SECTION Overview)
$(P The $(D std.uni) module provides an implementation
of fundamental Unicode algorithms and data structures.
This doesn't include UTF encoding and decoding primitives,
see $(XREF _utf, decode) and $(XREF _utf, encode) in std.utf
... | D |
module android.java.android.provider.VoicemailContract_Voicemails;
public import android.java.android.provider.VoicemailContract_Voicemails_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!VoicemailContract_Voicemails;
import import1 = android.java.java.lang.Class;
import import0 = android.java... | D |
/Users/shawngong/Centa/.build/debug/Fluent.build/Query/Filter.swift.o : /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Database.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Driver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Entity/Entity.swift /U... | 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 |
propose a toast to
greet in a friendly way
express commendation of
become noticeable
honor with a military ceremony, as when honoring dead soldiers
recognize with a gesture prescribed by a military regulation
| D |
module android.java.android.net.DnsResolver_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.util.concurrent.Executor_d_interface;
import import1 = android.java.android.net.... | D |
/*
Copyright (c) 2013-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 |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto T = readln.chomp.to!int;
int s;
foreach (i; 0..200) {
auto j = i%20;
auto k = i/20;
if ((k%2 == 0 && j == T-1) || (k%2 == 1 && j == 20-T)) {
s += i+1... | D |
module android.java.android.provider.ContactsContract_DataColumns_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
@JavaName("ContactsContract$DataC... | D |
// D import file generated from 'gamelib\vector.d'
module gamelib.vector;
import std.conv;
import std.stdio;
import mylib.vector2d;
public import mylib.vector2d;
alias Vector2d Vector;
alias IntVector2d IntVector;
| D |
module xf.loader.Loader;
/+private {
import rg.Node : RgNode = Node;
}+/
abstract class Loader {
abstract void load(char[] filename);
/+
// I must've been drunk while coding this ... :S it obviously needs to be changed
// because the generic 'Loader' should not know about 'RgNodes'............. | D |
/**
* Bindings for symbols and defines in `mach-o/stab.h`
*
* This file gives definitions supplementing <nlist.h> for permanent symbol
* table entries of Mach-O files. Modified from the BSD definitions. The
* modifications from the original definitions were changing what the values of
* what was the n_oth... | D |
module android.java.java.lang.InheritableThreadLocal_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.ThreadLocal_d_interface;
import import1 = android.java.java.util.f... | D |
@safe pure:
class X
{
this(int x) @safe pure { this.x = x; }
int x;
}
class Y : X
{
this(int x) @safe pure { super(x); }
int x;
}
static void fm(X[] xs) {}
static void fc(const(X)[] xs) {}
static void fi(immutable(X)[] xs) {}
static void f2m(X[2] xs) {}
static void f2mr(ref X[2] xs) {}
void test()
... | D |
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Routing.build/RouteBuilder+RouteCollection.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Routing-1.0.1/Sources/Routing/Branch.swift /Users/mohammadazam/Documents/Projects/StoryTellersA... | D |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | D |
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/release/deps/bstr-09f767f2b8ec9509.rmeta: /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bstr-0.2.7/src/lib.rs /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bstr-0.2.7/src/ascii.rs /home/zeliwang/.cargo/registr... | D |
// This file is written in D programming language
/**
* The example demonstrates basic daemonize features. Described
* daemon responds to SIGTERM and SIGHUP signals.
*
* If SIGTERM is received, daemon terminates. If SIGHUP is received,
* daemon prints "Hello World!" message to logg.
*
* Daemon will auto-t... | D |
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* 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/license... | D |
/*******************************************************************************
Helper struct for node-side suspendable requests which behave as follows:
* Operate on a single channel.
* Send a stream of data, broken down into individual messages.
* The stream can be suspended, resumed, an... | D |
/Users/miladmehrpoo/Desktop/Helloworld/.build/debug/Socks.build/Socks.swift.o : /Users/miladmehrpoo/Desktop/Helloworld/Packages/Socks-1.0.1/Sources/Socks/Socks.swift /Users/miladmehrpoo/Desktop/Helloworld/Packages/Socks-1.0.1/Sources/Socks/SynchronousTCPServer.swift /Users/miladmehrpoo/Desktop/Helloworld/Packages/Socks... | D |
/Users/nickbajaj/Documents/Projects/RideShareApp/Split-fqkbqupnqwmnoybwxcytaezmlswq/Build/Intermediates/Split.build/Debug-iphonesimulator/Split.build/Objects-normal/x86_64/SignInViewController.o : /Users/nickbajaj/Documents/Projects/AppIdeaOne/AppIdeaOne/setUpProfile.swift /Users/nickbajaj/Documents/Projects/AppIdeaOne... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Authentication.build/Token/TokenAuthenticatable.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/auth.git-6422525414104458182/Sources/Authentication/AuthenticationCache.swift /Users/lb/Documents/Project/LearnVapor/.build/check... | D |
/++
A small extension module to [arsd.minigui] that adds
functions for creating widgets and windows from short
XML descriptions.
If you choose to use this, it will require [arsd.dom]
to be compiled into your project too.
---
import arsd.minigui_xml;
Window window = createWindowFromXml(`
<MainWindow>
<But... | D |
module userauth.services.twitter;
import userauth.api;
class GoogleAuthService : UserAuthService {
string generateAuthMixin()
{
assert(false);
}
void registerRoutes(UrlRouter router, string path_prefix)
{
assert(false);
}
} | D |
// import std.c.time;
import std.stdio;
import std.concurrency;
import core.time;
import std.algorithm;
import std.random;
struct CancelMessage {}
struct Noeud {
Tid tid; // thread_ID
int lid; // logical_ID
}
void receiveAllFinalization(Noeud [] childTid) {
for (int i = 0; i < childTid.length; ++i) {
... | D |
module fluentd.bundle.bytecode.interpreter;
import fluentd.bundle.compiled_bundle: CompiledPattern;
import fluentd.bundle.errors: isErrorHandler;
import fluentd.bundle.value;
string format(EH)(CompiledPattern pattern, scope const Value[string] args, scope EH onError)
if (isErrorHandler!EH)
in {
assert(onError !is... | D |
// PERMUTE_ARGS: -inline
template compiles(int T)
{
bool compiles = true;
}
alias TypeTuple(T...) = T;
/**************************************************
3901 Arbitrary struct assignment, ref return
**************************************************/
struct ArrayRet
{
int x;
}
int arrayRetTest(int z)... | D |
module Dgame.Internal.d2c;
private:
//import Dgame.Internal.Error;
import Dgame.Internal.m3;
char[] heapBuffer;
char[256] stackBuffer = void;
@nogc
char* make_buffer(size_t len) nothrow {
if (stackBuffer.length > len)
return stackBuffer.ptr;
if (heapBuffer.length > len)
return heapBuffer.pt... | 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 |
module UnrealScript.Engine.ForceFieldShapeCapsule;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.ForceFieldShape;
extern(C++) interface ForceFieldShapeCapsule : ForceFieldShape
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static Scr... | D |
// Written in the D programming language
/**
*
D constrains integral types to specific sizes. But efficiency
of different sizes varies from machine to machine,
pointer sizes vary, and the maximum integer size varies.
<b>stdint</b> offers a portable way of trading off size
vs efficiency, in a manner compatible w... | D |
/++
DAuth - Salted Hashed Password Library for D
Core package
+/
module dauth.core;
import std.algorithm;
import std.array;
import ascii = std.ascii;
import std.base64;
import std.conv;
import std.digest.crc;
import std.digest.md;
import std.digest.ripemd;
import std.digest.sha;
import std.exception;
import std.funct... | 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_21_BeT-9264717... | 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 core/sys/windows/_rassapi.d)
*/
module core.sys.windows.rassapi;
version (Windows):
import core.sys.windows.l... | D |
/home/thodges/Workspace/Rust/rust_by_example/chapter05/aliasing/target/debug/deps/aliasing-e7b5226ab06f458f: src/main.rs
/home/thodges/Workspace/Rust/rust_by_example/chapter05/aliasing/target/debug/deps/aliasing-e7b5226ab06f458f.d: src/main.rs
src/main.rs:
| D |
# FIXED
PROFILES/gapbondmgr.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/roles/gapbondmgr.c
PROFILES/gapbondmgr.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/bcomdef.h
PROFILES/gapbondmgr.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/comdef.h
PROFILES/gapbondmgr.obj: c:/ti/simplelink... | D |
module adrdox.main;
__gshared string skeletonFile = "skeleton.html";
__gshared string outputDirectory = "generated-docs";
__gshared bool writePrivateDocs = false;
__gshared bool documentInternal = false;
__gshared bool documentUndocumented = false;
/*
Glossary feature: little short links that lead somewhere else.
... | D |
/Users/Kewlwasabi/Documents/HOME/Dev/IOS/OTVDraft/build/OTVDraft.build/Debug-iphonesimulator/OTVDraft.build/Objects-normal/x86_64/ImageModifiers.o : /Users/Kewlwasabi/Documents/HOME/Dev/IOS/OTVDraft/OTVDraft/SceneDelegate.swift /Users/Kewlwasabi/Documents/HOME/Dev/IOS/OTVDraft/OTVDraft/AppDelegate.swift /Users/Kewlwasa... | 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 |
/*******************************************************************************
* 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 |
const string MOBNAME_CRATE = "Crate";
const string MOBNAME_CHEST = "Chest";
const string MOBNAME_BED = "Bed";
const string MOBNAME_DOOR = "Door";
const string MOBNAME_CAMPFIRE = "";
const string MOBNAME_TORCH = "";
const string MOBNAME_TORCHHOLDER = "";
const string MOBNAME_BARBQ_SCAV = "";
const string MOBNAME_BARBQ_... | D |
/// PTB language modeling dataset
module grain.dataset.ptb;
import std.array;
import std.algorithm : splitter;
import std.stdio : File;
import mir.ndslice;
import mir.random.variable : UniformVariable;
import numir;
///
auto prepareDataset() {
import std.format;
import std.file : exists, read, mkdir;
imp... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail9081.d(12): Error: package `core` has no type
fail_compilation/fail9081.d(13): Error: package `stdc` has no type
fail_compilation/fail9081.d(14): Error: module `stdio` has no type
---
*/
import core.stdc.stdio;
typeof(core) a;
typeof(core.stdc) b;
typeof(core.stdc.stdio) c;
| D |
import mat4;
import model;
import shader;
import vao;
import derelict.opengl3.gl3;
class AdvancedModel : Model
{
private:
ShaderProgram * shader_prog;
Vao * arrayobj;
public:
this(ShaderProgram * shad)
{
shader_prog = shad;
}
void setVao(Vao * vao)
{
arrayobj = vao;
}
override void draw(r... | D |
module accessors;
import std.traits;
struct Read
{
string visibility = "public";
}
// Deprecated! See below.
// RefRead can not check invariants on change, so there's no point.
// ref property functions where the value being returned is a field of the class
// are entirely equivalent to public fields.
struct Ref... | D |
/* GDC -- D front-end for GCC
Copyright (C) 2013 Free Software Foundation, Inc.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC ... | D |
prototype Mst_Default_Harpie(C_Npc)
{
name[0] = "Harpy";
guild = GIL_HARPY;
aivar[AIV_MM_REAL_ID] = ID_HARPY;
level = 20;
attribute[ATR_STRENGTH] = 110;
attribute[ATR_DEXTERITY] = 110;
attribute[ATR_HITPOINTS_MAX] = 280;
attribute[ATR_HITPOINTS] = 280;
attribute[ATR_MANA_MAX] = 100;
attribute[ATR_MANA] = 100... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Vapor.build/Sessions/Request+Session.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/vapor/S... | D |
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ViewPortJob.o : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/C... | D |
/++
This is a submodule of $(MREF mir,ndslice).
Field is a type with `opIndex(ptrdiff_t index)` primitive.
An iterator can be created on top of a field using $(SUBREF iterator, FieldIterator).
An ndslice can be created on top of a field using $(SUBREF slice, slicedField).
$(BOOKTABLE $(H2 Fields),
$(TR $(TH Field Nam... | D |
/**
* Generate Mach-O object files
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2009-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 htt... | D |
module huffman.d;
import std.stdio;
import std.conv;
import std.algorithm;
import std.string;
import std.math;
struct HuffmanTree
{
private
{
uint[string] compressTable_;
string[uint] decompressTable_;
Node top_;
File fileToCompress_;
File compressedFile_;
File de... | D |
/Users/arjunpola/Documents/Swift/Homework9/build/Homework9.build/Debug-iphonesimulator/Homework9Tests.build/Objects-normal/i386/Homework9Tests.o : /Users/arjunpola/Documents/Swift/Homework9/Homework9Tests/Homework9Tests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/i... | D |
func void b_story_cordspost()
{
var C_NPC gorn;
gorn = Hlp_GetNpc(pc_fighter);
Npc_ExchangeRoutine(gorn,"GuardNC");
b_exchangeroutine(sld_709_cord,"FMTaken");
b_exchangeroutine(sld_735_soeldner,"FMTaken");
b_exchangeroutine(sld_736_soeldner,"FMTaken");
};
| 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 |
// Written in the D programming language.
/*
NYSL Version 0.9982
A. This software is "Everyone'sWare". It means:
Anybody who has this software can use it as if he/she is
the author.
A-1. Freeware. No fee is required.
A-2. You can freely redistribute this software.
A-3. You can freely modify this software. A... | D |
// Issue 2920 - recursive templates blow compiler stack
// template_29_B.
template foo(uint i)
{
static if (i > 0)
{
const uint bar = foo!(i - 1).bar;
}
else
{
const uint bar = 1;
}
}
int main()
{
return foo!(uint.max).bar;
}
| D |
module durge.system.streams;
public:
import durge.system.streams.crc;
import durge.system.streams.deflate;
import durge.system.streams.file;
import durge.system.streams.inflate;
import durge.system.streams.memory;
import durge.system.streams.stream;
| D |
module android.java.java.nio.channels.InterruptedByTimeoutException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.io.PrintStream_d_interface;
import import4 = android.jav... | D |
module webtank.ivy.service.backend;
import webtank.net.service.json_rpc: JSON_RPCService;
class IvyBackendService: JSON_RPCService
{
import webtank.security.auth.iface.controller: IAuthController;
import webtank.security.auth.client.controller: AuthClientController;
import webtank.security.right.controller: Access... | D |
/**
File handling.
Copyright: © 2012 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 dub.internal.vibecompat.core.file;
public import dub.internal.vibecompat.inet.url;
import dub.internal.vibecompat.core.log;
im... | 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) 2012, Maxime Chevalier-Boisvert. All rights reserve... | D |
ctomn (2) --- translate ASCII control character to mnemonic 03/28/80
_C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n
integer function ctomn (c, rep)
character c, rep (4)
Library: vswtlb (standard Subsystem library)
... | D |
/home/pavel/create-near-NFTapp/NFT-app/contract/target/debug/build/serde_json-89982fe8b1c3b1e1/build_script_build-89982fe8b1c3b1e1: /home/pavel/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.62/build.rs
/home/pavel/create-near-NFTapp/NFT-app/contract/target/debug/build/serde_json-89982fe8b1c3b1e1/build... | D |
/**
d2d.base holds the base interfaces needed by most of the classes.
*/
module d2d.core.base;
import d2d.core.event;
/// exception thrown when something unlogical is done with the base class or its child objects, services, ...
class ObjectLogicException : Exception
{
/// ctor
this(string err)
{
... | D |
module ipcfg.parser;
import ipcfg.node;
import ipcfg.edge;
import ipcfg.graph;
import ipcfg.iface;
import std.stdio;
import std.file;
import std.utf;
import pegged.grammar;
enum eni_grammar = `
ENI:
Grammar <- Statement+ :EOI
Statement <- ( AutoStatement / HotplugStatement / IfaceStatement / :EmptyLine / :(S* Com... | D |
/*
Copyright (c) 2019 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,
execu... | D |
/*
* Copyright 2002-2017 the original author or authors.
*
* 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 ap... | D |
/Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/build/Pods.build/Debug-iphonesimulator/SwipeCellKit.build/Objects-normal/x86_64/SwipeTableOptions.o : /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/Pods/SwipeCellKit/Source/Swipeable.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/Pods/SwipeCe... | D |
module des.isys.neiro.neiron;
import std.algorithm;
import des.isys.neiro.traits;
interface Neiron(T)
{
@property T output() const;
void process();
}
abstract class FakeNeiron(T) : Neiron!T
{ void process(){} }
class ValueNeiron(T) : FakeNeiron!T
{
T value;
this( T value ) { this.value = value; }
... | D |
/+
+ Copyright (c) Charles Petzold, 1998.
+ Ported to the D Programming Language by Andrej Mitrovic, 2011.
+/
module PopPad3;
import core.memory;
import core.runtime;
import core.thread;
import std.conv;
import std.math;
import std.range;
import std.string;
import std.utf;
auto toUTF16z(S)(S s)
{
return toUTF... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
322.100006 68 3.70000005 44.7999992 80 100 -36.4000015 149.899994 5723 6.0999999 6.0999999 0.585017938 sediments, redbeds
340 40 5 0 80 100 -33.7999992 150.699997 1768 10 10 0.572979734 intrusives
325 55 5 0 80 100 -33.9000015 151.300003 1766 10... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.build/atomics.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/NIOConcurrencyHelpers/lock.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.... | D |
module moverfactory;
import all;
class ParticleFactory{
Particle createGoSkyEffect(Vector pos){
return null;
}
}
| D |
// Copyright Brian Schott (Hackerpilot) 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)
module dscanner.astprinter;
import dparse.lexer;
import dparse.ast;
import dparse.formatter;
im... | D |
instance DIA_Udar_EXIT(C_Info)
{
npc = PAL_268_Udar;
nr = 999;
condition = DIA_Udar_EXIT_Condition;
information = DIA_Udar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Udar_EXIT_Condition()
{
if(Kapitel < 4)
{
return TRUE;
};
};
func void DIA_Udar_EXIT_Info()
{
AI_StopProcessI... | D |
/**
* Быстрый поиск в именах файлов Win 32/64, Linux 32/64
*
* MGW 26.04.2014 18:56:44
*
* Программа состоит из двух частей:
*
* ffc.exe - Консольная. Создаёт индексый файл.
* ff.exe - GUI. Поиск по индексному файлу и визуализация.
*
* Компиляция Linux 32/64 где -mXX соответственно -m32 или -m64:
*
* dmd ... | 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_0_agm-73419269... | D |
import std.stdio;
import std.file;
import std.algorithm.searching;
import std.algorithm.iteration;
import std.typecons : Flag, Yes, No;
void main()
{
auto input = slurp!(int, int, char, string)("input", "%d-%d %c: %s");
writeln("Part 1");
{
int valid = 0;
foreach(line; input) {
... | D |
/*************************************************************************
** OrcBiter Prototype **
*************************************************************************/
PROTOTYPE Mst_Default_OrcBiter(C_Npc)
{
name = "Kousavec";
guild = GIL_SCAVENGER;
aivar[AIV_MM_REAL_ID] = ID_OR... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Vapor.build/Engine/Server/ServerFactoryProtocol.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/Sources/Vapor/JSON/HTTP/Message+JSON.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-... | D |
/*
DIrrlicht - D Bindings for Irrlicht Engine
Copyright (C) 2014- Danyal Zia (catofdanyal@yahoo.com)
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this software.
Permission is gra... | D |
D [0, 42]["void", "main", "string", "s", "=", ""]
+-D.Module [0, 42]["void", "main", "string", "s", "=", ""]
+-D.DeclDefs [0, 42]["void", "main", "string", "s", "=", ""]
+-D.DeclDef [11, 42]["void", "main", "string", "s", "=", ""]
+-D.Declaration [11, 42]["void", "main", "string", "s", "=", ""]
... | D |
module context;
import
std.stdio,
std.path,
std.file,
std.random,
std.conv,
std.array,
x11.X,
x11.Xlib,
x11.Xatom;
enum PATH = "~/.flatman/";
void main(string[] args){
version(unittest){ import core.stdc.stdlib: exit; exit(0); }
if(args.length < 2)
getContext.writeln;
else if(args[1] == "-p")
ge... | D |
/home/jingel/Documents/Programmering/rust/rustbook/tests_cargo/adder/target/debug/adder-9a6c0b024fb23df4: /home/jingel/Documents/Programmering/rust/rustbook/tests_cargo/adder/src/lib.rs
| D |
module collie.codec.http.header;
import std.conv;
import std.uri;
import std.string;
public import collie.codec.http.parsertype;
import collie.codec.http.config;
enum HTTPHeaderType
{
HTTP_REQUEST = HTTPParserType.HTTP_REQUEST,
HTTP_RESPONSE = HTTPParserType.HTTP_RESPONSE,
}
enum HTTPVersion
{
HTTP1_0,... | D |
/**
$(SCRIPT inhibitQuickIndex = 1;)
This is a submodule of $(LINK2 std_experimental_ndslice.html, std.experimental.ndslice).
Selectors create new views and iteration patterns over the same data, without copying.
$(H2 Subspace selectors)
Subspace selectors serve to generalize and combine other selectors easily.
For... | D |
module hunt.wechat.bean.message.CopyrightCheckResult;
import hunt.collection.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation... | D |
part
get a divorce
of someone whose marriage has been legally dissolved
| D |
C:/Users/glutnix/Documents/Dropbox/__RapidProto/philrobokit_xc8/libraries/soft_serial/examples/.phr_out/lib/corelib_dac.d C:/Users/glutnix/Documents/Dropbox/__RapidProto/philrobokit_xc8/libraries/soft_serial/examples/.phr_out/lib/corelib_dac.p1: hardware/cores/lib/corelib_dac.c C:/Users/glutnix/Documents/Dropbox/__R... | D |
of or relating to or characteristic of an autobiographer
relating to or in the style of an autobiography
| D |
instance NOV_1332_BAALKAGAN(NPC_DEFAULT)
{
name[0] = "Идол Каган";
npctype = NPCTYPE_MAIN;
guild = GIL_NOV;
level = 9;
voice = 13;
id = 1332;
attribute[ATR_STRENGTH] = 15;
attribute[ATR_DEXTERITY] = 15;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 148;
attribute[ATR_... | D |
func void ZS_TestHangAround()
{
Npc_PercEnable(self,PERC_ASSESSENTERROOM,B_AssessEnterRoom);
AI_GotoWP(self,self.wp);
};
func void ZS_TestHangAround_Loop()
{
AI_PlayAni(self,"T_PERCEPTION");
};
func void ZS_TestHangAround_End()
{
};
func void ZS_TestPerception()
{
Npc_PercEnable(self,PERC_ASSESSTALK,TestPrint);
... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.