code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
import std.exception;
import std.stdio;
import std.conv;
import std.range;
import std.algorithm;
import std.datetime.stopwatch;
import std.meta;
// Biotronic on http://forum.dlang.org/post/unjujeqnqjtwgsrhvphr@forum.dlang.org
string randomDna(int length) {
import std.random;
auto rnd = Random(unpredictableSeed... | D |
var int EVT_CAVALORNSGOBBOS_FUNC_OneTime;
func void evt_cavalornsgobbos_func()
{
if(EVT_CAVALORNSGOBBOS_FUNC_OneTime == FALSE)
{
Wld_InsertNpc(Gobbo_Green,"NW_XARDAS_GOBBO_01");
Wld_InsertNpc(Gobbo_Green,"NW_XARDAS_GOBBO_02");
EVT_CAVALORNSGOBBOS_FUNC_OneTime = TRUE;
};
};
| D |
/**
* Copyright: Copyright (c) 2012 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Jan 29, 2012
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module clang.Visitor;
import clang.c.Index;
import clang.Cursor;
struct Visitor
{
... | D |
/Users/tito/Desktop/Backup/Projects/Coordinator/.build/x86_64-apple-macosx/debug/Coordinator_Example.build/Sources/ViewControllers/AboutViewController.swift.o : /Users/tito/Desktop/Backup/Projects/Coordinator/Sources/DataService.swift /Users/tito/Desktop/Backup/Projects/Coordinator/Sources/AppDelegate.swift /Users/tito... | D |
/home/dmitry/work/aoc2019/rust/days/target/debug/deps/03-ce3b6f4ec221244e: 03/src/main.rs
/home/dmitry/work/aoc2019/rust/days/target/debug/deps/03-ce3b6f4ec221244e.d: 03/src/main.rs
03/src/main.rs:
| D |
// ork ze starego questa z Mieczem
// -> nieuzywany
instance NASZ_451_OrkMiecz (Npc_Default)
{
// ------ NSC ------
name = "Ork";
guild = GIL_ORC;
id = 451;
voice = 18;
flags = 0;
npctype = NPCTYPE_FRIEND;
level = 30;
aivar[AIV_IgnoresArmor] = TRUE;
//----- Attribute -----
attribute [... | D |
/*******************************************************************************
Author: Lester L. Martin II
Copyright: Lester L. Martin II and CollabEdit Project
Liscense: $(GPLv1)
Release: Initial, June 2009
*******************... | D |
instance DIA_BABO_KAP1_EXIT(C_INFO)
{
npc = nov_612_babo;
nr = 999;
condition = dia_babo_kap1_exit_condition;
information = dia_babo_kap1_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_babo_kap1_exit_condition()
{
if(KAPITEL == 1)
{
return TRUE;
};
};
func void dia_babo_kap1_exit... | D |
module UnrealScript.IpDrv.TcpNetDriver;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.NetDriver;
extern(C++) interface TcpNetDriver : NetDriver
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass StaticClass() { mixin(MG... | D |
import std.stdio;
void main()
{
writeln("Counting down...");
countingDown(10);
writeln("💥");
}
void countingDown(uint v) {
writeln(v);
if (v == 0) {
return;
}
countingDown(v - 1);
} | D |
module eventcore.core;
public import eventcore.driver;
import eventcore.drivers.posix.select;
import eventcore.drivers.posix.epoll;
import eventcore.drivers.posix.kqueue;
import eventcore.drivers.libasync;
import eventcore.drivers.winapi.driver;
version (EventcoreEpollDriver) alias NativeEventDriver = EpollEventDriv... | D |
module viva.logging;
public import viva.logging.logger; | D |
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* gtkD is distribut... | D |
insect having biting mouthparts and front wings modified to form horny covers overlying the membranous rear wings
a tool resembling a hammer but with a large head (usually wooden
be suspended over or hang over
fly or go in a manner resembling a beetle
beat with a beetle
| D |
/**
Generator for project files
Copyright: © 2012-2013 Matthias Dondorff
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Matthias Dondorff
*/
module dub.generators.generator;
import dub.compilers.compiler;
import dub.generators.cmake;
import dub.generators.b... | D |
/Users/lanussebaptiste/Desktop/CubeSavinien/Build/Intermediates/CubeSavinien.build/Debug-iphonesimulator/CubeSavinien.build/Objects-normal/i386/RightViewController.o : /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/BottomViewController.swift /Users/lanussebaptiste/Desktop/CubeSavinien/CubeSavinien/RightViewCo... | D |
# FIXED
source/heliPID.obj: C:/Users/Gabriel/Desktop/UC/Embedded-Systems-1/HelicopterProject/source/heliPID.c
source/heliPID.obj: C:/Users/Gabriel/Desktop/UC/Embedded-Systems-1/HelicopterProject/source/Helicopter.h
source/heliPID.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h
source/heliPID.obj... | D |
module dopt.nnet.data;
public
{
import dopt.nnet.data.cifar;
import dopt.nnet.data.mnist;
import dopt.nnet.data.util;
} | D |
/Users/lqf510/Desktop/codePath/Carousel/DerivedData/Carousel/Build/Intermediates/Carousel.build/Debug-iphonesimulator/Carousel.build/Objects-normal/x86_64/IntroViewController.o : /Users/lqf510/Desktop/codePath/Carousel/Carousel/AppDelegate.swift /Users/lqf510/Desktop/codePath/Carousel/WelcomeViewController.swift /Users... | 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_BeT-89257188... | D |
class CDispatchWrapper : public IDispatch
{
public:
// IUnknown
ULONG __stdcall AddRef();
ULONG __stdcall Release();
HRESULT __stdcall QueryInterface(REFIID iid, void** ppv);
// IDispatch
HRESULT __stdcall GetTypeInfoCount(UINT* pCountTypeInfo);
HRESULT __stdcall GetTypeInfo(UINT iTypeInfo, LCID lcid, ITy... | D |
// Written in the D programming language
// Placed in public domain.
// Written by Walter Bright
/**
Convert Win32 error code to string
Source: $(PHOBOSSRC std/_syserror.d)
*/
module std.syserror;
// Deprecated - instead use std.windows.syserror.sysErrorString()
deprecated("Please use std.windows.syserror.sys... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
Tuple!(N, N)[] prime_division(N)(N n)
{
Tuple!(N, N)[] res;
foreach (N i; 2..10^^4+1) {
if (n%i == 0) {
N cnt;
while (n%i == 0) {
++cnt;
n /= i;... | D |
module dls.util.document;
import dls.util.uri : Uri;
class Document
{
import dls.protocol.definitions : Position, Range, TextDocumentIdentifier,
TextDocumentItem, VersionedTextDocumentIdentifier;
import dls.protocol.interfaces : TextDocumentContentChangeEvent;
import std.utf : codeLength, toUTF8;
... | D |
build/Debug/Cygwin-Windows/HW6_3.o: HW6_3.cpp FeetInches.h
FeetInches.h:
| D |
/**
Lexer.
Authors: Daniel Keep <daniel.keep@gmail.com>
Copyright: See LICENSE.
*/
module ouro.lexer.Lexer;
import tango.text.convert.Format;
import tango.text.Util : trim, head;
debug(TraceLexer) import tango.io.Stdout : Stderr;
import ouro.Location : Location;
import ouro.Source : Source;
import ouro.... | D |
/*
* [The "BSD license"]
* Copyright (c) 2013 Terence Parr
* Copyright (c) 2013 Sam Harwell
* Copyright (c) 2017 Egbert Voigt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
... | D |
/Users/voidet/Desktop/iOS/REABot/Build/Intermediates/Snappy.build/Debug-iphoneos/Snappy.build/Objects-normal/armv7/ConstraintMaker.o : /Users/voidet/Desktop/iOS/REABot/Snappy/EdgeInsets.swift /Users/voidet/Desktop/iOS/REABot/Snappy/ConstraintRelation.swift /Users/voidet/Desktop/iOS/REABot/Snappy/ConstraintAttributes.sw... | D |
version(Have_autowrap_csharp) // very weird dmd bug mixed with weirder C# mixin strings
import autowrap.csharp;
else
import autowrap;
enum modules = Modules(Module("prefix"),
Module("adder"),
Module("structs"),
Module("templates"),
... | D |
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Core.build/Objects-normal/x86_64/Bytes.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/kimhyewon/Documents/Server... | D |
/*
* Copyright (C) 2015 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 app... | D |
module xf.net.Common;
private {
import xf.utils.BitStream;
import xf.net.NetObj;
import xf.utils.StructClass : simpleStructCtor;
}
public {
import xf.game.Misc : ServerAuthority, NoAuthority;
import mintl.arrayheap : ArrayHeap;
import mintl.sortedaa : SortedAA;
import mintl.mem : MallocNoRoots;
... | D |
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/SQL.build/Objects-normal/x86_64/SQLPredicateGroupBuilder.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/sql.git-6484346812122690078/Sources/SQL/SQLBind.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/sql... | D |
module wx.ToolBar;
public import wx.common;
public import wx.Bitmap;
public import wx.Control;
public import wx.ClientData;
//! \cond EXTERN
static extern (C) IntPtr wxToolBarToolBase_ctor(IntPtr tbar, int toolid, string label, IntPtr bmpNormal, IntPtr bmpDisabled, int kind, IntPtr clientData, string shortHelpString, ... | D |
import stdrus, win, cidrus;
version(UCRT)
{
pragma(lib, "ucrt.lib");
extern(C)
{
int _waccess(wchar* path, int access_mode);
int _wchmod(wchar* path, int mode);
}
}
alias скажифнс ск;
цел удалиФайлы(ткст флрасш, ткст путь = "d:\\dinrus\\dev\\DINRUS\\Base")
{
цел удалено = 0;
ск("Подождите ... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
244.5 81.6999969 9.80000019 0 2 10 -9.60000038 119.300003 1209 5.80000019 10.6999998 extrusives
51 49 12 0 4 6 -9.30000019 124.300003 1207 6.0999999 12.1000004 extrusives, pillow basalts, intrusives
249.300003 82.3000031 8.60000038 0 2 10 -9.699999... | D |
module mainloop.topscrn.first;
/*
* The first screen that is produced for the main loop.
*
* All subsequent screens will be created from the previous screen.
*/
import optional;
import basics.cmdargs;
static import file.option.allopts;
import file.replay;
import mainloop.topscrn.other;
import mainloop.topscrn.ga... | D |
module d.semantic.dtemplate;
import d.semantic.semantic;
import d.ast.declaration;
import d.ir.dscope;
import d.ir.dtemplate;
import d.ir.expression;
import d.ir.symbol;
import d.ir.type;
import d.location;
import std.algorithm;
import std.array;
import std.range;
struct TemplateInstancier {
private SemanticPass... | D |
/Users/viktor/Documents/iOS/Mobile/FaceDetection-master/build/FaceDetection.build/Debug-iphonesimulator/FaceDetection.build/Objects-normal/x86_64/FeedViewController.o : /Users/viktor/Documents/iOS/Mobile/FaceDetection-master/FaceDetection/FaceObscurationFilter.swift /Users/viktor/Documents/iOS/Mobile/FaceDetection-mast... | D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/DatabaseKit.build/ConnectionPool/Container+ConnectionPool.swift.o : /Users/mu/Hello/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/mu/Hello/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/mu/Hello/... | D |
import std.stdio;
void main() {}
ref int bump(ref int x) {
return ++x;
}
unittest {
int x=0;
writeln( bump(bump(x)) ); // prints 2
} | D |
instance BDT_1061_Wache (Npc_Default)
{
// ------ NSC ------
name = NAME_Wache;
guild = GIL_BDT;
id = 1061;
voice = 1;
flags = 0;
npctype = NPCTYPE_MAIN;
//--------Aivars-----------
aivar[AIV_EnemyOverride] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2); ... | D |
module UnrealScript.TribesGame.TrSettingsManager;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrRegionSettings;
import UnrealScript.TribesGame.TrAudioSettings;
import UnrealScript.TribesGame.TrKeyBindings;
import UnrealScript.Core.UObject;
import UnrealScript.TribesGame.Tr... | 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_10_BeT-7841939... | D |
/*#D*/
// Copyright 2010-2017, Bernard Helyer.
// SPDX-License-Identifier: BSL-1.0
module volta.token.lexer;
import core.c.time : time, localtime;
import watt.text.ascii : isDigit, isAlpha, isWhite;
import watt.text.format : format;
import watt.text.string : indexOf, endsWith;
import watt.text.vdoc : cleanComment;
im... | D |
extern (C) int printf(const(char*) fmt, ...);
import core.vararg;
struct Tup(T...)
{
T field;
alias field this;
bool opEquals(const Tup rhs) const
{
foreach (i, _; T)
if (field[i] != rhs.field[i])
return false;
return true;
}
}
Tup!T tup(T...)(T fields... | D |
/*
* [The "BSD license"]
* Copyright (c) 2012 Terence Parr
* Copyright (c) 2012 Sam Harwell
* 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... | D |
instance DIA_Addon_Juan_EXIT(C_Info)
{
npc = BDT_10017_Addon_Juan;
nr = 999;
condition = DIA_Addon_Juan_EXIT_Condition;
information = DIA_Addon_Juan_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Juan_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Juan_EXIT_Info()
{
B_... | D |
// Written in the D programming language.
/**
This module contains cross-platform file access utilities
Synopsis:
----
import dlangui.core.files;
----
Copyright: Vadim Lopatin, 2014
License: Boost License 1.0
Authors: Vadim Lopatin, coolreader.org@gmail.com
*/
module dlangui.core.files;
import std.algorithm... | D |
/*
Copyright 2002-2004 John Plevyak, All Rights Reserved
*/
module ddparser.gram;
import std.bitmanip;
import ddparser.util;
import ddparser.dparse_tables;
import ddparser.lr;
import ddparser.lex;
import ddparser.dparse;
import ddparser.parse;
import std.stdio;
import std.json;
import std.conv;
import ddparser.ser... | D |
module database.portaldatabase;
import std.file;
import std.array : replace, split;
import std.conv : parse;
private struct PortalPoint {
ushort startMap;
ushort startX;
ushort startY;
ushort endMap;
ushort endX;
ushort endY;
this(ushort sm, ushort sx, ushort sy, ushort em, ushort ex, ushort ey) {
startMap =... | D |
module UnrealScript.Engine.ShadowMap2D;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Core.UObject;
import UnrealScript.Engine.ShadowMapTexture2D;
extern(C++) interface ShadowMap2D : UObject
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final st... | D |
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{1628:function(e,t,n){var r;e.exports=(r=r||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},o=r.lib={},i=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.... | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Console.build/Clear/Console+Ephemeral.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-4717909685433189223/Sources/Console/Terminal/ANSI.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-471790968543... | D |
instance DIA_VLK_6150_ORTEGO_EXIT(C_Info)
{
npc = vlk_6150_ortego;
nr = 999;
condition = dia_vlk_6150_ortego_exit_condition;
information = dia_vlk_6150_ortego_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_vlk_6150_ortego_exit_condition()
{
return TRUE;
};
func void dia_vlk_6150_orte... | D |
module android.java.android.view.View_OnSystemUiVisibilityChangeListener_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
@JavaName("View$OnSystemUi... | D |
/Users/sol369/Desktop/InstaPics/DerivedData/InstaPics/Build/Intermediates/InstaPics.build/Debug-iphonesimulator/InstaPics.build/Objects-normal/x86_64/ProfileVC.o : /Users/sol369/Desktop/InstaPics/InstaPics/FeedVC.swift /Users/sol369/Desktop/InstaPics/InstaPics/Post.swift /Users/sol369/Desktop/InstaPics/InstaPics/FeedCe... | D |
module graphics.gui.messageBox;
import graphics.hw;
import graphics.gui.div;
import graphics.simplegraphics;
import graphics.color;
import math.geo.rectangle;
import math.matrix;
import graphics.gui.scrollbox;
import graphics.gui.label;
import graphics.gui.base;
import graphics.gui.window;
/// Opens a window with t... | D |
/*
* Hunt - A redis client library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.redis.RedisShardInfo;
import hunt.redis.Exceptions;
import hunt.redis.HostAndPort;
import hunt.redis.Protocol... | D |
module pixelperfectengine.concrete.eventchainsystem;
import collections.linkedlist;
/**
* Defines an undoable event.
*/
public interface UndoableEvent{
public void redo(); ///called both when a redo command is initialized or the event is added to the stack.
public void undo(); ///called when an undo command is ini... | 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
244.5 81.6999969 9.8000001... | D |
module mscorlib.System.Security.Principal;
import mscorlib.System :
__DotNet__Attribute,
__DotNet__AttributeStruct;
import mscorlib.System.Runtime.InteropServices :
ComVisibleAttribute;
//
// Source Generated From 'D:\git\coreclr\src\mscorlib\src\System\Security\Principal\IIdentity.cs'
//
@__DotNet__Attri... | D |
# FIXED
OSAL/osal_snv_wrapper.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/mcu/cc26xx/osal_snv_wrapper.c
OSAL/osal_snv_wrapper.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/osal_snv.h
OSAL/osal_snv_wrapper.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target... | D |
int maxBeauty(int[][] plates, int p) {
if (p == 0) return 0;
int beauty = 0;
foreach(i; plates.length.iota) {
if (plates[i].length > 0) {
auto cl = plates.array;
const int first = cl[i][0];
cl[i] = cl[i][1..$];
beauty = max(beauty, first + maxBeauty(cl... | D |
// Copyright © 2012-2013, Bernard Helyer. All rights reserved.
// See copyright notice in src/volt/license.d (BOOST ver. 1.0).
module volt.semantic.typeidreplacer;
import std.string : format;
import ir = volt.ir.ir;
import volt.ir.util;
import volt.exceptions;
import volt.interfaces;
import volt.visitor.visitor;
im... | D |
/Users/olegammelgaard/Downloads/shapedk-interview-project-forecast-8bde1a245103/Build/Intermediates/forecast.build/Debug-iphonesimulator/Client.build/Objects-normal/x86_64/Utilities.o : /Users/olegammelgaard/Downloads/shapedk-interview-project-forecast-8bde1a245103/Client/Sources/HTTPMethod.swift /Users/olegammelgaard/... | D |
/*
* DSFML - The Simple and Fast Multimedia Library for D
*
* Copyright (c) 2013 - 2017 Jeremy DeHaan (dehaan.jeremiah@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 arising from the
* use of this software.
... | D |
import std.string, std.stdio, std.array;
import squares;
import flips;
import bitboard;
class Intervening {
ulong rays[64][64];
Squares sqs;
ulong one = 1;
ulong astones;
ulong tstones;
ulong move;
this() {
sqs = new Squares();
for (int i=0; i<64; i++) {
mov... | D |
/**
* This module contains a collection of bit-level operations.
*
* Copyright: Copyright Don Clugston 2005 - 2013.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Don Clugston, Sean Kelly, Walter Bright, Alex Rønne Petersen
* Source: $(DRUNTIMESRC core/_bitop.d)
*/
... | D |
/**
A simple HTTP/1.1 client implementation.
Copyright: © 2012-2014 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig, Jan Krüger
*/
module vibe.http.client;
public import vibe.core.net;
public import vibe.http.common;
public import v... | D |
module UnrealScript.TribesGame.TrDevice_AssaultRifle;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrDevice_ConstantFire;
extern(C++) interface TrDevice_AssaultRifle : TrDevice_ConstantFire
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@propert... | D |
/// Contains all commands as public imports. Needed to resolve circular dependencies.
module commands.all;
import std.algorithm;
import std.array;
import std.typetuple;
import commands;
private template Import(string name) {
enum Import = q{
public import commands.NAME;
import cmds_NAME = commands.NAME;
}.repl... | D |
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: retry
Arg: <num>
Added: 7.12.3
Help: Retry request if transient problems occur
Category: curl
Example: --retry 7 $URL
See-also: retry-max-time
Multi: single
---
If a transient error is returned when cu... | D |
#!/usr/bin/env rund
//!importPath ..
//!debug
//!debugSymbols
import stdx.longfiles;
import std.stdio;
void main()
{
enum p = `..\..\..\temp\012345679\012345679\012345679\012345679`
~ `\012345679\012345679\012345679\012345679\012345679\012345679\012345679\012345679`
~ `\012345679\012345... | D |
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:
/*
TEST_OUTPUT:
---
fail_compilation/spell9644.d(27): Error: undefined identifier b
fail_compilation/spell9644.d(28): Error: undefined identifier xx
fail_compilation/spell9644.d(29): Error: undefined identifier cb, did you mean variable ab?
fail_compilation/spell9644.d(30): Error... | D |
module UnrealScript.GFxUI.GFxAction_GetVariable;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.GFxUI.GFxMoviePlayer;
import UnrealScript.Engine.SequenceAction;
extern(C++) interface GFxAction_GetVariable : SequenceAction
{
public extern(D):
private static __gshared ScriptClass mSta... | D |
INSTANCE Info_Mod_HofstaatHaendler02_Hi (C_INFO)
{
npc = Mod_7273_HS_Haendler_REL;
nr = 1;
condition = Info_Mod_HofstaatHaendler02_Hi_Condition;
information = Info_Mod_HofstaatHaendler02_Hi_Info;
permanent = 0;
important = 0;
description = "Gehört dieser Laden dir?";
};
FUNC INT Info_Mod_HofstaatHaendler02_Hi... | D |
/**
Utility functions for array processing
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 vibe.internal.array;
import vibe.internal.memory;
import std.algorithm;
import std.range : isInputRange... | D |
module intents.current;
import openwebif.api;
import ask.ask;
import texts;
import openwebifbaseintent;
///
final class IntentCurrent : OpenWebifBaseIntent
{
///
this(OpenWebifApi api)
{
super(api);
}
///
override AlexaResult onIntent(AlexaEvent, AlexaContext)
{
import std.format : format;
import std... | D |
import std.stdio;
//mixin (compile_time_generated_string)
string print(string s)
{
return `writeln("` ~ s ~ `");`;
}
void testmixin(){
mixin(`writeln("Hello World!");`);
mixin(print("hi"));
}
template Department(T, size_t count)
{
T[count] names;
void setName(size_t index, T name)
{
names[index] ... | D |
// Written in the D programming language.
/**
* Builtin mathematical intrinsics
*
* Source: $(DRUNTIMESRC core/_math.d)
* Macros:
* TABLE_SV = <table border="1" cellpadding="4" cellspacing="0">
* <caption>Special Values</caption>
* $0</table>
*
* NAN = $(RED NAN)
* S... | 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 |
/Users/supriya/Documents/workspace/tawk_to_test-master/Build/Intermediates.noindex/GitUserHandler.build/Debug-iphonesimulator/GitUserHandler.build/Objects-normal/x86_64/NetworkManager.o : /Users/supriya/Documents/workspace/tawk_to_test-master/GitUserHandler/Webservice/Webservice.swift /Users/supriya/Documents/workspace... | D |
func void evt_teleportstation_func()
{
Wld_PlayEffect("spellFX_Teleport_RING",hero,hero,0,0,0,FALSE);
Snd_Play("MFX_TELEPORT_CAST");
Npc_ClearAIQueue(hero);
SCUsed_TELEPORTER = TRUE;
if(CurrentLevel == NEWWORLD_ZEN)
{
if(Npc_GetDistToWP(hero,"NW_TELEPORTSTATION_CITY") < 3000)
{
AI_Teleport(hero,"NW_TELEPO... | D |
/Users/yuhuan/work/proj/swift/example-package-fisheryates/.build/debug/FisherYates.build/Random.swift.o : /Users/yuhuan/work/proj/swift/example-package-fisheryates/Sources/Fisher-Yates_Shuffle.swift /Users/yuhuan/work/proj/swift/example-package-fisheryates/Sources/Random.swift /Applications/Xcode.app/Contents/Developer... | D |
a United States unit of weight equivalent to 2000 pounds
a British unit of weight equivalent to 2240 pounds
| D |
alias uint U;
import std.stdio;
import lib.pointsettype;
import lib.integral;
import std.string;
import std.math;
alias log2 lg;
auto f(real[] x)
{
import std.algorithm;
return (x.reduce!((a, b) => a + b)() * -2).exp();
}
auto I(size_t dimension)
{
immutable I1 = (-2).expm1() / -2;
real s = dimension;... | D |
module bio.std.sff.index;
struct IndexLocation {
ulong offset;
uint length;
}
| D |
/**
* Contains TelegramInputMediaDocument
*/
module tg.types.telegram_input_media_document;
import tg.core.type, tg.core.exception, tg.core.array;
import std.json, tg.type;
/**
* Represents a general file to be sent.
*/
class TelegramInputMediaDocument : TelegramType {
/**
* Creates new type object
... | D |
module dub.version_;
enum dubVersion = "v1.26.1-beta.1";
| D |
instance DMT_1212_DAGOT_EXIT(C_Info)
{
npc = dmt_1212_dagot;
nr = 999;
condition = dmt_1212_dagot_exit_condition;
information = dmt_1212_dagot_exit_info;
important = FALSE;
permanent = TRUE;
description = Dialog_Ende;
};
func int dmt_1212_dagot_exit_condition()
{
return TRUE;
};
func void dmt_1212_dagot_exi... | D |
// Need std.array or std.range, for empty
import std.stdio;
import std.string;
//import std.array: empty;
import std.range: empty;
void main() {
string s;
if (s.empty)
writeln("Empty");
}
| D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/WebSockets.build/Model/WebSocket+Error.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/WebSockets/Communication/WebSocket+Send.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine... | D |
/*
REQUIRED_ARGS: -checkaction=context -dip25 -dip1000
PERMUTE_ARGS: -O -g -inline
*/
void test8765()
{
string msg;
try
{
int a = 0;
assert(a);
}
catch (Throwable e)
{
// no-message -> assert expression
msg = e.msg;
}
assert(msg == "0 != true");
}
void ... | D |
/**
* Copyright: (c) 2005-2010 Eric Poggel
* Authors: Eric Poggel
* License: Boost 1.0
*/
module tests.benchmark.culling;
import tango.core.sync.Mutex;
import tango.core.sync.ReadWriteMutex;
import yage.core.array;
import yage.core.timer;
import yage.core.math.plane;
import yage.core.math.math... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1... | D |
module asr.buffer;
import asr.color;
public class BufferT(T)
{
private T[][] _pixels;
private int _width;
private int _height;
public this(int width, int height)
{
_width = width;
_height = height;
_pixels = new T[][](_height, _width);
}
@property
public int... | D |
module workspaced.com.dscanner;
import std.algorithm;
import std.array;
import std.file;
import std.json;
import std.stdio;
import std.typecons;
import core.sync.mutex;
import core.thread;
import dscanner.analysis.base;
import dscanner.analysis.config;
import dscanner.analysis.run;
import dscanner.symbol_finder;
im... | D |
an area in a town where a public mercantile establishment is set up
| D |
instance NASZ_223_Ratford (Npc_Default)
{
// ------ NSC ------
name = "Ratford";
guild = GIL_OUT;
id = 223;
voice = 5;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
aivar[AIV_IgnoresArmor] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapter (self, ... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.