code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/**
* Compiler implementation of the D programming language
* http://dlang.org
*
* Copyright: Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
* Authors: Walter Bright, http://www.digitalmars.com
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: ... | D |
/*
* Copyright (c) 2018-2020 sel-project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... | D |
module hunt.http.codec.websocket.model.extension.compress.XWebkitDeflateFrameExtension;
/**
* Implementation of the <a href="https://tools.ietf.org/id/draft-tyoshino-hybi-websocket-perframe-deflate-05.txt">x-webkit-deflate-frame</a> extension seen out
* in the wild. Using the alternate extension identification
*/
/... | D |
an overland journey by hunters (especially in Africa)
| D |
module pegged.examples.peggedgrammar;
import pegged.grammar;
enum PEGGEDgrammar = `
# This is the PEG extended grammar used by Pegged
Pegged:
# Syntactic rules:
Grammar <- Spacing GrammarName Definition+ :eoi
Definition <- LhsName Arrow Expression
Expression <- Sequence (:OR Sequence)*
Sequence <- Prefi... | D |
module vdrive.util;
public :
import vdrive.util.info;
import vdrive.util.util;
import vdrive.util.array;
import vdrive.util.string; | D |
/Users/zhujiabin/Desktop/EECS441/FoodTracker/DerivedData/FoodTracker/Build/Intermediates.noindex/FoodTracker.build/Debug-iphonesimulator/FoodTracker.build/Objects-normal/x86_64/ViewController.o : /Users/zhujiabin/Desktop/EECS441/FoodTracker/FoodTracker/AppDelegate.swift /Users/zhujiabin/Desktop/EECS441/FoodTracker/Food... | D |
/**
* Copyright © 2018 - 2019 Sergei Iurevich Filippov, 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
*
* Un... | D |
module example;
import core.thread;
import primordial.init;
import primordial.sdl.display;
import primordial.primitives.shapes;
import primordial.defaults : default_screen;
import primordial.colors : red, black;
int main()
{
primordial.init.primordial_init(true);
sdl_window window = new sdl_window("Example... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallPulseSync.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/Alchemin... | D |
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: false-start
Help: Enable TLS False Start
Protocols: TLS
Added: 7.42.0
Category: tls
Example: --false-start $URL
See-also: tcp-fastopen
Multi: boolean
---
Tells curl to use false start during the TLS ha... | D |
module gamelib.area;
import gamelib.all;
import mylib.utils;
import std.math;
import std.conv;
import std.stdio;
/// 範囲をあらわすクラス
abstract class Area : Rectangle, DoubleCircle{
/// コンストラクタ
this(){}
/// 何かのAreaとの当たり判定
const pure abstract bool detectCollision(in CollisionDetector cd, in Area,
... | D |
INSTANCE Mod_10023_Orc_Warrior_MT(Mst_Default_OrcWarrior)
{
//----- Monster -----
name = "Ork Krieger";
guild = GIL_FRIENDLY_ORC;
id = 10023;
voice = 18;
level = 30;
Npctype = NPCTYPE_MAIN;
fight_tactic = FAI_ORC;
Mdl_SetVisual (self, "Orc.mds");
// Body-Mesh Body... | D |
module widget.controller.page.index.index;
import widget;
class PageIndexController : WidgetControllerPrototype{
this(){
super();
this.name = "index";
this.web_interface_settings.urlPrefix = "/"~this.name;
this.router.registerWebInterface(this, this.web_interface_settings);
}
@method(HTTPMethod.GET){
/+... | D |
/Users/kristoferhuang/Desktop/Worktide/build/Worktide.build/Debug-iphonesimulator/Worktide.build/Objects-normal/x86_64/ScheduleModel.o : /Users/kristoferhuang/Desktop/Worktide/Worktide/Helper/HelperForUploadingData.swift /Users/kristoferhuang/Desktop/Worktide/Worktide/Extensions/UITextField.swift /Users/kristoferhuang/... | D |
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
// Licensed under the MIT License:
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | D |
/*
TEST_OUTPUT:
---
fail_compilation/ice9494.d(10): Error: circular reference to variable `ice9494.test`
fail_compilation/ice9494.d(14): Error: circular reference to variable `ice9494.Foo.test`
fail_compilation/ice9494.d(19): Error: circular reference to variable `ice9494.Bar.test`
---
*/
int[test] test; // stack ove... | D |
a dome-shaped shrine erected by Buddhists
drink excessive amounts of alcohol
| D |
import std.stdio;
import std.string;
import std.array;
import darrow.typedefs;
import darrow.table;
struct Book
{
int a = 10;
uint b = 20;
bool c = false;
long[2] prices;
int[2][2] qtys;
}
void main(string[] argv)
{
assert (argv.length == 2, "pass in true for compressed write, else false")... | D |
module tests.math;
import denj.utility;
import denj.math;
void MathTests(){
VectorTests();
MatrixTests();
}
private:
void VectorTests(){
Log("VectorTests");
auto a = vec4(1, 0, 1, 0);
auto b = vec4(1, 1, 0.4, 0);
LogF("%s + %s = %s", a, b, a + b);
Log();
}
void MatrixTests(){
Log("MatrixTests");
auto r90... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Switch.o : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Obs... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
298.700012 68.4000015 2.9000001 130.600006 23 28 -38.4000015 144.300003 138 4.80000019 4.80000019 sediments, limestone
213.300003 85.5 9.89999962 22.3999996 16 23 -9.60000038 119.400002 7788 5.4000001 10.3000002 extrusives, andesites, dacites
294.3... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.build/UnsignedInteger+Shifting.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/c... | D |
module helpers.helperfactory;
public import helpers.passwordHelper;
public import helpers.emailHelper;
public import helpers.stringsHelper;
public import helpers.validatorHelper;
import entity.smtpsettings;
import query.factory;
class HelperFactory
{
private QueryFactory queryFactory;
this(Que... | D |
module android.java.android.widget.RatingBar_OnRatingBarChangeListener_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.widget.RatingBar_d_interface;
import import1 = and... | D |
/Users/jonavon/Library/Mobile\ Documents/com~apple~CloudDocs/FSDevelopment/FaceSpace22-bawjyhvzdcegbobjzuzhcomyaqyo/Build/Intermediates.noindex/FaceSpace22.build/Debug-iphoneos/FaceSpace22.build/Objects-normal/arm64/AppTabBarController.o : /Users/jonavon/Library/Mobile\ Documents/com~apple~CloudDocs/FSDevelopment/FaceS... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail8009.d(9): Error: template `fail8009.filter` is not callable using argument types `!()(void)`
fail_compilation/fail8009.d(8): Candidate is: `filter(R)(scope bool delegate(ref BAD!R) func)`
---
*/
void filter(R)(scope bool delegate(ref BAD!R) func) { }
void main() { filter... | D |
an opening remark intended to secure an advantage for the speaker
a maneuver in a game or conversation
| D |
/Users/hernaniruegasvillarreal/Documents/TEC/semestre-8/dispositivos-moviles/primer-parcial/tableViewController/Build/Intermediates/tableViewController.build/Debug-iphonesimulator/tableViewController.build/Objects-normal/x86_64/AppDelegate.o : /Users/hernaniruegasvillarreal/Documents/TEC/semestre-8/dispositivos-moviles... | D |
program main;
procedure write_int(val : integer);
const
ASCII0 = 48; { ascii value of '0' }
MINUS = 45;
var
c : integer;
buf : array[10] of integer; { enough for 10 digits }
bufp : integer;
begin
if (val = 0) then
write(ASCII0);
return;
end;
if (val < 0) then
write(MIN... | D |
module shader;
import std.stdio;
import std.file;
import std.string;
import std.experimental.logger;
import derelict.opengl3.gl3;
GLuint LoadShader(string vertexFilePath, string fragmentFilePath)
{
string vertexShaderCode = readText(vertexFilePath);
string fragmentShaderCode = readText(fragmentFilePath);
// Cre... | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Console.build/Output/ConsoleTextFragment.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-4717909685433189223/Sources/Console/Terminal/ANSI.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-471790968... | D |
/++++
お天気Hack、してみませんか?
http://weather.livedoor.com/weather_hacks/
#License
Copyright (c) 2014- Seiji Fujita
Distributed under the Boost Software License, Version 1.0.
+++++/
module weather_hacks;
import std.net.curl;
import std.json;
import std.file;
import std.exception;
import std.stdio;
import debuglog;
enum we... | D |
module flipper.boards.penguinoavr;
import std.compat;
import std.stdio;
import tango.io.Stdout;
import flipper.debuginterface;
import flipper.board;
import flipper.protocols.jtag;
import flipper.chips.avr;
import flipper.flash.avrflash;
class PenguinoAVRBoard : Board {
this( DebugInterface iface ) {
super( iface... | D |
/*******************************************************************************************
** Feuermagier (Runensteine und Scrolls) **
*******************************************************************************************/
// Light (Scrolls und Runen)
INSTANCE ItArRuneLight (C_Item)
{
name ... | D |
import Console : Console;
import Patch : Patch;
import EFI : EFI, EFIContainer, File, UserInterfaceSection, RawSection;
import EFIUtils : find, findAll, printEFI, printFileMapping;
import Utils : patchData;
import std.stdio : writefln, write;
import std.file : read, filewrite = write;
import std.e... | D |
# FIXED
HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/hal_flash_wrapper.c
HAL/Target/CC2650/Drivers/hal_flash_wrapper.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc/hal_board.h
HAL/Target/CC2650/Drivers/hal_flash_wrap... | D |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/OpenCombineFoundation.build/Timer+Publisher.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/OpenCombine/Sources/OpenCombineFoundation/Helpers/Locking.swift /Users/sad... | D |
int main()
{
int i;
i = 3;
for (i = 0; i < 10; i = i * 2) {
Print(i);
i = i + 1;
}
Print("yes\n");
Print(i);
}
| D |
/**
* imageComponent.d
* tower
* May 6, 2013
* Brandon Surmanski
*/
module ui.imageComponent;
import gl.glb.glb;
import math.matrix;
import container.geom.mesh;
import ui.component;
import ui.glbComponent;
class ImageComponent : GlbComponent
{
Texture *texture;
this(){super(); texture = null;}
t... | D |
instance TPL_1431_Templer(Npc_Default)
{
name[0] = NAME_Templer;
npcType = npctype_guard;
guild = GIL_TPL;
level = 12;
voice = 13;
id = 1431;
attribute[ATR_STRENGTH] = 45;
attribute[ATR_DEXTERITY] = 25;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 184;
attribute[ATR_... | D |
// Written in the D programming language
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import std.algorithm;
import dexpr, util;
DExpr computeSum(DExpr expr,DExpr facts=one){
auto var=db1;
auto newFacts=(facts.incDeBruijnVar(1,0)*dIsℤ(db1)).simplify(one);
auto nexpr=expr.simplify(newFacts);
... | D |
/Users/oslo/code/swift_vapor_server/.build/debug/Leaf.build/Tag/Models/Else.swift.o : /Users/oslo/code/swift_vapor_server/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/oslo/code/swift_vapor_server/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /Users/oslo/code/swift_vapor_server/Packages/Leaf-1.0.6/Sources/L... | D |
/**
* Hooks for application level policies on TLS connections
*
* Copyright:
* (C) 2004-2006,2013 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.tls.policy;
import botan.constants;
static if (BOTAN_HAS_TLS):
import botan.tls... | D |
/**
Implements WebSocket support and fallbacks for older browsers.
Copyright: © 2012-2014 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Jan Krüger
*/
module vibe.http.websockets;
///
unittest {
void handleConn(scope WebSocket sock)
... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Console.build/Bar/Progress/Console+ProgressBar.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/console.git--2431895819212044213/Sources/Console/Swift3.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleC... | D |
module droid.data.serialization;
import vibe.data.json;
import droid.data.snowflake;
template SnowflakePolicy(T : Snowflake)
{
import std.conv : to;
static string toRepresentation(in T value) @safe
{
return to!string(value);
}
static T fromRepresentation(in string value) @safe
{
... | D |
instance NOV_1302_Viran (Npc_Default)
{
//-------- primary data --------
name = "Viran";
Npctype = Npctype_Main;
guild = GIL_NOV;
level = 15;
voice = 7;
id = 1302;
//-------- abilities --------
attribute[ATR_STRENGTH] = 15;
attribute[ATR_DEXTERITY] = 15;
attribute[ATR_MANA_MAX] ... | D |
/*
TEST_OUTPUT:
---
fail_compilation/b19717.d(16): Error: undefined identifier `Foo`, did you mean function `foo`?
fail_compilation/b19717.d(13): Error: forward reference to template `foo`
fail_compilation/b19717.d(13): Error: forward reference to inferred return type of function call `foo()`
---
*/
enum bar = __trait... | D |
// Copyright Steve Teale 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Written in the D programming language
module treeops;
import tree;
import mainwin;
import treeops;
import ... | D |
FUNC VOID Kampfperks()
{
}; | D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.build/Database/ConfiguredDatabase.swift.o : /Users/work/Projects/Hello/.build/checkouts/database-kit.git--3872818599693266265/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/work/Projects/Hello/.build/checkouts/database-kit.git--38728185... | D |
/*
* D interface file:
* Author: Chibisi Chima-Okereke
*/
module gsl.vector;
import gsl.vector_complex_long_double;
import gsl.vector_complex_double;
import gsl.vector_complex_float;
import gsl.vector_long_double;
import gsl.vector_double;
import gsl.vector_float;
import gsl.vector_ulong;
import gsl.vector_long;
im... | D |
instance DIA_GRD_5032_EXIT(C_Info)
{
npc = grd_5032_carlos;
nr = 999;
condition = dia_grd_5032_exit_condition;
information = dia_grd_5032_exit_info;
permanent = 1;
description = DIALOG_ENDE;
};
func int dia_grd_5032_exit_condition()
{
return 1;
};
func void dia_grd_5032_exit_info()
{
AI_StopProcessInfos(self)... | D |
module dlangui.graphics.scene.scene3d;
import dlangui.graphics.scene.node;
import dlangui.graphics.scene.camera;
import dlangui.core.math3d;
/// 3D scene
class Scene3d : Node3d {
protected vec3 _ambientColor;
protected Camera _activeCamera;
/// ambient light color
@property vec3 ambientColor() { re... | D |
INSTANCE Info_Mod_Kurgan_OM_Hi (C_INFO)
{
npc = Mod_1031_DMR_Kurgan_OM;
nr = 1;
condition = Info_Mod_Kurgan_OM_Hi_Condition;
information = Info_Mod_Kurgan_OM_Hi_Info;
permanent = 0;
important = 0;
description = "Wer bist du?";
};
FUNC INT Info_Mod_Kurgan_OM_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_K... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto A = scan!int(N);
auto solve() {
return A.reverse.cumulativeFold!"a + b".count!"a >= 4";
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std;
T[][] combinations(T)(T[] s, in long m) { if (!m)... | D |
<?xml version="1.0" encoding="UTF-8"?>
<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="extract.notation#_qgrNAP7kEeOvCYT7... | D |
// Written in the D programming language.
/**
This module is a port of a growing fragment of the $(D_PARAM numeric)
header in Alexander Stepanov's $(LINK2 https://en.wikipedia.org/wiki/Standard_Template_Library,
Standard Template Library), with a few additions.
Macros:
Copyright: Copyright Andrei Alexandrescu 2008 - ... | D |
func int C_WantToCallGuards(var C_Npc slf)
{
if(self.aivar[AIV_PARTYMEMBER] == FALSE)
{
if((slf.guild == GIL_PAL) || (slf.guild == GIL_MIL) || (slf.guild == GIL_VLK) || (slf.guild == GIL_SLD) || (slf.guild == GIL_BAU) || (self.guild == GIL_GUR) || (self.guild == GIL_TPL) || (self.guild == GIL_SEK))
{
return T... | D |
a = 1 + 2
func add1(a, b) {
e = 100
c = a + b + e
return c
}
d = 1
e = 2
func add2(a, b) {
c = a + b + d + e
return c
}
import "fmt"
fmt.Println(add2(10, 20))
| D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Command.build/Utilities/Utilities.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/console/Sources/Command/Command/Command.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/console... | D |
module Kanan.color;
enum Color {
White,
Blue,
Red
}
| D |
/**
A HTTP 1.1/1.0 server implementation.
Copyright: © 2012-2013 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig, Jan Krüger
*/
module vibe.http.log;
import vibe.core.file;
import vibe.core.log;
import vibe.core.sync : Interruptible... | 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 |
/Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/DerivedData/XYiOS/Build/Intermediates/XYiOS.build/Debug-iphonesimulator/XYiOS.build/Objects-normal/x86_64/View+Animation.o : /Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/XYiOS/Sepia.swift /Users/tom.power/Developer/MusicTechProjects/XY... | D |
/**
* 微信卡券-投放卡券-创建二维码接口
*
*
*/
module hunt.wechat.bean.card.qrcode.create;
public import hunt.wechat.bean.card.qrcode.create.ActionInfo;
public import hunt.wechat.bean.card.qrcode.create.ActionInfoCard;
public import hunt.wechat.bean.card.qrcode.create.ActionInfoMultiple;
public import hunt.wechat.be... | D |
/Users/leo/Desktop/Practice_iOS/StackViewDemo/DerivedData/StackViewDemo/Build/Intermediates/StackViewDemo.build/Debug-iphoneos/StackViewDemo.build/Objects-normal/arm64/AppDelegate.o : /Users/leo/Desktop/Practice_iOS/StackViewDemo/StackViewDemo/AppDelegate.swift /Users/leo/Desktop/Practice_iOS/StackViewDemo/StackViewDem... | D |
/Users/denny/code/rust/my-redis/target/rls/debug/build/serde-02b24964fc03590f/build_script_build-02b24964fc03590f: /Users/denny/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/build.rs
/Users/denny/code/rust/my-redis/target/rls/debug/build/serde-02b24964fc03590f/build_script_build-02b24964fc03590f.d: /Us... | D |
E: c18, c20, c75, c34, c40, c17, c25, c47, c10, c63, c7, c51, c46, c8, c19, c64, c53, c16, c94, c12, c91, c32, c43, c50, c42, c28, c72, c23, c21, c61, c11, c81, c90, c83, c66, c15, c74, c60, c79, c24, c80, c4, c86, c82, c62, c76, c26, c85, c70, c38, c0, c55, c71, c13, c57, c33, c65, c49, c77, c5, c59, c67, c39, c58, c6... | D |
module tosuke.smilebasic.compiler.node.expression;
import tosuke.smilebasic.compiler.node;
import tosuke.smilebasic.compiler;
import tosuke.smilebasic.value;
import std.algorithm, std.array;
import std.conv : to;
///式の構成要素
abstract class ExpressionNode : Node {
///初期化
this(string name, Node[] children = []) {
... | D |
module musicimage.spiral;
import std.stdio;
import std.getopt;
import std.math;
import std.algorithm;
import std.format;
struct Point {
real x, y;
PointInt toPointInt() {
return PointInt(cast(int)round(this.x), cast(int)round(this.y));
}
}
struct PointInt {
int x, y;
PointInt opBinary(string op)(PointInt ot... | D |
// hex floating point
void main() {
float f = 0xa.2p+3;
} | D |
/******************************************************************//**
* \file src/gui/formats/img.d
* \brief Image format definition
*
* <i>Copyright (c) 2012</i> Danny Arends<br>
* Last modified Feb, 2012<br>
* First written Dec, 2011<br>
* Written in the D Programming Language (http://www.digitalmars.com/d)
... | D |
/**
* Unit tests for Entity.d
*
*/
module entity_test;
import ashd.core.component: Component;
import ashd.core.entity : Entity;
int main()
{
(new EntityTests).addReturnsReferenceToEntity();
(new EntityTests).canStoreAndRetrieveComponent();
(new EntityTests).canStoreAndRetrieveMultipleComponents();
... | 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_10_BeT-4128162... | D |
module telega.drivers.requests;
version(TelegaRequestsDriver) enum HaveRequestsDriver = true;
else enum HaveRequestsDriver = false;
static if(HaveRequestsDriver):
import telega.http;
import requests;
import socks.socks5;
class RequestsHttpClient: HttpClient
{
import core.time;
protected:
string pro... | D |
/*
Written in the D programming language.
For git maintenance (ensure at least one congruent line with originating C header):
#define crypto_generichash_blake2b_H
*/
module deimos.sodium.crypto_generichash_blake2b;
extern(C) @nogc :
version(bin_v1_0_16)
align(64) struct crypto_generichash_blake2b_state {
... | D |
import std.stdio, std.conv, std.array, std.string;
import std.algorithm;
import std.container;
import std.range;
import core.stdc.stdlib;
import std.math;
void main() {
bool[int] kuku_answers;
foreach(i; 1..10) {
foreach(o; 1..10) {
kuku_answers[i*o] = true;
}
}
auto N = readln.chomp.to!int;
... | D |
/Users/stefan/Documents/Developer/CodingSwiftly/CocoaPodDemos/ElasticTransitionDemo/DerivedData/ElasticTransitionDemo/Build/Intermediates/Pods.build/Debug-iphonesimulator/MotionAnimation.build/Objects-normal/x86_64/SpringValueAnimation.o : /Users/stefan/Documents/Developer/CodingSwiftly/CocoaPodDemos/ElasticTransitionD... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Sean Kelly, Alex Rønne Petersen
* Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
*/
/* Co... | D |
//ketmar: Adam didn't wrote this, don't blame him!
module arsd.targa;
import arsd.color;
import std.stdio : File; // sorry
static if (__traits(compiles, { import iv.vfs; })) enum ArsdTargaHasIVVFS = true; else enum ArsdTargaHasIVVFS = false;
static if (ArsdTargaHasIVVFS) import iv.vfs;
// //////////////////////////... | D |
module windows.applicationinstallationandservicing;
public import system;
public import windows.automation;
public import windows.com;
public import windows.deviceanddriver;
public import windows.security;
public import windows.structuredstorage;
public import windows.systemservices;
public import windows.windowsandme... | D |
func void B_ClearBonusFoodInv(var C_Npc slf)
{
if(!C_NpcIsHero(slf))
{
if(InfiniteApples == FALSE)
{
if(slf.aivar[AIV_GetBonusFood] == TRUE)
{
B_RemoveEveryInvItem(slf,ItFo_Apple);
}
else
{
slf.aivar[AIV_GetBonusFood] = TRUE;
};
};
if(slf.guild == GIL_PAL)
{
i... | D |
module app;
import std.stdio;
///
struct CmdOptions
{
private string stdoutFile;
private string stderrFile;
private string scriptOnRestart;
private int max = -1;
private int minUptime = 1000;
///
public void parse(ref string[] _args)
{
import std.getopt : getopt;
getopt(_args,
"log|l", &stdoutFile,
... | D |
module org.serviio.library.local.metadata.extractor.embedded.FLACExtractionStrategy;
import java.io.IOException;
import org.jaudiotagger.audio.AudioFile;
import org.jaudiotagger.audio.AudioHeader;
import org.jaudiotagger.tag.Tag;
import org.serviio.dlna.AudioContainer;
import org.serviio.library.local.metadata.AudioMe... | D |
import bindbc.sdl;
import core.time;
import std.stdio;
import asteroids.world;
import asteroids.input;
/// Iterate through user input and window events
bool process_events(ref InputEvents events, ref WorldSize worldSize) {
SDL_Event event = void;
while (SDL_PollEvent(&event) != 0) {
switch (event.type) {
case ... | D |
/******************************************************************************
* BEH *
* Source Code *
* *
... | D |
the general atmosphere of a place or situation and the effect that it has on people
(physics) the six kinds of quarks
the taste experience when a savoury condiment is taken into the mouth
lend flavor to
| D |
/Users/lizziesiegle/Desktop/server/DerivedData/server/Build/Intermediates/server.build/Debug/KituraNet.build/Objects-normal/x86_64/URLParser.o : /Users/lizziesiegle/Desktop/server/Packages/Kitura-net-1.6.2/Sources/KituraNet/BufferList.swift /Users/lizziesiegle/Desktop/server/Packages/Kitura-net-1.6.2/Sources/KituraNet/... | D |
a person who is rejected (from society or home)
| D |
/home/pangpangguy/Ensimag/ProjetRust/learnrust/rustTDTP/TD1/code/target/rls/debug/deps/bar-75eaeae83b071030.rmeta: src/main.rs
/home/pangpangguy/Ensimag/ProjetRust/learnrust/rustTDTP/TD1/code/target/rls/debug/deps/bar-75eaeae83b071030.d: src/main.rs
src/main.rs:
| D |
module armos.graphics.vao;
import armos.graphics.buffer;
import derelict.opengl3.gl;
/++
+/
class Vao {
public{
/++
+/
this(){
glGenVertexArrays(1, cast(uint*)&_id);
}
~this(){
glDeleteVertexArrays(1, cast(uint*)&_id);
}
/++
... | D |
module clone;
import git.c;
import core.thread;
import std.concurrency;
import std.string;
import std.stdio;
import common;
void clone_thread()
{
git_repository* repo = null;
// Kick off the clone
clone_data.ret = git_clone(&repo, toStringz(clone_data.url), toStringz(clone_data.path),
... | D |
INSTANCE ItMi_TempelTorKey_wrong (C_ITEM)
{
name = "Steintafel des Quarhodron";
mainflag = ITEM_KAT_DOCS;
flags = ITEM_MISSION|ITEM_MULTI;
value = 0;
visual = "ItMi_StonePlate_Read_06.3ds";
material = MAT_STONE;
scemeName = "MAP";
on_state[0] = Use_TempelTorKey_wrong;
TEXT[2] ... | D |
/+++++++++++++++++++++++++++++++++++
+ DuoD
+ Duo asset management integration
+
+ Authors: Taylor "Nekroze" Lawson, <tlawson@nekroze.com>
+ License: MIT
+ Copyright: 2015, Taylor Lawson
+ History:
+ v1.2.0 - Added RequireMin template for explicit minification.
+ v1.1.0 - Corrected issue with diet te... | D |
module scone.os.windows.input.windows_input;
version (Windows)
{
import scone.input.os.standard_input : StandardInput;
import core.sys.windows.windows;
import scone.output.types.size : Size;
import scone.input.input : Input;
import scone.input.keyboard_event : KeyboardEvent;
import scone.input.... | D |
import std.algorithm.searching;
import std.format;
import std.stdio;
ulong game(ulong marbles, ulong players)
{
marbles++;
ulong[] next = new ulong[marbles];
ulong[] prev = new ulong[marbles];
ulong[] score = new ulong[players];
next[0] = prev[0] = 0;
ulong cur = 0;
ulong player = 0;
for (ulong i = 1; i < mar... | D |
/Users/hiro/Desktop/SwiftPractic/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/CustomDateFormatTransform.o : /Users/hiro/Desktop/SwiftPractic/Pods/ObjectMapper/Sources/FromJSON.swift /Users/hiro/Desktop/SwiftPractic/Pods/ObjectMapper/Sources/ToJSON.swift /Users/hiro/Desktop/SwiftPracti... | D |
module java.io.IOException;
final class IOException : Exception
{
this(string msg, string file=__FILE__, size_t line=__LINE__, Throwable next=null) pure nothrow @nogc @safe
{
super(msg, file, line, next);
}
}
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.