code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module context.io;
import std.stdio;
import std.file;
import std.string;
import std.conv;
import std.array:join;
import utils.io;
import utils.various;
import utils.exception;
import context.calc;
import context.text;
import context.pos;
@system:
auto writeText(Text target,string filename=meta.outputfilename~".ctx"... | D |
a piece of armor plate below the breastplate
| D |
void of thought or knowledge
without an occupant or incumbent
| D |
instance DIA_SLD_7_EXIT(C_Info)
{
nr = 999;
condition = DIA_SLD_7_EXIT_Condition;
information = DIA_SLD_7_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_SLD_7_EXIT_Condition()
{
return TRUE;
};
func void DIA_SLD_7_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_SLD_7_JOIN(... | D |
unittest
{
int x = 3;
asm
{
mov EAX,x; // load x and put it in register EAX
}
}
| D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/MySQL.build/Connection.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/MySQL-1.1.2/Sources/MySQL/Bind+Node.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/MySQL-1.1.2/Sources/MySQL/Bind.swift /Users/ok... | D |
/home/onki/Downloads/Fraunhofer_work/ruct+c/rustbook/app_m33/target/thumbv8m.main-none-eabihf/debug/deps/app-a8a9b575de78ff40: src/main.rs
/home/onki/Downloads/Fraunhofer_work/ruct+c/rustbook/app_m33/target/thumbv8m.main-none-eabihf/debug/deps/app-a8a9b575de78ff40.d: src/main.rs
src/main.rs:
| D |
/**
* Break down a D type into basic (register) types for the x86_64 System V ABI.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: Martin Kinkelin
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https... | D |
module render.drawing.MapBase;
import render.screenComponents;
import render.window.WindowObject;
import render.responsiveControl;
import world.generation.Planet_gen;
import world.generation.Star_gen;
import world.SolarSystem;
import derelict.opengl;
import render.Color;
import std.uuid;
class RenderMapBase : RenderO... | D |
/Users/admin/Desktop/Day4/DemoClass/DerivedData/DemoClass/Build/Intermediates/DemoClass.build/Debug-iphonesimulator/DemoClass.build/Objects-normal/x86_64/AppDelegate.o : /Users/admin/Desktop/Day4/DemoClass/DemoClass/ReverseFile.swift /Users/admin/Desktop/Day4/DemoClass/DemoClass/PropertyDemo.swift /Users/admin/Desktop/... | D |
/*
REQUIRED_ARGS: -preview=dip1000
*/
/*
TEST_OUTPUT:
---
fail_compilation/retscope6.d(6007): Error: copying `& i` into allocated memory escapes a reference to local variable `i`
---
*/
#line 6000
// https://issues.dlang.org/show_bug.cgi?id=17795
int* test() @safe
{
int i;
int*[][] arr = new int*[][](1);
... | D |
func void B_InitGrdFunc(var C_NPC slf,var int MaxRnd,var int MinLevel)///MinLevel+MAxRND = GRDDificult
{
var int GrdTalentsInit;
var int GrdType;
GrdDificult = MinLevel+Hlp_Random (MaxRnd);
GrdTalentsInit = Hlp_Random (100);
if (slf.id == 2732)
{
GrdTalentsInit = 23;
};
if (GrdTalentsInit > 5... | D |
import std.stdio;
import std.conv;
import std.string;
import std.range;
import std.array;
import std.algorithm;
import std.bigint;
int helper(BigInt[] ary){
ulong len = ary.length;
if(len == 2){
return 0;
}
ulong mid = len / 2;
return 1 + max(helper(ary[0..mid+1]), helper(ary[mid..$]));
}
void solve(in... | D |
module wx.Notebook;
public import wx.common;
public import wx.Event;
public import wx.Control;
public import wx.ImageList;
//! \cond EXTERN
extern (C) ЦелУкз wxNotebookEvent_ctor(цел типКоманды, цел ид, цел члоВыб, цел члоСтарВыб);
extern (C) цел wxNotebookEvent_GetSelection(ЦелУкз сам);
extern (C) проц wxNoteboo... | D |
/Users/gaishimin/Documents/GitHub/Eureka/.build/x86_64-apple-macosx/debug/Eureka.build/Core/Validation.swift.o : /Users/gaishimin/Documents/GitHub/Eureka/Source/Validations/RuleURL.swift /Users/gaishimin/Documents/GitHub/Eureka/Source/Validations/RuleRequired.swift /Users/gaishimin/Documents/GitHub/Eureka/Source/Valida... | D |
module tlbodl;
import std.c.windows.windows;
import std.c.windows.com;
import std.c.string;
import std.stdio;
import std.file;
import std.utf;
interface ITypeLib : IUnknown
{
}
static IID IID_IInterfaceViewer =
{
0xfc37e5ba,
0x4a8e,
0x11ce,
[ 0x87, 0x0b, 0x08, 0x00, 0x36, 0x8d, 0x23, 0x02 ]
... | D |
/Users/MohamedNawar/Desktop/weatherTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/DispatchQueue+Alamofire.o : /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/weatherTask/Pods/Alamofire/Source/MultipartUpload.swift /User... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
346 61 9 41.2000008 35 100 -31.3999996 138.600006 1170 13 15 0.0615384615 sediments
333 45 9 16.5 35 100 -30.3999996 139.399994 1161 17 18 0.0615384615 sediments, tillite
317 57 5 200 35 100 -30.5 139.300003 1165 9 10 0.0615384615 sediments, red... | D |
module android.java.java.text.AttributedString_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.util.Map_d_interface;
import import2 = android.java.java.text.AttributedChara... | D |
/Users/apple/Desktop/KeyChain/Build/Intermediates.noindex/KeyChain.build/Debug-iphoneos/KeyChain.build/Objects-normal/arm64/KeychainItemAccessibility.o : /Users/apple/Desktop/KeyChain/KeyChain/AppDelegate.swift /Users/apple/Desktop/KeyChain/KeyChain/ViewController.swift /Users/apple/Desktop/KeyChain/KeyChain/KeychainWr... | D |
module syntax.Formatter;
import std.algorithm, std.array, std.conv;
import common, syntax.ast;
@trusted pure final class Formatter : IFormatVisitor
{
bool useInferredTypes;
bool printOriginalParse;
private uint level;
enum dstring tabs = " "d.replicate(16);
const private @property dstring t... | D |
/Users/MohamedNawar/Desktop/appointment/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ImageDownloaderDelegate.o : /Users/MohamedNawar/Desktop/appointment/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/appointment/Pods/Kingfisher/Sources/General/Deprecated.sw... | D |
/Users/Polina/XcodeApp/diplom_prj/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Throttle.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.swift ... | D |
/**
* This module implements $(D TestSuite), an aggregator for $(D TestCase)
* objects to run all tests.
*/
module std.experimental.testing.testsuite;
import std.experimental.testing.testcase;
import std.experimental.testing.io;
import std.experimental.testing.options;
import std.datetime;
import std.parallelism :... | D |
// **************************************************
// EXIT
// **************************************************
INSTANCE DIA_HUN_20254_Grd (C_INFO)
{
npc = HUN_20254_Grd;
nr = 999;
condition = DIA_HUN_20254_Grd_Exit_Condition;
information = DIA_HUN_20254_Grd_Exit_Info;
permanent = 1;
description ... | D |
module served.commands.calltips;
import served.ddoc;
import served.extension;
import served.types;
import workspaced.api;
import workspaced.com.dcd;
import workspaced.coms;
import std.algorithm : max;
/**
* Convert DCD calltips to LSP compatible `SignatureHelp` objects
* Params:
* calltips = Ddoc strings fo... | 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_6_agm-89612194... | D |
import std.stdio, std.algorithm, std.array, std.conv, std.string;
void main() {
auto input = new int[][2];
foreach (ref elem; input) {
elem = readln.chomp.split.map!(to!int).array;
}
int n = input[0][0];
int d = input[0][1];
int[] a = input[1].sort!("a < b").array;
int m = readln.chomp.to!int;
int... | D |
// Written in the D programming language.
/**
Utilities for manipulating files and scanning directories. Functions
in this module handle files as a unit, e.g., read or write one _file
at a time. For opening files and manipulating them via handles refer
to module $(LINK2 std_stdio.html,$(D std.stdio)).
Macros:
WIKI = ... | D |
/*******************************************************************************
* Copyright (c) 2000, 2007 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... | D |
instance VLK_5078_BUDDLER(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = Npctype_MINE_Ambient;
guild = GIL_VLK;
level = 5;
voice = 2;
id = 5078;
attribute[ATR_STRENGTH] = 30;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 118;
attribute[... | D |
set_delete (4) --- remove given element from a set 07/20/84
| _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n
subroutine set_delete (element, set)
integer element
pointer set
| Library: vswtmath (Subsystem mathem... | D |
/Users/juliob/Programs/rust/diversity/target/debug/deps/diversity-8a64ae892b6629f5.rmeta: src/main.rs
/Users/juliob/Programs/rust/diversity/target/debug/deps/diversity-8a64ae892b6629f5.d: src/main.rs
src/main.rs:
| D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/SQLite.build/SQL/SQLiteBoolLiteral.swift.o : /Users/mu/Hello/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/mu/Hello/.build/checkouts/sqlite/Sources/SQLite/SQL/SQLiteGeneric.swift /Users/mu/Hello/.build/checkouts/sqlite/Sources/SQLite/Utilities/Deprec... | D |
/**
* Definitions for DWARF debug infos (v3 to v5)
*
* See_Also:
* - $(LINK2 http://www.dwarfstd.org/doc/Dwarf3.pdf, DWARFv3 standard)
* - $(LINK2 http://www.dwarfstd.org/doc/DWARF4.pdf, DWARFv4 standard)
* - $(LINK2 http://www.dwarfstd.org/doc/DWARF5.pdf, DWARFv5 standard)
* Source: $(DMDSRC backend/_dwarf.d... | D |
instance BAU_944_EHNIM(NPC_DEFAULT)
{
name[0] = "ένθμ";
guild = GIL_OUT;
id = 944;
voice = 12;
flags = 0;
npctype = NPCTYPE_MAIN;
b_setattributestochapter(self,3);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,itmw_1h_bau_axe);
b_createambientinv(self);
CreateInvItems(self,itpo_health_02,1);
b_setnpcvisu... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Service.build/Services/Services.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/service/Sources/Service/Services/ServiceID.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/servic... | D |
// **************************************************
// EXIT
// **************************************************
instance Info_GorHanis_Exit(C_INFO)
{
npc = TPL_1422_GorHanis;
nr = 999;
condition = Info_GorHanis_Exit_Condition;
information = Info_GorHanis_Exit_Info;
permanent = 1;
description = DIALOG_... | D |
occurring or extending throughout a country or nation
extending throughout an entire nation
| D |
/home/psyche-16/project/blockchain/crypto/target/debug/build/libc-b348bee0fe1c1799/build_script_build-b348bee0fe1c1799: /home/psyche-16/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.66/build.rs
/home/psyche-16/project/blockchain/crypto/target/debug/build/libc-b348bee0fe1c1799/build_script_build-b348bee0fe1c... | D |
import std;
auto pattern(int nth) {
enum base = [0, 1, 0, -1];
return base.map!(n => n.repeat(nth)).joiner.repeat.joiner.drop(1);
}
int[] apply(int[] ns) {
return ns.length.to!int.iota.map!(i => zip(ns, pattern(i+1)).map!"a[0] * a[1]".sum.abs % 10).array;
}
unittest {
assert(apply([1,2,3,4,5,6,7,8]) ... | D |
module pkgDIP37_10354.mbar;
void bar(T)() {}
| D |
enum E;
void main()
{
E* p; // ICE in glue layer
}
| D |
module org.serviio.util.ThreadExecutor;
import java.lang.Runnable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class ThreadExecutor
{
private static ExecutorService executor = Executors.newFixedThreadPool(10);
public static void execute(Runnable r) {
executor.ex... | D |
/++
Plugin offering announcement timers; routines that periodically sends lines
of text to a channel.
See_Also:
https://github.com/zorael/kameloso/wiki/Current-plugins#timer,
[kameloso.plugins.common.core],
[kameloso.plugins.common.misc]
Copyright: [JR](https://github.com/zorae... | D |
/**
* Defines the named entities to support the "\\&Entity;" escape sequence for strings / character literals.
*
* Specification $(LINK2 https://dlang.org/spec/entity.html, Named Character Entities)
*
* Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
* Authors: $(LIN... | D |
module crimson.app.ui.components.FullSection;
import crimson.html.document;
import crimson.html.element;
import crimson.app.ui.components.component;
enum FullSectionColors {
gray = "fullSectionGray",
charcoal = "fullSectionCharcoal",
white = "fullSectionWhite"
}
class FullSection : ComponentInterfac... | D |
module std.typeinfo.ti_Ashort;
import util;
// short[]
class TypeInfo_As : TypeInfo
{
char[] toString() { return "short[]"; }
hash_t getHash(void *p)
{ short[] s = *cast(short[]*)p;
size_t len = s.length;
short *str = s.ptr;
hash_t hash = 0;
while (1)
{
switch (len)
... | D |
/*******************************************************************************
Type definitions for implementing and communicating with a DNS server.
The type names may follow RFC1035 rather than our own coding convention,
although exceptions are made, e.g. when a field name and type conflict.
Comme... | D |
/*******************************************************************************
Interface to fetch information about the progress of a stream.
copyright: Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE_BOOST.txt for deta... | D |
/Users/arjunpola/Desktop/wisebite_repo/WiseBiteSwift/build/WiseBiteSwift.build/Debug-iphoneos/WiseBiteSwift.build/Objects-normal/arm64/AppDelegate.o : /Users/arjunpola/Desktop/wisebite_repo/WiseBiteSwift/WiseBiteSwift/ViewController.swift /Users/arjunpola/Desktop/wisebite_repo/WiseBiteSwift/WiseBiteSwift/AppDelegate.sw... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
* Entry point for DMD.
*
* This modules defines the entry point (main) for DMD, as well as related
* utilities needed for arguments parsing, path manipulation, etc...
* This file is not shared with other compilers which... | D |
module vkdecode;
import std.stdio, std.math, std.string, std.array, std.conv, std.range, std.algorithm;
string VK_STR = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN0PQRSTUVWXYZO123456789+/=";
string decode(string link) {
if (link.indexOf("audio_api_unavailable")) {
auto vals = link.split("?extra=")[1].split... | D |
///
module gfm.math.quaternion;
import std.math,
std.string;
import gfm.math.vector,
gfm.math.matrix,
funcs = gfm.math.funcs;
/// Quaternion implementation.
/// Holds a rotation + angle in a proper but wild space.
struct Quaternion(T)
{
public
{
union
{
Vector... | 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_4_banking-2742... | D |
/*******************************************************************************
* Copyright (c) 2000, 2009 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 |
import token;
import environment;
template UnaryWrapperFunc(string funcname, string actualfunc = funcname, Token.VarType accepts) {
static if(accepts == Token.VarType.tNumeric)
const char[] UnaryFunc = `Token bi_`~funcname~`(ref Token[] argv, ref Environment env)
{
if(argv.length != 1) {
throw new OratrArgumentC... | D |
instance VLK_471_Edda(Npc_Default)
{
name[0] = "Ýääà";
guild = GIL_VLK;
id = 471;
voice = 17;
flags = 0;
npcType = npctype_main;
aivar[AIV_ToughGuy] = TRUE;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
B_CreateAmbientInv(self);
EquipItem(self,ItMw_1h_Vlk_Dagger);
B_SetNpcVisual(self,F... | D |
# FIXED
third_party/FreeRTOS/Source/tasks.obj: C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/tasks.c
third_party/FreeRTOS/Source/tasks.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdlib.h
third_party/FreeRTOS/Source/tasks.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/_... | D |
import std.stdio;
import std.string;
import std.array;
import std.math;
immutable long N_MAX = 50 + 1;
immutable string YES = "YES";
immutable string NO = "NO";
// Solution {{{
struct Solution {
int N;
int K;
auto A = new long [N_MAX];
bool input(T)(T s) {
if ( readf(" %s", &N) && readf(" %s", &K) ) {
... | D |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* This program 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; version 2
* of the License only.
*
* This... | D |
/Users/haruna/Documents/iOSdev/HackDavis-2021/Build/Intermediates/HackDavis.build/Debug-iphonesimulator/HackDavis.build/Objects-normal/x86_64/SceneDelegate.o : /Users/haruna/Documents/iOSdev/HackDavis-2021/HackDavis/SceneDelegate.swift /Users/haruna/Documents/iOSdev/HackDavis-2021/HackDavis/AppDelegate.swift /Users/har... | D |
/***********************************************************************\
* lmuseflg.d *
* *
* Windows API header module *
* ... | D |
module sqld.ast.expression_node;
import sqld.ast.arithmetic_node;
import sqld.ast.expression_list_node;
import sqld.ast.invocation_node;
import sqld.ast.literal_node;
import sqld.ast.node;
import sqld.ast.relational_node;
immutable abstract class ExpressionNode : Node
{
immutable(ArithmeticNode) opBinary(string ... | D |
__gshared CArgs _cArgs;
pragma(crt_constructor)
extern (C) void ARGV_INIT_ARRAY(int argc, char** argv, char** _environ)
{
_cArgs.argc = argc;
_cArgs.argv = argv;
}
struct CArgs
{
int argc;
char** argv;
}
extern (C)
{
extern CArgs rt_cArgs() @nogc;
void argsCheck()
{
assert(rt_cAr... | D |
/**
Internationalization/translation support for the web interface module.
Copyright: © 2014 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.web.i18n;
import vibe.http.server : HTTPServerRequest;
import vibe.... | D |
/home/my/workspace/rust-workshop/guessing_game/target/debug/deps/guessing_game-29881b884ff6a06d: src/main.rs
/home/my/workspace/rust-workshop/guessing_game/target/debug/deps/guessing_game-29881b884ff6a06d.d: src/main.rs
src/main.rs:
| D |
string echo(in string str) {
return `writeln("` ~ str ~ `"); ` ~ str;
}
void main() {
import std.container; //: redBlackTree, removeKey;
import std.algorithm: equal;
import std.stdio;
mixin(echo(q{ auto rbt = redBlackTree!true(0, 1, 1, 1, 4, 5, 7); }));
void print() {
foreach(e; rbt) {
write(e, ' ');
}... | D |
/Users/lucasfarah/Documents/lucasfarah.github.io/.build/x86_64-apple-macosx/debug/Publish.build/API/Theme.swift.o : /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources/Publish/API/PodcastEpisodeMetadata.swift /Users/lucasfarah/Documents/lucasfarah.github.io/.build/checkouts/publish/Sources... | D |
// Evaluating arguments before calling a function is called eager evaluation.
import std.stdio;
void main(){
immutable int [] slice =[1,23,4,5];
test_immu(slice);
print( slice);
int [] s =[2,4,6];
print(s);
half(s);
print(s);
immutable (int) [] ims=[1,2];
ims ~=3;
ims.length=100;
// ims[0]=10 //... | D |
import enfilade;
import doc;
import trans;
import node;
import util;
import cell;
import std.string;
import enfs;
int delegate(Enfs n, Enfilade, XuLink[], XuClude[])[char[]] api;
void init_api() {
api["set"] = delegate(Enfs n, Enfilade e, XuLink[] links, XuClude[] cludes) {
if (cludes.length==0) {
return -1;
... | D |
// **********************
// NSC benutzt Item Booze
// **********************
func void ZS_Stand_Drinking_Orc ()
{
Perception_Set_Monster_Rtn();
B_UseHat (self);
B_ResetAll (self);
if (self.aivar[AIV_Schwierigkeitsgrad] < Mod_Schwierigkeit)
|| (self.aivar[AIV_Schwierigkeitsgrad] > Mod_Schwierigkeit)
{
... | D |
import std.stdio;
import std.math;
// Euclidean algorithm using modulus
int euclid_mod(int a, int b) {
int tmp;
a = abs(a);
b = abs(b);
while (b != 0) {
tmp = a % b;
a = b;
b = tmp;
}
return a;
}
// Euclidean algorithm with subtraction
int euclid_sub(int a, int b) {
... | 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
* distributed... | D |
instance VLK_6018_Jaeger (Npc_Default)
{
// ------ NSC ------
name = "Jäger";
guild = GIL_VLK;
id = 6018;
voice = 1;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
// ------ Attribute ------
slf.attribute[ATR_STRENGTH] = 100;
slf.attribute[ATR_DEXTERITY] = 100;
s... | D |
// Written in the D programming language.
/**
RGB colorspaces format descriptor.
Authors: Manu Evans
Copyright: Copyright (c) 2019, Manu Evans.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0)
*/
module wg.color.rgb.format;
import wg.util.allocator;
/**
RGB format descriptor.
*/
struct RGBFormatDes... | D |
/Users/shay_li/Downloads/bn128-jni-master/native/target/release/build/crunchy-2b3e54ea8f04e5a3/build_script_build-2b3e54ea8f04e5a3: /Users/shay_li/.cargo/registry/src/github.com-1ecc6299db9ec823/crunchy-0.2.2/build.rs
/Users/shay_li/Downloads/bn128-jni-master/native/target/release/build/crunchy-2b3e54ea8f04e5a3/build_... | D |
/**
* Portable routines for functions that have different implementations on different platforms.
*
* 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 Licens... | D |
module test_2_1_3; unittest {
import helpers.d_shims;
import helpers.d_shims;
import helpers.testThreeCases : testRejected;
import helpers.d_adapter;
alias deferred = adapter.deferred;
struct Dummy { string dummy = "dummy"; } Dummy dummy; // we fulfill or reject with this when we don't intend to test against it
d... | D |
/Users/oslo/code/swift_vapor_server/.build/debug/Polymorphic.build/Polymorphic.swift.o : /Users/oslo/code/swift_vapor_server/Packages/Polymorphic-1.0.1/Sources/Polymorphic.swift /Users/oslo/code/swift_vapor_server/Packages/Polymorphic-1.0.1/Sources/String+Polymorphic.swift /Applications/Xcode.app/Contents/Developer/Too... | D |
instance BDT_1043_Bandit_L(Npc_Default)
{
name[0] = NAME_Bandit;
guild = GIL_BDT;
id = 1043;
voice = 1;
flags = 0;
npcType = NPCTYPE_AMBIENT;
aivar[AIV_EnemyOverride] = TRUE;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Bau_Mace);
B_CreateAmbientInv(self);
B_Set... | D |
module android.java.android.provider.MediaStore_Audio_Genres_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.n... | D |
/Users/brunodaluz/Desktop/project/Build/Intermediates/project.build/Debug/Core.build/Objects-normal/x86_64/String+Utilities.o : /Users/brunodaluz/Desktop/project/.build/checkouts/core.git-3993699855654508100/Sources/Core/Data+Base64URL.swift /Users/brunodaluz/Desktop/project/.build/checkouts/core.git-399369985565450810... | D |
/**** Expressions: Represents values.
*
* Expressions might not be known at compile-time.
*
* Operations, function calls, variable references,
* constant values, etc. are all represented by these
* expressions.
*
* Expressions may be recursive.
*
* Author: ARaspiK
* License: MIT
*/
module ro... | D |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | D |
/Users/danielmorales/CSUMB/iOS/Tumblr/build/Pods.build/Debug-iphonesimulator/AlamofireImage.build/Objects-normal/x86_64/ImageFilter.o : /Users/danielmorales/CSUMB/iOS/Tumblr/Pods/AlamofireImage/Source/Image.swift /Users/danielmorales/CSUMB/iOS/Tumblr/Pods/AlamofireImage/Source/UIImage+AlamofireImage.swift /Users/daniel... | D |
#!/usr/bin/env dub
/+
dub.sdl:
name "snippet9"
dependency "dwt" path="../../../../../../" version="*"
libs \
"atk-1.0" \
"cairo" \
"dl" \
"fontconfig" \
"gdk-x11-2.0" \
"gdk_pixbuf-2.0" \
"gio-2.0" \
"glib-2.0" \
"gmodule-2.0" \
"gobject-2.0" \
... | 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
* distributed... | 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 sound;
import userdata;
import core.memory;
import core.runtime;
import core.thread;
i... | D |
module util;
import std.file,
std.stdio,
std.string,
std.array,
std.algorithm,
std.conv,
std.path,
std.exception,
std.container,
std.typecons,
std.socket,
std.traits,
core.thread,
std.bitmanip,
std.outbuffer,
std.regex,
std.datetime,
std.format,
std.range,
std.concurrency
;
version(Posix) import core.stdc.config;
vers... | D |
///////////////////////////////////////////////////////////////////////
// Info EXIT
///////////////////////////////////////////////////////////////////////
instance MIL_121_Brutus_EXIT (C_INFO)
{
npc = MIL_121_Brutus;
nr = 999;
condition = MIL_121_Brutus_EXIT_Condition;
information = MIL_121_Brutus_EXIT_In... | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_raserror.d)
*/
module core.sys.windows.raserror;
version (Windows):
enum {
SUCCESS = 0,
RASBASE =... | D |
module core.sys.bionic.fcntl;
version (CRuntime_Bionic) extern(C) nothrow @nogc:
enum LOCK_EX = 2;
| D |
// https://issues.dlang.org/show_bug.cgi?id=17942
alias AliasSeq(TList...) = TList;
void test()
{
enum A = AliasSeq!(1);
static assert(A[0] == 1);
static assert(B[0] == 2);
}
enum B = AliasSeq!(2);
enum C = AliasSeq!();
| D |
// ****************************************
// Exit
// ****************************************
INSTANCE DIA_Roscoe_Exit (C_INFO)
{
npc = ORG_840_Roscoe;
nr = 999;
condition = DIA_Roscoe_Exit_Condition;
information = DIA_Roscoe_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
}; ... | D |
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/SocksCore.build/TCPSocket.swift.o : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/socks.git--8001262774462276871/Sources/SocksCore/Address+C.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/socks.git--8001262774462276871/Sources/SocksCore/Addres... | D |
// Written in the D programming language.
/**
This module contains implementation of Win32 platform support
Provides Win32Window and Win32Platform classes.
Usually you don't need to use this module directly.
Synopsis:
----
import dlangui.platforms.windows.winapp;
----
Copyright: Vadim Lopatin, ... | D |
/++
LAPACK bindings for D.
Authors: William V. Baxter III, Lars Tandle Kyllingstad, Ilya Yaroshenko
Copyright: Copyright (c) 2009, Lars T. Kyllingstad; Copyright © 2017, Symmetry Investments & Kaleidic Associates
+/
module lapack.lapack;
version(CBLAS_STD_COMPLEX)
{
import std.complex : Complex;
}
else
{
import m... | D |
/Users/davalcato/Desktop/iOS/Yagni/Build/Intermediates/Yagni.build/Debug-iphonesimulator/Yagni.build/Objects-normal/x86_64/AppDelegate.o : /Users/davalcato/Desktop/iOS/Yagni/Yagni/AppDelegate.swift /Users/davalcato/Desktop/iOS/Yagni/Yagni/CategoryCell.swift /Users/davalcato/Desktop/iOS/Yagni/Yagni/ViewController.swift ... | D |
module test.railroad.plugininfo;
enum id = "test.railroad";
enum semver = "0.7.0";
enum deps = [];
enum clientdeps = [];
enum serverdeps = [];
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.