code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
instance DIA_Addon_HammerPirate_EXIT(C_Info)
{
npc = PIR_1360_Addon_PIRAT;
nr = 999;
condition = DIA_Addon_HammerPirate_EXIT_Condition;
information = DIA_Addon_HammerPirate_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_HammerPirate_EXIT_Condition()
{
return TRUE;
};
func void ... | D |
/home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/EventLoop/obj/TorqueDriver.o /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/EventLoop/obj/TorqueDriver.d : /home/shepj/xaod/ROOTAnalysisTutorial/EventLoop/Root/TorqueDriver.cxx /home/shepj/xaod/ROOTAnalysisTutorial/... | D |
/Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/HanekeSwift.build/Objects-normal/x86_64/Format.o : /Users/Fares/Documents/Projects/TransitApp/Pods/HanekeSwift/Haneke/Cache.swift /Users/Fares/Documents/Projects/TransitApp/Pods/HanekeSwift/Haneke/CGSize+Swift.swift /Users/Fares/Documents... | D |
for a limitless time
for a very long or seemingly endless time
without interruption
| D |
// REQUIRED_ARGS: -m64
/*
TEST_OUTPUT:
---
fail_compilation/iasm1.d(103): Error: bad type/size of operands `and`
fail_compilation/iasm1.d(104): Error: bad type/size of operands `and`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=15999
#line 100
void test100(ulong bar)
{
asm { and RAX, 0xFFFFFFFF00000000; re... | D |
module armos.graphics.bitmapfont;
import armos.graphics;;
import armos.math;
/++
BitmapFontを描画するclassです.
+/
class BitmapFont {
public{
/++
+/
this(){
_image = new armos.graphics.Image;
}
/++
fontのBitmap画像を読み込みます.
Params:
filen... | D |
module framework.implementation.gui.statedwindow;
private {
import framework.implementation.gui.window;
}
class StatedWindow : Window {
this( Window pParent,
Rectangle pRectangle,
char[] pText,
DWORD style,
DWORD exStyle ) {
super( pParent, pRect... | D |
/Users/mwaly/Downloads/EventsVIPER/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapshotTesting.build/Objects-normal/x86_64/NSView.o : /Users/mwaly/Downloads/EventsVIPER/Pods/SnapshotTesting/Sources/SnapshotTesting/Snapshotting/Data.swift /Users/mwaly/Downloads/EventsVIPER/Pods/SnapshotTesting/Sources/SnapshotT... | D |
/*
* Collie - An asynchronous event-driven network framework using Dlang development
*
* Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the Apache-2.0 License.
*
*/
module app;
import core.thread;
import std.datetime;
import std.stdio;
import... | D |
module game.attachedcam;
import base.all, game.gameobject;
class AttachedCamera : IGameObject {
private {
IGameObject m_Target;
SmartPtr!IRenderProxy m_RenderProxy;
vec3 m_Offset;
}
this(IGameObject target,vec3 offset){
m_Target = target;
m_RenderProxy = g_Env.renderer.CreateRenderProxy();
m_Offs... | D |
module grain.opencl.compiler;
import grain.cl.testing : checkCl;
import grain.cl.device;
import grain.cl.allocator;
import grain.dpp.cl;
@nogc
unittest
{
import core.stdc.stdio : fprintf, stderr;
// init device
cl_platform_id platform;
cl_device_id device;
checkCl!clGetPlatformIDs(1, &platform,... | D |
// Written in the D programming language
/*
Copyright (C) 2004-2011 Christopher E. Miller
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 documentatio... | D |
/* https://issues.dlang.org/show_bug.cgi?id=23097
TEST_OUTPUT:
---
fail_compilation/ice23097.d(12): Error: undefined identifier `ICE`
fail_compilation/ice23097.d(27): Error: template instance `ice23097.ice23097!(S23097)` error instantiating
fail_compilation/ice23097.d(27): Error: function `ice23097.ice23097!(S23097).ic... | D |
/**
* Global variables for PARSER
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1985-1998 by Symantec
* Copyright (C) 2000-2022 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalm... | D |
import vibe.d;
shared static this() {
auto settings = new HTTPServerSettings;
settings.port = 3002;
settings.options |= HTTPServerOption.distribute;
settings.bindAddresses = ["::1", "127.0.0.1"];
auto router = new URLRouter();
router.get("/:title", &title);
listenHTTP(settings, router);
logInfo("Ple... | D |
/Users/DanielChang/Documents/Vapor/Hello/.build/debug/FluentTester.build/Tester+PivotsAndRelations.swift.o : /Users/DanielChang/Documents/Vapor/Hello/Packages/Fluent-1.4.1/Sources/FluentTester/Atom.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Fluent-1.4.1/Sources/FluentTester/Compound.swift /Users/DanielChan... | D |
/**
Copyright: Copyright (c) 2016-2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.block.plugin;
import voxelman.graphics;
import voxelman.log;
import voxelman.math;
import std.array : array;
import cbor;
import pluginlib;
import voxelman.... | D |
module lib13774b;
import lib13774a;
void use2()
{
comdef();
}
| D |
/*
* Copyright (c) 2004-2009 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice... | D |
module menu.browser.replay;
/*
* This must be refactored: Even though we inherit
* from BrowserCalledFromMainMenu, we may not implement levelRecent() inout
* despite the base class's promise. Reason: _matcher requires mutability.
* For now, we have assert(false) in levelRecent() and thus violate OO.
* See comment... | D |
/**
* Functions for raising errors.
*
* 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.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.c... | D |
/// Simple source code splitter
/// Written by Vladimir Panteleev <vladimir@thecybershadow.net>
/// Released into the Public Domain
module splitter;
import std.ascii;
import std.algorithm;
import std.array;
import std.conv;
import std.file;
import std.functional;
import std.path;
import std.range;
import std.string;
... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag14818.d(34): Error: None of the overloads of 'func' are callable using argument types (string), candidates are:
fail_compilation/diag14818.d(12): diag14818.foo(int _param_0)
fail_compilation/diag14818.d(13): diag14818.bar(double _param_0)
fail_compilation/diag14818... | D |
module android.java.java.text.Normalizer_Form;
public import android.java.java.text.Normalizer_Form_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Normalizer_Form;
import import0 = android.java.java.text.Normalizer_Form;
import import2 = android.java.java.lang.Class;
| D |
a fastener for a door or lid
secure or lock with a hasp
| D |
/Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/PanModal.build/Objects-normal/x86_64/PanModalPresentable.o : /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/PanModal/PanModal/Presentable/PanModalPresentable.swift /Users/gem/Desktop/MovieMoya/... | D |
// { dg-additional-sources "imports/runnablea.d" }
// { dg-do run { target arm*-*-* i?86-*-* x86_64-*-* } }
module runnable;
import imports.runnablea;
import core.stdc.stdio;
import gcc.attribute;
/******************************************/
// Bug 2
struct S
{
string toString() { return "foo"; }
}
void test... | D |
/*
* Kiss - A refined core library for D programming language.
*
* Copyright (C) 2015-2018 Shanghai Putao Technology Co., Ltd
*
* Developer: HuntLabs.cn
*
* Licensed under the Apache-2.0 License.
*
*/
module kiss.event.socket.common;
import kiss.core;
import kiss.event.EventLoop;
import kiss.event.core;
im... | D |
module mockservice.mockaddress;
import std.range;
import vibe.d;
import mockservice.protocol;
package Specification[] route;
package HttpRequest[] history;
void resetRoute(string defaultRoute) {
auto spec = deserializeJson!Specification(defaultRoute);
if(route.empty)
route = [spec];
else
... | D |
PROTOTYPE Mst_Skeleton_Lord (C_NPC)
{
//----- Monster ----
name = "Schattenkrieger";
guild = GIL_SKELETON;
aivar[AIV_MM_REAL_ID] = ID_SKELETONLORD;
level = 60;
//----- Attribute ----
attribute [ATR_STRENGTH] = 105; //+ 105 Waffe
attribute [ATR_DEXTERITY] = 750;
attribute [ATR_HITPOINTS... | D |
module dlangui.platforms.common.startup;
import dlangui.core.config;
import dlangui.core.events;
import dlangui.widgets.styles;
import dlangui.graphics.fonts;
import dlangui.graphics.resources;
import dlangui.widgets.widget;
static if (BACKEND_GUI) {
import dlangui.graphics.ftfonts;
version (Windows) {
///... | 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 |
/*
Copyright (c) 2016-2021 Eugene Wissner
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... | D |
/Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/.build/debug/PerfectLogger.build/Perfect_Logger.swift.o : /Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/Packages/PerfectLogger-0.0.7/Sources/Perfect_Logger.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain... | D |
INSTANCE Info_Mod_Drache_Hi (C_INFO)
{
npc = Wasserdrache_11054_DT;
nr = 1;
condition = Info_Mod_Drache_Hi_Condition;
information = Info_Mod_Drache_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Drache_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Drache_Hi_Info()
{
AI_Output(self, hero, "In... | D |
/**
Dependency configuration/version resolution algorithm.
Copyright: © 2014 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 dub.dependencyresolver;
import dub.dependency;
import dub.internal.vibecompat.core.log;
... | D |
/+
Copyright (c) 2008 Tomasz Stachowiak
Based on flectioned.d written by Thomas Kühne, Copyright (C) 2006-2007
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
... | D |
/Users/ellen/Desktop/Dicee/build/Dicee.build/Debug-iphoneos/Dicee.build/Objects-normal/arm64/ViewController.o : /Users/ellen/Desktop/Dicee/Dicee/AppDelegate.swift /Users/ellen/Desktop/Dicee/Dicee/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/a... | D |
/* REQUIRED_ARGS: -main -de
* TEST_OUTPUT:
---
fail_compilation/test11006.d(10): Deprecation: cannot subtract pointers to different types: `void*` and `int*`.
fail_compilation/test11006.d(10): while evaluating: `static assert(2L == 2L)`
fail_compilation/test11006.d(11): Deprecation: cannot subtract pointers to ... | D |
/*
* This file generated automatically from xinerama.xml by d_client.py.
* Edit at your peril.
*/
/**
* @defgroup XCB_Xinerama_API XCB Xinerama API
* @brief Xinerama XCB Protocol Implementation.
* @{
**/
module xcb.xinerama;
import xcb.xcb;
import xcb.xproto;
extern (C):
enum int XCB_XINERAMA_MAJOR_VERSION ... | D |
/Users/MohamedNawar/Desktop/appointment/build/appointment.build/Debug-iphonesimulator/appointment.build/Objects-normal/x86_64/employeeTableViewCell.o : /Users/MohamedNawar/Desktop/appointment/appointment/ApplicationModules/MainWeatherView/View/AppointmentVC.swift /Users/MohamedNawar/Desktop/appointment/appointment/Exte... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto hwkv = readln.split.to!(long[]);
auto H = hwkv[0];
auto W = hwkv[1];
auto K = hwkv[2];
auto V = hwkv[3];
auto CS = new long[][](H, W);
foreach (i; 0..H) {
forea... | D |
/Users/thendral/POC/vapor/Friends/.build/debug/Leaf.build/Context.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Leaf-1.0.5/Sources/Leaf/Argument.swift /Users/thendral/POC/vapor/Friends/Packages/Leaf-1.0.5/Sources/Leaf/Byte+Leaf.swift /Users/thendral/POC/vapor/Friends/Packages/Leaf-1.0.5/Sources/Leaf/Constants.sw... | D |
/*
TEST_OUTPUT:
---
fail_compilation/ice13459.d(12): Error: undefined identifier 'B'
fail_compilation/ice13459.d(18): Error: none of the overloads of 'opSlice' are callable using argument types (int, int), candidates are:
fail_compilation/ice13459.d(11): ice13459.A.opSlice()
---
*/
struct A
{
auto opSlice() ... | D |
/Users/harry/Desktop/sportsUp/Build/Intermediates/sportsUp.build/Debug-iphoneos/sportsUp.build/Objects-normal/armv7/GetUserRequestModel.o : /Users/harry/Desktop/sportsUp/sportsUp/AppDelegate.swift /Users/harry/Desktop/sportsUp/sportsUp/models/EventDetailResponseModel.swift /Users/harry/Desktop/sportsUp/sportsUp/models/... | D |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/Metadata/TupleMetadata.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/Runtime/Sources/Runtime/Metadata/Metadata.swift /Users/sadikekinozbay/Documents/T... | D |
instance Mod_7735_BDT_Aslan_EIS (Npc_Default)
{
// ------ NSC ------
name = "Aslan";
guild = GIL_STRF;
id = 7735;
voice = 9;
flags = 0;
npctype = NPCTYPE_MAIN;
//--------Aivars-----------
// ------ Attribute ------
B_SetAttributesToChapter (self, 6);
// ------... | D |
module lorawan; | D |
/home/ubuntu/substrate-node-template/target/release/build/sc-consensus-slots-5b0212d1b001c6c2/build_script_build-5b0212d1b001c6c2: /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/sc-consensus-slots-0.8.0/build.rs
/home/ubuntu/substrate-node-template/target/release/build/sc-consensus-slots-5b0212d1b001c6c2... | 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 |
// Written in the D programming language.
/**
* MessagePack serializer and deserializer implementation.
*
* MessagePack is a binary-based serialization specification.
*
* Example:
* -----
* auto data = tuple("MessagePack!", [1, 2], true);
*
* auto serialized = pack(data);
*
* // ...
*
* typeof(data) deser... | D |
import std.stdio, std.traits, std.math, std.variant;
/// Returns a string with the error, or the three digits.
Algebraic!(string, char[3]) middleThreeDigits(T)(in T n)
if (isIntegral!T) {
// Awkward code to face abs(T.min) when T is signed.
ulong ln;
static if (isSigned!T) {
if (n >= 0) {
... | D |
/*
* Collie - An asynchronous event-driven network framework using Dlang development
*
* Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the Apache-2.0 License.
*
*/
module collie.socket.timer;
import core.memory;
import core.sys.posix.time;
i... | D |
/home/iot-dev/Documents/Rust_prac/stm32f3_ADC/ADC_Callibrate/target/debug/deps/bare_metal-b4a0b8f4968dadd0.rmeta: /home/iot-dev/.cargo/registry/src/github.com-1ecc6299db9ec823/bare-metal-0.2.5/src/lib.rs
/home/iot-dev/Documents/Rust_prac/stm32f3_ADC/ADC_Callibrate/target/debug/deps/libbare_metal-b4a0b8f4968dadd0.rlib:... | D |
/Users/sylvltx/bridge/rsbridge/target/debug/build/hashbrown-459b5bcc31a80274/build_script_build-459b5bcc31a80274: /Users/sylvltx/.cargo/registry/src/github.com-1ecc6299db9ec823/hashbrown-0.8.2/build.rs
/Users/sylvltx/bridge/rsbridge/target/debug/build/hashbrown-459b5bcc31a80274/build_script_build-459b5bcc31a80274.d: /... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIO.build/NonBlockingFileIO.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/NIO/NonBlo... | D |
module secured.kdf;
import std.typecons;
import std.format;
import deimos.openssl.evp;
import secured.openssl;
import secured.hash;
import secured.random;
import secured.util;
public struct KdfResult {
public ubyte[] salt;
public ubyte[] key;
}
@safe public KdfResult pbkdf2(string password, uint iterations... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Bits.build/Bytes+Percent.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/bits.git-9196587591774126515/S... | D |
import std.stdio;
import std.datetime: MonoTime;
import std.random;
import std.math;
import f1 = format_old;
import f2 = format_new;
void main(string[] args)
{
FloatingPointControl fpctrl;
auto r_tab = [FloatingPointControl.roundDown, FloatingPointControl.roundUp,
FloatingPointControl.round... | D |
module android.java.javax.xml.transform.stream.StreamResult;
public import android.java.javax.xml.transform.stream.StreamResult_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!StreamResult;
import import3 = android.java.java.lang.Class;
| D |
// ***************************************************
// B_RemoveQuarhodron
// ***************************************************
var int B_RemoveQuarhodron_OneTime;
var int B_RemoveRhademes_OneTime;
func int B_RemoveGhost ()
{
if (Ghost_SCKnowsHow2GetInAdanosTempel == TRUE)
{
if (SC_SummonedAncientGhost == TR... | D |
#!/usr/bin/env rdmd
import std.json;
import std.conv;
import std.traits;
JSONValue toJsonValue(T)(T a) {
JSONValue val;
static if(is(T == typeof(null))) {
val.type = JSON_TYPE.NULL;
} else static if(is(T == JSONValue)) {
val = a;
} else static if(isIntegral!(T)) {
v... | D |
module android.java.java.io.Flushable_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
final class Flushable : IJavaObject {
static immutable strin... | D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
module charge.game.gui.textbased;
import std.math : fmax;
import charge.util.signal;
import charge.math.color;
import charge.gfx.font;
import charge.gfx.draw;
import charge.gfx.texture;
public ... | D |
/Users/caijie/MLJRCode/Bowling/Example/build/Pods.build/Debug-iphonesimulator/BowlingTests.build/Objects-normal/x86_64/BowlingRequestTestCase.o : /Users/caijie/MLJRCode/Bowling/Example/Pods/Alamofire/Source/MultipartFormData.swift /Users/caijie/MLJRCode/Bowling/Example/Pods/Alamofire/Source/Timeline.swift /Users/caijie... | D |
/Users/mac/Desktop/what/enigma/secret_contracts/simple_addition/target/release/build/failure_derive-e6fc344b0001deb6/build_script_build-e6fc344b0001deb6: /Users/mac/.cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.6/build.rs
/Users/mac/Desktop/what/enigma/secret_contracts/simple_addition/target/relea... | D |
// EXCLUDE_GDC
static import openmethods;
import openmethods : method, mptr, virtual;
mixin(openmethods.registerMethods);
interface Animal {}
class Dog : Animal {}
class Pitbull : Dog {}
@mptr("hash")
private string kick(openmethods.virtual!Animal);
@method
private string _kick(Dog x)
{
return "bark";
}
@method... | D |
/Users/karunparuthi/rust/rocket-web/target/debug/deps/matches-b1ccdff8a19e251b.rmeta: /Users/karunparuthi/.cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.8/lib.rs
/Users/karunparuthi/rust/rocket-web/target/debug/deps/libmatches-b1ccdff8a19e251b.rlib: /Users/karunparuthi/.cargo/registry/src/github.com-1ecc6... | D |
/home/cheney/Desktop/IoT-Fan/fan_system/target/debug/build/failure_derive-b629a7c6f056685d/build_script_build-b629a7c6f056685d: /home/cheney/.cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.5/build.rs
/home/cheney/Desktop/IoT-Fan/fan_system/target/debug/build/failure_derive-b629a7c6f056685d/build_scr... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.math;
import std.regex;
void main() {
int count;
foreach(_; 0..12) {
auto S = readln.chomp;
if(S.contains('r')) {
count++;
}
}
writeln(count);
}
bool contains(string s, char c) {
if(indexOf(s, c) == -1) return false;
... | D |
/**
* Reference:
* https://github.com/antirez/linenoise
* http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
* http://www.3waylabs.com/nw/WWW/products/wizcon/vt220.html
**/
module vrepl.repl;
import std.stdio: write, writeln;
import std.conv: to;
import dutil.containers;
import std.process;
import vrepl.shel... | D |
/*
DIrrlicht - D Bindings for Irrlicht Engine
Copyright (C) 2014- Danyal Zia (catofdanyal@yahoo.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.
Permission is gra... | 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_23_BeT-7122262... | D |
/run/media/sacha/stocky/isousb/isousb/target/rls/debug/deps/scoped_threadpool-3483b62ace6b926e.rmeta: /home/sacha/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs
/run/media/sacha/stocky/isousb/isousb/target/rls/debug/deps/scoped_threadpool-3483b62ace6b926e.d: /home/sacha/.cargo/regis... | D |
/*
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,
execute, and transmit the Software, a... | D |
// Copyright Brian Schott (Sir Alaran) 2014.
// 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 analysis.fish;
import stdx.d.ast;
import stdx.d.lexer;
import analysis.base;
/**
* Chec... | D |
/Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/Fluent.build/Query/Group.swift.o : /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Dri... | D |
# FIXED
PROFILES/gattservapp_util.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/host/gattservapp_util.c
PROFILES/gattservapp_util.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/inc/bcomdef.h
PROFILES/gattservapp_util.obj: C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/... | D |
/**
* Copyright: Mike Wey 2011
* License: zlib (See accompanying LICENSE file)
* Authors: Mike Wey
*/
module dmagick.DrawingContext;
import std.algorithm;
import std.array;
import std.conv;
import std.file;
import std.string;
import dmagick.Color;
import dmagick.Exception;
import dmagick.Geometry;
import dma... | D |
INSTANCE Info_Mod_Everaldo_Hi (C_INFO)
{
npc = Mod_1530_WKR_Everaldo_NW;
nr = 1;
condition = Info_Mod_Everaldo_Hi_Condition;
information = Info_Mod_Everaldo_Hi_Info;
permanent = 0;
important = 0;
description = "Ich komme von Vanas.";
};
FUNC INT Info_Mod_Everaldo_Hi_Condition()
{
if (Mod_SLD_Engardo == 2)
{... | D |
module plugin;
import std.algorithm : any;
import std.ascii : isUpper;
import std.conv;
import std.process;
import std.string;
import std.file;
import std.regex;
import std.json;
import std.path;
import std.stdio;
import std.datetime;
import std.range;
import colorize;
import utils;
import rsrc;
import dplug.client.... | D |
module chipmunk.chipmunk;
import core.stdc.stdlib: exit;
import core.stdc.stdio: printf;
import chipmunk.cpBB;
import chipmunk.chipmunk_types;
import chipmunk.chipmunk_structs;
import chipmunk.chipmunk_private;
extern (C):
extern __gshared const(char)* cpVersionString;
void cpAssertHard(T)(T cond, string msg) {
... | D |
module dwt.internal.mozilla.nsIDOMStorage;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsStringAPI;
import dwt.internal.mozilla.nsIDOMStorageItem;
alias PRUint64 DOMTimeStamp;
const char[] NS_IDOMSTORAGE_IID_ST... | D |
module ruleslang.syntax.tokenizer;
import std.algorithm.searching : canFind;
import ruleslang.syntax.dchars;
import ruleslang.syntax.source;
import ruleslang.syntax.token;
public class Tokenizer {
private DCharReader chars;
private Token[] headTokens;
private uint position = 0;
private uint[] savedPo... | D |
///////////////////////////////////////////////////////////////////////
// Info EXIT
///////////////////////////////////////////////////////////////////////
INSTANCE DIA_Fellan_EXIT (C_INFO)
{
npc = VLK_480_Fellan;
nr = 999;
condition = DIA_Fellan_EXIT_Condition;
information = DIA_Fellan_EXIT_... | D |
/Users/mac/Desktop/诵诗/诵诗/DerivedData/诵诗/Build/Intermediates/诵诗.build/Debug-iphonesimulator/诵诗.build/Objects-normal/x86_64/ViewController.o : /Users/mac/Desktop/诵诗/诵诗/诵诗/explainViewController.swift /Users/mac/Desktop/诵诗/诵诗/诵诗/LevelsViewController.swift /Users/mac/Desktop/诵诗/诵诗/诵诗/singleViewController.swift /Users/mac/De... | D |
/+
+ Copyright (c) Charles Petzold, 1998.
+ Ported to the D Programming Language by Andrej Mitrovic, 2011.
+/
module Apollo11;
import core.memory;
import core.runtime;
import core.thread;
import std.conv;
import std.math;
import std.range;
import std.string;
import std.utf;
pragma(lib, "gdi32.lib");
import core.... | D |
// PERMUTE_ARGS: -unittest -O -release -inline -fPIC -g
extern(C) int printf(const char*, ...);
extern(C) int sprintf(char*, const char*, ...);
/**************************************/
void test1()
{
bool x;
int i;
i = !("bar" == "bar");
assert(i == 0);
i = "bar" != "bar";
assert(i ==... | D |
/***********************************************************************\
* custcntl.d *
* *
* Windows API header module *
* ... | 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 |
/Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ObserverType.o : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/RxSwift/RxSwift/Obser... | D |
# FIXED
HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj: C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/target/_common/hal_flash_wrapper.c
HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj: C:/ti/simplelink/ble_sdk_2_02_02_25/src/components/hal/src/inc/hal_board.h
HAL/Target/CC2650/Drivers/hal_flash_wrapper.... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Vapor.build/Routing/Router+Middleware.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/vapor/... | D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.build/HTTPPipelineSetup.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/swift-nio.git-3108475404973543938/Sources/NIOHTTP1/HTTPPipelineSetup.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkout... | D |
/Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/OctoKit.build/Repositories.swift.o : /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/File.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/octokit.swift/OctoKit/Time.swift /Users/an... | D |
// Copyright Michael D. Parker 2018.
// 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_33;
import bindbc.loader;
import bindbc.opengl.config,
bindbc... | D |
/**
Copyright: Copyright (c) 2016-2018 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module datadriven.storage;
import datadriven.api;
import voxelman.log;
import voxelman.container.buffer;
import voxelman.container.hash.map;
import voxelman.container.hash.... | D |
module ice.natinfo;
enum NATType
{
Uninit = -4, // not stuntest.
Blocked = -3,
SymmetricUDPFirewall = -2,
ChangedAddressError = -1, // error at stuntest on Changed IP and Port;
OpenInternet = 0,
FullCone = 1,
RestrictNAT = 2,
RestrictPortNAT = 3,... | D |
/Users/shawngong/Centa/.build/debug/Fluent.build/Query/Limit.swift.o : /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Database.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Database/Driver.swift /Users/shawngong/Centa/Packages/Fluent-1.4.0/Sources/Fluent/Entity/Entity.swift /Us... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.