code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module dwrap.freenect;
extern (C)
{
uint initializeFreenectDevices();
void deinitializeFreenectDevices();
void processFreenectDevices();
bool getRGB( uint, ubyte* ); //memory must be allocated
bool getDepth( uint, ushort* ); //memory must be allocated
uint getRGBWidth();
uint getRGBHeight(... | D |
/**
* The runtime module exposes information specific to the D runtime code.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly
* Source: $(DRUNTIMESRC core/_runtime.d)
*/
/* Copyright Sean Kelly 2005... | D |
int main(){
int i;
int j;
i = 0;
for(; i < 3; i = i+1){
for(j=i; j >= 0; j = j-1){
Print(i, j);
}
}
} | D |
// Compiler implementation of the D programming language
// Copyright (c) 1999-2015 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
module ddmd.optimize;
import ddmd.c... | D |
# FIXED
flash.obj: C:/ti/motorware/motorware_1_01_00_18/sw/drivers/flash/src/32b/f28x/f2806x/flash.c
flash.obj: C:/ti/motorware/motorware_1_01_00_18/sw/drivers/flash/src/32b/f28x/f2806x/flash.h
flash.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/types/src/types.h
flash.obj: C:/ti/ccsv6/tools/compiler/c2000_6.2.... | D |
//Problem 16: Write a program that takes a value inside a <a> tag using Regular Expression.
import std.regex;
import std.stdio;
void main()
{
auto exp = regex("<(\"[^\"]*\"|\'[^\']*\'|[^\'\">])*>");
writeln(replaceAll("<a>Hello World</a>", exp, ""));
} | D |
in a wise manner
| D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/App.build/Models/Todo.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/configure.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/Models/UserToken.swift /Users/weirujian/Desktop/WeiRuJian/V... | D |
import std.stdio;
int main(){
int num = 371;
int sum = 0;
int temp = 0;
int rmdr = 0;
temp = num;
while (temp != 0){
rmdr = temp % 10;
sum = sum + (rmdr * rmdr * rmdr);
temp = temp / 10;
}
if(num == sum){
writeln("Armstrong number");
}else{
writeln("Not an armstrong number");
}
return 0;
}
| D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/SQLite.build/SQL/SQLiteDataTypeStaticRepresentable.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git--4835314149664712121/Sources/SQLite/Row/SQLiteData.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/sqlite.git-... | D |
/*
REQUIRED_ARGS: -g
PERMUTE_ARGS:
GDB_SCRIPT:
---
b gdb10311.d:19
r
echo RESULT=
p x
---
GDB_MATCH: RESULT=.*33
*/
void call(void delegate() dg) { dg(); }
void main()
{
int x=32;
call({++x;});
// BP
}
| D |
module ddb.pg.parsers;
import std.conv : to;
import ddb.db : DBRow;
import ddb.pg.connection : PGConnection;
import ddb.pg.exceptions;
import ddb.pg.messages : Message;
import ddb.pg.types;
/**
Parses incoming responses from the Postgres Server
*/
@safe:
PGFields parseRowDescription(scope ref Message msg)
{
PG... | D |
func void B_LastWarningVatras()
{
AI_Output(self,other,"DIA_Addon_Vatras_LastWarning_ADD_05_00"); //Негодяй, что ты сделал?
AI_Output(self,other,"DIA_Addon_Vatras_LastWarning_ADD_05_01"); //Орден Воды много раз предупреждал тебя об опасности попасться в сети зла.
AI_Output(self,other,"DIA_Addon_Vatras_LastWarning_A... | D |
/Users/leesunkyu/Documents/DalkomChat/DalkomChat/DerivedData/DalkomChat/Build/Intermediates/Pods.build/Debug-iphonesimulator/Chatto.build/Objects-normal/x86_64/ChatViewController+Scrolling.o : /Users/leesunkyu/Documents/DalkomChat/DalkomChat/Pods/Chatto/Chatto/Source/ChatController/AccessoryViewRevealer.swift /Users/le... | D |
#as:
#source: mapping-04.s
#objdump: -d
.*:[ ]+file format .*
Disassembly of section .text:
0+000 <.text>:
[ ]+0:[ ]+00001001[ ]+.word[ ]+0x00001001
[ ]+4:[ ]+00001001[ ]+.word[ ]+0x00001001
[ ]+8:[ ]+00000001[ ]+.word[ ]+0x00000001
[ ]+c:[ ]+00[ ]+.byte[ ]+0x00
[ ]+d:[ ]+00000013[ ]+nop
[ ]+11... | D |
module ui.cssvalue;
import ui.base : Length;
import ui.base : Display;
import ui.base : POS;
import ui.base : LineStyle;
import ui.color : Color;
import ui.base : Hidden;
struct Percent { float number; alias number this; }
struct MinContent {}
struct MaxContent {}
struct FitContent {}
struct Auto {}
str... | D |
// REQUIRED_ARGS: -w
// 4375: Dangling else
void main() {
version (A)
version (B)
assert(25.1);
else
assert(25.2);
}
| D |
import core.runtime;
import core.thread;
| D |
/Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/FluentTester.build/Student.swift.o : /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/FluentTester/Atom.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Fluent-1.4.1/Sources/FluentTester/Compound.sw... | D |
unittest {
if (something || somethingElse || // I like putting comments here for no good reason
thirdThing) {
}
}
| D |
/Users/jimallan/Downloads/starter/location-track-server/.build/x86_64-apple-macosx10.10/debug/Multipart.build/MultipartError.swift.o : /Users/jimallan/Downloads/starter/location-track-server/.build/checkouts/multipart.git--540244554630201954/Sources/Multipart/MultipartPartConvertible.swift /Users/jimallan/Downloads/sta... | D |
# FIXED
driverlib/hibernate.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/hibernate.c
driverlib/hibernate.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdbool.h
driverlib/hibernate.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include/stdint.h
driverlib/hibernate.obj: C:/ti/ccsv7/tools/comp... | D |
instance ORG_800_Organisator(Npc_Default)
{
name[0] = NAME_Organisator;
npcType = npctype_ambient;
guild = GIL_ORG;
level = 15;
voice = 13;
id = 800;
attribute[ATR_STRENGTH] = 90;
attribute[ATR_DEXTERITY] = 70;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 250;
attribu... | D |
/Users/lizelu/Documents/GitHub/PerfectDemo/.build/debug/SwiftMoment.build/Duration.swift.o : /Users/lizelu/Documents/GitHub/PerfectDemo/Packages/SwiftMoment-0.9.1/Sources/SwiftMoment/Duration.swift /Users/lizelu/Documents/GitHub/PerfectDemo/Packages/SwiftMoment-0.9.1/Sources/SwiftMoment/Extensions.swift /Users/lizelu/D... | D |
# FIXED
nonos.obj: C:/Users/dwsch/code/Embedded/Help/CC3100/simplelink/source/nonos.c
nonos.obj: C:/Users/dwsch/code/Embedded/Help/CC3100/simplelink/source/datatypes.h
nonos.obj: C:/Users/dwsch/workspace_v7/CC3100/simplelink/include/simplelink.h
nonos.obj: C:/Users/dwsch/workspace_v7/cc3100/platform/ek-tm4c123gxl/user... | D |
module odyssey.geom.buffer;
import odyssey.geom.vertex;
import odyssey.util.gl3;
import std.stdio;
class Buffer {
GLuint buffer;
alias buffer this;
GLenum hint;
GLenum drawMode;
size_t length = 0;
this(void[] data, GLenum drawMode = GL_TRIANGLES, GLenum hint = GL_STATIC_DRAW) {
... | D |
module nmeacom;
private import comm;
private import nmeasource;
private import std.stdio;
private import win32.winbase;
class ComPortGPS : public NMEASource
{
private ComPortEx comm;
this() {
comm = new ComPortEx;
}
~this() {
delete comm;
}
void open( char[] dev, uint baud = 4800 ) {
... | D |
module dllvm.optimization;
// Source: https://llvm.org/doxygen/group__LLVMCLinkTimeOptimizer.html
/++
+ This provides a C-visible enumerator to manage status codes
+
+ This should map exactly onto the C++ enumerator `LTOStatus`
+/
alias llvm_lto_status = int;
enum : llvm_lto_status
{
LLVM_LTO_UNKNOWN,
LLV... | D |
/******************************************************************//**
* \file src/main/testserver.d
* \brief Shared library loader
*
* <i>Copyright (c) 2012</i> Danny Arends<br>
* Last modified Apr, 2012<br>
* First written Apr, 2012<br>
* Written in the D Programming Language (http://www.digitalmars.com/d)
*... | D |
/*
* Copyright 2011 Google Inc.
* ported to D (c) 2016 Stefan Hertenberger
*
* 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
*
* Unle... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Fluent.build/Model/ModelEvent.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/fluent/Sources/Fl... | D |
instance VLK_418_Gritta(Npc_Default)
{
name[0] = "Гритта";
guild = GIL_VLK;
id = 418;
voice = 16;
flags = 0;
npcType = npctype_main;
aivar[AIV_NoFightParker] = TRUE;
attribute[ATR_STRENGTH] = 10;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MA... | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_wincon.d)
*/
module core.sys.windows.wincon;
version (Windows):
@system:
version (ANSI) {} else version = Unicode;... | D |
module android.java.android.view.animation.RotateAnimation;
public import android.java.android.view.animation.RotateAnimation_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!RotateAnimation;
import import5 = android.java.java.lang.Class;
| D |
import dshell;
import std.stdio;
int main()
{
// Only run this test, if CC has been set.
if (Vars.CC.empty)
return DISABLED;
version (Windows)
if (environment.get("C_RUNTIME", "") == "mingw")
return DISABLED;
version (FreeBSD)
if (Vars.MODEL == "32")
r... | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/version_check-6e75f83a5b7197ad.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-6e75f83a5b7197ad.rlib: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn... | D |
// This file is a "Hello, world!" in D language by DMD for wandbox.
import std.stdio;
void main()
{
writeln("Hello, Wandbox!");
}
// DMD reference:
// https://dlang.org/dmd-linux.html
// D language references:
// https://dlang.org
// http://www.kmonos.net/alang/d/ ( Japanese )
| D |
# FIXED
PROFILES/sm_ecc.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/host/sm_ecc.c
PROFILES/sm_ecc.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/inc/bcomdef.h
PROFILES/sm_ecc.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/osal/src/inc/comdef.h
PROFILES/sm_ecc.ob... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
module ddoc5446a;
/** */
struct A_Foo { }
/** */
alias A_Foo A_Foo_Alias;
/** */
alias int A_Int;
/** */
enum A_Enum { x }
| D |
/** DGui project file.
Copyright: Trogu Antonio Davide 2011-2013
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Trogu Antonio Davide
*/
module dguihub.core.events.controlcodeeventargs;
public import dguihub.core.events.eventargs;
public import dguihub.core.winapi;
enum ControlCode : uint {... | D |
instance DIA_ADDON_INEXTREMO_FLEX_EXIT(C_Info)
{
npc = PIR_1396_Addon_InExtremo_Flex;
nr = 999;
condition = dia_addon_inextremo_flex_exit_condition;
information = dia_addon_inextremo_flex_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_addon_inextremo_flex_exit_condition()
{
return TRU... | D |
/Users/l.b.do.nascimento/GITHUB/Common/.build/x86_64-apple-macosx/debug/Common.build/Core/LayoutKit/Helper/LayoutConstraintType.swift.o : /Users/l.b.do.nascimento/GITHUB/Common/Common/Core/LayoutKit/LayoutViewConstraintSafeArea.swift /Users/l.b.do.nascimento/GITHUB/Common/Common/Core/TableFactory/DataSource.swift /User... | D |
func void B_SetFaceExpression(var C_Npc slf,var C_Npc oth)
{
var int attitude;
PrintDebugNpc(PD_ZS_FRAME,"B_SetFaceExpression");
attitude = Npc_GetTempAttitude(slf,oth);
if(Npc_IsInState(self,ZS_Flee) || self.aivar[AIV_WASDEFEATEDBYSC])
{
PrintDebugNpc(PD_ZS_Check,"...to frightened!");
Mdl_StartFaceAni(self,"S... | D |
import std.stdio : writeln;
import std.algorithm : filter, sum;
enum int LIMIT = 50;
ulong[] _fibonacci()
{
ulong[] fib;
fib.reserve(LIMIT);
fib ~= 1;
fib ~= 2;
foreach (n; 2 .. LIMIT)
fib ~= fib[n-2] + fib[n-1];
return fib;
}
void main()
{
ulong[] fibonacci = _fibonacci... | D |
/home/robin/substrate-node-template/target/release/build/tiny-keccak-8cf7a2b1921b8767/build_script_build-8cf7a2b1921b8767: /home/robin/.cargo/registry/src/github.com-1ecc6299db9ec823/tiny-keccak-2.0.2/build.rs
/home/robin/substrate-node-template/target/release/build/tiny-keccak-8cf7a2b1921b8767/build_script_build-8cf7... | D |
/***********************************************************************\
* winsock2.d *
* *
* Windows API header module *
* ... | D |
/Users/Rami/Desktop/TaskCompanyUSA/build/Pods.build/Debug-iphonesimulator/AlamofireImage.build/Objects-normal/x86_64/ImageFilter.o : /Users/Rami/Desktop/TaskCompanyUSA/Pods/AlamofireImage/Source/Image.swift /Users/Rami/Desktop/TaskCompanyUSA/Pods/AlamofireImage/Source/UIImage+AlamofireImage.swift /Users/Rami/Desktop/Ta... | D |
// File Name: WHLG2DBD.D
// Purpose: Get Body Points
// Draw Body for Right leg only
//
// Version: 1.01
// Date: 05.Dec.94
// Author: Gary George
//
//---------------------------------------------------------------------------------------------
// REVISIONS:
// Date By Action
// N.B.
// xyO is set from WHLG2ORG... | D |
# FIXED
utils/uartstdio.obj: C:/ti/TivaWare_C_Series-2.1.3.156/utils/uartstdio.c
utils/uartstdio.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdbool.h
utils/uartstdio.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h
utils/uartstdio.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9... | D |
/*******************************************************************************
Helper for setting up optional request arguments from a list of delegates,
each handling arguments of a certain type, and the specified template-
variadic arguments, forwarded from another function.
Usage example:
... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/DispatchQueue+Extensions.o : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/R... | 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... | D |
<?xml version="1.0" encoding="ASCII" standalone="no"?>
<di:SashWindowsMngr xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:version="2.0">
<pageList>
<availablePage>
<emfPageIdentifier href="VAR_4_MobileMedia-... | D |
module wx.MouseCaptureChangedEvent;
public import wx.common;
public import wx.Event;
public import wx.Window;
//! \cond EXTERN
extern (C) ЦелУкз wxMouseCaptureChangedEvent_ctor(цел идок,ЦелУкз полученЗахват);
extern (C) ЦелУкз wxMouseCaptureChangedEvent_GetCapturedWindow(ЦелУкз сам);
//! \endcond
//-----------------... | D |
/Users/freebird/Desktop/Work/wokinprogress/Bump/Bump/build/Pods.build/Debug-iphonesimulator/LBTATools.build/Objects-normal/x86_64/AnchoredConstraints.o : /Users/freebird/Desktop/Work/wokinprogress/Bump/Bump/Pods/LBTATools/Source/Extensions/IndentedTextField.swift /Users/freebird/Desktop/Work/wokinprogress/Bump/Bump/Pod... | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Command.build/Run/CommandContext.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-4717909685433189223/Sources/Command/Command/Command.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-471790968543318... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag3013.d(11): Error: cannot pass type `string` as a function argument
---
*/
int format(string, string, string);
void main() {
int s = string.format("abc", "def");
}
| D |
import consumable;
import std.range;
private struct FilterResult(alias pred, Consumable)
if (isConsumable!Consumable)
{
Consumable c;
alias E = ElementType!Consumable;
Optional!E next() {
auto opt = c.next;
while (!opt.isEmpty)
{
auto e = opt.unwrap;
if (pred(e))
return opt;
}
return Optional!E... | D |
/Users/zhangxiaofei/Downloads/zhengmingtong/DerivedData/zhenyuntong/Build/Intermediates/zhenyuntong.build/Debug-iphonesimulator/zhenyuntong.build/Objects-normal/x86_64/AppDelegate.o : /Users/zhangxiaofei/Downloads/zhengmingtong/zhenyuntong/ViewController.swift /Users/zhangxiaofei/Downloads/zhengmingtong/zhenyuntong/Con... | D |
int main() {
Print("before");
while (false) {Print("a");}
Print("after");
}
| D |
/// Generate by tools
module org.apache.http.impl.DefaultHttpRequestFactory;
import java.lang.exceptions;
public class DefaultHttpRequestFactory
{
public this()
{
implMissing();
}
}
| 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 |
/Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Zip+arity.o : /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods... | D |
INSTANCE Info_Mod_Gorn_IR_Hi (C_INFO)
{
npc = Mod_7444_SLD_Gorn_IR;
nr = 1;
condition = Info_Mod_Gorn_IR_Hi_Condition;
information = Info_Mod_Gorn_IR_Hi_Info;
permanent = 0;
important = 0;
description = "Und was hältst du von der Insel?";
};
FUNC INT Info_Mod_Gorn_IR_Hi_Condition()
{
return 1;
};
FUNC VOID ... | D |
// Written in the D programming language.
/**
Processing of command line options.
The getopt module implements a $(D getopt) function, which adheres to
the POSIX syntax for command line options. GNU extensions are
supported in the form of long options introduced by a double dash
("--"). Support for bundling of comman... | D |
/Users/alice/Desktop/BottomUpLearning3/PRIMs_cmd/Build/Intermediates.noindex/PRIMs_cmd.build/Debug/PRIMs_cmd.build/Objects-normal/x86_64/main.o : /Users/alice/Desktop/BottomUpLearning3/PRIMs_cmd/PRIMs_cmd/ConsoleIO.swift /Users/alice/Desktop/BottomUpLearning3/PRIMs_cmd/PRIMs_cmd/ConflictSetTrace.swift /Users/alice/Desk... | D |
/*
* Hunt - A high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design.
*
* Copyright (C) 2015-2019, HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.framework.view.Lexer;
private
{
import hun... | D |
a regular payment to a person that is intended to allow them to subsist without working
grant a pension to
| D |
instance DIA_Dragon_Ice_Exit(C_Info)
{
nr = 999;
condition = DIA_Dragon_Ice_Exit_Condition;
information = DIA_Dragon_Ice_Exit_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Dragon_Ice_Exit_Condition()
{
if(DragonTalk_Exit_Free == TRUE)
{
return TRUE;
};
return FALSE;
};
func void DIA_... | D |
module net.client.richcli;
/*
* Steward: A brain for a NetClient. This:
* - writes messages to a GUI console, intended for
* those messages that shall appear BOTH in game and in lobby
* (game or lobby would print the remaining messages themselves),
* - remembers the most recently received level and pe... | D |
#source: pr21884a.s
#source: pr21884b.s
#ld: -T pr21884.t
#objdump: -b binary -s
#xfail: aarch64*-*-* arm*-*-* avr-*-* ia64-*-* m68hc1*-*-* nds32*-*-*
#xfail: riscv*-*-* score-*-* v850-*-*
# Skip targets which can't change output format to binary.
.*: file format binary
Contents of section .data:
#pass
| D |
module kerisy.routing;
public import kerisy.routing.ActionRouteItem;
public import kerisy.routing.RouteItem;
public import kerisy.routing.ResourceRouteItem;
public import kerisy.routing.RouteGroup;
public import kerisy.routing.RouteConfigManager;
public import kerisy.routing.RouterContex; | D |
/* THIS FILE GENERATED BY bcd.gen */
module bcd.fltk2.ScrollGroup;
align(4):
public import bcd.bind;
public import bcd.fltk2.Scrollbar;
public import bcd.fltk2.Slider;
public import bcd.fltk2.Valuator;
public import bcd.fltk2.Group;
public import bcd.fltk2.Widget;
public import bcd.fltk2.Style;
public import bcd.fltk2.... | D |
/*
DSFML - The Simple and Fast Multimedia Library for D
Copyright (c) 2013 - 2015 Jeremy DeHaan (dehaan.jeremiah@gmail.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 gran... | 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 |
module arrow.DoubleArray;
private import arrow.BooleanArray;
private import arrow.Buffer;
private import arrow.CompareOptions;
private import arrow.NumericArray;
private import arrow.c.functions;
public import arrow.c.types;
private import glib.ConstructionException;
private import glib.ErrorG;
private import glib.GE... | D |
/* Elaryn - Skie Cost */
//#1
CHAIN
IF ~!StateCheck("QI#Ela",CD_STATE_NOTVALID)
InParty("QI#Ela")
CombatCounter(0)
!See([ENEMY])
InParty("L#2SDSKI")
!Dead("L#2SDSKI")
See("QI#Ela")
!StateCheck("L#2SDSKI",CD_STATE_NOTVALID)
Global("QI#ElarynSkieCost","GLOBAL",0)~ THEN L#2SDSKB ElarynSkieCost1
@0 /*You know, you’re noth... | D |
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab5/os/target/riscv64imac-unknown-none-elf/debug/deps/lazy_static-9cac5794f38acf78.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lazy_static-1.4.0/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lazy_s... | D |
/Users/Lorenzo/Desktop/EO18_2/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxCoreNavigation.build/Objects-normal/x86_64/NavigationSettings.o : /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxCoreNavigation/MapboxCoreNavigation/UIDevice.swift /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxCoreNavigation/MapboxCoreNavigat... | D |
func void zs_followpc_silent()
{
printdebugnpc(PD_TA_FRAME,"ZS_FollowPC");
Npc_PercEnable(self,PERC_ASSESSENEMY,b_assessenemy);
Npc_PercEnable(self,PERC_ASSESSPLAYER,b_followpc_silent_assesssc);
Npc_SetPercTime(self,1);
self.senses = SENSE_SEE | SENSE_HEAR | SENSE_SMELL;
Npc_PercEnable(self,PERC_ASSESSDA... | D |
/**
libclang utility code
*/
module dpp.clang;
import dpp.from;
from!"clang".Cursor namespace(in from!"clang".Cursor cursor) @safe {
import clang: Cursor;
auto ret = Cursor(cursor.cx);
while(!ret.isInvalid && ret.kind != Cursor.Kind.Namespace)
ret = ret.semanticParent;
return ret;
}
... | D |
module linalg.random;
private import linalg.basic;
struct СлучДвиг48
{
const static бцел мин = 0;
const static бцел макс = бцел.max;
/**
Generates следщ pseudo-random number.
Возвращает:
Pseudo-random number in closed interval [this.мин; this.макс]
*/
бцел вынь()
... | D |
/Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/Build/Intermediates/FareDeal.build/Debug-iphonesimulator/FareDeal.build/Objects-normal/x86_64/FavoritesTVController.o : /Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/FareDeal/RestaurantDealsVC.swift /Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal... | D |
/**
* Collects functions for compile-time floating-point calculations.
*
* Copyright: Copyright (C) 1999-2021 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)
* So... | D |
/Users/kubat/Documents/Tutorials/NotesAdvance/Build/Intermediates/NotesAdvance.build/Debug-iphonesimulator/NotesAdvance.build/Objects-normal/x86_64/MainViewController.o : /Users/kubat/Documents/Tutorials/NotesAdvance/NotesAdvance/AppDelegate.swift /Users/kubat/Documents/Tutorials/NotesAdvance/NotesAdvance/ViewControlle... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
238 77 6 77 15 60 64.5999985 -127.900002 1745 11.6000004 11.8000002 0.873563218 sediments, redbeds
219.300003 68.9000015 2.79999995 90.9000015 15 60 64.5 -128.5 343 5.5999999 5.5999999 0.959629941 sediments, redbeds
117.699997 85.5 2.4000001 0 3... | D |
/Users/elynn/code/rust/communicator/target/debug/communicator-b6908906c88c33cd: /Users/elynn/code/rust/communicator/src/lib.rs /Users/elynn/code/rust/communicator/src/client.rs /Users/elynn/code/rust/communicator/src/network/server.rs /Users/elynn/code/rust/communicator/src/network/mod.rs
| D |
module dmagick.c.cache;
import dmagick.c.image;
import dmagick.c.pixel;
import dmagick.c.exception;
import dmagick.c.magickType;
import dmagick.c.magickVersion;
import dmagick.c.cacheView;
alias ptrdiff_t ssize_t;
extern(C)
{
enum CacheType
{
UndefinedCache,
MemoryCache,
MapCache,
DiskCac... | D |
/**
* The main import module for DBI. Loading this module will automatically
* load all database backend that are built into DBI using command line version
* switches. Currently the following versions switches are functional:
*
* ---
* -dbi_mysql = loads the Mysql DBI package
* -dbi_sqlite = loads the Sqlite ... | D |
module tests.mixins_output;
import arsd.jsvar;
import std.stdio;
import std.traits;
unittest {
string escapeAttributeValue(T)(T arg) {
import std.conv;
import std.string : replace;
return to!string(arg).replace(`\`, `\\`).replace(`"`, `"e;`);
}
/** jade template: views/mixins.jade 36 */
import std.array :... | D |
instance Grd_213_Torwache(Npc_Default)
{
name[0] = NAME_Torwache;
npcType = npctype_main;
guild = GIL_GRD;
level = 15;
voice = 7;
id = 213;
attribute[ATR_STRENGTH] = 80;
attribute[ATR_DEXTERITY] = 60;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 250;
attribute[ATR_HIT... | D |
module org.serviio.profile.ProfileManager;
import java.lang.String;
import java.io.InputStream;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.uti... | D |
module hamtd;
import std.stdio;
import core.cpuid : hasPopcnt;
import core.bitop : popcnt, bt, bts, btr;
import std.variant;
import std.traits;
import std.meta;
import std.exception;
import core.exception : RangeError;
import std.bitmanip : BitsSet;
version(unit_threaded){ import unit_threaded; }
/**
References:
... | D |
import djehuty;
import math.random;
class Tetris {
this() {
rnd = new Random();
nextPiece();
clearBoard();
}
void clearBoard() {
board = new int[][](10,20);
}
void setBlock(int x, int y, int clr) {
board[x][y] = clr;
}
int opIndex(size_t i, size_t j) {
return board[i][j];
}
int opIndexAssig... | D |
void main() {
auto ip = readAs!(long[]), K = ip[0], A = ip[1], B = ip[2];
if(K+1 < A || B - A <= 2) {
writeln(K+1);
return;
}
K -= A-1;
writeln((B-A) * (K/2) + K%2 + A);
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
import std.range... | D |
/**
Copyright: Copyright (c) 2015-2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.text.textformatter;
import std.array;
import std.format;
import std.range;
char[4*1024] buf;
Appender!(char[]) app;
static this()
{
app = appender(buf[])... | D |
/Users/taharahiroki/secret_account_test/target/rls/debug/deps/byteorder-800b244b9ea40710.rmeta: /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.2/src/lib.rs /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.2/src/io.rs
/Users/taharahiroki/secret_account... | D |
module Dgame.Graphics.Moveable;
private {
import derelict.opengl3.gl;
import Dgame.Math.Vector2;
}
/**
* Basic implementation for moveable objects
*
* Author: rschuett
*/
abstract class Moveable {
protected:
Vector2f _position;
protected:
/**
* Overloadable method if the position is moved.
*/
void _p... | D |
// Written in the D programming language.
module windows.indexserver;
public import windows.core;
public import windows.com : HRESULT, IUnknown;
public import windows.structuredstorage : IStorage, IStream, PROPSPEC, PROPVARIANT;
public import windows.systemservices : PWSTR;
extern(Windows) @nogc nothrow:
// Enums
... | D |
module hunt.framework.routing.RouteItem;
/**
*
*/
class RouteItem {
string[] methods;
string path;
string urlTemplate;
string pattern;
string[int] paramKeys;
bool isRegex = false;
}
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.