code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/*************************************************************************
** OrcBiter Prototype **
*************************************************************************/
PROTOTYPE Mst_Default_OrcBiter(C_Npc)
{
name = "Beisser";
guild = GIL_SCAVENGER;
aivar[AIV_MM_REAL_ID] = ID_ORC... | D |
/Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/DelaySubscription.o : /Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/Pods/RxSwift/Rx... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail202.d(10): Error: shift by 33 is outside the range `0..31`
fail_compilation/fail202.d(10): Error: shift by 33 is outside the range `0..31`
---
*/
void main() {
int c;
c = c >> 33;
}
| D |
INSTANCE Info_Mod_HSBuerger_02_Orakel (C_INFO)
{
npc = Mod_7597_HS_Hofstaatler_REL;
nr = 1;
condition = Info_Mod_HSBuerger_02_Orakel_Condition;
information = Info_Mod_HSBuerger_02_Orakel_Info;
permanent = 1;
important = 0;
description = "Ich bin auf der Suche nach dem Orakel.";
};
FUNC INT Info_Mod_HSBuerger_... | D |
/**
Representing a full project, with a root Package and several dependencies.
Copyright: © 2012 Matthias Dondorff
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Matthias Dondorff, Sönke Ludwig
*/
module dub.project;
import dub.compilers.compiler;
import du... | D |
// https://issues.dlang.org/show_bug.cgi?id=11720
void test11720()
{
foo();
bar();
}
alias TypeTuple(T...) = T;
void foo()()
{
foreach (T; TypeTuple!(int, double))
{
static temp = T.stringof;
}
}
void bar()
{
foreach (T; TypeTuple!(int, double))
{
static temp = T.stringof... | D |
module Palaio.GameDisplay;
import std.math;
import std.conv;
debug import std.stdio;
import Palaio.Config;
import Palaio.Utilities.Screen;
import Palaio.Utilities.Input;
import Palaio.Board.Board;
import Palaio.Board.Field;
import Derelict.SDL2.sdl;
pragma(lib, "DerelictSDL2.lib");
pragma(lib, "DerelictUtil.lib");
... | D |
// Written in the D programming language.
/**
* TinySegmenter written in D.
*
* Original version is here: $(WEB chasen.org/~taku/software/TinySegmenter/,
* TinySegmenter : Javascriptだけで書かれたコンパクトな分かち書きソフトウェア).
*
* Example:
* -----
* auto result = TinySegmenter.segment("それD言語で出来るよ");
* result.join("|") //-> "そ... | D |
/Users/Connor/Documents/Developer/GuitarTuner/Build/Intermediates/GuitarTuner.build/Debug-iphoneos/GuitarTuner.build/Objects-normal/arm64/constants.o : /Users/Connor/Documents/Developer/GuitarTuner/GuitarTuner/recordingData.swift /Users/Connor/Documents/Developer/GuitarTuner/GuitarTuner/AudioEngine.swift /Users/Connor/... | D |
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxDataSources.build/Objects-normal/x86_64/String+IdentifiableType.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxDataSources/Sources/RxDataSources/Deprecated.swift /Users/sunchuyue/Docum... | D |
/Users/shawngong/Centa/.build/debug/Leaf.build/Stem+Spawn.swift.o : /Users/shawngong/Centa/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/shawngong/Centa/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /Users/shawngong/Centa/Packages/Leaf-1.0.6/Sources/Leaf/Constants.swift /Users/shawngong/Centa/Packages/Leaf-... | D |
instance SLD_759_SOELDNER(NPC_DEFAULT)
{
name[0] = NAME_SOELDNER;
npctype = NPCTYPE_MINE_GUARD;
guild = GIL_SLD;
level = 16;
voice = 8;
id = 759;
attribute[ATR_STRENGTH] = 75;
attribute[ATR_DEXTERITY] = 55;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 232;
attribute[... | D |
func int GetTeam(var C_NPC slf)
{
var int instance;
instance = Hlp_GetInstanceID(slf);
if
(instance == Hlp_GetInstanceID(NPC_tm1ld))||
(instance == Hlp_GetInstanceID(NPC_tm1m1))||
(instance == Hlp_GetInstanceID(NPC_tm1m2))||
(instance == Hlp_GetInstanceID(NPC_tm1m3))
{
return 1;
}
else if
(instance == Hlp_GetInsta... | D |
module org.eclipse.swt.internal.mozilla.nsIIOService;
import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;
import org.eclipse.swt.internal.mozilla.nsIProtocolHandler;
import org.eclipse.swt.internal.mozilla.nsIChannel;
impor... | D |
put or pin the blame on
harass with constant criticism
attribute responsibility to
expletives used informally as intensifiers
| 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 |
module gsb.components.shadertoy;
import gsb.core.slate2d;
import gsb.core.uimanager;
import gsb.core.uievents;
import gsb.core.ui.uielements;
import gsb.core.log;
import gl3n.linalg;
shared static this () {
//UIComponentManager.runAtInit({
// UIComponentManager.registerComponent(
// new ShaderToy... | D |
/*
This file is part of BioD.
Copyright (C) 2013 Artem Tarasov <lomereiter@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without ... | D |
import std.stdio;
void main(string[] args)
{
int sum = 0;
for (int i = 1; i < 1000; i++)
if (i % 3 == 0 || i % 5 == 0)
sum += i;
writefln(sum);
} | 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 |
/*#D*/
module volta.visitor.setExpLocationVisitor;
import visitor = volta.visitor.visitor;
import location = volta.ir.location;
import ir = volta.ir;
/*!
* Set the `loc` field for expressions.
*
* Set `newLocation`, and call `acceptExp` on the expression.
*/
class SetExpLocationVisitor : visitor.NullVisitor
{
pub... | D |
module org.serviio.db.JdbcExecutor;
import java.lang.String;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Arrays;
import java.util.List;
import org.serviio.util.JdbcUtils;
import org.serviio.db.DatabaseManager;
public abstract class JdbcExecutor//(T)
{
... | D |
instance DIA_EDDA_EXIT(C_INFO)
{
npc = vlk_471_edda;
nr = 999;
condition = dia_edda_exit_condition;
information = dia_edda_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_edda_exit_condition()
{
return TRUE;
};
func void dia_edda_exit_info()
{
AI_StopProcessInfos(self);
};
instance... | D |
instance DIA_Dar_EXIT(C_Info)
{
npc = Sld_810_Dar;
nr = 999;
condition = DIA_Dar_EXIT_Condition;
information = DIA_Dar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Dar_EXIT_Condition()
{
if(Kapitel < 3)
{
return TRUE;
};
};
func void DIA_Dar_EXIT_Info()
{
AI_StopProcessInfos(s... | 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">
<pageList>
<availablePage>
<emfPageIdentifier href="01_SourceLeft_ClassDiagram_Pro... | D |
instance MENU_OPT_GAME(C_MENU_DEF)
{
backpic = MENU_BACK_PIC;
items[0] = "MENUITEM_GAME_HEADLINE";
items[1] = "MENUITEM_GAME_SUB_TITLES";
items[2] = "MENUITEM_GAME_SUB_TITLES_CHOICE";
items[3] = "MENUITEM_GAME_ANIMATE_WINDOWS";
items[4] = "MENUITEM_GAME_ANIMATE_WINDOWS_CHOICE";
items[5] = "MENUITEM_GAME_LOOKARO... | D |
/***
* D compatible types that correspond to various basic types in associated
* C and C++ compilers.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors... | D |
INSTANCE Info_Mod_Grimbald_Hi (C_INFO)
{
npc = Mod_765_NONE_Grimbald_NW;
nr = 1;
condition = Info_Mod_Grimbald_Hi_Condition;
information = Info_Mod_Grimbald_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Grimbald_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Grimbald_Hi_Info()
{
AI_Output(se... | D |
/home/montu/workspace/type-carnival/target/debug/deps/proc_macro_nested-7e4b62c6e976045a.rmeta: /home/montu/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro-nested-0.1.6/src/lib.rs /home/montu/workspace/type-carnival/target/debug/build/proc-macro-nested-8b8a968a36ac9e8d/out/count.rs
/home/montu/workspace/typ... | D |
#! /bin/rdmd
/**
* Generate flagdata.d.
*/
import std;
string dir = "../flags";
string pattern = "*.png";
string output = "../src/flagdata.d";
string header =
"/// Autogenerated by " ~ __FILE__ ~ " on " ~ __TIMESTAMP__ ~ ".
module flagdata;
__gshared ubyte[][string] flagFiles;
void initFlagFiles()
{
flagFi... | D |
module blockie.model4.M4Optimiser;
import blockie.model;
final class M4Optimiser : Optimiser {
private:
M4ChunkEditView view;
public:
this(M4ChunkEditView view) {
this.view = view;
}
override ubyte[] optimise(ubyte[] voxels, uint voxelsLength) {
/// This chunk is AIR. Nothing to do
... | D |
/Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/FluentSQLite.build/SQLiteDatabase+QuerySupporting.swift.o : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/fluent-sqlite.git--5503918280859119093/Sources/FluentSQLite/FluentSQLiteSchema.swift /Users/godemodegame/Desktop/ATMApp/.build/checkout... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 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/mu/Hello/.build/x86_64-apple-macosx/debug/Async.build/Worker.swift.o : /Users/mu/Hello/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Future+Variadic.swift /Users/mu/Hello/.build/checkouts/core/Sources/Async/Deprecated.swift /Users/mu/Hello/.build/checkout... | D |
import vibe.vibe;
import std.stdio;
import std.process;
import termcolor;
@path("/api/")
interface APIRoot {
@safe
string get();
}
void showHome(HTTPServerRequest req, HTTPServerResponse res)
{
serveStaticFiles("/index.html");
}
class API : APIRoot {
override string get() { return "Hello, World"; }
}
voi... | D |
/**********************************************
* This module implements integral arithmetic primitives that check
* for out-of-range results.
*
* Integral arithmetic operators operate on fixed width types.
* Results that are not representable in those fixed widths are silently
* truncated to fit.
* This module... | D |
/*
* Copyright (C) 2019, HuntLabs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except inBuffer 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... | D |
module day11.part1.main;
import std;
import core.thread;
void main()
{
auto memory = File("input", "r").readln.strip.splitter(",").map!(to!long).array;
memory.length = 2048;
auto sensorData = new Pipe!long();
auto actions = new Pipe!long();
Scheduler().schedule(createFiber(memory, sensorData, act... | D |
instance CS_Eskorte6 (Npc_Default)
{
//-------- primary data --------
name = "Eskorte6";
slot = "guard";
guild = GIL_GRD;
level = 5;
flags = 0;
voice = 11;//9;
id = 3028;
//-------- abilities --------
attribute[ATR_STRENGTH] = 13;
attribute[ATR_DEXTERITY] = 9;
... | D |
import std.getopt;
import poi;
import writer;
import loader;
void main(string[] args)
{
string file;
string url;
string id;
auto helpInformation = getopt(args,
"from|f", "The POI file to generate a project", &file,
"url|u", "The url of POI file", &url,
"id|i", "The POI id from central POI repo", &id);
... | D |
throw out of balance or equilibrium
derange mentally, throw out of mental balance
being or thrown out of equilibrium
affected with madness or insanity
debits and credits are not equal
| D |
module natop.natpmp;
import natop.network;
import natop.exceptions;
import std.bitmanip : nativeToBigEndian, bigEndianToNative;
import std.conv;
import std.exception;
import std.random;
import std.datetime;
import memutils.vector;
import vibe.core.core;
import vibe.core.net;
import vibe.core.log;
class NATPMP : R... | D |
module lv2.bind.core;
extern(C):
alias LV2_Handle = void*;
struct LV2_Feature {
const char *URI;
void *data;
}
struct LV2_Descriptor {
const char *uri;
extern (C) LV2_Handle function (const LV2_Descriptor *descriptor,
double sampleRate,
... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1... | D |
// ---------------------------------------------------------
// NPC 'MIL_101_Wylfern'
// ---------------------------------------------------------
instance MIL_101_Wylfern (C_NPC)
{
//-------- primary data --------
name = "Wylfern";
guild = GIL_MILITIA;
npctype = NPCTYPE_MAIN;
level ... | D |
/root/rushalpine/rocket/target/release/build/pear_codegen-119f13b598ab273c/build_script_build-119f13b598ab273c: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pear_codegen-0.1.2/build.rs
/root/rushalpine/rocket/target/release/build/pear_codegen-119f13b598ab273c/build_script_build-119f13b598ab273c.d: /root/.carg... | D |
# FIXED
posix/clock.obj: C:/ti/simplelink_msp432p4_sdk_3_30_00_13/source/ti/posix/freertos/clock.c
posix/clock.obj: C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include/stdint.h
posix/clock.obj: C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include/_stdint40.h
posix/clock.obj: C:/ti/ccs920/ccs/... | D |
module waved.wav;
import std.range,
std.file,
std.array,
std.string;
import waved.utils;
/// Supports Microsoft WAV audio file format.
// wFormatTag
immutable int LinearPCM = 0x0001;
immutable int FloatingPointIEEE = 0x0003;
immutable int WAVE_FORMAT_EXTENSIBLE = 0xFFFE;
/// Decodes a WAV fi... | D |
/Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/InvocableScheduledItem.o : /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableV... | D |
module player;
import deck : Deck;
struct Player{
Deck hand;
Deck cards;
}
| D |
module java.beans.BeanDescriptor;
import java.beans.FeatureDescriptor;
import java.lang.all;
class BeanDescriptor : FeatureDescriptor {
this(Class beanClass) {
implMissing(__FILE__, __LINE__);
}
this(Class beanClass, Class customizerClass) {
implMissing(__FILE__, __LINE__);
}
Class getBeanClass() {
implM... | D |
module serialport.util;
import std.range;
import std.algorithm;
import std.datetime.stopwatch;
void msleep(Duration dt) @nogc
{
import core.thread : Fiber, Thread;
if (Fiber.getThis is null) Thread.sleep(dt);
else
{
const tm = StopWatch(AutoStart.yes);
do Fiber.yield(); while (tm.peek... | D |
module dido.gui;
public import dido.gui.element;
public import dido.gui.context;
public import dido.gui.font;
public import dido.gui.scrollbar;
public import dido.gui.combobox;
public import dido.gui.button;
| D |
main.d main.p1: C:/Users/Dinusha/Documents/PICProjects/PIC877AProjects/CProjects/TEA5767/main.c C:/Users/Dinusha/Documents/PICProjects/PIC877AProjects/CProjects/TEA5767/i2c.h C:/Users/Dinusha/Documents/PICProjects/PIC877AProjects/CProjects/TEA5767/tea5767.h C:/Users/Dinusha/Documents/PICProjects/PIC877AProjects/CPro... | D |
generator consisting of a coil (the armature) that rotates between the poles of an electromagnet (the field magnet) causing a current to flow in the armature
| D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.build/Byte+PatternMatching.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/check... | D |
/Users/obuchiyuki/Desktop/SaftyDrive/Build/Intermediates/IBDesignables/Intermediates/SafetyDrive.build/Debug-iphonesimulator/SafetyDrive.build/Objects-normal/x86_64/etc.o : /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/MK/MKSnackbar.swift /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/RMMenu.swift /Users/obuchiyuki/... | D |
/Users/dali/Desktop/Rust_Project/target/debug/deps/rand_xorshift-6c6091c51011fe46.rmeta: /Users/dali/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_xorshift-0.1.1/src/lib.rs
/Users/dali/Desktop/Rust_Project/target/debug/deps/librand_xorshift-6c6091c51011fe46.rlib: /Users/dali/.cargo/registry/src/mirrors... | D |
the motion characteristic of fluids (liquids or gases)
move or progress freely as if in a stream
move along, of liquids
cause to flow
be abundantly present
fall or flow in a certain way
cover or swamp with water
undergo menstruation
designed or arranged to offer the least resistant to fluid flow
| D |
module android.java.android.media.MediaSession2Service_MediaNotification;
public import android.java.android.media.MediaSession2Service_MediaNotification_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!MediaSession2Service_MediaNotification;
import import1 = android.java.java.lang.Class;
| D |
/**
---
dmd clock.d \jpro\dmd2\windows\import\d\time
---
Had to fix some bugs to get the d.time module working
*/
import std.stdio;
import d.time;
void main()
{
timing( { steve; } );
readln;
timing( { steve; } );
}
void steve()
{
writeln("Steve - ", clock);
}
| D |
/afs/cern.ch/user/a/abrennan/testarea/CxAODframework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/TupleMaker/obj/TupleMaker.o /afs/cern.ch/user/a/abrennan/testarea/CxAODframework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/TupleMaker/obj/TupleMaker.d : /afs/cern.ch/user/a/abrennan/testarea/CxAODframework/TupleMaker/Root/TupleMaker.... | D |
module reverser;
import std.stdio;
import editor;
import os.file;
import error;
int start(string outpath)
{
// editor: hex input
// outfile: binary output
enum BUFSZ = 4096;
ubyte[BUFSZ] data = void;
OSFile binfd = void;
if (binfd.open(outpath, OFlags.write))
{
stderr.writefln... | D |
import std.stdio;
// Test function inlining
debug = NRVO;
/************************************/
int foo(int i)
{
return i;
}
int bar()
{
return foo(3) + 4;
}
void test1()
{
printf("%d\n", bar());
assert(bar() == 7);
}
/************************************/
struct Foo2
{
int a,b,c,e,f,g;
}... | D |
instance Bdt_1014_Bandit_L(Npc_Default)
{
name[0] = "Браго";
guild = GIL_BDT;
id = 1014;
voice = 6;
flags = 0;
npcType = npctype_main;
aivar[AIV_EnemyOverride] = TRUE;
B_SetAttributesToChapter(self,0);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,ItMw_Nagelknueppel);
B_CreateAmbientInv(self);
CreateInvI... | D |
module util.terminal;
import std.stdio;
import d.context.location;
version(Windows) {
import std.c.windows.windows;
}
void outputCaretDiagnostics(FullLocation loc, string fixHint) {
uint offset = loc.getStartOffset();
uint start = offset;
auto source = loc.getSource();
auto content = source.getContent();
... | D |
path=/usr/local/etc/sudoers.d
options="-R"
owner=root
group=wheel
| D |
instance STRF_1127_Addon_Pardos_NW(Npc_Default)
{
name[0] = "Pardos";
guild = GIL_OUT;
id = 1127;
voice = 3;
flags = 0;
npcType = npctype_main;
aivar[AIV_IgnoresArmor] = TRUE;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,ItMw_2H_Axe_L_01);
B_CreateAmbientInv(self);
B_Se... | D |
/**
* This module contains all functions related to an object's lifetime:
* allocation, resizing, deallocation, and finalization.
*
* Copyright: Copyright Digital Mars 2000 - 2010.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Walter Bright, Sean Kelly, Steven Sch... | D |
module mach.sdl.input.mouse.mouse;
private:
import derelict.sdl2.sdl;
import mach.traits : isNumeric;
import mach.math : isVector2;
import mach.sdl.error : SDLException;
import mach.sdl.window : Window;
import mach.sdl.input.mouse.common;
import mach.sdl.input.mouse.cursor;
import mach.sdl.input.mouse.state;
public... | D |
// @file malloc_example.d
import core.stdc.stdlib;
void main(){
// Explicity allocate memory
int* memory = cast(int*)(malloc(int.sizeof * 100));
// We must now manually free memory like in C.
free(memory);
}
| D |
module android.java.java.lang.NoSuchFieldException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.io.PrintStream_d_interface;
import import4 = android.java.java.lang.Class... | D |
// *************************************************************************
// Kapitel 1
// *************************************************************************
// *************************************************************************
// EXIT
// *********************************************... | D |
/*******************************************************************************
Dls versioning system test. Runs a set of test for the versioning
system.
copyright: Copyright (c) 2016 sociomantic labs. All rights reserved
*******************************************************************************/
... | D |
/home/roldan/Documentos/repo/TFG/rust/rust_search_1000000_middle_case/target/debug/deps/librand_core-a343543b108525b3.rlib: /home/roldan/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_core-0.3.1/src/lib.rs
/home/roldan/Documentos/repo/TFG/rust/rust_search_1000000_middle_case/target/debug/deps/rand_core-a343543b1... | D |
instance Info_SFB_5_Pre(C_Info)
{
nr = 1;
condition = Info_SFB_5_Pre_Condition;
information = Info_SFB_5_Pre_Info;
permanent = 0;
important = 1;
};
func int Info_SFB_5_Pre_Condition()
{
return 1;
};
func void Info_SFB_5_Pre_Info()
{
AI_Output(self,other,"Info_SFB_5_EinerVonEuchWerden_02_00"); //Nazdar!
};
... | D |
build/x86_64-debug/src/producerConsumer.o: src/producerConsumer.c
| D |
module wx.DbGrid;
public import wx.common;
public import wx.Grid;
import dcollections.ArrayList;
alias Column wxColumn;
public class Column
{
private string dbcolumnname;
private string newcolumnname;
private int width;
//-----------------------------------------------------------------------------
publ... | D |
/home/naufil/Desktop/rust_github/26Aug/hello/target/debug/deps/hello-4b7e670e43d5b4cf: src/main.rs
/home/naufil/Desktop/rust_github/26Aug/hello/target/debug/deps/hello-4b7e670e43d5b4cf.d: src/main.rs
src/main.rs:
| D |
module ppl4.errors.SemanticError;
import ppl4.all;
final class SemanticError : CompilationError {
this(Module mod, int line, int column, string message) {
super(mod, line, column, message);
}
}
void errorShadowingDeclaration(Identifier id, Declaration[] decls) {
auto mod = id.mod;
auto msg ... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(HTTP 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
*/
/* Copyright Sean... | D |
/home/josh7gas/github.com/Josh7GAS/Oficina/Rust/test/web_crawler/target/debug/deps/fastrand-2e1b0025fb58fbb5.rmeta: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/fastrand-1.4.0/src/lib.rs
/home/josh7gas/github.com/Josh7GAS/Oficina/Rust/test/web_crawler/target/debug/deps/libfastrand-2e1b0025fb58fbb5.rl... | D |
/run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/target/debug/deps/actix_testing-03c5bf837061d770.rmeta: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-testing-0.1.0/src/lib.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/... | D |
instance PIR_1355_Addon_Skip(Npc_Default)
{
name[0] = "ريوُ";
guild = GIL_PIR;
id = 1355;
voice = 8;
flags = 0;
npcType = NPCTYPE_MAIN;
aivar[AIV_FollowDist] = 300;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_ShortSword2);
EquipItem(self,ItRw_Sld_Bow);
CreateInvIt... | D |
instance DIA_Till_EXIT(DIA_Proto_End)
{
npc = CMP_Till;
};
// ===============================================
instance DIA_Till_MR_Hello(C_INFO)
{
npc = CMP_Till; nr = 1;
condition = DIA_WhileCompetition_cond;
information = DIA_Till_MR_Hello_info;
description = "И ты грибы собираешь?";
};
func void DIA_Till_M... | D |
/home/user/Momir.Milutinovic/PerfectTemplate/.build/x86_64-unknown-linux/debug/PerfectHTTP.build/MimeReader.swift.o : /home/user/Momir.Milutinovic/PerfectTemplate/.build/checkouts/Perfect-HTTP.git--2804952654501611945/Sources/PerfectHTTP/HTTPMethod.swift /home/user/Momir.Milutinovic/PerfectTemplate/.build/checkouts/Per... | D |
import std.stdio: writeln;
import std.process: system;
void main(string[] args) {
if (args.length == 1)
return;
string exe = args[1][0 .. $ - 2] ~ ".exe";
system(`\jpro\dmd2\windows\bin\dmd ` ~ args[1] ~ " -d");
system(exe);
system("pause");
}
| D |
void main() {
auto N = ri;
dstring[] arr = ["a"];
foreach(i; 0..N-1) {
dstring[] tmp;
foreach(s; arr) {
auto n = s.to!(dchar[]).sort().uniq.array.length.to!uint;
foreach(dchar c; 'a'..'a'+n+1) {
tmp ~= (s ~ c);
debug writefln("%s %d", s ~ c, n);
}
}
arr = tmp;
}
arr.sort();
arr.each!write... | D |
test/ex3_2_2.ml:
| D |
(of soil) soft and watery
having the consistency of dough because of insufficient leavening or improper cooking
slow and apathetic
| D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto A = scan!int(N);
auto solve() {
auto called = new bool[](N + 1);
foreach(i; 0..N) {
if (!called[i + 1]) called[A[i]] = true;
}
int[] ans;
foreach(i; 1..N + 1) if (!called[i]) ans ~= i;
ans.length.writeln;
r... | D |
// Written in the D programming language.
/**
String handling functions. Objects of types $(D _string), $(D
wstring), and $(D dstring) are value types and cannot be mutated
element-by-element. For using mutation during building strings, use
$(D char[]), $(D wchar[]), or $(D dchar[]). The $(D *_string) types
are prefer... | D |
instance Info_Swiney_EXIT(C_Info)
{
npc = SFB_1037_Swiney;
nr = 999;
condition = Info_Swiney_EXIT_Condition;
information = Info_Swiney_EXIT_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_Swiney_EXIT_Condition()
{
return 1;
};
func void Info_Swiney_EXIT_Info()
{
AI_StopProcessInfos(self);
}... | D |
func int C_NpcIsMonsterMage(var C_Npc slf)
{
if((slf.guild == GIL_SKELETON_MAGE) || (slf.guild == GIL_FIREGOLEM) || (slf.guild == GIL_ICEGOLEM) || (slf.guild == GIL_DRAGON))
{
return TRUE;
};
return FALSE;
};
| D |
/Users/offshoreadmin/Developer/SwiftPlayground/MultipleProjects/DerivedData/MultipleProjects/Build/Intermediates/ProjectTwo.build/Debug-iphonesimulator/ProjectTwo.build/Objects-normal/x86_64/AppDelegate.o : /Users/offshoreadmin/Developer/SwiftPlayground/MultipleProjects/ProjectTwo/ProjectTwo/ViewController.swift /Users... | D |
module gfx.sampler;
import opengl;
import gfx.globject;
class Sampler : GLObject
{
static struct Desc
{
GLenum addrU = GL_REPEAT;
GLenum addrV = GL_REPEAT;
GLenum addrW = GL_REPEAT;
GLenum minFilter = GL_NEAREST;
GLenum magFilter = GL_NEAREST;
stat... | D |
/Users/stuartweir/rust/rpl/control_flow/target/debug/deps/control_flow-b50b81f1dbf09127: src/main.rs
/Users/stuartweir/rust/rpl/control_flow/target/debug/deps/control_flow-b50b81f1dbf09127.d: src/main.rs
src/main.rs:
| D |
const string KAPITELANFANG = "Początek rozdziału.";
//***************************************************************************
// Rahmen-Infos
//***************************************************************************
instance KapitelHelper_Exit (C_INFO)
{
npc = KapitelHelper;
nr = 999;
condition = K... | D |
import std.stdio;
import std.math;
import gfm.sdl2.all;
import gfm.common.all;
import gfm.opengl.all;
class MyWindow : SDL2Window
{
this(SDL2 sdl2, box2i position, bool fullscreen)
{
super(sdl2, position, fullscreen, true, false);
}
}
void main()
{
auto log = new ConsoleLog();
auto sdl2 ... | D |
/Users/organicads/Documents/Apps/AppFamily-DQM/Quattro_v1_1/BaseApp-Quattro_1.0/DerivedData/BaseApp-Quattro_1.0/Build/Intermediates/BaseApp-Quattro_1.0.build/Debug-iphonesimulator/BaseApp-Quattro_1.0.build/Objects-normal/x86_64/AppDelegate.o : /Users/organicads/Documents/Apps/AppFamily-DQM/Quattro_v1_1/BaseApp-Quattro_... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.