code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module dgt.font;
import derelict.sdl2.sdl, derelict.sdl2.ttf;
import dgt.array, dgt.color, dgt.geom, dgt.io, dgt.texture, dgt.window;
enum FontStyle : int
{
normal = TTF_STYLE_NORMAL,
bold = TTF_STYLE_BOLD,
italic = TTF_STYLE_ITALIC,
underline = TTF_STYLE_UNDERLINE,
strikethrough = TTF_STYLE_STRIKE... | D |
import std.stdio, std.algorithm;
// playing with countUntil and find for an array of strings
unittest {
auto xvect = ["blah", "house", "car", "airplane"];
writeln("countUntil asda:", countUntil!("a == b")(xvect, "asda"));
writeln("countUntil blah:", countUntil!("a == b")(xvect, "blah"));
writeln("countUntil h... | D |
/Users/netnorimingconception/utils/GeoFence/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Merge.o : /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/Observ... | D |
/**
...
Copyright: © 2012 Matthias Dondorff
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Matthias Dondorff
*/
module dub.internal.utils;
import dub.internal.vibecompat.core.file;
import dub.internal.vibecompat.core.log;
import dub.internal.vibecompat.dat... | D |
/++
A webview (based on [arsd.webview]) for minigui.
For now at least, to use this, you MUST have a [WebViewApp] in scope in main for the duration of your gui application.
Warning: CEF spams the current directory with a bunch of files and directories. You might want to run your program in a dedicated location.
H... | D |
/Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/DerivedData/CryptoLive/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GearRefreshControl.build/Objects-normal/x86_64/MainGear.o : /Users/Jaskeerat/Desktop/CryptoLive/CryptoLive/Pods/GearRefreshControl/Source/GearRefreshControl.swift /Users/Jaskeerat/Desktop/C... | D |
/* *** Automatically generated: do not modify *** */
/**
* This module contains a simple implementation of coroutines, based on the
* StackContext module. It supports both eagerly and non-eagerly evaluating
* coroutines, and coroutines with anywhere from zero to five initial
* arguments.
*
* If you define... | D |
module siberia;
import n64, gameplayOutside;
class Siberia
{
public:
// RAM SIBERIA
void Start() {
fnc000efeb4();
fnc000efeb4();
fnc000efeb4();
fnc002d4dcc();
fnc00007690();
fnc0001cc6c();
}
// RAM SIBERIA
void fnc002d4dcc() {
fnc0000726c();
fnc000076d4();
fnc00004818();
fnc000076d4();
fn... | D |
/Users/nguyenductai/Desktop/iOSProject/galleryURL/Build/Intermediates/galleryURL.build/Debug-iphoneos/galleryURL.build/Objects-normal/arm64/ViewController.o : /Users/nguyenductai/Desktop/iOSProject/galleryURL/galleryURL/AppDelegate.swift /Users/nguyenductai/Desktop/iOSProject/galleryURL/galleryURL/PhotoCollectionViewCe... | D |
func int B_StopMagicFlee()
{
B_SpecailDamage();
Npc_PercDisable(self,PERC_ASSESSDAMAGE);
Npc_SetTarget(self,other);
AI_StartState(self,ZS_Flee,0,"");
return TRUE;
};
func void ZS_MagicFlee()
{
var int randy;
Npc_PercEnable(self,PERC_ASSESSDAMAGE,B_StopMagicFlee);
Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessM... | 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 |
/Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/build/Pods.build/Debug-iphonesimulator/RxCocoa.build/Objects-normal/x86_64/UITextView+Rx.o : /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxCocoa/RxCocoa/RxCocoa.swift /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxCocoa/RxCoc... | D |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/ConsoleKit.build/Command/Utilities.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/console-kit/Sources/ConsoleKit/Terminal/ANSI.swift /Users/sadikekinozbay/Documents/... | D |
/Users/justinlew/Documents/SFU/CMPT276/justinlew.mealify.io/DerivedData/mealify/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ResponseSerialization.o : /Users/justinlew/Documents/SFU/CMPT276/justinlew.mealify.io/Pods/Alamofire/Source/MultipartFormData.swift /Users/ju... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Transport.build/Internet/InternetStream.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/sockets.git-1550083001277339713/Sources/Transport/Streams/Stream.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/sockets.git-15500830... | D |
// =========================== DANGEROUS ALLEY THUG FIX =====================================
ADD_STATE_TRIGGER DGATHUG 0 ~!Dead("Krystall") GlobalLT("Krystall","GLOBAL",2)~ 1
REPLACE_STATE_TRIGGER DGATHUG 2 ~!Dead("Krystall") GlobalGT("Krystall","GLOBAL",2) Dead("BlackR")~
REPLACE_STATE_TRIGGER DGATHUG 3 ~!Dead(... | 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)
/// Sound system API.
module audio.soundsystem;
import std.typecons;
/// Base class for sound relat... | D |
module hunt.service.util.CommonUtils;
import hunt.collection.List;
import std.exception;
import std.conv;
class CommonUtils
{
static bool isNotEmpty(string str)
{
return (str !is null) && (str.length > 0);
}
/**
* 字符串转数值
*
* @param num 数字
* @param d... | D |
/Users/ben/Documents/w/code/project/learn/learn-cargo/target/debug/deps/libc-6fa8072954ca3cd8.rmeta: /Users/ben/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.82/src/lib.rs /Users/ben/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.82/src/macros.rs /Users/ben/.cargo/registry/src/mir... | D |
module common.boxing;
import common.all;
final class Boxed(T) {
T value;
this(T value) {
this.value = value;
}
}
| D |
/Users/zengr/dev/ios/codepath2/codepath-Tinder/Build/Intermediates/codepath-Tinder.build/Debug-iphonesimulator/codepath-Tinder.build/Objects-normal/x86_64/DraggableImageView.o : /Users/zengr/dev/ios/codepath2/codepath-Tinder/codepath-Tinder/AppDelegate.swift /Users/zengr/dev/ios/codepath2/codepath-Tinder/codepath-Tinde... | D |
/Users/ishaniGupta/Library/Mobile Documents/com~apple~CloudDocs/UCSB_3/Runtime System/Code/rustAnalysis/startProj/target/debug/deps/libnalgebra-356e2fce22c193b7.rlib: src/lib.rs
/Users/ishaniGupta/Library/Mobile Documents/com~apple~CloudDocs/UCSB_3/Runtime System/Code/rustAnalysis/startProj/target/debug/deps/nalgebra-... | D |
/**
* This module contains the implementation of the C++ header generation available through
* the command line switch -Hc.
*
* Copyright: Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www... | D |
INSTANCE Mod_7193_NOV_Novize_NW (Npc_Default)
{
// ------ NSC ------
name = Name_Novize;
guild = GIL_VLK;
id = 7193;
voice = 3;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2);
// ------ Kampf-Taktik ------
fight_tactic ... | D |
instance KDF_403_Drago (Npc_Default)
{
//-------- primary data --------
name = "Drago";
npctype = npctype_main;
guild = GIL_MAG;
level = 28;
voice = 13;
id = 403;
//-------- abilities --------
attribute[ATR_STRENGTH] = 40;
attribute[ATR_DEXTERITY] = 35;
attribute[ATR_MANA_MAX] = 90;
... | D |
/*
* Copyright (c) 2007-2009 Erin Catto http://www.box2d.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 purpos... | D |
(Islam) a Muslim place of worship that usually has a minaret
| D |
/*******************************************************************************
A test case that verifies the content of the DMQ node which has loaded the
prepared queue dump and disk overflow files.
The test uses the following queue dump files and disk overflow channels
where each dump file and each... | D |
module socket.sockethandler;
import std.stdio;
import std.socket;
import std.experimental.logger.core;
import core.sys.posix.netdb;
import core.sys.posix.sys.un : sockaddr_un;
import core.sys.posix.fcntl;
import core.sys.posix.unistd;
import core.sys.posix.arpa.inet;
import core.sys.posix.netinet.in_;
import core.sys... | D |
instance INFO_SFB_2_PRE(C_INFO)
{
nr = 1;
condition = info_sfb_2_pre_condition;
information = info_sfb_2_pre_info;
permanent = 0;
important = 1;
};
func int info_sfb_2_pre_condition()
{
return 1;
};
func void info_sfb_2_pre_info()
{
AI_Output(self,other,"Info_SFB_2_EinerVonEuchWerden_02_00"); //Что тебе нужн... | D |
/++
A module containing the AllureReporter
Copyright: © 2017 Szabo Bogdan
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Szabo Bogdan
+/
module trial.reporters.allure;
import std.stdio;
import std.array;
import std.conv;
import std.datetime;
import std.... | 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
... | D |
module logic.Entity;
import d2d;
import graphics.Constants;
import logic.Event;
import logic.Game;
/**
* Defines what all objects in the game should be like
*/
abstract class Entity {
protected Game game; ///The game that this entity exists within
private ulong _lifeTime; ///How many ticks the entity has l... | D |
/**
* The console module contains some simple routines for console output.
*
* 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
*/
/* Copyright Sean Kelly 2005 - 2009.
* Distributed under the Boost So... | D |
module graphics._2d.line;
import std.algorithm;
import std.conv;
import std.exception;
import std.stdio;
import graphics.ogl;
import graphics.shader;
import settings;
import cgy.util.rect;
alias cgy.util.util.convert convert;
import cgy.math.vector : vec3f, vec2f, vec2d;
struct LineVertex {
vec2f pos;
vec... | D |
/Users/lanussebaptiste/Desktop/Taasky/Build/Intermediates/Taasky.build/Debug-iphonesimulator/Taasky.build/Objects-normal/x86_64/DetailViewController.o : /Users/lanussebaptiste/Desktop/Taasky/Taasky/Extensions.swift /Users/lanussebaptiste/Desktop/Taasky/Taasky/MenuViewController.swift /Users/lanussebaptiste/Desktop/Taas... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Leaf.build/HTMLEscape.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/leaf.git-9164445114487378533/Sources/Leaf/Tag/Models/Embed.swift /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkout... | D |
var int Salandril_ItemsGiven_Chapter_1;
var int Salandril_ItemsGiven_Chapter_2;
var int Salandril_ItemsGiven_Chapter_3;
var int Salandril_ItemsGiven_Chapter_4;
var int Salandril_ItemsGiven_Chapter_5;
func void B_GiveTradeInv_Salandril(var C_Npc slf)
{
if((Kapitel >= 1) && (Salandril_ItemsGiven_Chapter_1 == FALSE))
... | D |
instance DIA_Butch_Exit(C_Info)
{
npc = ORG_851_Butch;
nr = 999;
condition = DIA_Butch_Exit_Condition;
information = DIA_Butch_Exit_Info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
func int DIA_Butch_Exit_Condition()
{
return TRUE;
};
func void DIA_Butch_Exit_Info()
{
AI_StopProcessInfos(sel... | 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 |
///* 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
... | D |
instance GRD_260_Drake(Npc_Default)
{
name[0] = "Drake";
npcType = npctype_main;
guild = GIL_GRD;
level = 4;
voice = 11;
id = 260;
attribute[ATR_STRENGTH] = 35;
attribute[ATR_DEXTERITY] = 35;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 220;
attribute[ATR_HITPOINTS] ... | D |
/*
* Hunt - A high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design.
*
* Copyright (C) 2015-2019, HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.framework.application;
public import hunt.frame... | D |
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SchedulerType.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/CSUMB/P... | D |
instance Mod_589_NONE_Jora_NW (Npc_Default)
{
// ------ NSC ------
name = "Jora";
guild = GIL_PAL;
id = 589;
voice = 8;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2);
// ------ Kampf-Taktik ------
fight_ta... | D |
/++
This module is for rewriting equations and expressions to bring occurences of
subexpressions closer together.
The function `gather` is usually called by `isolate`, which may require it as
a preparation to be able to isolate a needle from an expression.
For example:
```
ln(x) + ln(x) --> ln(x * x) = ln(x ^ 2)
```
... | D |
/* Converted to D from D:\dev\projects\DWindowsProgramming\Samples\Chap22\AddSynth\resource.h by htod */
module resource;
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by AddSynth.rc
//
//C #define IDC_TRUMPET 1000
//C #define IDC_OBOE ... | D |
// Copyright (C) 2002-2013 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine" for the D programming language.
// For conditions of distribution and use, see copyright notice in irrlicht.d module.
module irrlicht.io.IFileSystem;
import irrlicht.io.IReadFile;
import irrlicht.io.IFileArchive;
import i... | D |
In 1963 Betty Friedan wrote a provocative book, The Feminine Mystique, that ignited the feminist movement. The book exposed American women's discontent with domesticity and workplace discrimination. Friedan started an international movement. She founded and was elected president of NOW. She helped found the National Wo... | D |
/Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/.build/debug/Leaf.build/Parameter.swift.o : /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Leaf-1.0.5/Sources/Leaf/Argument.swift /Users/tipaul/Sites/PlatypusAgency/XebiaFormation/bot/Packages/Leaf-1.0.5/Sources/Leaf/Byte+Leaf.swift /Users/tipaul/Sit... | D |
/*******************************************************************************
* Copyright (c) 2000, 2005 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 |
import vibe.d;
void handleRequest(HttpServerRequest req, HttpServerResponse res)
{
string local_var = "Hello, World!";
res.headers["Content-Type"] = "text/html";
auto output = res.bodyWriter();
parseDietFile!("diet.dt", req, local_var)(output);
}
static this()
{
auto settings = new HttpServerSettings;
setting... | D |
template Tuple(T...)
{
alias T Tuple;
}
void main()
{
Tuple!(int, int) tup1 = void;
}
| D |
/*
* Hunt - A refined core library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.concurrency.IdleTimeout;
/**
* An Abstract implementation of an Idle Timeout.
* <p>
* This implementation ... | D |
module owlchain.utils.types;
import core.stdc.stdint;
import gfm.integers.wideint;
enum Rounding
{
ROUND_DOWN,
ROUND_UP
}
bool bigDivide(ref ulong result, ulong A, ulong B, ulong C, Rounding rounding)
{
// update when moving to (signed) int128
uwideint!128 a = A;
uwideint!128 b = B;
uwideint!... | D |
module workspaced.com.dub;
import core.sync.mutex;
import core.thread;
import std.algorithm;
import std.conv;
import std.json : JSONValue;
import std.parallelism;
import std.regex;
import std.stdio;
import std.string;
import painlessjson : toJSON, fromJSON;
import workspaced.api;
import dub.description;
import dub... | D |
/*******************************************************************************
Copyright: Copyright (C) 2008 Aaron Craelius & Kris Bell
All rights reserved
License: BSD style: $(LICENSE)
version: July 2008: Initial release
Authors: Aaron, Kris
... | 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.
*/
/*
* Buffer management.
* Some of the functions are internal,
* and s... | D |
/**
* A `Dsymbol` representing a renamed import.
*
* Copyright: Copyright (C) 1999-2021 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, Boost License 1.0)
* Source: $(LINK2 https... | D |
# FIXED
F2837xD_Ipc.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/source/F2837xD_Ipc.c
F2837xD_Ipc.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_device.h
F2837xD_Ipc.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-c2000_18.12.2.LTS/include/assert.h
F2837xD_Ipc.obj... | D |
module test;
@safe pure:
import sim : distance, distanceSquared, isPrecluded, isPrecludedBy, Vec, timeToReach, timeToSpread, wrappingDistance;
import std.math : abs;
import std.stdio : writeln;
void test() {
testWrappingDistance();
testDistance();
testTimeToSpread();
testTimeToReach();
testIsPrecludedBy();
tes... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto K = scan!int;
auto solve() {
if (2*K > N) return "-1";
int[] ans = iota(1, N + 1).array;
int i;
for(i = 0; i + K*2 <= N; i += K*2) {
foreach(t; 0..K) {
swap(ans[i + t], ans[i + K + t]);
}
}
if (N ... | D |
/++
+ darksky-d fetches weather data from darksky.net and builds
+ a plain text file which conky will read to construct a nice weather
+ widget.
+
+ This module handles sqlite3 access to build a history of recorded
+ weather data.
+
+ © 2019, Alex Vie <silvercircle@gmail.com>
+ License: MIT
+/
modu... | 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 |
/Users/jr/Desktop/RealProject/TagPicture/build/TagPicture.build/Debug-iphonesimulator/TagPicture.build/Objects-normal/x86_64/PickTableViewDataSource.o : /Users/jr/Desktop/RealProject/TagPicture/TagPicture/API/UUID.swift /Users/jr/Desktop/RealProject/TagPicture/TagPicture/API/FlickrAPI.swift /Users/jr/Desktop/RealProjec... | D |
module common.attributes;
import common.all;
/*
* Use this to mark a function as asynchronous.
* eg.
* @Async void myfunc() {}
* @Async("Some comment") void myfunc() {}
*/
struct Async {
string comment;
}
/**
* @Implements("TheInterface")
*
* At some point we can probably add a compile-time
* check t... | D |
module hunt.framework.trace.Tracer;
version(WITH_HUNT_TRACE) :
import hunt.net.util.HttpURI;
import hunt.framework.http.Request;
// import hunt.framework.http.Response;
import hunt.trace;
import hunt.logging.ConsoleLogger;
import std.conv;
import std.format;
__gshared isTraceEnabled = true;
// void newFrameworkTra... | 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
... | D |
relating to or presented by a graph
written or drawn or engraved
| D |
a small and delicately worked piece
| D |
the words of something written
a passage from the Bible that is used as the subject of a sermon
a book prepared for use in schools or colleges
the main body of a written work (as distinct from illustrations or footnotes etc.
| D |
/*******************************************************************************
copyright: Copyright (c) 2004 Kris Bell. All rights reserved
license: BSD style: $(LICENSE)
version: Mar 2004: Initial release
author: Kris
***********************************... | D |
/** Extensions to std.range.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
*/
module nxt.range_ex;
import core.internal.traits: hasElaborateDestructor;
import std.traits : isSomeString, isNarrowString;
import std.range: hasSlicing, hasLength, isInfinite, isInputRange, isBidirectionalRange, Element... | D |
module dquick.item.declarativeItem;
public import dquick.events.mouseEvent;
public import dquick.maths.matrix4x4;
import std.stdio;
// TODO take a look to http://doc.qt.digia.com/qt-maemo/qml-item.html
// TODO bind it
// http://qt-project.org/doc/qt-4.8/qgraphicsitem.html#sorting
class DeclarativeItem
{
public:
... | D |
/Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/CollectionKit.build/Objects-normal/x86_64/ClosureLayout.o : /Users/radibarq/developer/NasaInArabic/Pods/CollectionKit/Sources/Other/Deprecated.swift /Users/radibarq/developer/NasaInArabic/Pods/CollectionKit/Sources/DataSource/DataSource.swift... | D |
module pgpepe.internal.typemap;
import std.typecons: Nullable;
import std.traits;
import std.uuid: UUID;
import dpeq;
template isNullable(T)
{
enum isNullable = isInstanceOf!(Nullable, T);
}
static assert (isNullable!(const(Nullable!(const(double)))));
FieldSpec specForType(NullableT)()
if (isNullable!Nul... | D |
module jamc.api.material;
interface IMaterial
{}
// dočasné
class Material : IMaterial
{}
| D |
// DFLAGS:
// PERMUTE_ARGS:
// REQUIRED_ARGS: -defaultlib=
// EXTRA_SOURCES: extra-files/minimal/object.d
// This test ensures an empty main can be built and executed with a minimal runtime
void main() { }
| D |
/home/jay/文档/ruststudy/RustStudy/project/chapter26fnpointer/target/rls/debug/deps/chapter26fnpointer-83a79a0b364986b9.rmeta: src/main.rs
/home/jay/文档/ruststudy/RustStudy/project/chapter26fnpointer/target/rls/debug/deps/chapter26fnpointer-83a79a0b364986b9.d: src/main.rs
src/main.rs:
| D |
func void B_CombatAssessDefeat()
{
PrintDebugNpc(PD_ZS_FRAME,"B_CombatAssessDefeat");
if(Npc_CanSeeNpcFreeLOS(self,other))
{
if(C_NpcIsHuman(other) && C_NpcIsHuman(victim))
{
PrintDebugNpc(PD_ZS_Check,"...Mensch besiegt Mensch!");
B_AssessAndMemorize(NEWS_DEFEAT,NEWS_SOURCE_WITNESS,self,other,victim);
... | D |
// is in a seperate file because unittests in the heavily decouped library have no sense
// compile with unittest
module Unittest;
import linopterixed.AlgebraLib.InstructionTranslator;
import linopterixed.AlgebraLib.CompiletimeMatrixDescriptor;
import linopterixed.AlgebraLib.ResultDescriptor;
import std.math;
impor... | D |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Vapor.build/Content/Content.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/vapor/Sour... | D |
/*
* Copyright (c) 2017-2019 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 |
/// Generate by tools
module org.apache.http.protocol.HttpRequestHandlerResolver;
import java.lang.exceptions;
public class HttpRequestHandlerResolver
{
public this()
{
implMissing();
}
}
| D |
module arsd.png;
/// Easily reads a png file into a MemoryImage
MemoryImage readPng(string filename) {
import std.file;
return imageFromPng(readPng(cast(ubyte[]) read(filename)));
}
/// Saves a MemoryImage to a png. See also: writeImageToPngFile which uses memory a little more efficiently
void writePng(string filen... | D |
module hunt.wechat.bean.scan.crud.ProductGetqrcode;
import hunt.wechat.bean.scan.base.ProductGet;
class ProductGetqrcode : ProductGet {
private string extinfo;
private string qrcode_size;
public string getExtinfo() {
return extinfo;
}
public void setExtinfo(string extinfo) {
th... | D |
module android.java.android.opengl.ETC1;
public import android.java.android.opengl.ETC1_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ETC1;
import import1 = android.java.java.lang.Class;
| D |
/**
* TypeInfo support code.
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright
*/
/* Copyright Digital Mars 2004 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanyin... | 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_2_MobileMedia-... | D |
/Users/admin/Desktop/CuckooTest/Pods/Cuckoo/Generator/.build/debug/SourceKittenFramework.build/SwiftDeclarationKind.swift.o : /Users/admin/Desktop/CuckooTest/Pods/Cuckoo/Generator/Packages/SourceKitten-0.16.0/Source/SourceKittenFramework/Clang+SourceKitten.swift /Users/admin/Desktop/CuckooTest/Pods/Cuckoo/Generator/Pac... | 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 Mod_1331_PSINOV_Novize_MT (Npc_Default)
{
//-------- primary data --------
name = Name_Novize;
Npctype = Npctype_mt_sumpfnovize;
guild = GIL_out;
level = 3;
voice = 3;
id = 1331;
//-------- abilities --------
attribute[ATR_STRENGTH] = 10;
attribute[ATR_DEXTERITY] = 10;
at... | D |
class MyClass { // Class definition ignored...
private bool isValid = false;
public static ulong fib(in ulong n) @safe { // fib ignored
return n < 2 ? n : fib(n - 1) + fib(n - 2);
}
private ulong fib2(in ulong n) { // fib2 ignored
return n < 2 ? n : fib(n - 1) + fib(n - 2);
}
... | D |
/**
Convert CSV formatted data to TSV format.
This program converts comma-separated value data to tab-separated format.
Copyright (c) 2016-2019, eBay Software Foundation
Initially written by Jon Degenhardt
License: Boost Licence 1.0 (http://boost.org/LICENSE_1_0.txt)
*/
module tsv_utils.csv2tsv;
import std.stdio;
... | D |
instance DIA_1061_Wache_EXIT(C_Info)
{
npc = BDT_1061_Wache;
nr = 999;
condition = DIA_1061_Wache_EXIT_Condition;
information = DIA_1061_Wache_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_1061_Wache_EXIT_Condition()
{
return TRUE;
};
func void DIA_1061_Wache_EXIT_Info()
{
AI_StopP... | D |
meat that is salted and cut into strips and dried in the sun
| D |
module startup;
version(GNU)
{
static import gcc.attribute; // we need this to get the section, weak and alias attributes
void wfi(){ version(ALLOW_WFI){ asm{ "wfi"; } } }
}
else version(LDC)
{
import ldc.llvmasm;
void wfi(){ version(ALLOW_WFI){ __asm("wfi"); } }
}
import core.stdc.config; // we need th... | D |
instance Info_Thorus_EXIT(C_Info)
{
npc = GRD_200_Thorus;
nr = 999;
condition = Info_Thorus_EXIT_Condition;
information = Info_Thorus_EXIT_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_Thorus_EXIT_Condition()
{
return 1;
};
func void Info_Thorus_EXIT_Info()
{
AI_StopProcessInfos(self);
};... | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Stewart Gordon
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_dlgs.d)
*/
module core.sys.windows.dlgs;
version (Windows):
@system:
import core.sys.window... | D |
import std.stdio;
import std.file;
import std.array;
import std.conv;
import std.typecons;
private class Command {
string cmd;
int val;
this(string cmd, int val) {
this.cmd = cmd;
this.val = val;
}
static auto parse(string s) {
auto input = split(s);
return new Com... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.