code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
/*
TEST_OUTPUT:
---
fail_compilation/fail7424f.d(10): Error: cannot resolve type for this.g()()
---
*/
struct S7424f
{
@property int g()() shared { return 0; }
void test() { int f = g; }
}
| D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/debug/deps/resolv_conf-631bf3c1e858fd22.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/resolv-conf-0.6.3/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/resolv-conf-0.6.3/src/grammar... | D |
// **************************************************
// EXIT
// **************************************************
instance DIA_Jesse_Exit(C_INFO)
{
npc = Vlk_564_Jesse;
nr = 999;
condition = DIA_Jesse_Exit_Condition;
information = DIA_Jesse_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
}; ... | D |
We are the Halluci Nation
Our DNA is of earth and sky
Bismillah
True and living by the G Code
What the fuck is fleek though?
Don't ask them, what do he know?
What I forgot is better than whatever they remember
Never mind, I'm off it, it’s quiet for 'em
Time to put the temper tantrums to the quiet corner
"HUSH! That’s ... | D |
/Users/sriramprasad/Dev/rough/tableImage/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/NetworkReachabilityManager.o : /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/MultipartFormData.swift /Users/sriramprasad/Dev/rough/tableImage/Pods/Alamofire/Source/Timeline.swift /Users... | D |
module wx.ShowEvent;
public import wx.common;
public import wx.Event;
//! \cond EXTERN
static extern (C) IntPtr wxShowEvent_ctor(int winid, bool show);
static extern (C) bool wxShowEvent_GetShow(IntPtr self);
static extern (C) void wxShowEvent_SetShow(IntPtr self, bool show);
//! \endcond
//------------------------... | D |
include <system.dh>
include <LookUp2DInc.dh>
const FE_BUILDS 60060
const AT_STRYNM 17516
local error(txt)
{
MessageBox(txt,MB_OK|MB_ICONSTOP);
exit(0);
}
global main()
{
OnError(ERR_IGNORE);
if( !GetResource("ObjectList",fes) )
error("Illegal script: object list is not defined");
if( !(ch=GetEditDatase... | D |
// SFXINST.D
// Soundsystem related SFX-Instances
//------------------------------------------------------------------------------------------------
// Hier müssen die einzelnen Sounds eingetragen werden
//------------------------------------------------------------------------------------------------
// Logische... | D |
Long: capath
Arg: <dir>
Help: CA directory to verify peer against
Protocols: TLS
Category: tls
---
Tells curl to use the specified certificate directory to verify the
peer. Multiple paths can be provided by separating them with ":" (e.g.
\&"path1:path2:path3"). The certificates must be in PEM format, and if curl is
bui... | D |
// URL: https://yukicoder.me/problems/no/304
import std.algorithm, std.array, std.bitmanip, std.container, std.conv, std.format,
std.functional, std.math, std.range, std.traits, std.typecons, std.stdio, std.string;
version(unittest) {} else
void main()
{
foreach (i; 0..1000)
if (query(i)) return;
}
auto... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1987-1998 by Symantec
* Copyright (C) 2000-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
#!/usr/bin/dmd -run
import std.stdio;
import std.socket;
import std.string;
import std.conv;
import std.array;
int main(string[] args) {
if(args.length < 3) {
writeln("Usage: " ~ args[0] ~ " <URL> <PAGE> [<IP>]");
writeln("Fetch the URL given. If IP is present, attempt to use it as");
writeln("the resolved name... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/SQLDeleteBuilder.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.b... | D |
module graphics.context;
import graphics.buffer;
import graphics.shader;
import graphics.program;
import graphics.texture;
import graphics.vertex;
import graphics.frameBuffer;
import graphics.color;
import graphics.errors;
import graphics.query;
import graphics.uniform;
import graphics.enums;
import derelict.opengl3.g... | D |
/Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/Alamofire/Source/MultipartFormData.swift /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/Alamo... | D |
import std.stdio;
void fizzbuzz(int n) {
for (int i=1; i < n; i++){
if (i % 15 == 0)
writeln("fizzbuzz");
else if (i % 3 == 0)
writeln("fizz");
else if (i % 5 == 0)
writeln("buzz");
else
writeln(i);
}
}
void main() {
// writeln("Hello World!");
fizzbuzz(100);
}
| D |
module host;
immutable VERSION = import("VERSION");
import duck.compiler;
import duck.host;
import std.file : getcwd;
import std.path : buildPath, dirName;
import std.stdio;
import std.format: format;
import std.algorithm.searching;
import duck.compiler.context;
import std.getopt, std.array;
import core.stdc.stdlib :... | D |
struct betterGen(Input, ResEl, alias step)
{
Input input;
ResEl front;
bool empty = false;
bool nothingAvailable = true;
this(Input input)
{
this.input = input;
popFront();
}
void popFront()
{
nothingAvailable = true;
while (!empty && nothingAvailab... | D |
# FIXED
2806x_examples_setup.obj: C:/Users/a0272561/Repositories/cs30_controlsuite/libs/math/CLAmath/CLAMATH_VERSION/examples/common/2806x_examples_setup.c
2806x_examples_setup.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/stdint.h
2806x_examples_setup.obj: C:/Users/a0272561/Repositories/cs30_co... | D |
import std.stdio;
int main(){
int arrNumbers[] = [1,2,3];
int count = 0;
for(int x = 0; x < arrNumbers.length; x++){
if(arrNumbers[x] == 2){
count = count + 1;
}
}
writeln("Occurence: ", count);
return 0;
}
| D |
/*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* This program 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; version 2
* of the License only.
*
* This... | 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_3_banking-1223... | D |
/**
* D header file for the linux/fs.h interface.
*
* This file has definitions for some important file table structures
* and constants and structures used by various generic file system
* ioctl's.
*
* Copyright: The D Language Foundation 2021.
* License : $(LINK2 http://www.boost.org/LICENSE_1_0.txt, ... | D |
/Users/apple/DailySchedule/step2/os/target/debug/build/proc-macro2-7af8c0ae14ee1bf4/build_script_build-7af8c0ae14ee1bf4: /Users/apple/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro2-1.0.18/build.rs
/Users/apple/DailySchedule/step2/os/target/debug/build/proc-macro2-7af8c0ae14ee1bf4/build_script_bui... | D |
/*
Copyright (c) 2014-2015 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 |
/Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/Build/Intermediates.noindex/CryptoSwift.build/Debug/CryptoSwift.build/Objects-normal/x86_64/CTR.o : /Users/darthjuda/Documents/snippets/swiftPackage/ovhAPI/DerivedData/ovhAPI/SourcePackages/checkouts/CryptoSwift/Sources/CryptoSwift/ChaCha20.swift /User... | D |
/**
Utility functionality for compiler class implementations.
Copyright: © 2013-2016 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.compilers.utils;
import dub.compilers.buildsettings;
import dub.platform : B... | D |
module UnrealScript.TribesGame.TrDevice_HeavyTwinfusor;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrDevice_Twinfusor;
extern(C++) interface TrDevice_HeavyTwinfusor : TrDevice_Twinfusor
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property ... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
244.5 81.6999969 9.80000019 0 2 10 -9.60000038 119.300003 1209 5.80000019 10.6999998 0.5 extrusives
51 49 12 0 4 6 -9.30000019 124.300003 1207 6.0999999 12.1000004 1 extrusives, pillow basalts, intrusives
249.300003 82.3000031 8.60000038 0 2 10 ... | D |
module gfm.math.fixedpoint;
import std.traits;
import gfm.math.wideint,
gfm.math.funcs;
/**
M.N fixed point integer.
Only signed integers are supported.
Only supports basic arithmetic.
If M + N > 32, then wide integers are used and this will likely be slow.
Params:
M = number of ... | D |
/Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/LeanCloud.build/Objects-normal/x86_64/RESTClient.o : /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Library/MD5.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/ACL.swift /Users/mac/Des... | D |
/*******************************************************************************
copyright: Copyright (c) 2008. Fawzi Mohamed
license: BSD style: $(LICENSE)
version: Initial release: July 2008
author: Fawzi Mohamed
**********************************************... | D |
divide into triangles or give a triangular form to
measure by using trigonometry
survey by triangulation
composed of or marked with triangles
| D |
/Users/Rens/Development/RecoveryJournal/Build/Intermediates/RecoveryJournal.build/Debug/Async.build/Objects-normal/x86_64/BasicStream.o : /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkout... | D |
/*
* #36 Fisk's quest isn't triggered
*/
func int G1CP_036_FiskFenceQuest() {
if (MEM_GetSymbolIndex("Stt_311_Fisk_MordragKO_Condition") != -1)
&& (MEM_GetSymbolIndex("Org_826_Mordrag") != -1)
&& (MEM_GetSymbolIndex("MordragKO_HauAb") != -1)
&& (MEM_GetSymbolIndex("MordragKO_StayAtNC") != -1) {
... | D |
INSTANCE Info_Mod_Bodo_Hi (C_INFO)
{
npc = Mod_516_SNOV_Bodo_NW;
nr = 1;
condition = Info_Mod_Bodo_Hi_Condition;
information = Info_Mod_Bodo_Hi_Info;
permanent = 0;
important = 0;
description = "Was ist dein Beruf?";
};
FUNC INT Info_Mod_Bodo_Hi_Condition()
{
if (!Npc_KnowsInfo(hero, Info_Mod_Bodo_WiePruefu... | D |
<?xml version="1.0" encoding="ASCII"?>
<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="design.notation#_q0dKgJwREeO9NIbfB... | D |
// Copyright Ferdinand Majerech 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)
///Component based entity system.
module component.entitysystem;
import std.algorithm;
import std.arr... | 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 |
/++
プロセス
プロセス操作についてまとめます。
Source: $(LINK_TO_SRC source/_process_example.d)
Macros:
TITLE=プロセス操作の例
+/
module process_example;
version (unittest) import std.process;
/++
基本的なプロセス起動を行う操作の例です。
+/
unittest
{
import std.string: chomp, splitLines;
// プロセス起動を行うもっとも簡潔な方法はexecute関数もしくは
// executeShell関数を用いること... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010 by Rainer Schuetze, All Rights Reserved
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.t... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Cookies.build/Cookies+Parse.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/Cookies/Cookie.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/engine.git--7533756970564908605/Sources/Co... | D |
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | D |
func void ZS_PickRice ()
{
Perception_Set_Normal();
B_UseHat (self);
B_ResetAll (self);
if (self.aivar[AIV_Schwierigkeitsgrad] < Mod_Schwierigkeit)
|| (self.aivar[AIV_Schwierigkeitsgrad] > Mod_Schwierigkeit)
{
B_SetSchwierigkeit();
};
AI_SetWalkmode (self,NPC_WALK);
if (Npc_GetDistToWP (self,sel... | D |
/Users/rita/workspace/test/ns-gov/target/debug/deps/itoa-eb863c43f971aa8c.rmeta: /Users/rita/.cargo/registry/src/github.com-1ecc6299db9ec823/itoa-0.4.6/src/lib.rs
/Users/rita/workspace/test/ns-gov/target/debug/deps/itoa-eb863c43f971aa8c.d: /Users/rita/.cargo/registry/src/github.com-1ecc6299db9ec823/itoa-0.4.6/src/lib.... | D |
// Written in the D programming language.
/**
This module defines the notion of a range. Ranges generalize the concept of
arrays, lists, or anything that involves sequential access. This abstraction
enables the same set of algorithms (see $(MREF std, algorithm)) to be used
with a vast variety of different concrete typ... | D |
import vibe.vibe;
import vibe.core.args;
import std.datetime;
import std.stdio;
shared long nreq = 0;
shared long nerr = 0;
shared long nreqc = 1000;
shared long nconn = 0;
shared long g_concurrency = 1;
shared long g_requestDelay = 0;
__gshared StopWatch sw;
void request()
{
nconn++;
try {
requestHTTP("http:/... | D |
/Users/stefan/Documents/Developer/CodingSwiftly/CocoaPodDemos/ElasticTransitionDemo/DerivedData/ElasticTransitionDemo/Build/Intermediates/Pods.build/Debug-iphonesimulator/ElasticTransition.build/Objects-normal/x86_64/ElasticShapeLayer.o : /Users/stefan/Documents/Developer/CodingSwiftly/CocoaPodDemos/ElasticTransitionDe... | D |
a person who becomes aware (of things or events) through the senses
an expert who observes and comments on something
| D |
/Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/RetryWhen.o : /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/tagline13/Documents/Projects/IOS/Demo/RxSwift_DEMO/Pods/RxSwift/R... | D |
/home/remipassmoilesel/projects/rust-playground/with-cargo/target/debug/deps/with_cargo-9c011b1a3a182fb3: src/main.rs
/home/remipassmoilesel/projects/rust-playground/with-cargo/target/debug/deps/with_cargo-9c011b1a3a182fb3.d: src/main.rs
src/main.rs:
| D |
/Users/MohamedNawar/Desktop/citiesListTask/build/Pods.build/Debug-iphonesimulator/PKHUD.build/Objects-normal/x86_64/PKHUDAnimating.o : /Users/MohamedNawar/Desktop/citiesListTask/Pods/PKHUD/PKHUD/HUD.swift /Users/MohamedNawar/Desktop/citiesListTask/Pods/PKHUD/PKHUD/PKHUD.swift /Users/MohamedNawar/Desktop/citiesListTask/... | D |
prototype Mst_Default_Giant_Rat(C_Npc)
{
name[0] = "Giant Rat";
guild = GIL_Giant_Rat;
aivar[AIV_MM_REAL_ID] = ID_Giant_Rat;
level = 4;
attribute[ATR_STRENGTH] = 20;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_HITPOINTS_MAX] = 45;
attribute[ATR_HITPOINTS] = 45;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MAN... | D |
import vibe.appmain;
import vibe.core.core : runTask, sleep;
import vibe.core.log : logInfo;
import vibe.core.net : listenTCP;
import vibe.stream.operations : readLine;
import core.time;
import vibe.d;
shared static this()
{
runTask({
listenTCP(8080, (TCPConnection conn) {
auto da... | D |
// PERMUTE_ARGS:
// Copyright (c) 1999-2012 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
import std.stdio;
version (D_PIC)
{
int main() { return 0; }
}
else version (D_InlineAsm_X86)
{
struct M128 { int a,b,c,d; };
struct M64 { int a,b; };
/******************... | D |
//Written in the D programming language
/++
Module containing core time functionality, such as Duration (which
represents a duration of time).
Various functions take a string (or strings) to represent a unit of time
(e.g. $(D convert!("days", "hours")(numDays))). The valid strings to use
with such... | D |
// EXTRA_SOURCES: imports/test24a.d imports/test24b.d
// PERMUTE_ARGS:
// REQUIRED_ARGS: -d
import imports.test24a, imports.test24b;
void main()
{
string hi = std.string.toString(3);
}
| D |
/Users/MohamedNawar/Desktop/Task/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/SessionDelegate.o : /Users/MohamedNawar/Desktop/Task/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/MohamedNawar/Desktop/Task/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/MohamedNawar/Deskt... | D |
<?xml version="1.0" encoding="ASCII"?>
<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/>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<window... | D |
/* This version of microEmacs is based on the public domain C
* version written by Dave G. Conroy.
* The D programming language version is written by Walter Bright.
* http://www.digitalmars.com/d/
* This program is in the public domain.
*/
/*
* The routines in this file are called to create a subjob running a... | D |
/Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Renderer.o : /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/C... | D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
/**
* Source file for lua helpers.
*/
module charge.game.lua;
import lib.lua.lua;
import lib.lua.state;
import lib.lua.lauxlib;
import charge.math.color;
import charge.math.point3d;
import char... | D |
give something useful or necessary to
circulate or distribute or equip with
give what is desired or needed, especially support, food or sustenance
state or say further
| D |
instance DIA_VLK_16_EXIT(C_Info)
{
nr = 999;
condition = DIA_VLK_16_EXIT_Condition;
information = DIA_VLK_16_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_VLK_16_EXIT_Condition()
{
return TRUE;
};
func void DIA_VLK_16_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_VLK_16... | D |
// PERMUTE_ARGS: -inline -release -g -O -d -dw -de
void test(int*[] arr...)
{
assert(arr.length == 1);
assert(*arr[0] == 5); // This assertion fails
}
void main()
{
int a = 5;
test([&a]);
}
| D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto nk = readln.split.to!(int[]);
auto N = nk[0];
auto K = nk[1];
auto as = readln.split.to!(long[]);
int i, j;
long s, t;
while (j != N) {
if (j-i < K)... | D |
import std.stdio;
import std.math;
const int N = 4;
// QR分解で固有値を求める
void main(string[] args)
{
double a[N][N] = [[5.0, 4.0, 1.0, 1.0],
[4.0, 5.0, 1.0, 1.0],
[1.0, 1.0, 4.0, 2.0],
[1.0, 1.0, 2.0, 4.0]];
double q[N][N] = [[0.0 ,0.0 ,0.... | D |
/*
* OpenSimplex (Simplectic) Noise in Java.
* by Kurt Spencer
*
* v1.1 (October 5, 2014)
* - Added 2D and 4D implementations.
* - Proper gradient sets for all dimensions, from a
* dimensionally-generalizable scheme with an actual
* rhyme and reason behind it.
* - Removed default permutation array in favor... | D |
module godot.weakref;
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.classdb;
import godot.reference;
@GodotBaseClass struct WeakRef
{
static immutable string _GODOT_internal_name = "W... | D |
import std.stdio;
void main(){
bool coffeeExists = false;
bool neighborIsHome = true;
bool existsBike = false;
if(coffeeExists){
writeln("Drink coffee");
writeln("Then wash the cup!");
}else if(existsBike){
writeln("ride bike to good place");
}else if(neighborIsHome){
writeln("walk to the neighbors");
... | 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 |
// Written in the D programming language.
/**
This module implements a variety of type constructors, i.e., templates
that allow construction of new, useful general-purpose types.
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Tuple) $(TD
$(LREF isTuple)
$(LREF Tup... | D |
class C
{
}
void foo(const C c, const(char)[] s, const int* q, const(int*) p)
{
}
void bar(in void* p)
{
}
void f(void function() f2);
class C2;
void foo2(const C2 c);
struct Foo3
{
int k;
~this()
{
k = 1;
}
this(this)
{
k = 2;
}
}
class C3
{
@property int get()
{
return 0;
}
}
T foo3(T)()
{
}
str... | D |
/++
Basic routines to work with graphs.
License: $(HTTP www.apache.org/licenses/LICENSE-2.0, Apache-2.0)
Copyright: 2020 Ilia Ki, Kaleidic Associates Advisory Limited, Symmetry Investments
Authors: Ilia Ki
Macros:
SUBREF = $(REF_ALTTEXT $(TT $2), $2, mir, graph, $1)$(NBSP)
T2=$(TR $(TDNW $(LREF $1)) $(TD $+))
+/
mod... | D |
/Users/christian/GitHub/Tweescord/.build/x86_64-apple-macosx/debug/Jobs.build/Shell.swift.o : /Users/christian/GitHub/Tweescord/.build/checkouts/Jobs/Sources/JSON.swift /Users/christian/GitHub/Tweescord/.build/checkouts/Jobs/Sources/Shell.swift /Users/christian/GitHub/Tweescord/.build/checkouts/Jobs/Sources/Jobs.swift ... | D |
/Users/suzu/project_research_B/eratosthenes/target/release/deps/deque-e78b0044b9679f8c.rmeta: /Users/suzu/.cargo/registry/src/github.com-1ecc6299db9ec823/deque-0.3.2/src/lib.rs
/Users/suzu/project_research_B/eratosthenes/target/release/deps/libdeque-e78b0044b9679f8c.rlib: /Users/suzu/.cargo/registry/src/github.com-1ec... | D |
module mkk.main.user.auth;
import mkk.main.devkit;
import mkk.main.service;
import webtank.security.auth.core.by_password: authByPassword;
import webtank.ivy.service.main: MainServiceContext;
shared static this()
{
MainService.JSON_RPCRouter
.join!(baseUserInfo)(`auth.baseUserInfo`)
.join!(authByPassword)(`aut... | 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 |
/*******************************************************************************
Fiber-based abstract base class for node requests.
Fiber-based implementation of a request handler in a node, with the
following features:
* Encapsulates a fiber select reader & writer, usable by derived
cla... | D |
/Users/mprechner/vapor-demo/HelloWorld/.build/debug/Fluent.build/SQL/GeneralSQLSerializer.swift.o : /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources/Fluent/Database/Database.swift /Users/mprechner/vapor-demo/HelloWorld/.build/checkouts/fluent.git-6251908308727715749/Sources... | D |
import std.stdio;
int main(){
int num1 = 3;
int num2 = 5;
int prod = 0;
int x = 0;
for (x = 1; x <= num2; x++){
prod = prod + num1;
}
writeln("3 * 5 = ", prod);
return 0;
}
| D |
/* -------------------- CZ CHANGELOG -------------------- */
/*
v1.00:
func int B_TeachFightTalentPercent - dovysvětlení nejasné formulace
*/
func int B_GetLearnCostFutureTalent(var C_Npc oth,var int talent,var int skill)
{
var int kosten;
kosten = 0;
if(talent == NPC_TALENT_1H)
{
if(skill >= 90)
{
i... | D |
module UnrealScript.Engine.MaterialExpressionStaticSwitchParameter;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.MaterialExpressionParameter;
import UnrealScript.Engine.MaterialExpression;
extern(C++) interface MaterialExpressionStaticSwitchParameter : MaterialExpressionParamet... | D |
module next_alphabet;
import std.stdio;
///
char resolve(char c)
{
return cast(char)(c + 1);
}
void main(string[] args)
{
char c;
readf("%c", &c);
writefln("%c", resolve(c));
}
| D |
// REQUIRED_ARGS: -vgc -o-
// PERMUTE_ARGS:
/***************** NewExp *******************/
struct S1 { }
struct S2 { this(int); }
struct S3 { this(int) @nogc; }
struct S4 { new(size_t); }
struct S5 { @nogc new(size_t); }
/*
TEST_OUTPUT:
---
compilable/vgc1.d(27): vgc: `new` causes a GC allocation
compilable/vgc1.d(2... | D |
import std.process,
std.stdio,
std.conv,
std.file,
std.path;
void xxz(string fileName) {
enum CPU_CORE = 8;
writeln("Extract tar package " ~ fileName ~ " into " ~ baseName(fileName, ".xz"));
executeShell("tar -xf " ~ fileName);
writeln("Decompress " ~ baseName(fileName, ".xz") ~ " ... | D |
/++
This is a submodule of $(MREF mir,ndslice).
Allocation routines that construct ndslices from ndranges.
License: $(HTTP www.apache.org/licenses/LICENSE-2.0, Apache-2.0)
Copyright: 2020 Ilya Yaroshenko, Kaleidic Associates Advisory Limited, Symmetry Investments
Authors: Ilya Yaroshenko
See_also: $(SUBMODULE concat... | D |
instance DIA_DUSTY_EXIT(C_INFO)
{
npc = vlk_524_dusty;
nr = 999;
condition = dia_dusty_exit_condition;
information = dia_dusty_exit_info;
permanent = 1;
description = DIALOG_ENDE;
};
func int dia_dusty_exit_condition()
{
return 1;
};
func void dia_dusty_exit_info()
{
AI_StopProcessInfos(self);
};
instance... | D |
/**
GFF file reading and writing
This module provides a readable, writeable abstraction of GFF records and files.
Authors: James S Blachly, MD <james.blachly@gmail.com>; Thomas Gregory <charles.gregory@osumc.edu>
License: MIT
Date: 2019-01-28
Standards: http://gmod.org/wiki/GFF3
https://useast.ensembl.org/info/w... | D |
/*******************************************************************************
* Copyright (c) 2000, 2006 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 |
// Written in the D programming language
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import options,util;
enum commit = tryImport!(".git/"~tryImport!(".git/HEAD","ref: ")["ref: ".length..$],"unknown commit");
// TODO: auto-format depending on size of console
enum help=`PSI solver
Usage: psi [... | D |
/* \file latch.d
* \brief A condition that is acquirable forever after the первое время.
*/
/*
Originally written by Doug Lea and released into the public domain.
This may be used for any purposes whatsoever without acknowledgment.
Thanks for the assistance and support of Sun Microsystems Labs,
and everyone... | D |
# FIXED
PROFILES/gattservapp_util.obj: D:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/host/gattservapp_util.c
PROFILES/gattservapp_util.obj: D:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/common/cc26xx/util.h
PROFILES/gattservapp_util.obj: D:/ti/ccsv8/tools/compiler/ti-cgt-arm_16.9.7.LTS/... | D |
Cambodian elections, fraudulent according to opposition parties, gave the CPP of Hun Sen a scant majority but not enough to form its own government.
Opposition leaders fearing arrest, or worse, fled and asked for talks outside the country.
Han Sen refused.
The UN found evidence of rights violations by Hun Sen prompting... | D |
/Users/martin/Documents/programovanie/bc/RuLife/DerivedData/RuLife/Build/Intermediates/RuLife.build/Debug-iphoneos/RuLife.build/Objects-normal/arm64/WorkoutTableViewController.o : /Users/martin/Documents/programovanie/bc/RuLife/RuLife/AppDelegate.swift /Users/martin/Documents/programovanie/bc/RuLife/RuLife/Location.swi... | 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 wx.PaintEvent;
public import wx.common;
public import wx.Event;
//! \cond EXTERN
static extern (C) IntPtr wxPaintEvent_ctor(int Id);
//! \endcond
//-----------------------------------------------------------------------------
alias PaintEvent wxPaintEvent;
public class PaintEvent : Event
{
pub... | D |
module UnrealScript.UDKBase.UDKMapMusicInfo;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.SoundCue;
import UnrealScript.Core.UObject;
extern(C++) interface UDKMapMusicInfo : UObject
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@property final sta... | D |
a musical composition written for six performers
the cardinal number that is the sum of five and one
six performers or singers who perform together
a set of six similar things considered as a unit
six people considered as a unit
| D |
immutable size_t screenWidth = 64;
immutable size_t screenHeight = 32;
class Display
{
private:
bool[][] _screen;
public:
this()
{
_screen = new bool[][](screenWidth, screenHeight);
}
void clear()
{
foreach (ref row; _screen)
{
foreach (ref pixel; row)
... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.