code
stringlengths
3
10M
language
stringclasses
31 values
module dcv.example.convolution; /** * Convolution example using dcv library. */ import std.experimental.ndslice; import std.stdio : writeln; import std.datetime : StopWatch; import core.thread; import dcv.core : Image, asType; import dcv.io : imread, imwrite; import dcv.imgproc.convolution : conv; import dcv.imgp...
D
/** * C's <math.h> * Authors: Walter Bright, Digital Mars, www.digitalmars.com * License: Public Domain * Macros: * WIKI=Phobos/StdCMath */ module std.c.math; public import core.stdc.math;
D
/Users/MohamedNawar/Desktop/appointment/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Protector.o : /Users/MohamedNawar/Desktop/appointment/Pods/Alamofire/Source/MultipartFormData.swift /Users/MohamedNawar/Desktop/appointment/Pods/Alamofire/Source/MultipartUpload.swift /Users/MohamedNawar...
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
module android.java.java.nio.file.spi.FileSystemProvider; public import android.java.java.nio.file.spi.FileSystemProvider_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!FileSystemProvider; import import17 = android.java.java.nio.file.FileStore; import import7 = android.java.java.io.OutputStre...
D
/** Internal module for pushing and getting _enums. Enum's are treated in Lua as strings. Conversion of enum keys is case-insensitive, which I think is more useful for Lua's typical 'config' style usage This is still a work-in-progress. Outstanding issues include: Handling of bitfields. Assignment of integer key...
D
module crypto.bigint; import std.bigint; import std.algorithm.mutation : reverse, swap; import std.algorithm.searching : find, all; import std.conv : to, text; import std.exception : enforce; import std.range : repeat, array; import std.math : abs; import crypto.random; struct BigIntHelper { /// Random generate ...
D
/** * Performs the semantic3 stage, which deals with function bodies. * * Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Sou...
D
/* Copyright 2017 Pilosa Corp. 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 notice, this list of conditions and the following disclaimer. 2. Redistributi...
D
/** This module is a submodule of $(MREF std, range). It defines the bidirectional and forward range primitives for arrays: $(LREF empty), $(LREF front), $(LREF back), $(LREF popFront), $(LREF popBack) and $(LREF save). It provides basic range functionality by defining several templates for testing whether a given ob...
D
module dgt.core.sync; import std.traits : isCallable; void synchronize(alias F, T)(shared(T) obj) if (isCallable!F && is(typeof(F(cast(T)obj)))) { synchronized(obj) { F(cast(T)obj); } }
D
/Users/phungdu/Documents/code/vapor/TILApp/Build/Intermediates/TILApp.build/Debug/Routing.build/Objects-normal/x86_64/TrieRouter.o : /Users/phungdu/Documents/code/vapor/TILApp/.build/checkouts/routing.git-4533504815497113673/Sources/Routing/Utilities/Deprecated.swift /Users/phungdu/Documents/code/vapor/TILApp/.build/ch...
D
import std.stdio; import bindbc.glfw; void main() { /* This version attempts to load the GLFW shared library using well-known variations of the library name for the host system. */ GLFWSupport ret = loadGLFW(); if(ret != glfwSupport) { // Handle error. For most use cases, its reasonable to use the the error h...
D
/home/bencsikg/dev/deep_unknown/target/debug/deep_unknown-2de5200b09baac84: /home/bencsikg/dev/deep_unknown/src/main.rs
D
module app.service.user; import app.model.user; import hunt; class UserService { static long registerUser() { EntityManager manager = entityManagerFactory.createEntityManager(); scope(exit){manager.close();} User user = new User(); user.name = "donglei"; auto x = manag...
D
/* * Copyright (c) 2006-2009 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
module code.fastappender4; import core.memory; import core.stdc.string; debug import std.stdio; /// Optimized copying appender with chaining. /// Stores data together with linked-list node, which isn't GC-friendly. struct FastAppender4(T, bool X) { static assert(T.sizeof == 1, "TODO"); private: enum PAGE_SIZE = 4...
D
/* Copyright (c) 2015, Dennis Meuwissen 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 notice, this list of ...
D
func int B_TeachPlayerTalentAlchemy(var C_Npc slf,var C_Npc oth,var int potion) { var int kosten; kosten = B_GetLearnCostTalent(oth,NPC_TALENT_ALCHEMY,potion); if(oth.lp < kosten) { PrintScreen(PRINT_NotEnoughLearnPoints,-1,-1,FONT_ScreenSmall,2); B_Say(slf,oth,"$NOLEARNNOPOINTS"); return FALSE; }; oth.lp ...
D
/** * This file is part of DCD, a development tool for the D programming language. * Copyright (C) 2014 Brian Schott * * 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, either version 3 of t...
D
/// Utilties related to unix time module dscord.util.time; import core.sys.posix.sys.time; /// Returns UTC time in microseconds long getUnixTimeMicro() { timeval t; gettimeofday(&t, null); return 1000000 * t.tv_sec + t.tv_usec; } /// Returns UTC time in milliseconds. long getUnixTimeMilli() { timeval t; ge...
D
module david.graphics.direct2devilrat; import core.sys.windows.windows; import std.format : format; //import directx.com; //import directx.win32; import directx.d2d1; import directx.d2d1helper; //import directx.dwrite; import david.types : PixelSize, Unit, UnitVector, UnitRectangle, GameView; import da...
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 core.sys.windows.windef; import core.sys.windows.com; GUID CLSID_Shell = { 0x13709620, 0xC279, 0x11CE, [0xA4, 0x9E, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00] }; GUID IID_Folder = { 0xBBCBDE60, 0xC3FF, 0x11CE, [0x83, 0x50, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00] }; GUID IID_FolderItem = { 0xFAC32C80,...
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
/Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/Objects-normal/x86_64/UpdatableWithContext.o : /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSON.swift /Volumes/Element-Mac/_development/_ios/_trainin...
D
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/NIO.build/NIOAny.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.sw...
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="model.notation#_KJg6QKZsEeK7_s...
D
instance Grd_244_Gardist (Npc_Default) { //-------- primary data -------- name = NAME_Gardist; npctype = NpcType_Guard; guild = GIL_GRD; level = 20; voice = 7; id = 244; //-------- abilities -------- attribute[ATR_STRENGTH] = 100; attribute[ATR_DEXTERITY] = 80; attribute[ATR_MANA_MAX] = ...
D
INSTANCE Mod_1772_KDF_Gizar_PAT (Npc_Default) { // ------ NSC ------ name = "Gizar"; guild = GIL_VLK; id = 1772; voice = 0; flags = FALSE; npctype = NPCTYPE_MAIN; // ------ Aivars ------ aivar[AIV_FollowDist] = 500; // ------ Attribute ------ B_SetAttributesToChapter (self, ...
D
# FIXED grlib/msp-exp432p401r_grlib_example/fonts/fontcm28.obj: ../grlib/msp-exp432p401r_grlib_example/fonts/fontcm28.c ../grlib/msp-exp432p401r_grlib_example/fonts/fontcm28.c:
D
prototype Mst_Default_Bloodhound(C_Npc) { name[0] = "Кровавая гончая"; guild = GIL_SHADOWBEAST; aivar[AIV_MM_REAL_ID] = ID_Bloodhound; level = 22; B_DS_SetMst_Attribute(cMst_Default_Bloodhound); protection[PROT_BLUNT] = 90; protection[PROT_EDGE] = 90; protection[PROT_POINT] = 40; protection[PROT_FIRE] = 20; ...
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_15_agm-5314336...
D
/Users/jonb/Documents/GitHub/rustapps/twitterplotter/target/debug/deps/ppv_lite86-9a17aab655b88584.rmeta: /Users/jonb/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.5/src/lib.rs /Users/jonb/.cargo/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.5/src/soft.rs /Users/jonb/.cargo/registry/src/githu...
D
module regalloc; import std.stdio : stderr, writeln; import gen_ir, util; public: static immutable string[] regs = [ "rbp", "r10", "r11", "rbx", "r12", "r13", "r14", "r15" ]; static immutable string[] regs8 = [ "bpl", "r10b", "r11b", "bl", "r12b", "r13b", "r14b", "r15b" ]; void alloc_regs(Function[] fns) { ...
D
/home/remo/Desktop/Misc/vs/rust/IOT Qtr 2/Ass-4/ass4/target/debug/deps/ass4-6b98040e6fa6aa8c: src/main.rs /home/remo/Desktop/Misc/vs/rust/IOT Qtr 2/Ass-4/ass4/target/debug/deps/ass4-6b98040e6fa6aa8c.d: src/main.rs src/main.rs:
D
/Users/zwelithinimathebula/Documents/Project/Yookos/build/Yookos.build/Release-iphoneos/Yookos.build/Objects-normal/armv7/Services.o : /Users/zwelithinimathebula/Documents/Project/Yookos/Yookos/ViewController.swift /Users/zwelithinimathebula/Documents/Project/Yookos/Yookos/ExtentionsMethods.swift /Users/zwelithinimathe...
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
/* ---------------------------------------------------------------------------- * 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
module des.util.data.attrib; import des.util.data.type; /// data array description interface Attribute { const @property { string desc(); /// ref const(ElemInfo) info(); /// protected size_t manual_stride(); /// size_t offset(); /// const(void[]) data(); /// //...
D
(chemistry, physics) incapable of mixing
D
/* * Copyright (c) 2004-2009 Derelict Developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice...
D
#!/usr/bin/rdmd import std.stdio; import std.string; import std.datetime; void main() { auto start_time = Clock.currTime(); int n = 0; foreach(int i; 0..1000000) n = i; writeln("prog duration: ", Clock.currTime() - start_time); }
D
/******************************************************************************* Throw a statically allocated exception with formatting capacility. The function in this module are not `@nogc` / `pure` but they do not allocate if the formatting does not allocate. A static buffer is used by the Exce...
D
module engine.render; import engine.math; import engine.texture; import derelict.sdl2.sdl; enum Flip { none = SDL_FLIP_NONE, h = SDL_FLIP_HORIZONTAL, v = SDL_FLIP_VERTICAL } enum Blend { none = SDL_BLENDMODE_NONE, alpha = SDL_BLENDMODE_BLEND, additive = SDL_BLENDMODE_ADD } struct Renderer {...
D
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Configs.build/Source.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/Sources/Configs/Source.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/Sources/Configs/Node+...
D
a sheet of stationery with name and address of the organization printed at the top
D
#include "resource.h" defclass Dialog3 : DialogTask { iDialog; // this dialog }; private imeth void init_controls(object self); cmeth gNewDialog3(tl) { object obj = gNewTask(super, tl); accessIVsOf(obj); return obj; } imeth gRunRun() { iDialog = mNewDialog(self, IDD_DIALOG3, gGetParent(super)); init_co...
D
/Users/Lavanya/Desktop/AlbumsApp/Build/Intermediates.noindex/AlbumsApp.build/Debug-iphonesimulator/AlbumsApp.build/Objects-normal/x86_64/AppDelegate.o : /Users/Lavanya/Desktop/AlbumsApp/AlbumsApp/SceneDelegate.swift /Users/Lavanya/Desktop/AlbumsApp/AlbumsApp/AppDelegate.swift /Users/Lavanya/Desktop/AlbumsApp/AlbumsApp/...
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Essentials/Helpers.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/chec...
D
/Users/danielphiri/Documents/iOS\ DeCal/Projects/Hitcha/Alamofire-master/Hitcha-fnfsrgszxlwmnlbyhsnzxhgvwkda/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate.o : /Users/danielphiri/Downloads/sharearide-master/Pods/Alamofire/Source/MultipartFormData.swift /Users/...
D
instance BDT_1041_Bandit_L(Npc_Default) { name[0] = NAME_Bandit; guild = GIL_BDT; id = 1041; voice = 1; flags = 0; npcType = NPCTYPE_AMBIENT; aivar[AIV_EnemyOverride] = TRUE; aivar[91] = TRUE; B_SetAttributesToChapter(self,1); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1h_MISC_Sword); EquipItem(s...
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 sqld.ast.over_node; import sqld.ast.column_node; import sqld.ast.expression_node; import sqld.ast.visitor; import sqld.ast.window_definition_node; import sqld.window_builder; immutable class OverNode : ExpressionNode { mixin Visitable; private: ExpressionNode _subject; ExpressionNode _window; pu...
D
module godot.sliderjoint; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.d.bind; import godot.object; import godot.classdb; import godot.joint; @GodotBaseClass struct SliderJoint { static immutable string _GODOT_internal_name ...
D
/Users/lewisgriffin/Documents/SwiftUI/DemoWidget/DerivedData/DemoWidget/Build/Intermediates.noindex/DemoWidget.build/Debug-iphonesimulator/DemoWidget.build/Objects-normal/x86_64/MovieView.o : /Users/lewisgriffin/Documents/SwiftUI/DemoWidget/DemoWidget/Data/Movie.swift /Users/lewisgriffin/Documents/SwiftUI/DemoWidget/De...
D
/takaya_workspace/self_study/rust_practice/actix-gcd/target/debug/deps/bitflags-1693f043aa7c36ab.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.3.2/src/lib.rs /takaya_workspace/self_study/rust_practice/actix-gcd/target/debug/deps/libbitflags-1693f043aa7c36ab.rlib: /root/.cargo/registry/src/git...
D
/** Command line tool that identifies equivalent lines in an input stream. Equivalent lines are identified using either the full line or a set of fields as the key. By default, input is written to standard output, retaining only the first occurrence of equivalent lines. There are also options for marking and numbering ...
D
module pattern.depinjection.object_builders; private { import pattern.depinjection.property; import pattern.depinjection.build_utils; import pattern.depinjection.circular; } debug (trace) import tango.io.Stdout; /// Internal usage. abstract class ISingleBuilder {} abstract class ClassBuilder (TBuilder) : ISingle...
D
module cyberparrot.wavcollector; import std.stdio; import std.file; void writeDatum(T, U)(File file, U datum) { ubyte[T.sizeof] buffer; T converted = cast(T) datum; foreach(i; 0 .. T.sizeof) { auto shift = i * 8; buffer[i] = cast(ubyte) ((converted & (0xff << shift)) >> shift); } ...
D
/** * Autogenerated by Thrift Compiler (0.13.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ module BuddyManagementService; import thrift.base; import thrift.codegen.base; import thrift.util.hashset; import line_types; interface BuddyManagementService { void addBuddyMe...
D
/* Simple DirectMedia Layer Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.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 ...
D
module allegro5.al_time; extern(C) { struct ALLEGRO_TIMEOUT { ulong __pad1__; ulong __pad2__; } double al_get_time(); void al_rest(double seconds); void al_init_timeout(ALLEGRO_TIMEOUT* timeout, double seconds); }
D
/Users/ryanmcwhorter/Documents/GIT/rust_basics/guessing_game/target/debug/build/rand_chacha-96950d1b5a8e82b3/build_script_build-96950d1b5a8e82b3: /Users/ryanmcwhorter/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/build.rs /Users/ryanmcwhorter/Documents/GIT/rust_basics/guessing_game/target/debug/bui...
D
/Users/Jacopo/KituraBotFrontendEchoSample/.build/debug/SimpleHttpClient.build/HttpResource.swift.o : /Users/Jacopo/KituraBotFrontendEchoSample/.build/checkouts/bluemix-simple-http-client-swift.git--4354725089908211666/Sources/HttpResource.swift /Users/Jacopo/KituraBotFrontendEchoSample/.build/checkouts/bluemix-simple-h...
D
/home/zbf/workspace/git/RTAP/target/debug/deps/md5-f4cece09c1763d8f.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/md-5-0.7.0/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/md-5-0.7.0/src/utils.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b...
D
/** * Defines the static Output class, which handles all output to the console window. */ module utility.output; import utility.config; import dlogg.strict; import std.conv; import std.stdio; import std.functional; /** * Custom logging level type for global logger. */ enum OutputType { /// Debug messages, aren...
D
/** * D header file for Solaris. * * $(LINK2 http://src.illumos.org/source/xref/illumos-gate/usr/src/head/link.h, illumos link.h) */ module core.sys.solaris.link; version (Solaris): extern (C): nothrow: import core.stdc.stdint; import core.sys.solaris.dlfcn; import core.sys.solaris.libelf; import core.sys.solari...
D
module imports.link2644c; class C(T) { }
D
/** Copyright: Copyright (c) 2014-2017 Andrey Penechko. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Andrey Penechko. */ module netlib.baseserver; import std.range; import voxelman.log; import cbor; import derelict.enet.enet; import netlib; struct PeerStorage { ENetPeer*[SessionId] peers;...
D
/** * Unix EntropySource * * Copyright: * (C) 1999-2009,2013 Jack Lloyd * (C) 2014-2015 Etienne Cimon * * License: * Botan is released under the Simplified BSD License (see LICENSE.md) */ module botan.entropy.unix_procs; import botan.constants; version(Posix): static if (BOTAN_HAS_ENTROPY_SRC_UNIX_PROCESS_RUNNER): i...
D
instance VLK_400_Larius(Npc_Default) { name[0] = "Ëàðèóñ"; guild = GIL_VLK; id = 400; voice = 1; flags = NPC_FLAG_IMMORTAL; npcType = npctype_main; B_SetAttributesToChapter(self,1); // fight_tactic = FAI_HUMAN_COWARD; fight_tactic = FAI_HUMAN_NORMAL; EquipItem(self,ItMw_Schwert1); B_CreateAmbientInv(self);...
D
module android.java.android.preference.MultiSelectListPreference; public import android.java.android.preference.MultiSelectListPreference_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!MultiSelectListPreference; import import10 = android.java.android.view.View; import import15 = android.java....
D
/++ $(H1 Type Information) Type Information implementation compatible with BetterC mode. Copyright: 2020 Ilya Yaroshenko, Kaleidic Associates Advisory Limited, Symmetry Investments Authors: Ilya Yaroshenko Macros: NDSLICE = $(REF_ALTTEXT $(TT $2), $2, mir, ndslice, $1)$(NBSP) T2=$(TR $(TDNW $(LREF $1)) $(TD $+)) +/ ...
D
module imports.ufcs5a; auto f5a1(int) { return 1; } auto f5a2(string) { return 2; } auto f5a3(double) { return 3; } alias f5a4 = f5a1, f5a4 = f5a2; alias f5a5 = f5a3, f5a5 = f5a4; @property p5a1(int) { return 1; } @property p5a1(int, int) { return 1; } @property p5a2(string) { return 2; } @property p5a...
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Database/Database.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/panartem/Developer/Stud...
D
#include <math.h> #include <time.h> #include "pcsSocket.h" #include "GLcommand.h" #define WIND0 0 #define STIMCD 1100 #define STOFFCD 1101 #define ERRCD 1031 #define MAX_OBJECTS 20 /* the number of objects used to start Vex */ clock_t seed; /* menu variables must be initialized to legal values so that ri...
D
instance Mod_1554_SFB_Schuerfer_MT (Npc_Default) { //-------- primary data -------- name = NAME_Schuerfer; npctype = npctype_mt_schuerfer; guild = GIL_mil; level = 3; voice = 2; id = 1554; //-------- abilities -------- att...
D
/******************************************************************************* copyright: Copyright (c) 2004 Kris Bell. Все права защищены license: BSD стиль: $(LICENSE) version: Mar 2004: Initial release Dec 2006: Outback release ...
D
/* Copyright: Marcelo S. N. Mancini, 2018 - 2021 License: [https://opensource.org/licenses/MIT|MIT License]. Authors: Marcelo S. N. Mancini Copyright Marcelo S. N. Mancini 2018 - 2021. Distributed under the MIT Software License. (See accompanying file LICENSE.txt or copy at https://opensource.org/licens...
D
/* * Copyright (c) 2004-2008 Derelict Developers * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this li...
D
/** TCP/UDP connection and server handling. Copyright: © 2012 RejectedSoftware e.K. Authors: Sönke Ludwig License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. */ module vibe.core.net; public import vibe.core.driver; import core.sys.posix.netinet.in_; import core.time; im...
D
module wx.Clipboard; public import wx.common; public import wx.DataFormat; public import wx.DataObject; //----------------------------------------------------------------------------- extern(D) class БуферОбмена : ВизОбъект { static БуферОбмена СамБуфер = пусто; static проц иниц(); public this(ЦелУкз вхо...
D
/* * Copyright (C) 2017 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
int kkk; //pragma(__range, cast(byte)kkk); // pragma(__range, ((kkk%1000-500)%600)&0xFFFFFFFF); // pragma(__range, cast(uint)((kkk%1000-500))&cast(int)0xF0000FFF); // module tt; //int x=-1; //pragma(__range, (!!(x|1)+11)^2902); //xpragma(__range, x&~(1<<31)); extern(C) int scanf(const(char)* format,...); extern(C) i...
D
/work/02138/siddarth/CHOMBO/EBAMRRANS/lib/src/EBTools/../../libebtools2d.Linux.mpicxx.ifort.DEBUG.MPI.a(IrregFABFactory.o) d/2d.Linux.mpicxx.ifort.DEBUG.MPI/IrregFABFactory.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.Lin...
D
instance DIA_Addon_BL_BDT_13_EXIT(C_Info) { nr = 999; condition = DIA_Addon_BL_BDT_13_EXIT_Condition; information = DIA_Addon_BL_BDT_13_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Addon_BL_BDT_13_EXIT_Condition() { return TRUE; }; func void DIA_Addon_BL_BDT_13_EXIT_Info() { BDT_13...
D
/+ Digital Ocean API 2014 - 2020 by Laeeth Isharc, Kaleidic Associates Advisory Limited, and Symmetry Investments --- import symmetry.api.digitalocean; import std.json; import std.stdio; void main(string[] args) { auto ocean=OceanAPI(OceanAPIKey); ...
D
const int Value_Weed = 0; const int Value_Beet = 3; const int HP_Beet = 5; const int Value_SwampHerb = 10; const int VALUE_SWAMPHERB_02 = 250; const int Value_SwampHerb_Balam = 50; const int Value_Mana_Herb_01 = 10; const int Mana_Mana_Herb_01 = 10; const int Value_Mana_Herb_02 = 20; const int Mana_Mana_Herb_02 = 15; ...
D
void main() { runSolver(); } void problem() { auto N = scan!long; auto A = scan!long(N); auto solve() { return A.map!(a => max(0, a - 10)).sum; } outputForAtCoder(&solve); } // ---------------------------------------------- import std.stdio, std.conv, std.array, std.string, std.algorithm, std.contain...
D
INSTANCE Mod_7122_ASS_Maysara_NW (Npc_Default) { // ------ NSC ------ name = "Maysara"; guild = GIL_OUT; id = 7122; voice = 6; flags = 0; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Taktik ------ f...
D
module net.pms.util.DTSAudioOutputStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.exceptions; import java.io.OutputStream; public class DTSAudioOutputStream : FlowParserOutputStream { private static immutable Logger LOGGER = LoggerFactory.getLogger!DTSAudioOutputStream(); private ...
D
module abc. def. gh; import std.stdio; // for writefln() import std . // system2; system ; //static import std.date, std.thread /+ /+ +/ , std.io +/ ; import testlib.code; int main(string[] args) // string is a type alias for const(char)[] { // Declare an associative array with string keys and // arrays ...
D
instance BDT_10303_Addon_RangerBandit_L(Npc_Default) { name[0] = NAME_Bandit; guild = GIL_BDT; id = 10303; voice = 13; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,1); fight_tactic = FAI_HUMAN_NORMAL; EquipItem(self,ItMw_Addon_BanditTrader); B_CreateAmbientInv(self); B_SetNpcVisual(se...
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
/** * Copyright: Copyright (c) 2016 Wojciech Szęszoł. All rights reserved. * Authors: Wojciech Szęszoł * Version: Initial created: Jun 03, 2016 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) */ import std.stdio; import Common; import Assert; import clang.c.Index; import clang...
D
/* Copyright Chris Jones 2020. Distributed under the Boost Software License, Version 1.0. See accompanying file Licence.txt or copy at... https://www.boost.org/LICENSE_1_0.txt */ module window; import std.stdio; import core.sys.windows.windows; import std.string; import std.conv; import canvas; import font; ...
D
module android.java.android.database.CrossProcessCursorWrapper; public import android.java.android.database.CrossProcessCursorWrapper_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!CrossProcessCursorWrapper; import import9 = android.java.java.lang.Class;
D
import std.stdio; import std.format; import std.random; import opencvd; import tesseractd; /* text recognition (OCR) with tesseract you need this wrapper to run the example: https://github.com/aferust/tesseract-d-wrapper */ int main() { TessBaseAPI ocr = TessBaseAPI(); ocr.Init(null, "eng", OEM...
D
instance DIA_Jora_EXIT(C_Info) { npc = VLK_408_Jora; nr = 999; condition = DIA_Jora_EXIT_Condition; information = DIA_Jora_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Jora_EXIT_Condition() { return TRUE; }; func void DIA_Jora_EXIT_Info() { AI_StopProcessInfos(self); }; instance ...
D