code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module mordor.common.streams.nil;
public import mordor.common.streams.stream;
class NilStream : Stream
{
private:
this() {}
public:
static this() {
_singleton = new NilStream;
}
static NilStream get() {
return _singleton;
}
bool supportsRead() { return true; }
bool su... | D |
/++
+ IRC user masks.
+/
module virc.usermask;
import std.algorithm : findSplit;
import std.range;
import std.typecons : Nullable;
/++
+ IRC user masks are generally in the form nick!ident@hostname. This struct
+ exists for easy separation and manipulation of each piece of the mask. This
+ also accepts cases where th... | D |
/Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/PKCS7.o : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /Us... | D |
module android.java.java.io.ObjectOutputStream;
public import android.java.java.io.ObjectOutputStream_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ObjectOutputStream;
import import2 = android.java.java.lang.Class;
import import1 = android.java.java.io.ObjectOutputStream_PutField;
| D |
a domesticated animal kept for companionship or amusement
a special loved one
a fit of petulance or sulkiness (especially at what is felt to be a slight)
using a computerized radiographic technique to examine the metabolic activity in various tissues (especially in the brain)
stroke or caress gently
stroke or caress in... | D |
E: c38, c330, c642, c63, c9, c633, c732, c591, c378, c758, c428, c673, c455, c786, c733, c46, c341, c357, c355, c358, c523, c19, c57, c217, c687, c503, c369, c324, c676, c54, c214, c790, c314, c610, c561, c182, c722, c604, c707, c818, c412, c663, c486, c376, c528, c115, c403, c683, c560, c465, c238, c0, c305, c30, c816... | D |
/******************************************************************************
License:
Copyright (c) 2007 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 arising from the
use of this software.
Permission is g... | 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 $(MREF std, stdio).
$(SCRIPT inhibitQuickIndex = 1;)
$(... | D |
module components.material;
import core, components, graphics, utility;
import yaml;
import derelict.opengl3.gl3, derelict.freeimage.freeimage;
import std.variant, std.conv, std.string;
shared final class Material : IComponent
{
private:
Texture _diffuse, _normal, _specular;
public:
mixin( Property!(_diffuse... | D |
module dwtx.dwtxhelper.CharacterIterator;
interface CharacterIterator {
static const char DONE = '\u00FF';
Object clone();
char current();
char first();
int getBeginIndex();
int getEndIndex();
int getIndex();
char last();
char next();
char previous();
char... | D |
/Users/lishijun1/Documents/swiftworkspace/JDCloudSDKSwift/jdcloud-sdk-swift-github/JDCloudSDKSwift/.build/x86_64-apple-macosx10.10/debug/JDCloudSDKBaseanti.build/API/DescribeIpResourceInfoResponse.swift.o : /Users/lishijun1/Documents/swiftworkspace/JDCloudSDKSwift/jdcloud-sdk-swift-github/JDCloudSDKSwift/Sources/JDClou... | D |
import std.stdio;
import std.c.stdio;
/******************************************/
struct S
{
int opStar() { return 7; }
}
void test1()
{
S s;
printf("%d\n", *s);
assert(*s == 7);
}
/******************************************/
void test2()
{
double[1][2] bar;
bar[0][0] = 1.0;
bar[1][0] = 2.0... | D |
// Written in the D programming language.
/**
$(SCRIPT inhibitQuickIndex = 1;)
This module defines facilities for efficient checking of integral operations
against overflow, casting with loss of precision, unexpected change of sign,
etc. The checking (and possibly correction) can be done at operation level, for
exampl... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/Exports.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/http/Sources/HTTP/Utilities/RFC1123.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/... | D |
module siren.mysql.sirl.node_visitor;
import siren.mysql.util;
import siren.mysql.util;
import siren.sirl;
import std.array;
import std.conv;
class MySQLNodeVisitor : NodeVisitor
{
private:
Appender!string _buffer;
public:
this()
{
_buffer = appender!string;
}
@property
string dat... | D |
instance PC_Fighter_NW_vor_DJG(Npc_Default)
{
name[0] = "Горн";
guild = GIL_SLD;
id = 813;
voice = 12;
flags = 0;
npcType = NPCTYPE_FRIEND;
B_SetAttributesToChapter(self,6);
fight_tactic = FAI_HUMAN_MASTER;
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Fighter",Face_B_Gorn,BodyTex_B,ItAr_Sld_H... | D |
import d2d.engine;
int main(char[][] args)
{
auto engine = new Engine(args);
engine.run();
return 0;
}
| D |
instance NONE_117_NERGAL_EXIT(C_Info)
{
npc = none_117_nergal;
nr = 999;
condition = none_117_nergal_exit_condition;
information = none_117_nergal_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int none_117_nergal_exit_condition()
{
return TRUE;
};
func void none_117_nergal_exit_info()
{
AI... | D |
prototype MST_DEFAULT_DRAGON_FIRE(C_NPC)
{
name[0] = "Огненный дракон";
guild = GIL_DRAGON;
aivar[AIV_MM_REAL_ID] = ID_DRAGON_FIRE;
level = 450;
bodystateinterruptableoverride = TRUE;
// attribute[ATR_STRENGTH] = 140;
attribute[ATR_STRENGTH] = 13;
attribute[ATR_DEXTERITY] = 100;
attribute[ATR_HITPOINTS_MAX] =... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
244.5 81.6999969 9.80000019 0 2 10 -9.60000038 119.300003 1209 5.80000019 10.6999998 extrusives
249.300003 82.3000031 8.60000038 0 2 10 -9.69999981 120.099998 1208 5.0999999 9.39999962 sediments, tuffs
270.5 80.4000015 0 125 5 23 -32.5 138.5 1976 8... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.typecons;
alias T = Tuple!(long, long, long);
long[] vs;
long[T] memo;
long n, k;
long f(long l, long r, long m) {
auto key = tuple(l, r, m);
if (key in memo) return memo[key];
if (m < 0 || n-r-1 < l) return 0;
long[] cands = [... | D |
func void b_enter_newworld_kapitel_1()
{
};
var int enternw_kapitel2;
func void b_enter_newworld_kapitel_2()
{
if(ENTERNW_KAPITEL2 == FALSE)
{
Wld_InsertNpc(bloodfly,"FP_ROAM_CITY_TO_FOREST_50");
Wld_InsertNpc(bloodfly,"FP_ROAM_CITY_TO_FOREST_49");
Wld_InsertNpc(wolf,"NW_CITY_TO_FOREST_10");
Wld_InsertNpc... | D |
instance BAU_971_Bauer(Npc_Default)
{
name[0] = "Mac";
guild = GIL_OUT;
id = 971;
voice = 13;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter (self, 1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem (self, ItMw_1h_Bau_Axe);
B_CreateAmbientInv (self);
B_SetNpcVisual (self, MALE, "Hum_Head_Bald", Face... | D |
spectroscope for obtaining a mass spectrum by deflecting ions into a thin slit and measuring the ion current with an electrometer
| D |
/Users/thendral/POC/vapor/Friends/.build/debug/Fluent.build/Preparation/Preparation.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Fluent-1.3.7/Sources/Fluent/Database/Database.swift /Users/thendral/POC/vapor/Friends/Packages/Fluent-1.3.7/Sources/Fluent/Database/Driver.swift /Users/thendral/POC/vapor/Friends/Pack... | D |
module stri;
import std.format : format;
import std.algorithm : map;
auto parse(string s) {
import std.string;
import std.algorithm : find;
import std.typecons;
string fmt = s;
string[] ids;
auto subs = s.find("${"); // "${def}gh${i}..."
while (!subs.empty) {
auto ends = subs.find... | D |
/Users/benormos/Desktop/MyFutureBox/build/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorView.o : /Users/benormos/Desktop/MyFutureBox/Pods/NVActivityIndicatorView/NVActivityIndicatorView/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync... | D |
/* THIS FILE GENERATED BY bcd.gen */
module bcd.fltk.filename;
public import bcd.bind;
public import std.c.dirent;
const int FL_PATH_MAX = 256;
alias int function(dirent * *, dirent * *) _BCD_func__4;
alias _BCD_func__4 Fl_File_Sort_F;
extern (C) int _BCD__Z16fl_filename_listPKcPPP6direntPFiS3_S3_E(char *, dirent * * *... | D |
/Users/Yowa/WorkSpace/Pokedex/Build/Intermediates/Pokedex.build/Debug/Leaf.build/Objects-normal/x86_64/Tag.o : /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Argument.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/Sources/Leaf/Byte+Leaf.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Leaf-1.0.0/So... | D |
/*
Copyright (c) 2014-2020 Timur Gafarov
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute... | D |
/******************************************************************************
Test reading a channel with empty buckets inside
Copyright: (c) 2016 Sociomantic Labs. All rights reserved.
******************************************************************************/
module test.versioning.cases.TestEmptyBu... | D |
module dwt.internal.mozilla.imgIContainerObserver;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.imgIContainer;
import dwt.internal.mozilla.gfxIImageFrame;
const char[] IMGICONTAINEROBSERVER_IID_STR = "53102f15-0f53... | D |
/**
* This module contains Account data struct
*
* Copyright: © 2017 Joshua Hodkinson
* License: MIT as per included LICENSE document
* Authors: Joshua Hodkinson
*/
module blogd.models.account;
import vibe.db.mongo.mongo : MongoCollection;
import vibe.web.validation : ValidEmail, ValidPassword;
/**
* The str... | D |
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/FluentSQLite.build/FluentSQLiteProvider.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/fluent-sqlite.git--5503918280859119093/Sources/FluentSQLite/FluentSQLiteSchema.swift /Users/Khanh/vapor/TILApp/.build/checkouts/fluent-sqlite.git--5503918280859119... | D |
lofty in style
| D |
module wiz.ast.inlineconditional;
import wiz.lib;
import wiz.ast.lib;
class InlineConditional : Statement
{
private bool negated;
private Expression trigger;
private Statement action;
public Statement alternative;
private Block _block;
private bool expanded;
this(bool nega... | 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_13_agm-9939798... | D |
/Users/eric/code/rust/add_workspace/target/debug/deps/librand-e087b5999210b44d.rlib: /Users/eric/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.23/src/lib.rs /Users/eric/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.23/src/distributions/mod.rs /Users/eric/.cargo/registry/src/github.com-1ecc6299db9e... | D |
/home/jedhsu/wichai/monk/target/debug/deps/monk-9fa808be262726b9.rmeta: src/lib.rs
/home/jedhsu/wichai/monk/target/debug/deps/monk-9fa808be262726b9.d: src/lib.rs
src/lib.rs:
| D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Async.build/Exports.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/checkou... | D |
/*
REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
#pragma once
#include <stddef.h>
#include <stdint.h>
struct S;
struct S2;
class C;
class C2;
typedef int32_t T;
extern "C" int32_t x;
// ignored variable dtoh_AliasDeclaration.x
extern "C" int32... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
279.899994 75.8000031 4.30000019 826 1 14 32.7999992 72.5 1137 2.9000001 5 0.307692308 sediments
326.600006 57.4000015 4.69999981 380.799988 1 14 32.7999992 73.1999969 1136 3.0999999 5.4000001 0.307692308 sediments
267.5 72.1999969 2 13 1 13 28 ... | D |
/**
* This module is a set of types and functions for converting any object (value
* or heap) into a generic box type, allowing the user to pass that object
* around without knowing what's in the box, and then allowing him to recover
* the value afterwards.
*
* Example:
---
// Convert the integer 45 into a box.
... | D |
module imports.a14992;
struct S1 { }
struct S2 { int v; int[] a; }
| D |
func void ZS_Cook_Stove()
{
Perception_Set_Normal();
B_ResetAll(self);
AI_SetWalkMode(self,NPC_WALK);
if(!C_NpcIsOnRoutineWP(self))
{
AI_GotoWP(self,self.wp);
};
if(!Npc_HasItems(self,ItFoMuttonRaw))
{
CreateInvItem(self,ItFoMuttonRaw);
};
};
func int ZS_Cook_Stove_Loop()
{
if(!C_BodyStateContains(self,... | D |
/Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Validation.o : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Alamofire/Source/MultipartFormData.swift /Users/Jaskeerat/Desktop/CryptoLive/CryptoL... | D |
/Users/yamamoto/Documents/Xcode/ioFullColorLED/ioFullColorLED/Build/Intermediates/ioFullColorLED.build/Debug-iphoneos/ioFullColorLED.build/Objects-normal/armv7/BLEManager.o : /Users/yamamoto/Documents/Xcode/ioFullColorLED/ioFullColorLED/ioFullColorLED/BLECommon.swift /Users/yamamoto/Documents/Xcode/ioFullColorLED/ioFul... | D |
/**
* Configure the back end (optimizer and code generator)
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2000-2022 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
*... | D |
# /etc/conf.d/chrome-remote-desktop: config file for /etc/init.d/chrome-remote-desktop
# List of users to start Chrome Remote Desktop for.
CHROME_REMOTING_USERS=''
# Options to pass to chrome-remote-desktop. Only the -s option is interesting.
#OPTIONS='-s 1600x1200 -s 3840x1600'
| D |
/Volumes/10.9/work/CHAMPY/ChampySwift01/ChampySwift/build/ChampySwift.build/Release-iphonesimulator/ChampySwift.build/Objects-normal/x86_64/CHRequests.o : /Volumes/10.9/work/CHAMPY/ChampySwift01/ChampySwift/ChampySwift/CHRequests.swift /Volumes/10.9/work/CHAMPY/ChampySwift01/ChampySwift/ChampySwift/CHChalenges.swift /V... | D |
/*
* Collie - An asynchronous event-driven network framework using Dlang development
*
* Copyright (C) 2015-2017 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the Apache-2.0 License.
*
*/
module collie.bootstrap.client;
import collie.channel;
import collie.net;
imp... | D |
/Users/netnorimingconception/utils/GeoFence/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Multicast.o : /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/Ob... | D |
module android.java.java.lang.ArrayIndexOutOfBoundsException_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.... | D |
/**
A module for providing interop between reggae and dub
*/
module reggae.dub.interop;
import reggae.from;
public import reggae.dub.interop.reggaefile;
void writeDubConfig(O)(ref O output,
in from!"reggae.options".Options options,
from!"std.stdio".File file) {
i... | D |
/**
* D header file for OpenBSD.
*
* Authors: Iain Buclaw
* Based-on: core/sys/freebsd/sys
*/
module core.sys.openbsd.sys.elf_common;
version (OpenBSD):
extern (C):
import core.stdc.stdint;
struct Elf_Note
{
uint32_t n_namesz;
uint32_t n_descsz;
uint32_t n_type;
}
struct Elf_GNU_Ha... | D |
/Users/xda/Desktop/swift_demo/demo/build/demo.build/Debug-iphonesimulator/demo.build/Objects-normal/x86_64/MessageViewController.o : /Users/xda/Desktop/swift_demo/demo/demo/Base/AppDelegate.swift /Users/xda/Desktop/swift_demo/demo/demo/Base/MainBarController.swift /Users/xda/Desktop/swift_demo/demo/demo/ViewController.... | D |
module android.java.android.graphics.fonts.FontFamily;
public import android.java.android.graphics.fonts.FontFamily_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!FontFamily;
import import1 = android.java.java.lang.Class;
import import0 = android.java.android.graphics.fonts.Font;
| D |
instance BDT_1020_Bandit_L(Npc_Default)
{
name[0] = "Highwayman";
guild = GIL_BDT;
id = 1020;
voice = 6;
flags = 0;
npcType = npctype_main;
aivar[AIV_EnemyOverride] = TRUE;
aivar[AIV_DropDeadAndKill] = TRUE;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Bau_Mace);... | D |
/*******************************************************************************
copyright: Copyright (c) 2008 Kris Bell. все rights reserved
license: BSD стиль: $(LICENSE)
version: Apr 2008: Initial release
authors: Kris
Since: ... | D |
module gui.random.hybridfractal;
mixin template RandomHybrid() {
GuiElementImage heightImg;
float H = 0.5;
float lacuna = 2;
float octaves = 6;
float offset = 0.7;
float wavelength = 40;
void initHybrid() {
heightImg = new GuiElementImage(container, Rectd(0, 0, 0.6, 0.6));
... | D |
module main;
private import dfl.all;
private import srl.MainForm;
private import srl.Model;
void main(string[] args) {
Application.autoCollect = false; // for Drag & Drop
Model model = new Model();
MainForm mainForm = new MainForm(model);
if (1 < args.length) {
string arg = args[1];
if (model.isAccept... | D |
module lex.lexer;
import lex.token;
// Tango is the worst
import tango.io.device.File;
import tango.io.Stdout;
import Text = tango.text.Util;
class Lexer {
private:
void _error(char[] msg) {
Stdout(msg).newline;
//Console.forecolor = Color.Red;
//Console.putln("Lexical Error: file.d @ ", _lineNumber+1, ":"... | D |
/Users/y.imuta/pj/rust_study/todo/target/debug/build/memchr-4337b12bcb0909c7/build_script_build-4337b12bcb0909c7: /Users/y.imuta/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.4/build.rs
/Users/y.imuta/pj/rust_study/todo/target/debug/build/memchr-4337b12bcb0909c7/build_script_build-4337b12bcb0909c7.d: /Use... | D |
/***********************************************************************\
* winperf.d *
* *
* Windows API header module *
* ... | D |
/*******************************************************************************
Allows drawing of images
Authors: ArcLib team, see AUTHORS file
Maintainer: Clay Smith (clayasaurus at gmail dot com)
License: zlib/libpng license: $(LICENSE)
Copyright: ArcLib team
... | D |
/**
* The semaphore module provides a general use semaphore for synchronization.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly
* Source: $(DRUNTIMESRC core/sync/_semaphore.d)
*/
/* Copyright Sean... | D |
/Users/zyang/SNGithub/Cosmos/Build/Intermediates/Cosmos.build/Debug-iphonesimulator/Cosmos.build/Objects-normal/x86_64/Math.o : /Users/zyang/SNGithub/Cosmos/Cosmos/Curve.swift /Users/zyang/SNGithub/Cosmos/Cosmos/Shape+Creation.swift /Users/zyang/SNGithub/Cosmos/Cosmos/Wedge.swift /Users/zyang/SNGithub/Cosmos/Cosmos/Ima... | D |
/*aivar Funcs
* ...
* Ok, to na poczatek kilka słów nt. funkcjonalnosci tutaj zawartej i jej przeznaczenia.
* Jak zauwazyłem (choc dopiero po uprzątnieciu AI_Constants.d) wieleaivarów nakladalo sie
* na siebie pozycjami w tablicyaivars co skutkowało takimi atrakcjami jak chocby nagłe
* Od-uczenie sie kregów magii oraz ... | D |
module elasticsearch.api.actions.nodes.all;
| D |
module sigod.codeforces.p285B;
import std.conv;
import std.stdio;
import std.string;
void main()
{
int n, s, t;
stdin.readf("%s %s %s", &n, &s, &t);
if (s == t) {
stdout.write("0");
return;
}
stdin.readln();
int[] p = read_array!(int)();
--s;
--t;
int result = 0;
int positio... | D |
version (Win32) {
import std.c.windows.windows;
}
extern(System):
/* Please use this code with old D compiler.
version (Win32) {
extern(Windows):
}
else {
extern(C):
}
*/
alias uint GLenum;
alias ubyte GLboolean;
alias uint GLbitfield;
alias byte GLbyte;
alias short GLshort;
alias int GLint;
alias int GLsizei;
ali... | D |
module rund.file;
import std.typecons : Flag, Yes, No;
version (Posix)
{
enum objExt = ".o";
enum binExt = "";
enum libExt = ".a";
enum dirSeparators = "/";
}
else version (Windows)
{
enum objExt = ".obj";
enum binExt = ".exe";
enum libExt = ".lib";
enum dirSeparators = "/\\";
}
else
{... | D |
/home/brs/Documents/Projects/AdventOfCode/day_2/target/debug/deps/day_2-0cd2c2b57f35633c.rmeta: src/main.rs
/home/brs/Documents/Projects/AdventOfCode/day_2/target/debug/deps/day_2-0cd2c2b57f35633c.d: src/main.rs
src/main.rs:
| D |
crude outline/sillouette of a horses head
| D |
/++
This module contains summation algorithms.
License: $(HTTP www.apache.org/licenses/LICENSE-2.0, Apache-2.0)
Authors: Ilia Ki
Copyright: 2020 Ilia Ki, Kaleidic Associates Advisory Limited, Symmetry Investments
+/
module mir.math.sum;
///
version(mir_test)
unittest
{
import mir.ndslice.slice: sliced;
impo... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/MySQL.build/Protocol/MySQLComStmtPrepare.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/mysql/Sources/MySQL/Protocol/MySQLPacket+HandshakeV10.swift /Users/panartem/Developer... | D |
/* glut.h */
module opengl.glutextern;
/* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996, 1998. */
/* This program is freely distributable without licensing fees and is
provided without guarantee or warrantee expressed or implied. This
program is -not- in the public domain. */
version (Windows)
extern (Wi... | D |
module game.core.speed;
static import basics.globals;
import basics.alleg5;
import net.repdata; // Phyu
import basics.user; // replayAfterFrameBack
import game.core.game;
import game.core.active; // findAgainHighlitLixAfterPhyu
import game.panel.base;
import hardware.mouse;
import hardware.sound;
package:
void upda... | D |
module perfontain.meshholder;
import
std,
perfontain;
final class MeshHolder : RCounted
{
this(ref in HolderData v)
{
_iv = PE.render.drawAlloc[v.type].iv;
texs = v
.textures
.map!(a => new Texture(a))
.array;
meshes = v.meshes;
reg = _iv.alloc(v.data);
}
~this()
{
_iv.dealloc(r... | D |
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ICandleChartDataSet.o : /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts/... | D |
// REQUIRED_ARGS:
import std.math: poly;
import core.stdc.stdarg;
extern(C)
{
int printf(const char*, ...);
version(Windows)
{
int _snprintf(char*, size_t, const char*, ...);
alias _snprintf snprintf;
}
else
int snprintf(char*, size_t, const char*, ...);
}
version (LDC) st... | D |
module mach.text.json.json;
private:
import mach.text.parse.numeric : WriteFloatSettings;
import mach.text.json.exceptions;
import mach.text.json.attributes;
import mach.text.json.parse;
import mach.text.json.serialize;
import mach.text.json.value;
public:
struct Json{
/// Type which stores information for a ... | D |
/*
* Copyright (c) 2017-2019 sel-project
*
* 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, modify, merge, pu... | D |
/*******************************************************************************
Turtle application-specific exception classes
Copyright: Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved
License: Boost Software License Version 1.0. See LICENSE for details.
*****************************... | D |
/home/pi/Veilige_soft_test/test_project/test_project/target/release/deps/libcfg_if-9db7b6e92b363072.rlib: /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.7/src/lib.rs
/home/pi/Veilige_soft_test/test_project/test_project/target/release/deps/cfg_if-9db7b6e92b363072.d: /home/pi/.cargo/registry/src/git... | D |
// Written in the D programming language.
/++
$(P The $(D std.uni) module provides an implementation
of fundamental Unicode algorithms and data structures.
This doesn't include UTF encoding and decoding primitives,
see $(XREF _utf, decode) and $(XREF _utf, encode) in std.utf
for this functionality.... | D |
module mscorlib.System.Runtime.Versioning;
import mscorlib.System :
__DotNet__Attribute,
__DotNet__AttributeStruct,
__DotNet__Object,
String,
FlagsAttribute,
SerializableAttribute,
AttributeUsageAttribute,
Attribute;
import mscorlib.System.Runtime.CompilerServices :
FriendAccessAllo... | D |
instance BDT_1044_Bandit_L(Npc_Default)
{
name[0] = NAME_Bandit;
guild = GIL_BDT;
id = 1044;
voice = 1;
flags = 0;
npcType = NPCTYPE_AMBIENT;
aivar[AIV_EnemyOverride] = TRUE;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_2H_Sword_M_01);
B_CreateAmbientInv(self);
B_S... | D |
/*
REQUIRED_ARGS: -preview=dip1000
TEST_OUTPUT:
---
fail_compilation/test17450.d(17): Error: returning `&s.bar` escapes a reference to parameter `s`
fail_compilation/test17450.d(17): perhaps annotate the parameter with `return`
fail_compilation/test17450.d(20): Error: returning `&this.bar` escapes a reference to... | D |
obj/ee_avr8_asm.S.o: /cygdrive/c/TMP_WO~1/lab2_v2/erika/src/ee_avr8_asm.S
| D |
module vcf_parser.header;
import std.exception : basicExceptionCtors;
import std.conv;
import std.string;
import std.process;
import std.stdio;
import std.path;
import std.array : uninitializedArray;
import std.math : sqrt, floor;
// Custom exceptions
static class QualNotNumeric : Exception {
mixin basicExceptionC... | 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.array, std.conv, std.algorithm, std.range, std.string;
import lexer, parser, expression, statement, declaration, scope_, util;
import analyze;
import variant;
public import ... | D |
import avr.io;
import avr.util.delay;
// this example assumes you wired 8 LEDs to PB0:PB7
// adjust values to your actual setup
// Port registers for LED access
alias LED_DDR = DDRB;
alias LED_PORT = PORTB;
alias Delay = FrequencyDelay!(1 * MHz);
extern (C) void main()
{
// set Data Direction Register to output f... | D |
/**
* Contains the garbage collector implementation.
*
* Copyright: Copyright Digital Mars 2001 - 2013.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, David Friedman, Sean Kelly
*/
/* Copyright Digital Mars 2005 - 2013.
* Distributed under the Boost So... | D |
#as: -march=rv64ima_zqinx
#source: zqinx.s
#objdump: -dr
.*:[ ]+file format .*
Disassembly of section .text:
0+000 <target>:
[ ]+[0-9a-f]+:[ ]+06c5f553[ ]+fadd.q[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+0ec5f553[ ]+fsub.q[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+16c5f553[ ]+fmul.q[ ]+a0,a1,a2
[ ]+[0-9a-f]+:[ ]+1ec5f553[ ]... | D |
module c.openssl.ec;
import core.stdc.stdio;
import core.stdc.config;
public import c.openssl.asn1;
// public import c.openssl.bn;
public import c.openssl.evp;
extern (C):
enum OPENSSL_ECC_MAX_FIELD_BITS = 661;
enum OPENSSL_EC_NAMED_CURVE = 0x001;
/+ // Commented out to reduce dependency creep. Put it back if th... | D |
module dparse.lexer;
import std.typecons;
import std.typetuple;
import std.array;
import std.algorithm;
import std.range;
import std.experimental.lexer;
import core.cpuid : sse42;
version (D_InlineAsm_X86_64)
{
version (Windows) {}
else version = iasm64NotWindows;
}
/// Operators
private enum operators = [
... | 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_14_banking-617... | D |
/*
This file is part of BioD.
Copyright (C) 2012-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 wit... | D |
// An example building a binary heap.
import std.container;
import std.stdio;
struct Load {
int id, load;
int opCmp(Load s2) {
return load-s2.load;
}
Load inc() {
load++;
return this;
}
}
void main() {
// Test ordering relation
Load s1 = {0, 10};
Load s2 = {1, 0};
assert(s2 < s1);
auto s3 = s2.inc... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.