code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/* Digital Mars DMDScript source code.
* Copyright (c) 2000-2002 by Chromium Communications
* D version Copyright (c) 2004-2010 by Digital Mars
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
* written by Wa... | D |
module three;
import iface;
class ThreeImpl : Three
{
override string foo(double v) { return format("%.3e", v); }
override int bar() { static int i; return i++; }
}
void main()
{
auto acc = new MqttAccessor!Three(new ThreeImpl);
auto one = acc.getClient!One;
auto two = acc.getClient!Two;
ac... | D |
// Written in the D programming language.
/**
Facilities for random number generation. The old-style functions
$(D_PARAM rand_seed) and $(D_PARAM rand) will soon be deprecated as
they rely on global state and as such are subjected to various
thread-related issues.
The new-style generator objects hold their own state ... | D |
/* Converted to D from gsl_monte_plain.h by htod
* and edited by daniel truemper <truemped.dsource <with> hence22.org>
*/
module auxc.gsl.gsl_monte_plain;
/* monte/gsl_monte_plain.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Michael Booth
*
* This program is free software; you can redistribute it and/or mod... | D |
module mci.cli.tools.statistics;
import std.getopt,
std.path,
mci.core.container,
mci.core.exception,
mci.core.analysis.statistics,
mci.core.code.modules,
mci.vm.intrinsics.declarations,
mci.vm.io.exception,
mci.vm.io.reader,
mci.cli.main,
mci.cli.t... | D |
/* Converted to D from openinput_joystick.h by htod */
module openinput.openinput_joystick;
/*
* openinput_joystick.h : Definitions for joystick interface
*
* This file is a part of the OpenInput library.
* Copyright (C) 2005 Jakob Kjaer <makob@makob.dk>.
*
* This library is free software; you can redistribute i... | 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 distributed in th... | D |
/++
$(H1 Thread-safe slim reference-counted shared pointers).
This implementation does not support polymorphism.
+/
module mir.rc.slim_ptr;
import mir.rc.context;
import mir.type_info;
import std.traits;
private static immutable allocationExcMsg = "mir_slim_rcptr: out of memory error.";
private static immutable getE... | D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Aug 17, 2011
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module tests.Custom;
import orange.serialization.Serializer;
import orange.serializati... | D |
/Users/twohyjr/Documents/Projects/TripTracker/TripTracker/DerivedData/TripTracker/Build/Intermediates/TripTracker.build/Debug-iphonesimulator/TripTracker.build/Objects-normal/i386/AppDelegate.o : /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/GasEntryDisplayViewCell.swift /Users/twohyjr/Documents... | 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:
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE ,
$(TR $(TH Function Name) $(TH Description)
)
$(TR $(TD $(LRE... | D |
// hex floating point
void main() {
float f = 0xa.2P+3;
} | D |
/*
* Copyright (c) 2007-2013 Scott Lembcke and Howling Moon Software
*
* 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 ... | D |
module spasm.types;
pragma(LDC_no_moduleinfo);
pragma(LDC_no_typeinfo);
alias Handle = uint;
alias JsHandle = uint;
enum JsHandle invalidHandle = 0;
alias EventHandle = uint;
enum NodeType {
a = 0,
abbr = 1,
address = 2,
area = 3,
article = 4,
aside = 5,
audio = 6,
b = 7,
base = 8,
bdi = 9,
bdo... | D |
a building that is subordinate to and separate from a main building
| D |
a precise rule (or set of rules) specifying how to solve some problem
| D |
/**
Copyright: Copyright (c) 2017-2018 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.gui.textedit.textmodel;
public import voxelman.gui.textedit.linebuffer : LineInfo;
public import voxelman.container.chunkedrange;
public import voxelman.gui... | D |
module Main;
import tango.io.Stdout;
import tango.core.Thread;
import xf.mem.ChunkQueue;
import xf.utils.GlobalThreadDataRegistry;
private {
__thread ChunkQueue!(double) queue;
mixin GlobalThreadDataRegistryM!(typeof(queue)*) QueueRegistry;
}
void main() {
(new Thread({
QueueRegistry.regi... | D |
import std.algorithm;
import std.file;
import std.path;
import std.random;
import std.range;
import std.string;
import std.typecons;
// @todo: maybe add some "import name = name.name" qualifiers
import derelict.sfml2.system;
import derelict.sfml2.audio;
import termbox;
void main(string[] args)
{
void writeString(... | D |
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ComponentBase.o : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source... | D |
/Users/Emil/Grov-Filer/Xcode\ kod/Fortn-item/B/Fortn-item.build/Debug-iphonesimulator/Fortn-item.build/Objects-normal/x86_64/ApiHandler.o : /Users/Emil/Grov-Filer/Xcode\ kod/Fortn-item/Fortn-item/AppDelegate.swift /Users/Emil/Grov-Filer/Xcode\ kod/Fortn-item/Fortn-item/ApiHandler.swift /Users/Emil/Grov-Filer/Xcode\ kod... | D |
import std.datetime;
import gtk.ApplicationWindow;
import gtk.Application;
import gtk.Box;
import gtk.HeaderBar;
import gtk.Button;
import gtk.ToggleButton;
import gtk.Image;
import gtk.ListBox;
import gtk.ListBoxRow;
import gtk.ScrolledWindow;
import gtk.Popover;
import gtk.Label;
import gtk.Entry;
import gtk.Stack;
... | D |
a trancelike state with loss of voluntary motion and failure to react to stimuli
| D |
# FIXED
Application/simple_peripheral.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c
Application/simple_peripheral.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/string.h
Application/simple_peripheral.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/HTTP.build/Responder/HTTPClient.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/http/Sources/HTTP/Utilities/RFC1123.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/http/Sourc... | D |
# FIXED
NPI/npi.obj: C:/ti/simplelink_cc26x2_sdk_2_30_00_34/source/ti/ble5stack/common/cc26xx/npi/stack/npi.c
NPI/npi.obj: C:/ti/simplelink_cc26x2_sdk_2_30_00_34/source/ti/ble5stack/hal/src/target/_common/hal_types.h
NPI/npi.obj: C:/ti/simplelink_cc26x2_sdk_2_30_00_34/source/ti/ble5stack/hal/src/target/_common/../... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/Deprecated.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/panartem/Developer/Study/Microservices-... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
323.981783 53.6179129 1.29999995 137.5 65 90 -43.5 146.800003 1350 1.57397238 10.4347125 0.991585602 sediments, limestones
177.300003 52.4000015 7.19999981 0 75 80 -9.69999981 119.5 1212 4 7.5999999 0.771668684 extrusives, intrusives
| D |
module quill;
public import quill.attributes;
public import quill.database;
| D |
module d.ast.conditional;
import d.ast.declaration;
import d.ast.expression;
import d.ast.statement;
import d.context.location;
final:
/**
* Version Conditional
*/
class Version(ItemType) : ItemType if (is(ItemType == AstStatement) || is(ItemType == Declaration)) {
import d.context.name;
Name versionId;
Item... | D |
/Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/build/Pods.build/Debug-iphonesimulator/Macaw.build/Objects-normal/x86_64/Node.o : /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/export/MacawView+PDF.swift /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/MCAMediaTimingFillM... | D |
/**
Immutable list module.
*/
module poet.list;
import std.typecons : Rebindable;
@safe:
/**
Immutable list.
Params:
T = item type.
*/
immutable final class CList(T)
{
@property @nogc nothrow pure scope
{
/**
Returns:
list head.
*/
ref immutable(T) head() retu... | D |
module android.java.java.nio.channels.ReadableByteChannel;
public import android.java.java.nio.channels.ReadableByteChannel_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ReadableByteChannel;
import import1 = android.java.java.lang.Class;
| 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 |
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
%prot
#include <assert.h>
% Class Object {
unsigned long magic; // magic number
const Class @ class; // object's description
%
void delete (_self); // reclaim instance
const Class @ classOf (const _self); // object's class
size_t si... | D |
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/SchemaSupporting+Migration.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/fluent.git-3791725753316239953/Sources/Fluent/Model/ID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/c... | 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="ScrumProfile.profile.notation#... | D |
/Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/AddRef.o : /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/martyn/Development/AppCoor... | D |
; Copyright (C) 2008 The Android Open Source Project
;
; 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 ... | D |
import std.stdio;
extern float a;
static int e = 4;
immutable int d = 10;
int main(){
auto int x;
final char c;
const int b = 10;
return -1;
}
| D |
instance DIA_MORTIS_EXIT(C_INFO)
{
npc = mil_314_mortis;
nr = 999;
condition = dia_mortis_exit_condition;
information = dia_mortis_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_mortis_exit_condition()
{
return TRUE;
};
func void dia_mortis_exit_info()
{
AI_StopProcessInfos(self);
}... | D |
instance VLK_4132_Talbin_NW(Npc_Default)
{
name[0] = "Талбин";
guild = GIL_OUT;
id = 4132;
voice = 7;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Sld_Sword);
EquipItem(self,ItRw_Sld_Bow);
B_CreateAmbientInv(self);
B_SetNpcVisu... | D |
var int DailyHello_HeroAttackersCnt;
//say
var int DELAYSAYTIMERACTIVED;//bool
// So simply, delay value will be decremented till it hit 0
// then it will magically be set to -1, when after actual svm was ran, it will be back to normal => 0
CONST int DailyHero_TimeToSayResponse = -1;
var int DailyHello_sayDelay1;
var i... | D |
/**
* Generate $(LINK2 https://dlang.org/dmd-windows.html#interface-files, D interface files).
*
* Also used to convert AST nodes to D code in general, e.g. for error messages or `printf` debugging.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 h... | D |
a German inhabitant of Prussia
of or relating to or characteristic of Prussia or its inhabitants
| D |
// Written in the D programming language.
/**
This module defines the notion of a range. Ranges generalize the concept of
arrays, lists, or anything that involves sequential access. This abstraction
enables the same set of algorithms (see $(MREF std, algorithm)) to be used
with a vast variety of different concrete typ... | D |
module startup;
version(GNU)
{
static import gcc.attribute; // we need this to get the section, weak and alias attributes
void wfi(){ version(ALLOW_WFI){ asm{ "wfi"; } } }
}
else version(LDC)
{
import ldc.llvmasm;
void wfi(){ version(ALLOW_WFI){ __asm("wfi"); } }
}
import core.stdc.config; // we need th... | D |
E: c23, c21, c20, c46, c31, c48, c12, c29, c58, c6, c35, c1, c45, c15, c68, c53, c36, c16, c11, c14, c56, c43, c67, c65, c55, c63, c47, c33, c27, c52, c54, c39, c9, c64, c25.
p3(E,E)
c23,c21
c46,c31
c45,c15
c11,c56
c20,c14
c58,c55
c54,c43
c53,c39
c15,c47
c12,c33
.
p1(E,E)
c20,c20
c12,c12
c29,c29
c36,c36
c58,c58
c23,c2... | D |
module dlangui.graphics.scene.transform;
import gl3n.linalg;
import gl3n.math;
/// 3d transform: scale + translation + rotation
class Transform {
protected bool _dirtyTransform = true;
protected vec3 _scale = vec3(1.0f, 1.0f, 1.0f);
protected vec3 _translation = vec3(0.0f, 0.0f, 0.0f);
protected mat4 ... | D |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | D |
module ppl.templates.ImplicitTemplates;
import ppl.internal;
import common : contains;
final class ImplicitTemplates {
private:
Module module_;
Tokens nav;
ParamTypeMatcherRegex typeMatcherRegex;
ResolveIdentifier identifierResolver;
bool doChat;
public:
this(Module module_) {
this.mod... | D |
/Users/Ashley/Desktop/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ImageCache.o : /Users/Ashley/Desktop/Bandsintown/Pods/Kingfisher/Sources/String+MD5.swift /Users/Ashley/Desktop/Bandsintown/Pods/Kingfisher/Sources/Resource.swift /Users/Ashley/Desktop/Bandsinto... | D |
module vdrive.util.util;
import erupted.types;
import std.container.array;
/// check bool condition
void vkAssert(
bool assert_value,
const( char )* message = null,
string file = __FILE__,
size_t line = __LINE__,
string func = __FUNCTION__,
const( char )* msg_end = null
) nothrow @nogc {
// Todo(p... | D |
instance Spell_Light(C_Spell_Proto)
{
time_per_mana = 500;
spellType = SPELL_NEUTRAL;
targetCollectAlgo = TARGET_COLLECT_NONE;
targetCollectRange = 0;
targetCollectAzi = 0;
targetCollectElev = 0;
canTurnDuringInvest = 0;
};
instance Spell_PalLight(C_Spell_Proto)
{
time_per_mana = 500;
spellType = SPELL_NEUTR... | 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_MobileMedia-... | D |
/Users/haruna/Documents/iOSdev/Tumblr_1/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate.o : /Users/haruna/Documents/iOSdev/Tumblr_1/Pods/Alamofire/Source/MultipartFormData.swift /Users/haruna/Documents/iOSdev/Tumblr_1/Pods/Alamofire/Source/Timeline.swift /Users/ha... | D |
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Materialize.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.range;
import std.traits;
import std.math;
import std.conv;
import std.typecons;
void main() {
auto ip = readAs!(int[]), S = ip[0], F = ip[1];
(S / F + 1).writeln;
}
// ===================================
T readAs(T)() if (isBas... | D |
//#this gets through even with +5.seconds - (Potential copy("/Users/joelchristensen/jpro/dpro2/OtherPeoples/Foxid.wiki/Спрайты-и-анимации.md","/Volumes/PNY480/jpro/dpro2/OtherPeoples/Foxid.wiki/Спрайты-и-анимации.md"); - from time: 2020-Aug-29 19:12:34.2002462, to time + 100.msecs: 2020-Aug-29 19:12:34.3)
//Broken, tim... | D |
module android.java.android.view.textclassifier.TextLanguage;
public import android.java.android.view.textclassifier.TextLanguage_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!TextLanguage;
import import0 = android.java.android.icu.util.ULocale;
import import3 = android.java.java.lang.Class;... | 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 arrow.Int8Array;
private import arrow.Buffer;
private import arrow.NumericArray;
private import arrow.c.functions;
public import arrow.c.types;
private import glib.ConstructionException;
private import glib.ErrorG;
private import glib.GException;
private import gobject.ObjectG;
/** */
public class Int8Array ... | D |
// Emily 1
CHAIN IF ~InParty("X3mily")
InParty("X3Rec")
See("X3mily")
!StateCheck("X3mily",CD_STATE_NOTVALID)
!StateCheck("X3Rec",CD_STATE_NOTVALID)
Global("CrossEmilRec","LOCALS",0)~ THEN X3milyB RemiBanter1
~Your bow is so cute, Recorder.~
DO ~SetGlobal("CrossEmilRec","LOCALS",1)~
== X3RecB ~Thank you! I love to wea... | D |
/++
Attributes for specifying how Godot-D should register the marked classes,
properties, methods, and signals into Godot.
+/
module godot.d.udas;
import godot.core, godot.c;
enum RPCMode
{
disabled,
remote,
sync,
master,
slave,
}
/++
A UDA to change the Godot name of a method, property, or signal. Useful for
o... | D |
/// Copyright: Copyright (c) 2017-2019 Andrey Penechko.
/// License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
/// Authors: Andrey Penechko.
module fe.ast.decl.var;
import all;
enum VariableFlags : ushort {
isMember = FunctionAndVarFlags.isMember,
forceMemoryStorage = AstFlags.userFlag << 1,
i... | D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/HTTP.build/Message/HTTPHeaderName.swift.o : /Users/work/Projects/Hello/.build/checkouts/http.git-9159899851620770205/Sources/HTTP/Utilities/RFC1123.swift /Users/work/Projects/Hello/.build/checkouts/http.git-9159899851620770205/Sources/HTTP/Message/URL+HTT... | D |
module _containers._stack; import std.container:SList;
interface IStack(T) {
/// Not to be used if empty==true
@property auto T top();
/// Not to be used if empty==true
@property auto T pop();
@property auto void push(T Item);
@property bool empty();
@property size_t length();
void clear();
}
class SListSt... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010 by Rainer Schuetze, All Rights Reserved
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.t... | D |
/Users/sameersiddiqui/Projects/HafsaInspectorApp/Build/Intermediates/Pods.build/Debug-iphonesimulator/Material.build/Objects-normal/x86_64/Layout.o : /Users/sameersiddiqui/Projects/HafsaInspectorApp/Pods/Material/Sources/iOS/BarView.swift /Users/sameersiddiqui/Projects/HafsaInspectorApp/Pods/Material/Sources/iOS/Bottom... | D |
/**
* Collects functions for compile-time floating-point calculations.
*
* Copyright: Copyright (C) 1999-2023 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)
* So... | D |
// Written in the D programming language
/**
* Author: Andrey A. Popov andrey.anat.popov@gmail.com
*/
module dhttpd;
import std.conv, std.socket, std.stdio,
std.datetime, core.time, std.concurrency, core.sync.mutex, core.memory, core.bitop, core.thread, core.memory, std.range, std.stream, std.regex, std.string, s... | D |
/media/data/Documents/dojo19/team_0xc/gen/target/debug/build/serde-4938c68b51517714/build_script_build-4938c68b51517714: /home/q/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.100/build.rs
/media/data/Documents/dojo19/team_0xc/gen/target/debug/build/serde-4938c68b51517714/build_script_build-4938c68b51517714... | D |
import std.algorithm, std.range, std.array, std.traits,
std.functional, std.stdio, std.file, std.format;
import probat.all;
import gll.grammar;
enum TokenKind { Eof, Plus, Minus, Times, Semi, N }
unittest {
alias Grammar!TokenKind.Symbol Symbol;
alias Grammar!TokenKind.Production Production;
auto S = Sy... | D |
/home/rujia/Desktop/github/PKG-transparency/service-router/target/wasm32-wasi/release/deps/hex-fa1102a69a506b48.rmeta: /home/rujia/.cargo/registry/src/github.com-1ecc6299db9ec823/hex-0.4.0/src/lib.rs
/home/rujia/Desktop/github/PKG-transparency/service-router/target/wasm32-wasi/release/deps/libhex-fa1102a69a506b48.rlib... | D |
/** ddraw.d
Converted from 'ddraw.h'.
Version: V7.0
Authors: Koji Kishita
*/
module c.windows.ddraw;
import c.windows.windef;
import c.windows.guiddef;
import c.windows.unknwn;
import c.windows.mmsystem;
import c.windows.winerror;
import c.windows.wingdi;
enum DIRECTDRAW_VERSION = 0x0700;
enum _FACDD = 0x876;
pr... | D |
const int MOVE_RUN = 1;
const int MOVE_RUNBACK = 2;
const int MOVE_JUMPBACK = 3;
const int MOVE_TURN = 4;
const int MOVE_STRAFE = 5;
const int MOVE_ATTACK = 6;
const int MOVE_SIDEATTACK = 7;
const int MOVE_FRONTATTACK = 8;
const int MOVE_TRIPLEATTACK = 9;
const int MOVE_WHIRLATTACK = 10;
const int MOVE_MASTERATTACK = 1... | D |
module java.util.HashMap;
import java.lang.all;
import java.util.Map;
import java.util.Collection;
import java.util.Set;
import java.util.HashSet;
import java.util.ArrayList;
version(Tango){
static import tango.util.container.HashMap;
private struct ObjRef {
Object obj;
static Obj... | D |
/Users/chenxuewen/testrust/learnrust/rust-outter-crate/target/debug/deps/rand-fa3a49270e5852dc.rmeta: /Users/chenxuewen/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand-0.4.6/src/lib.rs /Users/chenxuewen/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand-0.4.6/src/distributions/mod.rs /Users/che... | D |
module integrators.Integrator;
import data.Ensemble;
import math.Vector;
import systems.System;
/**
* An overarching definition of what makes an integrator
* Each integrator needs to be able to return a state from a state and a slope
*/
abstract class Integrator(uint dim) {
System!dim slope; ///Should store... | D |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | D |
/*
reset && dub run --arch=x86_64 --build=debug --force
*/
int main() {
import web_browser_history;
import std.stdio : stdout;
import derelict.sqlite3.sqlite : DerelictSQLite3;
DerelictSQLite3.load();
foreach (browser; web_browser_history.getInstalledBrowsers()) {
stdout.writefln("browser:%s", browser);
we... | D |
module cucumber.formatter.base;
import std.array : join;
import std.string : format;
import std.stdio : write, writeln;
import std.typecons : tuple;
import cucumber.result : Result, ResultSummary, RunResult, ScenarioResult, StepResult;
import gherkin : Feature, Scenario, Step, Examples, TableRow, Comment;
///
interf... | D |
/*
Binderoo
Copyright (c) 2016, Remedy Entertainment
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of condit... | D |
/*
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,
execute, and transmit the Soft... | 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_9_BeT-38214588... | D |
/Users/bobren/projects/rust/pong/target/debug/deps/float-18ae5bc4971fc420.rmeta: /Users/bobren/.cargo/registry/src/github.com-1ecc6299db9ec823/piston-float-0.3.0/src/lib.rs
/Users/bobren/projects/rust/pong/target/debug/deps/libfloat-18ae5bc4971fc420.rlib: /Users/bobren/.cargo/registry/src/github.com-1ecc6299db9ec823/p... | D |
module org.serviio.upnp.service.contentdirectory.command.video.ListLastViewedVideosCommand;
import java.lang.String;
import java.util.List;
import org.serviio.config.Configuration;
import org.serviio.library.entities.AccessGroup;
import org.serviio.library.entities.Video;
import org.serviio.library.local.service.Video... | D |
module ufcs;
extern (C) int printf(const char*, ...);
/*******************************************/
struct S {}
int foo(int n) { return 1; }
int foo(int n, int m) { return 2; }
int goo(int[] a) { return 1; }
int goo(int[] a, int m) { return 2; }
int bar(S s) { return 1; }
int bar(S s, i... | D |
func void b_initorcattitudes(var int orcsvshuman)
{
if(orcsvshuman == 1)
{
b_setguildattitude(GIL_ORCSHAMAN,ATT_FRIENDLY,GIL_SEPERATOR_HUM);
b_setguildattitude(GIL_ORCWARRIOR,ATT_FRIENDLY,GIL_SEPERATOR_HUM);
b_setguildattitude(GIL_ORCSCOUT,ATT_FRIENDLY,GIL_SEPERATOR_HUM);
b_setguildattitude(GIL_ORCSLAVE,ATT_... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gio.socks5proxy;
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2008, 2010 Collabora, Ltd.
* Copyright (C) 2008 Nokia Corporation. All rights reserved.
*
* This library is free software; you can redistribute it and/or
*... | D |
module log_view;
import std.string;
import dcore;
import ui;
import elements;
import ui_preferences;
import pango.PgFontDescription;
extern (C) string GetClassName()
{
return "log_view.LOG_VIEW";
}
class LOG_VIEW :ELEMENT
{
private:
ScrolledWindow mScrollWin;
TreeView mTree;
ListStore mLis... | D |
/*
Copyright (c) 2015-2017 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, dist... | D |
import b, b, b;
import does.not.exist; // error
static assert(foo()=="hello from module b!");
static assert(!is(typeof(bar))); // TODO
pragma(msg, foo()); // yay! | D |
module crypto.gamecrypto;
import network.packet;
/**
* The crypto data manager.
*/
private class CryptoData : DataPacket {
this() {
super();
}
}
/**
* The crypto counter.
*/
private class CryptoCounter {
/**
* The current counter.
*/
ushort m_counter = 0;
@property {
/**
* Gets the first key.
*/
ub... | D |
module mood.server;
import mood.compiler;
import std.stdio;
import vibe.http.server: HTTPServerResponse, HTTPServerRequest, HTTPServerRequestDelegateS;
/**
* Serve a Document.
*
* Called when a webpage is requested. When called, this executes the program first, before rendering out the page. After program executin... | D |
#!/usr/bin/env rdmd
import std.stdio; // File
import std.array;
import std.algorithm;
import std.conv; // to
void main(string[] args)
{
if(args.length == 1){
writeln("No args");
return;
}
auto file = new File(args[1], "r");
int nr_tests, nr_tests_per_line;
file.readf("%d %d\n", &nr... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag10984.d(11): Error: static function diag10984.f.n cannot access frame of function diag10984.f
---
*/
void f()
{
int x;
static void n() { x++; }
}
void main()
{
}
| D |
/**
* Skadi.d Web Framework
* Validation Component
* Authors: Faianca
* Copyright: Copyright (c) 2015 Faianca
* License: MIT License, see LICENSE
*/
module skadi.components.jade.builder;
import std.stdio;
import std.traits;
import std.typetuple;
/**
* Html attributes in order to be used.
**/
struct HTMLAttribu... | D |
/*
Written by Christopher E. Miller
Placed into public domain.
*/
/// Please import the core.sys.posix.* modules you need instead. This module will be deprecated in DMD 2.068.
module mystd.c.linux.socket;
version (linux):
private import core.stdc.stdint;
public import core.sys.posix.arpa.inet;
public import ... | D |
// Written in the D programming language
/**
* Macros:
* WIKI = Phobos/StdStream
*/
/*
* Copyright (c) 2001-2005
* Pavel "EvilOne" Minayev
* with buffering and endian support added by Ben Hinkle
* with buffered readLine performance improvements by Dave Fladebo
* with opApply inspired by (and m... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.