code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module nxt.bitwise_rotate;
/** Rotate `x` left by `n` bits.
*
* Should compile to a single CPU instruction (ROL).
*
* TODO: `core.bitop.rol` instead.
*/
ulong rotateLeft(const scope ulong x,
const scope uint n) @safe pure nothrow @nogc
{
version(D_Coverage) {} else pragma(inline, true);
r... | D |
/*******************************************************************************
copyright: Copyright (c) 2004 Kris Bell. Все права защищены
license: BSD стиль: $(LICENSE)
version: Initial release: April 2004
author: Kris
***********************... | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/Command.build/Run/Console+Run.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-4717909685433189223/Sources/Command/Command/Command.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/console.git-471790968543318922... | 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
* distributed... | D |
// Written in the D programming language.
/**
* Support for Base64 encoding and decoding.
*
* This module provides two default implementations of Base64 encoding,
* $(LREF Base64) with a standard encoding alphabet, and a variant
* $(LREF Base64URL) that has a modified encoding alphabet designed to be
* safe for ... | D |
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Toaster.build/Objects-normal/x86_64/Toast.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/Toaster/Sources/ToastCenter.swift /Users/sunchuyue/Documents/test/RX_Product/Pods/Toaster/Sources/T... | D |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
This file is part of systemd.
Copyright 2012 Lennart Poettering
systemd 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... | D |
module dcompute.driver.cuda.program;
import dcompute.driver.cuda;
import std.string;
struct Program
{
void* raw;
Kernel!void getKernelByName(immutable(char)* name)
{
Kernel!void ret;
status = cast(Status)cuModuleGetFunction(&ret.raw,this.raw,name);
checkErrors();
retur... | 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_1_BeT-91681491... | D |
instance ORC_8560_WARRIOR(C_Npc)
{
name[0] = NAME_ORCWARRIOR;
guild = GIL_ORC;
id = 8560;
voice = 18;
level = 10;
aivar[AIV_MM_REAL_ID] = ID_ORCWARRIOR;
npcType = NPCTYPE_AMBIENT;
attribute[ATR_STRENGTH] = 100;
attribute[ATR_DEXTERITY] = 150;
attribute[ATR_HITPOINTS_MAX] = 300;
attribute[ATR_HITPOINTS] = 30... | D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/getrandom-7bb672d386e87880.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/getrandom-0.1.16/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/getrandom-0.1.16/src/error.r... | D |
/*
Written by Christopher E. Miller
$(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
*/
module core.sys.windows.winsock2;
version (Windows):
extern(Windows):
nothrow:
alias SOCKET = size_t;
alias socklen_t = int;
enum SOCKET INVALID_SOCKET = cast(SOCKET)~0;
enum int SOCKET_ERROR = -1;
enu... | D |
/*
* The MIT License (MIT)
* =====================
*
* Copyright (c) 2015 Dmitri Makarov <dmakarov@alumni.stanford.edu>
*
* 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... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
289.600006 75.1999969 1.79999995 73.1999969 11 19 -31.6000004 145.600006 9338 2.5 2.5 sediments, saprolite
294.399994 82.9000015 1.89999998 472.299988 8 23 -33.5999985 150.600006 1154 2.0999999 2.79999995 sediments
270.5 80.4000015 0 125 5 23 -32.5... | D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/Console.build/Console/Console+Confirm.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Console-1.0.2/Sources/Console/Bar/Bar.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Console-1.0.2/Sources/Console... | D |
/**
* This module contains allocation functions for the garbage collector.
*
* Copyright: Copyright (C) 2005-2006 Digital Mars, www.digitalmars.com.
* All rights reserved.
* License:
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held ... | D |
import std.stdio;
struct PrintOps {
void print(double arg) { writeln(arg); }
}
struct MathOps {
PrintOps printer;
alias printer this;
double add(double a, double b) { return a + b; }
}
void main() {
MathOps ops;
auto val = ops.add(1.0, 2.0); // Calls Mathops.add
ops.print(... | D |
/*
Copyright: Marcelo S. N. Mancini (Hipreme|MrcSnm), 2018 - 2021
License: [https://creativecommons.org/licenses/by/4.0/|CC BY-4.0 License].
Authors: Marcelo S. N. Mancini
Copyright Marcelo S. N. Mancini 2018 - 2021.
Distributed under the CC BY-4.0 License.
(See accompanying file LICENSE.txt or copy at
... | D |
module demu.tools.error;
enum ErrorCode
{
Success = 0,
Failed
}
| D |
module derelict.git2.type;
import derelict.util.system : MakeEnum;
import std.conv : octal;
extern(C) nothrow:
// attr.h
enum git_attr_t {
GIT_ATTR_UNSPECIFIED_T,
GIT_ATTR_TRUE_T,
GIT_ATTR_FALSE_T,
GIT_ATTR_VALUE_T
}
mixin(MakeEnum!git_attr_t);
enum GIT_ATTR_CHECK_FILE_THEN_INDEX = 0;
enum GIT_ATTR_CHECK_INDEX_... | D |
module aura.services.mandrill.api.messages;
import aura.data.json;
import aura.services.mandrill.structs.Message;
import aura.services.mandrill.structs.SendResult;
import aura.services.mandrill.structs.templates;
import aura.services.mandrill.client;
SendResult[] send(Client client, Message m) {
SendResult[] resul... | D |
/*
* Hunt - Hunt is a high-level D Programming Language Web framework that encourages rapid development and clean, pragmatic design. It lets you build high-performance Web applications quickly and easily.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: www.huntframework.com
*
* Licensed under the Apache... | D |
module window;
import des.app;
import des.util.logsys;
import camera;
import draw;
class MainWindow : DesWindow
{
protected:
MCamera cam;
Sphere obj;
override void prepare()
{
cam = new MCamera;
obj = newEMM!Sphere( 1, 12, 12 );
connect( draw, { obj.draw( cam ); } );
... | D |
/*
Copyright (c) 2013 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,
exe... | D |
module ws.gui.text;
import
std.utf,
std.conv,
ws.io,
ws.list,
ws.gl.gl,
ws.gl.draw,
ws.gl.font,
ws.gl.shader,
ws.gui.base;
class Text: Base {
Font font;
String text;
Shader shader;
this(){
style.bg.normal = [0, 0, 0, 0.5];
style.fg.normal = [1, 1, 1, 1];
text = new String;
shader = Shader.load... | D |
module darepl.epiphany.target;
import darepl.core.common,
darepl.core.console,
darepl.core.lexer,
darepl.core.machine,
darepl.core.parser,
darepl.core.target,
darepl.epiphany.machine,
darepl.epiphany.parser;
public final class EpiphanyTarget : Target
{
@property pu... | D |
/Users/FLORIS/Documents/Xcode/AssessmentAppAcademy/ChallengeAppAcademy/DerivedData/ChallengeAppAcademy/Build/Intermediates.noindex/ChallengeAppAcademy.build/Debug-iphonesimulator/ChallengeAppAcademy.build/Objects-normal/x86_64/Session.o : /Users/FLORIS/Documents/Xcode/AssessmentAppAcademy/ChallengeAppAcademy/ChallengeA... | D |
module dub.version_;
enum dubVersion = "v1.30.0";
| 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 |
# FIXED
Drivers/RF/RFCC26XX_singleMode.obj: C:/ti2/simplelink_cc2640r2_sdk_3_20_00_21/source/ti/drivers/rf/RFCC26XX_singleMode.c
Drivers/RF/RFCC26XX_singleMode.obj: C:/ti2/simplelink_cc2640r2_sdk_3_20_00_21/source/ti/drivers/dpl/ClockP.h
Drivers/RF/RFCC26XX_singleMode.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18... | D |
// ************************************************************
// EXIT
// ************************************************************
INSTANCE DIA_Wolf_EXIT (C_INFO)
{
npc = SLD_811_Wolf;
nr = 999;
condition = DIA_Wolf_EXIT_Condition;
information = DIA_Wolf_EXIT_Info;
permanent =... | D |
module ColorDefs;
import Math;
extern(C++):
//////////////////////////////////////////////////////////////////////
float FClamp( float X, float Min, float Max )
{
return X<Min ? Min : X<Max ? X : Max;
}
//////////////////////////////////////////////////////////////////////
struct CFColor
{
public:
float r, g, b, ... | D |
/Users/ThiagoBevi/Desktop/BitcoinTicker-iOS12-master/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionDelegate.o : /Users/ThiagoBevi/Desktop/BitcoinTicker-iOS12-master/Pods/Alamofire/Source/MultipartFormData.swift /Users/ThiagoBevi/Desktop/BitcoinTicker-iOS12-master/Pods... | D |
/**
* Data types and functions used in many places in liblzma API
*
* Source: $(BASESRC lzma_/base.d)
* Author: Lasse Collin (original liblzma author),
* Johannes Pfau (D bindings)
* License: public domain
*/
/*
* This file has been put into the public domain.
* You can do whatever you want with this ... | D |
/Users/antonioramos/CS181/tictactoe/target/rls/debug/build/bitflags-a7f170b035de5e72/build_script_build-a7f170b035de5e72: /Users/antonioramos/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.2.1/build.rs
/Users/antonioramos/CS181/tictactoe/target/rls/debug/build/bitflags-a7f170b035de5e72/build_script_build-a... | D |
import std.stdio, std.algorithm, std.range, std.conv;
struct fiblike(T) {
const(T)[] memo;
immutable size_t addNum;
this(in T[] start) nothrow @safe {
this.memo = start.dup;
this.addNum = start.length;
}
T opCall(in size_t n) nothrow @safe {
if (n >= memo.length)
... | D |
import std.parallelism;
import std.stdio;
import std.range;
void main()
{
struct numRange {
int curr = 0;
@property auto front(){ return curr;}
@property auto empty(){ return curr == 20;}
auto popFront(){curr++;}
};
numRange r;
foreach(int i; taskPool.parallel(r))
... | D |
/**
* Random number generators for internal usage.
*
* Copyright: Copyright Digital Mars 2014.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
*/
module rt.util.random;
struct Rand48
{
private ulong rng_state;
@safe @nogc nothrow:
void defaultSeed() @trusted
{
version ... | D |
module org.serviio.renderer.dao;
public import org.serviio.renderer.dao.RendererDAO;
public import org.serviio.renderer.dao.RendererDAOImpl;
| D |
instance SLD_826_Soeldner(Npc_Default)
{
name[0] = NAME_Soeldner;
guild = GIL_SLD;
id = 826;
voice = 6;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_2h_Sld_Axe);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald"... | D |
module bf_test;
import bf_parser;
bool checkNoRepeat (const RepeatedToken[] src) {
BFTokenEnum last = src[0].token;
foreach(rt;src[1 .. $]) {
if (rt.token == last) {
return false;
} else {
last = rt.token;
}
}
return true;
}
enum helloWorldBf = `
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.++... | D |
/Users/obuchiyuki/Desktop/SaftyDrive/Build/Intermediates/IBDesignables/Intermediates/SafetyDrive.build/Debug-iphonesimulator/SafetyDrive.build/Objects-normal/x86_64/AppDelegate.o : /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/MK/MKSnackbar.swift /Users/obuchiyuki/Desktop/SaftyDrive/SaftyDrive/RMMenu.swift /Users/obu... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Node.build/Fuzzy/FuzzyConverter.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/node.git-3078412886256849983/Sources/Node/StructuredData/StructuredData.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/node.git-307841288625... | D |
module ivy.types.symbol.iface.callable;
import ivy.types.symbol.iface.symbol: IIvySymbol;
interface ICallableSymbol: IIvySymbol
{
import ivy.types.symbol.dir_attr: DirAttr;
DirAttr[] attrs() @property;
DirAttr getAttr(string attrName);
} | D |
/Users/sjwu/video/HouseHold/Build/Intermediates/HouseHold.build/Debug-iphonesimulator/HouseHold.build/Objects-normal/x86_64/CreateStrategyViewController.o : /Users/sjwu/video/HouseHold/HouseHold/Core/Extension/UIImage+HH.swift /Users/sjwu/video/HouseHold/HouseHold/Classes/Topic/Model/Topic.swift /Users/sjwu/video/House... | D |
import diet.internal.html : htmlEscape, htmlAttribEscape;
import std.format : formattedWrite;
#line 1 "layout.dt"
import qv.enums; {
#line 1 "layout.dt"
}
_diet_output.put("<!DOCTYPE html><head><!--/ Blobal CSS and JS--><link rel=\"stylesheet\" href=\"/");
#line 6 "layout.dt"
_diet_output.htmlAttribEscape(AssetsURL.cs... | D |
# FIXED
Comun/Drivers/Config_CAN.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/Comun/Drivers/Config_CAN.c
Comun/Drivers/Config_CAN.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F28x_Project.h
Comun/Drivers/Config_CAN.obj: C:/Users/dagaro/workspace/Firmware_Test/... | D |
module android.java.android.net.http.X509TrustManagerExtensions_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.javax.net.ssl.X509TrustManager_d_interface;
import import2 = andr... | D |
/*******************************************************************************
Defines common types used by Agora
Copyright:
Copyright (c) 2019-2021 BOSAGORA Foundation
All rights reserved.
License:
MIT License. See LICENSE for details.
*****************************************... | D |
/*
DSFML - The Simple and Fast Multimedia Library for D
Copyright (c) 2013 - 2015 Jeremy DeHaan (dehaan.jeremiah@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 arising from the use of this software.
Permission is gran... | D |
/*******************************************************************************
copyright: Copyright (c) 2008 Jeff Davey. All rights reserved
license: BSD style: $(LICENSE)
author: Jeff Davey
standards: rfc3548, rfc2045
Since: 0.... | D |
/swift-project/.build-ubuntu/x86_64-unknown-linux/release/FileKit.build/FileKit.swift.o : /swift-project/.build-ubuntu/checkouts/FileKit.git-1898581877501902326/Sources/FileKit/FileKit.swift /swift-project/.build-ubuntu/x86_64-unknown-linux/release/LoggerAPI.swiftmodule /usr/lib/swift/linux/x86_64/Glibc.swiftmodule /us... | D |
module dcrypt.encoders.encoder;
/// This is usually thrown while decoding invalid data.
@safe
public class InvalidEncodingException : Exception {
pure this(string msg) {
super(msg);
}
}
@safe
public class Encoder {
/**
* Params:
* input = data to encode
*
* Returns:
* encoded data
*/
@safe
pub... | D |
any loose flowing garment
outerwear consisting of a long flowing garment used for official or ceremonial occasions
clothe formally
cover as if with clothing
| D |
/*
* Copyright (c) 2017-2019 sel-project
*
* 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, pu... | D |
// Written in the D programming language.
/**
* Boilerplate:
* $(std_boilerplate.html)
* Macros:
* WIKI = Phobos/StdOutbuffer
*
* Copyright: Copyright Digital Mars 2000 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: $(WEB digitalmars.com, Walte... | D |
/+
Copyright (c) 2005-2007 Eric Anderton
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, ... | D |
/**
Author: Logan Freesh
Date: 2017.1.18
Linear activation function (for outputs)
*/
module and.activation.linear;
import and.activation.model.iactivation;
import and.platform;
/**b
Linear implementation of IActivationFunction
*/
class LinearActivationFunction : IActivationFunction
{
ActivationId id(... | 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 |
/*******************************************************************************
* 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 |
/*
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 |
/*
* Copyright (c) 2004-2007 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 mach.range.sort;
public:
import mach.range.sort.issorted : issorted;
import mach.range.sort.heapsort : heapsort, eagerheapsort, lazyheapsort;
import mach.range.sort.insertionsort : insertionsort, linearinsertionsort, binaryinsertionsort, copyinsertionsort;
import mach.range.sort.mergesort : mergesort;
import m... | D |
/Users/leo/Desktop/專題_Swift直通車/xcodefile_ui/Launch/DerivedData/Launch/Build/Intermediates/Launch.build/Debug-iphonesimulator/Launch.build/Objects-normal/x86_64/ViewController.o : /Users/leo/Desktop/專題_Swift直通車/xcodefile_ui/Launch/Launch/AppDelegate.swift /Users/leo/Desktop/專題_Swift直通車/xcodefile_ui/Launch/Launch/ViewCon... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail12622.d(25): Error: `pure` function `fail12622.foo` cannot call impure function pointer `fp`
fail_compilation/fail12622.d(25): Error: `@nogc` function `fail12622.foo` cannot call non-@nogc function pointer `fp`
fail_compilation/fail12622.d(25): Error: `@safe` function `fail12622... | D |
module kernel.dev.keyboard;
import kernel.arch.x86_64.cpu;
import kernel.arch.x86_64.ioapic;
import kernel.arch.x86_64.pic;
import kernel.arch.x86_64.idt;
import kernel.arch.x86_64.lapic;
import kernel.arch.locks;
import kernel.environment.scheduler;
import kernel.dev.vga;
import kernel.core.error;
import config;... | D |
#!/usr/bin/env dub
/+ dub.sdl:
name "example"
description "Creation of new project with one card per repo"
authors "Mihails Strasuns"
copyright "Copyright 2016, Sociomantic Labs"
license "Boost"
targetType "executable"
dependency "octod" version="*" path="../"
+/
import octod;
import std.algorithm;
import std.array;... | D |
/**
* Copyright 2017 Cut Through Recordings
* License: MIT License
* Author(s): Ethan Reker
*/
module ddsp.filter.lowpass;
import ddsp.filter.biquad;
import ddsp.effect.effect : AudioEffect;
import std.math;
import dplug.core.nogc;
/// First order lowpass filter
class LowpassO1(T) : BiQuad!T
{
public:
override v... | D |
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphoneos/RuLife.build/Objects-normal/armv7/FirstViewController.o : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/SecondViewController.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegat... | D |
module day1.ex1;
import std.stdio : File, writeln;
import std.conv : to;
import std.algorithm : map;
import std.array : array;
void main() {
auto file = File("puzzle");
auto r = file.byLine.map!(to!size_t).array;
foreach (i, size_t pivot; r[0 .. $ - 1])
{
foreach (size_t value; r[i + 1 .. $])... | D |
import std.stdio;
void hanoi(in int n, in char from, in char to, in char via) {
if (n > 0) {
hanoi(n - 1, from, via, to);
writefln("Move disk %d from %s to %s", n, from, to);
hanoi(n - 1, via, to, from);
}
}
void main() {
hanoi(3, 'L', 'M', 'R');
}
| D |
the quality of being warmhearted and considerate and humane and sympathetic
tendency to be kind and forgiving
a kind act
| D |
module relation;
import pegged.grammar;
import node;
import program;
import simplexp;
import std.conv;
import std.stdio;
class Relation: Node
{
char expr_type;
string as_byte = "";
string as_word = "";
string as_int = "";
string as_real = "";
this(ParseTree node, Program program) { super... | D |
// Written in the D programming language.
/**
This is a submodule of $(MREF std, algorithm).
It contains generic comparison algorithms.
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE Cheat Sheet,
$(TR $(TH Function Name) $(TH Description))
$(T2 among,
Checks if a value is among a set of values, e.g.
`if ... | D |
/** Automatic high-level RESTful client/server interface generation facilities.
This modules aims to provide a typesafe way to deal with RESTful APIs. D's
`interface`s are used to define the behavior of the API, so that they can
be used transparently within the application. This module assumes that
HTTP is used as... | D |
instance DIA_Balthasar_EXIT(C_Info)
{
npc = BAU_932_Balthasar;
nr = 999;
condition = DIA_Balthasar_EXIT_Condition;
information = DIA_Balthasar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Balthasar_EXIT_Condition()
{
return TRUE;
};
func void DIA_Balthasar_EXIT_Info()
{
AI_StopPro... | D |
module logic.assimilation.EAKF;
import std.algorithm;
import std.array;
import std.math;
import std.stdio;
import std.typecons;
import logic.assimilation.Assimilator;
import logic.assimilation.likelihood.Likelihood;
import logic.data.Ensemble;
import logic.data.Vector;
import logic.utility.ArrayStats;
import logic.uti... | D |
/**
* Provides a convenience wrapper around ALLEGRO_AUDIO_STREAM.
*/
module cid.audio.stream;
import cid.allegro;
import cid.audio.common;
import std.typecons : RefCounted, RefCountedAutoInitialize;
/**
* A stream plays music from a file, and is well suited to playing music.
*
* This is essentially an ALLEGRO_AU... | D |
/Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Observable+Multiple.o : /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/a18968/Develop/RxSwiftSampler/Pods/Rx... | D |
module org.serviio.restlet.RestletServer;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map : Entry;
import org.restlet.Application;
import org.restlet.Component;
import org.restlet.Restlet;
import org.restlet.Server;
import org.restlet.data.Proto... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1984-1995 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
void main() {
import std.stdio, std.random, std.algorithm, std.range;
enum int nTrials = 1_000_000;
const items = "aleph beth gimel daleth he waw zayin heth".split;
const pr = [1/5., 1/6., 1/7., 1/8., 1/9., 1/10., 1/11., 1759/27720.];
double[pr.length] cumulatives = pr[];
foreach (immutable i, ref c; cumu... | D |
/**
* D header file for C99.
*
* 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
* Standards: ISO/IEC 9899:1999 (E)
*/
/* Copyright Sean Kelly 2005 - 2009.
* Distributed under the Boost Software Lic... | D |
// Copyright (с) 2013 Gushcha Anton <ncrashed@gmail.com>
/*
* This file is part of Borey Engine.
*
* 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
* th... | D |
/**
* Module for text event args handling.
*
* Authors:
* Jacob Jensen
* License:
* https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE
*/
module poison.core.eventargs.texteventargs;
import poison.core.eventargs : EventArgs;
/// Event args for text events.
class TextEventArgs : EventArgs {
private:
... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Routing.build/Parameter/Parameter.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts... | D |
/+
+ Copyright Andrej Mitrovic 2011.
+ Copyright Tomasz Stachowiak 2009 - 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)
+/
module xfbuild.Misc;
import xfbuild.Exception;... | D |
/Users/l.b.do.nascimento/GITHUB/Common/.build/x86_64-apple-macosx/debug/Common.build/Core/LayoutKit/LayoutConstraintMaker.swift.o : /Users/l.b.do.nascimento/GITHUB/Common/Common/Core/LayoutKit/LayoutViewConstraintSafeArea.swift /Users/l.b.do.nascimento/GITHUB/Common/Common/Core/TableFactory/DataSource.swift /Users/l.b.... | D |
# FIXED
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/simplelink_cc2640r2_sdk_4_40_00_10/source/ti/blestack/hal/src/target/_common/TRNGCC26XX.c
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/stdint.h
Drivers/TRNG/TRNGCC26XX.obj: C:/ti/ti-cgt-arm_18.12.5.LTS/include/_stdint40.h
Drivers/TRNG/TRNGCC26XX.obj: C:/t... | D |
/Users/xinruiyang/Documents/WINTER_2017/EECS_441/sphere/CrowdQ/Sphere/DerivedData/Sphere/Build/Intermediates/Sphere.build/Debug-iphoneos/Sphere.build/Objects-normal/arm64/FeedViewController.o : /Users/xinruiyang/Documents/WINTER_2017/EECS_441/sphere/CrowdQ/Sphere/Sphere/ViewController.swift /Users/xinruiyang/Documents/... | D |
/Users/Avinash/Documents/Code/NeighborCater/NeighborCater/DerivedData/NeighborCater/Build/Intermediates/Pods.build/Debug-iphonesimulator/DropDown.build/Objects-normal/x86_64/DPDConstants.o : /Users/Avinash/Documents/Code/NeighborCater/NeighborCater/Pods/DropDown/DropDown/helpers/DPDConstants.swift /Users/Avinash/Docume... | D |
/*
Copyright © 2020, Luna Nielsen
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module engine.core.astack;
import std.exception;
/**
A stack of actions performed in the game
Actions can be undone and redone.
Pushing a new action to the stack will o... | D |
the act of apprehending (especially apprehending a criminal
the state of inactivity following an interruption
take into custody
hold back, as of a danger or an enemy
attract and fix
cause to stop
| D |
Ddoc
$(COZUM_BOLUMU Inheritance)
$(OL
$(LI The member functions that are declared as $(C abstract) by superclasses must be defined by the $(C override) keyword by subclasses.
$(P
Ignoring the $(C Train) class for this exercise, $(C Locomotive.makeSound) and $(C RailwayCar.makeSound) can be implemented as in the fo... | D |
module gargula.resource.font;
import flyweightbyid;
import gargula.wrapper.raylib;
template FontResource(string[] _files)
{
immutable static files = _files;
enum filenames = _files;
Font load(uint id)
in { assert(id < files.length); }
do
{
return LoadFont(cast(const char*) files[id])... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1985-1998 by Symantec
* Copyright (C) 2000-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
// Copyright Brian Schott 2015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module dfmt.config;
import dfmt.editorconfig;
/// Brace styles
enum BraceStyle
{
unspecified,
/// $(LINK... | D |
struct Tuple( TList... ){
mixin .Tuple!((TList[1 .. $])) tail;
}
mixin Tuple!(int);
| D |
class Foo { int x; this() { x = 1; } }
Foo foo = new Foo();
destroy(foo);
assert(foo.x == int.init); // object is still accessible
delete(void *p)
{
}
| D |
func void B_BeliarsWeaponSpecialDamage (var C_NPC oth, var C_NPC slf) //other ist angreifer, slf ist victim
{
/*Bogu: to chyba nie potrzebne if (Hlp_GetInstanceID(oth) == Hlp_GetInstanceID(hero))
{
var int DamageRandy;
DamageRandy = Hlp_Random (100);
if (C_ScHasReadiedBeliarsWeapon())
&& (DamageRandy <= Bel... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.