code
stringlengths
3
10M
language
stringclasses
31 values
module diskuto.settings; import diskuto.commentstore : DiskutoCommentStore; import diskuto.userstore : DiskutoUserStore; import vibe.data.json : Json; import core.time : Duration, minutes; class DiskutoSettings { string resourcePath = "public/"; // Path to Diskutp's "public" folder DiskutoCommentStore commentStore...
D
module ui; // Standart public import std.stdio : writeln; public import std.conv : to; public import std.format : format; public import std.math : abs; public import std.math : round; public import std.math : floor; // Base types public import ui.base; public import ui.path2d : Path2D; // Helpers public imp...
D
module util.array; public import std.array; import std.algorithm; void remove(T)(ref T[] array,T del){ foreach(i,a ; array) { if(a == del) { auto init = array[0 .. i]; auto tail = array[i+1 .. $]; array = init ~ tail; return; } } } voi...
D
instance DIA_Kervo_EXIT(C_Info) { npc = STRF_1116_Kervo; nr = 999; condition = DIA_Kervo_EXIT_Condition; information = DIA_Kervo_EXIT_Info; permanent = TRUE; description = Dialog_Ende; }; func int DIA_Kervo_EXIT_Condition() { return TRUE; }; func void DIA_Kervo_EXIT_Info() { AI_StopProcessInfos(self); }; ...
D
import std.stdio; import mosquitto; class MosquittoClient: Mosquitto { override void onConnect(int rc) { writefln("[override] rc = %d", rc); } } void main() { auto mqtt = new MosquittoClient(); mqtt.start(); }
D
/Users/eunkyungwon/pod-test/.build/x86_64-apple-macosx/debug/pod_test.build/pod_test.swift.o : /Users/eunkyungwon/pod-test/Sources/pod-test/pod_test.swift /Users/eunkyungwon/Downloads/Xcode\ 2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-mac...
D
/* * Copyright (C) 2018 Julien Viet * * 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
Long: ssl-reqd Help: Require SSL/TLS Protocols: FTP IMAP POP3 SMTP LDAP Added: 7.20.0 Category: tls Example: --ssl-reqd ftp://example.com See-also: ssl insecure --- Require SSL/TLS for the connection. Terminates the connection if the server does not support SSL/TLS. This option is handled in LDAP since version 7.81.0....
D
module hunt.wechat.bean.message.massmessage.MassWxcardMessage; import hunt.collection.HashMap; import hunt.collection.Map; import hunt.wechat.bean.message.preview.Preview; import hunt.wechat.bean.message.preview.WxcardPreview; class MassWxcardMessage : MassMessage{ private Map!(string, string) wxcard; ...
D
instance DIA_JORU_EXIT(C_Info) { npc = sek_8013_joru; nr = 999; condition = dia_joru_exit_condition; information = dia_joru_exit_info; important = FALSE; permanent = TRUE; description = Dialog_Ende; }; func int dia_joru_exit_condition() { return TRUE; }; func void dia_joru_exit_info() { AI_StopProcessInfos...
D
import arcade.geom; import multimedia.input; import std.math; import std.stdio; import entity; struct GameConfig { float friction, accel, top_speed, min_speed, gravity, jump_speed, float_gravity; } struct AppendData { IntTiles tiles; int index; } void append_index(int x, int y, AppendData data) { data.tiles.data...
D
// Written in the D programming language. /** Functions for starting and interacting with other processes, and for working with the current _process' execution environment. Process_handling: $(UL $(LI $(LREF spawnProcess) spawns a new _process, optionally assigning it an arbitrary set of standard input, outpu...
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.build/Byte+UTF8Numbers.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts...
D
/Volumes/Work Space/LearnRust/projects/sql_practice/target/debug/deps/lru-7b040ea3f6dda2ce.rmeta: /Users/goble/.cargo/registry/src/github.com-1ecc6299db9ec823/lru-0.6.5/src/lib.rs /Volumes/Work Space/LearnRust/projects/sql_practice/target/debug/deps/liblru-7b040ea3f6dda2ce.rlib: /Users/goble/.cargo/registry/src/github...
D
module jwtlited; import std.algorithm; import std.base64; import std.string; import std.traits; import bc.string.string; /// Supported algorithms enum JWTAlgorithm { none, HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512 } /** * Structure that can be used to hand...
D
instance BDT_10311_Addon_RangerBandit_M(Npc_Default) { name[0] = NAME_Bandit; guild = GIL_BDT; id = 10311; voice = 1; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,2); fight_tactic = FAI_HUMAN_NORMAL; EquipItem(self,ItMw_Addon_BanditTrader); EquipItem(self,ItRw_Sld_Bow); CreateInvItems...
D
/** * Copyright: Copyright Jason White, 2016 * License: MIT * Authors: Jason White * * Description: * Traces system calls in the process for precise dependency detection at the * cost of speed. This should be the fallback for a command if there is no * specialized handler for running it. */ module button.h...
D
// 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 analysis.label_var_same_name_check; import dparse.ast; import dparse.lexer; import dsymbol.scope_ : Scope; import analysis.base; import analysi...
D
module cui.telnet; import cui.vt100; import cui.buffer; import core.string; import networking.telnet; // Section: Console // Description: This console control is a console buffer that will facilitate a connection to a telnet server within a section of your console view. class CuiTelnet : CuiVT100 { this( uint x, ...
D
datapath=/home/torobo/catkin_ws/src/reaching_task/scripts/data/dataset/large/C modelpath=/home/torobo/catkin_ws/src/reaching_task/scripts/data/model/large/C/W_0_01 activejoints=1,1,1,1,1,1,0,0,0,0,0,0,1,0,0,0 nsamples=1 w=0.01,0.01 d=40,10 z=4,1 t=2,10 epochs=15000 alpha=0.001 beta1=0.9 beta2=0.999 retrain=false greedy...
D
// Copyright Brian Schott (Hackerpilot) 2014. // 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 dscanner.analysis.numbers; import std.stdio; import std.regex; import dparse.ast; import...
D
// Copyright: Coverify Systems Technology 2013 - 2014 // License: 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) // Authors: Puneet Goel <puneet@coverify.com> import std.stdio; import esd...
D
instance STRF_8137_Addon_Sklave(Npc_Default) { name[0] = NAME_Addon_Sklave_Orc; guild = GIL_STRF; id = 8137; voice = 3; flags = 0; npcType = NPCTYPE_BL_AMBIENT; aivar[AIV_NoFightParker] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; B_SetAttributesToChapter(self,2); fight_tactic = FAI_HUMAN_COWARD; B_SetNpcVisual(...
D
#! /usr/bin/env rdmd import std.stdio; struct X { string data; bool opBinary(string op)(char p) if (op == "in") { foreach (c; data) if (p == c) return true; return false; } } void main() { auto x = X("hi there"); writeln(x in 'i'); writeln...
D
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.build/Migration/AnyMigration.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--7619811335752932298/Sources/Fluent/Model/ID.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/fluent.git--76198113357...
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...
D
module godot.kinematicbody; 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.physicsbody; import godot.kinematiccollision; @GodotBaseClass struct KinematicBody { st...
D
module llvm.c.engine; import llvm.c.all; extern(C) { alias LLVMExecutionEngineRef = LLVMOpaqueExecutionEngine*; alias LLVMGenericValueRef = LLVMOpaqueGenericValue*; alias LLVMMCJITMemoryManagerRef = LLVMOpaqueMCJITMemoryManager*; struct LLVMOpaqueExecutionEngine {} struct LLVMOpaqueGenericValue {} struct LLVMO...
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 distribut...
D
/x/calo/jgoncalves/JetCleaningHI/RootCoreBin/obj/x86_64-slc6-gcc49-opt/JetCleaningAnalysisHI/obj/HIHI_TMVA.o /x/calo/jgoncalves/JetCleaningHI/RootCoreBin/obj/x86_64-slc6-gcc49-opt/JetCleaningAnalysisHI/obj/HIHI_TMVA.d : /x/calo/jgoncalves/JetCleaningHI/JetCleaningAnalysisHI/Root/HIHI_TMVA.cxx /x/calo/jgoncalves/JetClea...
D
//#what's the story with this. trying to compile Chris Miller's ini.d file import std.stdio; import std.string; //look at string module void main() { //char* s = cast(char*)"testing"; string s = "testing"; //printf("'%s'", toStringz(s)); // char* p; //writef("'%s'", toStringz(s)[0 .. s.length]); //#what's the st...
D
E: c232, c24, c306, c256, c3, c55, c119, c266, c8, c246, c63, c254, c42, c111, c214, c370, c329, c196, c176, c234, c344, c11, c65, c432, c162, c154, c27, c168, c136, c333, c99, c261, c215, c321, c16, c161, c160, c44, c48, c417, c204, c163, c194, c180, c135, c240, c140, c83, c365, c182, c277, c60, c430, c361, c312, c369...
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_1_BeT-98422717...
D
Italian violin maker in Cremona a violin made by Nicolo Amati or a member of his family
D
/Users/sriramprasad/Dev/rough/Cdatawithtextfield/build/Cdatawithtextfield.build/Debug-iphonesimulator/Cdatawithtextfield.build/Objects-normal/x86_64/ListArrray+CoreDataProperties.o : /Users/sriramprasad/Dev/rough/Cdatawithtextfield/Cdatawithtextfield/AppDelegate.swift /Users/sriramprasad/Dev/rough/Cdatawithtextfield/bu...
D
/Users/hernaniruegasvillarreal/Documents/TEC/semestre-8/dispositivos-moviles/segundo-parcial/tarea4_tableViewController/Build/Intermediates/tarea4_tableViewController.build/Debug-iphonesimulator/tarea4_tableViewController.build/Objects-normal/x86_64/ViewController.o : /Users/hernaniruegasvillarreal/Documents/TEC/semest...
D
/Users/LuisSFU/Desktop/Derilearn/DeriLearn/DerivedData/DeriLearn/Build/Intermediates/DeriLearn.build/Debug-iphoneos/DeriLearn.build/Objects-normal/arm64/ViewControllerPregunta.o : /Users/LuisSFU/Desktop/Derilearn/DeriLearn/DeriLearn/ViewControllerFormulario2.swift /Users/LuisSFU/Desktop/Derilearn/DeriLearn/DeriLearn/Vi...
D
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab6/user/target/debug/deps/librustversion-45c963b34124fe6e.so: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/src/attr.rs /ho...
D
instance SLD_752_Okyl(Npc_Default) { name[0] = "Okyl"; npcType = npctype_main; guild = GIL_SLD; level = 18; voice = 11; id = 752; flags = NPC_FLAG_IMMORTAL; attribute[ATR_STRENGTH] = 100; attribute[ATR_DEXTERITY] = 80; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 286;...
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_7_BeT-72166152...
D
instance BDT_1002_Bandit_L(Npc_Default) { name[0] = "Бродяга"; guild = GIL_BDT; id = 1002; voice = 13; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,3); attribute[ATR_REGENERATEMANA] = 1; fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,ItMw_1h_Sld_Sword_New); EquipItem(self,ItAr_Shield...
D
// D import file generated from 'src/librabbitmq_headers.d' extern (C) { void amqp_dump(void* buffer, size_t len); } extern (C) { struct amqp_table_t_ { int num_entries; amqp_table_entry_t_* entries; } } extern (C) { struct amqp_bytes_t_ { size_t len; void* bytes; } } alias ushort uint16_...
D
/home/hpp/mymakepro/mp3_18/mp3/app/link_obj/lcd.o /home/hpp/mymakepro/mp3_18/mp3/app/dep/lcd.d:lcd.c
D
instance PC_Hero(Npc_Default) { name[0] = "ß"; guild = GIL_NONE; id = 0; voice = 15; level = 0; npcType = npctype_main; bodyStateInterruptableOverride = TRUE; exp = 0; exp_next = 500; lp = 0; attribute[ATR_STRENGTH] = 10; attribute[ATR_DEXTERITY] = 10; attribute[ATR_MANA_MAX] = 10; attribute[ATR_MANA] = ...
D
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug/Charts.build/Objects-normal/x86_64/MoveViewJob.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Sour...
D
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Core.build/File.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/core/Sources/Core/Data+Base64URL.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checko...
D
import std.stdio; import std.conv; // Some examples mixins I've not seen work with other tools. void declaration() { mixin("int aVar = 5;"); writeln(aVar); // if you comment out this line, can you code complete aVar in this method? } void sayHi() { // does find references on this method say unused? Or does it de...
D
module test; unittest { assert(true); }
D
/Users/johannesauer/Documents/vault/Crypto/.build/x86_64-apple-macosx/debug/Crypto.build/DerivedKey.swift.o : /Users/johannesauer/Documents/vault/Crypto/Sources/Password.swift /Users/johannesauer/Documents/vault/Crypto/Sources/SecureDataMessage.swift /Users/johannesauer/Documents/vault/Crypto/Sources/UInt32Coding.swift...
D
/Users/zecheng/iosDevelop/secondHand/DerivedData/secondHand/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/LayoutConstraint.o : /Users/zecheng/iosDevelop/secondHand/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/zecheng/iosDevelop/secondHand/Pods/SnapKit/Sour...
D
/***********************************************************************\ * objbase.d * * * * Windows API header module * * ...
D
#!/usr/bin/env rdmd-dev-module /** Various extensions to core.bitop and std.bitmanip. Copyright: Per Nordlöw 2018-. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(WEB Per Nordlöw) TODO Add range checking of bit indexes. TODO Make use of TZCNT and LZCNT either as inline as...
D
module dinu.command.dir; import dinu; __gshared: shared immutable class CommandDir: CommandFile { this(string name){ super(Type.directory, name, true); } override string text(){ return parts.join("/").chomp("/"); } override size_t score(){ return 11; } override void run(string){ options.configP...
D
prototype Mst_Default_Zombie(C_Npc) { name[0] = "Зомби"; guild = GIL_ZOMBIE; aivar[AIV_MM_REAL_ID] = ID_ZOMBIE; level = 12; attribute[ATR_STRENGTH] = 250; attribute[ATR_DEXTERITY] = 75; attribute[ATR_HITPOINTS_MAX] = 400; attribute[ATR_HITPOINTS] = 400; attribute[ATR_MANA_MAX] = 6666; attribute[ATR_MANA] = 6...
D
module python.conv.d_to_python; import python.raw: PyObject; import python.type: isUserAggregate, isTuple, isNonRangeUDT; import std.traits: Unqual, isIntegral, isFloatingPoint, isAggregateType, isStaticArray, isAssociativeArray, isPointer, isSomeChar, isCallable, isSomeString, isFunctionPointer, isDelegate, ...
D
/Users/hauyadav/Learn/nysample/NYTSample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/PKHUD.build/Objects-normal/x86_64/Window.o : /Users/hauyadav/Learn/nysample/NYTSample/Pods/PKHUD/PKHUD/HUD.swift /Users/hauyadav/Learn/nysample/NYTSample/Pods/PKHUD/PKHUD/PKHUD.swift /Users/hauyadav/Learn/nysampl...
D
# FIXED svgen.obj: C:/TAPAS_Fandriver/TAPAS-DSP/ti/motorware/motorware_1_01_00_18/sw/modules/svgen/src/32b/svgen.c svgen.obj: C:/TAPAS_Fandriver/TAPAS-DSP/ti/motorware/motorware_1_01_00_18/sw/modules/svgen/src/32b/svgen.h svgen.obj: C:/TAPAS_Fandriver/TAPAS-DSP/ti/motorware/motorware_1_01_00_18/sw/modules/iqmath/src/3...
D
/Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CandleChartData.o : /Users/vineshkumar/Documents/Volvo/UD_Hackathon/bms_mobile/ios/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift ...
D
/Users/pavlosnicolaou/Documents/workshop/Kitura/KituraWebInterface/KituraWebInterface_Starter/.build/x86_64-apple-macosx10.10/debug/Kitura.build/bodyParser/URLEncodedBodyParser.swift.o : /Users/pavlosnicolaou/Documents/workshop/Kitura/KituraWebInterface/KituraWebInterface_Starter/.build/checkouts/Kitura.git-29930723474...
D
# FIXED PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/host/gapbondmgr.c PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/inc/bcomdef.h PROFILES/gapbondmgr.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/osal/src/inc/comdef.h...
D
//Written in the D programming language /** * Implements functionality to read Comma Separated Values and its variants * from a input range of $(D dchar). * * Comma Separated Values provide a simple means to transfer and store * tabular data. It has been common for programs to use their own * variant of the CSV ...
D
import vibe.vibe; void main() { auto settings = new HTTPServerSettings; settings.port = 8888; settings.bindAddresses = ["0.0.0.0"]; listenHTTP(settings, &hello); logInfo("listening on port %s".format(settings.port)); runApplication(); } void hello(HTTPServerRequest req, HTTPServerResponse res) { import std.dat...
D
module game.danmaku.enemy; import engine; import config; import game; import containers.list; /** Enemy Director handles spawning enemies on screen */ class EnemyDirector { private: List!Enemy enemies; WaveInfo[] waveInfo; size_t spawnEntry; float spawnOffset = 0; bool couldSpawn; /** ...
D
module PointerScript.def; extern (C) { enum ptrs_vartype_t { PTRS_TYPE_UNDEFINED, PTRS_TYPE_INT, PTRS_TYPE_FLOAT, PTRS_TYPE_NATIVE, PTRS_TYPE_POINTER, PTRS_TYPE_FUNCTION, PTRS_TYPE_STRUCT } struct ptrs_object_t { const char *key; ptrs_var *value; ptrs_object_t *next; } struct ptrs_scope {...
D
/media/togekk/Backup/WWW/togekk1.github.io/simon-cheng/target/debug/deps/boolinator-acd1c64ce82b8dcd.rmeta: /home/togekk/.cargo/registry/src/github.com-1ecc6299db9ec823/boolinator-2.4.0/src/lib.rs /media/togekk/Backup/WWW/togekk1.github.io/simon-cheng/target/debug/deps/libboolinator-acd1c64ce82b8dcd.rlib: /home/togekk...
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 distribut...
D
module draw.object.node; import draw.object.base; import std.random; class DrawNode : DrawObject { protected: vec4 scol1 = vec4(1); vec4 scol2 = vec4(1); bool color_changed = true; float seg_len = 2; override void prepareBuffers() { auto loc = shader.getAttribLocations( "pos" ); ...
D
func void B_AssessUseMob() { var string detMob; if(!Npc_IsPlayer(other)) { return; }; if(Wld_GetPlayerPortalGuild() >= GIL_NONE) { if(Npc_GetHeightToNpc(self,other) > PERC_DIST_INDOOR_HEIGHT) { return; }; }; if(Wld_GetGuildAttitude(self.guild,other.guild) == ATT_FRIENDLY) { if(!Npc_IsDetectedMobO...
D
an abstract part of something something determined in relation to something that includes it an artifact that is one of the individual parts of which a composite entity is made up
D
module android.java.android.provider.Contacts_Settings; public import android.java.android.provider.Contacts_Settings_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!Contacts_Settings; import import1 = android.java.java.lang.Class;
D
import mpiez.Process; import std.container; import std.outbuffer; import utils.Colors, std.traits; enum WINDOW_SIZE = 1; enum MAX_CUT = 10; class Proto : Protocol { this (int id, int total) { super (id, total); this.request = new Message!(1, byte); this.edge = new Message!(2, ubyte*, ulong); this.state = new ...
D
void main() { import std.stdio, std.digest.sha; writefln("%-(%02x%)", "Rosetta code".sha256Of); }
D
/* Copyright (c) 2012 Ellery Newcomer 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, publish, distribute,...
D
module blockie.model1.M1ChunkOptView; import blockie.model; align(1): struct OptimisedRoot { static assert(OptimisedRoot.sizeof==13344); static assert(OptimisedRoot.bitsAndPopcnts.offsetof%4==0); static assert(OptimisedRoot.voxels.offsetof%4==0); s...
D
module ircclient.ui.settings; import dlangui.core.settings; class IRCSettings : SettingsFile { this(string filename) { super(filename); } IRCSettings clone() { IRCSettings res = new IRCSettings(filename); res.applySettings(setting); return res; } override void upd...
D
module dumbo.document; import std.experimental.allocator; import std.conv : to; import std.string : toStringz; import dumbo.capi; import dumbo.node; extern(C) private void *dumbo_alloc(void *udata, size_t size) { return cast(void *)(cast(Document)udata).alloc.makeArray!ubyte(size); } extern(C) private void dumbo...
D
/Users/mainkhan/Documents/UMass/GPAerFood/DerivedData/GPAerFood/Build/Intermediates/GPAerFood.build/Debug-iphonesimulator/GPAerFood.build/Objects-normal/x86_64/AppDelegate.o : /Users/mainkhan/Documents/UMass/GPAerFood/GPAerFood/GradeTableViewCell.swift /Users/mainkhan/Documents/UMass/GPAerFood/GPAerFood/GradeTableViewC...
D
module dominator.main; import core.sync.mutex; import isolated.math; import isolated.graphics.camera.perspective; import isolated.graphics.camera.controller; import isolated.graphics.utils.opengl; import isolated.graphics.g3d.model; import isolated.graphics.g3d.modelinstance; import isolated.graphics.mesh; import is...
D
// PERMUTE_ARGS: -w extern(C) int printf(const char*, ...); int testswitch(string h) { int x; switch (h) { case "abc": printf("abc\n"); x = 4; break; case "foo": printf("foo\n"); x = 1; break; case "bar": ...
D
/******************************************************************************* Contains supporting code for storing the latest SCP envelopes, using SQLite as a backing store. Copyright: Copyright (c) 2019-2021 BOSAGORA Foundation All rights reserved. License: MIT License. Se...
D
/Users/michael/Desktop/Buildcoin/ChartTest/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/AnimatedZoomViewJob.o : /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Source/Ch...
D
moving slowly (of business) not active or brisk slow and apathetic
D
// https://issues.dlang.org/show_bug.cgi?id=22228 // Note: fixed by reverting pull #11545 auto f() { immutable int i; auto p = (() => &i)(); return 0; } enum ctfeInvocation = f;
D
/******************************************************************************* Vector aka. scatter/gather I/O helpers. Copyright: Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved License: Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. *****************...
D
module polyplex.core.content; public import polyplex.core.content.textures; public import polyplex.core.content.font; public import polyplex.core.content.data; public import polyplex.core.content.contentmanager;
D
/+ + Copyright (c) Charles Petzold, 1998. + Ported to the D Programming Language by Andrej Mitrovic, 2011. +/ module Multi2; import core.memory; import core.runtime; import core.thread; import std.algorithm : max, min; import std.concurrency; import std.conv; import std.math; import std.random; import std.range; i...
D
version https://git-lfs.github.com/spec/v1 oid sha256:9e43c1b77a758a93348981a1c8e2fdfec6f936013e16b5e45d9661ae9828ae3e size 497
D
/Users/saurabhsikka/Documents/BrexitGame/DerivedData/Build/Intermediates/BrexitGame.build/Debug-iphonesimulator/BrexitGame.build/Objects-normal/x86_64/Player.o : /Users/saurabhsikka/Documents/BrexitGame/BrexitGame/HUD.swift /Users/saurabhsikka/Documents/BrexitGame/BrexitGame/Ground.swift /Users/saurabhsikka/Documents/B...
D
/** * Identifier compression for 32 bits OMF builds * * On 32 bits OMF builds, we have a limit of 128 characters for identifiers. * When this limit is reached, this code is called to attempt to compress the identifier. * * Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved * A...
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
////////////////////////////////////////////////////////////////////////// /** Autors: Klaus Oberhofer License: zlib/libpng license Copyright: 2005-2007 Klaus Oberhofer Nova - a library for (un)common data structures and algorithms in D */////////////////////////////////////////////////////////...
D
/Users/kiron/Programing/Rust/sample/rsgrep/target/rls/debug/deps/memchr-13aa4e87272672fa.rmeta: /Users/kiron/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.0.2/src/lib.rs /Users/kiron/Programing/Rust/sample/rsgrep/target/rls/debug/deps/memchr-13aa4e87272672fa.d: /Users/kiron/.cargo/registry/src/github.com-1e...
D
#!/usr/bin/env rdmd import std.algorithm: canFind, group, map; import std.range: iota; import std.stdio: writeln; import std.typecons: Tuple, tuple; alias pw = int[6]; struct Password6 { pw _pw; alias _pw this; this(in pw pw) { // TODO validate digit range _pw = pw.dup; } this...
D
module exmem.controllers.base; import std.stdio, std.regex;; import vibe.vibe; import exmem.http_api; import exmem.models; class Controller { protected: BsonObjectID boardId(HttpServerRequest request) { string bid = null; if (request.query) bid = request.query["bid"]; //if (null == bid) // ...
D
var int Pock_ForgetAll; instance DIA_Pock_EXIT(C_Info) { npc = BAU_902_Pock; nr = 999; condition = DIA_Pock_EXIT_Condition; information = DIA_Pock_EXIT_Info; permanent = 1; description = DIALOG_ENDE; }; func int DIA_Pock_EXIT_Condition() { return 1; }; func void DIA_Pock_EXIT_Info() { Pock_ForgetAll = TRUE; ...
D
// Written in the D programming language. /* md5.d - RSA Data Security, Inc., MD5 message-digest algorithm * Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm. */ /** * $(RED Scheduled for deprecation. Please use std.digest.md instead.) * * Computes MD5 digests of arbitrary data. MD5 digests ...
D
module wx.IControlWithItems; public import wx.ClientData; public interface IControlWithItems { int Append(string item); int Append(string item, ClientData clientData); //----------------------------------------------------------------------------- void AppendString(string item); //-------------...
D
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.build/Output/ConsoleTextFragment.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/console.git--1231705849320085599/Sources/Console/Terminal/ANSI.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/console.git...
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
// https://issues.dlang.org/show_bug.cgi?id=9449 // { dg-additional-options "-mavx" { target avx_runtime } } // { dg-do run { target { avx_runtime || vect_sizes_16B_8B } } } // { dg-skip-if "needs gcc/config.d" { ! d_runtime } } import core.simd; void test9449() { ubyte16[1] table; } void test9449_2() { float...
D