code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module arrow.RecordBatchStreamReader;
private import arrow.InputStream;
private import arrow.RecordBatchReader;
private import arrow.c.functions;
public import arrow.c.types;
private import glib.ConstructionException;
private import glib.ErrorG;
private import glib.GException;
private import gobject.ObjectG;
/**
*... | D |
/*
Copyright (c) 2013 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,
exe... | D |
module android.java.android.media.RemoteControlClient_MetadataEditor;
public import android.java.android.media.RemoteControlClient_MetadataEditor_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!RemoteControlClient_MetadataEditor;
import import3 = android.java.java.lang.Class;
import import0 = ... | D |
instance VLK_421_VALENTINO(NPC_DEFAULT)
{
name[0] = "Валентино";
guild = GIL_VLK;
id = 421;
voice = 3;
flags = 0;
npctype = NPCTYPE_MAIN;
b_setattributestochapter(self,1);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,itmw_1h_vlk_mace);
CreateInvItems(self,itmi_gold,200);
CreateInvItems(self,itke_valentin... | D |
instance DIA_PAL_297_EXIT(C_Info)
{
npc = PAL_297_Ritter;
nr = 999;
condition = DIA_PAL_297_EXIT_Condition;
information = DIA_PAL_297_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_PAL_297_EXIT_Condition()
{
return TRUE;
};
func void DIA_PAL_297_EXIT_Info()
{
AI_StopProcessInfos(sel... | 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
... | D |
/*
This file is part of BioD.
Copyright (C) 2012-2014 Artem Tarasov <lomereiter@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 wit... | D |
// for optional dependency
// for VT on Windows P s = 1 8 → Report the size of the text area in characters as CSI 8 ; height ; width t
// could be used to have the TE volunteer the size
/++
Module for interacting with the user's terminal, including color output, cursor manipulation, and full-featured real-time mouse a... | D |
/afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/CxAODTools/obj/sumOfWeightsProvider.o /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/CxAODTools/obj/sumOfWeightsProvider.d : /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFrame... | D |
// Written in the D programming language
/**
* Macros:
* WIKI = Phobos/StdMath
*
* TABLE_SV = <table border=1 cellpadding=4 cellspacing=0>
* <caption>Special Values</caption>
* $0</table>
* SVH = $(TR $(TH $1) $(TH $2))
* SV = $(TR $(TD $1) $(TD $2))
*
* NA... | D |
instance NOV_1356_Shrat(Npc_Default)
{
name[0] = "Shrat";
npcType = npctype_main;
guild = GIL_NOV;
level = 5;
voice = 2;
id = 1356;
attribute[ATR_STRENGTH] = 20;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 106;
attribute[ATR_HITPOINTS] ... | D |
/*
Copyright (c) 2021 Timur Gafarov
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execu... | D |
the cardinal number that is the sum of one and one and one
three people considered as a unit
| D |
/+
Copyright (c) 2005, 2006 J Duncan, Eric Anderton
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 limitation the rights to use,
... | D |
instance DIA_Godar_EXIT(C_Info)
{
npc = DJG_711_Godar;
nr = 999;
condition = DIA_Godar_EXIT_Condition;
information = DIA_Godar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Godar_EXIT_Condition()
{
return TRUE;
};
func void DIA_Godar_EXIT_Info()
{
AI_StopProcessInfos(self);
};
in... | D |
module main;
import yurai;
void main()
{
static if (Yurai_IsPreBuilding)
{
import std.file : dirEntries, SpanMode, readText;
import std.algorithm : filter, endsWith;
import std.path : baseName;
foreach (string name; dirEntries("styles", SpanMode.depth).filter!(f => f.name.endsWith(".css")))
{... | D |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | D |
// Written in the D programming language.
/**
* Computes SHA1 and SHA2 hashes of arbitrary data. SHA hashes are 20 to 64 byte
* quantities (depending on the SHA algorithm) that are like a checksum or CRC,
* but are more robust.
*
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE ,
$(TR $(TH Category)... | D |
module ws.x.desktop;
import
std.file,
std.algorithm,
std.array,
std.path,
std.regex,
std.stdio,
std.string;
const string[] desktopPaths = [
"/usr",
"/usr/local",
"~/.local"
];
class DesktopEntry {
string path;
string exec;
string type;
string name;
string comment;
string terminal;
string[] categ... | D |
// menu
func void Apply_Options_Performance () {};
func void Apply_Options_Video () ... | D |
func void B_GiveNpcTalents(var C_Npc slf)
{
Npc_SetTalentSkill(slf,NPC_TALENT_MAGE,6);
Npc_SetTalentSkill(slf,NPC_TALENT_PICKLOCK,1);
Npc_SetTalentSkill(slf,NPC_TALENT_SNEAK,1);
Npc_SetTalentSkill(slf,NPC_TALENT_ACROBAT,0);
Npc_SetTalentSkill(slf,NPC_TALENT_PICKPOCKET,0);
Npc_SetTalentSkill(slf,NPC_TALENT_SMITH,... | D |
E: c414, c677, c707, c654, c458, c40, c618, c45, c598, c546, c312, c592, c394, c453, c66, c100, c643, c624, c402, c451, c167, c56, c415, c74, c706, c561, c498, c532, c454, c259, c21, c439, c368, c61, c34, c130, c233, c97, c174, c529, c721, c557, c120, c356, c648, c447, c355, c83, c386, c504, c497, c134, c638, c316, c34... | D |
/**
d2d.game.simple.sprite holds the sprite class: a simple class to display images on screen
*/
module d2d.game.simple.sprite;
import d2d.core.render.renderer;
import d2d.core.render.objects.quad;
import d2d.game.entity;
class Sprite : Entity
{
this(string texture)
{
_quad = new TexturedQuad(texture);
}
o... | D |
#!/usr/bin/dmd -run
import std.stdio, std.file, std.path, std.string, std.conv, std.math, std.container, std.algorithm;
string filesize(double size){
string units = "KMGT";
double left = size.fabs();
int unit = -1;
while(left > 1100 && unit < 3){
left /=1024;
unit += 1;
}
if(... | D |
import std.stdio;
void main(){
int i = 10;
i != 2;
} | D |
a support placed beneath or against something to keep it from shaking or falling
any movable articles or objects used on the set of a play or movie
a propeller that rotates to push against air
support by placing against something solid or rigid
| D |
instance DIA_STRF_1107_EXIT(C_Info)
{
npc = STRF_1107_Straefling;
nr = 999;
condition = DIA_STRF_1107_EXIT_Condition;
information = DIA_STRF_1107_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_STRF_1107_EXIT_Condition()
{
return TRUE;
};
func void DIA_STRF_1107_EXIT_Info()
{
AI_Stop... | D |
/**
Standart supported resource types
*/
module engine.resources;
public:
import engine.resources.sdlang;
import engine.resources.mesh;
import engine.core.mod.register_module;
class CResourcesModule : ARegisterModule {
void onLoad( CEngine engine ) {
getResourceManager().registerResourceLoader!CMesh(... | D |
void main() {
import std.stdio, std.string, std.conv, std.algorithm;
int h, w, x;
rd(h, w, x);
struct T {
int y, x;
}
auto q = new Queue!(T)(h * w);
auto dist = new int[][](h, w);
const int inf = 10 ^^ 9;
auto c = new char[][](h, w);
foreach (i; 0 .. h) {
c[i] = readln.chomp.to!(char[]);
... | D |
module huffman;
import std.algorithm.iteration : Group;
/** Huffman Encode $(D sf). */
auto encode(T)(Group!("a == b", T[]) sf)
{
import std.algorithm.iteration : map;
import std.algorithm.sorting : schwartzSort;
import std.typecons : tuple;
import std.array : array;
import std.container.binaryhea... | D |
#!/usr/bin/env rdmd -i -I..
import std.stdio;
import std.datetime.stopwatch;
import std.typecons;
import std.algorithm;
import std.range;
import kreikey.bigint;
void main() {
StopWatch timer;
writeln("Square root convergents");
timer.start();
auto count = sqrtOfTwoFracsInit
.generate
.take(1000)
... | D |
// URL: https://yukicoder.me/problems/no/787
import std.algorithm, std.container, std.math, std.range, std.typecons, std.string;
version(unittest) {} else
void main()
{
double p, q; io.getV(p, q); p /= 100; q /= 100;
io.put(p*q / ((p*q)+(1-p)*(1-q)) * 100);
}
auto io = IO();
struct IO
{
import std.algorithm, ... | D |
module perfontain.misc;
import std.conv, std.math, std.range, std.traits, std.string, std.algorithm,
std.experimental.allocator, std.experimental.allocator.mallocator,
std.experimental.allocator.gc_allocator, std.experimental.allocator.building_blocks.free_tree,
core.stdc.string, stb.image, perfontain.opengl, perfo... | D |
module servlib.http.requestmod.HttpRequestParser;
import std.traits, std.string;
import std.outbuffer;
import std.conv, std.stdio;
import servlib.utils.lexer;
import std.container;
import servlib.http.request;
import servlib.utils.exception;
import std.algorithm : equal, find;
/**
Les token utilise dans une requete h... | D |
module platform;
public import core.stdc.stdarg;
public import core.stdcpp.string;
public import core.stdcpp.vector;
public import std.container;
version (Windows)
{
public import core.sys.windows.windows;
//public import core.stdc.windows.com;
}
version (Windows)
{
void DEBUG_BREAK()
{
asm
{
int 3;
}
... | D |
declare (1) --- create shell variables 09/11/84
| _U_s_a_g_e
declare { <identifier> [ = <value> ] }
_D_e_s_c_r_i_p_t_i_o_n
'Declare' is the primary method of creating shell variables
with loca... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail111.d(12): Error: cannot have array of `int(int)`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=289
// Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types
alias int ft(int);
ft[] x; // is allowed
void test()
{
x.length = 2; // ... | D |
/++
This is a submodule of $(MREF mir,ndslice).
Note:
The combination of
$(SUBREF topology, pairwise) with lambda `"a <= b"` (`"a < b"`) and $(SUBREF algorithm, all) can be used
to check if an ndslice is sorted (strictly monotonic).
$(SUBREF topology iota) can be used to make an index.
$(SUBREF top... | D |
datapath=/home/torobo/catkin_ws/src/reaching_task/scripts/data/dataset/largeLoop/B
modelpath=/home/torobo/catkin_ws/src/reaching_task/scripts/data/model/largeLoop/B/W_0_05
robot=torobo
activejoints=1,1,1,1,1,1,0,0,0,0,0,0,1,0,0,0
nsamples=1
w=0.05,0.05
d=40,10
z=4,1
t=2,10
epochs=25000
alpha=0.001
beta1=0.9
beta2=0.999... | D |
import error;
@property ulong KiB(ulong kib) { return kib * 1024; }
@property ulong MiB(ulong mib) { return mib * 1024.KiB; }
@property ulong GiB(ulong gib) { return gib * 1024.MiB; }
// フレームの大きさ[byte]
const ulong kBytesPerFrame = 4.KiB;
struct FrameID {
this(size_t id_) { this.id = id_; }
@property ID() const {... | D |
/*#D*/
// Copyright 2012, Jakob Bornecrantz.
// SPDX-License-Identifier: BSL-1.0
module volta.parser.toplevel;
import watt.conv : toInt, toLower;
import watt.text.vdoc : cleanComment;
import ir = volta.ir;
import volta.util.util;
import volta.util.copy;
import volta.errors;
import volta.ir.tokenstream;
import volta.... | D |
module dportals.promise;
import dportals;
import ddbus;
/**
Response code
*/
enum ResponseCode {
NONE = -1,
/**
Success, the request is carried out
*/
Success = 0,
/**
The user cancelled the interaction
*/
UserCancelled = 1,
/**
The user interaction was en... | D |
acid gritty-textured fruit
take up a liquid or a gas either by adsorption or by absorption
| D |
/Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Routing.build/Router.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/routing.git-5366657101075133678/Sources/Routing/Method+Wildcard.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/routing.git-5366657101075133678/S... | D |
1 edwin_s_porter
28675 bruce_malmuth
6148 stuart_heisler
18439 tom_gries
32776 gregory_nava
12299 david_swift_ii
6157 s_sylvan_simon
22542 don__edmonds
15 dw_griffith
14352 arthur_hiller
12306 ken_annakin
34836 corey_yuen
6165 leslie_arliss
14359 ermanno_olmi
24601 randal_kleiser
30746 amy_heckerling
2075 leni_riefenst... | D |
module d.gc.finddivisor;
/**
* This module is only an utility in order to find the
* mul and shift value required to find an small item index
* in a run from its offset without using division.
*
* index = (offset * mul) >> (binShift + shift)
*/
void main() {
foreach (d; 5 .. 8) {
Outer: foreach(uint shift; 0 ... | D |
/Users/mike/Cocoa/Frameworks/music/.build/x86_64-apple-macosx/debug/Music.build/MusicPitch/MusicPitch.swift.o : /Users/mike/Cocoa/Frameworks/music/Sources/Music/MusicChord/MusicChord.swift /Users/mike/Cocoa/Frameworks/music/Sources/Music/MusicScale/MusicScaleMode.swift /Users/mike/Cocoa/Frameworks/music/Sources/Music/M... | D |
// Copyright Brian Schott 2015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module dfmt.formatter;
import std.d.lexer;
import std.d.parser;
import dfmt.config;
import dfmt.ast_info;
import ... | D |
E: c59, c5, c82, c35, c85, c30, c74, c39, c24, c12, c81, c79, c38, c3, c14, c50, c58, c55, c83, c76, c8, c13, c73, c54, c61, c7, c84, c23, c75, c20, c68, c31, c27, c89, c51, c47, c9, c21, c22, c65, c11, c71, c1, c69, c62, c19, c44, c32, c88.
p9(E,E)
c59,c5
c85,c30
c59,c59
c73,c73
c35,c35
c79,c79
c84,c84
c71,c38
c8,c61... | D |
module d.llvm.global;
import d.llvm.codegen;
import d.ir.symbol;
import d.ir.type;
import util.visitor;
import llvm.c.analysis;
import llvm.c.core;
// Conflict with Interface in object.di
alias Interface = d.ir.symbol.Interface;
struct GlobalGen {
private CodeGen pass;
alias pass this;
import d.llvm.local : ... | D |
module android.java.android.content.ContentProviderResult_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.lang.Class_d_interface;
import import1 = android.java.android.os.P... | 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 |
/*
* $Id: mainloop.d,v 1.1.1.1 2004/11/10 13:45:22 kenta Exp $
*
* Copyright 2004 Kenta Cho. Some rights reserved.
*/
module abagames.util.sdl.mainloop;
private import derelict.sdl2.sdl;
private import abagames.util.logger;
private import abagames.util.rand;
private import abagames.util.prefmanager;
private import... | D |
module wiz.sym.constdef;
import wiz.lib;
import wiz.sym.lib;
class ConstDef : Definition
{
compile.Environment environment;
this(ast.Node decl, compile.Environment environment)
{
super(decl);
this.environment = environment;
}
} | D |
import std.stdio;
alias int myint;
struct S { void bar() { } int x = 4; static int z = 5; }
class C { void bar() { } final void foo() { } static void abc() { } }
abstract class AC { }
class AC2 { abstract void foo(); }
class AC3 : AC2 { }
final class FC { void foo() { } }
enum E { EMEM }
/***************************... | D |
the trait of being effeminate (derogatory of a man
| D |
opt -l
********************
* Definitions for Cirrus Logic CD2401 Serial Interface Chip
*
* Edition History
*
* Ed. Date. Reason. Who.
* -- -------- ----------------------------------------------- ---
* 01 91/04/26 Created ... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Vapor.build/Routing/Router+Method.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/panartem/Developer/Study/Microservices-vapor/TIL... | D |
// REQUIRED_ARGS: -d
// PERMUTE_ARGS: -di
// Test cases using deprecated features
module deprecate1;
import core.stdc.stdio : printf;
import std.traits;
import std.math : isNaN;
/**************************************
volatile
**************************************/
void test5a(int *j)
{
int i;
... | D |
module UnrealScript.TribesGame.TrAnimNodeBlendList;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.AnimNodeBlendList;
extern(C++) interface TrAnimNodeBlendList : AnimNodeBlendList
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static S... | D |
INSTANCE Info_Mod_Jesper_REL_Hi (C_INFO)
{
npc = Mod_7704_OUT_Jesper_REL;
nr = 1;
condition = Info_Mod_Jesper_REL_Hi_Condition;
information = Info_Mod_Jesper_REL_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Jesper_REL_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Jesper_REL_Hi_Info()
{
AI_... | D |
// Copyright Brian Schott (Hackerpilot) 2014-2015.
// 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 dscanner.analysis.unused_parameter;
import dparse.ast;
import dparse.lexer;
import d... | D |
module city.person;
import std.stdio;
import std.array;
import std.math;
import city.city;
import city.moveable;
import city.residence;
import city.structures;
import city.work;
const int[Class] threshold;
static this()
{
threshold = [ Class.LOW: 40, Class.MIDDLE: 70, Class.HIGH: 100, Class.MILLIONAIRE: 140 ];
}... | D |
/home/ubuntu/substrate-node-template/target/release/wbuild/target/release/build/num-rational-b57262de35046924/build_script_build-b57262de35046924: /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/num-rational-0.2.4/build.rs
/home/ubuntu/substrate-node-template/target/release/wbuild/target/release/build/num... | D |
/Users/bo/Desktop/Stock-Price/Stocking&Price/build/Stocking&Price.build/Debug-iphonesimulator/Stocking&Price.build/Objects-normal/x86_64/addpage.o : /Users/bo/Desktop/Stock-Price/Stocking&Price/Stocking&Price/addpage.swift /Users/bo/Desktop/Stock-Price/Stocking&Price/Stocking&Price/AppDelegate.swift /Users/bo/Desktop/S... | D |
// Written in the D programming language.
/** This module is used to manipulate _path strings.
All functions, with the exception of $(LREF expandTilde) (and in some
cases $(LREF absolutePath) and $(LREF relativePath)), are pure
string manipulation functions; they don't depend on any state outside
the ... | D |
module android.java.android.nfc.FormatException;
public import android.java.android.nfc.FormatException_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!FormatException;
import import4 = android.java.java.lang.Class;
import import3 = android.java.java.lang.StackTraceElement;
| D |
module android.java.android.text.style.SubscriptSpan_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.android.text.TextPaint_d_interface;
import import2 = android.java.android.te... | D |
/Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/Hero.build/Objects-normal/x86_64/HeroTransition+Start.o : /Users/radibarq/developer/NasaInArabic/Pods/Hero/Sources/HeroModifier+Advanced.swift /Users/radibarq/developer/NasaInArabic/Pods/Hero/Sources/HeroCompatible.swift /Users/radibarq/devel... | D |
// *************************************************************************
// EXIT
// *************************************************************************
INSTANCE DIA_Dragon_Ice_Exit(C_INFO)
{
nr = 999;
condition = DIA_Dragon_Ice_Exit_Condition;
information = DIA_Dragon_Ice_Exit_Info;
permanent... | D |
import std.stdio;
import std.typecons;
import std.algorithm;
import std.functional;
import std.parallelism;
alias Tuple!(int,double, double, int) cle;
double [cle] cache;
double walk(int n, double L, double R, int p = 0) {
if (n == 0)
return p;
auto key = cle(n, L, R, p);
if (key !in cache) {
auto EL =... | D |
module mach.types.manage;
private:
//
public:
/// If the passed value has a `begin` function, call it before the `apply`
/// statement. If the passed value has a `conclude` function, call it after the
/// `apply` statement.
/// This allows for automatic initialization and cleanup of a type. This is
/// especially... | D |
module evael.renderer.gl.gl_texture;
import evael.renderer.gl.gl_wrapper;
import evael.renderer.texture;
class GLTexture : Texture
{
private uint m_id;
/**
* GLTexture constructor.
*/
@nogc
public this()
{
super();
gl.GenTextures(1, &this.m_id);
}
/**
... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Vapor.build/Utilities/AnyResponse.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor/S... | D |
var int sc_isobsessed;
var int sc_obsessioncounter;
func void b_clearscobsession(var C_NPC heiler)
{
if(Hlp_GetInstanceID(heiler) != Hlp_GetInstanceID(hero))
{
AI_StopProcessInfos(heiler);
};
SC_ISOBSESSED = FALSE;
SC_OBSESSIONCOUNTER = 0;
PrintScreen(PRINT_CLEARSCOBSESSION,-1,-1,FONT_SCREEN,3);
};
func void... | D |
module test.TestEvents;
private {
import game.Event;
import game.Misc;
import xpose.Expose;
}
class RegisterEventOrder : Order {
int id;
char[] name;
mixin exposeEvent!(`id|name`);
}
class TestWish : Wish {
int a;
float b;
char[] c;
mixin exposeEvent!(`a|b|c`);
}
class Test... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag10862.d(28): Error: assignment cannot be used as a condition, perhaps `==` was meant?
fail_compilation/diag10862.d(29): Error: assignment cannot be used as a condition, perhaps `==` was meant?
fail_compilation/diag10862.d(30): Error: assignment cannot be used as a condition, per... | D |
/*
Copyright (c) 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,
execu... | D |
/Users/fatimalbahar/Documents/GitHub/kwtview/kwtview/kwtview-hksdaroxlycnmsgidiibznvfzgac/Build/Intermediates.noindex/kwtview.build/Debug-iphonesimulator/kwtview.build/Objects-normal/x86_64/SceneDelegate.o : /Users/fatimalbahar/Documents/GitHub/kwtview/kwtview/optionPage2.swift /Users/fatimalbahar/Documents/GitHub/kwtv... | D |
import kxml.xml;
char[][][]characters =
[["April","Bubbly: I'm > Tam and <= Emily"],
["Tam O'Shanter","Burns: \"When chapman billies leave the street ...\""],
["Emily","Short & shrift"]];
void addChars(XmlNode root,char[][][]info) {
auto remarks = new XmlNode("CharacterRemarks");
... | D |
module org.serviio.upnp.service.contentdirectory.command.person.ListActorsForInitialCommand;
import java.lang.String;
import org.serviio.library.entities.AccessGroup;
import org.serviio.library.entities.Person:RoleType;
import org.serviio.library.metadata.MediaFileType;
import org.serviio.profile.Profile;
import org.s... | D |
func int B_TeachThiefTalent(var C_Npc slf,var C_Npc oth,var int talent)
{
var int kosten;
kosten = B_GetLearnCostTalent(oth,talent,1);
if((talent != NPC_TALENT_PICKLOCK) && (talent != NPC_TALENT_SNEAK) && (talent != NPC_TALENT_ACROBAT)
&& (talent != NPC_TALENT_PICKPOCKET))
{
Print("*** ERROR: Wrong Parameter *... | D |
/Users/nicholasglover/Documents/GitHub/KeyNinjaShopping/DerivedData/KeyNinjaShopping/Build/Intermediates.noindex/KeyNinjaShopping.build/Debug-iphonesimulator/KeyNinjaShopping.build/Objects-normal/x86_64/AppDelegate.o : /Users/nicholasglover/Documents/GitHub/KeyNinjaShopping/KeyNinjaShopping/Delegates/SceneDelegate.swif... | D |
///
module std.experimental.allocator.building_blocks.bitmapped_block;
import std.experimental.allocator.common;
import std.experimental.allocator.building_blocks.null_allocator;
/**
$(D BitmappedBlock) implements a simple heap consisting of one contiguous area
of memory organized in blocks, each of size $(D theBloc... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/WithLatestFrom.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/RxSwift/RxS... | D |
module UnrealScript.Engine.NxTornadoForceFieldCapsule;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.NxTornadoForceField;
extern(C++) interface NxTornadoForceFieldCapsule : NxTornadoForceField
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property ... | D |
/Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Fill.o : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/vine... | D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/debug/deps/chrono-5ba2d8967cca76b5.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/chrono-0.4.19/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/chrono-0.4.19/src/sys.rs /Users/liujia... | D |
instance Pal_211_Torwache(Npc_Default)
{
name[0] = NAME_Ritter;
guild = GIL_PAL;
id = 211;
voice = 12;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_2h_Pal_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_FatB... | D |
#!/usr/bin/env rdmd
import std.stdio;
int main(string[] args) {
int code = 0;
if (args.length == 1) {
writeln("Hello world!");
} else if (args.length == 2) {
writefln("Hello %s!", args[1]);
} else {
writeln("hello: too many parameters\n");
code = 1;
}
return code;
}
| D |
/*******************************************************************************
* Copyright (c) 2000, 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 |
/***********************************************************************\
* d3dx10async.d *
* *
* Windows API header module *
* ... | D |
/****************************
Rutyny dla BNów z Nowego Obozu
*****************************/
/********************
Rutyny po powrocie Lee do NO
**********************/
func void B_NC_LeeBack()
{
B_kill_in_EN();
var C_NPC kam; kam = Hlp_GetNpc(GRD_2512_Kam);
if (!Npc_isDead(kam))
{
B_KillNpc(GRD_2... | D |
[cc]mc |
.hd parsa$ "parse ACL changes in the common block" 09/04/84
integer function parsa$ (str)
character str (ARB)
.sp
Library: vswtlb (standard Subsystem library)
.fs
'Parsa$' compares the protections given in 'str' with those already
in the common block and modifies the common block to reflect the
changes. If the... | D |
void main() {
import std.stdio;
import std.algorithm;
import std.range;
import std.string;
auto fruits = ["Banana", "Apple", "Pear"];
auto loudFruits = fruits.map!(a => a.toUpper);
writeln(fruits);
writeln(loudFruits);
fib(1000);
foreach(i, fruit; fruits.enumerate)
write('(', i, ", ", fruit, ")", i !=... | D |
module libd.datastructures.hashstuff;
import libd.memory, libd.data, libd.datastructures.array, libd.datastructures.growth, libd.algorithm.common,
libd.meta.traits;
struct KeyValuePair(alias KeyT, alias ValueT)
{
KeyT key;
ValueT value;
}
struct KeyValueRefPair(alias KeyT, alias ValueT)
{
KeyT* ke... | D |
#!/usr/bin/env rdmd
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;
import std.format : formattedRead;
import std.range;
import helix.vec;
import helix.io;
import helix.grid;
enum Side { TOP, RIGHT, BOTTOM, LEFT };
Point transformPoint(Point p, int rotation, bool flip, ... | D |
/* crypto/evp/evp.h */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-comm... | D |
module battle.state.delay;
import dau.all;
import battle.battle;
private enum defaultWaitTime = 0.2f;
/// this state waits for a specified time before popping itself
class Delay : State!Battle {
alias Action = void delegate(Battle);
this(float time = defaultWaitTime, Action onEnd = null) {
_timer = time;
... | D |
/Users/atyun-monitor/Desktop/Swift/DanTangFromQuanzai/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/NetworkReachabilityManager.o : /Users/atyun-monitor/Desktop/Swift/DanTangFromQuanzai/Pods/Alamofire/Source/Alamofire.swift /Users/atyun-monitor/Desktop/Swift/DanTangFromQuanza... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.