code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
//////////////////////////////////////////////////////////////////////////
// B_TransferItems
// ===============
// Überträgt das 'item' von 'other' zu 'self'. In 'amount' muß die
// Anzahl der zu übertragenden Items übergeben werden.
//////////////////////////////////////////////////////////////////////////
func void ... | D |
module aura.operations.bridge;
import std.stdio;
import aura.model.all;
import aura.operation;
import aura.list;
class BridgeOperation : Operation
{
Face f1;
Face f2;
FaceList bridges;
this ( )
{
bridges = new FaceList;
}
void createBridge( Face f1, Face f2 )
{
for ( int a = 0; a < f1.verts.length; ... | D |
being of the nature of a notion or concept
| D |
a neutral middle vowel
| D |
import std.algorithm;
import std.math;
import std.mathspecial : erf;
import std.range : iota;
alias reduce!((a, b) => a + b) sumation;
alias reduce!((a, b) => a * b) product;
enum size_t S = 12;
//alias monomial!(1, S) x1; alias monomial!(2, S) x2; alias monomial!(3, S) x3; alias monomial!(4, S) x4;
alias monomial!(5... | D |
/home/philip/LearnDemo/rust-lang-book/Chapter06/Enum6_3/Enum6_6/target/debug/deps/Enum6_6-25f9d6572a6700cc.rmeta: src/main.rs
/home/philip/LearnDemo/rust-lang-book/Chapter06/Enum6_3/Enum6_6/target/debug/deps/Enum6_6-25f9d6572a6700cc.d: src/main.rs
src/main.rs:
| D |
/home/alifya/Rocket-TodoApp/target/debug/build/rocket_codegen-c7624fb61dac6b5a/build_script_build-c7624fb61dac6b5a: /home/alifya/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_codegen-0.4.4/build.rs
/home/alifya/Rocket-TodoApp/target/debug/build/rocket_codegen-c7624fb61dac6b5a/build_script_build-c7624fb61dac6b... | D |
on the contrary
to some (great or small) extent
more readily or willingly
to a degree (not used with a negative
| D |
module android.java.android.app.Notification_DecoratedCustomViewStyle;
public import android.java.android.app.Notification_DecoratedCustomViewStyle_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Notification_DecoratedCustomViewStyle;
import import2 = android.java.java.lang.Class;
import impor... | D |
a male sovereign
| D |
//var int Rethon_ItemsGiven_Chapter_1;
//var int Rethon_ItemsGiven_Chapter_2;
//var int Rethon_ItemsGiven_Chapter_3;
var int Rethon_ItemsGiven_Chapter_4;
var int Rethon_ItemsGiven_Chapter_5;
func void B_GiveTradeInv_Rethon(var C_Npc slf)
{
if((Kapitel >= 4) && (Rethon_ItemsGiven_Chapter_4 == FALSE))
{
CreateInvIt... | D |
module kerisy.provider;
public import kerisy.provider.AuthServiceProvider;
public import kerisy.provider.BreadcrumbServiceProvider;
public import kerisy.provider.CacheServiceProvider;
public import kerisy.provider.ConfigServiceProvider;
// public import kerisy.provider.DatabaseServiceProvider;
// public import kerisy.... | D |
/Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/CommuniSki.build/Debug-iphonesimulator/CommuniSki.build/Objects-normal/x86_64/SignUpVC.o : /Users/macexpert/Downloads/CommuniSki/CommuniSki/ProfileVC.swift /Users/macexpert/Downloads/CommuniSki/CommuniSki/LoginVC.swift /Users/macexpert/Downloads/CommuniS... | D |
/** uuids.d
Converted from 'uuids.h'.
Version: V7.0
Authors: Koji Kishita
*/
module c.windows.uuids;
import c.windows.guiddef;
alias GUID_NULL MEDIATYPE_NULL;
alias GUID_NULL MEDIASUBTYPE_NULL;
mixin DEFINE_GUID!("MEDIASUBTYPE_None", 0xe436eb8e, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70);
mi... | D |
module d.semantic.caster;
import d.semantic.semantic;
import d.semantic.typepromotion;
import d.ir.expression;
import d.ir.symbol;
import d.ir.type;
import d.exception;
import d.location;
Expression buildImplicitCast(SemanticPass pass, Location location, Type to, Expression e) {
return build!false(pass, location, ... | D |
Eurasian plant with apple-scented foliage and white-rayed flowers and feathery leaves used medicinally
| D |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | D |
import vibe.vibe;
void main()
{
auto settings = new HTTPServerSettings;
settings.port = 8080;
settings.bindAddresses = ["::1", "0.0.0.0"];
listenHTTP(settings, &index);
logInfo("Please open http://0.0.0.0:8080/ in your browser.");
runApplication();
}
void index(HTTPServerRequest req, HTTPServerResponse res)
{
... | D |
/**
Functions and structures for dealing with threads and concurrent access.
This module is modeled after std.concurrency, but provides a fiber-aware alternative
to it. All blocking operations will yield the calling fiber instead of blocking it.
Copyright: © 2013-2014 Sönke Ludwig
License: Subject to the ... | D |
instance Mil_306_Tuerwache(Npc_Default)
{
name[0] = "Judge's House Guard";
guild = GIL_MIL;
id = 306;
voice = 7;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Mil_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum... | D |
module lib;
// test EH
void throwException()
{
throw new Exception(null);
}
Exception collectException(void delegate() dg)
{
try
dg();
catch (Exception e)
return e;
return null;
}
// test GC
__gshared Object root;
void alloc() { root = new Object(); }
void access()... | D |
/**
Mirror _bytesobject.h
Note _bytesobject.h did not exist before python 2.6; however
for python 2, it simply provides aliases to contents of stringobject.h,
so we provide them anyways to make it easier to write portable extension
modules.
*/
module deimos.python.bytesobject;
import deimos.python.pyport;... | D |
module android.java.android.provider.Telephony_CarrierId;
public import android.java.android.provider.Telephony_CarrierId_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Telephony_CarrierId;
import import1 = android.java.java.lang.Class;
import import0 = android.java.android.net.Uri;
| D |
import std.stdio, std.algorithm, std.conv, std.range;
void main(string[] args) {
auto in1 = File(args[1]);
auto in2 = File(args[2]);
auto out1 = File(args[3],"w");
auto z1 = zip(in1.byLine, in2.byLine);
foreach (ll; z1) {
auto veto = to!int(ll[1]);
auto vals = (ll[0]).split.map!(to!double)... | D |
module mach.io.log;
private:
import mach.traits : hash;
import mach.io.stdio : stdio;
import mach.io.file.path : Path;
public:
/// Immediately writes a line to stdout together with a file name and line
/// number. Intended to help debug misbehaving code.
void log(
size_t line = __LINE__, string file = __FILE_... | D |
// Copyright Juan Manuel Cabo 2012.
// Copyright Mario Kröplin 2013.
// 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 dunit.framework;
import dunit.assertion;
import dunit.at... | D |
/home/silmoon/MyProjects/Rust/simple_web_server_from_scratch/target/rls/debug/deps/main-27531b72f2f514b1.rmeta: src/bin/main.rs
/home/silmoon/MyProjects/Rust/simple_web_server_from_scratch/target/rls/debug/deps/main-27531b72f2f514b1.d: src/bin/main.rs
src/bin/main.rs:
| D |
void main()
{
import std.datetime.stopwatch : benchmark;
import std.math, std.parallelism, std.stdio;
auto arr = [8,2,4,8,2,3,5,1,6];
foreach(i, ref elem; arr)
foreach(j, ref selem; arr)
if(arr[i]>arr[j] && i<j)
{
auto temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
foreach(i... | D |
module net.PKI;
private import time.Time;
private import lib.OpenSSL;
const цел SSL_VERIFY_NONE = 0x00;
const цел SSL_VERIFY_PEER = 0x01;
const цел SSL_VERIFY_FAIL_IF_NO_PEER_CERT = 0x02;
const цел SSL_VERIFY_CLIENT_ONCE = 0x04;
const цел SSL_SESS_CACHE_SERVER = 0x0002;
extern (C) typedef цел function(це... | D |
import std.algorithm : min, max;
import std.math;
import std.stdio;
pragma(msg, min(0, float.nan)); //Yields 0
pragma(msg, max(0, float.nan)); //Yields 0
pragma(msg, min(float.nan, 0)); //Yields float.nan
pragma(msg, max(float.nan, 0)); //Yields float.nan
void main()
{
writeln(min(0, float.nan)); //Yields 0
writeln... | 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_11_banking-782... | D |
module android.java.android.view.textclassifier.ConversationActions_Message_Builder;
public import android.java.android.view.textclassifier.ConversationActions_Message_Builder_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ConversationActions_Message_Builder;
import import5 = android.java.and... | 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.dsymbol;
import core.st... | D |
module staticswitch;
template staticSwitch(List...) // List[0] is the value commanding the switching
// It can be a type or a symbol.
{
static if (List.length == 1) // No slot left: error
static assert(0, "StaticSwitch: no match for " ~ List[0].stringof);
else static if (... | 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="cornice.profile.notation#_ELwdQGZA... | D |
/*
* main.d
*
* This file contains the main logic and the main class for handling
* an Application.
*
* Author: Dave Wilkinson
*
*/
module core.main;
import core.string;
import core.arguments;
import core.application;
import core.locale;
import core.system;
import io.console;
import synch.semaphore;
import ... | D |
/*
* Problem 46
*
* 20 June 2003
*
*
* It was proposed by Christian Goldbach that every odd composite
* number can be written as the sum of a prime and twice a square.
*
* 9 = 7 + 2x1^2
* 15 = 7 + 2x2^2
* 21 = 3 + 2x3^2
* 25 = 7 + 2x3^2
* 27 = 19 + 2x2^2
* 33 = 31 + 2x1^2
*
* It turns out that the conje... | D |
module mangler;
/**
* Mangles the input string
*
* This should generate the exact same string as defined in the C++ module!
* This is used to cache-bust the game's string cache.
* Params:
* value = String to mangle
* Returns: Mangled output
*/
string mangle()(auto ref const(string) value) @safe nothrow {
... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!long;
auto A = scan!long(N);
auto B = scan!long(N);
auto solve() {
long ans = long.max;
auto segTreeA = SegTree!(max, long)(A, int.min);
auto segTreeB = SegTree!(min, long)(B, int.max);
foreach(l; 0..N) {
// long maxA = A[l];
... | D |
// Written in the D programming language.
/**
Source: $(PHOBOSSRC std/experimental/logger/_filelogger.d)
*/
module std.experimental.logger.filelogger;
import std.experimental.logger.core;
import std.stdio;
import std.typecons : Flag;
/** An option to create $(LREF FileLogger) directory if it is non-existent.
*/
alia... | D |
module reggae.options;
import reggae.types: Backend;
import std.file: thisExePath;
import std.conv: ConvException;
import std.path: absolutePath, buildPath;
import std.file: exists;
struct Options {
Backend backend;
string projectPath;
string dflags;
string reggaePath;
string[string] userVars;
... | D |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | D |
module mach.range.filter;
private:
import mach.traits : ElementType, isRange, isBidirectionalRange, isSavingRange;
import mach.traits : isMutableRange, isMutableFrontRange, isMutableBackRange;
import mach.traits : isMutableRemoveFrontRange, isMutableRemoveBackRange;
import mach.range.asrange : asrange, validAsRange, ... | D |
module hunt.http.codec.http.model.QuotedCSV;
import std.array;
import std.conv;
import std.container.array;
import hunt.util.Common;
import hunt.collection.StringBuffer;
import hunt.text.Common;
import hunt.text.StringBuilder;
/**
* Implements a quoted comma separated list of values
* in accordance with RFC7230.
... | D |
/Users/yajnavalkya/Developer/Rationalize/build/Rationalize.build/Debug-iphonesimulator/Rationalize.build/Objects-normal/x86_64/AppDelegate.o : /Users/yajnavalkya/Developer/Rationalize/Rationalize/AppDelegate.swift /Users/yajnavalkya/Developer/Rationalize/Rationalize/HouseholdTableViewController.swift /Users/yajnavalkya... | D |
the condition or quality of being a virgin
| D |
instance VLK_507_Buddler(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = npctype_ambient;
guild = GIL_VLK;
level = 2;
voice = 3;
id = 507;
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 94;
attribute[ATR_HITP... | D |
import std.algorithm;
import std.conv;
import std.datetime;
import std.format;
import std.range;
import std.stdio;
import std.string;
import std.socket;
import std.uni;
import core.thread;
import utils.http_server;
class HelloWorldProcessor : HttpProcessor {
this(Socket sock){ super(sock); }
override voi... | D |
/**
#
#Copyright (c) 2018 IoTone, Inc. All rights reserved.
#
**/
module shelld.shellnode;
| D |
the commercial enterprise of moving goods and materials
conveyance provided by the ships belonging to one country or industry
transport commercially
hire for work on a ship
go on board
travel by ship
place on board a ship
| D |
module game.ui.hotbar;
class Hotbar {
} | D |
/**
* Compute common subexpressions for non-optimized code generation
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Compute common subexpressions for non-optimized builds.
*
* Copyright: Copyright (C) 1985-1995 by Symantec
* Copyright (C) 2000-2... | D |
// Written in the D programming language.
/**
Serialize data to $(D ubyte) arrays.
* Macros:
* WIKI = Phobos/StdOutbuffer
*
* Copyright: Copyright Digital Mars 2000 - 2015.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: $(WEB digitalmars.com, Walter Bright)
* Source: ... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Fluent.build/Objects-normal/x86_64/Driver.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent.git-6251908308... | D |
/**
Integration tests that compile and run the resulting code.
*/
module it.c.run;
public import it;
public import clang: TranslationUnit, Cursor;
| 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 |
module db.driver.postgresql;
version (USE_POSTGRESQL):
import db.core;
import derelict.pq.pq;
import std.algorithm;
import std.datetime;
import std.array;
import std.conv;
import std.string;
import std.regex;
import std.uuid;
shared static this()
{
DerelictPQ.load();
if (DerelictPQ.isLoaded)
{
Database.regDr... | D |
/***********************************************************************\
* winuser.d *
* *
* Windows API header module *
* ... | D |
module ext.opengl.gl_1_5;
import std.c.stdio, std.c.stdarg;
import ext.opengl.gl_1_0, ext.opengl.gl_1_1, ext.opengl.gl_1_2, ext.opengl.gl_1_3, ext.opengl.gl_1_4;
/* OpenGL 1.2 */
enum : GLenum{
GL_BUFFER_SIZE = 0x8764,
GL_BUFFER_USAGE = 0x8765,
GL_QUERY_COUNTER_BITS ... | D |
in a euphemistic manner
| D |
/Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/.build/debug/Console.build/Command/Argument.swift.o : /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/Packages/Console-1.0.1/Sources/Console/Bar/Bar.swift /Users/KyleBlazier/Documents/Development/Xcode/ServerSi... | D |
the person who plays that position on a football team
gear consisting of ropes etc. supporting a ship's masts and sails
gear used in fishing
(American football) a position on the line of scrimmage
(American football) grasping an opposing player with the intention of stopping by throwing to the ground
accept as a challe... | D |
module mir.random.flex.internal.types;
import std.traits: ReturnType, isFloatingPoint;
version(Flex_logging)
{
import std.experimental.logger;
}
/**
Major data unit of the Flex algorithm.
It is used to store
- (cached) values of the transformation (and its derivatives)
- area below the hat and squeeze function
-... | D |
/Users/miladmehrpoo/Desktop/Helloworld/.build/debug/Settings.build/KeyAccessible.swift.o : /Users/miladmehrpoo/Desktop/Helloworld/Packages/Vapor-1.1.1/Sources/Settings/Config+Arguments.swift /Users/miladmehrpoo/Desktop/Helloworld/Packages/Vapor-1.1.1/Sources/Settings/Config+Directory.swift /Users/miladmehrpoo/Desktop/H... | D |
instance VLK_4140_Waffenknecht (Npc_Default)
{
// ------ NSC ------
name = NAME_WAFFENKNECHT;
guild = GIL_MIL;
id = 4140;
voice = 1;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_OCAMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1); //setz... | D |
/****************************************************************************
**
** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com>
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWinExtras module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License ... | D |
/home/syx/SYXrepo/vacation_homework/percolation/target/debug/deps/libeither-cafae82f01e79117.rlib: /home/syx/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/either-1.5.0/src/lib.rs
/home/syx/SYXrepo/vacation_homework/percolation/target/debug/deps/either-cafae82f01e79117.d: /home/syx/.cargo/registry/src/mirror... | D |
$NetBSD$
--- runtime/druntime/src/core/sys/posix/grp.d.orig 2016-01-21 15:39:03.000000000 +0000
+++ runtime/druntime/src/core/sys/posix/grp.d
@@ -68,6 +68,19 @@ else version( FreeBSD )
char** gr_mem;
}
}
+else version( NetBSD )
+{
+ struct group
+ {
+ char* gr_name;
+ char* gr_p... | D |
module text.Unicode;
deprecated ткст блокВЗаг(ткст ввод, ткст вывод = пусто, дим[] working = пусто);
ткст вЗаг(ткст ввод, ткст вывод = пусто) ;
шим[] вЗаг(шим[] ввод, шим[] вывод = пусто) ;
дим[] вЗаг(дим[] ввод, дим[] вывод = пусто);
ткст вПроп(ткст ввод, ткст вывод = пусто);
шим[] вПроп(шим[] ввод, шим[] выв... | D |
// sphere.h
//
// Copyright (C) 2003, 2004 Jason Bevins
//
// This library 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 ve... | D |
instance BDT_1035_Fluechtling(Npc_Default)
{
name[0] = NAME_Fluechtling;
guild = GIL_OUT;
id = 1035;
voice = 7;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Sld_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Hea... | D |
///////////////////////////////////////////////////////////////////////
// Info EXIT
///////////////////////////////////////////////////////////////////////
INSTANCE DIA_1015_BANDIT_EXIT (C_INFO)
{
npc = BDT_1015_Bandit_L;
nr = 999;
condition = DIA_1015_BANDIT_EXIT_Condition;
information = DIA... | D |
// Written in the D programming language.
/**
* Elementary mathematical functions
*
* Contains the elementary mathematical functions (powers, roots,
* and trignometric functions), and low-level floating-point operations.
* Mathematical special functions are available in std.mathspecial.
*
* The functionality cl... | D |
/Users/ins/Documents/Code/rust-study/vite-rust-wasm-linkedlist/@rsw/linkedlist/target/rls/debug/deps/wasm_bindgen_shared-95677271a2360eaf.rmeta: /Users/ins/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/wasm-bindgen-shared-0.2.73/src/lib.rs
/Users/ins/Documents/Code/rust-study/vite-rust-wasm-linkedlist/@rsw/... | D |
// Vicfred
// https://atcoder.jp/contests/abc165/tasks/abc165_a
// simulation
import std.conv;
import std.stdio;
import std.string;
void main() {
int k = readln.chomp.to!int;
int a, b;
readf("%s %s\n", &a, &b);
for(int i = a; i <= b; ++i) {
if(i%k == 0) {
"OK".writeln;
r... | D |
instance NOV_1371_BaalNetbek(Npc_Default)
{
name[0] = "Baal Netbek";
npcType = npctype_main;
guild = GIL_NOV;
level = 3;
flags = 0;
voice = 3;
id = 1371;
attribute[ATR_STRENGTH] = 10;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 76;
at... | D |
import std.stdio;
void main()
{
void* p = null;
writefln("%08X", p);
}
| D |
struct Point(T)
{
T x, y;
typeof(this) opAdd(const ref typeof(this) other) const { return typeof(this)(cast(T)(x + other.x), cast(T)(y + other.y)); }
typeof(this) opSub(const ref typeof(this) other) const { return typeof(this)(cast(T)(x - other.x), cast(T)(y - other.y)); }
void opAddAssign(const ref typeof(thi... | D |
/Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/Fluent.build/Objects-normal/x86_64/QueryBuilder+Run.o : /Users/petercernak/vapor/TILApp/.build/checkouts/fluent.git-8387737201324173519/Sources/Fluent/Model/ID.swift /Users/petercernak/vapor/TILApp/.build/checkouts/fluent.git-838773720132417... | D |
/*
* Translated from
* PETSC_DIR/src/sys/examples/tutorials/ex1.c
*
*/
auto help = "Synchronized printing.\n\n";
import petsc.c.sys;
int main(string[] args) {
PetscErrorCode ierr;
/*
Every PETSc routine should begin with the PetscInitialize() routine.
args - These command line arguments are take... | D |
module krepel.physics.system;
import krepel;
import krepel.engine;
import krepel.game_framework;
import krepel.physics.rigid_body;
import krepel.physics.collision_detection;
import krepel.input;
class PhysicsSystem : Subsystem
{
Array!RigidBody RigidBodies;
IAllocator Allocator;
Engine ParentEngine;
Vector3 G... | D |
module luad.table;
import luad.c.all;
import luad.base;
import luad.stack;
import luad.conversions.structs;
/// Represents a Lua table.
struct LuaTable
{
/// LuaTable sub-types $(DPREF base, LuaObject) through this reference.
LuaObject object;
alias object this;
package this(lua_State* L, int idx)
{
LuaObje... | D |
module DryGame.ecs.ecswrapper;
import std.stdio;
import std.string;
import std.exception;
/*
import DryGame.ecs.libutil;
Library lib;
public void LoadECS()
{
UnloadECS();
writeln("Loading ECS Library...");
version(linux)
{
lib = enforce(loadLib("./libdryecs.so"));
}
version(Windows)... | D |
module android.java.android.view.animation.GridLayoutAnimationController_AnimationParameters;
public import android.java.android.view.animation.GridLayoutAnimationController_AnimationParameters_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!GridLayoutAnimationController_AnimationParameters;
i... | D |
// REQUIRED_ARGS: -w
/*
TEST_OUTPUT:
---
fail_compilation/fail8724.d(14): Error: `object.Exception` is thrown but not caught
fail_compilation/fail8724.d(12): Error: `nothrow` constructor `fail8724.Foo.this` may throw
---
*/
struct Foo
{
this(int) nothrow
{
throw new Exception("something");
}
}
| D |
module game.core.chatarea;
/* This is typically never hidden.
* Only label and texttype are hidden while not typing.
* The chat console can be empty and we can be not typing, then we don't
* draw anything.
*/
import basics.user;
import file.language;
import graphic.color;
import gui;
class ChatArea : Element {
p... | D |
#!/usr/bin/env rdmd-dev-module
/** Reference Counted Array.
See_Also: http://dpaste.dzfl.pl/817283c163f5
*/
module rcstring;
import core.memory : GC;
// import core.stdc.stdlib;
// import core.stdc.string;
// import std.algorithm;
/** Reference Counted (RC) version of string.
*/
alias RCString = RCXString!(imm... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/SQL.build/SQLUpdateBuilder.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/chec... | D |
/Users/lilinbo/Documents/origin/rust/coding-dojo-rust-001/target/debug/deps/coding_dojo_rust_001-3c2f1fb9aa7af8e4: src/main.rs
/Users/lilinbo/Documents/origin/rust/coding-dojo-rust-001/target/debug/deps/coding_dojo_rust_001-3c2f1fb9aa7af8e4.d: src/main.rs
src/main.rs:
| D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Oct 1, 2011
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module dstep.core.Exceptions;
class DStepException : Exception
{
this (string messa... | D |
/**
* This module crawl the AST to resolve identifiers and process types.
*/
module d.semantic.semantic;
public import util.visitor;
import d.semantic.dmodule;
import d.semantic.evaluator;
import d.semantic.scheduler;
import d.ast.base;
import d.ast.declaration;
import d.ast.dmodule;
import d.ast.expression;
impor... | D |
ï;
| D |
module io.stream.Delimiters;
private import io.stream.Iterator;
class Разграничители(T) : Обходчик!(T)
{
private T[] разделитель;
this (T[] разделитель, ИПотокВвода поток = пусто)
{
this.разделитель = разделитель;
super (поток);
}
... | D |
/Users/benjaminrees/Desktop/Rust/Section 2/guessing_game/target/debug/deps/guessing_game-157173a31b2d695f.rmeta: src/main.rs
/Users/benjaminrees/Desktop/Rust/Section 2/guessing_game/target/debug/deps/guessing_game-157173a31b2d695f.d: src/main.rs
src/main.rs:
| D |
/**
* Handle a user connection
*/
module chat.UserHandler;
import net.server.handler.model.ISendReceiveHandler;
import std.socket;
import std.stdio;
/**
* User handler class
*/
class UserHandler : ISendReceiveHandler
{
/**
* The received message
*/
private string msg;
/**
* The use... | D |
/******************************************************************************
* Sub-module for numeric.sekitk.qvm
*
* Authors: 新井 浩平 (Kohei ARAI), arai-kohei-xg@ynu.jp
* Version: 1.0
******************************************************************************/
module sekitk.qvm.quaternion;
import std.traits: ... | 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="48e525d3-4e4a-4a04-acf1-067f1e... | D |
be larger in number, quantity, power, status or importance
be in control
have dominance or the power to defeat over
be greater in significance than
look down on
| D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
struct UFTree(T)
{
struct Node
{
T parent;
T rank = 1;
}
///
this(T n)
{
nodes.length = n;
sizes.length = n;
foreach (i, ref node; nodes... | D |
/*
REQUIRED_ARGS: -unittest
TEST_OUTPUT:
---
fail_compilation/test19176.d(13): Error: argument `foo()` to __traits(getUnitTests) must be a module or aggregate, not a template
---
*/
// https://issues.dlang.org/show_bug.cgi?id=19176
void main()
{
__traits(getUnitTests, foo);
}
template foo()
{
static if(true)... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.