code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
import gfm.math:vec2i;
import map_site_calculator, height_map_settings, i_map_cell, i_map_cell_container;
abstract class BaseMapCell: IMapCell
{
protected IMapCellContainer container;
immutable int _rank;
@property int rank(){return _rank;}
immutable vec2i _site;
@property vec2i site(){return _site;};
immu... | D |
import std.stdio;
import std.datetime.stopwatch : benchmark;
import kdtree;
void main() {
benchmarkNearest();
benchmarkGrowing();
}
private double[dim][] randomPoints(size_t dim)(size_t numPoints) {
import std.random : uniform01;
auto points = new double[dim][numPoints];
foreach (i; 0 .. points.length) {
fore... | D |
an erratic deflection from an intended course
be wide open
deviate erratically from a set course
swerve off course momentarily
| D |
instance BDT_10027_Addon_Buddler(Npc_Default)
{
name[0] = NAME_Addon_Buddler;
guild = GIL_BDT;
id = 10027;
voice = 11;
flags = 0;
npcType = NPCTYPE_BL_MAIN;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
B_CreateAmbientInv(self);
EquipItem(self,ItMw_1h_Sld_Sword);
B_SetNpcVisual(self,MAL... | D |
module netkit.common.Common;
import netkit.net.NetSocket;
import netkit.net.NetServer;
import kiss.aio.ByteBuffer;
alias connet_handler = void delegate(NetSocket so);
alias linsten_handler = void delegate(bool success, NetServer so);
alias buffer_handler = void delegate(ByteBuffer buffer);
alias timer_handler = ... | D |
E: c1, c42, c50, c17, c2, c4, c58, c57, c20, c49, c14, c16, c22, c37, c51, c5, c56, c26, c15, c9, c60, c11, c61, c12, c41, c47, c32, c35, c52, c46, c63, c8, c62, c3, c45, c53, c36.
p6(E,E)
c1,c42
c50,c14
c22,c37
c16,c42
c56,c15
c16,c4
c50,c4
c16,c14
c32,c4
c5,c41
c9,c46
c1,c14
c2,c41
c63,c9
c32,c14
.
p4(E,E)
c50,c50
c... | D |
/Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Materialize.o : /Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/bernardo.tolosa/Documents/workspace/ioswo... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Error.o : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Obse... | D |
.build_1i1o2_lin33_48k_usbctl_farenddsp/_l_dsp/src/bfp/dsp_bfp_cls.s.d .build_1i1o2_lin33_48k_usbctl_farenddsp/_l_dsp/src/bfp/dsp_bfp_cls.s.o .build_1i1o2_lin33_48k_usbctl_farenddsp/_l_dsp/src/bfp/dsp_bfp_cls.S.pca.xml: C:/Users/user/workspace/lib_dsp/src/bfp/dsp_bfp_cls.S
| D |
//#################################################################
//
// 1.) zCParser
// 2.) zCPar_Symbol
// 3.) Токены парсера
//
//#################################################################
//************************************
// 1.) zCParser
//************************************
//Смещения свойс... | D |
<?xml version="1.0" encoding="UTF-8"?>
<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" xmi:id="_9sON8YgkEea5T-0WcBsZ9g">
<pageList xmi:id="_9sON8ogkEea5T-0WcBsZ9g">
<availablePa... | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/rand_hc-9f530799c5daedb2.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_hc-0.1.0/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_hc-0.1.0/src/hc128.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/rand_hc... | D |
module rangewrapper;
import std.range;
struct RangeWrapper(Range)
// Does Range comply with the input range 'concept'?
if (isInputRange!Range)
{
/* Here we know that Range has at least three member functions:
.front(), .popFront() and .empty(). We can use them happily.*/
}
// In the factory function ... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto M = scan!int;
auto A = scan!int(N);
auto solve() {
auto pre = new int[][](M + 1, 2);
auto dp = new int[][](M + 1, 2);
foreach(ref d; dp) d[] = N;
dp[0][] = 1;
foreach(a; A) {
swap(dp, pre);
foreach(ref d; dp... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Skip.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/babaiholdings/Documents/Alchem... | D |
/Users/KatiaHajjar/Documents/WhereAtV2/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/AccessToken.o : /Users/KatiaHajjar/Documents/WhereAtV2/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/KatiaHajjar/Documents/WhereAtV2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.B... | 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 |
/*
* Data collection and report generation for
* -profile=gc
* switch
*
* Copyright: Copyright Digital Mars 2015 - 2015.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Andrei Alexandrescu and... | 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_17_banking-652... | D |
func void B_SetAttributesToChapter(var C_Npc slf,var int kap)
{
Npc_SetTalentSkill(slf,NPC_TALENT_MAGE,6);
if(kap == 0)
{
slf.level = 3;
slf.attribute[ATR_STRENGTH] = 20;
slf.aivar[REAL_STRENGTH] = 20;
slf.attribute[ATR_DEXTERITY] = 20;
slf.aivar[REAL_DEXTERITY] = 20;
slf.attribute[ATR_MANA_MAX] = 1000;... | D |
module base_proxy;
import vibe.core.log;
import vibe.http.client;
string test() {
requestHTTP("http://www.google.com/",
(scope req) {
},
(scope res) {
logInfo("Response: %d", res.statusCode);
foreach (k, v; res.headers)
logInfo("Header: %s: %s", k, v);
}
);
return "worked";... | D |
module webkit2webextension.c.types;
public import gio.c.types;
public import glib.c.types;
public import gobject.c.types;
public import gtk.c.types;
public import javascriptcore.c.types;
public import soup.c.types;
/**
* Enum values used to denote the various levels of console messages.
*
* Since: 2.12
*/
public... | D |
surround so as to force to give up
beat through cleverness and wit
avoid or try to avoid fulfilling, answering, or performing (duties, questions, or issues
| D |
module units.fire;
import std.math;
import std.exception;
import std.stdio;
import std.string;
import allegro5.allegro;
import allegro5.allegro_primitives;
import general;
import units.unit;
import world;
class Fire: Unit
{
mixin UnitBoilerplate !("data/fire.png");
immutable static double VISION_LIGHT = 80.0;
... | D |
a time period usually extending from Friday night through Sunday
spend the weekend
| D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Sockets.build/Socket/RawSocket.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/sockets.git-1550083001277339713/Sources/Sockets/Address/Address+C.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/sockets.git-1550083001277339... | D |
/*
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, a... | D |
/Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphoneos/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/arm64/CharacterDetailViewModelProtocol.o : /Users/pavelkurilov/Library/Mobile\ Documents/com... | D |
/Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartColorTemplates.o : /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Char... | D |
/home/syx/SYXrepo/vacation_homework/percolation/target/release/deps/librand-a9a5d058c3cedd46.rlib: /home/syx/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand-0.6.5/src/lib.rs /home/syx/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand-0.6.5/src/distributions/mod.rs /home/syx/.cargo/registry/src... | D |
/Users/saurabhsikka/Documents/BrexitGame/DerivedData/Build/Intermediates/BrexitGame.build/Debug-iphonesimulator/BrexitGame.build/Objects-normal/x86_64/Blade.o : /Users/saurabhsikka/Documents/BrexitGame/BrexitGame/HUD.swift /Users/saurabhsikka/Documents/BrexitGame/BrexitGame/Ground.swift /Users/saurabhsikka/Documents/Br... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Configs.build/ConfigError.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/vapor.git-5492988889259800272/Sources/Configs/Source.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/vapor.git-5492988889259800272/S... | D |
import std.stdio, std.math, std.array;
import utilities.sieveOfEratosthenes;
void main(){
//Initialize sieveclass
sieveOfEratosthenes mySieve = new sieveOfEratosthenes();
//Variables
real numberToBeFactorized, currentFactor;
real[] primes, factors;
real primeSizeLimit = 512;
numberToBeFactorized = 600851475143;... | D |
module til.nodes.string;
import til.nodes;
debug
{
import std.stdio;
}
CommandHandler[string] stringCommands;
// A string without substitutions:
class String : ListItem
{
string repr;
this(string s)
{
this.repr = s;
this.type = ObjectType.String;
this.commands = stringComm... | D |
/Users/prajaktakulkarni/Documents/Casper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/RuleLength.o : /Users/prajaktakulkarni/Documents/Casper/Pods/Eureka/Source/Rows/ActionSheetRow.swift /Users/prajaktakulkarni/Documents/Casper/Pods/Eureka/Source/Rows/AlertRow.swift /Users/pra... | D |
/Users/bill/Documents/ios_projects/Swift/ReferenceApps/RxDataSource_CollectionViewTest/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/AnonymousDisposable.o : /Users/bill/Documents/ios_projects/Swift/ReferenceApps/RxDataSource_CollectionViewTest/Pods/RxSwift/RxSwift/Observables/Amb.swift /Use... | D |
/substrate-node-template/target/release/wbuild/target/wasm32-unknown-unknown/release/deps/cfg_if-92b7ea2b282d7314.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.10/src/lib.rs
/substrate-node-template/target/release/wbuild/target/wasm32-unknown-unknown/release/deps/libcfg_if-92b7ea2b282d7314.rl... | D |
module tests;
import std.stdio;
import std.math;
import std.container.array;
import matrix;
import math;
import util;
unittest{ //matrix
auto a = Vector3!float([1,2,3]);
auto i = Vector3!float([1,0,0]);
auto j = Vector3!float([0,1,0]);
auto k = Vector3!float([0,0,1]);
auto A = Matrix2!float([... | D |
module org.serviio.licensing.LicenseProvider;
import java.lang.String;
public abstract interface LicenseProvider
{
public abstract String readLicense();
}
/* Location: D:\Program Files\Serviio\lib\serviio.jar
* Qualified Name: org.serviio.licensing.LicenseProvider
* JD-Core Version: 0.6.2
*/ | D |
module mir.glas.internal.copy;
import std.traits;
import std.meta;
import mir.ndslice.slice : Slice;
import mir.internal.utility;
import mir.glas.internal.config;
import mir.glas.common;
import ldc.attributes : fastmath;
@fastmath:
pragma(inline, true)
T* pack_b_nano(size_t n, size_t P, bool conj = false, F, T)(size... | D |
/*
* $Id: field.d,v 1.3 2005/09/11 00:47:40 kenta Exp $
*
* Copyright 2005 Kenta Cho. Some rights reserved.
*/
module abagames.gr.field;
private import bindbc.opengl;
private import std.math;
private import abagames.util.vector;
private import abagames.util.rand;
private import abagames.util.math;
private import a... | D |
module dlangide.ui.newfile;
import dlangui.core.types;
import dlangui.core.i18n;
import dlangui.platforms.common.platform;
import dlangui.dialogs.dialog;
import dlangui.dialogs.filedlg;
import dlangui.widgets.widget;
import dlangui.widgets.layouts;
import dlangui.widgets.editors;
import dlangui.widgets.controls;
impor... | D |
/*
* Hunt - A data validation for DLang based on hunt library.
*
* Copyright (C) 2015-2019, HuntLabs
*
* Website: https://www.huntlabs.net
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.validation.validators.EmailValidator;
import hunt.validation.constraints.Email;
import hunt.valida... | D |
// Written in the D programming language.
/**
* This module implements a
* $(LINK2 http://erdani.org/publications/cuj-04-2002.html,discriminated union)
* type (a.k.a.
* $(LINK2 http://en.wikipedia.org/wiki/Tagged_union,tagged union),
* $(LINK2 http://en.wikipedia.org/wiki/Algebraic_data_type,algebraic type)).
* ... | D |
/**
* CVC EAC1.1 tests
*
* Copyright:
* (C) 2008 Falko Strenzke (strenzke@flexsecure.de)
* 2008 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.cert.cvc.test;
import botan.constants;
static if (BOTAN_TEST && BOTAN_HAS_CARD... | D |
module extensions.errorlist;
import extensions;
mixin registerCommands;
import controls.button;
import core.buffer : InvalidIndex;
import gui.event;
import gui.layout.constraintlayout;
import gui.layout.gridlayout;
import gui.widgetfeature.ninegridrenderer;
import gui.widgetfeature.textrenderer;
import gui.styledtext... | D |
/*******************************************************************************
* Copyright (c) 2000, 2003 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/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/GraphQL.build/Type/Introspection.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/GraphQL/Sources/GraphQL/GraphQL.swift /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/... | D |
module radosd.exception;
import std.exception;
class RadosException : Exception
{
mixin basicExceptionCtors;
}
class IoCtxException : RadosException
{
mixin basicExceptionCtors;
}
class IoCtxWriteException : IoCtxException
{
mixin basicExceptionCtors;
}
class IoCtxReadException : IoCtxException
{
mixin basicE... | D |
module common.util.config.token;
public {
import common.util.config.token.base;
import common.util.config.token.comment;
import common.util.config.token.key;
import common.util.config.token.section;
import common.util.config.token.value;
import common.util.config.token.variable;
}
| D |
/Users/jimallan/Downloads/starter/location-track-server/.build/x86_64-apple-macosx10.10/debug/Bits.build/Data+Bytes.swift.o : /Users/jimallan/Downloads/starter/location-track-server/.build/checkouts/core.git--2280532085018929318/Sources/Bits/Deprecated.swift /Users/jimallan/Downloads/starter/location-track-server/.buil... | D |
module hxi.kmain;
import kstdlib;
import multiboot;
import hxi.kernel;
import hxi.log;
import hxi.cpu.rs232logger;
nothrow:
@nogc:
extern (C) void kmain_multiboot(long magicNumber, void* bootData)
{
if (magicNumber != MULTIBOOT2_BOOTLOADER_MAGIC)
abort();
if (bootData is null)
abort();
cpuid_init();
Kernel* ... | D |
/Users/pvdklei/Desktop/Code/create-build/peppaint/target/debug/build/gl-a6c0bd372c5f8fb4/build_script_build-a6c0bd372c5f8fb4: /Users/pvdklei/.cargo/registry/src/github.com-1ecc6299db9ec823/gl-0.14.0/build.rs
/Users/pvdklei/Desktop/Code/create-build/peppaint/target/debug/build/gl-a6c0bd372c5f8fb4/build_script_build-a6c... | D |
/Users/Polina/XcodeApp/diplom_prj/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SubjectType.o : /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/SingleAsync.swi... | D |
// EXTRA_CPP_SOURCES: test6716.cpp
version(Windows)
{
// without main, there is no implicit reference to the runtime library
// other platforms pass the runtime library on the linker command line
version(CRuntime_Microsoft)
version(Win64)
pragma(lib, "phobos64");
else
... | D |
import std.string: toStringz;
import std.file: FileException, isDir, exists;
import std.conv: to;
import std.path: dirName, rootName, absolutePath, buildPath;
import c.git;
class GitStatus
{
this() {
path = findGitPath();
if (path) {
find_status(&cstatus, toStringz(path));
}
}
const string path;
@pro... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/SMTP.build/Email/Attachment/EmailAttachment.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/SMTP/Utility/NSUUID+SMTPMessageID.swift /Users/AleixDiaz/Desktop/VaporPr... | D |
prototype Mst_Default_Dragon_Rock(C_Npc)
{
name[0] = "Каменный дракон";
guild = GIL_DRAGON;
aivar[AIV_MM_REAL_ID] = ID_DRAGON_ROCK;
level = 500;
bodyStateInterruptableOverride = TRUE;
attribute[ATR_STRENGTH] = 500;
attribute[ATR_DEXTERITY] = 500;
attribute[ATR_HITPOINTS_MAX] = 40000;
attribute[ATR_HITPOINTS] ... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
329.5 49.5 11.6000004 23.6000004 100 120 -23 150.5 8586 19.7000008 21.3999996 0.520771458 extrusives
322.399994 60.7000008 8.19999981 35.2999992 90 110 -33.7999992 150.899994 85 13.3999996 13.3999996 0.480602712 intrusives, dolerite
328.700012 4... | D |
// Copyright (c) 2014, Matthew Brennan Jones <matthew.brennan.jones@gmail.com>
// 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 analysis.duplicate_attribute;
import std.stdio;
import std.strin... | D |
import std.stdio;
void main(){
int answer = 0;
int left, down, d_down, d_up;
int[20][20]f = [[08, 02, 22, 97, 38, 15, 00, 40, 00, 75, 04, 05, 07, 78, 52, 12, 50, 77, 91, 08],
[49, 49, 99, 40, 17, 81, 18, 57, 60, 87, 17, 40, 98, 43, 69, 48, 04, 56, 62, 00],
[81, 49 ,31, 73, 55, 79, 14, 29, 93, 71, 4... | D |
FUNC VOID Steinschale2_S1 ()
{
var C_NPC her; her = Hlp_GetNpc(PC_Hero);
if (Hlp_GetInstanceID(self)==Hlp_GetInstanceID(her))
{
B_SetAivar(self, AIV_INVINCIBLE, TRUE);
PLAYER_MOBSI_PRODUCTION = MOBSI_Steinschale2;
Ai_ProcessInfos (her);
};
};
/*FUNC VOID Steinschale2_S0 ()
{
var C_NPC her; her = Hlp_... | D |
/*******************************************************************************
* 全てのcv4dパッケージのモジュールの集約
*
* See_Also:
* $(UL
* $(LI $(LINK2 _cv4d.html, cv4d)
* $(UL
* $(LI $(LINK2 _cv4d.opencv.html, opencv))
* $(UL
* $(LI $(LINK2 _cv4d.opencv.core.html, core))
... | D |
/Users/ikodal/Desktop/WeatherApp/DerivedData/WeatherApp/Build/Intermediates.noindex/WeatherApp.build/Debug-iphonesimulator/WeatherApp.build/Objects-normal/x86_64/AnimationViewController.o : /Users/ikodal/Desktop/WeatherApp/WeatherApp/Commons/Extensions/UIImageView+URL\ .swift /Users/ikodal/Desktop/WeatherApp/WeatherApp... | D |
// This implementation of ModInt references https://github.com/yosupo06/dunkelheit/blob/master/source/dkh/modint.d
// Manually verified on: https://yukicoder.me/problems/no/117
// Manually verified on: https://atcoder.jp/contests/cpsco2019-s3/tasks/cpsco2019_s3_f
struct ModInt(uint mod) {
import std.conv : to;
... | D |
module gui.root;
/* This was Api::Manager in C++/A4 Lix. Here, it's a module, not a singleton
* class.
*/
import std.algorithm;
import std.range;
import basics.alleg5;
import graphic.color;
import graphic.graphic; // mouse cursor
import graphic.torbit;
import gui.iroot;
import gui.element;
import gui.geometry;
pu... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1984-1998 by Symantec
* Copyright (C) 2000-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | 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 |
/Users/yq/Project/Swift/SwiftGroup/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Amb.o : /Users/yq/Project/Swift/SwiftGroup/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/yq/Project/Swift/SwiftGroup/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/yq/Projec... | D |
module dllvm.core.instructions;
// Source: https://llvm.org/doxygen/group__LLVMCCoreValueInstruction.html
public import dllvm.core.instructions.allocas;
public import dllvm.core.instructions.calls;
public import dllvm.core.instructions.extract;
public import dllvm.core.instructions.geps;
public import dllvm.core.inst... | D |
/**
* An expandable buffer in which you can write text or binary data.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: Walter Bright, https://www.digitalmars.com
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK... | D |
instance Mod_7003_HoherUntoterMagier_AW (Npc_Default)
{
//-------- primary data --------
name = "Hoher Untoter Magier";
Npctype = Npctype_UNTOTERMAGIER;
guild = GIL_STRF;
level = 80;
voice = 0;
id = 7003;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
level = 80;
... | D |
#!/usr/bin/env dub
/+ dub.json: { "dependencies": { "zug-tap": "*", "zug-data": { "path": "../" } } } +/
void main() {
import std.range : take;
import std.random : Random, uniform;
import zug.tap;
import zug.matrix;
auto tap = Tap("t001_generic.d");
tap.verbose(true);
/// get
{
... | D |
// -------------------------------------------------------------
// Copyright 2016-2019 Coverify Systems Technology
// Copyright 2010-2018 Mentor Graphics Corporation
// Copyright 2014 Semifore
// Copyright 2014-2017 Intel Corporation
// Copyright 2004-2018 Synopsys, Inc.
// Copyright 2010-2018 Cadence Design Systems, ... | D |
/*
* This file is part of serpent.
*
* Copyright © 2019-2020 Lispy Snake, Ltd.
*
* 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 s... | D |
module android.java.android.webkit.WebStorage_QuotaUpdater;
public import android.java.android.webkit.WebStorage_QuotaUpdater_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!WebStorage_QuotaUpdater;
import import0 = android.java.java.lang.Class;
| D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.build/Server/TCPServer.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build... | D |
/* Converted to D from gsl_permute_vector_short.h by htod
* and edited by daniel truemper <truemped.dsource <with> hence22.org>
*/
module auxc.gsl.gsl_permute_vector_short;
/* permutation/gsl_permute_vector_short.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* This program is free software; you... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail2350.d(8): Error: function fail2350.test2350 naked assembly functions with contracts are not supported
---
*/
void test2350()
in
{
}
body
{
asm { naked; }
}
| D |
// Written in the D programming language.
/**
* Templates with which to extract information about types and symbols at
* compile time.
*
* Macros:
* WIKI = Phobos/StdTraits
*
* Copyright: Copyright Digital Mars 2005 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* ... | D |
/**
Implements cryptographically secure random number generators.
Copyright: © 2013 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Ilya Shipunov
*/
module vibe.crypto.cryptorand;
import std.conv : text;
import std.digest.sha;
import vibe.core.s... | D |
module yu.thread;
public import core.thread;
import yu.exception;
pragma(inline) Thread currentThread() nothrow @trusted {
auto th = Thread.getThis();
if (th is null) {
yuCathException!false(thread_attachThis(), th);
}
return th;
}
unittest {
import std.stdio;
writeln("currentThread(... | D |
import unit_threaded.runner: runTestsMain;
mixin runTestsMain!(
"it.build.info.dflags",
"it.build.info.configs",
"it.fetch",
);
| D |
//----------------------------------------------------------------------
// Copyright 2016-2019 Coverify Systems Technology
// Copyright 2014-2018 Mentor Graphics Corporation
// Copyright 2015 Analog Devices, Inc.
// Copyright 2014 Semifore
// Copyright 2018 Intel Corporation
// Copyright 2018 Synopsys, Inc.
// Copyrig... | D |
import std.stdio,std.file,std.process;
void main(){
string input="andre";
string input2="irado";
//input=stdin.readln();
writeln(input~" "~input2);
executeShell("pause");
} | D |
/*
* Copyright Andrej Mitrovic 2013.
* 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 dtk.tests.dialog;
version(unittest):
version(DTK_UNITTEST):
import dtk;
import dtk.imp... | D |
// EXTRA_OBJC_SOURCES:
/*
TEST_OUTPUT:
---
fail_compilation/objc_class3.d(15): Error: function `objc_class3.A.test!int.test` template cannot have an Objective-C selector attached
fail_compilation/objc_class3.d(21): Error: template instance `objc_class3.A.test!int` error instantiating
---
*/
import core.attribute : sel... | D |
# FIXED
driverlib/f28004x/driverlib/pga.obj: C:/Users/STarikUser/Documents/F280049_Projects/F280049_Projects_GIT/DSP_280049_Common/driverlib/f28004x/driverlib/pga.c
driverlib/f28004x/driverlib/pga.obj: C:/Users/STarikUser/Documents/F280049_Projects/F280049_Projects_GIT/DSP_280049_Common/driverlib/f28004x/driverlib/pga... | D |
module filesystem;
import std.stdio;
import std.c.string;
/+ STRUCTS & TYPEDEFS +/
alias ubyte Address; // There can only be 250 blocks - one byte is sufficient
// Contains the structure of the metadata that every block needs
struct BlockHeader {
Address next_block;
Address previous_block;
u... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/AlchemintProject.build/Debug-iphonesimulator/AlchemintProject.build/Objects-normal/x86_64/Claims.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/AlchemintProject/Sources/External/NeoSwift/Crypto/RIPEMD1... | D |
/**
* Written in the D programming language.
* This module provides Win32-specific support for sections.
*
* Copyright: Copyright Digital Mars 2008 - 2012.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Au... | D |
import pegged.grammar;
/// HCL2 uses the following PEG grammar with pegged 0.1 extensions.
enum hcl_grammar = `
HCL:
DefList < ((ConstDef / WireDef / Initialize / RegDef / ';')* eoi) { flatten }
Comment1 <- '#' (!eol .)* eol
Comment2 <- '//' (!eol .)* eol
Comment3 <- '/*' (!'*' . / '*' !'/')* '*/'
Spacing <- ((... | D |
/+
+ Copyright (c) Charles Petzold, 1998.
+ Ported to the D Programming Language by Andrej Mitrovic, 2011.
+/
module TestMci;
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 |
import std.stdio;
import std.string;
/++
Many problems have solutions involving linear recurrence equations of the form
$(EQN f(n) = a * f(n-1) + b * f(n-2) (n >= 2)). Usually the coefficients $(EQN a) and $(EQN b) are between
$(DDOC_PSYMBOL 0) and $(DDOC_PSYMBOL 10), so it would be useful to have a program which c... | D |
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/Turnstile.build/Credentials/APIKey.swift.o : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/Turnstile.git-2443676010155639616/Sources/Turnstile/TurnstileError.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/Turnstile.git-2443676010155639616/Sour... | D |
// Written in the D programming language.
/**
This module implements the formatting functionality for strings and
I/O. It's comparable to C99's $(D vsprintf()) and uses a similar
_format encoding scheme.
For an introductory look at $(B std._format)'s capabilities and how to use
this module see the dedi... | D |
/*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
* distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import std.stdio;
import std.experimental.logger;
import gctest;
int main(string[] args) {
trace("Creatin... | D |
module android.java.java.nio.file.NoSuchFileException;
public import android.java.java.nio.file.NoSuchFileException_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!NoSuchFileException;
import import4 = android.java.java.lang.Class;
import import3 = android.java.java.lang.StackTraceElement;
imp... | D |
import std.stdio;
import std.traits;
import dunit;
import std.compiler;
import pyd.pyd, pyd.embedded;
import pyd.references, pyd.func_wrap;
import deimos.python.Python;
class Tests {
mixin UnitTest;
/// something changed in 2.067 so that system seems to be the default
/// attribute, not none.
@Test pu... | D |
// Written in the D programming language
module std.array;
private import std.c.stdio;
private import core.memory;
private import std.contracts;
private import std.traits;
private import std.string;
private import std.algorithm;
version(unittest) private import std.stdio;
/*
Returns an array consisting of $(D elemen... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.