code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/*
* Copyright (c) 2005-2006 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice... | D |
import autowrap;
enum str = wrapDlang!(
LibraryName("std_uri"),
Modules(
Yes.alwaysExport,
"std.uri",
)
);
// pragma(msg, str);
mixin(str);
| D |
instance DIA_ADDON_RIORDIAN_EXIT(C_INFO)
{
npc = kdw_1404_addon_riordian_nw;
nr = 999;
condition = dia_addon_riordian_exit_condition;
information = dia_addon_riordian_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_addon_riordian_exit_condition()
{
return TRUE;
};
func void dia_addon_... | 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 |
instance Mod_1829_HEX_Hexe_Pat (Npc_Default)
{
// ------ NSC ------
name = NAME_Hexe; //Zuris Frau
guild = GIL_STRF;
id = 1829;
voice = 17;
flags = 0;
npctype = NPCTYPE_pat_hexe;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kam... | D |
module automem.utils;
import std.traits : isStaticArray;
// This is a destroy() copied and modified from
// druntime, to allow for destruction attribute inference
void destruct(T)(T obj) if (is(T == class)) {
(cast(_finalizeType!T)&rt_finalize)(cast(void*)obj);
}
void destruct(T)(T obj) if (is(T == interface)) ... | D |
module basics.mainloop;
/* This class supervises all the major menus and browsers, game, and editor,
* which are members of this class.
*
* To kill the game at any time, hit Shift + ESC.
* This breaks straight out of the main loop. Unsaved data is lost.
*
* How to use this class: Instantiate, run mainLoop() once... | D |
// dmdi -debug -g -m64 dl -version=scgi && gzip dl && scp dl.gz root@droplet:/root/dpldocs
// curl -d clear http://dplug.dpldocs.info/reset-cache
// FIXME: drop privs if called as root!!!!!!
// document undocumented by default on dub side. figure out the core.sys problem
// Copyright Adam D. Ruppe 2018. All Rights... | D |
module gapi.font;
import std.stdio;
import std.conv;
import std.string;
import std.container.array;
import derelict.sdl2.ttf;
import gapi.texture;
struct Font {
private string fileName;
private Array!FontSize sizes;
}
struct FontSize {
uint size;
TTF_Font* font = null;
}
Font createFontFromFile(in... | D |
module android.java.java.nio.channels.AsynchronousChannel;
public import android.java.java.nio.channels.AsynchronousChannel_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!AsynchronousChannel;
import import0 = android.java.java.lang.Class;
| D |
/**
* <div class="header">
* High-level OpenGL Wrapper/Helpers: Shader Types Definition
* Authors: S.Percentage
* </div>
*/
/**
Macros:
COPYRIGHT = Copyright 2016 S.Percentage
DDOC = <!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>$(TITLE)</title>
<link rel="stylesheet" href="style.css" type="text/cs... | D |
import std.stdio;
import std.conv;
import std.math;
import dtk.utils;
import dtk.tk;
import dtk.widgets.plotter;
void main()
{
auto tk = new Tk(8000, 8001);
tk.debug_mode(true);
with(tk)
{
auto c = new Plotter(root, 640, 480);
double x_begin = 1.0, x_end = 10.0;
double y_begin = -10.0, y... | D |
/+
TEST_OUTPUT:
---
fail_compilation/fail9665a.d(43): Error: immutable field `v` initialized multiple times
fail_compilation/fail9665a.d(42): Previous initialization is here.
fail_compilation/fail9665a.d(53): Error: immutable field `v` initialized multiple times
fail_compilation/fail9665a.d(52): Previous ... | D |
/home/a186r/dev/rust/rust/arcade/arcade-rs/target/debug/build/num-integer-7cd43333b580db10/build_script_build-7cd43333b580db10: /home/a186r/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/num-integer-0.1.39/build.rs
/home/a186r/dev/rust/rust/arcade/arcade-rs/target/debug/build/num-integer-7cd43333b580db10/bui... | D |
/**
* Copyright © The Bot Blog 2019
* License: MIT (https://github.com/TheBotBlog/thebotbloglib/blob/master/LICENSE)
* Author: Jacob Jensen (bausshf)
*
* This module contains interfaces for the Graph API.
*/
module thebotbloglib.graphapi;
import vibe.data.serialization : optional;
package(thebotbloglib):
/// GraphAPI... | D |
module wx.QueryNewPaletteEvent;
public import wx.common;
public import wx.Event;
//! \cond EXTERN
static extern (C) IntPtr wxQueryNewPaletteEvent_ctor(int winid);
static extern (C) bool wxQueryNewPaletteEvent_GetPaletteRealized(IntPtr self);
static extern (C) void wxQueryNewPaletteEvent_SetPaletteRealized(In... | D |
/Users/kristoferhuang/Desktop/Worktide/build/Worktide.build/Debug-iphonesimulator/Worktide.build/Objects-normal/x86_64/IntExtension.o : /Users/kristoferhuang/Desktop/Worktide/Worktide/Helper/HelperForUploadingData.swift /Users/kristoferhuang/Desktop/Worktide/Worktide/Extensions/UITextField.swift /Users/kristoferhuang/D... | D |
module android.java.android.content.Intent_ShortcutIconResource;
public import android.java.android.content.Intent_ShortcutIconResource_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Intent_ShortcutIconResource;
import import3 = android.java.java.lang.Class;
import import0 = android.java.andr... | D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/JSON.build/JSON.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/okasho/serve... | D |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/NIOHTTP1.build/HTTPServerUpgradeHandler.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPPipelineSetup.swift /Users/sadikekinozbay/Docum... | D |
/Users/wilsonvinson/Documents/GitHub/RUST01/rust01_01/target/debug/deps/enum_primitive-18811e0c2fb45b49.rmeta: /Users/wilsonvinson/.cargo/registry/src/github.com-1ecc6299db9ec823/enum_primitive-0.1.1/src/lib.rs
/Users/wilsonvinson/Documents/GitHub/RUST01/rust01_01/target/debug/deps/enum_primitive-18811e0c2fb45b49.d: /... | D |
/Users/huanqiu/Documents/github/langs-benchtest/rust/zed/target/debug/deps/libtime_macros_impl-98f864f7ce1147ba.dylib: /Users/huanqiu/.cargo/registry/src/github.com-1ecc6299db9ec823/time-macros-impl-0.1.1/src/lib.rs /Users/huanqiu/.cargo/registry/src/github.com-1ecc6299db9ec823/time-macros-impl-0.1.1/src/date.rs /Users... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
... | D |
tilt or slant to one side
set the trigger of a firearm back for firing
to walk with a lofty proud gait, often in an attempt to impress others
| D |
module ogregl.glsl.gpuprogram;
import derelict.opengl3.gl;
import ogregl.gpuprogram;
import ogre.materials.gpuprogram;
import ogre.rendersystem.vertex;
import ogregl.glsl.program;
import ogregl.glsl.linkprogrammanager;
import ogregl.glsl.linkprogram;
/** GLSL low level compiled shader object - this class is used to ... | D |
module io.tcp;
import libasync;
import msgpack;
import util.queue;
import core.stdc.stdlib;
import core.stdc.string;
import dccore.signals;
static import extensionapi.rpc;
import dccore.commandparameter : CommandParameter;
class APICall
{
TCPClient client;
ubyte[] data;
ubyte[] result;
void execute(... | D |
import std.stdio;
void main() {
auto tenArray = [5,10,15,20,25,30,35,40,45,50];
auto sliced = tenArray[0 .. 5];
writeln(sliced.capacity);
tenArray[0] = 10;
writeln(sliced);
writeln(tenArray);
writeln(sliced.ptr);
writeln(tenArray.ptr);
sliced ~= 55;
writefln("Pointer... | D |
// ************************************************************
// HAllo
// ************************************************************
INSTANCE Info_Bartholo_HAllo (C_INFO)
{
npc = EBR_106_Bartholo;
nr = 4;
condition = Info_Bartholo_HAllo_Condition;
information = Info_Bartholo_HAllo_Info;
permanent = 0... | D |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Devisualization (Richard Andrew Cattermole)
*
* 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 ... | D |
module util.signals;
/**
* Signals and Slots are an implementation of the Observer Pattern.
* Essentially, when a Signal is emitted, a list of connected Observers
* (called slots) are called.
*
* There have been several D implementations of Signals and Slots.
* This version makes use of several new features in D... | D |
// Written in the D programming language.
/**
Bit-level manipulation facilities.
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Bit constructs) $(TD
$(LREF BitArray)
$(LREF bitfields)
$(LREF bitsSet)
))
$(TR $(TD Endianness conversion) $(TD
... | D |
/**
* The semaphore module provides a general use semaphore for synchronization.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly
* Source: $(DRUNTIMESRC core/sync/_semaphore.d)
*/
/* Copyright Sean... | D |
/* SoA Banters: Aran<>Adrian: Rhaella and cmorgan : Theory vs Practice */
CHAIN IF ~Global("c-aran1adrian","GLOBAL",0) InParty(Myself) !StateCheck(Myself,CD_STATE_NOTVALID) InParty("rh#Adrian") InMyArea("rh#Adrian") !StateCheck("rh#Adrian",CD_STATE_NOTVALID) CombatCounter(0) !See([ENEMY])~
THEN C-ARANB c-aran1adrianta... | D |
/**
* Takes a token stream from the lexer, and parses it into an abstract syntax tree.
*
* Specification: $(LINK2 https://dlang.org/spec/grammar.html, D Grammar)
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bri... | D |
module mscorlib.System.Security.Util;
import mscorlib.System :
__DotNet__Attribute,
__DotNet__AttributeStruct,
SerializableAttribute,
FlagsAttribute,
__DotNet__Object,
String;
import mscorlib.System.Collections :
ArrayList;
import mscorlib.System.Security :
SecurityCriticalAttribute;
im... | D |
/Users/radibarq/developer/NasaInArabic/build/Pods.build/Debug-iphonesimulator/Hero.build/Objects-normal/x86_64/CG+Hero.o : /Users/radibarq/developer/NasaInArabic/Pods/Hero/Sources/HeroModifier+Advanced.swift /Users/radibarq/developer/NasaInArabic/Pods/Hero/Sources/HeroCompatible.swift /Users/radibarq/developer/NasaInAr... | D |
/**
Convenience wrappers types for accessing Redis keys.
Note that the API is still subject to change!
Copyright: © 2014 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.db.redis.types;
import core.time : ... | D |
/Users/sharmpi/Downloads/WorldWeather-master/Build/Intermediates/WeatherClient.build/Debug-iphonesimulator/WeatherClient.build/Objects-normal/x86_64/HttpClient.o : /Users/sharmpi/Downloads/WorldWeather-master/WeatherClient/Utils/WeatherConstants.swift /Users/sharmpi/Downloads/WorldWeather-master/WeatherClient/View/Weat... | D |
// DROBERTA.DLG
// If you kill Curst Administration (Carl Parfidor) Roberta's dialog doesn't make as much sense.
// State trigger 1 add NumTimesTalkedToGT(0)
ADD_STATE_TRIGGER DROBERTA 26 ~NumTimesTalkedToGT(0)~
// ============================================================================================
// The ... | D |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/Validation.build/Validators/EmailValidator.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/validation/Sources/Validation/Validatable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.build/ChannelHandler.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/NIO/NonBlo... | D |
module sample_fibers;
import core.thread: Fiber;
void fibonacciSeriesRef(ref int current)
{
current = 0; // Note: 'current' is the parameter
int next = 1;
while (true)
{
Fiber.yield();
/* Next call() will continue from this point */
const nextNext = current + next;
current = ne... | D |
/**
* Poodinis Dependency Injection Framework
* Copyright 2014-2019 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
import poodinis;
import poodinis.test.testClasses;
import std.exception;
version(unittest) {
... | D |
/Users/kushalashok/Documents/Kushal/Personal/Interviews/XcodePractice/Swift/DerivedData/Samples/Build/Intermediates.noindex/Samples.build/Debug-iphonesimulator/Samples.build/Objects-normal/x86_64/DecodedString.o : /Users/kushalashok/Documents/Kushal/Personal/Interviews/XcodePractice/Swift/Samples/Examples/LRU.swift /Us... | D |
module mci.tester.math;
import mci.core.math;
unittest
{
for (ulong i = 1; i != 0; i *= 2)
assert(powerOfTwo(i));
}
unittest
{
assert(!powerOfTwo(0));
}
unittest
{
assert(ror!ubyte(0b00001111, 4) == 0b11110000);
assert(ror!byte(0b00001111, 4) == cast(byte)0b11110000);
}
unittest
{
asser... | D |
/Users/zyang/SNGithub/KDDragAndDropCollectionView/Build/Intermediates/KDDragAndDropCollectionViews.build/Debug-iphonesimulator/KDDragAndDropCollectionViews.build/Objects-normal/x86_64/ColorCell.o : /Users/zyang/SNGithub/KDDragAndDropCollectionView/KDDragAndDropCollectionViews/KDDragAndDropCollectionView.swift /Users/zy... | D |
/Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/NopDisposable.o : /Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/bernardo.tolosa/Documents/workspace/ios... | D |
/Users/lizziesiegle/Desktop/server/DerivedData/server/Build/Intermediates/server.build/Debug/Stencil.build/Objects-normal/x86_64/Include.o : /Users/lizziesiegle/Desktop/server/Packages/Stencil-0.7.2/Sources/Context.swift /Users/lizziesiegle/Desktop/server/Packages/Stencil-0.7.2/Sources/Expression.swift /Users/lizziesie... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Branches.build/SubBranchMap.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/routing.git-5366657101075133678/Sources/Branches/Branch.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkout... | D |
instance DIA_Bilgot_EXIT(C_Info)
{
npc = VLK_4120_Bilgot;
nr = 999;
condition = DIA_Bilgot_EXIT_Condition;
information = DIA_Bilgot_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Bilgot_EXIT_Condition()
{
return TRUE;
};
func void DIA_Bilgot_EXIT_Info()
{
AI_StopProcessInfos(self);
... | D |
void main()
{
goto label;
label:
}
/***************************************************/
// 12460
void f12460(T)()
{
static if (is(T == int))
{
goto end;
}
end:
}
void test12460()
{
f12460!int();
}
| D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/SQLite.build/Codable/SQLiteRowDecoder.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/sqlite.git--8232814251736334455/Sources/SQLite/Query/SQLiteQuery+Expression+0.swift /Users/user/Documents/RiseTimeAssets/server/.... | D |
#objdump: -dr
#name: branch
.*: file format .*-cris
Disassembly of section \.text:
0+ <start_original>:
[ ]+0:[ ]+0f05[ ]+nop[ ]*
0+2 <startm32>:
[ ]+2:[ ]+0f05[ ]+nop[ ]*
^[ ]+\.\.\.
0+7e6a <startm16>:
[ ]+7e6a:[ ]+0f05[ ]+nop[ ]*
^[ ]+\.\.\.
0+7f2e <start>:
[ ]+7f2e:[ ]+0f05[ ]+nop[ ]*
[ ]+7f30:[... | D |
module gtkD.gobject.ObjectG;
public import gtkD.gtkc.gobjecttypes;
private import gtkD.gtkc.gobject;
private import gtkD.glib.ConstructionException;
private import gtkD.gobject.Signals;
public import gtkD.gtkc.gdktypes;
private import gtkD.gobject.ParamSpec;
private import gtkD.gobject.Value;
private ... | D |
/Users/marvinevins/Library/Autosave\ Information/swagShop/DerivedData/swagShop/Build/Intermediates.noindex/swagShop.build/Debug-iphonesimulator/swagShop.build/Objects-normal/x86_64/CategoryCell.o : /Users/marvinevins/Library/Autosave\ Information/swagShop/swagShop/AppDelegate.swift /Users/marvinevins/Library/Autosave\ ... | D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Jan 1, 2012
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module clang.Cursor;
import std.array : appender, Appender;
import mambo.core._;
impo... | D |
/Users/Lorenzo/Desktop/EO18_2/Build/Intermediates/Pods.build/Debug-iphonesimulator/MapboxNavigation.build/Objects-normal/x86_64/EndOfRouteViewController.o : /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxNavigation/MapboxNavigation/ImageDownload.swift /Users/Lorenzo/Desktop/EO18_2/Pods/MapboxNavigation/MapboxNavigation/Gener... | D |
module file.trophy.case_;
/*
* TrophyCase: Caches trophies, loads/saves them.
*
* The saving/loading is called from the user options module because the
* trophies are stored in the same file as user options. I don't like that.
* Ultimately, the trophies should save into a standalone file, to cut
* dependence on ... | D |
/*
This file is part of Grafer.
Copyright (C) 2008 Frederic-Gerald Morcos <fred.morcos@gmail.com>
Grafer 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 of the License, or
(at your option)... | D |
module tools.paths;
import std.file : exists;
import std.path : buildNormalizedPath, buildPath, dirName, setExtension;
import std.process : environment;
version (Posix)
enum exeExtension = "";
else version (Windows)
enum exeExtension = ".exe";
version (Windows)
enum os = "windows";
else version (OSX)
... | D |
/**
* The mutex module provides a primitive for maintaining mutually exclusive
* access.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly
* Source: $(DRUNTIMESRC core/sync/_mutex.d)
*/
/* Copyright... | D |
/*#D*/
// Copyright © 2010, Bernard Helyer. All rights reserved.
// Copyright © 2012, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/volt/license.d (BOOST ver. 1.0).
module volta.token.source;
import watt.io.file : read;
import watt.text.utf : decode, validate;
import watt.text.ascii : isWhit... | D |
module Engine.util;
import std.range;
import std.parallelism;
package extern (C) Object _d_newclass (in ClassInfo info);
T copy(T:Object) (T value)
{
if (value is null)
return null;
auto size = value.classinfo.init.length;
Object v = cast(Object) ( (cast(void*)value) [0..size].dup.ptr );
v.__monitor = null;
... | D |
/Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/PKHUD.build/Objects-normal/x86_64/WindowRootViewController.o : /Users/MohamedNawar/Desktop/citiesListTask/Pods/PKHUD/PKHUD/HUD.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/PKHUD/PKHUD/PKHUD.swift /Users/MohamedNawar/Desktop/citie... | D |
used especially of what is legally or ethically right or proper or fitting
fair to all parties as dictated by reason and conscience
free from favoritism or self-interest or bias or deception
of moral excellence
and nothing more
indicating exactness or preciseness
only a moment ago
absolutely
only a very short time befo... | D |
/*
* Copyright 2018 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 applica... | 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_11_BeT-5971182... | D |
/***********************************************************************\
* ras.d *
* *
* Windows API header module *
* ... | D |
module imports.a313;
// adds private package imports
private import imports.b313;
// adds private package core
private import core.stdc.stdio;
// adds public alias cstdio
public alias cstdio = core.stdc.stdio;
| D |
module android.java.android.media.midi.MidiManager;
public import android.java.android.media.midi.MidiManager_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!MidiManager;
import import5 = android.java.java.lang.Class;
import import2 = android.java.android.media.midi.MidiDeviceInfo;
| D |
/Users/eric/rust_project/rust-cookbook-code/basic-1-read-lines-from-file/target/release/deps/basic_1_read_lines_from_file-3e9b066669b086e7: src/main.rs
/Users/eric/rust_project/rust-cookbook-code/basic-1-read-lines-from-file/target/release/deps/basic_1_read_lines_from_file-3e9b066669b086e7.d: src/main.rs
src/main.rs:... | D |
module hunt.jwt.JwtRegisteredClaimNames;
//
// Summary:
// List of registered claims from different sources http://tools.ietf.org/html/rfc7519#section-4
// http://openid.net/specs/openid-connect-core-1_0.html#IDToken
struct JwtRegisteredClaimNames {
enum string Actort = "actort";
//
// Summary:
... | D |
// EXTRA_SOURCES: imports/ovs1528a.d imports/ovs1528b.d
// EXTRA_SOURCES: imports/template_ovs1.d imports/template_ovs2.d imports/template_ovs3.d
import imports.template_ovs1;
import imports.template_ovs2;
import imports.template_ovs3;
extern(C) int printf(const char* fmt, ...);
template TypeTuple(T...){ alias T Typ... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Core.build/Reflectable.swift.o : /Users/nice/HelloWord/.build/checkouts/core.git--3062928766978654394/Sources/Core/Data+Base64URL.swift /Users/nice/HelloWord/.build/checkouts/core.git--3062928766978654394/Sources/Core/NestedData.swift /Users/nice/HelloWord/.bu... | D |
/*
FPT Jump Demo - demonstration of FPT-methods for the jump number problem
Copyright (C) 2009 Tomasz Polachowski, sprytnyserek@gmail.com
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... | D |
instance VLK_572_GRAVO(NPC_DEFAULT)
{
name[0] = "Граво";
npctype = NPCTYPE_MAIN;
guild = GIL_VLK;
level = 4;
voice = 4;
id = 572;
attribute[ATR_STRENGTH] = 20;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 88;
attribute[ATR_HITPOINTS] = ... | D |
#!/usr/bin/env rdmd
import std.string;
import std.stdio;
import std.algorithm;
import std.typecons;
import std.format;
import std.array;
import std.range;
int main(string[] args)
{
// create the infinite map
auto infmap = stdin.byLine()
.map!(
map!((c) {
final switch(c)
{
case '.': return false;
... | D |
/*
take list A and list B.
exclude full paths that are in list B
make list of same file names.
cmp each
build groups of same files
display sorted by groups
*/
import std.file;
import std.stdio;
import std.array;
import std.string;
import std.path : baseName;
void process(string[] listA, string[] list... | D |
import test19655c;
import test19655d;
class Garply: Grault
{ }
void main()
{
(new Garply).func;
}
| D |
module vm.frame;
import code.code;
import objekt.objekt;
/+++/
class Frame {
Closure cl; /// funtion to be executed
int ip; /// instruction ptr;
int basePtr; /// base ptr;
/+++/
this(Closure cl, int basePtr) {
this.cl = cl;
this.ip = -1;
this... | D |
module wdc.carFromObj;
import wdc.car, wdc.png, wdc.tools,
gfm.math,
std.algorithm, std.stdio, std.string, std.conv, std.path;
import std.math : round;
import std.file : exists;
static class CarFromObj
{
public static Car convert(string objFilePath)
{
int model = int.max, modelSection,
... | D |
//*************************
// FireGolem Prototype
//*************************
PROTOTYPE Mst_Default_FireGolem(C_Npc)
{
//----- Monster ----
name = "Feuergolem";
guild = GIL_FIREGOLEM;
aivar[AIV_MM_REAL_ID] = ID_FIREGOLEM;
level = 100;
//----- Attribute ----
attribute [ATR_STRENGTH] ... | D |
module packets;
import connection;
enum Command
{
expand,
explore,
exterminate,
}
void registerPackets(Connection c)
{
// Common
c.registerPacket!MessagePacket;
// Server -> Client
c.registerPacket!LoginPacket;
c.registerPacket!SessionInfoPacket;
c.registerPacket!ClientLoggedInPacket;
c.registerPacket!Cl... | D |
import std.stdio;
import qmctf.simple;
void main()
{
auto tf = new Oscillatory!(real)([0.2L, 0.5L, 1.0L, 2.0L], 0.3);
tf([0.3L, 0.3L, 0.3L, 0.3L]).writeln;
}
| 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 |
// Written in the D programming language
/**
Facilities for random number generation. The old-style functions
$(D_PARAM rand_seed) and $(D_PARAM rand) will soon be deprecated as
they rely on global state and as such are subjected to various
thread-related issues.
The new-style generator objects hold their own state s... | D |
/*
This module is for parsing mew structs.
Authors:
Jacob Jensen / Bauss
License:
Apache License 2.0
https://github.com/Mew-Programming-Language/Mew-Programming-Language/blob/master/LICENSE
*/
module parser.structparser;
// Std Imports
import std.string : format;
import std.array : replace, split;
import st... | D |
var int YouHaveToDeleteOneOfTheEngineAdrFilesInTheLeGoDirectory;
/***********************************\
ADRESSEN DER ENGINECALLS
\***********************************/
//========================================
// Talents Aivar field
//========================================
const int AIV_TALENT_INDEX = 89;
//=... | D |
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Settings.build/Objects-normal/x86_64/KeyAccessible+Merge.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Vapor-1.1.12/Sources/Settings/Config+Arguments.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Vapor-1.1.12/Sources/Settings/Config+Dir... | D |
instance DIA_Bennet_DI_EXIT(C_Info)
{
npc = SLD_809_Bennet_DI;
nr = 999;
condition = DIA_Bennet_DI_EXIT_Condition;
information = DIA_Bennet_DI_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Bennet_DI_EXIT_Condition()
{
return TRUE;
};
func void DIA_Bennet_DI_EXIT_Info()
{
AI_StopPro... | D |
module org.serviio.delivery.resource.ImageDeliveryEngine;
import java.lang;
import java.awt.Dimension;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import ja... | D |
/**
libev based driver implementation
Copyright: © 2012 RejectedSoftware e.K.
Authors: Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
*/
module vibe.core.drivers.libev;
version(VibeLibevDriver)
{
import vibe.core.core;
import vibe.core.driver;
import v... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
... | D |
import views.mainwindow;
import gio.Application : GioApplication = Application;
import gtk.Application;
import std.stdio;
int main(string[] args)
{
auto application = new Application("org.gtkd.rockpaperscissors.mainwindow", GApplicationFlags.FLAGS_NONE);
application.addOnActivate(delegate void(GioApplication a... | D |
/* THIS FILE GENERATED BY bcd.gen */
module bcd.cairo.cairo;
align(4):
const int CAIRO_VERSION_MAJOR = 1;
const int CAIRO_VERSION_MINOR = 0;
const int CAIRO_VERSION_MICRO = 0;
const char[] CAIRO_VERSION_STRING = "1.0.0";
const int CAIRO_HAS_XLIB_SURFACE = 1;
const int CAIRO_HAS_FT_FONT = 1;
const int CAIRO_HAS_PNG_FUNC... | D |
module std.c.windows.com;
version (Windows):
pragma(lib,"uuid");
import core.atomic;
import std.c.windows.windows;
import std.string;
alias WCHAR OLECHAR;
alias LPOLESTR = OLECHAR*;
alias LPCOLESTR = OLECHAR*;
enum
{
rmm = 23, // OLE 2 version number info
rup = 639,
}
enum : int
{
S_O... | D |
/Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SingleAsync.o : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/Pods/RxSwift/RxSwift/Observables/Single... | D |
/**
* Lazily evaluate static conditions for `static if`, `static assert` and template constraints.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_... | D |
E: c41, c120, c138, c42, c61, c91, c67, c145, c164, c78, c102, c85, c60, c104, c165, c47, c10, c142, c105, c21, c139, c128, c155, c75, c16, c23, c93, c125, c146, c0, c116, c12, c95, c64, c153, c90, c152, c1, c45, c83, c39, c134, c135, c80, c33, c52, c71, c43, c87, c159, c40, c69, c3, c119, c9, c11, c126, c150, c88, c16... | D |
/Users/Dominik/Documents/Programmieren/Libraries/DYAlertController/DYAlertControllerExample3/Build/Intermediates.noindex/SwiftMigration/DYAlertControllerExample3/Intermediates.noindex/DYAlertControllerExample3.build/Debug-iphonesimulator/DYAlertControllerExample3UITests.build/Objects-normal/x86_64/DYAlertControllerExam... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.