code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/build/Pods.build/Debug-iphonesimulator/Macaw.build/Objects-normal/x86_64/Common_macOS.o : /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/export/MacawView+PDF.swift /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/MCAMediaTim... | D |
local remove(ch,fe,attr)
{
if( !chGetAttrText(ch,fe,attr,s) )
return;
d=StrReplace(s,"¸","å");
d=StrReplace(d,"¨","Å");
d=StrReplace(d,"¹","N");
if( d != s )
{
// puts(s+" -> "+d);
chSetAttrText(ch,fe,attr,d);
return 1;
}
return 0;
}
global main()
{
if( !(ch=GetEditDataset()) )
re... | D |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License only.
*
* This... | D |
module armos.graphics.material;
import armos.types;
import armos.math;
import armos.graphics;
/++
材質を表すinterfaceです.
+/
interface Material{
public{
///
Material begin();
///
Material end();
///
Material attr(string name, in Color c);
///
... | D |
IMPORT STD.STDIO, STD.DATETIME, STD.STRING, STD.CONV,
STD.ALGORITHM, STD.ARRAY;
VOID PRINT_CALENDAR(IN UINT YEAR, IN UINT COLS)
IN {
ASSERT(COLS > 0 && COLS <= 12);
} BODY {
STATIC ENUM CAMEL_CASE = (STRING[] PARTS) PURE =>
PARTS[0] ~ PARTS[1 .. $].MAP!CAPITALIZE.JOIN;
IMMUTABLE ROWS = 12 /... | D |
/*******************************************************************************
copyright: Copyright (c) 2005 Kris. All rights reserved
license: BSD style: $(LICENSE)
version: Initial release: 2005
author: Kris, Keinfarbton
This module provides a ... | D |
/**
TLS stream implementation
TLSStream can be used to implement TLS communication on top of a TCP connection. The
TLSContextKind of an TLSStream determines if the TLS tunnel is established actively (client) or
passively (server).
Copyright: © 2012-2014 Sönke Ludwig
License: Subject to the terms of the MIT lice... | D |
module tests.multidrawelementsindirect;
import tests.iface;
import std.math;
class MultiDrawElementsIndirectTest : GLDrawObject, Test
{
bool answer = false;
bool result = false;
CommonGLShaderProgram shader;
GLArrayBuffer points;
GLElementArrayBuffer eab;
GLDrawIndirectBuffer dib;
size... | D |
/Users/piaojin/Desktop/PiaojinSwiftServer/.build/debug/TurnstileCrypto.build/URandom.swift.o : /Users/piaojin/Desktop/PiaojinSwiftServer/.build/checkouts/Perfect-Session.git--9144778184837659966/Sources/TurnstileCrypto/BCrypt.swift /Users/piaojin/Desktop/PiaojinSwiftServer/.build/checkouts/Perfect-Session.git--91447781... | D |
instance Mod_7411_BAU_Deppenhans_REL (Npc_Default)
{
// ------ NSC ------
name = "Deppenhans";
guild = GIL_out;
id = 7411;
voice = 1;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1); //... | D |
int [] heap;
int len;
int i;
void heapsort(){
while(i > 0) {
pop_max();
}
}
void add_heap(int x) {
heap[i] = x;
relax_up(i);
}
void pop_max() {
i = i - 1;
swap(0, i);
relax(0);
}
void swap(int k, int l) {
int temp;
temp = heap[k];
heap[k] = heap[l];
heap[l] = temp;
}
void r... | D |
module hunt.wechat.bean.scan.infolist.VerifiedList;
import hunt.collection.List;
class VerifiedList {
private string verified_firm_code;
private List!(VerifiedCateList) verified_cate_list;
public string getVerified_firm_code() {
return verified_firm_code;
}
public void setVerified_firm... | D |
// Copyright (c) 1999-2003 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// www.digitalmars.com
module std.gc;
import gcstats;
void addRoot(void *p); // add p to list of roots
void removeRoot(void *p); // remove p from list of roots
void addRange(void *pbot, void *ptop); // add r... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Log/DatabaseLogHandler.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/... | D |
/Users/pavlosnicolaou/Documents/workshop/Kitura/KituraWebInterface/KituraWebInterface_Starter/.build/x86_64-apple-macosx10.10/debug/Kitura.build/RouterHandler.swift.o : /Users/pavlosnicolaou/Documents/workshop/Kitura/KituraWebInterface/KituraWebInterface_Starter/.build/checkouts/Kitura.git-2993072347418016799/Sources/K... | D |
module raider.collision.shape;
import raider.math;
import raider.collision.space;
import raider.tools.reference;
import std.math : PI, abs;
immutable double featureRadius = 0.01;
/**
* Collision geometry.
*
* Supported types:
* - Sphere
* - Box
* - Convex hull
*
* TODO:
* - Cylinder
* - Triangle soup
... | D |
a state in south central United States
a river that rises in the Rocky Mountains in Colorado and flows southeast through Kansas and Oklahoma and through Arkansas to become a tributary of the Mississippi River
| D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Vapor.build/JSON/HTTP/Message+JSON.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/Sources/Vapor/JSON/HTTP/Message+JSON.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411... | D |
/Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/YoutubeKit.build/Objects-normal/x86_64/CaptionList.o : /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/API/Models/ResourceID.swift /Users/radibarq/developer/NasaInArabic/Pods/YoutubeKit/YoutubeKit/YoutubeDataAPI.swift /Users... | D |
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationCubeTransition.o : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityIndicatorAnimationBallP... | D |
in a disrespectful and mocking manner
| D |
module ml_engine.core.script.audio_binding;
import ml_engine.core.manager.audiomanager;
import derelict.lua.lua;
import std.conv;
import std.stdio;
extern(C) nothrow int loadSound(lua_State *L){
try{
string path = to!string(lua_tostring(L,1));
string name = to!string(lua_tostring(L,2));
Au... | D |
/*
* Copyright (c) 2017-2018 sel-project
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... | 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 src/core/sys/windows/_oaidl.d)
*/
module core.sys.windows.oaidl;
version (Windows):
@system:
import core.sys.windows.basetyps, core.sys.... | D |
/***********************************************************************\
* lmwksta.d *
* *
* Windows API header module *
* ... | D |
/**
* Provide the root object that classes in dmd inherit from.
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: Walter Bright, https://www.digitalmars.com
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https... | D |
// ****************************************************************************************
// ZS_ObservePlayer
// ----------------
// Aufgerufen durch B_AssessObserveSuspect, wenn ich den Spieler schleichen sehe
// und durch B_AssessQuietSound, wenn ich den Spieler direkt hinter mir höre
// und wenn ein NSC in ZS_Slee... | D |
instance MENU_LEAVE_GAME(C_MENU_DEF)
{
backPic = MENU_BACK_PIC;
items[0] = "MENUITEM_LEAVE_GAME_HEADLINE";
items[1] = "MENUITEM_LEAVE_GAME_YES";
items[2] = "MENUITEM_LEAVE_GAME_NO";
defaultOutGame = 2;
defaultInGame = 2;
flags = flags | MENU_SHOW_INFO | MENU_DONTSCALE_DIM | MENU_OVERTOP | MENU_NOANI;
};
instan... | D |
func void B_ResetSergio()
{
if((EnterOW_Kapitel2 == TRUE) && (Sergio_Follow == TRUE) && (Sergio_Follow_End == FALSE))
{
if(!Npc_IsDead(Sergio))
{
if(Sergio.aivar[AIV_PARTYMEMBER] == TRUE)
{
if((MIS_Babo_Training == LOG_SUCCESS) && !Npc_IsDead(Babo))
{
Npc_ExchangeRoutine(Sergio,"TRA... | D |
module resources.algorithms.lzma.range_encoder;
import resources.all;
final class LZMARangeEncoder {
private:
ulong low;
uint range;
uint cacheSize;
uint cache;
ulong position;
public:
this() {
}
}
| D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Stewart Gordon
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_mapi.d)
*/
module core.sys.windows.mapi;
version (Windows):
import core.sys.windows.windef;... | D |
/*****************************************************************************
*
* Higgs JavaScript Virtual Machine
*
* This file is part of the Higgs project. The project is distributed at:
* https://github.com/maximecb/Higgs
*
* Copyright (c) 2011-2013, Maxime Chevalier-Boisvert. All rights re... | D |
/**
* Droits d’auteur: Enalye
* Licence: Zlib
* Auteur: Enalye
*/
import std.stdio : writeln, write;
import std.datetime;
import std.conv : to;
import grimoire;
import process;
void main() {
version (Windows) {
import core.sys.windows.windows : SetConsoleOutputCP;
SetConsol... | D |
/Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/CacheSerializer.o : /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/Kingfisher/Sources/General/Deprecated.s... | D |
module AbstractDExchangeSession;
import Types;
import DExchange: AbstractDExchange;
/** Class representing the access permission and containing the operations clients may do on the exchange */
abstract class AbstractDExchangeSession {
AbstractDExchange exchange;
uint securityId;
string par... | D |
/**
* This module implements the runtime-part of LDC exceptions
* on Windows, based on the MSVC++ runtime.
*/
module ldc.eh.msvc;
version(CRuntime_Microsoft):
import ldc.eh.common;
import core.sys.windows.windows;
import core.exception : onOutOfMemoryError, OutOfMemoryError;
import core.stdc.stdlib : ma... | D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/URI.build/Model/URI.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Engine-1.3.11/Sources/URI/PercentDecoding.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Engine-1.3.11/Sources/URI/Model/URI+Byte.sw... | D |
module dinu.content.talkProcess;
import
core.sys.posix.sys.stat,
std.file,
std.string,
std.conv,
dinu.content.content,
dinu.command;
class TalkProcessLoader: ChoiceLoader {
override void run(){
foreach(d; "/proc".dirContent){
if((getAttributes(d) & S_IRUSR) && d.isDir && (d ~ "/comm").exists && d.chomp... | D |
//
//------------------------------------------------------------------------------
// Copyright 2014-2018 Coverify Systems Technology
// Copyright 2011-2018 Cadence Design Systems, Inc.
// Copyright 2010-2012 AMD
// Copyright 2013 NVIDIA Corporation
// All Rights Reserved Worldwide
//
// Licensed under the Apache ... | D |
string execLenses(){
string r;
void write(T...)(T x){
static if(x.length){
r~=to!string(x[0]);
write(x[1..$]);
}
}
struct Lens(A,T){
auto compose(T,S)(Lens!(T,S) rhs){
Lens!(A,S) l;
l.mod = (a,s)=>mod(a,x=>rhs.mod(x,s));
l.get = a=>rhs.get(get(a));
return l;
}
A delegate(A,T delegate(T... | D |
/Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/InlineRowType.o : /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Eureka/Source/Validations/RuleURL.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Eureka/Source/Validations/Rul... | D |
import Token, ASTItems;
import std.conv, std.stdio;
class Parser
{
public
{
int p;
Token[] src;
}
this(Token[] src)
{
this.p = 0;
this.src = src;
}
/// parseOne のラッパ
ASTNode parse() {
return parseOne();
}
/// これ以上無理というところまでパースする
... | D |
/Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Multicast.o : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/RxSwift/RxSwift/Observab... | D |
module mahjong.engine.flow.roundstart;
import std.algorithm;
import std.experimental.logger;
import mahjong.domain;
import mahjong.engine;
import mahjong.engine.flow;
import mahjong.engine.notifications;
final class RoundStartFlow :WaitForEveryPlayer!RoundStartEvent
{
this(Metagame metagame, INotificationService no... | D |
module dcv.features.corner.fast.fast_10;
/*
Authors: Edward Rosten
Copyright: Copyright (c) 2006, 2008 Edward Rosten, All rights reserved.
Additional notice:
Module integrates FAST implementation present in the Edward Rosten's
github repository: https://github.com/edrosten/fast-C-src
*/
import core.stdc.stdlib : mal... | D |
module cd;
public
{
import cd.canvas;
import cd.utility;
}
| D |
module ut;
public import unit_threaded;
public import json_nogc;
| D |
/Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/build/FitHelper.build/Debug-iphonesimulator/FitHelper.build/Objects-normal/x86_64/GraphPage.o : /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/ExerciseCDPR.swift /Users/artemon/Desktop/projects/Swift/HARMAN/FitHelper/TrainingCDPR.swift /Users/artemon/Deskto... | D |
a large gathering of people
press tightly together or cram
| D |
module UnrealScript.Engine.MaterialExpressionTextureSample;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.MaterialExpression;
import UnrealScript.Engine.Texture;
extern(C++) interface MaterialExpressionTextureSample : MaterialExpression
{
public extern(D):
private static __g... | D |
/***********************************************************************\
* winnt.d *
* *
* Windows API header module *
* ... | D |
/*******************************************************************************
@file NetworkCache.d
Copyright (c) 2004 Kris Bell
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for damages... | D |
import std.stdio;
import std.regex;
import std.conv;
import std.format;
import std.string;
import std.algorithm;
void main()
{
auto rxLine = ctRegex!(`^(\w+) would ((?:gain)|(?:lose)) (\d+) happiness units by sitting next to (\w+).$`);
int[string][string] relationships;
foreach (char[] l; stdin.byLine())
... | D |
module tofuEngine.engine;
import std.experimental.allocator;
import std.experimental.allocator.mallocator;
import graphics.color;
import graphics.gui;
import graphics.hw;
import math.matrix;
import tofuEngine.level;
import tofuEngine.timing;
import tofuEngine.render;
import tofuEngine.component;
import tofuEngine.reso... | D |
import org.eclipse.swt.all;
void main ()
{
auto display = new Display;
auto shell = new Shell(display);
shell.setLayout(new GridLayout(4, false));
auto label = new Label(shell, 0);
label.setText("Hello, DWT!");
auto button0 = new Button(shell, SWT.ARROW);
button0.setText("ARROW Me");
auto ... | D |
unittest
{
import std.stdio : write, writeln;
import std.random : choice;
import reference;
enum N = 500;
"Normal test...".write();
foreach (n; 8 .. N)
{
auto lgreference = LifeGameReference(n, n);
foreach (x; 0 .. n)
foreach (y; 0 .. n)
{
... | D |
//---------------------------------------------------------------------
// Info EXIT
//---------------------------------------------------------------------
INSTANCE DIA_Addon_Tonak_EXIT (C_INFO)
{
npc = STRF_1120_Addon_Tonak;
nr = 999;
condition = DIA_Addon_Tonak_EXIT_Condition;
information =... | D |
// ****************
// Alle AuraHeilung Spells
// ****************
const int SPL_Cost_AuraHeilung = 10;
// ------ Instanz für alle normalen AuraHeilung-Sprüche ------
instance Spell_AuraHeilung (C_Spell_Proto)
{
time_per_mana = 0;
spelltype = SPELL_NEUTRAL;
targetCollectAlgo = TARGET_COLLECT_CASTER;
canTu... | D |
module core.internal.converter.put_io;
import vibe.vibe : Json;
import std.conv : to;
import core.dto.common : Position, Player;
import core.dto.hand_put : handPut, HandPutReq, HandPutResp;
HandPutReq toHandPutReq(Player nowWho, Json json) {
return HandPutReq(
nowWho,
Position(
json["to"]["x"].to... | D |
/**
This module contains the core functionality of the vibe.d framework.
Copyright: © 2012-2020 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.core.core;
public import vibe.core.task;
import eventcore.core;
import v... | D |
module AOQ.Backend.Predef_Objects;
// import AOQ.Obj;
// class Msg_Add : Obj {
// this() {
// class_name = "objs";
// // class_index =
// }
// }
| 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_23_agm-4942158... | D |
import machine;
import std.concurrency;
import std.bigint;
import std;
import nice.curses;
import core.thread : Thread;
struct Coord {
BigInt x, y;
Coord look(const Dir dir) const {
Coord pos = this;
pos.move(dir);
return pos;
}
void move(const Dir dir) {
final switch ... | D |
//////////////////////////////////////////////////////////////////////////
// ZS_AssessEnemy
// ==============
// Wird angesprungen durch:
//
// - B_AssessEnemy
// - ZS_AssessWarn (wenn hostile zu dem, vor dem gewarnt wurde)
// - ZS_CatchThief (jetzt hostile zum Dieb)
// - ZS_ReactToDamage (Angreifer ist ein Mensc... | D |
/**
Copyright (c) 2018 Clipsey (clipseypone@gmail.com)
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, and to ... | D |
// **************************************************
// EXIT
// **************************************************
INSTANCE DIA_STT_315_Sly_Exit (C_INFO)
{
npc = STT_315_Sly;
nr = 999;
condition = DIA_STT_315_Sly_Exit_Condition;
information = DIA_STT_315_Sly_Exit_Info;
permanent = 1;
description = ... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/SMTP.build/Client/SMTPClient+Convenience.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/SMTP/Utility/NSUUID+SMTPMessageID.swift /Users/AleixDiaz/Desktop/VaporProje... | D |
/*******************************************************************************
* Copyright (c) 2000, 2005 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 |
a wheeled vehicle consisting of a self-propelled engine that is used to draw trains along railway tracks
of or relating to locomotion
| D |
/Users/abuzeid/workspace/DevPods/.build/x86_64-apple-macosx/debug/DevExtensions.build/UIColor+DarkMode.swift.o : /Users/abuzeid/workspace/DevPods/DevExtensions/UIViewController+Nib.swift /Users/abuzeid/workspace/DevPods/DevExtensions/UIColor+DarkMode.swift /Users/abuzeid/workspace/DevPods/DevExtensions/Disposable.swift... | D |
/+
Copyright (c) 2006 Eric Anderton
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, ... | D |
//Author yozhikv10
import std.stdio;
void main()
{
size_t tests_count, n;
uint a, b;
ulong[] sums;
readf("%d\n", &tests_count);
sums.length = tests_count;
foreach (size_t i; 0 .. tests_count) {
readf("%d %d %d\n", &a, &b, &n);
sums[i] = n * (a * 2 + b * (n - 1)) / 2;
}
foreach (ulong sum;... | D |
/*
DSFML - The Simple and Fast Multimedia Library for D
Copyright (c) 2013 - 2015 Jeremy DeHaan (dehaan.jeremiah@gmail.com)
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 gran... | D |
import std.stdio : write, writeln;
import std.net.curl : get, HTTP;
import arsd.dom : Document;
import std.uri : encode;
import translation;
void main(string[] args) {
string word;
if (args.length < 2) {
writeln("Run this with at least one argument! Pass -a as the second argument for the abridged vers... | D |
/// C interface to blas routines
///
/// Version with minor modification of the blip.bindings wrappers from
/// http://www.dsource.org/projects/multiarray/browser/trunk/Gobo
///
/// Copyright (C) 2006-2008 William V. Baxter III, OLM Digital, Inc.
///
/// This software is provided 'as-is', without any express or impli... | 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 |
flesh of a pigeon suitable for roasting or braising
a soft padded sofa
an unfledged pigeon
short and fat
| D |
module mach.math.box;
private:
import mach.meta : min = varmin, max = varmax;
import mach.traits : isNumeric, isTemplateOf;
import mach.math.vector : Vector, Vector2;
public:
enum isBox(T) = isTemplateOf!(T, Box);
struct Box(T) if(isNumeric!T){
T minx, miny, maxx, maxy;
alias x = minx;
al... | D |
instance BDT_1079_Addon_Carlos(Npc_Default)
{
name[0] = "Карлос";
guild = GIL_BDT;
id = 1079;
voice = 12;
flags = 0;
npcType = NPCTYPE_BL_MAIN;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Sld_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_F... | D |
module crypto.hmac;
struct HMAC(H) {
private:
H inner, outer;
alias R = typeof(H.init.finish());
enum B = H.BlockSize;
public:
this(ubyte[] key) {
// If the key is too long, we need to hash it.
R hkey;
if (key.length > B) {
H keyhasher;
keyhasher.start();
keyhasher.put(key);
hkey = keyhash... | D |
/*
This module is for parsing mew modules.
Authors:
Jacob Jensen / Bauss
License:
Apache License 2.0
https://github.com/Mew-Programming-Language/Mew-Programming-Language/blob/master/LICENSE
*/
module parser.moduleparser;
// Std Imports
import std.string : format;
import std.array : replace, split;
import st... | D |
#!/usr/bin/env rdmd
import std.stdio;
import std.container;
import std.algorithm;
import std.range;
import std.string;
import std.conv;
import std.math;
const double earthRadius = 6367450.0; // geometric mean value gives about .1% error
const double convert2Rad = PI / 180.0;
class Activity
{
public:
string id;
... | D |
perceive with attention
give a certain impression or have a certain outward aspect
have a certain outward or facial expression
search or seek
be oriented in a certain direction, often with respect to another reference point
take charge of or deal with
convey by one's expression
look forward to the probable occurrence o... | D |
instance DJG_738_ToterDrachenjaeger(Npc_Default)
{
name[0] = NAME_ToterDrachenjaeger;
guild = GIL_DJG;
id = 738;
voice = 6;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,5);
aivar[AIV_MM_RestStart] = TRUE;
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Sld_Sword_New);
B_Create... | D |
/home/eribertt/projects/rusty-journal/target/rls/debug/deps/lazy_static-add60b10b58fc28f.rmeta: /home/eribertt/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs /home/eribertt/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/inline_lazy.rs
/home/eribertt/projects/rusty-j... | D |
/++
Utilities for resource management
+/
module dge.resource;
import std.file;
public import std.path;
import std.stdio;
class ResourceError: Error {
this(const char[] filename) {
super(`Unable to load file "` ~ filename.idup ~ `".`);
}
}
//TODO: don't use default value; it needs to be recalculated each time.
st... | D |
import std.stdio, std.string, std.algorithm, std.typecons;
void main() {
auto data = "here are Some sample strings to be sorted".split();
data.schwartzSort!(s => tuple(-s.length, s.toUpper()))();
writeln(data);
}
| D |
module arrow.Time32ArrayBuilder;
private import arrow.ArrayBuilder;
private import arrow.Time32DataType;
private import arrow.c.functions;
public import arrow.c.types;
private import glib.ConstructionException;
private import glib.ErrorG;
private import glib.GException;
private import gobject.ObjectG;
/** */
public... | D |
/x/calo/jgoncalves/JetCleaningHI/RootCoreBin/obj/x86_64-slc6-gcc49-opt/QuickAna/obj/TauTool.o /x/calo/jgoncalves/JetCleaningHI/RootCoreBin/obj/x86_64-slc6-gcc49-opt/QuickAna/obj/TauTool.d : /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.8/QuickAna/Root/TauTool.cxx /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.4.8/... | D |
a bright green fabric napped to resemble felt
| D |
build/x86_64-debug/src/overlapMutex.o: src/overlapMutex.c
| D |
/*
Copyright (c) 2019 Ferhat Kurtulmuş
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
exe... | D |
module renderer.objects.sceneobject;
public import gfm.math;
public import std.math;
abstract class SceneObject
{
protected vec3f _position = vec3f(0, 0, 0);
protected vec3f _color = vec3f(1, 1, 1);
protected float _emission = 0.01f;
protected float _specular = 0f;
protected float _glossy = 0f;
this()
{
... | D |
/Users/yq/Project/Swift/SwiftGroup/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/InfiniteSequence.o : /Users/yq/Project/Swift/SwiftGroup/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/yq/Project/Swift/SwiftGroup/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Us... | D |
/Users/xiaohongwei/projects/for_offer/target/debug/jz_offer-c4912a509a1b5a78: /Users/xiaohongwei/projects/for_offer/src/main.rs /Users/xiaohongwei/projects/for_offer/src/permutation_029.rs
| D |
func void ZS_Stomp_Herb()
{
Perception_Set_Normal();
B_ResetAll(self);
AI_SetWalkMode(self,NPC_WALK);
if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == FALSE)
{
AI_GotoWP(self,self.wp);
};
};
func int ZS_Stomp_Herb_Loop()
{
if(!C_BodyStateContains(self,BS_MOBINTERACT_INTERRUPT) && Wld_IsMobAvailable(self,"HER... | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Core.build/OptionalType.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Core/Data+Base64URL.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/core.git-8311783259025539290/Sources/Core/N... | D |
module d.common.node;
public import source.location;
class Node {
Location location;
this(Location location) {
this.location = location;
}
invariant() {
// FIXME: reenable this when ct paradoxes know their location.
// assert(location != Location.init, "node location must never be init");
}
final:
impo... | D |
/** DGui project file.
Copyright: Trogu Antonio Davide 2011-2013
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Trogu Antonio Davide
*/
module dgui.statusbar;
import std.utf: toUTFz;
import dgui.core.controls.subclassedcontrol;
final class StatusPart
{
private StatusBar _owner;
private ... | D |
module dapt.func;
import std.container.array;
import std.array;
import std.algorithm.searching;
import dapt.emitter;
import dapt.type;
class Argument : IEmittable {
Type type;
string name;
Array!Attribute attributes;
string emit() {
auto emitter = new Emitter();
emitter.emit("$A< > $... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.