code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/**
Files
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Martin Nowak
Source: $(PHOBOSSRC std/io/net/_package.d)
*/
module std.io.file;
import std.io.exception : enforce;
import std.io.internal.string;
import std.io.driver;
version (Posix)
{
import core.sys.posix.fcntl;
i... | D |
// a team owning its things
struct Team {
} | D |
module UnrealScript.TribesGame.GFxTrPage_JoinMatch;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.GFxTrAction;
import UnrealScript.TribesGame.GFxTrPage;
import UnrealScript.GFxUI.GFxObject;
extern(C++) interface GFxTrPage_JoinMatch : GFxTrPage
{
public extern(D):
privat... | D |
/Users/timobrien/projects/WebViewLayout/DerivedData/UIWebViewLayout/Build/Intermediates/Pods.build/Debug-iphonesimulator/FileKit.build/Objects-normal/x86_64/NSData+FileKit.o : /Users/timobrien/projects/WebViewLayout/Pods/FileKit/Sources/Array+File.swift /Users/timobrien/projects/WebViewLayout/Pods/FileKit/Sources/Array... | D |
import dinrus;
void main()
{
Процессор проц;
скажинс(проц.вТкст());
пауза;
} | D |
/* Eratosthenes Sieve prime number calculation. */
import std.stdio;
bool flags[8191];
int main()
{
int i, prime, k, count, iter;
writefln("10 iterations");
for (iter = 1;
iter <= 10;
iter++)
{
count = 0;
flags[] = true;
for (i = 0; i < flags.length; i+... | D |
import xkeybind;
import std.stdio;
void main()
{
XKeyBind.load();
XKeyBind.bind("Ctrl-Shift-X", (mod, key) {
writeln("Unbound");
XKeyBind.unbind("Ctrl-Shift-X");
});
while (true)
{
XKeyBind.update();
}
}
| 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 |
/*******************************************************************************
* 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 |
module test_2_3_4; unittest {
import helpers.d_shims;
import helpers.d_shims;
import helpers.testThreeCases : testFulfilled;
import helpers.testThreeCases : testRejected;
struct Dummy { string dummy = "dummy"; } Dummy dummy; // we fulfill or reject with this when we don't intend to test against it
describe("2.3.4:... | D |
module Structures.SelectRect;
import GBAUtils.Rectangle;
public static class SelectRect : Rectangle
{
int startX;
int startY;
int realWidth;
int realHeight;
bool moved = false;
public this(int i, int j, int k, int l) {
super(i,j,k,l);
startX = i;
startY = j;
realWidth = k;
realHeight = l;
}
}
| D |
instance Mod_1753_KDF_Magier_PAT (Npc_Default)
{
// ------ NSC ------
name = NAME_ordenspriester;
guild = GIL_vlk;
id = 1753;
voice = 13;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_pat_ordenspriester_mauer;
// ------ Attribute ------
B_SetAttributesToChapter (self... | D |
/**
This module implements a generic axis-aligned bounding box (AABB).
*/
module math.box;
import std.math,
std.traits,
std.conv,
std.string;
import math.vector,
math.funcs;
/// N-dimensional half-open interval [a, b[.
struct Box(T, int N)
{
static assert(N > 0);
public
{
... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licens... | D |
module org.serviio.delivery.resource.AudioDeliveryEngine;
import java.lang.Integer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map : Entry;
import org.serviio.delivery.AudioMediaInfo;... | D |
/++
+ The Seen plugin implements "seen" functionality; the ability for someone to
+ query when a given nickname was last seen online.
+
+ We will implement this by keeping an internal `long[string]` associative
+ array of timestamps keyed by nickname. Whenever we see a user do something,
+ we will update his... | D |
/* $Id: st13a.d,v 1.1 2008/10/24 22:54:20 devel Exp $ */
#include <math.h>
#include "bcode.h"
#include "ldev.h" /* hardware device defines */
#include "lcode.h" /* Ecodes */
#include "lcalib.h" /* local (per-rig) screen calibration */
#include "make_msg.h" /* funcs to form command messages */
#include "transport.h... | D |
/Users/parkingsq1/Documents/project/PushPill/DerivedData/PushPill/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/Debugging.o : /Users/parkingsq1/Documents/project/PushPill/Pods/SnapKit/Source/Constraint.swift /Users/parkingsq1/Documents/project/PushPill/Pods/SnapKit/Source/Cons... | D |
module dminer.core.world;
import dminer.core.minetypes;
import dminer.core.blocks;
const int MAX_VIEW_DISTANCE_BITS = 8;
const int MAX_VIEW_DISTANCE = (1 << MAX_VIEW_DISTANCE_BITS);
// Layer is 16x16 (CHUNK_DX_SHIFT x CHUNK_DX_SHIFT) cells
immutable int CHUNK_DX_SHIFT = 4;
immutable int CHUNK_DX = (1<<CHUNK_DX_SHIFT... | D |
# FIXED
OSAL/osal_memory_icall.obj: C:/ti/r2/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/common/osal_memory_icall.c
OSAL/osal_memory_icall.obj: C:/ti/r2/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc/comdef.h
OSAL/osal_memory_icall.obj: C:/ti/r2/simplelink_cc2640r2_sdk_1_30_00_25... | D |
// Written in the D programming language.
/**
Functions and types that manipulate built-in arrays and associative arrays.
This module provides all kinds of functions to create, manipulate or convert arrays:
$(BOOKTABLE ,
$(TR $(TH Function Name) $(TH Description)
)
$(TR $(TD $(D $(LREF _array)))
$(TD Retu... | D |
/*******************************************************************************
Struct template which wraps a void[] with an API allowing it to be safely
used as an array of another type.
It is, of course, possible to simply cast a void[] to another type of array
and use it directly. However, care mu... | D |
import hunt.http.client;
import hunt.http.server;
import hunt.trace.Tracer;
import hunt.logging.ConsoleLogger;
import hunt.util.DateTime;
import std.conv;
import std.format;
import std.json;
import std.range;
import std.stdio;
/**
"versions": [
"HUNT_DEBUG", "HUNT_HTTP_DEBUG", "HUNT_NET_DEBUG"
],
*/
void ... | D |
producing no result or effect
| D |
/Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/Service.build/Objects-normal/x86_64/Environment.o : /Users/petercernak/vapor/TILApp/.build/checkouts/service.git-4489542127361579605/Sources/Service/Services/ServiceID.swift /Users/petercernak/vapor/TILApp/.build/checkouts/service.git-448954... | D |
/**
* Defines declarations of various attributes.
*
* The term 'attribute' refers to things that can apply to a larger scope than a single declaration.
* Among them are:
* - Alignment (`align(8)`)
* - User defined attributes (`@UDA`)
* - Function Attributes (`@safe`)
* - Storage classes (`static`, `__gshared`)
... | D |
int dis(int a,int b){
if(a>b){return a-b;}
return b-a;
}
struct localcolor{
int r;
int g;
int b;
int distence(localcolor a){
int sq(int i){return i*i;}
import std.math;import std.conv;
return sqrt(sq(r-a.r)+sq(g-a.g)+sq(b-a.b)+float(0)).to!int;
}
import raylib;
auto get(){
return Color(cast(ubyte)r,cas... | D |
/Users/macmini2/Desktop/framework/Perfect-Thread/.build/x86_64-apple-macosx10.10/debug/PerfectThread.build/Threading.swift.o : /Users/macmini2/Desktop/framework/Perfect-Thread/Sources/Promise.swift /Users/macmini2/Desktop/framework/Perfect-Thread/Sources/ThreadQueue.swift /Users/macmini2/Desktop/framework/Perfect-Threa... | D |
module std.historical.logger.nulllogger;
import std.historical.logger.core;
/** The $(D NullLogger) will not process any log messages.
In case of a log message with $(D LogLevel.fatal) nothing will happen.
*/
class NullLogger : Logger
{
/** The default constructor for the $(D NullLogger).
Independent of the... | D |
Z S Y R 2 K EXAMPLE PROGRAM DATA
3 4 :Values of n, k
(0.5,-1.25) (1.2,0.0) :Values of alpha, beta
U T :Values of uplo, trans
(1.0, 0.77) ( 2.25,-3.23) ( 3.33, 0.0)
(4.0, 0.0) ( 5.0, 0.0) ( 3.0, -1.0)
(3.2,-0.1) ( 2.7, 0.5) (-1.1, 4.0)
(0.0, 3.91) ( 4.11, 1... | D |
module entity.utils.time;
import std.datetime;
import core.stdc.time;
int getCurrUnixStramp()
{
SysTime currentTime = cast(SysTime)Clock.currTime();
time_t time = currentTime.toUnixTime;
return cast(int)(time);
}
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2020 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/shawngong/Centa/.build/debug/Fluent.build/Schema/Schema+Field.swift.o : /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Database.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Driver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Entity/Entity.s... | 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_12_BeT-1334528... | D |
module android.java.android.view.Window_Callback;
public import android.java.android.view.Window_Callback_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Window_Callback;
import import3 = android.java.android.view.View;
import import11 = android.java.java.lang.Class;
import import8 = android.j... | D |
// *******************************************
// ZS_MM_EatBody
// -------------
// geht davon aus, daß ein Body gefunden wurde
// *******************************************
func void ZS_MM_EatBody()
{
Npc_SetPercTime (self, 1);
Npc_PercEnable (self, PERC_ASSESSMAGIC, B_AssessMagic); //selbe Rkt wie Human... | D |
/home/sniadek/Projects/advent-of-code-2019/day-four/target/debug/deps/day_four-28eca759b90f5cca: src/main.rs
/home/sniadek/Projects/advent-of-code-2019/day-four/target/debug/deps/day_four-28eca759b90f5cca.d: src/main.rs
src/main.rs:
| D |
# Additional options that are passed to the fexd.
FEXOPTS="-v"
# if fexd has to work with the dnotify-mechnism, adjust the maximum
# of open directories
#MAX_DIRS=8192
| 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 |
/*******************************************************************************
copyright: Copyright (c) 2006 Juan Jose Comellas. Все права защищены
license: BSD стиль: $(LICENSE)
author: Juan Jose Comellas <juanjo@comellas.com.ar>
*****************************************************************... | D |
/Users/azimin/Downloads/Hello2/.build/debug/HTTP.build/Async/Response+Async.swift.o : /Users/azimin/Downloads/Hello2/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/azimin/Downloads/Hello2/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Method/Method.swift /Us... | D |
module yagg.widget;
import yagg.placeholder;
// base class for widgets
class Widget
{
private:
OnClick on_click_;
public:
bool isMouseOver = false;
alias void delegate() OnClick;
@property onClick(OnClick handler) { on_click_ = handler; }
@property onClick() { if(on_click_ !is null) on_click_... | D |
module misanthropyd.platform.opengl.oglbuffers;
import bindbc.opengl;
import misanthropyd.renderer.buffers;
/// implements VertexBuffer with OpenGL
class OGLVertexBuffer : VertexBuffer
{
/// constructor
this(const float[] vertices) nothrow @nogc
{
glCreateBuffers(1, &id_);
glBindBuffer(GL_ARRAY_BUFFER, id_);
... | D |
func void uselehren_der_goetter1_bookstand()
{
var int nDocID;
nDocID = Doc_Create();
Doc_SetPages(nDocID,2);
Doc_SetPage(nDocID,0,"Book_Red_L.tga",0);
Doc_SetPage(nDocID,1,"Book_Red_R.tga",0);
Doc_SetMargins(nDocID,0,275,20,30,20,1);
Doc_SetFont(nDocID,-1,"font_10_book.tga");
Doc_PrintLine(nDocID,0,"");
Doc_... | D |
module UnrealScript.Engine.ParticleModuleStoreSpawnTimeBase;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.ParticleModule;
extern(C++) interface ParticleModuleStoreSpawnTimeBase : ParticleModule
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@propert... | D |
import core.experimental.stdcpp.array;
unittest
{
array!(int, 5) arr;
arr[] = [0, 2, 3, 4, 5];
++arr.front;
assert(arr.size == 5);
assert(arr.length == 5);
assert(arr.max_size == 5);
assert(arr.empty == false);
assert(arr.front == 1);
assert(sumOfElements_val(arr)[0] == 160);
... | D |
module UnrealScript.TribesGame.GFxTrPage_ServerCallin;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.GFxTrAction;
import UnrealScript.TribesGame.GFxTrPage;
import UnrealScript.GFxUI.GFxObject;
extern(C++) interface GFxTrPage_ServerCallin : GFxTrPage
{
public extern(D):
... | D |
module des.math.linear.matrix;
import std.math;
import std.traits;
import std.algorithm;
import std.range;
import std.array;
import std.exception;
import des.util.testsuite;
import des.math.util;
import des.math.linear.vector;
import des.math.linear.quaterni;
import des.math.basic.traits;
///
template isMatrix(E)
{... | D |
/Users/student/Documents/Marketplace/DerivedData/Build/Intermediates/Marketplace.build/Debug-iphonesimulator/Marketplace.build/Objects-normal/x86_64/ItemTableViewCell.o : /Users/student/Documents/Marketplace/Marketplace/CoreDataComponents/Network/Download.swift /Users/student/Documents/Marketplace/Marketplace/CoreDataC... | 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.gui.EMessageBoxFlags;
/// enumeration for message box layout flags
enum EMESSAGE_BOX_FLAG
{
/... | 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 |
/**
* Contains implementations of functions called when the
* -profile=gc
* switch is thrown.
*
* Tests for this functionality can be found in test/profile/src/profilegc.d
*
* Copyright: Copyright Digital Mars 2015 - 2015.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, ... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
298.399994 61.7000008 5.9000001 0 58 62 -19.6000004 116.099998 141 3.29999995 8 0.5 sediments, sandstones, siltstones
310.200012 40.5999985 4.69999981 120.900002 56 59 -33.2000008 151.100006 241 8.60000038 8.60000038 1 extrusives
306.399994 74.1... | D |
/*
* Forest File Finder by erik wikforss
*/
module forest.nodes.node;
import forest.selection;
import brew.math;
public import brew.box;
public import brew.dim;
public import brew.vec;
public import brew.insets;
public import brew.color;
import brew.cairo;
import brew.tween;
import brew.fun;
import brew.misc... | 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 |
/*******************************************************************************
copyright: Copyright (c) 2004 Kris Bell. все rights reserved
license: BSD стиль: $(LICENSE)
version: Initial release: April 2004
author: Kris
... | D |
instance DIA_BAALKAGAN_EXIT(C_INFO)
{
npc = nov_1332_baalkagan;
nr = 999;
condition = dia_baalkagan_exit_condition;
information = dia_baalkagan_exit_info;
permanent = 1;
description = DIALOG_ENDE;
};
func int dia_baalkagan_exit_condition()
{
return 1;
};
func void dia_baalkagan_exit_info()
{
AI_StopProcessI... | D |
/Users/julia/ruhackathon/target/rls/debug/deps/spin-28b8f47481b0389a.rmeta: /Users/julia/.cargo/registry/src/github.com-1ecc6299db9ec823/spin-0.5.2/src/lib.rs /Users/julia/.cargo/registry/src/github.com-1ecc6299db9ec823/spin-0.5.2/src/mutex.rs /Users/julia/.cargo/registry/src/github.com-1ecc6299db9ec823/spin-0.5.2/src/... | D |
/home/liyun/clink/zkp_test/ckb-zkp/target/debug/build/generic-array-0103bcd62cacbfee/build_script_build-0103bcd62cacbfee: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/generic-array-0.14.4/build.rs
/home/liyun/clink/zkp_test/ckb-zkp/target/debug/build/generic-array-0103bcd62cacbfee/build_script_... | D |
module deepmagic.dom.xml.xml;
import deepmagic.dom;
/+
import std.algorithm : count, startsWith;
import std.array;
import std.ascii;
import std.string;
import std.encoding;
+/
enum cdata = "<![CDATA[";
bool isChar(dchar c)
{
if (c <= 0xD7FF)
{
if (c >= 0x20)
return true;
switch(c)
{
case 0xA:
case 0x9:... | D |
/*******************************************************************************
* Copyright (c) 2006, 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, an... | D |
module UnrealScript.Engine.NavMeshGoalFilter_OutOfViewFrom;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.NavMeshGoal_Filter;
import UnrealScript.Engine.NavMeshGoal_GenericFilterContainer;
extern(C++) interface NavMeshGoalFilter_OutOfViewFrom : NavMeshGoal_Filter
{
public exte... | D |
// Written in the D programming language.
/**
* This module handles command line parsing and holds all parsed values.
*
* Copyright: (C) 2019 by Kai Nacke
*
* License: See LICENSE file
*
* Authors: Kai Nacke
*/
module cmdline;
import std.getopt;
/// Name of output file
string output;
/// Debugging requested... | D |
unittest
{
import gravity;
import std.stdio;
string source = "func main() {var a = 10; var b=20; return a + b}";
import gravity.c.vm;
import gravity.c.delegate_;
import gravity.c.value;
extern (C) void report_error(gravity_vm* vm, error_type_t error_type,
const char* description, error_desc_t error_desc, v... | 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 |
void main() {
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
import std.range;
import std.traits;
import std.math;
import std.container;
import std.bigint;
import std.numeric;
import std.conv;
import std.typecons;
import std.uni;
import std.... | D |
/Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/ECB.o : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /User... | D |
instance Mod_1878_GRD_Gardist_MT (Npc_Default)
{
//-------- primary data --------
name = NAME_Gardist;
npctype = npctype_mt_gardistATBANDIT;
guild = GIL_out;
level = 10;
voice = 13;
id = 1878;
//-------- abilities --------
attribute[ATR_STRENGTH] = 35;
attribute[ATR_DEXTERITY] = 35;
attri... | D |
/Users/eligitelman/Documents/GitHub/crushd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftyJSON.build/Objects-normal/x86_64/SwiftyJSON.o : /Users/eligitelman/Documents/GitHub/crushd/Pods/SwiftyJSON/Source/SwiftyJSON.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/... | D |
/*******************************************************************************
copyright: Copyright (c) 2004 Kris Bell. All rights reserved
license: BSD style: $(LICENSE)
version: Mar 2004: Initial release
Dec 2006: Outback release
... | D |
Test.d Test.p1: C:/Users/Roxana/Desktop/CalcRom_PWM/Test.c | D |
/Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Do.o : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/SingleAsync.swi... | D |
instance DIA_Orlan_EXIT(C_Info)
{
npc = BAU_970_Orlan;
nr = 999;
condition = DIA_Orlan_EXIT_Condition;
information = DIA_Orlan_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Orlan_EXIT_Condition()
{
return TRUE;
};
func void DIA_Orlan_EXIT_Info()
{
AI_StopProcessInfos(self);
};
in... | D |
/** Authors: Lars Tandle Kyllingstad
Copyright: Copyright (c) 2009, Lars T. Kyllingstad. All rights reserved.
License: Boost License 1.0
*/
module scid.ports.quadpack.qk15i;
import std.algorithm: max, min;
import std.math;
import scid.core.fortran;
import scid.core.meta;
///
void qk15i(Real, Func)... | D |
/**
A HTTP 1.1/1.0 server implementation.
Copyright: © 2012-2017 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig, Jan Krüger, Ilya Shipunov
*/
module vibe.http.server;
public import vibe.core.net;
public import vibe.http.common;
pub... | D |
module djvm.app;
import core.stdc.stdlib : exit;
import core.stdc.stdio : fopen, fread, printf, FILE;
import djvm.logging : error, info;
@nogc nothrow:
/// Table 4.4-A. Constant pool tags (by section)
/// https://docs.oracle.com/javase/specs/jvms/se14/html/jvms-4.html
enum Tag
{
// literals
Utf8 = 0x01,
Integ... | D |
/// This module contains the data structures representing an EF Model,
/// functions to parse a Model, and functions to validate a Model.
module generator.model;
import std.stdio, std.regex, std.experimental.logger, std.exception,
std.format, std.algorithm;
import scriptlike;
import generator.config;
/// Cont... | D |
module ast.attribute;
import token;
import ast.expression;
import ast.module_;
import ast.symbol;
enum PRLV : ubyte {
undefined,
private_,
package_,
package_specified,
public_,
export_,
protected_,
}
enum STC : ulong {
undefined = 0,
// type qualifier
immut = 1UL >> 1,
const_ = 1UL >> 2,
inout_ = ... | D |
// *************************************************************************
// Kapitel 1
// *************************************************************************
// *************************************************************************
// EXIT
// *********************************************... | D |
put into a box
hit with the fist
engage in a boxing match
enclosed in or set off by a border or box
enclosed in or as if in a box
| D |
///
module dpq.query;
import dpq.connection;
import dpq.value;
import dpq.exception;
import dpq.result;
version(unittest)
{
import std.stdio;
private Connection c;
}
/**
A nice wrapper around various DB querying functions,
to fill even everyday PostgreSQL querying with joy.
Examples:
-------------------
Conn... | D |
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/SQL.build/Objects-normal/x86_64/SQLColumnBuilder.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/sql.git-6484346812122690078/Sources/SQL/SQLBind.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/sql.git-648... | D |
module level.levdraw;
import std.algorithm;
import std.conv;
import std.range;
import std.string;
import basics.alleg5;
import basics.globals;
import file.filename;
import graphic.color;
import graphic.cutbit;
import graphic.graphic;
import graphic.torbit;
import hardware.tharsis;
import level.level;
import tile.draw... | D |
module nes.apu;
import std.conv;
import std.stdio;
import nes.console;
import nes.cpu;
import nes.filter;
enum frameCounterRate = CPUFrequency / 240.0;
ubyte[] lengthTable = [
10, 254, 20, 2, 40, 4, 80, 6, 160, 8, 60, 10, 14, 12, 26, 14,
12, 16, 24, 18, 48, 20, 96, 22, 192, 24, 72, 26, 16, 28, 32, 30
];
ub... | D |
/Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/.build/debug/Jay.build/OutputStream.swift.o : /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/... | D |
module asagi.core.KoiValue;
import std.stdio;
import std.conv;
import asagi.core.KoiObject;
import asagi.core.types.KoiBoolean;
import asagi.core.types.KoiCharacter;
import asagi.core.types.KoiInteger;
import asagi.core.types.KoiString;
abstract class KoiValue : KoiObject {
override KoiBoolean asBoolean() {
... | D |
/*******************************************************************************
A wrapper around POSIX file I/O functionality with convenience extensions.
copyright:
Copyright (c) 2016-2017 sociomantic labs GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENS... | D |
/Users/patricerapaport/Desktop/swift/adminSQL/Build/Intermediates.noindex/Pods.build/Debug/Alamofire.build/Objects-normal/x86_64/TaskDelegate.o : /Users/patricerapaport/Desktop/swift/adminSQL/Pods/Alamofire/Source/MultipartFormData.swift /Users/patricerapaport/Desktop/swift/adminSQL/Pods/Alamofire/Source/Timeline.swift... | D |
const int SPL_COST_PALLIGHT = 5;
const int SPL_COST_LIGHT = 1;
const int SPL_DURATION_PALLIGHT = 5;
const int SPL_DURATION_LIGHT = 5;
instance SPELL_LIGHT(C_SPELL_PROTO)
{
time_per_mana = 500;
spelltype = SPELL_NEUTRAL;
targetcollectalgo = TARGET_COLLECT_NONE;
targetcollectrange = 0;
targetcollectazi = 0;
targe... | D |
// *******************
// C_WantToAttackThief
// *******************
func int C_WantToAttackThief (var C_NPC slf, var C_NPC oth)
{
// ------ ausgenommeme Gilden ------
// ------ NSC ignoriert Diebstahl ------
if (slf.aivar[AIV_IGNORE_Theft] == TRUE)
{
return FALSE;
};
if (B_GetAivar(slf, AIV_LastFightAgainst... | D |
/*
* This file is part of EvinceD.
* EvinceD is based on GtkD.
*
* EvinceD 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 3
* of the License, or (at your option) any later version... | D |
//module framework.gui;
import std.c.stdio;
import std.c.stdlib;
import std.utf;
import framework.c.windows;
import framework.implementation.gui.graphics;
import framework.implementation.gui.menu;
import framework.implementation.gui.window;
import framework.implementation.gui.form;
import framework.imp... | D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Aug 6, 2011
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module tests.Pointer;
import orange.serialization.Serializer;
import orange.serializati... | D |
P, BAR 8.1600 8.1357 4.5772 0.6851
| D |
module UnrealScript.TribesGame.TrDmgType_TCN4SMG_MKD;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrDmgType_Bullet;
extern(C++) interface TrDmgType_TCN4SMG_MKD : TrDmgType_Bullet
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final st... | D |
/+
The MIT License (MIT)
Copyright (c) <2013> <Oleg Butko (deviator), Anton Akzhigitov (Akzwar)>
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 wit... | D |
/*
TEST_OUTPUT:
---
fail_compilation/enum_function.d(10): Error: function cannot have enum storage class
fail_compilation/enum_function.d(11): Error: function cannot have enum storage class
fail_compilation/enum_function.d(12): Error: function cannot have enum storage class
fail_compilation/enum_function.d(13): Error: ... | 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"); you ... | D |
module deep_ocean_water;
import std.random;
import std.stdio;
import std.string;
import game;
import sgogl;
import animation;
import vector;
import wall;
import agent;
class Deep_ocean_water_1 : Wall {
static bool type_initialized = false;
static uint image_1, image_2, image_3, image_4;
static void initializ... | D |
/*
* Copyright 2010 Tomas Wilhelmsson <tomas.wilhelmsson@gmail.com>
* All rights reserved. Distributed under the terms of the MIT license.
*/
module Be.Support.DataIO;
import Be.Support.SupportDefs;
import Be.Support.types;
import Be.Support.BObject;
import tango.stdc.posix.sys.types;
extern (C) extern {
// BDa... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.