code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxCocoa.build/Objects-normal/x86_64/UIImageView+Rx.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxCocoa/RxCocoa/RxCocoa.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxCocoa/RxCocoa/Deprecated.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxCocoa/... | D |
/home/drk/iot/12_may_workshop/may_12_1/chap4/iftari/target/release/deps/iftari-4cbc0ddb83304c3f: src/main.rs
/home/drk/iot/12_may_workshop/may_12_1/chap4/iftari/target/release/deps/iftari-4cbc0ddb83304c3f.d: src/main.rs
src/main.rs:
| D |
// REQUIRED_ARGS: -preview=dip1000
// https://github.com/dlang/dmd/pull/9383
void test() @safe
{
int[1] a = [1];
cartesianProduct(a[]);
}
auto cartesianProduct(RR...)(RR ranges)
{
static struct Result
{
RR current;
void popFront() scope @safe
{
foreach (ref r; curr... | D |
/Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Bag+Rx.o : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/nalousnguyen/Documents/Fi... | D |
# FIXED
Startup/osal_icall_ble.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/simple_peripheral/cc26xx/stack/osal_icall_ble.c
Startup/osal_icall_ble.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/inc/icall.h
Startup/osal_icall_ble.obj: C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_5.2.6/inc... | D |
instance DIA_Graham_EXIT(C_Info)
{
npc = VLK_573_Graham;
nr = 999;
condition = Info_Graham_EXIT_Condition;
information = Info_Graham_EXIT_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_Graham_EXIT_Condition()
{
return 1;
};
func void Info_Graham_EXIT_Info()
{
AI_StopProcessInfos(self);
};
i... | D |
// 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.
*/
/**
* Computes MD5 digests of arbitrary data. MD5 digests are 16 byte quantities that are like a checksum or crc, but are more robust... | D |
/Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyKit/derived_data/Build/Intermediates.noindex/CredifyKit.build/Release-iphonesimulator/CredifyKit.build/Objects-normal/x86_64/UserExternalModel.o : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyKit/CredifyKit/Data/ScopeData.swift /Users/nalousnguyen/Doc... | D |
/Users/salimbraksa/Desktop/Machinery/Build/Intermediates/Machinery.build/Debug-iphonesimulator/Machinery.build/Objects-normal/x86_64/Transition.o : /Users/salimbraksa/Desktop/Machinery/Machinery/Node.swift /Users/salimbraksa/Desktop/Machinery/Machinery/StateMachine.swift /Users/salimbraksa/Desktop/Machinery/Machinery/S... | D |
/Users/felixdescoteaux/exercism/rust/run-length-encoding/target/debug/run_length_encoding-3c71736a92733c57: /Users/felixdescoteaux/exercism/rust/run-length-encoding/src/lib.rs /Users/felixdescoteaux/exercism/rust/run-length-encoding/tests/run-length-encoding.rs
| D |
// @file struct_ctor.d
import std.stdio;
struct StructType{
int mData1;
int mData2;
// this(){
// mData1 = 100;
// mData2 = 200;
// }
this(int _mData1){
mData1 = _mData1;
mData2 = 200;
}
this(int _mData1, int _mData2){
mData1 = _mData1;
mData2 = ... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
* Entry point for DMD.
*
* This modules defines the entry point (main) for DMD, as well as related
* utilities needed for arguments parsing, path manipulation, etc...
* This file is not shared with other compilers which... | D |
/**
List of all standard HTTP status codes.
Copyright: © 2012 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Jan Krüger
*/
module vibe.http.status;
/**
Definitions of all standard HTTP status codes.
*/
enum HTTPStatus {
continue_ ... | D |
/**
Utility functions for writing XLLs
*/
module xlld.sdk.framework;
import xlld.sdk.xlcall;
/**
Will free any malloc'd memory associated with the given
LPXLOPER, assuming it has any memory associated with it
Parameters:
LPXLOPER pxloper Pointer to the XLOPER whose associated
*/
... | D |
// Written in the D programming language.
/**
This module contains common Plaform definitions.
Platform is abstraction layer for application.
Synopsis:
----
import dlangui.platforms.common.platform;
----
Copyright: Vadim Lopatin, 2014
License: Boost License 1.0
Authors: Vadim Lopatin, coolreader.org@gmail.co... | D |
import vibe.core.core;
import vibe.core.log;
import vibe.inet.url;
import vibe.http.server;
import vibe.http.websockets;
shared static this()
{
auto settings = new HTTPServerSettings;
settings.port = 0;
settings.bindAddresses = ["127.0.0.1"];
immutable serverAddr = listenHTTP(settings, handleWebSockets((scope ws) ... | D |
module org.serviio.upnp.service.contentdirectory.command.video.ListVideoPlaylistsCommand;
import org.serviio.library.entities.AccessGroup;
import org.serviio.library.metadata.MediaFileType;
import org.serviio.profile.Profile;
import org.serviio.upnp.service.contentdirectory.ObjectType;
import org.serviio.upnp.service.... | D |
nocturnal lemur with long bony fingers and rodent-like incisor teeth closely related to the lemurs
| D |
class A{
string a;
void set_a(string a) {
this.a = a;
}
string get_a(){
return a;
}
bool comp(A oth){
if (a == oth.get_a())
return true;
return false;
}
}
int main() {
double res;
int a;
int b;
a = ReadInteger();... | D |
/Users/davelevy/Desktop/80pts/80pts/Build/Intermediates/SwiftMigration/80pts/Intermediates.noindex/80pts.build/Debug-iphonesimulator/80pts.build/Objects-normal/x86_64/PeopleCell.o : /Users/davelevy/Desktop/80pts/80pts/80pts/Wage.swift /Users/davelevy/Desktop/80pts/80pts/80pts/People.swift /Users/davelevy/Desktop/80pts/... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQL.build/SQLExpression.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/sql.git--1773354893095289533/Sources/SQL/SQLBind.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/sql.git--1773354893095289533/Sources/SQL/S... | 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,... | D |
module hud;
public {
import hud.stuff;
import hud.text;
import hud.bar;
import hud.radial;
} | D |
/**
* TypeInfo support code.
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Walter Bright
*/
/* Copyright Digital Mars 2004 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See... | D |
# FIXED
driverlib/i2c_master_w_multibyte-master_code/ccs/startup_msp432p401r_ccs.obj: ../driverlib/i2c_master_w_multibyte-master_code/ccs/startup_msp432p401r_ccs.c
driverlib/i2c_master_w_multibyte-master_code/ccs/startup_msp432p401r_ccs.obj: /Applications/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h
... | D |
a human fetus whose weight is less than 0.5 kilogram when removed or expelled from the mother's body
| D |
// Written in the D programming language.
/**
Classes and functions for handling and transcoding between various encodings.
For cases where the _encoding is known at compile-time, functions are provided
for arbitrary _encoding and decoding of characters, arbitrary transcoding
between strings of different type, as wel... | D |
instance PAL_270_Ritter(Npc_Default)
{
name[0] = NAME_Ritter;
guild = GIL_PAL;
id = 270;
voice = 6;
flags = 0;
npcType = NPCTYPE_OCMAIN;
B_SetAttributesToChapter(self,4);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_2h_Pal_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Fighter"... | D |
import hurt.io.stdio;
import hurt.conv.conv;
import hurt.string.stringutil;
import hurt.util.slog;
extern(C) {
void initSocketForSending(char*, ushort);
int writeSocketForSending(void*, int);
int readSocketForSending(void*, int);
void closeSocketForSending();
}
void main() {
initSocketForSending(
cast(char*)to... | D |
module CastleStory.Config;
static struct Configuration
{
/++
+ The time to delay responding to
+ every message, in milliseconds.
+/
size_t latency = 0;
uint gameCount = 1;
uint maxPlayers = 1;//4;
uint maxObservers = 1;
bool metricsEnabled = true;
string mapsPath = "../maps";
ushort port = 8080;
}
__gs... | D |
//NS - 26/10/13 добавлены нужные, убраны лишние, упорядочено
// ================= СТРЕЛЫ =========================
instance ItRw_Arrow(C_Item)
{
name = "Стрела";
mainflag = ITEM_KAT_MUN;
flags = ITEM_BOW | ITEM_MULTI;
value = Value_Pfeil;
visual = "ItRw_Arrow.3ds";
scemeName = "ROM";
material = MAT_WOOD;
desc... | D |
instance BAU_902_Pock (Npc_Default)
{
//-------- primary data --------
name = "Pock";
npctype = npctype_main;
guild = GIL_BAU;
level = 4;
voice = 4;
id = 902;
//-------- abilities --------
attribute[ATR_STRENGTH] = 20;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribu... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/SQL.build/SQLSelectBuilder.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/sql/Sources/SQL/SQLJoinMeth... | D |
module botan_math.mem_ops;
import core.stdc.string : memset, memmove;
/**
* Zeroise memory
* Params:
* ptr = a pointer to an array
* n = the number of Ts pointed to by ptr
*/
void clearMem(T)(T* ptr, size_t n)
{
memset(ptr, 0, T.sizeof*n);
}
/**
* Copy memory
* Params:
* output = the destinati... | D |
module snippet138;
import dwt.DWT;
import dwt.graphics.GC;
import dwt.graphics.Image;
import dwt.widgets.Display;
import dwt.widgets.Shell;
void main() {
Display display = new Display();
Image small = new Image(display, 16, 16);
GC gc = new GC(small);
gc.setBackground(display.getSystemColor(DWT.COL... | D |
a gold coin of the Byzantine Empire
a punctuation mark (/) used to separate related items of information
| D |
module http.server.Route;
import std.regex;
import http.handler.Handler;
import http.protocol.Request;
import http.server.Transaction;
import dlog.Logger;
class Route
{
this(string a_route, Handler a_handler)
{
m_route = a_route;
m_handler = a_handler;
m_rex = regex(m_route);
}
@... | D |
module interfaces.collider;
public import fuji.vector;
import fuji.collision;
import std.algorithm;
import std.math;
enum CollisionType
{
Sphere,
Box,
}
// Still kinda hacky
enum CollisionClass
{
None = 0x0,
Robot = 0x1,
Mushroom = 0x2,
Obstacle = 0x4,
}
interface ICollider
{
void OnAddCollision(Collision... | D |
module meteredconcurrency ;
import std.stdio ;
import std.thread ;
import std.c.time ;
class Semaphore {
private int lockCnt, maxCnt ;
this(int count) { maxCnt = lockCnt = count ;}
void acquire() {
if(lockCnt < 0 || maxCnt <= 0)
throw new Exception("Negative Lock or Zero init. Lock") ;
while(lockCn... | D |
an adult person who is male (as opposed to a woman
someone who serves in the armed forces
the generic use of the word to refer to any human being
any living or extinct member of the family Hominidae characterized by superior intelligence, articulate speech, and erect carriage
a male subordinate
an adult male person who... | D |
/**
* D header file for POSIX.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Sean Kelly,
Alex Rønne Petersen
* Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
*/
/* C... | D |
a form of life insurance whereby on the death or default of a participant his share is distributed to the remaining members
an annuity scheme wherein participants share certain benefits and on the death of any participant his benefits are redistributed among the remaining participants
| D |
/*
* Licensed under the GNU Lesser General Public License Version 3
*
* This library 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 3 of the license, or
* (at your option) any late... | D |
instance SLD_702_Soeldner(Npc_Default)
{
name[0] = NAME_Soeldner;
npcType = npctype_main;
guild = GIL_SLD;
level = 18;
voice = 4;
id = 702;
attribute[ATR_STRENGTH] = 90;
attribute[ATR_DEXTERITY] = 70;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 256;
attribute[ATR_HI... | D |
/**
The exception module defines all system-level exceptions and provides a
mechanism to alter system-level error handling.
Copyright: Copyright Sean Kelly 2005 - 2013.
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Sean Kelly and $(HTTP jmdavisprog.com, Jonathan M ... | D |
// BulletD - a D binding for the Bullet Physics engine
// written in the D programming language
//
// Copyright: Ben Merritt 2012 - 2013,
// MeinMein 2013 - 2014.
// License: Boost License 1.0
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.tx... | D |
module polyplex;
import bindbc.sdl;
import bindbc.opengl;
import openal;
import polyplex.utils.logging;
import std.stdio;
import std.conv;
static import std.file;
static import std.process;
public import polyplex.core;
public import polyplex.math;
public import polyplex.utils.logging;
public static GraphicsBackend... | 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 deepmagic.layout.code_black.sidebar_block.sidebar_menu_block.sidebar_menu_block;
import deepmagic.layout.code_black;
class AppLayoutSidebarMenuBlock : UlElement{
//import home;
//HomeMenuWidget home_menu = null;
//import widget;
//WidgetMenuWidget widget_menu = null;
this(){
super();
this.tag.attr["... | D |
import
std.algorithm,
std.array,
std.conv,
std.datetime,
std.exception,
std.file,
std.functional,
std.format,
std.stdio,
std.string;
struct Route
{
int dest, cost;
}
struct Node
{
Route[] neighbours;
}
alias maximize = partial!(reduce!max, 0);
Node[] readPlaces(string text) pure
{
auto lin... | D |
the cardinal number that is the sum of eight and one
a team of professional baseball players who play and travel together
one of four playing cards in a deck with nine pips on the face
| D |
instance VLK_506_BUDDLER(NPC_DEFAULT)
{
name[0] = "Грант";
npctype = NPCTYPE_MAIN;
guild = GIL_VLK;
level = 5;
voice = 19;
id = 506;
attribute[ATR_STRENGTH] = 13;
attribute[ATR_DEXTERITY] = 10;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 64;
attribute[ATR_HITPOINTS]... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1... | D |
module scid.data.Unit;
import std.algorithm;
enum UnitPrefix {
PICO = 0.000000000001,
NANO = 0.000000001,
MICRO = 0.000001,
MILLI = 0.001,
CENTI = 0.01,
DECI = 0.1,
NONE = 1,
DEKA = 10,
HECTO = 100,
KILO = 1000,
MEGA = 1000000,
GIGA = 1000000000,
TERA = 100000000000... | D |
/// N-dimension vector mathematical object
module gfm.math.vector;
import std.traits,
std.math,
std.conv,
std.array,
std.string;
import gfm.math.funcs;
/**
* Generic 1D small vector.
* Params:
* N = number of elements
* T = type of elements
*/
struct Vector(T, int N)
{
nothrow:... | D |
module dialog.chat.message.message;
import std.datetime;
import std.typecons;
import dialog.chat.message.user;
import dialog.chat.message.theme;
/**
* Msg is a base type for other message types.
*/
struct Message {
string content;
SysTime timestamp;
this(string _content) {
content = content;... | D |
module raytracer.Vector;
import raytracer.Math;
public struct Ray
{
public Vector point;
public Vector direction;
}
public struct Vector
{
public union
{
public struct
{
double x, y, z;
}
double[3] v;
}
public Vector normalize... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM ROCKTYPE
320 63 9 15.5 34 65 -38 145.5 1854 16 16 extrusives
314 70 6 132 48 50 -33.2999992 151.199997 1844 9 10 intrusives, basalt
302.700012 66.8000031 6.80000019 35 34 65 -38 145.5 1819 10.8000002 12.1000004 extrusives
274 66 27.6000004 8.60000038 25 65 ... | D |
int /+T1@+/mx;
int mxref = /+R1@+/mx; // same scope (to module)
class Foo {
int mxref = /+R2@+/mx; // 1 outer scope (to module)
int /+T3@+/foox;
int func(int /+T5@+/a) in {
int mx; int foox; // decoys
} out(mx) {
int mx; i... | D |
module android.java.android.graphics.drawable.AdaptiveIconDrawable;
public import android.java.android.graphics.drawable.AdaptiveIconDrawable_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!AdaptiveIconDrawable;
import import14 = android.java.android.graphics.drawable.Drawable_ConstantState;
i... | 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 |
instance DIA_Parlan_Kap1_EXIT(C_Info)
{
npc = KDF_504_Parlan;
nr = 999;
condition = DIA_Parlan_Kap1_EXIT_Condition;
information = DIA_Parlan_Kap1_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Parlan_Kap1_EXIT_Condition()
{
if(Kapitel <= 1)
{
return TRUE;
};
};
func void DIA_Parl... | D |
import core.runtime;
import std;
import core.stdc.stdlib : exit;
private enum MODULE_STR = "module ";
private void printHelp() {
writefln("Usage: dmodule-check <dub-root-project-dir>");
}
private void printNotInDub() {
writeln("Run this program in a dub project");
}
private void printRootNotExists(string root) {
... | 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 |
// Written in the D programming language.
/**
Utility and ancillary artifacts of `std.experimental.allocator`. This module
shouldn't be used directly; its functionality will be migrated into more
appropriate parts of `std`.
Authors: $(HTTP erdani.com, Andrei Alexandrescu), Timon Gehr (`Ternary`)
Source: $(PHOBOSSRC s... | D |
// Written in the D programming language.
/**
* $(RED Deprecated. It will be removed in February 2012.
* Please use std.datetime instead.)
*
* Dates are represented in several formats. The date implementation
* revolves around a central type, $(D d_time), from which other
* formats are converted to and fro... | D |
/home/molok/projects/rust/simulation/target/debug/build/syn-7181101b4c7463bf/build_script_build-7181101b4c7463bf: /home/molok/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.58/build.rs
/home/molok/projects/rust/simulation/target/debug/build/syn-7181101b4c7463bf/build_script_build-7181101b4c7463bf.d: /home/mol... | D |
/* A library for making consensus scans based on cosine scores.
*
* Author: Jonathan Samson
* Date: 17 August 2020
*/
module consensus;
import scans;
import mscosine;
class ConsensusScan
{
real[real] consensus_peaks;
double peak_threshold;
MSXScan[] included_scans;
void add_scan(MSXScan new_scan)
/* Adds a ... | D |
func int c_snapperdeath()
{
if(Npc_IsDead(newmine_snapper1) && Npc_IsDead(newmine_snapper2) && Npc_IsDead(newmine_snapper3) && Npc_IsDead(newmine_snapper4) && Npc_IsDead(newmine_snapper5) && Npc_IsDead(newmine_snapper6) && Npc_IsDead(newmine_snapper7) && Npc_IsDead(newmine_snapper8))
{
return TRUE;
};
};
instan... | D |
instance DIA_Wulfgar_EXIT(C_Info)
{
npc = MIL_312_Wulfgar;
nr = 999;
condition = DIA_Wulfgar_EXIT_Condition;
information = DIA_Wulfgar_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Wulfgar_EXIT_Condition()
{
return TRUE;
};
func void DIA_Wulfgar_EXIT_Info()
{
AI_StopProcessInfos(se... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.bigint;
void main()
{
auto xyw = readln.split;
auto x = xyw[0].to!int - 1;
auto y = xyw[1].to!int - 1;
auto W = xyw[2] ~ "_";
int dx, dy;
if (W[0] == 'U' || W[1] == 'U') dy = -1;
if (W... | D |
module bitmap;
import std.stdio, std.array, std.exception, std.string, std.conv,
std.algorithm, std.ascii;
final class Image(T) {
static if (is(typeof({ auto x = T.black; })))
const static T black = T.black;
else
const static T black = T.init;
static if (is(typeof({ auto x = T.whit... | D |
/*
TEST_OUTPUT:
---
fail_compilation/failinout2.d(7): Error: variable `failinout2.x` only parameters or stack based variables can be `inout`
---
*/
inout int x;
| D |
/Users/nitisha/Documents/My_Task/DemoApplication/Build/Intermediates/DemoApplication.build/Debug-iphonesimulator/DemoApplication.build/Objects-normal/x86_64/Items.o : /Users/nitisha/Documents/My_Task/DemoApplication/DemoApplication/Application/AppDelegate.swift /Users/nitisha/Documents/My_Task/DemoApplication/DemoAppli... | D |
#! /usr/bin/env dub
/+ dub.sdl:
dependency "ctprimes" version="~>1.0.1"
+/
void main() {
import ctprimes: ctPrimesLessThan;
import std.stdio: writeln;
import std.algorithm: sum;
enum answer = ctPrimesLessThan!(20_000).sum;
writeln(answer);
}
| D |
/Users/caitlin/src/Clients/vrodeo/vrodeo/vrodeo/DerivedData/vrodeo/Build/Intermediates/vrodeo.build/Debug-iphonesimulator/vrodeoTests.build/Objects-normal/x86_64/vrodeoTests.o : /Users/caitlin/src/Clients/vrodeo/vrodeo/vrodeo/vrodeoTests/vrodeoTests.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefau... | D |
module rocl.gui.misc;
import std, perfontain, rocl, rocl.paths, ro.conv, ro.conv.item;
void registerHotkeys()
{
foreach (i; 0 .. 36)
{
auto dg = {
uint idx = i, k;
if (idx > 8)
{
auto n = idx - 9;
auto hotkeys = `qwertyuioasdfghjklzxcvbnm`;
k = n >= hotkeys.length ? [
SDLK_COMMA, /*SDL... | D |
a substance that can be burned to provide heat or power
capable of igniting and burning
| D |
/home/anishthite/Workspace/rust/hello_cargo/target/debug/deps/hello_cargo-a983db11f4a3450b: src/main.rs
/home/anishthite/Workspace/rust/hello_cargo/target/debug/deps/hello_cargo-a983db11f4a3450b.d: src/main.rs
src/main.rs:
| D |
/**
Copyright: Copyright (c) 2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.blockentity.blockentityman;
import pluginlib;
import voxelman.math;
import voxelman.utils.mapping;
import voxelman.world.blockentity;
final class BlockEntityMan... | D |
instance MENU_OPT_VIDEO(C_MENU_DEF)
{
items[0] = "MENUITEM_VID_HEADLINE";
items[1] = "MENUITEM_VID_WINDOW";
items[2] = "MENUITEM_VID_WINDOW_CHOICE";
items[3] = "MENUITEM_VID_DEVICE";
items[4] = "MENUITEM_VID_DEVICE_CHOICE";
items[5] = "MENUITEM_VID_RESOLUTION";
items[6] = "MENUITEM_VID_RESOLUTION_CHOICE";
item... | 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_BeT-11115721... | D |
/// Contains code related to the main rendering process.
module jarena.graphics.renderer;
private
{
import std.experimental.logger, std.typecons, std.format;
import derelict.sdl2.sdl;
import opengl;
import jarena.core, jarena.graphics, jarena.maths;
const CAPTURED_SCENE_DIRECTORY = "data/debug/sce... | D |
/Users/Zhongli/Desktop/NewsDemo/DerivedData/NewsDemo/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintMakerExtendable.o : /Users/Zhongli/Desktop/NewsDemo/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/Zhongli/Desktop/NewsDemo/Pods/SnapKit/Source/Const... | D |
// REQUIRED_ARGS: -w
// https://issues.dlang.org/show_bug.cgi?id=4375: Dangling else
/*
TEST_OUTPUT:
---
fail_compilation/fail4375m.d(17): Warning: else is dangling, add { } after condition at fail_compilation/fail4375m.d(14)
Error: warnings are treated as errors
Use -wi if you wish to treat warnings only as inf... | D |
module android.java.org.w3c.dom.Document;
public import android.java.org.w3c.dom.Document_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Document;
import import9 = android.java.org.w3c.dom.EntityReference;
import import15 = android.java.org.w3c.dom.Document;
import import1 = android.java.org.... | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Stewart Gordon
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_cpl.d)
*/
module core.sys.windows.cpl;
version (Windows):
@system:
version (ANSI) {} else v... | D |
global reliable message RequestMessage
{
};
| D |
//#might work!
//#why does with(sortBy) not work?
import std.stdio, std.string, std.conv, std.algorithm, std.array;
@property bool empty(T)(T[] a) { return a.length == 0; }
@property ref T front(T)(T[] a) { return a[0]; }
void popFront(T)(ref T[] a) { a = a[1..$]; }
V jreduce(alias fun, V, R)(V x, R range)
if (is(ty... | D |
private import std.file, std.string, std.stdio, std.path, std.regexp, std.stream, std.intrinsic;
template TSerialize(T) {
ubyte[] TSerialize(T *t) {
return (cast(ubyte *)t)[0..T.sizeof];
}
}
// TODO
/*class SliceStreamNotClose : SliceStream {
}*/
void copyStream(Stream from, Stream to) {
if (false) {
ubyte[]... | D |
rule a country as a tyrant
rule or exercise power over (somebody) in a cruel and autocratic manner
| D |
module d.semantic.defaultinitializer;
import d.semantic.semantic;
import d.ir.expression;
import d.ir.symbol;
import d.ir.type;
import d.context.location;
alias InitBuilder = DefaultInitializerVisitor!(true, false);
alias InstanceBuilder = DefaultInitializerVisitor!(false, false);
alias NewBuilder = DefaultInitiali... | 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 |
/*************************************************************************
** Razor Prototype (Anims wie Snapper) **
*************************************************************************/
PROTOTYPE Mst_Default_Razor(C_Npc)
{
name = "Brzytwiak";
guild = GIL_SNAPPER;
aivar[AIV_MM_REAL_ID] ... | D |
module test.websocket;
import hunt.http.$;
import hunt.http.client.websocket.SimpleWebSocketClient;
import hunt.http.server.websocket.SimpleWebSocketServer;
import hunt.http.utils.RandomUtils;
import hunt.collection.BufferUtils;
import hunt.util.runners.Parameterized;
import java.nio.charset.StandardCharsets;
import ... | D |
/Users/godemodegame/Desktop/ATMApp/.build/x86_64-apple-macosx10.10/debug/Vapor.build/Sessions/Session.swift.o : /Users/godemodegame/Desktop/ATMApp/.build/checkouts/vapor.git-5492988889259800272/Sources/Vapor/Utilities/FileIO.swift /Users/godemodegame/Desktop/ATMApp/.build/checkouts/vapor.git-5492988889259800272/Sources... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
... | 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 |
/*******************************************************************************
copyright: Copyright (c) 2005 John Chapman. все rights reserved
license: BSD стиль: $(LICENSE)
version: Mопр 2005: Initial release
Apr 2007: reshaped ... | D |
small dry membranous bract found in inflorescences of Gramineae and Cyperaceae
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.