code
stringlengths
3
10M
language
stringclasses
31 values
// This source code is in the public domain. // An example of a Singleton written in the D language import std.stdio; void main() { DSingleton singleton, singleton2, singleton3; writeln("\nInstantiating...\n"); singleton = singleton.get(); writeln("First singleton instantiated.\n"); singleton2 = singleton.g...
D
module gargula.resource.sound; import flyweightbyid; import gargula.wrapper.raylib; template SoundResource(string[] _files) { static immutable files = _files; enum filenames = _files; Sound load(uint id) in { assert(id < files.length); } do { return LoadSound(cast(const char*) files[...
D
/** * D header file for C99. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>. * Authors: Sean Kelly * Standards: ISO/IEC 9899:1999 (E) */ /* Copyright Sean Kelly 2005 - 2009. * Distributed under the Boost Software Lic...
D
/++ The Poll plugin offers the ability to hold votes/polls in a channel. Any number of choices is supported, as long as they're more than one. Cheating by changing nicknames is warded against. See_Also: https://github.com/zorael/kameloso/wiki/Current-plugins#poll, [kameloso.plugins.com...
D
module app.model.HelloMessage; class HelloMessage { string name; }
D
/Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/DateFormatterTransform.o : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/ObjectMa...
D
an upward slope or grade (as in a road software that provides better performance than an earlier version did a reservation that is improved the property possessed by a slope or surface that rises hardware that provides better performance than an earlier version did the act of improving something (especially machinery) ...
D
header xxsys - XXRT system definitions ; XXDP device description (*Vsydev) type xxTdev is Anam : [2] char ; no terminator Vuni : char ; ascii unit Vmed : char ; media code end ; XXRT IOB (*Vsyiob) xx_iob : (*void) *void ; convert pointer to drcsr to drbuf type xxTiob is Vdrbuf : word ; dr.buf - -...
D
// REQUIRED_ARGS: -vgc -o- // PERMUTE_ARGS: /* TEST_OUTPUT: --- compilable/vgc1.d(93): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` instead. compilable/vgc1.d(94): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` instead. compilable/vgc1.d(95): Deprecatio...
D
Generated_Code/PTA_c.obj: \ C:/Users/CLAVERGNE/blabla/ProjetB3_02/Project_Headers/../Generated_Code/PTA.c \ C:/Users/CLAVERGNE/blabla/ProjetB3_02/Generated_Code/PTA.h \ C:/Users/CLAVERGNE/blabla/ProjetB3_02/Generated_Code/PE_Types.h \ C:/Users/CLAVERGNE/blabla/ProjetB3_02/Generated_Code/PE_Error.h \ C:/User...
D
module demu.emulator.debugger; import demu.emulator.machine; import demu.emulator.parts.processor; enum BreakReason { Unknown, Breakpoint, HaltInstruction, IllegalOpcode, IllegalAddress } class Debugger { this() { } bool BeginStep(Processor proc, uint pc) { return false; } ...
D
/* * Copyright 2021 Coverify Systems Technology * * 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 ...
D
/Users/marvinevins/Library/Autosave\ Information/GroceryListCoreDataRedone/DerivedData/GroceryListCoreDataRedone/Build/Intermediates.noindex/GroceryListCoreDataRedone.build/Debug-iphonesimulator/GroceryListCoreDataRedone.build/Objects-normal/x86_64/GroceryListCoreDataRedone+CoreDataModel.o : /Users/marvinevins/Library/...
D
import std.conv; import std.stdio; import std.file; import std.datetime; import std.string; import std.getopt; import std.utf; import searcher; void main(string[] args) { string index_path, text_path; int skip; enum Details { none, docs, all } Details details = Details.none; getopt(args, "i|index", ...
D
instance VLK_446_JESPER(NPC_DEFAULT) { name[0] = "Джеспер"; guild = GIL_OUT; id = 446; voice = 9; flags = 0; npctype = NPCTYPE_MAIN; aivar[AIV_DROPDEADANDKILL] = TRUE; aivar[AIV_ENEMYOVERRIDE] = TRUE; b_setattributestochapter(self,3); fight_tactic = FAI_HUMAN_NORMAL; EquipItem(self,itmw_1h_sld_sword); b_cr...
D
# FIXED drivers/rgb.obj: C:/ti/TivaWare_C_Series-2.1.4.178/examples/boards/ek-tm4c123gxl/drivers/rgb.c drivers/rgb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/stdint.h drivers/rgb.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.LTS/include/sys/stdint.h drivers/rgb.obj: C:/ti/ccsv8/tools/compiler/ti...
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; void main() { auto N = readln.chomp.to!int; auto ss = readln.split.to!(int[]); auto as = readln.split.to!(int[]); int max_p; foreach (i; 0..N) max_p = max(max_p, ss[i] * as[i]); writeln(max_p)...
D
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/UILayoutSupport+Extensions.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/...
D
// // Copyright yutopp 2015 - . // // 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 mind.parsing; import mind.utility; struct ParseResult(Attr) { bool successful; Attr attr; } // auto parse(...
D
import std.file; import std.path; import git.blob; import git.checkout; import git.commit; import git.index; import git.merge; import git.oid; import git.repository; import git.signature; import git.tree; import git.types; pragma(lib, "git2"); GitTree addDir(ref GitRepo repo, string path) { auto tb = createTreeBuil...
D
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQL.build/SQLSerializable.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/sql.git--1773354893095289533/Sources/SQL/SQLBind.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/sql.git--1773354893095289533/Sources/SQL...
D
/******************************************************************************* An IReregistrator instance is used in certain IRequest subclasses to reassign a request to the next node if the current node failed. Copyright: Copyright (c) 2012-2017 sociomantic labs GmbH. All rights reserved. ...
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
module godot.vboxcontainer; 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.boxcontainer; @GodotBaseClass struct VBoxContainer { static immutable string _GODOT_int...
D
/// Generate by tools module org.apache.http.impl.DefaultHttpClientConnection; import java.lang.exceptions; public class DefaultHttpClientConnection { public this() { implMissing(); } }
D
/** * Serenity Web Framework * * document/Document.d: Base class for all documents in Serenity * * Authors: Robert Clipsham <robert@octarineparrot.com> * Copyright: Copyright (c) 2010, 2011, Robert Clipsham <robert@octarineparrot.com> * License: New BSD License, see COPYING */ module serenity.document.Document...
D
/Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/RequestInterceptor.o : /Users/bugsbunny/Desktop/Programming/Swift/Codepath/Parstagram/Pods/Alamofire/Source/MultipartFormData.swift /Users/bugsbunny/Desktop/Programmi...
D
instance TPL_1437_TEMPLER(NPC_DEFAULT) { name[0] = NAME_TEMPLER; npctype = NPCTYPE_MAIN; guild = GIL_TPL; level = 17; flags = 0; voice = 13; id = 1437; attribute[ATR_STRENGTH] = 85; attribute[ATR_DEXTERITY] = 65; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 244; att...
D
module android.java.java.io.OutputStreamWriter; public import android.java.java.io.OutputStreamWriter_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!OutputStreamWriter; import import3 = android.java.java.io.Writer; import import5 = android.java.java.lang.Appendable; import import6 = android.j...
D
/home/hustccc/OS_Tutorial_Summer_of_Code/Rust_Learning_Code/csv_challenge/target/release/deps/proc_macro2-3a6019d8e2b75c3e.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro2-0.4.30/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro2-0.4.30...
D
/** * * THIS FILE IS AUTO-GENERATED BY ./parse_specs.d FOR MCU atmega16hvbrevb WITH ARCHITECTURE avr5 * */ module avr.specs.specs_atmega16hvbrevb; enum __AVR_ARCH__ = 5; enum __AVR_ASM_ONLY__ = false; enum __AVR_ENHANCED__ = true; enum __AVR_HAVE_MUL__ = true; enum __AVR_HAVE_JMP_CALL__ = true; enum __AVR_MEGA__...
D
rdnat (1) --- perform the natural join of two relations 07/01/82 | _U_s_a_g_e | rdnat | _D_e_s_c_r_i_p_t_i_o_n | 'Rdnat' is part of the toy relational data base system, | 'rdb'. It creates a new relation by perfo...
D
func void b_checkpftinpresence(var int level) { if(level != CurrentLevel) { CHECKPFT = FALSE; } else { CHECKPFT = TRUE; }; }; instance DIA_OWPAL_4_EXIT(C_Info) { nr = 999; condition = DIA_OWPAL_4_EXIT_Condition; information = DIA_OWPAL_4_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; fun...
D
/** * D header file for DragonFlyBSD. * * Authors: Diederik de Groot(port:DragonFlyBSD) * Copied: From core/sys/freebsd/sys */ module core.sys.dragonflybsd.sys.elf; version (DragonFlyBSD): public import core.sys.dragonflybsd.sys.elf32; public import core.sys.dragonflybsd.sys.elf64;
D
/** * LV2 Client implementation * * Copyright: Ethan Reker 2018-2019. * Guillaume Piolat 2019. * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) */ /* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, ...
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_8_agm-38821544...
D
/// Misc utility module module genPackageVersion.util; import std.stdio; import scriptlike.only; string outPackageName = null; /// Main cmd line argument to 'gen-package-version' string outModuleName = "packageVersion"; /// --module=... string projectSourcePath = null; /// --src=... string rootP...
D
/Users/vb/dev/near5challenge/contract/target/release/build/wee_alloc-bfbb50b9833bcb0b/build_script_build-bfbb50b9833bcb0b: /Users/vb/.cargo/registry/src/github.com-1ecc6299db9ec823/wee_alloc-0.4.5/build.rs /Users/vb/dev/near5challenge/contract/target/release/build/wee_alloc-bfbb50b9833bcb0b/build_script_build-bfbb50b9...
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_0_MobileMedia-...
D
/* EPANET 3 * * Copyright (c) 2016 Open Water Analytics * Distributed under the MIT License (see the LICENSE file for details). * */ module epanet.core.network; import epanet.core.options; import epanet.core.error; import epanet.core.units; import epanet.core.qualbalance; import epanet.elements.element; import ep...
D
/Users/kidboy/Programming/github.com/learn_programming/rust/http-request/target/rls/debug/deps/adler32-a7b6e2cae8b3203a.rmeta: /Users/kidboy/.cargo/registry/src/github.com-1ecc6299db9ec823/adler32-1.2.0/src/lib.rs /Users/kidboy/Programming/github.com/learn_programming/rust/http-request/target/rls/debug/deps/adler32-a7...
D
/Users/pnewling/Desktop/flixster/DerivedData/Build/Intermediates.noindex/flixster.build/Debug-iphonesimulator/flixster.build/Objects-normal/x86_64/ViewController.o : /Users/pnewling/Desktop/flixster/flixster/AppDelegate.swift /Users/pnewling/Desktop/flixster/flixster/ViewController.swift /Applications/Xcode.app/Content...
D
module imports.gdc253a; interface I253a { } interface I253b { size_t printf(...); void flush(); } class C253a : I253a , I253b { size_t printf(...) { return 0; } void flush() { } }
D
{# Macro import #} {% from 'OPNsense/Macros/interface.macro' import physical_interface %} {% if not helpers.empty('OPNsense.IDS.general.enabled') %} suricata_setup="/usr/local/opnsense/scripts/suricata/setup.sh" suricata_enable="YES" {% if OPNsense.IDS.general.ips|default("0") == "1" %} # IPS mode, switch to netmap sur...
D
a low stool in the shape of a drum
D
import std.stdio, std.random; void main() { NEXT_STR: foreach (j; 1 .. 9) { string s; foreach (_; 0 .. j * 2) s ~= "[]"[uniform(0, 2)]; int balance; foreach (i, c; s) { balance += (c == '[') ? 1 : ((c == ']') ? -1 : 0); if (balance < 0 || balance...
D
/* TEST_OUTPUT: --- fail_compilation/fail13116.d(13): Error: this is not an lvalue --- */ struct S { ref S notEvil() { return this; } // this should be accepted } class C { ref C evil() { return this; } // this should be rejected } void main() { } /* TEST_OUTPUT: --- fail_compilation/fail13116.d(28): Error: su...
D
/Users/kenjou/Documents/SimpleToDo/SimpleTodo/Build/Intermediates/SimpleTodo.build/Debug-iphonesimulator/SimpleTodo.build/Objects-normal/x86_64/AppDelegate.o : /Users/kenjou/Documents/SimpleToDo/SimpleTodo/SimpleTodo/FontSizeViewController.swift /Users/kenjou/Documents/SimpleToDo/SimpleTodo/SimpleTodo/MainViewControlle...
D
module android.java.android.telecom.RemoteConference_Callback_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import1 = android.java.android.telecom.DisconnectCause_d_interface; import import5 = andro...
D
/* TEST_OUTPUT: --- fail_compilation/fail351.d(14): Error: `cast(uint)this.num[index]` is not an lvalue --- */ // 2780 struct Immutable { immutable uint[2] num; ref uint opIndex(size_t index) immutable { return num[index]; } } void main() { immutable Immutable foo; //foo[0]++; }
D
/* * digest.d * * This module houses the Digest class used as a return value for all * hashing algorithms. * * Author: Dave Wilkinson * */ module hashes.digest; import djehuty; // Description: This class holds the computed digest from a hashing algorithm. class Digest { this (uint[] newData...) { data = n...
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Sean Kelly * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 2005 - 2009. *...
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
module widget.controller.user_interface.alerts.alerts; import widget; class UserInterfaceAlertsController : WidgetControllerPrototype{ this(){ super(); this.name = "alerts"; this.web_interface_settings.urlPrefix = "/"~this.name; this.router.registerWebInterface(this, this.web_interface_settings); } /+ @me...
D
/** * Функции Ошибок и Нормальной Дистрибуции. * * Copyright: Copyright (C) 1984, 1995, 2000 Stephen L. Moshier * Code taken из_ the Cephes Math Library Release 2.3: January, 1995 * License: BSD стиль: $(LICENSE) * Authors: Stephen L. Moshier, ported в_ D by Don Clugston */ /** * Macros: * N...
D
# FIXED uartstdio.obj: C:/ti/tivaware_c_series_2_1_4_178/utils/uartstdio.c uartstdio.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdbool.h uartstdio.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h uartstdio.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS...
D
module dominator.planet; public import dominator.planet.planet; public import dominator.planet.tile; public import dominator.planet.biome;
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Console.build/Activity/ActivityIndicatorState.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/console/Sources/Console/Terminal/ANSI.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkou...
D
module DB.util; enum DFront : ubyte { dmd = 0, gdc = 1 } enum DTarget : ubyte { NOTHING = 0, SHAREDLIB = 1, STATICLIB = 2, EXECUTABLE = 3, OBJCOLLECTION = 4 }
D
/* * switchstmt.d * * This module implements the runtime functions that are responsible * for handling switch statements. * */ module runtime.switchstmt; private template _switch_string(T) { int _switch_string(T[][] table, T[] compare) { if (table.length == 0) { return -1; } // Optimization for empty...
D
/* * $Id: bulletinst.d,v 1.4 2004/05/15 07:46:52 kenta Exp $ * * Copyright 2004 Kenta Cho. All rights reserved. */ module abagames.tf.bulletinst; private import abagames.tf.morphbullet; private import abagames.tf.bullettarget; private import abagames.tf.stagemanager; /** * Bullet with params of spped...
D
/** * Implementation of the gamma and beta functions, and their integrals. * * License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0). * Copyright: Based on the CEPHES math library, which is * Copyright (C) 1994 Stephen L. Moshier (moshier@world.std.com). * Authors: Stephen L. Moshier (origina...
D
<!DOCTYPE html> <html> <!-- Mirrored from www.cognitiveclouds.com/img/c/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/favicons/fa...
D
/Users/denny/code/rust/my-redis/target/rls/debug/build/libc-0a04959aee4a69ae/build_script_build-0a04959aee4a69ae: /Users/denny/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.94/build.rs /Users/denny/code/rust/my-redis/target/rls/debug/build/libc-0a04959aee4a69ae/build_script_build-0a04959aee4a69ae.d: /Users/...
D
/Users/obuchiyuki/Desktop/SaftyDrive/Build/Intermediates/SaftyDrive.build/Debug-iphoneos/SaftyDrive.build/Objects-normal/arm64/MKLabel.o : /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/MK/MKSnackbar.swift /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/RMMenu.swift /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/RMTi...
D
/******************************************************************//** * \file src/plugins/optionsparser/option.d * \brief Option * * <i>Copyright (c) 2012</i> Danny Arends<br> * Last modified May, 2012<br> * First written Jun, 2011<br> * Written in the D Programming Language (http://www.digitalmars.com/d) ***...
D
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/checkListCell.o : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/appl...
D
module android.java.android.telephony.cdma.CdmaCellLocation; public import android.java.android.telephony.cdma.CdmaCellLocation_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!CdmaCellLocation; import import2 = android.java.java.lang.Class; import import1 = android.java.android.telephony.CellL...
D
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/TurnstileWeb.build/LoginProviders/Facebook.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Turnstile-1.0.6/Sources/TurnstileWeb/URLSession+Turnstile.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Turn...
D
module android.java.javax.security.cert.CertificateEncodingException_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.ja...
D
module gds.template_renderer; string render(Context)(string content, auto ref Context context) if (__traits(compiles, Context.tupleof)) { import std.traits : isArray, isSomeString; import mustache : MustacheEngine; alias MustacheEngine!string Mustache; static void fillContext(Context) (M...
D
/** ## Generic trigonometry functions Trigonometric functions which uses polynomial approximation and compatible with both floating point and fixed point types. Depending from polynomial order that functions is differ in terms of precision and speed: functions of higher order has more precision and lower spe...
D
instance PIR_1351_Addon_Samuel(Npc_Default) { name[0] = "Samuel"; guild = GIL_PIR; id = 1351; voice = 14; flags = FALSE; npcType = npctype_main; aivar[93] = TRUE; B_SetAttributesToChapter(self,4); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_Piratensaebel); B_SetNpcVisual(self,MALE,"Hum_Head_FatBAld...
D
module android.java.java.nio.file.FileAlreadyExistsException; public import android.java.java.nio.file.FileAlreadyExistsException_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!FileAlreadyExistsException; import import4 = android.java.java.lang.Class; import import3 = android.java.java.lang.S...
D
module parameter_flexibility_3; int[] numbersForLaterUse; void foo(int[] numbers...) { numbersForLaterUse = numbers; } struct S { string[] namesForLaterUse; void foo(string[] names...) { namesForLaterUse = names; } } void bar() { foo(1, 10, 100); /* The temporary array [ 1, 10,...
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
module http.HttpURI; import hunt.collection.MultiMap; import hunt.Exceptions; import hunt.text.Charset; import hunt.text.Common; import hunt.text.StringBuilder; import hunt.util.TypeUtils; import http.UrlEncoded; import std.array; import std.conv; import std.string; import hunt.logging; /** * Http URI. Parse a...
D
module android.java.java.security.cert.CertPathValidatorException_Reason; public import android.java.java.security.cert.CertPathValidatorException_Reason_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!CertPathValidatorException_Reason; import import0 = android.java.java.lang.Class;
D
// Copyright (C) 2021 by tspike (github.com/tspike2k) // // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES...
D
module org.eclipse.swt.internal.mozilla.nsICookieManager; import org.eclipse.swt.internal.mozilla.Common; import org.eclipse.swt.internal.mozilla.nsID; import org.eclipse.swt.internal.mozilla.nsISupports; import org.eclipse.swt.internal.mozilla.nsISimpleEnumerator; import org.eclipse.swt.internal.mozilla.nsStringAPI; ...
D
/** * telegram API module */ module telegram.api; import std.stdio; import std.string; import std.datetime; public import telegram.types; public import telegram.methods; import telegram.update.policy; import telegram.update.polling; import telegram.serialization; import vibe.data.json; import vibe.http.client; /...
D
void _d_invariant(Object o) {}
D
module godot.meshlibrary; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.object; import godot.classdb; import godot.resource; import godot.mesh; import godot.navigationmesh; import godot.shape; @GodotBaseClass struct MeshLibrar...
D
module org.serviio.ui.representation.RendererRepresentation; import java.lang; public enum RendererStatus { ACTIVE, INACTIVE, UNKNOWN } public class RendererRepresentation : Comparable!(RendererRepresentation) { private String uuid; private String ipAddress; private String name; private String ...
D
/* Copyright (c) 2019 Timur Gafarov 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, execu...
D
module Windows.Globalization.PhoneNumberFormatting; import dwinrt; @uuid("1556b49e-bad4-4b4a-900d-4407adb7c981") @WinrtFactory("Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter") interface IPhoneNumberFormatter : IInspectable { extern(Windows): HRESULT abi_Format(Windows.Globalization.PhoneNumberForm...
D
public interface JsonType{ // stringify public string toString(); } public class JsonTypeNumber: JsonType{ // value private double _value; // constructor public this( double initialValue = null ){ _value = null; } // set/get value @property public void value( double newValue ){ _value = newValue; } @prop...
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, this li...
D
/Users/chenxuewen/testrust/learnrust/rust-outter-crate/target/rls/debug/deps/crypto-7175d08b7dea7e65.rmeta: /Users/chenxuewen/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rust-crypto-0.2.36/src/lib.rs /Users/chenxuewen/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rust-crypto-0.2.36/src/aead.rs /...
D
module server.client; import app; import server.card; import server.assets; import common.vector; import common.network; import common.sdl; import common.engine; import common.text; import std.experimental.logger; class Client { enum ClientGameState { waitingForNextGame, settingUpGame, waitingForTurn, play...
D
module gtkD.gio.UnixConnection; public import gtkD.gtkc.giotypes; private import gtkD.gtkc.gio; private import gtkD.glib.ConstructionException; private import gtkD.glib.ErrorG; private import gtkD.glib.GException; private import gtkD.gio.Cancellable; private import gtkD.gio.TcpConnection; /** * Description ...
D
/////////////////////////////////////////////////////////////////////// // Info EXIT /////////////////////////////////////////////////////////////////////// INSTANCE DIA_Pal_212_Schiffswache_EXIT (C_INFO) { npc = Pal_212_Schiffswache; nr = 999; condition = DIA_Pal_212_Schiffswache_EXIT_Conditio...
D
class Matrix { // these methods are intended to be overridden by subclasses // if only we had pure virtual/abstract methods in our language... void Init() {} void Set(int x, int y, int value) {} int Get(int x, int y) {} void PrintMatrix() { int i; int j; for (i = 0; i < 10; i = i + 1) { ...
D
/** Contains interfaces and enums for evented I/O drivers. 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.driver; public import vibe.core.file; public import vibe.core.net; public...
D
instance PC_ThiefOW(Npc_Default) { name[0] = "Diego"; guild = GIL_NONE; id = 1; voice = 11; flags = 0; npcType = NPCTYPE_FRIEND; aivar[93] = TRUE; aivar[AIV_FollowDist] = 300; aivar[AIV_IgnoresArmor] = TRUE; B_SetAttributesToChapter(self,4); level = 1; attribute[ATR_STRENGTH] = 70; attribute[ATR_DEXTERITY...
D
import std.stdio; import std.c.stdio; /******************************************/ struct S { int opStar() { return 7; } } void test1() { S s; printf("%d\n", *s); assert(*s == 7); } /******************************************/ void test2() { double[1][2] bar; bar[0][0] = 1.0; bar[1][0] = 2.0...
D
/home/cnugent/Documents/source_cd_dirs/web_top/target/debug/build/log-9160c1dca082f6b5/build_script_build-9160c1dca082f6b5: /home/cnugent/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.14/build.rs /home/cnugent/Documents/source_cd_dirs/web_top/target/debug/build/log-9160c1dca082f6b5/build_script_build-9160c1d...
D
module mach.traits.attributes; private: import mach.traits.type : isType; import mach.meta.filter : Filter; public: /// Get a tuple of user-defined attributes belonging to a symbol. template getAttributes(alias symbol){ enum getAttributes = __traits(getAttributes, symbol); } /// Get a tuple of user-defined a...
D
module imports.gdc231; interface ImplementorIF { void* getImplementorStruct(); void* getStruct(); } template ImplementorT() { void* getImplementorStruct() { return null; } } class Widget231 : ImplementorIF { mixin ImplementorT; void* getStruct() { return null; } }
D
.source T_if_gt_10.java .class public dot.junit.opcodes.if_gt.d.T_if_gt_10 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run(II)Z .limit regs 8 if-gt v6, v7, Label11 const/4 v6, 0 ...
D