code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
// URL: https://atcoder.jp/contests/abc110/tasks/abc110_d
import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string;
auto rdsp(){return readln.splitter;}
void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;}
void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r... | D |
a believer in or follower of Islam
| D |
/+
The MIT License (MIT)
Copyright (c) <2013> <Oleg Butko (deviator), Anton Akzhigitov (Akzwar)>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including wit... | D |
/**
Copyright: Copyright (c) 2013-2018 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.world.block.blocklayermetadata;
import voxelman.log;
import voxelman.geometry;
import voxelman.core.config;
import voxelman.world.block;
import voxelman.wor... | D |
///
module std.experimental.allocator.building_blocks.scoped_allocator;
import std.experimental.allocator.common;
/**
$(D ScopedAllocator) delegates all allocation requests to $(D ParentAllocator).
When destroyed, the $(D ScopedAllocator) object automatically calls $(D
deallocate) for all memory allocated through it... | D |
module messages;
static class Messages
{
static const NoArgumentMessage = "You must use arguments!\n\n*.exe inputString outputFile mode\ninputString = Any String; OutputFile = Any String; Mode = 'E' = Encode or 'D' = Decode";
static const SuccessfullyEncoded = "Successfully encoded!";
static const SuccessfullyDecod... | D |
# automatic backups once a day
15 3 * * * xroad /usr/share/xroad/scripts/autobackup_xroad_center_configuration.sh
# backup retention policy, delete backups older that 30 days
10 * * * * xroad find /var/lib/xroad/backup -type f -name "cs-automatic-backup*.gpg" -mtime 30 -delete
# reload nginx, if configuration https c... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/PostgreSQL.build/Message/PostgreSQLMessage+FormatCode.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/postgresql/Sources/PostgreSQL/Message/PostgreSQLMessage+0.swift /Users/Jorge/Desktop/Projects/Web/Sw... | D |
/*
* #215 Guy doesn't sit at arena
*/
func int G1CP_215_GuyDailyRoutine() {
var int funcId; funcId = MEM_GetSymbolIndex("Rtn_start_530");
return (G1CP_ReplacePushStr(funcId, "OCR_OUTSIDE_ARENA_BENCH_2", "OCR_OUTSIDE_ARENA_BENCH2") > 0);
};
| D |
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphoneos/RuLife.build/Objects-normal/arm64/StartWorkoutTableViewCell.o : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swi... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/HTTP.build/Chunk/ChunkStream.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.buil... | D |
/*
This file is part of BioD.
Copyright (C) 2016 George Githinji <biorelated@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limit... | D |
/Users/chiaweizhengterry/Desktop/AppState_Swift/DerivedData/Build/Intermediates/AppState_Swift.build/Debug-iphonesimulator/AppState_Swift.build/Objects-normal/x86_64/ViewController.o : /Users/chiaweizhengterry/Desktop/AppState_Swift/AppDeviceDisconnectedState.swift /Users/chiaweizhengterry/Desktop/AppState_Swift/AppSta... | D |
/Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/x86_64-apple-macosx/debug/CloudEnvironment.build/WeatherDataCompanyCredentials.swift.o : /Users/patbutler/Developer/Server/Kitura/EmojiJournalServer/.build/checkouts/CloudEnvironment.git-1442162862887765372/Sources/CloudEnvironment/Credentials.swift /Us... | D |
module battle.state.endturn;
import dau.all;
import model.all;
import gui.endturn;
import battle.battle;
import battle.system.all;
/// player may choose to end turn
class EndTurn : State!Battle {
override {
void enter(Battle b) {
b.disableSystem!TileHoverSystem;
_popup = b.gui.addElement(new EndTurn... | D |
// "Switch to new alias syntax" "true"
<warning descr="Old Alias Syntax in use.">alias Vector!(float, 3) vec3;</warning>
| D |
import std.stdio;
import std.variant;
import std.algorithm;
import std.conv;
import std.range;
import std.array;
import parser;
import visitor;
import typedecl;
import Record;
import utils;
class FunctionSigBuilder : Visitor
{
private RecordBuilder records;
private string id;
private string[] idTuple;
... | D |
/*******************************************************************************
* Copyright (c) 2004, 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 |
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Completable.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift... | D |
# FIXED
ICall/icall_cc2650.obj: C:/ti/r2/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/src/icall_cc2650.c
ICall/icall_cc2650.obj: C:/ti/r2/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/src/icall_platform.h
ICall/icall_cc2650.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include/stdi... | D |
func void g_cannotuse(var int bisplayer,var int nattribute,var int nvalue)
{
var string strmessage;
var string strattributemissing;
var int nattributevalue;
var int ndifference;
var string strdifference;
if(nattribute == ATR_HITPOINTS)
{
strattributemissing = PRINT_HITPOINTS_MISSING;
nattributevalue = se... | D |
/**
* Test1.dish
*/
module test1;
int[] buf;
/**
* Factorial
* calc the factorial of n
*/
export int factorial(int n) {
int i;
int result = 0;
for (i=0; i<n; i++) {
result = result + i;
}
return result;
}
/**
* Alloc
* allocate n ints on the heap, and return the address
*/
export... | D |
module android.java.android.provider.SettingsSlicesContract_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
final class SettingsSlicesContract : IJ... | 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 |
/+
## Guide for Slice/BLAS contributors
1. Make sure functions are
a. inlined(!),
b. `@nogc`,
c. `nothrow`,
d. `pure`.
For this reason, it is preferable to use _simple_ `assert`s with messages
that can be computed at compile time.
The goals are:
1. to reduce executable s... | D |
module ircd.connection;
import std.stdio;
import std.string;
import std.algorithm;
import std.range;
import std.conv;
import std.socket;
import std.utf;
import std.datetime;
import vibe.core.core;
import vibe.core.net;
import vibe.core.stream : IOMode;
import vibe.stream.operations : readLine;
import ircd.versionInf... | D |
/Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/DerivedData/I'm\ a\ thief!/Build/Intermediates.noindex/SpanchBob.build/Debug-iphonesimulator/I'm\ a\ thief!.build/Objects-normal/x86_64/AppDelegate.o : /Users/nazarkovalik/Downloads/MouseHunter/MouseHunter/I'm\ a\ thief!/Mouse.swift /Users/nazarkovalik/Downloads/Mou... | D |
void main() { runSolver(); }
void problem() {
auto S = scan!int;
auto solve() {
return [S.to!dchar];
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std.stdio, std.conv, std.array, std.string, std.algorithm, std.container, std.range, core.stdc.stdlib, std.math, st... | D |
INSTANCE Sumpfhai_11023_AW (Npc_Default)
{
// ------ NSC ------
name = "Sumpfhai";
guild = GIL_SWAMPSHARK;
id = 11023;
voice = 18;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5);
attribute[ATR_HITPOINTS_MAX] = 15;
attribute[ATR_HITPOINTS] = 15;
self.aiv... | D |
# FIXED
driverlib/i2c_master_w_multibyte_multislave-slave_code/iar/startup_msp432p401r_ewarm.obj: ../driverlib/i2c_master_w_multibyte_multislave-slave_code/iar/startup_msp432p401r_ewarm.c
driverlib/i2c_master_w_multibyte_multislave-slave_code/iar/startup_msp432p401r_ewarm.obj: /Applications/ti/ccsv7/tools/compiler/ti-... | D |
module android.java.java.net.URLStreamHandlerFactory_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.java.net.URLStrea... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Async.build/QueueHandler.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/core/Sources/Async/Future+V... | D |
/***********************************************************************\
* basetyps.d *
* *
* Windows API header module *
* ... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
322.100006 68 3.70000005 44.7999992 80 100 -36.4000015 149.899994 5723 6.0999999 6.0999999 0.933840149 sediments, redbeds
340 40 5 0 80 100 -33.7999992 150.699997 1768 10 10 0.882496903 intrusives
325 55 5 0 80 100 -33.9000015 151.300003 1766 10... | D |
//---------------------------------------------------------------------
// Item Werte
//---------------------------------------------------------------------
const int Value_Goldnugget = 18;
const int Value_WhitePearl = 120;
const int Value_Addon_Joint_01 = 60;
//---------------------------------------------... | D |
/Users/y.imuta/pj/rust_study/big_query_rust/target/debug/build/memchr-4337b12bcb0909c7/build_script_build-4337b12bcb0909c7: /Users/y.imuta/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.4/build.rs
/Users/y.imuta/pj/rust_study/big_query_rust/target/debug/build/memchr-4337b12bcb0909c7/build_script_build-4337... | D |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Vapor.build/Middleware/Middleware.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/vapo... | D |
import vector;
import fast_math;
import constants;
import bindbc.sdl;
/// Camera controller, moving using arrow keys and mouse
/// Recycled from https://github.com/Hugobros3/bvh-viz/blob/master/src/controller.rs
struct CameraController {
Vec3f position = Vec3f(0.0);
Vec2f rotation = Vec2f([PI * 0.5, 0.0f]);
... | D |
import std.c.stdio;
void testgoto()
{
int i;
i = 3;
goto L4;
L3: i++;
goto L5;
L4: goto L3;
L5: assert(i == 4);
}
int testswitch()
{
int i;
i = 3;
switch (i)
{
case 0:
case 1:
default:
assert(0);
case 3:
break;
}
return 0;
}
void testdo()
{
int x = 0;
... | D |
module ui.parse.css.margin_top;
import std.stdio : writeln;
import ui.parse.t.tokenize : Tok;
import ui.parse.css.types : Length;
import ui.parse.css.types : Percentage;
import ui.parse.css.length : parse_length;
import ui.parse.css.percentage : parse_percentage;... | D |
/*
Copyright (c) 2015 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, distribute,
exec... | D |
dfu_control.o: C:/Users/user/workspace/module_vocalfusion/src/dfu_control.xc
| D |
/Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/FunChatik.build/Debug-iphonesimulator/FunChatikUITests.build/Objects-normal/x86_64/LoginScreen.o : /Users/Natalia/FunChatik/FunChatikUITests/Data/CreateData.swift /Users/Natalia/FunChatik/FunChatikUITests/Screens/ProfileScreen.swift /Users/Natalia/FunCh... | D |
/home/songkyo/kyo/2012/01_LAMPS_SiCsI/LAMPS09_01_3Si_complete/tmp/Linux-g++/LAMPS_NewRawData/TPCDetectorConstruction.o /home/songkyo/kyo/2012/01_LAMPS_SiCsI/LAMPS09_01_3Si_complete/tmp/Linux-g++/LAMPS_NewRawData/TPCDetectorConstruction.d: src/TPCDetectorConstruction.cc
| D |
import std.range.primitives;
import std.format;
import util;
import term;
import ser;
// TODO: Use input contracts in this module.
immutable int term_width = 80;
immutable int term_height = 24;
Symbol[term_width*term_height] symbol_array;
enum Key
{
none = -1,
//arrow, keypad and number keys all map to Key.digit_... | D |
void main() {
import std.stdio, std.string, std.conv, std.algorithm;
int n;
rd(n);
int len = 0;
foreach (i; 0 .. n) {
int x, y;
rd(x, y);
len = max(len, x + y);
}
writeln(len);
}
void rd(T...)(ref T x) {
import std.stdio : readln;
import std.string : split;
import std.conv : to;
aut... | D |
/home/naglt/git/Rust/show_even_numbers/target/debug/deps/show_even_numbers-b0cd1782936cfd53: src/main.rs
/home/naglt/git/Rust/show_even_numbers/target/debug/deps/show_even_numbers-b0cd1782936cfd53.d: src/main.rs
src/main.rs:
| D |
instance VLK_404_Lutero(Npc_Default)
{
name[0] = "Lutero";
guild = GIL_VLK;
id = 404;
voice = 13;
flags = 0;
npcType = npctype_main;
B_SetAttributesToChapter(self,2);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Vlk_Mace);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face... | 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.root.file;
import core... | D |
/Users/parweb/Sites/test-lunatic/target/wasm32-wasi/release/deps/byteorder-1966a46fb4b963e0.rmeta: /Users/parweb/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/src/lib.rs /Users/parweb/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.4/src/io.rs
/Users/parweb/Sites/test-lunatic/target/was... | D |
module grid;
import std.string;
import dguihub;
import dguihub.layout.gridpanel;
class MainForm : Form {
private GridPanel _gridPanel;
private Collection!(Label) _labels;
private Collection!(TextBox) _textboxes;
private Collection!(Button) _buttons;
public this() {
this.text = "DGui SplitPanel E... | D |
a mixture of gases (especially oxygen) required for breathing
the region above the ground
a distinctive but intangible quality surrounding a person or thing
a slight wind (usually refreshing
the mass of air surrounding the Earth
once thought to be one of four elements composing the universe (Empedocles)
a succession of... | D |
/home/jcawl/code/learn_rust/crates_programs/cli_graph_crate/target/debug/deps/fastrand-a69e2a9c4b80ae5b.rmeta: /home/jcawl/.cargo/registry/src/github.com-1ecc6299db9ec823/fastrand-1.5.0/src/lib.rs
/home/jcawl/code/learn_rust/crates_programs/cli_graph_crate/target/debug/deps/libfastrand-a69e2a9c4b80ae5b.rlib: /home/jca... | 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 |
spaghetti served with a tomato sauce
pasta in the form of long strings
| D |
/Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PriorityQueue.o : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/nalousnguyen/Docum... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto abx = readln.split.to!(real[]);
auto a = abx[0];
auto b = abx[1];
auto x = abx[2];
real min_r = 0, max_r = 90;
foreach (_; 0..10000) {
auto r = (min_r + max_r) / 2;... | D |
void main() {
import std.string;
import std.stdio;
auto var = split("I went for a walk and fell down a hole!");
auto var2 = "I went for a walk and fell down a hole!".split;
auto lines = var.join("\n");
writeln(lines);
import std.algorithm : each;
var2.each!(a => writeln(a));
}
| 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_19_BeT-2791628... | D |
/Users/Lorenzo/Desktop/EO18_2/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxNavigation.build/Objects-normal/x86_64/DayStyle.o : /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxNavigation/MapboxNavigation/ImageDownload.swift /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxNavigation/MapboxNavigation/GenericRouteShield.sw... | D |
<?xml version="1.0" encoding="UTF-8"?>
<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="PerformEuroBaliseDecoding.nota... | D |
struct S
{
int i;
int j = 3;
}
void main()
{
S s = S( 1, 5, 6 );
}
| D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... | D |
module lib.readline.c.keymap;
public import lib.readline.c.rltypedefs;
extern (C):
struct KEYMAP_ENTRY {
char type;
rl_command_func_t func;
}
alias Keymap = KEYMAP_ENTRY*;
enum KEYMAP_SIZE = 257;
| D |
[cc]mc |
.hd vtread "read characters from a user's terminal" 07/11/84
[cc]mc
integer function vtread (crow, ccol, clr)
integer crow, ccol, clr
.sp
[cc]mc |
Library: vswtlb (standard Subsystem library)
[cc]mc
.fs
'Vtread' starts reading characters from the user's terminal into
the screen buffers. 'Vtenb' must be called ... | D |
import event;
auto logMessage (string severity = "info")(string msg) {
switch (severity) {
case "info": return new LogMessage(LogMessage.Type.Info, string msg);
case "warning": return new LogMessage(LogMessage.Type.Warning, string msg);
case "error": return new LogMessage(Log... | D |
module android.java.android.telephony.MbmsGroupCallSession;
public import android.java.android.telephony.MbmsGroupCallSession_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!MbmsGroupCallSession;
import import0 = android.java.android.telephony.MbmsGroupCallSession;
import import7 = android.jav... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Sean Kelly, Alex Rønne Petersen
* Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
*/
/* Copyright Sean... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Validation.build/Validators/InValidator.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/panartem/Developer/Study/Micros... | D |
/**
* This module provides OS specific helper function for DLL support
*
* Copyright: Copyright Digital Mars 2010 - 2012.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Rainer Schuetze
* Source:... | D |
/Users/mac/Desktop/Book\ Listing/DerivedData/Assignment/Build/Intermediates/Assignment.build/Debug-iphonesimulator/Assignment.build/Objects-normal/x86_64/Book.o : /Users/mac/Desktop/Book\ Listing/Assignment/BookList.swift /Users/mac/Desktop/Book\ Listing/Assignment/Book.swift /Users/mac/Desktop/Book\ Listing/Assignment... | D |
module openfx.c.attribute;
extern(C){
/**
* @brief Blind declaration of an OFX param
*/
alias void* OfxAttributeHandle;
/**
* @brief Blind declaration of an OFX parameter set
*/
alias void* OfxAttributeSetHandle;
/**
* @defgroup ParamTypeDefines Parameter Type definitions
* These strings are used to identify ... | D |
const int STR_StPlLevel1 = 2;
const int STR_StPlLevel2 = 4;
const int STR_StPlLevel3 = 6;
const int DEX_StPlLevel1 = 2;
const int DEX_StPlLevel2 = 4;
const int DEX_StPlLevel3 = 6;
const int HPMax_StPlLevel1 = 5;
const int HPMax_StPlLevel2 = 10;
const int HPMax_StPlLevel3 = 15;
const int ManaMax_StPlLevel1 = 2;
const i... | D |
module redis.commands.list;
mixin template listCommands()
{
/*
* Set the value of an element in a list by its index.
* @return
*/
bool lset(string key,int index,string value)
{
auto result = send!(bool)("LSET",key,index,value);
return result;
}
/*
* Prepend one or multiple values to a list.
* @... | D |
# FIXED
F2837xS_PieVect.obj: C:/Users/Owner/workspace_v7/COMMON_CCS_FILES/Common_LinkedFiles/source/F2837xS_PieVect.c
F2837xS_PieVect.obj: C:/Users/Owner/workspace_v7/COMMON_CCS_FILES/Common_IncludeFiles/F2837xS_HEADERS_INCLUDE/F2837xS_device.h
F2837xS_PieVect.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.6.LTS/in... | D |
module armos.graphics.texture;
import derelict.opengl3.gl;
import armos.math.vector;
import armos.graphics;
/++
openGLのtextureを表すクラスです.
初期化後,allocateして利用します.
Example:
---
auto texture = new Texture;
texture.allocate(256, 256);
auto rect = new Mesh;
rect.primiti... | D |
/home/ubuntu/substrate-node-template/target/release/wbuild-runner/node-template-runtime6620869906145500559/target/x86_64-unknown-linux-gnu/release/deps/ppv_lite86-6b4093d7df01b416.rmeta: /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.10/src/lib.rs /home/ubuntu/.cargo/registry/src/github.com... | D |
instance GRD_239_GARDIST(NPC_DEFAULT)
{
name[0] = "Надзиратель";
npctype = NPCTYPE_AMBIENT;
guild = GIL_GRD;
level = 15;
voice = 7;
id = 239;
attribute[ATR_STRENGTH] = 70;
attribute[ATR_DEXTERITY] = 50;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 220;
attribute[ATR_... | D |
module game.renderer;
import spasm.webgl;
import spasm.types;
import spasm.rt.memory;
import game.entity;
import game.math;
import std.range : only;
nothrow:
@safe:
immutable GLuint max_verts = 1024 * 64;
immutable GLint max_lights = 16;
__gshared float camera_shake = 0f;
extern(C) void glSetContext(Handle);
auto ... | D |
/**
SSL/TLS stream implementation
SSLStream can be used to implement SSL/TLS communication on top of a TCP connection. The
SSLContextKind of an SSLStream determines if the SSL tunnel is established actively (client) or
passively (server).
Copyright: © 2012-2014 RejectedSoftware e.K.
License: Subject to the ter... | D |
module sliding.domain.position;
struct Position
{
this(int number)
in
{
import std.conv;
assert(number > 0 && number <= 16,
"Number could not be converted to a position: " ~ number.to!string);
}
body
{
auto x = (number - 1) % 4;
auto y = (number -1) / 4;
this(x, y);
}
private this(int x, int y)... | D |
/Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/Routing.build/Parameter/Parameter.swift.o : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/victorbaleeiro/git/github/victor/s... | D |
//****************************
// EVT_ARCHOLDEAD_FUNC (bei Archol dem Schattenlord)
//****************************
var int EVT_ARCHOLDEAD_FUNC_OneTime;
func void EVT_ARCHOLDEAD_FUNC ()
{
if (Npc_IsDead(Skeleton_Lord_Archol))
{
Skeleton_Archol1.aivar[AIV_EnemyOverride] = FALSE;
Skeleton_Archol2.aivar[AIV_EnemyOve... | D |
// change the mouse pointer to a different shape depending on which button it's on
import std.stdio;
import gtk.MainWindow;
import gtk.Main;
import gtk.Widget;
import gtk.Button;
import gdk.Event;
import gtk.c.types; // *** NEW ***
import gdk.Cursor; ... | D |
///
module modbus.backend.rtu;
import modbus.backend.base;
///
class RTU : BaseBackend!256
{
protected:
enum lengthOfCRC = 2;
public:
///
this(Connection c, SpecRules s=null) { super(c, s, lengthOfCRC, 0); }
override:
///
void start(ulong dev, ubyte func) { appendDF(dev, func); }
///
vo... | 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
* distribut... | D |
/**
* Compiler implementation of the $(LINK2 http://www.dlang.org, D programming language)
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: Walter Bright, http://www.digitalmars.com
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(L... | D |
import std.conv;
import std.stdio;
import std.datetime.stopwatch;
import core.thread;
import memory;
class Mos6502{
Memory* ram;
ubyte a = 0; //Accumulator
ubyte x = 0; //Index X
ubyte y = 0; //Index Y
ubyte s = 0xFF; //Stack pointer, counts down
ushort pc = 0; //Program counter
// ubyt... | D |
/home/hustccc/OS_Tutorial_Summer_of_Code/Rust_Learning_Code/csv_challenge/target/release/deps/structopt-a90361f05aa5e456.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/structopt-0.2.18/src/lib.rs
/home/hustccc/OS_Tutorial_Summer_of_Code/Rust_Learning_Code/csv_challenge/target/release/dep... | D |
/Users/brunodaluz/Desktop/project/Build/Intermediates/project.build/Debug/Bits.build/Objects-normal/x86_64/ByteBuffer+peek.o : /Users/brunodaluz/Desktop/project/.build/checkouts/core.git-3993699855654508100/Sources/Bits/Deprecated.swift /Users/brunodaluz/Desktop/project/.build/checkouts/core.git-3993699855654508100/Sou... | D |
import std.stdio;
import std.socket : UnixAddress;
import vibe.data.bson : Bson;
import socket;
import protocol;
import handler;
import mpv;
class PingMethod : Method {
string getName() {
return "ping";
};
MethodResult run(Request req) {
return MethodResult(200, Bson("Pong"));
}
}
cla... | D |
/**
This module contains the core functionality of the vibe framework.
Copyright: © 2012-2014 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 tlbimpd.program;
import tlbimpd.utils,
tlbimpd.options,
tlbimpd.codegen;
import juno.base.core,
juno.base.string,
juno.com.reflect,
juno.io.core,
juno.locale.convert;
import std.stdio : writefln, writeln;
import std.path : getBaseName, getExt;
import std... | D |
module hidapi.hid;
import hidapi.bindings;
import hidapi.error;
import std.exception : enforce;
class Hid
{
/**
* Inits the HIDAPI
*/
shared static this()
{
int ret = hid_init();
enforce!HidError(ret != -1, "Failed to init HIDAPI");
}
/**
* Exits the HIDAPI
*... | D |
module ogre.rendersystem.renderwindow;
import ogre.rendersystem.rendertarget;
import ogre.general.common;
import ogre.image.pixelformat;
/** Manages the target rendering window.
@remarks
This class handles a window into which the contents
of a scene are rendered. There is a many-to-1 re... | D |
instance BAU_907_WASILI(NPC_DEFAULT)
{
name[0] = "Василий";
guild = GIL_BAU;
id = 907;
voice = 1;
flags = 0;
npctype = NPCTYPE_MAIN;
b_setattributestochapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,itmw_1h_bau_axe);
b_createambientinv(self);
b_setnpcvisual(self,MALE,"Hum_Head_FatBald",FACE_... | D |
module epoll.epoll;
public import epoll.c;
/**
* The EPoll struct represents an epoll "connection".
*/
struct EPoll
{
int epfd;
epoll_event[] events;
/**
* Get an epoll file descriptor that can handle upto uint connections.
*/
this(uint connections)
{
epfd = epoll_create(c... | D |
#as:
#objdump: -dr
.*:[ ]+file format .*
Disassembly of section .text:
0+000 <.text>:
[ ]+0:[ ]+e00b8653[ ]+fmv.x.w[ ]+a2,fs7
[ ]+4:[ ]+e00b8653[ ]+fmv.x.w[ ]+a2,fs7
[ ]+8:[ ]+f00800d3[ ]+fmv.w.x[ ]+ft1,a6
[ ]+c:[ ]+f00800d3[ ]+fmv.w.x[ ]+ft1,a6
| D |
module org.serviio.upnp.service.contentdirectory.classes.Photo;
import java.lang.String;
import org.serviio.upnp.service.contentdirectory.classes.ImageItem;
import org.serviio.upnp.service.contentdirectory.classes.ObjectClassType;
public class Photo : ImageItem
{
protected String album;
public this(String id... | D |
hang loosely or laxly
be lazy or idle
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.