code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module dui.vectors;
import std.traits;
alias Vec2 = AbstractVec2!double;
alias IVec2 = AbstractVec2!int;
alias FVec2 = AbstractVec2!float;
alias RVec2 = AbstractVec2!real;
alias Vec3 = AbstractVec3!double;
alias IVec3 = AbstractVec3!int;
alias FVec3 = AbstractVec3!float;
alias RVec3 = AbstractVec3!real;
alias Vec4 =... | 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 java.util.Enumeration;
import java.lang.all;
interface Enumeration {
public bool hasMoreElements();
public Object nextElement();
}
| D |
/Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/CredifyCore.build/Debug-iphonesimulator/CredifyCore.build/Objects-normal/x86_64/OfferUseCaseManager.o : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/CredifyCore/CredifyCore.swift /Users/nalousnguyen/D... | D |
// Written in the D programming language.
/**
* Computes SHA1 and SHA2 hashes of arbitrary data. SHA hashes are 20 to 64 byte
* quantities (depending on the SHA algorithm) that are like a checksum or CRC,
* but are more robust.
*
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE ,
$(TR $(TH Category)... | D |
/Users/William/dev/rust/substrate-blockchain-test/substrate-test/runtime/target/debug/deps/owning_ref-1b8f3979a6be151d.rmeta: /Users/William/.cargo/registry/src/github.com-1ecc6299db9ec823/owning_ref-0.4.0/src/lib.rs
/Users/William/dev/rust/substrate-blockchain-test/substrate-test/runtime/target/debug/deps/owning_ref-... | D |
/Users/felixdescoteaux/exercism/rust/proverb/target/debug/proverb-8f3453d9b85b77a7: /Users/felixdescoteaux/exercism/rust/proverb/src/lib.rs
| D |
/home/git/for_nep141/nep141transfer/contract/target/release/build/memchr-569c819b7482fc3f/build_script_build-569c819b7482fc3f: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.4/build.rs
/home/git/for_nep141/nep141transfer/contract/target/release/build/memchr-569c819b7482fc3f/build_script_build-569c819... | D |
any of several large humped bovids having shaggy manes and large heads and short horns
| D |
<?xml version="1.0" encoding="ASCII"?>
<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
<pageList>
<availablePage>
<emfPageIdentifier href="7d62c6aa-1149-4b8e-9ce7-69b7f1... | D |
/*
Copyright (c) 2017-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,
... | D |
// *********************
// Gobbo_Green Prototype
// *********************
prototype Mst_Default_Gobbo_Green (C_NPC)
{
// ------ Monster -----
name = "Goblin";
guild = GIL_GOBBO;
aivar[AIV_MM_REAL_ID] = ID_GOBBO_GREEN;
level = 4;
// ------ Attribute ------
attribute [ATR_STRENGTH] = 3... | D |
///
module dpq.querybuilder;
import dpq.attributes;
import dpq.column;
import dpq.connection;
import dpq.query;
import dpq.value;
import std.algorithm : map, sum;
import std.conv : to;
import std.range : chunks;
import std.string : format, join, replace;
import std.typecons : Nullable;
version (unittest) import std.... | D |
module android.java.java.security.CodeSigner;
public import android.java.java.security.CodeSigner_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!CodeSigner;
import import2 = android.java.java.lang.Class;
| D |
module vanillamock.query_user;
import vanillamock.query : ExampleQuery;
class ActualQueryUser
{
private:
ExampleQuery query;
public:
this(ExampleQuery query)
{
this.query = query;
}
string doSomething()
{
// ...
return this.query.fetchSomething();
}
}
/**
* NOTE... | D |
module parse;
import core.stdc.string;
import core.stdc.stdlib;
import core.stdc.stdio;
import dplug.core.alignedbuffer;
import dplug.core.nogc;
char** parseResponse(string response) nothrow @nogc
{
char* cresponse = cast(char*) response;
const(char*) delim = cast(const(char*))"\r\n";
int buffer_length =... | D |
module gtkD.gtk.TextMark;
public import gtkD.gtkc.gtktypes;
private import gtkD.gtkc.gtk;
private import gtkD.glib.ConstructionException;
private import gtkD.glib.Str;
private import gtkD.gtk.TextBuffer;
private import gtkD.gobject.ObjectG;
/**
* Description
* You may wish to begin by reading the text widget... | D |
/home/r0p3/Uni/3/FTPsimulation/user_manage/target/debug/deps/quote-e7a0901f5daf2933.rmeta: /home/r0p3/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.9/src/lib.rs /home/r0p3/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.9/src/ext.rs /home/r0p3/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-... | D |
// https://issues.dlang.org/show_bug.cgi?id=19463
void test() @nogc
{
throw new Exception("wat");
}
| D |
/**
* This module defines Pebble math operations.
*
* The lookup functions can be used to look up geometry values efficiently.
*/
module pebble.math;
@nogc:
nothrow:
/**
* The largest value that can result from a call to sin_lookup or cos_lookup.
*/
enum TRIG_MAX_RATIO = 0xffff;
/**
* Angle value that corresp... | D |
/**
* D header file for C99.
*
* $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_time.h.html, _time.h)
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanyi... | D |
/* -------------------------------------------------------------------------- */
private struct PkgsØ {
/* --- runtime --- */
import core_atomic = core.atomic;
import core_attribute = core.attribute;
import core_bitop = core.bitop;
import core_checkedint = core.checkedint;
import core_cpuid = core.cpuid;
... | D |
import core.stdc.stdio: printf;
import core.memory : GC, pureMalloc, pureCalloc, pureFree;
import std.stdio;
import core.time : Duration;
import std.datetime.stopwatch : benchmark;
/// Small slot sizes classes (in bytes).
static immutable smallSizeClasses = [8,
16, // TODO: 16 + 8,... | D |
import std.stdio;
import std.typetuple;
void main() {
foreach(S; TypeTuple!(string, wstring, dstring)){
writeln(S.stringof);
foreach(s, ss){
writefln("\t"`%(%s%) => %(%02X%)`, [s], (cast(immutable(ubyte)[])s).dup.reverse);
}
writeln();
}
}
| D |
module nxt.syllables;
import nxt.languages : Lang;
import std.traits: isSomeString;
import std.uni: byGrapheme;
/** Count Number of Syllables in $(D s) interpreted in language $(D lang).
The Algorithm:
- If number of letters <= 3 : return 1. Incorrect for Ira, weapon:usi.
- If doesn’t end with “ted” or... | D |
module luad.dynamic;
import luad.c.all;
import luad.base;
import luad.stack;
/**
* Represents a reference to a Lua value of any type.
* Supports all operations you can perform on values in Lua.
*/
struct LuaDynamic
{
/**
* Underlying Lua reference.
* LuaDynamic does not sub-type LuaObject - qualify access to... | D |
/++
Auto-generated Linux syscall constants
+/
module mir.linux._asm.unistd;
version(LDC) pragma(LDC_no_moduleinfo);
version (X86) public import mir.linux.arch.x86.uapi._asm.unistd;
else version (X86_64) public import mir.linux.arch.x86_64.uapi._asm.unistd;
else version (ARM) public import mir.linux.arch.arm.uapi._asm.... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto hw = readln.split.to!(int[]);
auto H = hw[0];
auto W = hw[1];
char[][] ss;
foreach (_; 0..H) ss ~= readln.chomp.to!(char[]);
auto DP = new int[][][](2, H, W);
foreach... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Bits.build/UnsignedInteger+BytesConvertible.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/AleixDiaz/Documents/VaporProject/HerokuCh... | D |
a basis for comparison
| D |
module android.java.android.speech.tts.SynthesisRequest_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.lang.CharSequence_d_interface;
import import2 = android.java.java.la... | D |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | D |
module godot.panelcontainer;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.d.bind;
import godot.object;
import godot.classdb;
import godot.container;
@GodotBaseClass struct PanelContainer
{
static immutable string _GODOT_inte... | D |
/**
Copyright: Copyright (c) 2017-2018 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.platform.cursoricon;
enum CursorIcon
{
arrow,
ibeam,
crosshair,
hand,
hresize,
vresize,
}
| D |
instance VLK_3004_dancer (Npc_Default)
{
// ------ NSC ------
name = "Tancerka";
guild = GIL_VLK;
id = 3004;
voice = 16;
flags = 0;
npctype = NPCTYPE_MAIN;
//-----------AIVARS----------------
aivar[AIV_ToughGuy] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapte... | D |
// Written in the D programming language.
/**
A one-stop shop for converting values from one type to another.
Copyright: Copyright Digital Mars 2007-.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(WEB digitalmars.com, Walter Bright),
$(WEB erdani.org, Andrei Alexandrescu),
... | D |
/* Client for IHello
* Heavily modified from:
*/
/*
* SELFREG.CPP
* Server Self-Registrtation Utility, Chapter 5
*
* Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
*
* Kraig Brockschmidt, Microsoft
* Internet : kraigb@microsoft.com
* Compuserve: >INTERNET:kraigb@microsoft.com
*/
impor... | D |
module godot.core.transform;
import godot.core.defs;
import godot.core.vector3;
import godot.core.quat;
import godot.core.basis;
import godot.core.rect3;
import godot.core.plane;
struct Transform
{
@nogc nothrow:
Basis basis;
Vector3 origin;
this(real_t xx, real_t xy, real_t xz, real_t yx, real_t yy, real_t y... | D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/Data/TemplateDataRepresentable.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateData.swift /Users/user/Documents/RiseTimeAssets... | D |
// Written in the D programming language.
/**
This app is a demo for most of DlangUI library features.
Synopsis:
----
dub run dlangui:example1
----
Copyright: Vadim Lopatin, 2014
License: Boost License 1.0
Authors: Vadim Lopatin, coolreader.org@gmail.com
*/
module main;
import dlangui;
import dlangui.dial... | D |
/* longdouble.d -- Software floating point emulation for the D frontend.
* Copyright (C) 2018 Free Software Foundation, Inc.
*
* GCC 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; either version 3, or (a... | D |
/Users/gloompique/Desktop/works/rust/invaders/target/release/deps/lazy_static-4b33d6b7f4a597af.rmeta: /Users/gloompique/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs /Users/gloompique/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/inline_lazy.rs
/Users/gloompique/D... | D |
void main() {
debug {
"==================================".writeln;
while(true) {
auto bench = benchmark!problem(1);
"<<< Process time: %s >>>".writefln(bench[0]);
"==================================".writeln;
}
} else {
problem();
}
}
void problem() {
enum long MOD = 9982443... | D |
/home/runner/work/econ/econ/server/target/x86_64-unknown-linux-gnu/release/deps/sentry_panic-8b7ec17d3824aa56.rmeta: /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/sentry-panic-0.21.0/src/lib.rs
/home/runner/work/econ/econ/server/target/x86_64-unknown-linux-gnu/release/deps/libsentry_panic-8b7ec17d3824aa... | D |
# FIXED
28335_serial.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/src/28335_serial.c
28335_serial.obj: C:/tfu3_jchen237/Repo/trunk/CRSRobot/include/coecsl.h
28335_serial.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/std.h
28335_serial.obj: C:/CCStudio_v8/bios_5_42_02_10/packages/ti/bios/include/tistdt... | D |
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/home.o : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/apple-1/Downl... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Configs.build/Node+Merge.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Configs/Source.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/v... | D |
module android.java.android.app.assist.AssistStructure_WindowNode_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.CharSequence_d_interface;
import import2 = android.ja... | D |
module gbaid.gl;
import std.regex;
import std.file;
import std.string;
import std.conv;
import derelict.opengl3.gl3 : glGetError;
/**
* Represents an object that has an OpenGL version associated to it.
*/
public interface GLVersioned {
/**
* Returns the lowest OpenGL version required by this object's imple... | D |
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/RadarChartView.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/Sourc... | D |
module extensions.base;
import core.attr;
public import controls.menu;
public import controls.texteditor;
public import core.bufferview;
public import core.command;
public import core.commandparameter;
public import controls.button;
public import controls.textfield;
public import guiapplication;
public import gui.w... | D |
import esdl;
import uvm;
import std.stdio;
import std.string: format;
enum privileged_reg_t: ushort { // 12'b
// User mode register
USTATUS = 0x000, // User status
UIE = 0x004, // User interrupt-enable register
UTVEC = 0x005, // User trap-handler base address
USCRATCH ... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail19687.d(17): Error: no property `nonexisting` for `""` of type `string`
---
*/
struct S
{
void opDispatch(string name)() {}
void opDispatch(string name)(string value) {}
}
void main()
{
S n;
n.foo = "".nonexisting();
}
| 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 |
/* PERMUTE_ARGS: -inline -g -O
*/
extern(C) int printf(const char*, ...);
/*******************************************/
class A
{
int x = 7;
int foo(int i)
in
{
printf("A.foo.in %d\n", i);
assert(i == 2);
assert(x == 7);
printf("A.foo.in pass\n");
}
out (result... | D |
module android.java.java.util.concurrent.PriorityBlockingQueue;
public import android.java.java.util.concurrent.PriorityBlockingQueue_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!PriorityBlockingQueue;
import import7 = android.java.java.util.stream.Stream;
import import5 = android.java.java... | D |
/*******************************************************************************
* Copyright (c) 2005, 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 |
/*******************************************************************************
DLS node connection registry
Copyright:
Copyright (c) 2010-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
************************... | D |
instance Mod_7351_OUT_Ranck_REL (Npc_Default)
{
// ------ NSC ------
name = "Ranck";
guild = GIL_OUT;
id = 7351;
voice = 0;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1); //setzt Attri... | D |
import std.stdio;
import std.regex;
import std.format;
import std.string;
void main(string[] args)
{
if (args.length < 2)
{
throw new Exception("need input");
}
char[] input = args[1].dup();
auto rxIOL = ctRegex!(`[iol]`);
auto rxPair = ctRegex!(`([a-z])\1`);
bool valid = false;
... | 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 |
/Users/JasonVranek/Desktop/rust/tokio-delay/target/debug/build/rand_chacha-a771a4f682b01031/build_script_build-a771a4f682b01031: /Users/JasonVranek/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/build.rs
/Users/JasonVranek/Desktop/rust/tokio-delay/target/debug/build/rand_chacha-a771a4f682b01031/buil... | D |
module smidig.ecs;
import std.algorithm : sort;
import std.traits : PointerTarget;
import std.typecons : Tuple;
import smidig.memory : IAllocator, make, dispose;
import tested : name;
alias EntityID = uint;
alias ComponentName = string;
alias SystemType = int;
enum dependency = "dependency";
class EntityManager {... | D |
/Users/JasonVranek/Desktop/LearningProgramming/rust/websocket-threaded/target/debug/deps/cfg_if-bc91bf12c31b0e8d.rmeta: /Users/JasonVranek/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.6/src/lib.rs
/Users/JasonVranek/Desktop/LearningProgramming/rust/websocket-threaded/target/debug/deps/cfg_if-bc91bf12c31b... | D |
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Skip.o : /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxS... | 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.sdl.mixer;
version(BindSDL_Mixer):
import bindbc.sdl.config;
import bindbc.sdl.bind.sdla... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/Application.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.... | D |
import d2d;
import resources;
import game.components;
import game.entities.bullet;
import game.level;
import game.loopingmusic;
import game.systems;
import game.world;
import std.stdio : writeln, File;
class Game1 : Game
{
private:
bool paused;
CollisionSystem collisions;
DrawSystem drawSystem;
Level level;
... | D |
/root/Documents/TryHackMe_Walkthroughs/room_learn_rust/rust_task_4_question_1/target/debug/deps/rust_task_4_question_1-3efc02927c418b19: src/main.rs
/root/Documents/TryHackMe_Walkthroughs/room_learn_rust/rust_task_4_question_1/target/debug/deps/rust_task_4_question_1-3efc02927c418b19.d: src/main.rs
src/main.rs:
| 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 Soft... | D |
module dweb.templatesupport;
import std.variant;
import std.array;
import std.typecons;
import dweb.templateparse;
class CommandInfo
{
string name;
string parameters;
string text;
string[] unproc_lines;
// Indices over the processed output:
size_t start;
// Indices over th... | D |
// URL: https://atcoder.jp/contests/abc141/tasks/abc141_c
import std;
version(unittest) {} else
void main()
{
int N, K, Q; io.getV(N, K, Q);
auto b = new int[](N);
foreach (_; 0..Q) {
int Ai; io.getV(Ai); --Ai;
b[Ai]++;
}
foreach (bi; b)
io.putB(K-(Q-bi) > 0, "Yes", "No");
}
auto io = IO!()()... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/SMTP.build/Objects-normal/x86_64/EHLOExtension.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/SMTP/Utility/NSUUID+SMTPMessageID.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engi... | 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 |
// REQUIRED_ARGS: -c
/*
TEST_OUTPUT:
---
fail_compilation/fail10666.d(16): Error: variable fail10666.foo10666.s1 has scoped destruction, cannot build closure
---
*/
struct S10666
{
int val;
~this() {}
}
void foo10666(S10666 s1)
{
auto f1 = (){ return () => s1.val; }(); // NG
S10666 s2;
auto f2 =... | D |
/Users/nickshaba/Documents/rust-book /first_request/target/debug/build/proc-macro2-235f182b67796ec1/build_script_build-235f182b67796ec1: /Users/nickshaba/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.4.30/build.rs
/Users/nickshaba/Documents/rust-book /first_request/target/debug/build/proc-macro2-235f18... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Commands/Version.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.range;
import std.format;
import std.concurrency;
void main(string[] args)
{
auto input = stdin.byLine;
int N = input.front.length;
int[][] field;
foreach (ref i; input)
{
auto row = new int[N];
i... | D |
module pshared.packets.bank;
import pnet.packet;
/// 1901
final class BankRequest : Packet
{
public:
final:
ulong bankId;
this(ubyte[] buffer)
{
super(buffer);
bankId = read!ulong;
}
}
/// 1902
final class BankResponse : Packet
{
public:
final:
ulong money;
this()
{
super(12, 190... | D |
var int Halvor_ItemsGiven_Chapter_1;
var int Halvor_ItemsGiven_Chapter_2;
var int Halvor_ItemsGiven_Chapter_3;
var int Halvor_ItemsGiven_Chapter_4;
var int Halvor_ItemsGiven_Chapter_5;
func void B_GiveTradeInv_Halvor(var C_Npc slf)
{
if((Kapitel >= 1) && (Halvor_ItemsGiven_Chapter_1 == FALSE))
{
CreateInvItems(sl... | D |
module tango.core.tools.FrameInfo;
version (D_Version2):
package:
struct FrameInfo
{
/// line number in the source of the most likely start adress (0 if not available)
long line;
/// number of the stack frame (starting at 0 for the top frame)
size_t iframe;
/// offset from baseSymb: within the fu... | D |
// generated by fakerjsgenerator
///
module faked.faker_uk;
import faked.base;
///
class Faker_uk : Faker {
@safe:
import std.random;
import std.array;
import std.format;
import std.conv : to;
///
this(int seed) {
super(seed);
}
///
override string phoneNumberFormats() {
auto data = [
"(044) #... | D |
// Written in the D programming language
module std.asserterror;
import std.c.stdio;
import std.c.stdlib;
import std.contracts;
class AssertError : Error
{
uint linnum;
char[] filename;
this(char[] filename, uint linnum)
{
this(filename, linnum, null);
}
this(char[] filename, uint linnum, ... | D |
/* THIS FILE GENERATED BY bcd.gen */
module bcd.freetds.sybdb;
const int FALSE = 0;
const int TRUE = 1;
const int DBSAVE = 1;
const int DBNOSAVE = 0;
const int DBNOERR = -1;
const int INT_EXIT = 0;
const int INT_CONTINUE = 1;
const int INT_CANCEL = 2;
const int INT_TIMEOUT = 3;
const int DBMAXNUMLEN = 33;
const int DBM... | D |
module dig.traits;
public import dig.traits.abstract_entity;
public import dig.traits.identity;
public import dig.traits.procedure;
public import dig.traits.funktion;
//public import foundation.traits.misc;
| D |
import std.stdio;
import std.json;
import std.array;
import std.algorithm;
import std.datetime;
import std.string;
import std.file;
import std.path;
import std.experimental.logger;
enum ShapeRole {
NOIO_SHAPE = 0, // this shape is not Input or Output shape
IN_SHAPE = 1, // Input (argument to operation)
... | D |
module gui.option.language;
import std.algorithm;
import std.conv;
import std.range; // takeOne
static import basics.user;
static import basics.globals;
import file.filename;
import file.io;
import file.language;
import file.log;
import gui;
import gui.option.base;
import gui.picker;
class LanguageOption : Option {
... | D |
a viral disease of cattle causing a mild skin disease affecting the udder
| D |
module klaodg;
public import klaodg.vector;
public import std.stdio;
import derelict.util.loader;
import gfm.logger, gfm.sdl2, gfm.opengl, gfm.math;
ConsoleLogger console;
SDL2 sdl2;
SDLTTF sdl2ttf;
SDLImage sdl2image;
SDL2Window window;
OpenGL gl_handle;
private int width, height;
private float ms_per_frame;
float2 ... | D |
module dmocks.call;
public import dmocks.model;
public import dmocks.dynamic;
import dmocks.arguments;
import dmocks.qualifiers;
import std.array;
/++
+ This class represents a single method call on a mock object while in replay phase
+ All information about the call is stored here
+/
class Call
{
MockId object... | D |
/*
* Public domain
* machine/endian.h compatibility shim
*/
module libressl_d.compat.machine.endian;
version (Windows) {
enum LITTLE_ENDIAN = 1234;
enum BIG_ENDIAN = 4321;
enum PDP_ENDIAN = 3412;
/*
* Use GCC and Visual Studio compiler defines to determine endian.
*/
version (LittleEndian) {
enum BYTE_... | D |
/home/rajkishor/Desktop/RUST/target/rls/debug/build/libc-a1fcfd5405a3b144/build_script_build-a1fcfd5405a3b144: /home/rajkishor/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.62/build.rs
/home/rajkishor/Desktop/RUST/target/rls/debug/build/libc-a1fcfd5405a3b144/build_script_build-a1fcfd5405a3b144.d: /home/rajk... | 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 |
/*
* Hunt - A high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design.
*
* Copyright (C) 2015-2019, HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.framework.http.Request;
// import hunt.http.cod... | D |
/Users/renatomatos/Documents/Dev/iOS/TodayWidget/TodayWidgetSwift/SampleToday/DerivedData/SampleToday/Build/Intermediates/SampleToday.build/Debug-iphonesimulator/TodayWidget.build/Objects-normal/x86_64/NetworkBase.o : /Users/renatomatos/Documents/Dev/iOS/TodayWidget/TodayWidgetSwift/SampleToday/TodayWidget/Utils/Models... | D |
/*******************************************************************************
Swarm node base class
Base class for a swarm node with the following features:
* Contains a SelectListener which handles incoming connections.
* Has an eventLoop() method to start the server, and a shutdown() meth... | D |
module android.java.android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceRequest;
public import android.java.android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceRequest_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!WifiP2pDnsSdServiceRequest;
import import0 = android.java.android.net.wifi.p2p.nsd.WifiP2pDnsS... | D |
/Users/WenNiao/myproject/iosprojects/HackerNews/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/MultipartFormData.o : /Users/WenNiao/myproject/iosprojects/HackerNews/Pods/Alamofire/Source/Alamofire.swift /Users/WenNiao/myproject/iosprojects/HackerNews/Pods/Alamofire/Source/Download.swift /U... | D |
module hunt.web.client.SecureWebSocketClientSingleton;
version(WITH_HUNT_SECURITY) :
import hunt.web.client.SimpleWebSocketClient;
import hunt.web.client.SimpleHttpClientConfiguration;
import hunt.util.Lifecycle;
import hunt.collection.Collections;
/**
*
*/
class SecureWebSocketClientSingleton : AbstractLifecycl... | D |
/**
This module is a submodule of $(LINK2 std_range.html, std.range).
It provides basic range functionality by defining several templates for testing
whether a given object is a _range, and what kind of _range it is:
$(BOOKTABLE ,
$(TR $(TD $(D $(LREF isInputRange)))
$(TD Tests if something is an $(I inpu... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.