code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
// Written in the D programming language
// by Nick Sabalausky
//
// Tested on DMD 2.053
//
// Gizmo Example
// Version: Object Oriented (Inherited Types, Runtime Features)
import std.datetime;
import std.stdio;
interface ISpinner
{
@property bool isSpinnable();
void spin();
}
final class SpinnerStub : ISpinner
{
... | D |
module sample_DDoc;
import std.regex, std.string;
/**
This is my sample function.
This a $(I sample) DDoc.
Example:
----
assert(myFunc() == 0);
----
*/
int myFunc(int a, Object foo = null) {
// ..
return 0;
}
void test() {
myFunc();
}
// TODO $(D ) macro | D |
Long: pass
Arg: <phrase>
Help: Pass phrase for the private key
Protocols: SSH TLS
Category: ssh tls auth
Example: --pass secret --key file $URL
---
Passphrase for the private key.
If this option is used several times, the last one will be used.
| D |
module mach.text.cstring.convert;
private:
import mach.meta : varmin;
import mach.traits : isString, isCharacter, isArray, ElementType;
import mach.error : IndexOutOfBoundsError;
import mach.text.utf : utfencode;
import mach.range.asrange : asrange;
/++ Docs
The `tocstring` and `fromcstring` functions can be used t... | D |
module org.serviio.library.local.metadata.extractor.embedded.AVCHeader;
import java.lang;
import java.io.IOException;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Locale;
import org.serviio.dlna.H264Profile;
import org.serviio.library.local.metadata.extractor.embedded.h264.AnnexBNALU... | D |
#!/usr/bin/env rdmd
struct Vector3 {
double x;
double y;
double z;
double length() const {
import std.math : sqrt;
return sqrt(x * x + y * y + z * z);
}
// rhs will be copied
double dot(Vector3 rhs) const {
return x * rhs.x + y * rhs.y + z * rhs.z;
}
}
void main() {
auto vec1 = Vector3... | D |
/Users/takanorifukuyama/git/github.com/takanorifukuyama/abs/target/rls/debug/deps/abs_abc081a-a15b6aba1335384b.rmeta: src/bin/abc081a.rs
/Users/takanorifukuyama/git/github.com/takanorifukuyama/abs/target/rls/debug/deps/abs_abc081a-a15b6aba1335384b.d: src/bin/abc081a.rs
src/bin/abc081a.rs:
| D |
/**
* Defines library's custom exceptions.
* Authors: xaqq
*/
module dzmq.exceptions;
import std.exception;
class DZMQInternalError : Exception
{
@safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null)
{
super("Internal library error: " ~ msg, file... | D |
string f() {
return "Hi";
}
int main(){
Print(f());
Print(g());
} | D |
/Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/TrackerGPS.build/Debug-iphonesimulator/TrackerGPS.build/Objects-normal/x86_64/Recorrido.o : /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/TrackerGPS/VistaMapa.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/TrackerGPS/AppDelegate.swift /Users/susana/Do... | D |
int f(int i)
{
if (i == 0)
return 1;
return i * f(i - 1);
}
pragma(msg, f(5) == );
| D |
the condition of a peon
the practice of making a debtor work for his creditor until the debt is discharged
| D |
module barcode.qrwrap;
import std.exception;
import barcode.qr;
import barcode.types;
class Qr : BarCodeEncoder
{
ECL ecl;
uint minVer, maxVer;
pure @safe:
this(ECL ecl=ECL.high, uint minVer=1, uint maxVer=40)
{
enforce(minVer >= 1 && minVer <= maxVer && maxVer <= 40,
"wrong ... | D |
module android.java.android.app.PendingIntent_CanceledException;
public import android.java.android.app.PendingIntent_CanceledException_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!PendingIntent_CanceledException;
import import5 = android.java.java.lang.Class;
import import4 = android.java.... | D |
/Users/JenishMistry/DEMOS/MVCDemoAPI/DerivedData/MVCDemoAPI/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ResponseSerialization.o : /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/Alamofire/Source/MultipartFormData.swift /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/Alamofire/... | D |
void main() {
auto H = readAs!long;
ulong cnt;
long[] queue = [H];
long[long] m;
m[1] = 1;
long dfs(long n) {
if(n in m) return m[n];
return m[n] = 2*dfs(n/2) + 1;
}
dfs(H).writeln;
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
... | D |
import core.thread;
import std.algorithm : remove;
import std.algorithm.comparison : equal;
import std.algorithm.searching: canFind, countUntil;
import std.base64;
import std.bitmanip;
import std.conv;
import std.datetime.stopwatch;
import std.digest;
import std.functional;
import std.json;
import std.socket;
import st... | D |
// PUBCHECK - Copyright (c) SLR Systems 1994
PUB_CHECK(ESI)
{
// ESI IS OBJ_INPUT_DATA
// RETURNS ESI UPDATED
if (PUB_SIZE)
{ // 32 bit record
// DO WE DO ANY MORE?
while (END_OF_RECORD > ESI)
{
// NOW, WE ENTER LOOP READING PUBLIC SYMBOLS AND OFFSETS
TPTR_STRUCT* EDI = &SYMBOL_TPTR;
... | D |
rising current of warm air
relating to or associated with heat
of or relating to a hot spring
caused by or designed to retain heat
| D |
//Автор Кристофер Миллер. Переработано для Динрус Виталием Кулич.
//Библиотека визуальных конпонентов VIZ (первоначально DFL).
module viz.combobox;
private import viz.x.dlib;
private import viz.listbox, viz.app, viz.base, viz.x.winapi;
private import viz.event, viz.drawing, viz.collections, viz.control,
... | D |
instance DIA_Grimbald_EXIT(C_Info)
{
npc = BAU_982_Grimbald;
nr = 999;
condition = DIA_Grimbald_EXIT_Condition;
information = DIA_Grimbald_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Grimbald_EXIT_Condition()
{
return TRUE;
};
func void DIA_Grimbald_EXIT_Info()
{
AI_StopProcessIn... | D |
/// Define the micro-threading reactor
module mecca.reactor;
// Licensed under the Boost license. Full copyright information in the AUTHORS file
static import posix_signal = core.sys.posix.signal;
static import posix_time = core.sys.posix.time;
static import posix_ucontext = core.sys.posix.ucontext;
import core.memor... | D |
module org.serviio.ui.representation.OnlineRepositoriesBackupRepresentation;
import java.util.ArrayList;
import java.util.List;
import org.serviio.ui.representation.OnlineRepositoryBackup;
public class OnlineRepositoriesBackupRepresentation
{
private List!(OnlineRepositoryBackup) items;
public this()
{
... | D |
import std.stdio;
void func(T...)(T t) {
static if(t.length > 0) {
writeln(t.length, t);
foreach(it; T)
write(typeid(it));
writeln();
func(t[0 .. t.length-1]);
}
}
void main() {
func("hello", 99, "world", true, 3.1415);
}
| D |
/Users/thendral/POC/vapor/Friends/.build/debug/Core.build/String+CaseInsensitiveCompare.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Core-1.1.1/Sources/Core/Array.swift /Users/thendral/POC/vapor/Friends/Packages/Core-1.1.1/Sources/Core/Bool+String.swift /Users/thendral/POC/vapor/Friends/Packages/Core-1.1.1/Sour... | D |
/Users/hnakatani/Documents/その他/Learning/Rust/tutrial/test_organization/target/debug/deps/integration_test-6b7df40eae46f5ad: tests/integration_test.rs
/Users/hnakatani/Documents/その他/Learning/Rust/tutrial/test_organization/target/debug/deps/integration_test-6b7df40eae46f5ad.d: tests/integration_test.rs
tests/integratio... | D |
/Users/zhumatthew/Documents/Xcode/MobileCloud/Build/Intermediates/Alamofire.build/Debug-iphonesimulator/Alamofire\ iOS.build/Objects-normal/x86_64/Result.o : /Users/zhumatthew/Documents/Xcode/MobileCloud/Alamofire/Source/Timeline.swift /Users/zhumatthew/Documents/Xcode/MobileCloud/Alamofire/Source/Upload.swift /Users/z... | D |
get or find back
get over an illness or shock
regain a former condition after a financial loss
regain or make up for
reuse (materials from waste products)
cover anew
freed from illness or injury
found after being lost
| D |
///
module std.experimental.allocator.building_blocks.free_tree;
import std.experimental.allocator.common;
//debug = std_experimental_allocator_free_tree;
/**
The Free Tree allocator, stackable on top of any other allocator, bears
similarity with the free list allocator. Instead of a singly-linked list of
previousl... | D |
// Written in the D programming language.
/++
Encode and decode UTF-8, UTF-16 and UTF-32 strings.
UTF character support is restricted to
$(D '\u0000' <= character <= '\U0010FFFF').
See_Also:
$(LINK2 http://en.wikipedia.org/wiki/Unicode, Wikipedia)<br>
$(LINK http://www.cl.cam.ac... | D |
////////////////////////////////////////////////////////////////////////////////
//
// Example of how to check if the key is locked to the hardware identifier
//
// Version : PELock v2.09
// Language : D
// Author : Bartosz Wójcik (support@pelock.com)
// Web page : https://www.pelock.com
//
/... | D |
/**
* Widget module.
*
* License:
* MIT. See LICENSE for full details.
*/
module tkd.widget.canvas;
/**
* Imports.
*/
import std.algorithm;
import std.array;
import std.conv;
import std.string;
import std.uni;
import tkd.element.color;
import tkd.element.element;
import tkd.element.uielement;
import tkd.ima... | D |
// Written in the D programming language
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import dexpr, util;
import std.algorithm, std.array;
import asymptotics;
static struct ExpLim{
DExpr expression;
DExpr limit;
}
static struct Case(T){
DExpr condition;
T expression;
auto map(alias a)(){ r... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/SQL.build/SQLColumnConstraintAlgorithm.swift.o : /Users/nice/HelloWord/.build/checkouts/sql.git-3312412671859601518/Sources/SQL/SQLBind.swift /Users/nice/HelloWord/.build/checkouts/sql.git-3312412671859601518/Sources/SQL/SQLJoinMethod.swift /Users/nice/HelloWo... | 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 |
/*******************************************************************************
Structure holding parameters for a client command (a command assigned to a
client which only affects the client itself and has no communication with or
effect on a node).
copyright: Copyright (c) 2012-2017 dunnhumby ... | D |
module android.java.android.provider.Telephony_Sms_Inbox_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
@JavaName("Telephony$Sms$Inbox")
final cla... | D |
module modernui.rx;
import modernui.collections;
import std.algorithm;
import std.range;
import std.container.array;
struct None
{
void[0] dummy;
immutable static None val = {};
}
alias Action(T) = void delegate(T);
alias Delegate = void delegate();
alias Func(T,K) = K delegate(T);
final class Subscription
{
p... | D |
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Service.build/Objects-normal/x86_64/ServiceError.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/service.git-1166999477643609831/Sources/Service/Services/ServiceID.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/ch... | D |
// https://issues.dlang.org/show_bug.cgi?id=11038
/*
TEST_OUTPUT:
---
fail_compilation/fail11038.d(16): Error: `writeln` is not defined, perhaps `import std.stdio;` is needed?
---
*/
static
{
import std.stdio;
}
void main()
{
writeln("foo"); // compiles
}
| D |
module hunt.markdown.node.Block;
import hunt.markdown.node.Node;
abstract class Block : Node {
override public Block getParent() {
return cast(Block) super.getParent();
}
override protected void setParent(Node parent) {
if (!(cast(Block)parent !is null)) {
throw new IllegalAr... | D |
instance Mil_304_Torwache (Npc_Default)
{
// ------ NSC ------
name = "Torwache";
guild = GIL_PAL;
id = 304;
voice = 0;
flags = NPC_FLAG_IMMORTAL;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 6);
// ------ Kampf-Takt... | D |
module console;
import std.stdio;
import std.string;
enum Color
{
NoColor,
Bold,
Dim,
Red,
Yellow,
Green,
}
private enum string[Color] COLOR_TO_CODE =
[
Color.Red : "\x1b[31;01m",
Color.Yellow: "\x1b[33m",
Color.NoColor : "",
Color.Bold : "\x1b[01m",
Color.Dim : "\x1b[02m",
Color.Green : "\x1b[32m",
];
... | D |
module gsl.matrix_ushort;
/* matrix/gsl_matrix_ushort.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation;... | D |
# FIXED
Profiles/gatt_uuid.obj: C:/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/source/ti/ble5stack/host/gatt_uuid.c
Profiles/gatt_uuid.obj: C:/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/source/ti/ble5stack/osal/src/inc/comdef.h
Profiles/gatt_uuid.obj: C:/ti/simplelink_cc13x2_26x2_sdk_5_20_00_52/source/ti/ble5stack/hal/src/... | D |
/**
URL parsing routines.
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
*/
module vibe.inet.url;
public import vibe.inet.path;
import vibe.textfilter.urlencode;
import vibe.utils.string;
import std.arr... | D |
/home/liyun/clink/zkp_test/ckb-zkp/target/debug/deps/libc-468d4a15139db2b9.rmeta: /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.80/src/lib.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.80/src/macros.rs /home/liyun/.cargo/registry/src/mirrors.ustc.edu.cn... | D |
/Users/richardhope/Documents/pulse/Build/Intermediates/pulse.build/Debug-iphonesimulator/pulse.build/Objects-normal/x86_64/ViewController.o : /Users/richardhope/Documents/pulse/pulse/Pulse.swift /Users/richardhope/Documents/pulse/pulse/AppDelegate.swift /Users/richardhope/Documents/pulse/pulse/ViewController.swift /App... | D |
# DO NOT DELETE
.wscode.4585017a-8463-11e4-9717-fa358a89beef.myWS/RooCFAuto005Func_cxx.so: /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.05/x86_64-slc5-gcc43-opt/root/include/Riostream.h
.wscode.4585017a-8463-11e4-9717-fa358a89beef.myWS/RooCFAuto005Func_cxx.so: /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.05/x86_64-slc5-g... | D |
module android.java.android.view.LayoutInflater_Factory;
public import android.java.android.view.LayoutInflater_Factory_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!LayoutInflater_Factory;
import import0 = android.java.android.view.View;
import import3 = android.java.java.lang.Class;
| D |
/** D bindings for GSL.
Authors: Chibisi Chima-Okereke
Copyright: Copyright (c) 2016, Chibisi Chima-Okereke. All rights reserved.
License: Boost License 1.0
*/
module gsl.diff;
import gsl.math;
extern (C):
int gsl_diff_central (const(gsl_function)* f, double x, double* result, double* abserr);
int... | D |
/**
* Copyright: Copyright Jason White, 2014-2016
* License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Jason White
*/
module io.stream.shim;
import io.stream.traits;
import io.stream.types;
/**
* Wraps a stream to provide useful higher-level functions.
*/
struct StreamShim(Stream)
... | D |
/Users/martyn/Development/AppCoordinatorsLearning/DerivedData/AppCoordinatorsLearning/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Lock.o : /Users/martyn/Development/AppCoordinatorsLearning/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/martyn/Development/AppCoordi... | D |
// Written in the D programming language.
/**
This module implements a
$(HTTP erdani.org/publications/cuj-04-2002.html,discriminated union)
type (a.k.a.
$(HTTP en.wikipedia.org/wiki/Tagged_union,tagged union),
$(HTTP en.wikipedia.org/wiki/Algebraic_data_type,algebraic type)).
Such types are useful
for type-uniform bin... | D |
be confusing or perplexing to
mistake one thing for another
that confounds or contradicts or confuses
| D |
one who believes in a plurality of gods
| D |
import std.stdio;
import dsfml.graphics;
import zgame.zgame;
import zgame.global;
int main()
{
auto game = new ZGame();
dsfmlInitWindow(window);
return game.doWindowLoop();
} | D |
module android.java.android.view.ScaleGestureDetector_OnScaleGestureListener_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.view.ScaleGestureDetector_d_interface;
impor... | D |
/**
* Declarations for back end
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1984-1998 by Symantec
* Copyright (C) 2000-2022 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmar... | D |
/root/ji/example-helloworld/src/cross-program-invocation/target/release/deps/jobserver-784a4b835325b586.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/jobserver-0.1.22/src/lib.rs /root/.cargo/registry/src/github.com-1ecc6299db9ec823/jobserver-0.1.22/src/unix.rs
/root/ji/example-helloworld/src/cross-progr... | D |
/**
* Defines AST nodes for the parsing stage.
*
* Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/astbase.d, _astbase.d)
... | D |
/**
Provides annotation based configuration and registration for components.
License:
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 "S... | D |
/**
* Implementation of the gamma and beta functions, and their integrals.
*
* License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Copyright: Based on the CEPHES math library, which is
* Copyright (C) 1994 Stephen L. Moshier (moshier@world.std.com).
* Authors: Stephen L. Moshier (original... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/Sessions/Request+Session.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservices-vapor/... | D |
/// Generate by tools
module Control;
import java.lang.exceptions;
public class Control
{
public this()
{
implMissing();
}
}
| D |
stubbornly resistant to authority or control
easily irritated or annoyed
unpredictably difficult in operation
| D |
class EventQueue {
public:
struct Node {
TypeInfo type;
Node* next;
bool apply (T)(void delegate (ref T) visitor) {
if (type == typeid(T)) {
visitor(*cast(T*)(&(cast(Node*)(&this))[1]));
return true;
}
return false;
... | D |
in an awkward manner
| D |
/Users/Trupti/Desktop/Eva/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/DictionaryTransform.o : /Users/Trupti/Desktop/Eva/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Trupti/Desktop/Eva/Pods/ObjectMapper/Sources/ToJSON.swift /Users/Trupti/Desktop/Eva/Pods/ObjectMapper/Sources/Mappab... | D |
module cerealed.cerealizer;
public import cerealed.cerealiser;
alias Cerealizer = Cerealiser;
| D |
/Users/KentarOu/Desktop/Desk Top/Xcode_Project/2015_Project/2015年_10月/2ColumnPicker/Build/Intermediates/2ColumnPicker.build/Debug-iphonesimulator/2ColumnPicker.build/Objects-normal/x86_64/ViewController.o : /Users/KentarOu/Desktop/Desk\ Top/Xcode_Project/2015_Project/2015年_10月/2ColumnPicker/2ColumnPicker/ViewController... | D |
/*
* [The "BSD license"]
* Copyright (c) 2016 Terence Parr
* Copyright (c) 2016 Sam Harwell
* 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... | D |
instance VLK_412_Harad(Npc_Default)
{
name[0] = "Harad";
guild = GIL_VLK;
id = 412;
voice = 12;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ITMW_1H_G3_SMITHHAMMER_01);
B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_N_NormalBart20,Body... | D |
/*
* Copyright 2019 Google LLC
* Copyright 2022 Coverify Systems Technology
*
* 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
*
* U... | D |
Ddoc
$(DERS_BOLUMU $(IX pragma) Pragmas)
$(P
Pragmas are a way of interacting with the compiler. They can be for providing special information to the compiler as well as getting information from it. Although they are useful in non-templated code as well, $(C pragma(msg)) can be helpful when debugging templates.
)
$(... | D |
//
//------------------------------------------------------------------------------
// Copyright 2014-2019 Coverify Systems Technology
// Copyright 2007-2014 Mentor Graphics Corporation
// Copyright 2018 Qualcomm, Inc.
// Copyright 2014 Intel Corporation
// Copyright 2011-2014 Synopsys, Inc.
// Copyright 2007-2018 Cade... | D |
/++
+ `info` analyses previously-produced STPUIDs
+/
module info;
import stpuid;
import utils;
import std.stdio;
import std.conv;
import core.time;
import std.datetime.systime;
import std.datetime.date:DateTimeException;
import std.algorithm.comparison;
string getHelpUsage()
{
return "info <id> [epoch] [-h|--hel... | D |
/Users/wigwag/Desktop/TestApp2/DerivedData/TimeTable/Build/Intermediates.noindex/TimeTable.build/Debug-iphonesimulator/TimeTable.build/Objects-normal/x86_64/ViewController.o : /Users/wigwag/Desktop/TestApp2/TimeTable/TimeTable.swift /Users/wigwag/Desktop/TestApp2/TimeTable/AppDelegate.swift /Users/wigwag/Desktop/TestAp... | D |
func void InitPerceptions()
{
Perc_SetRange(PERC_ASSESSDAMAGE,9999);
Perc_SetRange(PERC_ASSESSOTHERSDAMAGE,PERC_DIST_INTERMEDIAT);
Perc_SetRange(PERC_ASSESSDEFEAT,WATCHFIGHT_DIST_MAX);
Perc_SetRange(PERC_ASSESSMURDER,PERC_DIST_ACTIVE_MAX);
Perc_SetRange(PERC_ASSESSTHREAT,PERC_DIST_INTERMEDIAT);
Perc_SetRange(PER... | D |
module godot.visualscriptclassconstant;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.d.bind;
import godot.object;
import godot.classdb;
import godot.visualscriptnode;
@GodotBaseClass struct VisualScriptClassConstant
{
static... | D |
module www;
/* Convert a single hex digit to its value 0-15,
either lower or upper case. No error checking. */
int hd2n (char c)
{
return (c <= '9') ? c - '0' : 10 + (c - 'A') % 32;
}
/* Decode http string by resolving +'s and %'s. */
void http_decode (ref char[] s)
{
char *t = s.ptr;
foreach(ref i... | D |
/**
This module contains the core functionality of the vibe framework.
Copyright: © 2012-2013 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.core.core;
public import vibe.core.driver;
import vibe.core.args;... | D |
module code.fastappender7;
import core.memory;
import core.stdc.string;
debug import std.stdio;
/// Optimized non-copying chained expanding appender.
struct FastAppender7(T, bool X)
{
static assert(T.sizeof == 1, "TODO");
private:
enum MIN_SIZE = 4096;
enum PAGE_SIZE = 4096;
T* cursor, start, end;
struct No... | D |
var int baltram_itemsgiven_chapter_1;
var int baltram_itemsgiven_chapter_2;
var int baltram_itemsgiven_chapter_3;
var int baltram_itemsgiven_chapter_4;
var int baltram_itemsgiven_chapter_5;
var int baltram_itemsgiven_chapter_6;
func void b_givetradeinv_baltram(var C_NPC slf)
{
if((KAPITEL >= 1) && (BALTRAM_ITEMSGIVE... | D |
/home/flowersamda/Rust/learning/Cargo_and_Cratesio/target/rls/debug/deps/Cargo_and_Cratesio-b6f53348680724a8.rmeta: src/lib.rs
/home/flowersamda/Rust/learning/Cargo_and_Cratesio/target/rls/debug/deps/Cargo_and_Cratesio-b6f53348680724a8.d: src/lib.rs
src/lib.rs:
| D |
/PROGRAMS/FoodTracker/Build/Intermediates/IBDesignables/Intermediates/FoodTracker.build/Debug-iphonesimulator/FoodTracker.build/Objects-normal/x86_64/MealTableViewCell.o : /PROGRAMS/FoodTracker/FoodTracker/AppDelegate.swift /PROGRAMS/FoodTracker/FoodTracker/Meal.swift /PROGRAMS/FoodTracker/FoodTracker/MealTableViewCell... | D |
// Copyright Ferdinand Majerech 2012.
// 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)
/// Classes related to player profiles.
module ice.playerprofile;
import std.algorithm;
import std.ar... | D |
//-------- Spell Commands --------
// SPL_DONTINVEST = 0; // Es können keine weiteren Manapunkte investiert werden. Erst durch CTRL loslassen geht der Spell ab
// SPL_RECEIVEINVEST = 1; // Wirkung durchgeführt, es können weitere Invest kommen, zB.bei Heal nach jedem Pöppel
// SPL_SENDCAST = 2; // Starte den Z... | D |
// PERMUTE_ARGS: -g -version=PULL8152
// EXTRA_CPP_SOURCES: cppb.cpp
import core.stdc.stdio;
import core.stdc.stdarg;
import core.stdc.config;
extern (C++)
int foob(int i, int j, int k);
class C
{
extern (C++) int bar(int i, int j, int k)
{
printf("this = %p\n", this);
printf("i = %d\... | D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Service.build/Services/TypeServiceFactory.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/service.git--3029908809087319447/Sources/Service/Services/ServiceID.swift /Users/user/Documents/RiseTimeAssets/server/.build/... | D |
/Users/yuga/Documents/ios20161219/TodoApp/Build/Intermediates/TodoApp.build/Debug-iphonesimulator/TodoAppTests.build/Objects-normal/x86_64/TodoAppTests.o : /Users/yuga/Documents/ios20161219/TodoApp/TodoAppTests/TodoAppTests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swi... | D |
/// Module gathering CSS properties implemented by DGT for views
module dgt.style;
import dgt : dgtStyleLog;
import dgt.font.style;
import dgt.gfx.color;
import dgt.gfx.paint;
import dgt.css.style;
import dgt.css.token;
import dgt.css.value;
import dgt.ui.layout;
import dgt.ui.view;
import std.range;
import std.typec... | 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 |
/* ssl/ssl.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial ... | D |
/Users/jaison/Documents/Drive/custom-api/.build/debug/Routing.build/Router.swift.o : /Users/jaison/Documents/Drive/custom-api/Packages/Routing-1.1.0/Sources/Routing/Branch.swift /Users/jaison/Documents/Drive/custom-api/Packages/Routing-1.1.0/Sources/Routing/ParametersContainer.swift /Users/jaison/Documents/Drive/custom... | D |
/*******************************************************************************
Protocol base for DHT `GetChannelSize` request
Copyright:
Copyright (c) 2015-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
******... | D |
/**
Copyright: Copyright (c) 2015-2016 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.command.cons;
shared static this()
{
import pluginlib;
import voxelman.command.plugin;
pluginRegistry.regClientPlugin(new CommandPluginClient);
pluginRe... | D |
instance Mod_1278_SLD_Soeldner_MT (Npc_Default)
{
//-------- primary data --------
name = Name_Orkjaeger;
Npctype = NPCTYPE_mt_soeldner;
guild = GIL_mil;
level = 18;
voice = 11;
id = 1278;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
EquipItem (self, I... | D |
/**
This module contains the different examples that are shown in the README
It will only be included in unittest code, but is empty otherwise.
*/
module example;
version (unittest)
import dunit.toolkit;
import std.stdio : writeln;
///
unittest
{
/// http://blackedder.github.io/ggplotd/images/function.p... | D |
import std.stdio;
version (unittest)
{
}
else
{
void main()
{
writeln("Hello, World!");
}
}
@("success")
unittest
{
assert(true);
}
@("fail")
unittest
{
assert(false);
}
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.