code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module android.java.java.lang.AssertionError;
public import android.java.java.lang.AssertionError_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!AssertionError;
import import4 = android.java.java.lang.Class;
import import3 = android.java.java.lang.StackTraceElement;
| D |
// URL: https://atcoder.jp/contests/abc074/tasks/abc074_b
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 |
/*
TEST_OUTPUT:
---
pure nothrow @safe Object(bool b)
pure nothrow @safe int*(bool b)
pure nothrow @safe int[](bool b)
---
*/
extern (C) int printf(const(char*) fmt, ...);
alias typeof(null) null_t;
/**********************************************/
void test1()
{
null_t null1;
typeof(null) null2;
static ... | D |
/*
Copyright (c) 2013-2014 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 |
module rocl.network;
import
std.path,
std.conv,
std.array,
std.ascii,
std.range,
std.stdio,
std.traits,
std.string,
std.socket,
std.encoding,
std.typetuple,
std.algorithm,
core.bitop,
perfontain,
perfontain.misc,
ro.grf,
ro.conf,
rocl,
rocl.game,
rocl.status,
rocl.entity,
... | D |
module solution;
import std.stdio;
void main ()
{
int tests;
int w;
readf (" %s %s", &tests, &w);
foreach (test; 0..tests)
{
writeln (55);
stdout.flush ();
ulong lo;
readf (" %s", &lo);
writeln (185);
stdout.flush ();
ulong hi;
readf (" %s", &hi);
auto a = new int [7];
a[4] |= (hi >> (185 / ... | D |
import stm32f401re;
import stm32f401re.led;
import stm32f401re.timer;
@nogc:
nothrow:
extern (C) void main()
{
pragma(LDC_never_inline);
auto tim2 = powerOn!"TIM2"();
initLED();
tim2.pause();
tim2.setPrescaler(7999);
while (true)
{
auto ticks = 1000;
foreach (led; LEDS)... | D |
phone (3) --- find someone's telephone number 06/12/82
_U_s_a_g_e
phone [<person> | <business>]
_D_e_s_c_r_i_p_t_i_o_n
'Phone' finds the telephone number (or numbers) belonging to
a given person ... | D |
module android.java.java.util.Optional_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.util.function_.Predicate_d_interface;
import import4 = android.java.java.util.functio... | D |
/**
* Directed acyclic graphs and global optimizer common subexpressions
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1986-1998 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Au... | D |
//Written in the D programming language
/++
Module containing core time functionality, such as $(LREF Duration) (which
represents a duration of time) or $(LREF MonoTime) (which represents a
timestamp of the system's monotonic clock).
Various functions take a string (or strings) to represent a unit of ... | D |
module jwtd.jwt;
import std.json;
import std.base64;
import std.algorithm;
import std.array : split;
private alias Base64URLNoPadding = Base64Impl!('-', '_', Base64.NoPadding);
version(UseOpenSSL) {
public import jwtd.jwt_openssl;
}
version(UseBotan) {
public import jwtd.jwt_botan;
}
version(UsePhobos) {
public i... | D |
module krepel.math.transform;
import krepel.math.vector3;
import krepel.math.quaternion;
import krepel.math.matrix4;
import krepel.math.math;
Vector3 TransformDirection(in ref Transform Transformation, Vector3 Vec)
{
with(Transformation)
{
return (Rotation * (Scale * Vec));
}
}
Vector3 TransformPosition(in... | D |
module d.parser.adt;
import d.parser.base;
import d.parser.declaration;
import d.parser.dtemplate;
import d.parser.expression;
import d.parser.identifier;
import d.parser.type;
import d.ast.declaration;
import d.ast.expression;
import d.ast.identifier;
import d.ast.type;
/**
* Parse class
*/
auto parseClass(TokenR... | D |
module godot.file;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.object;
import godot.classdb;
import godot.reference;
@GodotBaseClass struct File
{
static immutable string _GODOT_internal_name = "_File";
public:
union { god... | 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 |
/*
* Copyright Andrej Mitrovic 2013.
* 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 git.common;
// todo: port more of these from git.c.common
import std.array;
import std... | D |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/SQLite.build/Database/SQLiteStatement.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/... | D |
instance DIA_JORU_EXIT(C_INFO)
{
npc = nov_1305_joru;
nr = 999;
condition = dia_joru_exit_condition;
information = dia_joru_exit_info;
permanent = 1;
description = DIALOG_ENDE;
};
func int dia_joru_exit_condition()
{
return 1;
};
func void dia_joru_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_... | D |
void main(){
import std.stdio;
writeln(0);
writeln(1);
int a = 1;
int b = a + a;
writeln(a);
writeln(b);
while(a < 1000000){
a = a + b;
b = a + b;
writeln(a);
writeln(b);
}
}
| D |
import std.stdio;
import std.c.stdio;
/******************************************/
struct S
{
int opStar() { return 7; }
}
void test1()
{
S s;
printf("%d\n", *s);
assert(*s == 7);
}
/******************************************/
void test2()
{
double[1][2] bar;
bar[0][0] = 1.0;
bar[1][0] = 2.0... | D |
/**
original of this module is by rsinfu (http://gist.github.com/598659)
*/
module util.meta;
private import std.conv : to;
private import std.string;
private import std.traits;
@safe:
/**
*/
template Sequence(seq...)
{
alias seq Sequence;
}
//--------------------------------------... | D |
/*
* Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
* Distributed under the WTFPL Public License, Version 2, December 2004
* (See license copy at http://www.wtfpl.net/txt/copying)
*/
module tut_13_normal_mapping;
/**
D2 Port of:
http://www.opengl-tutorial.org/intermediate-tutorials/tu... | D |
// https://issues.dlang.org/show_bug.cgi?id=22523
import core.stdc.stdio;
int main()
{
puts("Executed main although it should be skipped!");
return 1;
}
unittest {}
| D |
// EXTRA_SOURCES: imports/ufcs5a.d imports/ufcs5b.d imports/ufcs5c.d imports/ufcs5d.d imports/ufcs5e.d
module ufcs;
extern (C) int printf(const char*, ...);
/*******************************************/
struct S {}
int foo(int n) { return 1; }
int foo(int n, int m) { return 2; }
int goo(int[] a) ... | D |
/**
* Windows API header module
*
* Translated from MinGW API for MS-Windows 3.12
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_commdlg.d)
*/
module core.sys.windows.commdlg;
version (Windows):
version (ANSI) {} else version = Unicode... | D |
module templatedconstructors;
struct S(T)
{
this(U)(U u) { /*...*/ }
}
void main()
{
auto s = S!string(1); // T is string, U is int.
}
| D |
/Users/Bers/Desktop/原始/Developing/BSQuickAnimation/build/BSQuickAnimation.build/Debug-iphoneos/BSQuickAnimation.build/Objects-normal/armv7/BSQuickUIViewAnimationCommon.o : /Users/Bers/Desktop/原始/Developing/BSQuickAnimation/BSQuickAnimation/BSQuickCALayerAnimationFunc.swift /Users/Bers/Desktop/原始/Developing/BSQuickAnima... | 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_10_BeT-6485878... | D |
/**
* TypeInfo support code.
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: $(HTTP 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 accompanyin... | D |
a follower of Mohammed
of or relating to the Arabian prophet Muhammad or to the religion he founded
| D |
/Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CombinedHighlighter.o : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.sw... | D |
//#############################################
//##
//## Dracheninsel
//##
//############################################
instance None_101_Mario_DI (Npc_Default)
{
// ------ NSC ------
name = "Mario";
guild = GIL_DMT;
id = 1010;
voice = 7;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
... | D |
/Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/Map.o : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/ToJSON... | D |
//**************************
// Scavenger Prototype
//**************************
PROTOTYPE Mst_Default_Scavenger(C_Npc)
{
//----- Monster ----
name = "Mrchožrout";
guild = GIL_SCAVENGER;
aivar[AIV_MM_REAL_ID] = ID_SCAVENGER;
level = 7;
//----- Attribute ----
attribute [ATR_STRENGTH] = ... | D |
/Users/ernestpascual/Downloads/projects/bigmochi/sample/target/debug/build/serde_derive-eafcc0b4f186a26d/build_script_build-eafcc0b4f186a26d: /Users/ernestpascual/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.116/build.rs
/Users/ernestpascual/Downloads/projects/bigmochi/sample/target/debug/build/ser... | D |
import mapobject;
import std.math;
import dsfml.graphics;
class Plant: MapObject
{
this(Vector2f position)
{
m_position = position;
}
// Get older
override void update(Map map)
{
m_age += 1.0f/60.0f;
}
override void render(RenderWindow window, const ScreenManager screenManager, int stepCount)
{
m_disp... | D |
/*******************************************************************************
* Copyright (c) 2000, 2004 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, a... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -o-
import imports.ice13403a;
void main() {}
| D |
import std.stdio;
import std.string;
void main() {
string str = "cat";
writeln(str.toupper);
write(toupper(str));
}
| D |
instance VLK_581_Snaf(Npc_Default)
{
name[0] = "Snaf";
npcType = npctype_main;
guild = GIL_VLK;
level = 5;
voice = 1;
id = 581;
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 15;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 100;
attribute[ATR_HITPOINTS] = 1... | D |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | D |
/Users/abdirrahman/Desktop/snakegame/target/rls/debug/deps/viewport-8800b3efa92c19b7.rmeta: /Users/abdirrahman/.cargo/registry/src/github.com-1ecc6299db9ec823/piston-viewport-1.0.0/src/lib.rs
/Users/abdirrahman/Desktop/snakegame/target/rls/debug/deps/viewport-8800b3efa92c19b7.d: /Users/abdirrahman/.cargo/registry/src/... | D |
/******************************************************************//**
* \file deps/sdl/sdlfunctions.d
* \brief SDL function prototypes
*
* <i>Copyright (c) 2012</i> Danny Arends<br>
* Last modified May, 2012<br>
* First written 2010<br>
* Written in the D Programming Language (http://www.digitalmars.com/d)
**... | D |
/***********************************************************************\
* winuser.d *
* *
* Windows API header module *
* ... | D |
// Written in the D programming language
/*
Copyright (C) 2004-2011 Christopher E. Miller
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 documentatio... | D |
/Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/DerivedData/XYiOS/Build/Intermediates/XYiOS.build/Debug-iphonesimulator/XYiOS.build/Objects-normal/x86_64/Image+Filter.o : /Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/XYiOS/Sepia.swift /Users/tom.power/Developer/MusicTechProjects/XYMu... | D |
/afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/PYTHIA_pp13/RootCoreBin/obj/x86_64-slc6-gcc49-opt/checkTrack/obj/MyxAODAnalysis.o /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/PYTHIA_pp13/RootCoreBin/obj/x86_64-slc6-gcc49-opt/checkTrack/obj/MyxAODAnalysis.d : /afs/cern.ch/work/m/mizhou/SUB_CUMU_PROD/PYTHIA_pp13/checkTrack/Root/Myx... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintAttributes.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/babaih... | D |
/**
Helpers for working with user-defined attributes that can be attached to
function or method to modify its behavior. In some sense those are similar to
Python decorator. D does not support this feature natively but
it can be emulated within certain code generation framework.
Copyright: © 2013 Sönke Ludwig
Lic... | 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_1_BeT-11117948... | D |
/**
* The runtime module exposes information specific to the D runtime code.
*
* Copyright: Copyright (C) 2005-2006 Sean Kelly. All rights reserved.
* License: BSD style: $(LICENSE)
* Authors: Sean Kelly
*/
module tango.core.Runtime;
pragma(lib, "rulada.lib");
public import rt.core.runtime; | D |
/*******************************************************************************
Test runner for our integration test suite
Copyright:
Copyright (c) 2019-2021 BOSAGORA Foundation
All rights reserved.
License:
MIT License. See LICENSE for details.
*********************************... | D |
module ez.Foundation.Memory.AllocatorWrapper;
import ez.Foundation.Basics;
struct ezDefaultAllocatorWrapper
{
export static ezAllocatorBase GetAllocator()
{
return ezFoundation.GetDefaultAllocator();
}
}
| D |
/* Mach-O object file format
* Translated to D from mach.h
*/
module dmd.backend.mach;
// Online documentation: https://dlang.org/phobos/dmd_backend_mach.html
version(OSX):
alias cpu_type_t = int;
alias cpu_subtype_t = int;
alias vm_prot_t = int;
enum
{
// magic
MH_MAGIC = 0xfeedface,
MH_CIGAM = 0xce... | D |
/home/ubuntu/MERN-boilerPlate/solana/rust/program/target/release/build/serde_derive-25c4182cde9619b8/build_script_build-25c4182cde9619b8: /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.127/build.rs
/home/ubuntu/MERN-boilerPlate/solana/rust/program/target/release/build/serde_derive-25c418... | D |
module des.flow.event;
import std.traits;
import std.string : format;
import core.time;
import des.util.data.pdata;
import des.flow.base;
import des.flow.sysevdata;
/// Pass data between threads
struct Event
{
/// `ulong.max` reserved system event code
enum system_code = ulong.max;
alias typeof(this) ... | D |
/* Converted to D from bitstream\mpeg\pes.h by htod */
module bitstream.mpeg.ts.pes;
/*****************************************************************************
* pes.h: ISO/IEC 13818-1 Packetized Elementary Stream
*****************************************************************************
* Copyright (C) ... | D |
/Users/radibarq/developer/NasaInArabic/build/NasaInArabic.build/Debug-iphonesimulator/NasaInArabic.build/Objects-normal/x86_64/ProfileViewController.o : /Users/radibarq/developer/NasaInArabic/NasaInArabic/AppStoreViewController1.swift /Users/radibarq/developer/NasaInArabic/NasaInArabic/Source.swift /Users/radibarq/deve... | D |
module zua.parser.parser;
import zua.parser.lexer;
import zua.compiler.ir : BinaryOperation, UnaryOperation;
import zua.diagnostic;
import zua.parser.ast;
import std.typecons;
import std.conv;
private alias PrefixParselet = Expr delegate(Token op);
private alias InfixParselet = Expr delegate(Expr left, Token op);
/**... | D |
func void B_Story_BroughtFoci()
{
Log_SetTopicStatus(CH3_BringFoci,LOG_SUCCESS);
};
| D |
exploring in order to gain information
explore, often with the goal of finding something or somebody
| D |
/Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/TakeUntil.o : /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods... | D |
/home/gaurava/work/learning/rust/rust_programming/Greeter/target/debug/deps/matches-12b82983b968a018.rmeta: /home/gaurava/.cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.8/lib.rs
/home/gaurava/work/learning/rust/rust_programming/Greeter/target/debug/deps/matches-12b82983b968a018.d: /home/gaurava/.cargo/reg... | D |
/* Converted to D from lp_lib.h by htod */
module lp_solve.lp_lib;
import core.sys.windows.windows;
//C #ifndef HEADER_lp_lib
//C #define HEADER_lp_lib
/* --------------------------------------------------------------------------
This is the main library header file for the lp_solve v5.0 release
Startin... | D |
module android.java.java.util.function_.DoubleConsumer;
public import android.java.java.util.function_.DoubleConsumer_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!DoubleConsumer;
import import1 = android.java.java.lang.Class;
import import0 = android.java.java.util.function_.DoubleConsumer;... | D |
// Copyright Max Howell <max@last.fm>
// See the GNU General Public Licence for distribution semantics
import sh = lib.Shell : writeh;
import radio.handshake;
import radio.adjust;
import radio.Track;
import radio.Xspf;
import radio.stream;
import tango.io.Console;
int main( char[][] args )
{
if (args.length != 2... | D |
import erlogtrisy2k.erlogtrisy2k;
import erlogtrisy2k.avltree;
import erlogtrisy2k.memory;
import std.stdio;
void main()
{
/*ErlogTrisY2K erlogtrisy2k = new ErlogTrisY2K();
erlogtrisy2k.run();
delete erlogtrisy2k;*/
ErlogTrisY2K erlogtrisy2k = make!ErlogTrisY2K();
erlogtrisy2k.run();
unmake(e... | D |
import common;
class ReversiMinicandidatesPlayer : ReversiPlayer {
private:
Mark mark;
uint depth;
int CalcActionWorth(const ReversiBoard board, Mark mark, int depth) pure const {
// 評価が高いほど負の方向に大きな値を返せ
if (board.IsGameEnd()) {
if (board.Count(-mark) > board.Count(mark)) {
return -1000;
}
else {
... | D |
/Users/jimallan/Downloads/starter/location-track-server/.build/x86_64-apple-macosx10.10/debug/Service.build/Container/ContainerAlias.swift.o : /Users/jimallan/Downloads/starter/location-track-server/.build/checkouts/service.git--550781764474654065/Sources/Service/Services/ServiceID.swift /Users/jimallan/Downloads/start... | D |
/work/02138/siddarth/CHOMBO/EBAMRRANS/lib/src/EBTools/../../libebtools2d.Linux.mpicxx.ifort.DEBUG.MPI.a(PolyGeom.o) d/2d.Linux.mpicxx.ifort.DEBUG.MPI/PolyGeom.d : /opt/apps/intel15/impi_5_0/phdf5/1.8.16/x86_64/include/H5Cpublic.h
/work/02138/siddarth/CHOMBO/EBAMRRANS/lib/src/EBTools/../../libebtools2d.Linux.mpicxx.ifor... | D |
/Users/Lambert/Desktop/demo/DerivedData/demo1/Build/Intermediates/demo1.build/Debug/Kitura.build/Objects-normal/x86_64/RouterMiddleware.o : /Users/Lambert/Desktop/demo/Packages/Kitura-1.6.1/Sources/Kitura/Error.swift /Users/Lambert/Desktop/demo/Packages/Kitura-1.6.1/Sources/Kitura/FileResourceServer.swift /Users/Lamber... | 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.application.model;
version (WITH_ENTITY) :
public import entity;... | D |
module poseidon.util.fileutil;
private import dwt.all;
private import dwt.internal.converter;
class FileReader{
private import std.stream;
private static bool isUTF8WithouBOM( char[] data )
{
for( int i = 0; i < data.length; ++ i )
{
if( !data[i] )
{
return false;
}
else if( data[i] < 0x... | D |
func int b_assessenemy()
{
var C_NPC pcl;
pcl = Hlp_GetNpc(pc_levelinspektor);
if(Hlp_GetInstanceID(other) == Hlp_GetInstanceID(pcl))
{
return FALSE;
};
if(Npc_GetHeightToNpc(self,other) > PERC_DIST_HEIGHT)
{
return FALSE;
};
if(self.aivar[AIV_PARTYMEMBER] == TRUE)
{
if(Npc_GetDistToNpc(self,other) > P... | D |
module mach.collect.heap;
private:
import mach.traits : isIterableOf, isFiniteIterable, isPredicate, ElementType;
public:
/// Determine whether a heap can be created given some element and comparison
/// function.
enum canHeap(T, alias compare) = isPredicate!(compare, T, T);
/// Put the least element at the root... | D |
module UnrealScript.Engine.UIDataStorePublisher;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.UIDataStoreSubscriber;
import UnrealScript.Engine.UIDataStore;
extern(C++) interface UIDataStorePublisher : UIDataStoreSubscriber
{
public extern(D):
private static __gshared Scrip... | D |
import sub.test;
void main()
{
foo();
}
| D |
// Imoen will tease other vanilla NPCs if they are sleeping with the PC
// Won't do it for the EE version characters because we don't care about them
// note: all dialogue was appended to B(NAME)25 files
/* Trigger globals:
IRTTeaseAerieRom = 1
IRTTeaseJaheiraRom = 1
IRTTeaseViconiaRom = 1
IRTTeaseAnomenRom = 1
*/
... | D |
/**
JSON format support for PackageRecipe
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, Matthias Dondorff
*/
module dub.recipe.json;
import dub.compilers.compiler;
import dub.dependency;
import dub... | 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 |
/Users/mac/Desktop/IOS_VNM/Assignment_iOS_Team_VNM/build/Assignment.build/Debug-iphoneos/Assignment.build/Objects-normal/arm64/Identifier.o : /Users/mac/Desktop/IOS_VNM/Assignment_iOS_Team_VNM/Assignment/Controller/AlarmPIC.swift /Users/mac/Desktop/IOS_VNM/Assignment_iOS_Team_VNM/Assignment/Controller/AlarmNameVC.swift... | D |
instance Kdw_603_Nefarius(Npc_Default)
{
name[0] = "Nefarius";
npcType = npctype_main;
guild = GIL_KDW;
level = 25;
voice = 4;
id = 603;
flags = NPC_FLAG_IMMORTAL;
attribute[ATR_STRENGTH] = 65;
attribute[ATR_DEXTERITY] = 45;
attribute[ATR_MANA_MAX] = 106;
attribute[ATR_MANA] = 106;
attribute[ATR_HITPOINTS_M... | D |
module dmagick.c.pixel;
import dmagick.c.cacheView;
import dmagick.c.colorspace;
import dmagick.c.constitute;
import dmagick.c.exception;
import dmagick.c.image;
import dmagick.c.magickType;
import dmagick.c.magickVersion;
alias ptrdiff_t ssize_t;
extern(C)
{
/**
* The pixel color interpolation method.
*/
enum... | 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 Soft... | D |
/Users/lishijun1/Documents/swiftworkspace/JDCloudSDKSwift/jdcloud-sdk-swift-github/JDCloudSDKSwift/.build/x86_64-apple-macosx10.10/debug/JDCloudSDKBaseanti.build/API/DescribeIpResourceProtectInfoRequest.swift.o : /Users/lishijun1/Documents/swiftworkspace/JDCloudSDKSwift/jdcloud-sdk-swift-github/JDCloudSDKSwift/Sources/... | D |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | D |
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Log/LogSupporting.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/Dat... | 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="02_SourceLeft_CompositeDiagram... | D |
///
module rxd.meta2.lambda;
// BUG: after DMD bug 11886 is fixed, the `State` parameter,
// the `state` member and the static if can be removed.
struct Lambda(alias fun, State...)
{
State state;
auto opCall(A...)(A args)
{
return fun(state, args);
}
static if (State.length)
{
... | D |
instance Vlk_2000_Thorus (Npc_Default)
{
// ------ NSC ------
name = "Thorus";
guild = GIL_NONE;
id = 2000;
voice = 9;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ AIVARS ------
aivar[AIV_ToughGuy] = TRUE;
aivar[AIV_ToughGuyNewsOverride] = TRUE;
aiva... | D |
/Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/build/Pods.build/Debug-iphonesimulator/Macaw.build/Objects-normal/x86_64/UIImage2Image.o : /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/export/MacawView+PDF.swift /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/MCAMediaTi... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2019 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 |
module UnrealScript.TribesGame.TrDmgType_LightAssaultRifle;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrDmgType_Bullet;
extern(C++) interface TrDmgType_LightAssaultRifle : TrDmgType_Bullet
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@prope... | D |
module blockie.generate.testscene1;
import blockie.generate.all;
/**
* Resolution: 1920 x 1024
*
* Chunk Data Render (Max len,br,lv)
* Size Time
* 6 r=1 38,318,002 [2.77,2.26,0.14] (71008,934,2977) (268MB)
* r=2 39,532,202 [2.74,2.21,0.14] (71008,927,2977)
* r=3 50,1... | D |
/Users/mli/Desktop/Develope/Swift/LBE_Demo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/LineChartDataProvider.o : /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/mli/Desktop/Develope/Swift/LBE_Demo/Pods/Chart... | D |
module d.semantic.mangler;
import d.semantic.semantic;
import d.ir.symbol;
import d.ir.type;
// XXX: top level for UFCS
import std.algorithm;
import std.array;
// Conflict with Interface in object.di
alias Interface = d.ir.symbol.Interface;
struct TypeMangler {
private SemanticPass pass;
alias pass this;
this... | D |
module UnrealScript.Engine.InterpFilter_Custom;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.InterpFilter;
import UnrealScript.Engine.InterpGroup;
extern(C++) interface InterpFilter_Custom : InterpFilter
{
public extern(D):
private static __gshared ScriptClass mStaticClass;... | D |
/**
* TypeInfo support code.
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Walter Bright
*/
/* Copyright Digital Mars 2004 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See... | D |
module render.screenComponents.Clickable;
interface Clickable {
/*
* Called on a mouse click in the current window, return true on first object to process the click
*/
nothrow bool checkClick(float x, float y, int button);
/*
* Called when the mouse is released from a click
*/
nothrow void mouseReleased();
}... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.