code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/**
* Text specific module.
*
* License:
* MIT. See LICENSE for full details.
*/
module tkd.widget.common.canvas.textspecific;
/**
* These are common commands that apply to all widgets that have them injected.
*/
mixin template TextSpecific()
{
import std.typecons : Nullable;
/**
* The angle of the tex... | D |
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop;
void main() {
auto N = readln.chomp.to!int;
auto edges = new int[][](N);
foreach (i; 0..N-1) {
auto s = readln.split.map... | D |
/**
Module used to store information about executed jobs.
Information is stored using function pointer and times of start and end of a job.
Data should be retrived by only one thread.
*/
module mutils.job_manager.debug_data;
import std.algorithm : map, joiner;
import std.experimental.allocator;
import std.experimen... | D |
a low seat or a stool to rest the feet of a seated person
| D |
/*
* This module declared types required by SWT but not in std.c.windows.windows
*/
module org.eclipse.swt.internal.win32.WINTYPES;
import java.nonstandard.SafeUtf;
version(Tango){
public import tango.sys.win32.Types;
} else { // Phobos
// public import std.c.windows.windows;
}
import java.lang.all;
// miss... | D |
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.build/FileHandle.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/christian/GitHu... | D |
// Copyright Brian Schott (Sir Alaran) 2012.
// 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 ctags;
import std.d.parser;
import std.d.lexer;
import std.d.ast;
import std.algorithm;
i... | D |
static import std.string;
void main()
{
import undead.regexp : RegExp, sub;
import std.stdio : writeln;
string foo(RegExp r) { return "ss"; }
auto r = sub("hello", "ll", delegate string(RegExp r) { return "ss"; });
assert(r == "hesso");
r = sub("hello", "l", delegate string(RegExp r) { retur... | D |
/Users/DboyLiao/Works/Projects/lipsync_tools/mobile/NumSwift/NumSwift/DerivedData/NumSwift/Build/Intermediates/NumSwift.build/Debug-iphoneos/NumSwift.build/Objects-normal/arm64/test_linspace.o : /Users/DboyLiao/Works/Projects/lipsync_tools/mobile/NumSwift/NumSwift/tests/performance_convolve.swift /Users/DboyLiao/Works/... | D |
/*******************************************************************************
* Copyright (c) 2000, 2008 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 |
/Users/KatiaHajjar/Documents/WhereAtV2/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/SDKSettings.o : /Users/KatiaHajjar/Documents/WhereAtV2/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/KatiaHajjar/Documents/WhereAtV2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.B... | D |
/++
This module was automatically generated from the following grammar:
PlantUML_ClassDiagram:
UML <- blank* "@startuml" eol Content* "@enduml" (blank* / eoi)
Content < / Class
/ Comment
/ Inherit
Class <- "class" space+ Clas... | D |
import std.stdio;
import bindbc.sdl;
import machine;
import display;
void main(string[] args)
{
import std.getopt : getopt, config;
string romFileName;
Machine machine;
SDL_Event e;
getopt(args, config.required, "r|rom", &romFileName);
auto romFile = File(romFileName, "rb");
auto len = m... | D |
# FIXED
timer.obj: C:/ti/TivaWare_C_Series-2.1.4.178/driverlib/timer.c
timer.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdbool.h
timer.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdint.h
timer.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/sys/stdint.h
timer.... | D |
module math.quaternion;
import core.properties;
import math.matrix, math.vector;
import std.signals, std.conv;
import std.math;
final class Quaternion
{
public:
this()
{
_w = 1.0f;
_x = 0.0f;
_y = 0.0f;
_z = 0.0f;
matrix = new Matrix!4();
}
this( const float x, const float y, const float z, const floa... | D |
/******************************************************************************
Module containing implementation of the request queue for AsyncIO.
copyright:
Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt fo... | D |
/Users/Polina/XcodeApp/diplom_prj/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/TakeUntil.o : /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift... | D |
module dwt.internal.mozilla.nsIDocShellLoadInfo;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsIURI;
import dwt.internal.mozilla.nsIInputStream;
import dwt.internal.mozilla.nsISHEntry;
alias PRInt32 nsDocShellInfoLoadType;... | D |
module logprocess.atextlogcollection;
import std.stdio;
import std.file;
//import std.regexp;
import std.date;
import std.stream;
import std.string;
import wx.wx;
import icere.regexp;
public import logprocess.regexps;
public struct AtlpCfg
{
char[] Path;
char[] Charname;
AtlpLanguage lang;
};
... | D |
/Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Fluent.build/Query/Query.swift.o : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Pack... | D |
func void b_assesswarn()
{
printdebugnpc(PD_ZS_FRAME,"B_AssessWarn");
printglobals(PD_ZS_CHECK);
printattitudes(PD_ZS_CHECK);
Npc_PercDisable(self,PERC_ASSESSWARN);
if(!c_npcishuman(other))
{
printdebugnpc(PD_ZS_CHECK,"B_AssessWarn Monster");
AI_Standup(self);
Npc_SetTarget(self,other);
Npc_GetTarget(sel... | D |
instance EBR_100_Gomez(Npc_Default)
{
name[0] = "Gomez";
npcType = npctype_main;
guild = GIL_EBR;
level = 100;
voice = 11;
id = 100;
flags = NPC_FLAG_IMMORTAL;
attribute[ATR_STRENGTH] = 95;
attribute[ATR_DEXTERITY] = 80;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 4... | 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
* distributed... | D |
module requests.streams;
private:
import std.algorithm;
import std.array;
import std.conv;
import std.experimental.logger;
import std.exception;
import std.format;
import std.range;
import std.range.primitives;
import std.string;
import std.stdio;
import std.traits;
import std.zlib;
import std.datetime;
import std.soc... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Content/ContentContainer.swift.o : /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Utilities/FileIO.swift /Users/nice/HelloWord/.build/checkouts/vapor.git-950337452186757751/Sources/Vapor/Content/FormDataCoder+HTTP... | D |
/Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/PieHighlighter.o : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/Jaskeerat/Desktop/Cryp... | D |
void main() { runSolver(); }
void problem() {
auto A = scan!int;
auto solve() {
return "%02X".format(A);
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std;
T[][] combinations(T)(T[] s, in long m) { if (!m) return [[]]; if (s.empty) return []; return s[1 ..... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail131.d(8): Error: function `D main` parameters must be `main()` or `main(string[] args)`
---
*/
int main(lazy char[][] args)
{
return args.length;
}
| D |
module lib.mesa;
alias uint GLenum, Гперечень;
alias ubyte GLboolean, Гбул;
alias uint GLbitfield, Гбитполе;
alias void GLvoid;
alias byte GLbyte;
alias short GLshort;
alias int GLint;
alias ubyte GLubyte;
alias ushort GLushort;
alias uint GLuint;
alias int ... | D |
import core.stdc.stdio;
import core.stdc.stdlib;
import cc.errors;
import cc.parse;
import cc.tokens;
import cc.visitor;
void gen(ASTNode[] nodes)
{
printf(".intel_syntax noprefix\n");
printf(".global main\n");
printf("main:\n");
// プロローグ
// 変数26個分の領域を確保する
printf(" push rbp\n");
printf("... | D |
module model.skill_type;
/**
* Тип умения. Изучение умений может быть доступно не во всех режимах игры (смотрите документацию к
* `game.skillsEnabled`).
* $(BR)
* Умения делятся на три категории: активные, пассивные и ауры.
* $(UL
* $(LI
* Активные умения наделяют волшебника способностью использовать определённ... | D |
// gibt einen String zurück, der in die Info_AddChoice-Befehle eingespeist werden kann
// Beispiel:
// - amount: 10
// - text: "Meatbug-Suppe"
// - price: 10
// - Rückgabestring: "10 Portionen Meatbugsuppe (100 Silber)"
func string B_BuildBuyMealString (var int amount, var string text, var int price)
{
var string msg;... | D |
import std.stdio;
int main() {
writefln("Hello!");
return 0;
}
| D |
a period of 10 years
the cardinal number that is the sum of nine and one
| D |
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/XAxis.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/... | D |
//#####################################################################
//##
//##
//## KAPITEL 4
//##
//##
//#####################################################################
var int DJG_Cipher_DragonKilledNotYet;
///////////////////////////////////////////////////////////////////////
// Info EXIT
///////... | D |
// Version des Patches
const string OwnTeleports_Version = "Teleport 1.0";
const int OwnTeleports_FirstRun = 0;
/*
* Menu initialization function called by Ninja every time a menu is opened
* Source: https://github.com/szapp/Ninja/wiki/Inject-Changes
*/
func void Ninja_OwnTeleports_Menu(var int menuPtr) {
MEM_I... | D |
/*******************************************************************************
Abstract base class for DLS client requests over a channel.
Copyright:
Copyright (c) 2011-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for det... | D |
module interpcontext;
import std.stdio;
import pyd.pyd, pyd.embedded;
shared static this() {
py_init();
}
void main() {
auto context = new InterpContext();
context.a = 2;
context.py_stmts("print ('1 + %s' % a)");
}
| D |
/Users/horkimlong/Desktop/Weather/Build/Intermediates.noindex/Weather.build/Debug-iphonesimulator/Weather.build/Objects-normal/x86_64/ProgressIndicator.o : /Users/horkimlong/Desktop/Weather/Weather/Models/Location/LocationData.swift /Users/horkimlong/Desktop/Weather/Weather/Models/Weather/WeatherData.swift /Users/horki... | D |
/home/alansky/Dev/Parity/substrate-node-template/target/release/build/parking_lot_core-2181c42b3c344b64/build_script_build-2181c42b3c344b64: /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.6.2/build.rs
/home/alansky/Dev/Parity/substrate-node-template/target/release/build/parking_lot_co... | 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 |
/Users/Rami/Desktop/TaskCompanyUSA/build/Pods.build/Debug-iphonesimulator/WCLShineButton.build/Objects-normal/x86_64/WCLShineParams.o : /Users/Rami/Desktop/TaskCompanyUSA/Pods/WCLShineButton/WCLShineButton/WCLShineBundle.swift /Users/Rami/Desktop/TaskCompanyUSA/Pods/WCLShineButton/WCLShineButton/WCLShineButton.swift /U... | D |
module genvcxfilters;
import std.array;
import std.file;
import std.path;
import std.stdio;
import std.string;
import std.uuid;
import std.uni;
import std.xml;
void main(string[] args)
{
if (args.length > 1 && args[1] == "-?")
throw new Exception("usage: " ~ args[0] ~ " <root> <path>...");
string root = args.leng... | D |
/**
* Converts expressions to Intermediate Representation (IR) for the backend.
*
* Copyright: Copyright (C) 1999-2020 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, Boost License 1.0... | D |
/Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/Build/Intermediates/IBDesignables/Intermediates/FareDeal.build/Debug-iphonesimulator/FareDeal.build/Objects-normal/x86_64/RestaurantDealsVC.o : /Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/FareDeal/RestaurantDealsVC.swift /Users/angelasmith/Desktop/Sour... | D |
// Written in the D programming language.
/**
Utilities for manipulating files and scanning directories. Functions
in this module handle files as a unit, e.g., read or write one _file
at a time. For opening files and manipulating them via handles refer
to module $(LINK2 std_stdio.html,$(D std.stdio)).
Macros:
WIKI = ... | 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 |
// See ../README.md for information about DMD unit tests.
module deinitialization;
@("global.deinitialize")
unittest
{
import dmd.globals : global;
static void assertStructsEqual(T)(const ref T a, const ref T b)
if (is(T == struct))
{
foreach (i, _; typeof(a.tupleof))
{
en... | D |
module org.eclipse.swt.internal.mozilla.nsIDOMEventTarget;
import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;
import org.eclipse.swt.internal.mozilla.nsIDOMEvent;
import org.eclipse.swt.internal.mozilla.nsIDOMEventListener;... | 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/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.build/FileProtocol.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/core.git-9210800844849382486/Sources/Core/RFC1123.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/core.git-9210800844849382486/Sources/Core/St... | D |
/*
* Copyright 2015-2018 HuntLabs.cn
*
* 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 la... | D |
/Users/mobility/Desktop/UIImplementationTask/build/UIImplementationTask.build/Release-iphonesimulator/UIImplementationTask.build/Objects-normal/x86_64/ModelView3.o : /Users/mobility/Desktop/UIImplementationTask/UIImplementationTask/Views/ModelView1.swift /Users/mobility/Desktop/UIImplementationTask/UIImplementationTask... | D |
/Users/MohamedNawar/Desktop/marvelt/build/Marvel.build/Debug-iphonesimulator/Marvel.build/Objects-normal/x86_64/Mapper.o : /Users/MohamedNawar/Desktop/marvelt/Marvel/API/API.swift /Users/MohamedNawar/Desktop/marvelt/Marvel/Model/Comic.swift /Users/MohamedNawar/Desktop/marvelt/Marvel/Model/Resource.swift /Users/MohamedN... | D |
module android.java.android.system.StructStat_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.system.StructTimespec_d_interface;
import import1 = android.java.java.lang.... | D |
module renderer.scene;
import renderer.objects.sceneobject;
import gfm.math;
class Scene
{
SceneObject[] objects;
vec3f skyColor = vec3f(0, 0, 0);
float skyEmission = 0f;
this()
{
}
}
| D |
module cruft;
import std.stdio;
import derelict.util.exception;
import gl;
private ShouldThrow handleDerelictsProblems(string symbolName) {
writeln("Failed to load ", symbolName, ", ignoring this.");
return ShouldThrow.No;
}
private SDL_Window* win = null;
private SDL_GLContext glctx = null;
private GLuint vao = 0... | D |
/**
* Generate $(LINK2 https://dlang.org/dmd-windows.html#interface-files, D interface files).
*
* Also used to convert AST nodes to D code in general, e.g. for error messages or `printf` debugging.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 h... | D |
a cartridge (usually with paper casing)
| D |
instance DIA_Addon_BDT_10028_Buddler_EXIT(C_Info)
{
npc = BDT_10028_Addon_Buddler;
nr = 999;
condition = DIA_Addon_10028_Buddler_EXIT_Condition;
information = DIA_Addon_10028_Buddler_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_10028_Buddler_EXIT_Condition()
{
return TRUE;
};
... | D |
module hurt.exception.valuerangeexception;
import hurt.conv.conv;
public class ValueRangeException : Exception {
public this(string str, string file = __FILE__, int line = __LINE__) {
super(file ~ ":" ~ conv!(int,string)(line) ~ " Value Range Exception: "
~ str);
}
}
| D |
///Copyright: Copyright (c) 2017-2019 Andrey Penechko.
///License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
///Authors: Andrey Penechko.
/// IR Validation routines
module vox.ir.ir_validation;
import vox.all;
import vox.ir.ir_index;
///
void validateIrFunction(CompilationContext* c, IrFunction* ir, strin... | D |
# FIXED
Drivers/UART/UART.obj: C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx_cc26xx_2_20_01_10/packages/ti/drivers/UART.c
Drivers/UART/UART.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h
Drivers/UART/UART.obj: C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/tidrivers_cc13xx... | D |
module gfx.window.xcb;
version(linux):
import gfx.core.log : LogTag;
import gfx.graal : Instance;
import gfx.window;
import gfx.window.xkeyboard;
import xcb.xcb;
import xcb.xkb;
enum gfxXcbLogMask = 0x0800_0000;
package immutable gfxXcbLog = LogTag("GFX-XCB");
/// List of X atoms that are fetched automatically
enum... | D |
/Users/junanqu/Desktop/SPEED_Interven/DerivedData/SPEED_Interven/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MapboxDirections.swift.build/Objects-normal/x86_64/MBVisualInstructionComponent.o : /Users/junanqu/Desktop/SPEED_Interven/Pods/MapboxDirections.swift/MapboxDirections/MBLane.swift /Users/junanqu... | D |
INSTANCE Info_Mod_Paladin_PAT_Heiltrank (C_INFO)
{
npc = Mod_1856_PAL_Paladin_PAT;
nr = 1;
condition = Info_Mod_Paladin_PAT_Heiltrank_Condition;
information = Info_Mod_Paladin_PAT_Heiltrank_Info;
permanent = 1;
important = 0;
description = "(Heiltrank geben)";
};
FUNC INT Info_Mod_Paladin_PAT_Heiltrank_Condit... | D |
// ******************
// SPL_PalDestroyEvil
// ******************
const int SPL_Cost_PalDestroyEvil = 50;
var int SPL_Damage_PalDestroyEvil; //SPL_Damage_PalDestroyEvil = 600;
INSTANCE Spell_PalDestroyEvil (C_Spell_Proto)
{
time_per_mana = 0;
damage_per_level = SPL_DAMAGE_PalDestroyEvil;
spelltype = ... | 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/chiaweizhengterry/Desktop/TicTacToe/DerivedData/Build/Intermediates/TicTacToe.build/Debug-iphoneos/TicTacToe.build/Objects-normal/arm64/StateDefination.o : /Users/chiaweizhengterry/Desktop/TicTacToe/TicTacToe/Common/Debug.swift /Users/chiaweizhengterry/Desktop/TicTacToe/TicTacToe/Manager/TicTacToeManager.swift /... | D |
BEGIN ~LK#NIPRU~
BEGIN ~LK#NIWIN~
BEGIN ~LK#NIARC~
BEGIN ~LK#NIAON~
BEGIN ~LK#NIDIL~
BEGIN ~LK#NIJAM~
BEGIN ~LK#NIMES~
CHAIN IF ~NumTimesTalkedTo(0)~ THEN LK#NIMES LK#Ninde_Messenger
@0 /* <CHARNAME>, correct? You and your companions have been summoned by Lord Archonson, concerning a matter of great import. */
==... | D |
module deimos.cef1.permission_handler;
// Copyright (c) 2012 Marshall A. Greenblatt. 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 ... | D |
const int SPL_Cost_Sleep = 30;
const int SPL_TIME_Sleep = 30;
instance Spell_Sleep(C_Spell_Proto)
{
time_per_mana = 0;
spellType = SPELL_NEUTRAL;
targetCollectAlgo = TARGET_COLLECT_FOCUS;
targetCollectRange = 1000;
};
func int C_NpcCanSleep(var C_Npc npc)
{
if(npc.guild >= GIL_SEPERATOR_HUM)
{
return F... | D |
module ScriptHooks;
private import ScriptClasses;
private import IndentedStreamWriter;
private import std.c.stdlib;
private import std.c.string;
alias HookType function(void* obj, void* result, ubyte* args) HookFunction;
alias extern(Windows) void function(ScriptStackFrame* stack, void* result, ScriptFunction func) C... | 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 |
/Users/olegp/Desktop/XCoordinatorPlayground/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Maybe.o : /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observables/Singl... | D |
/home/hskang9/terra-contracts/ico/target/debug/build/crossbeam-utils-84f90b17ab827638/build_script_build-84f90b17ab827638: /home/hskang9/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.7.2/build.rs
/home/hskang9/terra-contracts/ico/target/debug/build/crossbeam-utils-84f90b17ab827638/build_script_buil... | D |
//
// Would be nice: way to take output of the canvas to an image file (raster and/or svg)
//
//
// Copyright (c) 2013 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use ... | D |
instance ORG_897_MORT(NPC_DEFAULT)
{
name[0] = "Морт";
npctype = NPCTYPE_FRIEND;
guild = GIL_KDF;
level = 999;
voice = 5;
id = 897;
flags = NPC_FLAG_IMMORTAL;
attribute[ATR_STRENGTH] = 60;
attribute[ATR_DEXTERITY] = 30;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPO... | D |
brought low in spirit
| D |
module android.java.java.util.Calendar_Builder;
public import android.java.java.util.Calendar_Builder_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Calendar_Builder;
import import4 = android.java.java.util.Calendar;
import import0 = android.java.java.util.Calendar_Builder;
import import5 = a... | D |
/Users/MohamedNawar/Desktop/appointment/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/FormatIndicatedCacheSerializer.o : /Users/MohamedNawar/Desktop/appointment/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/appointment/Pods/Kingfisher/Sources/General/Deprec... | D |
/*
* Copyright (c) 2006-2007 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpos... | D |
/**
* xUnit Testing Framework for the D Programming Language - assertions
*/
// Copyright Juan Manuel Cabo 2012.
// Copyright Mario Kröplin 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LI... | D |
/***********************************************/
/*
TEST_OUTPUT:
---
fail_compilation/test12979.d(304): Error: `const`/`immutable`/`shared`/`inout` attributes are not allowed on `asm` blocks
---
*/
// https://issues.dlang.org/show_bug.cgi?id=12979
#line 300
void test3()
{
asm const shared
{
ret;
... | D |
module network.randNormal;
import std.traits;
import std.math : E, log;
// Generates normally distributed random values.
T randNormal(T)(float mu_ = 0.0, float sigma_ = 1.0, float min = 0.0, float max = 1) if(isFloatingPoint!T)
{
import std.stdio;
assert(min <= mu_);
assert(max >= mu_);
// When x and y are two va... | D |
a dead axle on a carriage or wagon that has terminal spindles on which the wheels revolve
| D |
/// Generate by tools
module org.apache.http.protocol.HttpContext;
import java.lang.exceptions;
public class HttpContext
{
public this()
{
implMissing();
}
}
| D |
module android.java.android.provider.ContactsContract_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
final class ContactsContract : IJavaObject {
... | D |
/**
* Provides facilities for working with a log conversion pattern which
* is a printf-like string that specifies how values of various sources
* and types are assembled and formatted into a string or byte array.
*
* Copyright: Copyright Doug Nickerson 2015
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boo... | D |
module app.GraferAboutDialog;
private import
gtk.AboutDialog,
gtk.Image;
class GraferAboutDialog: AboutDialog {
private:
char[][] authors,
documenters,
artists;
public:
this () {
super ();
authors ~= "Frederic Morcos <fred.morcos@gmail.com>";
documenters ~= "Frederic Morcos <fred.morcos@... | D |
/**
Defines a Camera Node which can be included in a Scene
Authors: Poggel / Fr3nchK1ss
Copyright: Contact Fr3nchK1ss
*/
module dterrent.scene.cameranode;
import dterrent.system.logger;
import dterrent.scene.scene;
import dterrent.scene.node;
import dterrent.core.color;
import dterrent.core.math;
... | 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/CHINTU/Desktop/ShuffleIt/build/ShuffleIt.build/Release-iphonesimulator/ShuffleIt.build/Objects-normal/i386/ViewController.o : /Users/CHINTU/Desktop/ShuffleIt/War/ViewController.swift /Users/CHINTU/Desktop/ShuffleIt/War/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha... | D |
instance org_5060_bandit(Npc_Default)
{
name[0] = "Bandzior";
npcType = npctype_main;
guild = GIL_ORG;
level = 11;
voice = 13;
id = 5060;
attribute[ATR_STRENGTH] = 60;
attribute[ATR_DEXTERITY] = 50;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 202;
attribute[ATR_HITP... | D |
/*
TEST_OUTPUT:
---
fail_compilation/ice19295.d(11): Error: `this` for `gun` needs to be type `S2` not type `S1!(gun)`
fail_compilation/ice19295.d(11): while evaluating `pragma(msg, &gun)`
fail_compilation/ice19295.d(17): Error: template instance `ice19295.S1!(gun)` error instantiating
---
*/
struct S1(T...) {
... | D |
module common.gl.mygl;
public import derelict.opengl;
mixin glFreeFuncs!(GLVersion.gl33);
| D |
/Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SubscriptionDisposable.o : /Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/bernardo.tolosa/Documents/work... | D |
/**
* PBKDF1
*
* Copyright:
* (C) 1999-2007 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.pbkdf.pbkdf1;
import botan.constants;
static if (BOTAN_HAS_PBKDF1):
import botan.pbkdf.pbkdf;
import botan.hash.hash;
import std.date... | D |
/*******************************************************************************
* Copyright (c) 2000, 2008 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... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.