code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/++
$(H1 Lubeck 2 - `@nogc` Linear Algebra)
+/
module kaleidic.lubeck2;
import mir.algorithm.iteration: equal, each;
import mir.blas;
import mir.exception;
import mir.internal.utility: isComplex, realType;
import mir.lapack;
import mir.math.common: sqrt, approxEqual, pow, fabs;
import mir.ndslice;
import mir.rc.array;... | D |
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/chkformat.d(101): Deprecation: width argument `0L` for format specification `"%*.*d"` must be `int`, not `long`
fail_compilation/chkformat.d(101): Deprecation: precision argument `1L` for format specification `"%*.*d"` must be `int`, not `long`
fail_compilation/ch... | D |
E: c50, c19, c41, c0, c2, c53, c34, c26, c30, c39, c8, c57, c33, c12, c15, c64, c61, c7, c47, c52, c49, c29, c9, c31, c20, c11, c1, c38, c43, c58, c21, c6, c65, c54.
p1(E,E)
c50,c19
c57,c64
c65,c12
c54,c43
.
p0(E,E)
c41,c0
c30,c39
c33,c47
c33,c58
c53,c6
.
p2(E,E)
c2,c53
c8,c57
c12,c41
c7,c47
c34,c43
c21,c64
c61,c47
.
... | D |
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/fail313.d(5): Deprecation: module imports.b313 is not accessible here, perhaps add 'static import imports.b313;'
fail_compilation/fail313.d(12): Deprecation: imports.a313.core is not visible from module test313
fail_compilation/fail313.d(12): Deprecation: package ... | D |
INSTANCE Info_Mod_Nefarius_AW_Fokussuche (C_INFO)
{
npc = Mod_9002_KDW_Nefarius_AW;
nr = 1;
condition = Info_Mod_Nefarius_AW_Fokussuche_Condition;
information = Info_Mod_Nefarius_AW_Fokussuche_Info;
permanent = 0;
important = 0;
description = "Ich soll mich wegen der Fokussuche bei dir melden.";
};
FUNC INT I... | D |
module site.cors;
import vibe.http.server;
@safe:
private void _handle(string method, scope HTTPServerRequest req, scope HTTPServerResponse res) {
import core.time;
import std.conv;
enum oneDay = 24.hours.total!q{seconds}.to!string;
res.headers["Access-Control-Allow-Origin"] = "*";
res.headers["... | D |
module ai.get_ai;
import ai.all;
import model.battler;
import tilemap.tilemap;
/// allies refer to the allies of the battler b
AI getAI(Battler b, TileMap map, Battler[] enemies, Battler[] allies) {
switch(b.aiType) {
case "agressive":
return new AgressiveAI(b, map, enemies, allies);
case "territorial... | D |
# Netflix most watched series (views in the first 28 days)
Squid Game (2021) 1650450000
Bridgerton (2020) 625490000
Money Heist Part 4 (2020) 619010000
Stranger Things 3 (2019) 582100000
The Witcher Season 1 (2019) 541010000
13 Reasons Why Season 1 (2017) 475570000
Maid (2021) 469090000
You Season 3 (2021) 467830000
Se... | D |
/**
* Inline assembler implementation for DMD.
* https://dlang.org/spec/iasm.html
*
* Copyright: Copyright (c) 1992-1999 by Symantec
* Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
* Authors: Mike Cote, John Micco and $(LINK2 https://www.digitalmars.com, Walter Brigh... | D |
// ***************
// B_Preach_Monty
// ***************
func void B_Preach_Monty(var int satz)
{
if (satz == 0)
{
// Hier Applaus-Ende
AI_PlayAni (Mod_1049_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1059_VLK_Buerger_NW, "T_CLAPHANDS_2_STAND");
AI_PlayAni (Mod_1055_VLK_Buerger_NW, "T_CLAPHAND... | D |
module helpers.array;
import std.stdio;
import std.array;
import std.algorithm;
T array_shift(T)(ref T[] arr)
{
if(!arr.length)
{
return T.init;
}
if(arr.length == 1)
{
auto v = arr[0];
arr = [];
return v;
}
else
{
auto v = arr[0];
arr = arr[1 .. $];
return v;
}
}
T array_pop(T)(ref T[] arr)
{... | D |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2012 Laurent Gomila (laurent.gom@gmail.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 a... | D |
instance TPL_1439_GORNADRAK(NPC_DEFAULT)
{
name[0] = "Гор На Драк";
npctype = NPCTYPE_MAIN;
guild = GIL_TPL;
level = 21;
voice = 9;
id = 1439;
attribute[ATR_STRENGTH] = 100;
attribute[ATR_DEXTERITY] = 80;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 292;
attribute[AT... | D |
/*
* DSFML - The Simple and Fast Multimedia Library for D
*
* Copyright (c) 2013 - 2017 Jeremy DeHaan (dehaan.jeremiah@gmail.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 sof... | 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, a... | D |
/home/openseem/Documents/rcore_study/rust_practice/hello_cargo/target/rls/debug/deps/hello_cargo-b089bfb20cbee1db.rmeta: src/main.rs
/home/openseem/Documents/rcore_study/rust_practice/hello_cargo/target/rls/debug/deps/hello_cargo-b089bfb20cbee1db.d: src/main.rs
src/main.rs:
| D |
someone who waits on or tends to or attends to the needs of another
a person who is present and participates in a meeting
an event or situation that happens at the same time as or in connection with another
| D |
; Copyright (C) 2008 The Android Open Source Project
;
; 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 ... | D |
module capstone.arm;
extern (C):
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
/// ARM shift type
enum arm_shifter
{
ARM_SFT_INVALID = 0,
ARM_SFT_ASR = 1, ///< shift with immediate const
ARM_SFT_LSL = 2, ///< shift with immediate const
ARM_SFT_LSR = 3, ///<... | D |
// https://issues.dlang.org/show_bug.cgi?id=16772
/* TEST_OUTPUT:
---
fail_compilation/fail16772.d(7): Error: function `fail16772.ice16772` cannot return type `ubyte[]` because its linkage is `extern(C++)`
---
*/
extern(C++) ubyte[] ice16772() { return []; }
| D |
module engine;
public import engine.interfaces;
public import context;
public import filereader;
public import camera;
public import vertex;
public import mesh;
public import model;
public import pointmodel;
public import hexahedron;
public import pvm_setter;
public import pvm_model_setter;
public import pvm_normalmat... | D |
# FIXED
enc.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/enc/src/32b/enc.c
enc.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/enc/src/32b/enc.h
enc.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/types/src/types.h
enc.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.5/include/stdbool.h
enc.obj: C:/ti/ccsv6... | 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/coder/Desktop/rust-jvm-master/target/debug/deps/target_build_utils-bae5b0059f73e0a7.rmeta: /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/lib.rs /Users/coder/.cargo/registry/src/github.com-1ecc6299db9ec823/target_build_utils-0.3.0/src/changelog.rs /Users/coder/Desktop/r... | D |
SET_GET_VAR_VAL(Machine_states.main_power);
SET_GET_VAR_VAL(Machine_states.pause);
SET_GET_VAR_VAL(Machine_states.error);
SET_GET_VAR_VAL(Machine_states.lock);
SET_GET_VAR_VAL(Machine_states.enable_full_motor_power);
SET_GET_VAR_VAL(Machine_states.level_water_in_tank);
SET_GET_VAR_VAL(Machine_states.speaker_freq)... | 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_26_MobileMedia... | D |
module android.java.android.provider.Telephony_TextBasedSmsColumns_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("Telephony$TextBasedSm... | D |
// Written in the D programming language.
/**
This module provides low-level bindings with the mimalloc C interface
Copyright: Copyright 2019 Ernesto Castellotti <erny.castell@gmail.com>
License: $(HTTP https://www.mozilla.org/en-US/MPL/2.0/, Mozilla Public License - Version 2.0).
Authors: $(HTTP github.com/ErnyTec... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
243.699997 85.5 10.1000004 21.2000008 42 47 38.4000015 -79.4000015 1634 11.8000002 15.3999996 intrusives
309 80 2 0 35 56 72 -112 1699 3.79999995 3.9000001 intrusives, diabase
145.800003 77.0999985 4 46.0999985 48 53 46.2000008 -111.5 458 4.6999998... | D |
/**
SQLite implementation of the [arsd.database.Database] interface.
Compile with version=sqlite_extended_metadata_available
if your sqlite is compiled with the
SQLITE_ENABLE_COLUMN_METADATA C-preprocessor symbol.
If you enable that, you get the ability to use the
queryDataObject() function with sqlite. (You c... | D |
module cmsed.user.models.userauth;
import cmsed.user.models.user;
import cmsed.base.util;
import cmsed.base.defs;
import dvorm;
import vbson = vibe.data.bson;
import std.digest.ripemd;
import std.base64;
/**
* Provides database storage for the default user authentication provider.
*/
@dbName("UserAuth")
@shouldNotGe... | D |
/mnt/e/myrcore/lab_code/lab6_code/os/target/riscv64imac-unknown-none-elf/debug/deps/log-a08635dd3554a9e2.rmeta: /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/lib.rs /home/xushanpu123/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/macros.rs /home/xusha... | D |
/Users/doriankinoocrutcher/Documents/NEAR/arweave/localarweave/arweave_tutorial/contract/target/debug/build/num-integer-66202b6950780756/build_script_build-66202b6950780756: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.43/build.rs
/Users/doriankinoocrutcher/Documents/NEAR/... | D |
import std.stdio, std.algorithm;
void wireworldStep(char[][] W1, char[][] W2) pure nothrow @safe @nogc {
foreach (immutable r; 1 .. W1.length - 1)
foreach (immutable c; 1 .. W1[0].length - 1)
switch (W1[r][c]) {
case 'H': W2[r][c] = 't'; break;
case 't': W2[r][c]... | D |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... | D |
module chandl.parsers.fourchan;
import std.algorithm;
import std.array;
import std.conv : to;
import html;
import chandl.threadparser;
import chandl.parsers.mergingparser;
class FourChanThread : MergingThread {
private {
Node _threadNode;
}
this(in const(char)[] html) {
super(html);
... | D |
prototype Mst_Default_Harpie(C_Npc){
name[0] = "Harpyje";
guild = GIL_DEMON; aivar[AIV_IMPORTANT] = ID_HARPIE; level = 20; attribute[ATR_STRENGTH] = 85; attribute[ATR_DEXTERITY] = 85; attribute[ATR_HITPOINTS_MAX] = 200; attribute[ATR_HITPOINTS] = 200; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; protection[P... | D |
module hunt.wechat.bean.card.AbstractCard;
// //import com.alibaba.fastjson.annotation.JSONField;
/**
* 卡券抽象类,公众属性
*
*
*
*/
class AbstractCard {
/**
* 卡券类型
*/
// @JSONField(name = "card_type")
private string cardType;
public this() {
}
public this(string cardType) {
this... | D |
const int SPL_COST_MASSDEATH = 150;
const int SPL_DAMAGE_MASSDEATH = 400;
instance SPELL_MASSDEATH(C_SPELL_PROTO)
{
time_per_mana = 0;
damage_per_level = SPL_DAMAGE_MASSDEATH;
targetcollectalgo = TARGET_COLLECT_NONE;
};
func int spell_logic_massdeath(var int manainvested)
{
if(self.attribute[ATR_MANA] >= SPL_CO... | D |
/*******************************************************************************
* Copyright (c) 2000, 2008 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 |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
269.100006 76.3000031 4.30000019 66.6999969 0 3 32.4000015 70.9000015 404 2.9000001 5 0.43 sediments
247.5 75.9000015 0 0 0 3 32.5 70.5999985 830 0 0 0.43 sediments
295.700012 66.9000015 4 30.2000008 1 3 33.5 73.0999985 600 2.4000001 4.4000001 0... | D |
module UnrealScript.TribesGame.TrProj_SpinfusorD;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrProjectile;
extern(C++) interface TrProj_SpinfusorD : TrProjectile
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass... | D |
/*
TEST_OUTPUT:
---
true
g
&Test109S(&Test109S(<recursion>))
runnable/interpret.d(3201): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
runnable/interpret.d(3203): Deprecation: The `delete` keyword has been deprecated. Use `object.des... | D |
instance Mod_7252_SLD_Orkjaeger_MT (Npc_Default)
{
// ------ NSC ------
name = NAME_ORKJAEGER;
guild = GIL_mil;
id = 7252;
voice = 0;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MT_ORKJAEGER;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //se... | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/rand_pcg-4674f4cffb77d93d.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_pcg-0.1.2/src/pcg64.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61... | D |
module setup;
import
std.stdio, std.file, std.process, std.path, std.string, std.getopt,
std.algorithm.iteration;
version(X86) version(linux) version = nux32;
version(X86_64) version(linux) version = nux64;
version(X86) version(Windows)version = win32;
version(Windows)
{
enum exeExt = ".exe";
... | D |
/Users/prang/Desktop/AppDontForget2/build/AppDontForget.build/Debug-iphonesimulator/AppDontForget.build/Objects-normal/x86_64/LoginViewController.o : /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarHeaderView.swift /Users/pran... | D |
//----------------------------------------------------------------------
// Copyright 2011 Cypress Semiconductor
// Copyright 2010 Mentor Graphics Corporation
// Copyright 2014 Coverify Systems Technology
// All Rights Reserved Worldwide
//
// Licensed under the Apache License, Version 2.0 (the
// "License"... | D |
/*******************************************************************************
Tests the 'first release' scenario with the neptune-release tool
Copyright:
Copyright (c) 2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for det... | D |
instance SLD_751_Soeldner (Npc_Default)
{
//-------- primary data --------
name = Name_Soeldner;
Npctype = NPCTYPE_MINE_GUARD;
guild = GIL_SLV;
level = 16;
voice = 1;
id = 751;
//-------- abilities --------
attribute[ATR_STRENGTH] = 120;
attribute[ATR_DEXTERITY] = 55;... | D |
/**
* Copyright: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(LINK2 http://cattermole.co.nz, Richard Andrew Cattermole)
*/
module cf.spew.ui.features;
public import cf.spew.ui.features.clipboard;
public import cf.spew.ui.features.notifications;
public import cf.spew.ui.f... | D |
a chronic progressive nervous disorder involving loss of myelin sheath around certain nerve fibers
a state in the Deep South on the gulf of Mexico
a master's degree in science
the form of a literary work submitted for publication
a form of address for a woman
| D |
module exeMain;
pragma(lib, "DinrusSpecBuild.lib");
static экз g_hInst;
extern(C) ук указательНаИспМодуль();
version(SHARED)
{
extern (Windows)
BOOL DllMain(экз экземп, бдол резон, ук резерв);
}
else
{
/////////////////////////////////////////////
/***********************************
* Функция main() языка Динрус,... | D |
file ladef - latin font definitions
data character types
laUNK := 0 ; unknown
laCHA := 1 ; character
laSUP := 2 ; superscript
laNAM := 3 ; object name
laOPR := 4 ; operator name
laAuni : [] WORD extern
laAkbd : [] WORD extern
la_ini : ()
la_rep : (**char, **char) int
la_typ : (int) int
end file
| D |
/**
* This code handles backtrace generation using dwarf .debug_line section
* in ELF files for linux.
*
* Reference: http://www.dwarfstd.org/
*
* Copyright: Copyright Digital Mars 2015 - 2015.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Yazan Dabain, Sean Kelly
* Source:... | D |
/Users/DanielChang/Documents/Vapor/Hello/.build/debug/Leaf.build/Node+Rendered.swift.o : /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Le... | D |
import std.stdio;
void main() {
long w, d; readf("%s\n%s\n", &w, &d);
for (long i = d; 2 <= i; --i) w -= w/i/i;
writeln(w);
}
| D |
module reactived.observable.joins.pattern;
import std.meta;
import reactived;
class Pattern(TSources...) if (allSatisfy!(isObservable, TSources))
{
alias TElements = ElementTypes!TSources;
TSources _values;
alias _values this;
package this(TSources values)
{
_values = values;
}
... | D |
module entity.criteriabuilder.criteriabuilder;
import entity;
public Dialect _dialect;
class CriteriaBuilder
{
DatabaseConfig _config;
Database _db;
string _name;
EntityInfo[string] _models;
EntityInfo[TypeInfo_Class] _classMap;
EntityManager _entitymanager;
QueryBuilder querybuilder;
... | D |
a mechanism that can move automatically
| D |
instance VLK_515_Buddler(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = npctype_ambient;
guild = GIL_VLK;
level = 2;
voice = 2;
id = 515;
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 94;
attribute[ATR_HITP... | D |
module ast.enums;
import parseBase;
import ast.base, ast.types, ast.namespace, ast.casting, ast.math, ast.opers, ast.fold;
class Enum : Namespace, IType, Named, ExprLikeThingy {
string name;
IType base;
this(string n, IType b) {
name = n;
base = b;
sup = namespace();
}
// members
string[] name... | D |
//
// -------------------------------------------------------------
// Copyright 2014-2021 Coverify Systems Technology
// Copyright 2010-2011 Mentor Graphics Corporation
// Copyright 2014 Semifore
// Copyright 2004-2014 Synopsys, Inc.
// Copyright 2010-2018 Cadence Design Systems, Inc.
// Copyright 2010 AMD
// Copyrigh... | D |
instance DIA_Addon_Owen_EXIT(C_Info)
{
npc = PIR_1367_Addon_Owen;
nr = 999;
condition = DIA_Addon_Owen_EXIT_Condition;
information = DIA_Addon_Owen_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Owen_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Owen_EXIT_Info()
{
AI_... | D |
/*******************************************************************************
* Copyright (c) 2000, 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 |
var int romil_itemsgiven_chapter_1;
var int romil_itemsgiven_chapter_2;
var int romil_itemsgiven_chapter_3;
var int romil_itemsgiven_chapter_4;
var int romil_itemsgiven_chapter_5;
func void b_givetradeinv_romil(var C_Npc slf)
{
if((Kapitel >= 1) && (romil_itemsgiven_chapter_1 == FALSE))
{
CreateInvItems(slf,ItMi_... | D |
// REQUIRED_ARGS: -boundscheck=off
// PERMUTE_ARGS: -inline -g -O
import core.exception : RangeError;
// Check for RangeError is thrown
bool thrown(T)(lazy T cond)
{
import core.exception;
bool f = false;
try { cond(); } catch (RangeError e) { f = true; }
return f;
}
@safe int safeIndex (int[] a... | D |
module main;
import core.thread;
import std.stdio;
import compilerinfo;
import container.dlst;
import lex.token;
import lex.source;
import lex.lexer;
import pars.parser;
import util.stacktrace;
int main(string[] args) {
debug scope StackTrace st = new StackTrace(__FILE__, __LINE__, "main");
//writefln("BuildID = %... | D |
///* Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
... | D |
module ahki.loop;
import core.sync.barrier,
core.time;
import std.concurrency,
std.conv,
std.format,
std.string;
import dini;
import ahki.sdl,
ahki.stage;
int loop(SDL_Window* window, SDL_Renderer* render, ref Config config, ref StageStack stageStack) {
SDL_Event event... | D |
/*******************************************************************************
Classes for reading and writing dht node channel dump files.
copyright:
Copyright (c) 2014-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for det... | D |
func void B_StopShortZapped()
{
Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessMagic);
Npc_ClearAIQueue(self);
AI_Standup(self);
if(self.guild < GIL_SEPERATOR_HUM)
{
B_AssessDamage();
AI_ContinueRoutine(self);
}
else
{
Npc_SetTempAttitude(self,ATT_HOSTILE);
AI_ContinueRoutine(self);
};
};
func void ZS_... | D |
// ---------------------------------------------------------
// NPC 'PAL_1020_Paladin'
// ---------------------------------------------------------
instance PAL_1020_Paladin (C_NPC)
{
//-------- primary data --------
name = Name_Paladin;
guild = GIL_PALADIN;
npctype = NPCTYPE_GUARD;
l... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!long;
auto E = scan!long(N * 2 - 2).chunks(2);
auto solve() {
long[] edges = new long[](N);
foreach(e; E) {
e[0]--; e[1]--;
edges[e[0]]++;
edges[e[1]]++;
}
return YESNO[edges.any!(e => e == N - 1)];
}
outputForAt... | D |
/**
* Manipulating basic blocks and their edges.
*
* Copyright: Copyright (C) 1986-1997 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_1_0... | 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_7_banking-7861... | D |
/Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/DerivedData/MouseHunter/Build/Intermediates.noindex/SwiftMigration/MouseHunter/Intermediates.noindex/MouseHunter.build/Debug-iphonesimulator/MouseHunter.build/Objects-normal/x86_64/Mouse.o : /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/MouseHunter/Mouse.swi... | D |
/Users/Renn/Desktop/AppDev/Apps/TipWell/DerivedData/Build/Intermediates/TipWell.build/Debug-iphoneos/TipWell.build/Objects-normal/armv7/ViewController.o : /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/TipCalculator.swift /Users/Renn/Desktop/AppDev/Apps/TipWell/TipWell/ViewController.swift /Users/Renn/Desktop/AppDev/A... | D |
module android.java.android.transition.TransitionInflater_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import4 = android.java.android.view.ViewGroup_d_interface;
import import0 = android.java.andro... | D |
/Users/jaison/Documents/Drive/custom-api/.build/debug/JSON.build/File.swift.o : /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sou... | D |
module photon.linux.support;
import core.sys.posix.unistd;
import core.sys.linux.timerfd;
import core.stdc.errno;
import core.stdc.stdlib;
import core.thread;
import core.stdc.config;
import core.sys.posix.pthread;
import photon.linux.syscalls;
public import core.sys.linux.sched;
enum int MSG_DONTWAIT = 0x40;
enum i... | D |
/Users/Yowa/WorkSpace/Pokedex/Build/Intermediates/Pokedex.build/Debug/Leaf.build/Objects-normal/x86_64/BufferProtocol.o : /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Argument.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Byte+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Le... | D |
/*
Inochi2D Part
Copyright © 2020, Inochi2D Project
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module inochi2d.core.nodes.part;
import inochi2d.fmt;
import inochi2d.core.nodes.drawable;
import inochi2d.core;
import inochi2d.math;
import bindbc.opengl;
im... | D |
int main() {
string a;
string b;
string c;
a = "arman";
b = "ariyan";
c = "ali";
Print(a);
Print(b);
Print(c);
Print("------------");
a = b;
b = c;
Print(a);
Print(b);
Print(c);
Print("------------");
a = b;
c = b;
b = a;
Print(a);
Prin... | D |
/* estim.d
**
** simple paradigm to deliver stimulation pulses
** for monkeys sitting in the dark.
** Long Ding 2007-10-02
*/
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include "../hdr/rexHdr.h"
#include "paradigm_rec.h"
#include "ldev.h"
#include "lcode.h"
#define WIND0 0 /* window to compar... | D |
/*******************************************************************************
Implementation of DHT 'Listen' request
copyright:
Copyright (c) 2015-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
***************... | D |
import vibe.vibe;
void main()
{
auto settings = new HTTPServerSettings;
settings.port = 8080;
settings.bindAddresses = ["::1", "0.0.0.0"];
listenHTTP(settings, &hello);
logInfo("Please open http://0.0.0.0:8080/ in your browser.");
runApplication();
}
void hello(HTTPServerRequest req, HTTPServerResponse res)
{
... | D |
/**
* Find side-effects of expressions.
*
* 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.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github... | D |
/* REQUIRED_ARGS: -betterC
* REQUIRED_ARGS(win32): -Llegacy_stdio_definitions.lib
* PERMUTE_ARGS:
*/
import core.stdc.stdio;
extern (C) int main()
{
auto j = test(1);
assert(j == 3);
assert(Sdtor == 1);
test2();
return 0;
}
int test(int i) nothrow
{
{
S s = S(3);
printf("inside\n");... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Vapor.build/View/Vapor+View.swift.o : /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/FileIO.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/FormDataCoder+HTTP.swift /U... | D |
#!/usr/bin/env rdmd
import core.thread : Thread;
import core.time : dur;
import std.array : appender;
import std.algorithm : map;
import std.ascii : digits, letters;
import std.conv : to;
import std.random : uniform;
import std.range : iota;
import std.regex : regex, split;
import std.stdio : File, writef, writefln, ... | D |
// https://issues.dlang.org/show_bug.cgi?id=23109
/*
EXTRA_FILES: imports/test23109a.d imports/test23109b.d imports/test23109c.d
EXTRA_SOURCES: extra-files/test23109/object.d
TEST_OUTPUT:
---
Error: no property `getHash` for `typeid(const(Ensure[]))` of type `object.TypeInfo_Const`
Error: no property `getHash` for `typ... | D |
import std.stdio, std.file, std.conv;
import bio.gff3.file, bio.gff3.validation;
import util.string_hash;
void main(string[] args) {
// There should be only one command line argument present
if (args.length != 2) {
print_usage();
return; // Exit the application
}
auto filename = args[1];
// Check i... | D |
module dbghelp;
version (Windows){
import std.c.windows.windows;
import core.runtime;
class Dbghelp {
public:
alias char TCHAR;
alias ulong DWORD64;
alias char* CTSTR;
alias char* PTSTR;
alias const(char)* PCSTR;
enum ADDRESS_MODE : DWORD {
AddrMode1616 = 0,
AddrMode1632 = 1,
AddrMod... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* This module contains the `Id` struct with a list of predefined symbols the
* compiler knows about.
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 h... | D |
#! /usr/bin/env rdmd
import std.stdio, std.string, std.regex, std.array, std.algorithm;
T min(T)(T a, T b) {
if (a < b) return a;
return b;
}
void main() {
ulong[string] emailcounts;
auto re = ctRegex!(r"^(?:\S+ ){3,4}<= ([^@]+@(\S+))");
foreach (line; File("exim_mainlog").byLine()) {
auto m = line.match(re);... | D |
INSTANCE GardeBeliars_1994_Frowin (Npc_Default)
{
//----- Monster ----
name = "Frowin";
guild = GIL_NONE;
id = 1994;
voice = 14;
level = 40;
npctype = NPCTYPE_MAIN;
//----- Attribute ----
attribute [ATR_STRENGTH] = 105; //+ 105 Waffe
attribute [ATR_DEXTERITY] = 100;
attribute [ATR... | D |
weaken the consistency of (a chemical substance)
become weaker, in strength, value, or magnitude
reduced in strength
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-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 |
const int Value_Lockpick = 10;
const int Value_Key_01 = 0;
instance ItKe_Lockpick(C_Item)
{
name = "Отмычка";
mainflag = ITEM_KAT_NONE;
flags = ITEM_MULTI;
value = Value_Lockpick;
visual = "ItKe_Lockpick.3ds";
material = MAT_METAL;
description = name;
text[5] = NAME_Value;
count[5] = value;
inv_rotz = -45;... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.