code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/Users/atyun-monitor/Desktop/Swift/DanTangFromQuanzai/Build/Intermediates/Pods.build/Debug-iphonesimulator/RAMAnimatedTabBarController.build/Objects-normal/x86_64/RAMRotationAnimation.o : /Users/atyun-monitor/Desktop/Swift/DanTangFromQuanzai/Pods/RAMAnimatedTabBarController/RAMAnimatedTabBarController/RAMAnimatedTabBar... | D |
module pegged.performancetest.cursive.reader;
import std.datetime;
import pegged.performancetest.cursive.parser;
void main(string[] args)
{
import std.stdio, std.file;
string input = readText(args[1]);
int N = 100;
auto time = benchmark!( () => Cursive(input) )(N);
writeln("Parser 1: ", time[0]... | D |
/* REQUIRED_ARGS:
* OPTIONAL_ARGS:
*/
// https://issues.dlang.org/show_bug.cgi?id=17246
struct Foo
{
int* rc;
this(int val)
{
rc = new int;
(*rc) = 1;
}
this(this)
{
(*rc)++;
}
~this()
{
if (rc)
{
assert(*rc > 0);
(*... | D |
int[] evenNumbers(int[] numbers)
{
import std.algorithm: filter;
import std.array: array;
return numbers.filter!(number => number % 2 == 0).array;
}
unittest
{
assert(evenNumbers([1, 2, 3, 4, 5, 6, 7, 8]), [2, 4, 6, 8]);
}
void main()
{
import std.stdio: writeln;
writeln(evenNumbers([1, 2, 3,... | D |
module gtkD.gsv.SourceGutter;
public import gtkD.gsvc.gsvtypes;
private import gtkD.gsvc.gsv;
private import gtkD.glib.ConstructionException;
private import gtkD.gobject.Signals;
public import gtkD.gtkc.gdktypes;
private import gtkD.gdk.Window;
private import gtkD.gtk.CellRenderer;
private import gtkD.gobject.... | D |
// PERMUTE_ARGS:
extern(C) int printf(const char*, ...);
int testswitch(string h)
{
int x;
switch (h)
{
case "abc":
printf("abc\n");
x = 4;
break;
case "foo":
printf("foo\n");
x = 1;
break;
case "bar":
printf("bar\n");
x = 2;
break;
default:
printf("d... | D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Multipart.build/MultipartSerializer.swift.o : /Users/work/Projects/Hello/.build/checkouts/multipart.git-4210556629793786970/Sources/Multipart/MultipartPartConvertible.swift /Users/work/Projects/Hello/.build/checkouts/multipart.git-4210556629793786970/Sour... | D |
/**
* Find side-effects of expressions.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github... | D |
module tower.animation;
import std.algorithm;
import std.array;
import std.conv;
public import std.datetime;
import std.stdio;
import std.string;
import util.property;
public import tower.color;
class Animation {
this(size_t width, size_t height) {
_width = width;
_height = height;
}
void writeV3File(string... | D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/libc.build/libc.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Core-1.1.1/Sources/libc/libc.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule ... | D |
module dwinbar.widgets.clock;
import dwinbar.widget;
import dwinbar.bar;
import std.datetime;
import std.format;
import std.conv;
class ClockWidget : Widget
{
this(bool showSeconds = true, bool secondsColon = false)
{
this.showSeconds = showSeconds;
this.secondsColon = secondsColon;
clockIcon = read_image("r... | D |
module wx.MenuItem;
public import wx.common;
public import wx.Accelerator;
public import wx.Menu;
public import wx.Bitmap;
public import wx.EvtHandler;
//! \cond EXTERN
extern (C) ЦелУкз wxMenuItem_GetMenu(ЦелУкз сам);
extern (C) проц wxMenuItem_SetMenu(ЦелУкз сам, ЦелУкз меню);
extern (C) проц wxMenuItem_SetId(Це... | D |
/* TEST_OUTPUT:
---
fail_compilation/test17451.d(22): Error: undefined identifier `allocator`
fail_compilation/test17451.d(23): Error: `false` has no effect
fail_compilation/test17451.d(30): Error: variable `test17451.HashMap!(ThreadSlot).HashMap.__lambda2.v` size of type `ThreadSlot` is invalid
fail_compilation/test17... | D |
enum s="123";
deprecated("a"){
deprecated("b") int nested(){ return 0; }
}
pragma(msg, nested()); // TODO: error
deprecated(s) int foo(){ return 1;}
pragma(msg, foo()); // TODO: error
// // TODO: actually show the message
@nogc deprecated("the message") pure int bar(){ return 2; }
pragma(msg, bar()); // TODO: err... | D |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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 ... | D |
/**
SDL format support for PackageRecipe
Copyright: © 2014-2015 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 dub.recipe.sdl;
import dub.compilers.compiler;
import dub.dependency;
import dub.internal.sdlang;
imp... | D |
/// magic web wrapper
module arsd.web;
// it would be nice to be able to add meta info to a returned envelope
// with cookie sessions, you must commit your session yourself before writing any content
enum RequirePost;
enum RequireHttps;
enum NoAutomaticForm;
///
struct GenericContainerType {
string type; ///
}
//... | D |
module org.serviio.upnp.service.contentdirectory.command.audio.AbstractSongsForRoleAndAlbumRetrievalCommand;
import java.util.List;
import org.serviio.library.entities.AccessGroup;
import org.serviio.library.entities.MusicTrack;
import org.serviio.library.entities.Person : RoleType;
import org.serviio.library.local.se... | D |
/**
* HibernateD - Object-Relation Mapping for D programming language, with interface similar to Hibernate.
*
* Hibernate documentation can be found here:
* $(LINK http://hibernate.org/docs)$(BR)
*
* Source file hibernated/type.d.
*
* This module contains declarations of property type description classes.
*... | D |
instance BDT_10004_Addon_Finn(Npc_Default)
{
name[0] = "Finn";
guild = GIL_BDT;
id = 10004;
voice = 7;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,ItMw_2H_Axe_L_01);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Fa... | D |
module gold.attributes.publicImport;
public import <attrib>std.stdio;
void main(string[] args){
}
| D |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 3.0
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Softw... | D |
INSTANCE Info_Mod_Bandenchef_Hi (C_INFO)
{
npc = Mod_1891_NONE_Bandenchef_NW;
nr = 1;
condition = Info_Mod_Bandenchef_Hi_Condition;
information = Info_Mod_Bandenchef_Hi_Info;
permanent = 0;
important = 0;
description = "Hier bist du also.";
};
FUNC INT Info_Mod_Bandenchef_Hi_Condition()
{
return 1;
};
FUNC ... | D |
/Users/oyo02699/apps/easycrm/easycrm-api/target/rls/debug/deps/same_file-a741e7b566408594.rmeta: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/same-file-1.0.6/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/same-file-1.0.6/src/unix.rs
/Users/oyo02699/apps/... | D |
instance PAL_285_Ritter(Npc_Default)
{
name[0] = NAME_Ritter;
guild = GIL_PAL;
id = 285;
voice = 4;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_1h_Pal_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Fighter... | D |
module std.bind;
pragma(lib, "DinrusStd.lib");
public import tpl.bind;
alias ДинАрг DynArg;
alias динАрг_ли isDynArg;
alias ТипДинМас DynamicArrayType;
alias _присвой _assign;
alias Кортеж Tuple;
alias кортеж tuple;
alias типКортеж_ли isTypeTuple;
alias минЧлоАргов minNumArgs;
alias СФункцСвязки MBound... | D |
instance Mod_1602_SLD_Soeldner_FM (Npc_Default)
{
//-------- primary data --------
name = NAME_soeldner;
guild = GIL_mil;
npctype = npctype_fm_soeldner;
level = 20;
voice = 0;
id = 1602;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
EquipItem (self, ItMw_GrobesKurzschwert);... | D |
/Users/sameersiddiqui/Projects/HafsaInspectorApp/Build/Intermediates/Pods.build/Debug-iphonesimulator/Material.build/Objects-normal/x86_64/MaterialCollectionViewDataSource.o : /Users/sameersiddiqui/Projects/HafsaInspectorApp/Pods/Material/Sources/iOS/BarView.swift /Users/sameersiddiqui/Projects/HafsaInspectorApp/Pods/M... | D |
/*
[The "BSD license"]
Copyright (c) 2005-2009 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 list... | D |
/Users/sridattbhamidipati/Desktop/money20202015/build/money20202015.build/Debug-iphoneos/money20202015.build/Objects-normal/arm64/CameraViewController.o : /Users/sridattbhamidipati/Desktop/money20202015/money20202015/JSONObject.swift /Users/sridattbhamidipati/Desktop/money20202015/money20202015/DisplayQRViewController.... | D |
module rocl.controls.storage;
import std, perfontain, rocl.status, rocl.messages, rocl.controls, perfontain.managers.gui.misc;
public import rocl.controls.storage.inventory, rocl.controls.storage.kafra;
abstract class ItemView : RCounted
{
protected:
mixin Nuklear;
string info();
Item[] items();
vo... | D |
/Users/Altair/Desktop/Xcode/Framework/TabMenu/build/TabMenu.build/Debug-iphoneos/TabMenu.build/Objects-normal/arm64/TabMenuViewController.o : /Users/Altair/Desktop/Xcode/Framework/TabMenu/TabMenu/TabMenuViewController.swift /Users/Altair/Desktop/Xcode/Framework/TabMenu/TabMenu/TabMenuCollectionViewCell.swift /Users/Alt... | D |
/home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/Utilities.swift.o : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swif... | D |
/**
* Copyright: Copyright (c) 2010-2011 Jacob Carlborg.
* Authors: Jacob Carlborg
* Version: Initial created: Jan 26, 2010
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module orange.serialization.archives.XmlArchive;
version (Tango)
import tango.util.Convert : to;
els... | D |
/**
* Most of the logic to implement scoped pointers and scoped references is here.
*
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.... | D |
/**
Some additional mathematical functions.
Copyright: © 2018 Arne Ludwig <arne.ludwig@posteo.de>
License: Subject to the terms of the MIT license, as written in the
included LICENSE file.
Authors: Arne Ludwig <arne.ludwig@posteo.de>
*/
module dentist.util.math;
import dentist.util.algori... | D |
/Users/arjunpola/Documents/Swift/Homework9/build/ZillowSearch.build/Debug-iphonesimulator/ZillowSearch.build/Objects-normal/x86_64/MyCustomCell3.o : /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPUpload.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPTask.swift /Users/arjunpola/Documents/Swift/... | D |
/home/montu/workspace/type-carnival/target/debug/deps/fnv-31fc9fb8a47c7365.rmeta: /home/montu/.cargo/registry/src/github.com-1ecc6299db9ec823/fnv-1.0.7/lib.rs
/home/montu/workspace/type-carnival/target/debug/deps/libfnv-31fc9fb8a47c7365.rlib: /home/montu/.cargo/registry/src/github.com-1ecc6299db9ec823/fnv-1.0.7/lib.rs... | D |
/Users/markmoussa/HackathonProjects/Rhabit/DerivedData/Rhabit/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartDataSet.o : /Users/markmoussa/HackathonProjects/Rhabit/Pods/Charts/Charts/Classes/Data/Implementations/Standard/BarChartData.swift /Users/markmoussa/HackathonProject... | D |
import std.stdio, std.string;
void main() {
string base = "aa";
foreach (i; 0 .. 26 * 2)
writeln (base), base = succ(base);
}
| D |
/*******************************************************************************
Input module allows access to the keyboard and the mouse.
Authors: ArcLib team, see AUTHORS file
Maintainer: Clay Smith (clayasaurus at gmail dot com)
License: zlib/libpng license: $(LICENSE)
... | D |
/Users/hernaniruegasvillarreal/Documents/Swift/Uber/rider-view/Build/Intermediates/ParseStarterProject-Swift.build/Debug-iphonesimulator/ParseStarterProject-Swift.build/Objects-normal/x86_64/RiderViewController.o : /Users/hernaniruegasvillarreal/Documents/Swift/Uber/rider-view/ParseStarterProject/ViewController.swift /... | D |
module traits_getFunctionAttributes;
alias tuple(T...) = T;
void test_getFunctionAttributes()
{
struct S
{
int noF() { return 0; }
int constF() const { return 0; }
int immutableF() immutable { return 0; }
int inoutF() inout { return 0; }
int sharedF() shared { return ... | D |
module android.java.java.nio.file.StandardOpenOption_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 import1 = android.java.java.lang.Enum_d_... | D |
// https://issues.dlang.org/show_bug.cgi?id=19782
class Inner
{
int a;
}
class Outer
{
Inner inner; alias inner this;
this(Inner i) { inner = i; }
}
void main()
{
Inner[] inners = [];
inners ~= new Inner;
inners ~= new Outer(new Inner); // Appends null
foreach(inner; inners)
{
... | D |
/**
* Semantic analysis of template parameters.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https:... | D |
version(D_SIMD)
{
struct Foo
{
__vector(float[4]) x;
}
static assert(Foo.x.offsetof == 0);
static assert(Foo.x.stringof == "x");
}
| D |
/++
Prerequisites:
-------------------------
A working dmd installation to compile this script (also requires libcurl).
Install Vagrant (https://learnchef.opscode.com/screencasts/install-vagrant/)
Install VirtualBox (https://learnchef.opscode.com/screencasts/install-virtual-box/)
+/
import std.conv, std.exception, std.... | D |
module org.eclipse.swt.std;
public import org.eclipse.swt.SWT;
public import org.eclipse.swt.SWTError;
public import org.eclipse.swt.SWTException;
public import java.lang.all;
public import org.eclipse.swt.events.all;
public import org.eclipse.swt.graphics.all;
public import org.eclipse.swt.layout.all;
public import ... | D |
/Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Queue.o : /Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/bernardo.tolosa/Documents/workspace/iosworks/ba... | D |
var KHeapTop 0x500000
procedure Malloc
auto sz
sz!
KHeapTop@ sz@ - KHeapTop!
KHeapTop@
end
procedure Calloc (* sz -- ptr *)
auto sz
sz!
auto he
sz@ Malloc he!
if (he@ 0 ==)
0 return
end
he@ sz@ 0 memset
he@
end
procedure Free (* -- *) end
procedure HeapDump
KHeapTop@ "%x\n" Printf
end
procedu... | D |
/**
* DSA
*
* Copyright:
* (C) 1999-2010 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.pubkey.algo.dsa;
import botan.constants;
static if (BOTAN_HAS_PUBLIC_KEY_CRYPTO && BOTAN_HAS_DSA):
public import botan.pubkey.algo.dl_al... | D |
/Users/oge/Documents/Projects/iossensorapp/SensorApp/build/SensorApp.build/Release-iphoneos/SensorApp.build/Objects-normal/arm64/AccelerometerSensor.o : /Users/oge/Documents/Projects/iossensorapp/SensorApp/SensorApp/SettingItem.swift /Users/oge/Documents/Projects/iossensorapp/SensorApp/SensorApp/SensorModel.swift /User... | D |
import std.concurrency;
struct A {
immutable(int[]) a;
}
void foo(Tid tid) {
receive(
(A a) {
send(tid, true);
});
}
void main() {
Tid tid = spawn(&foo, thisTid);
immutable(int[]) a = [1];
send(tid, A(a));
receiveOnly!bool();
}
| D |
/**
Handles program options which are arguments passed with a leading `-` or `--` and followed by a value
Features:
<li> Input validation
<li> Customize seperators for associative array args
<li> Supports environment variables
<li> Supports default values
<li> Supports custom types that ha... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math;
void main()
{
writeln(readln.to!(wchar[]).count!(c => c == '1'));
} | D |
INSTANCE Info_Mod_Danae_Hi (C_INFO)
{
npc = GardeInnos_4098_Danae;
nr = 1;
condition = Info_Mod_Danae_Hi_Condition;
information = Info_Mod_Danae_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Danae_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Danae_Hi_Info()
{
AI_Output(self, hero, "Info_Mo... | D |
.hd mktabl "make a symbol table" 03/25/82
pointer function mktabl (nodesize)
integer nodesize
.sp
Library: vswtlb (standard Subsystem library)
.fs
'Mktabl' creates a symbol table for manipulation by the routines
'enter', 'lookup', 'delete', and 'rmtabl'.
The symbol table is a general means of associating data with a s... | D |
module main;
import d;
import d.types;
private extern(C) void __d_sys_exit(int64 arg1)
{
asm
{
mov RAX, 60;
mov RDI, arg1;
syscall;
}
}
private int64 __d_sys_write(int64 arg1, in void* arg2, int64 arg3)
{
int64 result;
asm
{
mov RAX, 1;
mov RDI, arg1;
... | D |
module common.register16;
version (BigEndian)
{
string Register16(string name)()
{
return `
union
{
public ushort ` ~ name ~ `;
struct
{
public ubyte ` ~ name ~ `h;
public ubyte ` ~ name ~ `l;
}
}... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Bo... | D |
instance DIA_ORCSHAMAN_UR_DAH_EXIT(C_Info)
{
npc = orcshaman_ur_dah;
nr = 999;
condition = dia_orcshaman_ur_dah_exit_condition;
information = dia_orcshaman_ur_dah_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_orcshaman_ur_dah_exit_condition()
{
if(URDAHTELLME == FALSE)
{
return TR... | D |
void main() {
import std.stdio, std.string, std.conv, std.algorithm;
import std.container.rbtree;
int q;
rd(q);
struct P {
int f, c;
}
while (q--) {
int n;
rd(n);
auto freq = new int[](n), cnt1s = new int[](n);
foreach (i; 0 .. n) {
int a, t;
rd(a, t);
freq[a - 1] ... | D |
/Users/deepansh/Desktop/ForexWatchlist/DerivedData/ForexWatchlist/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Rx.o : /Users/deepansh/Desktop/ForexWatchlist/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/deepansh/Desktop/ForexWatchlist/Pods/RxSwift/RxSwift/Observab... | D |
saw used with one hand for cutting metal
| D |
/Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevExtensions.build/DataAction.swift.o : /Users/abuzeid/workspace/DevPods/DevExtensions/UIViewController+Nib.swift /Users/abuzeid/workspace/DevPods/DevExtensions/UIColor+DarkMode.swift /Users/abuzeid/workspace/DevPods/DevExtensions/Disposable.swift /User... | D |
module armos.graphics.bitmap;
import armos.math;
import armos.graphics;
/++
Bitmapデータを表すstructです.
画素を表すPixelの集合で構成されます.
+/
struct Bitmap(T){
public{
/++
領域を確保します.
Params:
size = Bitmapのサイズです.
colorType = Bitmapのカラーフォーマットを指定します.
+/
Bitmap alloc... | D |
//Written in the D programming language
/++
D header file for FreeBSD's extensions to POSIX's unistd.h.
Copyright: Copyright 2018
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP jmdavisprog.com, Jonathan M Davis)
+/
module core.sys.freebsd.unistd;
public import... | D |
module wx.MemoryDC;
public import wx.common;
public import wx.DC;
//! \cond EXTERN
static extern (C) IntPtr wxMemoryDC_ctor();
static extern (C) IntPtr wxMemoryDC_ctorByDC(IntPtr dc);
static extern (C) void wxMemoryDC_SelectObject(IntPtr self, IntPtr bitmap);
//! \endcond
//-----------------------------... | D |
// Written in the D programming language
/**
* This module contains a _parser for D source code.
*
* Grammar:
* The grammar format used in the documentation of this module generally follows
* the format used by the ANTLR _parser generator.
* $(UL
* $(LI Tokens and rules can be grouped by parenthesis.)
* $(LI A... | D |
a Chinese god worshipped in the form of an idol
| D |
/Users/hailor/Work/mobile/QhTestMV/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Timeline.o : /Users/hailor/Work/mobile/QhTestMV/ios/Pods/Alamofire/Source/MultipartFormData.swift /Users/hailor/Work/mobile/QhTestMV/ios/Pods/Alamofire/Source/Timeline.swift /Users/hai... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto M = scan!int;
auto XY = scan!real(2 * (N + M)).chunks(2).array;
struct Point {
real x, y;
real distance(Point other) {
return sqrt((x - other.x) * (x - other.x) + (y - other.y) * (y - other.y));
}
}
int speed(int stat... | D |
/Users/Niclas/Desktop/xcode_projekte/ExchangeAGram/build/ExchangeAGram.build/Debug-iphonesimulator/ExchangeAGram.build/Objects-normal/x86_64/FilterCell.o : /Users/Niclas/Desktop/xcode_projekte/ExchangeAGram/ExchangeAGram/FilterCell.swift /Users/Niclas/Desktop/xcode_projekte/ExchangeAGram/ExchangeAGram/FilterViewControl... | D |
module webkit2.PrintOperation;
private import glib.ConstructionException;
private import glib.ErrorG;
private import gobject.ObjectG;
private import gobject.Signals;
private import gtk.PageSetup;
private import gtk.PrintSettings;
private import gtk.Window;
private import std.algorithm;
private import webkit2.PrintCust... | D |
instance Mod_1882_GRD_Gardist_MT (Npc_Default)
{
//-------- primary data --------
name = NAME_Gardist;
npctype = npctype_mt_gardistATBANDIT;
flags = 0; // weil Windenwache !!! wird in Kapitel 4 gelöscht!
guild = GIL_out;
level = 20;
voice = 6;
id = 1882;
//-------- abilities ... | 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 |
/*
Copyright (c) 2015-2021 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, dist... | D |
/Users/danielmorales/CSUMB/Potluck/build/Potluck.build/Release-iphonesimulator/Potluck.build/Objects-normal/x86_64/EventTableViewCell.o : /Users/danielmorales/CSUMB/Potluck/Potluck/AppDelegate.swift /Users/danielmorales/CSUMB/Potluck/Potluck/EventTableViewCell.swift /Users/danielmorales/CSUMB/Potluck/Potluck/ViewContro... | D |
mntoc (2) --- convert ASCII mnemonic to character 03/28/80
_C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n
character function mntoc (buf, p, default)
character buf (ARB), default
integer p
Library: vswtlb ... | D |
/**
* Widget module.
*
* License:
* MIT. See LICENSE for full details.
*/
module tkd.widget.notebook;
/**
* Imports.
*/
import std.array;
import tkd.element.uielement;
import tkd.image.image;
import tkd.image.imageposition;
import tkd.widget.common.height;
import tkd.widget.common.padding;
import tkd.widget... | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/version_check-3f8e9af20a736da9.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/version_check-0.1.5/src/lib.rs
/home/zbf/workspace/git/RTAP/target/debug/deps/libversion_check-3f8e9af20a736da9.rlib: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn... | D |
module vksdk.httpclient.RequestsTransportClient;
import std.datetime;
import std.experimental.logger.filelogger;
import std.stdio;
import vksdk.client.ClientResponse;
import vksdk.client.TransportClient;
import requests;
class RequestsTransportClient : BaseTransportClient {
private static RequestsTransportClien... | D |
import std.stdio;
import std.concurrency;
shared string[] sources;
void thread1()
{
int mio() {
return 0;
}
foreach (string str; sources) {
writeln("T1: ", str);
}
}
void main()
{
sources = [ "1", "2", "3" ];
sources ~= "4";
spawn(&thread1);
}
| D |
// http://www.digitalmars.com/d/archives/digitalmars/D/bugs/2372.html
// allegedly crashes, but cannot reproduce
import core.stdc.stdio : printf;
void main()
{
for (int t=0; t<33; t++)
printf("sizeof bittest_T(0) %i\n", (bool[t]).sizeof );
}
| D |
/Users/kelvintan/Desktop/MVVM/Build/Intermediates.noindex/MVVM.build/Debug-iphonesimulator/MVVMTests.build/Objects-normal/x86_64/HomeViewModelTest.o : /Users/kelvintan/Desktop/MVVM/MVVMTests/MVVMTests.swift /Users/kelvintan/Desktop/MVVM/MVVMTests/HomeViewModelTest.swift /Applications/Xcode_12.4.app/Contents/Developer/T... | D |
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/JSON.build/JSON+Serialize.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/JSON-1.0.2/Sources/JSON/JSON+Bytes.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellers... | D |
void main() {
(S => ((N, cnt) => cnt == 0 ? N : (N - cnt) / (2*cnt) * 2 + 1)(S.length, S.sort().group.count!(v => v[1] % 2 == 1)))(readln.chomp.to!(dchar[])).writeln;
/*auto S = readln.chomp.to!(dchar[]);
auto N = S.length;
auto cnt = S.sort().group.count!(p => p[1] % 2 == 1);
debug writefln("%s %d %d", S, N, cnt)... | D |
the basic unit of money in Sweden
the basic unit of money in Iceland
| D |
// Written in the D programming language
/++
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Types) $(TD
$(LREF Clock)
$(LREF SysTime)
$(LREF DosFileTime)
))
$(TR $(TD Conversion) $(TD
$(LREF parseRFC822DateTime)
$(LREF DosFileTimeToS... | D |
# FIXED
Full_Demo/Standard_Demo_Tasks/IntSemTest.obj: C:/FreeRTOSv10.1.1/FreeRTOS/Demo/Common/Minimal/IntSemTest.c
Full_Demo/Standard_Demo_Tasks/IntSemTest.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include/stdlib.h
Full_Demo/Standard_Demo_Tasks/IntSemTest.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.L... | D |
/home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/PriorityQueue.swift.o : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/... | D |
/*
REQUIRED_ARGS: -checkaction=context -dip25 -dip1000
PERMUTE_ARGS: -O -g -inline
*/
void test8765()
{
string msg;
try
{
int a = 0;
assert(a);
}
catch (Throwable e)
{
// no-message -> assert expression
msg = e.msg;
}
assert(msg == "0 != true");
}
void ... | D |
import vibe.data.json;
import std.datetime;
import std.typecons;
import std.array;
import std.format;
import expirationpolicy;
import database;
import util;
import simple;
import vibe.d;
class LastHitExpirationPolicy : SimpleExpirationPolicy
{
private:
public:
this(string[string] policySettings)
... | D |
module auscoin.orderbook;
import auscoin.currency;
import auscoin.account;
import std.datetime;
import std.algorithm;
import vibe.data.json;
void saveExchangeDb()
{
// Json js = serializeToJson(exchange);
// std.file.write("exchange.json", js.toString());
}
shared static this()
{
try
{
auto bytes = cast(string... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Routing.build/Register/RouterOption.swift.o : /Users/nice/HelloWord/.build/checkouts/routing.git--4844404746360018295/Sources/Routing/Utilities/Deprecated.swift /Users/nice/HelloWord/.build/checkouts/routing.git--4844404746360018295/Sources/Routing/Routing/Rou... | 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, a... | D |
/**
* $(RED Deprecated. Please use $(D core.stdc.time) instead. This module will
* be removed in December 2015.)
* C's <time.h>
* Authors: Walter Bright, Digital Mars, www.digitalmars.com
* License: Public Domain
* Macros:
* WIKI=Phobos/StdCTime
*/
/// Please import core.stdc.time instead. T... | D |
# FIXED
Ultrasound.obj: C:/Users/abhil/Documents/tirslk_maze_1_00_01/tirslk_maze_1_00_00/inc/Ultrasound.c
Ultrasound.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h
Ultrasound.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_stdint40.h
Ultrasound.obj: C:/ti/ccs910/ccs/t... | D |
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* gtkD is distributed in th... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.