code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/users/tommy-b-10/Desktop/SidePilotApp/Carthage/Checkouts/SwiftIO/Build/Intermediates/SwiftIO.build/Debug-iphoneos/SwiftIO_iOS.build/Objects-normal/arm64/Logging.o : /users/tommy-b-10/Desktop/SidePilotApp/Carthage/Checkouts/SwiftIO/Sources/NullStream.swift /users/tommy-b-10/Desktop/SidePilotApp/Carthage/Checkouts/Swift... | D |
module sb.gl;
public import sb.gl.batch;
public import sb.gl.context;
public import sb.gl.resource;
public import rev3.core.opengl;
| D |
import std.stdio;
import std.string;
auto floorMod(T)(T a, T b) { auto m = a%b; return m>=0 ? m : m + b; }
alias bool function(int, int, int) STRATEGY;
void evaluateStrategy(string name, STRATEGY strategy)
{
writeln(name);
for (int y=16; y>=1; y--)
{
for (int x=0; x<32; x++)
write(strategy(x, y,... | D |
/home/shaqb4/dev/rust/projects/pancakes/target/debug/deps/hello_macro-9f83a15b26098303.rmeta: /home/shaqb4/dev/rust/projects/hello_macro/src/lib.rs
/home/shaqb4/dev/rust/projects/pancakes/target/debug/deps/hello_macro-9f83a15b26098303.d: /home/shaqb4/dev/rust/projects/hello_macro/src/lib.rs
/home/shaqb4/dev/rust/proj... | D |
module android.java.android.app.Notification_Style_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.app.Notification_Builder_d_interface;
import import2 = android.java.ja... | D |
module android.java.android.text.style.TtsSpan_SemioticClassBuilder_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.android.text.style.TtsSpan_d_interface;
import import2 = andr... | D |
/*
REQUIRED_ARGS: -betterC -preview=dip1000
*/
__gshared int numDtor;
struct S
{
int a;
~this() nothrow @nogc @trusted { ++numDtor; }
}
void takeScopeSlice(const scope S[] slice) nothrow @nogc @safe {}
extern(C) int main() nothrow @nogc @safe
{
takeScopeSlice([ S(1), S(2) ]); // @nogc => no GC allocatio... | D |
/*
* hello-stdin.d
* code from https://dlang.org/library/std/stdio/stdin.html
* compile:
* dmc hello-stdin.d -of=hello-stdin.exe
* test:
* cat <file> | ./hello-stdin.exe
*/
module hello_stdin;
import std.stdio; // Read stdin, sort lines, write to stdout
import std.algorithm.mutation : copy;
import st... | D |
module android.java.android.os.ConditionVariable;
public import android.java.android.os.ConditionVariable_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ConditionVariable;
import import0 = android.java.java.lang.Class;
| D |
module evael.renderer.enums.attribute_type;
enum AttributeType
{
Float,
UByte
} | D |
module random.peturber;
import cgy.util.util;
import random.valuesource;
final class Peturber : ValueSource {
ValueSource source;
ValueSource petX;
ValueSource petY;
ValueSource petZ;
vec3d power;
this(ValueSource s, ValueSource pX = null, ValueSource pY = null, ValueSource pZ = null, vec... | D |
/**
* Copyright: Copyright (c) 2016 Wojciech Szęszoł. All rights reserved.
* Authors: Wojciech Szęszoł
* Version: Initial created: Jun 03, 2016
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module dstep.translator.MacroDefinition;
import std.array : Appender;
import std.t... | D |
in a random manner
| D |
# FIXED
Startup/icall_startup.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/common/cc26xx/icall_startup.c
Startup/icall_startup.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/ble5stack/hal/src/target/_common/hal_types.h
Startup/icall_startup.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/so... | D |
module dpe.types;
import std.variant : Algebraic;
public import luad.base : Nil, LuaObject;
public import luad.lfunction : LuaFunction;
public import luad.table : LuaTable;
const string GraphicsThreadName = "GraphicsThreadName";
alias Algebraic!(double, uint, int, string, bool, Nil, LuaTable, LuaFunction, LuaObject)... | D |
module mordor.common.examples.streamclient;
import tango.io.Stdout;
import tango.net.InternetAddress;
import tango.util.Convert;
import mordor.common.asyncsocket;
import mordor.common.iomanager;
import mordor.common.streams.socket;
void main(char[][] args)
{
IOManager ioManager = new IOManager();
AsyncSocke... | D |
/Users/tannerorndorff/Desktop/Monocleheads/SpokaneFence/Fence\ GUI_v4/build/Fence\ GUI_v4.build/Debug-iphonesimulator/Fence\ GUI_v4.build/Objects-normal/x86_64/AppDelegate.o : /Users/tannerorndorff/Desktop/Monocleheads/SpokaneFence/Fence\ GUI_v4/Fence\ GUI_v4/AppDelegate.swift /Users/tannerorndorff/Desktop/Monocleheads... | D |
/atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/obj/x86_64-slc6-gcc49-opt/QuickAna/obj/quickana_basic.o /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/obj/x86_64-slc6-gcc49-opt/QuickAna/obj/quickana_basic.d : /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.5.0/QuickA... | D |
# DO NOT DELETE
.wscode.4585017a-8463-11e4-9717-fa358a89beef.myWS/RooCFAuto000Func_cxx.so: /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.05/x86_64-slc5-gcc43-opt/root/include/Riostream.h
.wscode.4585017a-8463-11e4-9717-fa358a89beef.myWS/RooCFAuto000Func_cxx.so: /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.05/x86_64-slc5-g... | D |
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop, core.stdc.string;
void main() {
auto N = readln.chomp.to!int;
auto AB = N.iota.map!(_ => readln.split.map!(to!int).array).array;
... | D |
CHAIN IF ~InParty("C0Sirene")
See("C0Sirene")
!StateCheck("X3Vien",CD_STATE_NOTVALID)
!StateCheck("C0Sirene",CD_STATE_NOTVALID)
CombatCounter(0)
!See([ENEMY])
Global("C0SireneX3Vien1","GLOBAL",0)~ THEN X3VienB SireneVienxay1
~A fiend taking upon the pain of others. Do you so hate yourself so much that you would throw y... | D |
a damage or loss
| D |
/// The wxArrayInt wrapper class
module wx.ArrayInt;
public import wx.common;
//! \cond EXTERN
static extern (C) IntPtr wxArrayInt_ctor();
static extern (C) void wxArrayInt_dtor(IntPtr self);
static extern (C) void wxArrayInt_RegisterDisposable(IntPtr self, Virtual_Dispose onDispose);
static extern (C) void wxAr... | D |
import std.stdio;
void main()
{
int N;
readf("%s",&N);
for (int i = 1; i <= 10; i++)
{
writef("%d x %d = %d\n", N, i, N*i);
}
}
| D |
module java.util.EventObject;
import java.lang.all;
class EventObject {
protected Object source;
public this(Object source) {
if (source is null)
throw new IllegalArgumentException( "null arg" );
this.source = source;
}
public Object getSource() {
return... | D |
module invrec;
import std.algorithm: cmp;
class InverterRecord {
public:
this() {
_term = "";
_buffer = [];
}
string _term;
ulong[] _buffer;
override int opCmp(Object rhs) const {
if (this is rhs)
return 0;
auto that = cast(InverterRecord)rhs;
... | D |
// ********************************
// EXIT
// ********************************
instance DIA_Sld_702_EXIT (C_INFO)
{
npc = Sld_702_Soeldner;
nr = 999;
condition = DIA_Sld_702_EXIT_Condition;
information = DIA_Sld_702_EXIT_Info;
permanent = 1;
description = DIALOG_ENDE;
};
FUNC int... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1985-1998 by Symantec
* Copyright (c) 2000-2017 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2012 Laurent Gomila (laurent.gom@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 ... | D |
// Copyright 2016 Google Inc. 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/LICENSE-2.0
//
// Unless required by applicable... | D |
/******************************************************************//**
* \file src/gnuplot/plot.d
* \brief GNU plot plot window definitions
*
* <i>Copyright (c) 2012</i> Danny Arends<br>
* Last modified May, 2012<br>
* First written 2012<br>
* Written in the D Programming Language (http://www.digitalmars.com/d)... | D |
func void B_GiveTradeInv(var C_Npc slf)
{
var C_Npc Trd_Cronos_NW;
var C_Npc Trd_Cronos_ADW;
var C_Npc Trd_Martin;
var C_Npc Trd_Garett;
var C_Npc Trd_Fisk;
var C_Npc Trd_Huno;
var C_Npc Trd_Erol;
var C_Npc Trd_Juan;
var C_Npc Trd_Lucia;
var C_Npc Trd_Samuel;
var C_Npc Trd_Miguel;
var C_Npc Trd_Scatty;
va... | D |
/*
* Licensed under the GNU Lesser General Public License Version 3
*
* This library 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 3 of the license, or
* (at your option) any late... | D |
/**
This module implements some abstract geometric shapes:
$(UL
$(LI Line segments.)
$(LI Triangle.)
$(LI Circles/spheres.)
$(LI Rays)
$(LI Planes)
$(LI Frustum)
)
*/
module gfm.math.shapes;
import std.math,
std.traits;
import gfm.math.vector,
gfm.math.box;
/// A Segment is 2 points.... | D |
/**
* Text UI
*
* License: BSD 3-clause
*/
module ui.tui;
import adbg.os.term;
import adbg.debugger;
import adbg.disasm;
import core.stdc.stdio, core.stdc.string : memcpy;
import ui.common;
extern (C):
__gshared:
/// Initiate TUI and enter input loop
/// Return: Error code
int adbg_ui_tui_enter(disasm_params_t *... | D |
#!/usr/bin/env dub
/+dub.sdl:
dependency "dmd" path="../../.."
+/
void main()
{
import dmd.globals;
import dmd.lexer;
import dmd.tokens;
import dmd.errorsink;
immutable expected = [
TOK.void_,
TOK.identifier,
TOK.leftParenthesis,
TOK.rightParenthesis,
TOK.lef... | D |
module hunt.http.codec.http.encode.HeaderGenerator;
import hunt.collection.ByteBuffer;
import hunt.http.codec.http.frame.Frame;
import hunt.http.codec.http.frame.FrameType;
class HeaderGenerator {
private int maxFrameSize = Frame.DEFAULT_MAX_LENGTH;
ByteBuffer generate(FrameType frameType, int capacity, int leng... | D |
/Volumes/new/mobile/Rocket.Chat.ReactNative/ios/build/RocketChatRN/Build/Intermediates.noindex/WatermelonDB.build/Debug-iphonesimulator/WatermelonDB.build/Objects-normal/x86_64/Database.o : /Volumes/new/mobile/Rocket.Chat.ReactNative/node_modules/@nozbe/watermelondb/native/ios/WatermelonDB/DatabaseBridge.swift /Volumes... | D |
/// Generate by tools
module org.codehaus.groovy.control.CompilationFailedException;
import java.lang.exceptions;
public class CompilationFailedException
{
public this()
{
implMissing();
}
}
| D |
/**
* Contains OS-level routines needed by the garbage collector.
*
* Copyright: Copyright Digital Mars 2005 - 2013.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, David Friedman, Sean Kelly, Leandro Lucarella
*/
/* Copyright Digital Mars 2005 - 2013.
... | D |
/** Arbitrary-precision ('bignum') arithmetic.
*
* Performance is optimized for numbers below ~1000 decimal digits.
* For X86 machines, highly optimised assembly routines are used.
*
* The following algorithms are currently implemented:
* $(UL
* $(LI Karatsuba multiplication)
* $(LI Squaring is optimized indepe... | D |
/*
* Hunt - a framework for web and console application based on Collie using Dlang development
*
* Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the BSD License.
*
* template parsing is based on dymk/temple source from https://github.com/dymk... | D |
in a circular manner
| D |
/home/dart/DoThinking/RustMain/Advanced/day30_advanced_type/open_advanced_type2_never_type/target/rls/debug/deps/open_advanced_type2_never_type-b5ec5398a7ecb861.rmeta: src/main.rs
/home/dart/DoThinking/RustMain/Advanced/day30_advanced_type/open_advanced_type2_never_type/target/rls/debug/deps/open_advanced_type2_never_... | D |
/// Fontconfig font library implementation
module dgt.font.port.fc;
version(linux):
import dgt.bindings.fontconfig;
import dgt.font.library;
import dgt.font.port.ft;
import dgt.font.style;
import dgt.font.typeface;
import gfx.core.rc;
import std.string;
import std.typecons : Nullable;
import std.uni;
class FcFontL... | D |
/** Authors: Lars Tandle Kyllingstad
Copyright: Copyright (c) 2009, Lars T. Kyllingstad. All rights reserved.
License: Boost Licence 1.0
*/
module scid.ports.minpack.r1updt;
private import std.math: abs, sqrt;
/** Given an m by n lower trapezoidal matrix S, an m-vector u,
and an n-vector v, th... | D |
/Users/Lavanya/Desktop/AlbumsApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/KingfisherManager.o : /Users/Lavanya/Desktop/AlbumsApp/Pods/Kingfisher/Sources/String+MD5.swift /Users/Lavanya/Desktop/AlbumsApp/Pods/Kingfisher/Sources/Resource.swift /Users/Lavanya/Desk... | D |
INSTANCE Mod_7729_OUT_Baro_EIS (Npc_Default)
{
// ------ NSC ------
name = "Baro";
guild = GIL_OUT;
id = 7729;
voice = 4;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2);
// ------ Kampf-Taktik ------
fight_... | D |
/*!
* robust-admin-theme (http://demo.pixinvent.com/robust-admin)
* Copyright 2017 PIXINVENT
* Licensed under the Themeforest Standard Licenses
*/
$(document).ready(function(){function getData(){return[["","Kia","Nissan","Toyota","Honda","Mazda","Ford"],["2012",10,11,12,13,15,16],["2013",10,11,12,13,15,16],["2014",... | D |
instance DJG_713_Biff(Npc_Default)
{
name[0] = "Áèôô";
guild = GIL_DJG;
id = 713;
voice = 7;
flags = 0;
npcType = npctype_main;
// aivar[AIV_PARTYMEMBER] = TRUE;
aivar[AIV_ToughGuy] = TRUE;
aivar[AIV_ToughGuyNewsOverride] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
B_SetAttributesToChapter(self,5);
fight_tactic... | D |
/**
<script type="text/javascript">inhibitQuickIndex = 1</script>
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions)
)
$(TR $(TDNW Parsing UUIDs) $(TD $(MYREF parseUUID) $(MYREF
UUID(string)) $(MYREF UUIDParsingException) $(MYREF uuidRegex) )
)
$(TR $(TDNW Generating UUIDs) $(TD $(MYREF sha1UUID) $(MYREF randomUUID) $(... | D |
// Written in the D programming language.
/**
* Initialization and 'abort process' related functions and unittests.
*/
module wrapper.sodium.core;
public
import deimos.sodium.core;
shared static this() @safe
{
static import std.exception;
std.exception.enforce(sodium_init() == 0, "Initialization of Sodi... | D |
someone who makes predictions of the future (usually on the basis of special knowledge)
| D |
INSTANCE Info_Mod_Margarethe_Hi (C_INFO)
{
npc = Mod_7365_OUT_Margarethe_REL;
nr = 1;
condition = Info_Mod_Margarethe_Hi_Condition;
information = Info_Mod_Margarethe_Hi_Info;
permanent = 0;
important = 0;
description = "Du siehst nicht glücklich aus.";
};
FUNC INT Info_Mod_Margarethe_Hi_Condition()
{
if (Kap... | D |
// Written in the D programming language.
/**
Processing of command line options.
The getopt module implements a $(D getopt) function, which adheres to
the POSIX syntax for command line options. GNU extensions are
supported in the form of long options introduced by a double dash
("--"). Support for bundling of comman... | D |
// Copyright Ferdinand Majerech 2011.
// 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)
/**
* Class that processes YAML mappings, sequences and scalars into nodes.
* This can be used to add... | D |
an animal sterol that is normally synthesized by the liver
| D |
INSTANCE Mod_7034_OUT_Bruno_NW (Npc_Default)
{
// ------ NSC ------
name = "Bruno";
guild = GIL_OUT;
id = 7034;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ------
fight_... | D |
module UnrealScript.Engine.SeqCond_SwitchPlatform;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.SequenceCondition;
extern(C++) interface SeqCond_SwitchPlatform : SequenceCondition
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static... | D |
const int SPL_Cost_PalLight = 10;
const int SPL_Cost_LIGHT = 10;
const int SPL_Duration_PalLIGHT = 5;
const int SPL_Duration_LIGHT = 5;
instance Spell_Light(C_Spell_Proto)
{
time_per_mana = 500;
spellType = SPELL_NEUTRAL;
targetCollectAlgo = TARGET_COLLECT_NONE;
targetCollectRange = 0;
targetCollectAzi = 0;
tar... | D |
/Users/michael/Desktop/Buildcoin/ChartTest/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/DefaultFillFormatter.o : /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Source/C... | D |
module ui.Window;
import ui.Control;
class Window : Control {
import std.typecons: Tuple;
import std.string: toStringz;
protected uiWindow * _window;
mixin EventListenerMixin!("OnPositionChanged", Window);
mixin EventListenerMixin!("OnContentSizeChanged", Window);
mixin EventListenerMixin!(... | D |
/***********************************************************************\
* ddeml.d *
* *
* Windows API header module *
* ... | D |
module android.java.android.os.DeadObjectException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.io.PrintStream_d_interface;
import import4 = android.java.java.lang.Class... | D |
/Users/latyntsev/Desktop/Bumper/build/Bumper.build/Release-iphoneos/Bumper.build/Objects-normal/arm64/ViewController.o : /Users/latyntsev/Desktop/Bumper/Bumper/ViewController.swift /Users/latyntsev/Desktop/Bumper/Bumper/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr... | D |
instance VLK_586_Grimes_Exit(C_Info)
{
npc = VLK_586_Grimes;
nr = 999;
condition = VLK_586_Grimes_Exit_Condition;
information = VLK_586_Grimes_Exit_Info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
func int VLK_586_Grimes_Exit_Condition()
{
return 1;
};
func void VLK_586_Grimes_Exit_Info()
{... | D |
instance Mod_7653_JG_Gandal_JL (Npc_Default)
{
// ------ NSC ------
name = "Gandal";
guild = GIL_OUT;
id = 7653;
voice = 0;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 3); //setzt Attri... | D |
import std.stdio : writeln;
import std.string : stripRight, replace;
import std.functional : binaryFun;
import std.algorithm : map;
import std.array : array;
import std.traits : isInstanceOf, FieldNameTuple, isPointer, isAssociativeArray,
ValueType, KeyType, isCallable /*, hasMember*/;
import std.typetuple : allS... | D |
module test.component2.impl;
import test.component.AddService;
import test.component.FieldInject;
import test.component2.MethodInject2;
import hunt.http.annotation.Component;
import hunt.http.annotation.InitialMethod;
import hunt.http.annotation.Inject;
@Component("methodInject2")
public class MethodInjec... | D |
module gui;
import model;
import dlangui;
/// game action codes
enum TetrisAction : int {
MoveLeft = 10000,
MoveRight,
RotateCCW,
FastDown,
Pause,
LevelUp,
}
const Action ACTION_MOVE_LEFT = (new Action(TetrisAction.MoveLeft, KeyCode.LEFT)).addAccelerator(KeyCode.KEY_A).iconId("arrow-left"... | D |
/home/deeptuuk/rust/异步学习/dproxy/target/debug/deps/pin_project_lite-863f0c030f499457.rmeta: /home/deeptuuk/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/pin-project-lite-0.1.4/src/lib.rs
/home/deeptuuk/rust/异步学习/dproxy/target/debug/deps/libpin_project_lite-863f0c030f499457.rlib: /home/deeptuuk/.cargo/registr... | D |
/*
TEST_OUTPUT:
---
fail_compilation/lexer4.d(22): Error: unterminated character constant
fail_compilation/lexer4.d(24): Error: unterminated character constant
fail_compilation/lexer4.d(25): Error: unterminated character constant
fail_compilation/lexer4.d(26): Error: binary digit expected, not `2`
fail_compilation/lexe... | D |
/*****************************************************************************
*
* Higgs JavaScript Virtual Machine
*
* This file is part of the Higgs project. The project is distributed at:
* https://github.com/maximecb/Higgs
*
* Copyright (c) 2012-2015, Maxime Chevalier-Boisvert. All rights re... | D |
/**
* Defines the `Dsymbol` representing a `static assert()`.
*
* Specification: $(LINK2 https://dlang.org/spec/version.html#static-assert, Static Assert)
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
*... | D |
# FIXED
NPI/npi.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/npi/npi_np/CC26xx/Stack/npi.c
NPI/npi.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/CC2650TIRTOS/hal_types.h
NPI/npi.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/hal/target/CC2650TIRTOS/../_common/cc2... | D |
module UnrealScript.UnrealEd.GenericBrowserType_StaticMesh;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UnrealEd.GenericBrowserType;
extern(C++) interface GenericBrowserType_StaticMesh : GenericBrowserType
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@p... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lice... | D |
/Users/hazuki/Desktop/13/la/lifeistech/SwiftPMApp/DerivedData/SwiftPMApp/Build/Intermediates.noindex/SwiftPMApp.build/Debug-iphonesimulator/SwiftPMApp.build/Objects-normal/x86_64/SceneDelegate.o : /Users/hazuki/Desktop/13/la/lifeistech/SwiftPMApp/SwiftPMApp/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Swi... | D |
// dmd -g -ofscripttest -unittest -main script.d jsvar.d && ./scripttest
/*
FIXME: fix `(new A()).b`
FIXME: i kinda do want a catch type filter e.g. catch(Exception f)
and perhaps overloads
For type annotations, maybe it can statically match later, but right now
it just forbids any assignment to that variabl... | D |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* 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; version 2
* of the License only.
*
* This... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail301.d(11): Error: need `this` for `guard` of type `int`
fail_compilation/fail301.d(22): Error: template instance `fail301.bug3305!0` error instantiating
---
*/
struct bug3305(alias X = 0)
{
auto guard = bug3305b!(0).guard;
}
struct bug3305b(alias X = 0)
{
bug3305!(X) g... | D |
/**
* Most of the logic to implement scoped pointers and scoped references is here.
*
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.... | D |
instance TPL_1418_TEMPLER(NPC_DEFAULT)
{
name[0] = NAME_TEMPLER;
npctype = NPCTYPE_GUARD;
guild = GIL_TPL;
level = 12;
voice = 13;
id = 1418;
attribute[ATR_STRENGTH] = 70;
attribute[ATR_DEXTERITY] = 25;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 184;
attribute[ATR_... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Crypto.build/Utilities/Exports.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/Sources/Crypto/Utilities/Base32.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/crypto/S... | D |
// Copyright Brian Schott (Hackerpilot) 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)
module analysis.run;
import std.stdio;
import std.array;
import std.conv;
import std.algorithm;... | D |
/Users/kelvintan/Desktop/MVP/Build/Intermediates.noindex/MVP.build/Debug-iphonesimulator/MVP.build/Objects-normal/x86_64/AppDelegate.o : /Users/kelvintan/Desktop/MVP/MVP/SceneDelegate.swift /Users/kelvintan/Desktop/MVP/MVP/AppDelegate.swift /Users/kelvintan/Desktop/MVP/MVP/View/Home/HomeTableViewCell.swift /Users/kelvi... | D |
module difference_of_squares;
import std.range : iota;
import std.algorithm : sum, map;
struct Squares {
this(uint max) pure {
end = max + 1;
}
@property uint squareOfSum() const pure {
return iota(end).sum ^^ 2;
}
@property uint sumOfSquares() const pure {
return iota(en... | 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 |
CHAIN
IF WEIGHT #-9~NumTimesTalkedTo(0) AreaCheck("BG2200") Global("JoinBandtT","GLOBAL",2)~ THEN Teven TevFoundSan
~ Guessed you outsmarted me, didn't you, Sandrah? ~
DO~ SetGlobal("JoinBandtT","GLOBAL",3)~
==CVSandrJ ~ Hello, old friend. Do you wish to follow the path that your former bosses already have paved for yo... | D |
module android.java.android.webkit.JavascriptInterface_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 JavascriptInterface : IJavaObjec... | D |
module served.protoext;
import served.protocol;
import painlessjson;
import std.json;
struct AddImportParams
{
TextDocumentIdentifier textDocument;
string name;
int location;
bool insertOutermost = true;
}
struct SortImportsParams
{
TextDocumentIdentifier textDocument;
int location;
}
struct ImplementMethods... | D |
instance DIA_Ruga_EXIT(C_Info)
{
npc = MIL_317_Ruga;
nr = 999;
condition = DIA_Ruga_EXIT_Condition;
information = DIA_Ruga_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Ruga_EXIT_Condition()
{
return TRUE;
};
func void DIA_Ruga_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance... | D |
// Copyright © 2012, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
module miners.ion.runner;
import std.file : read;
import charge.charge;
import miners.world;
import miners.runner;
import miners.viewer;
import miners.options;
import miners.interfaces;
import m... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/SQLite.build/Codable/SQLiteDataDecoder.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlit... | D |
import * as path from 'path';
import * as Mocha from 'mocha';
import * as glob from 'glob';
export function run(): Promise<void> {
// Create the mocha test
const mocha = new Mocha({
ui: 'tdd',
});
mocha.useColors(true);
const testsRoot = path.resolve(__dirname, '..');
return new Promise((c, e) => {
glob('*... | D |
/Users/pathughes/projects/name_game/target/debug/deps/test1-9cb23b00387540b6.rmeta: src/main.rs
/Users/pathughes/projects/name_game/target/debug/deps/test1-9cb23b00387540b6.d: src/main.rs
src/main.rs:
| D |
/media/sf_folder/rust/mouse/target/debug/deps/vec_map-29d3a771b39b2a07.rmeta: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs
/media/sf_folder/rust/mouse/target/debug/deps/libvec_map-29d3a771b39b2a07.rlib: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.2/src/lib.rs
/m... | D |
func void ZS_ArenaFight ()
{
//PrintDebugNpc(PD_TA_FRAME,"ZS_ArenaFight");
B_SetPerception(self);
AI_SetWalkmode (self,NPC_WALK);
AI_GotoWP (self,self.wp);
AI_AlignToWP (self);
};
func void ZS_ArenaFight_Loop ()
{
//PrintDebugNpc(PD_TA_LOOP,"ZS_ArenaFight_Loop");
};
func void ZS_ArenaFight_End ()
{
//... | D |
/Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/LockOwnerType.o : /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/mli/Desktop/Develope/Swift/RxSwiftDemo20190402/... | D |
// Written in the D programming language.
/**
* $(RED Deprecated: This module is considered out-dated and not up to Phobos'
* current standards.)
*
* The std.cstream module bridges core.stdc.stdio (or std.stdio) and std.stream.
* Both core.stdc.stdio and std.stream are publicly imported by std.cstream.
*
... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.