code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2020 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 |
module day7.part1.main;
import std;
auto outputRange(alias fn)()
{
struct R
{
void put(Parameters!fn e)
{
fn(e);
}
}
return R();
}
void main()
{
auto memory = File("input", "r").readln.strip.splitter(",").map!(to!int).array;
maxThrusterSignal(memory).writ... | D |
instance DJG_710_Kjorn(Npc_Default)
{
name[0] = "تىٍَِ";
guild = GIL_DJG;
id = 710;
voice = 6;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_1h_Sld_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_N... | D |
module mach.text.json.parse;
private:
import mach.text.utf : utf8decode, UTFDecodeException;
import mach.math.floats : fcomposedec;
import mach.text.parse.numeric : WriteFloatSettings;
import mach.text.escape : StringUnescapeException;
import mach.text.json.escape;
import mach.text.json.exceptions;
import mach.text.j... | D |
/**
* Contains support code for code profiling.
*
* Copyright: Copyright Digital Mars 1995 - 2017.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Walter Bright, Sean Kelly, the LDC team
* Source... | D |
void main() {
auto ip = readAs!(int[]), A = ip[0], B = ip[1], C = ip[2], D = ip[3], E = ip[4];
max(A+D+E, B+C+E).writeln;
}
// ===================================
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.range;
import std.traits;
import std.math;
import std.container;
i... | D |
/home/felipe/Projetos/Rust/adder/target/debug/deps/libadder-a83402b769ab69a9.rlib: src/lib.rs
/home/felipe/Projetos/Rust/adder/target/debug/deps/adder-a83402b769ab69a9.d: src/lib.rs
src/lib.rs:
| D |
/Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Completable.o : /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift... | D |
CHAIN IF ~InParty("X3Vien")
InParty("C0Drake")
See("C0Drake")
!StateCheck("X3Vien",CD_STATE_NOTVALID)
!StateCheck("C0Drake",CD_STATE_NOTVALID)
Global("CrossDraVien","LOCALS",0)~ THEN X3VienB VienDrake1
~So I am to believe you are a human *noble*, as it were, Drake? I'm unconvinced.~
DO ~SetGlobal("CrossDraVien","LOCALS... | D |
module mach.text.utf;
private:
/++ Docs
This package implements encoding and decoding of UTF-8, UTF-16, and UTF-32
strings.
Of particular note are `utfencode`, which acquires a UTF-8 string from an
arbitrary UTF-encoded string input, and `utfdecode`, which acquires a decoded
UTF-32 string from an arbitrary UTF-enco... | D |
/**************************************************************
ТРЕНИРОВОЧНАЯ МИШЕНЬ
Можно атаковать чем угодно.
NS - 08/07/13
**************************************************************/
prototype NonNpc_Default_Target(C_NPC)
{
id = 0;
name[0] = "Мишень";
guild = GIL_PUBLIC;
flags = NPC_FLAG_IMMORTAL;... | D |
import std.algorithm, std.conv, std.range, std.stdio, std.string;
version(unittest) {} else
void main()
{
auto n = readln.chomp.to!size_t;
auto rd = readln.chomp.splitter;
auto ai = new int[](n);
foreach (i; n.iota) {
ai[i] = rd.front.to!int;
rd.popFront;
}
auto i = partition(ai, 0, n - 1);
fo... | D |
/**
* Serenity Web Framework Example Plugin
*
* views/HomeView.d: Hello world blog example
*
* Authors: Robert Clipsham <robert@octarineparrot.com>
* Copyright: Copyright (c) 2011, 2012, Robert Clipsham <robert@octarineparrot.com>
* License: New BSD License, see COPYING
*/
module example.views.HomeView;
// TO... | D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/debug/deps/rand_chacha-1b44ad96a226e36c.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_chacha-0.2.2/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand_chacha-0.2.2/src/chacha.... | D |
/*
Copyright (c) 2011-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, distribute,... | D |
/**
Module introduces various optical flow algorithms.
<big>Optical flow methods implemented so far:</big>
<ul>
<li>Horn-Schunck (Dense)</li>
<li>Lucas-Kanade (Sparse)</li>
<li>Pyramidal Flow Wrapper Utilities</li>
</ul>
Copyright: Copyright Relja Ljubobratovic 2016.
Authors: Relja Ljubobratovic
License: $(LINK3 ht... | D |
Petr Skoumal - Starej pán
https://www.youtube.com/watch?v=geTGDK5r46s
Orig: Eb - Kapo: 1
I:
E7 Gmi A7 D F#7 Ami6 H7 Emi
Gmi6 D H7 E7 Gmaj F#
Hmi F# Ami6 H7 Emi
... | D |
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab5/os/target/rls/debug/build/syn-337094d141f5674f/build_script_build-337094d141f5674f: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/syn-1.0.34/build.rs
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab5/os/target/rls/debug/build/syn-... | D |
// Compiler implementation of the D programming language
// Copyright (c) 1999-2015 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
module ddmd.traits;
import core.std... | D |
a textile machine for weaving yarn into a textile
come into view indistinctly, often threateningly
appear very large or occupy a commanding position
hang over, as of something threatening, dark, or menacing
weave on a loom
| D |
/* TEST_OUTPUT:
---
fail_compilation/test17451.d(22): Error: undefined identifier `allocator`
fail_compilation/test17451.d(23): Error: `false` has no effect
fail_compilation/test17451.d(30): Error: variable test17451.HashMap!(ThreadSlot).HashMap.__lambda2.v size of type ThreadSlot is invalid
fail_compilation/test17451.... | D |
<!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/print_pagelayout.tpl (design:print_pagelayout.tpl) -->
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.... | D |
AGviwjfF234
1095794587 4212 1948 1095790357 1 0 0 0 0 0
0 0 8 34 1 1
bob.some-new-talker.com
is a bot.
wanders into the room.
leaves the room
bot@moenuts.com
http://www.moenuts.com
0 0 0 0 0 0 0 0 0 0 0 0
~CBB~CTo~CWb
Bot
Bot_Closet
Welcome To My Room!
Island
07/10/200
Single
| D |
module graphics.bezier.curve;
import guip.point;
import graphics.math.clamp, graphics.math.poly;
import std.algorithm;
void bezToPoly(T)(ref T[2] line)
{
immutable c0 = -line[0] + line[1];
immutable c1 = line[0];
line[0] = c0;
line[1] = c1;
}
void bezToPoly(T)(ref T[3] quad)
{
immutable c0 = quad... | D |
module android.java.android.hardware.camera2.CameraCaptureSession_CaptureCallback;
public import android.java.android.hardware.camera2.CameraCaptureSession_CaptureCallback_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!CameraCaptureSession_CaptureCallback;
import import6 = android.java.java.l... | D |
a small book usually having a paper cover
a brief treatise on a subject of interest
| D |
/*
Copyright (c) 2011-2021 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 |
/+
+ Copyright (c) Charles Petzold, 1998.
+ Ported to the D Programming Language by Andrej Mitrovic, 2011.
+/
module PopPad;
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");
pragma(lib, "co... | D |
/home/kanggege/files/blog/编程语言/rust/demo/target/debug/deps/librand-5d6695b6b6a43351.rlib: /home/kanggege/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand-0.4.6/src/lib.rs /home/kanggege/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rand-0.4.6/src/distributions/mod.rs /home/kanggege/.cargo/regist... | D |
/Users/MohamedNawar/Desktop/Marvel/build/Marvel.build/Debug-iphonesimulator/Marvel.build/Objects-normal/x86_64/MVBaseMapper.o : /Users/MohamedNawar/Desktop/Marvel/Marvel/API/API.swift /Users/MohamedNawar/Desktop/Marvel/Marvel/Model/Comic.swift /Users/MohamedNawar/Desktop/Marvel/Marvel/Model/Resource.swift /Users/Mohame... | D |
/**
* Contains the garbage collector configuration.
*
* Copyright: Copyright Digital Mars 2016
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
*/
module core.gc.config;
import core.stdc.stdio;
import core.internal.parseoptions;
__gshared Config config;
struct Config
{
bool disable; ... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail131.d(8): Error: function `D main` parameter list must be empty or accept one parameter of type `string[]`
---
*/
int main(lazy char[][] args)
{
return args.length;
}
| D |
import std.c.stdio;
int main() {
int x;
while (scanf("%d", &x) && x!=42) printf ("%d\n", x);
return 0;
}
| D |
/**
* Identify the characteristics of the host CPU, providing information
* about cache sizes and assembly optimisation hints. This module is
* provided primarily for assembly language programmers.
*
* References:
* Some of this information was extremely difficult to track down. Some of the
* documents below wer... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail10968.d(43): Error: `pure` function `fail10968.bar` cannot call impure function `fail10968.SA.__postblit`
fail_compilation/fail10968.d(43): Error: `@safe` function `fail10968.bar` cannot call `@system` function `fail10968.SA.__postblit`
fail_compilation/fail10968.d(31): `... | D |
/Users/apple/DailySchedule/step2/os/target/rls/debug/deps/spin-c3c92bacc4867dcb.rmeta: /Users/apple/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/lib.rs /Users/apple/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/spin-0.5.2/src/mutex.rs /Users/apple/.cargo/registry/src/mirrors.ustc.e... | D |
// This is the stubbed out runtime for D.
// It is magical and full of nondescriptive mystical creatures.
module kernel.core.dstubs;
// some utility functions and routines for the runtime
import kernel.runtime.util;
// for printing out runtime errors
import kernel.core.kprintf;
// magical gcc business (BEWARE THE ... | D |
/***********************************\
AI_Function
\***********************************/
//========================================
// [intern] Alias zu AI_Function
//========================================
func void _AI_Function(var c_npc slf, var string fnc) {
AI_PlayAni(slf, ConcatStrings("CALL ", ... | D |
move backward in an orbit, of celestial bodies
move in a direction contrary to the usual one
move back
go back over
get worse or fall back to a previous condition
moving from east to west on the celestial sphere
of amnesia
going from better to worse
moving or directed or tending in a backward direction or contrary to a... | D |
// URL: https://yukicoder.me/problems/no/757
import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string;
version(unittest) {} else
void main()
{
int B; io.getV(B);
string s; io.getV(s);
if (s == "1") io.put!"{exit: true}"(1);
auto D = GmpInt(s, B)-1;
auto len(int x)
{... | D |
/**
This module contains some helper functions for the blitter modules.
Copyright: Chris Jones
License: Boost Software License, Version 1.0
Authors: Chris Jones
*/
module dg2d.blitex;
import dg2d.misc;
import dg2d.rasterizer;
private:
enum __m128i XMZERO = [0,0,0,0];
enum __m128i XMFFFF = [0xFFFF,0xFFFF,0x... | D |
// Copyright 2019 Jon Andrew
import std.algorithm;
import std.array;
import std.ascii;
import std.datetime.stopwatch;
import std.file;
import std.getopt;
import std.path;
import std.regex;
import std.stdio;
import arsd.dom;
import arsd.characterencodings;
//Combines KML (Google Keyhole Markup Language) files with Pla... | D |
/**
* Copyright 2016 Stefan Brus
*/
module inid;
public import inid.parser;
| D |
/**
* Generic tagged union and algebraic data type implementations.
*
* Copyright: Copyright 2015-2019, Sönke Ludwig.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Sönke Ludwig
*/
module taggedalgebraic.taggedunion;
// scheduled for deprecation
static import taggedalgebraic.vi... | D |
// URL: https://yukicoder.me/problems/no/725
import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string;
import std.regex;
version(unittest) {} else
void main()
{
string S; io.getV(S);
io.put(S.replaceAll(regex(r"treeone"), "forest"));
}
auto io = IO!()();
import lib.io;
| D |
/home/artem/Desktop/Centennial/telemetry/Centennial-BT/target/debug/build/libc-2fb9214a282f85f0/build_script_build-2fb9214a282f85f0: /home/artem/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.71/build.rs
/home/artem/Desktop/Centennial/telemetry/Centennial-BT/target/debug/build/libc-2fb9214a282f85f0/build_scr... | D |
an insignificant sum of money
underground pod of the peanut vine
widely cultivated American plant cultivated in tropical and warm regions
a young child who is small for his age
pod of the peanut vine containing usually 2 nuts or seeds
| D |
// REQUIRED_ARGS:
// DISABLED: win64
version (D_SIMD)
{
import core.simd;
import core.stdc.string;
import std.stdio;
alias TypeTuple(T...) = T;
/*****************************************/
void test1()
{
void16 v1 = void,v2 = void;
byte16 b;
v2 = b;
v1 = v2;
static assert(!__traits(compiles, v1 ... | D |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | D |
import vibe.d;
import std.stdio;
shared static this()
{
FileStream fs = openFile("./hello.txt", FileMode.createTrunc);
import std.datetime;
StopWatch sw;
sw.start();
bool finished;
auto task = runTask({
void print(ulong pos, size_t sz) {
auto off = fs.tell();
fs.seek(pos);
ubyte[] dst = new ubyte[sz];
... | D |
instance VLK_4143_HaupttorWache(Npc_Default)
{
name[0] = "Strážce hlavní brány";
guild = GIL_VLK;
id = 4143;
voice = 13;
flags = 0;
npcType = npctype_main;
aivar[AIV_MM_RestEnd] = TRUE;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Vlk_Sword);
B_CreateAmbientInv(s... | D |
/**
MongoDatabase class representing common database for group of collections.
Technically it is very special collection with common query functions
disabled and some service commands provided.
Copyright: © 2012-2014 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the includ... | D |
func void ZS_Meditate()
{
PrintDebugNpc(PD_TA_FRAME,"ZS_Meditate");
B_SetPerception(self);
AI_SetWalkMode(self,NPC_WALK);
if(!Npc_IsOnFP(self,"MEDITATE"))
{
AI_GotoWP(self,self.wp);
};
if(Wld_IsFPAvailable(self,"MEDITATE"))
{
AI_GotoFP(self,"MEDITATE");
AI_AlignToFP(self);
};
Wld_DetectNpc(self,-1,ZS_T... | D |
/Users/sergiysobol/Projects/MovieDatabase/build/MovieDatabase.build/Debug-iphonesimulator/MovieDatabase.build/Objects-normal/x86_64/MovieListView.o : /Users/sergiysobol/Projects/MovieDatabase/MovieDatabase/Scenes/MovieDetails/MovieDetailsVC.swift /Users/sergiysobol/Projects/MovieDatabase/MovieDatabase/Scenes/MovieList/... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Validation.build/Validatable.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/panartem/Developer/Study/Microservices-vapor/TIL... | D |
module emerald.scenes.CornellBox;
import emerald.all;
final class CornellBox : Scene {
private:
public:
this(uint width, uint height) {
super(new Camera(
float3(50,52,295.6), // origin
float3(0,-0.042612, -1), // direction
width,
height
));... | D |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the ActiveQt framework of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the t... | D |
module UnrealScript.TribesGame.TrAttachment_LaserTargeter;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrDeviceAttachment;
extern(C++) interface TrAttachment_LaserTargeter : TrDeviceAttachment
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@pro... | D |
INSTANCE Info_Mod_Salmey_Hi (C_INFO)
{
npc = Mod_7726_OUT_Salmey_REL;
nr = 1;
condition = Info_Mod_Salmey_Hi_Condition;
information = Info_Mod_Salmey_Hi_Info;
permanent = 0;
important = 0;
description = "Was gibt es denn hier für Bier?";
};
FUNC INT Info_Mod_Salmey_Hi_Condition()
{
return 1;
};
FUNC VOID In... | D |
import std.stdio;
import std.conv;
import std.string;
import core.memory;
import bindbc.opengl;
import bindbc.glfw;
import arc.core;
import arc.engine;
import arc.input;
import arc.math;
import arc.gfx.shader;
import arc.gfx.shader_program;
import arc.gfx.buffers;
import arc.gfx.mesh;
public class MyGame : IApp
{
... | D |
/Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Leaf.build/Node+Rendered.swift.o : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Leaf-1.0... | D |
module UnrealScript.Engine.UIRoot;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.OnlineSubsystem;
import UnrealScript.Engine.LocalPlayer;
import UnrealScript.Core.UObject;
import UnrealScript.Engine.Surface;
import UnrealScript.Engine.GameUISceneClient;
import UnrealScript.Engi... | D |
module hunt.util.ConverterUtils;
import hunt.Exceptions;
import hunt.util.Appendable;
import hunt.util.StringBuilder;
import hunt.util.Traits;
import std.conv;
import std.format;
import std.string;
import std.typecons;
import std.ascii;
/**
*
*/
struct ConverterUtils {
/**
* @param c An ASCII encoded ch... | D |
module dgl.platform.glx_functionptrs;
public {
import dgl.common;
import dgl.loadercommon;
}
private {
import sys.x11.xutil;
version( D_Version2 ) {
import std.traits : ParameterTypeTuple;
template ParameterTupleOf(alias dg) {
alias ParameterTypeTuple!(dg) ParameterTupleOf;
}
} else {
import tango.cor... | D |
/Users/vberry/Prog/SwiftProg/Xcode\ Projects/SwiftUI/TP1_SwiftUI_three_screens/DerivedData/Build/Intermediates.noindex/TP1_SwiftUI_three_screens.build/Debug-iphonesimulator/TP1_SwiftUI_three_screens.build/Objects-normal/x86_64/ContentView.o : /Users/vberry/Prog/SwiftProg/Xcode\ Projects/SwiftUI/TP1_SwiftUI_three_screen... | D |
/Users/robreuss/Documents/Development/VirtualGameController/Samples/Central_iOS/build/Central_iOS.build/Debug-iphoneos/vgcCentral_iOS.build/Objects-normal/arm64/ViewController.o : /Users/robreuss/Documents/Development/VirtualGameController/Source/External/VgcCustomMappings.swift /Users/robreuss/Documents/Development/Vi... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto N = readln.chomp.to!int;
auto AS = readln.split.to!(long[]);
auto BS = readln.split.to!(long[]);
long r;
foreach (i; 0..N) {
if (BS[i] <= AS[i]) {
r += BS[i... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/HTTP.build/Message/HTTPRequest.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/http/Sources/HTTP/Utilities/RFC1123.swift /Users/panartem/Developer/Study/Microservices-vapor/T... | D |
main2.d main2.p1: C:/Users/ACER/Downloads/LCD-Interfacing/LCDInterfacing/lcd.X/main2.c C:/Users/ACER/Downloads/LCD-Interfacing/LCDInterfacing/lcd.X/lcd.h | D |
/*
* Copyright (C) 2003-2004 by Digital Mars, www.digitalmars.com
* Written by Matthew Wilson and Walter Bright
*
* Incorporating idea (for execvpe() on Linux) from Russ Lewis
*
* Updated: 21st August 2004
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will... | D |
/media/madhav/TOSHIBA EXT/Project_work/rust_playground/wasm_test/target/rls/debug/deps/libwasm_bindgen_macro-cb7457b3c7b33c45.so: /home/madhav/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-macro-0.2.75/src/lib.rs
/media/madhav/TOSHIBA EXT/Project_work/rust_playground/wasm_test/target/rls/debug/deps/wasm... | D |
import std.stdio;
int[30] food;
void main(){
int n, x;
while (readf("%d %d\n", &n, &x), n|x) {
foreach (i; 0..n) readf("%d\n", &food[i]);
writeln(n);
writeln(x);
writeln(food);
}
}
| D |
/*******************************************************************************
* Copyright (c) 2007, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, a... | D |
module travian.client;
import travian.village;
import travian.network;
import std.stdio;
import std.conv;
import std.typecons;
import std.string;
import std.algorithm;
class Travian
{
// TODO: account info common to all villages saved to file
//Tribe tribe;
Networking network;
Village[] villages;
Village *vil... | D |
/Users/fuji1153/Desktop/ios\ application/WebViewLocalExample/Build/Intermediates/WebViewLocalExample.build/Debug-iphonesimulator/WebViewLocalExample.build/Objects-normal/x86_64/AppDelegate.o : /Users/fuji1153/Desktop/ios\ application/WebViewLocalExample/WebViewLocalExample/AppDelegate.swift /Users/fuji1153/Desktop/ios\... | D |
instance NOV_1320_Novize_CALLSLEEPER(C_Info)
{
npc = NOV_1320_Novize;
condition = NOV_1320_Novize_CALLSLEEPER_Condition;
information = NOV_1320_Novize_CALLSLEEPER_Info;
important = 1;
permanent = 0;
};
func int NOV_1320_Novize_CALLSLEEPER_Condition()
{
var C_Npc Novize;
var C_Npc Kalom;
Novize = Hlp_GetNpc(NOV... | D |
/* Compiler implementation of the D programming language
* Copyright (c) 1999-2014 by Digital Mars
* All Rights Reserved
* http://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* http://www.boost.org/LICENSE_1_0.txt
* https://github.com/D-Programming-Language/dmd/blob/master/src/... | D |
/*
Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
Copyright (C) 2009 Robert Hogan <robert@roberthogan.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees... | D |
module lsh.readline.util;
enum AnsiState
{
Norm,
Esc,
Csi,
Osc,
}
R[] removeCodes(R : char)(R[] input)
{
import std.algorithm : canFind;
import std.array : appender;
if (input.canFind("\x1B"))
{
auto clean = appender!(R[])();
AnsiState s = AnsiState.Norm;
forea... | D |
// DFLAGS:
// PERMUTE_ARGS:
// POST_SCRIPT: compilable/extra-files/minimal/verify_symbols.sh
// REQUIRED_ARGS: -c -defaultlib= runnable/extra-files/minimal/object.d
// This test ensures an empty main with a struct, built with a minimal runtime,
// does not generate ModuleInfo or exception handling code, and does not
/... | D |
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | 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 |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
273 54 4 0 46 48 -33.5 151.300003 1769 6 6 0.703125 intrusives, basalt
264.399994 75 15.6000004 0 2 65 -8.80000019 126.699997 1206 10.3999996 18 0.444444444 extrusives, intrusives
320 63 9 15.5 34 65 -38 145.5 1854 16 16 0.931 extrusives
314 70 ... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
336.046159 65.0349829 4.69999981 999.900024 5 35 -36.0999985 149.100006 1153 4.79742368 14.0943688 0.895431109 sediments, weathered volcanics
321.410765 69.5668255 1.89999998 472.299988 8 23 -33.5999985 150.600006 1154 1.8227902 4.58586272 0.982... | D |
/++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Copyright (c) 2010 by Álvaro Castro-Castilla, All Rights Reserved.
+ Licensed under the MIT/X11 license, see LICENSE file for full description
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/
module cyma... | D |
module io.vfs.VirtualFolder;
private import io.model;
private import io.vfs.model;
class ВиртуальнаяПапка : ХостВфс
{
private ткст name_;
private ФайлВфс[ткст] файлы;
private ПапкаВфс[ткст] грузы;
private ЗаписьПапкиВфс[ткст] папки;
private ВиртуальнаяПа... | D |
/Users/ellen/Desktop/Dicee/build/Dicee.build/Debug-iphoneos/Dicee.build/Objects-normal/arm64/AppDelegate.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/arm6... | D |
/******************************************************************************
Table of request handlers by command.
Copyright:
Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
****************... | D |
/*
REQUIRED_ARGS: -o-
EXTRA_FILES: imports/fail17646.d
TEST_OUTPUT:
---
fail_compilation/imports/fail17646.d(10): Error: found `}` instead of statement
fail_compilation/fail17646.d(11): Error: function `fail17646.runTests!"".runTests` has no `return` statement, but is expected to return a value of type `int`
fail_compi... | D |
instance DIA_NOV_3_EXIT(C_INFO)
{
nr = 999;
condition = dia_nov_3_exit_condition;
information = dia_nov_3_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_nov_3_exit_condition()
{
return TRUE;
};
func void dia_nov_3_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_NOV_3_FEGEN... | D |
/*
* This file generated automatically from dri2.xml by c-client.xsl using XSLT.
* Edit at your peril.
*/
/**
* @defgroup XCB_DRI2_API XCB DRI2 API
* @brief DRI2 XCB Protocol Implementation.
* @{
**/
module xcb.dri2;
import xcb.xcb;
import xcb.xproto;
const int XCB_DRI2_MAJOR_VERSION =1;
const int XCB_DRI2_... | D |
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Fluent.build/Query/Sort.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Fluent-1.0.7/Sources/Fluent/Database/Database.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/Sto... | D |
// Copyright 2019 - 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.lua.v54;
version(LUA_54):
public import bindbc.lua.v54.types;
version(BindBC_Stat... | D |
/**
* Copyright (C) 2018 Vladimir Panteleev
*
* 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 |
module android.java.android.widget.CursorTreeAdapter;
public import android.java.android.widget.CursorTreeAdapter_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!CursorTreeAdapter;
import import2 = android.java.android.view.View;
import import6 = android.java.android.widget.FilterQueryProvider... | D |
/Users/hazuki/Desktop/13/la/lifeistech/Gram/DerivedData/Gram/Build/Intermediates.noindex/Gram.build/Debug-iphonesimulator/Gram.build/Objects-normal/x86_64/AppDelegate.o : /Users/hazuki/Desktop/13/la/lifeistech/Gram/Gram/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Gram/Gram/AppDelegate.swift /Users/hazuki... | D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.build/Data/URLEncodedFormDataConvertible.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/url-encoded-form.git--8133570518800567758/Sources/URLEncodedForm/Data/URLEncodedFormData.swift /Users/user/Docu... | 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 |
module gtsrb;
import std.algorithm;
import std.array;
import std.conv;
import std.csv;
import std.datetime;
import std.file;
import std.path;
import std.range;
import std.stdio;
import std.string;
import ae.utils.graphics.image;
import ae.utils.graphics.draw;
import ae.utils.graphics.color;
import image.io;
import ... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.