code
stringlengths
3
10M
language
stringclasses
31 values
/* * Copyright (c) 2017-2019 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
/* * 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
// betterC code style import mir.ndslice.slice: sliced; import mir.ndslice.topology: canonical; import mir.lapack: gesv, lapackint; // column major storage __gshared double[9] a = [ 1.0, 2, -1, -1.0, 2, 5, 1.0, -4, 0]; // ditto __gshared double[6] b = [ 2.0, -6, 9, 0 , -6, 1]; // ditto __gsh...
D
/Users/kareemismail/XCodeProjects/FM2Apps/Movie/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate.o : /Users/kareemismail/XCodeProjects/FM2Apps/Movie/Pods/Alamofire/Source/MultipartFormData.swift /Users/kareemismail/XCodeProjects/FM2Apps/Movie/Pods/Alamofire/Source/Timeline.sw...
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Sean Kelly, Alex Rønne Petersen * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean...
D
/** * The demangle module converts mangled D symbols to a representation similar * to what would have existed in code. * * Copyright: Copyright Sean Kelly 2010 - 2014. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanying file LI...
D
module parse; import std.string; import std.array; import std.algorithm; import std.stdio; enum Status { fail, pass, unresolved } struct TestEntry { Status status; string file; string info; } struct Test { TestEntry[] entries; Status status; } struct TestSection { string name; ...
D
module android.java.android.icu.text.MeasureFormat; public import android.java.android.icu.text.MeasureFormat_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!MeasureFormat; import import5 = android.java.java.lang.StringBuffer; import import0 = android.java.android.icu.text.MeasureFormat; impor...
D
/* * Copyright: Copyright Johannes Teichrieb 2019 * License: opensource.org/licenses/MIT */ module util.aspectid; /* * specification: * * aspectid sides with simplicity, incurring slight syntax restrictions: * - don't comment out enum class Aspect definition * - no comments or macros between enum and ope...
D
/* REQUIRED_ARGS: compilable/imports/test17541_2.d compilable/imports/test17541_3.d */ // https://issues.dlang.org/show_bug.cgi?id=17541 module one; import two; import three; struct BB { enum MAX_NUM_FIBERS = 4096; TWOR!1 t; TT!(int) tt; auto foo() { tt.insertabcdefg(1); } } BB bb...
D
/Users/caochengfei/Desktop/swiftServiceTest/.build/x86_64-apple-macosx10.10/debug/PerfectLib.build/JSONConvertible.swift.o : /Users/caochengfei/Desktop/swiftServiceTest/.build/checkouts/PerfectLib.git-3712999737848873669/Sources/PerfectLib/JSONConvertible.swift /Users/caochengfei/Desktop/swiftServiceTest/.build/checkou...
D
a shortened form of a word or phrase shortening something by omitting parts of it
D
/** * Routines to handle elems. * * Compiler implementation of the * $(LINK2 https://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1985-1998 by Symantec * Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmar...
D
/******************************************************************************* D language bindings for libsodium's crypto_core_ed25519.h License: ISC (see LICENSE.txt) *******************************************************************************/ module libsodium.crypto_core_ed25519; @nogc nothrow: im...
D
// Copyright 2019 - 2021 Michael D. Parker // 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 bindbc.freetype.bind.ftotval; import bindbc.freetype.config; import bindbc.freetype.config...
D
/Users/student/Documents/Marketplace/DerivedData/Build/Intermediates/Marketplace.build/Debug-iphonesimulator/Marketplace.build/Objects-normal/x86_64/SignInTableView.o : /Users/student/Documents/Marketplace/Marketplace/CoreDataComponents/Network/Download.swift /Users/student/Documents/Marketplace/Marketplace/CoreDataCom...
D
module dnv.kernel; import std.conv : to; import dnv.storage; import dnv.compiler; import dnv.driver; import dnv.error; import derelict.cuda.driverapi : CUfunction; void* vptr(F)(ref F f) { static if (is(typeof(f.ptr))) { return to!(void*)(&f.ptr); } else { return to!(void*)(&f); } } class KernelBas...
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
/************************************************************************** ЗОМБИ Нежить. Можно призывать. Несколько видов (внешне). Трофеи: нет. Квестовые: приспешники Ворона, зомби в Яркендаре, пробудившийся Бладвин (не исп.). ***********************************************************************...
D
module android.java.java.util.Spliterator; public import android.java.java.util.Spliterator_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!Spliterator; import import3 = android.java.java.lang.Class; import import1 = android.java.java.util.Spliterator; import import2 = android.java.java.util.C...
D
instance Mod_2011_TPL_GorNaDrak_MT (Npc_Default) { //-------- primary data -------- name = "Gor Na Drak"; npctype = npctype_Main; guild = GIL_OUT; level = 21; voice = 0; id = 2011; //-------- abilities -------- attribute[ATR_STRENGTH] = 100; attribute[ATR_DEXTERITY] = 80; ...
D
module arrow.IntegerDataType; private import arrow.NumericDataType; private import arrow.c.functions; public import arrow.c.types; /** */ public class IntegerDataType : NumericDataType { /** the main Gtk struct */ protected GArrowIntegerDataType* gArrowIntegerDataType; /** Get the main Gtk struct */ public GAr...
D
/home/john/Documents/freebsdrust/std/target/debug/deps/lazy_static-20b52bc0a22ffdbc.rmeta: /home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/lib.rs /home/john/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/inline_lazy.rs /home/john/Documents/freebsdrust/std/target/...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range; void get(Args...)(ref Args args) { import std.traits, std.meta, std.typecons; static if (Args.length == 1) { alias Arg = Args[0]; static if (isArray!Arg) { ...
D
/** * Defines a D type. * * Copyright: Copyright (C) 1999-2023 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) * Source: $(LINK2 https://github.com/dlang/dmd...
D
module minima.tile; enum TileName { empty, dirt, bricks, } struct TileData { bool isSolid; } private TileData[TileName] _tileDataMapping; static this() { _tileDataMapping = [ TileName.empty: TileData(false), TileName.dirt: TileData(true), TileName.bricks: TileData(true), ]; ...
D
void main() { auto getPos = (int a) { return a >= 0; }; import std.stdio; int[] arr =[1, 2, -20, 3, -50, -34, 4, 6, 7]; writeln("Prevous arr: ", arr); writeln(filt!int(getPos, arr)); } auto filt(T)(bool function(T) dg, T[] arr ) { import std.range; T[] arr2; for(; ! arr.empty; arr.popFront) { if (dg(arr[0]...
D
///Syscall definitions and direct calls that bypass our libc intercepts module photon.linux.syscalls; version(linux): import core.sys.posix.sys.types; import core.sys.posix.netinet.in_; import core.sys.posix.poll; import core.sys.linux.epoll; import core.sys.linux.timerfd; import photon.linux.support; version (X86) {...
D
import std.stdio,std.string; void main() { auto hdr = r"#PBS -q regular #PBS -l mppwidth=96 #PBS -l walltime=10:00:00 #PBS -j oe #PBS -V cd $PBS_O_WORKDIR aprun -n 64 -N 16 -S 8 ../exec/recon_lasdamas_zspace_weighted -configfn ini/recon_ngc_%02d.xml -log_summary "; foreach(i;0..1) { auto ff = File(format("ng...
D
// ************ // ZS_Fight_Alrik // ************ const int Fight_AlrikFreq = 4; func void ZS_Fight_Alrik () { Perception_Set_Normal(); B_UseHat (self); B_ResetAll (self); if (self.aivar[AIV_Schwierigkeitsgrad] < Mod_Schwierigkeit) || (self.aivar[AIV_Schwierigkeitsgrad] > Mod_Schwierigkeit) { B_SetSchw...
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 src/core/sys/windows/_winver.d) */ module core.sys.windows.winver; version (Windows): @system: import core.sys...
D
instance Mod_7419_OUT_Leonhard_REL (Npc_Default) { // ------ NSC ------ name = "Leonhard"; guild = GIL_OUT; id = 7419; voice = 9; flags = 0; npctype = NPCTYPE_MAIN; // ------ AIVARS ------ aivar[AIV_ToughGuy] = TRUE; aivar[AIV_ToughGuyNewsOverride] = TRUE; aivar[AIV_IGNO...
D
module android.java.android.os.RemoteException_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.lang.Class_d_i...
D
/Users/michael/Desktop/Buildcoin/ChartTest/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/XAxisRenderer.o : /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Source/Charts/D...
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
/// Module containing code for desktop implementations. /// Currently supported: SDL /// Planned: Win32, X-Window, GTK module d3d.desktop; public: import d3d.desktop.desktopcomponent; import d3d.desktop.sdlwindow;
D
/* * Copyright (C) 2016 Google Inc. * * 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 ...
D
module test.codec.websocket; import hunt.http.codec.websocket.encode.Generator; import hunt.http.WebSocketFrame; import hunt.util.Common; import hunt.io.BufferUtils; import hunt.util.TypeUtils; import hunt.Assert; import hunt.io.ByteBuffer; import hunt.collection.ArrayList; import hunt.collection.List; import java.ut...
D
/Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Socket.IO-Client-Swift.build/Objects-normal/x86_64/SocketRawView.o : /Users/Natalia/FunChatik/Pods/Socket.IO-Client-Swift/Source/SocketIO/Engine/SocketEngineSpec.swift /Users/Natalia/FunChatik/Pods/Socket.IO-Client-Swift...
D
module example_2; import std.stdio; import std.math; import rpp.client.rpc; import utilities; int main(char[][] args) { initRPP(`127.0.0.1`, 54000); real start = 0; real end = 20; int points = 1000; real[] x = linspace(start, end, points); real[] u = new real[x.length]; real[] u1 = new real[x.length]; ...
D
/** * Skadi.d Web Framework * * Forked from: https://github.com/mbierlee/poodinis * Authors: Mike Bierlee, Faianca * Copyright: Copyright (c) 2015 Mike Bierlee, Faianca * License: MIT License, see LICENSE */ module skadi.container.container; import std.string; import std.algorithm; import std.concurrency; de...
D
module android.java.android.graphics.ColorSpace_Rgb_TransferParameters_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; @JavaName("ColorSpace$Rgb$Tr...
D
import core.stdc.config; import core.stdc.stdarg: va_list; static import core.simd; static import std.conv; struct Int128 { long lower; long upper; } struct UInt128 { ulong lower; ulong upper; } struct __locale_data { int dummy; } alias _Bool = bool; struc...
D
module UnrealScript.Engine.Texture2D; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Core.UObject; import UnrealScript.Engine.Texture; extern(C++) interface Texture2D : Texture { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClas...
D
module shaker; public import box; public import random; public import sign; public import secretbox;
D
module hio.drivers.epoll; version(linux): import std.datetime; import std.string; import std.container; import std.exception; import std.experimental.logger; import std.typecons; import std.traits; import std.algorithm: min, max; import std.experimental.allocator; import std.experimental.allocator.mallocator; impor...
D
/* * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved. * * 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...
D
/** sspi.d Converted from 'sspi.h'. Version: V7.0 Authors: Koji Kishita */ module c.winodws.sspi; import c.windows.sdkddkver; import c.windows.windef; import c.windows.winternl; import c.windows.guiddef; extern(C){ enum ISSP_LEVEL = 32; enum ISSP_MODE = 1; alias WCHAR SEC_WCHAR; alias CHAR SEC_CHAR; alias LON...
D
a person who expects the worst
D
module app; import vibe.core.core; import vibe.core.log; import vibe.core.stream; import vibe.stream.operations; import vibe.stream.wrapper; import vibe.stream.tls; import vibe.stream.taskpipe; import std.encoding : sanitize; TLSContext createContext(TLSContextKind kind, string cert, string key, string trust, TLSPeer...
D
//Written in the D programming language /++ $(LUCKY Regular expressions) are commonly used method of pattern matching on strings, with $(I regex) being a catchy word for a pattern in this domain specific language. Typical problems usually solved by regular expressions include validation of user input and ubiqui...
D
instance DIA_MELVIN2_EXIT(C_INFO) { npc = nov_1373_melvin; nr = 999; condition = dia_melvin2_exit_condition; information = dia_melvin2_exit_info; permanent = 1; description = DIALOG_ENDE; }; func int dia_melvin2_exit_condition() { return 1; }; func void dia_melvin2_exit_info() { AI_StopPr...
D
/afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/TruthWeightTools/obj/HiggsWeightTest.o /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/TruthWeightTools/obj/HiggsWeightTest.d : /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/TruthWeight...
D
module oxy.buffer; import core.atomic; import core.thread; import std.stdio; /** * One-producer one-consumer lockless ring buffer implementation. **/ class OPOCRingBuffer(T) { size_t capacity; private { size_t mask; shared size_t writei; shared size_t readi; T[] buffer; } this(size_t capac...
D
module hunt.database.driver.mysql.impl.MySQLConnectionImpl; import hunt.database.driver.mysql.impl.MySQLConnectionFactory; import hunt.database.driver.mysql.impl.MySQLCollation; import hunt.database.driver.mysql.MySQLConnectOptions; import hunt.database.driver.mysql.MySQLConnection; import hunt.database.driver.mysql....
D
/** * Convert statements to Intermediate Representation (IR) for the back-end. * * 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
module yarn.vm; import yarn.value; import yarn.bytecode; import yarn.vm.state; import yarn.dialogue; package(yarn) enum TokenType { Whitespace, Indent, Dedent, EndOfLine, EndOfInput, Number, // Numeric values String, // Strings TagMarker, // # BeginCommand, // << EndCommand, //...
D
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Core.build/Objects-normal/x86_64/Byte+Random.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/kimhyewon/Documents/...
D
// ************************************************************************* // Kapitel 1 // ************************************************************************* // ************************************************************************* // EXIT // *********************************************...
D
/Users/hannh/Documents/MyGitHub/ChartsTest2/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CandleStickChartView.o : /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/hannh/Documents/MyGitHub/ChartsTest2/Charts...
D
module android.java.android.widget.TwoLineListItem_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import50 = android.java.android.view.contentcapture.ContentCaptureSession_d_interface; import import3...
D
// Written in the D programming language. /** * Read/write data in the $(LINK2 http://www.info-zip.org, _zip archive) format. * Makes use of the etc.c.zlib compression library. * * Bugs: * $(UL * $(LI Multi-disk zips not supported.) * $(LI Only Zip version 20 formats are supported.) * $(LI ...
D
/home/oliver/Projects/FPGA_Projects/CPU/toolchain/rust_assembler/target/debug/build/num-traits-185c2b1790646f97/build_script_build-185c2b1790646f97: /home/oliver/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.14/build.rs /home/oliver/Projects/FPGA_Projects/CPU/toolchain/rust_assembler/target/debug/buil...
D
/Users/oslo/code/swift_vapor_server/.build/debug/Console.build/Console/Style/Console+ConsoleStyle.swift.o : /Users/oslo/code/swift_vapor_server/Packages/Console-1.0.2/Sources/Console/Bar/Bar.swift /Users/oslo/code/swift_vapor_server/Packages/Console-1.0.2/Sources/Console/Command/Argument.swift /Users/oslo/code/swift_va...
D
module thBase.socket; import thBase.string; import thBase.casts; import core.allocator; import core.refcounted; /** * Patched socket source file. Makes accept() not throw an execption for non * blocking sockets. Also provides POSIX error codes that work with WinSocks. * * Error codes taken from: * - http://msdn...
D
(Christian theology) a state of sanctification by God elegance and beauty of movement or expression a sense of propriety and consideration for others a disposition to kindness and compassion (Greek mythology) one of three sisters who were the givers of beauty and charm a short prayer of thanks before a meal (Christian ...
D
module android.java.android.telephony.TelephonyManager_CellInfoCallback; public import android.java.android.telephony.TelephonyManager_CellInfoCallback_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!TelephonyManager_CellInfoCallback; import import2 = android.java.java.lang.Class;
D
int main() { int a; a = 0; Print(a); }
D
/Users/kabeone/kabeone/rust/fuse/target/debug/fuse-f52af5b12f307b37: /Users/kabeone/kabeone/rust/fuse/src/check.rs /Users/kabeone/kabeone/rust/fuse/src/fs.rs /Users/kabeone/kabeone/rust/fuse/src/get_fs.rs /Users/kabeone/kabeone/rust/fuse/src/main.rs
D
module lib.solve; import std.complex; /// solve ax^2 + bx + c = 0 Complex!double[] solve2d(double a, double b, double c) { import std.math; auto d = b * b - 4 * a * c; if (d > 0) { auto ans1 = (-b + sqrt(d)) / (2*a); auto ans2 = (-b - sqrt(d)) / (2*a); return [complex(ans1), complex(ans2)]; } ...
D
/******************************************************************************* copyright: Copyright (C) 1997--2004, Makoto Matsumoto, Takuji Nishimura, and Eric Landry; All rights reserved license: BSD style: $(LICENSE) version: Jan 2008: ...
D
a songbook containing a collection of hymns
D
import common_private; @nogc void syntax_error(A...)(A a) { import core.stdc.stdio; printf("\n"); printf("Syntax error: "); log(a); printf("\n"); } @nogc void fatal_error(A...)(A a) { import core.stdc.stdio; import core.stdc.stdlib; printf("\n"); printf("Syntax error: "); log(a); printf("...
D
/Users/kirstenrichard/Desktop/substrate-moloch-dao/target/release/wbuild-runner/node-template-runtime9626994530545983703/target/x86_64-apple-darwin/release/deps/either-dfea4db9eca0192e.rmeta: /Users/kirstenrichard/.cargo/registry/src/github.com-1ecc6299db9ec823/either-1.5.3/src/lib.rs /Users/kirstenrichard/Desktop/sub...
D
#!/usr/bin/env rdmd-dev-module /** Extensions to std.parallelism. */ module parallelism_ex; /** See also: http://forum.dlang.org/thread/irlkdkrgrnadgsgkvcjt@forum.dlang.org#post-vxbhxqgfhuwytdqkripq:40forum.dlang.org */ private auto pmap(alias fun, R)(R range) if(isInputRange!R) { import std.parallelism; im...
D
import a; import b; void main() { afun(); bfun(); }
D
module mahjong.util.range; import std.algorithm; import std.array; import std.experimental.logger; import std.math; import std.range; import std.traits; template max(alias pred, TReturn) { auto max(Range)(Range range) if (isInputRange!Range && isNumeric!TReturn) { auto myMax = TReturn.init; foreach (element; ra...
D
module ui.parse.css.fit_content;
D
module exampleplugin.plugininfo; enum id = "exampleplugin"; enum semver = "0.1.0"; enum deps = ["voxelman.eventdispatcher", "0.3.0"]; enum clientdeps = ["voxelman.configplugin", "0.5.0", "voxelman.client", "0.5.0"]; enum serverdeps = ["voxelman.server", "0.5.0"];
D
/* * $Id: input.d,v 1.2 2005/07/03 07:05:23 kenta Exp $ * * Copyright 2004 Kenta Cho. Some rights reserved. */ module abagames.util.sdl.input; private import derelict.sdl2.sdl; /** * Input device interface. */ public interface Input { public void handleEvent(SDL_Event *event); } public class MultipleInputDev...
D
module dbg_log.ex3; mixin template DebugLogMixin3(string domain, string file = __FILE__) { import log_prefix.ex4 : logPrefix; import dbg_log.ex3 : dbgLogImpl2, isDebugVersionOn; pragma (inline, true): void dbgLog(Args...)(string format, auto ref Args args, int line = __LINE__) { static if ...
D
module twigd.reference.tags; import std.string : stripLeft, split; import std.algorithm.searching : startsWith; version(unittest) { import std.stdio; } import twigd.data; class Tags { immutable static string AUTOSCAPE = "autoescape"; immutable static string END_AUTOSCAPE = "endautoescape"; immutable...
D
<?xml version="1.0" encoding="ASCII"?> <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="_pRWYsA_YEeqjDam8EyRRugf75fa67...
D
instance KDW_1402_Addon_Nefarius_NW(Npc_Default) { name[0] = "Нефариус"; guild = GIL_KDW; id = 1402; voice = 5; flags = NPC_FLAG_IMMORTAL; npcType = NPCTYPE_MAIN; aivar[AIV_MagicUser] = MAGIC_ALWAYS; aivar[AIV_IgnoresFakeGuild] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; aivar[AIV_Teeth] = 1; B_SetAttributesTo...
D
import std; alias Rating = long; void main() { char[][] state = File("input.txt").byLine.map!"a.dup[0..5]".array; char[][] next = new char[][](5, 5); auto pastRatings = new RedBlackTree!Rating; while (true) { if (!pastRatings.insert(state.biodiversity)) { writeln("Repeating rating: ", state.biodiversity); ...
D
/****************************************************************************** Asynchronously/Selector managed DHT GetAllFilter request class Sends the received key/value pairs to the provided output delegate. Copyright: Copyright (c) 2011-2017 dunnhumby Germany GmbH. All rights reserved. L...
D
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Logging.build/PrintLogger.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/console/Sources/Logging/LogLevel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/console/Sources/...
D
in a lurid manner
D
prototype Mst_Default_Addon_Alligator(C_Npc) { name[0] = "Аллигатор"; guild = GIL_Alligator; aivar[AIV_MM_REAL_ID] = ID_Alligator; level = 12; attribute[ATR_STRENGTH] = 40; attribute[ATR_DEXTERITY] = 40; attribute[ATR_HITPOINTS_MAX] = 80; attribute[ATR_HITPOINTS] = 80; attribute[ATR_MANA_MAX] = 0; attribute[...
D
/** * C's &lt;math.h&gt; * Authors: Walter Bright, Digital Mars, www.digitalmars.com * License: Public Domain * Macros: * WIKI=Phobos/StdCMath */ module mystd.c.math; public import core.stdc.math;
D
/* * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved. * * 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/...
D
/** URL parsing routines. Copyright: © 2012 rejectedsoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module dub.internal.vibecompat.inet.url; public import dub.internal.vibecompat.inet.path; version (Have_vibe_d) public import v...
D
// ************************ EXIT ************************** INSTANCE DIA_SLD_709_Cord_Exit (C_INFO) { npc = SLD_709_Cord; nr = 999; condition = DIA_SLD_709_Cord_Exit_Condition; information = DIA_SLD_709_Cord_Exit_Info; important = 0; permanent = 1; description = DIALOG_ENDE; }; FUNC...
D
/////////////////////////////////////////////////////////////////////// // Info EXIT /////////////////////////////////////////////////////////////////////// INSTANCE DIA_Carl_EXIT (C_INFO) { npc = VLK_461_Carl; nr = 999; condition = DIA_Carl_EXIT_Condition; information = DIA_Carl_EXIT_Info; p...
D
/* Copyright (c) 2007 CSIRO Copyright (c) 2007-2008 Xiph.Org Foundation Written by Jean-Marc Valin */ /* 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...
D
instance DIA_Buster_EXIT(C_Info) { npc = SLD_802_Buster; nr = 999; condition = DIA_Buster_EXIT_Condition; information = DIA_Buster_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Buster_EXIT_Condition() { if(Kapitel < 3) { return TRUE; }; }; func void DIA_Buster_EXIT_Info() { AI_...
D
module app; private import TestWindow; private import TestTreeView1; private import TestTreeView; private import TestThemes; private import TestText; private import TestStock; private import TestScales; private import TestImage; private import TestIdle; private import TestEntries; private import TestDrawingArea; priva...
D
/** * Copyright © 2018 - 2019 Sergei Iurevich Filippov, All Rights Reserved. * * 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 * * Un...
D
vt$ier (6) --- report error in VTH initialization file 07/11/84 | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n integer function vt$ier (msg, name, line, fd) character msg (ARB), name (ARB), line (ARB) file_des fd | ...
D
/** * Forms the symbols available to all D programs. Includes Object, which is * the root of the class object hierarchy. This module is implicitly * imported. * Macros: * WIKI = Object * * Copyright: Copyright Digital Mars 2000 - 2011. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Lice...
D