code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module sendero.session.Render;
void render_(SessionT)(IRenderable view)
{
SessionT.req.render(view);
} | D |
/**
Token Stream.
This provides a high-level interface to a stream of Tokens being generated
by a callback function.
Authors: Daniel Keep <daniel.keep@gmail.com>
Copyright: See LICENSE.
*/
module eval.TokenStream;
import eval.Location;
import eval.Source;
import eval.Tokens;
final class TokenStr... | D |
/Users/oslo/code/swift_vapor_server/.build/debug/Turnstile.build/Realm/MemoryRealm.swift.o : /Users/oslo/code/swift_vapor_server/Packages/Turnstile-1.0.6/Sources/Turnstile/TurnstileError.swift /Users/oslo/code/swift_vapor_server/Packages/Turnstile-1.0.6/Sources/Turnstile/Core/Subject.swift /Users/oslo/code/swift_vapor_... | 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 pango.c.item;
import pango.c.types;
import pango.c.font;
import pango.c.engine;
import glib;
import gobject;
extern (C):
/**
* PANGO_... | D |
void main() {
auto S = rs;
auto T = rs;
if(S.length + 1 == T.length && T[0..$-1] == S) {
writeln("Yes");
} else writeln("No");
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
import std.range;
import std.traits;
import std.math;
import s... | D |
module gtkD.gtk.UIManager;
public import gtkD.gtkc.gtktypes;
private import gtkD.gtkc.gtk;
private import gtkD.glib.ConstructionException;
private import gtkD.gobject.Signals;
public import gtkD.gtkc.gdktypes;
private import gtkD.glib.Str;
private import gtkD.glib.ErrorG;
private import gtkD.glib.GException;
priv... | D |
// REQUIRED_ARGS: -vgc -o-
// PERMUTE_ARGS:
/*
TEST_OUTPUT:
---
compilable/vgc1.d(93): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()` (and `core.memory.GC.free()` if applicable) instead.
compilable/vgc1.d(94): Deprecation: The `delete` keyword has been deprecated. Use `object.destroy()... | D |
/*
Copyright (c) 2019 Ferhat Kurtulmuş
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 |
/Users/william/Projects/studySocial/studySocial/build/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/UserProfile.FetchResult.o : /Users/william/Projects/studySocial/studySocial/Pods/FacebookCore/Sources/Core/GraphRequest/GraphRequestProtocol.Bridge.swift /Users/william/Projects/studySocial/st... | D |
module org.eclipse.swt.internal.mozilla.nsIServiceManager;
import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;
const char[] NS_ISERVICEMANAGER_IID_STR = "8bb35ed9-e332-462d-9155-4a002ab5c958";
const nsIID NS_ISERVICEMANAGER... | D |
/afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/JetCalibTools/obj/NPVBeamspotCorrection.o /afs/cern.ch/user/a/abrennan/testarea/CxAODTestFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/JetCalibTools/obj/NPVBeamspotCorrection.d : /afs/cern.ch/user/a/abrennan/testarea/CxAODT... | D |
import std.stdio;
void main()
{
int[] arr = [7, 12, 34, 41];
// Slice starts at index 1 and excludes from index 3
int[] newArr = arr[1..3];
writeln(newArr); // [12, 34]
} | D |
module purr.fs.disk;
import purr.io;
import std.file;
import purr.fs.files;
import purr.fs.memory;
import purr.srcloc;
import core.thread;
import std.parallelism;
import std.concurrency;
import std.functional;
import std.container;
import std.datetime.stopwatch;
import std.datetime.systime;
__gshared StopWatch watch;... | 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.string;
immutable long MOD = 998244353;
void main() {
auto N = readln.chomp.to!int;
auto dp = new long[][](N*2+1, N+1);
... | D |
/Users/ozgun/Desktop/IOSCase/build/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/RequestModifier.o : /Users/ozgun/Desktop/IOSCase/Pods/Kingfisher/Sources/Utility/String+MD5.swift /Users/ozgun/Desktop/IOSCase/Pods/Kingfisher/Sources/General/Deprecated.swift /Users/ozgun/Desktop/IOSCase/Pods/Kin... | D |
module ast.fp;
import parseBase, ast.base, ast.types, ast.literals;
Object gotFloatProperty(ref string text, ParseCb cont, ParseCb rest) {
auto t2 = text;
if (!t2.accept(".")) return null;
if (t2.accept("infinity"[])) { text = t2; return fastalloc!(FloatExpr)(float.infinity); }
if (t2.accept("max"[])) { text ... | D |
module hunt.http.codec.http.model.HttpFields;
import hunt.http.codec.http.model.HttpField;
import hunt.http.codec.http.model.HttpHeader;
import hunt.http.codec.http.model.HttpHeaderValue;
import hunt.http.codec.http.model.QuotedCSV;
import hunt.collection;
import hunt.util.Common;
import hunt.Exceptions;
import hunt.... | D |
/+
+ Copyright 2022 – 2023 Aya Partridge
+ Copyright 2018 - 2022 Michael D. Parker
+ 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 sdl.error;
import bindbc.sdl.config;
im... | D |
module ppl.ast.stmt.Loop;
import ppl.internal;
/**
* Loop
* Composite init_stmts // 0 or more
* Composite cond_expr // 0 or 1
* Composite post_exprs // 0 or more
* Composite body_stmts // 0 or more
*
* While loop:
*
* loop_expr ::= "loop" "(" init_stmts ";" cond_expr ";" post_exprs ")" ... | D |
module icu.icu;
import std.algorithm;
import std.conv : to;
import std.exception : assumeUnique;
import std.stdio;
import std.string : toStringz, indexOf;
import std.traits;
import std.typecons : scoped;
import icu.c.ucnv;
class ICU
{
private string _encoding;
private UErrorCode _error;
private UConverte... | D |
/Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Multipart.build/HeaderParser.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/multipart.git-4210556629793786970/Sources/Multipart/Multipart+BytesConvertible.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/multipart.... | D |
/home/cyobero/rust/examples/cookies/target/debug/build/rocket-e359ddd6b9fab8e4/build_script_build-e359ddd6b9fab8e4: /home/cyobero/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket-0.4.2/build.rs
/home/cyobero/rust/examples/cookies/target/debug/build/rocket-e359ddd6b9fab8e4/build_script_build-e359ddd6b9fab8e4.d: /... | D |
/Users/michael/Desktop/Buildcoin/ChartTest/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CombinedChartDataProvider.o : /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/michael/Desktop/Buildcoin/ChartTest/Pods/Charts/Sou... | D |
/Users/kerwinlim/SpaceTogether/Build/Intermediates.noindex/SpaceTogether.build/Debug-iphonesimulator/SpaceTogether.build/Objects-normal/x86_64/ViewController.o : /Users/kerwinlim/SpaceTogether/SpaceTogether/SceneDelegate.swift /Users/kerwinlim/SpaceTogether/SpaceTogether/AppDelegate.swift /Users/kerwinlim/SpaceTogether... | D |
/Users/Roxi/Desktop/LaraMobile/DerivedData/LaraMobile/Build/Intermediates.noindex/LaraMobile.build/Debug-iphonesimulator/LaraMobile.build/Objects-normal/x86_64/ViewController.o : /Users/Roxi/Desktop/LaraMobile/LaraMobile/AppDelegate.swift /Users/Roxi/Desktop/LaraMobile/LaraMobile/ViewController.swift /Applications/Xcod... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail268.d(12): Error: constructor fail268.test.T!().this constructors are only for class or struct definitions
fail_compilation/fail268.d(13): Error: destructor fail268.test.T!().~this destructors are only for class/struct/union definitions, not function test
fail_compilation/fail26... | D |
void main() {
import std.stdio : writeln;
int[] test = [3, 9, 11, 7, 2, 76, 90, 6];
test.writeln();
writeln("First element: ", test[0]);
writeln("Last element: ", test[$ - 1]);
writeln("Exclude the first two elements: ", test[2 .. $]);
writeln("Slices are views on the memory: ");
auto const test2 = te... | D |
module schemed.object;
@safe:
/// symbol: 'a
struct Atom
{
string name;
string toString() { return name; }
}
/// proper list: (a b c)
struct _List(T)
{
T car;
_List!T* cdr;
this(T[] values...)
{
if (values.length == 0) return;
this.car = values[0];
if (values.length ... | D |
/**
Standard I/O streams
Copyright: © 2014 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig, Eric Cornelius
*/
module vibe.stream.stdio;
import vibe.core.core;
import vibe.core.log;
import vibe.core.stream;
import vibe.stream.taskpip... | D |
import core.stdc.stdio : fprintf, printf, stderr;
void test(string comp = "==", A, B)(A a, B b, string msg, size_t line = __LINE__)
{
int ret = () {
import core.exception : AssertError;
try
{
assert(mixin("a " ~ comp ~ " b"));
} catch(AssertError e)
{
... | D |
/*
Copyright (c) 2011-2020 Timur Gafarov
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, dist... | D |
/Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/Objects-normal/x86_64/ExampleMetadata.o : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/World+DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/DSL.swift /Users/macosx/Desktop/Test... | D |
/**
* Author: Aramande <aramande@hackular.com>
* Version: 0.2
*/
module dhe.window;
import std.stdio;
import std.string;
import derelict.sdl.sdl;
import derelict.sdl.image;
/**
* Represents a window in which your game runs, you can only have one instance.
*/
final class Window {
private:
static Window self;
s... | D |
// **************************************************
// EXIT
// **************************************************
instance DIA_Fortuno_EXIT (C_INFO)
{
npc = NOV_1357_Fortuno;
nr = 999;
condition = DIA_Fortuno_EXIT_Condition;
information = DIA_Fortuno_EXIT_Info;
permanent = 1;
description = DIALOG_E... | D |
module dwt.internal.mozilla.nsISHistory;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsIHistoryEntry;
import dwt.internal.mozilla.nsISHistoryListener;
import dwt.internal.mozilla.nsISimpleEnumerator;
const char[] NS_ISHI... | D |
module hunt.framework.auth.SimpleUserService;
import hunt.framework.auth.UserDetails;
import hunt.framework.auth.UserService;
import hunt.framework.config.AuthUserConfig;
import hunt.framework.provider.ServiceProvider;
import hunt.logging;
import std.digest.sha;
/**
* Retrieve user details from a local config fil... | D |
module agj.ui;
public import agj.ui.utils: lighten;
public import agj.ui.mouse: MouseUI;
public import agj.ui.guipanel: GUIPanel;
| D |
instance DIA_RAOUL_EXIT(C_INFO)
{
npc = sld_822_raoul;
nr = 999;
condition = dia_raoul_exit_condition;
information = dia_raoul_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_raoul_exit_condition()
{
if(KAPITEL < 3)
{
return TRUE;
};
};
func void dia_raoul_exit_info()
{
AI_StopPr... | D |
module executors.deleteuser;
import std.stdio;
import std.variant;
import command.all;
import relationaldb.all;
import commands.deleteuser;
class DeleteUserExecutor : AbstractExecutor!(DeleteUserCommand,DeleteUserCommandMetadata)
{
// Mysql connection
private RelationalDBInterface relationalDb;
private D... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag13942.d(18): Error: template instance `isRawStaticArray!()` does not match template declaration `isRawStaticArray(T, A...)`
fail_compilation/diag13942.d(26): Error: template `diag13942.to!double.to` cannot deduce function from argument types `!()()`, candidates are:
fail_compila... | D |
module diesel.linux.keyboard;
version(raspberry) {
import core.sys.posix.sys.ioctl;
import core.sys.posix.fcntl;
import core.sys.posix.unistd;
import core.sys.posix.sys.time;
import core.sys.posix.sys.ioctl;
import std.string : toz = toStringz;
import diesel.linux.input_event_codes;
import std.stdio;
static auto _I... | D |
module android.java.java.util.zip.ZipOutputStream;
public import android.java.java.util.zip.ZipOutputStream_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ZipOutputStream;
import import3 = android.java.java.lang.Class;
| D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/TemplateKit.build/Pipeline/TemplateRenderer.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/... | D |
struct A { }
void map(alias dg)(A r) { }
struct TTT
{
static auto yyy(A a)
{
map!(b => 0)(a);
}
}
void bar() { }
| D |
module std.container.array;
import std.range.constraints;
import std.traits;
public import std.container.util;
/**
Array type with deterministic control of memory. The memory allocated
for the array is reclaimed as soon as possible; there is no reliance
on the garbage collector. $(D Array) uses $(D malloc) and $(D ... | D |
lib/parse.pp.ml: Array Filename Fstream List Matrix Printf Str Sys
| D |
/***************************************************************
matrix.h
***************************************************************/
module derelict.allegro.matrix;
public import derelict.allegro.inline.matrix_inl;
import derelict.allegro.fixed : fixed;
import derelict.all... | D |
module source.helper.prettyjson;
import std.json;
import std.conv;
import std.range:repeat;
string prettyPrint(JSONValue json, int indentLevel=0, string prefix="")
{
import std.range:appender;
auto ret=appender!string;
ret.put('\t'.repeat(indentLevel));
ret.put(prefix);
//ret.put(' '.repeat(indentLevel*8));
fina... | D |
module erlogtrisy2k.component;
import erlogtrisy2k.gameobject;
import derelict.sdl2.sdl;
class Component {
}
class CPosition: Component {
int x, y;
this(int a, int b) {
x = a;
y = b;
}
this() {
}
}
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Bo... | D |
// Written in the D programming language.
/++
This module defines functions related to exceptions and general error
handling. It also defines functions intended to aid in unit testing.
Synopsis of some of std.exception's functions:
--------------------
string synopsis()
{
FILE* f = enf... | D |
module android.java.android.hardware.camera2.params.LensShadingMap_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.lang.Class_d_interface;
import import0 = android.java.and... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/HTTP.build/Cookies/HTTPCookies.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/http/Sources/HTTP/Utilities/RFC1123.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppU... | D |
/**
JSON serialization and value handling.
This module provides the Json struct for reading, writing and manipulating
JSON values. De(serialization) of arbitrary D types is also supported and
is recommended for handling JSON in performance sensitive applications.
Copyright: © 2012-2015 RejectedSoftware e.K.
Lic... | D |
module wrapper.sodium.crypto_verify_32;
import wrapper.sodium.core; // assure sodium got initialized
public
import deimos.sodium.crypto_verify_32 : crypto_verify_32_BYTES,
crypto_verify_32_bytes;
// crypto_verify_32;
// overloading a fun... | D |
/**
Numeric related utilities used by TSV Utilities.
Utilities in this file:
$(LIST
* [formatNumber] - An alternate print format for numbers, especially useful when
doubles are being used to represent integer and float values.
* [rangeMedian] - Finds the median value of a range.
* [quantile] - Gene... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/SQLite.build/SQL/SQLiteDefaultLiteral.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite... | D |
module utilities.inputparser;
import std.conv, std.string, std.range, std.stdio, std.format, std.ascii;
import std.algorithm;
import core.stdc.string : strlen;
/// subRange will return a sub part of a string
auto subRange(R)(R s, size_t beg, size_t end)
{
return s.dropExactly(beg).take(end - beg);
}
unittest
{
... | D |
/*
REQUIRED_ARGS: -m32
PERMUTE_ARGS:
TEST_OUTPUT:
---
fail_compilation/test15703.d(17): Error: cast from Object[] to uint[] not allowed in safe code
fail_compilation/test15703.d(19): Error: cast from object.Object to const(uint)* not allowed in safe code
fail_compilation/test15703.d(22): Error: cast from uint[] to Obje... | D |
/home/chandio/Desktop/rust practice/Structs/structs/target/debug/deps/structs-3f71f0dca4a2b471: src/main.rs
/home/chandio/Desktop/rust practice/Structs/structs/target/debug/deps/structs-3f71f0dca4a2b471.d: src/main.rs
src/main.rs:
| D |
<HTML>
<!-- Created by HTTrack Website Copier/3.49-2 [XR&CO'2014] -->
<!-- Mirrored from mareenfischinger.com/pretty-faces/markus-t/js/libs/jquery-1.9.1.min.js/js/libs/jquery-1.9.1.min.js/js/libs/jquery-1.9.1.min.js/js/libs/jquery-1.9.1.min.js/js/libs/jquery-1.9.1.min.js/js/libs/jquery-1.9.1.min.js/js/libs/jquery-1.9.... | D |
module logging.facade;
public import logging.formatters;
public import logging.levels;
public import logging.sinks;
private import std.datetime;
private import std.string;
private import logging.utils;
public struct log
{
public static void log(LogLevel loglevel, string m = __MODULE__, string func = __FUNCTION__, ... | D |
/Users/gem/Desktop/MovieMoya/the-movie-db/DerivedData/TheNewMovie/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/DispatchQueue+Alamofire.o : /Users/gem/Desktop/MovieMoya/the-movie-db/Pods/Alamofire/Source/MultipartFormData.swift /Users/gem/Desktop/MovieMoya/the-movie-... | D |
instance DIA_Ruga_EXIT(C_Info)
{
npc = Mil_317_Ruga;
nr = 999;
condition = DIA_Ruga_EXIT_Condition;
information = DIA_Ruga_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Ruga_EXIT_Condition()
{
return TRUE;
};
func void DIA_Ruga_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance... | D |
module appbase.listener;
import core.thread;
import std.socket;
import std.file;
import std.path;
import std.exception;
import std.parallelism : totalCPUs;
import async;
import appbase.utils.log;
alias RequestCallback = void function(TcpClient, const scope ubyte[]);
private __gshared EventLoop _loop;
privat... | D |
/*
Copyright (c) 2014-2019 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/amir/Desktop/EasyChat/build/EasyChat.build/Debug-iphonesimulator/EasyChat.build/Objects-normal/x86_64/ConversationCell.o : /Users/amir/Desktop/EasyChat/EasyChat/Auths/LoginVC.swift /Users/amir/Desktop/EasyChat/EasyChat/Home/ConversationVC.swift /Users/amir/Desktop/EasyChat/EasyChat/Auths/SignUpVC.swift /Users/am... | D |
a carnival performer who does disgusting acts
a person with an unusual or odd personality
| D |
module webkit2webextension.DOMEventTargetIF;
private import glib.ErrorG;
private import glib.GException;
private import glib.Str;
private import gobject.Closure;
private import webkit2webextension.DOMEvent;
private import webkit2webextension.c.functions;
public import webkit2webextension.c.types;
/** */
public inte... | D |
/**
Mirror _bytesobject.h
Note _bytesobject.h did not exist before python 2.6; however
for python 2, it simply provides aliases to contents of stringobject.h,
so we provide them anyways to make it easier to write portable extension
modules.
*/
module deimos.python.bytesobject;
import deimos.python.pyport;... | D |
/++
Copyright (C) 2012 Nick Sabalausky <http://semitwist.com/contact>
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2, as published by Sam Hoc... | D |
import std.stdio;
import std.traits;
class C
{
final void foo() {}
void goo() { foo(); }
}
void main()
{
foreach(i, f; MemberFunctionsTuple!(C, "foo"))
writeln(__traits(identifier, MemberFunctionsTuple!(C, "foo")[i]));
foreach(i, f; MemberFunctionsTuple!(C, "goo"))
writeln(__traits(id... | D |
/Users/hannesvandenberghe/projectMovies/Build/Intermediates/ProjectFilms.build/Debug-iphonesimulator/ProjectFilms.build/Objects-normal/x86_64/MovieService.o : /Users/hannesvandenberghe/projectMovies/ProjectFilms/AppDelegate.swift /Users/hannesvandenberghe/projectMovies/ProjectFilms/SearchViewController.swift /Users/han... | D |
module xf.net.Log;
private {
import xf.utils.Log;
import xf.utils.Error;
}
mixin(createLoggerMixin("netLog"));
mixin(createErrorMixin("NetException", "netError"));
| D |
/*
Copyright © 2020, Luna Nielsen
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module engine.core.state;
/**
Manager of game states
*/
class GameStateManager {
private static:
GameState[] states;
public static:
/**
Update the current game... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/NIO.build/SocketChannel.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checko... | D |
module s3;
import std.array;
import std.datetime : SysTime;
import std.net.curl;
import aws;
class S3
{
const AWS aws;
this(const AWS a) { aws = a; }
}
string urlEncode(string url, bool all = false)
{
static string encode(char c)
{
enum h = "0123456789ABCDEF";
return "%" ~ h[c / 16... | D |
/**
* Base floating point routines.
*
* Macros:
* TABLE_SV = <table border="1" cellpadding="4" cellspacing="0">
* <caption>Special Values</caption>
* $0</table>
* SVH = $(TR $(TH $1) $(TH $2))
* SV = $(TR $(TD $1) $(TD $2))
* TH3 = $(TR $(TH $1) $(TH $2) $(TH $3)... | D |
module UnrealScript.TribesGame.TrGame_TrDaD;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.Controller;
import UnrealScript.Engine.PlayerReplicationInfo;
import UnrealScript.TribesGame.TrGame;
import UnrealScript.UTGame.UTTeamInfo;
import UnrealScript.TribesGame.TrPowerGenerator;... | 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.
/++
$(SECTION Overview)
$(P The $(D std.uni) module provides an implementation
of fundamental Unicode algorithms and data structures.
This doesn't include UTF encoding and decoding primitives,
see $(XREF _utf, decode) and $(XREF _utf, encode) in std.utf
... | D |
module java.io.BufferedReader;
import java.lang.all;
import java.io.Reader;
class BufferedReader : Reader {
this(Reader reader){
implMissing(__FILE__,__LINE__);
}
public override int read(char[] cbuf, int off, int len){
implMissing(__FILE__,__LINE__);
return 0;
}
public ove... | D |
/**
A module for a variable used as a node in autograd computation graph
TODO:
- support shape ops
*/
module grain.autograd;
import std.traits : isArray, isBasicType;
import std.typecons : RefCounted, RefCountedAutoInitialize;
import mir.ndslice : isSlice;
import std.range : ElementType;
import grain.cuda;... | D |
func void ZS_SitCampfireSmalltalkHC_1()
{
GuardPerception ();
Npc_PercEnable (self, PERC_ASSESSPLAYER, B_AssessSC);
if (!C_BodyStateContains(self, BS_SIT))
{
AI_StandUp (self);
AI_SetWalkmode (self,NPC_WALK);
AI_GotoWP (self, self.wp);
if (Wld_IsFPAvailable(self,"FP_CAMPFIREST"))
{ ... | D |
/**
Base class for BSD socket based driver implementations.
See_also: `eventcore.drivers.select`, `eventcore.drivers.epoll`, `eventcore.drivers.kqueue`
*/
module eventcore.drivers.posix.driver;
@safe: /*@nogc:*/ nothrow:
public import eventcore.driver;
import eventcore.drivers.posix.dns;
import eventcore.drivers.po... | D |
/Users/kidnapper/Documents/25sprout/practice/DerivedData2/practice/Build/Intermediates/IBDesignables/Intermediates/practice.build/Debug-iphonesimulator/practice.build/Objects-normal/x86_64/SquareCategoryCollectionView.o : /Users/kidnapper/Documents/25sprout/practice/practice/Search_TPVC.swift /Users/kidnapper/Documents... | D |
/Users/karl/Projects/Private/Backend/kiturabuildserver/.build/debug/Kitura.build/RouterHTTPVerbs+Error.swift.o : /Users/karl/Projects/Private/Backend/kiturabuildserver/.build/checkouts/Kitura.git-6522211175291160341/Sources/Kitura/Kitura.swift /Users/karl/Projects/Private/Backend/kiturabuildserver/.build/checkouts/Kitu... | D |
a cultural unit (an idea or value or pattern of behavior) that is passed from one person to another by non-genetic means (as by imitation
| D |
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/Command.build/Run/Output+Autocomplete.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/console.git--2431895819212044213/Sources/Command/Command/Command.swift /Users/Khanh/vapor/TILApp/.build/checkouts/console.git--2431895819212044213/Sources/Command/Ba... | D |
var int Brahim_ItemsGiven_Chapter_1;
var int Brahim_ItemsGiven_Chapter_2;
var int Brahim_ItemsGiven_Chapter_3;
var int Brahim_ItemsGiven_Chapter_4;
var int Brahim_ItemsGiven_Chapter_5;
func void B_GiveTradeInv_Brahim(var C_Npc slf)
{
if((Kapitel >= 1) && (Brahim_ItemsGiven_Chapter_1 == FALSE))
{
CreateInvItems(sl... | D |
// REQUIRED_ARGS: -c -o-
/*
TEST_OUTPUT:
---
fail_compilation/gag4269b.d(10): Error: undefined identifier Y
---
*/
static if(is(typeof(X2.init))) {}
struct X2 { Y y; }
| D |
/**
Aedi, a dependency injection library.
Aedi is a dependency injection library. It does provide a set of containers that do
IoC, and an interface to configure application components (structs, objects, etc.)
Aim:
The aim of library is to provide a dependency injection solution that is
feature rich, easy to use, eas... | D |
/home/syed/Desktop/practice/quater3/hello world from rocket/target/debug/deps/aes-014f404b6991da2b.rmeta: /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/aes-0.3.2/src/lib.rs
/home/syed/Desktop/practice/quater3/hello world from rocket/target/debug/deps/libaes-014f404b6991da2b.rlib: /home/syed/.cargo/registr... | D |
instance KDW_1400_Addon_Saturas_NW(Npc_Default)
{
name[0] = "Saturas";
guild = GIL_KDW;
id = 1400;
voice = 14;
flags = 0;
npcType = npctype_main;
aivar[93] = TRUE;
aivar[AIV_IgnoresFakeGuild] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_MASTER;
B_Create... | D |
var i := 1;
while i <= 9 loop
i := i + 1; print i;
end;
var j;
for j in 1 .. 3 * 3 loop
j := j - 1; print j;
end; | D |
instance TPL_1440_TEMPLER(NPC_DEFAULT)
{
name[0] = NAME_TEMPLER;
npctype = NPCTYPE_GUARD;
guild = GIL_TPL;
level = 17;
flags = 0;
voice = 13;
id = 1440;
attribute[ATR_STRENGTH] = 85;
attribute[ATR_DEXTERITY] = 65;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 244;
at... | 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 $(LINK2 std_algorithm.html,
std.algorithm)) to be used with a vast variety of di... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/Core.build/Objects-normal/x86_64/String+CaseInsensitiveCompare.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/core.git-9210800844849382486/Sources/Core/RFC1123.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/core.git-92... | D |
// PERMUTE_ARGS:
// EXTRA_SOURCES: imports/mangle10077.d
// EXTRA_FILES: imports/testmangle.d
/*
TEST_OUTPUT:
---
_D7imports10testmangle12detectMangleFPSQBlQBg6DetectZQq
_D7imports10testmangle__T10DetectTmplTiZQpFNaNbNiNfZv
true
false
---
*/
import imports.testmangle;
/************************************************... | D |
module engine.core.reference;
import engine.core.memory;
import engine.core.object : CObject, NewObject, DestroyObject;
public import engine.core.ref_count;
alias Ref = SReference;
struct SReference( T ) {
T obj;
alias obj this;
this( this ) {
incRef();
}
this( T iobj ) {
obj = ... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.