code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/**
* The atomic module provides basic support for lock-free
* concurrent programming.
*
* Copyright: Copyright Sean Kelly 2005 - 2010.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly, Alex Rønne Petersen
* Source: $(DRUNTIMESRC core/_atomic.d)
*/
/* ... | D |
module UnrealScript.UTGame.UTRocketLight;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UDKBase.UDKExplosionLight;
extern(C++) interface UTRocketLight : UDKExplosionLight
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass Stat... | D |
/* swe_multidot.d, dotfield tuning paradigm.
*
* based on multidot.d for old render
- adjusted for rex7.8
- replaced old render commands with new ones
- created new functions to implement new render correctly
- led state list not used
- SWE 09.26.07
- VERSIONS:
v1:
v2:swe 12/ /200... | D |
/*
[The "BSD licence"]
Copyright (c) 2005-2008 Terence Parr
All rights reserved.
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 must retain the above copyright
notice, this list ... | D |
module java.net.all;
public import java.net.MalformedURLException;
public import java.net.URL;
| D |
module bounce_direction;
enum BounceDirection
{
None,
Top,
Bottom,
Left,
Right
};
| D |
INSTANCE Focus_Normal (C_Focus)
{
// NSCs
npc_longrange = 500.0; // Nur im Normalmodus gueltig -- Horst:Nein auch im Melee modus wichtig!!Bei Fragen bitte an mich wenden
npc_range1 = 0.0;
npc_range2 = 300.0;
npc_azi = 30.0;
npc_elevup = 30.0;
npc_elevdo = -45.0;
npc_prio = 2;
// ITEMs
item... | D |
/**
* This is a special module and linked into each DSO (Dynamic Shared Object,
* i.e., DLL/.so/.dylib or executable), registering the binary with druntime.
*
* When linking against static druntime (or linking the shared druntime library
* itself), rt.sections_elf_shared pulls in this object file automatically.
*... | D |
measuring instrument for measuring the relative humidity of the atmosphere
| 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 |
# FIXED
HALCoGen-TMS570LC43x/source/HL_errata.obj: /home/koitt/lwip_demo/HALCoGen_EMAC_Driver_with_lwIP_Demonstration/v00.03.00/TMS570LC43x/HALCoGen-TMS570LC43x/source/HL_errata.c
HALCoGen-TMS570LC43x/source/HL_errata.obj: /home/koitt/lwip_demo/HALCoGen_EMAC_Driver_with_lwIP_Demonstration/v00.03.00/TMS570LC43x/HALCoGe... | D |
/++
This is a submodule of $(MREF mir, ndslice).
Safety_note:
User-defined iterators $(RED must) care about their safety except bounds checks.
Bounds are checked in ndslice code.
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Copyright: Copyright © 2016-, Ilya Yaroshenko
Authors: Ilya Yaro... | D |
module capstone.sparc;
extern (C):
/* Capstone Disassembly Engine */
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2014-2015 */
// GCC SPARC toolchain has a default macro called "sparc" which breaks
// compilation
/// Enums corresponding to Sparc condition codes, both icc's and fcc's.
enum sparc_cc
{
SPARC_CC_INVA... | D |
// Copyright Ferdinand Majerech 2010 - 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)
///Functions detecting contacts between physics bodies.
module physics.contactdetect;
@safe
i... | D |
/Users/sapientisat/Projects/Supplements/Supplements/XcodeBuild/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintDirectionalInsetTarget.o : /Users/sapientisat/Projects/Supplements/Supplements/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/sapientisat/Project... | D |
module interpretador;
import std.conv : to;
struct Instrucción {
Código código;
uint rf1;
uint rf2;
short inm;
@disable this ();
import memorias : Bloque, Tipo, palabra, bytesPorPalabra;
@safe this (palabra palabraInstrucción) {
import std.conv : to;
this.código = ((palabra... | D |
/**
* Authors: Frank Benoit <keinfarbton@googlemail.com>
*/
module java.lang.System;
import java.lang.util;
import java.lang.exceptions;
import java.io.PrintStream;
version(Tango){
static import tango.sys.Environment;
static import tango.core.Exception;
static import tango.io.model.IFile;
static imp... | D |
module app.form.CommentForm;
import hunt.framework;
class CommentForm : Form
{
mixin MakeForm;
@Min(0)
int postId;
@Length(1, 10000)
string content;
}
| D |
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | D |
module android.java.android.media.audiofx.DynamicsProcessing_Config_Builder;
public import android.java.android.media.audiofx.DynamicsProcessing_Config_Builder_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!DynamicsProcessing_Config_Builder;
import import0 = android.java.android.media.audiofx... | D |
// PERMUTE_ARGS: -inline -O -property
// Test operator overloading
extern (C) int printf(const(char*) fmt, ...);
template Seq(T...){ alias T Seq; }
bool thrown(E, T)(lazy T val)
{
try { val(); return false; }
catch (E e) { return true; }
}
/**************************************/
class A
{
string opUn... | D |
/**
Copyright 2018 Mark Fisher
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, publish, distribute, subl... | D |
module test;
import core.vararg;
import std.stdio;
import std.string;
extern(C) int printf(const char*, ...);
/*******************************************/
struct S1
{
void* function(void*) fn;
}
template M1()
{
S1 s;
}
void test1()
{
S1 s2;
mixin M1;
assert(s.fn == null);
}
/****************... | D |
/*
DIrrlicht - D Bindings for Irrlicht Engine
Copyright (C) 2014- Danyal Zia (catofdanyal@yahoo.com)
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 gra... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Robert Klotzner 2012
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Robert Klotzner
* Standards: The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition
*/
module core.sys.posix.sys.statvfs;
private impo... | D |
/*
Album Art plugin for DeaDBeeF
Copyright (C) 2009-2011 Viktor Semykin <thesame.ml@gmail.com>
Copyright (C) 2009-2013 Alexey Yakovenko <waker@users.sourceforge.net>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any dama... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag16977.d(22): Error: undefined identifier `undefined`, did you mean function `undefinedId`?
fail_compilation/diag16977.d(23): Error: cannot implicitly convert expression `"\x01string"` of type `string` to `int`
fail_compilation/diag16977.d(24): Error: template diag16977.templ can... | D |
////HEPHERNAAN - WILL SoA
CHAIN IF ~InParty("L0Will")
See("L0Will")
!StateCheck("L0Will",CD_STATE_NOTVALID)
!StateCheck("L#HPH",CD_STATE_NOTVALID)
CombatCounter(0)
Global("L#2WillL#HPH","GLOBAL",0)~ THEN L#HPHB L#HPHWill01
@0
DO ~SetGlobal("L#2WillL#HPH","GLOBAL",1)~
== L0WillB @1
== L#HPHB @2
== L#HPHB @3
==... | D |
module rabbitmq.examples.amqp_consumer;
import std.stdio;
import std.string;
import std.conv:to;
import symmetry.api.rabbitmq;
enum SUMMARY_EVERY_US = 1000000;
void run(amqp_connection_state_t conn)
{
ulong start_time = now_microseconds();
int received = 0;
int previous_received = 0;
ulong previous_report_t... | D |
var int EVT_CRYPT_01_OneTime;
func void evt_crypt_01()
{
if(EVT_CRYPT_01_OneTime == FALSE)
{
Wld_InsertNpc(Lesser_Skeleton,"EVT_CRYPT_ROOM_01_SPAWN_02");
Wld_InsertNpc(Skeleton,"EVT_CRYPT_ROOM_01_SPAWN_04");
Wld_InsertNpc(skeleton_warrior,"EVT_CRYPT_ROOM_01_SPAWN_06");
EVT_CRYPT_01_OneTime = TRUE;
};
};
... | D |
/home/louis/pepper/INTECH/4A/RUST/exercices/TP1/ex16_une_lettre_sur_deux/target/rls/debug/deps/ex16_une_lettre_sur_deux-7cf281a75865b7ba.rmeta: src/main.rs
/home/louis/pepper/INTECH/4A/RUST/exercices/TP1/ex16_une_lettre_sur_deux/target/rls/debug/deps/ex16_une_lettre_sur_deux-7cf281a75865b7ba.d: src/main.rs
src/main.r... | D |
/Users/Leex/TableView_Test/Build/Intermediates.noindex/TableView_Test.build/Debug-iphonesimulator/TableView_Test.build/Objects-normal/x86_64/ViewModel.o : /Users/Leex/TableView_Test/TableView_Test/Supporter/LoadingViewable.swift /Users/Leex/TableView_Test/TableView_Test/AppDelegate.swift /Users/Leex/TableView_Test/Tabl... | D |
/home/iot_dev/Documents/Rust_prac/rust_web/simple_iot_api/target/release/deps/bitflags-3481844fb16a27e3.rmeta: /home/iot_dev/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/src/lib.rs
/home/iot_dev/Documents/Rust_prac/rust_web/simple_iot_api/target/release/deps/libbitflags-3481844fb16a27e3.rlib: /home/i... | D |
// Copyright Brian Schott 2015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module dfmt.indentation;
import dparse.lexer;
/**
* Returns: true if the given token type is a wrap indent type... | D |
module nvimhost.client;
alias Buffer = int;
alias Window = int;
alias Tabpage = int;
alias NullInt = int;
enum MsgPackNullValue = 0xc0;
enum NeoExtType {
Buffer,
Window,
Tabpage
}
enum MsgKind {
request = 0,
response = 1,
notify = 2,
}
struct Msg(T...) {
import std.typecons;
int ki... | D |
/*******************************************************************************
* Copyright (c) 2000, 2006 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 Michael D. Parker 2018.
// 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 bindbc.sdl.bind.sdlvulkan;
import bindbc.sdl.config;
import bindbc.sdl.bind.sdlstdinc : SDL_bool... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail12255.d(29): Error: AA key type `SC1` does not have `bool opEquals(ref const SC1) const`
fail_compilation/fail12255.d(30): Error: AA key type `SC2` does not support const equality
fail_compilation/fail12255.d(35): Error: AA key type `SD1` should have `size_t toHash() const nothr... | D |
/Users/apple-1/Documents/xCode/CoreDataSampleApp/Build/Intermediates/CoreDataSampleApp.build/Debug-iphonesimulator/CoreDataSampleApp.build/Objects-normal/x86_64/customview.o : /Users/apple-1/Documents/xCode/CoreDataSampleApp/CoreDataSampleApp/ViewController.swift /Users/apple-1/Documents/xCode/CoreDataSampleApp/CoreDat... | D |
/Users/oslo/code/swift_vapor_server/.build/debug/SocksCore.build/Error.swift.o : /Users/oslo/code/swift_vapor_server/Packages/Socks-1.2.7/Sources/SocksCore/Address+C.swift /Users/oslo/code/swift_vapor_server/Packages/Socks-1.2.7/Sources/SocksCore/Address.swift /Users/oslo/code/swift_vapor_server/Packages/Socks-1.2.7/So... | D |
// *************************************************************************
// Kapitel 1
// *************************************************************************
// *************************************************************************
// EXIT
// *********************************************... | D |
// Copyright Jernej Krempuš 2012
// 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 pfft.avx_double;
import core.simd;
import pfft.fft_impl;
version(LDC)
{
import pfft.avx_declara... | D |
Hello World
=== ${RESULTS_DIR}/compilable/testheader1i.di
// D import file generated from 'compilable/extra-files/header1.d'
module foo.bar;
import core.vararg;
void writeln(T...)(T)
{
}
pragma (lib, "test");
pragma (msg, "Hello World");
pragma (linkerDirective, "/DEFAULTLIB:test2");
static assert(true, "message");
ali... | D |
module android.java.android.webkit.WebSettings;
public import android.java.android.webkit.WebSettings_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!WebSettings;
import import6 = android.java.java.lang.Class;
| D |
module UnrealScript.TribesGame.TrProj_Tracer;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.Actor;
import UnrealScript.TribesGame.TrProjectile;
extern(C++) interface TrProj_Tracer : TrProjectile
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@proper... | D |
import std.stdio;
import std.file;
import std.path;
import std.array;
import std.string;
import std.conv;
import std.parallelism;
import std.concurrency;
import std.process;
import std.uuid;
import std.regex;
int main(string[] args) {
//
// Startup message
//
writeln("PDFSearch v1.0.0");
/... | D |
// This source code is in the public domain.
// Dialog: Help - About
import std.stdio;
import gtk.MainWindow;
import gtk.Box;
import gtk.Main;
import gtk.Menu;
import gtk.MenuBar;
import gtk.MenuItem;
import gtk.Widget;
import gdk.Event;
import gtk.AboutDialog;
import gdk.Pixbuf;
import gtk.Window;
void main(string... | 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 |
// 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 |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/TemplateKit.build/AST/TemplateEmbed.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.buil... | D |
/Users/shawngong/Centa/.build/debug/Console.build/Bar/Loading/Console+LoadingBar.swift.o : /Users/shawngong/Centa/Packages/Console-1.0.2/Sources/Console/Bar/Bar.swift /Users/shawngong/Centa/Packages/Console-1.0.2/Sources/Console/Command/Argument.swift /Users/shawngong/Centa/Packages/Console-1.0.2/Sources/Console/Comman... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Fluent.build/Service/RevertCommand.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/panartem/Developer/Study/Microservices-vapor/TI... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
303.5 77.1999969 2.79999995 89.6999969 10 14 -38.7000008 143.100006 139 4.19999981 4.19999981 sediments, limestone
289.600006 75.1999969 1.79999995 73.1999969 11 19 -31.6000004 145.600006 9338 2.5 2.5 sediments, saprolite
294.399994 82.9000015 1.89... | D |
/**
* Copyright: (c) 2005-2009 Eric Poggel
* Authors: Eric Poggel
* License: <a href="lgpl3.txt">LGPL v3</a>
*/
module yage.core.types;
import tango.stdc.string : memcpy;
import tango.math.Math;
import yage.core.math.math;
import yage.core.math.vector:Vec4f;
/**
* Allow for easy bit-by-bit conver... | D |
import util;
import expression; // : Node, Identifier
import semantic, scope_;
import std.algorithm, std.range, std.conv, std.string:join;
import std.typecons : Tuple, tuple;
import hashtable;
// TODO: make the Scheduler understand all parties that currently make use of
// Identifier.tryAgain. Then get rid of Identi... | D |
/Users/Benjamin/Desktop/Delivry/Delivry/DerivedData/Delivry/Build/Intermediates.noindex/Delivry.build/Debug-iphonesimulator/Delivry.build/Objects-normal/x86_64/paymentScreenViewController.o : /Users/Benjamin/Desktop/Delivry/Delivry/ResetPassword/ResetPassword.swift /Users/Benjamin/Desktop/Delivry/Delivry/New\ Group/Goo... | D |
module wx.Event;
public import wx.common;
typedef int EventType;
//! \cond EXTERN
static extern (C) EventType wxEvent_GetEventType(IntPtr self);
static extern (C) int wxEvent_GetId(IntPtr self);
static extern (C) bool wxEvent_GetSkipped(IntPtr self);
static extern (C) int wxEvent_GetTimestamp(IntPtr self);
s... | D |
// Copyright Steve Teale 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)
// Written in the D programming language
module teardrop;
import mainwin;
import constants;
import acomp;
imp... | D |
/Users/hauyadav/Learn/nysample/NYTSample/Build/Build/Intermediates.noindex/NYTSample.build/Debug-iphonesimulator/NYTSampleTests.build/Objects-normal/x86_64/Result.o : /Users/hauyadav/Learn/nysample/NYTSample/NYTSample/Util/JSON.swift /Users/hauyadav/Learn/nysample/NYTSample/NYTSample/Model/MediaMetadata.swift /Users/ha... | D |
release or vent
release from a leash
turn loose or free from restraint
| D |
module android.java.javax.xml.transform.TransformerFactory;
public import android.java.javax.xml.transform.TransformerFactory_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!TransformerFactory;
import import4 = android.java.javax.xml.transform.Templates;
import import2 = android.java.javax.xml... | D |
module d2d.game.world.map.mapcontroller;
import d2d.game.world.map.map;
/*
A mapcotroller can (mut dosnt have to) be set for a map
Mapcontrollers should be derived from Base as a map will try to set it as its child
They exsist to handle common tasks, interface with the map above them etc.
*/
interface ... | D |
instance VLK_6020_HARUM(Npc_Default)
{
name[0] = "Elvais";
guild = GIL_OUT;
id = 6020;
voice = 1;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,5);
aivar[AIV_PlayerHasPickedMyPocket] = TRUE;
fight_tactic = FAI_HUMAN_MASTER;
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_FatB... | D |
import dshell;
int main()
{
version (Windows) if (Vars.MODEL == "32") // Avoid optlink
return DISABLED;
Vars.set(`SRC`, `$EXTRA_FILES/dll`);
Vars.set(`EXE_NAME`, `$OUTPUT_BASE/testdll$EXE`);
Vars.set(`DLL`, `$OUTPUT_BASE/mydll$SOEXT`);
version (Windows)
{
enum dllExtra = `$SRC... | D |
/home/owen/github/cryptopals/cryptopals/set1/detect_single_byte_XOR/target/debug/build/byteorder-3c046f6b37473af9/build_script_build-3c046f6b37473af9: /home/owen/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/build.rs
/home/owen/github/cryptopals/cryptopals/set1/detect_single_byte_XOR/target/debug/bui... | D |
module protection2;
import std.stdio;
class MyClass {
private void sayHello() {
writeln("Hello");
}
}
struct MyStruct {
void sayHello() {
MyClass mc = new MyClass;
mc.sayHello();
}
} | D |
module foundation.array;
version(D_ObjectiveC) {
import foundation.object;
import core.attribute : selector;
extern (Objective-C):
extern class NSArray : NSObject {
public:
@property int count () @selector("count");
}
} | D |
instance BDT_10009_Addon_Bandit(Npc_Default)
{
name[0] = NAME_Bandit;
guild = GIL_BDT;
id = 10009;
voice = 13;
flags = 0;
npcType = NPCTYPE_BL_AMBIENT;
B_SetAttributesToChapter(self,2);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_Nagelknueppel);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"H... | D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/SQLite.build/Database/SQLiteStorage.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/sqlite.git--8232814251736334455/Sources/SQLite/Query/SQLiteQuery+Expression+0.swift /Users/user/Documents/RiseTimeAssets/server/.bu... | D |
module cf.spew.implementation.windowing.misc;
import cf.spew.ui.display;
import cf.spew.ui.context.defs;
import cf.spew.ui.window.defs;
import cf.spew.bindings.symbolloader;
version(Windows) {
public import winapi = core.sys.windows.windows;
enum WindowDWStyles : winapi.DWORD {
Dialog = winapi.WS_OVERL... | D |
/home/zzy/Project/os/target/debug/deps/librustversion-7ca47cf6ed1207ae.so: /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/src/lib.rs /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/src/attr.rs /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61... | D |
module dwt.internal.mozilla.nsIDocShellTreeOwner;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsIDocShellTreeItem;
import dwt.internal.mozilla.nsStringAPI;
/*****************************************************************... | D |
// Written in the D programming language.
/**
This module implements a variety of type constructors, i.e., templates
that allow construction of new, useful general-purpose types.
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Tuple) $(TD
$(LREF isTu... | D |
a shed at the edge of a river or lake
| D |
module engine.core.window.context;
import engine.core.window.exceptions;
import derelict.glfw3.glfw3;
import derelict.opengl3.gl3;
import std.exception: enforce;
enum WindowContextVersion {
None = 0,
OpenGL_21 = 21,
OpenGL_32 = 31,
OpenGL_41 = 41,
OpenGL_45 = 45,
OpenGL_ES_20 = 120,
Op... | D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Console.build/Console.swift.o : /Users/work/Projects/Hello/.build/checkouts/console.git--2431895819212044213/Sources/Console/Terminal/ANSI.swift /Users/work/Projects/Hello/.build/checkouts/console.git--2431895819212044213/Sources/Console/Deprecated.swift ... | D |
/// Define the micro-threading reactor
module mecca.reactor;
// Licensed under the Boost license. Full copyright information in the AUTHORS file
static import posix_signal = core.sys.posix.signal;
static import posix_time = core.sys.posix.time;
static import posix_ucontext = core.sys.posix.ucontext;
import core.memor... | D |
// Copyright Brian Schott (Hackerpilot) 2016.
// 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 dscanner.analysis.lambda_return_check;
import dparse.ast;
import dparse.lexer;
import ds... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag14163.d(16): Error: constructor diag14163.Bar.this cannot call super() implicitly because it is annotated with @disable
---
*/
class Foo
{
@disable this();
}
class Bar : Foo
{
@disable this();
this(int i) {}
}
void main() {}
| D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Validation.build/Validators/URLValidator.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/panartem/Developer/Study/Micro... | D |
// https://issues.dlang.org/show_bug.cgi?id=23965
// REQUIRED_ARGS: -de
deprecated:
struct S {}
void fun()
{
S[] arr;
arr ~= S();
}
| D |
import std.stdio;
void main(string[] args) {
writeln("For gotten the story with the idea behind this module.");
string answer = args[0];
writeln(answer);
// read();
} | D |
deprecated(msg) module imports.fail19609d;
enum msg = "You won't see this either";
| D |
import std.stdio;
void main() {
writeln("good");
}
| D |
/*
* gl.d
*
* This module contains bindings for opengl and was adapted from GL.h
*
* Author: Dave Wilkinson
*
*/
module binding.opengl.gl;
version(PlatformWindows) {
pragma(lib, "opengl32.lib");
pragma(lib, "glu32.lib");
}
else {
}
// The functions supported by opengl
extern (System) {
void glAccum(GLenum... | D |
// Written in the D programming language.
/**
Standard I/O functions that extend $(B core.stdc.stdio). $(B core.stdc.stdio)
is $(D_PARAM public)ally imported when importing $(B std.stdio).
Source: $(PHOBOSSRC std/_stdio.d)
Copyright: Copyright Digital Mars 2007-.
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost Li... | 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 |
module ecoji.d.mapping;
immutable dchar PADDING = '\u2615';
immutable dchar PADDING40 = '\u269C';
immutable dchar PADDING41 = '\U0001F3CD';
immutable dchar PADDING42 = '\U0001F4D1';
immutable dchar PADDING43 = '\U0001F64B';
immutable dchar[1024] EMOJIS = [
'\U0001F004', '\U0001F0CF', '\U0001F170', '\U0001F171', '\U0... | D |
/home/jcawl/code/learn_rust/crates_programs/cli_graph_crate/target/debug/deps/cli_graph_crate-a49a54ac109665ae.rmeta: src/main.rs
/home/jcawl/code/learn_rust/crates_programs/cli_graph_crate/target/debug/deps/cli_graph_crate-a49a54ac109665ae.d: src/main.rs
src/main.rs:
| D |
module more.parse;
// returns: ubyte.max on error
ubyte hexValue(char c)
{
if(c <= '9') {
return (c >= '0') ? cast(ubyte)(c - '0') : ubyte.max;
}
if(c >= 'a') {
return (c <= 'f') ? cast(ubyte)(c + 10 - 'a') : ubyte.max;
}
if(c >= 'A' && c <= 'F') {
return cast(ubyte)(c + 10 ... | D |
void main() {
import std.stdio, std.string, std.conv, std.algorithm;
int h, w, k;
rd(h, w, k);
const int mod = 10 ^^ 9 + 7;
auto dp = new int[](w);
dp[0] = 1;
foreach (_; 0 .. h) {
auto nex = new int[](w);
foreach (bit; 0 .. (1 << (w - 1))) {
if (bit & (bit >> 1))
continue;
f... | D |
import imports.fail356;
int imports; // collides with package name
| D |
instance DIA_Addon_Esteban_EXIT(C_Info)
{
npc = BDT_1083_Addon_Esteban;
nr = 999;
condition = DIA_Addon_Esteban_EXIT_Condition;
information = DIA_Addon_Esteban_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Esteban_EXIT_Condition()
{
if(Bodyguard_Killer == FALSE)
{
return TRU... | D |
/Users/seandorian/Code/PasswordStrength/Build/Intermediates/SwiftMigration/Password\ Strength/Intermediates.noindex/Password\ Strength.build/Debug-iphonesimulator/Password\ StrengthTests.build/Objects-normal/x86_64/NumberMappingTests.o : /Users/seandorian/Code/PasswordStrength/Password\ StrengthTests/MockNotificationCe... | D |
instance DIA_Addon_Garaz_EXIT(C_Info)
{
npc = BDT_10024_Addon_Garaz;
nr = 999;
condition = DIA_Addon_Garaz_EXIT_Condition;
information = DIA_Addon_Garaz_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Garaz_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Garaz_EXIT_Info()... | D |
/*
* inigear.d
*
* Copyright 2012 Igor Solkin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This progr... | D |
void test()
{
int innerLocal = 20;
throw new Exception("foo");
}
void main(string[] args)
{
string myLocal = "bar";
test();
}
| D |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2012 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages ... | D |
module app;
import dlangui;
import rx;
import mvvm.common;
import mvvm.models.simple;
import mvvm.views.simple;
mixin APP_ENTRY_POINT;
/// entry point for dlangui based application
extern (C) int UIAppMain(string[] args)
{
auto window = Platform.instance.createWindow("Sample Window", null);
auto view = create... | D |
/*
Copyright (c) 1996 Blake McBride
All rights reserved.
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 must retain the above copyright
notice, this list of conditions and th... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.