code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
///* 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 |
/Users/davalcato/Library/Mobile\ Documents/com~apple~CloudDocs/Desktop/iOS/iTunesClient2/Build/Intermediates/iTunesClient2.build/Debug-iphoneos/iTunesClient2.build/Objects-normal/arm64/AlbumCellViewModel.o : /Users/davalcato/Library/Mobile\ Documents/com~apple~CloudDocs/Desktop/iOS/iTunesClient2/iTunesClient2/Models/En... | D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/Bits.build/ByteBuffer+require.swift.o : /Users/mu/Hello/.build/checkouts/core/Sources/Bits/Deprecated.swift /Users/mu/Hello/.build/checkouts/core/Sources/Bits/ByteBuffer+require.swift /Users/mu/Hello/.build/checkouts/core/Sources/Bits/ByteBuffer+string.swift /Users/mu/He... | D |
import std.stdio;
class A {
void bar() {
assert(2 * 2 == 5, "maths not right" );
}
}
void main() {
square( 5 );
auto foo = new A;
foo.bar;
}
pure int square(int x)
{
// writefln in pure function
// without debug: debug.d(22): Error: pure function 'square' cannot call impure function 'writefln'
debug write... | D |
// Hello World in D
import std.stdio;
void main()
{
writeln("Hello World!");
}
| D |
module api;
import std.algorithm;
import std.array;
import std.file;
import std.json;
import std.math;
import std.path;
import vibe.vibe;
import utilities;
void resume(HTTPServerRequest req, HTTPServerResponse res)
{
string json = readWholeFile("data\\resume.json");
JSONValue obj = parseJSON(json); // this ma... | D |
module ShardGraphics.Effect;
private import std.string;
public import ShardGraphics.UniformBuffer;
public import ShardGraphics.EffectPool;
public import ShardGraphics.GpuResource;
import gl;
public import ShardGraphics.Shader;
private import std.exception;
private import std.conv;
import ShardTools.Excepti... | D |
/*
* Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
* Copyright (c) 2007-2011 Niels Provos and Nick Mathewson
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code mu... | D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/SQLite.build/Utilities/SQLiteError.swift.o : /Users/mu/Hello/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/mu/Hello/.build/checkouts/sqlite/Sources/SQLite/SQL/SQLiteGeneric.swift /Users/mu/Hello/.build/checkouts/sqlite/Sources/SQLite/Utilities/Deprec... | D |
module soup.ProxyResolverIF;
private import gio.Cancellable;
private import glib.MainContext;
private import gobject.ObjectG;
private import soup.Address;
private import soup.Message;
private import soup.c.functions;
public import soup.c.types;
/** */
public interface ProxyResolverIF{
/** Get the main Gtk struct *... | D |
module proj_data;
import std.stdio;
import core.thread;
/// Concept identifier type
alias Cid = uint;
/// Concept version type
alias Cvr = ushort;
/// Spirit concept class identifier
alias Clid = ushort;
/// Type for project's array indexes. Max size for internal arrays is Asize.max.
alias Cind = uint;
/// Static ... | D |
module stb.image.resize;
alias stbir_edge = int;
alias stbir_filter = int;
alias stbir_colorspace = int;
alias stbir_datatype = int;
enum
{
STBIR_EDGE_CLAMP = 1,
STBIR_EDGE_REFLECT,
STBIR_EDGE_WRAP,
STBIR_EDGE_ZERO,
}
enum
{
STBIR_FILTER_DEFAULT,
STBIR_FILTER_BOX,
STBIR_FILTER_TRIANGLE,
STBIR_FILTER_CUBICBS... | D |
import std.stdio, core.exception, std.traits;
// assume alloca() to be pure for this program
extern(C) pure nothrow void* alloca(in size_t size);
bool isPalindrome3(C)(in C[] s) pure if (isSomeChar!C) {
auto p = cast(dchar*)alloca(s.length * 4);
if (p == null)
// no fallback heap allocation used
... | D |
/home/javed/Documents/Projects/RustRepo/ultimate_rust_crash_course/exercise/z_final_project/target/rls/debug/deps/scopeguard-c3b4442f326a491c.rmeta: /home/javed/.cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-1.1.0/src/lib.rs
/home/javed/Documents/Projects/RustRepo/ultimate_rust_crash_course/exercise/z_fina... | D |
module abagames.util.bulletml.idpool;
import abagames.util.bulletml.bulletmlnode;
class IDPool {
this() {
_maxMap[Name.bullet] = 0;
_maxMap[Name.action] = 0;
_maxMap[Name.fire] = 0;
}
int getID(Name domain, string key) {
int* id = !(domain in _map) ? null : key in _map[domain];
if (id is nu... | D |
void main()
{
float a, b=1;
assert(!(a < b));
assert(typeid(float).compare(&a, &b) < 0);
}
| D |
/* Converted to D from gsl_fft_real_float.h by htod
* and edited by daniel truemper <truemped.dsource <with> hence22.org>
*/
module auxc.gsl.gsl_fft_real_float;
/* fft/gsl_fft_real_float.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Brian Gough
*
* This program is free software; you can redistribute it and/o... | D |
#source: inlinepcrel.s
#source: funv2.s
#as: -a64 -mpower10
#ld: -melf64ppc --hash-style=gnu
#objdump: -dr -Mpower10
.*
Disassembly of section \.text:
.*:
.*: (07 00 00 00|00 00 00 07) pnop
.*: (00 00 00 00|00 00 00 00)
.*: (60 00 00 00|00 00 00 60) nop
.*: (48 .. .. ..|.. .. .. 48) bl .* <my_func>
.* <my_... | D |
very long lasting
| D |
/*******************************************************************************
D language bindings for libsodium's crypto_scalarmult_curve25519.h
License: ISC (see LICENSE.txt)
*******************************************************************************/
module libsodium.crypto_scalarmult_curve25519;
... | D |
// URL: https://yukicoder.me/problems/no/764
import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string;
version(unittest) {} else
void main()
{
int N; io.getV(N);
double[] L; io.getC(N+2, L);
auto L0 = L[0], Lc = L.cumulativeSum;
auto Ll = new double[](N+2), Lr = new doubl... | D |
func int ZS_Orc_WatchFight()
{
var int i;
PrintDebugNpc(PD_ORC_FRAME,"ZS_Orc_WatchFight");
Npc_PercEnable(self,PERC_ASSESSOTHERSDAMAGE,B_Orc_CheerFight);
Npc_PercEnable(self,PERC_ASSESSENEMY,B_Orc_ObserveIntruder);
Npc_PercEnable(self,PERC_ASSESSDAMAGE,B_Orc_AssessDamage);
Npc_PercEnable(self,PERC_ASSESSMURDER,B... | D |
PROTOTYPE Default_AmbientDementor (C_NPC)
{
// ------ NSC ------
name = NAME_Dementor;
guild = GIL_DMT;
voice = 19;
flags = 0;
npctype = NPCTYPE_AMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 3);
// ------ Kampf-Taktik ------
fight_tac... | D |
/Users/susana/Documents/Git/TrackerGPS/TrackerGPS/build/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/RuleEqualsToRow.o : /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/RuleURL.swift /Users/susana/Documents/Git/TrackerGPS/TrackerGPS/Pods/Eureka/Source/Validations/... | D |
module android.java.android.util.Range_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.android.util.Range_d_interface;
import import2 = android.java.java.lang.Class_d_interface;... | D |
(Yiddish) a big shot who knows it and acts that way
a person who knocks (as seeking to gain admittance
one who disparages or belittles the worth of something
either of two soft fleshy milk-secreting glandular organs on the chest of a woman
a device (usually metal and ornamental) attached by a hinge to a door
| D |
/*******************************************************************************
Shows how to create a basic socket server, and how to talk to
it from a socket client. Note that both the server and client
are entirely simplistic, and therefore this is for illustration
purposes only... | D |
/*
TEST_OUTPUT:
---
fail_compilation/protection/subpkg/test2.d(3): Error: protection attribute `package(protection.subpkg2)` does not bind to one of ancestor packages of module `protection.subpkg.test2`
---
*/
import protection.subpkg.test2;
| D |
import std.stdio, std.algorithm, std.conv, std.array, std.string;
void main()
{
readln.chomp.split(" ").sort().uniq.count.writeln;
} | D |
module engine.core.hal.window;
import engine.core.math.aabb;
import engine.core.engine.engine;
import engine.core.utils.array;
import engine.core.utils.signal;
enum ERenderContext {
RC_OPENGL,
RC_VULCAN,
RC_DIRECTX,
RC_PROGRAM,
}
class CWindow {
protected:
bool bVSync = false;
int width;
... | D |
// REQUIRED_ARGS: -w
/******************************************/
// 6652
/*
TEST_OUTPUT:
---
fail_compilation/fail6652a.d(19): Warning: variable modified in foreach body requires ref storage class
fail_compilation/fail6652a.d(24): Error: cannot modify const expression i
---
*/
void main()
{
size_t[] res;
fo... | D |
module pixelperfectengine.scripting.lualib;
import pixelperfectengine.scripting.lua;
import pixelperfectengine.scripting.globals;
import pixelperfectengine.graphics.layers.interfaces;
import pixelperfectengine.graphics.layers.base;
import pixelperfectengine.graphics.layers.trnstilelayer;
import pixelperfectengine.gra... | D |
/**
*
*/
module hunt.wechat.bean.card.update.UpdateDiscount;
import hunt.wechat.bean.card.Discount;
/**
* 微信卡券-卡券管理-更改卡券信息接口(折扣券)-请求参数
*
*
*/
class UpdateDiscount : AbstractUpdate {
/**
* 折扣券
*/
private Discount discount;
/**
* @return 折扣券
*/
public Discount getDiscount(... | D |
/**
* This module contains the implementation of the C++ header generation available through
* the command line switch -Hc.
*
* 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... | D |
INSTANCE Info_Mod_Argez_IR_Hi (C_INFO)
{
npc = PC_Friend_IR;
nr = 1;
condition = Info_Mod_Argez_IR_Hi_Condition;
information = Info_Mod_Argez_IR_Hi_Info;
permanent = 0;
important = 0;
description = "Argez?";
};
FUNC INT Info_Mod_Argez_IR_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Argez_IR_Hi_Info()
{
... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Sean Kelly
* Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
*/
/* Copyright Sean Kelly 2005 - 2009.
*... | D |
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/CombineLatest+arity.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmorales/C... | D |
// Written in the D programming language.
/**
* This module defines an Abstract Syntax Tree for the D language
*
* Examples:
* ---
* // TODO
* ---
*
* Copyright: Brian Schott 2013
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt Boost, License 1.0)
* Authors: Brian Schott
* Source: $(PHOBOSSRC std/d/... | D |
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* gtkD is distributed in th... | D |
module core.lifetime;
import core.internal.attributes : betterC;
// emplace
/**
Given a pointer `chunk` to uninitialized memory (but already typed
as `T`), constructs an object of non-`class` type `T` at that
address. If `T` is a class, initializes the class reference to null.
Returns: A pointer to the newly construc... | D |
module canvas;
version (Tango) {
import tango.math.Math;
} else {
import std.math;
}
import chisel.core.all;
import chisel.graphics.all;
import chisel.text.all;
import chisel.ui.all;
class CanvasView : View {
Font font;
String renderText;
FormattedString fmtString;
this( ) {
super( );
font = Font.cre... | D |
/Users/Vishnu/QBurst/Internal/Pod/QAHelper/DerivedData/QAHelper/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintDSL.o : /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/SnapKit/Source/Constraint.swift /Users/Vishnu/QBurst/Internal/Pod/QAHelper/Pods/SnapKit/Source/Constr... | D |
module glamour.util;
private {
import glamour.gl : GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT,
GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_DOUBLE, GLenum,
glGetError, GL_NO_ERROR, GL_INVALID_ENUM, GL_INVALID_VALUE,
GL_INVALID_OPERATION, ... | D |
relatively small placental mammals having a single pair of constantly growing incisor teeth specialized for gnawing
| D |
/*
Copyright (c) 2019 Mateusz Muszyński
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,
e... | D |
/*
* hunt-time: A time library for D programming language.
*
* Copyright (C) 2015-2018 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.time.chrono.ChronoLocalDateTimeImpl;
import hunt.time.temporal.ChronoField;
import hunt.Exceptions... | 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/licenses/LI... | D |
/**
This module implements a red-black tree container.
This module is a submodule of $(MREF std, container).
Source: $(PHOBOSSRC std/container/rbtree.d)
Copyright: Red-black tree code copyright (C) 2008- by Steven Schveighoffer. Other code
copyright 2010- Andrei Alexandrescu. All rights reserved by the respective ho... | D |
(* stolen and ported to dragonfruit from toaruos tree.c *)
struct TreeNode
4 Value
4 Children
4 Parent
endstruct
struct Tree
4 Nodes
4 Root
endstruct
procedure TreeNodes (* tree -- nodes *)
Tree_Nodes + @
end
procedure TreeRoot (* tree -- root *)
Tree_Root + @
end
procedure TreeNodeValue (* node -- value *)... | D |
/*******************************************************************************
* Copyright (c) 2000, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | D |
/**
* Copyright: Copyright (c) 2016 Wojciech Szęszoł. All rights reserved.
* Authors: Wojciech Szęszoł
* Version: Initial created: May 21, 2016
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module dstep.translator.Options;
import clang.Util;
enum Language
{
c,
ob... | D |
// Written in the D programming language.
/**
This module contains declaration of themes and styles implementation.
Style - style container
Theme - parent for all styles
Synopsis:
----
import dlangui.widgets.styles;
----
Recent changes:
Dimensions like fontSize, padding, margins, min/max width and height can... | D |
// Copyright Ferdinand Majerech 2014.
// 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)
import std.stdio;
import std.algorithm: canFind, count, filter, min, remove; // (1)
import std.math: fmo... | D |
import std.stdio;
void main(){
int i = 10;
i >>= 2;
}
| D |
/Users/triggullberg/Desktop/LpRocks/Build/Intermediates/LpRocks.build/Debug-iphonesimulator/LpRocks.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallZigZagDeflect.o : /Users/triggullberg/Desktop/LpRocks/LpRocks/OnboardVC.swift /Users/triggullberg/Desktop/LpRocks/LpRocks/MainVC.swift /Users/triggullberg/Deskt... | D |
instance BDT_10020_Addon_Wache (Npc_Default)
{
// ------ NSC ------
name = NAME_Addon_Guard;
guild = GIL_BDT;
id = 10020;
voice = 6;
flags = 0;
npctype = NPCTYPE_BL_AMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUM... | D |
/**
* Copyright: Mike Wey 2011
* License: zlib (See accompanying LICENSE file)
* Authors: Mike Wey
*/
module dmagick.internal.Windows;
import core.sys.windows.windows;
import dmagick.Image;
import dmagick.Exception;
import dmagick.Geometry;
class Window
{
Image image;
Image[] imageList;
size_t index;
i... | D |
instance Mod_7325_Paladingeist_NW (Npc_Default)
{
// ------ NSC ------
name = "Paladingeist";
guild = GIL_NONE;
id = 7325;
voice = 13;
flags = NPC_FLAG_GHOST|2;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5); //setzt A... | D |
the act of throwing (propelling something with a rapid movement of the arm and wrist
a single chance or instance
the maximum movement available to a pivoted or reciprocating piece by a cam
bedclothes consisting of a lightweight cloth covering (an afghan or bedspread) that is casually thrown over something
casting an ob... | D |
module android.java.android.icu.text.PluralRules_PluralType_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.lang.Class_d_interface;
import import1 = android.java.java.lang.... | D |
/** Port of grisu2 implementation by night-shift
https://github.com/night-shift/fpconv
Converted to (CTFEable) D by Stefan Koch */
module fpconv_ctfe;
enum npowers = 87;
enum steppowers = 8;
enum firstpower = -348; /* 10 ^ -348 */
enum expmax = -32;
enum expmin = -60;
enum expbits = 11; // 64 - 1 /*for signb... | D |
module teg.test.common;
import teg.stores;
import beard.io;
import beard.metaio;
import std.stdio;
public import teg.all;
public import beard.io;
auto nFailures = 0u;
alias ManyPlus!(CharFrom!"\n\t ") Whitespace;
alias Lexeme!(CharRange!"azAZ", Many!(CharRange!"azAZ09")) SimpleId;
alias Sequence!(Char!"var", Simple... | D |
module collada.controller;
import collada.base;
import collada.dataflow;
import collada.utils;
import std.algorithm;
import std.array;
import std.conv;
version( unittest )
{
import std.stdio;
}
struct Targets
{
}
struct Skeleton
{
}
struct VertexWeights
{
int count;
InputB[] inputs;
int[] vcoun... | D |
/Users/Marklar/Desktop/Projects/noodling/rust-noodling/variables/adder/target/debug/deps/adder-22b3bf89aa2d49e8: src/lib.rs
/Users/Marklar/Desktop/Projects/noodling/rust-noodling/variables/adder/target/debug/deps/adder-22b3bf89aa2d49e8.d: src/lib.rs
src/lib.rs:
| D |
// Written in the D programming language.
/**
This module implements various _color type conversions.
Authors: Manu Evans
Copyright: Copyright (c) 2015, Manu Evans.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0)
Source: $(PHOBOSSRC std/experimental/color/conv.d)
*/
module ... | D |
/**
D syntax highlighting.
Copyright: © 2015 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module ddox.highlight;
import std.algorithm : any;
import std.array : Appender, appender, replace;
import std.range;
import std... | 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 |
/Users/doriankinoocrutcher/Documents/blockheads/blockbop/blockbop/contract/target/release/build/num-traits-b3e476a7ff104dfc/build_script_build-b3e476a7ff104dfc: /Users/doriankinoocrutcher/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.12/build.rs
/Users/doriankinoocrutcher/Documents/blockheads/blockbop... | D |
/*******************************************************************************
Abstract base classes for suspendable throttlers.
Provides a simple mechanism for throttling a set of one or more suspendable
processes based on some condition (as defined by a derived class).
A full usage example is giv... | D |
/Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/.build/debug/FluentTester.build/Tester+PivotsAndRelations.swift.o : /Users/KyleBlazier/Documents/Development/Xcode/ServerSide/Postgres/postgresAPI/Packages/Fluent-1.3.3/Sources/FluentTester/Atom.swift /Users/KyleBlazier/Documents/Development... | D |
a city in north central Utah settled by Mormons
| D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
static immutable PS = [
2,
4,
8,
16,
32,
64,
128,
256,
512,
1024,
2048,
4096,
8192,
16384,
32768,
65536,
131072,
262144,
524288,
1048576,
2097152,
4194304,
8388608,
16777216,
33554432,
67108864,
134217728,
268435456,... | D |
/mnt/c/Users/35984/Documents/code/qwe/musk/target/debug/build/serde_derive-bb6518b5b3e743c6/build_script_build-bb6518b5b3e743c6: /home/denniszhang/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.129/build.rs
/mnt/c/Users/35984/Documents/code/qwe/musk/target/debug/build/serde_derive-bb6518b5b3e743c6/bu... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/NIOOpenSSL.build/OpenSSLClientHandler.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/ByteBufferBIO.swift /Users/panartem/Developer/Study/Mic... | D |
// Written in the D Programming Language, version 1
import std.stdio;
import std.process;
import std.stream;
import std.string;
import std.file;
import std.conv;
import std.uri;
import litexml;
int main(string[] args)
{
string name, language="en";
bool usage, noImport;
for (int i=1; i<args.length; i... | D |
module godot.audiostreamplayer3d;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.object;
import godot.classdb;
import godot.spatial;
import godot.audiostream;
@GodotBaseClass struct AudioStreamPlayer3D
{
static immutable strin... | D |
//-------- Spell Commands --------
// SPL_DONTINVEST = 0; // Es können keine weiteren Manapunkte investiert werden. Erst durch CTRL loslassen geht der Spell ab
// SPL_RECEIVEINVEST = 1; // Wirkung durchgeführt, es können weitere Invest kommen, zB.bei Heal nach jedem Pöppel
// SPL_SENDCAST = 2; // Starte den Z... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Alex Rønne Petersen 2011 - 2012.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Alex Rønne Petersen
* Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
*/
/* Copyrigh... | D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Droplet/Droplet+Responder.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/JSON/HTTP/Message+JSON.swift /Users/AleixDiaz/Desktop/VaporProject/LaSall... | D |
/Users/asatyamurthy/Desktop/PhunwareHW/build/Pods.build/Debug-iphonesimulator/AlamofireImage.build/Objects-normal/x86_64/Image.o : /Users/asatyamurthy/Desktop/PhunwareHW/Pods/AlamofireImage/Source/Image.swift /Users/asatyamurthy/Desktop/PhunwareHW/Pods/AlamofireImage/Source/ImageCache.swift /Users/asatyamurthy/Desktop/... | D |
// Hier wird geprüft, ob das Feld noch frei ist
FUNC INT B_MG_FeldBesetzt(var int owner, var int x, var int y) {
if ((x < 0) || (x >= 8)) {
return FALSE;
};
if ((y < 0) || (y >= 10)) {
return FALSE;
};
if (x+8*y >= 80) {
return TRUE;
};
if (x+8*y < 0) {
return TRUE;
};
if (MEM_ReadStatArr(MG_Spiel... | D |
module android.java.android.graphics.LinearGradient_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.graphics.Shader_TileMode_d_interface;
import import1 = android.java.a... | D |
module org.restlet.resource;
public import org.restlet.resource.Get;
public import org.restlet.resource.Post;
public import org.restlet.resource.Put;
public import org.restlet.resource.ResourceException;
public import org.restlet.resource.ServerResource;
| D |
module android.java.java.lang.AutoCloseable_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
final class AutoCloseable : IJavaObject {
static immut... | D |
instance ORC_8563_URGROM(C_Npc)
{
name[0] = CZ_NAME_Orc_Unique_Urgrom_8563;
guild = GIL_ORC;
aivar[AIV_MM_REAL_ID] = ID_ORCELITE;
voice = 18;
id = 8563;
level = 150;
flags = ORCTEMPLENPCFLAGS;
attribute[ATR_STRENGTH] = 750;
attribute[ATR_DEXTERITY] = 750;
attribute[ATR_HITPOINTS_MAX] = 3000;
attribute[ATR_H... | D |
//*****************************************************************************
//
// Render core file.
//
//*****************************************************************************
module engine.render;
//-----------------------------------------------------------------------------
public import engine.render.... | D |
instance DIA_BDT_13_EXIT(C_Info)
{
nr = 999;
condition = DIA_BDT_13_EXIT_Condition;
information = DIA_BDT_13_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_BDT_13_EXIT_Condition()
{
return TRUE;
};
func void DIA_BDT_13_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_BDT_13... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
11.3000002 54.7999992 26.7999992 12.6999998 120 146 -9.89999962 124.199997 1783 18.7000008 31.6000004 0.576923077 sediments, redbeds
88.0999985 51.4000015 19.2000008 13.1999998 120 146 -9.89999962 124.199997 1782 13.3999996 22.7000008 0.57692307... | D |
/**
A module for providing interop between reggae and dub
*/
module reggae.dub.interop;
import reggae.options;
import reggae.dub.info;
import reggae.dub.call;
import reggae.dub.json;
import std.stdio;
import std.exception;
import std.conv;
import std.process;
DubInfo[string] gDubInfos;
@safe:
void maybeCreateR... | D |
/*
PERMUTE_ARGS:
TEST_OUTPUT:
---
fail_compilation/test13537.d(32): Error: field `U.y` cannot modify fields in `@safe` code that overlap fields with other storage classes
fail_compilation/test13537.d(33): Error: field `U.y` cannot modify fields in `@safe` code that overlap fields with other storage classes
fail_compila... | D |
import std.stdio;
class Widget { }
void main() {
// Automatically managed.
auto w = new Widget;
// Code is executed in any case upon scope exit.
scope(exit) { writeln("Exiting main."); }
// File is closed deterministically at scope's end.
foreach (line; File("text.txt").byLine()) {
wri... | D |
# FIXED
ICallBLE/icall_lite_translation.obj: C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/icall/src/icall_lite_translation.c
ICallBLE/icall_lite_translation.obj: C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/osal/src/inc/osal.h
ICallBLE/icall_lite_translation.obj: C:/ti/ccs930/ccs/tools/co... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtBluetooth module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Li... | D |
/+
+ Copyright © 2015 Rémi Thebault
+
+ 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,
+... | D |
/*******************************************************************************
* Copyright (c) 2000, 2009 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, a... | D |
instance Mod_7383_OUT_Henrik_REL (Npc_Default)
{
// ------ NSC ------
name = "Henrik";
guild = GIL_OUT;
id = 7383;
voice = 7;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 3);
// ------ Kampf-Taktik ------
fi... | D |
/*******************************************************************************
copyright: Copyright (c) 2004 Kris Bell. все rights reserved
license: BSD стиль: $(LICENSE)
version: Initial release: January 2006
author: Kris
************... | D |
INSTANCE Info_Mod_Albert_Hi (C_INFO)
{
npc = Mod_1958_VMG_Albert_MT;
nr = 1;
condition = Info_Mod_Albert_Hi_Condition;
information = Info_Mod_Albert_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Albert_Hi_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Turendil_Hi))
&& (Npc_IsInState(self, ZS_Ta... | D |
// Written in the D programming language.
/**
* Handling of variables.
*
* Copyright: (C) 2020 by Kai Nacke
*
* License: See LICENSE file
*
* Authors: Kai Nacke
*/
module variables;
enum VarName
{
Language,
ApiNamespace,
ApiParserClass,
ApiPrefix,
ApiSymbolPrefix,
ApiTokenPrefix,
C... | D |
extern(C) int printf(const char*, ...);
alias TypeTuple(T...) = T;
/***************************************************/
// https://issues.dlang.org/show_bug.cgi?id=13336
struct S13336
{
int opApply(scope int delegate(int) dg)
{
return dg(0);
}
}
double result13336;
enum fbody13336 =
q{
sta... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.