code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
struct S1 // overall alignment: max(1, 1) = 1
{
byte[5] bytes;
struct // overall alignment: max(1, 1) = 1
{
byte byte1;
align(1) int int1;
}
}
static assert(S1.int1.offsetof == 6);
static assert(S1.alignof == 1);
static assert(S1.sizeof == 10);
class C2 // overall alignment: max(vtbl.a... | D |
/Users/taharahiroki/Documents/GitHub/Enigma_Bitcoin_proto/bip32_proto/target/debug/deps/unicode_xid-b4ac5b8e132ceaf0.rmeta: /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.0/src/lib.rs /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.0/src/tables.rs... | D |
/*
* Copyright 2019 Google LLC
* Copyright 2022 Coverify Systems Technology
*
* 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
*
* U... | D |
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOWebSocket.build/SHA1.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIOWebSocket/SHA1.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sourc... | D |
module ivy.lexer.consts;
static immutable mixedBlockBegin = "{*";
static immutable mixedBlockEnd = "*}";
static immutable commentBlockBegin = "{#";
static immutable commentBlockEnd = "#}";
static immutable dataBlockBegin = `{"`;
static immutable dataBlockEnd = `"}`;
static immutable exprBlockBegin = `{{`;
static im... | D |
import dli;
import std.string;
void main()
{
writeln("Welcome to the dli demo.");
string username;
while(!request("What is your name? ", &username, (string s){return !s.empty;}))
writeln("Sorry, but I need your name to proceed");
writeln("It's a pleasure, " ~ username ~ ".");
auto mainMenu = createIndexMen... | D |
module org.restlet.ext.gson;
public import org.restlet.ext.gson.GsonConverter;
public import org.restlet.ext.gson.GsonRepresentation;
| D |
/*
* 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 glib.gqueue;
import glib.gtypes;
import glib.glist;
struct GQueue
{
GList *head;
GList *tail;
guint length;
}
// #define... | D |
module t.hashid;
import std.stdio, std.exception;
unittest {
string bs10 = "0123456789";
string bs16 = "0123456789abcdef";
string bs62 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
assert(encode(7,bs10) == "7");
assert(encode(7,bs16) == "7");
assert(encode(12, bs16) == "c");
assert(enco... | D |
module dinu;
public import
core.thread,
core.sys.posix.sys.stat,
std.conv,
std.uni,
std.regex,
std.process,
std.parallelism,
std.string,
std.array,
std.algorithm,
std.stdio,
std.file,
std.path,
std.stream,
std.math,
std.datetime,
x11.X,
x11.Xlib,
x11.Xutil,
x11.extensions.Xrender,
x11.extensions... | D |
ipaddress=192.168.69.3
netmask=255.255.255.0
| D |
/**
* Contains the implementation for object monitors.
*
* Copyright: Copyright Digital Mars 2000 - 2015.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, Sean Kelly, Martin Nowak
*/
module rt.monitor_;
import core.atomic, core.stdc.stdlib, core.stdc.string;
// ... | D |
/*****************************************************************************
*
* Higgs JavaScript Virtual Machine
*
* This file is part of the Higgs project. The project is distributed at:
* https://github.com/maximecb/Higgs
*
* Copyright (c) 2012-2013, Maxime Chevalier-Boisvert. All rights re... | D |
/Users/noahaus/GithubRepos/sliding-window-scripts/tjd/target/debug/deps/cfg_if-4c840386b43c02da.rmeta: /Users/noahaus/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs
/Users/noahaus/GithubRepos/sliding-window-scripts/tjd/target/debug/deps/libcfg_if-4c840386b43c02da.rlib: /Users/noahaus/.cargo/re... | D |
/* target.d -- Target interface for the D front end.
* Copyright (C) 2018 Free Software Foundation, Inc.
*
* GCC 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 3, or (at your option)
* an... | D |
/+
+ Copyright (c) Charles Petzold, 1998.
+ Ported to the D Programming Language by Andrej Mitrovic, 2011.
+/
module Typer;
import core.runtime;
import core.thread;
import std.algorithm : min, max;
import std.conv;
import std.math;
import std.range;
import std.string;
import std.stdio;
import std.utf;
auto toUTF1... | D |
# FIXED
F2837xD_PieCtrl.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/source/F2837xD_PieCtrl.c
F2837xD_PieCtrl.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_device.h
F2837xD_PieCtrl.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_20.12.0.STS/include/assert.h
F283... | D |
//SKIE - NINDE SoA
CHAIN IF ~InParty("Ninde")
See("Ninde")
!StateCheck("Ninde",CD_STATE_NOTVALID)
!StateCheck("L#2SDSkie",CD_STATE_NOTVALID)
CombatCounter(0)
Global("L#2NindeSkie","GLOBAL",0)~ THEN l#2sdskB L#2NindeSkie01
@0 /* Don't get me wrong, but... isn't it a bit weird to work with dead things? And you do that k... | D |
instance DIA_MARVIN_EXIT(C_Info)
{
npc = PC_DSG_MARVIN;
nr = 999;
condition = dia_marvin_exit_condition;
information = dia_marvin_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_marvin_exit_condition()
{
return TRUE;
};
func void dia_marvin_exit_info()
{
B_TeachPlayerTalentTakeAnimalTro... | D |
/atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/obj/x86_64-slc6-gcc49-opt/JetSubStructureMomentTools/obj/DipolarityTool.o /atlas/data18a/helingzh/workplace/summer2016/Run2/FourMuonAna/RootCoreBin/obj/x86_64-slc6-gcc49-opt/JetSubStructureMomentTools/obj/DipolarityTool.d : /cvmfs/atlas.cern.ch/r... | D |
import std.stdio;
import std.datetime;
import std.complex;
import std.typecons;
import std.conv;
import std.algorithm;
import std.array;
import std.parallelism;
import imageformats.png;
auto flat_map(alias f, T)(T t) {
return map!f(t).joiner();
}
ubyte to_ubyte(float f) {
return to!ubyte(min(... | D |
// Vicfred
// https://atcoder.jp/contests/abc163/tasks/abc163_d
// math
import std.stdio;
long ways(long k, long n) {
long minima = k*(k-1)/2;
long maxima = minima + k*(n-k+1);
return maxima - minima + 1;
}
void main() {
long n, k;
readf("%s %s\n", &n, &k);
long mod = 10^^9+7;
long answe... | D |
/home/drees/sc101/sc101/target/release/deps/libthiserror_impl-d2cd3ab613916ed6.so: /home/drees/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/lib.rs /home/drees/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-impl-1.0.26/src/ast.rs /home/drees/.cargo/registry/src/github.com-1ecc6299... | D |
/Users/amori/projects/world-game/target/rls/debug/deps/unreachable-a3b76aa262bc45d9.rmeta: /Users/amori/.cargo/registry/src/github.com-1ecc6299db9ec823/unreachable-0.1.1/src/lib.rs
/Users/amori/projects/world-game/target/rls/debug/deps/unreachable-a3b76aa262bc45d9.d: /Users/amori/.cargo/registry/src/github.com-1ecc629... | D |
// This source code is in the public domain.
// Custom Content area Dialog
import std.stdio;
import std.typecons;
import std.conv;
import gtk.MainWindow;
import gtk.Window;
import gtk.Main;
import gtk.Box;
import gtk.Button;
import gtk.Dialog;
import gtk.c.types;
import gtk.Widget;
import gtk.Box;
import gtk.Grid;
i... | D |
module test;
import std.algorithm;
import std.array;
import std.conv;
import std.range;
import std.stdio;
import std.typecons;
import pegged.grammar;
import pegged.examples.dgrammar;
enum input = //JSONGrammar;
`
TEST:
A <- 'a'
B <- A?
C <- [0-9]+
D <- C B*
`;
void main()
{
auto c = checkGrammar(input, Reduce... | D |
// Copyright 2019, University of Freiburg.
// Chair of Algorithms and Data Structures.
// Markus Näther <naetherm@informatik.uni-freiburg.de>
module dgenerator.nlp.nlp;
import std.container: Array;
import std.stdio;
import std.conv;
import std.file: readText, FileException;
import std.json;
import std.path;
import st... | D |
module app.controller.api.IndexController;
import hunt.logging.ConsoleLogger;
import hunt.framework;
import app.model.Greeting;
import std.datetime;
class IndexController : Controller {
mixin MakeController;
@Action string index() {
return "API index.";
}
@Action string test() {
// https://... | 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 |
// Written in the D programming language.
/**
* This module implements a
* $(LINK2 http://erdani.org/publications/cuj-04-2002.html,discriminated union)
* type (a.k.a.
* $(LINK2 http://en.wikipedia.org/wiki/Tagged_union,tagged union),
* $(LINK2 http://en.wikipedia.org/wiki/Algebraic_data_type,algebraic type)).
* ... | D |
// What dumb
// ng.learn 26 Feb 2011
import std.stdio, std.conv;
enum E { x, y = 10, z = 2, THE_END }
void main()
{
foreach (e; E.min .. E.max ) { // more for unreset members
writeln( e );
}
}
| D |
/Users/konstafer/ITMO-FILES/Course\ 3/Interfaces/MusicPlayer/DerivedData/Build/Intermediates/MusicPlayer.build/Debug-iphonesimulator/MusicPlayer.build/Objects-normal/x86_64/ViewController.o : /Users/konstafer/ITMO-FILES/Course\ 3/Interfaces/MusicPlayer/MusicPlayer/AppDelegate.swift /Users/konstafer/ITMO-FILES/Course\ 3... | D |
/Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/RetryStrategy.o : /Users/MohamedNawar/Desktop/Task/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/Task/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/MohamedNawar/Desktop... | 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 |
module d.semantic.aliasthis;
import d.semantic.semantic;
import d.ir.expression;
import d.ir.symbol;
import d.ir.type;
import d.context;
import d.exception;
import d.location;
struct AliasThisResolver(alias handler) {
private SemanticPass pass;
alias pass this;
alias Ret = typeof(handler(Symbol.init));
this... | D |
/Users/olafgomez/Documents/PracticasCice/PokedexXYiOS/PokemonXYiOS/DerivedData/PokemonXYiOS/Build/Intermediates.noindex/Alamofire.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AlamofireExtended.o : /Users/olafgomez/Documents/PracticasCice/PokedexXYiOS/PokemonXYiOS/DerivedData/PokemonXYiOS/SourcePack... | D |
import std.stdio, std.array, std.string, std.conv, std.algorithm;
import std.typecons, std.range, std.random, std.math, std.container;
import std.numeric, std.bigint, core.bitop, core.stdc.stdio, std.bitmanip;
immutable int MAX = 120;
alias Tuple!(int, "a", int, "b", int, "c", int, "d") Match;
int N;
Match[] M;
int[]... | D |
module dlangide.ui.dsourceedit;
import dlangui.core.logger;
import dlangui.core.signals;
import dlangui.graphics.drawbuf;
import dlangui.widgets.editors;
import dlangui.widgets.srcedit;
import dlangui.widgets.menu;
import dlangui.widgets.popup;
import dlangui.widgets.controls;
import dlangui.widgets.scroll;
import dla... | D |
instance NOV_1308_NOVIZE(NPC_DEFAULT)
{
name[0] = NAME_NOVIZE;
npctype = NPCTYPE_AMBIENT;
guild = GIL_NOV;
level = 9;
voice = 14;
id = 1308;
flags = NPC_FLAG_IMMORTAL;
attribute[ATR_STRENGTH] = 15;
attribute[ATR_DEXTERITY] = 15;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS... | D |
module ui.parse.css.font_family;
| D |
/*
* Hunt - A redis client library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.redis.commands.BinaryRedisCommands;
import hunt.redis.BinaryRedisPubSub;
import hunt.redis.BitOP;
import hunt... | D |
/Users/admin/Documents/anandhan/anand_projects/poc/rust-lang/projects/guessing_game/rls/debug/deps/hello_cargo-b776b287873ab085.rmeta: src/main.rs
/Users/admin/Documents/anandhan/anand_projects/poc/rust-lang/projects/guessing_game/rls/debug/deps/hello_cargo-b776b287873ab085.d: src/main.rs
src/main.rs:
| D |
instance Mod_7510_OUT_Raeuber_REL (Npc_Default)
{
// ------ NSC ------
name = "Räuber";
guild = GIL_OUT;
id = 7510;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ------
fi... | D |
/*
TEST_OUTPUT:
---
U1 = int
U2 = int
V1 = long, K1 = string
V2 = long, K2 = string
TL1 = (int, string)
TL2 = (int, string)
U3 = int
U4 = int
V3 = long, K3 = string
V4 = long, K4 = string
TL3 = (int, string)
TL4 = (int, string)
---
*/
static if (is(int* == U1*, U1)) { pragma(msg, "U1 = ", U1); }
static if (is(int* : ... | D |
/home/ono/study/rust_tests/guessing_game/target/debug/deps/guessing_game-7b7fa074f1abad57: src/main.rs
/home/ono/study/rust_tests/guessing_game/target/debug/deps/guessing_game-7b7fa074f1abad57.d: src/main.rs
src/main.rs:
| D |
/**
* Interface to the C linked list type.
*
* List is a complete package of functions to deal with singly linked
* lists of pointers or integers.
* Features:
* 1. Uses mem package.
* 2. Has loop-back tests.
* 3. Each item in the list can have multiple predecessors, enabling
* different ... | D |
# FIXED
CortexM.obj: C:/Users/abhil/Documents/tirslk_maze_1_00_01/tirslk_maze_1_00_00/inc/CortexM.c
CortexM.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/stdint.h
CortexM.obj: C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/_stdint40.h
CortexM.obj: C:/ti/ccs910/ccs/tools/compiler/t... | D |
module comet.results_io;
import std.format;
import std.stdio;
import std.range: isForwardRange;
import std.algorithm: splitter, filter, count;
import std.conv: to;
import std.traits: isInstanceOf;
import comet.sma: result, Result, hasContainer, isResult;
import comet.typedefs: Cost, segmentsLength;
private string ... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto N = readln.chomp.to!int;
foreach (_; 0..N) {
auto wh = readln.split.to!(long[]);
writeln(gcd(wh[0], wh[1]));
}
} | D |
module godot.light;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.d.bind;
import godot.object;
import godot.visualinstance;
@GodotBaseClass struct Light
{
static immutable string _GODOT_internal_name = "Light";
public:
union... | D |
module vertexarray;
import derelict.opengl3.gl3;
import shader;
import vector;
class VertexArray(DataType = vec3){
private GLuint vbo;
private GLuint bufferType = GL_ARRAY_BUFFER;
private GLuint memoryMode = GL_STATIC_DRAW;
private uint _length = 0;
this(GLuint _bufferType = GL_ARRAY_BUFFER, GLuint _memMode = G... | D |
module android.java.java.io.NotActiveException;
public import android.java.java.io.NotActiveException_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!NotActiveException;
import import4 = android.java.java.lang.Class;
import import3 = android.java.java.lang.StackTraceElement;
import import0 = a... | D |
/*
Copyright (c) 2015, Dennis Meuwissen
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of ... | D |
module net.pms.external.FinalizeTranscoderArgsListener;
import net.pms.dlna.DLNAMediaInfo;
import net.pms.dlna.DLNAResource;
import net.pms.encoders.Player;
import net.pms.io.OutputParams;
import java.util.List;
/**
* Classes implementing this interface and packaged as pms plugins will have the
* possibility to mo... | D |
/Users/vishesh/Downloads/SkipQueue/build/SkipQueue.build/Debug-iphonesimulator/SkipQueue.build/Objects-normal/x86_64/register.o : /Users/vishesh/Downloads/SkipQueue/SkipQueue/OTPVC.swift /Users/vishesh/Downloads/SkipQueue/SkipQueue/locationVC.swift /Users/vishesh/Downloads/SkipQueue/SkipQueue/mallsVC.swift /Users/vishe... | D |
/**
* The atomic module provides basic support for lock-free
* concurrent programming.
*
* Copyright: Copyright Sean Kelly 2005 - 2010.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly, Alex Rønne Petersen
* Source: $(DRUNTIMESRC core/_atomic.d)
*/
/* ... | 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 |
/*
TEST_OUTPUT:
---
fail_compilation/diag6707.d(17): Error: mutable method `diag6707.Foo.value` is not callable using a `const` object
fail_compilation/diag6707.d(17): Consider adding `const` or `inout` to diag6707.Foo.value
---
*/
module diag6707;
struct Foo
{
@property bool value() { return true; }
... | D |
lspos (4) --- find position in linked string 03/23/80
_C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n
character function lspos (ptr, pos)
pointer ptr
integer pos
Library: vlslb
_F_u_n_... | D |
/+
+ Copyright (c) Charles Petzold, 1998.
+ Ported to the D Programming Language by Andrej Mitrovic, 2011.
+/
module SysMets1;
import core.runtime;
import std.algorithm : max, min;
import std.string;
import std.conv;
import std.utf : count, toUTFz, toUTF16z;
pragma(lib, "gdi32.lib");
import core.sys.windows.winde... | D |
module imports.test63a;
private import test63;
struct s {
char[SIZE] a;
}
| D |
module ui.event.keycodes.glfw;
version( GLFW ):
import bindbc.glfw;
import bindbc.glfw.types;
//import std.string : startsWith;
//import std.format : format;
/*
static
foreach ( m; __traits( allMembers, bindbc.glfw.types ) )
{
static
if ( m.startsWith( "GLFW_KEY_" ) )
{
//pragma( msg, m );
... | D |
// curses test 1
import curse = deimos.ncurses.curses;
import cpanel = deimos.ncurses.panel;
import cform = deimos.ncurses.form;
import cmenu = deimos.ncurses.menu;
import std.stdio;
import std.string;
debug = characters;
void test1()
{
//WINDOW* stdscr = initscr();
// curse.initscr();
// scope(exit) curse.e... | D |
Implementations of Algorithms, Data Structures, and Games in Java. | D |
module tools.list;
import tools.base, tools.each, tools.compat;
class ListBoundsException : Exception { this() { super("List bounds exceeded!"); } }
private const quietly = true;
struct List(T) {
struct Entry {
T value;
Entry* next, prev;
static Entry *opCall(T value, Entry *next, Entry *prev) {
... | D |
module testxxx8;
import core.vararg;
extern(C)
{
int atoi(const char*);
int printf(const char*, ...);
size_t strlen(const char*);
version(Windows)
{
int _snprintf(char*, size_t, const char*, ...);
alias _snprintf snprintf;
}
else
int snprintf(char*, size_t, const c... | D |
module android.java.android.icu.util.LocaleData_MeasurementSystem;
public import android.java.android.icu.util.LocaleData_MeasurementSystem_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!LocaleData_MeasurementSystem;
import import0 = android.java.java.lang.Class;
| D |
module UnrealScript.UnrealEd.InterpTrackDirectorHelper;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UnrealEd.InterpTrackHelper;
extern(C++) interface InterpTrackDirectorHelper : InterpTrackHelper
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property fi... | 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 |
/**
Contains a simple struct(DynamicType) that can store strings, integers, booleans and decimals only.
Authors:
Paul Crane
*/
module raijin.types.dynamic;
import std.conv : to;
import raijin.types.functions;
/**
A simple type that can store strings, integers, booleans and decimals only.
*/
struct DynamicType... | D |
module Dgame.Graphics.Transform;
private {
debug import std.stdio;
import derelict.opengl3.gl;
import Dgame.Graphics.Transformable;
import Dgame.Window.Window;
import Dgame.Math.Rect;
}
/**
* An object for the transformation of e.g. TileMaps.
*
* Author: rschuett
*/
final class Transform : Transformable ... | D |
/**
* Skadi.d Web Framework
*
* Authors: Faianca
* Copyright: Copyright (c) 2015 Faianca
* License: MIT License, see LICENSE
*/
module Application.PostBundle.Services.PostManager;
import Application.PostBundle.Services.MongoService;
import Application.PostBundle.Services.TestService;
import skadi.framework;
impo... | D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
/**
* Source file for Material.
*/
module charge.gfx.material;
import std.regexp : RegExp;
import std.conv : toFloat, ConvError, ConvOverflowError;
import std.string : format;
import lib.xml.xm... | 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_0_banking-1834... | D |
/home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/CPAnalysisExamples/obj/CPAnalysisExamplesCINT.o /home/shepj/xaod/ROOTAnalysisTutorial/RootCoreBin/obj/x86_64-slc6-gcc49-opt/CPAnalysisExamples/obj/CPAnalysisExamplesCINT.d : /cvmfs/atlas.cern.ch/repo/sw/ASG/AnalysisBase/2.3.45/CPAnalysisExample... | D |
module threading.selector;
import std.string : format;
/**
* Exception type made for selector handlers.
*/
class SelectorException : Throwable {
public:
/**
* Creates a new instance of SelectorException.
* Params:
* msg = The message of the exception.
*/
this(string msg) {
super(msg);
}
}
/**
* A 2-key val... | D |
/******************************************************************************
Fake DLS node GetRange request implementation.
Copyright:
Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******... | D |
// Written in the D programming language.
/**
This module defines generic containers.
Construction:
To implement the different containers both struct and class based
approaches have been used. $(REF make, std,container,util) allows for
uniform construction with either approach.
---
import std.container;
// Construc... | D |
module rml;
import std.stdio;
import std.uni;
import std.conv;
import std.path;
import std.file;
import token;
import bindmap;
import evalstack;
import strtool;
import nativelib.init;
import oplib.init;
void main(string[] args) {
BindMap libCtx = new BindMap();
initNative(libCtx);
initOp(libCtx);
... | D |
func void B_AssignAmbientInfos(var C_Npc slf)
{
if(slf.guild == GIL_VLK)
{
if(slf.npcType == NPCTYPE_AMBIENT)
{
if(slf.voice == 1)
{
B_AssignAmbientInfos_VLK_1(slf);
};
if(slf.voice == 6)
{
B_AssignAmbientInfos_VLK_6(slf);
};
if(slf.voice == 8)
{
B_AssignAmbientInfos_VLK_8(slf... | D |
//Org: http://stackoverflow.com/questions/10923246/c-xna-giant-memory-leak/10924720#10924720 by Andrew Russell Date: 7.6.2012
import std.stdio;
// 11 characters will fit -4294967296
char[11] numberBuffer;
void main() {
writeln(appendNumber("Number: ".dup, -1024));
}
/// <summary>Append an integer without generat... | D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Console.build/Utilities/Exports.swift.o : /Users/work/Projects/Hello/.build/checkouts/console.git--2431895819212044213/Sources/Console/Terminal/ANSI.swift /Users/work/Projects/Hello/.build/checkouts/console.git--2431895819212044213/Sources/Console/Depreca... | D |
import std.stdio;
import std.string;
import std.file;
const string BASE_PATH = "data";
const string META_FILE_NAME = "meta.ckt";
const string SCHEMA_EXTENSION = "schema";
const string RECORD_EXTENSION = "record";
const string INDEX_EXTENSION = "index";
File load_file(string filename) {
_init();
string path = form... | D |
/**
* CPU abstraction
*
* Copyright: 2008 The Neptune Project
*/
module util.arch.cpu;
import util.arch.apic;
import util.arch.gdt;
import util.arch.idt;
import util.arch.tss;
import util.arch.descriptor;
import util.arch.paging;
// Assume a 1000MHz CPU Bus for now
const uint CPU_BUS_SPEED = 1000000000;
templat... | D |
/substrate-node-template/target/debug/build/rand_pcg-f01715b253ffb18b/build_script_build-f01715b253ffb18b: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_pcg-0.1.2/build.rs
/substrate-node-template/target/debug/build/rand_pcg-f01715b253ffb18b/build_script_build-f01715b253ffb18b.d: /root/.cargo/registry/src... | D |
/**
Contains an implementation of stochastic gradient descent that relies on automatic differentiation
Authors: Henry Gouk
*/
module dopt.online.sgd;
import dopt.core;
import dopt.online;
/**
Creates a delegate that can be used to perform a step using the stochastic gradient descent update rule.
... | D |
// Copyright Michael D. Parker 2018.
// 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 bindbc.freetype.bind.fttrigon;
import bindbc.freetype.bind.ftimage,
bindbc.freetype.bind.... | D |
// { dg-do compile }
module asm1;
void parse1()
{
asm
{
""h; // { dg-error "found 'h' when expecting ':'" }
}
}
void parse2()
{
asm
{
"" : : "g" (1 ? 2 : 3);
"" : : "g" (1 ? 2 : :) 3;
// { dg-error "expression expected, not ':'" "" { target *-*-* } .-1 }
... | D |
module juno.base.all;
public import juno.base.core,
juno.base.string,
juno.base.collections,
juno.base.text,
juno.base.math,
juno.base.environment,
juno.base.threading,
juno.base.time,
juno.base.events;
public import juno.locale.constants,
juno.locale.core,
juno.locale.time,
juno.... | D |
/**
Pattern based URL router for HTTP request.
See `URLRouter` for more details.
Copyright: © 2012-2015 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.http.router;
public import vibe.http.server;
import vibe.core.... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.build/Future+Void.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Async+NIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/core/Sources/Async/Future... | D |
#!/usr/bin/env rdmd -i -I..
import std.stdio;
import std.datetime.stopwatch;
import std.range;
import std.algorithm;
import std.conv;
import std.concurrency;
import kreikey.intmath;
import kreikey.digits;
import kreikey.util;
void main() {
StopWatch timer;
enum maxDigits = getMaxDigits();
auto sortedDigits = ne... | D |
/Users/John/Desktop/Vain/build/Vain.build/Debug-iphonesimulator/Vain.build/Objects-normal/x86_64/ViewController.o : /Users/John/Desktop/Vain/Vain/ViewController.swift /Users/John/Desktop/Vain/Vain/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimula... | D |
const input = `3,8,1005,8,330,1106,0,11,0,0,0,104,1,104,0,3,8,102,-1,8,10,1001,10,1,10,4,10,108,0,8,10,4,10,1001,8,0,28,1,1103,17,10,1006,0,99,1006,0,91,1,102,7,10,3,8,1002,8,-1,10,101,1,10,10,4,10,108,1,8,10,4,10,1002,8,1,64,3,8,102,-1,8,10,1001,10,1,10,4,10,108,0,8,10,4,10,102,1,8,86,2,4,0,10,1006,0,62,2,1106,13,10,3... | D |
/Users/sijo/Desktop/test2/Build/Intermediates/ULCH.build/Debug-iphonesimulator/ULCH.build/Objects-normal/x86_64/ULSignUpViewController.o : /Users/sijo/Desktop/test2/ULCH/DashBoard/PresentedViewController.swift /Users/sijo/Desktop/test2/ULCH/CoreData/LocImageDetails+CoreDataClass.swift /Users/sijo/Desktop/test2/ULCH/Das... | D |
United States filmmaker whose works explore the richness of black culture in America (born in 1957)
United States striptease artist who became famous on Broadway in the 1930s (1914-1970)
United States actor who was an expert in kung fu and starred in martial arts films (1941-1973)
United States physicist (born in China... | D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/Routing.build/ParametersContainer.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Routing-1.0.2/Sources/Routing/Branch.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Routing-1.0.2/Sources/Routing/Para... | D |
/* THIS FILE GENERATED BY bcd.gen */
module bcd.fltk.Fl_Overlay_Window;
public import bcd.bind;
public import bcd.fltk.Fl_Double_Window;
public import bcd.fltk.Fl_Window;
public import bcd.fltk.Fl_Group;
public import bcd.fltk.Fl_Widget;
public import bcd.fltk.Enumerations;
extern (C) void _BCD_delete_17Fl_Overlay_Wind... | D |
module dmocks.interval;
import dmocks.util;
import std.conv;
import std.exception;
package:
struct Interval
{
bool Valid()
{
return Min <= Max;
}
private int _min;
private int _max;
@property int Min()
{
return _min;
}
@property int Max()
{
return _m... | D |
/Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/Build/Intermediates/FareDeal.build/Debug-iphonesimulator/FareDeal.build/Objects-normal/x86_64/ProfileModel.o : /Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/FareDeal/RestaurantDealsVC.swift /Users/angelasmith/Desktop/SourceTree/Develop2/FareDeal/FareDeal... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.