code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module wx.Display;
public import wx.common;
public import wx.VideoMode;
public import wx.Window;
//version(LDC) { pragma(ldc, "verbose") }
//! \cond EXTERN
static extern (C) IntPtr wxDisplay_ctor(int index);
//static extern (C) IntPtr wxDisplay_ctor(inout VideoMode mode);
static extern (C) int wxDisplay_GetC... | D |
instance GRD_245_Gardist (Npc_Default)
{
//-------- primary data --------
name = NAME_Gardist;
npctype = npctype_guard;
guild = GIL_GRD;
level = 20;
voice = 13;
id = 245;
//-------- abilities --------
attribute[ATR_STRENGTH] = 100;
attribute[ATR_DEXTERITY] = 80;
attribute[ATR_MANA_MAX] =... | 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 run.debug_interpreter;
import std.format : format;
import run.any : Any;
import run.code : Code, CodeReader, CodeUser, EndException;
import rtype : RType;
string showCode(Code code) {
return new DbgInterpreter(code).runToEnd();
}
private:
final class DbgInterpreter : CodeUser {
static immutable bool never... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Core.build/Exports.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/RFC1123.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core... | D |
/home/check0ut/Projects/things_to_do_program/task_terminal_program/target/debug/build/num-integer-50c2c18fb217cdad/build_script_build-50c2c18fb217cdad: /home/check0ut/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.44/build.rs
/home/check0ut/Projects/things_to_do_program/task_terminal_program/target/de... | D |
/home/yoshizaki/learn/rust-tutorial/guessing_game/target/rls/debug/deps/guessing_game-84b3e3ac721cf10f.rmeta: src/main.rs
/home/yoshizaki/learn/rust-tutorial/guessing_game/target/rls/debug/deps/guessing_game-84b3e3ac721cf10f.d: src/main.rs
src/main.rs:
| D |
#!/usr/bin/env dub
/+ dub.sdl:
name "example"
dependency "automem" version="~>0.3.3"
dependency "test_allocator" version="~>0.2.1"
+/
module nxt.app;
import std.experimental.allocator;
import std.stdio;
import std.typecons;
import nxt.automem;
import nxt.test_allocator;
alias Tup = Tuple!(int, int);
str... | D |
/Users/baidu/Desktop/PullServer/.build/debug/PerfectLib.build/SysProcess.swift.o : /Users/baidu/Desktop/PullServer/Packages/PerfectLib-2.0.5/Sources/PerfectLib/Bytes.swift /Users/baidu/Desktop/PullServer/Packages/PerfectLib-2.0.5/Sources/PerfectLib/Dir.swift /Users/baidu/Desktop/PullServer/Packages/PerfectLib-2.0.5/Sou... | D |
instance DIA_Milten_DI_EXIT(C_Info)
{
npc = PC_Mage_DI;
nr = 999;
condition = DIA_Milten_DI_EXIT_Condition;
information = DIA_Milten_DI_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Milten_DI_EXIT_Condition()
{
return TRUE;
};
func void DIA_Milten_DI_EXIT_Info()
{
AI_StopProcessInf... | D |
/Users/subhrabasu/reactNative/ios/build/NissanX/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OktaOidc.build/Objects-normal/x86_64/OktaOidcMetadataDiscovery.o : /Users/subhrabasu/reactNative/ios/Pods/OktaOidc/Okta/OktaOidc/OIDAuthorizationService+Okta.swift /Users/subhrabasu/reactNative/ios/Pods/OktaOidc... | D |
/**
* TypeInfo support code.
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright
*/
/* Copyright Digital Mars 2004 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying... | D |
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/deprecations.d(43): Deprecation: struct `deprecations.S` is deprecated
fail_compilation/deprecations.d(64): instantiated from here: `otherPar!()`
fail_compilation/deprecations.d(55): Deprecation: struct `deprecations.S` is deprecated
fail_compilation/deprec... | 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_12_BeT-1122238... | D |
module startup;
version(GNU)
{
static import gcc.attribute; // we need this to get the section, weak and alias attributes
void wfi(){ version(ALLOW_WFI){ asm{ "wfi"; } } }
}
else version(LDC)
{
import ldc.llvmasm;
void wfi(){ version(ALLOW_WFI){ __asm("wfi"); } }
}
import core.stdc.config; // we need th... | D |
/home/robin/substrate-node-template/target/release/deps/c_linked_list-77aa134de955026c.rmeta: /home/robin/.cargo/registry/src/github.com-1ecc6299db9ec823/c_linked_list-1.1.1/src/lib.rs
/home/robin/substrate-node-template/target/release/deps/libc_linked_list-77aa134de955026c.rlib: /home/robin/.cargo/registry/src/github... | D |
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:
/*
TEST_OUTPUT:
---
123
123u
123L
123LU
123.5
123.5F
123.5L
123.5i
123.5Fi
123.5Li
(123.5+5.5i)
(123.5F+5.5Fi)
(123.5L+5.5Li)
---
*/
pragma(msg, 123);
pragma(msg, 123u);
pragma(msg, 123L);
pragma(msg, 123uL);
pragma(msg, 123.5);
pragma(msg, 123.5f);
pragma(msg, 123.5L);
pragma(msg... | D |
/*
* Copyright (c) 2004-2009 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | D |
/home/alexei/Workspace/rust/Rust_Projects/_3/shoutbox/target/debug/deps/shoutbox-61a04c7b856bc337.rmeta: src/lib.rs
/home/alexei/Workspace/rust/Rust_Projects/_3/shoutbox/target/debug/deps/libshoutbox-61a04c7b856bc337.rlib: src/lib.rs
/home/alexei/Workspace/rust/Rust_Projects/_3/shoutbox/target/debug/deps/shoutbox-61a... | D |
/**
* Does the semantic 1 pass on the AST, which looks at symbol declarations but not initializers
* or function bodies.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.bo... | D |
a situation in which no progress can be made or no advancement is possible
a street with only one way in or out
| D |
getvdn (2) --- return name of file in user's variables directory 01/07/83
_C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n
subroutine getvdn (filename, pathname [, username])
character filename (ARB), pathname (ARB), username (ARB)
... | D |
/*
* Hunt - a framework for web and console application based on Collie using Dlang development
*
* Copyright (C) 2015-2017 Shanghai Putao Technology Co., Ltd
*
* Developer: HuntLabs
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.http.nullbuffer;
import collie.buffer;
final class NullBuffer :... | D |
<!DOCTYPE html>
<html lang="zh">
<!-- Mirrored from reward.ff.garena.com/fonts/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/css/ie10-viewport-bug-workaround.css by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 1... | D |
with (expression)
{
ident;
}
struct Foo
{
alias Y = int;
}
Y y; // error, Y undefined
with (Foo)
{
Y y; // same as Foo.Y y;
}
struct S
{
float x;
}
void main()
{
int x;
S s;
with (s)
{
x++; // error, shadows the int x declaration
}
} | D |
a married woman (usually middle-aged with children) who is staid and dignified
a wardress in a prison
a woman in charge of nursing in a medical institution
| D |
/*******************************************************************************
copyright: Copyright (c) 2006 Dinrus. все rights reserved
license: BSD стиль: see doc/license.txt for details
version: Initial release: Feb 2006
author: Regan Heath, O... | D |
/++
$(H2 ASDF Package)
Publicly imports $(SUBMODULE asdf), $(SUBMODULE jsonparser), and $(SUBMODULE serialization).
Copyright: Tamedia Digital, 2016
Authors: Ilya Yaroshenko
License: MIT
Macros:
SUBMODULE = $(LINK2 asdf_$1.html, asdf.$1)
SUBREF = $(LINK2 asdf_$1.html#.$2, $(TT $2))$(NBSP)
T2=$(TR $(TDNW $(LREF $1)... | D |
var int RavenBlitz;
func void B_SpecialMeleeWeaponDamage(var C_Npc oth,var C_Npc slf)
{
var int RavenRandy;
var int DamageRandy;
var C_Item otherweap;
if(Hlp_GetInstanceID(slf) == Hlp_GetInstanceID(Raven))
{
Wld_PlayEffect("spellFX_BELIARSRAGE_COLLIDE",slf,slf,0,0,0,FALSE);
if(RavenBlitz <= 0)
{
Wld_Pla... | 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 |
/*
REQUIRED_ARGS: -Xf- -o- -version=Showme
PERMUTE_ARGS:
TEST_OUTPUT:
----
[
{
"kind" : "module",
"file" : "compilable$?:windows=\\|/$json20742.d",
"members" : [
{
"name" : "X1",
"kind" : "struct",
"protection" : "private",
"line" : 52,
"char" : 13,
"members" : []
},
{
"name"... | D |
a businessman who buys or sells for another in exchange for a commission
act as a broker
lacking funds
| D |
module UnrealScript.UnrealEd.AITreeLabelRenderer;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UnrealEd.ThumbnailLabelRenderer;
extern(C++) interface AITreeLabelRenderer : ThumbnailLabelRenderer
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property fina... | D |
module evael.ecs.system;
import evael.ecs.entity;
import evael.ecs.world;
import evael.lib.containers.array;
abstract class System : NoGCClass
{
/**
* Defines if update() function will be automatically called by the system manager or manually by the user.
*/
enum UpdatePolicy
{
Automati... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto nk = readln.split.to!(int[]);
writeln(nk[0] - nk[1] + 1);
} | D |
/**
* Internal header file for the backend
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved
*
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: ... | D |
/++
Templates for wrapping D classes, properties, methods, and signals to be passed
to Godot's C interface.
+/
module godot.d.wrap;
import std.range;
import std.meta, std.traits;
import std.experimental.allocator, std.experimental.allocator.mallocator;
import core.stdc.stdlib : malloc, free;
import godot.d.udas;
impo... | D |
/*
Copyright (c) 2014-2018 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 |
/*
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,
execute, and transmit the Software, a... | D |
module bio.std.sff.readrange;
import bio.std.sff.read;
import bio.std.sff.index;
import bio.core.utils.switchendianness;
import std.algorithm;
import contrib.undead.stream;
import std.system;
import std.array;
private {
// GC used in D is quite bad at allocating lots of objects in a tight loop.
// The f... | D |
func void ZS_Pray_Sleeper()
{
Perception_Set_Normal();
B_ResetAll(self);
AI_SetWalkMode(self,NPC_WALK);
if(!C_NpcIsOnRoutineWP(self))
{
AI_GotoWP(self,self.wp);
};
};
func int ZS_Pray_Sleeper_Loop()
{
if(!C_BodyStateContains(self,BS_MOBINTERACT_INTERRUPT) && Wld_IsMobAvailable(self,"IDOL"))
{
AI_UseMob(se... | D |
// import derelict.opengl3.gl3;
import derelict.opengl;
class GBuffer {
uint fbo;
uint diffuseTexture;
uint positionTexture;
uint depthTexture;
enum WindowWidth = 800;
enum WindowHeight = 600;
this() {
glGenFramebuffers(1, &fbo);
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo);
// diffuse
glGenTexture... | D |
module bio.sff.read;
/// SFF record
struct SffRead {
/// Read identifier
string name;
/// Homopolymer stretch estimates for each flow of the read
ushort[] flowgram_values;
ubyte[] flow_index_per_base;
/// Basecalled nucleotide sequence
char[] bases;
/// Phred-scaled quality scores
... | D |
/* Converted to D from gsl_sf_pow_int.h by htod
* and edited by daniel truemper <truemped.dsource <with> hence22.org>
*/
module auxc.gsl.gsl_sf_pow_int;
/* specfunc/gsl_sf_pow_int.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or mo... | D |
// Tool to build and develop the VHDL in this folder
// Build command: dmd tool.d -oftool -O -release (or use mktool.sh)
// To get help: ./tool help
module tool;
import std.algorithm;
import std.array;
import std.file;
import std.json;
import std.path;
import std.process;
import std.stdio;
// Commands recognized by t... | D |
func void b_occupiedobserveintruder()
{
printdebugnpc(PD_ZS_FRAME,"B_OccupiedObserveIntruder");
if(!c_npcishuman(other))
{
printdebugnpc(PD_ZS_FRAME,"...Nsc ist Monster!");
b_assessfighter();
};
if(Npc_GetDistToNpc(self,other) < PERC_DIST_CLOSE)
{
printdebugnpc(PD_ZS_FRAME,"... Eindringling zu nahe!");
i... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail4269c.d(11): Error: undefined identifier `B`
fail_compilation/fail4269c.d(12): Error: undefined identifier `B`
---
*/
enum bool WWW = is(typeof(A.x));
class A {
B blah;
void foo(B b){}
}
| D |
module integral;
import std.math : abs, sqrt, cos, tanh, sinh, cosh, PI;
import matrix;
import polynomials;
// Интегрируем с заданной точностью
// > вход : способ интегрирования, интегрируемая функция, пределы, точность
// < выход : значение интеграла с заданной точностью
real integrate(alias method, alias f)(real ... | D |
/home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/TrigDecisionTool/obj/Templates_test.o /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/TrigDecisionTool/obj/Templates_test.d : /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.3.45/TrigDecisionTool/test/Templates_test.... | D |
/*
* Copyright (C) 2018 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 |
void main() { runSolver(); }
void problem() {
auto QN = scan!int;
auto solve() {
auto subSolve() {
auto N = scan!int;
auto M = scan!int;
auto S = scan!string(N);
long ans = long.max;
foreach(i; 0..N - 1) foreach(j; i+1..N) {
long tans;
foreach(k; 0..M) {
... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010 by Rainer Schuetze, All Rights Reserved
//
// 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... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Bo... | D |
/* TEST_OUTPUT:
---
fail_compilation/test17451.d(22): Error: undefined identifier `allocator`
fail_compilation/test17451.d(23): Error: `false` has no effect
fail_compilation/test17451.d(30): Error: variable test17451.HashMap!(ThreadSlot).HashMap.__lambda2.v size of type `ThreadSlot` is invalid
fail_compilation/test1745... | D |
/Users/gaishimin/Documents/GitHub/Eureka/.build/x86_64-apple-macosx/debug/Eureka.build/Core/Helpers.swift.o : /Users/gaishimin/Documents/GitHub/Eureka/Source/Validations/RuleURL.swift /Users/gaishimin/Documents/GitHub/Eureka/Source/Validations/RuleRequired.swift /Users/gaishimin/Documents/GitHub/Eureka/Source/Validatio... | D |
/Users/hazuki/Desktop/13/la/lifeistech/Accelerometer/DerivedData/Accelerometer/Build/Intermediates.noindex/Accelerometer.build/Debug-iphonesimulator/Accelerometer.build/Objects-normal/x86_64/GameViewController.o : /Users/hazuki/Desktop/13/la/lifeistech/Accelerometer/Accelerometer/SceneDelegate.swift /Users/hazuki/Deskt... | D |
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Async.build/Future+Void.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/core/Sources/Async/Future+Varia... | D |
module kgl3n.plane;
import kgl3n.vector;
import kgl3n.math : almostEqual;
import std.traits : isFloatingPoint;
/// Base template for all plane-types.
/// Params:
/// type = all values get stored as this type (must be floating point)
struct PlaneT(type = float)
if(isFloatingPoint!type)
{
alias vt = Vector!(type, 4);... | D |
/Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/RedirectHandler.o : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Alamofire/Source/MultipartUpload.swift /Use... | D |
/Users/GMoran/Desktop/ClassicPlayer/DerivedData/ClassicPlayer/Build/Intermediates/ClassicPlayer.build/Debug-iphoneos/ClassicPlayer.build/Objects-normal/arm64/MusicMenuVC.o : /Users/GMoran/Desktop/ClassicPlayer/ClassicPlayer/NowPlayingVC.swift /Users/GMoran/Desktop/ClassicPlayer/ClassicPlayer/AboutScreenVC.swift /Users/... | D |
void main() {
auto N = ri;
auto calc = new Calculator;
foreach(i; 0..N) {
calc.run(rs);
}
}
class Calculator {
int[string] variables;
int[][string] vectors;
void run(string command) {
auto args = command.chomp.split;
switch(args[0]) {
case "int":
declare_int(args[1], eval_int(args[3..$]));
bre... | D |
module org.serviio.library.local.metadata.extractor.embedded.h264.ChromaFormat;
import java.lang.String;
public class ChromaFormat
{
public static const ChromaFormat MONOCHROME = new ChromaFormat(0, 0, 0);
public static const ChromaFormat YUV_420 = new ChromaFormat(1, 2, 2);
public static const ChromaForm... | 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 |
void main() {
auto ip = readAs!(int[]), N = ip[0], M = ip[1];
ulong[ulong] a;
foreach(i; 0..N) {
auto arr = readAs!(int[]);
auto K = arr[0];
auto A = arr[1..$];
foreach(j; A) a[j]++;
}
ulong cnt;
foreach(i, v; a) {
if(v == N) cnt++;
}
cnt.writeln;
}
// ===================================
import std.... | D |
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/AnonymousObserver.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSU... | D |
import std.stdio;
import hunt.util.UnitTest;
import ArrayListDemo;
import BufferUtilsDemo;
import HashSetDemo;
import HashMapDemo;
import LinkedListDemo;
import LinkedHashSetDemo;
import LinkedHashMapDemo;
import MultiMapDemo;
import SetDemo;
import TreeMapDemo;
import TrieTest;
import hunt.util.DateTime;
void main... | D |
#!/usr/bin/rdmd
//todo add stub children finder, to prevent loading of psi tree
import std.stdio;
import std.format;
import std.regex;
string interface_imports = `import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
`;
string[][string] types_children;
deprecated strin... | D |
be a summary of
give a summary (of
| 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 |
/Users/mac/Downloads/dunia-main-1/build/app/intermediates/flutter/release/flutter_assets/assets/cfg/configuration.json /Users/mac/Downloads/dunia-main-1/build/app/intermediates/flutter/release/flutter_assets/assets/images/p-icon1.png /Users/mac/Downloads/dunia-main-1/build/app/intermediates/flutter/release/flutter_ass... | D |
instance VLK_536_KYLE(NPC_DEFAULT)
{
name[0] = "สเ้๋";
npctype = NPCTYPE_MAIN;
guild = GIL_VLK;
level = 3;
voice = 10;
id = 536;
attribute[ATR_STRENGTH] = 15;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 76;
attribute[ATR_HITPOINTS] = 7... | D |
// Written in the D programming language.
/**
Functions for starting and interacting with other processes, and for
working with the current _process' execution environment.
Process_handling:
$(UL $(LI
$(LREF spawnProcess) spawns a new _process, optionally assigning it an
arbitrary set of standard input, outpu... | D |
prototype Mst_Default_Scavenger_Demon(C_Npc)
{
name[0] = NAME_ADDON_SCAVENGERGL;
guild = GIL_SCAVENGER;
aivar[AIV_MM_REAL_ID] = ID_SCAVENGER_DEMON;
level = 12;
attribute[ATR_STRENGTH] = 60;
attribute[ATR_DEXTERITY] = 60;
attribute[ATR_HITPOINTS_MAX] = 120;
attribute[ATR_HITPOINTS] = 120;
attribute[ATR_MANA_MA... | 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.routing.Define;
import hunt.logging;... | D |
/+
This is a DHDL test circuit. You generally wouldn't write this D code by hand.
Instead, you would write DHDL code and the DHDL compiler would generate the
code you see in this module.
+/
module dhdl.tests.registers;
import std.stdio;
import dhdl;
import dhdl.testing;
class Registers : Circuit
{
@in_ Bool a;
... | D |
module A;
class C2(T)
{
mixin(testMixin!(typeof(this)));
}
auto testT(Class)() { return 0; }
template testMixin(Tclass)
{
enum : string { testMixin =
`static getT() {
return testT!(` ~ Tclass.stringof ~ `);
}`
}
}
| 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_25_MobileMedia... | 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 |
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Console.build/Terminal/ANSI.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Console/Terminal/ANSI.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Co... | D |
/Users/heidsoft/Downloads/research/rust/heidsoft-rust/rocket_app/target/debug/deps/libref_cast_impl-3baaa5fdaf6bde80.dylib: /Users/heidsoft/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-impl-1.0.9/src/lib.rs
/Users/heidsoft/Downloads/research/rust/heidsoft-rust/rocket_app/target/debug/deps/ref_cast_impl-3ba... | 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_agm-45311163... | D |
module tofuEngine.resources;
import std.path;
import std.file;
import std.stdio;
import std.range;
import std.traits;
import std.meta;
import std.experimental.allocator;
import std.experimental.allocator.mallocator;
import graphics.mesh;
import graphics.image;
import graphics.hw;
import util.integerSeq;
import tofuEng... | D |
#name: Z180 use unsupported registers as labels
#as: -march=z180 --defsym NO_REG_F= --defsym NO_XYHL=
#objdump: -d
#source: unsup_regs.s
.*: .*
Disassembly of section \.text:
0+00 <_start>:
[ ]+0:[ ]+3e 02[ ]+ld a,0x02
0+02 <ixl>:
[ ]+2:[ ]+06 04[ ]+ld b,0x04
0+04 <ixh>:
[ ]+4:[ ]+0e 06[ ... | D |
import std.stdio;
import std.conv;
void main() {
long maxLength = 0;
int maxNum = 1;
int temp;
for (int i = 1; i <= 1_000_000; i++) {
temp = memoizedCollatz(i);
if (maxLength < temp) {
maxLength = temp;
maxNum = i;
}
}
writeln(maxNum);
}
int memoizedCollatz(long n) {
static int[... | D |
a judge who assigns grades to something
| D |
/home/lyf/Desktop/os-learning/rCore-labs/lab1/os/target/debug/deps/semver-e249ade941bd4a84.rmeta: /home/lyf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/semver-0.9.0/src/lib.rs /home/lyf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/semver-0.9.0/src/version.rs /home/lyf/.cargo/registry/src/mirror... | 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 core/sys/windows/_rpcndr.d)
*/
module core.sys.windows.rpcndr;
version (Windows):
pragma(lib, "rpcrt4");
/* Translation notes:
RPC_CLIE... | D |
/Users/Rylyn/project/rust/TRPL_08_01_collections_vectors/target/debug/TRPL_08_01_collections_vectors: /Users/Rylyn/project/rust/TRPL_08_01_collections_vectors/src/main.rs
| D |
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Jay.build/Parser.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Jay-1.0.0/Sources/Jay/ArrayParser.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packag... | D |
/// OpenGL loader
module gld.loader;
// Dynamic bindings facility
/// A handle to a shared library
alias SharedLib = void*;
/// A handle to a shared library symbol
alias SharedSym = void*;
/// Opens a shared library.
/// Return null in case of failure.
SharedLib openSharedLib(string name);
/// Load a symbol from a ... | D |
module android.java.java.io.PipedWriter_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import3 = android.java.java.lang.Appendable_d_interface;
import import1 = android.java.java.io.Writer_d_interfac... | D |
/**
* Handles operator overloading.
*
* Specification: $(LINK2 https://dlang.org/spec/operatoroverloading.html, Operator Overloading)
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2... | D |
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/currentTask.o : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/apple-... | D |
instance BAU_921_Bauer(Npc_Default)
{
name[0] = NAME_Bauer;
guild = GIL_BAU;
id = 921;
voice = 13;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,1);
aivar[AIV_MM_RestStart] = TRUE;
level = 1;
B_GiveNpcTalents(self);
B_SetFightSkills(self,15);
fight_tactic = FAI_HUMAN_COWARD;
EquipIte... | D |
/*
Copyright: Marcelo S. N. Mancini (Hipreme|MrcSnm), 2018 - 2021
License: [https://creativecommons.org/licenses/by/4.0/|CC BY-4.0 License].
Authors: Marcelo S. N. Mancini
Copyright Marcelo S. N. Mancini 2018 - 2021.
Distributed under the CC BY-4.0 License.
(See accompanying file LICENSE.txt or copy at
... | D |
@compute(CompileFor.deviceOnly) module kernel;
/++
NOTE: now every implementation is written in kernel_lib.cu. here are only definitions.
+/
import ldc.dcompute : GlobalPointer, kernel, compute, CompileFor;
import dcompute.std.index;
import dcompute.std.atomic;
import dcompute.std.sync;
nothrow @nogc extern(C++):
... | D |
/afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/CxAODTools/obj/FatJetDecorator.o /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/CxAODTools/obj/FatJetDecorator.d : /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/CxAOD... | D |
/Users/spluta1/Documents/rust/time_stretch/target/debug/deps/is_odd-149b1572b0eb97ef.rmeta: /Users/spluta1/.cargo/registry/src/github.com-1ecc6299db9ec823/is-odd-1.0.0/src/lib.rs
/Users/spluta1/Documents/rust/time_stretch/target/debug/deps/libis_odd-149b1572b0eb97ef.rlib: /Users/spluta1/.cargo/registry/src/github.com-... | D |
instance DIA_STRF_13_EXIT(C_Info)
{
nr = 999;
condition = DIA_STRF_13_EXIT_Condition;
information = DIA_STRF_13_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_STRF_13_EXIT_Condition()
{
return TRUE;
};
func void DIA_STRF_13_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_S... | D |
// URL: https://atcoder.jp/contests/abc101/tasks/arc099_a
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.