code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module c.openssl.ossl_typ;
// public import c.openssl.opensslconf;
// These imports are not in the original header, but D needs them.
// Otherwise, D won't know what the aliases in this module are referring to.
import c.openssl.crypto;
import c.openssl.evp;
import c.openssl.ecdsa;
extern (C):
alias asn1_string_st ... | D |
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustPolicy.o : /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/AFError.swift /Users/apple-1/Downloads/HouseKeeping/Pods/Alamofire/Source/Alamofire.swift /Users/apple-1/Down... | D |
512 sergei_eisenstein
1 edwin_s_porter
6315 alfred_e_green
6148 stuart_heisler
6662 robert_rosen
4609 erle_c_kenton
6157 s_sylvan_simon
15 dw_griffith
7013 anatole_litvak
6165 leslie_arliss
6678 henry_hathaway
5729 gunther_von_fritsch
2075 leni_riefenstahl
542 rupert_julian
4639 _0478303
1570 wesley_ruggles
2595 cecil_... | D |
void main() {
void[] data;
data ~= cast(void) 0;
}
| D |
module dinu.draw;
import dinu;
__gshared:
alias Color = size_t;
struct FontColor {
Color id;
XftColor id_xft;
alias id this;
}
struct Font {
string name;
int ascent;
int descent;
int height;
int width;
XFontSet set;
XFontStruct *xfont;
XftFont *xft_font;
}
string tabsToSpaces(string text, int spaces... | D |
/Users/nguyenductai/Desktop/test/testCustomVideo/Build/Intermediates/customVideo.build/Debug-iphonesimulator/customVideo.build/Objects-normal/x86_64/AppDelegate.o : /Users/nguyenductai/Desktop/test/testCustomVideo/customVideo/AppDelegate.swift /Users/nguyenductai/Desktop/test/testCustomVideo/customVideo/VideoLaucher.sw... | D |
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallZigZagDeflect.o : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBa... | D |
module util;
void dumpProgramInput(T,U)(T argv, U envp)
{
import mar.stdio : stderr, stdout;
/*
{
// TODO: replace call to getcwd (see filesys.d getcwd2)
char[100] buffer;
auto result = getcwd(buffer.ptr, buffer.length);
if (result.isNull)
{
stderr.write("Er... | D |
/Users/mac/Desktop/IOS_VNM/Assignment_iOS_Team_VNM/build/Assignment.build/Debug-iphonesimulator/Assignment.build/Objects-normal/x86_64/NotificationName+Extension.o : /Users/mac/Desktop/IOS_VNM/Assignment_iOS_Team_VNM/Assignment/Controller/AlarmPIC.swift /Users/mac/Desktop/IOS_VNM/Assignment_iOS_Team_VNM/Assignment/Cont... | D |
module rna;
string dnaComplement(string dna) {
// Your code here.
return dna;
}
| D |
module barcode.util;
import std.exception;
import std.typecons : Flag;
import std.bitmanip : bitfields;
public import std.typecons : tuple;
public import std.bitmanip : BitArray;
alias AppendCheckSum = Flag!"appendCheckSum";
///
struct Bits(T=ulong)
if (is(T==ubyte) || is(T==ushort) || is(T==uint) || is(T==ulon... | D |
module stl;
public import std.stdio, std.algorithm, std.math, std.string,
std.array, std.bitmanip, std.concurrency, std.typecons,
std.random, std.conv, std.exception;
public static import file = std.file,
regex = std.regex,
json = std.json;
/// --- ... | D |
/**
* xmm specific code generation
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2011-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(L... | D |
/Users/yunyunchen1/dev/mojo-test/build/Pods.build/Debug-iphonesimulator/TinyConstraints.build/Objects-normal/x86_64/TinyEdgeInsets.o : /Users/yunyunchen1/dev/mojo-test/Pods/TinyConstraints/TinyConstraints/Classes/Constrainable.swift /Users/yunyunchen1/dev/mojo-test/Pods/TinyConstraints/TinyConstraints/Classes/Stack.swi... | D |
// ********************************************************
// B_MM_AssessPlayer
// -----------------
// Wird von Monstern benutzt, die important-infos haben
// Party-Member blieben stehen
// ********************************************************
func void B_MM_AssessPlayer()
{
// EXIT IF...
B_Vergiftet (self);
... | D |
module android.java.android.provider.ContactsContract_Directory;
public import android.java.android.provider.ContactsContract_Directory_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ContactsContract_Directory;
import import1 = android.java.java.lang.Class;
| D |
// Written in the D programming language.
/**
Standard I/O functions that extend $(B core.stdc.stdio). $(B core.stdc.stdio)
is $(D_PARAM public)ally imported when importing $(B std.stdio).
Source: $(PHOBOSSRC std/stdio.d)
Copyright: Copyright The D Language Foundation 2007-.
License: $(HTTP boost.org/LICENSE_1_0.t... | D |
/**
A fictional language implemented in D
*/
module blub;
import std.traits: Unqual;
struct Blub {
enum Kind {
integer,
string,
}
Kind kind;
// normally we'd use a union but meh about storage here
private int _integer;
private string _string;
@disable this();
t... | D |
/**
* Stuff for working with narrow strings.
* This module shouldn't be imported directly.
* Use SafeUtf/UnsafeUtf modules instead.
*
* Authors: Denis Shelomovskij <verylonglogin.reg@gmail.com>
*/
module java.nonstandard.UtfBase;
package const UtfBaseText = `
# line 11 "java\nonstandard\UtfBase.d"
import java.... | D |
/*******************************************************************************
* Copyright (c) 2000, 2007 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 |
module hunt.raft.Node;
import hunt.raft.Msg;
import hunt.raft.Storage;
import hunt.raft.Raft;
import hunt.raft.Readonly;
import hunt.raft.Status;
import hunt.raft.Util;
import hunt.util.Serialize;
import hunt.logging;
import std.container;
alias Context = Object;
alias SnapshotStatus = int;
immutable SnapshotS... | D |
/Users/yinheng/Desktop/code/node/rs/demo/target/rls/debug/deps/libthiserror_impl-b4c1aaf349523153.dylib: /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.30/src/lib.rs /Users/yinheng/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.30/src/ast.rs /Users/yinheng/.cargo/r... | D |
/Users/josephhall/Documents/Swift/PopUpZendoLab/bodhi/DerivedData2/bodhi/Build/Intermediates.noindex/bodhi.build/Debug-iphonesimulator/bodhi.build/Objects-normal/x86_64/ProfileVC.o : /Users/josephhall/Documents/Swift/PopUpZendoLab/bodhi/bodhi/Controller/SanghaVC.swift /Users/josephhall/Documents/Swift/PopUpZendoLab/bod... | D |
module org.eclipse.swt.internal.mozilla.nsIWindowWatcher;
import java.lang.all;
import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;
import org.eclipse.swt.internal.mozilla.nsIDOMWindow;
import org.eclipse.swt.internal.mozi... | D |
module ws.inotify;
import
core.sys.linux.sys.inotify,
core.sys.posix.sys.time,
core.sys.posix.unistd,
core.sys.posix.sys.select,
std.string,
std.stdio,
std.algorithm,
std.conv,
ws.event;
class Inotify {
enum EVENT_BUFFER_LENGTH = (inotify_event.sizeof + 16) * 1024;
Watc... | D |
module eventcore.internal.dlist;
struct StackDList(T) {
@safe nothrow @nogc:
private {
T* m_first, m_last;
size_t m_length;
}
@disable this(this);
void clear()
{
T* itm = m_first;
while (itm) {
auto next = itm.next;
itm.prev = null;
itm.next = null;
itm = next;
}
m_length = 0;
}
@pr... | D |
/Users/ThiagoBevi/Dev-iOS/Marvel/Build/Intermediates/Pods.build/Debug-iphonesimulator/Quick.build/Objects-normal/x86_64/SuiteHooks.o : /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Quick/Sources/Quick/DSL/World+DSL.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Quick/Sources/Quick/DSL/DSL.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Po... | D |
/*
[The "BSD licence"]
Copyright (c) 2005-2008 Terence Parr
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 code must retain the above copyright
notice, this ... | D |
import core.vararg;
extern (C) int printf(const char*, ...);
/***************************************************/
// lambda syntax check
auto una(alias dg)(int n)
{
return dg(n);
}
auto bin(alias dg)(int n, int m)
{
return dg(n, m);
}
void test1()
{
assert(una!( a => a*2 )(2) == 4);
assert(una... | D |
module statement.on_stmt;
import std.string, std.conv;
import pegged.grammar;
import language.statement, language.expression;
import program;
class On_stmt:Stmt
{
mixin StmtConstructor;
private static int counter = 0;
void process()
{
On_stmt.counter++;
auto args = this.node.children... | D |
//T compiles:yes
//T has-passed:yes
//T retval:0
// Test various control flow terminations
bool condition;
int main() {
noflow();
assert(ifflow0() == 1);
assert(ifflow1() == 1);
assert(ifflow2() == 0);
assert(loopflow() == 1);
assert(tryflow0() == 0);
assert(tryflow1() == 0);
assert(tryflow2() == 1);
ass... | D |
module gfm.common.text;
import std.file,
std.utf,
std.conv,
std.encoding,
std.c.string;
string[] readTextFile(string filename)
{
try
{
string data = readText(filename);
return [data];
}
catch(FileException e)
{
return [];
}
catch(UTFExcep... | D |
module dcompute.driver.ocl.dstyle120.util;
import std.range;
//deal with arrays seperately, in part to avoid any
//narrow-string idiocy
@property auto memSize(R)(R r)
if (is(R : T[], T))
{
static if (is(R : T[], T))
return r.length * T.sizeof;
else
static assert(false);
}
@property auto memSi... | D |
module android.java.android.hardware.HardwareBuffer;
public import android.java.android.hardware.HardwareBuffer_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!HardwareBuffer;
import import0 = android.java.android.hardware.HardwareBuffer;
import import2 = android.java.java.lang.Class;
| D |
instance DIA_GornNW_KAP3_EXIT(C_Info)
{
npc = PC_Fighter_NW_vor_DJG;
nr = 999;
condition = DIA_GornNW_KAP3_EXIT_Condition;
information = DIA_GornNW_KAP3_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_GornNW_KAP3_EXIT_Condition()
{
return TRUE;
};
func void DIA_GornNW_KAP3_EXIT_Info()... | D |
# FIXED
PROFILES/st_util.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/Profiles/SensorProfile/CC26xx/st_util.c
PROFILES/st_util.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/ble/include/bcomdef.h
PROFILES/st_util.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/osal/include/comdef.h
... | 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 |
instance DIA_BRIDGEDEMENTOR_EXIT(C_INFO)
{
npc = dmt_1200_dementor;
nr = 999;
condition = dia_bridgedementor_exit_condition;
information = dia_bridgedementor_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_bridgedementor_exit_condition()
{
return TRUE;
};
func void dia_bridgedementor_... | D |
/Users/ubaid/Desktop/EmergencyCall/DerivedData/EmergencyCall/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/CountryPickerView.build/Objects-normal/x86_64/Extensions.o : /Users/ubaid/Desktop/EmergencyCall/Pods/CountryPickerView/CountryPickerView/Delegate+DataSource.swift /Users/ubaid/Desktop/EmergencyCall/... | D |
/Users/edward.wangcrypto.com/study/substrate_lesson_homework_template/node-template-benchmark/target/release/deps/structopt-4f3e7a7311a14122.rmeta: /Users/edward.wangcrypto.com/.cargo/registry/src/github.com-1ecc6299db9ec823/structopt-0.3.23/src/lib.rs
/Users/edward.wangcrypto.com/study/substrate_lesson_homework_templ... | D |
import core.stdc.stdio: fflush, stdout;
extern(C) int printf(const char*, ...);
void ulog(string s)
{
printf("%.*s\n",cast(int)s.length, s.ptr);
fflush(stdout);
}
int open()
{
char *s;
char[2000] abs;
char[100] qu;
int a;
ulog("reaches this only 9 times of 10!\n");
return 0;
}
int ... | D |
module wx.GdiCommon;
public import wx.common;
public import wx.Bitmap;
public import wx.Cursor;
public import wx.Icon;
public import wx.Pen;
public import wx.Brush;
public import wx.Font;
public import wx.Colour;
проц иницСтокОбъекты();
//-----------------------------------------------------------------------------
... | D |
module rocl.game;
import
std.file,
std.json,
std.array,
std.getopt,
std.algorithm,
perfontain,
perfontain.misc,
perfontain.misc.report,
ro.db,
ro.str,
ro.conv,
rocl.loaders.asp,
rocl,
rocl.gui,
rocl.status,
rocl.entity,
rocl.network,
rocl.controls,
rocl.resources,
rocl.contr... | D |
module vibe.aws.sigv4;
import std.array;
import std.algorithm;
import std.digest.sha;
import std.range;
import std.stdio;
import std.string;
static import vibe.textfilter.urlencode;
immutable algorithm = "AWS4-HMAC-SHA256";
immutable streaming_payload_hash = "STREAMING-" ~ algorithm ~ "-PAYLOAD";
struct CanonicalR... | D |
// Written in the D programming language.
module windows.magnification;
public import windows.core;
public import windows.displaydevices : RECT;
public import windows.gdi : HRGN;
public import windows.systemservices : BOOL;
public import windows.windowsandmessaging : HWND;
extern(Windows) @nogc nothrow:
// Callbac... | D |
module dadt.stdadts.binarytree;
import dadt;
private enum BinaryTreeDef = `
type BinaryTree(T) =
| Node of BinaryTree!(T) * BinaryTree!(T)
| Leaf
[@@deriving show, eq, ord]
`;
mixin(genCodeFromSource(BinaryTreeDef));
| D |
/**
* License:
* $(TABLE
* $(TR $(TD cairoD wrapper/bindings)
* $(TD $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)))
* $(TR $(TD $(LINK2 http://cgit.freedesktop.org/cairo/tree/COPYING, _cairo))
* $(TD $(LINK2 http://cgit.freedesktop.org/cairo/tree/COPYING-LGPL-2.1, LGPL 2.1) /
* ... | D |
// Written in the D programming language.
module windows.recovery;
public import windows.core;
public import windows.com : HRESULT;
public import windows.systemservices : BOOL, HANDLE, PWSTR;
public import windows.windowsprogramming : APPLICATION_RECOVERY_CALLBACK;
extern(Windows) @nogc nothrow:
// Functions
///R... | D |
// Written in the D programming language.
/**
* Compress/decompress data using the $(HTTP www._zlib.net, _zlib library).
*
* Examples:
*
* If you have a small buffer you can use $(LREF compress) and
* $(LREF uncompress) directly.
*
* -------
* import std.zlib;
*
* auto src =
* "the quick brown fox jumps ov... | D |
16 ounces avoirdupois
the basic unit of money in Great Britain and Northern Ireland
a unit of apothecary weight equal to 12 ounces troy
the basic unit of money in Syria
the basic unit of money in the Sudan
the basic unit of money in Lebanon
formerly the basic unit of money in Ireland
the basic unit of money in Egypt
th... | D |
module dmagick.c.colorspace;
import dmagick.c.image;
import dmagick.c.magickType;
extern(C)
{
/**
* Specify the colorspace that quantization (color reduction and mapping)
* is done under or to specify the colorspace when encoding an output
* image. Colorspaces are ways of describing colors to fit the... | D |
/home/thodges/Workspace/Rust/projects/chapter4/ref_prim_experiment/target/debug/deps/ref_prim_experiment-4479746d2b564b47: src/main.rs
/home/thodges/Workspace/Rust/projects/chapter4/ref_prim_experiment/target/debug/deps/ref_prim_experiment-4479746d2b564b47.d: src/main.rs
src/main.rs:
| D |
either of a pair of tubes conducting the egg from the ovary to the uterus
| D |
/***********************************************************************\
* wtsapi32.d *
* *
* Windows API header module *
* ... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail9537.d(26): Error: `foo(tuple(1, 2))` is not an lvalue
---
*/
struct Tuple(T...)
{
T field;
alias field this;
}
Tuple!T tuple(T...)(T args)
{
return Tuple!T(args);
}
auto ref foo(T)(auto ref T t)
{
return t[0]; // t[0] is deduced to non-ref
}
void main()
{... | D |
void main() { runSolver(); }
void problem() {
auto S = cast(byte[])scan;
auto solve() {
bool[string] visited;
foreach(ss; S.permutations) {
const s = ss.to!string;
if (s in visited) continue;
visited[s] = true;
}
return visited.length;
}
outputForAtCoder(&solve);
}
// ---... | D |
/Users/bill/Documents/ios_projects/Swift/ReferenceApps/RxDataSource_CollectionViewTest/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/TailRecursiveSink.o : /Users/bill/Documents/ios_projects/Swift/ReferenceApps/RxDataSource_CollectionViewTest/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users... | D |
/**
Copyright: Copyright (c) 2016-2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module test.railroad.mesh;
import voxelman.log;
import std.range;
import std.conv : to;
import voxelman.container.buffer;
import voxelman.math;
import voxelman.geometry.cu... | D |
/Users/kubat/Documents/Tutorials/StormViewer/Build/Intermediates/StormViewer.build/Debug-iphonesimulator/StormViewer.build/Objects-normal/x86_64/MasterViewController.o : /Users/kubat/Documents/Tutorials/StormViewer/StormViewer/DetailViewController.swift /Users/kubat/Documents/Tutorials/StormViewer/StormViewer/MasterVie... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/PostgreSQL.build/SQL/PostgreSQLDefault.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+0.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcam... | D |
/***********************************************************************\
* winver.d *
* *
* Windows API header module *
* ... | D |
// REQUIRED_ARGS: -unittest
import std.algorithm: cmp;
extern(C) int printf(const char*, ...);
/* ================================ */
class Foo
{
int foo(int x) { return x + 3; }
}
class Bar : Foo
{
override int foo(int y) { return y + 4; }
}
void test1()
{
Bar e;
assert(e is null);
e = new B... | D |
/**
* @file mic.h
* @brief MIC (Microphone) service.
*/
module ctru.services.mic;
import ctru.types;
extern (C): nothrow: @nogc:
/// Microphone audio encodings.
enum MICUEncoding : ubyte
{
pcm8 = 0, ///< Unsigned 8-bit PCM.
pcm16 = 1, ///< Unsigned 16-bit PCM.
pcm8_signed = 2, ///< Si... | D |
starch resembling sago that is obtained from cuckoopint root
any plant of the family Araceae
| D |
/Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/.build/debug/Leaf.build/Buffer/Buffer.swift.o : /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/Packages/Leaf-1.0.5/Sources/Leaf/Argument.swift /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Configs.build/Env/Node+Env.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Configs/Source.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/va... | D |
module packets.commands;
import entities.gameclient;
import std.string : isNumeric, toLower;
/**
* Handles the commands.
* Params:
* client = The client that sent the command.
* command = The command array.
* commandText = The command text.
*/
void handleCommands(GameClient client, string[] command, string comma... | D |
/Users/marvinevins/Library/Autosave\ Information/testEveroneCanCode/DerivedData/testEveroneCanCode/Build/Intermediates.noindex/testEveroneCanCode.build/Debug-iphonesimulator/testEveroneCanCode.build/Objects-normal/x86_64/SceneDelegate.o : /Users/marvinevins/Library/Autosave\ Information/testEveroneCanCode/testEveroneCa... | D |
package com.android.server.location;
import static org.mockito.Matchers.anyDouble;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import android.os.Looper;
impo... | D |
/**
The various file operations that trash-d can perform
*/
module trash.opers;
import trash.opts : OPTS;
import trash.file : TrashFile;
import trash.util;
import core.time : hnsecs;
import std.algorithm;
import std.datetime.systime : Clock;
import std.conv : to;
import std.file;
import std.format : format;
import s... | D |
/*
DIrrlicht - D Bindings for Irrlicht Engine
Copyright (C) 2014- Danyal Zia (catofdanyal@yahoo.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.
Permission is gra... | D |
/*
* Copyright (c) 2004-2009 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice... | D |
/*
REQUIRED_ARGS: -verror-supplements=2
TEST_OUTPUT:
---
fail_compilation/fail15616d.d(44): Error: none of the overloads of `foo` are callable using argument types `(double)`
fail_compilation/fail15616d.d(17): Candidates are: `fail15616d.foo(int a)`
fail_compilation/fail15616d.d(20): `fail... | D |
module UnrealScript.UTGame.UTVehicleScorpionWheel;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UDKBase.UDKVehicleWheel;
extern(C++) interface UTVehicleScorpionWheel : UDKVehicleWheel
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static Sc... | D |
// ***************
// SPL_SummonDemon
// ***************
const int SPL_Cost_SummonDemon = 120;
INSTANCE Spell_SummonDemon (C_Spell_Proto) //ehem. Spell_Demon
{
time_per_mana = 0;
targetCollectAlgo = TARGET_COLLECT_NONE;
};
func int Spell_Logic_SummonDemon(var int manaInvested)
{
if (Summoned_Monster >= Summo... | D |
func void b_magichurtother(var C_Npc slf,var C_Npc oth,var int damage)
{
var int realdamage;
realdamage = damage - oth.protection[PROT_MAGIC];
if (realdamage < (damage / 10))
{
realdamage = damage / 10;
};
if (realdamage < 5)
{
realdamage = 5;
};
if (oth.flags != NPC_FLAG_IMMORTAL)
{
realdamage = 0;
};... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
298.399994 61.7000008 5.9000001 0 58 62 -19.6000004 116.099998 141 3.29999995 8 0.840254879 sediments, sandstones, siltstones
310.200012 40.5999985 4.69999981 120.900002 56 59 -33.2000008 151.100006 241 8.60000038 8.60000038 0.895431109 extrusiv... | D |
module hunt.wechat.bean.paymch.GoodsDetail;
class GoodsDetail {
private string goods_id; // 必填 32 商品的编号
private string wxpay_goods_id; // 可选 32 微信支付定义的统一商品编号
private string goods_name; // 可选 256 商品名称
private Integer quantity; // 必填 32 商品数量
private Integer price; // 必填 32 商品单价,如果商户有优惠,需传输商户优惠后的单价
... | D |
# FIXED
driverlib/aes.obj: C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/aes.c
driverlib/aes.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS/include/stdint.h
driverlib/aes.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.7.LTS/include/stdbool.h
driverlib/aes.obj: C:/ti/TivaWare_C_Series-2.1.3.156/inc/hw_aes.h
drive... | D |
module d.semantic.statement;
import d.semantic.caster;
import d.semantic.semantic;
import d.ast.conditional;
import d.ast.declaration;
import d.ast.expression;
import d.ast.statement;
import d.ast.type;
import d.ir.dscope;
import d.ir.expression;
import d.ir.statement;
import d.ir.symbol;
import d.ir.type;
import d... | D |
module tester.classes;
interface IAbstract
{
uint getValue(IAbstract ia);
}
class Ancestor : IAbstract
{
public bool bo;
private ubyte pub;
uint getValue(IAbstract ia)
{
return -2;
}
override string toString()
{
return "Hello from overriden toString() in Ancestor !";
}
}
class Descendant : Ancestor
{... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1... | D |
module coordinate;
import chunk, sector;
/++
Global coordinate that can represent any block in the world
+/
struct Coordinate
{
long x, y, z;
/// the chunk this coordinate is inside, local to its Sector
Sector.Cell sectorCell() const
{
Sector.Cell c;
c.x = cast(ubyte)(x / Chunk.size) % Sector.size;
c.y = c... | D |
import std.stdio;
import std.algorithm;
import std.range;
import std.conv;
import parser;
const PTR_SIZE = 8;
const FAT_PTR_SIZE = 16;
enum TypeEnum
{
VOID,
LONG,
INT,
SHORT,
BYTE,
FLOAT,
DOUBLE,
CHAR,
BOOL,
STRING,
SET,
HASH,
ARRAY,
AGGREGATE,
TUPLE,
FU... | D |
/Users/yamamoto/Documents/Xcode/BLE-Serial/Client/Build/Intermediates/Client.build/Debug-iphonesimulator/ClientTests.build/Objects-normal/x86_64/ClientTests.o : /Users/yamamoto/Documents/Xcode/BLE-Serial/Client/ClientTests/ClientTests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/... | D |
module dungeon.engine;
import raylib;
import dungeon.textbuf;
import dungeon.state;
import dungeon.commands;
import dungeon.timer;
import core.time;
import std.math : PI_4;
import std.algorithm;
static immutable Rectangle[4] doorRects = [
Rectangle(0, 0, 150, 45),
Rectangle(105, 0, 45, 150),
Rectangle(0, 1... | D |
/**
A HTTP 1.1/1.0 server implementation.
Copyright: © 2012 RejectedSoftware e.K.
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.http.server;
import ... | D |
import std.conv;
import core.stdc.stdlib;
import std.stdio;
import std.string;
import core.memory : GC;
import std.algorithm.sorting;
import std.algorithm.mutation;
import std.datetime.stopwatch;
import std.conv;
import board;
import search;
import utils;
/** An individual whomst can participate in the classical paper... | D |
// Written in the D programming language.
/**
* Mathematical Special Functions
*
* The technical term 'Special Functions' includes several families of
* transcendental functions, which have important applications in particular
* branches of mathematics and physics.
*
* The gamma and related functions, and the e... | D |
/Users/radibarq/PlantsDiseaseApp/build/PlantsDiseaseApp.build/Debug-iphonesimulator/PlantsDiseaseApp.build/Objects-normal/x86_64/Scan.o : /Users/radibarq/PlantsDiseaseApp/PlantsDiseaseApp/Models/RemoteImageURL.swift /Users/radibarq/PlantsDiseaseApp/PlantsDiseaseApp/Models/Disease.swift /Users/radibarq/PlantsDiseaseApp/... | D |
/* gjkD - An implementation of the Gilbert-Johnson-Keerthi algorithm
* for the collision detection of convex objects, written in D.
* Copyright (C) 2007-2008 Mason A. Green
*
* This file is part of gjkD
*
* gjkD is free software: you can redistribute it and/or modify
* it under the terms of the GNU Genera... | D |
// Written in the D programming language.
/**
JavaScript Object Notation
Synopsis:
----
//parse a file or string of json into a usable structure
string s = "{ \"language\": \"D\", \"rating\": 3.14, \"code\": \"42\" }";
JSONValue j = parseJSON(s);
writeln("Language: ", j["language"].str(),
... | D |
import std.stdio;
void main(string[] args) {
writeln("Hello World!");
}
| D |
// 1.
CHAIN
IF ~InParty("Ninde")
See("Ninde")
!StateCheck("Ninde",CD_STATE_NOTVALID)
!StateCheck("O#Tiax",CD_STATE_NOTVALID)
CombatCounter(0)
!See([ENEMY])
Global("G#XB.TiaxNindeToBBanter1","GLOBAL",0)~ THEN BO#TIA25 NindeTiaxToBBanter#1.1
@0 /* See? What did the Great Tiax tell you? He will RULE ALL! And now he does... | D |
failure of a plan
a natural loss of the products of conception
| D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/AST/TemplateIdentifier.swift.o : /Users/work/Projects/Hello/.build/checkouts/template-kit.git--6129928586187134836/Sources/TemplateKit/Data/TemplateData.swift /Users/work/Projects/Hello/.build/checkouts/template-kit.git--6129928586187134... | D |
// REQUIRED_ARGS: -w
// https://issues.dlang.org/show_bug.cgi?id=4375: Dangling else
void main() {
version (A)
version (B)
assert(25.1);
else
assert(25.2);
}
| D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
303.5 77.1999969 2.79999995 89.6999969 10 14 -38.7000008 143.100006 139 4.19999981 4.19999981 sediments, limestone
213.300003 85.5 9.89999962 22.3999996 16 23 -9.60000038 119.400002 7788 5.4000001 10.3000002 extrusives, andesites, dacites
289.60000... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/Utilities/Exports.swift.o : /Users/nice/HelloWord/.build/checkouts/template-kit.git--8055025670042454083/Sources/TemplateKit/Data/TemplateData.swift /Users/nice/HelloWord/.build/checkouts/template-kit.git--8055025670042454083/Sources/Template... | D |
module conc.cyclicbarrier;
import conc.barrier;
private import conc.waitnotify, conc.sync;
private import cidrus;
class ЦиклическийБарьер : ОбъектЖдиУведомиВсех, Барьер
{
alias цел function() Пускаемый;
protected final цел участники_;
protected бул сорван_ = нет;
protected Пускаемый ко... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.