code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
// Copyright Ferdinand Majerech 2011 - 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 dgamevfs.test;
import dgamevfs._;
import std.algorithm;
import std.file;
import std.... | D |
an unhappy and worried mental state
(physics) a secondary influence on a system that causes it to deviate slightly
activity that is a malfunction, intrusion, or interruption
a disposition that is confused or nervous and upset
the act of causing disorder
| 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 |
a former kingdom in north-central Europe including present-day northern Germany and northern Poland
| D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/Leaf.build/Buffer/Buffer+Leaf.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /U... | D |
module zyre.message;
import zyre.generated;
import zyre.resource;
import zyre.logger;
import std.experimental.allocator : theAllocator, make, dispose;
class ZyreMessage(bool owner) {
private {
SharedResource _msg;
}
@property inout(zmsg_t)** handle() inout @trusted pure nothrow {
return ca... | D |
/Users/hdcui/blind_sig_project/bld_sig/target/release/build/hyper-30d3e9b90c56b628/build_script_build-30d3e9b90c56b628: /Users/hdcui/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/build.rs
/Users/hdcui/blind_sig_project/bld_sig/target/release/build/hyper-30d3e9b90c56b628/build_script_build-30d3e9b90c56b... | D |
/Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/Objects-normal/x86_64/Date+Value.o : /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSON.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsint... | D |
instance DIA_Biff_DI_EXIT(C_Info)
{
npc = DJG_713_Biff_DI;
nr = 999;
condition = DIA_Biff_DI_EXIT_Condition;
information = DIA_Biff_DI_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Biff_DI_EXIT_Condition()
{
return TRUE;
};
func void DIA_Biff_DI_EXIT_Info()
{
AI_StopProcessInfos(se... | D |
/*
* Copyright (c) 2017-2018 sel-project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | D |
/* 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 Walter ... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
module ddoc10325;
/** */
template templ(T...)
if (someConstraint!T)
{
}
/** */
void foo(T)(T t)
if (someConstraint!T)
{
}
| D |
module std.typeinfo.ti_Along;
import kernel.core.system;
// long[]
class TypeInfo_Al : TypeInfo
{
char[] toString() { return "long[]"; }
hash_t getHash(void *p)
{ long[] s = *cast(long[]*)p;
size_t len = s.length;
auto str = s.ptr;
hash_t hash = 0;
while (len)
{
hash *= 9;... | D |
/*
Copyright (c) 2013 Andrey Penechko
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,
exec... | D |
a measuring instrument for determining the specific gravity of a liquid or solid
| D |
a type of inflatable air mattress
| 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_6_MobileMedia-... | D |
/Users/danielmuraveyko/Google\ Drive/Xcode/Lab8.3/DerivedData/Lab8.3/Build/Intermediates/Lab8.3.build/Debug-iphonesimulator/Lab8.3.build/Objects-normal/x86_64/AppDelegate.o : /Users/danielmuraveyko/Google\ Drive/Xcode/Lab8.3/Lab8.3/AppDelegate.swift /Users/danielmuraveyko/Google\ Drive/Xcode/Lab8.3/DerivedData/Lab8.3/B... | D |
/Users/Juli/Documents/Swift/Eventy/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Eventy.build/Debug-iphonesimulator/Eventy.build/Objects-normal/x86_64/DateAndTimeControl.o : /Users/Juli/Documents/Swift/Eventy/Eventy/AppDelegate.swift /Users/Juli/Documents/Swift/Eventy/Eventy/EventTableViewCell.swift /... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved
//
// License for redistribution is given by the Artistic License 2.0
// see file LICENSE for further details
module vdc.parser.decl;
im... | D |
/**
Utility functions for memory management
Note that this module currently is a big sand box for testing allocation related stuff.
Nothing here, including the interfaces, is final but rather a lot of experimentation.
Copyright: © 2012-2013 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, ... | 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_2_agm-62388549... | D |
instance TPL_1406_Templer(Npc_Default)
{
name[0] = "Ochroniarz Kaloma";
npcType = npctype_main;
guild = GIL_TPL;
level = 25;
voice = 13;
id = 1406;
attribute[ATR_STRENGTH] = 100;
attribute[ATR_DEXTERITY] = 80;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 292;
attribu... | D |
module lua_api;
import std.stdio;
import std.string;
import riverd.lua;
import riverd.lua.types;
import program;
import viewport;
import pixmap;
/**
register some functions for a lua program
*/
void registerFunctions(Program program)
{
auto lua = program.lua;
//Setup the userdata
auto prog = cast(Program*) ... | D |
import std.stdio;
int main(string[] args)
{
writeln("Hello, World!");
return 0;
} | D |
// generated by fakerjsgenerator
///
module faked.faker_en_us;
import faked.base;
///
class Faker_en_us : Faker {
@safe:
import std.random;
import std.array;
import std.format;
import std.conv : to;
///
this(int seed) {
super(seed);
}
///
string phoneNumberExchangeCode() {
auto data = [
"201",... | D |
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* 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... | D |
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Routing.build/Objects-normal/x86_64/Route.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/routing.git-4533504815497113673/Sources/Routing/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkou... | D |
module Main;
private {
import tango.core.tools.TraceExceptions;
import xf.Common;
import xf.mem.ChunkQueue;
import xf.core.Registry;
import xf.nucleus.kdef.model.IKDefRegistry;
import xf.nucleus.graph.KernelGraph;
import xf.nucleus.graph.KernelGraphOps;
import xf.nucleus.kdef.KDefGraphBuilder;
import xf... | D |
a complex polymer
| D |
/* crypto/stack/stack.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-... | D |
/Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/Objects-normal/x86_64/myBox.o : /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControlDoc.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/cont... | D |
/**
* Copyright 2010-2011 Bernard Helyer
* Copyright 2011 Jakob Ovrum
* This file is part of SDC. SDC is licensed under the GPL.
* See LICENCE or sdc.d for more details.
*/
module runner;
import std.algorithm;
import std.concurrency;
import std.conv;
import std.file;
alias std.file file;
import std.getopt;
import... | D |
module dinu.command;
import
core.sync.mutex,
std.conv,
std.array,
std.string,
std.path,
std.process,
std.parallelism,
std.algorithm,
std.array,
std.stdio,
std.datetime,
std.file,
std.math,
std.regex,
ws.context,
dinu.util,
dinu.xclient,
dinu.dinu,
dinu.commandBuilder,
dinu.draw;
__gshared:
enum... | D |
/Users/glasses/Documents/GitHub/Perfect-Turnstile-PostgreSQL-Demo/.build/x86_64-apple-macosx10.10/debug/TurnstileWeb.build/Protocols/OAuth/OAuthDelegator.swift.o : /Users/glasses/Documents/GitHub/Perfect-Turnstile-PostgreSQL-Demo/.build/checkouts/Turnstile.git-2443676010155639616/Sources/TurnstileWeb/Protocols/OAuth2/O... | D |
/*
TEST_OUTPUT:
---
fail_compilation/casttuple.d(104): Error: cannot cast `__tup1_field_0` of type `int` to type sequence `(string)`
fail_compilation/casttuple.d(107): Error: cannot cast `AliasSeq!(__tup2_field_0, __tup2_field_1)` of type `(int, int)` to type sequence `(string, string)`
fail_compilation/casttuple.d(111... | D |
instance MENU_STATUS(C_MENU_DEF)
{
items[0] = "MENU_ITEM_PLAYERGUILD_TITLE";
items[1] = "MENU_ITEM_PLAYERGUILD";
items[2] = "MENU_ITEM_LEVEL_TITLE";
items[3] = "MENU_ITEM_EXP_TITLE";
items[4] = "MENU_ITEM_LEVEL_NEXT_TITLE";
items[5] = "MENU_ITEM_LEARN_TITLE";
items[6] = "MENU_ITEM_LEVEL";
items[7] = "MENU_ITEM... | D |
var int rakeplace[50];
const int Greg_FirstSecret = 1;
const int RAKE_BUDDEL_DIST_MAX = 300;
const int RAKE_BUDDEL_DIST_MIN = 200;
func void RakeTreasureSuccess(var C_Item itm)
{
Wld_PlayEffect("spellFX_ItemAusbuddeln",itm,itm,0,0,0,FALSE);
B_Say_Overlay(self,self,"$FOUNDTREASURE");
B_GivePlayerXP(XP_Ambient);
}... | D |
/home/aitorzaldua/rust_bootcamp/collatz/target/rls/debug/deps/collatz-b73fa36eb89e8134.rmeta: src/main.rs
/home/aitorzaldua/rust_bootcamp/collatz/target/rls/debug/deps/collatz-b73fa36eb89e8134.d: src/main.rs
src/main.rs:
| D |
/Users/rossroberts/Exercism/rust/reverse-string/target/debug/deps/reverse_string-b15dc2b6eb4fb505: src/lib.rs
/Users/rossroberts/Exercism/rust/reverse-string/target/debug/deps/reverse_string-b15dc2b6eb4fb505.d: src/lib.rs
src/lib.rs:
| D |
# FIXED
driverlib/interrupt.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/interrupt.c
driverlib/interrupt.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdbool.h
driverlib/interrupt.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h
driverlib/interrupt.obj: C:/ti/TivaWare_C_Serie... | D |
/home/tyler/Documents/AdventOfCode/Rust/day_24_1/target/debug/deps/day_24_1-aa98cbd54740ebab: src/main.rs
/home/tyler/Documents/AdventOfCode/Rust/day_24_1/target/debug/deps/day_24_1-aa98cbd54740ebab.d: src/main.rs
src/main.rs:
| D |
module net.pms.configuration.WindowsDefaultPaths;
import net.pms.util.PropertiesUtil;
import org.apache.commons.lang.StringUtils : isNotBlank;
class WindowsDefaultPaths : ProgramPaths {
override
public String getEac3toPath() {
return getBinariesPath() ~ "win32/eac3to/eac3to.exe";
}
override
public String get... | D |
module UnrealScript.TribesGame.TrFamilyInfoList;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Core.UObject;
extern(C++) interface TrFamilyInfoList : UObject
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass() { m... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto nt = readln.split.to!(int[]);
auto N = nt[0];
auto T = nt[1];
auto ts = new int[](T+1);
foreach (_; 0..N) {
auto A = readln.chomp.to!int;
auto a = A;
whi... | D |
/Users/shawngong/Centa/.build/debug/Jay.build/ArrayParser.swift.o : /Users/shawngong/Centa/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/shawngong/Centa/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/shawngong/Centa/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/shawngong/Centa/Packages/Jay... | D |
instance Mod_7040_RIT_Ritter_MT (Npc_Default)
{
// ------ NSC ------
name = NAME_RITTER;
guild = GIL_PAL;
id = 7040;
voice = 0;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt ... | 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/_wininet.d)
*/
module core.sys.windows.wininet;
version (Windows):
pragma(lib, "wininet")... | D |
/Users/smartex/Desktop/SMVideoCall/derived_data/Build/Intermediates.noindex/SMVideoCall.build/Debug-iphonesimulator/SMVideoCall.build/Objects-normal/x86_64/VideoCallViewController.o : /Users/smartex/Desktop/SMVideoCall/SMVideoCall/VideoCallResultDelegate.swift /Users/smartex/Desktop/SMVideoCall/SMVideoCall/VideoCallVie... | D |
// Written in the D programming language
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import std.algorithm, std.range, std.array, std.conv;
import options, dexpr, expression, dutil;
struct Cond{
DExpr cond;
string error;
}
DExpr extractConditions(Cond[] conds){
DExpr r=one;
foreach(x;conds... | D |
module hunt.http.DownloadResponse;
import std.array;
import std.conv;
import std.datetime;
import std.json;
import std.path;
import std.file;
import std.stdio;
import collie.codec.http.headers.httpcommonheaders;
import collie.codec.http.server.responsehandler;
import collie.codec.http.server.responsebuilder;
import c... | D |
module denj.scene.scene;
import denj.utility;
import denj.utility.sharedreference;
import denj.scene.entity;
import std.algorithm;
// TODO: Probably allow synchronisation
class Scene {
Entity[] entityPool;
size_t lastEntityID = 0;
size_t numAliveEntities = 0;
this(){
entityPool.length = 8;
}
SharedReference... | D |
instance VLK_6134_VALERAN(Npc_Default)
{
name[0] = "Валеран";
guild = GIL_VLK;
id = 6134;
voice = 8;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,2);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Vlk_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Fac... | D |
/* ssl/ssl23.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercia... | D |
#!/usr/bin/env dub
/+ dub.json:
{
"name": "callback_query_bot",
"dependencies": {"telegram-d": {"path": ".."}},
}
+/
import telegram.api;
import std.stdio;
import std.conv;
///
// A simple bot that shows an inline keyboard with some buttons whenever someone talks to it
//
/**
* Create the inline keyboard
*... | D |
module sb.platform.platform_impl;
import sb.platform.platform_interface;
import sb.events;
import sb.input;
import sb.gl;
import derelict.glfw3.glfw3;
import derelict.opengl3.gl3;
import std.exception: enforce;
import gl3n.linalg;
import std.format;
import std.string: toStringz;
import core.stdc.string: strlen;
import... | D |
/Users/yuga/Documents/ios20161219/09_PersistData/FoodTracker/Build/Intermediates/FoodTracker.build/Debug-iphonesimulator/FoodTracker.build/Objects-normal/x86_64/calendarViewController.o : /Users/yuga/Documents/ios20161219/09_PersistData/FoodTracker/FoodTracker/DateManager.swift /Users/yuga/Documents/ios20161219/09_Pers... | D |
module dnogc.Utils;
T nogcNew(T, Args...) (Args args) @trusted @nogc
{
import std.conv : emplace;
import core.stdc.stdlib : malloc;
auto size = __traits(classInstanceSize, T);
auto memory = malloc(size)[0..size];
if(!memory)
{
import core.exception : onOutOfMemoryError;
onOutO... | D |
to a degree exceeding normal or proper limits
| D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lice... | D |
/******************************************************
* Стековые Потоки (СтэкНити) - это сотрудничающие, легковесные
* потоки. СтэкНити очень эффективны, требуют
* меньше времени на переключение контекста, чем реальные потоки.
* Для них также нужно меньше ресурсов, чем для реальных потоков,
* что дает возм... | D |
module mach.collect.set.templates;
private:
import mach.traits : isIterableOf, hasNumericLength, hasEnumValue;
public:
enum isSet(T) = hasEnumValue!(T, `isSet`, true);
template SetMixin(T){
static enum bool isSet = true;
/// Get the number of elements in the set.
@property size_t length();
... | D |
the act of putting something in working order again
restraint that attaches to something or holds something in place
the sterilization of an animal
(histology) the preservation and hardening of a tissue sample to retain as nearly as possible the same relations they had in the living body
restore by replacing a part or ... | D |
//*****************************************************************************
//
// Simple spritesheet demo.
//
//*****************************************************************************
import engine;
//-----------------------------------------------------------------------------
import std.random;
//------... | D |
a largely agricultural county in central England
| D |
// Written in the D programming language.
/**
* Computes SHA1 digests of arbitrary data, using an optimized algorithm with SSSE3 instructions.
*
* Authors:
* The general idea is described by Dean Gaudet.
* Another important observation is published by Max Locktyukhin.
* (Both implementations are public domain.)
... | D |
/**
Mirror _longintrepr.h
*/
module deimos.python.longintrepr;
import deimos.python.pyport;
import deimos.python.object;
import deimos.python.unicodeobject;
extern(C):
// Python-header-file: Include/longintrepr.h:
/** Long integer representation.
The absolute value of a number is equal to
SUM(for i=0 thro... | D |
module more.net.dns;
import std.traits : hasMember;
import std.internal.cstring : tempCString;
import more.c : cint;
import more.sentinel : SentinelArray;
import more.net : SockResult;
version(Windows)
{
import more.os.windows.sock :
addrinfo, AI_NUMERICHOST,
getaddrinfoPointer, free... | D |
/**
* Module to handle results.
*
* License:
* MIT. See LICENSE for full details.
*/
module dunit.result;
/**
* Imports.
*/
import core.exception;
import core.runtime;
import dunit.error;
import dunit.output.console;
/**
* A class to collate unit test information and present a report.
*/
class ResultColl... | D |
/Users/rafaelcunhadeoliveira/Documents/Forecast_Test/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/CachedResponseHandler.o : /Users/rafaelcunhadeoliveira/Documents/Forecast_Test/Pods/Alamofire/Source/MultipartFormData.swift /Users/rafaelcunhadeoliveira/Documents/Forecast_Test/Pods/Alamofi... | D |
import std.stdio;
void main() {
int[] a = [4, 7, 2, 7, 5, 9, 2, 5, 10, 14, 3, 18];
writeln(quicksort(a));
}
T[] quicksort(T)(T[] array) {
if (array.length <= 1) return array; // already sorted
T[] less, more;
foreach (x; array[1 .. $]) {
(x < array[0] ? less : more) ~= x;
}
return quicksort(less) ~ array[0]... | D |
module timer;
import derelict.sdl2.sdl;
import std.conv;
immutable sampleSize = 1 << 5;
public class Timer {
ulong perfreq;
ulong actualDelay = 0;
ulong delayTemp = 0;
int targetFps = 50;
int delay;
float actualDelaySec = 0;
int delta;
int lastDelta;
int startTicks;
int frameFps;
float dt;
... | D |
module wx.Region;
public import wx.common;
public import wx.GDIObject;
public import wx.Bitmap;
public import wx.Colour;
public enum RegionContain {
wxOutRegion = 0,
wxPartRegion,
wxInRegion
}
//! \cond EXTERN
static extern (C) IntPtr wxRegion_ctor();
static extern (... | D |
a person with dark skin who comes from Africa (or whose ancestors came from Africa)
| D |
/+
Copyright (c) 2005 Eric Anderton
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,... | D |
# FIXED
Startup/rom_init.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/rom/r1/rom_init.c
Startup/rom_init.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/bcomdef.h
Startup/rom_init.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/comdef.h
Startup/rom_init.obj: C:/ti/simplelink/ble_sdk_2_02_01_... | D |
// @file memory.d
import std.stdio;
void main(){
int[] DynamicallyAllocatedArray = new int[10];
foreach(i ; DynamicallyAllocatedArray){
writeln(i);
}
}
| D |
/home/alansky/Dev/Parity/substrate-node-template/target/debug/wbuild/target/release/deps/libpaste_impl-56bc8c4045b5fa45.so: /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/paste-impl-0.1.18/src/lib.rs /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/paste-impl-0.1.18/src/enum_hack.rs /home/al... | D |
deprecated("Use deimos.python instead. mir.pybind.pyapi will be removed in the next release.")
module mir.pybind.pyapi;
import core.stdc.config : c_long, c_ulong;
// pragma(mangle, __traits(identifier, PyObject));
extern (C) {
struct PyTypeObject;
alias Py_ssize_t = ptrdiff_t;
struct PyObject
{
... | D |
CUNMHR (F08NUE) Example Program Data
4 :Value of N
(-3.97,-5.04) (-4.11, 3.70) (-0.34, 1.01) ( 1.29,-0.86)
( 0.34,-1.50) ( 1.52,-0.43) ( 1.88,-5.38) ( 3.36, 0.65)
( 3.31,-3.85) ( 2.50, 3.45) ( 0.88,-1.08) ( 0.64,-1.48)
(-1.10, 0.82) ( 1.81,-1.59) ( 3.25, 1.33... | D |
/home/javed/Documents/Projects/RustRepo/ultimate_rust_crash_course/exercise/h_closures_threads/target/rls/debug/deps/h_closures_threads-91b434a7a70c3372.rmeta: src/main.rs
/home/javed/Documents/Projects/RustRepo/ultimate_rust_crash_course/exercise/h_closures_threads/target/rls/debug/deps/h_closures_threads-91b434a7a70... | D |
module dacc.aatree;
import std.algorithm: min;
unittest {
import std.stdio: writeln;
import std.algorithm.comparison: equal;
writeln("## AATree.d unittest1");
// CTFE check
static const aatree = new AATree!int(3, 9, 4);
aatree.test();
static assert ( equal(aatree.keys, [3, 4, 9]) );
static assert ( aatree.h... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtTest module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... | D |
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIO.build/Selector.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.... | D |
instance DIA_SERGIO_EXIT(C_INFO)
{
npc = pal_299_sergio;
nr = 999;
condition = dia_sergio_exit_condition;
information = dia_sergio_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_sergio_exit_condition()
{
return TRUE;
};
func void dia_sergio_exit_info()
{
if(Npc_GetDistToWP(self,"NW_... | D |
module armos.utils.gui.style;
import armos.graphics.bitmapfont;
import armos.types.color;
///
class Style {
public{
this(){}
int width = 256;
BitmapFont font;
Color[string] colors;
}//public
private{
}//private
}//class Style
| D |
module cache;
import vibe.core.log;
import vibe.db.mongo.mongo;
import vibe.http.client;
import vibe.stream.memory;
import std.exception;
class UrlCache {
private {
MongoClient m_db;
MongoCollection m_entries;
}
this()
{
m_db = connectMongoDB("127.0.0.1");
m_entries = m_db.getCollection("urlcache.entri... | D |
/Users/Neil/Dropbox/GitHub/panda/Panda_Thurs/Panda/Panda/build/Pods.build/Debug/Alamofire.build/Objects-normal/x86_64/DispatchQueue+Alamofire.o : /Users/Neil/Dropbox/GitHub/panda/Panda_Thurs/Panda/Panda/Pods/Alamofire/Source/AFError.swift /Users/Neil/Dropbox/GitHub/panda/Panda_Thurs/Panda/Panda/Pods/Alamofire/Source/Al... | D |
import std.algorithm, std.conv, std.range, std.stdio, std.string;
version(unittest) {} else
void main()
{
auto memo = new int[](51);
foreach (i; 0..10)
foreach (j; 0..10)
++memo[i + j];
string line;
while ((line = readln) !is null) {
auto n = line.chomp.to!int;
auto r = 0;
foreach (i; 0.... | D |
instance GUR_1201_CorKalom_FIRST(C_Info)
{
npc = GUR_1201_CorKalom;
nr = 1;
condition = GUR_1201_CorKalom_FIRST_Condition;
information = GUR_1201_CorKalom_FIRST_Info;
permanent = 1;
important = 1;
};
func int GUR_1201_CorKalom_FIRST_Condition()
{
if(Npc_IsInState(self,ZS_Talk) && ((Npc_GetTrueGuild(hero) != GIL... | D |
/*
* This file has been automatically generated by Soupply and released under the MIT license.
* Generated from data/java210.xml
*/
module soupply.java210.protocol.serverbound;
static import std.conv;
import std.typetuple : TypeTuple;
import xpacket;
import soupply.util;
import soupply.java210.metadata : Metadata;... | 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.
Source: $(PHOBOSSRC std/_typecons.d)
Macros:
WIKI = Phobos/StdVariant
Synopsis:
----
// value tuples
alias Tuple!(float, "x", float,... | D |
/**
Mutexes, semaphores and condition variables.
Copyright: Sean Kelly 2005 - 2009.
Copyright: Guillaume Piolat 2016 - 2018.
License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
*/
// This contains part of druntime's core.sys.mutex, core.sys.semaphore core.sys.condition and
// Modified to make i... | D |
import std.algorithm, std.conv, std.range, std.stdio, std.string;
version(unittest) {} else
void main()
{
auto rd = readln.split.to!(size_t[]), n = rd[0], k = rd[1];
auto wi = n.iota.map!(_ => readln.chomp.to!int).array;
bool canCarry(int _, int p)
{
auto r = 1, c = 0;
foreach (w; wi) {
if (p < ... | D |
module LD.MenuScene;
import D2D;
import std.algorithm;
import LD.IScene;
import LD.TextureManager;
import LD.Rect;
import LD.Enemy;
import LD.Player;
import LD.IScene;
import LD.Button;
import LD.Font;
import LD.GameScene;
immutable char Kappa = 12;
class BuyBar : Transformable, IDrawable
{
private:
RepeatedRecta... | D |
instance DIA_Addon_BanditGuard_EXIT(C_Info)
{
npc = BDT_1064_Bandit_L;
nr = 999;
condition = DIA_BanditGuard_EXIT_Condition;
information = DIA_BanditGuard_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_BanditGuard_EXIT_Condition()
{
return TRUE;
};
func void DIA_BanditGuard_EXIT_Info... | D |
/Users/mac/Documents/StreamsApp/DerivedData/StreamsApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/DateToolsSwift.build/Objects-normal/x86_64/TimePeriodCollection.o : /Users/mac/Documents/StreamsApp/Pods/DateToolsSwift/DateToolsSwift/DateTools/TimePeriod.swift /Users/mac/Documents/StreamsApp/Pods/DateT... | D |
module d.context.location;
import d.context.context;
// XXX: https://issues.dlang.org/show_bug.cgi?id=14666
import d.context.sourcemanager;
/**
* Struct representing a location in a source file.
* Effectively a pair of Position within the source file.
*/
struct Location {
package:
Position start;
Position stop;... | D |
instance NON_5043_WEGELAGERER(Npc_Default)
{
name[0] = "Povaleč";
npcType = Npctype_ROGUE;
guild = GIL_None;
level = 9;
voice = 3;
id = 5043;
attribute[ATR_STRENGTH] = 65;
attribute[ATR_DEXTERITY] = 55;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 205;
attribute[ATR_H... | D |
/*
* hunt-proton: AMQP Protocol library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.proton.codec.CharacterType;
import hunt.collection.Collection;
import hunt.collection.Colle... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.