code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxCocoa.build/Objects-normal/x86_64/ObservableConvertibleType+Driver.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxCocoa/RxCocoa/RxCocoa.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxCocoa/RxCocoa/Deprecated.swift /Users/danielmorales/CSUMB/Pot... | D |
//https://rosettacode.org/wiki/Test_integerness
import std.complex;
import std.math;
import std.meta;
import std.stdio;
import std.traits;
void main() {
print(25.000000);
print(24.999999);
print(24.999999, 0.00001);
print(25.000100);
print(-2.1e120);
print(-5e-2);
print(real.nan);
print... | D |
/***************************************************/
struct S1
{
int x;
~this() {}
}
__gshared S1* s1ptr;
S1 test1a()
{
auto result = S1(123);
(() @trusted { result.x++; s1ptr = &result; })();
return result;
}
void test1()
{
auto r = test1a();
assert(r.x == 124);
assert(&r == s1ptr)... | D |
// written in the D programming language
module samples.TheoJansen;
import dchip.all;
import samples.ChipmunkDemo;
import gameApp;
import std.math;
enum M_PI = PI;
enum M_PI_2 = PI*0.5f;
static cpSpace *space;
static cpConstraint *motor;
static void
update(int ticks)
{
cpFloat coef = (2.0f + arrowDirectio... | D |
/**
Sorts packages, modules and definitions in the syntax tree.
Copyright: © 2012 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 ddox.processors.sort;
import ddox.entities;
import std.algorithm;
void sortModul... | D |
module gravity.c.lexer;
import gravity.c.delegate_;
import gravity.c.token;
//
// gravity_lexer.h
// gravity
//
// Created by Marco Bambini on 30/08/14.
// Copyright (c) 2014 CreoLabs. All rights reserved.
//
extern (C):
/*
Lexer is built in such a way that no memory allocations are necessary during usage
... | D |
/**
Copyright: Copyright (c) 2015-2018 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module pluginlib.pluginmanager;
import voxelman.log;
import std.string : format;
import pluginlib;
class PluginManager : IPluginManager, IResourceManagerRegistry
{
IPlug... | D |
module benchmark;
package import app;
package import benchmark.controller;
package import benchmark.model;
package import benchmark.session;
package import benchmark.settings;
package import benchmark.unittests;
package import benchmark.views;
| D |
/Users/john/dev/temp/TableViewCellInsertAnimation/Build/Intermediates/TableViewCellInsertAnimation.build/Debug-iphonesimulator/TableViewCellInsertAnimation.build/Objects-normal/x86_64/LabelsTableViewCell.o : /Users/john/dev/temp/TableViewCellInsertAnimation/TableViewCellInsertAnimation/ViewController.swift /Users/john/... | D |
// Written in the D programming language.
/**
<script type="text/javascript">inhibitQuickIndex = 1</script>
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions)
)
$(TR $(TDNW Searching) $(TD $(MYREF balancedParens) $(MYREF
boyerMooreFinder) $(MYREF canFind) $(MYREF count) $(MYREF countUntil)
$(MYREF endsWith) $(MYREF co... | D |
module structures.gamestruct;
import structures.model, structures.superobject;
struct SOStandardGameStruct
{
int field_0;
int field_4;
int field_8;
SuperObject* parentSuperObject;
int field_10;
int field_14;
int field_18;
int field_1C;
int field_20;
int customBits;
int moreCustomBits;
in... | D |
void main() { runSolver(); }
void problem() {
auto M = scan!long;
auto E = scan!long(M * 2).chunks(2).array;
auto P = scan!long(8);
auto solve() {
auto graph = new long[][](9, 0);
foreach(e; E) {
e[0]--; e[1]--;
graph[e[0]] ~= e[1];
graph[e[1]] ~= e[0];
}
auto initState = n... | D |
module ecs.exceptions.entity.entityAlreadyContainsComponentException;
import ecs.exceptions.ecsException;
import std.conv : to;
class EntityAlreadyContainsComponentException : ECS_Exception
{
public this(uint id, string message, string hint)
{
super(message ~ "\nEntity already has a component with an id value of ... | D |
// D HTML to CHM converter/generator
// By Vladimir Panteleev <vladimir@thecybershadow.net> (2007-2015)
// Placed in the Public Domain
// Written in the D Programming Language, version 2
import std.algorithm;
import std.exception;
import std.file;
import std.getopt;
import std.range;
import std.stdio : File, stderr;
i... | D |
a signal to proceed
readiness to embark on bold new ventures
proceed (with a plan of action
| D |
module info.data.distance;
///////////////////////
import std.math;
////////////////////
enum DistanceType {
distanceInvalid,
distanceSquare,
distanceManhattan,
distanceEuclide,
distanceMax,
distanceDivergence,
distanceKhiDeux,
distanceVariance,
distanceWeighted,
indiceRusselAndRao,
indiceJaccard,
indiceD... | D |
/Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/Console.build/Stream/FileHandle+Stream.swift.o : /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Console-1.0.1/Sources/Console/Bar/Bar.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Console-1.0.1/Sources/Console/Comm... | D |
/Users/preethamnadig/Documents/Coding/solana/mysolana5/target/rls/debug/deps/mysolana5-49b4ecba1965168d.rmeta: programs/mysolana5/src/lib.rs
/Users/preethamnadig/Documents/Coding/solana/mysolana5/target/rls/debug/deps/mysolana5-49b4ecba1965168d.d: programs/mysolana5/src/lib.rs
programs/mysolana5/src/lib.rs:
| D |
a photographic image produced on a radiosensitive surface by radiation other than visible light (especially by X-rays or gamma rays)
| D |
#!/usr/bin/env rund
//!importPath ..
//!debug
//!debugSymbols
import std.file;
import std.stdio;
import common;
void main()
{
const paths = makePaths();
foreach (path; paths)
{
if (!exists(path))
{
writefln("mkdir(length=%s) '%s'", path.length, path);
... | D |
module android.java.android.widget.StackView_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import55 = android.java.android.view.contentcapture.ContentCaptureSession_d_interface;
import import32 = an... | D |
CGERFS (F07AVE) Example Program Data
4 2 :Values of N and NRHS
(-1.34, 2.55) ( 0.28, 3.17) (-6.39,-2.20) ( 0.72,-0.92)
(-0.17,-1.41) ( 3.31,-0.15) (-0.15, 1.34) ( 1.29, 1.38)
(-3.29,-2.39) (-1.91, 4.42) (-0.14,-1.35) ( 1.72, 1.35)
( 2.41, 0.39) (-0.56, 1.47) (-0... | D |
instance DIA_Tpl_1416_Torwache_Exit(C_Info)
{
npc = TPL_1416_Templer;
nr = 999;
condition = DIA_Tpl_1416_Torwache_Exit_Condition;
information = DIA_Tpl_1416_Torwache_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int DIA_Tpl_1416_Torwache_Exit_Condition()
{
return 1;
};
func void DIA_Tpl_1416_T... | D |
import core.stdc.stdlib : exit;
import std.file : getcwd;
import std.format;
import std.getopt;
import std.stdio;
enum VERSION = "0.0.1";
void main(string[] args)
{
bool versions;
// dfmt off
const helpInformation = args.getopt(
std.getopt.config.caseSensitive,
"v|version", &versions);
... | D |
instance BAU_902_Gunnar (Npc_Default)
{
// ------ NSC ------
name = "Gunnar";
guild = GIL_BAU;
id = 902;
voice = 10;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2); //setzt Attribute... | 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 android.java.android.app.admin.DeviceAdminInfo_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import4 = android.java.java.lang.CharSequence_d_interface;
import import8 = android.java.android.o... | D |
module tests.png.defs;
public import tests.defs;
import devisualization.image.fileformats.png;
bool checkIDHR(Image, T...)(ref Image image, T args) @safe {
IHDR_Chunk as = IHDR_Chunk(args);
return image.IHDR.width == as.width &&
image.IHDR.height == as.height &&
image.IHDR.bitDepth == ... | D |
/Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.build/HTTPUpgradeHandler.swift.o : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404973543938/Sources/NIOHTTP1/HTTPPipelineSetup.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/swift-nio.git-3108475404... | D |
instance NOV_1309_Novize(Npc_Default)
{
name[0] = NAME_Novize;
npcType = npctype_ambient;
guild = GIL_NOV;
level = 9;
voice = 3;
id = 1309;
attribute[ATR_STRENGTH] = 15;
attribute[ATR_DEXTERITY] = 15;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 148;
attribute[ATR_HI... | D |
/home/dart/DoThinking/RustMain/Advanced/day27_unsafe/open_unsafe1_raw_pointer/target/rls/debug/deps/open_unsafe1_raw_pointer-bcadd9c8dba6b951.rmeta: src/main.rs
/home/dart/DoThinking/RustMain/Advanced/day27_unsafe/open_unsafe1_raw_pointer/target/rls/debug/deps/open_unsafe1_raw_pointer-bcadd9c8dba6b951.d: src/main.rs
... | D |
module Dgame.Audio.Core.core;
package {
import derelict.openal.al;
import derelict.ogg.ogg;
import derelict.ogg.vorbis;
import derelict.ogg.vorbisfile;
}
private struct AL {
private:
ALCdevice* device;
ALCcontext* context;
}
private {
debug import std.stdio;
AL _myAl;
void _alError... | D |
module org.serviio.library.local.metadata.extractor.video;
public import org.serviio.library.local.metadata.extractor.video.FileNameParser;
public import org.serviio.library.local.metadata.extractor.video.MetadataLanguages;
public import org.serviio.library.local.metadata.extractor.video.OnlineVideoSourcesMetadata... | D |
/Users/kevinli/Desktop/FitnessCoach/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoding.o : /Users/kevinli/Desktop/FitnessCoach/Pods/Alamofire/Source/MultipartFormData.swift /Users/kevinli/Desktop/FitnessCoach/Pods/Alamofire/Source/Timeline.swift /Users/kevinli/Desktop/Fitness... | D |
module xf.rt.Color;
private {
import xf.omg.core.LinearAlgebra;
import xf.omg.core.Misc;
import tango.math.Math : isNaN, isInfinity;
import tango.io.Stdout;
}
struct ColourSystem {
char[] name; /* Colour system name */
double xRed, yRed, /* Red x, y */
... | D |
module precompiler.implementations.dynarray;
extern(C):
import core.stdc.string;
import precompiler.clib.stdio;
import precompiler.clib.stdlib;
import precompiler.implementations.array;
import precompiler.implementations.staticarray;
struct Hip_DynamicArray(T)
{
T* arr;
size_t capacity;
size_t length = 0;
... | D |
/home/chivier_humber/Documents/Study/OSH_LAB/lab2/rustshell/target/rls/debug/deps/glob-b7eaf1e4b2cd5756.rmeta: /home/chivier_humber/.cargo/registry/src/github.com-1ecc6299db9ec823/glob-0.2.11/src/lib.rs
/home/chivier_humber/Documents/Study/OSH_LAB/lab2/rustshell/target/rls/debug/deps/glob-b7eaf1e4b2cd5756.d: /home/chi... | D |
/Users/matsumur/Dropbox/Working/tekupico7(acm)/DerivedData/てくPico/Build/Intermediates/てくPico.build/Debug-iphoneos/てくPico.build/Objects-normal/arm64/ViewController.o : /Users/matsumur/Dropbox/Working/tekupico7(acm)/wakapeko/AppDelegate.swift /Users/matsumur/Dropbox/Working/tekupico7(acm)/wakapeko/TutorialViewController.... | D |
/**
* ECB/CBC Padding Methods
*
* Copyright:
* (C) 1999-2008,2013 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.modes.mode_pad;
import memutils.vector;
import botan.utils.exceptn;
import botan.constants;
/**
* Block Cipher ... | D |
/**
* Authors: The D DBI project
*
* Version: 0.2.5
*
* Copyright: BSD license
*/
module dbi.mssql.MssqlDate;
version(Rulada) {
private import std.string : toDString = toString, toCString = toStringz;
} else {
private import tango.stdc.stringz : toDString = fromUtf8z, toCString = toUtf8z;
private import tang... | D |
module mach.range.reduction;
private:
import mach.traits : ElementType;
import mach.range.reduce : reduceeager, reducelazy, canReduceEager;
public:
template EagerReductionTemplate(alias func, string initial = ``){
auto reducefunc(Iter)(Iter iter) if(canReduceEager!(Iter, func)){
return reducefunc!(Ele... | D |
/Users/user143130/Desktop/Tumblr.Yeah/DerivedData/Tumblr.Yeah/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/AlamofireImage.build/Objects-normal/x86_64/Image.o : /Users/user143130/Desktop/Tumblr.Yeah/Pods/AlamofireImage/Source/Image.swift /Users/user143130/Desktop/Tumblr.Yeah/Pods/AlamofireImage/Source/UI... | D |
/** Contains common types and constants.
*/
module diet.defs;
import diet.dom;
/** The name of the output range variable within a Diet template.
D statements can access the variable with this name to directly write to the
output.
*/
enum dietOutputRangeName = "_diet_output";
/// Thrown by the parser for malform... | D |
//-----------------------------------------------------------------------------
// wxD - ContextMenuEvent.d
// (C) 2005 bero <berobero@users.sourceforge.net>
// based on
// wx.NET - ContextMenuEvent.cs
//
/// The wxContextMenuEvent wrapper class.
//
// Written by Alexander Olk (xenomorph2@onlinehome.de)
// (C) 2004 by ... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Vapor.build/Server/NIOServerConfig.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor/... | D |
// REQUIRED_ARGS: -de
/* TEST_OUTPUT:
---
fail_compilation/b19717a.d(14): Error: forward reference to template `a`
fail_compilation/b19717a.d(14): Error: forward reference to template `a`
fail_compilation/b19717a.d(14): Error: none of the overloads of `a` are callable using argument types `()`, candidates are:
fail_com... | D |
/Users/Yowa/WorkSpace/Pokedex/Build/Intermediates/Pokedex.build/Debug/Console.build/Objects-normal/x86_64/Console+Options.o : /Users/Yowa/WorkSpace/Pokedex/Packages/Console-1.0.0/Sources/Console/Bar/Bar.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Console-1.0.0/Sources/Console/Command/Argument.swift /Users/Yowa/WorkSpa... | 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 |
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/release/deps/arrayvec-64e39fbb08d54aa0.rmeta: /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/arrayvec-0.4.11/src/lib.rs /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/arrayvec-0.4.11/src/maybe_uninit_stable.rs /... | D |
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/RadarChartDataEntry.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/s... | D |
D :
+-D.Module :
+-D.DeclDefs : void
+-D.DeclDef : void
+-D.Declaration : void
+-D.Decl : void
+-D.basicFunction : int
+-D.BasicType : int
| +-D.BasicTypeX : int
+-D.Declarator : void
| +-D... | D |
const int Value_ItBE_Addon_Leather_01 = 350;
const int Value_ItBE_Addon_Leather_02 = 350;
const int Value_ItBE_Addon_SLD_01 = 500;
const int Value_ItBE_Addon_NOV_01 = 250;
const int Value_ItBE_Addon_MIL_01 = 500;
const int Value_ItBE_Addon_KDF_01 = 500;
const int Value_ItBE_Addon_MC = 500;
const int Value_ItBE_Addon_S... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag11088.d(11): Error: enum member diag11088.E.B initialization with (E.A + 1) causes overflow for type 'int'
fail_compilation/diag11088.d(17): Error: enum member diag11088.E1.B initialization with (E1.A + 1) causes overflow for type 'short'
---
*/
enum E
{
A = int.max,
B
}... | D |
// Compiler implementation of the D programming language
// Copyright (c) 1999-2015 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
module ddmd.access;
import ddmd.agg... | D |
an urban hit squad and guerrilla group of the Communist Party in the Philippines
| D |
/*
REQUIRED_ARGS:
PERMUTE_ARGS:
TEST_OUTPUT:
---
fail_compilation/test16002.d(100): Error: undefined identifier `imports.nonexistent`
fail_compilation/test16002.d(101): Error: undefined identifier `imports.nonexistent`
---
*/
module test.fail_compilation.test16002;
#line 100
enum A = is(imports.nonexistent == package... | D |
/home/darya/Documents/exonum/examples/timestamping/backend/target/release/deps/libbzip2_sys-b6fafd266c6b7ac8.rlib: /home/darya/.cargo/registry/src/github.com-1ecc6299db9ec823/bzip2-sys-0.1.6/lib.rs
/home/darya/Documents/exonum/examples/timestamping/backend/target/release/deps/bzip2_sys-b6fafd266c6b7ac8.d: /home/darya/... | D |
import os.term;
import vcpu.core;
import vdos.os;
import vdos.video;
unittest {
con_init;
CPU.cpuinit;
vdos_init;
Clear;
for (size_t i; i < 80 * 25; ++i)
VIDEO[i].attribute = 0x1F;
VIDEO[0].ascii = 'H';
VIDEO[1].ascii = 'e';
VIDEO[2].ascii = 'l';
VIDEO[3].ascii = 'l';
VIDEO[4].ascii = 'o';
VIDEO[5].asc... | D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/Tag/TagRenderer.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateData.swift /Users/user/Documents/RiseTimeAssets/server/.build/... | 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 |
relating to or having or lying within a scrotum
| D |
instance DIA_Addon_Riordian_ADW_EXIT(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 999;
condition = DIA_Addon_Riordian_ADW_EXIT_Condition;
information = DIA_Addon_Riordian_ADW_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Riordian_ADW_EXIT_Condition()
{
return TRUE;
};
fu... | D |
// Copyright Ferdinand Majerech 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)
/**
* Implements a class that resolves YAML tags. This can be used to implicitly
* resolve tags for c... | D |
/*
* Copyright 2020 Google LLC
* Copyright 2022 Coverify Systems Technology
*
* 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
*
* U... | D |
/*******************************************************************************
* Copyright (c) 2000, 20007 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, a... | D |
module krepel.d3d11_render_device.d3d11_render_device;
import krepel.memory;
import krepel.win32.directx.dxgi;
import krepel.win32.directx.d3d11;
import krepel.win32.directx.xinput;
import krepel.win32.directx.uuidof;
import krepel.string;
import krepel.container;
import krepel.render_device;
import krepel.log;
import... | D |
module ut;
public import unit_threaded;
public import test_allocator: TestAllocator;
mixin template TestUtils() {
import unit_threaded;
import test_allocator;
/**
Returns an object that, while in scope, replaces whatever
theAllocator was with TestAllocator.
*/
auto theTestAllocator(... | D |
/home/zzy/Project/os/target/debug/build/rustversion-d9fce5af2213de40/build_script_build-d9fce5af2213de40: /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/build/build.rs /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/build/rustc.rs
/home/zzy/Pro... | 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 |
/*******************************************************************************
* Copyright (c) 2000, 2005 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 |
/home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/EventLoop/obj/ut_driver_proof_lite.o /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/EventLoop/obj/ut_driver_proof_lite.d : /home/shepj/xaod/ROOTAnalysisTutorial/EventLoop/test/ut_driver_proof_lite.cxx /home/shepj/xa... | D |
instance DIA_ADDON_SKIP_NW_EXIT(C_INFO)
{
npc = pir_1301_addon_skip_nw;
nr = 999;
condition = dia_addon_skip_nw_exit_condition;
information = dia_addon_skip_nw_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_addon_skip_nw_exit_condition()
{
return TRUE;
};
func void dia_addon_skip_nw_... | D |
module android.java.android.os.ParcelFormatException;
public import android.java.android.os.ParcelFormatException_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ParcelFormatException;
import import4 = android.java.java.lang.Class;
import import3 = android.java.java.lang.StackTraceElement;
imp... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* This module contains high-level interfaces for interacting
with DMD as a library.
*
* Copyright: Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digita... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Sean Kelly, Alex Rønne Petersen
* Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
*/
/* Copyright Sean... | D |
void main() {
auto N = ri;
auto m = N % 30;
int[] arr = [1, 2, 3, 4, 5, 6];
foreach(i; 0..m) {
auto k = i % 5;
swap(arr[k], arr[k+1]);
}
arr.to!(string[]).join.writeln;
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
import std.range... | D |
/** W3C (XML/HTML) Formatting.
Copyright: Per Nordlöw 2018-.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(WEB Per Nordlöw)
*/
module nxt.w3c;
import std.traits: isSomeChar, isSomeString;
/** Convert character $(D c) to HTML representation. */
string toHTML(C)(C c, bool nbsp =... | D |
import std.stdio;
alias int myint;
struct S { void bar() { } int x = 4; static int z = 5; }
class C { void bar() { } final void foo() { } static void abc() { } }
abstract class AC { }
class AC2 { abstract void foo(); }
class AC3 : AC2 { }
final class FC { void foo() { } }
enum E { EMEM }
/***************************... | D |
var int vatras_di_itemsgiven;
func void B_GiveTradeInv_Vatras_DI(var C_Npc slf)
{
if(vatras_di_itemsgiven == FALSE)
{
CreateInvItems(slf,ItMi_Gold,230);
CreateInvItems(slf,ItPl_Temp_Herb,4);
CreateInvItems(slf,ItPl_Perm_Herb,2);
CreateInvItems(self,ItSc_LightHeal,2);
CreateInvItems(self,ItSc_Zap,2);
Cre... | D |
import std.stdio;
import Dgame.Window.Window;
import Dgame.Window.Event;
import Dgame.Audio.Sound;
enum VERSION = 0.2;
void main() {
writeln("AudioClapper v", VERSION);
writeln("Copyright 2019 TechCogs");
writeln("Licensed under the GPLv2");
Window win = Window(300, 250, "AudioClapper");
Event evt;
Sound snd ... | 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*, ...);
}
/***************... | D |
instance DIA_ISGAROTH_EXIT(C_INFO)
{
npc = kdf_509_isgaroth;
nr = 999;
condition = dia_isgaroth_exit_condition;
information = dia_isgaroth_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_isgaroth_exit_condition()
{
return TRUE;
};
func void dia_isgaroth_exit_info()
{
AI_Output(self,o... | D |
import std.stdio;
import std.math;
import std.conv;
import sieve;
void main() {
auto primes = ShortenSieve(Sieve(1_000_000));
long input = 600851475143;
auto sqrtInput = sqrt(to!float(input));
long lastPrime = input;
foreach (p; primes) {
if (input == 1) break;
if (p > sqrtInput) {
writeln(inp... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/Data/TemplateDataEncoder.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/panartem/Developer/Study/... | D |
void test1()
{
static struct Foo1
{
}
Foo1 foo1;
Foo1 foo1_2 = Foo1(); // literal syntax
static assert(!__traits(compiles, foo1()));
}
/**************************************/
void test2()
{
static struct Foo2
{
this(int n){}
}
Foo2 foo2;
Foo2 foo2_2 = Foo... | D |
module android.java.android.icu.text.SearchIterator_ElementComparisonType;
public import android.java.android.icu.text.SearchIterator_ElementComparisonType_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SearchIterator_ElementComparisonType;
import import0 = android.java.android.icu.text.Searc... | D |
import std.path;
import std.stdio;
int main() {
writeln(buildPath("/home/www/eeyore-java", "shared"));
return 0;
}
| D |
module wx.NotifyEvent;
public import wx.common;
public import wx.CommandEvent;
//! \cond EXTERN
extern (C) ЦелУкз wxNotifyEvent_ctor(ТипСобытия типКоманды,цел идок);
extern (C) проц wxNotifyEvent_Veto(ЦелУкз сам);
extern (C) проц wxNotifyEvent_Allow(ЦелУкз сам);
extern (C) бул wxNotifyEvent_IsAllowed(ЦелУкз сам... | D |
module yu.time;
import std.datetime;
long sysToUinxTimeMs(ref SysTime time)
{
return stdToUinxTimeMs(time.stdTime);
}
long stdToUinxTimeMs(long stdTime)
{
return convert!("hnsecs", "msecs")(stdTime - 621_355_968_000_000_000L);
}
| D |
/+
+ Copyright 2023 Aya Partridge
+ Copyright 2019 - 2022 Michael D. Parker
+ 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 ft.increm;
import bindbc.freetype.config;
... | D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
/**
* Source file for Camera (s).
*/
module charge.gfx.camera;
import std.math : sin, atan, asin, PI, PI_4;
import charge.math.movable;
import charge.math.matrix4x4d;
import charge.gfx.gl;
impo... | D |
education of men and women in the same institutions
| D |
//********************
// Wisp Prototype
//********************
PROTOTYPE Mst_Default_Wisp(C_Npc)
{
//----- Monster -----
name = "Ognik";
guild = GIL_BLOODFLY;
aivar[AIV_MM_REAL_ID] = ID_WISP;
level = 4;
//----- Attribute ----
attribute [ATR_STRENGTH] = 20;
attribute [ATR_DEXTERITY] =... | D |
module kernel.layer1.linkedlist;
import kernel.layer1.malloc;
// A quick note - This linked list will deallocate the entire LinkedNode when
// removing something from the list. This means if T is not a pointer or a
// simple copyable type then it will be invalid memory.
__gshared:
nothrow:
struct LinkedNode(T)
{
pu... | D |
module android.java.android.media.MediaSync_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import3 = android.java.android.view.Surface_d_interface;
import import2 = android.java.android.media.MediaSy... | D |
/Users/Takashi/Documents/codepath/tips/DerivedData/tips/Build/Intermediates/tips.build/Debug-iphonesimulator/tips.build/Objects-normal/x86_64/loadingAnimation.o : /Users/Takashi/Documents/codepath/tips/tips/ViewController.swift /Users/Takashi/Documents/codepath/tips/tips/AppDelegate.swift /Users/Takashi/Documents/codep... | D |
/**
* The exception module defines all system-level exceptions and provides a
* mechanism to alter system-level error handling.
*
* Copyright: Copyright Sean Kelly 2005 - 2011.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly and Jonathan M Davis
* Source: ... | D |
# FIXED
angle_gen.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/angle_gen/src/32b/angle_gen.c
angle_gen.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/angle_gen/src/32b/angle_gen.h
angle_gen.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/stdint.h
angle_gen.obj: C:/ti/motorware/motorware_1... | D |
/***********************************************************************\
* lmcons.d *
* *
* Windows API header module *
* ... | D |
/*
Contains class/struct mapper.
*/
module automapper.mapper;
import automapper.meta;
import automapper.naming;
import automapper.type.converter;
import automapper.value.transformer;
import automapper.config;
import automapper : RuntimeAutoMapper;
/// A mapper that map a source type to a dest. type.
interface IM... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.