code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/Users/dali/Documents/GitHub/rustlings/target/debug/deps/aho_corasick-7430d0e02822d037.rmeta: /Users/dali/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.15/src/lib.rs /Users/dali/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.15/src/ahocorasick.rs /Users/dali/.cargo... | D |
/*
**********************************************************************
** md5.c **
** RSA Data Security, Inc. MD5 Message Digest Algorithm **
** Created: 2/17/90 RLR **
** Revised: 1/91 SRD,AJ,BSK,... | D |
module engine.chunk.meshgen;
import engine.chunk.mesh;
import engine;
import engine.render;
import std.concurrency;
import core.atomic;
import core.time;
import core.sync.mutex;
import core.thread;
import std.algorithm.sorting;
import std.algorithm.mutation;
private {
vec3[] voxelVerts = [
// TOP
v... | D |
/**
* Utility subroutines
*
* Only used for DMD
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1984-1998 by Symantec
* Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(... | D |
/home/carl/embedded system/e7020e_2019/target/thumbv7em-none-eabihf/debug/deps/libnb-b6de6b45a406c41f.rlib: /home/carl/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-0.1.1/src/lib.rs
/home/carl/embedded system/e7020e_2019/target/thumbv7em-none-eabihf/debug/deps/nb-b6de6b45a406c41f.d: /home/carl/.cargo/registry/src... | D |
/Users/leonardo15043/Documents/GitHub/AddDataTableView/build/AddDataTableView.build/Debug-iphonesimulator/AddDataTableView.build/Objects-normal/x86_64/AppDelegate.o : /Users/leonardo15043/Documents/GitHub/AddDataTableView/AddDataTableView/AppDelegate.swift /Users/leonardo15043/Documents/GitHub/AddDataTableView/AddDataT... | D |
/*
Copyright (c) 2015-2023 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, dist... | D |
module distributed.DistributedHelpers;
import misc.BitstreamDestination;
import serialisation.BitstreamWriter;
ubyte[] composeMessageWithLengthPrefix(BitstreamDestination payloadBitstream, out bool successChained) {
BitstreamDestination bitstreamDestinationForMessage = new BitstreamDestination();
BitstreamWriter!Bi... | D |
import std.stdio;
import std.random;
import std.conv;
void main()
{
int x_dimension;
int y_dimension;
write(">> ");
readf(" %s", &x_dimension);
write(">> ");
readf(" %s", &y_dimension);
writeln();
bool[][] puzzle_board;
for(int x = 0; x < x_dimension; ++x)
{
bool[] ... | D |
/home/mailboxhead/Documents/Practice/rust/itemRestAPI/target/rls/debug/deps/rand_chacha-a0b3ded2a365c8b6.rmeta: /home/mailboxhead/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /home/mailboxhead/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs
/home/mailboxh... | D |
module UnrealScript.UnrealEd.FindAssetReferencersCommandlet;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Core.Commandlet;
extern(C++) interface FindAssetReferencersCommandlet : Commandlet
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final stat... | D |
module android.java.android.net.IpPrefix;
public import android.java.android.net.IpPrefix_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!IpPrefix;
import import0 = android.java.java.net.InetAddress;
import import2 = android.java.java.lang.Class;
| D |
module reactived.observable.operators.utility;
import std.conv;
import std.datetime;
import std.functional;
import std.traits;
import core.thread;
import reactived.observable;
import reactived.observer;
import reactived.disposable;
import reactived.scheduler;
import disposable = reactived.disposable;
/**
Forwar... | D |
import d2d;
import std.datetime.stopwatch;
import std.concurrency : spawn;
import gpu;
import cpu;
shared Chip8 chip;
void main() {
chip = new shared Chip8();
chip.loadRom("roms/brix.rom");
spawn(&graphicsThread);
spawn(&cpuThread);
}
void graphicsThread() {
immutable width = 64 * 30;
Display... | D |
/**
* Define `enum` declarations and `enum` members.
*
* Specification: $(LINK2 https://dlang.org/spec/enum.html, Enums)
*
* Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.b... | D |
module elasticsearch.api.actions.indices;
import elasticsearch.api.base;
alias createIndex = elasticsearch.api.actions.indices.create;
/** Create an index.
*
* Creates a new index
*
* Params:
* arguments = A Parameters dictionary list with the following
* index: The index name (required)
* body: Optional ... | D |
instance DIA_BDT_1020_WEGELAGERER_EXIT(C_INFO)
{
npc = bdt_1020_bandit_l;
nr = 999;
condition = dia_wegelagerer_exit_condition;
information = dia_wegelagerer_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_wegelagerer_exit_condition()
{
return TRUE;
};
func void dia_wegelagerer_exit_i... | D |
module ex3.mod;
import glued.application.stereotypes;
interface I1 {}
interface I2 {}
interface I3 : I1 {}
interface I4: I3 {}
interface I5: I2 {}
@Component
class C1 {}
@Tracked
class C2: I2 {}
@Component
class C3 : C2 {}
@Component
class C4: C3, I4 {}
@Component
class C5: C3, I5 {}
unittest {
import s... | D |
/*
Copyright 2006, 2007 Kirk McDonald
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, publish, distr... | D |
// Copyright Gushcha Anton 2012.
// 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 in D programming language
/**
* Module provides many usefull functions to work with C-style s... | D |
module levelrenderer;
private {
import std.stdio;
import std.utf;
import std.math : sqrt;
import material;
import sofu = Sofu.Sofu;
import engine;
import derelict.sdl.sdl;
import derelict.opengl.gl;
import derelict.opengl.glu;
import pipeline;
import vector;
import uti... | D |
/**
Defines the behavior of the DUB command line client.
Copyright: © 2012-2013 Matthias Dondorff, Copyright © 2012-2014 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Matthias Dondorff, Sönke Ludwig
*/
module dub.commandline;
import dub.compil... | D |
module raydebugger.EasyPixbuf;
import tango.util.log.Config;
import raytracer.Colors;
import gdk.Drawable;
import gdk.Pixbuf;
class EasyPixbuf: Pixbuf, ColorPixmap
{
public int width;
public int height;
ubyte[] pixels;
int rowstride;
int nChannels;
public this(GdkPixb... | D |
/Users/DanielChang/Documents/Vapor/Hello/.build/debug/Leaf.build/LeafComponent.swift.o : /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Argument.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Leaf-1.0.6/Sources/Leaf/Byte+Leaf.swift /Users/DanielChang/Documents/Vapor/Hello/Packages/Le... | D |
/* 780.d
**
** Paradigm for Jeff's MT FEF experiment
** This paradigm includes:
** 1) asl calibration
** 2) passive fixation with (or without) a dots field
**
** created by jcl 3/16/08
*/
#include "rexHdr.h"
#include "paradigm_rec.h"
#include "toys.h"
#include "lcode.h"
/* PRIVATE data structures */
/* GLOBAL VA... | D |
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* gtkD is distributed in th... | D |
/Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/VirtualTimeConverterType.o : /Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/Pods/RxS... | D |
//##########################################################################
//##
//## Hier stehen alle Buchständermobsiscripte
//##
//##########################################################################
//*************************************
// Buchständer in der Klosterbibliothek
//**************************... | D |
module opencore.schema.uefi;
import opencore.schema.common;
struct UEFIAPFSFields {
@PlistKey("MinVersion") ulong minVersion;
@PlistKey("MinDate") ulong minDate;
@PlistKey("EnableJumpstart") bool enableJumpstart;
@PlistKey("HideVerbose") bool hideVerbose;
@PlistKey("JumpstartHotPlug") bool jumpstar... | 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 |
/* EPANET 3
*
* Copyright (c) 2016 Open Water Analytics
* Distributed under the MIT License (see the LICENSE file for details).
*
*/
module epanet.output.projectwriter;
import core.stdc.math: pow;
import std.stdio, std.format, std.string;
import epanet.core.error;
import epanet.core.network;
import epanet.core.u... | D |
module temple.tests.common;
version(TempleUnittest):
public import std.stdio, std.file : readText;
public import
temple,
temple.util,
temple.output_stream;
bool isSameRender(in CompiledTemple t, TempleContext tc, string r2) {
return isSameRender(t, r2, tc);
}
bool isSameRender(in CompiledTemple t, string r2, Te... | D |
updown.o: C:/PROGRA~1/MATLAB/R2015b/rtw/c/src/ext_mode/common/updown.c \
C:/Users/Joern/DOCUME~1/github/DH_ARD~1/LABOR0~1/Simulink/Geschwindigkeitsregler_ert_rtw/rtwtypes.h \
C:/PROGRA~1/MATLAB/R2015b/simulink/include/rtw_extmode.h \
C:/PROGRA~1/MATLAB/R2015b/simulink/include/sysran_types.h \
C:/PROGRA~1/MATLAB/R20... | D |
/**
License:
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 t... | D |
module UnrealScript.Engine.AnimNotify_ViewShake;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.AnimNodeSequence;
import UnrealScript.Engine.CameraShake;
import UnrealScript.Engine.Actor;
import UnrealScript.Engine.AnimNotify_Scripted;
extern(C++) interface AnimNotify_ViewShake... | D |
E: c692, c49, c551, c517, c21, c44, c273, c585, c627, c746, c202, c363, c680, c405, c404, c449, c540, c99, c470, c266, c513, c332, c448, c136, c205, c832, c709, c105, c673, c697, c177, c693, c556, c314, c648, c91, c758, c628, c657, c391, c233, c180, c37, c753, c639, c553, c185, c353, c226, c554, c242, c735, c101, c439,... | D |
module core.lexer;
///
enum TokenId
{
number,
identifier,
string_,
parentheses,
brackets,
list,
}
/// Token
struct Token
{
TokenId id;
string lexeme;
this(TokenId id, string lexeme)
{
this.lexeme = lexeme;
this.id = id;
}
bool opEquals()(auto ref const Token other) const
{... | D |
a Japanese form of wrestling
| D |
instance STRF_1106_Fed (Npc_Default)
{
// ------ NSC ------
name = "Fed";
guild = GIL_OUT;
id = 1106;
voice = 8;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 2); //setzt Attribute und LEVEL ents... | D |
module krepel.game_framework;
public import krepel.game_framework.tick;
public import krepel.game_framework.game_framework_manager;
| D |
a native or inhabitant of Finland
| D |
module internal.variable;
import internal.val;
import internal.typeinfo;
struct RelativeVarIndex {
size_t depth;
size_t index;
}
final class Variable {
enum Type {
local,
global,
}
Type type;
TI ti;
string name;
size_t index;
Val init_val = void;
private th... | D |
an offensive term for Roman Catholics
of or relating to or supporting Romanism
| D |
/*******************************************************************************
copyright: Copyright (c) 2007 the Tango team. All rights reserved
license: BSD style: $(LICENSE)
version: Initial release: July 2007
author: Cyborg16, Sean Kelly
*************... | D |
a small inexpensive mass-produced article
miscellaneous curios
| D |
module derelict.opengl;
public
import derelict.opengl.gl,
derelict.opengl.impl,
derelict.opengl.types; | D |
module markovd.util;
import markovd.core;
import std.stdio;
/**
This function steps through a markov chain set and returns the selected values in an array.
license: BSD 3-clause license
authors: John Whitley, dogjaw2233@protonmail.com
Date: August 27, 2017
Version: 0
Params:
start = The starting ... | D |
// Written in the D programming language.
/++
$(SECTION Overview)
$(P The $(D std.uni) module provides an implementation
of fundamental Unicode algorithms and data structures.
This doesn't include UTF encoding and decoding primitives,
see $(XREF _utf, decode) and $(XREF _utf, encode) in std.utf
... | D |
/Users/mac/Documents/StreamsApp/DerivedData/StreamsApp/Build/Intermediates.noindex/StreamsApp.build/Debug-iphonesimulator/StreamsApp.build/Objects-normal/x86_64/AppDelegate.o : /Users/mac/Documents/StreamsApp/StreamsApp/AppDelegate.swift /Users/mac/Documents/StreamsApp/StreamsApp/StreamViewController/PostTableViewCell/... | D |
module perfontain.managers.gui.select;
import
std,
perfontain;
public import
perfontain.managers.gui.select.box,
perfontain.managers.gui.select.popup;
class Selector : GUIElement
{
this(GUIElement p, bool followMouse = true)
{
super(p);
_followMouse = followMouse;
}
void select(int) {}
private... | 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 |
module wrapper;
private
{
import derelict.openal.al;
}
public
{
import buffer;
import capture;
import source;
}
ALCdevice* device;
ALCcontext* context;
void init()
{
device = alcOpenDevice(null);
context = alcCreateContext(device, null);
alcMakeContextCurrent(context);
}
void exit()
{
... | D |
module UnrealScript.Engine.SequenceObject;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.WorldInfo;
import UnrealScript.Core.UObject;
import UnrealScript.Engine.Sequence;
extern(C++) interface SequenceObject : UObject
{
public extern(D):
private static __gshared ScriptClass... | D |
/afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MadGraphME/obj/CPPProcess_P0_Sigma_sm_hVBF_ZZ_4l_sm_uux_epemepemuux.o /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/MadGraphME/obj/CPPProcess_P0_Sigma_sm_hVBF_ZZ_4l_sm_uux_epemepemuux.d : ... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag10169.d(12): Deprecation: `imports.a10169.B.x` is not visible from module `diag10169`
fail_compilation/diag10169.d(12): Error: struct `imports.a10169.B` member `x` is not accessible
---
*/
import imports.a10169;
void main()
{
auto a = B.init.x;
}
| D |
module veda.mstorage.nanomsg_channel;
import core.thread, std.stdio, std.format, std.datetime, std.concurrency, std.conv, std.outbuffer, std.string, std.uuid, std.path, std.json;
import veda.core.common.context, veda.core.util.utils, veda.util.tools, veda.onto.onto, veda.core.impl.thread_context, veda.core.common.defi... | D |
liberality in bestowing gifts
| D |
module sailhandler;
import core.thread;
import core.sync.condition;
import core.sync.mutex;
import std.conv, std.math;
import saillog, config;
import hardware.hardware;
class SailHandler {
this() {
SailLog.Notify("Starting ",typeof(this).stringof," instantiation in ",Thread.getThis().name," thread...");
//Get c... | D |
/**
* Copyright © Novelate 2020
* License: MIT (https://github.com/Novelate/NovelateEngine/blob/master/LICENSE)
* Author: Jacob Jensen (bausshf)
* Website: https://novelate.com/
* ------
* Novelate is a free and open-source visual novel engine and framework written in the D programming language.
* It can be used freely... | D |
module app;
import std.stdio;
import std.typecons;
import lbfgsd;
void main()
{
auto solver = new SimpleSolver!(float, 2);
solver.options.linesearch.maxIterations = 1000;
solver.options.maxIterations = 2000;
//solver.options.estimateStepSize = false;
LeastSquareLossFunc fn;
foreach (i; 0 .. 20)
{
... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gmodule.d;
public {
import gmodule.gmodule;
}
| D |
instance Grd_2504_PatrolGRD (Npc_Default)
{
//-------- primary data --------
name = "Strażnik";
npctype = npctype_main;
guild = GIL_GRD;
level = 16;
voice = 9;
id = 2504;
//-------- abilities --------
attribute[ATR_STRENGTH] = 60;
attribute[ATR_DEXTERITY] = 40;
attribute[ATR_MANA_MAX] ... | D |
instance GRD_263_Asghan (Npc_Default)
{
//-------- primary data --------
name = "Asghan";
npctype = npctype_main;
guild = GIL_GRD;
level = 20;
voice = 6;
id = 263;
flags = NPC_FLAG_IMMORTAL;
//-------- abilities --------
attribute[ATR_STRENGTH] = 100;
attribute[ATR_DEXTERITY] = 80;
attrib... | D |
module doogle.controls.layout;
public import doogle.controls.layout_def;
version(Windows) {
alias Layout_Def Layout;
} | D |
module org.serviio.library.online.WebResourceParser;
import java.lang.Long;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import org.serviio.config.Configuration;
import org.serviio.library.entities.OnlineRepository;
import org.serviio.library.local.metadata.ImageDescriptor;
i... | D |
/********************************************
* Encode and decode UTF-8, UTF-16 and UTF-32 strings.
*
* For Win32 systems, the C wchar_t type is UTF-16 and corresponds to the D
* wchar type.
* For Posix systems, the C wchar_t type is UTF-32 and corresponds to
* the D utf.dchar type.
*
* UTF character support is... | D |
the fluid (red in vertebrates) that is pumped through the body by the heart and contains plasma, blood cells, and platelets
temperament or disposition
a dissolute man in fashionable society
the descendants of one individual
people viewed as members of a group
smear with blood, as in a hunting initiation rite, where the... | D |
$NetBSD$
Stolen from https://github.com/nrTQgc/druntime/tree/netbsd
--- runtime/druntime/src/core/sys/posix/fcntl.d.orig 2020-05-07 08:52:15.234684078 +0000
+++ runtime/druntime/src/core/sys/posix/fcntl.d
@@ -462,6 +462,59 @@ else version( DragonFlyBSD )
//int fcntl(int, int, ...); /*defined below*/
//int ... | D |
import mysql.common;
import mysql.connection;
import mysql.result;
import mysql.db;
import std.stdio;
ulong testExce(Connection cn,string sql){
auto cmd = Command(cn);
cmd.sql = sql;
ulong rowsAffected;
cmd.execSQL(rowsAffected);
return rowsAffected;
}
ResultSet testRows()(Connection cn, string sql... | D |
/**
SDL format support for PackageRecipe
Copyright: © 2014-2015 rejectedsoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module dub.recipe.sdl;
import dub.compilers.compiler;
import dub.dependency;
import dub.internal.sdlang;
imp... | D |
/*===-- llvm-c/TargetMachine.h - Target Machine Library C Interface - C++ -*-=*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* ... | D |
/*
* #17 Jackal doesn't recognize the player's camp membership
*
* The hero is given a new guild and the condition function of the dialog is called.
*
* Expected behavior: The condition function will return FALSE.
*/
func int G1CP_Test_017() {
// Check if dialog exists
var int funcId; funcId = MEM_GetSymb... | D |
module UnrealScript.TribesGame.GFxTrPage_VideoGraphics;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.GFxTrAction;
import UnrealScript.TribesGame.GFxTrPage;
import UnrealScript.GFxUI.GFxObject;
extern(C++) interface GFxTrPage_VideoGraphics : GFxTrPage
{
public extern(D):
... | D |
/*
* Copyright (c) 2015 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 list of... | D |
/*
TEST_OUTPUT:
---
fail_compilation/test8793.d(13): Error: cannot implicitly convert expression (__lambda2) of type bool delegate(const(int) x) @system to bool delegate(const(int)) pure
fail_compilation/test8793.d(14): Error: cannot implicitly convert expression (__lambda2) of type bool delegate(const(int) x) @system ... | D |
class WordListGeneratorClass : ErrorHandlerClass
{
import translator;
} | D |
/**
* Defines a package and module.
*
* Specification: $(LINK2 https://dlang.org/spec/module.html, Modules)
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LI... | D |
module d.llvm.evaluator;
import d.llvm.codegen;
import d.ir.expression;
import d.semantic.evaluator;
import util.visitor;
import llvm.c.core;
import llvm.c.executionEngine;
import std.algorithm;
import std.array;
// In order to JIT.
extern(C) void _d_assert(string, int);
extern(C) void _d_assert_msg(string, stri... | D |
module witchcraft.mixins.structs;
mixin template WitchcraftStruct()
{
import witchcraft;
import std.meta;
import std.traits;
static class StructMixin(T) : Struct
if(is(T == struct))
{
this()
{
foreach(name; FieldNameTuple!T)
{
_fields[n... | D |
import everything;
SDL_Rect orbSRect, orbDRect;
SDL_Texture*[] smallOrbTextures;
SDL_Texture*[] mediumOrbTextures;
Orb[] activeOrbs;
const int
ORB_FRAMES_SMALL = 4,
ORB_FRAMES_MEDIUM = 6,
ORB_FRAMES_LARGE = 40;
const float
SMALL_TIMER = 4.1,
MEDIUM_TIMER = 12.1,
LARGE_TIMER = 45.1;
uint sprite;
int
orbM... | D |
import std.string;
import std.stdio;
import std.conv;
import utils_hash;
import std.digest.sha;
import std.digest.crc;
class Node {
private char[64] _hash;
private Node _parent;
private Node _left;
private Node _right;
private bool _leaf;
private bool _root;
private bool _duplicate;
// abstract == overriding ... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail161.d(15): Error: template instance `MetaString!"2 == 1"` does not match template declaration `MetaString(String)`
---
*/
template MetaString(String)
{
alias String Value;
}
void main()
{
alias MetaString!("2 == 1") S;
assert(mixin(S.Value));
}
| D |
import std.conv;
import Experiment;
class Interaction{
public:
string label;
Experiment experience;
string result;
int weight = 0;
int valence;
Interaction preInteraction;
Interaction postInteraction;
this( string label ){
this.label = label;
}
void incrementWeight() {
weight++;
}
override s... | D |
/*
TEST_OUTPUT:
---
fail_compilation/circ10280.d(11): Error: circular initialization of variable `circ10280.q10280`
fail_compilation/circ10280.d(10): called from here: `foo10280()`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=10280
const int q10280 = foo10280();
int foo10280() { return q10280; }
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2020 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 |
/* 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 |
/* 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 |
module UnrealScript.TribesGame.TrDevice_BoltLauncher;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrDevice;
extern(C++) interface TrDevice_BoltLauncher : TrDevice
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass... | D |
a person who fells trees
a short warm outer jacket
| D |
/Users/sridattbhamidipati/Desktop/money20202015/build/money20202015.build/Debug-iphonesimulator/money20202015.build/Objects-normal/x86_64/AppDelegate.o : /Users/sridattbhamidipati/Desktop/money20202015/money20202015/JSONObject.swift /Users/sridattbhamidipati/Desktop/money20202015/money20202015/DisplayQRViewController.s... | D |
/*
* Copyright (c) 2007-2013 Scott Lembcke and Howling Moon Software
*
* 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 ... | D |
Long: ssl-auto-client-cert
Help: Use auto client certificate (Schannel)
Added: 7.77.0
See-also: proxy-ssl-auto-client-cert
Category: tls
---
Tell libcurl to automatically locate and use a client certificate for
authentication, when requested by the server. This option is only supported
for Schannel (the native Windows ... | D |
import winrt;
import std.traits;
static import Windows.UI.Xaml;
mixin WinRTMain;
pragma(msg, winrtFactoryOf!(Windows.UI.Xaml.Application));
class MyApp : Windows.UI.Xaml.Application
{
override void OnLaunched(void* args)
{
Debug.WriteLine("Launched");
}
}
int rtmain()
{
//auto inspApp = roActivateInstance("... | D |
/// MZ executable object format.
///
/// Authors: dd86k <dd@dax.moe>
/// Copyright: © dd86k <dd@dax.moe>
/// License: BSD-3-Clause
module adbg.v2.object.format.mz;
import adbg.v2.object.server : adbg_object_t, AdbgObject;
import adbg.utils.bit : CHAR16;
/// Magic number for MZ objects.
enum MAGIC_MZ = CHAR16!"MZ";
p... | D |
module std.switcherr;
public import std.exception;
pragma(msg, "warning - STD.SWITCHERR:Now all exceptions and errors are situated in module std.exception");
| D |
/home/javed/Documents/Projects/RustRepo/ultimate_rust_crash_course/exercise/z_final_project/target/release/build/syn-65a89650853e59b6/build_script_build-65a89650853e59b6: /home/javed/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.15.44/build.rs
/home/javed/Documents/Projects/RustRepo/ultimate_rust_crash_course/... | D |
/// D translation of stb_truetype v0.7 by Sean Barrett
/// More information on http://nothings.org/stb/stb_truetype.h
/// Removed:
/// - texture baking API
/// - font finding in the TTF itself. Make sure there is only one font in the TTF.
module dido.stb_truetype;
import core.stdc.stdlib : malloc, free, qsort;
import ... | D |
/*
Provides light-weight formatting utilities for pretty-printing
on assertion failures
*/
module core.internal.dassert;
/// Allows customized assert error messages
string _d_assert_fail(string comp, A, B)(auto ref const A a, auto ref const B b)
{
/*
The program will be terminated after the assertion error mes... | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_lmaudit.d)
*/
// COMMENT: This file may be deprecated.
module core.sys.windows.lmaudit;
version (Windows):
private... | D |
/**
* 64 bit Kernel Startup Code
*
* Copyright: 2008 The Neptune Project
*/
module kernel.boot.startup;
import modinit;
import std.stdio;
import std.string;
import std.context;
import util.spec.elf64;
import kernel.core.env;
import kernel.core.arch;
import kernel.core.mem;
import kernel.core.interrupt;
import ... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.