code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/*
TEST_OUTPUT
---
fail_compilation/diag9420.d(21): Error: function diag9420.S.t3!().tx () is not callable using argument types (int)
fail_compilation/diag9420.d(21): Error: expected 0 arguments, not 1 for non-variadic function type pure nothrow @safe void()
---
*/
mixin template Mixin() { }
struct S
{
template t3... | D |
instance DIA_Addon_Ramon_EXIT(C_Info)
{
npc = BDT_1071_Addon_Ramon;
nr = 999;
condition = DIA_Addon_Ramon_EXIT_Condition;
information = DIA_Addon_Ramon_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Ramon_EXIT_Condition()
{
return TRUE;
};
func void DIA_Addon_Ramon_EXIT_Info()
... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/TemplateKit.build/Tag/Raw.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/temp... | D |
/*
* Copyright (c) 2004-2008 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | D |
#!/usr/bin/rdmd
import std.stdio;
import std.string;
import std.datetime;
import pack.second;
int incTwice(int a)
{
int inc(int b)
{
return ++b;
}
return inc(inc(a));
}
T[] mapInc(T)(T[] arr)
{
auto res = new T[arr.length];
foreach(i, item; arr)
res[i] = item+1;
return res;
}
class A
{
this(string s) { t... | D |
module fallentos;
import std.stdio;
import std.regexp;
import std.file;
import std.string:atoi;
import std.string:join;
import alogprocessor;
class FallenTos : public ALogProcessor
{
protected:
RegExp refallen;
int[char[]] FallenTos;
public:
this()
{
refallen = RegExp("^" ~ reTimestamp ~ "Du ... | D |
the common people generally
the property of a body that causes it to have weight in a gravitational field
(often followed by `of') a large number or amount or extent
an ill-structured collection of similar things (objects or people)
(Roman Catholic Church and Protestant Churches) the celebration of the Eucharist
a body... | D |
/**
Import all indicators.
*/
module crypto.exchanges.indicators;
public import crypto.exchanges.indicators.rsi;
public import crypto.exchanges.indicators.sma;
public import crypto.exchanges.indicators.smma;
| D |
const int SPL_COST_Deathball = 35;
const int SPL_DAMAGE_Deathball = 165;
instance Spell_Deathball(C_Spell_Proto)
{
time_per_mana = 0;
damage_per_level = SPL_DAMAGE_Deathball;
// изменить тип если нужно
damagetype = DAM_MAGIC;
// damagetype = DAM_FIRE;
};
func int Spell_Logic_Deathball(var int manaInvested)
... | D |
/*
This file is part of BioD.
Copyright (C) 2013 Artem Tarasov <lomereiter@gmail.com>
Copyright (C) 2018 Pjotr Prins <pjotr.prins@thebird.nl>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
... | D |
# FIXED
grlib/msp-exp432p401r_grlib_example/fonts/fontcmss36.obj: ../grlib/msp-exp432p401r_grlib_example/fonts/fontcmss36.c
../grlib/msp-exp432p401r_grlib_example/fonts/fontcmss36.c:
| D |
/*
This file is part of Sambamba.
Copyright (C) 2017 Pjotr Prins <pjotr.prins@thebird.nl>
Sambamba 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 2 of the License,
or (at y... | D |
// URL: https://atcoder.jp/contests/abc097/tasks/abc097_a
import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string;
auto rdsp(){return readln.splitter;}
void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;}
void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2018 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, Bo... | 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 src/core/sys/windows/_accctrl.d)
*/
module core.sys.windows.accctrl;
version (Windows):
version (ANSI) {} els... | D |
.hd ptoc "convert packed string to EOS-terminated string" 03/23/80
integer function ptoc (pstr, term, str, len)
packed_char pstr (ARB)
integer len
character term, str (len)
.sp
Library: vswtlb (standard Subsystem library)
.fs
'Ptoc' is used to convert packed character strings (e.g., Fortran
Hollerith literals) into th... | D |
raise
being or moving higher in position or greater in some value
out of bed
getting higher or more vigorous
extending or moving toward a higher place
(usually followed by `on' or `for') in readiness
open
(used of computers) operating properly
used up
spatially or metaphorically from a lower to a higher position
to a h... | D |
E: c34, c110, c79, c56, c51, c94, c85, c10, c18, c2, c101, c27, c114, c76, c43, c72, c37, c17, c12, c67, c100, c36, c109, c54, c107, c80, c108, c116, c41, c84, c26, c60, c8, c44, c74, c35, c42, c14, c49, c96, c23, c112, c22, c88, c82, c39, c59, c16, c111, c65, c21, c45, c77, c31.
p8(E,E)
c34,c110
c51,c94
c85,c94
c85,c... | D |
module gfm.core.queue;
import std.range;
// what to do when capacity is exceeded?
private enum OverflowPolicy
{
GROW,
CRASH,
DROP
}
/**
Doubly-indexed queue, can be used as a FIFO or stack.
Bugs:
Doesn't call struct destructors.
*/
final class QueueImpl(T, OverflowPolicy overflowPo... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/App.build/app.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/configure.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/Models/UserToken.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/Aut... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved
//
// License for redistribution is given by the Artistic License 2.0
// see file LICENSE for further details
module stdext.com;
//versi... | D |
/**
* Copyright: © 2014 Anton Gushcha
* License: Subject to the terms of the MIT license, as written in the included LICENSE file.
* Authors: NCrashed <ncrashed@gmail.com>
*/
module evol.operators.idcast;
import std.stdio;
import devol.typemng;
public
{
import devol.individ;
import devol.world;
im... | D |
/*
* Copyright (C) 2010 Google Inc.
*
* 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 ... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.build/Codable/URLEncodedFormDecoder.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/url-encoded-form.git--7962792991753699495/Sources/URLEncodedForm/Data/URLEncodedFormData.swift /Users/lb/Documents/Project/Lea... | D |
module android.java.android.database.sqlite.SQLiteOpenHelper;
public import android.java.android.database.sqlite.SQLiteOpenHelper_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SQLiteOpenHelper;
import import4 = android.java.android.database.sqlite.SQLiteDatabase;
import import5 = android.jav... | D |
INSTANCE KDF_505_Marduk (Npc_Default)
{
// ------ NSC ------
name = "Marduk";
guild = GIL_KDF;
id = 505;
voice = 5;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 6);
// ------ Kampf-Taktik ------
fight_tactic... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag9861.d(8): Error: no property `epsilon` for type `int`
fail_compilation/diag9861.d(9): while looking for match for `Foo!int`
---
*/
struct Foo(T, real x = T.epsilon) {}
Foo!(int) q;
| D |
Long: version
Short: V
Help: Show version number and quit
Category: important curl
Example: --version
Added: 4.0
See-also: help manual
---
Displays information about curl and the libcurl version it uses.
The first line includes the full version of curl, libcurl and other 3rd party
libraries linked with the ... | D |
instance SLD_802_Buster(Npc_Default)
{
name[0] = "Buster";
guild = GIL_SLD;
id = 802;
voice = 13;
flags = 0;
npcType = npctype_main;
aivar[AIV_IgnoresArmor] = TRUE;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_NORMAL;
EquipItem(self,ItMw_1h_Sld_Axe);
EquipItem(self,ItRw_Sld_Bow);
CreateInvIte... | D |
//*NS - 18/06/13
// один из охранников у входа в ратушу
instance PIR_220_DS2P_Guard(Npc_Default)
{
name[0] = "Охранник";
guild = GIL_PIR;
id = 220;
voice = 13;
flags = NPC_FLAG_IMMORTAL;
npcType = npctype_pir_main;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_Addon_PIR... | D |
/**
* Defines the `Dsymbol` representing a `static assert()`.
*
* Specification: $(LINK2 https://dlang.org/spec/version.html#static-assert, Static Assert)
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
... | D |
obj_xwr14xx/framework_ipc_local.oer4f: C:/ti/mmwave_sdk_02_01_00_04/packages/ti/drivers/test/common/framework_ipc_local.c
obj_xwr14xx/framework_ipc_local.oer4f: C:/ti/ti-cgt-arm_16.9.6.LTS/include/stdint.h
obj_xwr14xx/framework_ipc_local.oer4f: C:/ti/ti-cgt-arm_16.9.6.LTS/include/stdlib.h
obj_xwr14xx/framework_ipc_l... | D |
class Goone
{
void AddCow(Cow cow) {
cow.Method1();
}
}
int main() {
Cow a;
Pishi p;
Cow[] c;
Goone g;
c = NewArray(1, Cow);
g = new Goone;
a = new Cow;
a.Init(24);
a.Method2();
p = new Pishi;
p.Init(33);
a = p;
a.Method2();
p.Method2();
p.Method3();
g.AddCow(a);
g.AddC... | 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 |
/* The MIT License
Copyright (C) 2015, 2018 Genome Research Ltd.
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... | D |
instance DIA_ADDON_PATRICK_NW_EXIT(C_INFO)
{
npc = strf_1123_addon_patrick_nw;
nr = 999;
condition = dia_addon_patrick_nw_exit_condition;
information = dia_addon_patrick_nw_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_addon_patrick_nw_exit_condition()
{
return TRUE;
};
func void di... | 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 |
module android.java.java.net.ServerSocket;
public import android.java.java.net.ServerSocket_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ServerSocket;
import import3 = android.java.java.nio.channels.ServerSocketChannel;
import import5 = android.java.java.lang.Class;
import import2 = android... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid comm... | D |
/Users/safwendebbichi/workspace/CI-Sample/Build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Result.o : /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/MultipartFormData.swift /Users/safwendebbichi/workspace/CI-Sample/Pods/Alamofire/Source/Timeline.s... | D |
a seat behind the rider of a horse or motorbike etc.
| D |
forest bird of warm regions of the New World having brilliant lustrous plumage and long tails
| D |
/Users/lukenewman/Developer/Plutonium/PlayToPay/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/LayoutConstraint.o : /Users/lukenewman/Developer/Plutonium/PlayToPay/Pods/SnapKit/Source/Constraint.swift /Users/lukenewman/Developer/Plutonium/PlayToPay/Pods/SnapKit/Source/Constrain... | D |
/Users/radibarq/developer/Chottky/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/GraphRequestConnectionDelegateBridge.o : /Users/radibarq/developer/Chottky/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/radibarq/developer/Chottky/Pods/FacebookCore/S... | D |
module android.java.android.graphics.BitmapFactory_Options;
public import android.java.android.graphics.BitmapFactory_Options_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!BitmapFactory_Options;
import import0 = android.java.java.lang.Class;
| D |
module tests.broker;
import unit_threaded;
import mqttd.broker;
import mqttd.message;
import std.algorithm;
import std.typecons;
struct TestMqttSubscriber {
alias Payload = ubyte[];
static int sIndex;
void send(in ubyte[] bytes) {
if(!index) index = ++sIndex;
import std.stdio;
wri... | D |
/******************************************************************************
Provides global test client instance used from test case to access
the node.
Copyright:
Copyright (c) 2015-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See... | D |
module dlangbot.scaleway_api;
import std.algorithm;
import std.array : array, empty, front;
import std.datetime.systime;
import std.string : format;
import vibe.core.log : logError, logInfo;
import vibe.data.json : byName, Name = name, deserializeJson, serializeToJson, Json;
import vibe.http.common : enforceHTTP, HTT... | D |
module wx.HTML;
public import wx.common;
public import wx.ScrolledWindow;
public import wx.Frame;
public import wx.Config;
public import wx.PrintData;
public import wx.MouseEvent;
//version(LDC) { pragma(ldc, "verbose") }
//class ЯчейкаКонтейнераГЯР;
//class ФильтрГЯР;
//class ТэгГЯР;
public enum ПтипУЛРГЯР
{
Ст... | D |
/*
Cockos WDL License
Copyright (C) 2005 - 2015 Cockos Incorporated
Copyright (C) 2015 - 2016 Auburn Sounds
Portions copyright other contributors, see each source file for more information
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any... | D |
-0.443612,-1.02544,-0.446728,-0.0458809
| D |
/**
Module contains color format convertion operations.
$(DL Module contains:
$(DD
$(LINK2 #rgb2gray,rgb2gray)
$(LINK2 #gray2rgb,gray2rgb)
$(LINK2 #rgb2hsv,rgb2hsv)
$(LINK2 #hsv2rgb,hsv2rgb)
$(LINK2 #rgb2yuv,rgb2yuv)
$(LINK2 #yuv2rgb,yuv2rgb... | D |
/// Generate by tools
module java.nio.charset.Charset;
import java.lang.exceptions;
public class Charset
{
public this()
{
implMissing();
}
}
| D |
module app;
import vibe.core.core;
import vibe.core.log;
import vibe.core.stream;
import vibe.stream.operations;
import vibe.stream.wrapper;
import vibe.stream.tls;
import vibe.stream.taskpipe;
import std.encoding : sanitize;
TLSContext createContext(TLSContextKind kind, string cert, string key, string trust, TLSPeer... | D |
module dbal.expression;
import dbal;
class Expression
{
string value;
}
class WhereExpression : Expression
{
string key;
string op;
string value;
this(string key , string op, string value)
{
this.key = key;
this.op = op;
this.value = value;
}
string formatKey(s... | D |
module iup.button;
import iup.canvas;
import iup.control;
import iup.core;
import iup.image;
import iup.c.core;
import iup.c.api;
import toolkit.event;
import toolkit.drawing;
import std.string;
import std.traits;
/**
*/
public interface IIupButton : IIupObject
{
}
/**
*/
public class IupButtonBase : IupStanda... | 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 distribut... | D |
instance Mod_7041_RIT_Ritter_MT (Npc_Default)
{
// ------ NSC ------
name = NAME_RITTER;
guild = GIL_PAL;
id = 7041;
voice = 4;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt... | D |
/**
Provides vibe based applications with a central program entry point.
This module is included automatically through the import 'vibe.d'. It will provide a default
application entry point which parses command line arguments, reads the global vibe configuration
file, and starts the event loop.
The application i... | D |
/Users/blaketsuzaki/Development/ClassicKit/Browser/Build/Intermediates/IBDesignables/Intermediates.noindex/Browser.build/Debug-iphonesimulator/Browser.build/Objects-normal/x86_64/CKImageView.o : /Users/blaketsuzaki/Development/ClassicKit/Components/CKTextField.swift /Users/blaketsuzaki/Development/ClassicKit/Browser/Br... | D |
/home/robin/substrate-node-template/target/release/deps/libp2p_plaintext-768f4e31b2ebf148.rmeta: /home/robin/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-plaintext-0.22.0/src/lib.rs /home/robin/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-plaintext-0.22.0/src/error.rs /home/robin/.cargo/registry/src... | D |
/home/cmd/Programming/code/rust/udemy1_vars_bits/target/debug/deps/udemy1-7b883917cebac138.rmeta: src/main.rs
/home/cmd/Programming/code/rust/udemy1_vars_bits/target/debug/deps/udemy1-7b883917cebac138.d: src/main.rs
src/main.rs:
| D |
/home/hustccc/OS_Tutorial_Summer_of_Code/zcore_test/target/debug/deps/log-d570c862333248a7.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/log-0.4.11/src/macros.rs /home/hustccc/.cargo/registry/src... | 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 |
#!/usr/bin/env rdmd
// Computes average line length for standard input.
import std.stdio;
void main() {
ulong lines = 0;
double sumLength = 0;
foreach (line; stdin.byLine()) {
++lines;
sumLength += line.length;
}
writeln("Average line length: ",
lines ? sumLength / lines : 0... | D |
/**
* Provides an implicit conversion table for basic types.
*
* Used to determine integer promotions and common types.
*
* Specification: $(LINK2 https://dlang.org/spec/type.html#integer-promotions, Integer Promotions),
* $(LINK2 https://dlang.org/spec/type.html#usual-arithmetic-conversions, Usual Arithmetic C... | D |
// Written in the D programming language
/++
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Time zones) $(TD
$(LREF TimeZone)
$(LREF UTC)
$(LREF LocalTime)
$(LREF PosixTimeZone)
$(LREF WindowsTimeZone)
$(LREF SimpleTimeZone)
))
$... | D |
# FIXED
gap.obj: C:/ti/BleToWifiGateway_1.0.0_20_oct_16/src/example/blefi/npi/gap.c
gap.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/stdio.h
gap.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/linkage.h
gap.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/stdarg.h
gap.obj: C:/ti/ccsv6/tools/c... | D |
/**
* TODO
*/
module graphics.adapters.adapter;
import core, components, graphics, utility;
import gl3n.linalg;
import derelict.opengl3.gl3;
import std.algorithm, std.array;
/**
* TODO
*/
abstract class Adapter
{
private:
GLDeviceContext _deviceContext;
GLRenderContext _renderContext;
uint _width, _scre... | D |
module gfm.opengl.matrixstack;
import gfm.math.smallvector;
import gfm.math.smallmatrix;
import gfm.common.memory;
// A matrix stack designed to replace fixed-pipeline own matrix stacks.
// Create one for GL_PROJECTION and one for GL_MODELVIEW, and there you go.
// For performance reason, no runtime check for emptyn... | 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.event.EventLoop;
import hunt.event.selector;
import hunt.io.channel.Common;
import hunt.logging.ConsoleLogger;... | D |
//***************************************************************************
// Info EXIT
//***************************************************************************
INSTANCE Info_Gorn_EXIT (C_INFO)
{
npc = PC_Fighter;
nr = 999;
condition = Info_Gorn_EXIT_Condition;
information = Info_Gorn_EXIT_Info;
imp... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/PriorityQueue.o : /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/ozgun/Desktop/IOSCase/Pods/RxSwift/RxSw... | D |
func void FF_ApplyOnceS(var func function)
{
if(!FF_Active(function))
{
FF_Apply(function);
};
};
func void PerFrameFunctions()
{
PrintDebug_S("TRIGGER7>>DayShift");
DayShift(Wld_GetDay());
};
func void PerFrame_Init()
{
PrintDebug_S("PerFrame>> Sprint_Init");
FF_ApplyOnceS(Sprint_Init);
Print... | D |
/Users/go7hic/workspace/Github/Rust-in-action/kt/target/release/build/libc-7dad24dccf1e5506/build_script_build-7dad24dccf1e5506: /Users/go7hic/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/libc-0.2.121/build.rs
/Users/go7hic/workspace/Github/Rust-in-action/kt/target/release/build/libc-7dad24dccf1e5506/build... | D |
// https://issues.dlang.org/show_bug.cgi?id=19441
struct S1
{
int a;
long b;
alias a this;
}
struct S2
{
S1 v;
alias v this;
}
void main()
{
auto x = S2(S1(1, 12345678));
assert(x.a == 1 && x.b == 12345678); // prints: 1 12345678
S1 y;
y = x;
assert(y.a == 1 && y.b == 12345678... | D |
module hunt.markdown.ext.front.matter.YamlFrontMatterExtension;
import hunt.markdown.Extension;
// import hunt.markdown.ext.front.matter.internal.YamlFrontMatterBlockParser;
import hunt.markdown.parser.Parser;
import hunt.markdown.renderer.html.HtmlRenderer;
/**
* Extension for YAML-like metadata.
* <p>
* Create i... | D |
// ****************
// ZS_Follow_Player
// ****************
func void engeltalk ()
{
if (self.guild == GIL_OUT)
{
Wld_PlayEffect ("MFX_engel_HEAVENLIGHT2", self, self, 0, 0, 0, FALSE);
B_RemoveNpc(self);
}
else
{
B_RemoveNpc(self);
};
};
FUNC void B_Engelfollow ()
{
if (Npc_GetDistToNpc(self, hero) < s... | D |
var int B_RemoveQuarhodron_OneTime;
var int B_RemoveRhademes_OneTime;
func void B_RemoveGhost()
{
if(Ghost_SCKnowsHow2GetInAdanosTempel == TRUE)
{
if((SC_SummonedAncientGhost == TRUE) && (B_RemoveQuarhodron_OneTime == FALSE))
{
AI_Teleport(NONE_ADDON_111_Quarhodron,"TOT");
B_RemoveNpc(NONE_ADDON_111_Quarh... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Branches.build/Branch.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/routing.git-5366657101075133678/Sources/Branches/Branch.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/routing.git-5366657101075133678/... | D |
// REQUIRED_ARGS: -dip25
/*
TEST_OUTPUT:
---
fail_compilation/retref2.d(21): Error: function retref2.D.foo does not override any function, did you mean to override 'retref2.C.foo'?
fail_compilation/retref2.d(22): Error: function retref2.D.bar does not override any function, did you mean to override 'retref2.C.bar'?
-... | 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 |
/**
Dynamic Variant array.
Copyright:
Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur.
Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md)
Copyright (c) 2017-2018 Godot-D contributors
License: $(LINK2 https://opensource.org/licenses/MIT, MIT License)
*/
module godot.core.array;
import god... | D |
/*
Copyright (c) 2019-2020 Timur Gafarov
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,
... | D |
/Users/kushalashok/Documents/References/github/lunchtime/DerivedData/LunchTime/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/ParameterEncoding.o : /Users/kushalashok/Documents/References/github/lunchtime/Pods/Alamofire/Source/MultipartFormData.swift /Users/kushalasho... | D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
module miners.isle.world;
import charge.charge;
import charge.math.noise;
import miners.world;
import miners.options;
import miners.builder.beta;
import miners.terrain.beta;
import miners.terrai... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2018 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, Bo... | D |
func void b_grantabsolution(var int location)
{
if((location == LOC_OLDCAMP) || (location == LOC_ALL))
{
ABSOLUTIONLEVEL_OLDCAMP = ABSOLUTIONLEVEL_OLDCAMP + 1;
PETZCOUNTER_OLDCAMP_MURDER = 0;
PETZCOUNTER_OLDCAMP_THEFT = 0;
PETZCOUNTER_OLDCAMP_ATTACK = 0;
PETZCOUNTER_OLDCAMP_SHEEPKILLER = 0;
};
if((locati... | D |
module UnrealScript.Engine.MaterialExpressionTransformPosition;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.MaterialExpression;
extern(C++) interface MaterialExpressionTransformPosition : MaterialExpression
{
public extern(D):
private static __gshared ScriptClass mStaticCla... | D |
(comparatives of `far') most remote in space or time or order
to the greatest degree or extent or most advanced stage (`furthest' is used more often than `farthest' in this abstract sense
to the greatest distance in space or time (`farthest' is used more often than `furthest' in this physical sense
| D |
void fun()
{
asm
{
int 80;
}
}
| D |
module derelict.opengl3.deprecatedConstants;
private
{
import derelict.opengl3.types;
}
enum : GLenum
{
// 1.0 & 1.1
GL_2_BYTES = 0x1407,
GL_3_BYTES = 0x1408,
GL_4_BYTES = 0x1409,
GL_QUADS ... | D |
/*
REQUIRED_ARGS: -preview=dip1000
*/
/*
TEST_OUTPUT:
---
fail_compilation/retscope6.d(6007): Error: copying `& i` into allocated memory escapes a reference to local variable `i`
---
*/
#line 6000
// https://issues.dlang.org/show_bug.cgi?id=17795
int* test() @safe
{
int i;
int*[][] arr = new int*[][](1);
... | D |
/**
* \file lzma/vli.h
* \brief Variable-length integer handling
*
* In the .xz format, most integers are encoded in a variable-length
* representation, which is sometimes called little endian base-128 encoding.
* This saves space when smaller values are more likely than bigger values.
*
* The enco... | D |
@safe
import std.string, std.conv;
const class Token {
string name;
int oldnum;
TokenFeature feature;
string str;
this(string name, int oldnum = 0, TokenFeature feature = 0, string str = "") {
this.name = name;
this.oldnum = oldnum;
this.feature = feature;
this.str = str;
}
bool opEquals(Object rhs) c... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(HTTP 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 |
module drop_target.main;
/**
The project implements IDropTarget and receives a Drag & Drop operation.
It uses an Edit control and allows dragging text into this application
from another application.
*/
import core.runtime;
import core.stdc.stdlib;
import core.stdc.string;
import std.conv;
import std.exc... | D |
/*
REQUIRED_ARGS: -de
PERMUTE_ARGS:
*/
/*
TEST_OUTPUT:
---
fail_compilation/retscope4.d(3007): Deprecation: slice of static array temporary returned by `func()` assigned to longer lived variable `a`
---
*/
#line 3000
// https://issues.dlang.org/show_bug.cgi?id=12625
int[16] func();
void foo()
{
int[] a = func(... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail3672.d(27): Error: read-modify-write operations are not allowed for `shared` variables. Use `core.atomic.atomicOp!"+="(*p, 1)` instead.
fail_compilation/fail3672.d(31): Error: read-modify-write operations are not allowed for `shared` variables. Use `core.atomic.atomicOp!"+="(*sf... | D |
import std.stdio;
import std.string;
import std.conv;
import std.algorithm: canFind;
void main() {
string[] inputs = split(readln());
string A = inputs[0];
string B = inputs[1];
string C = inputs[2];
if(A[$-1] == B[0] && B[$-1] == C[0]) "YES".writeln;
else "NO".writeln;
}
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.