code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module rx.algorithm.uniq;
import rx.disposable;
import rx.observable;
import rx.observer;
import rx.util;
import std.functional : binaryFun;
import std.range : put;
struct UniqObserver(TObserver, E, alias pred = "a == b")
{
mixin SimpleObserverImpl!(TObserver, E);
public:
this(ref TObserver observer)
{
... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
292.5 65.5 1.60000002 262.700012 34 39 -38.7999992 143.399994 7097 2.5 2.5 sediments, red-brown clays
264.399994 75 15.6000004 0 2 65 -8.80000019 126.699997 1206 10.3999996 18 extrusives, intrusives
346 61 9 41.2000008 35 100 -31.3999996 138.600006... | D |
void main() {
import std.stdio, std.string, std.conv, std.algorithm;
auto s = readln.chomp.to!(char[]);
auto t = readln.chomp.to!(char[]);
const no = "UNRESTORABLE";
if (t.length > s.length) {
writeln(no);
return;
}
char[][] cand;
for (size_t i = 0; i + t.length <= s.length; i++) {
bool ok... | D |
a bishop having jurisdiction over a diocese
belonging to or governing a diocese
| D |
module unit_threaded.ut.integration;
import unit_threaded.integration;
@safe unittest {
auto sb = Sandbox();
assert(sb.testPath != "");
}
@safe unittest {
import std.file: exists, rmdirRecurse;
import std.path: buildPath;
import unit_threaded.should;
Sandbox.sandboxesPath.shouldEqual(Sandbox... | D |
/Users/augustomachado/github/rust_snake_game/snake_game/target/release/build/gfx_gl-c8ee18b422cdf725/build_script_build-c8ee18b422cdf725: /Users/augustomachado/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx_gl-0.6.1/build.rs
/Users/augustomachado/github/rust_snake_game/snake_game/target/release/build/gfx_gl-c8ee1... | D |
string Fun_Faces_data=
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" .--. "~
r" (O)(O) "~
r" | o / "~
r" |`-/ "~
r" |_/ "~
r" _ "~
r" (_) "~
`"`~
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r"#"~
r" "~
r" "~
r" "~
r" "~... | D |
/*
Copyright (c) 2013-2020 Timur Gafarov
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, dist... | D |
import std.stdio;
import core.stdc.stdio;
/******************************************/
struct S
{
int opStar() { return 7; }
}
void test1()
{
S s;
printf("%d\n", *s);
assert(*s == 7);
}
/******************************************/
void test2()
{
double[1][2] bar;
bar[0][0] = 1.0;
bar[1][0] =... | D |
instance VLK_561_Buddler(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = npctype_ambient;
guild = GIL_VLK;
level = 4;
voice = 1;
id = 561;
attribute[ATR_STRENGTH] = 30;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 94;
attribute[ATR_HITP... | D |
instance DIA_Addon_Patrick_EXIT(C_Info)
{
npc = STRF_1118_Addon_Patrick;
nr = 999;
condition = DIA_Addon_Patrick_EXIT_Condition;
information = DIA_Addon_Patrick_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Patrick_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Patrick... | D |
/**
* @author Lee Avital
*
* Holds the position struct which provides a semantically
* superior way of representing scrabble board coordinates
*/
module position;
struct Position{
int x;
int y;
@property Position left(){
return Position(x - 1, y );
};
@property Position right(){
return Pos... | D |
/Users/obuchiyuki/Desktop/SaftyDrive/Build/Intermediates/SafetyDrive.build/Debug-iphoneos/SaftyDrive.build/Objects-normal/arm64/MKSwitch.o : /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/MK/MKSnackbar.swift /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/RMMenu.swift /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/RM... | D |
/home/cnugent/Documents/source_cd_dirs/web_top/target/debug/deps/try_lock-ba5b3ca1484b2011.rmeta: /home/cnugent/.cargo/registry/src/github.com-1ecc6299db9ec823/try-lock-0.2.3/src/lib.rs
/home/cnugent/Documents/source_cd_dirs/web_top/target/debug/deps/libtry_lock-ba5b3ca1484b2011.rlib: /home/cnugent/.cargo/registry/src... | D |
module engine.core.window;
public import engine.core.window.window;
public import engine.core.window.events;
| D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
22.5 87 27.2999992 85.5 16 23 -9.60000038 119.400002 7801 14.8999996 28.5 extrusives, basalts
213.300003 85.5 9.89999962 22.3999996 16 23 -9.60000038 119.400002 7788 5.4000001 10.3000002 extrusives, andesites, dacites
289.600006 75.1999969 1.799999... | 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 |
/*******************************************************************************
D language bindings for libsodium's crypto_generichash_blake2b.h
License: ISC (see LICENSE.txt)
*******************************************************************************/
module libsodium.crypto_generichash_blake2b;
@nog... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Console.build/Console/ConsoleError.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/console.git-5126077550814951831/Sources/Console/Terminal/String+ANSI.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/console.git-512607755... | D |
Old or New World straight-billed game bird of the sandpiper family
a gunshot from a concealed location
hunt or shoot snipe
aim and shoot with great precision
attack in speech or writing
| D |
// Written in the D programming language.
/**
<script type="text/javascript">inhibitQuickIndex = 1</script>
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions)
)
$(TR $(TDNW Template API) $(TD $(MYREF SHA1)
)
)
$(TR $(TDNW OOP API) $(TD $(MYREF SHA1Digest))
)
$(TR $(TDNW Helpers) $(TD $(MYREF sha1Of))
)
)
* Computes S... | D |
import org.eclipse.swt.all;
import java.io.ByteArrayInputStream;
void main() {
auto d = new Display;
auto s = new Shell(d);
s.setLayout(new FillLayout);
s.setSize(100, 100);
auto l = new Label(s, SWT.NONE);
auto bin = new ByteArrayInputStream(cast(byte[])std.file.read("test_rle4.bmp"));
auto img1 = new Image(... | D |
// generated by fakerjsgenerator
///
module faked.faker_en_za;
import faked.base;
///
class Faker_en_za : Faker {
@safe:
import std.random;
import std.array;
import std.format;
import std.conv : to;
///
this(int seed) {
super(seed);
}
///
override string phoneNumberFormats() {
auto data = [
"(... | D |
instance VLK_5007_Buddler(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = Npctype_MINE_Ambient;
guild = GIL_VLK;
level = 3;
voice = 3;
id = 5007;
attribute[ATR_STRENGTH] = 30;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 118;
attribute[... | D |
module game.level;
import game.renderer;
import game.entity;
import game.math;
import game.terminal;
import game.game;
import spasm.rt.array;
import spasm.array;
import std.range : only;
import spasm.rt.memory;
import game.chain;
nothrow:
@safe:
enum Input {
None = 0,
Left = 1,
Right = 2,
Up = 4,
Down = 8,... | 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 |
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL EXPERIMENTAL
// DO NOT USE -- FOR INTERNAL TESTING ONLY
module skia.c.sk_shader;
import skia.c.sk_types;
extern (C):
@nogc:
nothro... | D |
/Users/kubat/Documents/Tutorials/MagicalRecordTut/Build/Intermediates/MagicalRecordTut.build/Debug-iphonesimulator/MagicalRecordTut.build/Objects-normal/x86_64/NoteTableViewCell.o : /Users/kubat/Documents/Tutorials/MagicalRecordTut/MagicalRecordTut/ViewControllers/ViewController.swift /Users/kubat/Documents/Tutorials/M... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
static int[] xs1, ys1, xs2, ys2;
int xlen, ylen;
void read(int H, int W, int N)
{
int[] xs = [0], ys = [0];
foreach (_; 0..N) {
auto xy = readln.split.to!(int[]);
xs ~= [xy[0], xy[2]];
... | D |
/home/molok/projects/rust/rigidbody/target/rls/debug/deps/rigidbody-ec939e597b45102c.rmeta: src/lib.rs
/home/molok/projects/rust/rigidbody/target/rls/debug/deps/rigidbody-ec939e597b45102c.d: src/lib.rs
src/lib.rs:
| D |
/Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Digest/Digest.swift.o : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Utilities/Base32.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/crypto.git-7980259129511365902/Source... | D |
/++
Provides a polling-based API to use gamepads/joysticks on Linux and Windows.
Pass `-version=ps1_style` or `-version=xbox_style` to pick your API style - the constants will use the names of the buttons on those controllers and attempt to emulate the other. ps1_style is compatible with more hardware and thus the ... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
readln;
auto vs = readln.split.to!(double[]);
sort(vs);
double w = vs[0];
foreach (v; vs[1..$]) {
w = (w+v)/2;
}
writefln("%.10f", w);
} | D |
interpreter/test/ex4_3_6.ml: OUnit TypingTestGenerator
| D |
/home/peter_finch/411-A1/brightness/target/debug/deps/scoped_threadpool-4c3eba71b04c560a.rmeta: /home/peter_finch/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs
/home/peter_finch/411-A1/brightness/target/debug/deps/libscoped_threadpool-4c3eba71b04c560a.rlib: /home/peter_finch/.cargo... | D |
a person who is of equal standing with another in a group
a nobleman (duke or marquis or earl or viscount or baron) who is a member of the British peerage
look searchingly
| D |
/*******************************************************************************
Provides wrappers on top of some methods documented in
https://developer.github.com/v3/issues/
Copyright: Copyright (c) 2016 Sociomantic Labs GmbH. All rights reserved
License: Boost Software License Version 1.0 (see LIC... | D |
module ui.parse.css.background_attachment;
| D |
/*
TEST_OUTPUT:
---
fail_compilation/diag9961.d(11): Error: cannot implicitly convert expression `""` of type `string` to `int`
fail_compilation/diag9961.d(14): Error: template instance diag9961.foo!int error instantiating
fail_compilation/diag9961.d(11): Error: cannot implicitly convert expression `""` of type `string... | D |
module tests.chemotaxistereo;
import dbox.common;
import deimos.glfw.glfw3;
import framework.debug_draw;
import framework.test;
import tests.test_entries : mode;
import network.network;
import std.conv : to;
import std.stdio;
class ChemotaxiB(mode m) : NeuralTest
{
size_t foodCount;
size_t boxDiminish;
float32 cr... | D |
/home/helgardf/Documents/Programming/rust/rust_programming_language_exercises/guessing_game/target/debug/build/rand_pcg-13681e73ea10e0b4/build_script_build-13681e73ea10e0b4: /home/helgardf/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_pcg-0.1.2/build.rs
/home/helgardf/Documents/Programming/rust/rust_programming... | D |
uint.max.iota.filter!pernicious.walkLength.writeln;
| D |
// Copyright Ferdinand Majerech 2010 - 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
///Video driver base class.
module video.videodriver;
@trusted
import std.math;
import video... | D |
module sneaky1_runme;
import sneaky1.sneaky1;
void main() {
if (add(30, 2) != 32) {
throw new Exception("add test failed");
}
if (subtract(20, 2) != 18) {
throw new Exception("subtract test failed");
}
if (mul(20, 2) != 40) {
throw new Exception("mul test failed");
}
if (divide(20, 2) != ... | D |
/*
* Collie - An asynchronous event-driven network framework using Dlang development
*
* Copyright (C) 2015-2017 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the Apache-2.0 License.
*
*/
module collie.codec.http.server.httpserver;
import collie.codec.http.session.... | D |
void main() {
import std.stdio, std.string, std.conv, std.algorithm;
int n;
rd(n);
const int mod = 10 ^^ 9 + 7;
auto memo = new int[][](n + 1, 10);
afill(memo, -1);
int f(int i, int prev) {
if (i == n) {
return 1;
} else {
if (memo[i][prev] >= 0) {
return memo[i][prev];
... | D |
instance PAL_6059_RITTER(Npc_Default)
{
name[0] = NAME_Ritter;
guild = GIL_BDT;
aivar[AIV_IgnoresFakeGuild] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
id = 6059;
voice = 8;
flags = 0;
npcType = NPCTYPE_PALMORA;
aivar[AIV_DropDeadAndKill] = TRUE;
B_SetAttributesToChapter(self,6);
fight_tactic = FAI_HUMAN_MASTER... | D |
module imports.ice11300a;
static import ice11300;
enum value = ice11300.value;
| D |
module aurora.directx.com;
version(Windows):
public import core.sys.windows.windows;
public import core.sys.windows.com;
import core.atomic;
public:
mixin(uuid!(IUnknown, "00000000-0000-0000-C000-000000000046"));
mixin(uuid!(IClassFactory,"00000001-0000-0000-C000-000000000046"));
public struct LUID {
uint LowPar... | D |
/*******************************************************************************
Parameters for a DLS request.
Copyright:
Copyright (c) 2010-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
***********************... | D |
/// Generate by tools
module java.awt.GraphicsEnvironment;
import java.lang.exceptions;
public class GraphicsEnvironment
{
public this()
{
implMissing();
}
}
| D |
/Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/Service.build/Objects-normal/x86_64/ServiceCache.o : /Users/petercernak/vapor/TILApp/.build/checkouts/service.git-4489542127361579605/Sources/Service/Services/ServiceID.swift /Users/petercernak/vapor/TILApp/.build/checkouts/service.git-44895... | D |
/Users/macbook/Desktop/BookFarm/build/Pods.build/Debug-iphonesimulator/YPImagePicker.build/Objects-normal/x86_64/YPFiltersView.o : /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Photo/YPCameraVC.swift /Users/macbook/Desktop/BookFarm/Pods/YPImagePicker/Source/Pages/Video/YPVideoCaptureVC.swift /Users/ma... | D |
// PERMUTE_ARGS:
/***************************************************/
// 6766
class Foo6766
{
this(int x) { }
void test(Foo6766 foo = new Foo6766(1)) { }
}
struct Bar6766
{
this(int x) { }
void test(Bar6766 bar = Bar6766(1)) { }
}
/***************************************************/
// 8609
struc... | D |
module UnrealScript.Engine.UberPostProcessEffect;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.DOFBloomMotionBlurEffect;
extern(C++) interface UberPostProcessEffect : DOFBloomMotionBlurEffect
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property ... | D |
instance Spell_Geyser(C_Spell_Proto)
{
time_per_mana = 0;
damage_per_level = SPL_DAMAGE_Geyser;
damagetype = DAM_MAGIC;
isMultiEffect = 1;
};
func int Spell_Logic_Geyser(var int manaInvested)
{
if(Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_COST_SCROLL6))
{
return SPL_SENDCAST;
}
el... | D |
/home/drees/sc101/sc101/target/debug/deps/libthiserror_impl-5c58c143934e417b.so: /home/drees/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/lib.rs /home/drees/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/ast.rs /home/drees/.cargo/registry/src/github.com-1ecc6299db... | D |
module UnrealScript.TribesGame.TrAccolade_CaptureAndHold;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrAccolade;
extern(C++) interface TrAccolade_CaptureAndHold : TrAccolade
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static... | D |
instance SLD_841_Engardo(Npc_Default)
{
name[0] = "Энгардо";
guild = GIL_BDT;
id = 841;
voice = 13;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,2);
fight_tactic = FAI_HUMAN_COWARD;
aivar[AIV_EnemyOverride] = TRUE;
EquipItem(self,ItMw_2h_Sld_Sword);
B_CreateAmbientInv(self);
B_SetNpcVis... | D |
a ceremonial procession including people marching
an extended (often showy) succession of persons or things
a visible display
walk ostentatiously
march in a procession
| D |
/**
libevent based driver
Copyright: © 2012-2014 RejectedSoftware e.K.
Authors: Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
*/
module vibe.core.drivers.libevent2;
version(VibeLibeventDriver)
{
import vibe.core.driver;
import vibe.core.drivers.libeve... | D |
/*
* stb_truetype - v0.6c - Public Domain
*
* authored from 2009-2012 by Sean Barrett / RAD Game Tools
*
*/
module imgui.stdb_truetype;
import core.stdc.stdlib;
import core.stdc.string;
import std.exception;
import std.math;
import imgui.engine;
import imgui.gl3_renderer;
package:
alias ubyte stbtt_uint8;
ali... | D |
var int Myxir_MT_ItemsGiven_Chapter_1;
var int Myxir_MT_ItemsGiven_Chapter_2;
var int Myxir_MT_ItemsGiven_Chapter_3;
var int Myxir_MT_ItemsGiven_Chapter_4;
var int Myxir_MT_ItemsGiven_Chapter_5;
var int Myxir_MT_ItemsGiven_Chapter_6;
FUNC VOID B_GiveTradeInv_Mod_Myxir_MT (var C_NPC slf)
{
if ((Kapitel >= 1)
&& (Myxi... | D |
/***********************************************************************\
* odbcinst.d *
* *
* Windows API header module *
* ... | D |
module apply_strings_runme;
import apply_strings.apply_strings;
const char[] TEST_MESSAGE = "A message from target language to the C++ world and back again.";
void main() {
if (UCharFunction(TEST_MESSAGE) != TEST_MESSAGE) throw new Exception("UCharFunction failed");
if (SCharFunction(TEST_MESSAGE) != TEST_MESSAG... | D |
module weka.KB;
public import weka.KB.TE;
| D |
module exampleplugin.client;
import voxelman.log;
import pluginlib;
class ExamplePluginClient : IPlugin
{
mixin IdAndSemverFrom!"exampleplugin.plugininfo";
override void registerResourceManagers(void delegate(IResourceManager) registerHandler)
{
infof("%s registerResourceManagers", id);
}
override void regist... | D |
/**
* Generate $(LINK2 https://dlang.org/dmd-windows.html#interface-files, D interface files).
*
* Also used to convert AST nodes to D code in general, e.g. for error messages or `printf` debugging.
*
* Copyright: Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 h... | 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 |
/* Imoen Romance 1 (in the second level of the labyrinth) */
CHAIN IF ~Global("B!GavImRomTalk","GLOBAL",2)~ THEN ~B!GavJ~ BGI1.0
@0
DO ~SetGlobal("B!GavImRomTalk","GLOBAL",3)~
== ~IMOEN2J~ @1
== ~B!GavJ~ @2
== ~IMOEN2J~ @3
EXIT
/* Imoen Romance 2 (in Brynllaw) */
CHAIN IF WEIGHT #-1 ~Global("B!GavImRomTalk",... | D |
//http://forum.dlang.org/thread/kfrcjmouzltfcycuctpe@forum.dlang.org#post-fzndryndbpkaccovqlkr:40forum.dlang.org
void main() {
import std.stdio, std.range, std.algorithm, std.typecons;
iota(2, 12)
.map!(c => tuple(c ^^ 2 - 1, c ^^ 2 + 1, 2 * c))
.each!(x => writefln("%3d%4d%4d", x[]));
}
| D |
/Users/eric/rust_project/rust-cookbook-code/basic-2-read-write-integers/target/release/deps/liblibc-2a73de8016118f52.rlib: /Users/eric/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.40/src/lib.rs /Users/eric/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.40/src/macros.rs /Users/eri... | D |
an eye disease that involves the clouding or opacification of the natural lens of the eye
a large waterfall
| D |
<?xml version="1.0" encoding="ASCII"?>
<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
<pageList>
<availablePage>
<emfPageIdentifier href="myModel.notation#_xv1SQIPnEeGw... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1994-1998 by Symantec
* Copyright (C) 2000-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
// written in the D programming language
import std.stdio;
import std.string;
import config;
import options;
import dispopts;
import diskpart;
import display;
import dilocale;
import diquota;
enum string FUSE_FS = "fuse";
void main (string[] args)
{
Options opts;
DisplayOpts dispOpts;
bool ha... | D |
/Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/RuleClosure.o : /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Eureka/Source/Validations/RuleURL.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Eureka/Source/Validations/RuleR... | D |
func void ZS_Babe_SitAround()
{
PrintDebugNpc(PD_TA_FRAME,"ZS_BabeSitAround");
AI_UnequipArmor(self);
B_SetBabeDefaultPerceptions();
AI_SetWalkMode(self,NPC_WALK);
if(!C_BodyStateContains(self,BS_SIT))
{
if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == 0)
{
AI_GotoWP(self,self.wp);
};
AI_UseMob(self,"... | 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_17_BeT-6244913... | D |
module d.semantic.sizeof;
import d.semantic.semantic;
import d.ir.symbol;
import d.ir.type;
// Conflict with Interface in object.di
alias Interface = d.ir.symbol.Interface;
struct SizeofVisitor {
private SemanticPass pass;
alias pass this;
this(SemanticPass pass) {
this.pass = pass;
}
uint visit(Type t) ... | D |
instance MIL_309_Stadtwache(Npc_Default)
{
name[0] = NAME_Stadtwache;
guild = GIL_MIL;
id = 309;
voice = 6;
flags = NPC_FLAG_IMMORTAL;
npcType = NPCTYPE_MAIN;
B_SetAttributesToChapter(self,6);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Mil_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,M... | D |
module org.serviio.upnp.service.contentdirectory.command.audio.ListAlbumsForArtistNameCommand;
import java.lang;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.serviio.library.entities.AccessGroup;
import org.serviio.library.entities.MusicAlbum;
import org.serviio.library.entitie... | D |
module dct;
import std.math;
import std.algorithm;
import math;
import des.ts;
ref const(T[N][N]) DCT_MATRIX(T, uint N)()
{
static T[N][N] instance;
static bool initialized = false;
auto C(uint k){ return (k == 0) ? 1.0/SQRT2: 1;}
if(!initialized)
{
foreach(x; 0..N)
{
foreach(k; 0..N)
{
instance... | D |
/home/daniel/Documents/documentos_U/SO/Progras/Rust-The-Future-Machine/cliente/ftpclient/target/debug/build/curl-sys-db0194b6db957a6d/build_script_build-db0194b6db957a6d: /home/daniel/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.4.42+curl-7.76.0/build.rs
/home/daniel/Documents/documentos_U/SO/Progras/Rus... | D |
/home/tt/workspace/AHC/001/tools/target/debug/build/libc-3b38402226df3ef4/build_script_build-3b38402226df3ef4: /home/tt/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.88/build.rs
/home/tt/workspace/AHC/001/tools/target/debug/build/libc-3b38402226df3ef4/build_script_build-3b38402226df3ef4.d: /home/tt/.cargo/r... | D |
///
module std.experimental.allocator.gc_allocator;
import std.experimental.allocator.common;
/**
D's built-in garbage-collected allocator.
*/
struct GCAllocator
{
import core.memory : GC;
import std.typecons : Ternary;
@system unittest { testAllocator!(() => GCAllocator.instance); }
/**
The alig... | D |
lscopy (4) --- copy linked string 01/03/83
_C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n
subroutine lscopy (ptr1, pos1, ptr2, pos2)
pointer ptr1, ptr2
integer pos1, pos2
Library: vlslb
... | D |
/**
* Authors: Antoshchenko Georgii
* Date: November 12, 2020
*/
module bubblesort;
import std.array;
import std.stdio;
/**
This function implements bubble sorting algorithm.
Params:
input_arr = array to sort
Returns: sorted array.
*/
void bubbleSort(T)(T[] input_arr)
{
T temp;
ulong L = input_arr.leng... | D |
instance DIA_MIL_309_STADTWACHE_EXIT(C_INFO)
{
npc = mil_309_stadtwache;
nr = 999;
condition = dia_mil_309_stadtwache_exit_condition;
information = dia_mil_309_stadtwache_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_mil_309_stadtwache_exit_condition()
{
return TRUE;
};
func void di... | D |
module reef.lua.attrib;
/// Specifies the type of method that the binding will deal with
enum MethodType : string
{
none = "none_method",
func = "function",
method = "method",
ctor = "ctor"
}
/// Specifies the kind of return value the binding will deal in
enum RetType : string
{
none = "none_rettype",
ligh... | D |
English novelist (born in Poland) noted for sea stories and for his narrative technique (1857-1924)
| D |
module common.containers.Map;
import common.all;
/**
* class Wrapper for the in-built associative array.
*/
class Map(K,V) {
protected:
alias This = Map!(K,V);
V[K] map;
public:
final:
int length() { return cast(int)map.length; }
bool isEmpty() { return length==0; }
K[] keys() { return map.keys... | D |
module dwebsite;
import std.stdio;
import std.string;
void main(string[] args) {
auto banner = "Hello world, oh look, a goat!";
banner ~= " ";
auto c = 0, s = 0, w = 5, l = 0;
if ( args.length > 1 ) {
banner = "";
foreach (arg; args[ 1 .. $ ] )
banner ~= arg ~ " ";
}
banner ~= banner[0 .. w - 1];
l = ban... | D |
/substrate-node-template/target/debug/deps/libref_cast_impl-6e2fa1a08fe705bf.so: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-impl-1.0.2/src/lib.rs
/substrate-node-template/target/debug/deps/ref_cast_impl-6e2fa1a08fe705bf.d: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-impl-1.0.2/sr... | D |
/*********************************
* Wache steht völlig korrekt auf ihrem WP
* und bewegt sich kein Stück!
*********************************/
func void ZS_GuardPalisade()
{
GuardPerception ();
PrintDebugNpc (PD_TA_FRAME, "ZS_GuardPalisade");
AI_StandUp (self);
AI_SetWalkmode (self, NPC_WALK); //... | D |
module concurency.task;
import concurency.threadpool;
import concurency.messagepassing;
import core.sync.condition;
import core.sync.mutex;
import allocation;
import std.traits;
__gshared IAllocator messageAllocator;
__gshared TaskThread*[] threads;
__gshared TaskThreadPool* taskpool;
//Thread local
private string... | D |
/Users/azimin/Downloads/Hello2/.build/debug/App.build/Droplet+Setup.swift.o : /Users/azimin/Downloads/Hello2/Sources/App/Config+Setup.swift /Users/azimin/Downloads/Hello2/Sources/App/Droplet+Setup.swift /Users/azimin/Downloads/Hello2/Sources/App/Controllers/PostController.swift /Users/azimin/Downloads/Hello2/Sources/Ap... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, core.bitop;
void main()
{
auto N = readln.chomp.to!int;
uint[] ss;
foreach (_; 0..N) {
uint s;
foreach (i, f; readln.split) if (f == "1") s |= (1<<i);
ss ~= s;
}
long[][] p... | D |
module Bwt;
import std.algorithm;
import std.array;
import std.conv;
import std.range;
import std.stdio;
import std.string;
class MoveToFrontDecoder
{
private:
long[] _encoded;
string[] _minValueSet;
public:
this(long[] encoded, string[] minValueSet)
{
_encoded = encoded;
_minValueSet = minValueSet;
... | D |
a motorboat resembling a motor scooter
child's two-wheeled vehicle operated by foot
a wheeled vehicle with small wheels and a low-powered gasoline engine geared to the rear wheel
a sailing vessel with runners and a cross-shaped frame
large black diving duck of northern parts of the northern hemisphere
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.