code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/**
TCP/UDP connection and server handling.
Copyright: © 2012 RejectedSoftware e.K.
Authors: Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
*/
module vibe.core.net;
public import vibe.core.driver;
import vibe.core.log;
import core.sys.posix.netinet.in... | 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 (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 |
// Morte Comments on Dhall's Book fix:
ADD_STATE_TRIGGER DMORTE 459
~Global("Mortuary_Walkthrough","GLOBAL",3)
Global("AR0200_Visited","GLOBAL",0)
InParty("Morte")
!GlobalGT("Fortress_Morte","GLOBAL",2)~
SET_WEIGHT DMORTE 459 #-1
| D |
// Author: Ivan Kazmenko (gassa@mail.ru)
module extract_bootstrap;
import std.algorithm;
import std.ascii;
import std.conv;
import std.datetime;
import std.digest.sha;
import std.format;
import std.json;
import std.math;
import std.range;
import std.stdio;
import std.string;
import std.traits;
import std.typecons;
imp... | D |
module orly.engine.components.meshrenderer;
import orly.engine.components.component;
import orly.engine.time;
import orly.engine.renderer.mesh;
import orly.engine.renderer.vertex;
import orly.engine.renderer.vertexarray;
import orly.engine.renderer.shader;
import orly.engine.assets.models.modelasset;
import orly.engin... | D |
private {
import qcheck._;
}
version(unittest) {
struct A {
byte m;
bool testMe(A a2) const {
return &this != &a2;
}
}
bool testFunc(A a1, A a2) {
return &a1 != &a2;
}
}
unittest {
quickCheck!(testFunc, Policies.RandomizeMembers)();
A a;
auto dg = &a.testMe;
a.m = 10;
quickCh... | D |
/home/hskang9/terra-contracts/uniswapv1/target/debug/build/bitflags-218b384481cd1389/build_script_build-218b384481cd1389: /home/hskang9/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/build.rs
/home/hskang9/terra-contracts/uniswapv1/target/debug/build/bitflags-218b384481cd1389/build_script_build-218b384... | D |
/home/onki/Downloads/Fraunhofer_work/ruct_from_c/example/target/thumbv8m.main-none-eabihf/debug/deps/libexample-b32d6b667ced8ee8.a: src/lib.rs
/home/onki/Downloads/Fraunhofer_work/ruct_from_c/example/target/thumbv8m.main-none-eabihf/debug/deps/example-b32d6b667ced8ee8.d: src/lib.rs
src/lib.rs:
| D |
# FIXED
Startup/icall_startup.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/common/cc26xx/icall_startup.c
Startup/icall_startup.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/hal_types.h
Startup/icall_startup.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/... | D |
module android.java.javax.xml.namespace.NamespaceContext_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.lang.Class_d_interface;
import import0 = android.java.java.util.Ite... | D |
/Users/taharahiroki/Documents/GitHub/Secret_Account_addressbase/secret_contracts/contract/target/wasm32-unknown-unknown/release/deps/fixed_hash-aed4f401e459b15f.rmeta: /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/fixed-hash-0.3.2/src/lib.rs /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6... | D |
/**
DMD compiler support.
Copyright: © 2013-2013 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 dub.compilers.dmd;
import dub.compilers.compiler;
import dub.compilers.utils;
import dub.internal.utils;
import dub.... | D |
INSTANCE Info_Mod_Echsenhaendler_HeilkrautM (C_INFO)
{
npc = Mod_12016_DRA_Echsenhaendler_AW;
nr = 1;
condition = Info_Mod_Echsenhaendler_HeilkrautM_Condition;
information = Info_Mod_Echsenhaendler_HeilkrautM_Info;
permanent = 0;
important = 0;
description = "Heilkraut kaufen (5 merkwürdige kleine Dinger)";
};... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid comm... | D |
/**
Contains common functionality for the REST and WEB interface generators.
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, Михаил Страшун
*/
module vibe.web.common;
import vibe.http.common;
import vibe.http... | 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 |
/*
* Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
* Copyright (c) 2007-2011 Niels Provos and Nick Mathewson
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code mu... | D |
instance DIA_Rangar_EXIT(C_Info)
{
npc = MIL_321_Rangar;
nr = 999;
condition = DIA_Rangar_EXIT_Condition;
information = DIA_Rangar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Rangar_EXIT_Condition()
{
return TRUE;
};
func void DIA_Rangar_EXIT_Info()
{
AI_StopProcessInfos(self);
}... | D |
module denj.scene.transform;
import denj.math;
struct Transform {
Transform* parent = null;
vec3 position = vec3.zero;
mat3 rotation = mat3.identity;
} | D |
void main()
{
int* pfoo1;
int* pfoo2;
int* pfoo3;
if (true ) {
static int foo;
pfoo1 = &foo;
assert(0 == foo);
++foo;
assert(1 == foo);
foo = 10;
assert(10 == foo);
}
assert(10 == *pfoo1);
int i = 0;
do {
static int foo;
... | D |
module UnrealScript.GameFramework.GameCrowdPopulationManager;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.CrowdPopulationManagerBase;
import UnrealScript.GameFramework.GameCrowdAgent;
import UnrealScript.Engine.NavigationHandle;
import UnrealScript.GameFramework.GameCrowdDestin... | 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 |
/**
* Implementation of code coverage analyzer.
*
* Copyright: Copyright Digital Mars 1995 - 2013.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Walter Bright, Sean Kelly
* Source: $(DRUNTIMESR... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail8631.d(14): Error: function fail8631.D.foo does not override any function, did you mean to override `fail8631.B.foo`?
---
*/
class B {
int foo() immutable { return 2; }
int foo() const { return 2; }
}
class D : B {
override int foo() immutable { return 2; }
over... | D |
module sys.memory;
import exception, sys.WinFuncs;
бцел ЗначФрагмКучи;
enum Тип
{
СТД = 0,//стандартная
НФК = 2,// низко фрагментированная (LFH)
ЛА = 1, // с поддержкой look aside
}
const ФЛ = (ППамять.КучВклВып|ППамять.КучГенИскл);
export extern (D):
/**
*Проверка действенности указателя на фун... | D |
module UnrealScript.Engine.DistributionFloatUniform;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Core.DistributionFloat;
extern(C++) interface DistributionFloatUniform : DistributionFloat
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final stat... | D |
/**
* D header file for C99.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Sean Kelly
* Standards: ISO/IEC 9899:1999 (E)
*/
/* Copyright Sean Kelly 2005 - 2009.
* Distributed under the Boost Software Lic... | D |
<?xml version="1.0" encoding="ASCII"?>
<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="model.notation#_r2x2cLjoEeG3g8nK7n... | D |
module ryujin.image;
import std.string : format;
import dxlib;
import ryujin.util;
/**
Image Resource Class
*/
class Image {
int handle;
int width;
int height;
this(int handle, int width, int height) {
this.handle = handle;
this.width = width;
this.height = height;
}
}... | D |
module bin.gff3_filter;
import std.stdio, std.file, std.conv, std.getopt, std.string;
import bio.gff3.validation, bio.gff3.filtering.filtering,
bio.gff3.record_range, bio.gff3.selection, bio.gff3.record,
bio.gff3.conv.json, bio.gff3.conv.table, bio.gff3.conv.gff3,
bio.gff3.conv.gtf;
import util.sp... | D |
having the rank of or resembling or befitting a queen
| D |
module evael.physics.physics_world_interface;
class IPhysicsWorld
{
} | D |
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/SQL.build/SQLUpdate.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/sql.git-2678105727451989607/Sources/SQL/SQLBind.swift /Users/Khanh/vapor/TILApp/.build/checkouts/sql.git-2678105727451989607/Sources/SQL/SQLJoinMethod.swift /Users/Khanh/vapor/TILApp/... | D |
instance Mod_7411_BAU_Deppenhans_REL (Npc_Default)
{
// ------ NSC ------
name = "Deppenhans";
guild = GIL_out;
id = 7411;
voice = 5;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1); //... | D |
a container used for carrying money and small personal items or accessories (especially by women
a sum of money spoken of as the contents of a money purse
a small bag for carrying money
a sum of money offered as a prize
contract one's lips into a rounded shape
gather or contract into wrinkles or folds
| D |
/Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Deferred.o : /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/Rx... | 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 |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
283.600006 83.1999969 4.4000001 84.1999969 2 4 -38 142.5 140 6.19999981 6.19999981 sediments, limestone, extrusives
21.8999996 87.1999969 3.5 52 0 4 -37 143.399994 9069 4.4000001 4.4000001 extrusives, basalts
244.5 81.6999969 9.80000019 0 2 10 -9.6... | D |
/**
Contains interfaces and enums for evented I/O drivers.
Copyright: © 2012-2013 RejectedSoftware e.K.
Authors: Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
*/
module vibe.core.task;
import vibe.core.sync;
import vibe.utils.array;
import core.thread... | D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Error/AbortError.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/FileIO.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/vapor.git-... | D |
/Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/.build/debug/Essentials.build/ByteStream.swift.o : /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/Packages/Crypto-1.0.1/Sources/Essentials/ByteStream.swift /Users/KyleBlazier/Documents/Development/Xcode/Server... | D |
// COMPILE_SEPARATELY:
// EXTRA_SOURCES: imports/link7745b.d
// PERMUTE_ARGS:
import imports.link7745b;
bool forceSemantic7745()
{
C c;
c.asdfg();
return true;
}
static assert(forceSemantic7745());
void f(C c) { auto x = &c.asdfg; }
void main() {
// https://issues.dlang.org/show_bug.cgi?id=4820
next... | D |
/Users/mac/Downloads/Book\ Listing/DerivedData/Assignment/Build/Intermediates.noindex/Assignment.build/Debug-iphonesimulator/Assignment.build/Objects-normal/x86_64/ViewController.o : /Users/mac/Downloads/Book\ Listing/Assignment/AppDelegate.swift /Users/mac/Downloads/Book\ Listing/Assignment/Book.swift /Users/mac/Downl... | D |
RTE/Device/STM32F407VGTx/stm32f4xx_hal.o: C:/Users/infin/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.14.0/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c
RTE/Device/STM32F407VGTx/stm32f4xx_hal.o: C:/Users/infin/AppData/Local/Arm/Packs/Keil/STM32F4xx_DFP/2.14.0/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h
RTE/Devi... | D |
/home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MultiDraw/obj/AlgHist.o /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MultiDraw/obj/AlgHist.d : /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.3.45/MultiDraw/Root/AlgHist.cxx /cvmfs/atlas.cern.ch/repo/sw/ASG/Analy... | D |
module org.eclipse.swt.internal.mozilla.nsIDOMSerializer;
import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;
import org.eclipse.swt.internal.mozilla.nsIOutputStream;
import org.eclipse.swt.internal.mozilla.nsIDOMNode;
impor... | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Stewart Gordon
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_objsafe.d)
*/
module core.sys.windows.objsafe;
version (Windows):
private import core.s... | D |
# FIXED
ICallBLE/bleUserConfig.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/ICall/Application/bleUserConfig.c
ICallBLE/bleUserConfig.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/CC2650TIRTOS/hal_types.h
ICallBLE/bleUserConfig.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Compone... | D |
/**
* A library in the ELF format, used on Unix.
*
* Copyright: Copyright (C) 1999-2021 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, Boost License 1.0)
* Source: $(LINK2 https... | 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 Software, a... | D |
/*
TEST_OUTPUT:
---
fail_compilation/parse12967b.d(24): Error: function `parse12967b.C.pre_c` without `this` cannot be `const`
fail_compilation/parse12967b.d(25): Error: function `parse12967b.C.pre_i` without `this` cannot be `immutable`
fail_compilation/parse12967b.d(26): Error: function `parse12967b.C.pre_w` without ... | D |
/Users/go7hic/workspace/Github/Rust-in-action/grrs/target/debug/deps/libproc_macro_error_attr-b2d0cfb6d1ea5d2a.dylib: /Users/go7hic/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro-error-attr-1.0.4/src/lib.rs /Users/go7hic/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro-error-attr... | 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 |
module Pipes;
pragma(lib, "gdi32.lib");
import core.memory;
import core.runtime;
import core.thread;
import core.stdc.string;
import std.conv;
import std.math;
import std.range;
import std.string;
import std.utf;
import win32.windef;
import win32.winuser;
import win32.wingdi;
import win32.winbase;
import std.algori... | D |
the act of sending an accused person back into custody to await trial (or the continuation of the trial)
refer (a matter or legal case) to another committee or authority or court for decision
lock up or confine, in or as in a jail
| D |
/**
This module is a submodule of $(MREF std, range).
The main $(MREF std, range) module provides template-based tools for working with
ranges, but sometimes an object-based interface for ranges is needed, such as
when runtime polymorphism is required. For this purpose, this submodule
provides a number of object and `... | D |
module org.serviio.upnp.service.contentdirectory.command.audio.ListAudioOnlineContentCommand;
import org.serviio.library.entities.AccessGroup;
import org.serviio.library.metadata.MediaFileType;
import org.serviio.profile.Profile;
import org.serviio.upnp.service.contentdirectory.ObjectType;
import org.serviio.upnp.serv... | D |
instance Mod_4040_UntoterNovize_23_MT (Npc_Default)
{
//-------- primary data --------
name = "Untoter Novize";
Npctype = Npctype_UNTOTERNOVIZE;
guild = GIL_STRF;
level = 20;
voice = 2;
id = 4040;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
EquipItem (self, It... | D |
module scone.ui.selectable.text_input;
import std.conv;
import std.uni;
import std.format;
import std.algorithm;
import scone.ui.selectable;
import scone.locale;
import scone.keyboard;
/**
* Different input types for UITextInput:
*
* ascii = Allow all ascii characters.
* numeric = Allow 0-9.
* alphabetical = All... | D |
(* platform independent screen interface, antecedent standard *)
var SScreenNode 0
procedure GScreenDefault (* -- defaultnode *)
"screen-dev" NVRAMGetVar dup if (0 ==)
drop "/ebus/kinnow3" "screen-dev" NVRAMSetVar
"/ebus/kinnow3"
end
auto dn
DevTreeWalk dn!
if (dn@ 0 ==)
"/ebus/kinnow3" "screen-dev" NVRA... | D |
// This source code is in the public domain.
// Cairo: Display JPeg
import std.stdio;
import gtk.MainWindow;
import gtk.Main;
import gtk.Box;
import gtk.Widget;
import cairo.Context;
import cairo.ImageSurface;
import gdk.Pixbuf;
import gdk.Cairo;
import cairo.Surface;
import gtk.DrawingArea;
void main(string[] args... | D |
/Users/JenishMistry/DEMOS/MVCDemoAPI/DerivedData/MVCDemoAPI/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Moya.build/Objects-normal/x86_64/RequestTypeWrapper.o : /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/Moya/Sources/Moya/MultipartFormData.swift /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/Moya/Sources/Moya... | D |
/**
* This file was auto-generated by PEGGED, which is available under the Boost
* license from <https://github.com/PhilippeSigaud/Pegged>.
* The originating PEGGED grammar follows this comment.
*
* The grammar and this file are both part of the HCL2D project, which is a
* a hardware description language inspire... | D |
/**
* Compilador de comandos de nivel a "wordcode"
*/
import pegged.grammar;
import process;
import lprGrammar;
int main(string[] args)
{
import pegged.tohtml;
import std.stdio;
auto fileStreams = processArgs!(true)(args, "Compilador de comandos de nivel");
if (fileStreams is null) {
return 1;
}
sco... | D |
module tdc.stdc.string;
// for self-host subset libc binding.
extern (C) @nogc nothrow:
int strncmp(scope const char* s1, scope const char* s2, size_t n);
size_t strlen(scope const char *s);
char* strncpy(scope char* s1, scope const char* s2, size_t n);
| D |
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CandleChartDataSet.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/S... | D |
REPLACE_ACTION_TEXT
~%tutu_var%GRETEK~
~ActionOverride("[Pp][Aa][Rr][Gg][Uu][Ss]",Enemy())~
~SetGlobal("DMWWGretekShout","GLOBAL",1)~
REPLACE_ACTION_TEXT
~%tutu_var%GRETEK~
~ActionOverride("[Ww][Ii][Ll[Ff]",Enemy())~
~~
REPLACE_ACTION_TEXT
~%tutu_var%GRETEK~
~ActionOverride("[Nn][Aa][Dd][Ee][Rr]",Enemy())~
~... | D |
module tools.base;
public import tools.smart_import;
public import tools.ctfe, tools.compat, tools.text: Format, isArray, isPointer, isAssocArray;
alias void delegate() proc;
const bool off=false;
static if (size_t.sizeof==8)
const bool gccasm=true;
else
version(GNU) const bool gccasm = true;
else const bool ... | D |
/+
+ Copyright Andrej Mitrovic 2011.
+ Copyright Tomasz Stachowiak 2009 - 2011.
+ 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)
+/
module xfbuild.Compiler;
import xfbuild.Global... | D |
/Users/williamtomaz/Downloads/Projetos/MovieQuiz/DerivedData/MovieQuiz/Build/Intermediates.noindex/MovieQuiz.build/Debug-iphoneos/MovieQuiz.build/Objects-normal/arm64/QuizManager.o : /Users/williamtomaz/Downloads/Projetos/MovieQuiz/MovieQuiz/AppDelegate.swift /Users/williamtomaz/Downloads/Projetos/MovieQuiz/MovieQuiz/Q... | D |
/Users/lizziesiegle/Desktop/programming/ios/ClarifaiCam/DerivedData/ClarifaiCam/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionManager.o : /Users/lizziesiegle/Desktop/programming/ios/ClarifaiCam/Pods/Alamofire/Source/MultipartFormData.swift /Users/lizziesiegle/... | D |
module unrealdbgp.system;
public import unrealdbgp.util.log;
version(Windows) enum OS_Windows = true;
else enum OS_Windows = false;
| D |
/*******************************************************************************
* Copyright (c) 2000, 2004 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 xf.hybrid.CustomWidget;
private {
import xf.hybrid.Common;
import xf.hybrid.WidgetFactory;
import xf.hybrid.WidgetConfig;
import xf.hybrid.WidgetProp;
import xf.hybrid.widgets.Group;
import tango.util.log.Trace;
}
/**
A widget composed of multiple other widgets defined in configs
*/
... | D |
instance DIA_Cornelius_EXIT(DIA_Proto_End)
{
npc = VLK_401_Cornelius;
};
//===================================================
instance DIA_Cornelius_MR_Perm(C_Info)
{
npc = VLK_401_Cornelius;
nr = 1;
condition = DIA_WhenAsked_cond;
information = DIA_Cornelius_MR_Perm_Info;
permanent = TRUE;
important = TRUE;
... | D |
/Users/alexbennett/projects/rock_paper_scissors/target/debug/deps/rock_paper_scissors-7c2c1c5c4b712da1: src/main.rs
/Users/alexbennett/projects/rock_paper_scissors/target/debug/deps/rock_paper_scissors-7c2c1c5c4b712da1.d: src/main.rs
src/main.rs:
| D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/fail_compilation -o- -w -c
/* TEST_OUTPUT:
---
fail_compilation/ddoc_18083.d(13): Warning: Ddoc: function declaration has no parameter 'this'
fail_compilation/ddoc_18083.d(13): Warning: Ddoc: parameter count mismatch, expected 0, got 1
---
*/
/**
Params:
this = ... | D |
module jsonrpc;
public import jsonrpc.jsonrpc;
public import jsonrpc.transport;
public import jsonrpc.exception;
| D |
// URL: https://atcoder.jp/contests/abc172/tasks/abc172_a
import std;
version(unittest) {} else
void main()
{
int a; io.getV(a);
io.put(a + a^^2 + a^^3);
}
auto io = IO!()();
import lib.io;
| D |
//taken from learning d by Michael Parker
import std.stdio;
struct Array(T, size_t Size = 0) {
static if(Size > 0)
T[Size] elements;
else
T[] elements;
bool isDynamic() @property {
return Size == 0;
}
}
void main() {
Array!int arr1;
assert(arr1.isDynamic)... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/FluentProvider.build/Provider.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/fluent-provider.git-1502561075136423204/Sources/FluentProvider/Node+Row+JSON.swift /Users/AleixDiaz/Documents/VaporProject/... | D |
/home/henri/repositories/tutorial/chapter5/structs/target/debug/deps/structs-a9007b1e4076b8f6.rmeta: src/main.rs
/home/henri/repositories/tutorial/chapter5/structs/target/debug/deps/structs-a9007b1e4076b8f6.d: src/main.rs
src/main.rs:
| D |
/*
TEST_OUTPUT:
---
fail_compilation/diag10099.d(15): Error: variable `diag10099.main.s` - default construction is disabled for type `S`
---
*/
struct S
{
@disable this();
}
void main()
{
S s;
}
| D |
module swaywmipc;
public import swaywmipc.core;
public import swaywmipc.client;
| D |
module app;
import std.stdio;
import std.file;
import common;
import dumbknn;
import bucketknn;
//import your files here
import KDTree;
import quadtree;
//source for file IO
// https://www.youtube.com/watch?v=rwZFTnf9bDU
void main()
{
//because dim is a "compile time parameter" we have to use "static foreach"
... | D |
module gui.resources.generic;
import gui.locations;
import gui.resource;
import io.iomanager;
import util.jsonx;
import std.array;
import std.path;
import std.variant;
/** Persisting of objects
Different fields needs to be persisted in different situations.
A class implementing the IPersister interface is used ... | D |
module fragments.constraintpairs.linkconstraintpair;
import armos.math;
import fragments.entity;
import fragments.constraints.utils;
import fragments.contactpoint;
import fragments.constraints;
/++
+/
interface LinkConstraintPair(NumericType) {
private {
alias N = NumericType;
alias V3 = Vector!(... | D |
//This does NOT loop properly.
import deimos.ncurses;
import std.conv : to;
enum WIDTH = 30;
enum HEIGHT = 10;
int startx = 0;
int starty = 0;
immutable choices = ["Choice 1", "Choice 2", "Choice 3", "Choice 4", "Exit"];
int main()
{
scope (failure)
endwin();
scope (exit)
endwin();
WIND... | D |
import std.stdio:writeln;
import std.bigint;
import std.algorithm.iteration:reduce;
void main()
{
BigInt[] arr = [2.BigInt,3.BigInt];
do{
arr ~= reduce!((a, b) => a * b)(1.BigInt,arr) + 1;
}while(arr.length != 10);
foreach(e; arr)
writeln(e);
}
| D |
/**
Generic Diet format parser.
Performs generic parsing of a Diet template file. The resulting AST is
agnostic to the output format context in which it is used. Format
specific constructs, such as inline code or special tags, are parsed
as-is without any preprocessing.
The supported features of the are:
$(UL
... | D |
# FIXED
OSAL/osal_cbtimer.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/common/osal_cbtimer.c
OSAL/osal_cbtimer.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/OSAL.h
OSAL/osal_cbtimer.obj: D:/CCS7.0/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/limits.h
OSAL/osal_cbtimer.o... | D |
module yu.asyncsocket.tcpclient;
import std.socket;
import std.exception;
import yu.eventloop;
import yu.asyncsocket.tcpsocket;
import yu.asyncsocket.exception;
import yu.exception;
alias ConnectCallBack = void delegate(bool connect);
@trusted final class TCPClient : TCPSocket {
this(EventLoop loop, bool isIpV6... | D |
module dcrypto_utils;
private import dcrypto.evp;
auto
encrypt (string content, string password, string salt)
{
auto key = keyFromSecret (password, salt);
EVPEncryptor encryptor = new EVPEncryptor (key);
return encryptor.encrypt (content);
}
auto
decrypt (string content, string password, string salt)
{
... | D |
a group of followers hired to applaud at a performance
| D |
/**
* Copyright © DiamondMVC 2018
* License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE)
* Author: Jacob Jensen (bausshf)
*/
module diamond.data.mapping.engines.mysql.model;
import std.traits : hasUDA;
import std.string : format;
import std.datetime : Date, DateTime, Clock, SysTime;
import vibe.da... | D |
/*#D*/
// Copyright © 2012, Bernard Helyer. All rights reserved.
// See copyright notice in src/volt/license.d (BOOST ver. 1.0).
module volt.lowerer.manglewriter;
import ir = volta.ir;
import volt.errors;
import volt.interfaces;
import volta.visitor.visitor;
import volta.util.stack;
import volt.semantic.mangle;
imp... | D |
module win32.directx.dinput8;
version(Windows):
//import tango.sys.win32.Types;
//alias char CHAR;
import win32.windows;
enum {
CLASS_E_NOAGGREGATION = cast(int) 0x80040110,
}
interface IUnknown {
HRESULT QueryInterface(IID* riid, void** pvObject);
ULONG AddRef();
ULONG Release();
}
extern(C):
struct... | D |
/Users/non/Documents/School/Senior/INFO\ 449/simple-calc/DerivedData/simple-calc/Build/Intermediates.noindex/simple-calc.build/Debug-iphonesimulator/simple-calc.build/Objects-normal/x86_64/HistoryController.o : /Users/non/Documents/School/Senior/INFO\ 449/simple-calc/simple-calc/AppDelegate.swift /Users/non/Documents/S... | D |
/**
* Copyright: Copyright (c) 2010-2011 Jacob Carlborg.
* Authors: Jacob Carlborg
* Version: Initial created: Jan 26, 2010
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module orange.util.Traits;
import orange.serialization.Serializable;
import orange.serialization.archi... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.