code
stringlengths
3
10M
language
stringclasses
31 values
module ddmd.astcodegen; struct ASTCodegen { import ddmd.aggregate; import ddmd.aliasthis; import ddmd.arraytypes; import ddmd.attrib; import ddmd.cond; import ddmd.dclass; import ddmd.declaration; import ddmd.denum; import ddmd.dimport; import ddmd.dmodule; import ddmd.dstru...
D
module decs.meta; /// Mixin all required types that are required for library to work with user components. /// /// $(B T) are all components that will be used in application. mixin template DeclareComponents(T...) { mixin MakeStorages; mixin MakeEntitiesStorage!T; }
D
/** UDAs for decorating tests. */ module unit_threaded.runner.attrs; import unit_threaded.from; enum UnitTest; //opt-in to registration enum DontTest; //opt-out of registration enum Serial; //run tests in the module in one thread / serially alias SingleThreaded = Serial; ///Hide test. Not run by default but can...
D
INSTANCE Info_Mod_Bollok_Hi (C_INFO) { npc = Mod_10043_Orc_Bollok_OM; nr = 1; condition = Info_Mod_Bollok_Hi_Condition; information = Info_Mod_Bollok_Hi_Info; permanent = 0; important = 0; description = "Verstehst du unsere Sprache?"; }; FUNC INT Info_Mod_Bollok_Hi_Condition() { return 1; }; FUNC VOID Info_...
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010 by Rainer Schuetze, All Rights Reserved // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.t...
D
/****************************************************************************** The MiniD compiler. This is, unsurprisingly, the largest part of the implementation, although it has a very small public interface. License: Copyright (c) 2007 Jarrett Billingsley This software is provided 'as-is', without any express or...
D
/************************************************************************* ** Skeleton Prototype ** *************************************************************************/ PROTOTYPE Mst_Default_Skeleton(C_Npc) { name = "Szkielet"; guild = GIL_SKELETON; //REAL ID IN INSTANZEN! level ...
D
/** Copyright: © 2013 Simon Kérouack. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Simon Kérouack */ module core.logger.mongo; public import core.logger.logger; import std.conv, std.stdio; import vibe.db.mongo.mongo; /+ Log in a mongo database ...
D
/Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/LTMorphingLabel.build/Objects-normal/x86_64/LTMorphingLabel+Anvil.o : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/LTMorphingLabel/LTMorphingLabel/LTMorphingLabel+Sparkle.swift /User...
D
/Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/AFError.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/Alamofire/Source/Alamofir...
D
dependencies: /Users/christianmeyer/Cpp/ch5/P5_1/P5_1/person.cpp \ /Users/christianmeyer/Cpp/ch5/P5_1/P5_1/person.h
D
// Written in the D programming language. /** This module implements a variety of type constructors, i.e., templates that allow construction of new, useful general-purpose types. Source: $(PHOBOSSRC std/_typecons.d) Macros: WIKI = Phobos/StdVariant Synopsis: ---- // value tuples alias Coord = Tuple!(float, "x"...
D
/* * This file generated automatically from xselinux.xml by d_client.py. * Edit at your peril. */ /** * @defgroup XCB_SELinux_API XCB SELinux API * @brief SELinux XCB Protocol Implementation. * @{ **/ module interim.xcb.xselinux; import interim.xcb.xcb; import interim.xcb.xproto; const int XCB_SELINUX_MAJOR_...
D
/** * D header file for C99. * * $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_fenv.h.html, _fenv.h) * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: Distributed under the * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). * (See accompanyi...
D
import std.stdio; import std.bigint; import std.math; import std.conv; import std.algorithm; import std.range; void main() { BigInt n = 1010101010; BigInt square = n * n; immutable BigInt upperBound = 192939495969798990; while( square <= upperBound) { if(to!str...
D
/***********************************************************************\ * mswsock.d * * * * Windows API header module * * ...
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
void main() { runSolver(); } void problem() { auto N = scan!int; auto M = scan!int; auto H = scan!int; auto K = scan!int; auto S = scan!string; auto P = scan!int(2 * M).chunks(2).array; enum OFFSET = 4 * 10^^5; enum BASE = 10^^6; auto solve() { int id(int x, int y) { return BASE*y + x; } boo...
D
long[][] basePacks(long base, long size) { auto ret = new long[][](base^^size, size); foreach(i; 0..base^^size) { long x = i; foreach(b; 0..size) { ret[i][b] = x % base; x /= base; } } return ret; }
D
/home/thorin/Desktop/Myrust/numerals/target/debug/deps/numerals-66b9e8954b59b67a: src/main.rs /home/thorin/Desktop/Myrust/numerals/target/debug/deps/numerals-66b9e8954b59b67a.d: src/main.rs src/main.rs:
D
/Users/ua4225pe/Desktop/FoodPin/DerivedData/FoodPin/Build/Intermediates/FoodPin.build/Debug-iphonesimulator/FoodPin.build/Objects-normal/x86_64/AppDelegate.o : /Users/ua4225pe/Desktop/FoodPin/FoodPin/Restaurant.swift /Users/ua4225pe/Desktop/FoodPin/FoodPin/RestaurantTableViewController.swift /Users/ua4225pe/Desktop/Foo...
D
module test22685; import imports.test22685b; void twoArgs(alias a, alias b)() { } void main() { twoArgs!(a => 1, overloaded); }
D
/Users/patricerapaport/Desktop/swift/PRMacControls/Build/Intermediates.noindex/PRMacControls.build/Debug/PRMacControls.build/Objects-normal/x86_64/myOutline.o : /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/controles/myControlDoc.swift /Users/patricerapaport/Desktop/swift/PRMacControls/PRMacControls/...
D
// A simple mediator implementation. module subscribed.mediator; import std.traits : isCallable; import std.array : replace; import std.meta; import subscribed.event; /** * A simple mediator implementation. * More precisely, an event collection with a unified interface and beforeEach/afterEach hooks. * * Params:...
D
/Programming/servicely/build/servicely.build/Debug-iphonesimulator/servicely.build/Objects-normal/x86_64/AppDelegate.o : /Programming/servicely/servicely/CosmosDistrib.swift /Programming/servicely/servicely/ColorScheme.swift /Programming/servicely/servicely/AppDelegate.swift /Programming/servicely/servicely/CategoriesS...
D
func void ZS_SittingDuck() { PrintDebugNpc(PD_TA_FRAME,"ZS_SittingDuck"); self.senses = SENSE_SEE | SENSE_HEAR | SENSE_SMELL; AI_SetWalkMode(self,NPC_WALK); AI_GotoWP(self,self.wp); AI_AlignToWP(self); }; func void ZS_SittingDuck_Loop() { PrintDebugNpc(PD_TA_LOOP,"ZS_SittingDuck_Loop"); AI_Wait(self,1); }; fu...
D
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/pallets/template/target/rls/debug/deps/fake_simd-a8f3a09a98a7a2af.rmeta: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/fake-simd-0.1.2/src/lib.rs /Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substra...
D
/Users/Leex/TableView_Test2/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Sequence.o : /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Leex/TableView_Test2/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/Leex/TableView_Test2/Pods...
D
module godot.pckpacker; 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.reference; @GodotBaseClass struct PCKPacker { static immutable string _GODOT_internal_name ...
D
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/Fluent.build/QueryBuilder/QueryBuilder+Sort.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Model/ID.swift /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/f...
D
void main() { import std.stdio, std.string; immutable s = "alphaBETA"; s.toUpper.writeln; s.toLower.writeln; }
D
#source: pr19609-2.s #as: --x32 -mrelax-relocations=yes #ld: -melf32_x86_64 -Ttext=0x70000000 -Tdata=0xa0000000 --no-relax #objdump: -dw .*: +file format .* Disassembly of section .text: 70000000 <_start>: #pass [ ]*[a-f0-9]+: 48 3b 05 ([0-9a-f]{2} ){4} cmp -?0x[a-f0-9]+\(%rip\),%rax # .*
D
<!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/print_pagelayout.tpl (design:print_pagelayout.tpl) --> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www....
D
// Copyright Ferdinand Majerech 2011. // 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) /** * Implements a class that resolves YAML tags. This can be used to implicitly * resolve tags for c...
D
#! blah static assert(__LINE__ == 3); // fails as __LINE__ is 2 import std.stdio; import std.math : signbit, sqrt; /************************************/ static assert(-(1) == -1); static assert(-(6i) == -6i); static assert(-(1 + 6i) == -1 - 6i); static assert(!27 == 0); static assert(!0 == 1); static assert(!6.2...
D
import std.stdio : writefln; import cl = dcltk; import derelict.opencl.cl : cl_event; void main() { auto platformId = cl.loadOpenCl(); writefln("loaded: %s %s %s(%s) %s [%s]", cl.getPlatformProfile(platformId), cl.getPlatformName(platformId), cl.getPlatformVersion(platformId), ...
D
module org.eclipse.swt.internal.mozilla.nsICategoryManager; import java.lang.all; 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; const char[] NS_ICATEGORYMA...
D
/Users/sergiysobol/Projects/MovieDatabase/build/Pods.build/Debug-iphonesimulator/netfox.build/Objects-normal/x86_64/NFXGenericBodyDetailsController.o : /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXListCell_iOS.swift /Users/sergiysobol/Projects/MovieDatabase/Pods/netfox/netfox/iOS/NFXInfoControlle...
D
INSTANCE Info_Mod_Sentenza_Hi (C_INFO) { npc = Mod_796_SLD_Sentenza_MT; nr = 1; condition = Info_Mod_Sentenza_Hi_Condition; information = Info_Mod_Sentenza_Hi_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Sentenza_Hi_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Kagan_Isidro)) && (Npc_HasItems(he...
D
/Users/admin/Desktop/krishnarjun/ImagineMovie/build/ImagineMovie.build/Debug-iphonesimulator/ImagineMovie.build/Objects-normal/x86_64/CinemaViewController.o : /Users/admin/Desktop/krishnarjun/ImagineMovie/CommunicationModule/WebAPI.swift /Users/admin/Desktop/krishnarjun/ImagineMovie/Model/Movie.swift /Users/admin/Deskt...
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
D
INSTANCE Info_Mod_Xardas_MT_Felsenfestung (C_INFO) { npc = Mod_680_DMB_Xardas_MT; nr = 1; condition = Info_Mod_Xardas_MT_Felsenfestung_Condition; information = Info_Mod_Xardas_MT_Felsenfestung_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Xardas_MT_Felsenfestung_Condition() { if (Mod_Xeres_Kampf01 ...
D
module cryptor.Digest; import std.digest.sha; import std.file; import std.stdio; class Hash(T){ WrapperDigest!T digest; ubyte[] hash; this(){ digest = new WrapperDigest!T(); } Hash getHash(ubyte[] data){ digest.put(data); hash = digest.finish(); return ...
D
import std.random : Random, uniform, unpredictableSeed; import std.conv : to; import std.stdio : writeln; import std.json : parseJSON; import std.file : readText; import dsfml.system; import dsfml.window; import dsfml.graphics; import dsfml.audio; Random rng; class Symbol { Vector2f pos; Text t; int start; int l...
D
/Users/jaison/Documents/Drive/custom-api/.build/debug/Jay.build/Types.swift.o : /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/jaison/Documents/Drive/custom-api/Packages/Jay-1.0....
D
import vibe.core.log; import vibe.textfilter.markdown; import std.file; import std.algorithm: splitter, filter, countUntil; import std.array: array, empty; import std.string: split, strip; import std.typecons: Tuple; import std.exception: enforce; import std.string: format; import std.path: baseName, buildPath; impor...
D
/home/juliobrz/Git/PixelCanvas/.build/x86_64-unknown-linux/debug/NIO.build/ChannelHandlers.swift.o : /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/IO.swift /home/juliobrz/Git/PixelCanvas/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /home/juliobrz/Git/PixelCanvas/.build/checkout...
D
/Users/ybn/Library/Autosave\ Information/BestYakuGenerator/Build/Intermediates/BestYakuGenerator.build/Debug-iphonesimulator/BestYakuGenerator.build/Objects-normal/x86_64/TableViewController.o : /Users/ybn/Library/Autosave\ Information/BestYakuGenerator/BestYakuGenerator/AppDelegate.swift /Users/ybn/Library/Autosave\ I...
D
module android.java.android.media.MediaTimestamp; public import android.java.android.media.MediaTimestamp_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!MediaTimestamp; import import0 = android.java.java.lang.Class;
D
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/GroupBy.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/Potluck...
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 android.java.java.security.cert.CertPathValidatorResult_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; final class CertPathValidatorResult ...
D
struct A { int foo(string s) { return 0; } } static assert(__traits(getOverloads, A.init, "foo")[0]("hi") == 0); static assert(__traits(getOverloads, A.init, "foo", true)[0]("hi") == 0); struct B { int foo()(int i) { return 1; } int foo(string s) { return 0; } } alias a = __traits(getOverloads, B.init, "...
D
the phenomenon of light emission by a body as its temperature is raised light from heat
D
/home/cheney/Desktop/IoT-Fan/beaglebone_client/target/debug/build/backtrace-cd904342f95b14aa/build_script_build-cd904342f95b14aa: /home/cheney/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.14/build.rs /home/cheney/Desktop/IoT-Fan/beaglebone_client/target/debug/build/backtrace-cd904342f95b14aa/build_scr...
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
D
module UnrealScript.GameFramework.GameCrowdInteractionDestination; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.GameFramework.GameCrowdDestination; extern(C++) interface GameCrowdInteractionDestination : GameCrowdDestination { public extern(D): private static __gshared ScriptClass ...
D
/////////////////////////////////////////////////////////////////////// // Info EXIT /////////////////////////////////////////////////////////////////////// INSTANCE DIA_Rengaru_EXIT (C_INFO) { npc = VLK_492_Rengaru; nr = 999; condition = DIA_Rengaru_EXIT_Condition; information = DIA_Rengaru_E...
D
// @file memory2.d import std.stdio; void main(){ int myInt; int* pointerToInteger = &myInt; writeln(&myInt); writeln(pointerToInteger); }
D
module reggae.backend.make; import reggae.build; import reggae.range; import reggae.rules; import reggae.options; import std.conv; import std.array; import std.path; import std.algorithm; struct Makefile { Build build; const(Options) options; string projectPath; this(Build build) @safe pure { ...
D
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/FluentTester.build/Objects-normal/x86_64/Compound.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Atom.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Fluent-1.1.0/Sources/FluentTester/Compound.swift /Users...
D
/*************************** * D programming language http://www.digitalmars.com/d/ * Runtime support for byte array operations. * Based on code originally written by Burton Radons. * Placed in public domain. */ /* Contains SSE2 and MMX versions of certain operations for char, byte, * and ubyte ('a', 'g'...
D
auto filt(T)(bool function(T) dg, T[] arr) { T[] arr2; import std.range: empty, popFront, front; for(; ! arr.empty; arr.popFront) if (dg(arr.front)) arr2 ~= arr.front; return arr2; } void main() { import std.stdio: writeln; filt!int(a => a < 40, [35, 38, 41, 12, 21, 4, 32, 59, 68]).writeln; import std.str...
D
// Быстрый поиск 13.05.2017 10:25 // dmd ffx asc1251 ini qte5 -release import std.stdio; import qte5; import asc1251; import std.getopt; // Раазбор аргументов коммандной строки import std.file; import std.conv; import std.string; import ini; import core.runtime; // Обработка входных параметров import core.sys.wind...
D
grossly irreverent toward what is held to be sacred characterized by profanity or cursing
D
/** * Annotated statements */ module exlang.annotated.statement; /** * Abstract annotated statement class */ abstract class AnnStatement { } /** * Annotated let statement */ class AnnLetStatement : AnnStatement { import exlang.annotated.expression; /** * The identifier */ string iden...
D
INSTANCE ItKe_GDG_Keller_01(C_Item) { name = "Schlüssel"; mainflag = ITEM_KAT_NONE; flags = 0; value = Value_Key_01; visual = "ItKe_Key_01.3ds"; material = MAT_METAL; description = name; TEXT[5] = NAME_Value; COUNT[5] = value; }; INSTANCE ItKe_Mod_Gunnar_Dieb(C_Item) { name ...
D
/** * Output to ELF object files * * http://www.sco.com/developers/gabi/2003-12-17/ch4.sheader.html * * Compiler implementation of the * $(LINK2 https://www.dlang.org, D programming language). * * Copyright: Copyright (C) ?-1998 by Symantec * Copyright (C) 2000-2023 by The D Language Foundation,...
D
module kprop.api.digitalocean.digitalocean; import std.stdio; import std.json; import std.net.curl; import std.exception:Exception,enforce,assumeUnique; import std.conv:to; import std.algorithm:countUntil,map,each; import std.traits:EnumMembers; import std.array:array,appender; import std.format:format; import std.vari...
D
/home/josh7gas/Oficina/Rust/CLI_tool_practice/training_Buffer/target/debug/deps/vec_map-86b9a1b07cd2a98d.rmeta: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs /home/josh7gas/Oficina/Rust/CLI_tool_practice/training_Buffer/target/debug/deps/libvec_map-86b9a1b07cd2a98d.rlib: /home...
D
/home/fluix/Documents/CMPT383/Final_Project/Round2/CMPT383-Raytracer/raytracer/server/target/debug/deps/doc_comment-e6b1fa05b4969544.rmeta: /home/fluix/.cargo/registry/src/github.com-1ecc6299db9ec823/doc-comment-0.3.3/src/lib.rs /home/fluix/Documents/CMPT383/Final_Project/Round2/CMPT383-Raytracer/raytracer/server/targ...
D
const int Value_Goldnugget = 18; const int Value_WhitePearl = 120; const int Value_Addon_Joint_01 = 60; instance ItMi_GoldNugget_Addon(C_Item) { name = "Gold nugget"; mainflag = ITEM_KAT_NONE; flags = ITEM_MULTI; value = Value_Goldnugget; visual = "ItMi_GoldNugget_01.3ds"; material = MAT_STONE; description = n...
D
///////////////////////////////////////// // Dr Pymonte /////////////////////////// ///////////////////////////////////////// instance InExtremo_DrPymonte(Npc_Default) { //-------- primary data -------- name = "Dr Pymonte"; npctype = npctype_main; guild = GIL_NONE; level = 4; voice ...
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved // // License for redistribution is given by the Artistic License 2.0 // see file LICENSE for further details module vdc.ast.iasm; impor...
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
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorView.o : /Users/hanykaram/Desktop/MVP/Pods/NVActivityIndicatorView/Sources/Base/Animations/NVActivityI...
D
// written in the D programming language module samples.Springies; import dchip.all; import samples.ChipmunkDemo; static cpSpace *space; static cpFloat springForce(cpConstraint *spring, cpFloat dist) { cpFloat clamp = 20.0f; return cpfclamp(cpDampedSpringGetRestLength(spring) - dist, -clamp, clamp)*cpDamp...
D
// URL: https://yukicoder.me/problems/no/313 import std.algorithm, std.array, std.bitmanip, std.container, std.conv, std.format, std.functional, std.math, std.range, std.traits, std.typecons, std.stdio, std.string; version(unittest) {} else void main() { string s; io.getV(s); auto a = new int[](10); fore...
D
/Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimulator/UserDetails.build/Objects-normal/x86_64/ViewManager.o : /Users/mac/Desktop/lelabtest/UserDetails/SceneDelegate.swift /Users/mac/Desktop/lelabtest/UserDetails/AppDelegate.swift /Users/mac/Desktop/lelabtest/build/UserDetails.build/Debug-iphonesimu...
D
module pyd.util.typelist; template Join(string delimit, T...) { static if(T.length == 0) { enum Join = ""; }else static if(T.length == 1) { enum Join = T[0]; }else { enum Join = T[0] ~ delimit ~ Join!(delimit,T[1..$]); } }
D
import std.stdio; import std.string; import std.conv; import std.algorithm; import std.range; import std.traits; import std.math; import std.conv; void main() { auto n = ri(); auto a = n.to!double.sqrt.to!int; int res = int.max; foreach(i; 1..a+1) { auto r = n/i; res = min(res, (n-i*r) + abs(r-i)); } res.wri...
D
module engine.ecs.shape_renderer; import engine.core.ecs; import engine.renderer; import engine.utils.math; import engine.utils.color; import engine.utils.maybe; import engine.ecs.transform; import engine.ecs.shape; @component struct ShapeRenderer { vec4 color; Maybe!float outline; }
D
/** This module contains compiler support for casting dynamic arrays Copyright: Copyright Digital Mars 2000 - 2019. License: Distributed under the $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0). (See accompanying file LICENSE) Source: $(DRUNTIMESRC core/internal/_array/_ca...
D
/* DSFML - The Simple and Fast Multimedia Library for D Copyright (c) 2013 - 2015 Jeremy DeHaan (dehaan.jeremiah@gmail.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission...
D
module android.java.android.opengl.EGLConfig_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; final class EGLConfig : IJavaObject { static immutabl...
D
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE 309 80 2 0 35 56 72 -112 1699 3.79999995 3.9000001 0.0952380952 intrusives, diabase 217 85 16 60 35 56 72 -112 1697 31 31 0.0952380952 extrusives, basalt 238 77 6 77 15 60 64.5999985 -127.900002 1745 11.6000004 11.8000002 0.0444444444 sediments,...
D
/** License: $(HTTP www.apache.org/licenses/LICENSE-2.0, Apache-2.0) */ /** * Error Functions and Normal Distribution. * * Copyright: Based on the CEPHES math library, which is * Copyright (C) 1994 Stephen L. Moshier (moshier@world.std.com). * Authors: Stephen L. Moshier, ported to D by Don Clugston a...
D
module socks5d.packets; import std.bitmanip; import std.conv : to; import std.traits; import socks5d.driver; import socks5d.factory : logger; enum AuthMethod : ubyte { NOAUTH = 0x00, GSSAPI = 0x01, AUTH = 0x02, NOTAVAILABLE = 0xFF } enum AuthStatus : ubyte { YES = 0x00, NO = 0x01, } enum Req...
D
import std.stdio; uint[] generatePrimes(uint upperBound) in { assert(upperBound >= 2); } body { bool[] sieve = new bool[upperBound / 2 - 1]; for (auto i = 3; i < upperBound; i += 2) if (!sieve[i / 2 - 1]) for (auto j = i + 2 * i; j < upperBound; j += 2 * i) sieve[j / 2 - 1] = true; uint[] res...
D
<!-- START: including template: extension/sikkerhedsstyrelsen/design/design_2013/templates/print_pagelayout.tpl (design:print_pagelayout.tpl) --> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www....
D
module app.model.UserInfo; import hunt.entity; @Table("userinfo", "hunt_") class UserInfo : Model { mixin MakeModel; @AutoIncrement @PrimaryKey int id; @Column("nickname") @Length(0,50) string nickName; @Max(150) int age; ubyte[] image; @Transient string se...
D
/**************************************************************************** ** ** Copyright (C) 2011 Thiago Macieira <thiago@kde.org> ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees hol...
D
module scorpion.repository; import std.algorithm : map; import std.conv : to; import std.string : startsWith, join; import std.traits : ReturnType, Parameters, ParameterIdentifierTuple, hasUDA, getUDAs; import shark : Database, PrimaryKey; import scorpion.entity : Entity, ExtendEntity; /** * Base interface for re...
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
D
/******************************************************************************* * Copyright (c) 2000, 2006 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 android.java.java.lang.NullPointerException_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
import std.file; import core.stdc.stdlib; import std.stdio; import std.array:replace; /** * Simple utility file to get the source files used for a game project in Hipreme Engine. * This utility may be replaced in the future to prefer dub describe --data=source-files * */ int main(string[] args) { if(args.l...
D
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
D
INSTANCE Info_Mod_HofstaatPassantin02_Fluffy (C_INFO) { npc = Mod_7337_HS_Passantin_REL; nr = 1; condition = Info_Mod_HofstaatPassantin02_Fluffy_Condition; information = Info_Mod_HofstaatPassantin02_Fluffy_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_HofstaatPassantin02_Fluffy_Condition() { if (Mo...
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2012 by Rainer Schuetze, All Rights Reserved // // 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...
D