code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
instance ITAR_SLD_L_Hero(C_ITEM)
{
name = "Lekki pancerz najemnika";
mainflag = ITEM_KAT_ARMOR;
flags = 0;
protection[PROT_EDGE] = 25;
protection[PROT_BLUNT] = 25;
protection[PROT_POINT] = 30;
protection[PROT_FIRE] = 0;
protection[PROT_MAGIC] = 0;
value = value_itar_sld_l;
wear = WEAR_TORSO;
visu... | D |
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Leaf.build/Tag/Models/Import.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Leaf-1.0.3/Sources/Leaf/Argument.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTeller... | 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_15_BeT-3825213... | D |
void main() {
auto ip = readAs!(long[]), N = ip[0], x = ip[1];
auto a = readAs!(long[]);
long res;
res += max(0, a[0]-x);
a[0] = min(x, a[0]);
foreach(i; 0..N-1) {
auto m = a[i] + a[i+1];
if(m > x) {
res += m - x;
a[i+1] -= (m-x);
}
}
res.writeln;
}
// ===================================
import st... | D |
// Copyright 2018 Google Inc. All Rights Reserved.
//
// 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... | 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: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1... | D |
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphoneos/RuLife.build/Objects-normal/armv7/StartWorkoutTableViewCell.o : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/StopWatch.swi... | D |
module mach.traits.enums;
private:
import mach.meta.filter : Filter;
public:
/// Determine whether a given type is an enum, or a value of an enum type.
template isEnum(T){
enum bool isEnum = is(T == enum);
}
/// ditto
template isEnum(alias T){
static if(is(typeof(T))){
enum bool isEnum = is(typeo... | D |
var AKeyboardDev 0
var AKeyboardCount 0
const AKeyboardMID 0x8FC48FC4
procedure AKeyboardPoll (* -- *)
auto i
1 i!
while (i@ 256 <)
auto rs
InterruptDisable rs!
if (i@ AmanatsuPoll AKeyboardMID ==)
auto hmm
5 Calloc hmm!
AKeyboardDev@ DeviceSelectNode
DeviceNew
AKeyboardCount@ hmm@ itoa... | 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 |
prototype Mst_Default_Lurker(C_Npc){
name[0] = "Číhavec";
guild = GIL_LURKER; aivar[AIV_IMPORTANT] = ID_LURKER; level = 17; attribute[ATR_STRENGTH] = 50; attribute[ATR_DEXTERITY] = 50; attribute[ATR_HITPOINTS_MAX] = 90; attribute[ATR_HITPOINTS] = 90; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; protection[PR... | D |
/**
Generator for direct compiler builds.
Copyright: © 2013 rejectedsoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module dub.generators.build;
import dub.compilers.compiler;
import dub.generators.generator;
import dub.package... | D |
/*
* Copyright Andrej Mitrovic 2014.
* 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)
*/
module gltut.text_renderer;
import deimos.glfw.glfw3;
import dgl;
import glad.gl.all;
impor... | D |
module res.reported;
import std.conv;
import mysql;
class Reported
{
string m_id;
string m_dream_id;
string m_user_id;
this() {
m_id = "-1";
}
this(string[string] aa) {
m_user_id = aa["user_id"];
m_dream_id = aa["dream_id"];
}
this(string _dream_id, string _user_id) {
... | D |
module vulkan.api.command_pool;
import vulkan.all;
/**
* Recommendations:
* Use a separate command pool per thread.
*/
VkCommandPool createCommandPool(VkDevice device,
uint queueFamily,
VkCommandPoolCreateFlags flags = 0)
{
VkCommandPool po... | 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.globals;
import core.st... | D |
# FIXED
driverlib/i2c_master_rw_repeated_start-slave_code/gcc/startup_msp432p401r_gcc.obj: ../driverlib/i2c_master_rw_repeated_start-slave_code/gcc/startup_msp432p401r_gcc.c
driverlib/i2c_master_rw_repeated_start-slave_code/gcc/startup_msp432p401r_gcc.obj: /Applications/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/in... | D |
/*
* Copyright (C) 2009 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 app... | D |
/*******************************************************************************
copyright: Copyright (c) 2004 Kris Bell. все rights reserved
license: BSD стиль: $(LICENSE)
version: Initial release: April 2004
Outback release: December ... | D |
/home/tardigrade/filecoin/filecoin_loans_test/filecoin-signing-tools/signer/target/rls/debug/build/crunchy-1ff76e1dcb84b2b3/build_script_build-1ff76e1dcb84b2b3: /home/tardigrade/.cargo/registry/src/github.com-1ecc6299db9ec823/crunchy-0.2.2/build.rs
/home/tardigrade/filecoin/filecoin_loans_test/filecoin-signing-tools/s... | D |
// URL: https://atcoder.jp/contests/abc139/tasks/abc139_b
import std;
version(unittest) {} else
void main()
{
int A, B; io.getV(A, B);
auto r = 0, o = 1;
while (o < B) {
o += A-1;
++r;
}
io.put(r);
}
auto io = IO!()();
import lib.io;
| D |
import containers.dynamicarray;
import containers.hashmap;
import containers.hashset;
import containers.openhashset;
import containers.simdset;
import containers.slist;
import containers.treemap;
import containers.ttree;
import containers.unrolledlist;
private void testContainerSingle(alias Container)()
{
testContain... | D |
{
files = {
"../Acceptor.cc"
},
values = {
"/usr/bin/gcc",
{
"-m64",
"-I.."
}
},
depfiles_gcc = "build/.objs/timer_test/linux/x86_64/release/__/Acceptor.cc.o: ../Acceptor.cc ../Acceptor.h ../noncopyable.h ../Socket.h ../Channel.h ../Timestamp... | 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_8_BeT-89183261... | D |
module d.llvm.expression;
import d.llvm.codegen;
import d.ir.expression;
import d.ir.symbol;
import d.ir.type;
import d.exception;
import d.location;
import util.visitor;
import llvm.c.core;
import std.algorithm;
import std.array;
import std.string;
struct ExpressionGen {
private CodeGenPass pass;
alias pass t... | D |
// Written in the D programming language.
/**
* Read and write memory mapped files.
* Copyright: Copyright The D Language Foundation 2004 - 2009.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: $(HTTP digitalmars.com, Walter Bright),
* Matthew Wilson
* Source: $(... | D |
/Users/yamaguchiMacPro/Documents/work/ChousainPlus/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/Object.o : /Users/yamaguchiMacPro/Documents/work/ChousainPlus/Pods/RealmSwift/RealmSwift/Schema.swift /Users/yamaguchiMacPro/Documents/work/ChousainPlus/Pods/RealmSwift/... | D |
module hunt.http.HttpStatus;
import hunt.util.ObjectUtils;
import std.concurrency : initOnce;
import std.conv;
import std.format;
alias HttpStatusCode = HttpStatus.Code;
/**
* <p>
* Http Status Codes
* </p>
*
* @see <a href="http://www.iana.org/assignments/http-status-codes/">IANA HTTP
* Status Code Reg... | D |
/home/morb/Code/cv-resume/authbox/target/debug/deps/libnodrop-0b0236a8ee22c97c.rlib: /home/morb/.asdf/installs/rust/1.32.0/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs
/home/morb/Code/cv-resume/authbox/target/debug/deps/nodrop-0b0236a8ee22c97c.d: /home/morb/.asdf/installs/rust/1.32.0/registry/src/... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2016 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1... | D |
string ascii3D=
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" "~
r" ___ "~
r"|\ \ "~
r"\ \ \ "~
r" \ \ \ "~
r" \ \__\ "~
r" \|__| "~
r" ___ "~
r" |\__\"~
r" \|__|"~
r" ... | D |
/*
* Licensed under the GNU Lesser General Public License Version 3
*
* This library 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 3 of the license, or
* (at your option) any late... | D |
/home/roldan/Documentos/repo/TFG/rust/rust_search_1000_worst_case/target/debug/deps/librand_core-a343543b108525b3.rlib: /home/roldan/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_core-0.3.1/src/lib.rs
/home/roldan/Documentos/repo/TFG/rust/rust_search_1000_worst_case/target/debug/deps/rand_core-a343543b108525b3.... | D |
module gtkD.gio.IOExtension;
public import gtkD.gtkc.giotypes;
private import gtkD.gtkc.gio;
private import gtkD.glib.ConstructionException;
private import gtkD.glib.Str;
/**
* Description
* GIOExtensionPoint provides a mechanism for modules to extend the
* functionality of the library or application that l... | D |
instance PAL_91600_ORTO(Npc_Default)
{
name[0] = "Орто";
guild = GIL_PAL;
id = 91600;
voice = 8;
flags = 0;
npcType = NPCTYPE_OCAMBIENT;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_1H_Blessed_02);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Fighter... | D |
module sdl.c;
import sdl.defs;
@trusted extern (C):
int SDL_Init(uint flags);
int SDL_InitSubSystem(uint flags);
void SDL_QuitSubSystem(uint flags);
uint SDL_WasInit(uint flags);
void SDL_Quit();
SDL_Window * SDL_CreateWindow(const char *title, int x, int y, int w, int h, uint flags);
void SDL_DestroyWindow(SDL_Win... | D |
module dgt.bindings.fontconfig;
public import dgt.bindings.fontconfig.definitions;
public import dgt.bindings.fontconfig.symbols;
| D |
module rudy.def;
import bcd.ruby;
/*
import rudy.lib_abstract :
symbolnameof,
minArgs
;
*/
import meta.Default;
import meta.Nameof;
/*
* Wraps a D function, making it callable from Ruby.
*
* Params:
* name = The name of the function as it will appear in Ruby.
* fn = The functio... | D |
module cmsed.base.internal.models.nodes;
import cmsed.base;
import dvorm;
@dbName("SystemNode")
@shouldNotGenerateJavascriptModel
class SystemNodesModel {
@dbId
@dbName("host")
SystemNodeId key;
ulong started;
ulong compiledTime;
ulong lastTick;
@dbIgnore
SystemNodeIpModel[] cachedIps;
mixin OrmModel!S... | D |
instance DJG_711_GODAR(NPC_DEFAULT)
{
name[0] = "Годар";
guild = GIL_DJG;
id = 711;
voice = 13;
flags = 0;
npctype = NPCTYPE_MAIN;
b_setattributestochapter(self,5);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,itmw_1h_sld_sword);
b_createambientinv(self);
b_setnpcvisual(self,MALE,"Hum_Head_FatBald",FACE_... | D |
module deimos.fastcgi.fcgi_stdio;
import core.stdc.stdarg;
import deimos.fastcgi.fcgiapp;
extern (System) {
/*
* fcgi_stdio.h --
*
* FastCGI-stdio compatibility package
*
*
* Copyright (c) 1996 Open Market, Inc.
*
* See the file "LICENSE.TERMS" for information on usage and redistribution
* of this fil... | D |
/*
Copyright (c) 2018-2019 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,
... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail202.d(10): Error: shift by 33 is outside the range `0..31`
fail_compilation/fail202.d(10): Error: shift by 33 is outside the range `0..31`
---
*/
void main() {
int c;
c = c >> 33;
}
| D |
module org.serviio.upnp.discovery.RendererAdvertisementProcessor;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import org.serviio.renderer.RendererManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class RendererAdvertisementProcessor
: Runnable
{
private static final Lo... | D |
module dpq2.query;
@trusted:
version(BINDINGS_DYNAMIC)
{
import derelict.pq.pq;
}
else
{
import dpq2.libpq;
}
import dpq2.answer;
public import dpq2.connection;
/// Query parameters
struct queryParams
{
string sqlCommand; /// SQL command
queryArg[] args; /// SQL command arguments
valueFormat resu... | D |
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/release/deps/bitflags-3696fd8fb5b407ef.rmeta: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/src/lib.rs
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/targ... | D |
func void zs_getbackitem()
{
printdebugnpc(PD_ZS_FRAME,"ZS_GetBackItem");
c_zsinit();
Npc_PercEnable(self,PERC_ASSESSMAGIC,b_assessmagic);
Npc_PercEnable(self,PERC_ASSESSDAMAGE,zs_reacttodamage);
Npc_PercEnable(self,PERC_ASSESSWARN,b_assesswarn);
Npc_PercEnable(self,PERC_ASSESSFIGHTSOUND,b_assessfightsound);
Np... | D |
module requests.http;
private:
import std.algorithm;
import std.array;
import std.ascii;
import std.conv;
import std.datetime;
import std.exception;
import std.format;
import std.stdio;
import std.range;
import std.string;
import std.traits;
import std.typecons;
import std.bitmanip;
import std.experimental.logger;
imp... | D |
module android.java.android.view.textclassifier.TextClassificationSessionFactory_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.view.textclassifier.TextClassifier_d_int... | D |
/root/Unit-Network/target/release/deps/rustc_hash-2b826d0a573b2fda.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-hash-1.1.0/src/lib.rs
/root/Unit-Network/target/release/deps/librustc_hash-2b826d0a573b2fda.rlib: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-hash-1.1.0/src/lib.rs
/roo... | D |
/Users/oslo/code/swift_vapor_server/.build/debug/URI.build/Parser/Parser.swift.o : /Users/oslo/code/swift_vapor_server/Packages/Engine-1.3.12/Sources/URI/PercentDecoding.swift /Users/oslo/code/swift_vapor_server/Packages/Engine-1.3.12/Sources/URI/Model/URI+Byte.swift /Users/oslo/code/swift_vapor_server/Packages/Engine-... | D |
module grape.math;
import gl3n.linalg;
import gl3n.math;
alias vec3 Vector3;
alias mat4 Matrix4;
alias quat Quaternion;
alias vec3 Vec3;
alias mat4 Mat4;
alias quat Quat;
| D |
module director_ignore_runme;
import std.exception;
import director_ignore.DIgnores;
import director_ignore.DAbstractIgnores;
void main() {
// Just check the classes can be instantiated and other methods work as expected
auto a = new DIgnoresDerived();
enforce(a.Triple(5) == 15, "Triple failed");
auto b = ne... | D |
instance DIA_Cedric_EXIT(C_Info)
{
npc = Pal_216_Cedric;
nr = 999;
condition = DIA_Cedric_EXIT_Condition;
information = DIA_Cedric_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Cedric_EXIT_Condition()
{
return TRUE;
};
func void DIA_Cedric_EXIT_Info()
{
AI_StopProcessInfos(self);
}... | D |
func void B_RaiseRealAttributeLearnCounter(var C_Npc oth,var int attrib,var int points)
{
if(attrib == ATR_STRENGTH)
{
oth.aivar[REAL_STRENGTH] = oth.aivar[REAL_STRENGTH] + points;
}
else if(attrib == ATR_DEXTERITY)
{
oth.aivar[REAL_DEXTERITY] = oth.aivar[REAL_DEXTERITY] + points;
}
else if(attrib == ATR_MA... | D |
module arsd.curl;
pragma(lib, "curl");
import std.string;
extern(C) {
typedef void CURL;
typedef void curl_slist;
alias int CURLcode;
alias int CURLoption;
enum int CURLOPT_URL = 10002;
enum int CURLOPT_WRITEFUNCTION = 20011;
enum int CURLOPT_WRITEDATA = 10001;
enum int CURLOPT_POSTFIELDS = 10015;
enum int... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Rx.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/babaiholdings/Documents/Alchemin... | D |
/home/alansky/Dev/Parity/substrate-node-template/target/release/deps/pallet_transaction_payment-0c7b0b5e45c54ec2.rmeta: /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/pallet-transaction-payment-2.0.0/src/lib.rs
/home/alansky/Dev/Parity/substrate-node-template/target/release/deps/libpallet_transaction_pa... | D |
/home/hustccc/OS_Tutorial_Summer_of_Code/Shell_Tools/minicopy/target/debug/deps/proc_macro2-c7c8afa90731c030.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro2-0.4.30/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro2-0.4.30/src/strnom.rs... | 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/_oledlg.d)
*/
module core.sys.windows.oledlg;
version (Windows):
version (ANSI) {} else version = Unicode;
import ... | D |
INSTANCE Info_Mod_Kobold_Dieb_Hi (C_INFO)
{
npc = Kobold_11000_NW;
nr = 1;
condition = Info_Mod_Kobold_Dieb_Hi_Condition;
information = Info_Mod_Kobold_Dieb_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Kobold_Dieb_Hi_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Orlan_Kobold))
{
return 1;
... | D |
/*******************************************************************************
* Library unit test file
*
* Authors: Matthew Soucy, dproto@msoucy.me
*/
module dproto.unittests;
import dproto.dproto;
unittest
{
assert(__traits(compiles, ProtocolBufferFromString!"message Test
{
optional string verySimple = ... | D |
/Users/Leex/TableView_Test/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ScheduledItemType.o : /Users/Leex/TableView_Test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test... | D |
///// \\\\\
///// Bioware NPCs \\\\\
///// \\\\\
REPLACE_TRIGGER_TEXT ~fatesp~
~Global("AerieSummoned","GLOBAL",0)~
~Global("AerieSummoned","GLOBAL",0)
OR(2)
Global("G3Met_A... | D |
#include "pcsSocket.h"
#include "GLcommand.h"
#include "lcode_tst.h"
#include "ldev_tst.h"
#define WIND0 0
#define WIND1 1
#define PHOTO_RESET_BIT Dio_id(PCDIO_DIO, 2, 0x04)
#define PHOTO_CELL_INPUT 0x1000
#define PHOTO_TRIG 1
int repeatFlag = 0;
int photoTrigger = 0;
int nObj = 1;
int object = 1;
int outer = 6;
int i... | D |
module src.log;
import std.stream;
import std.stdio;
short swap(short x) {
return ((x & 0xff) << 8) + (x >> 8);
}
uint swap(uint x) {
return ((x & 0xff) << 24) + ((x & 0xff00) << 8) +
((x >> 8) & 0xff00) + (x >> 24);
}
uint swap_uint(uint x) { return swap(x); }
short swap_short(short x) { return swap(x); }
cl... | D |
any of various flat-bottomed boats with sloping ends
a barge carrying bulk materials in an open hold
| D |
/Users/sbordo/ultimate_rust_crash_course/invaders/target/rls/debug/build/syn-4894b00b1a08144c/build_script_build-4894b00b1a08144c: /Users/sbordo/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.73/build.rs
/Users/sbordo/ultimate_rust_crash_course/invaders/target/rls/debug/build/syn-4894b00b1a08144c/build_script... | D |
import spock.board;
import spock.human;
import spock.ai.l3;
void main(string[] arg)
{
Board!6 board;
auto h1=human(board, Side.white);
auto h2=spock.ai.l3.player(board, Side.black);
h1.loop((){
if(h1.dead) h2.terminate;
if(h2.dead) h1.terminate;
h1.make_turn;
h2.make_turn;
});
}
| D |
/*
GTKの参考ページ
■HBox,VBox
http://www.kmc.gr.jp/~ranran/memo/gtk.1998-1.html
■SpinButton関連
http://www.geocities.jp/tiplinux/gtk/gtk_spin_button.html
http://book.geocities.jp/gtkmm_ja/docs/tutorial/html/sec-spinbutton.html
*/
module main;
private import imports.all;
private import project_info;
private im... | 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 distribut... | 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_9_banking-9762... | D |
instance VLK_461_Carl(Npc_Default)
{
name[0] = "Карл";
guild = GIL_VLK;
id = 461;
voice = 5;
flags = 0;
npcType = npctype_main;
aivar[AIV_ToughGuy] = TRUE;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,ItMw_1H_Mace_L_04);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MAL... | D |
module text.xml.Convert;
version(unittest) import dshould;
import std.array;
static import std.conv;
import std.datetime;
import std.exception;
import std.string;
import std.traits;
static import text.time.Convert;
import text.xml.XmlException;
/**
* This service class provides static member functions to convert bet... | D |
/**
* Implementation of dynamic array property support routines.
*
* Copyright: Copyright Digital Mars 2000 - 2015.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Walter Bright
* Source: $(DRUNT... | D |
module android.java.android.service.media.MediaBrowserService_BrowserRoot;
public import android.java.android.service.media.MediaBrowserService_BrowserRoot_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!MediaBrowserService_BrowserRoot;
import import1 = android.java.java.lang.Class;
| D |
befitting or characteristic of a wife
| D |
module minexewgames.ntile.WorldBlocks;
import minexewgames.framework.types;
enum BLOCK_WIDTH = 16;
enum BLOCK_HEIGHT = 16;
enum TILE_X = 16;
enum TILE_Y = 16;
enum {
BLOCK_SHIROI
}
struct WorldTile {
uint8_t type;
uint8_t flags;
int16_t elev;
uint8_t material;
uint8_t[3] colour;
}
static a... | D |
// Written in the D programming language.
/**
* Read and write memory mapped files.
* Macros:
* WIKI=Phobos/StdMmfile
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(WEB digitalmars.com, Walter Bright),
* ... | D |
module dwt.internal.mozilla.nsIPrefBranch;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
const char[] NS_IPREFBRANCH_IID_STR = "56c35506-f14b-11d3-99d3-ddbfac2ccf65";
const nsIID NS_IPREFBRANCH_IID=
{0x56c35506, 0xf14b, 0x11d3,
[ 0x99, 0xd3, 0x... | D |
confer a trust upon
put into the care or protection of someone
| D |
INSTANCE Mod_928_PIR_AlligatorJack_AW (Npc_Default)
{
// ------ NSC ------
name = "Alligator Jack";
guild = GIL_OUT;
id = 928;
voice = 3;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Aivars ------
aivar[AIV_FollowDist] = 300;
// ------ Attribute ------
B_SetAttributesToChap... | D |
module perfontain.managers.texture.texture;
import
std.range,
std.algorithm,
perfontain,
perfontain.opengl,
perfontain.misc.dxt,
stb.wrapper.dxt;
public import
perfontain.managers.texture.types;
final class Texture : RCounted
{
this(in TextureInfo ti)
{
this(ti.t, ti.levels);
}
this(ubyte t... | D |
/Users/jaison/Documents/Drive/custom-api/.build/debug/Turnstile.build/Credentials/Credentials.swift.o : /Users/jaison/Documents/Drive/custom-api/Packages/Turnstile-1.0.6/Sources/Turnstile/TurnstileError.swift /Users/jaison/Documents/Drive/custom-api/Packages/Turnstile-1.0.6/Sources/Turnstile/Core/Subject.swift /Users/j... | D |
// ************************************************************
// EXIT
// ************************************************************
var int Morgan_Perm_Counter;
// ------------------------------------------------------------
INSTANCE DIA_Addon_Morgan_EXIT(C_INFO)
{
npc = PIR_1353_Addon_Morgan;
nr ... | D |
/**
* A scene graph node that can have children.
*
* License: $(LINK2 http://opensource.org/licenses/zlib-license, Zlib License).
*
* Authors: Leandro Motta Barros
*/
module fewdee.sg.group;
import fewdee.aabb;
import fewdee.sg.node;
import fewdee.sg.node_visitor;
/// A scene graph node that can have children... | D |
/Users/Mrbochiballs1/MakeSchool/CollectionViewTESST/DerivedData/CollectionViewTESST/Build/Intermediates/GHub.build/Debug-iphoneos/GHub.build/Objects-normal/arm64/AppDelegate.o : /Users/Mrbochiballs1/MakeSchool/CollectionViewTESST/CollectionViewTESST/LoginViewController.swift /Users/Mrbochiballs1/MakeSchool/CollectionVi... | D |
/home/cesar.guzman/meh/Rust/rust_exercises/repetitions/target/debug/deps/repetitions-84e343f95a7db7aa: src/main.rs
/home/cesar.guzman/meh/Rust/rust_exercises/repetitions/target/debug/deps/repetitions-84e343f95a7db7aa.d: src/main.rs
src/main.rs:
| D |
module ppl2.ast.expr_constructor;
import ppl2.internal;
/// S(...)
/// Variable _temp (type=S)
/// Dot
/// _temp
/// Call new
/// addressof(_temp)
/// _temp
/// S*(...)
/// Variable _temp (type=S*)
/// _temp = calloc
/// Dot
/// _temp
/// Call new
/// _temp... | D |
/*func void ZS_TellAboutFightH ()
{
//PrintDebugNpc (PD_TA_FRAME,"ZS_TellAboutFight");
B_SetPerception (self);
AI_SetWalkmode (self, NPC_RUN);
//PrintDebugNpc (PD_TA_LOOP, "Fighttonight;P");
AI_GotoWP (self, self.wp);
B_Findherot();
};
func void ZS_TellAboutFightH_Loop ... | D |
/**
List of all standard HTTP status codes.
Copyright: © 2012 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Jan Krüger
*/
module vibe.http.status;
/**
Definitions of all standard HTTP status codes.
*/
enum HTTPStatus {
continue_ ... | D |
/*****************************************************************************
*
* Higgs JavaScript Virtual Machine
*
* This file is part of the Higgs project. The project is distributed at:
* https://github.com/maximecb/Higgs
*
* Copyright (c) 2011, Maxime Chevalier-Boisvert. All rights reserve... | D |
a covering to disguise or conceal the face
activity that tries to conceal something
a party of guests wearing costumes and masks
a protective covering worn over the face
hide under a false appearance
put a mask on or cover with a mask
make unrecognizable
cover with a sauce
shield from light
| D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto ab = readln.split.to!(long[]);
auto A = ab[0];
auto B = ab[1];
writeln(A * B / gcd(A, B));
} | D |
module bigint;
import std.stdio;
import std.conv : parse, text, emplace;
import std.math : ceil, abs, sgn;
import std.string : format;
import std.array : replace;
import std.random : uniform;
import std.file : readText, write, isFile, remove, FileException;
/// Класс BigInt - числа произвольной длины
class BigInt {
... | D |
import std.stdio;
import jsonrpc;
enum hostname = "127.0.0.1";
enum ushort port = 54321;
interface API {
void printHello();
ulong printGreeting(string name);
}
class ServeFunctions {
void printHello() { writeln("Hello."); }
ulong printGreeting(string name) {
writeln("Hello, " ~ name);
... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
264.399994 75 15.6000004 0 2 65 -8.80000019 126.699997 1206 10.3999996 18 0.444444444 extrusives, intrusives
349.5 78.1999969 4.69999981 999.900024 5 35 -36.0999985 149.100006 1153 6.0999999 7.5999999 0.473684211 sediments, weathered volcanics
3... | 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_29_MobileMedia... | D |
/**
Contains basic image handling that the entirety of AOD uses. From here you
can either load an image or pass a loaded image, referred to as either
a SheetContainer or SheetRect, to various functions. Another way to look at
these two image containers is as a spritesheet and individual sprite.
*/
module AODCor... | D |
/Users/sales/Documents/XCTestDemo/build/UIKitCatalog.build/Debug-iphoneos/UIKitCatalog.build/Objects-normal/arm64/ProgressViewController.o : /Users/sales/Documents/XCTestDemo/UIKitCatalog/UIColor+ApplicationSpecific.swift /Users/sales/Documents/XCTestDemo/UIKitCatalog/AppDelegate.swift /Users/sales/Documents/XCTestDemo... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.