code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
import std.stdio;
import std.format;
import std.algorithm;
const fileName = "day2.txt";
void main() {
auto file = File(fileName);
writefln("paper needed: %d", file.byLine()
.map!readSize
.map!getPaper
... | D |
/Users/natasilva/repositories/algoritmos/atividade-7/target/rls/debug/deps/atividade_7-1ab8ca7b33c13fb3.rmeta: src/main.rs
/Users/natasilva/repositories/algoritmos/atividade-7/target/rls/debug/deps/atividade_7-1ab8ca7b33c13fb3.d: src/main.rs
src/main.rs:
| D |
E: c70, c11, c83, c6, c73, c52, c16, c58, c44, c87, c90, c14, c66, c50, c82, c98, c28, c27, c3, c33, c88, c24, c79, c64, c59, c57, c96, c7, c15, c92, c38, c25, c39, c1, c78, c84, c72, c42, c48, c35, c23, c71, c18, c77, c85, c51, c26, c68, c95, c99, c31, c61, c55, c97, c75, c86.
p0(E,E)
c70,c11
c66,c88
c7,c15
c1,c25
c7... | D |
/Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/Build/Intermediates/WanAndroid_IOS.build/Debug-iphonesimulator/WanAndroid_IOS.build/Objects-normal/x86_64/UIAlertExtension.o : /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/WanAndroid_IOS/tabVC/HotTabVC.swift /Users/GuoYanjun/Desktop/TestDemo/WanAndroid_IOS/WanAndroid... | D |
/++
$(LUCKY Regular expressions) are a commonly used method of pattern matching
on strings, with $(I regex) being a catchy word for a pattern in this domain
specific language. Typical problems usually solved by regular expressions
include validation of user input and the ubiquitous find $(AMP) replace
in text... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 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 source.swar.bin;
/**
* Check we have enough digits in front of us to use SWAR.
*/
bool startsWith8BinDigits(string s, ref ulong state) {
import source.swar.util;
auto v = read!ulong(s);
// If the input is valid, make it all '1's.
state = v | 0x0101010101010101;
return state == 0x3131313131313131;
}
boo... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/FluentTester.build/Tester.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/fluent.git-6251908308727715749/Sources/FluentTester/Tester+Schema.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/fluent.git-6251908... | D |
module armos.utils.gui.widgets.label;
import armos.utils.gui.widgets.widget;
/++
文字列を表示するWidgetを継承したclassです.
+/
class Label : Widget{
public{
/++
表示する文字列を指定して初期化を行います.
+/
this(string str){
_str = str;
_height = 16;
};
/++
+/
... | D |
// Copyright Steve Teale 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)
// Written in the D programming language
module rgradient;
import mainwin;
import constants;
import acomp;
im... | 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 |
module android.java.android.app.TabActivity;
public import android.java.android.app.TabActivity_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!TabActivity;
import import6 = android.java.android.view.WindowManager;
import import5 = android.java.android.app.Application;
import import46 = androi... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/JSON/JSON.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/che... | D |
module android.java.android.renderscript.ScriptGroup_Builder2;
public import android.java.android.renderscript.ScriptGroup_Builder2_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ScriptGroup_Builder2;
import import1 = android.java.android.renderscript.ScriptGroup_Input;
import import2 = andro... | D |
// Author: Ivan Kazmenko (gassa@mail.ru)
import std.algorithm;
import std.conv;
import std.math;
import std.numeric;
import std.range;
import std.stdio;
import std.string;
import std.typecons;
void main ()
{
auto tests = readln.strip.to !(int);
foreach (test; 0..tests)
{
auto n = readln.strip.to !(int);
int [] ... | D |
instance PAL_252_Parcival(Npc_Default)
{
name[0] = "Парсиваль";
guild = GIL_PAL;
id = 252;
voice = 13;
flags = 0;
npcType = NPCTYPE_OCMAIN;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_1h_Pal_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Pony"... | D |
//Written in the D programming language
/*
* MySQL database connection tool
*
* Copyright 2009-2013 Jaypha
*
* Distributed under the Boost Software License, Version 1.0.
* (See http://www.boost.org/LICENSE_1_0.txt)
*
* Authors: Jason den Dulk
*/
module jaypha.dbsql.mysql.database;
import jaypha.dbsql.mysql.c... | D |
/*
Copyright © 2020, Luna Nielsen
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module engine.vn.script.instr;
import engine.vn.script;
import engine;
/**
Instruction that shows a character
*/
class CGInstr : IScriptInstr {
public:
string cgfile;
... | D |
//Written in the D programming language
/++
Module containing Date/Time functionality.
This module provides:
$(UL
$(LI Types to represent points in time: $(D SysTime), $(D Date),
$(D TimeOfDay), and $(D DateTime).)
$(LI Types to represent intervals of time.)
$(LI Types... | D |
/Users/macosx/Desktop/IOS-OBJ/ViberDemo/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/DateTransform.o : /Users/macosx/Desktop/IOS-OBJ/ViberDemo/Pods/ObjectMapper/Sources/FromJSON.swift /Users/macosx/Desktop/IOS-OBJ/ViberDemo/Pods/ObjectMapper/Sources/ToJSON.swift /Users/macosx/Desktop/... | D |
/*
Файл: LinkSeq.d
Originally записано by Doug Lea и released преобр_в the public домен.
Thanks for the assistance и support of Sun Microsystems Labs, Agorics
Inc, Loral, и everyone contributing, testing, и using this код.
History:
Дата Who What
2Oct95 dl@cs.oswego.edu repack ... | D |
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* gtkD is distributed in th... | D |
module UnrealScript.GFxUI.GFxAction_OpenMovie;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.TextureRenderTarget2D;
import UnrealScript.GFxUI.GFxMoviePlayer;
import UnrealScript.Engine.SequenceAction;
import UnrealScript.GFxUI.SwfMovie;
extern(C++) interface GFxAction_OpenMovi... | D |
//import std.stdio;
import gio.Application : GioApplication = Application;
import gtk.Application;
import designVisTool.mainWindow;
int main(string[] args)
{
auto application = new Application("org.design.tools.vistool", GApplicationFlags.FLAGS_NONE);
application.addOnActivate(delegate void(GioApplication app... | D |
/*******************************************************************************
* Copyright (c) 2000, 2005 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 |
instance BDT_10022_Addon_Miguel(Npc_Default)
{
name[0] = "Мигель";
guild = GIL_BDT;
id = 10022;
voice = 11;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,ItMw_Nagelknueppel);
B_CreateAmbientInv(self);
CreateInvItems(self,ItPo_Health_01,2... | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_lmat.d)
*/
module core.sys.windows.lmat;
version (Windows):
@system:
pragma(lib, "netapi32");
import core.sys.wind... | D |
/Users/yq/Project/Swift/SwiftGroup/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/UILayoutSupport+Extensions.o : /Users/yq/Project/Swift/SwiftGroup/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/yq/Project/Swift/SwiftGroup/Pods/SnapKit/Source/ConstraintDSL.sw... | D |
module external.core.condition;
import core.sync.mutex;
import core.time;
class Condition
{
this(Mutex m, size_t capacity = 0) nothrow
{
assert(false, "Not implemented");
}
this(shared Mutex m, size_t capacity = 0) shared nothrow
{
assert(false, "Not implemented");
}
void... | D |
module examples.arsd;
import std.datetime : Clock;
import arsd.simpledisplay;
import arsd.nanovega;
import nanogui.arsdbackend : ArsdBackend;
class MyGui : ArsdBackend
{
this(int w, int h, string title)
{
super(w, h, title);
}
override void onVisibleForTheFirstTime()
{
import nanogui.screen : Screen;
imp... | D |
//////////////////////////////////////////////////////////////////////////
// ZS_HealSelf
// =======
// Wird angesprungen durch
//
// - ZS_Attack
// - ZS_Flee
// - ZS_Unconscious
// - ZS_AssessBody
//
// Folgende Voraussetzungen müssen erfüllt sein:
//
// - (keine)
//
// Macht folgendes:
// 1. Heilt den NSC vollständig... | D |
instance DIA_GORNOW_EXIT(C_INFO)
{
npc = pc_fighter_ow;
nr = 999;
condition = dia_gornow_exit_condition;
information = dia_gornow_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_gornow_exit_condition()
{
return TRUE;
};
func void dia_gornow_exit_info()
{
AI_StopProcessInfos(self);
};... | D |
module scaledint;
/** Author: Era Scarecrow <rtcvb32@yahoo.com>
Date: 11 June 2017
License: Undecided.
Description: A fixed-sized Arbitrary Int type of struct for D2. Includes x86 & x86_64 specific extentions and assembly language and optimization.
Done: UCent defined and passes all my basic tests... | D |
a slender and greatly elongated substance capable of being spun into yarn
any of several elongated, threadlike cells (especially a muscle fiber or a nerve fiber)
the inherent complex of attributes that determines a persons moral and ethical actions and reactions
a leatherlike material made by compressing layers of pape... | D |
/Users/prang/Desktop/AppDontForget2/build/AppDontForget.build/Debug-iphonesimulator/AppDontForget.build/Objects-normal/x86_64/AppDelegate.o : /Users/prang/Desktop/AppDontForget2/AppDontForget/AllUsersTableViewController.swift /Users/prang/Desktop/AppDontForget2/AppDontForget/CalendarHeaderView.swift /Users/prang/Deskto... | D |
/**
* Entry point for DMD.
*
* This modules defines the entry point (main) for DMD, as well as related
* utilities needed for arguments parsing, path manipulation, etc...
* This file is not shared with other compilers which use the DMD front-end.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Founda... | 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 |
/++
A module containing the LandingReporter
This is an example of how this reporter looks
<script type="text/javascript" src="https://asciinema.org/a/ar2qel0uzunpjmfzkg7xtvsa1.js" id="asciicast-ar2qel0uzunpjmfzkg7xtvsa1" async></script>
Copyright: © 2017 Szabo Bogdan
License: Subject to the terms of the MIT... | D |
module mir.pybind;
/** CODING GUIDE
D or Python:
When we can implement something both in D or Python, we do everything in D.
D has less overhead than Python (the reason why we use D from Python).
Error Handling:
D function should raise exception for python by PyErr_SetString(PyObject* type, const char* message)
The... | D |
/home/ukasha/Desktop/Quarter-1_3.30-6.30/week_10_29th-September,2019/part4/part6/target/debug/part6: /home/ukasha/Desktop/Quarter-1_3.30-6.30/week_10_29th-September,2019/part4/part6/src/main.rs
| D |
module ast.properties;
import ast.base, ast.parse, ast.casting, ast.tuples: AstTuple = Tuple;
TLS!(PropArgs) propcfg;
static this() { New(propcfg); }
TLS!(char*) rawmode_loc;
static this() { New(rawmode_loc); }
bool rawmode(string s) {
return s.ptr == *rawmode_loc.ptr();
}
// placed here to break import cycle
... | D |
module runnable;
import std.stdio;
import std.string;
import std.conv;
import std.getopt;
import std.format;
string filename = "input.txt";
void main(string[] args)
{
//check command line arguments for filename (use input.txt if not specified)
auto info = getopt(args, "file", "Specify file that contains inpu... | D |
/**
* D header file for C99.
*
* $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_stdint.h.html, _stdint.h)
*
* Copyright: Copyright Sean Kelly 2005 - 2018
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompa... | D |
/Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintViewDSL.o : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/SnapKit/Source/Constraint.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/SnapKit/Source/Co... | D |
/*******************************************************************************
* Copyright (c) 2000, 2005 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 |
someone who attacks in search of booty
| D |
import std.stdio : writeln;
import dmods.generators : Fibgen;
void main() {
Fibgen gen;
ulong cur, sum;
while ((cur = gen.next()) < 4_000_000)
if (cur % 2 == 0)
sum += cur;
writeln(sum);
}
| D |
module mutils.linalg.algorithm;
T mix(T)(T a, T b, float blend) {
return cast(T)(a + (b - a) * blend);
}
unittest {
assert(mix(3, 5, 0.5) == 4);
}
| D |
module android.java.android.media.MediaCasException_UnsupportedCasException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.io.PrintStream_d_interface;
import import4 = and... | D |
private
{
void privF() {}
class privC {}
struct privS {}
union privU {}
interface privI {}
enum privE { foo }
mixin template privMT() {}
void privTF(T)() {}
class privTC(T) {}
struct privTS(T) {}
union privTU(T) {}
interface privTI(T) {}
}
void publF(T)() {}
void publFA... | D |
/*
File: CircularSeq.d
Originally written by Doug Lea and released into the public domain.
Thanks for the assistance and support of Sun Microsystems Labs, Agorics
Inc, Loral, and everyone contributing, testing, and using this code.
History:
Date Who What
24Sep95 dl@cs.oswego.edu... | D |
module mach.range.asarray;
private:
import mach.text : text;
import mach.types : KeyValuePair;
import mach.traits : isArray, isArrayOf, isIterable, isFiniteIterable, ElementType;
import mach.traits : hasNumericLength, LengthType, canCast;
import mach.traits : isAssociativeArray, ArrayKeyType, ArrayValueType;
public:... | D |
with official authorization
in a formal manner
| D |
instance GUR_1210_BaalTyon(Npc_Default)
{
name[0] = "Baal Tyon";
npcType = npctype_friend;
guild = GIL_GUR;
level = 28;
flags = NPC_FLAG_IMMORTAL;
voice = 11;
id = 1210;
attribute[ATR_STRENGTH] = 70;
attribute[ATR_DEXTERITY] = 50;
attribute[ATR_MANA_MAX] = 60;
attribute[ATR_MANA] = 60;
attribute[ATR_HITPOIN... | D |
module sceneparser.shapes.Plane;
import raytracer.Colors;
import raytracer.Materials;
import raytracer.MathShapes;
import raytracer.RTObject;
import raytracer.Transformation;
import raytracer.Vector;
import sceneparser.general.Context;
import sceneparser.general.Expression;
import sceneparser.general.Paramet... | D |
/mnt/c/Users/zeliwang/hello_world/digital_signature/target/release/deps/serde-25d9675be6ba1493.rmeta: /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.99/src/lib.rs /home/zeliwang/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde-1.0.99/src/macros.rs /home/zeliwang/.cargo/r... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved
//
// 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_... | D |
INSTANCE Mod_7647_OUT_Strewak_EIS (Npc_Default)
{
// ------ NSC ------
name = "gefrorener Leichnam";
guild = GIL_NONE;
id = 7647;
voice = 0;
flags = 2;
npctype = NPCTYPE_FRIEND; //plündert nicht!!! (und ein Freischlag)
nofocus = 1;
// ------ AIVARs ------
aivar[AIV_ToughGuy] ... | D |
#!/usr/bin/env rdmd
/**
* D testing tool.
*
* This module implements the test runner for all tests except `unit`.
*
* The general procedure is:
*
* 1. Parse the environment variables (`processEnvironment`)
* 2. Extract test parameters from the source file (`gatherTestParameters`)
* [3. Compile non-D sources ... | D |
/**
* D header file for GNU/Linux
*
* Authors: Martin Nowak
*/
module core.sys.linux.config;
version (linux):
public import core.sys.posix.config;
// man 7 feature_test_macros
// http://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
enum _GNU_SOURCE = true;
// deduced <features.h>
// http://... | 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 B = new char[][N];
foreach (i; 0..N) B[i] = readln.chomp.to!(char[]);
int x, y;
foreach (i; 0..N) {
foreach (j; 0..N) {
if (B[j... | D |
/run/media/sacha/stocky/isousb/isousb/target/debug/deps/byteorder-5b7a3e8dfe96d9b3.rmeta: /home/sacha/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/src/lib.rs /home/sacha/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/src/io.rs
/run/media/sacha/stocky/isousb/isousb/target/debug/deps/... | D |
module ppl4.Operator;
import ppl4.all;
/**
* Operator precedence. Lower is higher.
*/
enum Operator {
NONE,
LITERAL,
DOT, // .
CALL, // call()
//INDEX, // get(), set() same as call()
CAST, // as Type
DIV, // /
MUL, // *
... | D |
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* gtkD is distributed in th... | D |
void main() {
auto N = ri;
int[] C, S, F;
foreach(i; 0..N-1) {
auto ip = readAs!(int[]), c = ip[0], s = ip[1], f = ip[2];
C ~= c; S ~= s; F ~= f;
}
foreach(i; 0..N-1) {
long tmp;
foreach(j; i..N-1) {
if(tmp < S[j]) tmp = S[j];
else if(tmp % F[j] != 0) tmp += F[j] - tmp % F[j];
tmp += C[j];
de... | D |
/**
A static HTTP file server.
Copyright: © 2012 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.http.fileserver;
import vibe.core.file;
import vibe.core.log;
import vibe.http.server;
import vibe.inet.message... | D |
/*
EXTRA_SOURCES: imports/A16a.d
RUN_OUTPUT:
---
class AA16
class B16
---
*/
import std.stdio;
class AA16
{
protected:
this()
{
printf("class AA16\n");
}
}
| D |
module org.serviio.util.XmlUtils;
import java.lang.String;
import java.io.IOException;
import java.io.StringReader;
import java.io.StringWriter;
import java.net.URL;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.Tr... | D |
/Users/nabil/Downloads/AlbumsMnager/Build/Intermediates/Pods.build/Debug-iphonesimulator/GBHFacebookImagePicker.build/Objects-normal/x86_64/GBHNotificationName.o : /Users/nabil/Downloads/AlbumsMnager/Pods/GBHFacebookImagePicker/GBHFacebookImagePicker/Classes/Model/GBHFacebookImage.swift /Users/nabil/Downloads/AlbumsMna... | D |
the right to buy or sell property at an agreed price
one of a number of things from which only one can be chosen
the act of choosing or selecting
| D |
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96869
// { dg-do compile }
__vector(float[0]) var01;
// { dg-error "0 byte vector type '__vector\\\(float\\\[0\\\]\\\)' is not supported on this platform" "" { target *-*-* } .-1 }
__vector(float[3]) var02;
// { dg-error "12 byte vector type '__vector\\\(float\\\[3\\\]\\... | D |
/*
Copyright (c) 2019-2022 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 |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Stewart Gordon
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_ole.d)
*/
module core.sys.windows.ole;
version (Windows):
pragma(lib, "ole32");
import core... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag10169.d(11): Error: no property `x` for type `imports.a10169.B`
---
*/
import imports.a10169;
void main()
{
auto a = B.init.x;
}
| D |
import std.range, std.algorithm;
struct Permutations(bool doCopy=true, T) {
T[] items;
int r;
bool stopped;
int[] indices, cycles;
static if (!doCopy)
T[] result;
this(T)(T[] items, int r=-1) /*pure nothrow*/ {
this.items = items;
immutable int n = items.length;
... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto as = readln.split.to!(int[]);
auto a1 = as[0];
auto a2 = as[1];
auto a3 = as[2];
auto DP = new int[][][][](3,3,3,3);
auto memo = new bool[][][][](3,3,3,3);
int run(int... | D |
import std.stdio, std.string;
T[] _insertAt(T)(T val, T[] a, int idx, int pos)
{
if (a.length == 0) return [];
if (idx == pos) return [val] ~ _insertAt(val, a, idx + 1, pos);
return [a[0]] ~ _insertAt(val, a[1 .. $], idx + 1, pos);
}
T[] insertAt(T)(T val, T[] a, int pos)
{
if (pos < 0) pos = 0;
i... | D |
module drats;
public {
import drats.kbd;
import drats.term;
import drats.drats;
import drats.color;
//
import std.conv : to;
}
| D |
module a;
final class Foo
{
import b;
}
| D |
/Users/Dai/Desktop/Studing/swift服务端/PerfectDemo4/.build/debug/StORM.build/StORMDataSourceCredentials.swift.o : /Users/Dai/Desktop/Studing/swift服务端/PerfectDemo4/.build/checkouts/StORM.git-6077292811663054913/Sources/StORM/StORM.swift /Users/Dai/Desktop/Studing/swift服务端/PerfectDemo4/.build/checkouts/StORM.git-60772928116... | D |
/**
* Contains TelegramPassportElementErrorTranslationFile
*/
module tg.passport.types.telegram_passport_element_error_translation_file;
import tg.core.type, tg.core.exception;
import std.json, tg.type;
/**
* Represents an issue with one of the files that constitute the translation of a document. The error is cons... | D |
module soup.PasswordManagerIF;
private import gio.Cancellable;
private import glib.MainContext;
private import soup.Auth;
private import soup.Message;
private import soup.c.functions;
public import soup.c.types;
/** */
public interface PasswordManagerIF{
/** Get the main Gtk struct */
public SoupPasswordManager* ... | D |
/Users/admin/Desktop/PlsHireMe/build/PlsHireMe.build/Debug-iphonesimulator/PlsHireMe.build/Objects-normal/x86_64/WordsearchFooter.o : /Users/admin/Desktop/PlsHireMe/PlsHireMe/Model/Page.swift /Users/admin/Desktop/PlsHireMe/PlsHireMe/Model/Response.swift /Users/admin/Desktop/PlsHireMe/PlsHireMe/AppDelegate.swift /Users/... | D |
/home/mahc/sistemasoperativos/C-stems-Programming/Rust/string_witchery/target/rls/debug/deps/string_witchery-2b7897963a2bf5fa.rmeta: src/main.rs
/home/mahc/sistemasoperativos/C-stems-Programming/Rust/string_witchery/target/rls/debug/deps/string_witchery-2b7897963a2bf5fa.d: src/main.rs
src/main.rs:
| D |
a salt deposit that animals regularly lick
touching with the tongue
(boxing) a blow with the fist
beat thoroughly and conclusively in a competition or fight
pass the tongue over
find the solution to (a problem or question) or understand the meaning of
take up with the tongue
| D |
/*
TEST_OUTPUT:
---
fail_compilation/diag16977.d(25): Error: undefined identifier `undefined`, did you mean function `undefinedId`?
fail_compilation/diag16977.d(26): Error: cannot implicitly convert expression `"\x01string"` of type `string` to `int`
fail_compilation/diag16977.d(27): Error: template `diag16977.templ` c... | D |
/**
* Twofish
*
* Copyright:
* (C) 1999-2007 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.block.twofish;
import botan.constants;
static if (BOTAN_HAS_TWOFISH):
import std.range : iota;
import botan.utils.loadstor;
import b... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.