code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/*******************************************************************************
copyright: Copyright (c) 2005 John Chapman. Все права защищены
license: BSD стиль: $(LICENSE)
version: Mопр 2005: Initial release
Apr 2007: reshaped ... | D |
module misc.devilimage;
import misc.singleton;
import derelict.devil.il;
import derelict.devil.ilu;
import derelict.devil.iltypes;
import misc.logger;
import std.string;
class DevilError : object.Exception
{
this(char[] s)
{
super(s);
}
}
private class DevilState
{
mixin Singleton;
pri... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(WEB 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
*/
/* C... | D |
module step0;
import std.stdio;
import std.conv;
import core.stdc.stdio;
import core.stdc.stdlib;
import jerryscript_core;
import handler;
void RunStep0()
{
/**
* Step 0. Check Features
*/
writeln("Enabled features:");
immutable string[] featuresNames = [
"JERRY_FEATURE_CPOINTER_32_BIT", /**< 32 bit compre... | D |
#source: sort_n_a-a.s
#source: sort_n_a-b.s
#ld: -T sort_b_n_n.t --sort-section alignment
#name: SORT_BY_NAME(SORT_BY_NAME()) --sort-section alignment
#nm: -n
#...
0[0-9a-f]* t texta
#...
0[0-9a-f]* t textb
#...
0[0-9a-f]* t text1a
#...
0[0-9a-f]* t text1b
#...
0[0-9a-f]* t text2a
#...
0[0-9a-f]* t text2b
#...
0[0-9a-... | D |
module directx.dxgi1_5;
version(Windows):
public import directx.dxgi1_4;
mixin(uuid!(IDXGIOutput5, "80a07424-ab52-42eb-833c-0c42fd282d98"));
extern (C++) interface IDXGIOutput5 : IDXGIOutput4 {
HRESULT DuplicateOutput1(
IUnknown pDevice,
UINT Flags,
UINT SupportedFormatsCount,
co... | D |
module std.docopt.argvalue;
// D command-line interface parser that will make you smile.
// Copyright (c) 2014, 2015 Bob Tolbert, bob@tolbert.org
// Licensed under terms of MIT license (see LICENSE-MIT)
//
// https://github.com/rwtolbert/docopt.d
//
// Ported from Python to D based on:
// - http://docopt.org
... | D |
/**
* Game configuration
*/
module conways.GameConfig;
/**
* Config struct
*/
struct GameConfig
{
/**
* Game width
*/
uint width;
/**
* Game height
*/
uint height;
/**
* Game speed in ms per step
*/
uint ms_per_step;
/**
* Initial frequency of ... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto N = readln.chomp.to!int;
auto cs = new int[](101);
foreach (n; 2..N+1) {
foreach (d; 2..N+1) {
while (n%d == 0) {
cs[d] += 1;
n /= d;... | D |
/home/ankit/pandora/substrate-node-template/target/release/wbuild/node-template-runtime/target/wasm32-unknown-unknown/release/deps/sp_version-ba3f4905e830e18b.rmeta: /home/ankit/.cargo/registry/src/github.com-1ecc6299db9ec823/sp-version-2.0.1/src/lib.rs
/home/ankit/pandora/substrate-node-template/target/release/wbuild... | D |
/**
* Droits d’auteur: Enalye
* Licence: Zlib
* Auteur: Enalye
*/
module grimoire.compiler.error;
import grimoire.compiler.util;
/// Contient beaucoup d’information sur l’erreur qui s’est produit
final class GrError {
/// À quel étape l’erreur est arrivée
enum Type {
lexer,
parser
}
... | D |
module misc.TracingLogging;
interface IReport {
enum EnumErrorType {
NONCRITICAL
}
void reportError(EnumErrorType errorType, string message);
void report(string prefix, string message);
}
class Tracer {
enum EnumVerbose : bool {
NO,
YES,
}
final this(IReport report) {
this.report = report;
}
// s... | 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)
///Records which parts of a frame took how much time.
module util.frameprofiler;
import std.algorithm... | D |
module dlangide.ui.searchPanel;
import dlangui;
import dlangide.ui.frame;
import dlangide.ui.wspanel;
import dlangide.workspace.workspace;
import dlangide.workspace.project;
import std.string;
import std.conv;
// parallel search is disabled to fix #178
//version = PARALLEL_SEARCH;
interface SearchResultClickHandl... | D |
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/release/build/bincode-4b4d787eec825d05/build_script_build-4b4d787eec825d05: /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bincode-1.1.4/build.rs
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/release/build/bincode-4b4d787e... | D |
/Users/Dai/Desktop/Studing/swift服务端/PerfectDemo4/.build/debug/PerfectLib.build/PerfectServer.swift.o : /Users/Dai/Desktop/Studing/swift服务端/PerfectDemo4/.build/checkouts/PerfectLib.git-3712999737848873669/Sources/PerfectLib/Bytes.swift /Users/Dai/Desktop/Studing/swift服务端/PerfectDemo4/.build/checkouts/PerfectLib.git-3712... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
225.800003 43.9000015 7.5999999 145.5 71 89 -9.69999981 119.599998 7799 4.9000001 8.69999981 0.833333333 sediments
219.300003 -4.19999981 9.39999962 22.3999996 56 65 -10 121 7800 4.9000001 9.60000038 1 extrusives, basalts, andesites
321.100006 5... | D |
/Users/adelkhaziakhmetov/Documents/XCODE/UIKitChaining/build/UIKitChaining.build/Debug-iphonesimulator/UIKitChaining.build/Objects-normal/x86_64/UILabelExtension.o : /Users/adelkhaziakhmetov/Documents/XCODE/UIKitChaining/UIKitChaining/UIChaining/UITextField+Chaining.swift /Users/adelkhaziakhmetov/Documents/XCODE/UIKitC... | D |
a word formed from the initial letters of the several words in the name
| D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIO.build/IO.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkout... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module glib.printfint;
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of... | D |
a graded change in the magnitude of some physical quantity or dimension
the property possessed by a line or surface that departs from the horizontal
| D |
the phenomenon of a person or thing rising into the air by apparently supernatural means
movement upward in virtue of lightness
the act of raising (a body) from the ground by presumably spiritualistic means
| 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 distributed in th... | 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 Br... | D |
import std.algorithm;
import std.array;
import std.conv;
import std.exception;
import std.file;
import std.getopt;
import std.path;
import std.stdio;
import std.string;
import std.traits;
import manifested;
// TODO: output progress
struct Documentation
{
string[] lines;
this(string[] inputLines ...)
{
lines = ... | D |
/*
Copyright (c) 2019- Ferhat Kurtulmuş
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,
ex... | D |
an indigenous person who was born in a particular place
a person born in a particular place or country
indigenous plants and animals
| D |
/Users/Mrbochiballs1/MakeSchool/CollectionViewTESST/DerivedData/GHub/Build/Intermediates/GHub.build/Debug-iphoneos/GHub.build/Objects-normal/arm64/LoginViewController.o : /Users/Mrbochiballs1/MakeSchool/CollectionViewTESST/CollectionViewTESST/LoginViewController.swift /Users/Mrbochiballs1/MakeSchool/CollectionViewTESST... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ExtensionHelpers.o : /Users/ozgun/Desktop/IOSCase/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/ozgun/Desktop/IOSCase/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/ozgun/Desktop/IOSCase/Pods/Ki... | D |
/datas/dev/rustudemy/seven part/guess/target/debug/build/rand-5b911f0e788f177d/build_script_build-5b911f0e788f177d: /home/vinz/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/build.rs
/datas/dev/rustudemy/seven part/guess/target/debug/build/rand-5b911f0e788f177d/build_script_build-5b911f0e788f177d.d: /home/... | D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Service.build/Services/ServiceID.swift.o : /Users/mu/Hello/.build/checkouts/service/Sources/Service/Services/ServiceID.swift /Users/mu/Hello/.build/checkouts/service/Sources/Service/Utilities/Deprecated.swift /Users/mu/Hello/.build/checkouts/service/Sources/Service/Servi... | D |
import core.stdc.stdio;
enum real er1 = real.nan;
enum real er2 = 1;
static assert(er1 != er2);
static assert(!(er1 == er2));
static assert(!(er1 < er2));
static assert(!(er1 > er2));
static assert(!(er1 >= er2));
static assert(!(er1 <= er2));
enum double ed1 = real.nan;
enum double ed2 = 1;
static assert(ed1 != ed2)... | D |
// c05ex10.d
import std.stdio;
void main()
{
int A = 1;
int *PA;
PA = &A;
writefln("Endereco atual ...............: %x", PA);
PA += 10;
writefln("Proximo endereco a frente ....: %x", PA);
PA += 10;
writefln("Proximo endereco a frente ....: %x", PA);
PA -= 10;
writefln("End... | D |
/Users/yuvi/Desktop/workspace/rust-OS/adrenaline/target/debug/build/bootloader-c3162f78aa5286b7/build_script_build-c3162f78aa5286b7: /Users/yuvi/.cargo/registry/src/github.com-1ecc6299db9ec823/bootloader-0.8.9/build.rs
/Users/yuvi/Desktop/workspace/rust-OS/adrenaline/target/debug/build/bootloader-c3162f78aa5286b7/buil... | D |
/* Converted to D from gsl_sf_transport.h by htod
* and edited by daniel truemper <truemped.dsource <with> hence22.org>
*/
module auxc.gsl.gsl_sf_transport;
/* specfunc/gsl_sf_transport.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and... | D |
module engine.render.buffer.buffer; | D |
void main() { runSolver(); }
void problem() {
auto N = scan!long;
auto M = scan!long;
auto AB = scan!long(2 * M).map!"a - 1".chunks(2).array;
auto CD = scan!long(2 * M).map!"a - 1".chunks(2).array;
auto solve() {
auto ag = new bool[][](N, N);
foreach(ab; AB) {
ag[ab[0]][ab[1]] = true;
ag... | D |
import std.stdio, std.algorithm, permutations2;
void permutationSort(T)(T[] items) pure nothrow @safe @nogc {
foreach (const perm; items.permutations!false)
if (perm.isSorted)
break;
}
void main() {
auto data = [2, 7, 4, 3, 5, 1, 0, 9, 8, 6, -1];
data.permutationSort;
data.writel... | D |
/***********************************************************************\
* winnt.d *
* *
* Windows API header module *
* ... | D |
/**
* Core Engine
*
* Copyright:
* (C) 1999-2007 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.engine.core_engine;
import botan.engine.engine;
import botan.rng.rng;
import botan.utils.parsing;
import botan.filters.filters;
i... | D |
module org.serviio.restlet.AbstractProEditionServerResource;
import java.util.Arrays;
import java.util.List;
import org.restlet.data.Method;
import org.restlet.representation.Representation;
import org.serviio.licensing.LicensingManager;
import org.serviio.restlet.AbstractServerResource;
public abstract class Abstrac... | D |
module io.input.Writer;
version(Windows) {
public import io.input.writer.win32 : OSInputWriter = Win32InputWriter;
} else {
public import io.input.writer.x : OSInputWriter = XInputWriter;
}
| D |
module UnrealScript.Engine.InterpTrackEvent;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.InterpTrack;
extern(C++) interface InterpTrackEvent : InterpTrack
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass... | D |
# FIXED
utils/ustdlib.obj: C:/ti/TivaWare_C_Series-2.1.4.178/utils/ustdlib.c
utils/ustdlib.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdint.h
utils/ustdlib.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/stdint.h
utils/ustdlib.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3... | D |
module bindbc.kw.gui;
import bindbc.kw.widget;
import bindbc.kw.renderdriver;
extern (C) @nogc nothrow {
alias KW_OnGUIFontChanged = void function(KW_GUI*, void*, KW_Font*);
alias KW_OnGUITextColorChanged = void function(KW_GUI*, void*, KW_Color);
}
version(BindKiwi_Static){
extern (C) @nogc nothrow {
... | D |
/root/Bureau/cours/Avance/rustlings/target/rls/debug/build/escargot-beca708b17b257a0/build_script_build-beca708b17b257a0: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/escargot-0.4.0/build.rs
/root/Bureau/cours/Avance/rustlings/target/rls/debug/build/escargot-beca708b17b257a0/build_script_build-beca708b17b257a... | D |
instance DIA_HARLOK_EXIT(C_Info)
{
npc = sek_8011_harlok;
nr = 999;
condition = dia_harlok_exit_condition;
information = dia_harlok_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_harlok_exit_condition()
{
return TRUE;
};
func void dia_harlok_exit_info()
{
AI_StopProcessInfos(self);
... | D |
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/SocksCore.build/SocketOptions+Deprecated.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Socks-1.2.0/Sources/SocksCore/Address+C.swift /Users/mohammadazam/Documents/Projects/StoryTellers... | D |
//
// Custom Set - Contains grass(es?) and bushes
//
// this is the name of the set
const string CONSTRUCTION_SET_CUSTOM_NATURE_GRASS_NAME = "Nature - Bushes & Grass";
// this is the max amount of elements within this set
const int CONSTRUCTION_SET_CUSTOM_NATURE_GRASS_MAX = 20;
// this is the array, defining t... | D |
instance BAU_114_DS2P_Tom(Npc_Default)
{
name[0] = "Том";
guild = GIL_BAU;
id = 114;
voice = 8;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Sld_Axe);
EquipItem(self,ItRw_Sld_Bow);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,M... | D |
/Users/xiaohongwei/projects/for_offer/target/release/deps/libc-a6ac184a20d14b96.rmeta: /Users/xiaohongwei/.cargo/registry/src/mirrors.ustc.edu.cn-b63e9dae659fc205/libc-0.2.66/src/lib.rs /Users/xiaohongwei/.cargo/registry/src/mirrors.ustc.edu.cn-b63e9dae659fc205/libc-0.2.66/src/macros.rs /Users/xiaohongwei/.cargo/regist... | D |
instance DJG_715_Ferros (Npc_Default)
{
// ------ NSC ------
name = "Ferros";
guild = GIL_DJG;
id = 715;
voice = 1;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt Attribute ... | D |
module gfx.gl3.queue;
package:
import gfx.bindings.opengl.gl;
import gfx.core.rc : Disposable;
import gfx.gl3 : gfxGlLog;
import gfx.graal.cmd;
import gfx.graal.queue;
final class GlQueue : Queue, Disposable {
import gfx.gl3 : GlInfo, GlShare;
import gfx.graal.device : Device;
import gfx.graal.sync : Fen... | D |
module android.java.android.app.ActivityManager_RecentTaskInfo_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... | D |
import lua;
import lauxlib;
import lualib;
import std.string;
import std.conv;
void main() {
lua_State *lua_state;
lua_state = luaL_newstate();
/*luaL_Reg[] lualibs = [
[ "base", luaopen_base],
[null, null]
];*/
lua_CFunction b = cast(int function(lua_State*))&luaopen_base;
auto l = luaL_Reg("base... | D |
// Author: Ivan Kazmenko (gassa@mail.ru)
// Glue all wizard JSON files together.
module get_json;
import std.conv, std.exception, std.json, std.range, std.stdio;
immutable int lastId = 16361;
void main ()
{
string [] s;
foreach (id; iota (1, lastId + 1))
{
stderr.writeln (id);
try
{
auto cur = File (id.te... | 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 |
instance DIA_Ehnim_EXIT(C_Info)
{
npc = BAU_944_Ehnim;
nr = 999;
condition = DIA_Ehnim_EXIT_Condition;
information = DIA_Ehnim_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Ehnim_EXIT_Condition()
{
return TRUE;
};
func void DIA_Ehnim_EXIT_Info()
{
AI_StopProcessInfos(self);
};
in... | D |
a constellation in the southern hemisphere near the south celestial pole
| D |
/*******************************************************************************
* Copyright (c) 2003, 2005 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/srinivasandodda/Documents/srini/projects/swift/bank-ocr-katas/Build/Intermediates.noindex/bank-ocr-katas.build/Debug/bank-ocr-katas.build/Objects-normal/x86_64/SevenSegment.o : /Users/srinivasandodda/Documents/srini/projects/swift/bank-ocr-katas/Sources/bank-ocr-katas/main.swift /Users/srinivasandodda/Documents/... | D |
Long: connect-to
Arg: <HOST1:PORT1:HOST2:PORT2>
Help: Connect to host
Added: 7.49.0
See-also: resolve header
---
For a request to the given HOST:PORT pair, connect to
CONNECT-TO-HOST:CONNECT-TO-PORT instead. This option is suitable to direct
requests at a specific server, e.g. at a specific cluster node in a cluster ... | D |
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/debug/build/num-traits-698fb8796f47ea89/build_script_build-698fb8796f47ea89: /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-traits-0.2.8/build.rs
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/debug/build/num-traits-698... | D |
import std.stdio;
void main() {
int val = 43;
int* pVal = &val;
writeln("Address : ", pVal);
writeln("Value: ", *pVal);
void changePtrVal(int* pVal) {
*pVal = 22;
}
changePtrVal(&val);
writeln("Value: ", val);
} | D |
/**
* Contains the garbage collector implementation.
*
* Copyright: Copyright Digital Mars 2001 - 2016.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, David Friedman, Sean Kelly
*/
/* Copyright Digital Mars 2005 - 2016.
* Distributed under the Boost So... | D |
<?xml version="1.0" encoding="ASCII"?>
<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
<pageList>
<availablePage>
<emfPageIdentifier href="7d62c6aa-1149-4b8e-9ce7-69b7f1... | D |
/* ====================================================================
* Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistribution... | D |
/* Author: http://lemming.life
Project: ShakyBackup.d
Date: Mar 25, 2018
Language: D
Compile tool: rdmd from http://dlang.org
Details:
- Copy files from source to destination.
- If modified-times of source is greater than destination files then override.
Note:
- Recommend using some kind of scheduler.
To compile:
... | D |
module meld.fileWatcher;
import std.string;
static class FileWatcher
{
alias Callback = void delegate(string file);
static class Watcher
{
version(Windows)
{
import core.sys.windows.windows;
import core.stdc.stdlib;
import core.stdc.string;
import std.conv;
struct FILE_NOTIFY_INFORMATION {
... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Core.build/String.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/RFC1123.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/... | D |
// REQUIRED_ARGS: -Icompilable/extra-files
// https://issues.dlang.org/show_bug.cgi?id=6395
import c6395;
int regex(string pattern)
{
return 0;
}
bool match(string r)
{
return true;
}
void applyNoRemoveRegex()
{
void scan(string[] noRemoveStr, string e)
{
auto a = find!((a){return match(e);})(map!regex... | D |
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/URI.build/Model/URI+Byte.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/PercentDecoding.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTe... | D |
/*******************************************************************************
Example turtle-based test suite for `TestedAppKind.Manual`.
It only shows concepts specific for `TestedAppKind.Manual`, refer to example
of `TestedAppKind.Daemon` for generic test case examples.
NB: this kind only exists... | D |
/*
* Copyright (c) 2009 Erin Catto http://www.box2d.org
*
* 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 granted to anyone to use this software for any purpose,
*... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail9279.d(10): Error: escaping reference to stack allocated value returned by b()
fail_compilation/fail9279.d(13): Error: escaping reference to stack allocated value returned by getArr()
---
*/
char[2] b()() { char[2] ret; return ret; }
string a() { return b(); }
char[12] getArr(... | D |
// Test C++ name mangling.
// See Bugs 4059, 5148, 7024, 10058
import core.stdc.stdio;
extern (C++) int foob(int i, int j, int k);
class C
{
extern (C++) int bar(int i, int j, int k)
{
printf("this = %p\n", this);
printf("i = %d\n", i);
printf("j = %d\n", j);
printf("k = %d\n... | D |
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Vapor.build/WebSocket/NIOWebSocketClient.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/vapor/... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!long;
auto solve() {
if (N >= 90) return "expert";
if (N >= 70) return (90 - N).to!string;
if (N >= 40) return (70 - N).to!string;
return (40 - N).to!string;
}
outputForAtCoder(&solve);
}
// -----------------------------------------... | D |
module dinu.command.dir;
import dinu;
__gshared:
class CommandDir: CommandFile {
this(string name){
type = Type.directory;
super(name);
parts ~= "";
}
override size_t score(){
return 11;
}
override void run(){
options.configPath.openDir(name);
}
}
| D |
module model.valueset;
import std.conv;
import std.string;
import std.algorithm;
import std.traits : EnumMembers;
import util.jsonizer;
bool hasMember(E, alias member)() if (is(E == enum)) {
foreach(m ; EnumMembers!E) {
static if (member == to!string(m)) {
return true;
}
}
return false;
}
struct ... | D |
instance DIA_Abuyin_EXIT(C_Info)
{
npc = VLK_456_Abuyin;
nr = 999;
condition = DIA_Abuyin_EXIT_Condition;
information = DIA_Abuyin_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Abuyin_EXIT_Condition()
{
return TRUE;
};
func void DIA_Abuyin_EXIT_Info()
{
AI_StopProcessInfos(self);
}... | D |
/*
* Copyright (C) 2018 Julien Viet
*
* 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 ... | D |
module UnrealScript.TribesGame.TrAccolade_BenchEm;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrAccolade;
extern(C++) interface TrAccolade_BenchEm : TrAccolade
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass S... | D |
/Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/Build/Intermediates.noindex/DYPopoverViewExample.build/Debug-iphonesimulator/DYPopoverViewExample.build/Objects-normal/x86_64/SceneDelegate.o : /Users/Dominik/Documents/Programmieren/Libraries/DYPopoverViewExample/ExpandingViewExample/ContentExample.... | D |
import std.stdio, std.stream, std.file, std.string, std.date, std.conv, std.process;
import tales.util.gameformat, tales.common;
import tales.scont.generic, tales.scont.iso, tales.scont.fps2, tales.scont.fps3;
import tales.isopath, tales.comp, tales.sb7, sqlite3;
import tales.util.rangelist;
void CreateScript()... | D |
/Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/build/HNote.build/Debug-iphoneos/HNote.build/Objects-normal/arm64/NotesTableCellView.o : /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/AppDelegate.swift /Users/hongweihui/Desktop/IOS大作业_洪伟辉_18126278/HNote/HNote/EWPopMenu/MenuTableViewCell.swift /Users/hong... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/GIFAnimatedImage.o : /Users/ozgun/Desktop/IOSCase/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/ozgun/Desktop/IOSCase/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/ozgun/Desktop/IOSCase/Pods/Ki... | D |
instance DIA_JaAfFar_EXIT(DIA_Proto_End)
{
npc = Gobbo_DS2P_JaAfFar;
};
//////////////////////////// Общие /////////////////////////////
//===================================================
//(начальный)
//Обращается сам
instance DIA_JaAfFar_Hello(C_Info)
{
npc = Gobbo_DS2P_JaAfFar; nr = 1;
condition = DIA... | D |
(Roman Catholic and Eastern Orthodox Church) the act of admitting a deceased person into the canon of saints
| D |
module python.conv.python_to_d;
import python.raw: PyObject, pyListCheck, pyTupleCheck, PyTuple_Size, pyCallableCheck;
import python.type: isUserAggregate, isTuple;
import std.traits: Unqual, isIntegral, isFloatingPoint, isAggregateType, isArray,
isStaticArray, isAssociativeArray, isPointer, PointerTarget, isSome... | D |
instance SFB_1041_Schuerfer(Npc_Default)
{
name[0] = NAME_Schuerfer;
npcType = npctype_ambient;
guild = GIL_SFB;
level = 6;
flags = 0;
voice = 5;
id = 1041;
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 106;
... | D |
/**
* Mixin for per-type freelist allocation/deallocation
* similar to http://wiki.dlang.org/Memory_Management#Free_Lists
*/
module freelist;
import std.conv : to;
import std.math;
import std.traits : hasMember, BaseClassesTuple;
public import std.stdio;
debug bool writelnLog = false;
mixin template Freelist(bool s... | D |
module deadcode.gui.controls.listview;
import deadcode.gui.widget;
class ListView : Widget
{
} | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2009-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Bo... | D |
/Users/raed/Desktop/inutrationapp/Build/Intermediates.noindex/inutrationapp.build/Debug-iphonesimulator/inutrationapp.build/Objects-normal/x86_64/Entity+CoreDataProperties.o : /Users/raed/Desktop/inutrationapp/inutrationapp/AppDelegate.swift /Users/raed/Desktop/inutrationapp/Build/Intermediates.noindex/inutrationapp.bu... | 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_2_BeT-91379233... | D |
public import frsize;
alias screenint=ushort;
struct track{
size[] defs;
size gaps;
screenint width;
screenint unittopix=1;
screenint[] spilts;//I kinda wish I could have the order of the default constuctor, the defination order and memory layout seperately
screenint calcgap;
void calcspilts(){
asse... | D |
// Written in the D programming language
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import std.array,std.algorithm,std.range;
import std.format, std.conv;
import lexer,scope_,expression,type,declaration,error,util;
alias CommaExp=BinaryExp!(Tok!",");
alias AssignExp=BinaryExp!(Tok!"←");
alias... | D |
/**
Internal hash map implementation.
Copyright: © 2013 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.utils.hashmap;
import vibe.internal.utilallocator;
import std.conv : emplace;
import std.traits;
stru... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.