code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
program params;
procedure print_ints(a : integer; b : integer);
begin
write(a + 48);
write(b + 48);
end;
begin
print_ints(2, 3);
end.
| D |
/Users/user/Documents/RiseTimeAssets/server/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.build/Connection/Container+NewConnection.swift.o : /Users/user/Documents/RiseTimeAssets/server/.build/checkouts/database-kit.git--3872818599693266265/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/user/Documents/RiseTim... | D |
/home/syx/SYXrepo/vacation_homework/percolation/target/release/deps/libdeflate-510e698b860ebdc9.rlib: /home/syx/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/deflate-0.7.19/src/lib.rs /home/syx/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/deflate-0.7.19/src/compression_options.rs /home/syx/.cargo... | D |
/Users/arjunpola/Documents/Swift/Homework9/build/Homework9.build/Debug-iphonesimulator/Homework9.build/Objects-normal/x86_64/HistoricalZestimates.o : /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPUpload.swift /Users/arjunpola/Documents/Swift/Homework9/Homework9/HTTPTask.swift /Users/arjunpola/Documents/Swift... | D |
/Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/TurnstileWeb.build/URLSession+Turnstile.swift.o : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Turnstile-1.0.6/Sources/TurnstileWeb/URLSession+Turnstile.swift /Users/okasho/serverProject/tryswift/get_post_... | D |
/*
* file.d
*
* This Scaffold holds the File implementations for the Linux platform
*
* Author: Dave Wilkinson
*
*/
module scaffold.file;
import platform.unix.common;
import platform.vars.file;
import core.definitions;
import core.string;
import core.main;
import io.file;
import io.console;
// FILE //
boo... | D |
module test.selective_block.mul;
version (unittest) {
static import test.selective_block.sut_wrapper; // changed
}
size_t mul (const int arg, const int n) {
return arg * n;
}
@("mul")
unittest {
mixin (test.selective_block.sut_wrapper.prologue); // changed
assert (mul(10, 2) == 20);
}
| D |
module d.rt.eh;
import d.rt.dwarf;
import d.rt.unwind;
private enum ExceptionRegno = 0;
private enum SelectorRegno = 1;
private auto getExceptionClass() {
ulong ec;
auto s = "SDC\0D2\0\0";
for (uint i = 0; i < s.length; i++) {
ec = ec << 8 | s[i];
}
return ec;
}
enum ExceptionClass = getExceptionClass();
... | D |
module android.java.android.app.assist.AssistStructure_ViewNode_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.lang.CharSequence_d_interface;
import import3 = android.java... | D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module gio.resolver;
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2008 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as ... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS:
/*
TEST_OUTPUT:
---
print string
print wstring
print dstring
يطبع الترميز الموحد
يطبع الترميز الموحد
يطبع الترميز الموحد
foo_str
foo_wstr
foo_dstr
---
*/
pragma(msg, "print string");
pragma(msg, "print wstring"w);
pragma(msg, "print dstring"d);
pragma(msg, "يطبع الترميز الموحد");
p... | D |
module speech.buffer;
import std.range.primitives;
import std.traits;
import std.typecons : Flag;
alias NullTerminate = Flag!"nullTerminate";
// TODO: try not to split SSML tags
// TODO: optimize for UTF-8/UTF-16 strings and ranges of char/wchar
// TODO: handle space / punctuation separator as grapheme cluster?
// T... | D |
import std.stdio : writeln;
double average(int[] array) {
immutable initialLength = array.length;
double accumulator = 0.0;
while (array.length) {
accumulator += array[0];
array = array[1 .. $];
}
return accumulator / initialLength;
}
void main() {
auto testers = [ [5, 15],
[2,... | D |
module game;
import std.algorithm;
import std.conv;
import std.exception;
import std.math;
import std.socket;
import std.stdio;
import std.string;
version(Windows) import core.sys.windows.windows;
//import derelict.sdl2.sdl;
import ai.patrolai;
import ai.test;
import clan;
import clans;
imp... | D |
/*
* Support for rich error messages generation with `assert`
*
* This module provides the `_d_assert_fail` hooks which are instantiated
* by the compiler whenever `-checkaction=context` is used.
* There are two hooks, one for unary expressions, and one for binary.
* When used, the compiler will rewrite `assert(a... | 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) 2011-2014, Maxime Chevalier-Boisvert. All rights re... | D |
/*******************************************************************************
Asynchronously/Selector managed GetChannels request class
Processes the node's output after a GetChannels command, and forwards the
received data to the provided output delegate.
copyright: Copyright (c) 2014-2017 s... | D |
predacious long-bodied large-eyed insect of warm regions
| D |
int foo(char[] s)
{
return mixin(s);
}
const int x = foo("1"); | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto M = scan!int;
auto solve() {
alias Coord = Tuple!(int, "x", int, "y");
auto graph = new Coord[][][](N, N, 0);
Coord[] moves;
for(int x = 0; x * x <= M; x++) {
for(int y = 0; y * y <= M; y++) {
int m = x * x + y ... | D |
int main(){
int i;
int j;
int k;
int[][][] a;
a = NewArray(3, int[][]);
for(i = 0; i < 3; i = i+1){
a[i] = NewArray(i+1, int[]);
}
for(i = 0; i < 3; i = i+1){
for(j = 0; j <= i; j = j+1){
a[i][j] = NewArray(3, int);
for(k = 0; k < 3; k = k+1){
... | D |
// Based on DirectX 12 from Windows 10 kit 10.0.17134.0
module directx.dxgiformat;
version (Windows) { version = DXGIFormatEnable; }
else { static assert( false, "DXGI is only enabled for Windows." ); }
version( DXGIFormatEnable ):
@system:
extern( C ):
import combindings;
enum DXGI_FORMAT
{
DXGI_FORMAT_UNKNOWN ... | D |
func int B_TeachMagicCircle(var C_Npc slf,var C_Npc oth,var int circle)
{
var int kosten;
kosten = B_GetLearnCostTalent(oth,NPC_TALENT_MAGE,circle);
if((circle < 1) || (circle > 6))
{
Print("*** ERROR: Wrong Parameter ***");
return FALSE;
};
if(oth.lp < kosten)
{
PrintScreen(PRINT_NotEnoughLP,-1,-1,FONT_S... | D |
// Written in the D programming language.
/**
Utilities for manipulating files and scanning directories. Functions
in this module handle files as a unit, e.g., read or write one file
at a time. For opening files and manipulating them via handles refer
to module $(MREF std, stdio).
$(SCRIPT inhibitQuickIndex = 1;)
$(B... | D |
import ar = armos, std.stdio, std.math;
import fragments.entity;
import fragments.square;
import fragments.engine;
import fragments.boundingbox;
import fragments.constraints;
import fragments.constraintpairs;
import fragments.joint;
/++
+/
class Config {
public{
typeof(this) hasGravity(in bool b){
... | D |
import std.stdio, std.algorithm, std.random, std.array;
enum int boxW = 41, boxH = 37; // Galton box width and height.
enum int pinsBaseW = 19; // Pins triangle base size.
enum int nMaxBalls = 55; // Number of balls.
static assert(boxW >= 2 && boxH >= 2);
static assert((boxW - 4) >= (pinsBaseW * 2 - 1));
... | 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 |
module font;
// These imports are public here because this module is useless without those.
public import allegro5.allegro;
public import allegro5.allegro_font;
// Basically just a convenience way of having a global font
// so we don't have to pass around 500 different identical fonts.
class Font
{
static ALLEGRO_FON... | D |
// *************************************************************************
// EXIT
// *************************************************************************
INSTANCE DIA_NOV_3_EXIT(C_INFO)
{
nr = 999;
condition = DIA_NOV_3_EXIT_Condition;
information = DIA_NOV_3_EXIT_Info;
permanent = TRUE;
descrip... | 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 |
// Written in the D programming language.
/**
Functions and types that manipulate built-in arrays.
Copyright: Copyright Andrei Alexandrescu 2008- and Jonathan M Davis 2011-.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(WEB erdani.org, Andrei Alexandrescu) and Jonathan M Davis
Source:... | D |
module android.java.java.io.Closeable;
public import android.java.java.io.Closeable_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Closeable;
import import0 = android.java.java.lang.Class;
| D |
module pixelperfectengine.system.lang.textparser;
public import pixelperfectengine.graphics.fontsets;
public import pixelperfectengine.graphics.bitmap;
public import pixelperfectengine.graphics.text;
public import pixelperfectengine.system.exc;
//public import pixelperfectengine.system.etc : isInteger;
import newxml... | D |
module dyaml.yaml_bench;
//Benchmark that loads, and optionally extracts data from and/or emits a YAML file.
import std.algorithm;
import std.conv;
import std.datetime.systime;
import std.datetime.stopwatch;
import std.file;
import std.getopt;
import std.range;
import std.stdio;
import std.string;
import dyaml;
///G... | D |
/Users/harrisa/dev/apps/b.mobbing/chrono/SwiftyChrono/.build/x86_64-apple-macosx/debug/SwiftyChrono.build/Refiners/Refiner.swift.o : /Users/harrisa/dev/apps/b.mobbing/chrono/SwiftyChrono/Sources/SwiftyChrono/Utils/Date.swift /Users/harrisa/dev/apps/b.mobbing/chrono/SwiftyChrono/Sources/SwiftyChrono/Utils/Util.swift /Us... | D |
/Users/olegp/Desktop/XCoordinatorPlayground/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/SubjectType.o : /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observables... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Command.build/Base/CommandOption.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/console.git--1231705849320085599/Sources/Command/Command/Command.swift /Users/lb/Documents/Project/LearnVapor/.build/checkouts/console.git--1231... | D |
/+
Copyright (c) 2005 Eric Anderton
Copyright (c) 2006 Eric Anderton, Tomasz Stachowiak
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 ... | D |
module firecracker_d.models.boot_source;
import asdf;
import firecracker_d.models.base_model;
struct BootSource {
mixin BaseModel;
/***
* Kernel boot arguments
***/
@serializationKeys("boot_args") string bootArgs;
/***
* Required: Path to kernel bzImage/vmlinux used to boot guest
***/
@serializationRequi... | D |
module UnrealScript.Engine.SeqAct_ToggleHidden;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.SeqAct_Toggle;
extern(C++) interface SeqAct_ToggleHidden : SeqAct_Toggle
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final static ScriptClass S... | D |
/home/cameron/code/gembook/target/rls/debug/deps/cfg_if-b96baa51a3a0a7e9.rmeta: /home/cameron/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.2/src/lib.rs
/home/cameron/code/gembook/target/rls/debug/deps/cfg_if-b96baa51a3a0a7e9.d: /home/cameron/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.2/sr... | D |
module armos.utils.gui.widgets.togglebutton;
public import armos.utils.gui.widgets.widget;
///
class ToggleButton : Widget{
public{
this(in string name, ref bool v){
_v = &v;
_name = name;
static import armos.events;
static import armos.app;
arm... | D |
/home/mag2/Documentos/Rust/rust_colmeia/primeiros_passos/capitulo3_desvio_condiconal/c04ex07/target/rls/debug/deps/c04ex07-db40aa115bf9cfdb.rmeta: src/main.rs
/home/mag2/Documentos/Rust/rust_colmeia/primeiros_passos/capitulo3_desvio_condiconal/c04ex07/target/rls/debug/deps/c04ex07-db40aa115bf9cfdb.d: src/main.rs
src/... | D |
instance PAL_91340_RITTER(Npc_Default)
{
name[0] = NAME_Ritter;
guild = GIL_PAL;
id = 91340;
voice = 8;
flags = 0;
npcType = NPCTYPE_OCAMBIENT;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_1H_Blessed_02);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail117.d(37): Error: expression `foo.mixin MGettor!(a) geta;
` is `void` and has no value
fail_compilation/fail117.d(38): Error: expression `foo.mixin MGettor!(b) getb;
` is `void` and has no value
---
*/
// https://issues.dlang.org/show_bug.cgi?id=420
// mixin make dmd break
//im... | D |
/*******************************************************************************
* Copyright (c) 2000, 2005 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 |
/home/filip/Projects/Engineering/advent_of_code/advent_of_code_19/target/debug/deps/either-3faa29080e14fc5d.rmeta: /home/filip/.cargo/registry/src/github.com-1ecc6299db9ec823/either-1.5.3/src/lib.rs
/home/filip/Projects/Engineering/advent_of_code/advent_of_code_19/target/debug/deps/libeither-3faa29080e14fc5d.rlib: /ho... | D |
# FIXED
utils/uartstdio.obj: C:/ti/TivaWare_C_Series-2.1.1.71/utils/uartstdio.c
utils/uartstdio.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/stdbool.h
utils/uartstdio.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/yvals.h
utils/uartstdio.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/inclu... | D |
/**
* D header file for C99.
*
* $(C_HEADER_DESCRIPTION pubs.opengroup.org/onlinepubs/009695399/basedefs/_string.h.html, _string.h)
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accomp... | D |
module AntiSpam;
import std.stdio;
import std.file;
import std.string;
import std.getopt;
import std.datetime : SysTime, Date, UTC, dur;
import std.exception;
import std.array : array;
import std.algorithm : map;
import ae.net.asockets;
import ae.net.http.server;
import ae.net.http.responseex;
import ae.sys.log;
impo... | D |
/Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/x86_64-apple-macosx10.10/debug/WebSockets.build/Connection/WebSockets+Hash.swift.o : /Users/AleixDiaz/Documents/VaporProject/HerokuChat/.build/checkouts/engine.git-3311994267206676365/Sources/WebSockets/Communication/WebSocket+Send.swift /Users/AleixDiaz/Documen... | D |
an expert on precious stones and the art of cutting and engraving them
a skilled worker who cuts and engraves precious stones
of or relating to precious stones or the art of working with them
| D |
// REQUIRED_ARGS: -preview=rvaluerefparam
//
/* TEST_OUTPUT:
---
Boo!double
Boo!int
true
int
!! immutable(int)[]
int(int i, long j = 7L)
long
C10390(C10390(C10390(<recursion>)))
tuple(height)
tuple(get, get)
tuple(clear)
tuple(draw, draw)
runnable/xtest46.d(149): Deprecation: `opDot` is deprecated. Use `alias this`
run... | D |
; Copyright (C) 2014 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 |
#source: pr27491-4a.s
#source: pr27491-4b.s
#as: --32
#ld: --gc-sections -melf_i386 -z start-stop-gc -shared
#objdump: --syms -dw
.*: +file format elf32-i386
SYMBOL TABLE:
#...
[a-f0-9]+ g xx [a-f0-9]+ \.protected __stop_xx
#...
[a-f0-9]+ g xx [a-f0-9]+ \.protected __start_xx
#...
Disassembly of sectio... | D |
module android.java.java.lang.InheritableThreadLocal;
public import android.java.java.lang.InheritableThreadLocal_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!InheritableThreadLocal;
import import0 = android.java.java.lang.ThreadLocal;
import import2 = android.java.java.lang.Class;
| D |
module glfwcontext;
import neobc.assertion;
import dtoavkbindings.glfw;
GLFWwindow* InitializeGlfwWindow(
int clientApi
, int width
, int height
, string windowLabel
) {
glfwInit.EnforceAssert;
glfwWindowHint(GLFW_CLIENT_API, clientApi);
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
glfwWindowHint(GLFW_FLOAT... | D |
func void B_AssessSurprise()
{
Npc_SetTarget(self,other);
self.aivar[AIV_ATTACKREASON] = AR_GuildEnemy;
};
func void ZS_Attack()
{
Perception_Set_Minimal();
Npc_PercEnable(self,PERC_ASSESSSURPRISE,B_AssessSurprise);
B_ValidateOther();
self.aivar[AIV_LASTTARGET] = Hlp_GetInstanceID(other);
if(C_WantToFlee(self,... | D |
/**
* Contains the garbage collector implementation.
*
* Copyright: Copyright Digital Mars 2001 - 2016.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, David Friedman, Sean Kelly
*/
/* Copyright Digital Mars 2005 - 2016.
* Distributed under the Boost S... | D |
find (1) --- look for a pattern 08/27/84
| _U_s_a_g_e
| find <pattern> { -{<option>} } { <file_spec> }
| <option> ::= c | i | l | o[<occurrences>] | v | x
| <file_spec> ::= <filename> | -[<stdin_number>] |
... | D |
// by orcwarrior, modified by TheKetrab
var int Portal_X;
var int Portal_Y;
var int Portal_Z;
var int GotoPortalDelay_VAR;
func void GotoPortalDelay() {
if (GotoPortalDelay_VAR < 3)
{
GotoPortalDelay_VAR += 1;
}
else
{
GotoPortalDelay_VAR = 0;
var int playerId;
playerID = Hlp_GetInstanceID(hero);
... | D |
a medicine that induces nausea and vomiting
| D |
(especially of weather) affected or characterized by storms or commotion
characterized by violent emotions or behavior
| D |
/**
* C's <stdlib.h>
* D Programming Language runtime library
* Authors: Walter Bright, Digital Mars, http://www.digitalmars.com
* License: Public Domain
* Macros:
* WIKI=Phobos/StdCStdlib
*/
module mystd.c.stdlib;
public import core.stdc.stdlib;
extern (C):
int setenv(const char*, const char*, i... | D |
module gdsl.gdsl;
import std.stdio;
import gdsl.reference_manager;
import gdsl.frontend;
import gdsl.multiplex.multiplex;
class Gdsl : IReferable {
private state_t _gdslState;
private Frontend _frontend;
private ReferenceManager heapManager;
@property Frontend frontend() {
return _frontend;
}
th... | D |
module conc.threadfactoryuser;
import conc.threadfactory, stdrus:Нить;
public class ПользовательФабрикиНитей
{
protected:
ФабрикаНитей фабрикаНитей_;
class ДефолтнаяФабрикаНитей : ФабрикаНитей
{
public Нить новаяНить(цел delegate() команда);
}
public:
this();
synchronized ФабрикаНитей ... | D |
///
module dpq2.conv.geometric;
import dpq2.oids: OidType;
import dpq2.value: ConvExceptionType, throwTypeComplaint, Value, ValueConvException, ValueFormat;
import std.bitmanip: bigEndianToNative, nativeToBigEndian;
import std.traits;
import std.typecons : Nullable;
import std.range.primitives: ElementType;
@safe:
p... | D |
/afs/cern.ch/work/m/mizhou/RUN_FB/RootCoreBin/obj/x86_64-slc6-gcc48-opt/checkTrack/obj/checkTrackCINT.o /afs/cern.ch/work/m/mizhou/RUN_FB/RootCoreBin/obj/x86_64-slc6-gcc48-opt/checkTrack/obj/checkTrackCINT.d : /afs/cern.ch/work/m/mizhou/RUN_FB/checkTrack/Root/LinkDef.h /afs/cern.ch/work/m/mizhou/RUN_FB/checkTrack/check... | D |
module godot.audiostreamoggvorbis;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.object;
import godot.classdb;
import godot.audiostream;
@GodotBaseClass struct AudioStreamOGGVorbis
{
static immutable string _GODOT_internal_na... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -c -Icompilable/extra-files
// COMPILED_IMPORTS: extra-files/pkgDIP37_10421/algo/package.d
// COMPILED_IMPORTS: extra-files/pkgDIP37_10421/algo/mod.d
// COMPILED_IMPORTS: extra-files/pkgDIP37_10421/except.d
module testDIP37_10421;
import pkgDIP37_10421.algo;
void main() {}
| D |
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/URI.build/Model/URI+Byte.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engine.git-3311994267206676365/Sources/URI/Model/URI.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/engi... | D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/Validation.build/ValidatorType.swift.o : /Users/work/Projects/Hello/.build/checkouts/validation.git--4403154650041669468/Sources/Validation/Validatable.swift /Users/work/Projects/Hello/.build/checkouts/validation.git--4403154650041669468/Sources/Validatio... | D |
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Libmemcached library
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* Copyright (C) 2006-2009 Brian Aker All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted ... | D |
module sample.identifier;
import codewife.terms.common;
import codewife.fsm.configurations;
Engine makeIdentifier()
{
Engine[string] table;
table["_"] = makeSingleIdentity!(forward, "ID")("_");
table["Letter"] = makeGeneral((string s) => ("a" <= s && s <= "z") || ("A" <= s && s <= "Z"),
... | D |
module android.java.android.provider.Telephony_Mms_Inbox;
public import android.java.android.provider.Telephony_Mms_Inbox_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Telephony_Mms_Inbox;
import import0 = android.java.java.lang.Class;
| D |
[cc]mc |
.hd ap "Generate Object Tape for A & P M6800 Monitor" 07/19/84
ap <file> [<start_address>]
.ds
'Ap' reads the relocatable binary file in <file>, and produces
absolute code, in hexadecimal,
on its first standard output.
The optional <start_address> is where it will relocate the code to.
The default starting add... | D |
/*******************************************************************************
Helper class for looping requests which need to cede back to epoll.
copyright: Copyright (c) 2012-2017 sociomantic labs GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for ... | D |
module ships.parts.tiles.tile;
import ships.scripting;
import ships.space;
import dchip.all;
import luad.state;
import std.conv : to;
class Tile
{
public:
//cpBody* physics;
cpShape* shape;
//cpConstraint*[4] pins;
//cpConstraint*[4] locks;
Render render;
Script[] scripts;
TimedScript[] timedScripts;
ch... | D |
module wx.Image;
public import wx.common;
public import wx.Defs;
//public import wx.Bitmap;
public import wx.Palette;
public import wx.Colour;
//! \cond EXTERN
static extern (C) IntPtr wxImage_ctor();
static extern (C) IntPtr wxImage_ctorByName(string name, BitmapType type);
static extern (C) IntPtr wxImage_ctorintin... | D |
instance DIA_ADDON_GARETT_EXIT(C_INFO)
{
npc = pir_1357_addon_garett;
nr = 999;
condition = dia_addon_garett_exit_condition;
information = dia_addon_garett_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_addon_garett_exit_condition()
{
return TRUE;
};
func void dia_addon_garett_exit_i... | D |
/Users/ishaniGupta/Library/Mobile Documents/com~apple~CloudDocs/UCSB_3/Runtime System/Code/rustAnalysis/startProj/target/debug/deps/libnum_complex-1b59dc677bfd9039.rlib: /Users/ishaniGupta/.cargo/registry/src/github.com-1ecc6299db9ec823/num-complex-0.1.43/src/lib.rs
/Users/ishaniGupta/Library/Mobile Documents/com~appl... | D |
module d.llvm.local;
import d.llvm.codegen;
import d.ir.dscope;
import d.ir.statement;
import d.ir.symbol;
import d.ir.type;
import llvm.c.core;
alias LocalPass = LocalGen*;
enum Mode {
Lazy,
Eager,
}
struct LocalGen {
CodeGen pass;
alias pass this;
LLVMBuilderRef builder;
Mode mode;
LLVMValueRef thi... | D |
/*
* This module holds declarations to LLVM intrinsics.
*
* See the LLVM language reference for more information:
*
* - http://llvm.org/docs/LangRef.html#intrinsics
*
*/
module ldc.intrinsics;
// Check for the right compiler
version(LDC)
{
// OK
}
else
{
static assert(false, "This module is only valid... | D |
module android.java.android.app.Notification_MessagingStyle_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.android.app.Person_d_interface;
import import0 = android.java.java.la... | D |
module setup;
import std.windows.registry: Key, Registry, REGSAM, RegistryException;
import std.string: toLower, strip, splitLines, indexOf, stripLeft;
import common: createErrorDialog, getConsoleArgs, VERSION;
import std.file: thisExePath, readText, isFile, exists;
import std.path: buildPath, dirName, isValidFilename... | D |
/Users/y.imuta/pj/rust_study/ui_demo/target/debug/build/parking_lot-34da0b10869cc88b/build_script_build-34da0b10869cc88b: /Users/y.imuta/.cargo/registry/src/github.com-1ecc6299db9ec823/parking_lot-0.9.0/build.rs
/Users/y.imuta/pj/rust_study/ui_demo/target/debug/build/parking_lot-34da0b10869cc88b/build_script_build-34d... | 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 |
module main;
import std.random;
import thBase.io;
import thBase.math;
import thBase.asserthandler;
import thBase.timer;
import thBase.task;
import thBase.file;
import core.thread;
import core.stdc.math;
static import core.cpuid;
import sdl;
import rendering;
import scene;
//version = PerformanceTest... | D |
instance DJG_708_Kurgan (Npc_Default)
{
// ------ NSC ------
name = "Kurgan";
guild = GIL_DJG;
id = 708;
voice = 1;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt Attribute u... | D |
module graphic.internal;
/* Graphics library, loads spritesheets and offers them for use via string
* lookup. This does not handle Lix terrain, special objects, or L1/L2 graphics
* sets. All of those are handled by the tile library.
*/
import basics.cmdargs;
import file.filename;
import graphic.cutbit;
import grap... | 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 core/sys/windows/_rpcdce.d)
*/
module core.sys.windows.rpcdce;
version (Windows):
@system:
version (ANSI) {} else version = Unicode;
pra... | D |
module dIOpipe.IOpipe;
/* TODO:
* - improved unittests
* - support for more operating systems (OS X, BSD)
* - better error-handling
*/
import std.conv;
version (linux)
{
import core.stdc.stdlib;
import core.sys.posix.unistd;
import std.file;
}
version (Windows)
{
import core.sys.windows.windows... | D |
// Written in the D programming language
/*
Copyright (C) 2004-2011 Christopher E. Miller
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 documentatio... | D |
<?xml version="1.0" encoding="UTF-8"?>
<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
<pageList>
<availablePage>
<emfPageIdentifier href="activity.notation#_cp9PgAYSEeaomtK... | D |
/Users/lee_bennett/Desktop/MadeSimple/Playground/SegueDemo/Build/Intermediates/SegueDemo.build/Debug-iphonesimulator/SegueDemo.build/Objects-normal/x86_64/ViewController.o : /Users/lee_bennett/Desktop/MadeSimple/Playground/SegueDemo/SegueDemo/SceneDelegate.swift /Users/lee_bennett/Desktop/MadeSimple/Playground/SegueDem... | D |
/// Author: Aziz Köksal, Vitaly Kulich
/// License: GPL3
/// $(Maturity very high)
module drc.lexer.TokensEnum;
import common;
/// Перечисление типов сем.
enum ТОК : бкрат
{
Неверно,
Нелегал,
Комментарий,
Шебанг,
ХэшСтрочка,
Файлспец,
Новстр,
Пусто,
Идентификатор,
Ткст,
СимЛитерал,
// Специ... | D |
/*
* Copyright (c) 2011, Victor Hackeridze 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 conditions an... | D |
/Users/ryosukesatoh/Projects/rust-play/my-redis/target/debug/deps/scopeguard-269634b9b991ec76.rmeta: /Users/ryosukesatoh/.cargo/registry/src/github.com-1ecc6299db9ec823/scopeguard-1.1.0/src/lib.rs
/Users/ryosukesatoh/Projects/rust-play/my-redis/target/debug/deps/libscopeguard-269634b9b991ec76.rlib: /Users/ryosukesatoh... | D |
module physxwrap;
import des.math.linear;
import des.space;
import des.util.arch.emm;
class PhysXException : Exception
{
@safe pure nothrow this( string msg, string file = __FILE__, size_t line = __LINE__ )
{ super( msg, file, line ); }
}
private
{
alias void* PxFoundation;
alias void* PxPhysics;
... | D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/either-d637d3e9958264a0.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/either-1.6.1/src/lib.rs
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/either-d637d3e9958264a0.d: /U... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.