code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module Kanan.field;
struct Field {
import Kanan.rsvData : rsvFieldData;
import std.conv : to;
import std.math : abs;
import std.stdio : writeln;
import std.algorithm : copy;
this(Field field, int[] myMoveDir, bool whichTeam) {
this.myMoveDir = new int[myMoveDir.length];
foreach (i; 0 .. myMoveDir.... | D |
module dithermark_video.image;
import std.conv;
import std.string;
import std.stdio;
import std.uni : isWhite;
struct Image{
int width;
int height;
ubyte[] data;
}
Image imageFromPpmHeader(string[] header)
in{
assert(header.length == 3);
assert(header[0] == "P6");
assert(header[2] == "255");... | D |
module nxt.static_modarray;
version = useModulo;
/** Statically allocated `Mod`-array of fixed pre-allocated length `capacity` of
* `Mod`-elements in chunks of `elementLength`. `ElementType` is
* `Mod[elementLength]`.
*/
struct StaticModArray(uint capacity,
uint elementLength,
... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Bits.build/Objects-normal/x86_64/Bytes+Base64.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/bits.git-91965875917741... | D |
var int game_mode;
/*Funktsii nizhe, prednaznacheny dlya otslezhivaniya odevaniya/snimaniya(ekipirovki)
predmetov, dlya vsekh nps v tekushchem mire, tak zhe v etoy chasti skripta deystvuyut global'nyye instantsii item,self
item - odevayemyy predmet
self - nps, kotoryy odevayet predmet
*/
//**************************... | D |
/// Copyright: Copyright (c) 2017-2019 Andrey Penechko.
/// License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
/// Authors: Andrey Penechko.
/// We rely on the fact that nodes are allocated sequentially,
/// which allows us to simply copy a range on slots and fix indices,
/// in order to create template ins... | D |
/++
$(H2 FGHJ Package)
Publicly imports $(SUBMODULE _fghj), $(SUBMODULE jsonparser), and $(SUBMODULE serialization).
Copyright: Tamedia Digital, 2016
Authors: Ilya Yaroshenko
License: MIT
Macros:
SUBMODULE = $(LINK2 fghj_$1.html, _fghj.$1)
SUBREF = $(LINK2 fghj_$1.html#.$2, $(TT $2))$(NBSP)
T2=$(TR $(TDNW $(LREF $... | D |
/Users/ch4r0n/Desktop/MacOSReserver/TryToHookSwift/SwiftTipWindows/DerivedData/Build/Intermediates.noindex/SwiftTipWindows.build/Debug/SwiftTipWindows.build/Objects-normal/x86_64/AppDelegate.o : /Users/ch4r0n/Desktop/MacOSReserver/TryToHookSwift/SwiftTipWindows/SwiftTipWindows/AppDelegate.swift /Users/ch4r0n/Desktop/Ma... | D |
module UnrealScript.TribesGame.TrProj_MotionSensor;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrProj_Mine;
extern(C++) interface TrProj_MotionSensor : TrProj_Mine
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptCla... | D |
import basic;
import raylib;
struct vec2{
Vector2 payload; alias payload this;
this(int x,int y){
payload = Vector2(x.to!float,y.to!float);}
bool isbullshit(){
import std.math;
return payload.x.isNaN;}
} | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.build/Data/URLEncodedFormSerializer.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/url-encoded-form.git--7962792991753699495/Sources/URLEncodedForm/Data/URLEncodedFormData.swift /Users/lb/Documents/Project/Lea... | D |
module android.java.android.app.SearchManager_OnDismissListener;
public import android.java.android.app.SearchManager_OnDismissListener_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SearchManager_OnDismissListener;
import import0 = android.java.java.lang.Class;
| D |
instance DIA_Maria_EXIT(C_Info)
{
npc = BAU_910_Maria;
nr = 999;
condition = DIA_Maria_EXIT_Condition;
information = DIA_Maria_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Maria_EXIT_Condition()
{
return TRUE;
};
func void DIA_Maria_EXIT_Info()
{
AI_StopProcessInfos(self);
};
in... | D |
/Users/Dominik/Documents/Programmieren/Xcode\ Projects/DispatchSourceTimerSwiftUIReloadBug/Build/Intermediates.noindex/DispatchSourceTimerSwiftUIReloadBug.build/Debug-iphonesimulator/DispatchSourceTimerSwiftUIReloadBug.build/Objects-normal/x86_64/TimerView.o : /Users/Dominik/Documents/Programmieren/Xcode\ Projects/Disp... | D |
///
module nanogui.vscrollpanel;
/*
nanogui/vscrollpanel.h -- Adds a vertical scrollbar around a widget
that is too big to fit into a certain area
NanoGUI was developed by Wenzel Jakob <wenzel.jakob@epfl.ch>.
The widget drawing code is based on the NanoVG demo application
by Mikko Mononen.
Al... | D |
module android.java.android.content.Loader;
public import android.java.android.content.Loader_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Loader;
import import5 = android.java.java.lang.Class;
| D |
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/MVP.build/Debug-iphonesimulator/MVP.build/Objects-normal/x86_64/BaseURL.o : /Users/hanykaram/Desktop/MVP/MVP/Controller/Home/HomeVC.swift /Users/hanykaram/Desktop/MVP/MVP/Controller/Login/LoginVC.swift /Users/hanykaram/Desktop/MVP/MVP/Model/Networ... | D |
const int NPC_MINIMAL_DAMAGE = 5;
| D |
/**
Generator for project files
Copyright: © 2012-2013 Matthias Dondorff, © 2013-2016 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Matthias Dondorff
*/
module dub.generators.generator;
import dub.compilers.compiler;
import dub.generators.cmak... | D |
// float
module std.typeinfo.ti_float;
import util;
//private import std.math;
class TypeInfo_f : TypeInfo
{
char[] toString() { return "float"; }
hash_t getHash(void *p)
{
return *cast(uint *)p;
}
static int _equals(float f1, float f2)
{
return f1 == f2 ||
(isnan(f... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Provider/ProviderInstall.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalle... | D |
instance Mod_7407_OUT_Wirt_EIS (Npc_Default)
{
// ------ NSC ------
name = "Wirt";
guild = GIL_OUT;
id = 7407;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ------
fight_t... | D |
/***********************************************************************\
* wincrypt.d *
* *
* Windows API header module *
* ... | D |
/Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/GroupBy.o : /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test2/Pods/... | D |
import core.simd;
extern(C) float8 shufps0(float8, float8);
extern(C) float8 shufps1(float8, float8);
extern(C) float8 shufps2(float8, float8);
extern(C) float8 shufps3(float8, float8);
extern(C) float8 shufps4(float8, float8);
extern(C) float8 shufps5(float8, float8);
extern(C) float8 shufps6(float8, float8);
extern(C... | D |
module UnrealScript.UTGame.UTPickupInventory;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UTGame.UTInventory;
import UnrealScript.Engine.Pawn;
import UnrealScript.Engine.Controller;
import UnrealScript.Engine.Actor;
extern(C++) interface UTPickupInventory : UTInventory
{
public e... | D |
/Users/root1/swift/mus/Build/Intermediates.noindex/mus.build/Debug/mus.build/Objects-normal/x86_64/ViewController.o : /Users/root1/swift/mus/mus/AppDelegate.swift /Users/root1/swift/mus/mus/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/XP... | D |
// { dg-options "-Wall -Werror" }
import gcc.builtins;
char *bug260(char *buffer)
{
return __builtin_strcat(&buffer[0], "Li");
}
| D |
witty language used to convey insults or scorn
| 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 |
instance BAU_935_Bronko(Npc_Default)
{
name[0] = "Бронко";
guild = GIL_NONE;
id = 935;
voice = 6;
flags = 0;
npcType = npctype_main;
aivar[AIV_ToughGuy] = TRUE;
aivar[AIV_ToughGuyNewsOverride] = TRUE;
B_SetAttributesToChapter(self,2);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_2h_Bau_Axe);
B_Crea... | D |
/*******************************************************************************
copyright: Copyright (c) 2008. Fawzi Mohamed
license: BSD style: $(LICENSE)
version: Initial release: July 2008
author: Fawzi Mohamed
****************************************... | D |
/++
+ Module containing IRC client guts. Parses and dispatches to appropriate
+ handlers/
+/
module virc.client.skeleton;
import std.algorithm.comparison : among;
import std.algorithm.iteration : chunkBy, cumulativeFold, filter, map, splitter;
import std.algorithm.searching : canFind, endsWith, find, findSplit, findSpl... | D |
module instauser.basic.util;
/++
Compare two arrays in "length-constant" time. This thwarts timing-based
attacks by guaranteeing all comparisons (of a given length) take the same
amount of time.
See the section "Why does the hashing code on this page compare the hashes in
"length-constant" time?" at:
$(LINK https... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Buffer.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/babaiholdings/Documents/Alch... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.build/Model/WebSocket+Error.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+Send.swift /Users/AleixDiaz/Desktop/VaporP... | 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 mci.vm.io.writer;
import mci.core.common,
mci.core.container,
mci.core.io,
mci.core.tuple,
mci.core.code.functions,
mci.core.code.instructions,
mci.core.code.metadata,
mci.core.code.modules,
mci.core.typing.core,
mci.core.typing.members,
mci.... | D |
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/Objects-normal/x86_64/ChevronUpShapeRenderer.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/... | D |
module android.java.android.media.browse.MediaBrowser_MediaItem_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.media.MediaDescription_d_interface;
import import2 = andr... | D |
module game.core.calc;
import std.algorithm; // all
import optional;
import file.option;
import basics.cmdargs;
import game.core.assignee;
import game.core.game;
import game.core.active;
import game.core.passive;
import game.core.speed;
import game.exitwin;
import game.panel.tooltip;
import gui;
import hardware.keys... | D |
/Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/Objects-normal/x86_64/IndexExtractable.o : /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSON.swift /Volumes/Element-Mac/_development/_ios/_training/Ba... | D |
module android.java.java.util.regex.PatternSyntaxException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.io.PrintStream_d_interface;
import import4 = android.java.java.la... | D |
syncopated music in duple time for dancing the rumba
a folk dance in duple time that originated in Cuba with Spanish and African elements
a ballroom dance based on the Cuban folk dance
dance the rhumba
| D |
/Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/TaskDelegate.o : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/AFError.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Alam... | D |
//https://issues.dlang.org/show_bug.cgi?id=22291
alias AliasSeq(T...) = T;
void noParameters()
{
static assert(typeof(__traits(parameters)).length == 0);
}
void noArgs()
{
//Arguments are not valid, this should not compile
static assert(!__traits(compiles, __traits(parameters, 456)));
}
shared static this(... | 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 |
module hunt.wechat.bean.message.templatemessage.TemplateMessageResult;
import hunt.wechat.bean.BaseResult;
class TemplateMessageResult : BaseResult{
private Long msgid;
public Long getMsgid() {
return msgid;
}
public void setMsgid(Long msgid) {
this.msgid = msgid;
}
}
| D |
/Users/yq/Project/Swift/SwiftGroup/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Observable.o : /Users/yq/Project/Swift/SwiftGroup/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/yq/Project/Swift/SwiftGroup/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/yq... | D |
/Users/yongsangho/Desktop/Dev/carTalkProj/Project_CarTalk/carTalk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SwiftSoup.build/Objects-normal/x86_64/NodeVisitor.o : /Users/yongsangho/Desktop/Dev/carTalkProj/Project_CarTalk/carTalk/Pods/SwiftSoup/Sources/Node.swift /Users/yongsangho/Desktop/Dev/carTalkPr... | D |
/Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ServerTrustPolicy.o : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/AFError.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source... | D |
import std.array;
import std.conv;
import std.exception;
import std.stdio;
import std.typecons;
import derelict.opengl3.gl;
//import glew;
//import glsafe;
import glut;
/**
* Whether a given ASCII-mappable key is being pressed.
* The key of the associative array is the key on the keyboard.
* See the pun?
*/
bool[... | D |
module xf.utils.BitSet;
private {
import Memory = xf.utils.Memory;
import std.intrinsic;
}
struct BitSet(int minBits) {
const bool dynamic = false;
void opIndexAssign(bool b, int idx) { // TODO: maybe there are some intrinsics for this...
if (b) {
bts(bits.ptr, idx);
} else {
btr(... | D |
import std.stdio;
import test_repos.example;
void main()
{
writeln(exampleString());
}
| D |
module java.util.Vector;
import java.lang.all;
import java.util.AbstractList;
import java.util.List;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.ListIterator;
class Vector : AbstractList, List {
Object[] vect;
int used;
int capacityIn... | D |
a worker (especially in an office) hired on a temporary basis
| D |
/**
Copyright: © 2013 Simon Kérouack.
License: Subject to the terms of the MIT license,
as written in the included LICENSE.txt file.
Authors: Simon Kérouack
*/
module util.semver;
import std.string, std.regex, std.conv;
// Semantic Versioning for API.
struct Version {
uint major;
uint minor;
uint p... | D |
a person who has been converted to another religious or political belief
change from one system to another or to a new plan or policy
change the nature, purpose, or function of something
change religious beliefs, or adopt a religious belief
exchange or replace with another, usually of the same kind or category
cause to... | D |
/*
* Copyright (c) 2007 KISA(Korea Information Security Agency). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* noti... | D |
module voxtrac.tree;
import std.stdio;
import std.string;
import std.conv;
import std.array;
import std.range;
import voxtrac.math;
class Tree(T) {
static class Node {
public:
RectI3D volume;
}
static class Leaf : Node {
public:
T val;
this(RectI3D vol, T val) {
... | 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 |
import std.string;
import std.conv;
import std.getopt;
import std.algorithm.searching;
import std.algorithm.mutation;
import std.stdio;
import global;
import error;
import cmd;
string[] parseArgs(string[] args)
{
string connection;
string[] temp;
int tempPort;
// Parse arguments.
try
getopt(args,
std.ge... | D |
add up in number or quantity
determine the sum of
damage beyond the point of repair
used of automobiles
| D |
instance DIA_Caine_Exit(C_Info)
{
npc = NOV_1301_Caine;
nr = 999;
condition = DIA_Caine_Exit_Condition;
information = DIA_Caine_Exit_Info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
func int DIA_Caine_Exit_Condition()
{
return 1;
};
func void DIA_Caine_Exit_Info()
{
AI_StopProcessInfos(sel... | D |
/**
* EllИПtic integrals.
* The functions are named similarly в_ the names использован in Mathematica.
*
* License: BSD стиль: $(LICENSE)
* Copyright: Based on the CEPHES math library, which is
* Copyright (C) 1994 Stephen L. Moshier (moshier@world.std.com).
* Authors: Stephen L. Moshier ... | D |
module basics.user;
/* User settings read from the user config file. This file differs from the
* global config file, see globconf.d. Whenever the user file doesn't exist,
* the default values from static this() are used.
*/
import std.typecons; // rebindable
import std.algorithm; // sort filenames before outputti... | D |
/**
* Module for supporting cursor and color manipulation on the console.
*
* The main interface for this module is the Terminal struct, which
* encapsulates the functions of the terminal. Creating an instance of
* this struct will perform console initialization; when the struct
* goes out of scope, any changes i... | 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 |
module sdfs.tracker.leveldb;
import std.string;
import std.conv;
import std.traits;
import std.file;
import deimos.leveldb.leveldb;
import sdfs.tracker.configuration;
__gshared private leveldb_t db;
__gshared private leveldb_options_t opt;
__gshared private leveldb_writeoptions_t writeOpt;
__gshared private leveldb... | D |
version https://git-lfs.github.com/spec/v1
oid sha256:5a97661ef604414ace8123872c2467fda1b7980e8ecc88a2ac0d1aa97b843aa5
size 520
| D |
instance ORG_841_Silas(Npc_Default)
{
name[0] = "Silas";
npcType = npctype_main;
guild = GIL_ORG;
level = 15;
voice = 6;
id = 841;
attribute[ATR_STRENGTH] = 90;
attribute[ATR_DEXTERITY] = 70;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 250;
attribute[ATR_HITPOINTS] =... | D |
import std.file;
import std.stdio;
import std.range;
import std.path;
import std.algorithm;
import std.json;
import tokens;
import parser;
import dprinter;
import scanner;
import ast;
import namer;
import typenames;
void main(string[] args)
{
Module[] asts;
auto srcdir = args[1];
au... | D |
/Users/lincolnnguyen/Downloads/yelpy_starter_1/DerivedData/Yelpy/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Result+Alamofire.o : /Users/lincolnnguyen/Downloads/yelpy_starter_1/Pods/Alamofire/Source/MultipartFormData.swift /Users/lincolnnguyen/Downloads/yelpy_start... | D |
/Users/jakob/Development/vinther-moen/carthage-example/Carthage/Checkouts/SnapKit/Build/Intermediates/SnapKit.build/Release-iphonesimulator/SnapKit iOS.build/Objects-normal/x86_64/ConstraintRelation.o : /Users/jakob/Development/vinther-moen/carthage-example/Carthage/Checkouts/SnapKit/Source/Constraint.swift /Users/jako... | D |
instance Mod_4014_UntoterNovize_15_MT (Npc_Default)
{
//-------- primary data --------
name = "Untoter Novize";
Npctype = Npctype_UNTOTERNOVIZE;
guild = GIL_STRF;
level = 20;
voice = 0;
id = 4014;
//-------- abilities --------
B_SetAttributesToChapter (self, 4);
EquipItem (self, ItMw... | D |
/*
* Copyright (C) 2013 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 |
module ScriptClasses;
private import std.conv;
private import std.math;
private import std.encoding;
private import std.c.string;
private import std.c.stdlib;
private import IndentedStreamWriter;
private import Flags : Flags;
public alias ulong QWord; // Total size: 0x08
static assert(QWord.sizeof == 0x08);
public ... | D |
module UnrealScript.Engine.SceneCaptureCubeMapActor;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.MaterialInstanceConstant;
import UnrealScript.Engine.SceneCaptureActor;
extern(C++) interface SceneCaptureCubeMapActor : SceneCaptureActor
{
public extern(D):
private static __... | D |
// **************************************************
// EXIT
// **************************************************
instance Org_2500_Kasztan_Exit (C_INFO)
{
npc = Org_2500_Kasztan;
nr = 999;
condition = Org_2500_Kasztan_Exit_Condition;
information = Org_2500_Kasztan_Exit_Info;
permanent = 1;
descrip... | D |
/Users/netnorimingconception/utils/GeoFence/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Deprecated.o : /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/O... | 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 |
// ***************************************************
// B_KillNpc (NPC wird getötet und bleibt liegen)
// ***************************************************
func void B_KillNpc (var int npcInstance)
{
var C_NPC npc;
npc = Hlp_GetNpc(npcInstance);
if (Hlp_IsValidNpc (npc))
&& (!Npc_IsDead (npc))
{
npc... | D |
var int TrollAwake;
func void ZS_MM_Rtn_Rest()
{
Perception_Set_Monster_Rtn();
b_staminainvent();
AI_SetWalkMode(self,NPC_WALK);
B_MM_DeSynchronize();
if(Hlp_GetInstanceID(self) == Hlp_GetInstanceID(Crypt_Skeleton_Lord))
{
AI_Teleport(self,"EVT_CRYPT_ROOM_02_SPAWNMAIN");
}
else if(Hlp_StrCmp(Npc_GetNearestW... | D |
module mahjong.graphics.controllers.game.exhaustive;
import dsfml.graphics : RenderWindow, Event, Keyboard;
import mahjong.domain.metagame;
import mahjong.domain.scoring;
import mahjong.engine;
import mahjong.engine.flow;
import mahjong.graphics.controllers.controller;
import mahjong.graphics.controllers.game;
import... | D |
module about_arrays;
import dunit;
import helpers;
class AboutArrays
{
mixin UnitTest;
@Test
void fixed_length_arrays() {
string[4] fruits = ["banana", "mango", "apple", "orange"];
assertEquals(fruits[0], FILL_IN_THIS_STRING);
assertEquals(fruits.length, FILL_IN_THIS_NUMBER);
int[5] b = 1; // 5... | D |
/*
* Empire, the Wargame of the Century (tm)
* Copyright (C) 1978-2004 by Walter Bright
* All Rights Reserved
*
* You may use this source for personal use only. To use it commercially
* or to distribute source or binaries of Empire, please contact
* www.digitalmars.com.
*
* Written by Walter Bright.
... | D |
/**
* C's <locale.h>
* License: Public Domain
* Standards:
* ISO/IEC 9899:1999 7.11
* Macros:
* WIKI=Phobos/StdCLocale
*/
module std.c.locale;
public import core.stdc.locale;
| D |
auto m(R)(R r, size_t needle)
{
foreach (i, const el; r)
{
if (el == needle)
return r[i .. $];
}
return r;
}
| 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 |
#!/usr/bin/env dub
/+ dub.sdl:
name "make_graph_from_benchmark"
dependency "ggplotd" version="~>1.1.6"
+/
import logger = std.experimental.logger;
import std.algorithm;
import std.array;
import std.ascii;
import std.conv;
import std.csv;
import std.file;
import std.path;
import std.process;
import std.range;
im... | D |
/*
* hunt-time: A time library for D programming language.
*
* Copyright (C) 2015-2018 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.time.ZonedDateTime;
import hunt.time.temporal.ChronoField;
import hunt.stream.DataOutput;
import ... | D |
module arrow.c.functions;
import std.stdio;
import arrow.c.types;
version (Windows)
static immutable LIBRARY_ARROW = ["glib-13.dll"];
else version (OSX)
static immutable LIBRARY_ARROW = ["glib.13.dylib"];
else
static immutable LIBRARY_ARROW = ["libarrow-glib.so.13"];
__gshared extern(C)
{
// arrow.Array
GType ... | D |
INSTANCE Monster_11060_Leitwolf_TUG (Npc_Default)
{
// ------ NSC ------
name = "Leitwolf";
guild = GIL_WOLF;
id = 11060;
voice = 6;
flags = 0;
npctype = NPCTYPE_MAIN;
level = 9;
// ------ Attribute ------
attribute [ATR_STRENGTH] = 50;
attribute [ATR_DEXTERITY] = 30;
a... | D |
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ImageCache.o : /Users/hanykaram/Desktop/MVP/Pods/Kingfisher/Sources/String+MD5.swift /Users/hanykaram/Desktop/MVP/Pods/Kingfisher/Sources/Resource.swift /Users/hanykaram/Deskt... | D |
// Diese Datei wurde automatisch durch den Miranda Dialog Creator erstellt!
// Sie sollte nicht manuell editiert werden, da ─nderungen beim erneuten Aufruf
// des Creators Řberschrieben werden!
// **************************************************
instance KDW_14003_Goran_Exit (C_INFO)
{
npc = KDW_14003_Goran;
c... | D |
// FIXME: add +proj and -proj to adjust project results
module adrdox.locate;
import arsd.postgres;
// # dpldocs: if one request, go right to it. and split camel case and ry rearranging words. File.size returned nothing
import ps = PorterStemmer;
import arsd.cgi;
import arsd.dom;
import std.stdio;
import std.file;... | D |
module CodeWriterModule;
import CommandTypeEnum;
import std.conv;
import std.stdio;
import std.algorithm;
import std.array;
import std.file;
import std.string;
import std.path;
import std.uni;
import std.ascii;
class CodeWriter
{
File asmFile;
int labelCount=0;
string fileName;
public:
this(string path,st... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid comm... | D |
/* REQUIRED_ARGS:
* PERMUTE_ARGS:
* TEST_OUTPUT:
---
fail_compilation/fix19059.d(17): Error: octal digit expected, not `8`
fail_compilation/fix19059.d(17): Error: octal literals larger than 7 are no longer supported
fail_compilation/fix19059.d(18): Error: octal digit expected, not `9`
fail_compilation/fix19059.d(18):... | D |
module dwinbar.backend.icongen;
import imageformats;
IFImage scaleImage(IFImage source, int targetWidth, int targetHeight)
{
if (targetWidth == source.w && targetHeight == source.h || source.c != ColFmt.RGBA)
return source;
ubyte[] image = new ubyte[targetWidth * targetHeight * 4];
float scaleX = source.w / ca... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.