code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
// Written in the D programming language.
/* md5.d - RSA Data Security, Inc., MD5 message-digest algorithm
* Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm.
*/
/**
* $(RED Scheduled for deprecation. Please use std.digest.md instead.)
*
* Computes MD5 digests of arbitrary data. MD5 digests ... | D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/HTTP.build/Responder/HTTPServer.swift.o : /Users/mu/Hello/.build/checkouts/http/Sources/HTTP/Utilities/RFC1123.swift /Users/mu/Hello/.build/checkouts/http/Sources/HTTP/Message/URL+HTTP.swift /Users/mu/Hello/.build/checkouts/http/Sources/HTTP/Utilities/HTTPHeaders+Basic.s... | D |
/**
Copyright: Copyright (c) 2014 Andrey Penechko.
License: a$(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
Some code is based on msgpack-d by Masahiro Nakagawa.
Concise Binary Object Representation (CBOR) for D lang.
The Concise Binary Object Representation (CBOR) is a data format
wh... | D |
a barrier constructed to contain the flow of water or to keep out the sea
a metric unit of length equal to ten meters
female parent of an animal especially domestic livestock
obstruct with, or as if with, a dam
| D |
/*
* Copyright Andrej Mitrovic 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 engine.model_indexer;
/**
Contains a converter from a Model to an IndexedModel.
... | D |
//T compiles:yes
//T has-passed:no
//T retval:30
//T dependency:test0037_import1.d
import test0037_import1;
alias Integer = int;
alias SS = test0037_import1.S;
alias bar = foo;
alias bas = bar;
int bazoooooooom() {
return 2;
}
Integer main() {
SS s;
s.i = 30;
bas(&s.i);
return s;
}
| D |
// D import file generated from 'derelict\sfml\wfuncs.d'
module derelict.sfml.wfuncs;
private
{
import derelict.util.compat;
import derelict.sfml.config;
import derelict.sfml.wtypes;
}
extern (C)
{
alias sfContext* function() da_sfContext_Create;
alias void function(sfContext*) da_sfContext_Destro... | D |
import std.stdio;
import std.conv;
bool IsPalindrom(string s) {
for (auto i = 0, j = s.length - 1; i < j; ++i, --j)
if (s[i] != s[j])
return false;
return true;
}
string ToBinary(uint num) {
auto mask = 1;
while (mask <= num)
mask <<= 1;
mask >>= 1;
string result = "";
while (mask > 0) {
if ((num & ma... | D |
// PERMUTE_ARGS:
import std.c.stdio;
import core.bitop;
/*****************************************************/
void test1()
{
size_t array[2];
uint x;
version (D_LP64)
size_t bitToUse = 67;
else
size_t bitToUse = 35;
array[0] = 2;
array[1] = 0x100;
printf("array = [0]:x%x, [1]:x%x\n"... | D |
#!/usr/bin/env rdmd
module first;
import std.stdio;
import std.string;
import std.algorithm;
import std.conv;
import std.algorithm : canFind;
int twos(char[] line) {
uint s = 0;
sort(line.representation);
int i =0 ;
while(i < line.length) {
if (line[i+1..$].canFind(i)) {
s += ... | D |
/**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
module ShopService;
import thrift.base;
import thrift.codegen.base;
import thrift.util.hashset;
import line_types;
interface ShopService {
void buyCoinProduct(ref const(Payment... | D |
/*
* Copyright (c) 2004-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 |
/home/teng/CLionProjects/linux_design/ex/grpc_ex/target/debug/deps/getrandom-c3982120e5f5b066.rmeta: /home/teng/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/getrandom-0.1.14/src/lib.rs /home/teng/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/getrandom-0.1.14/src/error.rs /home/teng/.cargo/registr... | D |
/Users/prajaktakulkarni/Documents/Casper/Build/Intermediates/Pods.build/Debug-iphonesimulator/Eureka.build/Objects-normal/x86_64/RuleRegExp.o : /Users/prajaktakulkarni/Documents/Casper/Pods/Eureka/Source/Rows/ActionSheetRow.swift /Users/prajaktakulkarni/Documents/Casper/Pods/Eureka/Source/Rows/AlertRow.swift /Users/pra... | D |
import std.stdio;
import std.traits;
import std.string;
import fluent.asserts;
int main()
{
pragma(msg, "base classes:", BaseTypeTuple!TestException);
try {
"a".should.equal("b");
} catch (TestException e) {
e.msg.writeln;
return e.msg.indexOf("Diff:") != -1;
}
return 1;
}
| D |
module org.serviio.upnp.service.contentdirectory.InvalidBrowseFlagException;
import java.lang.RuntimeException;
import java.lang.String;
public class InvalidBrowseFlagException : RuntimeException
{
private static const long serialVersionUID = 4548915322234063569L;
public this()
{
}
public this(S... | D |
module imagetovec;
import std.stdio;
import std.string;
import std.conv : to;
import std.algorithm;
import std.range;
import std.array : array;
import std.math;
import imageformats;
public import imagetovec.type;
import imagetovec.imageprocessing;
import imagetovec.imagetrace;
import imagetovec.pathprocessing;
ubyt... | D |
the syllable naming the fourth (subdominant) note of the diatonic scale in solmization
| D |
module colonies.Industry;
import colonies;
import std.math;
abstract class Industry {
ulong employees;
/++
Returns the number of extra employees the industry desires to fulfill the market
+/
long getExpandability();
}
class Education {
private immutable float higherEducationPercentage = .3f; //30% of the... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/Node.build/StructuredDataWrapper/StructuredDataWrapper+Literals.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData.swift /Users/Alei... | D |
/Users/lidiomarfernandomachado/dev/swift/f1Project/DerivedData/f1Project/Build/Intermediates.noindex/f1Project.build/Debug-iphonesimulator/f1Project.build/Objects-normal/x86_64/DriverStandingsPresenter.o : /Users/lidiomarfernandomachado/dev/swift/f1Project/f1Project/AppDelegate.swift /Users/lidiomarfernandomachado/dev/... | D |
/*******************************************************************************
* Copyright (c) 2000, 2007 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 |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Fluent.build/QueryBuilder/QueryBuilder.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/panartem/Developer/Study/Microservices-vapo... | D |
instance Grd_2544_PatrolGRD (Npc_Default)
{
//-------- primary data --------
name = "Strażnik";
npctype = npctype_main;
guild = GIL_GRD;
level = 20;
voice = 3;
id = 2544;
//-------- abilities --------
attribute[ATR_STRENGTH] = 88;
attribute[ATR_DEXTERITY] = 80;
attribute[ATR_MANA_MAX] ... | D |
instance GRD_262_Aaron_Exit(C_Info)
{
npc = GRD_262_Aaron;
nr = 999;
condition = GRD_262_Aaron_Exit_Condition;
information = GRD_262_Aaron_Exit_Info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
func int GRD_262_Aaron_Exit_Condition()
{
return 1;
};
func void GRD_262_Aaron_Exit_Info()
{
AI_Sto... | D |
/*
* Copyright (c) 2004-2009 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 |
module gameengine.controller;
public import gameengine.model, gameengine.view;
import derelict.sdl.sdl;
abstract class Controller
{
public:
void onKeyDown(SDLKey key);
void onKeyUp(SDLKey key);
} | D |
///* Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
... | D |
/Users/RyanLiao/Desktop/XCodeWorkspace/Flix/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionManager.o : /Users/RyanLiao/Desktop/XCodeWorkspace/Flix/Pods/Alamofire/Source/MultipartFormData.swift /Users/RyanLiao/Desktop/XCodeWorkspace/Flix/Pods/Alamofire/Source/Ti... | D |
@property int foo()(){ return 2; }
alias foo bar;
//pragma(msg, foo," ",bar);
struct S{
int foo(){ return 2; }
}
pragma(msg, S.foo()); // error | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/SQLite.build/Row/SQLiteDataConvertible.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 |
// Written in the D programming language.
/**
* Compress/decompress data using the $(HTTP www._zlib.net, _zlib library).
*
* Examples:
*
* If you have a small buffer you can use $(LREF compress) and
* $(LREF uncompress) directly.
*
* -------
* import std.zlib;
*
* auto src =
* "the quick brown fox jumps ov... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto A = scan!int;
auto B = scan!int;
auto C = scan!int;
auto D = scan!int;
auto solve() {
const minBC = max(0, max(B, C) - 1);
B -= minBC;
C -= minBC;
[A, B, C, D].deb;
if (min(B, C) < 0) return YESNO[false];
if (m... | D |
module maths.camera.camera2d;
/**
* Assumes you are using OpenGL.
* Call vulkanMode() if you want to use Vulkan.
* It has inverted Y axis and the clip space is 1/2*Z.
*
* https://matthewwellings.com/blog/the-new-vulkan-coordinate-system/
*/
import maths.all;
final class Camera2D {
private:
enum Mode { GL... | D |
module bench_;
import std.stdio;
import vcpu.core, os.term, vdos.os, vdos.video;
import std.datetime.stopwatch : StopWatch;
import core.time, std.conv;
private enum RUNS = 60;
unittest {
con_init;
CPU.cpuinit;
vdos_init;
Clear;
StopWatch sw;
Duration r_once, r_multiple;
VIDEO[0].ascii = 'H';
VIDEO[1].asci... | D |
E: c27, c191, c309, c148, c196, c366, c292, c301, c56, c367, c298, c233, c480, c420, c262, c155, c311, c19, c349, c98, c7, c404, c356, c145, c37, c389, c218, c151, c413, c94, c303, c390, c286, c453, c8, c40, c17, c341, c407, c455, c362, c81, c99, c242, c164, c234, c121, c108, c279, c320, c275, c67, c265, c241, c308, c3... | D |
// PERMUTE_ARGS:
/*
TEST_OUTPUT:
---
compilable/test70.d(14): Deprecation: implicit overload merging with selective/renamed import is now removed.
---
*/
import imports.test70 : foo;
void foo(int) {}
// selective import does not create local alias implicitly
void bar()
{
foo();
foo(1);
}
| D |
instance PAL_270_Ritter (Npc_Default)
{
// ------ NSC ------
name = NAME_RITTER;
guild = GIL_PAL;
id = 270;
voice = 6;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_OCMAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt Attrib... | D |
module prova.attachables.colliders.collider2d;
import prova;
package(prova) enum Shape { POINT, RECTANGLE, CIRCLE }
///
abstract class Collider2D
{
///
Vector2 offset;
package(prova) LinkedList!(Collider2D) collisions;
package(prova) LinkedList!(Collider2D) previousCollisions;
package(prova) SpacialMap2D s... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Vapor.build/Multipart/Request+FormData.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/Sources/Vapor/JSON/HTTP/Message+JSON.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-556771972... | D |
func int Spell_Logic_Charm(var int manaInvested)
{
PrintDebugNpc(PD_MAGIC,"Spell_Logic_Charm");
if(manaInvested >= SPL_SENDCAST_CHARM)
{
Npc_SendSinglePerc(self,other,PERC_ASSESSMAGIC);
return SPL_SENDCAST;
};
return SPL_RECEIVEINVEST;
};
| D |
module sys.win32.SpecialPath;
enum ПОсобыйПуть
{
РабСтол = 0,
Интернет,
Программы,
Контролы,
Принтеры,
Личное,
Избраное,
Пуск,
Недавнее,
Почта,
Битбакет,
МенюПуск, // = 11
ПапкаРабСтола = 16,
Диски,
Сеть,
Окружение,
Шрифты,
Ш... | D |
module drocks.response;
import std.conv : to;
import std.algorithm : map;
import drocks.sockhandler : SockHandler;
import drocks.exception : ClientException;
import drocks.pair : Pair;
import drocks.multivalue;
struct Response
{
private:
SockHandler _sock;
public:
this(SockHandler soc... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Robert Klotzner 2012
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Robert Klotzner
* Standards: The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition
*/
module core.sys.posix.sys.statvfs;
private imp... | D |
/**
This module contains support for controlling dynamic arrays' capacity and length
Copyright: Copyright Digital Mars 2000 - 2019.
License: Distributed under the
$(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
(See accompanying file LICENSE)
Source: $(DRUNTIMESRC core/int... | D |
sheet glass cut in shapes for windows or doors
a panel or section of panels in a wall or door
street name for lysergic acid diethylamide
| D |
# FIXED
DSP2833x_DMA.obj: C:/ti/c2000/C2000Ware_2_00_00_02/device_support/f2833x/common/source/DSP2833x_DMA.c
DSP2833x_DMA.obj: C:/ti/c2000/C2000Ware_2_00_00_02/device_support/f2833x/headers/include/DSP2833x_Device.h
DSP2833x_DMA.obj: C:/ti/c2000/C2000Ware_2_00_00_02/device_support/f2833x/headers/include/DSP2833x_... | D |
/**
A simple priority queue module.
*/
module dranges.priorityqueue;
import std.typecons;
import std.conv;
import std.contracts;
import dranges.binaryheap;
/**
Thin wrapper around a BinaryHeap!(predicate, Tuple!(Priority, Value)).
Otherwise acts as a bona fide priority queue: you enter value/priority pa... | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Validation.build/ValidatorType.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/validation.git-2977145303676801164/Sources/Validation/Validatable.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/validation.git-297714530367... | D |
/home/otso/Development/Projects/rukatas/find_smallest_int_in_array_8_020320/target/debug/deps/find_smallest_int_in_array_8_020320-72b3506afb55b6f9: src/main.rs
/home/otso/Development/Projects/rukatas/find_smallest_int_in_array_8_020320/target/debug/deps/find_smallest_int_in_array_8_020320-72b3506afb55b6f9.d: src/main.... | D |
/Users/mac/Desktop/23March/BEKApp-master/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/DispatchQueue+Alamofire.o : /Users/mac/Desktop/23March/BEKApp-master/Pods/Alamofire/Source/MultipartFormData.swift /Users/mac/Desktop/23March/BEKApp-master/Pods/Alamofire/Source/Timeline.swift /Users/ma... | D |
/Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/Bit.o : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /User... | D |
/home/asaikia/Downloads/learn_rust/variables/target/debug/deps/variables-cef2647b24a2e224: src/main.rs
/home/asaikia/Downloads/learn_rust/variables/target/debug/deps/variables-cef2647b24a2e224.d: src/main.rs
src/main.rs:
| D |
The founding euro countries are Belgium, Germany, Spain, France, Ireland, Italy, Luxembourg, the Netherlands, Austria, Portugal and Finland.
The euro becomes a currency on January 1, 1999 for cashless trading.
Mass printing of euro notes begins in 1999.
They become legal tender on January 1, 2002.
Signs of the euro's a... | 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 PAL_215_RITTER(NPC_DEFAULT)
{
name[0] = NAME_RITTER;
guild = GIL_PAL;
id = 215;
voice = 12;
flags = 0;
npctype = NPCTYPE_AMBIENT;
b_setattributestochapter(self,4);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,itmw_2h_pal_sword);
b_createambientinv(self);
b_setnpcvisual(self,MALE,"Hum_Head_FatBal... | D |
/Users/Polina/XcodeApp/diplom_prj/CoreML_test/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Skip.o : /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Use... | D |
/*
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,
execute, and transmit the Software, a... | 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, std.bitmanip;
void main() {
auto N = readln.chomp.to!int;
auto L = new long[](N);
auto R = new long[](N);
foreach (i; 0..N) ... | D |
/Users/GMoran/Desktop/ClassicPlayer/DerivedData/ClassicPlayer/Build/Intermediates/ClassicPlayer.build/Debug-iphoneos/ClassicPlayer.build/Objects-normal/armv7/SettingsVC.o : /Users/GMoran/Desktop/ClassicPlayer/ClassicPlayer/NowPlayingVC.swift /Users/GMoran/Desktop/ClassicPlayer/ClassicPlayer/AboutScreenVC.swift /Users/G... | D |
///////////////////////////////////////////////////////////////////////
// Info EXIT
///////////////////////////////////////////////////////////////////////
INSTANCE DIA_Hyglas_Kap1_EXIT (C_INFO)
{
npc = KDF_510_Hyglas;
nr = 999;
condition = DIA_Hyglas_Kap1_EXIT_Condition;
information = DIA_Hy... | D |
/home/rabeet/Documents/Github/Basic Rust/_Structs_/target/rls/debug/deps/_Structs_-267fa06b61c9ff94.rmeta: src/main.rs
/home/rabeet/Documents/Github/Basic Rust/_Structs_/target/rls/debug/deps/_Structs_-267fa06b61c9ff94.d: src/main.rs
src/main.rs:
| D |
/*******************************************************************************
* Copyright (c) 2006 Tom Schindl 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, and is avail... | D |
module drc.SourceText;
import drc.Converter;
import drc.Diagnostics;
import drc.Messages;
import common;
import io.File,
io.FilePath;
/// Представляет исходный код Динрус.
///
/// Исходный текст может поступать из файла или буфера памяти.
final class ИсходныйТекст
{
/// Файловый путь к исходному тексту... | D |
module user.controller.user;
import user;
class UserController : UserControllerPrototype{
//private ForgotPasswordController _forgot_password = null;
private IndexController _index = null;
//private LoginController _login = null;
//private LogoutController _logout = null;
//private ProfileContro... | D |
/*******************************************************************************
* Copyright (c) 2007, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | D |
<?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_All_BeT-651141... | D |
/*
This file is part of BioD.
Copyright (C) 2012-2016 Artem Tarasov <lomereiter@gmail.com>
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 wit... | 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 |
instance Mod_1926_BDT_Esteban_NW (Npc_Default)
{
// ------ NSC ------
name = "Esteban";
guild = GIL_OUT;
id = 1926;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
//------- AIVAR -------
// ------ Attribute ------
B_SetAttributesToChapter (self, 3);
// ------ Kampf-Taktik ------
fight_... | 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_compilation/... | D |
instance VLK_528_BUDDLER(NPC_DEFAULT)
{
name[0] = NAME_BUDDLER;
npctype = NPCTYPE_AMBIENT;
guild = GIL_VLK;
level = 2;
voice = 1;
id = 528;
attribute[ATR_STRENGTH] = 13;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 64;
attribute[ATR_HIT... | D |
/* Digital Mars DMDScript source code.
* Copyright (c) 2000-2002 by Chromium Communications
* D version Copyright (c) 2004-2010 by Digital Mars
* 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)
* written by Walter ... | D |
module dgeom.scalefactor;
class ScaleFactor(T) if ( __traits(isArithmetic, T) )
{
T x;
this(T _x)
{
x = _x;
}
T get()
{
return x;
}
typeof(this) inv()
{
return new ScaleFactor(1 / get);
}
typeof(this) opBinary(string op : "+")(typeof(this) other)... | D |
/home/pi/dev/huePI/ledtest/target/debug/deps/structopt-8b7379078f7218ef.rmeta: /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/structopt-0.2.18/src/lib.rs
/home/pi/dev/huePI/ledtest/target/debug/deps/libstructopt-8b7379078f7218ef.rlib: /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/structopt-0.2.18/... | D |
import std.file;
void main()
{
remove("dirfoo");
}
| D |
informal terms for a meal
take in solid food
eat a meal
take in food
worry or cause anxiety in a persistent way
use up (resources or materials
cause to deteriorate due to the action of water, air, or an acid
| D |
module krepel.event;
import krepel.krepel;
import krepel.memory;
import krepel.container.array;
struct Event(ArgTypes...)
{
alias ListenerType = void delegate(ArgTypes);
Array!ListenerType Listeners;
this(IAllocator Allocator)
{
this.Allocator = Allocator;
}
@property void Allocator(IAllocator NewA... | D |
/***********************************************************************\
* comcat.d *
* *
* Windows API header module *
* ... | D |
///* Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
... | D |
/*
* 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... | D |
/+
+ Copyright (c) Charles Petzold, 1998.
+ Ported to the D Programming Language by Andrej Mitrovic, 2011.
+/
module PopPad3;
import core.memory;
import core.runtime;
import core.thread;
import std.conv;
import std.math;
import std.range;
import std.string;
import std.utf;
auto toUTF16z(S)(S s)
{
return toUTF... | D |
/Users/anton/Desktop/WeatherApp/DerivedData/WeatherApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Timeline.o : /Users/anton/Desktop/WeatherApp/Pods/Alamofire/Source/MultipartFormData.swift /Users/anton/Desktop/WeatherApp/Pods/Alamofire/Source/Timeline.swift /Users... | D |
a person who dissents from some established policy
characterized by departure from accepted beliefs or standards
disagreeing, especially with a majority
| D |
instance DIA_Morgahard_EXIT(C_Info)
{
npc = BDT_1030_Morgahard;
nr = 999;
condition = DIA_Morgahard_EXIT_Condition;
information = DIA_Morgahard_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Morgahard_EXIT_Condition()
{
return TRUE;
};
func void DIA_Morgahard_EXIT_Info()
{
AI_StopPr... | D |
module linkservice.utils.crypto;
import std.algorithm, std.array, std.stdio, std.format, std.string, std.base64;
import std.digest.sha;
import sodium;
import linkservice.common;
// Return values used by the sodium/argon2i functions to signify success/failure
const int SODIUM_INIT_FAILURE = -1;
const int CRYPTO_PWHASH... | D |
import reggae;
enum debugFlags = ["-w", "-g", "-debug", "-version=Have_automem"];
alias lib = dubConfigurationTarget!(
Configuration("library"),
CompilerFlags(debugFlags),
LinkerFlags(),
No.main,
CompilationMode.package_,
);
alias testObjs = dlangObjectsPerModule!(
Sources!"tests",
Compi... | D |
module nxt.casing;
import std.traits : isSomeString;
version(unittest)
{
import std.algorithm : equal;
}
/** Convert string $(S s) to lower-case.
*
* String must contain ASCII characters only.
*/
auto toLowerASCII(S)(S s)
if (isSomeString!S)
{
import std.algorithm.iteration : map;
import std.ascii : t... | D |
REPLACE_ACTION_TEXT ~%tutu_var%DELTAN~
~ActionOverride(Player1,LeaveAreaLUAPanic("%Candlekeep_Ch6%","",\[4714.2930\],12))~
~~
REPLACE_ACTION_TEXT ~%tutu_var%DELTAN~
~ActionOverride(Player1,LeaveAreaLUA("%Candlekeep_Ch6%","",\[4714.2930\],12))~
~~
REPLACE_ACTION_TEXT ~%tutu_var%DELTAN~
~ActionOverride(Player2,Lea... | 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.
*/
class Scheduler {
private Calendar calendar;
// All parameters will autmatically be ass... | D |
// This assumes the input graph as undirected and connected.
class DfsTree {
import std.algorithm : any, map, min, swap;
import std.conv : to;
import std.typecons : Tuple, tuple;
int n;
int[] ord;
int[] low;
int[] parent;
int[][] graph;
this(const int[][] graph, int root = 0) {
... | D |
someone employed in a stable to take care of the horses
| D |
/*******************************************************************************
* Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, a... | D |
/**
* Copyright: Enalye
* License: Zlib
* Authors: Enalye
*/
module magia.render.animation;
import std.conv;
import bindbc.sdl, bindbc.sdl.image;
import magia.common;
import magia.core;
import magia.render.window, magia.render.texture;
import magia.render.tileset, magia.render.sprite;
/// Series of animation ... | D |
/**
Win32 driver implementation using I/O completion ports
Copyright: © 2012 Sönke Ludwig
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.win32;
import vibe.core.driver;
import vibe.core.log;
import vibe.inet.url;
im... | D |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | D |
module imports.imp12242b1;
// std.string.strip
int stripB(C)(C[] str) @safe pure
if (is(immutable C == immutable char))
{
return 1;
}
| D |
instance BAU_918_Bauer (Npc_Default)
{
// ------ NSC ------
name = NAME_BAUER;
guild = GIL_BAU;
id = 918;
voice = 7;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_AMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1); //setzt Attribu... | D |
/*******************************************************************************
* Copyright (c) 2000, 2004 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.