code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
import std.stdio : writefln;
import std.random : choice;
import std.array : appender;
import std.algorithm : each;
import std.math : PI;
import bindbc.sdl : SDL_QuitEvent;
import bindbc.opengl :
GL_COLOR_BUFFER_BIT,
GL_DEPTH_BUFFER_BIT,
GL_DEPTH_TEST;
import bindbc.opengl :
glClearColor,
glClear,
... | D |
module app;
import vibe.http.fileserver;
import vibe.http.router;
import vibe.http.server;
import index;
import std.functional : toDelegate;
void showError(HTTPServerRequest req, HTTPServerResponse res, HTTPServerErrorInfo error)
{
res.render!("error.dt", req, error);
}
shared static this()
{
auto router = new UR... | D |
/*
Implementation of backtracking mystd.regex engine.
Contains both compile-time and run-time versions.
*/
module mystd.regex.internal.backtracking;
package(mystd.regex):
import mystd.regex.internal.ir;
import mystd.range, mystd.typecons, mystd.traits, core.stdc.stdlib;
/+
BacktrackingMatcher implements ... | D |
module color;
enum Color
{
RED,
ORANGE,
YELLOW,
GREEN,
LIGHTBLUE,
BLUE,
PURPLE
};
| D |
// D import file generated from 'gamelib\texteffect.d'
module gamelib.texteffect;
import gamelib.all;
import std.stdio;
import std.conv;
import mylib.list;
class TextEffect
{
Vector pos;
this()
{
}
public final void draw(Drawer drawer, Color color, Vector pos, wstring str, int count, Font font, double blend... | D |
module ogre.cityhash;
// Copyright (c) 2011 Google, Inc.
//
// 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 limitation the rights
// to use, copy, m... | D |
int g = 0;
static ~this() { assert(g == 100); }
void main()
out
{
g = 100;
}
do
{
//return;
// expected return code == 0
}
| D |
// Written by Christopher E. Miller
// This code is public domain.
// To compile:
// dfl droplist -gui
// Note: you can even open two instances and drop items between them.
private import dfl.all;
class DropListBox: ListBox
{
this()
{
allowDrop = true;
drawMode = DrawMode.OWNER_DRAW_FIXED;
itemHeight = ... | D |
/**
* Functions for rendering primitives
*
* Copyright: © 2014 kuviman
* License: MIT
* Authors: kuviman
*/
module vpe.draw.primitives;
import vpe.internal;
/// Render a quad (0, 0)-(1, 1)
void quad() {
colorShader.renderQuad();
}
/// Render a polygon
void polygon(vec2[] points...) {
auto poly = new RawPolyg... | D |
/**
* Implementation of a custom allocator red-black tree container.
*
* Copyright: Red-black tree code copyright (C) 2008- by Steven Schveighoffer. Other code
* copyright 2010- Andrei Alexandrescu. All rights reserved by the respective holders.
* License: Distributed under the Boost Software License, Version 1.... | 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 |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
Copyright 2010 Lennart Poettering
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 witho... | D |
/Users/sapientisat/Projects/Supplements/Supplements/XcodeBuild/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/UILayoutSupport+Extensions.o : /Users/sapientisat/Projects/Supplements/Supplements/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/sapientisat/Projects/Supp... | 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 java.text.ParsePosition;
import java.lang.all;
import java.util.Date;
class ParsePosition{
this(int index){
implMissing(__FILE__, __LINE__);
}
bool equals(Object obj){
implMissing(__FILE__, __LINE__);
return 0;
}
int getErrorIndex(){
implMissing... | D |
/Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Delegate.o : /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/Kin... | D |
module d.parser.ambiguous;
import d.ast.declaration;
import d.ast.expression;
import d.ast.identifier;
import d.ast.type;
import d.parser.base;
import d.parser.declaration;
import d.parser.expression;
import d.parser.type;
import d.parser.identifier;
import d.parser.util;
import std.range;
/**
* Branch to the righ... | D |
/home/ananthan/Desktop/emailv/target/debug/build/regex-0a736ca2b84fe956/build_script_build-0a736ca2b84fe956: /home/ananthan/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.2.11/build.rs
/home/ananthan/Desktop/emailv/target/debug/build/regex-0a736ca2b84fe956/build_script_build-0a736ca2b84fe956.d: /home/ananthan... | D |
instance Mod_1800_HEX_Hexe_PAT (Npc_Default)
{
// ------ NSC ------
name = Name_hexe;
guild = GIL_strf;
id = 1800;
voice = 16;
flags = 0;
npctype = NPCTYPE_pat_hexe;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ----... | D |
// Copyright (C) 2002-2013 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine" for the D programming language.
// For conditions of distribution and use, see copyright notice in irrlicht.d module.
module irrlicht.scene.IParticleSystemSceneNode;
import irrlicht.scene.ISceneNode;
import irrlicht.scene.IScene... | D |
capable of or reflecting the capability for correct and valid reasoning
based on known statements or events or conditions
marked by an orderly, logical, and aesthetically consistent relation of parts
capable of thinking and expressing yourself in a clear and consistent manner
| D |
# FIXED
driverlib/i2c.obj: C:/Users/Max/Desktop/TivaWare_C_Series-2.1.3.156/driverlib/i2c.c
driverlib/i2c.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdbool.h
driverlib/i2c.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h
driverlib/i2c.obj: C:/Users/Max/Desktop/TivaWare_C_Serie... | D |
module d.parser.declaration;
import d.ast.base;
import d.ast.declaration;
import d.ast.expression;
import d.ast.identifier;
import d.ast.type;
import d.ir.expression;
import d.parser.adt;
import d.parser.base;
import d.parser.conditional;
import d.parser.expression;
import d.parser.identifier;
import d.parser.statem... | D |
/Users/gauthamsezhian/Desktop/iCycle/iCycle/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Request.o : /Users/gauthamsezhian/Desktop/iCycle/iCycle/Pods/Alamofire/Source/Alamofire.swift /Users/gauthamsezhian/Desktop/iCycle/iCycle/Pods/Alamofire/Source/Download.swift /Users/gauthamsezhian/De... | D |
module BitLib;
import std.c.windows.windows;
import core.sys.windows.dll;
__gshared HINSTANCE g_hInst;
extern (Windows)
BOOL DllMain(HINSTANCE hInstance, ULONG ulReason, LPVOID pvReserved)
{
switch (ulReason)
{
case DLL_PROCESS_ATTACH:
g_hInst = hInstance;
dll_process_attach( ... | D |
//-----------------------------------------------------------------------------
// wxD - SashWindow.d
// (C) 2005 bero <berobero@users.sourceforge.net>
// based on
// wx.NET - SashWindow.cs
//
/// The wxSashWindow wrapper classes.
//
// Written by Alexander Olk (xenomorph2@onlinehome.de)
// (C) 2004 Alexander ... | D |
/Users/seandorian/Code/PasswordStrength/Build/Intermediates/SwiftMigration/Password\ Strength/Intermediates.noindex/Password\ Strength.build/Debug-iphonesimulator/Password\ Strength.build/Objects-normal/x86_64/ViewController.o : /Users/seandorian/Code/PasswordStrength/Password\ Strength/AppDelegate.swift /Users/seandor... | D |
module workspaced.com.dub;
import core.exception;
import core.sync.mutex;
import core.thread;
import std.algorithm;
import std.array : appender;
import std.conv;
import std.exception;
import std.json : JSONType, JSONValue;
import std.parallelism;
import std.regex;
import std.stdio;
import std.string;
import painless... | D |
module bio.gff3.conv.gtf;
import std.stdio, std.array;
import bio.gff3.record_range, bio.gff3.record, bio.gff3.conv.gff3,
bio.gff3.validation;
import util.esc_char_conv;
private {
bool ignore;
}
void to_gtf(RecordRange records, File output, long at_most = -1, out bool limit_reached = ignore) {
limit_reach... | D |
// https://bugzilla.gdcproject.org/show_bug.cgi?id=142
// { dg-do compile }
import gcc.attributes;
@attribute("noinline")
int test142a()()
{
return 142;
}
void test142()
{
enum E142 = test142a();
}
| D |
dmach (3) --- Burroughs D-machine simulator 03/25/82
_U_s_a_g_e
dmach <hex file>
_D_e_s_c_r_i_p_t_i_o_n
'Dmach' is a simulator for the microprogrammed Burroughs
D-machine described in _M_i_... | 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;
public import hunt.validation.constraints;
public import hunt.validation.validators;... | D |
module android.java.java.util.Vector;
public import android.java.java.util.Vector_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Vector;
import import3 = android.java.java.util.ListIterator;
import import10 = android.java.java.lang.Class;
import import9 = android.java.java.util.Spliterator;
i... | D |
// D import file generated from 'crypto_auth_hmacsha512.d' renamed to 'crypto_auth_hmacsha512.d' (method [only for original == header file] results in very compact code and obviates to overhaul comments now)
module sodium.crypto_auth_hmacsha512;
import sodium.crypto_hash_sha512;
extern (C)
{
enum crypto_auth_hmacsh... | D |
module android.java.javax.security.auth.callback.Callback_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
final class Callback : IJavaObject {
sta... | D |
/Users/oslo/code/swift_vapor_server/.build/debug/FluentTester.build/Atom.swift.o : /Users/oslo/code/swift_vapor_server/Packages/Fluent-1.4.1/Sources/FluentTester/Atom.swift /Users/oslo/code/swift_vapor_server/Packages/Fluent-1.4.1/Sources/FluentTester/Compound.swift /Users/oslo/code/swift_vapor_server/Packages/Fluent-1... | D |
func void B_Dragon_Undead_Bla()
{
AI_Output(self,other,"DIA_Addon_UndeadDragon_Add_20_00"); //Well, kid? Have you got an original copy, then?
};
instance DIA_Dragon_Undead_Exit(C_Info)
{
npc = Dragon_Undead;
nr = 999;
condition = DIA_Dragon_Undead_Exit_Condition;
information = DIA_Dragon_Undead_Exit_Info;
perm... | D |
module dlangui.graphics.xpm.reader;
/**
* Reading .xpm files.
*
* Copyright: Roman Chistokhodov, 2015
* License: Boost License 1.0
* Authors: Roman Chistokhodov, freeslave93@gmail.com
*
*/
import dlangui.graphics.xpm.xpmcolors;
import dlangui.graphics.colors;
import dlangui.graphics.drawbuf;
import std.a... | 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.
Macros: WIKI = Phobos/StdFormat
Copyright: Copyright Digital Mars 2000-.
License: $(WEB boost.o... | D |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | D |
class A {
void main() {
Int a = 0;
if (a == 0) a = 1;
else a = 2;
if (a == 0) a = 1;
el a = 2;
}
}
| D |
/*
* hunt-time: A time library for D programming language.
*
* Copyright (C) 2015-2018 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.time.chrono.ChronoLocalDate;
import hunt.time.temporal.ChronoField;
import hunt.stream.Common;
im... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2018 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 org.apache.commons.imaging.common.bytesource;
public import org.apache.commons.imaging.common.bytesource.ByteSource;
public import org.apache.commons.imaging.common.bytesource.ByteSourceArray;
public import org.apache.commons.imaging.common.bytesource.ByteSourceFile;
public import org.apache.commons.imagin... | D |
/**
* Contains the external GC interface.
*
* Copyright: Copyright Digital Mars 2005 - 2013.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, Sean Kelly
*/
/* Copyright Digital Mars 2005 - 2013.
* Distributed under the Boost Software License, Version 1.0... | D |
module dui.internal.renderer.backend;
import dui;
struct ShaderSource {
string vertex;
string fragment;
}
interface Shader {
void free();
void setUniform(string name, float value);
void setUniform(string name, int value);
void setUniform(string name, FVec2 value);
void setUniform(string name, FVec3 value);
vo... | D |
a conspicuous constellation in the southern hemisphere near the Southern Cross
| D |
module dmagick.c.magickVersion;
import core.stdc.config;
import core.stdc.stdio;
extern(C)
{
version(MagickCore_660)
{
/// Defines the version of ImageMagick where these headers are based on.
enum MagickLibVersion = 0x660;
///ditto
enum MagickLibVersionText = "6.6.0";
}
else version(MagickCore_661)
{
/... | D |
instance DIA_BABO_KAP1_EXIT(C_INFO)
{
npc = nov_612_babo;
nr = 999;
condition = dia_babo_kap1_exit_condition;
information = dia_babo_kap1_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_babo_kap1_exit_condition()
{
if(KAPITEL == 1)
{
return TRUE;
};
};
func void dia_babo_kap1_exit... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1994-1998 by Symantec
* Copyright (C) 2000-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
/Users/etudiant/Desktop/PROJET\ 4AL2/GroupUp/GroupUp/DerivedData2/GroupUp/Build/Intermediates.noindex/GroupUp.build/Debug-iphonesimulator/GroupUp.build/Objects-normal/x86_64/SettingsTableViewController.o : /Users/etudiant/Desktop/PROJET\ 4AL2/GroupUp/GroupUp/GroupUp/AppDelegate.swift /Users/etudiant/Desktop/PROJET\ 4AL... | 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 |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Async.build/Collection+Future.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/core/Sources/Asy... | D |
//Modified by: 1100110
import std.stdio : writefln;
import deimos.ncurses;
void main()
{
int ch;
initscr();
cbreak(); //Line buffering disabled
noecho();
keypad(stdscr, true);
ch = getch();
endwin();
writefln("The key pressed is: %d", ch);
}
| D |
/**
* TypeInfo support code.
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright
*/
/* Copyright Digital Mars 2004 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying... | D |
module jeringoso;
import std.stdio, std.regex, std.array;
//tomar una frase y convertirla en jeringoso. da por hecho que los argumentos consisten en una cadena de texto
void main(string[] args) {
args.popFront();
string[] frase;
foreach (arg; args) {
auto j = new jeringosear(arg);
frase ~= j.papalapabrapa;
}
... | 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_18_MobileMedia... | D |
func void B_LookAndSay(var int BS_STATE)
{
if(Npc_GetDistToNpc(self,other) <= 700)
{
AI_LookAtNpc(self,other);
B_Say_Smalltalk(BS_STATE);
AI_StopLookAt(self);
};
};
func void B_Detect_And_SaySmallTalk(var int BS_STATE)
{
var int random_r;
random_r = Hlp_Random(5);
Npc_PerceiveAll(self);
if(random_r <= 1)
... | D |
module ll_lex;
import scanner;
import std.stream, std.string, std.stdio;
// really simple lexer.
// tokenize on space, but discard // lines and group {: ... :} (non-greedy) as code
class SimpleLexer{
InputStream stream;
stack.Queue!char already_read;
bool[char] whitespace;// = [' ':true,'\t':true,'\n':true,'\r':... | D |
/**
* Provides an AST printer for debugging.
*
* Copyright: Copyright (C) 1999-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.txt, Boost License 1.0)
* Source: $(LINK2 https:/... | D |
instance GRD_282_Nek (Npc_Default)
{
//-------- primary data --------
name = "Dead Guard"; //Nek
npctype = npctype_main;
guild = GIL_GRD;
level = 10;
voice = 7;
id = 282;
//-------- abilities --------
attribute[ATR_STRENGTH] = 40;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] =... | 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 |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/HTTP.build/Status/Status.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/HTTP/Async/Response+Async.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/So... | D |
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Platform.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin... | D |
/*
TEST_OUTPUT:
---
fail_compilation/ice18753.d(21): Error: variable `ice18753.isInputRange!(Group).isInputRange` type `void` is inferred from initializer `ReturnType(func...)`, and variables cannot be of type `void`
fail_compilation/ice18753.d(23): Error: template instance `ice18753.isInputRange!(Group)` error instant... | D |
import qte5;
import core.runtime; // Обработка входных параметров
import std.stdio;
// =================================================================
// Форма: Проверка QTextEdit
// =================================================================
extern (C) {
void onKn1(CTest* uk) { (*uk).runKn1(); }
... | D |
any of a class of highly reactive chemical compounds
| D |
# FIXED
lcd.obj: C:/ayush2_nigam4/repo/trunk/Lab5/F28377sSrc/lcd.c
lcd.obj: C:/ayush2_nigam4/repo/trunk/Lab5/F28377sHeaders/f28377sCoecsl.h
lcd.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stdio.h
lcd.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/linkage.h
lcd.obj... | D |
// Written by Christopher E. Miller
// See the included license.txt for copyright and license details.
///
module dfl.listbox;
static import std.algorithm;
private import dfl.internal.dlib;
private import dfl.internal.winapi, dfl.control, dfl.base, dfl.application;
private import dfl.drawing, dfl.event, dfl.collec... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gio.credentials;
/* GDBus - GLib D-Bus Library
*
* Copyright (C) 2008-2010 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by... | D |
displaying luxury and furnishing gratification to the senses
rich and superior in quality
| D |
module main;
import std.string;
import derelict.sdl.sdl;
import derelict.opengl.gl;
import derelict.opengl.glu;
import derelict.freetype.ft;
import dlib.math.vector;
import dlib.image.color;
import dgl.core.application;
import dgl.core.layer;
import dgl.ui.ftfont;
import dgl.ui.textline;
import dgl.templates.freevi... | D |
/**
This module is a submodule of $(LINK2 std_range_package.html, std.range).
It provides basic range functionality by defining several templates for testing
whether a given object is a _range, and what kind of _range it is:
$(BOOKTABLE ,
$(TR $(TD $(D $(LREF isInputRange)))
$(TD Tests if something is an ... | D |
func int B_GiveInvItems(var C_Npc giver,var C_Npc taker,var int itemInstance,var int amount)
{
var string concatText;
var string itemname;
if(Npc_IsPlayer(giver))
{
if(amount > Npc_HasItems(giver,itemInstance))
{
return FALSE;
};
};
if(amount == 0)
{
return TRUE;
};
Npc_RemoveInvItems(giver,itemI... | D |
/Users/Michaela/Documents/GitHub/rustbook/00_gettingStarted/helloWorld/target/debug/deps/helloWorld-b9a833d3082aa356.rmeta: src/main.rs
/Users/Michaela/Documents/GitHub/rustbook/00_gettingStarted/helloWorld/target/debug/deps/helloWorld-b9a833d3082aa356.d: src/main.rs
src/main.rs:
| D |
module xf.loader.Log;
private {
import xf.utils.Log;
import xf.utils.Error;
}
mixin(createLoggerMixin("loaderLog"));
mixin(createErrorMixin("LoaderException", "loaderError"));
| D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Copyright (C) 2012 Intel Corporation.
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL2... | D |
// Converted from http://mrl.nyu.edu/~perlin/noise/
import std.math;
double fade(double t) { return t * t * t * (t * (t * 6 - 15) + 10); }
double lerp(double t, double a, double b) { return a + t * (b - a); }
double grad(int hash, double x, double y, double z) {
int h = hash & 15; // CONVER... | D |
/Users/JenishMistry/DEMOS/MVCDemoAPI/DerivedData/MVCDemoAPI/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/URLRequest+Alamofire.o : /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/Alamofire/Source/MultipartFormData.swift /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/Alamofire/S... | D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Jun 3, 2011
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module dvm.commands.Uninstall;
import tango.io.device.File;
import tango.text.Util;
im... | D |
module org.serviio.library.local.metadata.extractor.embedded.h264.AnnexBNALUnitReader;
import java.io.IOException;
import java.util.Arrays;
import org.serviio.library.local.metadata.extractor.embedded.h264.NALUnitReader;
import org.serviio.library.local.metadata.extractor.embedded.h264.BufferWrapper;
public class Ann... | D |
/// Install all Linux games under 100 MB
import std.algorithm;
import std.array;
import std.conv;
import std.json;
import ae.utils.array;
import cache;
import steamcmd;
void main()
{
SteamCMD steam;
steam.start();
steam.login();
auto licenses = steam.getLicenses();
foreach (id; licenses.map!(license => steam.g... | 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 |
/**
Utility functions for string processing
Copyright: © 2012 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.utils.string;
public import std.string;
import std.algorithm;
import std.array;
import std.uni;
i... | D |
/**
* Authors: Felix Hufnagel
* Copyright: Felix Hufnagel
* License: http://www.boost.org/LICENSE_1_0.txt
*/
module ext.math.angle;
import std.math;
///
struct Radian
{
public:
this(T)(in T r = 0)
{
static if(T == Radian)
{
mRad = r.mRad;
}
else if (T == Degree)
{
mRad = r.valueDegrees();... | D |
instance ORG_864_ESTEBAN(Npc_Default)
{
name[0] = "Esteban";
npcType = npctype_main;
guild = GIL_None;
level = 12;
voice = 13;
id = 864;
attribute[ATR_STRENGTH] = 60;
attribute[ATR_DEXTERITY] = 50;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 202;
attribute[ATR_HITPOI... | D |
import std.stdio;
import std.conv;
import std.array;
import std.algorithm;
import std.string;
import std.range;
import std.regex;
import std.typecons;
auto getInputLines() {
return generate!(() => readln.strip).until(null).array;
}
T[][] combinations(T)(in T[] arr, in int k) pure nothrow {
if (k == 0)
... | D |
/root/github/compiler/week1_integers/compiler/target/release/deps/compiler-0671e30ae09b943a: src/main.rs
/root/github/compiler/week1_integers/compiler/target/release/deps/compiler-0671e30ae09b943a.d: src/main.rs
src/main.rs:
| D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.build/Log/PrintLogHandler.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/database-kit.git-6979136078057500527/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts... | D |
# FIXED
grlib/msp-exp432p401r_grlib_example/fonts/fontcmsc48.obj: ../grlib/msp-exp432p401r_grlib_example/fonts/fontcmsc48.c
../grlib/msp-exp432p401r_grlib_example/fonts/fontcmsc48.c:
| D |
module epcompat.array;
// Test with rdmd -m64 -main -unittest -debug -g source\epcompat\array.d
// TODO multi-dimansional arrays. Need to support different types for different dimensions?
struct StaticArray(T, E) if (is(E == enum))
{
T[E.max - E.min + 1] _payload;
alias _payload this;
/**
Indexing... | D |
// Written in the D programming language
// Author: Timon Gehr
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import std.typecons, std.typetuple;
import std.functional, std.algorithm;
import std.conv, std.array;
import std.random;
import util;
struct HashMap(K, V, alias eq_ , alias h_){
alias ... | D |
module gfm.core.structpool;
/// Manage memory allocation for same-sized non-contiguous structs.
/// Non-growable.
/// For POD types only.
/// Bugs: This class sucks. It will be removed once std.allocator is ready.
deprecated("StructPool is useless, it will be removed.") class StructPool(T)
{
public
{
/... | 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_8_BeT-64211172... | D |
module fftu;
import std.stdio;
import metafft;
import fint;
mixin template makeFFT(F, U, uint n)
{
mixin FFTTOOLS!(F, U) mytools;
struct FFT
{
mixin WZC!(F, U, n);
}
FFT fft;
unittest
{
mytools.fftprod([10], [17]).writeln();
}
}
mixin makeFFT!(B4, ubyte, 4) fft4;
mixi... | D |
an enclosed compartment from which a vessel can be navigated
| D |
/******************************************************************************
This module contains the 'debug' standard library.
License:
Copyright (c) 2008 Jarrett Billingsley
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages ari... | D |
any of a group of organic substances essential in small quantities to normal metabolism
| D |
instance DMT_1213_MORIUS(Npc_Default)
{
name[0] = "Morius";
guild = GIL_NONE;
level = 500;
voice = 18;
id = 1213;
flags = 0;
flags = NPC_FLAG_IMMORTAL;
aivar[94] = NPC_EPIC;
aivar[AIV_EnemyOverride] = TRUE;
aivar[AIV_ToughGuy] = TRUE;
aivar[AIV_ToughGuyNewsOverride] = TRUE;
aivar[AIV_IGNORE_Murder] = TRUE;... | D |
module android.java.android.net.wifi.p2p.WifiP2pManager_ServiceResponseListener;
public import android.java.android.net.wifi.p2p.WifiP2pManager_ServiceResponseListener_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!WifiP2pManager_ServiceResponseListener;
import import1 = android.java.java.lan... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.