code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/**
* Takes a token stream from the lexer, and parses it into an abstract syntax tree.
*
* Specification: $(LINK2 https://dlang.org/spec/grammar.html, D Grammar)
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bri... | D |
const int VALUE_SWORDBLADE = 10;
const int VALUE_SWORDBLADEHOT = 10;
const int VALUE_SWORDRAWHOT = 10;
const int VALUE_SWORDRAW = 10;
const int VALUE_BRUSH = 3;
const int VALUE_FLASK = 3;
const int VALUE_STOMPER = 3;
const int VALUE_PAN = 20;
const int VALUE_SAW = 20;
const int VALUE_BROOM = 10;
const int VALUE_RAKE =... | D |
/Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/build/syn-d3171b95e5b052e5/build_script_build-d3171b95e5b052e5: /Users/dimdew/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.14/build.rs
/Users/dimdew/CLionProjects/talent_plan_kv/simple_kv/target/debug/build/syn-d3171b95e5b052e5/build_script_b... | D |
module dquick.renderer3D.d3d10.shader;
import dquick.renderer3D.d3d10.util;
import dquick.utils.resourceManager;
import dquick.utils.utils;
import std.string;
import std.stdio;
import std.file;
import core.runtime;
import dquick.buildSettings;
static if (renderer == RendererMode.D3D10)
final class Shader : IResou... | D |
/**
* Implementation of support routines for synchronized blocks.
*
* Copyright: Copyright Digital Mars 2000 - 2011.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, Sean Kelly
* Source: $(DRUNTIMESRC rt/_critical_.d)
*/
/* Copyright Digital Mars 2000 -... | D |
// Copyright Ferdinand Majerech 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)
///Dynamic array struct that never moves its contents in memory.
module containers.segmentedvector;
... | D |
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Essentials.build/Objects-normal/x86_64/ByteStream.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Crypto-1.0.1/Sources/Essentials/ByteStream.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Crypto-1.0.1/Sources/Essentials/Helpers.swift /Appl... | D |
program array_assign();
var a, b: array [12..4] of integer;
begin
end.
| D |
/**
* depinjection's first major revision is too heavy (too much overhead).
* This aims to be a light-weight reimplementation.
*/
module pattern.depinjection.subbuilders;
private {
import pattern.depinjection.circular;
import pattern.depinjection.exception;
import pattern.depinjection.property;
import pattern.d... | D |
module windows.fileseverresourcemanager;
public import system;
public import windows.automation;
public import windows.com;
extern(Windows):
enum FsrmQuotaFlags
{
FsrmQuotaFlags_Enforce = 256,
FsrmQuotaFlags_Disable = 512,
FsrmQuotaFlags_StatusIncomplete = 65536,
FsrmQuotaFlags_StatusRebuilding = 131... | D |
/*******************************************************************************
Class which tracks the hash range associated with a set of nodes, with
methods to update and query this information. The update method hooks into
the client's ConnectionSet and adds new connections, as required.
The order... | D |
const int SPL_COST_Firestorm = 200;
const int STEP_Firestorm = 50;
const int SPL_Damage_Firestorm = 75;
const int SPL_PYRO_DAMAGE_PER_SEC = 20;
instance Spell_Pyrokinesis(C_Spell_Proto)
{
time_per_mana = 30;
damage_per_level = SPL_Damage_Firestorm;
damagetype = DAM_MAGIC;
canTurnDuringInvest = TRUE;
};
func i... | D |
class GartenObject {
var int inst;
var int row;
var int column;
var int time;
};
const int MAX_GARTEN = 36; //Wir definieren diese Konstante, um unser System leicher anpassen zu können, z.B. bei vielen Monstern. Außerdem ist das schöner.
var int GartenArray[MAX_GARTEN];
var int nextGartenIndex;
instance GartenObj... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail10964.d(28): Error: 'fail10964.S.__postblit' is not nothrow
fail_compilation/fail10964.d(29): Error: 'fail10964.S.__postblit' is not nothrow
fail_compilation/fail10964.d(30): Error: 'fail10964.S.__postblit' is not nothrow
fail_compilation/fail10964.d(33): Error: 'fail10964.S.__p... | D |
// cpu.d -- Architecture "Cpu" selector
// This module will select the Cpu namespace for the currently selected target architecture
module kernel.arch.cpu;
import kernel.arch.select;
mixin(PublicArchImport!("cpu"));
| D |
module sm.parser;
import std.outbuffer;
import pey.common;
import sm.spec;
import sm.lexer;
class ParserException : Exception {
private static string fmt =
"[c%d-%d r%d c%d]: %s";
Token token;
this(string msg, Token token) {
this.token = token;
super(format(fmt... | D |
/**
Differentiable power function module.
*/
module diffengine.pow;
import std.math : mathLog = log, mathPow = pow;
import std.traits : isNumeric;
import diffengine.differentiable :
Differentiable,
DiffContext,
EvalContext;
import diffengine.mul : mul;
import diffengine.div : div;
import diffengine.add_su... | D |
/Users/haruna/Documents/iOSdev/flix_1/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/haruna/Documents/iOSdev/flix_1/Pods/Alamofire/Source/MultipartFormData.swift /Users/haruna/Documents/iOSdev/flix_1/Pods/Alamofire/Source/Timeline.swift /Users/haruna/Docum... | D |
/*
* Problem 50
*
* 15 August 2003
*
*
* The prime 41, can be written as the sum of six consecutive primes:
*
* 41 = 2 + 3 + 5 + 7 + 11 + 13
*
* This is the longest sum of consecutive primes that adds to a prime
* below one-hundred.
*
* The longest sum of consecutive primes below one-thousand that adds
* ... | D |
/afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/HZZCutCommon/obj/ParticleVar.o /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/HZZCutCommon/obj/ParticleVar.d : /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/HZZCutCommon/Root/ParticleV... | D |
instance KDW_1401_Addon_Cronos_NW(Npc_Default)
{
name[0] = "Кронос";
guild = GIL_KDW;
id = 1401;
voice = 4;
flags = NPC_FLAG_IMMORTAL;
npcType = NPCTYPE_MAIN;
aivar[AIV_MagicUser] = MAGIC_ALWAYS;
aivar[AIV_IgnoresFakeGuild] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
aivar[AIV_NPCIsTrader] = TRUE;
aivar[AIV_Te... | D |
/Users/ashizawaken/Documents/kuro-ra/target/debug/build/parking_lot_core-ede39e6adcc4b8db/build_script_build-ede39e6adcc4b8db: /Users/ashizawaken/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.3.1/build.rs
/Users/ashizawaken/Documents/kuro-ra/target/debug/build/parking_lot_core-ede39e6adcc4b8db/bui... | D |
module UnrealScript.UTGame.UTInventoryManager;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UTGame.UTWeapon;
import UnrealScript.Engine.Weapon;
import UnrealScript.Engine.Inventory;
import UnrealScript.Engine.InventoryManager;
import UnrealScript.Engine.HUD;
extern(C++) interface U... | D |
prototype Mst_Default_Zombie(C_Npc)
{
name[0] = "Zombie";
guild = GIL_ZOMBIE;
aivar[AIV_IMPORTANT] = ID_ZOMBIE;
level = 15;
attribute[ATR_STRENGTH] = 85;
attribute[ATR_DEXTERITY] = 85;
attribute[ATR_HITPOINTS_MAX] = 180;
attribute[ATR_HITPOINTS] = 180;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
p... | D |
module mylib.primitives;
import std.math;
import std.conv;
import std.stdio;
import mylib.vector2d;
public:
/// ポジション
/// x軸とy軸を持ったやつ
interface Position{
@property const pure abstract double x();
@property const pure abstract double y();
@property const pure abstract Vector2d pos();
}
/// Mixin用
template... | D |
the metal or paper medium of exchange that is presently used
general acceptance or use
the property of belonging to the present time
| D |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/Layouts/ClassTypeDescriptor.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/Runtime/Sources/Runtime/Metadata/Metadata.swift /Users/sadikekinozbay/Docume... | D |
/Users/kushalashok/Documents/Kushal/Personal/Interviews/XcodePractice/Swift/DerivedData/Samples/Build/Intermediates.noindex/Samples.build/Debug-iphoneos/Samples.build/Objects-normal/arm64/TwoSums.o : /Users/kushalashok/Documents/Kushal/Personal/Interviews/XcodePractice/Swift/Samples/Examples/LRU.swift /Users/kushalasho... | D |
/home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/Random.build/OSRandom.swift.o : /home/juliobrz/Git/PixelCanvas/.build/checkouts/crypto/Sources/Random/RandomProtocol.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/crypto/Sources/Random/Array+Random.swift /home/juliobrz/Git/PixelCanvas/.build/check... | D |
/**
Automatic REST interface and client code generation facilities.
Copyright: © 2012-2013 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig, Михаил Страшун
*/
module vibe.web.rest;
public import vibe.internal.meta.funcattr :... | D |
the act of grafting something onto something else
cause to grow together parts from different plants
place the organ of a donor into the body of a recipient
| D |
CMakeFiles/starcraft.dir/src/Viking.c.obj: \
E:\CodeAcademy\StrypesProjects\StarCraftComplete\StarCraft_Complete_CMake\src\Viking.c \
E:/CodeAcademy/StrypesProjects/StarCraftComplete/StarCraft_Complete_CMake/include/Viking.h \
E:/CodeAcademy/StrypesProjects/StarCraftComplete/StarCraft_Complete_CMake/include/List.... | D |
/**
* Semantic analysis of expressions.
*
* Specification: ($LINK2 https://dlang.org/spec/expression.html, Expressions)
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.... | D |
/*
* $Id: displaylist.d,v 1.1.1.1 2005/06/18 00:46:00 kenta Exp $
*
* Copyright 2005 Kenta Cho. Some rights reserved.
*/
module abagames.util.sdl.displaylist;
private import opengl;
private import abagames.util.sdl.sdlexception;
/**
* Manage a display list.
*/
public class DisplayList {
private:
bool registe... | D |
// D import file generated from 'D:\dev\projects\d\ZetaBox\ZetaBox.Graphics\ZetaBox\Graphics\Screen.d'
module ZetaBox.Graphics.Screen;
import std.conv;
import std.string;
import ZetaBox.Graphics.Actor;
import ZetaBox.Graphics.Color;
import ZetaBox.Graphics.GL;
import ZetaBox.Graphics.Layout;
public class Screen : IActo... | D |
/*
* Hunt - a framework for web and console application based on Collie using Dlang development
*
* Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the BSD License.
*
*/
module app.controller.index;
import hunt;
class IndexController : Contro... | 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 |
import vibe.d;
import std.socket;
import std.uuid;
import std.file;
string destPathRoot;
shared static this() {
destPathRoot = readRequiredOption!string("p|path", "Path to file");
Socket s = new TcpSocket();
s.connect(new InternetAddress("google.com", 80));
ushort openPort = to!ushort(s.localAddress.toPortSt... | D |
//Events in Dream
var int timeToTalkWithBaal;
func void TimeEventsDream()
{
if (WORLD_CURRENT == WORLD_DREAM01)
{
if (isFirstTalkingInDream && InfoManager_HasFinished())
{
timeToTalkWithBaal = 41; //40 s
isFirstTalkingInDream = false;
};
if (timeToTalkWithBaal > 1)
{
timeToTalkWithBaal -= 1... | D |
///
module jarena.data.loaders.core;
private
{
import core.thread : Fiber;
import std.traits, std.experimental.logger, std.typecons;
import jarena.core, jarena.gameplay.scene;
/++
Capabilities of the new loader:
- New data structure
- Previously, loading in assets was ... | D |
/* *
Don't use this file anymore. The maintained version is in http2.d, just use that.
Old docs below:
This is CLIENT only at this point. Don't try to
bind/accept with these.
FIXME: Windows isn't implemented
On Windows, it uses Microsoft schannel so it doesn't
need openssl or gnutls as a dependency.
On ot... | D |
// COMPILE_SEPARATELY
// EXTRA_SOURCES: imports/test55a.d
// PERMUTE_ARGS: -di
// REQUIRED_ARGS: -d
public import imports.test55a;
class Queue {
typedef int ListHead;
Arm a;
}
class MessageQueue : Queue {
}
class Queue2 {
typedef int ListHead;
Arm2 a;
}
| D |
// Copyright 2018 - 2021 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 bindbc.opengl.bind.arb.core_46;
import bindbc.loader;
import bindbc.opengl.config,
... | D |
instance Info_Sld_11_EXIT(C_Info)
{
nr = 999;
condition = Info_Sld_11_EXIT_Condition;
information = Info_Sld_11_EXIT_Info;
permanent = 1;
description = "KONIEC";
};
func int Info_Sld_11_EXIT_Condition()
{
return 1;
};
func void Info_Sld_11_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance Info_Sld_11_Ei... | D |
prototype MST_DEFAULT_UNDEADORCWARRIOR(C_NPC)
{
name[0] = "Орк-нежить";
guild = GIL_UNDEADORC;
aivar[AIV_MM_REAL_ID] = ID_UNDEADORCWARRIOR;
level = 30;
attribute[ATR_STRENGTH] = 150;
attribute[ATR_DEXTERITY] = 150;
attribute[ATR_HITPOINTS_MAX] = 300;
attribute[ATR_HITPOINTS] = 300;
attribute[ATR_MANA_MAX] = 0... | D |
in a lyrical manner
| D |
// Written in the D programming language.
/**
$(H2 Assembling Your Own Allocator)
This package also implements
untyped composable memory allocators. They are $(I untyped) because they deal
exclusively in `void[]` and have no notion of what type the memory allocated
would be destined for. They are $(I composable) becau... | D |
import std.stdio;
import std.conv;
void main() {
string s;
for (uint i = 0; s.length <= 100_000; ++i)
s ~= to!string(i);
uint prod = 1;
for (uint d = 1; d <= 100_000; d *= 10)
prod *= s[d] - '0';
writeln(prod);
}
| D |
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | D |
/Users/Shinkangsan/Desktop/SiriKit-Demo/build/SiriKitDemo.build/Debug-iphonesimulator/SiriExtensionDemo.build/Objects-normal/x86_64/IntentHandler.o : /Users/Shinkangsan/Desktop/SiriKit-Demo/SiriExtensionDemo/IntentHandler.swift /Users/Shinkangsan/Desktop/SiriKit-Demo/SiriExtensionDemo/SendPaymentIntentHandler.swift /Us... | D |
instance Info_Gorn_EXIT(C_Info)
{
npc = PC_Fighter;
nr = 999;
condition = Info_Gorn_EXIT_Condition;
information = Info_Gorn_EXIT_Info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_Gorn_EXIT_Condition()
{
return 1;
};
func void Info_Gorn_EXIT_Info()
{
if(self.aivar[AIV_PARTYMEMB... | D |
/Users/Ashley/Desktop/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Alamofire.o : /Users/Ashley/Desktop/Bandsintown/Pods/Alamofire/Source/MultipartFormData.swift /Users/Ashley/Desktop/Bandsintown/Pods/Alamofire/Source/Timeline.swift /Users/Ashley/Desktop/Bandsint... | D |
import std.stdio, std.string, std.algorithm, std.array;
auto sierpinskiCarpet(in int n) pure nothrow @safe {
auto r = ["#"];
foreach (immutable _; 0 .. n) {
const p = r.map!q{a ~ a ~ a}.array;
r = p ~ r.map!q{a ~ a.replace("#", " ") ~ a}.array ~ p;
}
return r.join('\n');
}
void main() ... | D |
instance VLK_4147_Waffenknecht(Npc_Default)
{
name[0] = NAME_Waffenknecht;
guild = GIL_MIL;
id = 4147;
voice = 6;
flags = 0;
npcType = NPCTYPE_OCAMBIENT;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Mil_Sword);
EquipItem(self,ItRw_Mil_Crossbow);
B_CreateAmbientI... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.build/Async/Response+Async.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.b... | D |
/++
Simple non-blocking work with serial port for Posix and Windows.
See also `example/monitor`
+/
module serialport;
version (Posix) {} else version (Windows) {}
else static assert(0, "unsupported platform");
public
{
import serialport.base;
import serialport.config;
import serialport.block;
... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/FluentProvider.build/Exports.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/fluent-provider.git-1502561075136423204/Sources/FluentProvider/Node+Row+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSal... | D |
the party who appeals a decision of a lower court
of or relating to or taking account of appeals (usually legal appeals
| D |
#!/usr/bin/env dub
/+dub.sdl:
dependency "dmd" path="../.."
+/
import dmd.permissivevisitor;
import dmd.transitivevisitor;
import dmd.tokens;
import dmd.root.outbuffer;
import core.stdc.stdio;
extern(C++) class ImportVisitor2(AST) : ParseTimeTransitiveVisitor!AST
{
alias visit = ParseTimeTransitiveVisitor!AST.v... | 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_0_BeT-12334417... | D |
// D command-line interface parser that will make you smile.
// Copyright (c) 2014 Bob Tolbert, bob@tolbert.org
// Licensed under terms of MIT license (see LICENSE-MIT)
//
// https://github.com/rwtolbert/docopt.d
//
// Ported from Python to D based on:
// - http://docopt.org
import std.stdio;
import std.regex;... | D |
void main() { runSolver(); }
void problem() {
auto QN = scan!long;
auto solve() {
auto subSolve() {
auto N = scan!int;
auto A = scan!real(N);
int ans = N - 1;
foreach(i; 0..N - 1) foreach(j; i+1..N) {
real d = A[j] - A[i] == 0 ? 0 : (A[j] - A[i]) / (j - i);
real t = A[... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.build/Activity/ActivityIndicator.swift.o : /Users/nice/HelloWord/.build/checkouts/console.git-2755603573940926646/Sources/Console/Terminal/ANSI.swift /Users/nice/HelloWord/.build/checkouts/console.git-2755603573940926646/Sources/Console/Deprecated.swif... | D |
/home/dominator/Desktop/Swift\ Beginner/BooleanValueChallenge/.build/x86_64-unknown-linux-gnu/debug/BooleanValueChallenge.build/challenge2.swift.o : /home/dominator/Desktop/Swift\ Beginner/BooleanValueChallenge/Sources/challenge1.swift /home/dominator/Desktop/Swift\ Beginner/BooleanValueChallenge/Sources/challenge2.swi... | D |
INSTANCE Info_Mod_Sly_Hi (C_INFO)
{
npc = Mod_801_STT_Sly_MT;
nr = 1;
condition = Info_Mod_Sly_Hi_Condition;
information = Info_Mod_Sly_Hi_Info;
permanent = 0;
important = 0;
description = "Du hast auch nichts zu tun, oder?";
};
FUNC INT Info_Mod_Sly_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Sly_Hi_I... | D |
/**
* $(RED Deprecated. Use $(D core.sys.darwin.execinfo) instead. This module
* will be removed in June 2018.)
*
* D header file for OSX.
*
* Copyright: Copyright Martin Nowak 2012.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Martin Nowak
*/
module core.sys... | D |
/*
* Vulkan Example - Basic non-indexed triangle rendering
*
* Note:
* This is a "pedal to the metal" example to show off how to get Vulkan up an displaying something
* It strongly relies on the concepts and abstractions of the V-Drive api
* However, in these example only basic features are used, heavier once wil... | D |
module dub.packagesuppliers.maven;
import dub.packagesuppliers.packagesupplier;
/**
Maven repository based package supplier.
This package supplier connects to a maven repository
to search for available packages.
*/
class MavenRegistryPackageSupplier : PackageSupplier {
import dub.internal.utils : retryDownload, ... | D |
a content word that can be qualified by a modifier
a word placed at the beginning of a line or paragraph (as in a dictionary entry)
| D |
/Users/ziadharb/HelloWorld/Build/Intermediates.noindex/HelloWorld.build/Debug/HelloWorld\ (macOS).build/Objects-normal/x86_64/ContentView.o : /Users/ziadharb/HelloWorld/Shared/HelloWorldApp.swift /Users/ziadharb/HelloWorld/Shared/ContentView.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Dev... | D |
void main() {
import std.stdio, std.container, std.range;
auto dll = DList!dchar("DCBA"d.dup);
dll[].writeln;
dll[].retro.writeln;
}
| D |
instance Vlk_402_Richter(Npc_Default)
{
name[0] = "Ристер";
guild = GIL_VLK;
id = 402;
voice = 10;
flags = 0;
npcType = npctype_main;
aivar[AIV_MM_RestEnd] = TRUE;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_NORMAL;
B_CreateAmbientInv(self);
EquipItem(self,ItMw_1h_Vlk_Mace);
CreateInvItems(s... | D |
/Users/sol369/Desktop/curben-oc/DerivedData/curben/Build/Intermediates/Pods.build/Debug-iphonesimulator/ImageViewer.build/Objects-normal/x86_64/UIBezierPath.o : /Users/sol369/Desktop/curben-oc/Pods/ImageViewer/ImageViewer/Source/GalleryPagingDataSource.swift /Users/sol369/Desktop/curben-oc/Pods/ImageViewer/ImageViewer/... | D |
module mach.sdl.input.event.joystick;
private:
import derelict.sdl2.types;
import mach.sdl.input.event.mixins;
import mach.sdl.input.event.type : EventType;
import mach.sdl.input.joystick : Joystick;
public:
/// Event triggered by joystick axis movement.
/// https://wiki.libsdl.org/SDL_JoyAxisEvent
struct JoyAxis... | D |
module android.java.android.provider.Telephony_ThreadsColumns_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("Telephony$ThreadsColumns")... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
306.399994 74.1999969 4.30000019 0 52 55 -31.8999996 151.300003 8785 5.9000001 5.9000001 0.666666667 extrusives, basalts
333.200012 64.6999969 6.5999999 0 52 55 -31.8999996 151.300003 8786 10.3000002 11.6999998 0.666666667 extrusives, basalts
-6... | D |
module resource;
import std.path, std.string;
import ast.decl;
public import resource.texture;
@safe :
Decl[] load_resource(string filename, string name) {
final switch(filename.extension) {
case ".idx":
//Texture index
if (name is null)
name = filename[0..filename.indexOf('.')];
return [new TexturePack... | D |
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/release/deps/same_file-9810d9990ce068a4.rmeta: /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/same-file-1.0.5/src/lib.rs /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/same-file-1.0.5/src/unix.rs
/mnt/c/Users/z... | D |
be a hindrance or obstacle to
hinder or prevent the progress or accomplishment of
put at a disadvantage
located at or near the back of an animal
located at or near the back of an animal
| D |
module memutils.debugger;
import memutils.allocators;
import memutils.hashmap;
import memutils.dictionarylist;
import memutils.utils : Malloc;
import std.conv : emplace, to;
/**
* Another proxy allocator used to aggregate statistics and to enforce correct usage.
*/
final class DebugAllocator(Base : Allocator) : Alloc... | D |
a flighty and disorganized person
| D |
#pragma D option quiet
#pragma D option switchrate=10hz
dtrace:::BEGIN
{
printf(" %3s %15s:%-5s %15s:%-5s %6s %s\n", "CPU",
"LADDR", "LPORT", "RADDR", "RPORT", "BYTES", "FLAGS");
}
tcp:::send
{
... | D |
any substance that can be metabolized by an animal to give energy and build tissue
any substance (such as a chemical element or inorganic compound) that can be taken in by a green plant and used in organic synthesis
of or providing nourishment
| D |
instance Mod_1094_BAU_Bauer_MT (Npc_Default)
{
//-------- primary data --------
name = name_Bauer;
npctype = NPCTYPE_MT_REISBAUER;
guild = GIL_MIL;
level = 2;
voice = 4;
id = 1094;
//-------- abilities --------
attribute[ATR_STRENGTH] = 15;
attribute[ATR_DEXTERITY] = 11;
attribute[ATR_MA... | 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 |
import std.stdio;
immutable N = 7;
void printArray(ref float[N][N] a) {
foreach (ref row; a) writeln(row);
}
void main() {
float[N] f = [0.05, 0.4, 0.08, 0.04, 0.1, 0.1, 0.23];
float[N][N] t;
foreach (s; 0 .. N) {
foreach (i; 0 .. N) {
if (i + s >= N) break;
float best = float.infinity;
float sum = 0;... | D |
module crunch.Utils;
import std.parallelism : totalCPUs;
import std.path : dirName;
import std.file;
import std.socket;
import core.sys.posix.signal;
void ignoreSignalSIGPIPE()
{
ignoreSignal(SIGPIPE);
}
void ignoreSignal(int a_signal)
{
signal(a_signal, SIG_IGN);
}
auto installDir()
{
return dirName(thisExe... | D |
set_span/set.ml: Array Buffer Irmin Irmin_scylla Lwt Printf String Sys Unix
| D |
/Users/huuthang/Desktop/NFT/target/release/build/byteorder-e213a08301b23495/build_script_build-e213a08301b23495: /Users/huuthang/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/build.rs
/Users/huuthang/Desktop/NFT/target/release/build/byteorder-e213a08301b23495/build_script_build-e213a08301b23495.d: /U... | 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 |
/Users/sa-ta/Documents/MyRusts/RustVue/serverRust/target/rls/debug/deps/unic_char_range-24ac25ca2ff2fac7.rmeta: /Users/sa-ta/.cargo/registry/src/github.com-1ecc6299db9ec823/unic-char-range-0.9.0/src/lib.rs /Users/sa-ta/.cargo/registry/src/github.com-1ecc6299db9ec823/unic-char-range-0.9.0/src/pkg_info.rs /Users/sa-ta/.c... | D |
var int bezi_bookstand_milten_03_s1;
func void Bookstand_Milten_03_S1()
{
var int nDocID;
if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(hero))
{
nDocID = Doc_Create();
Doc_SetPages(nDocID,2);
Doc_SetPage(nDocID,0,"Book_Brown_L.tga",0);
Doc_SetPage(nDocID,1,"Book_Brown_R.tga",0);
Doc_SetFont(nDocID,-1,F... | D |
module app.form.LoginUser;
import hunt.framework.http.Form;
import hunt.validation;
import hunt.serialization.JsonSerializer;
class LoginUser : Form
{
mixin MakeForm;
@Length(4,12)
string name;
@Length(4,8)
string password;
@AliasField("e-mail")
string email;
bool rememeber = false;
} | D |
module akaricastd.commands;
import std.experimental.logger;
import djrpc.v2 : JsonRpc2Request, JsonRpc2Response;
import akaricastd.player : Player;
import akaricastd.playlist: Playlist;
import akaricastd.commands.playback;
import akaricastd.commands.playlist;
import akaricastd.commands.info;
interface Command {
... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2018 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 |
instance KDF_511_Daron(Npc_Default)
{
name[0] = "Daron";
guild = GIL_VLK;
id = 511;
voice = 10;
flags = 0;
npcType = npctype_main;
aivar[AIV_MagicUser] = MAGIC_ALWAYS;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Nov_Mace);
B_CreateAmbientInv(self);
B_SetNpcVisu... | D |
// Reply.d
import CodeEnum;
unittest
{
auto e = CodeEnum.OK; // Error: undefined identifier 'OK'
}
| D |
clothing of a distinctive style or for a particular occasion
put on special clothes to appear particularly appealing and attractive
| D |
module android.java.javax.crypto.spec.SecretKeySpec;
public import android.java.javax.crypto.spec.SecretKeySpec_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SecretKeySpec;
import import0 = android.java.java.lang.Class;
| D |
/Users/apple-1/Documents/xCode/CoreDataSampleApp/Build/Intermediates/SwiftMigration/CoreDataSampleApp/Intermediates.noindex/CoreDataSampleApp.build/Debug-iphonesimulator/CoreDataSampleAppUITests.build/Objects-normal/x86_64/CoreDataSampleAppUITests.o : /Users/apple-1/Documents/xCode/CoreDataSampleApp/CoreDataSampleAppUI... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.