code
stringlengths
3
10M
language
stringclasses
31 values
/******************************************************************************* * Copyright (c) 2003, 2004 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
ZUNGHR (F08NTF) Example Program Data 4 :Value of N (-3.97,-5.04) (-4.11, 3.70) (-0.34, 1.01) ( 1.29,-0.86) ( 0.34,-1.50) ( 1.52,-0.43) ( 1.88,-5.38) ( 3.36, 0.65) ( 3.31,-3.85) ( 2.50, 3.45) ( 0.88,-1.08) ( 0.64,-1.48) (-1.10, 0.82) ( 1.81,-1.59) ( 3.25, 1.33...
D
module ui.widgetrenderer; import client; import ui.renderer; import ui.renderhelper; import ui.widgets.iwidget; import derelict.sdl2.sdl; import std.algorithm; abstract class WidgetRenderer : Renderer { protected string backgroundImage; protected IWidget[] allWidgets; public this(Client client, RenderHelper ren...
D
// Written in the D programming language. /** * Templates with which to extract information about types and symbols at * compile time. * * <script type="text/javascript">inhibitQuickIndex = 1</script> * * $(BOOKTABLE , * $(TR $(TH Category) $(TH Templates)) * $(TR $(TD Symbol Name _traits) $(TD * $(...
D
instance STT_324_Balam (Npc_Default) { //-------- primary data -------- name = "Balam"; npctype = NPCTYPE_MAIN; guild = GIL_GRD; level = 15; voice = 4; id = 324; //-------- abilities -------- attribute[ATR_STRENGTH] = 65; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = ...
D
/* Copyright (c) 2011-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, dist...
D
/* This version of microEmacs is based on the public domain C * version written by Dave G. Conroy. * The D programming language version is written by Walter Bright. * http://www.digitalmars.com/d/ * This program is in the public domain. */ /* * The functions in this file handle redisplay. There are two halves...
D
const int SPL_COST_TRFSHEEP = 5; const int SPL_COST_TRFSCAVENGER = 5; const int SPL_COST_TRFGIANTRAT = 5; const int SPL_COST_TRFGIANTBUG = 5; const int SPL_COST_TRFWOLF = 10; const int SPL_COST_TRFWARAN = 10; const int SPL_COST_TRFSNAPPER = 10; const int SPL_COST_TRFWARG = 15; const int SPL_COST_TRFFIREWARAN = 15; con...
D
module UnrealScript.Engine.ParticleModuleLocationPrimitiveBase; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.ParticleModuleLocationBase; import UnrealScript.Core.DistributionFloat; import UnrealScript.Core.DistributionVector; extern(C++) interface ParticleModuleLocationPrimiti...
D
module TokenStreamRewriterTest; import antlr.v4.runtime.ANTLRInputStream; import antlr.v4.runtime.CommonToken; import antlr.v4.runtime.CommonTokenStream; import antlr.v4.runtime.DiagnosticErrorListener; import antlr.v4.runtime.LexerNoViableAltException; import antlr.v4.runtime.Token; import antlr.v4.runtime.TokenStrea...
D
module deject.detail.bindingkey; struct BindingKey { TypeInfo typeInfo; }
D
/home/matt/Documents/Research/practical_rust/hello_world/target/release/deps/hello_world-734dcdacbb6b941c: src/main.rs /home/matt/Documents/Research/practical_rust/hello_world/target/release/deps/hello_world-734dcdacbb6b941c.d: src/main.rs src/main.rs:
D
module dinrus; import scConfig, cidrus; проц main() { версияДинрус(); сбросьЦветКонсоли(); scope(exit) выход(0); }
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Vapor.build/Content/SingleValueGet.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/vapor/Sou...
D
void main() { runSolver(); } void problem() { auto T = scan!int; auto Q = scan!long(3 * T).chunks(3); auto subSolve(long N, long D, long K) { auto t = D * K; auto cycleSize = (N * D) / gcd(N, D) / D; return (t % N) + K / cycleSize; } auto solve() { foreach(q; Q) { subSolve(q[0], q[1],...
D
praise, glorify, or honor fill with sublime emotion heighten or intensify raise in rank, character, or status tending to exalt
D
module aurora.directx.dxgi.dxgi; version(Windows): import aurora.directx.com; public import aurora.directx.dxgi.dxgitype; public import aurora.directx.dxgi.dxgicommon; public import aurora.directx.dxgi.dxgiformat; public: // // Constants // //DXGI_ERROR enum DXGI_ERROR_DEVICE_HUNG = 0x887A0006; enum DXGI_ERROR_DEV...
D
void main() { auto N = ri; auto K = ri; auto A = readAs!(long[]); auto arr = new long[](N); arr[0] = A[0]; foreach(i; 0..N-1) arr[i+1] = arr[i] + A[i+1]; debug arr.writeln; long res = long.min; // K = 1: // 1-2-3-4-5-4-5 // 1 2 3 44 55 // 1-2-3-4-5-4-3-4-5 // 1 2 33 444 55 // 1-2-3-4-5-4-3-2-3-4-5 // 1 ...
D
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
D
import std.stdio; import tinyspline; void main() { // Create a cubic spline with 7 control points in 2D using // a clamped knot vector. This call is equivalent to: // BSpline spline = new BSpline(7, 2, 3, BSplineType.CLAMPED); BSpline spline = new BSpline(7); // Setup control points. Vector ctrlp = spline.ctrlp...
D
module event.keyboard; import x11.Xlib : Display, XEvent, XKeyEvent; import password; class Keyboard { Display* dpy; string passwd; PasswordHandler handler; this(Display* dpy) { this.handler = new PasswordHandler(); this.dpy = dpy; } void grab() { XGrabKeyboard( this.dpy, DefaultRootWindow(this....
D
module knet.tests; import knet.base; import knet.traversal: bfWalker, nnWalker, nnWalk, WalkStrategy; import knet.filtering: StepFilter; import dbg: pln; void testLinkReusage() { auto gr = new Graph(); const ndA = gr.add(`Skänninge`, Lang.sv, Sense.city, Origin.manual); const ndB = gr.add(`3200`, Lang.sv...
D
/Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Build/Intermediates/Pods.build/Debug-iphonesimulator/Outlaw.build/Objects-normal/x86_64/Array.o : /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/Pods/Outlaw/Sources/Outlaw/JSON.swift /Volumes/Element-Mac/_development/_ios/_training/Bandsintown/P...
D
import std.file, std.array, std.regex, std.stdio, std.format, pegged.grammar; enum OXD = ` OXD: Main < (AliasStmt / StructDecl / FuncStmt)* eoi ### PrimaryExpr < ParExpr / StringLiteral / DoubleLiteral / IntegerLiteral / BoolLiteral / NullLiteral ParExpr < '(' CommaExpr ')' DotBody < '.' ...
D
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SchedulerServices+Emulation.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sunchuyue/Documents/test/RX_Prod...
D
/* libFLAC - Free Lossless Audio Codec library * Copyright (C) 2000-2009 Josh Coalson * Copyright (C) 2011-2013 Xiph.Org Foundation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of so...
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
import std.stdio; struct Node { string name; int weight; Node[] children; } struct RawNode { string name; int weight; string[] children; } RawNode parseLine(char[] line) { import std.algorithm.searching: canFind; import std.regex: split, regex; import std.format: formattedRead; import...
D
an insubstantial or vague semblance a representation of a person (especially in the form of sculpture
D
import std.array; import std.stdio; import std.random; import std.getopt; alias int[2] xy; xy toTheLeft(xy a, xy b) pure { return [(1 + a[0] + b[0] + a[1] - b[1]) / 2, (a[1] + b[1] - a[0] + b[0] - 1) / 2]; } xy toTheRight(xy a, xy b) pure { return [(1 + a[0] + b[0] - a[1] + b[1]) / 2, (a[1] + b[1] + a[0] - b[0] - ...
D
/* Copyright © 2020, Inochi2D Project Distributed under the 2-Clause BSD License, see LICENSE file. Authors: Luna Nielsen */ module creator; import inochi2d; import inochi2d.core.dbg; import creator.core.actionstack; import creator.atlas; public import creator.ver; public import creator.atlas; import ...
D
/Users/augustomachado/github/rust_sudoku/sudoku/target/debug/build/gl-7728b51ed12eaa23/build_script_build-7728b51ed12eaa23: /Users/augustomachado/.cargo/registry/src/github.com-1ecc6299db9ec823/gl-0.13.0/build.rs /Users/augustomachado/github/rust_sudoku/sudoku/target/debug/build/gl-7728b51ed12eaa23/build_script_build-...
D
/Users/adam/Projects/itunes_rss/Build/Intermediates.noindex/iTunesRSSFeed.build/Debug-iphonesimulator/iTunesRSSFeed.build/Objects-normal/x86_64/APIClient.o : /Users/adam/Projects/itunes_rss/iTunesRSSFeed/Networking/iTunesRSSAPI.swift /Users/adam/Projects/itunes_rss/iTunesRSSFeed/Models/Feed.swift /Users/adam/Projects/i...
D
// 725 class X{ float a; } void main(){ X x; float a; a -= x; }
D
module org.eclipse.swt.internal.mozilla.nsIServiceManager; 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; const char[] NS_ISERVICEMANAGER_IID_STR = "8bb35ed9-e332-462d-9155-4a002ab5c958"; const n...
D
/Users/prang/Desktop/DF_app/build/DF_app.build/Debug-iphonesimulator/DF_app.build/Objects-normal/x86_64/AppDelegate.o : /Users/prang/Desktop/DF_app/DF_app/loginPlusHandle.swift /Users/prang/Desktop/DF_app/DF_app/ViewController.swift /Users/prang/Desktop/DF_app/DF_app/LogChangePController.swift /Users/prang/Desktop/DF_a...
D
import dge.game; enum uint screenWidth = 800; enum uint screenHeight = 600; enum aspectRatio = cast(float)screenWidth / screenHeight; int main(string[] args) { Game.initLibraries(); scope(exit) Game.finalizeLibraries(); Window window = new Window(800, 600); window.open(); scope(exit) window.close(); //T...
D
module witchcraft.unittests.structs; version(unittest) { import witchcraft; struct User { mixin Witchcraft; string username; string password; } struct Animal { mixin Witchcraft; @disable bool opEquals(const Animal) { return true ;} } void testSuite(C)(C metaO...
D
void f(T)(const ref T src, ref T dest) { } void main() { const byte src; byte dest; f(src, dest); }
D
instance KDF_510_Hyglas(Npc_Default) { name[0] = "Хиглас"; guild = GIL_KDF; id = 510; voice = 14; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,5); fight_tactic = FAI_HUMAN_STRONG; B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Thief",Face_N_NormalBart09,BodyTex_N,ITAR_KDF_L)...
D
module android.java.java.lang.annotation.ElementType; public import android.java.java.lang.annotation.ElementType_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!ElementType; import import2 = android.java.java.lang.Class; import import0 = android.java.java.lang.annotation.ElementType;
D
/Users/yuxiangtang1/Documents/IOS Programming/TipCalculator/build/TipCalculator.build/Debug-iphonesimulator/TipCalculator.build/Objects-normal/x86_64/Extensions.o : /Users/yuxiangtang1/Documents/IOS\ Programming/TipCalculator/TipCalculator/ViewController.swift /Users/yuxiangtang1/Documents/IOS\ Programming/TipCalculato...
D
module ircd.server; import std.stdio; import std.algorithm; import std.range; import std.conv; import std.socket; import core.time; import std.datetime; import std.string; import vibe.core.core; import vibe.core.net; import ircd.versionInfo; import ircd.message; import ircd.connection; import ircd.channel; import i...
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 // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICE...
D
/Users/lincolnnguyen/Desktop/ordertracking/DerivedData/ordertracking/Build/Intermediates.noindex/ordertracking.build/Debug-iphonesimulator/ordertracking.build/Objects-normal/x86_64/AppDelegate.o : /Users/lincolnnguyen/Desktop/ordertracking/ordertracking/SceneDelegate.swift /Users/lincolnnguyen/Desktop/ordertracking/ord...
D
/******************************************************************************* Performance config class for use with ocean.util.config.ClassFiller. copyright: Copyright (c) 2012-2017 dunnhumby Germany GmbH. All rights reserved License: Boost Software License Version 1.0. See LICENSE.txt...
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...
D
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. SPDX-License-Identifier: curl Long: proxy-key Help: Private key for HTTPS proxy Arg: <key> Category: proxy tls Example: --proxy-key here -x https://proxy $URL Added: 7.52.0 See-also: proxy-key-type proxy Multi: single --- Same as --key b...
D
/Users/lukeanglin/Desktop/Probability/Project2/simulator/sim/target/rls/debug/build/getrandom-3fe5be9abbd295b8/build_script_build-3fe5be9abbd295b8: /Users/lukeanglin/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.2/build.rs /Users/lukeanglin/Desktop/Probability/Project2/simulator/sim/target/rls/debug/bu...
D
module neton.client.NetonOption; struct NetonOption { string ip; ushort port; }
D
.BG .FN sammon .TL Sammon's Non-Linear Mapping .DN Finds a new, reduced-dimensionality, coordinate system for multivariate data such that the an error criterion between distances in the given space, and distances in the result space, is minimized. .CS sammon(a, p=2, maxit=100, tol=0.05, alpha=0.3, diagnostics=F) .RA ...
D
module main; import std.stdio; import std.conv; import std.string; import std.algorithm; void main() { int N = 1000000; bool pb[] = new bool[N]; int p[]; for(int i = 2; i < N; i++) { if(pb[i]) continue; p ~= i; for(int j = i; j < N; j += i) pb[j] = true; } while(true) { int ...
D
INSTANCE Mod_7131_ASS_Krieger_NW (Npc_Default) { // ------ NSC ------ name = "Assassinenkrieger"; guild = GIL_OUT; id = 7131; voice = 13; flags = 0; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); // ------ Kampf-Takti...
D
module org.serviio.library.service.AccessGroupService; import java.lang.Long; import java.util.List; import org.serviio.db.dao.DAOFactory; import org.serviio.library.entities.AccessGroup; import org.serviio.renderer.entities.Renderer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class AccessGroupSe...
D
/******************************************************************************* Initialises a connection in the node to a client. Copyright: Copyright (c) 2016-2017 sociomantic labs GmbH. All rights reserved License: Boost Software License Version 1.0. See LICENSE.txt for details. *************...
D
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
D
module net.repdata; /* ReplayData, Permu */ import std.bitmanip; import std.conv; import std.exception; import std.random; import derelict.enet.enet; import net.packetid; import net.enetglob; import net.ac; public import net.structs : PlNr; struct Update { int u; alias u this; } // counts how far the game has adv...
D
/**Generates random samples from a various probability distributions. * These are mostly D ports of the NumPy random number generators.*/ /* This library is a D port of a large portion of the Numpy random number * library. A few distributions were excluded because they were too obscure * to be tested properly. Th...
D
module android.java.android.hardware.TriggerEventListener_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.android.hard...
D
module src.statemanager; import std.stdio; import src.state; class StateManager { public: void update( float delta ) { if( empty ) return; foreach_reverse( s; data ) { s.update( delta ); if( s.StopUpdate ) break; } } ...
D
module genz; import std.stdio; import std.math; /// simple exponential function: integral is (e-1)^s. template exponential(size_t s) { real f(real[] x) in { assert (x.length == s); } body { auto e = 0.0; foreach (c; x) e += c; return exp(e); } ...
D
// REQUIRED_ARGS: -w // 4375: Dangling else void main() { if (true) switch (1) // o_O default: if (false) assert(115); else assert(116); }
D
/** * D header file for POSIX. * * 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: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 20...
D
/Users/nitisha/Documents/My_Task/DemoApplication/Build/Intermediates/DemoApplication.build/Debug-iphonesimulator/DemoApplication.build/Objects-normal/x86_64/CartListingViewController.o : /Users/nitisha/Documents/My_Task/DemoApplication/DemoApplication/Application/AppDelegate.swift /Users/nitisha/Documents/My_Task/DemoA...
D
<?xml version="1.0" encoding="UTF-8"?> <di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> <pageList> <availablePage> <emfPageIdentifier href="model.notation#_3nJUMlGyEeOMyOHl8c...
D
/* 31.05.2014 7:36:58 Add x64 Repair LTrim and RTrim */ /* ё - 184 0451 d1-91 Ё - 168 0401 d0-81 » - 00BB « - 00AB */ module asc1251; import std.ascii; import std.conv; import std.utf; import std.stdio; bool isDigit1251(char c) pure nothrow { return (mm1251[c] & tDigit) != 0; } bool isLower1251E(char...
D
instance STRF_1144_Addon_Sklave(Npc_Default) { name[0] = NAME_Addon_Sklave; guild = GIL_STRF; id = 1144; voice = 3; flags = 0; npcType = NPCTYPE_BL_AMBIENT; aivar[AIV_NoFightParker] = TRUE; aivar[AIV_IgnoresArmor] = TRUE; B_SetAttributesToChapter(self,1); EquipItem(self,ItMw_StoneHammer); fight_tactic = FAI...
D
module mysql.packet; import std.algorithm; import std.traits; import mysql.exception; struct InputPacket { @disable this(); this(ubyte[]* buffer) { buffer_ = buffer; in_ = *buffer_; } T peek(T)() if (!isArray!T) { assert(T.sizeof <= in_.length); return *(cast(T*)in_.ptr); } T eat(T)() if (!isArray...
D
/* GDC -- D front-end for GCC Copyright (C) 2011, 2012 Free Software Foundation, Inc. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. ...
D
/* Cockos WDL License Copyright (C) 2005 - 2015 Cockos Incorporated Copyright (C) 2015 and later Auburn Sounds Portions copyright other contributors, see each source file for more information This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for ...
D
/* Файл: FilteringIterator.d Originally записано by Doug Lea и released преобр_в the public домен. Thanks for the assistance и support of Sun Microsystems Labs, Agorics Inc, Loral, и everyone contributing, testing, и using this код. History: Дата Who What 22Oct95 dl@cs.oswego.ed...
D
instance VLK_4201_Wirt(Npc_Default) { name[0] = "Landlord"; guild = GIL_VLK; id = 4201; voice = 14; flags = 0; npcType = npctype_main; B_SetAttributesToChapter(self,4); fight_tactic = FAI_HUMAN_STRONG; B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_N_OldBald_Jeremiah,BodyTex_N,ITA...
D
module hunt.imf.protocol.websocket.WsProtocol; import hunt.imf.protocol.Protocol; import hunt.net.codec.Codec; import hunt.imf.ConnectionEventBaseHandler; import hunt.http.server.HttpServerOptions; import hunt.imf.protocol.websocket.WsConnectionEventHandler; import hunt.http.HttpOptions; import hunt.http.server.Server...
D
instance PIR_1354_Addon_Henry(Npc_Default) { name[0] = "Henry"; guild = GIL_PIR; id = 1354; voice = 4; flags = FALSE; npcType = npctype_main; aivar[AIV_NewsOverride] = TRUE; B_SetAttributesToChapter(self,5); fight_tactic = FAI_HUMAN_MASTER; EquipItem(self,ItMw_Piratensaebel); B_SetNpcVisual(self,MALE,"Hum_H...
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Leaf.build/Buffer/Buffer+Leaf.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Embed.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/che...
D
/Users/chrisconner/Desktop/BullsEye/DerivedData/BullsEye/Build/Intermediates.noindex/BullsEye.build/Debug-iphonesimulator/BullsEye.build/Objects-normal/x86_64/AboutMeViewController.o : /Users/chrisconner/Desktop/BullsEye/BullsEye/AppDelegate.swift /Users/chrisconner/Desktop/BullsEye/BullsEye/ViewController.swift /Users...
D
import std.stdio; import std.math; import std.algorithm; import std.conv; import std.bigint; import std.array; bool divisible(T)(T a, T b) { assert(b != 0); return (a % b) == 0; } T[] primeFactors(T)(T n) { assert(n > 0); for (T x = 2; x * x <= n; ++ x) if (divisible!T(n, x)) r...
D
import vibe.d; import std.random; import std.process; import std.conv; shared static this() { string[] args; finalizeCommandLineOptions(&args); auto settings = new HTTPServerSettings; settings.port = cast(short) uniform(1000, short.max); settings.bindAddresses = ["::1", "127.0.0.1"]; auto router = new URLRout...
D
instance Mod_7508_BUD_Sterling_MT (Npc_Default) { //-------- primary data -------- name = "Sterling"; npctype = npctype_MAIN; guild = GIL_out; level = 2; voice = 0; id = 7508; //-------- abilities -------- B_SetAttributesToChapter (self, 2); //-------- visuals ----...
D
/Users/lee_bennett/Desktop/MadeSimple/Playground/AVFoundation/Build/Intermediates/AVFoundation.build/Debug-iphonesimulator/AVFoundation.build/Objects-normal/x86_64/ViewController.o : /Users/lee_bennett/Desktop/MadeSimple/Playground/AVFoundation/AVFoundation/SceneDelegate.swift /Users/lee_bennett/Desktop/MadeSimple/Play...
D
# FIXED 320c66x_le/bsp-evmc6678/resourcemgr.obj: ../320c66x_le/bsp-evmc6678/resourcemgr.c 320c66x_le/bsp-evmc6678/resourcemgr.obj: ../320c66x_le/bsp-evmc6678/drv.h 320c66x_le/bsp-evmc6678/resourcemgr.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.4/include/stdio.h 320c66x_le/bsp-evmc6678/resourcemgr.obj: C:/ti/ccsv7...
D
/** * Copyright © DiamondMVC 2019 * License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE) * Author: Jacob Jensen (bausshf) */ module diamond.xml.xmlexception; public import diamond.errors.exceptions.xmlexception;
D
func void zs_sit_table() { Perception_Set_Normal(); B_ResetAll(self); if(!C_BodyStateContains(self,BS_SIT)) { AI_SetWalkMode(self,NPC_WALK); if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == FALSE) { AI_GotoWP(self,self.wp); }; }; }; func int zs_sit_table_loop() { if(!C_BodyStateContains(self,BS_MOBIN...
D
/******************************************************************************* copyright: Copyright (c) 2006 Dinrus. все rights reserved license: BSD стиль: see doc/license.txt for details version: Initial release: Feb 2006 author: Regan Heath, O...
D
// Copyright (с) 2013 Gushcha Anton <ncrashed@gmail.com> /* * This file is part of Borey Engine. * * 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 * th...
D
/home/josh7gas/github.com/Josh7GAS/Oficina/Rust/CLI_tool_practice/subnet_calculator/target/debug/build/bitflags-29f8aa9c3de853a4/build_script_build-29f8aa9c3de853a4: /home/josh7gas/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/build.rs /home/josh7gas/github.com/Josh7GAS/Oficina/Rust/CLI_tool_practice/...
D
// Copyright Ferdinand Majerech 2012. // 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) /// GL2 2D texture backend. module video.gl2texture; import std.conv; import std.stdio; import derel...
D
/* 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, execute, and transmit the Software, a...
D
// PERMUTE_ARGS: -g -version=PULL8152 // EXTRA_CPP_SOURCES: cppb.cpp import core.stdc.stdio; import core.stdc.stdarg; import core.stdc.config; import core.stdc.stdint; extern (C++) int foob(int i, int j, int k); class C { extern (C++) int bar(int i, int j, int k) { printf("this = %p\n", this)...
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 // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICE...
D
module webkit2.UserMediaPermissionRequest; private import gobject.ObjectG; private import webkit2.PermissionRequestIF; private import webkit2.PermissionRequestT; private import webkit2.c.functions; public import webkit2.c.types; /** * WebKitUserMediaPermissionRequest represents a request for * permission to decid...
D
module mach.io.stream.io; private: import mach.traits : isIterable; import mach.io.stream.exceptions; import mach.io.stream.templates; /++ Docs Stream types support read and write operations via their `readbufferv` and `writebufferv` methods. This module implements a number of abstractions that allow reading from a...
D
/* * Copyright (C) 2007 Mario Kicherer (http://empanyc.net) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. ...
D
import std.stdio; import std.conv; string readString(const(byte[]) buffer, ref uint index) { string result; while (buffer[index] != 0) { result ~= to!char(buffer[index]); index++; } index++; return result; } float readFloat(const(byte[]) buffer, ref uint index) { int result; foreach (_;0..4) { ...
D
/Users/voidet/Desktop/iOS/REABot/Build/Intermediates/Snappy.build/Debug-iphonesimulator/Snappy.build/Objects-normal/x86_64/ConstraintRelation.o : /Users/voidet/Desktop/iOS/REABot/Snappy/EdgeInsets.swift /Users/voidet/Desktop/iOS/REABot/Snappy/ConstraintRelation.swift /Users/voidet/Desktop/iOS/REABot/Snappy/ConstraintAt...
D
/Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/.build/debug/PerfectLib.build/File.swift.o : /Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/Packages/PerfectLib-2.0.5/Sources/PerfectLib/Bytes.swift /Users/keynote/Documents/iOS/Swift/SwiftServer/PerfertlyServer/Packages/PerfectLib-2.0.5/Sou...
D
module godot.physicsdirectspacestate; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.object; import godot.physicsshapequeryparameters; @GodotBaseClass struct PhysicsDirectSpaceState { static immutable string _GODOT_internal_na...
D
/** DDBC - D DataBase Connector - abstraction layer for RDBMS access, with interface similar to JDBC. Source file ddbc/package.d DDBC library attempts to provide implementation independent interface to different databases. API is similar to Java JDBC API. http://docs.oracle.com/javase/7/docs/technotes/guides/jdbc/ ...
D
import std.stdio, std.array, std.string, std.conv, std.algorithm; import std.typecons, std.range, std.random, std.math, std.container; import std.numeric, std.bigint, core.bitop; void main() { auto A = readln.chomp.map!(x => x == '1').array; auto B = readln.chomp.map!(x => x == '1').array; auto ...
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