code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/*
Copyright (c) 2016-2017 Eugene Wissner
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, dis... | D |
void main() {
problem();
}
void problem() {
const N = scan!int;
const An = scan!long(N);
long solve() {
bool[int] candidates;
foreach(i; 0..N) candidates[i] = false;
long answer;
foreach(i; 0..N) {
long maxJoy = -1;
int maxJoyIndex;
foreach(j; candidates.keys) {
cons... | D |
/**
A selection of graph algorithms.
Copyright: © 2018 Arne Ludwig <arne.ludwig@posteo.de>
License: Subject to the terms of the MIT license, as written in the
included LICENSE file.
Authors: Arne Ludwig <arne.ludwig@posteo.de>
*/
module dentist.util.graphalgo;
import dentist.util.math :
... | 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_BeT-61143418... | D |
// https://issues.dlang.org/show_bug.cgi?id=22593
/*
TEST_OUTPUT:
---
fail_compilation/test22593.d(14): Error: Cannot define both an rvalue constructor and a copy constructor for `struct Foo`
fail_compilation/test22593.d(22): Template instance `__ctor!(immutable(Foo!int), immutable(Foo!int))` creates a rvalue c... | D |
ZTRCON (F07TUF) Example Program Data
4 :Value of N
'L' :Value of UPLO
( 4.78, 4.56)
( 2.00,-0.30) (-4.11, 1.25)
( 2.89,-1.34) ( 2.36,-4.25) ( 4.15, 0.80)
(-1.89, 1.15) ( 0.04,-3.69) (-0.02, 0.46) ( 0.33,-0.... | D |
module dlangui.dml.tokenizer;
import dlangui.core.types;
import dlangui.core.linestream;
import std.conv : to;
import std.utf : toUTF32;
import std.algorithm : equal, min, max;
enum TokenType : ushort {
/// end of file
eof,
/// end of line
eol,
/// whitespace
whitespace,
/// string litera... | D |
module dsymbols.dvariable;
import dsymbols.common;
import dsymbols.dsymbolbase;
import logger;
import std.algorithm;
import std.array;
import std.range;
class VariableSymbol : TypedSymbol!(SymbolType.VAR)
{
this(string name, Offset pos, DType type)
{
_info.name = name;
_info.type = type;
... | D |
module tests.fake_units_tests;
debug import std.stdio;
@("Let there be units")
unittest
{
import quantities;
import std.exception : assertThrown;
// Let there be units
auto apple = unit!int("Apple");
auto cookie = unit!int("Cookie");
auto movie = unit!int("Movie");
// Let there be prefix... | D |
module libssh;
public import libssh.types;
public import libssh.funcs;
public import libssh.dconst; | D |
import std.stdio;
import vibe.d;
void index(HTTPServerRequest req, HTTPServerResponse res)
{
res.render!("index.dt", req);
}
shared static this()
{
auto router = new URLRouter;
router.get("/", &index);
router.get("*", serveStaticFiles("./public/"));
auto settings = new HTTPServerSettings;
settings.bindAddress... | D |
instance GRD_5028_GARDIST(Npc_Default)
{
name[0] = NAME_Gardist;
npcType = npctype_guard;
guild = GIL_GRD;
level = 15;
voice = 13;
id = 5028;
attribute[ATR_STRENGTH] = 80;
attribute[ATR_DEXTERITY] = 60;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 190;
attribute[ATR_H... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Fluent.build/Entity/Entity.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Utilities/UUID.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/c... | D |
module android.java.android.util.Log_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.java.lang.JavaThrowable_d_interfa... | D |
/*
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/dip25.d(13): Deprecation: returning `this.buffer[]` escapes a reference to parameter `this`, perhaps annotate with `return`
---
*/
struct Data
{
char[256] buffer;
@property const(char)[] filename() const pure nothrow
{
return buffer[];
}
}
... | D |
a chemical element lacking typical metallic properties
not containing or resembling or characteristic of a metal
| D |
/Users/philipbeadle/holochain/hApps/holochain-ui/dna-src/holo-vault/test/node_modules/@holochain/holochain-nodejs-bleeding/native/target/release/deps/libholochain_core-2d4ba6a47fba5aab.rlib: /Users/philipbeadle/.cargo/git/checkouts/holochain-rust-c3b6365fc5bfa642/15b1892/core/src/lib.rs /Users/philipbeadle/.cargo/git/c... | D |
# FIXED
2806x_examples_setup.obj: C:/Users/a0272561/Repositories/cs30_controlsuite/libs/math/CLAmath/CLAMATH_VERSION/examples/common/2806x_examples_setup.c
2806x_examples_setup.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdint.h
2806x_examples_setup.obj: C:/Users/a0272561/Repositories/cs30_co... | D |
module android.java.android.telephony.AccessNetworkConstants_EutranBand;
public import android.java.android.telephony.AccessNetworkConstants_EutranBand_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!AccessNetworkConstants_EutranBand;
import import0 = android.java.java.lang.Class;
| D |
///
module adrdox;
| D |
# FIXED
wdog.obj: C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2802x/common/source/wdog.c
wdog.obj: C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2802x/common/include/DSP28x_Project.h
wdog.obj: C:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2802x/headers/include/F2802x_Device.h
wdog.obj: C:/ti/ccsv8/tools/com... | D |
import std.stdio;
void main(string[] arguments)
{
writeln("Hello World");
}
| D |
module hunt.http.HttpOptions;
import hunt.http.HttpVersion;
import hunt.net.KeyCertOptions;
import hunt.net.TcpSslOptions;
import std.datetime;
// dfmt off
version(WITH_HUNT_SECURITY) {
import hunt.net.secure.conscrypt.ConscryptSecureSessionFactory;
import hunt.net.secure.conscrypt.AbstractConscryptSSLConte... | D |
/* -------------------- CZ CHANGELOG -------------------- */
/*
v1.00:
func int B_TeachAttributePoints - dovysvětlení nejasné formulace
func int b_teachattributepointstarinaks - dovysvětlení nejasné formulace
*/
func int B_GetLearnCostFutureAttribute(var C_Npc oth,var int attribut,var int FutAtrib)
{
var int ko... | D |
/Users/brent/Repos/iOS/DateTools/build/DateToolsSwift.build/Release/DateToolsSwift.build/Objects-normal/x86_64/Constants.o : /Users/brent/Repos/iOS/DateTools/Sources/DateToolsSwift/DateTools/TimePeriod.swift /Users/brent/Repos/iOS/DateTools/Sources/DateToolsSwift/DateTools/Date+Bundle.swift /Users/brent/Repos/iOS/DateT... | D |
/home/zbf/workspace/git/RTAP/target/debug/build/libc-274c2b6fdda3040b/build_script_build-274c2b6fdda3040b: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.65/build.rs
/home/zbf/workspace/git/RTAP/target/debug/build/libc-274c2b6fdda3040b/build_script_build-274c2b6fdda3040b.d: /home/zbf/.carg... | 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, this li... | D |
module log;
struct Log
{
static const string fileName = "t_parser.log";
static bool logged = false;
static
void error( string msg )
{
toConsole( "error: " ~ msg );
toFile( "error: " ~ msg ~ "\n" );
}
static
void toConsole( string msg )
{
import std.stdio :... | D |
module app.controller.UserController;
import std.json;
import std.datetime;
import std.digest.md;
import hunt.regFormamework;
import hunt.entity;
import hunt.logging;
import hunt.http.codec.http.model.Cookie;
import hunt.http.codec.http.model.HttpMethod;
import hunt.http.codec.http.model.HttpHeader;
import hunt.uti... | D |
module mir.internal.math;
version(LDC)
{
pragma(LDC_no_moduleinfo);
}
import ldc.intrinsics;
alias sqrt = llvm_sqrt;
alias sin = llvm_sin;
alias cos = llvm_cos;
alias powi = llvm_powi;
alias pow = llvm_powi;
alias pow = llvm_pow;
alias exp = llvm_exp;
alias log = llvm_log;
alias fabs = llvm_fabs;
alias... | D |
/*
* DSFML - The Simple and Fast Multimedia Library for D
*
* Copyright (c) 2013 - 2018 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.
... | D |
separate by race or religion
divide from the main body or mass and collect
separate or isolate (one thing) from another and place in a group apart from others
separated or isolated from others or a main group
| D |
512 sergei_eisenstein
1 edwin_s_porter
643 josef_von_sternberg
132 daniel_bressanutti
929 clarence_brown
135 fritz_lang
782 georg_wilhelm_pabst
15 dw_griffith
274 dorothy_arzner
148 herbert_blache
918 victor_heerman
260 john_s_robertson
796 dziga_verto
542 rupert_julian
800 luis_bunuel
673 ja_howe
166 robert_wiene
681 ... | D |
/* pkcs12.h */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... | D |
module org.eclipse.swt.internal.mozilla.nsIWebProgress;
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.nsIDOMWindow;
import org.eclipse.swt.internal.mozil... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/LockOwnerType.o : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSw... | D |
/*******************************************************************************
Contains set of tests for testing GetRange command
Copyright:
Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
***... | D |
/Users/chris/projects/rust_examples/macros/demo/target/debug/deps/demo-0b93c6a8f98ef2f1.rmeta: src/main.rs
/Users/chris/projects/rust_examples/macros/demo/target/debug/deps/demo-0b93c6a8f98ef2f1.d: src/main.rs
src/main.rs:
| D |
module mysql.resultset;
import std.stdio;
import std.exception;
import mysql.binding;
import mysql.row;
alias Rows = MySQLRow[];
class ResultSet {
private int[string] mapping;
public MYSQL_RES* result;
private int itemsTotal;
private int itemsUsed;
bool[] columnIsNull;
MySQLRow row;
s... | D |
/*
* Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose... | 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_16_BeT-4637592... | D |
/Users/go7hic/workspace/Github/Rust-in-action/kt/target/debug/deps/clap-44971ce4e2d9881c.rmeta: /Users/go7hic/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.32.0/src/lib.rs /Users/go7hic/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.32.0/src/macros.rs /Users/go7hic/.cargo/registry/src... | D |
/**
* Copyright: © 2014 Gushcha Anton
* License: Subject to the terms of the MIT license, as written in the included LICENSE file.
* Authors: NCrashed <ncrashed@gmail.com>
*/
module ogre.manualObject;
import ogre.c.fwd;
import ogre.wrapper;
class ManualObject
{
this(ManualObjectHandle handle)
{
... | D |
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EVReflection.build/Objects-normal/x86_64/PrintOptions.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/EVReflection/Source/EVRefl... | D |
#!/usr/bin/env rdmd
import std.stdio;
import std.conv;
import std.getopt;
enum GifBlockType
{
Header,
GlobalColorTable,
GraphicsControlExtension,
ApplicationExtension,
CommentExtension,
PlainTextExtension,
TableBasedImage,
}
enum ubyte ImageSeparator = 0x2C;
enum ubyte ExtensionIntroducer = 0x21... | D |
import tokenizer;
import tokenizer.utils;
import result;
import constructs.include;
import constructs.const_struct;
import constructs.all_of_struct;
import constructs.struct_invoke_on;
import constructs.struct_invoke_switchifeq;
import constructs.auto_array;
import constructs.decl_offset_group;
import constructs.impl_... | D |
change directions as if revolving on a pivot
wheel somebody or something
move along on or as if on wheels or a wheeled vehicle
ride a bicycle
having wheels
| D |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/Runtime.build/Models/FunctionInfo.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/Runtime/Sources/Runtime/Metadata/Metadata.swift /Users/sadikekinozbay/Documents/TUM/... | D |
/Users/zaidtayyab/Desktop/Template/Build/Template/Build/Intermediates/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallZigZag.o : /Users/zaidtayyab/Desktop/Template/Pods/NVActivityIndicatorView/NVActivityIndicatorView/Animations/NVActivityIndicatorAnim... | D |
instance Bad_9020_Erwin_Exit (C_Info)
{
npc = Bad_9020_Erwin;
condition = Bad_9020_Erwin_Exit_Condition;
information = Bad_9020_Erwin_Exit_Info;
important = FALSE;
permanent = TRUE;
nr = 999;
description = "Ende";
};
func int Bad_9020_Erwin_Exit_Condition ()
{
return true;
};
func void Bad_9020_Erwin_... | D |
/Users/jimallan/Downloads/starter/location-track-server/.build/x86_64-apple-macosx10.10/debug/Validation.build/Validator.swift.o : /Users/jimallan/Downloads/starter/location-track-server/.build/checkouts/validation.git--7839861556715010764/Sources/Validation/Validatable.swift /Users/jimallan/Downloads/starter/location-... | D |
module wx.TreeCtrl;
public import wx.common;
public import wx.Control;
public import wx.ClientData;
public import wx.ImageList;
public import wx.KeyEvent;
public enum ПИконкаЭлтаДерева
{
Нормальный,
Выделенная,
Развёрнутая,
ВыделеннаяРазвёрнутая,
Макс
}
//------------------------------------------... | D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Crypto.build/RSA/RSAKey.swift.o : /Users/mu/Hello/.build/checkouts/crypto/Sources/Crypto/Utilities/Base32.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Crypto/RSA/RSA.swift /Users/mu/Hello/.build/checkouts/crypto/Sources/Crypto/MAC/HMAC.swift /Users/mu/Hello/.bui... | D |
/**
* Copyright: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(LINK2 http://cattermole.co.nz, Richard Andrew Cattermole)
*/
module cf.spew.implementation.streams.base;
import cf.spew.streams.defs;
private {
StreamPoint streamPointsLL;
}
abstract class StreamPoint :... | D |
/home/aitorzaldua/rust_bootcamp/bubble_sort/target/release/build/rand-b41ad0aa1e16e1d5/build_script_build-b41ad0aa1e16e1d5: /home/aitorzaldua/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/build.rs
/home/aitorzaldua/rust_bootcamp/bubble_sort/target/release/build/rand-b41ad0aa1e16e1d5/build_script_build-b41... | D |
/**
* Do mangling for C++ linkage for Digital Mars C++ and Microsoft Visual C++.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: Walter Bright, https://www.digitalmars.com
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Sou... | D |
module siryul.dyaml;
import dyaml;
import siryul.common;
import core.time : Duration;
import std.datetime.systime : SysTime;
import std.range.primitives : ElementType, isInfinite, isInputRange;
import std.traits : isSomeChar;
import std.typecons;
/++
+ YAML (YAML Ain't Markup Language) serialization format
+/
struct... | D |
/Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/build/Pods.build/Debug-iphonesimulator/Macaw.build/Objects-normal/x86_64/AlphaEffect.o : /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/export/MacawView+PDF.swift /Users/mac/Documents/Bhupendra/RedialAnimateMenuBar/Pods/Macaw/Source/MCAMediaTimi... | D |
module director.route;
interface Route
{
bool matches(string pattern, out string[string] matched_params);
debug string pattern() @property;
}
// removes the trailing slash from a pattern
package string normalize(string pattern)
{
if(pattern.length > 1 && pattern[$-1] == '/')
{
return pattern[0..$-1];
}
retur... | D |
module server;
import vibe.d;
import std.conv;
import std.process;
import config;
import api;
class Server
{
HTTPServerSettings m_Settings;
URLRouter m_Router;
this()
{
/************************
* SERVER SETTINGS
*************************/
m_Settings = new HTTPServerSettings;
m_Settings.port = config.... | 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="DataManagement.profile.notatio... | D |
/**
* D header file for interaction with Microsoft C++ <xutility>
*
* Copyright: Copyright (c) 2018 D Language Foundation
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Manu Evans
* Source: $... | D |
func void b_story_guruaufnahme()
{
var C_Npc guru_1;
var C_Npc guru_2;
var C_Npc guru_3;
var C_Npc guru_4;
var C_Npc guru_5;
var C_Npc guru_6;
if(yberion_guraufnahme == 4)
{
Npc_ExchangeRoutine(self,"RITUAL");
guru_1 = Hlp_GetNpc(GUR_1203_BaalTondral);
AI_Teleport(guru_1,"GURU_RITUAL_01");
Npc_Exchange... | D |
/home/sen/rust/easy-fs-fuse/target/debug/deps/cfg_if-d081dc850664d3b7.rmeta: /home/sen/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/cfg-if-1.0.0/src/lib.rs
/home/sen/rust/easy-fs-fuse/target/debug/deps/cfg_if-d081dc850664d3b7.d: /home/sen/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/cfg-if-1.0.... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Vapor.build/Hash/Int+Random.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/Sources/Vapor/JSON/HTTP/Message+JSON.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/... | D |
instance VLK_449_Lares_DI(Npc_Default)
{
name[0] = "Lares";
guild = GIL_NONE;
id = 4490;
voice = 9;
flags = 0;
npcType = NPCTYPE_FRIEND;
aivar[AIV_PARTYMEMBER] = TRUE;
aivar[AIV_ToughGuy] = TRUE;
aivar[AIV_ToughGuyNewsOverride] = TRUE;
aivar[AIV_IgnoresFakeGuild] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
B_S... | D |
void main() {
debug {
"==================================".writeln;
while(true) {
auto bench = benchmark!problem(1);
"<<< Process time: %s >>>".writefln(bench[0]);
"==================================".writeln;
}
} else {
problem();
}
}
void problem() {
auto S = scan;
auto ... | D |
someone whose occupation is catching fish
large dark brown North American arboreal carnivorous mammal
| D |
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* 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/license... | D |
<div class="about">
一年之后,人生没什么变化,网站也没什么变化。
只是原本到处借别人的二级域名来用,很不方便,所以现在换了 xwayx.com 域名。以后可以固定一段时间了,如果没其他意外的话。呵,希望服务器乖乖的,这也是借的。
<span style="float:right;">2012.8</span>
=========================
其实这个网站在一年前就开始着手的了,但后来忙于生活,丢下就没再理,最近重拾这个想法,抽了些时间来完成它。
本站主要用来分享一些文档,一些有用的东西,然后也方便自己在线查看一些技术文档,而不用回家翻电脑。另外也可以... | D |
/Users/davalcato/Desktop/iOS/Snap(Knock-Off)/Build/Intermediates/Snap(Knock-Off).build/Debug-iphonesimulator/Snap(Knock-Off).build/Objects-normal/x86_64/ViewController.o : /Users/davalcato/Desktop/iOS/Snap(Knock-Off)/Snap(Knock-Off)/AppDelegate.swift /Users/davalcato/Desktop/iOS/Snap(Knock-Off)/Snap(Knock-Off)/ViewCont... | D |
import token;
import environment;
import errors;
import std.process : getenv;
void import_system(ref Environment env) {
// Janky but accurate way to get the info about the os
// I could use std.sys, but this happens at COMPILE time
mixin(AddFunc!("getenv"));
env.scopes[0]["__system__"] = Token().withArray(3);
v... | D |
/**
* D header file for Solaris.
*
* $(LINK2 http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/sys/elf_386.h, illumos sys/elf_386.h)
*/
module core.sys.solaris.sys.elf_386;
version (Solaris):
extern (C):
nothrow:
enum R_386_NONE = 0;
enum R_386_32 = 1;
enum R_386_PC32 = ... | D |
INSTANCE Info_Mod_Ausstatter_Ruestung02 (C_INFO)
{
npc = Ausstatter;
nr = 1;
condition = Info_Mod_Ausstatter_Ruestung02_Condition;
information = Info_Mod_Ausstatter_Ruestung02_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Ausstatter_Ruestung02_Condition()
{
if ((Npc_HasItems(hero, ItAr_WNov_L) == 1... | D |
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Console.build/Output/ConsoleColor.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sources/Console/Terminal/ANSI.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/console/Sour... | D |
/*
* Copyright (c) 2017-2020 sel-project
*
* 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, pu... | D |
/x/calo/jgoncalves/JetCleaningHI/RootCoreBin/obj/x86_64-slc6-gcc49-opt/JetCalibTools/obj/GlobalSequentialCorrection.o /x/calo/jgoncalves/JetCleaningHI/RootCoreBin/obj/x86_64-slc6-gcc49-opt/JetCalibTools/obj/GlobalSequentialCorrection.d : /x/calo/jgoncalves/JetCleaningHI/JetCalibTools/Root/GlobalSequentialCorrection.cxx... | 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, Alex Rønne Petersen
* Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
*/
/* Co... | D |
//
//------------------------------------------------------------------------------
// Copyright 2007-2011 Mentor Graphics Corporation
// Copyright 2007-2011 Cadence Design Systems, Inc.
// Copyright 2010 Synopsys, Inc.
// Copyright 2012-2014 Coverify Systems Technology
// All Rights Reserved Worldwide
//
// ... | D |
instance DIA_VLK_6133_MAXI_EXIT(C_Info)
{
npc = vlk_6133_maxi;
nr = 999;
condition = dia_vlk_6133_maxi_exit_condition;
information = dia_vlk_6133_maxi_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_vlk_6133_maxi_exit_condition()
{
return TRUE;
};
func void dia_vlk_6133_maxi_exit_info... | D |
/// When things go wrong....
module mecca.lib.exception;
// Licensed under the Boost license. Full copyright information in the AUTHORS file
public import core.exception: AssertError, RangeError;
public import std.exception: ErrnoException;
import std.algorithm : min;
import std.traits;
import core.exception: assertH... | D |
// REQUIRED_ARGS: -unittest
// https://issues.dlang.org/show_bug.cgi?id=4375
// disallow dangling else
void main() {
if (true) {
if (false) {
assert(1);
} else {
assert(2);
}
}
if (true) {
if (false)
assert(7);
} else
assert(8);
if (true) {
if (false)
... | D |
instance Info_Grd_6_EXIT(C_Info)
{
nr = 999;
condition = Info_Grd_6_EXIT_Condition;
information = Info_Grd_6_EXIT_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_Grd_6_EXIT_Condition()
{
return 1;
};
func void Info_Grd_6_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance Info_Grd_6_Einer... | D |
import std.stdio;
import std.conv;
import std.math;
import std.algorithm;
import std.typecons;
//Sieve of Eratosthenes, includes limit
bool[] Sieve(int limit) {
float sqrtLimit = sqrt(to!float(limit));
// true denotes composite number
bool[] sieve = new bool[limit - 1];
int[] edit = [];
for (auto index = 2; ... | D |
module android.java.android.graphics.drawable.RotateDrawable_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import7 = android.java.android.graphics.Rect_d_interface;
import import3 = android.java.and... | D |
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxCocoa.build/Objects-normal/x86_64/RxPickerViewDataSourceProxy.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxCocoa/RxCocoa/RxCocoa.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxCocoa/RxCocoa/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/... | D |
/**
* Implements the serialization of a lambda function.
*
* The serializationis computed by visiting the abstract syntax subtree of the given lambda function.
* The serialization is a string which contains the type of the parameters and the string
* represantation of the lambda expression.
*
* Copyright: Copy... | D |
instance DIA_PAL_9161_GUARDWATCH_EXIT(C_Info)
{
npc = pal_9161_guardwatch;
nr = 999;
condition = dia_pal_9161_guardwatch_exit_condition;
information = dia_pal_9161_guardwatch_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_pal_9161_guardwatch_exit_condition()
{
return TRUE;
};
func vo... | D |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
Copyright 2010 Lennart Poettering
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 witho... | D |
import cairo;
import std.stdio;
void main()
{
auto cairoVer = Version.cairoVersion;
auto bindingVer = Version.bindingVersion;
writefln("Cairo version: %s", cairoVer);
writefln("Binding version: %s", bindingVer);
if(cairoVer.major != 1 || cairoVer.minor <= 8) //we don't care about micro
{
... | D |
/Users/Polina/XcodeApp/diplom_prj/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Generate.o : /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift ... | 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 |
#!/usr/bin/env rdmd
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;
import std.format : formattedRead;
struct Rule {
bool isLiteral;
bool isBinary;
int[] left;
int[] orRight;
char literal = ' ';
}
Rule[int] rules;
void parse(string[] rawRules) {
int[] splitNumbe... | D |
/***********************************\
STRINGBUILDER
\***********************************/
//========================================
// [intern] Klasse / Variablen
//========================================
class StringBuilder {
var int ptr;
var int cln;
var int cal;
};
const int ... | D |
/**
* Declarations for back end
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1984-1998 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmar... | D |
instance DIA_Ado_EXIT(DIA_Proto_End)
{
npc = PIR_211_DS2P_Ado;
};
| D |
# FIXED
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc13x0_sdk_3_20_00_23/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.c
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS/include/stdint.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ccs920/ccs/tools/compiler/ti-cgt-arm_18.12.3.LTS... | D |
CHSEQR (F08PSE) Example Program Data
4 :Value of N
(-3.9700,-5.0400) (-1.1318,-2.5693) (-4.6027,-0.1426) (-1.4249, 1.7330)
(-5.4797, 0.0000) ( 1.8585,-1.5502) ( 4.4145,-0.7638) (-0.4805,-1.1976)
( 0.0000, 0.0000) ( 6.2673, 0.0000) (-0.4504,-0.0290) (-1.34... | D |
module source;
public import viva.collections;
public import viva.css;
public import viva.discord;
public import viva.exceptions;
public import viva.file;
public import viva.gui;
public import viva.html;
public import viva.http;
public import viva.io;
public import viva.json;
public import viva.logging;
public import ... | D |
module mousedeer.object_module;
// represent a module output to a llvm bytecode file.
// One nyah module is composed of one or more object modules.
// Each file may contain one or more object modules.
// An object module is the smallest of:
// The code in one source file.
// The code in one module.
// Therefor... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.