code
stringlengths
3
10M
language
stringclasses
31 values
import std.stdio; import std.math; bool isPrime(int n) { for(int i=2; i <= cast(int)sqrt(cast(double)n); i++) { if (n % i == 0) return false; } return true; } int largestPrimeFactor() { long n = 600851475143; int max = 0; for (int i=2; i<cast(int)sqrt(cast(double)n); i++) { if (n % i == 0) { if ...
D
/** * TypeInfo support code. * * Copyright: Copyright Digital Mars 2004 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Walter Bright */ /* Copyright Digital Mars 2004 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See...
D
import test19746a; class Qux: Bar { }
D
instance BDT_1072_Addon_Logan (Npc_Default) { // ------ NSC ------ name = "Logan"; guild = GIL_BDT; id = 1072; voice = 10; flags = 0; npctype = NPCTYPE_MAIN; //aivars aivar[AIV_NewsOverride] = TRUE; // ------ Attribute ------ B_SetAttributesToChapter (self, 3); // ------ Kampf-Taktik ---...
D
/** * Does the semantic 1 pass on the AST, which looks at symbol declarations but not initializers * or function bodies. * * 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.bo...
D
/** libevent based driver Copyright: © 2012-2013 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.drivers.libevent2; version(VibeLibeventDriver) { import vibe.core.driver; import vibe.core.drivers.libeve...
D
/* TEST_OUTPUT: ---- fail_compilation/ice12727.d(16): Error: alias ice12727.IndexTuple!(1, 0).IndexTuple recursive alias declaration fail_compilation/ice12727.d(23): Error: template instance ice12727.IndexTuple!(1, 0) error instantiating fail_compilation/ice12727.d(27): instantiated from here: Matrix!(float, 3) ...
D
module org.serviio.library.search.IndexFields; import java.lang.String; public abstract interface IndexFields { public static immutable String ID = "id"; public static immutable String ENTITY_ID = "entityId"; public static immutable String CDS_OBJECT_ID = "cdsObjectId"; public static immutable String ...
D
instance VLK_421_Valentino(Npc_Default) { name[0] = "Валентино"; guild = GIL_VLK; id = 421; voice = 23;//3; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,3); fight_tactic = FAI_HUMAN_NORMAL; EquipItem(self,ItMw_1h_Vlk_Mace); CreateInvItems(self,ItMi_Gold,200); CreateInvItems(self,ItKe_Val...
D
module dau.gui.manager; import dau.setup; import dau.input; import dau.sound; import dau.gui.element; import dau.gui.tooltip; import dau.gui.data; import dau.geometry.all; import dau.graphics.cursor; class GUIManager { this() { auto data = getGUIData("dauGUIDefaults"); _clickSound = ("clickSound" in data) ?...
D
import std.array; import std.conv; import std.exception; import std.stdio; import std.string; import google.protobuf; import tutorial.addressbook; /// This function fills in a Person message based on user input. Person promptForAddress() { auto person = new Person; write("Enter person ID number: "); readf...
D
/Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Single.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/Observables...
D
in a fluent manner
D
/* * Copyright (C) 2004-2007 by Digital Mars, www.digitalmars.com * Written by Walter Bright * * 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
// URL: https://yukicoder.me/problems/no/668 import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string; import std.conv, std.format; version(unittest) {} else void main() { string N; io.getV(N); int a = N[0..2].to!int; if (N[2] >= '5') ++a; if (a == 100) io.put(format("...
D
module android.java.java.security.Principal_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import1 = android.java.java.lang.Class_d_interface; import import0 = android.java.javax.security.auth.Subjec...
D
/home/drees/Code/Caelum/bet-contract/target/debug/deps/libthiserror_impl-3fd4ae840ee24805.so: /home/drees/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/lib.rs /home/drees/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/ast.rs /home/drees/.cargo/registry/src/github.c...
D
instance VLK_424_ALWIN(NPC_DEFAULT) { name[0] = "Алвин"; guild = GIL_VLK; id = 424; voice = 12; flags = 0; npctype = NPCTYPE_MAIN; aivar[AIV_TOUGHGUY] = TRUE; b_setattributestochapter(self,3); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,itmw_1h_vlk_axe); b_createambientinv(self); b_setnpcvisual(self,MA...
D
/home/ankit/pandora/substrate-node-template/target/release/deps/unicode_width-b72199703ba264b4.rmeta: /home/ankit/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.8/src/lib.rs /home/ankit/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.8/src/tables.rs /home/ankit/pandora/substrate-no...
D
// Written in the D programming language. /** * This module defines an Abstract Syntax Tree for the D language * * Examples: * --- * // TODO * --- * * Copyright: Brian Schott 2013 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt Boost, License 1.0) * Authors: Brian Schott */ module dparse.ast; impo...
D
/// Minimalistic low-overhead wrapper for nodejs/http-parser /// Used for benchmarks with simple server module utils.http_parser; private: import std.range.primitives; import core.stdc.string; alias http_data_cb = extern(C) int function (http_parser*, const ubyte *at, size_t length); alias http_cb = extern(C) int fu...
D
instance DIA_Haupttorwache_EXIT(C_Info) { npc = VLK_4143_HaupttorWache; nr = 999; condition = DIA_Haupttorwache_EXIT_Condition; information = DIA_Haupttorwache_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Haupttorwache_EXIT_Condition() { return TRUE; }; func void DIA_Haupttorwache_...
D
# FIXED ICallBLE/ble_dispatch_lite.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/icall/stack/ble_dispatch_lite.c ICallBLE/ble_dispatch_lite.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/osal/src/inc/osal_snv.h ICallBLE/ble_dispatch_lite.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00...
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_21_MobileMedia...
D
INSTANCE Mod_556_NOV_Theodor_NW (Npc_Default) { // ------ NSC ------ name = "Novize"; guild = GIL_VLK; id = 556; voice = 13; flags = 0; npctype = NPCTYPE_nw_feuernovize; B_SetAttributesToChapter (self, 2); fight_tactic = FAI_HUMAN_COWARD; aivar[AIV_MagicUser] = MAGIC_ALWAYS; EquipI...
D
/Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/RunnerLib.build/SPMDanger.swift.o : /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/swift/Sources/RunnerLib/DangerCommand.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/swift/Sources/RunnerLib/Runtime....
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/davefol/punts/rust/competitive-programming-in-rust/codeforces/149_div2/B_Big_Segment/target/debug/deps/template-6cc8aa51f936b7c6.rmeta: src/main.rs /Users/davefol/punts/rust/competitive-programming-in-rust/codeforces/149_div2/B_Big_Segment/target/debug/deps/template-6cc8aa51f936b7c6.d: src/main.rs src/main.rs:...
D
/Users/jaison/Documents/Drive/custom-api/.build/debug/JSON.build/JSONRepresentable.swift.o : /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/jaison/Documents/Drive/custom-api/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/jaison/Documents/Drive/custom-api/Packages/J...
D
// REQUIRED_ARGS: // PERMUTE_ARGS: -mcpu=native -inline -O version (D_SIMD) { import core.simd; import core.stdc.stdio; import core.stdc.string; alias TypeTuple(T...) = T; /*****************************************/ // https://issues.dlang.org/show_bug.cgi?id=16087 static if (__traits(compiles, void8)) static as...
D
/** * MediaInfoDLL - All info about media files, for DLL (JNA version) * * Copyright (C) 2009-2009 Jerome Martinez, Zen@MediaArea.net * * 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 Foundati...
D
/Users/KatiaHajjar/Documents/WhereAtV2/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/Permission.o : /Users/KatiaHajjar/Documents/WhereAtV2/Pods/FacebookCore/Sources/Core/Common/AccessToken.swift /Users/KatiaHajjar/Documents/WhereAtV2/Pods/FacebookCore/Sources/Core/AppEvents/AppEvent.Bu...
D
unittest { import std.stdio : writeln; auto calculate(string op, T)(T lhs, T rhs) { return mixin("lhs " ~ op ~ " rhs"); } // pass the operation to perform as a // template parameter. assert(calculate!"+"(5,12) == 17); assert(calculate!"-"(10,8) == 2); assert(calculate!"*"...
D
// Copyright © 2012, Jakob Bornecrantz. All rights reserved. // See copyright notice in src/charge/charge.d (GPLv2 only). module charge.game.dcpu.cpu; import lib.gl.gl; import lib.dcpu.dcpu; /** * Info struct for attached hw. */ struct DcpuHwInfo { uint id; uint manufacturer; ushort ver; ushort index; } /**...
D
// Compiler implementation of the D programming language // Copyright (c) 1999-2016 by Digital Mars // All Rights Reserved // written by Walter Bright // http://www.digitalmars.com // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt module ddmd.dinterpret; import core...
D
/** * */ module hunt.wechat.bean.card.update.AbstractUpdate; //import com.alibaba.fastjson.annotation.JSONField; /** * 微信卡券-卡券管理-更改卡券信息接口-请求参数-抽象类 * * */ abstract class AbstractUpdate { /** * 卡券ID,必填 */ @JSONField(name = "card_id") private string cardId; /** * @return 卡券ID ...
D
int INF = 1 << 30; int N, H; int[] w, h; int[][] dp; void main() { auto ip = readAs!(int[]); N = ip[0], H = ip[1]; foreach(_; 1..N) { auto ip2 = readAs!(int[]), a = ip2[0], b = ip2[1]; w ~= a; h ~= b; } if(h.sum < H) { writeln(-1); return; } dp = new int[][](N+1, H+1001); foreach(ref i; dp) i[] = INF; ...
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 picture; import dgui.all; class MainForm: Form { private PictureBox _pict; public this() { this.text = "DGui Picture Box Text"; this.size ...
D
/** The context the translation happens in, to avoid global variables */ module dpp.runtime.context; alias LineNumber = size_t; // A function or global variable struct Linkable { LineNumber lineNumber; string mangling; } /** Context for the current translation, to avoid global variables */ struct Co...
D
// htslib-1.7 hts.h as D module // Changes include: // In D, const on either LHS or RHS of function declaration applies to the function, not return value, unless parents included: // changed ^const <type> <fnname> to ^const(<type>) <fnname> module hts; import std.bitmanip; import bgzf; extern (C): /// @file htslib/h...
D
/* Copyright © 2019 Clipsey & Anego Studios 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 dis...
D
module dgl.ext.EXT_texture_buffer_object; import dgl.opengl; import dgl.glext; version( D_Version2 ) { import std.string : containsPattern = count; import std.conv; } else { import tango.text.Util : containsPattern; import tango.stdc.stringz : fromStringz; alias char[] string; } private ushort extensionId__ = ...
D
instance BDT_1047_Bandit_L(Npc_Default) { name[0] = NAME_Bandit; guild = GIL_BDT; id = 1047; voice = 10; flags = 0; npcType = NPCTYPE_AMBIENT; aivar[AIV_EnemyOverride] = TRUE; B_SetAttributesToChapter(self,1); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1h_Bau_Mace); B_CreateAmbientInv(self); B_Se...
D
/******************************************************************************* D language bindings for libsodium's crypto_stream_salsa20.h License: ISC (see LICENSE.txt) *******************************************************************************/ module libsodium.crypto_stream_salsa20; @nogc nothrow:...
D
/Users/shawngong/Centa/.build/debug/TurnstileWeb.build/LoginProviders/Facebook.swift.o : /Users/shawngong/Centa/Packages/Turnstile-1.0.5/Sources/TurnstileWeb/URLSession+Turnstile.swift /Users/shawngong/Centa/Packages/Turnstile-1.0.5/Sources/TurnstileWeb/WebMemoryRealm.swift /Users/shawngong/Centa/Packages/Turnstile-1.0...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1...
D
/Users/ins/Documents/Code/rust-study/todo-cli/target/rls/debug/deps/serde_json-0e2f921f2afed9f3.rmeta: /Users/ins/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde_json-1.0.64/src/lib.rs /Users/ins/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/serde_json-1.0.64/src/macros.rs /Users/ins/.cargo/re...
D
/** * Provides a visitor for statements that allows rewriting the currently visited node. * * 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, ...
D
// SPDX-License-Identifier: MIT import std.stdio; /** * 这是一段非 ascii 字符 */ void main() { writeln("\"Hello, World//\""); /* hello world */ }
D
/Users/Arifeen/Documents/WebView/DerivedData/webView/Build/Intermediates.noindex/webView.build/Debug-iphonesimulator/webView.build/Objects-normal/x86_64/ViewController.o : /Users/Arifeen/Documents/WebView/webView/AppDelegate.swift /Users/Arifeen/Documents/WebView/webView/ViewController.swift /Applications/Xcode\ 11.4.a...
D
/Users/Lorenzo/Desktop/EO18_2/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxNavigation.build/Objects-normal/x86_64/Error.o : /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxNavigation/MapboxNavigation/ImageDownload.swift /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxNavigation/MapboxNavigation/GenericRouteShield.swift...
D
const string Topic_Addon_Logan = "Swamp shark hunt"; const string Topic_Addon_Stoneplate = "The stone tablet in the swamp"; const string Topic_Addon_Franco = "Forward (into the bandit camp)"; const string Topic_Addon_Senyan = "A fatal situation"; const string Topic_Addon_Esteban = "Attempted murder"; const string Topi...
D
// URL: https://atcoder.jp/contests/abc138/tasks/abc138_a import std; version(unittest) {} else void main() { int a; io.getV(a); string s; io.getV(s); io.putB(a >= 3200, s, "red"); } auto io = IO!()(); import lib.io;
D
import std.stdio; import rethinkdb; import std.json; void main() { auto sess = new Session("localhost", 28015); // sess.protocol = Protocol.PROTOBUF; sess.open(); if(sess.handshake()) { writeln("Handshake sucessful"); auto res = R.db("blog").table("users").filter(["name": "Michel"]).run(sess); r...
D
/Users/kirstenrichard/Desktop/substrate-moloch-dao/target/release/deps/kvdb-a6ad7b1d2b02f5dd.rmeta: /Users/kirstenrichard/.cargo/registry/src/github.com-1ecc6299db9ec823/kvdb-0.6.0/src/lib.rs /Users/kirstenrichard/.cargo/registry/src/github.com-1ecc6299db9ec823/kvdb-0.6.0/src/io_stats.rs /Users/kirstenrichard/Desktop/...
D
module gfm.math.rational; import std.traits, std.string; /** A rational number, always in reduced form. Supports basic arithmetic. Bugs: Remove this module once std.rational is here. */ align(1) struct Rational { align(1): public { long num; /// Numerator. long denom...
D
module amazon.ion.logger; import std.datetime; import core.thread; enum Verbosity { Debug = 0, Info = 1, Error = 2 }; import std.array, std.format; static shared Logger _ionLogger; void INFO(string format, string file = __MODULE__, int line = __LINE__, A...)(lazy A args) @trusted { if (_ionLogger.__...
D
informal terms for insanity the quality of being rash and foolish foolish or senseless behavior
D
/** * Copyright © Novelate 2020 * License: MIT (https://github.com/Novelate/NovelateEngine/blob/master/LICENSE) * Author: Jacob Jensen (bausshf) * Website: https://novelate.com/ * ------ * Novelate is a free and open-source visual novel engine and framework written in the D programming language. * It can be used freely...
D
/Users/apple/DailySchedule/step2/os/target/debug/deps/lazy_static-26b45abc920ebf2f.rmeta: /Users/apple/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lazy_static-1.4.0/src/lib.rs /Users/apple/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lazy_static-1.4.0/src/core_lazy.rs /Users/apple/DailySchedul...
D
capable of existing or taking place or proving true
D
instance DIA_PAL_7518_RITTER_EXIT(C_Info) { npc = pal_7518_ritter; nr = 999; condition = dia_pal_7518_ritter_exit_condition; information = dia_pal_7518_ritter_exit_info; permanent = TRUE; description = Dialog_Ende; }; func int dia_pal_7518_ritter_exit_condition() { return TRUE; }; func void dia_pal_7518_ritt...
D
/* * Copyright (c) 2006-2011 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 ecs.entities.entity; @safe struct EntityID { import std.typecons; private ulong id; mixin Proxy!id; this(ulong id) { this.id = id; } bool opEquals()(auto ref const EntityID other) const { return id == other.id; } }
D
/Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Young心理.build/Debug-iphonesimulator/Young心理.build/Objects-normal/x86_64/AppDelegate.o : /Users/mac/Desktop/Young心理/Young心理/AppDelegate.swift /Users/mac/Desktop/Young心理/Young心理/ViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/Xc...
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module Metafile; import core.memory; import core.runtime; import core.thread; import std.conv; import std.math; import std.range; import std.string; import std.utf; pragma(lib, "gdi32.lib"); pragma(lib, "...
D
// Written in the D programming language. /** * Encode and decode UTF-8, UTF-16 and UTF-32 strings. * * For Win32 systems, the C wchar_t type is UTF-16 and corresponds to the D * wchar type. * For linux systems, the C wchar_t type is UTF-32 and corresponds to * the D utf.dchar type. * * UTF character support i...
D
// ************************************************************************************************ // Wirkung und Kosten von Tränken // ************************************************************************************************ // Heilung const int Value_hpEssenz = 50; const int hp_Essenz = 50; const int Va...
D
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTPCompression.build/HTTPCompression.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio-extras/Sources/NIOHTTPCompression/HTTPCompression.swift /Users/sadi...
D
/** * Implementation of support routines for synchronized blocks. * * Copyright: Copyright Digital Mars 2000 - 2011. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Walter Bright, Sean Kelly */ /* Copyright Digital Mars 2000 - 2011. * Distributed under th...
D
/Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/x86_64-apple-macosx/release/NIOConcurrencyHelpers.build/atomics.swift.o : /Users/victorbaleeiro/git/github/victor/site/victor-baleeiro-site/.build/checkouts/swift-nio/Sources/NIOConcurrencyHelpers/lock.swift /Users/victorbaleeiro/git/github/victor...
D
module org.serviio.upnp.protocol.ssdp.SSDPConstants; import java.lang.String; import java.lang.System; import org.serviio.MediaServer; public class SSDPConstants { public static immutable String SERVER; public static immutable String DEFAULT_MULTICAST_HOST = "239.255.255.250"; public static immutable int ...
D
/** * Compiler implementation of the * $(LINK2 http://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1999-2018 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, Bo...
D
D : +-D.Module : +-D.DeclDefs : void +-D.DeclDef : void +-D.Declaration : void +-D.Decl : void +-D.basicFunction : void +-D.BasicType : void | +-D.BasicTypeX : void +-D.Declarator : void | ...
D
/** Horizontal list Copyright: (c) Enalye 2017 License: Zlib Authors: Enalye */ module atelier.ui.list.hlist; import std.conv : to; import atelier.core, atelier.render, atelier.common; import atelier.ui.gui_element, atelier.ui.container, atelier.ui.slider; private final class ListContainer : GuiElem...
D
INSTANCE Info_Mod_Xardas_NW_Hallo (C_INFO) { npc = Mod_513_DMB_Xardas_NW; nr = 1; condition = Info_Mod_Xardas_NW_Hallo_Condition; information = Info_Mod_Xardas_NW_Hallo_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_NW_Hallo_Condition() { if (HeroIstKeinZombie == TRUE) { return 1; }; }; ...
D
/** * D header file for POSIX. * * Copyright: Copyright David Nadlinger 2011. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: David Nadlinger, Sean Kelly, Alex Rønne Petersen * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* ...
D
module deimos.surfi.callback; private import deimos.surfi.surfi; extern(C) { void surfi_client_set_callback_close_web_view(SurfiClient* client, bool function(SurfiClient* client) callback); void surfi_client_set_callback_console_message(SurfiClient* client, bool function(SurfiClient* client, c...
D
/** * Authors: The D DBI project * Copyright: BSD license */ module dbi.mysql.Mysql; version (dbi_mysql) { import tango.stdc.stringz : toDString = fromStringz, toCString = toStringz; import TextUtil = tango.text.Util; import Ascii = tango.text.Ascii; import Integer = tango.text.convert.Integer; import Float = tan...
D
module raft.Storage; import protocol.Msg; import zhang2018.common.Log; import raft.Util; enum ErrCompacted = "requested index is unavailable due to compaction"; enum ErrSnapOutOfDate = "requested index is older than the existing snapshot"; enum ErrUnavailable = "requested entry at index is unavailable"; enum ErrSna...
D
/** * Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved. * Authors: Jacob Carlborg * Version: Initial created: Jan 16, 2011 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) */ module dvm.dvm.Wrapper; import std.format : format; import dvm.dvm.ShellScript; impor...
D
module srl.MainForm; private import std.stdio; private import dfl.all; private import srl.IView; private import srl.Model; private import srl.OutputType; public class MainForm : Form, IView { private Model model; private Panel titlePanel; private Panel mainPanel; private Panel paddingUpperPanel; private Pa...
D
instance MENU_LOG(C_MENU_DEF) { items[0] = "MENU_ITEM_SEL_MISSIONS_ACT"; items[1] = "MENU_ITEM_SEL_MISSIONS_OLD"; items[2] = "MENU_ITEM_SEL_MISSIONS_FAILED"; items[3] = "MENU_ITEM_SEL_LOG"; items[4] = "MENU_ITEM_DAY_TITLE"; items[5] = "MENU_ITEM_TIME_TITLE"; items[6] = "MENU_ITEM_DAY"; items[7] = "MENU_ITEM_TI...
D
/** Utilities used by tsv-utils applications. InputFieldReordering, BufferedOututRange, and a several others. Utilities in this file: $(LIST * [InputFieldReordering] - A class that creates a reordered subset of fields from an input line. Fields in the subset are accessed by array indicies. This is espe...
D
// Copyright (c) 1999-2012 by Digital Mars // All Rights Reserved // written by Walter Bright // http://www.digitalmars.com // License for redistribution is by either the Artistic License // in artistic.txt, or the GNU General Public License in gnu.txt. // See the included readme.txt for details. module entity; impo...
D
/Users/wox/Desktop/ios11/Weapons/DerivedData/Weapons/Build/Intermediates.noindex/SwiftMigration/Weapons/Intermediates.noindex/Weapons.build/Debug-iphonesimulator/Weapons.build/Objects-normal/x86_64/NaviExt.o : /Users/wox/Desktop/ios11/Weapons/Weapons/AppDelegate.swift /Users/wox/Desktop/ios11/Weapons/Weapons/CardCell.s...
D
/* * hunt-amqp: AMQP library for D programming language, based on hunt-net. * * Copyright (C) 2018-2019 HuntLabs * * Website: https://www.huntlabs.net * * Licensed under the Apache-2.0 License. * */ module hunt.amqp.impl.ProtonConnectionImpl; import hunt.Exceptions; import hunt.amqp.ProtonConnection; import h...
D
module android.java.android.net.wifi.p2p.nsd.WifiP2pUpnpServiceRequest; public import android.java.android.net.wifi.p2p.nsd.WifiP2pUpnpServiceRequest_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!WifiP2pUpnpServiceRequest; import import1 = android.java.android.net.wifi.p2p.nsd.WifiP2pService...
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distributed in th...
D
/Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Sockets.build/TCP/TCPReadableSocket.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/sockets.git-972942978533733666/Sources/Sockets/Address/Address+C.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/sockets.git-97294...
D
import vibe.d; import std.string: format; import std.traits: ReturnType; import std.algorithm: countUntil; import contentprovider; /++ Main entry point for user visible content +/ class WebInterface { private { ContentProvider contentProvider_; alias Toc = ReturnType!(ContentProvider.getTOC); Toc[string] toc...
D
module vpe.raw; public { import vpe.raw.shader; import vpe.raw.program; import vpe.raw.polygon; import vpe.raw.texture; import vpe.raw.ttf; import vpe.internal; } synchronized class SynQueue(T) { void push(T val) shared { buf[t] = cast(shared T) val; t = (t + 1) % buf.length; } bool pop(ref T val) share...
D
instance DIA_Addon_Sancho_EXIT(C_Info) { npc = BDT_1073_Addon_Sancho; nr = 999; condition = DIA_Addon_Sancho_EXIT_Condition; information = DIA_Addon_Sancho_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Addon_Sancho_EXIT_Condition() { return TRUE; }; func void DIA_Addon_Sancho_EXIT_I...
D
/* TEST_OUTPUT: --- fail_compilation/ice14844.d(20): Error: template opDispatch(string name) has no members --- */ struct Typedef { template opDispatch(string name) { static if (true) { } } } void runUnitTestsImpl() { auto x = [__traits(allMembers, Typedef.opDispatch)]; }
D
// This file is hand mangled of a ODE header file. // See copyright in src/ode/ode.d (BSD). module lib.ode.collision_trimesh; import lib.ode.common; enum { TRIMESH_FACE_NORMALS }; alias void* dTriMeshDataID; extern(C) { alias int dTriCallback(dGeomID TriMesh, dGeomID RefObject, int TriangleIndex); alias void dTr...
D
// Written in the D programming language. /** This module defines the notion of a range. Ranges generalize the concept of arrays, lists, or anything that involves sequential access. This abstraction enables the same set of algorithms (see $(LINK2 std_algorithm.html, std.algorithm)) to be used with a vast variety of di...
D
/Users/Natalia/FunChatik/Jenkins/build/Build/Intermediates.noindex/FunChatik.build/Debug-iphonesimulator/FunChatik.build/Objects-normal/x86_64/UserDataService.o : /Users/Natalia/FunChatik/FunChatik/Controller/ProfileVC.swift /Users/Natalia/FunChatik/FunChatik/Controller/ChannelVC.swift /Users/Natalia/FunChatik/FunChati...
D
// @@@DEPRECATED_2022-02@@@ /** $(RED Deprecated. Use `core.sys.windows.sqlext` instead. This module will be removed in February 2022.) Declarations for interfacing with the ODBC library. See_Also: $(LINK2 https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/odbc-api-reference, ODBC API Refer...
D
import reggae; import std.typecons; enum commonUtFlags = "-g -debug -cov"; alias ut = dubTestTarget!(CompilerFlags(commonUtFlags), LinkerFlags(), CompilationMode.package_); mixin build!(ut);
D
module gfm.math; public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.quaternion, gfm.math.shapes, gfm.math...
D