code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module vkcontext;
import core.stdc.stdint;
import core.stdc.stdio;
import neobc.array;
import neobc.range;
import glfw;
import vkimage;
import utility;
import vk;
////////////////////////////////////////////////////////////////////////////////
enum ImguiMaxPossibleBackBuffers = 16;
enum ImguiVkQueuedFrames = 2;
//... | D |
/Users/doriankinoocrutcher/Documents/blockheads/blockCraft/blockCraft/contract/target/release/build/indexmap-41c6251b77623db6/build_script_build-41c6251b77623db6: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/indexmap-1.5.0/build.rs
/Users/doriankinoocrutcher/Documents/blockheads/blockCraf... | D |
/**
* Defines a D type.
*
* Copyright: Copyright (C) 1999-2022 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.com/dlang/dmd... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto X = scan!int;
auto Y = scan!int;
auto AB = scan!int(2 * N).chunks(2).array;
auto solve() {
int[301][301] dp;
int[301][301] preDp;
foreach(ref d; dp) d[] = N + 1;
foreach(ref d; preDp) d[] = N + 1;
dp[0][0] = preDp[0][... | D |
/home/generel/Documents/vscode/rust/ncg-r/target/release/deps/ncg_r-9a54e902b78957c1: src/main.rs
/home/generel/Documents/vscode/rust/ncg-r/target/release/deps/ncg_r-9a54e902b78957c1.d: src/main.rs
src/main.rs:
| D |
/** Basic rules library of Mahjong (Guobiao Majiang).
There are three versions of rules supported.
PWS (defaultPWS):
Pai Wang Sai.
WMO:
World Mahjong Organization.
JMSA:
Japan Mahjong Sports Association.
*/
module gbmj;
import gbmj.fan, gbmj.tile, gbmj.hand;
/* There must be only one version of the rule... | D |
module hunt.router.route;
import hunt.router.define;
class Route
{
this()
{
// Constructor code
}
public
{
void setGroup(string groupValue)
{
this._group = groupValue;
}
string getGroup()
{
return this._group;
}
... | D |
frv-elf.x: file format elf32-frv
Disassembly of section .text:
00000000 <_.xy-0x4>:
0: 00 00 00 00 add.p gr0,gr0,gr0
00000004 <_.xy>:
4: 00 00 00 00 add.p gr0,gr0,gr0
00000008 <_.z>:
8: 00 00 00 00 add.p gr0,gr0,gr0
0000000c <_.frame>:
c: 00 00 00 00 add.p gr0,gr0,gr0
0000001... | D |
/home/fisher/intro_to_rust/03-Guessing_Game/target/debug/build/rand-999b754ec083ff3e/build_script_build-999b754ec083ff3e: /home/fisher/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/build.rs
/home/fisher/intro_to_rust/03-Guessing_Game/target/debug/build/rand-999b754ec083ff3e/build_script_build-999b754ec083... | D |
/Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/DerivedData/XYiOS/Build/Intermediates/XYiOS.build/Debug-iphonesimulator/XYiOS.build/Objects-normal/x86_64/StoredAnimation.o : /Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/XYiOS/Sepia.swift /Users/tom.power/Developer/MusicTechProjects/X... | D |
// ********************************************
// B_ENDPRODUCTIONDIALOG
// ------------------------
// Invincible Flag muss nach jedem Dialog- Vorgang
// wieder hart auf FALSE gestezt werden
// ********************************************
FUNC VOID B_ENDPRODUCTIONDIALOG ()
{
AI_StopProcessInfos(self);
Wld_StopE... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/Exports.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/chec... | D |
/**
* Универсальный рантаймный модуль языка программирования Динрус,
* поддерживающий совместимость с английской версией.
* Разработчик Виталий Кулич
*/
module base;
version = Dinrus;
version = Unicode;
version = ЛитлЭндиан;
int useWfuncs = 1;
alias useWfuncs __ЮНИКОД__;
//Константы
const бул нет = false;
const бул... | D |
a game in which a child tosses a stone into an area drawn on the ground and then hops through it and back to regain the stone
| D |
import derelict.imgui.imgui;
/+
extern(C) nothrow const(char)* igImplGlfwGL3_GetClipboardText()
{
return glfwGetClipboardString(g_window);
}
extern(C) nothrow void igImplGlfwGL3_SetClipboardText(const(char)* text)
{
glfwSetClipboardString(g_window, text);
}
extern(C) nothrow void igImplGlfwGL3_... | D |
/Users/edward.wangcrypto.com/study/substrate_lesson_homework_template/node-template-benchmark/target/release/deps/data_encoding-64c12b88c4726539.rmeta: /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/data-encoding-2.3.2/src/lib.rs
/Users/edward.wangcrypto.com/study/substrate_lesson_homewor... | D |
module workspaced.com.dub;
import core.sync.mutex;
import core.exception;
import core.thread;
import std.algorithm;
import std.conv;
import std.exception;
import std.json : JSONValue, JSON_TYPE;
import std.parallelism;
import std.regex;
import std.stdio;
import std.string;
import painlessjson : toJSON, fromJSON;
im... | D |
/* Converted to D from gsl_permute_vector_uchar.h by htod
* and edited by daniel truemper <truemped.dsource <with> hence22.org>
*/
module auxc.gsl.gsl_permute_vector_uchar;
/* permutation/gsl_permute_vector_uchar.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* This program is free software; you... | D |
instance DJG_703_Cipher(Npc_Default)
{
name[0] = "Сифер";
guild = GIL_DJG;
id = 703;
voice = 7;
flags = 0;
npcType = NPCTYPE_FRIEND;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_1h_Sld_Sword);
EquipItem(self,ItRw_Crossbow_M_01);
B_CreateAmbientInv(self);
CreateInvI... | D |
/**
* The map isn't simply one bit per character ?
*
* Org: Ben Russell showeed me it
*
*/
module genbt2;
pragma( lib, "liballegro5" );
pragma( lib, "libdallegro5" );
pragma( lib, "libjeca" );
import std.string;
import core.stdc.stdlib;
import std.stdio;
import core.stdc.time;
import std.conv;
//import jec2.... | D |
// D import file generated from 'crypto_core_hsalsa20.d' renamed to 'crypto_core_hsalsa20.d' (method [only for original == header file] results in very compact code and obviates to overhaul comments now)
module sodium.crypto_core_hsalsa20;
extern (C)
{
enum crypto_core_hsalsa20_OUTPUTBYTES = 32u;
size_t crypto_cor... | 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 |
// Compile with:
// ldc2 -O5 -check-printf-calls -fdata-sections -ffunction-sections -release -singleobj -strip-debug -wi -disable-boundscheck -L=--gc-sections -L=-s PD.d
import std.conv, std.stdio, std.parallelism;
@safe:
enum levelSize = 50; /// Width and height of a level.
enum nRooms = 100; /// Maximum num... | D |
module math.matrix;
alias Matrix2 mat2;
alias Matrix3 mat3;
alias Matrix4 mat4;
//Todo Add mat2x3 mat3x2 mat2x4 mat3x4 mat4x2 mat4x3 aswell (maybe kinda annoying sometimes)
import std.stdio;
import math.vector;
import std.math;
import std.traits;
import utils.assertions;
struct Matrix2
{
enum Matrix2 identity = ... | D |
/**
<script type="text/javascript">inhibitQuickIndex = 1</script>
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions)
)
$(TR $(TDNW Parsing UUIDs) $(TD $(MYREF parseUUID) $(MYREF
UUID(string)) $(MYREF UUIDParsingException) $(MYREF uuidRegex) )
)
$(TR $(TDNW Generating UUIDs) $(TD $(MYREF sha1UUID) $(MYREF randomUUID) $(... | 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.
/**
* Macros:
* WIKI = Phobos/StdOutbuffer
*
* Copyright: Copyright Digital Mars 2000 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(WEB digitalmars.com, Walter Bright)
* Source: $(PHOBOSSRC std/_outbuff... | D |
/**
Contains an implementation of max pooling.
Authors: Henry Gouk
*/
module dopt.nnet.layers.maxpool;
import dopt;
import dopt.nnet.layers.util;
///
Layer maxPool(Layer input, size_t[] dims)
{
import dopt.core.ops.nnet : maxpool;
return new Layer(
[input],
input.output.maxpool(di... | D |
/Users/Ikam6/Desktop/github-unige/outils-formels-modelisation-2018/ex-06/.build/x86_64-apple-macosx10.10/debug/Philosophers.build/main.swift.o : /Users/Ikam6/Desktop/github-unige/outils-formels-modelisation-2018/ex-06/Sources/Philosophers/main.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xct... | D |
module minidic.binding;
import md = minid.api;
public import minidic.NativeArray : MD_NativeArray;
public import minidic.StructBox : StructBox;
/**
Checks that the parameter at the given index is an instance of the class
given by reference.
Params:
slot = The stack slot of the parameter to ch... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail11355.d(28): Error: struct fail11355.A is not copyable because it is annotated with @disable
---
*/
T move(T)(ref T source)
{
return T.init; // Dummy rvalue
}
struct A
{
~this() {}
@disable this(this); // Prevent copying
}
struct B
{
A a;
alias... | D |
instance Info_Org_7_EXIT(C_Info)
{
nr = 999;
condition = Info_Org_7_EXIT_Condition;
information = Info_Org_7_EXIT_Info;
permanent = 1;
description = "ЗАКОНЧИТЬ РАЗГОВОР";
};
func int Info_Org_7_EXIT_Condition()
{
return 1;
};
func void Info_Org_7_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance Info_Or... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.range;
import std.format;
import std.typecons;
import std.concurrency;
import std.exception;
import std.math;
import std.numeric;
import std.ascii;
import std.process;
int mod(int x, int m)
{
return ((x % m) + m) % m;
}
void ma... | D |
// *********************************************************
// EXIT
// *********************************************************
var int Vatras_SchickeLeuteWeg;
var int Vatras_LaresExit;
var int Vatras_MORE;
///////////////////////////////////////////////////////////////////////
// Info KillerWarning
///////... | D |
instance Mod_749_MIL_Ruga_NW (Npc_Default)
{
// ------ NSC ------
name = "Ruga";
guild = GIL_PAL;
id = 749;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2);
aivar[AIV_ToughGuy] = TRUE;
// ------ K... | D |
// Written in the D programming language.
/**
Functions that manipulate other functions.
Macros:
WIKI = Phobos/StdFunctional
Author:
$(WEB erdani.org, Andrei Alexandrescu)
*/
/*
* Copyright (C) 2004-2006 by Digital Mars, www.digitalmars.com
* Written by Andrei Alexandrescu, www.erdani.org
*
* This software... | D |
version https://git-lfs.github.com/spec/v1
oid sha256:e421e34225aea6a8dc6fe9b9dc356494ea6278e97db6bf16e1023499e2847a41
size 1036
| D |
// *********************************************************************
// main menu (startup)
// *********************************************************************
INSTANCE MENU_MAIN(C_MENU_DEF)
{
backpic = MENU_BACK_PIC;
musictheme = "SYS_Menu";
items[0] = "MENUITEM_MAIN_HEADLINE";
items[1] = "MENUIT... | D |
module autowrap.csharp.dlang;
import autowrap.reflection : isModule;
import std.ascii : newline;
import std.meta : allSatisfy;
enum string methodSetup = " thread_attachThis();
rt_moduleTlsCtor();
scope(exit) rt_moduleTlsDtor();
scope(exit) thread_detachThis();";
// Wrap global function... | D |
/Users/mac/Assignment/build/Assignment.build/Debug-iphonesimulator/Assignment.build/Objects-normal/x86_64/alarmTableViewCell.o : /Users/mac/Assignment/Assignment/Controller/AlarmPIC.swift /Users/mac/Assignment/Assignment/Controller/TicTacToeVC.swift /Users/mac/Assignment/Assignment/Controller/NoteVC.swift /Users/mac/As... | D |
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop;
immutable long MOD = 10^^9 + 7;
void main() {
auto s = readln.split.map!(to!long);
auto N = s[0];
auto K = s[1];
long[] F;... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
const int V = 111;
int cost[V][V];
void main(){
int n, r, t, s, d, v, p, ans;
string[] str;
readf("%d\n", &n);
for (int i = 0; i < V; i++) {
cost[i][] = 999999999;
cost[i][i] = 0;
}
for (int i = 0; i < n; i++) {
str = split(readln... | D |
/*
Copyright (c) 2019 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,
execu... | D |
/*******************************************************************************
Protocol base for DHT `Listen` request
Copyright:
Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
***************... | D |
func void b_assignambientinfos(var C_NPC slf)
{
if(slf.guild == GIL_VLK)
{
if(slf.npctype == NPCTYPE_AMBIENT)
{
if(slf.voice == 1)
{
b_assignambientinfos_vlk_1(slf);
};
if(slf.voice == 6)
{
b_assignambientinfos_vlk_6(slf);
};
if(slf.voice == 8)
{
b_assignambientinfos_vlk_8(slf... | D |
/*instance STRF_1136_Addon_Sklave(Npc_Default)
{
name[0] = NAME_Addon_Sklave;
guild = GIL_STRF;
id = 1136;
voice = 3;
flags = 0;
npcType = NPCTYPE_BL_AMBIENT;
aivar[AIV_NoFightParker] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
B_SetAttributesToChapter(self,2);
fight_tactic = FAI_HUMAN_COWARD;
B_CreateAmbientIn... | 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 |
/// Problem 19: 日曜日の数え上げ
///
/// 次の情報が与えられている。
/// * 1900/01/01 は月曜日である。
/// * 9 月、4 月、6 月、11 月は 30 日まであり、2 月を除く他の月は 31 日まである。
/// * 2 月は 28 日まであるが、うるう年のときは 29 日である。
/// * うるう年は西暦が 4 で割り切れる年に起こる。しかし、西暦が 400 で割り切れず 100 で割り切れる年はうるう年でない。
/// 20 世紀 (1901/01/01 から 2000/12/31) 中に月の初めが日曜日になるのは何回あるか。
module project_euler.probl... | D |
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/BarLineChartViewBase.o : /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts... | D |
import std.stdio, std.algorithm, std.range, std.array;
immutable(long[2])[] vampireNumberFactors(in long n) {
static typeof(return) factorPairs(in long k) pure nothrow {
typeof(return) pairs;
foreach (immutable i; 2 .. cast(long)(k ^^ 0.5 + 1))
if (k % i == 0) {
immutab... | D |
// ************************************************************
// EXIT
// ************************************************************
INSTANCE DIA_Angar_NW_KAP5_EXIT(C_INFO)
{
npc = DJG_705_Angar_NW;
nr = 999;
condition = DIA_Angar_NW_KAP5_EXIT_Condition;
information = DIA_Angar_NW_KAP5_EXIT_Info;... | D |
/*
* This file generated automatically from res.xml by d_client.py.
* Edit at your peril.
*/
/**
* @defgroup XCB_Res_API XCB Res API
* @brief Res XCB Protocol Implementation.
* @{
**/
module interim.xcb.res;
import interim.xcb.xcb;
import interim.xcb.xproto;
const int XCB_RES_MAJOR_VERSION = 1;
const int XCB... | D |
/Users/yq/Project/Swift/SwiftGroup/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/Objects-normal/x86_64/IQToolbar.o : /Users/yq/Project/Swift/SwiftGroup/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstantsInternal.swift /Users/yq/Project/Swif... | D |
private struct MakeType(LogLevel.Value v) { enum val = v; alias val this; }
/// LogLevel
struct LogLevel
{
// make one type per log level to allow compile time disabling of logging
// each loglevel value implicitly converts to the runtime enum value
enum debug_ = MakeType!(Value.debug_)();
enum info = ... | D |
/**
* This module exposes functionality for inspecting and manipulating memory.
*
* Copyright: Copyright Digital Mars 2000 - 2010.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Walter Bright, Sean Kelly
*/
/* Copyright Digital Mars 2000 - 2010.
* Distri... | D |
///////////////////////////////////////////////////////////////////////////////////////////
// B_Explored
// ==========
// Diese Funktion wird aufgerufen, wenn ein verborgener Ort vom Spieler entdeckt wurde
// - Gibt eine Bildschirmmeldung aus
// - spielt ein Jingle ab
// - Addiert XP für den Spieler
//////////////////... | D |
/+
+ Copyright 2023 Aya Partridge
+ Copyright 2019 - 2022 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.freetype.dynload;
import bindbc.fre... | D |
a plant of the genus Aquilegia having irregular showy spurred flowers
| D |
module dirrlicht.scene;
extern(C++) {
extern(C++, scene) {
interface ISceneManager {
}
interface ISceneNode {
}
interface IMesh {
}
interface IMeshBuffer {
}
interface IMeshManipulator {
}
//! Enumeration for all primitive types there are.
enum E_PRIMITIVE_TYPE
{
//! All vertices a... | 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_26_agm-3651593... | D |
instance VLK_590_Buddler(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = Npctype_MINE_Ambient;
guild = GIL_VLK;
level = 5;
voice = 3;
id = 590;
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 15;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 100;
attribute[A... | D |
/Users/aligame/work/rust_repository/rutils/target/x86_64-unknown-linux-musl/release/deps/libunicode_width-f9319c0176281b83.rlib: /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/unicode-width-0.1.7/src/lib.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/unicode-width-0.... | D |
module pharticle.integrator;
import pharticle;
import armos;
class Integrator {
public{
this(){
_unitTime = 0.1;
}
void update(ref pharticle.Particle*[] particles){
foreach (particle; particles) {
euler(*particle);
}
}
void unitTime(double time){
_unitTime = time;
}
double unitTi... | D |
// Name des Overlays was zum Rennen benutzt wird
var string Ninja_Sprint_Anim;
/*
* Holt sich aus Gothic.ini welche Animation gewählt ist.
*/
func string Ninja_Sprint_getSprintAnim() {
var int getSprintAnim; getSprintAnim = STR_ToInt(MEM_GetGothOpt("NINJA_SPRINT", "Anim"));
if (getSprintAnim == 0) {
return "NIN... | D |
instance SLD_820_Soeldner (Npc_Default) //Türwache Onars Haus
{
// ------ NSC ------
name = NAME_SOELDNER;
guild = GIL_SLD;
id = 820;
voice = 7;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); ... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
int[10^^6+2] AS, BS, CS;
void main()
{
auto N = readln.chomp.to!int;
foreach (_; 0..N) {
auto ab = readln.split.to!(int[]);
++AS[ab[0]];
++BS[ab[1]+1];
}
int r, s;
foreach... | D |
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Multipart.build/Objects-normal/x86_64/Exports.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/multipart.git--3420371218944209855/Sources/Multipart/MultipartPartConvertible.swift /Users/phungdu/Documents/code/vapor/TILApp/.... | D |
// Written in the D programming language.
/**
Serialize data to `ubyte` arrays.
* Copyright: Copyright The D Language Foundation 2000 - 2015.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: $(HTTP digitalmars.com, Walter Bright)
* Source: $(PHOBOSSRC std/outbuffer.d)
*
* $... | D |
/*
* Copyright (c) 2004-2008 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 |
/**
* Copyright: Copyright (c) 2016 Wojciech Szęszoł. All rights reserved.
* Authors: Wojciech Szęszoł
* Version: Initial created: Apr 08, 2016
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
import tests.support.Assertions;
import std.algorithm : canFind;
import std.proces... | D |
/Users/Benjamin/Desktop/Delivry/Delivry/DerivedData/Delivry/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AFError.o : /Users/Benjamin/Desktop/Delivry/Delivry/Pods/Alamofire/Source/MultipartFormData.swift /Users/Benjamin/Desktop/Delivry/Delivry/Pods/Alamofire/Source/T... | 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 |
$NetBSD$
Stolen from https://github.com/nrTQgc/druntime/tree/netbsd
--- runtime/druntime/src/core/sys/posix/netinet/in_.d.orig 2018-08-23 23:29:55.000000000 +0000
+++ runtime/druntime/src/core/sys/posix/netinet/in_.d
@@ -245,6 +245,42 @@ else version( DragonFlyBSD )
//enum INET_ADDRSTRLEN = 16;
}
+else ... | D |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License only.
*
* This... | D |
/Users/kushalashok/Documents/Kushal/Personal/Interviews/XcodePractice/Swift/DerivedData/Samples/Build/Intermediates.noindex/Samples.build/Debug-iphoneos/Samples.build/Objects-normal/arm64/LRU.o : /Users/kushalashok/Documents/Kushal/Personal/Interviews/XcodePractice/Swift/Samples/Examples/LRU.swift /Users/kushalashok/Do... | D |
// Copyright Brian Schott (Hackerpilot) 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 dscanner.analysis.length_subtraction;
import std.stdio;
import dparse.ast;
import dpars... | D |
/*
* Hunt - a framework for web and console application based on Collie using Dlang development
*
* Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the BSD License.
*
*/
module application.user.controller.api.index;
import hunt.web.http;
class... | D |
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop, std.bitmanip;
void main() {
auto S = readln.chomp;
auto M = readln.chomp.to!int;
auto P = M.iota.map!(_ => readln.chomp).array;
... | D |
module logger.extendedfilelogger;
import std.experimental.logger;
import std.stdio;
import std.concurrency : Tid;
import std.datetime.systime : SysTime;
import std.range : isOutputRange, isInputRange;
private enum PatternToken = '%';
/// A simple pattern - 020-06-08T17:50:25.673 info :
enum string simplePatter... | D |
module bindbc.bgfx;
public import bindbc.bgfx.types;
public import bindbc.bgfx.funcs;
public import bindbc.bgfx.dynload;
| D |
module kameloso.plugins.waiter;
import std.algorithm : canFind;
import kameloso.plugins.common;
final:
private alias IrcCommand = Command!(IrcEvent,IrcEvent.Type);
class Waiter : IrcPlugin
{
private:
Yarn!string yarn;
Tid tid;
final:
static const bool wants(IrcEvent.Type type) @safe pure nothrow
{
with (IrcE... | D |
// URL: https://atcoder.jp/contests/typical90/tasks/typical90_a
import std.algorithm, std.array, std.bitmanip, std.container, std.conv, std.format,
std.functional, std.math, std.range, std.traits, std.typecons, std.stdio, std.string;
version(unittest) {} else
void main()
{
int N, L; io.getV(N, L);
int K; i... | 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 |
// Copyright Brian Schott (Sir Alaran) 2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// This module triggers DMD bug 7900 if compiled with -inline
module codegen;
import std.range... | D |
module android.java.android.icu.text.PluralRules;
public import android.java.android.icu.text.PluralRules_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!PluralRules;
import import5 = android.java.java.util.Collection;
import import0 = android.java.android.icu.text.PluralRules;
import import6 ... | D |
import std.stdio;
alias int myint;
struct S { void bar() { } int x = 4; static int z = 5; }
class C { void bar() { } final void foo() { } static void abc() { } }
abstract class AC { }
class AC2 { abstract void foo(); }
class AC3 : AC2 { }
final class FC { void foo() { } }
enum E { EMEM }
/***************************... | D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Aug 6, 2011
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module tests.Pointer;
import orange.core.string;
import orange.serialization.Serializer... | D |
/Users/andonmitev/Desktop/FINAL SHIT/my-first-contract/target/release/build/generic-array-203d1b9c4b6c2c1c/build_script_build-203d1b9c4b6c2c1c: /Users/andonmitev/.cargo/registry/src/github.com-1ecc6299db9ec823/generic-array-0.14.4/build.rs
/Users/andonmitev/Desktop/FINAL SHIT/my-first-contract/target/release/build/gen... | D |
/*******************************************************************************
Test for sending a set of records with non-sequential keys via Put
Copyright:
Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt f... | D |
/home/knoldus/IdeaProjects/assignment_twelve/target/debug/build/ryu-5b526c1a8df2a651/build_script_build-5b526c1a8df2a651: /home/knoldus/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.5/build.rs
/home/knoldus/IdeaProjects/assignment_twelve/target/debug/build/ryu-5b526c1a8df2a651/build_script_build-5b526c1a8df2... | D |
// Written in the D programming language.
module wrapper.sodium.crypto_scalarmult_curve25519;
import wrapper.sodium.core; // assure sodium got initialized
public import deimos.sodium.crypto_scalarmult_curve25519;
| D |
# FIXED
evmomapl138_vpif.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/src/evmomapl138_vpif.c
evmomapl138_vpif.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138.h
evmomapl138_vpif.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdint.h
evmomapl138_vpif... | D |
module dquick.media.imageData;
import dquick.media.devil.devilLoaderWriter;
import std.stdio;
struct ImageData
{
enum Format
{
Invalid,
Gr,
GrA,
RGB,
RGBA
}
Format format;
uint width;
uint height;
@property
ubyte nbBytesPerPixel() const {return formats[format];}
ubyte[] pixels;
private:
stati... | D |
/**
* Generate Mach-O object files
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2009-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 htt... | D |
/home/gui/Projects/rustLearning/target/rls/debug/deps/byte_tools-503ac4b86e80fb8c.rmeta: /home/gui/.asdf/installs/rust/1.48.0/registry/src/github.com-1ecc6299db9ec823/byte-tools-0.3.1/src/lib.rs
/home/gui/Projects/rustLearning/target/rls/debug/deps/byte_tools-503ac4b86e80fb8c.d: /home/gui/.asdf/installs/rust/1.48.0/re... | 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.glfw.bindstatic;
version(BindBC_Static) version = BindGLFW_Static;
version(BindGLFW_Stati... | D |
/**
$(D std._parallelism) implements high-level primitives for SMP _parallelism.
These include parallel foreach, parallel reduce, parallel eager map, pipelining
and future/promise _parallelism. $(D std._parallelism) is recommended when the
same operation is to be executed in parallel on different data, or when a
funct... | 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 distribut... | D |
/// An example "HTTP server" with poor usability but sensible performance
///
module http.Processor;
import std.array, std.exception, std.format, std.algorithm.mutation, std.socket;
import core.stdc.stdlib;
import core.thread, core.atomic;
import http.Parser;
import hunt.collection.ByteBuffer;
import hunt.logging;
... | D |
void main() {
import std.stdio, std.random, std.algorithm, std.range, std.ascii;
immutable d9 = "123456789";
auto choices = cartesianProduct(d9, d9, d9, d9).map!(t => [t[]])
.filter!(a => a.sort().uniq.count == 4).array;
do {
const ans = choices[uniform(0, $)];
write... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.