code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
instance MENU_OPT_VIDEO(C_MENU_DEF)
{
backPic = MENU_BACK_PIC;
items[0] = "MENUITEM_VID_HEADLINE";
items[1] = "MENUITEM_VID_DEVICE";
items[2] = "MENUITEM_VID_DEVICE_CHOICE";
items[3] = "MENUITEM_VID_RESOLUTION";
items[4] = "MENUITEM_VID_RESOLUTION_CHOICE";
items[5] = "MENUITEM_VID_BRIGHTNESS";
items[6] = "MENU... | D |
INSTANCE Info_Mod_Boltan_Hi (C_INFO)
{
npc = Mod_564_MIL_Boltan_NW;
nr = 1;
condition = Info_Mod_Boltan_Hi_Condition;
information = Info_Mod_Boltan_Hi_Info;
permanent = 0;
important = 0;
description = "Wer bist du?";
};
FUNC INT Info_Mod_Boltan_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Boltan_Hi_Info... | D |
class C
{
this(int i) { this.i = i; }
int i;
}
struct S
{
this(C c)
{
this.c = c;
}
C c;
version(none)
version(DigitalMars)
{
/** DMD has bug in the codegen.
*
* See_also: https://forum.dlang.org/post/modqrqwsqvhxodtlickm@forum.dlang.org
*... | D |
/**
File handling functions and types.
Copyright: © 2012-2019 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.core.file;
import eventcore.core : NativeEventDriver, eventDriver;
import eventcore.driver;
import vibe.cor... | D |
/afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MadGraphME/obj/CPPProcess_P0_Sigma_sm_hVBF_ZZ_4l_sm_ud_epemmupmumud.o /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MadGraphME/obj/CPPProcess_P0_Sigma_sm_hVBF_ZZ_4l_sm_ud_epemmupmumud.d : ... | D |
module android.java.android.content.LocusId_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.lang.Class_d_interface;
import import0 = android.java.android.os.Parcel_d_interf... | D |
// "magic constants"
const int oCNpc__FightAttackMelee = 6811328;
const int oCAIHuman__PC_Diving = 6921312;
const int oCNpc__DoTakeVob = 7621056;
const int Inv_Draw = 7369071;
const int oCNpc__OnTouch = 7647008;
const int oCGame__HandleEvents = 7324016;
const int oCGame__GetHeroStatus = 7089424;
const int oCZo... | D |
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/SQL.build/SQLIndexModifier.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/sql/Sources/SQL/SQLJoinMethod.swift /Users/christian/GitHub/vap... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module glib.win32;
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the... | D |
instance Mod_7414_JG_Bret_NW (Npc_Default)
{
// ------ NSC ------
name = "Bret";
guild = GIL_OUT;
id = 7414;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ------
fight_tac... | D |
module widget.controller.notification.index.index;
import widget;
class NotificationIndexController : WidgetControllerPrototype{
this(){
super();
this.name = "index";
this.web_interface_settings.urlPrefix = "/"~this.name;
this.router.registerWebInterface(this, this.web_interface_settings);
}
@method(HTTPM... | D |
instance Mod_7363_VLK_LehmarWache_NW (Npc_Default)
{
// ------ NSC ------
name = "Lehmars Wache";
guild = GIL_PAL;
id = 7363;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ... | 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 |
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab3/os/target/riscv64imac-unknown-none-elf/debug/deps/volatile-7091e82015bd4da0.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/volatile-0.2.6/src/lib.rs
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab3/os/target/riscv64imac-unk... | D |
import std.stdio : File;
import std.string : format, strip;
void main()
{
foreach (s; 4..17)
foreach (i; 0..6)
foreach (genz_c; [1, 2, 4])
{
immutable c = (i == 4 ? 10 : 1) * genz_c;
auto out_file = File("s%02d-m%02dm%02d-%dgenz%d.csv".format(s, 8, 23, genz_c, i), "w");
foreach (in_file; [
Fil... | D |
/******************************************************************************
Fake DLS node Push request implementation.
Copyright:
Copyright (c) 2016-2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
************... | D |
// Written in the D programming language.
/**
<script type="text/javascript">inhibitQuickIndex = 1</script>
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions)
)
$(TR $(TDNW Searching) $(TD $(MYREF all) $(MYREF any) $(MYREF balancedParens) $(MYREF
boyerMooreFinder) $(MYREF canFind) $(MYREF commonPrefix) $(MYREF count)
... | D |
// Copyright Ferdinand Majerech 2010 - 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)
///Main pong program class.
module ice.ice;
import std.algorithm;
import std.array;
import st... | D |
import std.stdio;
import std.math;
import lib.simpson;
void main()
{
// http://www.wolframalpha.com/input/?i=integral+cos(x)%5E1000+from+0+to+1
auto f = (double x) => (pow(cos(x), 1000));
writeln(simpson(f, 0, 1, 1000));
}
| 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 |
/****************************************************************************************
* Copyright: Copyright (C) 2009-2010 Ulrik Mikaelsson. All rights reserved
*
* License:
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | D |
int a;
int b = 1;
typedef int t = 2;
t c;
t d = cast(t)3;
int.init // is 0
a.init // is 0
b.init // is 0
t.init // is 2
c.init // is 2
d.init // is 2
struct Foo
{
int a;
int b = 7;
}
Foo.init.a // is 0
Foo.init.b // is 7 | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_... | D |
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/HistoricalSchedulerTimeConverter.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/da... | D |
/Users/plin2/Desktop/Tripper/build/Tripper.build/Debug-iphonesimulator/Tripper.build/Objects-normal/x86_64/VVCollectionViewCell.o : /Users/plin2/Desktop/Tripper/Tripper/ViewController.swift /Users/plin2/Desktop/Tripper/Tripper/AppDelegate.swift /Users/plin2/Desktop/Tripper/Tripper/DetailViewController.swift /Users/plin... | D |
module android.java.java.lang.NegativeArraySizeException;
public import android.java.java.lang.NegativeArraySizeException_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!NegativeArraySizeException;
import import4 = android.java.java.lang.Class;
import import3 = android.java.java.lang.StackTrac... | D |
/**
Contains routines for high level path handling.
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 dub.internal.vibecompat.inet.path;
import std.algorithm;
import std.array;
import std.conv;
imp... | D |
module pierun.interfaces.rss;
import std.conv, std.string;
import vibe.d;
import hibernated.core;
import pierun.core;
import pierun.utils.misc;
import pierun.interfaces.common,
pierun.interfaces.web;
class RSSWebInterface
{
private {
WebInterface parent;
}
@noRoute @property auto sess... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftyJSON.build/Objects-normal/x86_64/SwiftyJSON.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/SwiftyJSON/Source/SwiftyJSON.s... | D |
/*
Standard DLL creation with DllMain function.
Compilation
(dmd)
$ dmd -ofDllMain.dll -shared DllMain.d
(llvm ldc)
$ ldc
*/
module unmanaged;
import core.sys.windows.windows;
import core.sys.windows.dll;
version(Windows)
extern(Windows)
bool DllMain(HINSTANCE hInstance, uint ulReason, LPVOID pvReserved... | D |
module dtk.widgets.frame;
public import dtk.widget;
class Frame : Widget
{
this(Widget parent) {
class_name = "frame";
super(parent);
}
mixin generate_configure!(int,"borderwidth", relief,"relief", "background", "colormap", "container", "cursor", int,"height", "highlightbackground", "highlightcolor", "... | D |
/**
* Generate debug info in the CV4 debug format.
*
* Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 h... | D |
// Arguments of an arithmetical operator not of arithmetical type.
func Main()
{
var int n;
var string s;
var bool b;
s := "bad operand";
// n := s + s / s;
n := true + b;
}
| D |
module dwt.internal.mozilla.nsIDOMStorageItem;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsStringAPI;
alias PRUint64 DOMTimeStamp;
const char[] NS_IDOMSTORAGEITEM_IID_STR = "0cc37c78-4c5f-48e1-adfc-7480b8fe9dc... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2020 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 Mil_119_Cassian_Exit (C_INFO)
{
npc = Mil_119_Cassian;
nr = 999;
condition = Mil_119_Cassian_Exit_Condition;
information = Mil_119_Cassian_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
};
FUNC int Mil_119_Cassian_Exit_Condition()
{
return TRUE;
};
FUNC VOID Mil_119_Cassian_Exit_Info(... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Fluent.build/Objects-normal/x86_64/Chunk.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent.git-62519083087... | D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/debug/deps/actix_connect-f289e065b3c0c55c.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/actix-connect-0.2.5/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/actix-connect-0.2.5/src/c... | D |
English writer of macabre short stories (1863-1943)
United States writer and critic of urban planning (born in 1916)
Dutch physician who opened the first birth control clinic in the world in Amsterdam (1854-1929)
French biochemist who (with Jacques Monod) studied regulatory processes in cells (born in 1920)
(Old Testam... | D |
/Users/indianic/Desktop/SelfStudy/GIT/TestApp/build/TestApp.build/Release-iphoneos/TestApp.build/Objects-normal/arm64/ViewController.o : /Users/indianic/Desktop/SelfStudy/GIT/TestApp/TestApp/ViewController.swift /Users/indianic/Desktop/SelfStudy/GIT/TestApp/TestApp/AppDelegate.swift /Applications/Xcode.app/Contents/Dev... | D |
/home/essamgouda97/Desktop/ECE522/Project/ECE522-Project/project_rust/target/release/build/serde_derive-9f5bad80b3874c8f/build_script_build-9f5bad80b3874c8f: /home/essamgouda97/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.117/build.rs
/home/essamgouda97/Desktop/ECE522/Project/ECE522-Project/project... | D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Jan 29, 2012
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module dstep.translator.Declaration;
import mambo.core._;
import clang.Cursor;
impor... | D |
import std.stdio;
void main() {
int[12] monthDays;
monthDays[11] = 31;
writeln("January has ", monthDays[0], " days");
} | D |
module chirp.utils.input;
/++
+ Reads a file and returns its content.
+ Returns an empty string if the file doesn't exist or is a directory
+/
public string readFile(string path)
{
import std.file : exists, isDir, readText;
if (exists(path) && !isDir(path))
{
return readText(path);
}
retu... | D |
import std.stdio, std.string, std.regex, std.range, std.conv, std.math, std.stdint;
import std.getopt;
import std.file, std.path, std.socket, std.concurrency;
import protocol.http, protocol.mongrel2;
import core.sys.posix.signal;
auto debugLvl = 0;
auto quiet = false;
auto totalListed = 0;
sigaction_t old_actio... | D |
<?xml version="1.0" encoding="ASCII"?>
<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="associationClassComPacote.notation... | D |
import std.stdio;
import std.math;
import std.algorithm;
import std.conv;
long bisect(T)(T[] arr, T p) {
long u, t = arr.length-1;
long i = (u + t) / 2;
while(i != 0 && i != arr.length - 1 && (arr[i] > p || arr[i+1] <= p)) {
if (arr[i] > p) {
t = i;
}
else {
if (u == i)
u = i + 1;
else
u = i;... | D |
module token;
import source_file;
class Token {
private:
SourceFile owner;
string lexeme;
int type;
public:
static enum {
IDENTIFIER,
NUMBER,
STRING,
CHARACTER,
SYMBOL
}
this(SourceFile owner, string lexeme, int type) {
this.owner = o... | D |
/Users/apple/DailySchedule/step2/os/target/riscv64imac-unknown-none-elf/debug/deps/bare_metal-3913700313f3b698.rmeta: /Users/apple/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/bare-metal-0.2.5/src/lib.rs
/Users/apple/DailySchedule/step2/os/target/riscv64imac-unknown-none-elf/debug/deps/libbare_metal-391370... | D |
module mybase;
import mysql;
import std.string;
import std.stdio;
import std.variant;
import qte5;
import std.conv;
import std.datetime.date;
class mydb{
private {
string _host;
string _port;
string _user;
string _password;
string _dbname;
string _table;
string connStr;
bool _connected;
QTableWidgetItem[][]... | D |
module ddiv.core.mainprocess;
import ddiv.core.process;
import ddiv.core.scheduler;
import ddiv.core.tostring;
/// Initial process
class MainProcess : Process {
/**
* Creates the initial process
* @param args Arguments
* @param mainFunction Code to be execute as main
*/
this(string[] args)... | D |
import std.stdio:writeln,stderr;
import std.format:format;
import core.stdc.stdlib:exit;
string first_unique_character(string str)
{
string ret;
char[] chars = str.dup;
int[char] hash;
foreach(c;chars)
hash[c]++;
for(ulong i = 0; i < chars.length; ++i)
if(hash[chars[i]] == 1)
{
ret = format... | D |
/*******************************************************************************
* Copyright (c) 2000, 2003 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 glwt.program;
import std.conv : to;
import cst_ ;
import derelict.opengl ;
import glwt.shader;
/** A wrapper for a program.*/
struct Program {
uint id = 0;
}
/** glCreateShader wrapper.
*/
void
create(ref Program program)
{
import std.stdio;
program.id = glCreateProgram();
}
/** glDeletePro... | D |
module dlangide.ui.outputpanel;
import dlangui;
import dlangide.workspace.workspace;
import dlangide.workspace.project;
import dlangide.ui.frame;
import dlangide.ui.terminal;
import std.utf;
import std.regex;
import std.algorithm : startsWith;
import std.string;
//static if (BACKEND_CONSOLE) {
// enum ENABLE_INTE... | D |
// To compile:
// dfl helloworld -gui
import os.win.gui.all;
import object;
int main()
{
Form myForm;
Label myLabel;
myForm = new Form;
myForm.text = "DFL Example";
myLabel = new Label;
myLabel.font = new Font("Verdana", 14f);
myLabel.text = "Hello, DFL World!";
myLabel.location = Poin... | D |
module breeze.math.matrix;
import std.stdio;
import breeze.math.units;
import breeze.math.vector;
auto rotation2d(Radians _angle){
import breeze.math.vector;
import std.math: cos, sin;
alias Vec2 = Vector!(float,2);
return Matrix!(float,2,2)(Vec2(cos(_angle.value), -sin(_angle.value)),
... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail110.d(16): Error: variable `i` is shadowing variable `fail110.main.i`
fail_compilation/fail110.d(17): Error: variable `i` is shadowing variable `fail110.main.i`
fail_compilation/fail110.d(18): Error: variable `i` is shadowing variable `fail110.main.i`
---
*/
// https://issues.d... | D |
instance PAL_253_Wache (Npc_Default)
{
// ------ NSC ------
name = NAME_Ritter;
guild = GIL_PAL;
id = 253;
voice = 9;
flags = NPC_FLAG_IMMORTAL; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_OCAMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); ... | D |
/Users/olegp/Desktop/XCoordinatorPlayground/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/WithLatestFrom.o : /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observab... | D |
module logic.demo.PointGetter;
import logic.data.Timeseries;
import logic.data.Vector;
import logic.integrators.Integrator;
import logic.integrators.RK4;
/**
* Controls getting point values to display.
*/
abstract class PointGetter {
Timeseries!double points; ///The list of points that are created by this obje... | D |
/**
Implements WebSocket support and fallbacks for older browsers.
Examples:
---
void handleConn(WebSocket sock)
{
// simple echo server
while( sock.connected ){
auto msg = sock.receive();
sock.send(msg);
}
}
static this {
auto router = new UrlRouter;
router.get("/websocket", handleWebSockets(&... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail142.d(21): Error: cannot create instance of abstract class `B`
fail_compilation/fail142.d(15): class `B` is declared here
fail_compilation/fail142.d(12): function `void test()` is not implemented
---
*/
class A
{
abstract void test() {}
}
class B : A
{
}
voi... | 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 windows.toolhelp;
public import windows.systemservices;
extern(Windows):
struct HEAPLIST32
{
uint dwSize;
uint th32ProcessID;
uint th32HeapID;
uint dwFlags;
}
struct HEAPENTRY32
{
uint dwSize;
HANDLE hHandle;
uint dwAddress;
uint dwBlockSize;
uint dwFlags;
uint dwLockC... | D |
/Users/craig/Repos/projects/ios/SimpleiPhoneApp-S2/SimpleiPhoneApp/FunFacts/Build/Intermediates/SwiftMigration/FunFacts/Intermediates.noindex/FunFacts.build/Debug-iphonesimulator/FunFacts.build/Objects-normal/x86_64/FactBook.o : /Users/craig/Repos/projects/ios/SimpleiPhoneApp-S2/SimpleiPhoneApp/FunFacts/FunFacts/AppDel... | D |
/*
* Public domain
* sys/socket.h compatibility shim
*/
module libressl.compat.sys.socket;
public import core.sys.dragonflybsd.sys.socket;
public import core.sys.linux.sys.socket;
public import core.sys.posix.sys.socket;
public import libressl.compat.win32netcompat;
extern (C):
nothrow @nogc:
version (Posix) {
}... | D |
module dwtx.dwtxhelper.regex;
import dwt.dwthelper.utils;
class Matcher {
public Pattern pattern(){
implMissing( __FILE__, __LINE__ );
return null;
}
public String group(){
implMissing( __FILE__, __LINE__ );
return null;
}
public String group(int n){
i... | D |
/*
* Hunt - A refined core library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.concurrency.AbstractQueuedSynchronizer;
import hunt.concurrency.AbstractOwnableSynchronizer;
import hunt.concu... | D |
/Users/pavlosnicolaou/Documents/workshop/Kitura/KituraWebInterface/KituraWebInterface_Starter/.build/x86_64-apple-macosx10.10/debug/Kitura.build/RouterResponse.swift.o : /Users/pavlosnicolaou/Documents/workshop/Kitura/KituraWebInterface/KituraWebInterface_Starter/.build/checkouts/Kitura.git-2993072347418016799/Sources/... | D |
module beginners.placing_marbles;
import std.stdio,
std.array,
std.conv,
std.algorithm;
void main (){
write(readln.split("").count("1"));
}
| D |
/Users/rossroberts/Exercism/rust/reverse-string/target/debug/deps/reverse_string-c7f2a30a368a9f8f: src/lib.rs
/Users/rossroberts/Exercism/rust/reverse-string/target/debug/deps/reverse_string-c7f2a30a368a9f8f.d: src/lib.rs
src/lib.rs:
| D |
module android.java.android.hardware.camera2.CaptureResult_Key_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("CaptureResult$Key")
final... | D |
blasphemous language (expressing disrespect for God or for something sacred)
blasphemous behavior
| D |
/++
Minimal bindings for libssh2. (just what I needed for my terminal emulator, but I'd accept more, and even wrappers if you wanted to.)
Just link with it on Linux, but it'll need a couple dlls and a lib on windows.
+/
module arsd.libssh2;
// some day: https://libssh2.org/examples/x11.html
// and https://stackover... | D |
/home/bcsx/projects/rust_zoo/target/debug/deps/strsim-634e26f9ad594cf1.rmeta: /home/bcsx/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/strsim-0.8.0/src/lib.rs
/home/bcsx/projects/rust_zoo/target/debug/deps/libstrsim-634e26f9ad594cf1.rlib: /home/bcsx/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/s... | D |
module parser;
@nogc nothrow:
import core.stdc.stdio;
enum LexicalType
{
undefined,
eof,
space,
number, // 0, 1, -1, ...
leftBrace, // {
rightBrace, // }
executableName, // abc, hello, ...
literalName, // /abc, /hello, ...
}
union TokenValue
{
int number;
... | D |
.source T_if_ltz_7.java
.class public dot.junit.opcodes.if_ltz.d.T_if_ltz_7
.super java/lang/Object
.method public <init>()V
.limit regs 1
invoke-direct {v0}, java/lang/Object/<init>()V
return-void
.end method
.method public run(I)Z
.limit regs 6
if-ltz v5, Label8
const/4 v5, 0
r... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Bits.build/Data+BytesConvertible.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/bits.git-9196587591774... | D |
/mnt/d/dev/blockchain/wormhole/solana/bridge/program/target/rls/debug/build/bzip2-sys-c5c7b47c9de2f37c/build_script_build-c5c7b47c9de2f37c: /home/franglin/.cargo/registry/src/github.com-1ecc6299db9ec823/bzip2-sys-0.1.11+1.0.8/build.rs
/mnt/d/dev/blockchain/wormhole/solana/bridge/program/target/rls/debug/build/bzip2-sy... | D |
a form of socialism that abolishes private ownership
a political theory favoring collectivism in a classless society
| D |
/Users/subhrabasu/reactNative/ios/build/NissanX/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OktaOidc.build/Objects-normal/x86_64/OktaOidcEndpoint.o : /Users/subhrabasu/reactNative/ios/Pods/OktaOidc/Okta/OktaOidc/OIDAuthorizationService+Okta.swift /Users/subhrabasu/reactNative/ios/Pods/OktaOidc/Okta/Okt... | D |
void main() {
problem();
}
void problem() {
auto N = scan!long;
auto LR = scan!long(N*2).chunks(2);
auto solve() {
enum MAX = 10^^6 + 1;
auto acc = new long[](MAX);
long numComb(long l, long r) {
if (r == 0) return 1;
if (r - l < l) return 0;
// long ret;
// while(l <= r)... | D |
/ubtu/home/danlkv/quantTechLab/corr/target/debug/deps/corr-bfb4c2b590c776dc.rmeta: src/main.rs
/ubtu/home/danlkv/quantTechLab/corr/target/debug/deps/corr-bfb4c2b590c776dc.d: src/main.rs
src/main.rs:
| D |
/Users/julia/ruhackathon/target/rls/debug/deps/libjose-4d89c6b312226457.rmeta: /Users/julia/.cargo/git/checkouts/identity.rs-3c836f09661bc7fb/cbb28b8/libjose/src/lib.rs /Users/julia/.cargo/git/checkouts/identity.rs-3c836f09661bc7fb/cbb28b8/libjose/src/macros.rs /Users/julia/.cargo/git/checkouts/identity.rs-3c836f09661b... | D |
/Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/Sequence.o : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/junanqu/Desktop/SPEED_Int... | D |
/Users/jarinosuke/Documents/workspace/grpc-swift/.build/x86_64-apple-macosx10.10/debug/gRPC.build/Channel.swift.o : /Users/jarinosuke/Documents/workspace/grpc-swift/Sources/gRPC/gRPC.swift /Users/jarinosuke/Documents/workspace/grpc-swift/Sources/gRPC/Metadata.swift /Users/jarinosuke/Documents/workspace/grpc-swift/Sourc... | D |
module owlchain.util.xdrStream;
import owlchain.crypto.hex;
import owlchain.crypto.sha;
/**
* Helper for loading a sequence of XDR objects from a file one at a time,
* rather than all at once.
*/
class XDRInputFileStream
{
}
class XDROutputFileStream
{
public:
template M(T)
{
bool writeOne(re... | D |
prototype Mst_Default_Demon(C_Npc)
{
name[0] = "Demon";
guild = GIL_DEMON;
aivar[AIV_MM_REAL_ID] = ID_DEMON;
level = 50;
attribute[ATR_STRENGTH] = 250;
attribute[ATR_DEXTERITY] = 250;
attribute[ATR_HITPOINTS_MAX] = 500;
attribute[ATR_HITPOINTS] = 500;
attribute[ATR_MANA_MAX] = 200;
attribute[ATR_MANA] = 200;... | D |
/root/test/rust/http_getter2/target/release/build/failure_derive-9b3575ecc324be3c/build_script_build-9b3575ecc324be3c: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.5/build.rs
/root/test/rust/http_getter2/target/release/build/failure_derive-9b3575ecc324be3c/build_script_build-9b3575ecc324be3... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail354.d(11): Error: template instance T!N template `T` is not defined
fail_compilation/fail354.d(13): Error: template instance fail354.S!1 error instantiating
---
*/
struct S(int N)
{
this(T!N) { }
}
alias S!1 M;
| D |
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/Random.build/URandom.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/RandomProtocol.swift /Users/Khanh/vapor/TILApp/.build/checkouts/crypto.git-7980259129511365902/Sources/Random/Array+Random.swift /Users/... | D |
/*
* This file generated automatically from xproto.xml by d_client.py.
* Edit at your peril.
*/
/**
* @defgroup XCB__API XCB API
* @brief XCB Protocol Implementation.
* @{
**/
module xcb.xproto;
import xcb.xcb;
extern (C):
/**
* @brief xcb_char2b_t
**/
struct xcb_char2b_t {
ubyte byte1; /**< */
ubyte... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
... | D |
module framed;
import framed.win32;
import core.stdc.stdlib;
version (Windows) {
import core.sys.windows.windows;
enum FramedWindowSupport = true;
}
else {
enum FramedWindowSupport = false;
}
nothrow:
package enum FramebufferType {
Null,
Window,
}
package struct WindowData {
nothrow:
void* udata;
int funct... | D |
module problems.problem4;
import std.stdio;
import std.conv;
bool isPalandrome( const int num )
{
const char[] s = to!string( num ).dup;
const char[] r = s.dup.reverse;
if ( s == r )
{
return true;
}
return false;
}
unittest
{
writeln("test isPalandrome");
assert(isPalandrome(1) == true);
assert(isPaland... | D |
instance DIA_PAL_9_EXIT(C_Info)
{
nr = 999;
condition = DIA_PAL_9_EXIT_Condition;
information = DIA_PAL_9_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_PAL_9_EXIT_Condition()
{
return TRUE;
};
func void DIA_PAL_9_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_PAL_9_JOIN(... | D |
/Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphoneos/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/arm64/CharacterImageTableCell.o : /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~Cl... | D |
module dcaptcha.alice30;
static const sourceText = q"EOF
***This is the Project Gutenberg Etext of Alice in Wonderland***
*This 30th edition should be labeled alice30.txt or alice30.zip.
***This Edition Is Being Officially Released On March 8, 1994***
**In Celebration Of The 23rd Anniversary of Project Gutenberg***
... | D |
////////////////////////////////////////////////////////////////////////////////
//
// ItSc_SummonMud
//
const int Value_Sc_SummonMud = 300; // FIXME_Noki: Tuning (zu teuer?)
instance ItSc_SummonMud(C_Item)
{
name = NAME_Spruchrolle;
mainflag = ITEM_KAT_RUNE;
flags = ITEM_MULTI;
value = Valu... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.