code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
import autowrap;
import std.meta;
enum moduleNames = AliasSeq!(
"std.math",
"std.math.algebraic",
"std.math.constants",
"std.math.exponential",
"std.math.hardware",
"std.math.operations",
"std.math.remainder",
"std.math.rounding",
"std.math.traits",
"std.math.trigonometry",
);
... | D |
///Adds integration with the Tiled map editor
module dgt.level;
import std.file : readText;
import std.json;
import std.path : dirName;
import dgt.array, dgt.color, dgt.geom, dgt.texture, dgt.tilemap;
import dgt.io;
///A layer of tiles represented by integer constants
struct TileLayer
{
string name;
Array!i... | D |
// DerelictCL - a Derelict based dynamic binding for OpenCL
// written in the D programming language
//
// Copyright: MeinMein 2013-2014.
// License: Boost License 1.0
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Authors: Gerbrand Kamphuis (... | D |
instance KDF_400_RODRIGUEZ(NPC_DEFAULT)
{
name[0] = "Родригес";
npctype = NPCTYPE_MAIN;
guild = GIL_KDF;
level = 25;
voice = 12;
id = 400;
flags = NPC_FLAG_IMMORTAL;
attribute[ATR_STRENGTH] = 45;
attribute[ATR_DEXTERITY] = 35;
attribute[ATR_MANA_MAX] = 100;
attribute[ATR_MANA] = 100;
attribute[ATR_HITPOINT... | 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 |
/**
* Part of the D programming language runtime library.
*/
/*
* Copyright (C) 2004-2008 by Digital Mars, www.digitalmars.com
* Written by Walter Bright
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising ... | D |
module game.player;
import game.gameobject, game.game, base.all, base.renderer, game.multiproxy;
import game.projectiles, game.objectfactory;
import game.effects.enginetrail, game.effects.dirtcloud, game.effects.bigexplosion;
import game.scheibe, game.turret;
static import client.resources, server.resources;
import st... | D |
import std.stdio;
import autointf;
class AutoJsonRpc(I) : I
{
private int id;
private ReturnType!Func executeMethod(alias Func, ARGS...)(ARGS args)
{
import std.traits;
import std.array : join;
import std.conv : to;
// retrieve some compile time informations
alias... | D |
/workspace/target/debug/deps/buf_min-33066fb850ad3540.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/buf-min-0.4.0/src/lib.rs
/workspace/target/debug/deps/libbuf_min-33066fb850ad3540.rlib: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/buf-min-0.4.0/src/lib.rs
/workspace/target/debug/deps/buf_min... | D |
// Written in the D programming language
/**
* Floating-point decimal arithmetic.
*
* An implementation of the
* General Decimal Arithmetic Specification.
*
* Authors: Paul D. Anderson
*
* Copyright: Copyright 2009-2016 by Paul D. Anderson.
*
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Li... | D |
p present-253926760 4 7
a 1 2 40 9
a 2 1 60 17
a 2 3 50 8
a 3 1 30 24
a 4 3 60 22
a 2 4 70 14
a 4 1 30 20
| D |
/Volumes/T7/rust/author/manning/prod/chapter8/ezytutors/tutor-web-app-ssr/target/rls/debug/deps/autocfg-aa08a7cb6b0327c4.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.1/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.1/src/error.rs ... | D |
int main() {
string s1;
string s2;
s1 = "";
s2 = "(non-)empty";
Print(s1 == s2);
Print(s1 != s2);
s1 = "";
s2 = "";
Print(s1 == s2);
Print(s1 != s2);
}
| D |
/*******************************************************************************
* Copyright (c) 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, and is a... | D |
func void B_InitGuildAttitudes()
{
};
| D |
module Chunk;
import std.container : SList;
import derelict.opengl.gl;
import Block;
import GlobalVariables;
class Chunk {
Block[16][128][16] blocks;
SList!Block blockList;
int[3] pos;
uint vbo;
uint texVBO;
uint vboLen;
bool vboReady = false;
float[] vertexList;
float[] textureCoordList;
void reset... | D |
instance DIA_Huno_EXIT(DIA_Proto_End)
{
npc = BAU_108_DS2P_Huno;
};
| D |
INSTANCE Info_Mod_Zeki_Hi (C_INFO)
{
npc = Mod_7102_ASS_Zeki_NW;
nr = 1;
condition = Info_Mod_Zeki_Hi_Condition;
information = Info_Mod_Zeki_Hi_Info;
permanent = 0;
important = 0;
description = "Wer bist du?";
};
FUNC INT Info_Mod_Zeki_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Zeki_Hi_Info()
{
B_Say... | D |
module android.java.android.companion.BluetoothDeviceFilter;
public import android.java.android.companion.BluetoothDeviceFilter_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!BluetoothDeviceFilter;
import import1 = android.java.java.lang.Class;
| D |
/*
* DSFML - The Simple and Fast Multimedia Library for D
*
* Copyright (c) 2013 - 2017 Jeremy DeHaan (dehaan.jeremiah@gmail.com)
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from the
* use of this software.
... | D |
instance XBS_7513_DARRION(Npc_Default)
{
name[0] = "Даррион";
guild = GIL_OUT;
id = 7513;
voice = 11;
flags = 0;
npcType = NPCTYPE_XBSMAIN;
aivar[93] = TRUE;
B_SetAttributesToChapter(self,6);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_Schwert4);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald",167,BodyTex... | D |
module misced.serialization.BitstreamReader;
/** \brief
*
*/
class BitstreamReader(BitstreamSourceImplementation) {
protected final this() {
}
public final this(BitstreamSourceImplementation bitstreamSource) {
this.bitstreamSource = bitstreamSource;
}
/** \brief returns the next Bool
* \param successCha... | D |
module geany_dlang.config_window;
import gtk.Widget: GtkWidget, GtkDialog;
import geany_d_binding.geany.plugins;
import geany_d_binding.geany.types;
import logger: nothrowLog;
import geany_dlang.plugin: configFile;
import gtk.Builder;
extern(System) GtkWidget* configWindowDialog(GeanyPlugin* plugin, GtkDialog* dialog... | 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_28_BeT-5234539... | D |
import common;
//this struct depends on the dimension of points we're working with
//to make an actual DumbKNN object, you'd do
//auto myDKNN = DumbKNN!3(arrayOf3DPoints)
struct DumbKNN(size_t Dim){
alias PT = Point!Dim; //this is a "nickname" added for convenience
private PT[] points; //a member variable
... | D |
CHAIN IF ~InParty("O#Bran")
See("O#Bran")
!StateCheck("O#Bran",CD_STATE_NOTVALID)
!StateCheck("L#KHALID",CD_STATE_NOTVALID)
CombatCounter(0)
Global("L#BranwenKhalid","GLOBAL",0)~ THEN L#KHAB Khalid2Branwen01
@0
DO ~SetGlobal("L#BranwenKhalid","GLOBAL",1)~
== O#BBRAN @1
== O#BBRAN @2
== L#KHAB @3
== O#BBRAN @4
EXIT
CHA... | D |
/Users/aaronb/Development/Air-End/DerivedData/Air-End/Build/Intermediates/Mango.build/Debug-iphonesimulator/Mango.build/Objects-normal/x86_64/ListVC-LocationExtension.o : /Users/aaronb/Development/Air-End/Air-End/MapVC-AddressTableViewDelegate-Extension.swift /Users/aaronb/Development/Air-End/Air-End/UIColor+Extension.... | D |
import std;
void main() {
readText("hightemp.txt").chomp.split('\n').map!(i => i.split('\t'))
.array
.sort!((a, b) => a[2].to!float < b[2].to!float)
.map!(i => i.join('\t'))
.join('\n').writeln;
// $ sort hightemp.txt
}
| D |
int u,v,w,x,y,z
t1 := u + v
t2 := w + x
t3 := t1 + t2
t4 := y + z
t5 := t3 + t4
| D |
func int C_NpcIsEvil(var C_Npc slf)
{
if((slf.guild == GIL_DMT) || (slf.guild == GIL_DRAGON) || (slf.guild == GIL_ORC) || (slf.guild == GIL_DRACONIAN) || (slf.guild == GIL_DEMON) || (slf.guild == gil_summoned_demon) || (slf.aivar[AIV_MM_REAL_ID] == ID_TROLL_BLACK) || C_NpcIsUndead(slf))
{
return TRUE;
};
return ... | D |
// Written in the D programming language.
/**
* This module implements a
* $(LINK2 http://erdani.org/publications/cuj-04-2002.html,discriminated union)
* type (a.k.a.
* $(LINK2 http://en.wikipedia.org/wiki/Tagged_union,tagged union),
* $(LINK2 http://en.wikipedia.org/wiki/Algebraic_data_type,algebraic type)).
* ... | D |
FUNC VOID LORERELS ()
{
if (LoreRelendel == 1)
{
AI_Wait (hero, 10);
LoreRelendel = 2;
Wld_SendTrigger ("EVT_LORENFAHRT");
};
};
FUNC VOID LOREKHOS ()
{
if (LoreKhorinis == 1)
{
AI_Wait (hero, 10);
LoreKhorinis = 2;
Wld_SendTrigger ("EVT_LORENFAHRT");
};
};
FUNC VOID LOREREL_LETSGO_S0 ()
{
if (... | D |
/**
* The runtime module exposes information specific to the D runtime code.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly
* Source: $(LINK2 https://github.com/dlang/druntime/blob/master/src/core/runtime.d,... | D |
/home/hunain/Desktop/IOTQ1/mysql_project/target/debug/build/serde-452b2fcf66db56b7/build_script_build-452b2fcf66db56b7: /home/hunain/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.102/build.rs
/home/hunain/Desktop/IOTQ1/mysql_project/target/debug/build/serde-452b2fcf66db56b7/build_script_build-452b2fcf66db5... | D |
/**
Copyright: Ilya Yaroshenko 2013-.
License: boost.org/LICENSE_1_0.txt.
Authors: Ilya Yaroshenko
*/
module simd.traits;
import core.simd;
import std.traits;
import std.range;
import std.typecons;
import std.conv;
template IntegralAnalog(U, T = Unqual!U)
{
static if(isFloatingPoint!T && (T.sizeof <= double.sizeo... | D |
/*
* KISS - A refined core library for dlang
*
* Copyright (C) 2015-2017 Shanghai Putao Technology Co., Ltd
*
* Developer: HuntLabs
*
* Licensed under the Apache-2.0 License.
*
*/
module kiss.aio.ByteBuffer;
import core.stdc.stdlib;
import core.stdc.string;
import std.algorithm;
import std.experimental.logge... | D |
a city in southern Japan on Kyushu
| D |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, a... | D |
// Written in the D programming language.
/**
This module implements the formatting functionality for strings and
I/O. It's comparable to C99's $(D vsprintf()) and uses a similar
_format encoding scheme.
For an introductory look at $(B std._format)'s capabilities and how to use
this module see the dedi... | D |
module hunt.net.util.UrlEncoded;
import hunt.collection;
import hunt.text.Charset;
import hunt.Exceptions;
import hunt.text.Common;
import hunt.text.StringBuilder;
import hunt.util.ConverterUtils;
import hunt.logging.ConsoleLogger;
import std.conv;
import std.array;
/**
* Handles coding of MIME "x-www-form-urlen... | D |
/root/rust_projects/animation_test_rust/target/debug/build/syn-b8b11f7ea19c2576/build_script_build-b8b11f7ea19c2576: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.12/build.rs
/root/rust_projects/animation_test_rust/target/debug/build/syn-b8b11f7ea19c2576/build_script_build-b8b11f7ea19c2576.d: /root/.ca... | D |
import deimos.tcc;
import std.string;
pragma(lib, "tcc");
/**
Example shows compiling a file to an object, but not linking or running it.
*/
enum CFile = "views/helloWorld.c";
void main()
{
/// Create the State & handle deletion on exit.
auto state = tcc_new();
scope(exit)
state.tcc_delete();
... | D |
// Written in the D programming language
/*
* Copyright (C) 2003-2004 by Digital Mars, www.digitalmars.com
* Written by Walter Bright
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this s... | D |
// Written in the D programming language.
/**
Utilities for manipulating files and scanning directories. Functions
in this module handle files as a unit, e.g., read or write one _file
at a time. For opening files and manipulating them via handles refer
to module $(D $(LINK2 std_stdio.html,std.stdio)).
Macros:
WIKI = ... | D |
instance DIA_Ekor_EXIT(DIA_Proto_End)
{
npc = OUT_400_DS2P_Ekor;
};
| D |
module android.java.android.webkit.ServiceWorkerClient_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.lang.Class_d_interface;
import import0 = android.java.android.webkit.... | D |
/home/namtx/workspace/rust/reading-rust-programming/chapter_8/ch08-02-string/target/debug/deps/ch08_02_string-aa7b44cf80673bc6: src/main.rs
/home/namtx/workspace/rust/reading-rust-programming/chapter_8/ch08-02-string/target/debug/deps/ch08_02_string-aa7b44cf80673bc6.d: src/main.rs
src/main.rs:
| D |
import std.stdio;
import beverage.Beverage;
import beverage.Espresso;
import beverage.DarkRoast;
import beverage.HouseBlend;
import decorator.WhipCream;
import decorator.Mocha;
void main()
{
Beverage espresso = new Espresso;
writeln(espresso.getDescription());
writeln(espresso.cost());
Beverage whipM... | D |
/Users/kawaharakeisuke/Desktop/OneDayCalendarApp/DerivedData/OneDayCalendarApp/Build/Intermediates/OneDayCalendarApp.build/Debug-iphoneos/OneDayCalendarApp.build/Objects-normal/arm64/_SettingTableViewController.o : /Users/kawaharakeisuke/Desktop/OneDayCalendarApp/OneDayCalendarApp/_SettingTableViewController.swift /Use... | D |
/*******************************************************************************
* Copyright (c) 2000, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | D |
import 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, core.stdc.string;
void main() {
auto s = readln.split.map!(to!int);
auto N = s[0];
auto M = s[1].to!long;
auto AB = N.iota.m... | D |
/home/parz1/Desktop/RUSTAl/random/target/debug/deps/random-3dd2ab2c7b4595b5.rmeta: src/main.rs
/home/parz1/Desktop/RUSTAl/random/target/debug/deps/random-3dd2ab2c7b4595b5.d: src/main.rs
src/main.rs:
| D |
instance MIL_335_RUMBOLD(NPC_DEFAULT)
{
name[0] = "Румболд";
guild = GIL_MIL;
id = 335;
voice = 10;
flags = 0;
npctype = NPCTYPE_MAIN;
aivar[AIV_DROPDEADANDKILL] = TRUE;
b_setattributestochapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,itmw_1h_mil_sword);
b_createambientinv(self);
b_setnpcv... | D |
module factorii.game;
import dagon;
import factorii.data.config;
import factorii.scenes;
/++
+
+/
class Factorii : Game
{
/++
+
+/
this(string[] args)
{
super(config.window.width, config.window.height, config.window.fullscreen, "Factorii", args);
//currentScene = New!MainMenu... | D |
import std.stdio, std.algorithm, std.array;
/// Return one of the Longest Increasing Subsequence of
/// items using patience sorting.
T[] lis(T)(in T[] items) pure nothrow
if (__traits(compiles, T.init < T.init))
out(result) {
assert(result.length <= items.length);
assert(result.isSorted);
assert(result.al... | D |
/* 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 or agreed to in writing, software
* distributed... | D |
import derelict.sdl2.sdl;
import derelict.opengl3.gl;
import std.stdio;
import std.string;
/// Exception for SDL related issues
class SDLException : Exception
{
/// Creates an exception from SDL_GetError()
this(string file = __FILE__, size_t line = __LINE__) nothrow @nogc
{
super(cast(string) SDL_GetError().from... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1986-1998 by Symantec
* Copyright (C) 2000-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gio.simpleasyncresult;
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Cookies.build/Cookies+Literal.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/Cookies/Cookie.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/... | D |
/*
* Stack-less Just-In-Time compiler
*
* Copyright 2009-2012 Zoltan Herczeg (hzmester@freemail.hu). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source... | D |
module wx.ShowEvent;
public import wx.common, wx.Event;
//-----------------------------------------------------------------------------
extern(D) class СобытиеПоказа : Событие
{
public this(ЦелУкз вхобъ);
public this(цел идок = 0, бул показ = нет);
public бул показ();
public проц показ(бул значение);
... | D |
/**
* Code to handle debugger expression evaluation
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1995-1998 by Symantec
* Copyright (C) 2000-2022 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 ht... | D |
/// Generate by tools
module javax.xml.soap.SOAPBodyElement;
import java.lang.exceptions;
public class SOAPBodyElement
{
public this()
{
implMissing();
}
}
| D |
void main() { runSolver(); }
void problem() {
auto N = scan!long;
enum ColorMap = ['R': 0, 'G': 1, 'B': 2];
alias Dog = Tuple!(long, "cutiness", long, "color");
auto DOGS = (2 * N).iota.map!(i => Dog(scan!long, ColorMap[scan[0]])).array;
auto solve() {
auto perColor = new Dog[][](3, 0);
foreach(dog;... | D |
module gfm.math.funcs;
import std.math,
std.traits;
T min(T)(T a, T b) pure nothrow
{
return a < b ? a : b;
}
T max(T)(T a, T b) pure nothrow
{
return a > b ? a : b;
}
/**
* Convert from radians to degrees.
*/
T degrees(T)(T x) pure if (!isIntegral!T)
{
return x * (180 / PI);
}
/**
* Convert... | D |
/**
* Contains compiler-recognized user-defined attribute types.
*
* Copyright: Authors 2015-2016
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: David Nadlinger, Johan Engelen
*/
module ldc.attributes;
/// Helper template
private template AliasSeq(TList...)
{
alias... | D |
/*
Copyright (c) 2017-2018 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 |
instance Mod_7259_SLD_Orkjaeger_OGY (Npc_Default)
{
// ------ NSC ------
name = NAME_ORKJAEGER;
guild = GIL_OUT;
id = 7259;
voice = 0;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MT_ORKJAEGER;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //s... | D |
module watt.conv;
public import std.conv;
public import std.string : toLower, toStringz;
alias toInt = to!int;
alias toLong = to!long;
alias toUlong = to!ulong;
alias toFloat = to!float;
alias toDouble = to!double;
alias toString = to!string;
| D |
// Written in the D programming language.
/**
This module contains implementation of grid widgets
GridWidgetBase - abstract grid widget
StringGridWidget - grid of strings
Synopsis:
----
import dlangui.widgets.grid;
StringGridWidget grid = new StringGridWidget("GRID1");
grid.layoutWidth(FILL_PARENT).layoutHeigh... | D |
string Ivrit_data=
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" _ "~
r" | |"~
r" | |"~
r" |_|"~
r" (_)"~
r" "~
r" _ _ "~
r" ( | )"~
r" V V "~
r" "~
r" "~
r" "~
r" _ _ "~
r" _| || |_ "~
r" |_ .. _|"~
r" |_ _|"~
r" |_||_| "~
r" ... | D |
module mir.glas.internal.symm;
import std.traits;
import std.meta;
public import mir.glas.common;
import mir.ndslice.slice : Slice;
import mir.internal.utility;
import mir.glas.internal;
import mir.glas.internal.gemm;
import ldc.attributes : fastmath;
@fastmath:
pragma(inline, false)
//nothrow @nogc
void symm_impl(... | 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 |
a county in southeastern England on the English Channel
United States painter noted for his woodcuts (1882-1971)
| D |
module wiz.helper;
import std.stdio;
mixin template Accessor(alias attr, Rest...)
{
mixin("@property auto " ~ attr.stringof[1 .. $] ~ "() { return " ~ attr.stringof ~ "; }");
static if(Rest.length > 0)
{
mixin wiz.helper.Accessor!(Rest);
}
}
void staticInit(alias dest)(lazy typeo... | D |
/home/bigdata/Documents/projects/snake_game/target/rls/debug/deps/snake_game-a8ed8b4566cecf26.rmeta: src/main.rs
/home/bigdata/Documents/projects/snake_game/target/rls/debug/deps/snake_game-a8ed8b4566cecf26.d: src/main.rs
src/main.rs:
| D |
module inui.widgets.popup;
import bindbc.imgui;
/**
Begins rendering popup
Call uiImEndPopup at the end of your popup IF uiImBeginPopup returns true.
*/
bool uiImBeginPopup(string id) {
return igBeginPopupEx(
igGetID(id.ptr, id.ptr+id.length),
ImGuiWindowFlags.AlwaysAutoResize |
... | D |
/Users/marcelo/Documents/Repos/ios/test-appium-ios/build/test-appium-ios.build/Release-iphonesimulator/test-appium-ios.build/Objects-normal/x86_64/ViewController.o : /Users/marcelo/Documents/Repos/ios/test-appium-ios/test-appium-ios/SceneDelegate.swift /Users/marcelo/Documents/Repos/ios/test-appium-ios/test-appium-ios/... | D |
module app;
import std.math; // cos
import std.stdio; // writeln
import std.conv; // to
import gl3n.linalg; // vec3 mat4
import std.stdio : writeln;
import shaders; // without - Error: undefined identifier Shader, createProgramFromShaders, ...
import event_handler; // without - Error: undefined ... | D |
a worthless lazy fellow
large somewhat primitive fish-eating diving bird of the northern hemisphere having webbed feet placed far back
a person with confused ideas
| D |
/*******************************************************************************************
*
* raylib [text] example - Font loading
*
* raylib can load fonts from multiple file formats:
*
* - TTF/OTF > Sprite font atlas is generated on loading, user can configure
* some of the generatio... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
alias P = Tuple!(int, "r", int, "c");
P[10^^5] PP;
int[10^^5] RS, CS;
void main()
{
auto rck = readln.split.to!(int[]);
auto R = rck[0];
auto C = rck[1];
auto K = rck[2];
auto N =... | D |
module drunmeta.examples.statements.ifcondition;
import drunmeta;
import std.stdio;
struct IfConditionExample_ {
void one() {
/*
* if "abc" equals "def" then
* output "equal"
* else
* output "not equal"
*/
Code code = new Code();
IfCondition ifc = new IfCondition(ConditionType.Equals, new ... | D |
the mast next above a lower mast and topmost in a fore-and-aft rig
| D |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.build/FileHandle.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/NonBloc... | D |
module orelang.operator.DefvarOperator;
import orelang.operator.IOperator,
orelang.Engine,
orelang.Value;
class DefvarOperator : IOperator {
/**
* call
*/
public Value call(Engine engine, Value[] args) {
return engine.defineVariable(args[0].getString, engine.eval(args[1]));
}
}
| D |
/Users/linwei/Desktop/Fib/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/x86_64/MainFlutterWindow.o : /Users/linwei/Desktop/Fib/macos/Runner/AppDelegate.swift /Users/linwei/Desktop/Fib/macos/Flutter/GeneratedPluginRegistrant.swift /Users/linwei/Desktop/Fib/macos/Runner/MainFlutte... | D |
module assembler.general;
import std.algorithm;
import std.array;
import std.string;
import std.traits;
import std.conv;
import common.opcode;
import common.cpu;
import common.program;
import assembler.lexer;
import assembler.parse;
import assembler.main;
auto getOpcodeStructureFromFunction(string functionName = __... | D |
/Users/spadakao/Documents/ios/hw2Test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/DateFormatterTransform.o : /Users/spadakao/Documents/ios/hw2Test/Pods/ObjectMapper/ObjectMapper/Transforms/CustomDateFormatTransform.swift /Users/spadakao/Documents/ios/hw2Test/Pods/ObjectMapper/ObjectM... | D |
enum CV41_SIG = '9' << 24 | '0' << 16 | 'B' << 8 | 'N';
struct CV_DIRHEADER
{
ushort cbDirHeader;
ushort cbDirEntry;
uint cDir;
uint lfoNextDir;
uint flags;
}
struct CV_DIRENTRY
{
ushort subsection;
ushort iMod;
uint lfo;
uint cb;
}
enum : ushort
{
sstModule = 0x120,
sstT... | D |
instance Mod_1315_SLD_Organisator_MT (Npc_Default)
{
//-------- primary data --------
name = Name_Organisator;
Npctype = Npctype_mt_soeldner;
guild = GIL_mil;
level = 8;
voice = 8;
id = 1315;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
EquipItem (s... | D |
/Users/admin/Desktop/Day07/UIViewControls/DerivedData/UIViewControls/Build/Intermediates/UIViewControls.build/Debug-iphonesimulator/UIViewControls.build/Objects-normal/i386/ConsoleScreen.o : /Users/admin/Desktop/Day07/UIViewControls/UIViewControls/MainScreen.swift /Users/admin/Desktop/Day07/UIViewControls/UIViewControl... | D |
module main;
import mustache;
import std.algorithm;
import std.string;
import std.array;
import std.stdio;
import std.getopt;
import std.file : readText;
import std.conv : to;
import std.exception;
import std.path;
import std.file;
import parse;
import config;
alias MustacheEngine!(string) Mustache;
alias size_t[st... | D |
// Copyright 2005 Google Inc. All Rights Reserved.
//
// 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... | D |
/**
Convenience wrappers types for accessing Redis keys.
Note that the API is still subject to change!
Copyright: © 2014 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.db.redis.types;
import core.time : Du... | D |
module a;
interface Foo()
{
import b;
}
| D |
//TODO: Lots of stuff
//TODO: make members private etc
module worldstate.sector;
import std.algorithm;
import std.conv;
import std.exception;
//import std.file;
import std.range;
import std.stdio;
import clans;
import entitytypemanager;
import light;
import globals : g_worldPath;
import worldgen.maps;
import worlds... | D |
void main() {
auto N = readAs!long;
auto V = readAs!(long[]);
writeln(V.sum - N * (N + 1) / 2);
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
import std.range;
import std.traits;
import std.math;
import std.container;
import std.bigint;
i... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright (c) 2013 Lars Tandle Kyllingstad.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Lars Tandle Kyllingstad
* Standards: The Open Group Base Specifications Issue 7, IEEE Std 1003.1-2008
*/
module core.sys.posix.sys.resource... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.