code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
instance Tpl_1437_Templer_Exit(C_Info)
{
npc = TPL_1437_Templer;
nr = 999;
condition = Tpl_1437_Templer_Exit_Condition;
information = Tpl_1437_Templer_Exit_Info;
important = 0;
permanent = 1;
description = DIALOG_ENDE;
};
func int Tpl_1437_Templer_Exit_Condition()
{
return TRUE;
};
func void Tpl_1437_Templer_... | D |
// REQUIRED_ARGS: -g
// https://issues.dlang.org/show_bug.cgi?id=104
// fails only with -g
Foofunc f;
alias int Foo;
alias int function(Foo) Foofunc;
| D |
module android.java.java.nio.channels.ScatteringByteChannel_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.java.nio.B... | 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 $(LINK2 std_stdio.html,$(D std.stdio)).
Macros:
WIKI = ... | D |
/*
Copyright (c) 2016-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, dist... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Fluent.build/QueryBuilder/QueryBuilder+Filter.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/fluent/Sources/Fluent/Model/ID.swift /Users/panartem/Developer/Study/Microservices-vap... | D |
struct v4 {
union {
struct { float x, y, z, w; };
struct { float r, g, b, a; };
}
v4 opBinary(string op)(v4 l) if (op == "+" || op == "-") {
mixin("return v4(x" ~ op ~ "l.x, y" ~ op ~ "l.y, z" ~ op ~ "l.z, w" ~ op ~ "l.w);");
}
v4 opBinary(string op)(float f) if (o... | D |
module flatman.x.ewmh;
import flatman;
__gshared:
enum _NET_WM_STATE_REMOVE = 0;
enum _NET_WM_STATE_ADD = 1;
enum _NET_WM_STATE_TOGGLE = 2;
struct ewmh {
static Atom[] netSupported(){
return [
Atoms._NET_SUPPORTED,
Atoms._NET_CLIENT_LIST,
Atoms._NET_CLIENT_LIST_STACKING,
Atoms._NE... | D |
module dkh.datastructure.convexhull;
import dkh.container.deque;
/// Convex Hull's query type
enum CHQueryType {
incr, ///
decr, ///
}
/**
Convex Hull Trick
Params:
T = value type
queryType = if queries are increase, use CHMode.incr.
if queries are decrease, use CHMode.decr.
*/
stru... | D |
module mci.assembler.generation.types;
import std.conv,
mci.core.common,
mci.core.container,
mci.core.math,
mci.core.nullable,
mci.core.analysis.utilities,
mci.core.code.metadata,
mci.core.code.modules,
mci.core.typing.core,
mci.core.typing.cache,
m... | D |
/mnt/d/dev/blockchain/wormhole/solana/bridge/client/target/rls/debug/deps/fixed_hash-61919979c6b5a806.rmeta: /home/franglin/.cargo/registry/src/github.com-1ecc6299db9ec823/fixed-hash-0.7.0/src/lib.rs /home/franglin/.cargo/registry/src/github.com-1ecc6299db9ec823/fixed-hash-0.7.0/src/hash.rs
/mnt/d/dev/blockchain/wormh... | D |
module ogregl.hardwareocclusionquery;
import derelict.opengl3.gl;
import ogre.rendersystem.hardware;
import ogre.exception;
import ogregl.glew;
import ogregl.compat;
// If you use multiple rendering passes you can test only the first pass and all other passes don't have to be rendered
// if the first pass result has ... | D |
module android.java.android.text.style.SubscriptSpan;
public import android.java.android.text.style.SubscriptSpan_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SubscriptSpan;
import import3 = android.java.android.text.style.CharacterStyle;
import import2 = android.java.android.text.style.Met... | D |
/Users/nazarkovalik/Desktop/work/MouseHunter/MouseHunter/DerivedData/Catch\ the\ jellyfish/Build/Intermediates.noindex/Catch\ the\ jellyfish.build/Debug-iphonesimulator/Catch\ the\ jellyfish.build/Objects-normal/x86_64/AppDelegate.o : /Users/nazarkovalik/Desktop/work/MouseHunter/MouseHunter/Catch\ the\ jellyfish/Mouse.... | D |
// Copyright © 2012, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
/**
* Source file for StartupScene.
*/
module charge.game.scene.startup;
import charge.math.color : Color4f;
import charge.util.vector : Vector;
static import charge.gfx.font;
static import cha... | D |
extern(C):
import tokenizer;
import utils;
import ast;
import gen;
import sema;
import core.stdc.stdio;
import core.stdc.string;
int Main(FILE* fp, int argc, char** argv)
{
if(argc != 2) {
fprintf(stderr, "引数の個数が正しくありません\n");
return 1;
}
user_input = argv[1];
size_t input_len = strl... | D |
a carbonaceous material obtained by heating wood or other organic matter in the absence of air
a stick of black carbon material used for drawing
a very dark grey color
a drawing made with a stick of black carbon material
draw, trace, or represent with charcoal
of a very dark grey
| D |
//Written in the D programming language
/++
$(SECTION Intro)
$(LUCKY Regular expressions) are a commonly used method of pattern matching
on strings, with $(I regex) being a catchy word for a pattern in this domain
specific language. Typical problems usually solved by regular expressions
include validation of ... | D |
//Written in the D programming language
/++
Module containing Date/Time functionality.
This module provides:
$(UL
$(LI Types to represent points in time: $(LREF SysTime), $(LREF Date),
$(LREF TimeOfDay), and $(LREF2 .DateTime, DateTime).)
$(LI Types to represent intervals of t... | D |
/Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Differ.build/Objects-normal/x86_64/NestedDiff.o : /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Diff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedDiff.swif... | D |
module gui.widgetfeature;
import gui.event : Event;
import gui.widget : Widget;
import gui.style;
class WidgetFeature
{
EventUsed send(Event event, Widget widget) { return EventUsed.no; }
void update(Widget widget) {}
void draw(Widget widget) {}
}
public import gui.widgetfeature.boxrenderer;
public ... | D |
/Users/Trupti/Desktop/Eva/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/EnumOperators.o : /Users/Trupti/Desktop/Eva/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Trupti/Desktop/Eva/Pods/ObjectMapper/Sources/ToJSON.swift /Users/Trupti/Desktop/Eva/Pods/ObjectMapper/Sources/Mappable.swi... | D |
/Users/Zhongli/Desktop/NewsDemo/DerivedData/NewsDemo/Build/Intermediates.noindex/NewsDemo.build/Debug-iphonesimulator/NewsDemo.build/Objects-normal/x86_64/DetailView.o : /Users/Zhongli/Desktop/NewsDemo/NewsDemo/AppDelegate.swift /Users/Zhongli/Desktop/NewsDemo/NewsDemo/ViewController.swift /Users/Zhongli/Desktop/NewsDe... | 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 app.controller.IndexController;
import hunt.framework;
import app.message.ResultMessage;
import app.exception.MessageException;
/**
*
*/
class IndexController : Controller
{
mixin MakeController;
@Action
Response index()
{
return new RedirectResponse(request(), "/index.html");
}
... | D |
/*
* Copyright 2017 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 applica... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... | D |
/**
* This module contains a collection of bit-level operations.
*
* Copyright: Copyright Don Clugston 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Don Clugston, Sean Kelly, Walter Bright, Alex Rønne Petersen
* Source: $(DRUNTIMESRC core/_bitop.d)
*/
... | D |
import std.algorithm, std.conv, std.range, std.stdio, std.string;
version(unittest) {} else
void main()
{
auto x = readln.chomp.to!int;
writeln(x ^^ 3);
}
| D |
// EXTRA_SOURCES: imports/ice10086y.d
// EXTRA_SOURCES: imports/ice10086x.d
import imports.ice10086y;
import imports.ice10086x;
void main() { test(); }
static if (0)
{
/* this is a reduced one-file version that triggers a seg fault
because the use of OPframeptr gets inlined, and the offests
to it are not updated.
Co... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail261.d(18): Error: invalid `foreach` aggregate `range`, define `opApply()`, range primitives, or use `.tupleof`
---
*/
//import std.stdio;
struct MyRange
{
}
void main()
{
MyRange range;
foreach (r; range)
{
//writefln("%s", r.toString());
}
}
| D |
/Users/markmoussa/HackathonProjects/Rhabit/DerivedData/Rhabit/Build/Intermediates/Rhabit.build/Debug-iphonesimulator/Rhabit.build/Objects-normal/x86_64/loginViewController.o : /Users/markmoussa/HackathonProjects/Rhabit/Rhabit/loginViewController.swift /Users/markmoussa/HackathonProjects/Rhabit/Rhabit/SecondViewControll... | 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 distributio... | D |
/Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/build/MyMVVMRxSwiftExample.build/Debug-iphonesimulator/MyMVVMRxSwiftExample.build/Objects-normal/x86_64/MemoComposeVC.o : /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExample/MyMVVMRxSwiftExample/ViewController/MemoComposeVC.swift /Users/MohamedNawar/Desktop/MyMVVMRxSwiftExa... | 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;
void main() {
auto s = readln.split.map!(to!int);
auto H = s[0];
auto W = s[1];
auto D = s[2];
auto N = max(H... | D |
/Users/wangqian/Desktop/perfect/PerfectTemplate/.build/x86_64-apple-macosx10.10/debug/PerfectCRUD.build/Join.swift.o : /Users/wangqian/Desktop/perfect/PerfectTemplate/.build/checkouts/Perfect-CRUD.git-7099260549736980491/Sources/PerfectCRUD/PerfectCRUD.swift /Users/wangqian/Desktop/perfect/PerfectTemplate/.build/checko... | D |
/Users/Laird/Code/Projects/AllergyAlert/DerivedData/AllergyAlert/SwiftMigration/AllergyAlert/Intermediates/AllergyAlert.build/Debug-iphonesimulator/AllergyAlert.build/Objects-normal/x86_64/DataService.o : /Users/Laird/Code/Projects/AllergyAlert/AllergyAlert/BarcodeScannerViewController.swift /Users/Laird/Code/Projects/... | D |
program foo;
var
i : integer;
a : integer;
q : real;
p : real;
begin
i := 3 + 1;
a := i+1;
q := 3.14 * 1.0;
p := q * 10.0;
a := (q = 1.0);
a := (1<4);
a := (1.3 > 3);
a := (2 <> 2.3333);
a := not(1=2);
a := -2345;
q := -p;
end.
| D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/TemplateKit.build/Tag/Var.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/panartem/Developer/Study/Microservices-vap... | D |
import gfm.math;
import iregioncontainer;
interface IRegion
{
int getRank();
IRegionContainer getContainer();
void setContainer(IRegionContainer);
vec3i getSite();
int getSiteIndex();
} | D |
module commands;
import std, jcli, finder, parser, emitter;
@CommandDefault("Searches any provided folders for .lst files, and then produces a coverage report.")
struct DefaultCommand
{
@ArgOverflow
string[] locations;
void onExecute()
{
const files = findFiles(this.locations);
Cover... | D |
// 1.
CHAIN
IF ~InParty("O#Tiax")
See("O#Tiax")
!StateCheck("O#Tiax",CD_STATE_NOTVALID)
!StateCheck("T#Dace",CD_STATE_NOTVALID)
CombatCounter(0)
!See([ENEMY])
Global("G#XB.DaceTiaxToBBanter1","GLOBAL",0)~ THEN BT#DAC25 DaceTiaxToBBanter#1.1
@0 /* Been wonderin'… are you always this high-strung? */
DO ~SetGlobal("G#X... | D |
/Users/sunilvg/Desktop/updation/OtelApp/DerivedData/OtelApp/Build/Intermediates/OtelApp.build/Debug-iphonesimulator/OtelApp.build/Objects-normal/x86_64/CheckInViewController.o : /Users/sunilvg/Desktop/updation/OtelApp/Offer.swift /Users/sunilvg/Desktop/updation/OtelApp/User.swift /Users/sunilvg/Desktop/updation/OtelApp... | D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Vapor.build/Droplet/Droplet+Responder.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720411555524/Sources/Vapor/JSON/HTTP/Message+JSON.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/vapor.git-5567719720... | 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="model.notation#_XPLPgCpvEeOfjLJLqM... | D |
/+
Copyright (c) 2005-2006 Eric Anderton
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, mer... | D |
META
{
Parser = Game;
MergeMode = true;
Engine = G2A;
};
func void b_enter_newworld()
{
Hlp_PrintConsole("HookTest 1");
var int x;
var string y;
x = 5000;
y = IntToString(x);
Hlp_PrintConsole(y);
b_enter_newworld_Old();
};
| 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_1_BeT-51112611... | D |
/**
* Compiler runtime function symbols
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1994-1998 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.di... | D |
module test.codec.websocket.model;
import hunt.http.codec.websocket.model.ExtensionConfig;
import hunt.Assert;
import hunt.util.Test;
import java.util.HashMap;
import java.util.Map;
public class ExtensionConfigTest {
private void assertConfig(ExtensionConfig cfg, string expectedName, Map!(string, string) expe... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1984-1995 by Symantec
* Copyright (C) 2000-2018 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
module tpl.typetuple;
/**
* Создаёт кортеж типов в виде цепочки из нуля и более типов.
* Пример:
* ---
* import tpl.typetuple;
* alias КортежТипа!(цел, дво) TL;
*
* цел foo(TL td) // то же что и цел foo(цел, дво);
* {
* return td[0] + cast(цел)td[1];
* }
* ---
*
* Пример:
* ---
* КортежТипа!(TL, с... | D |
/Users/tito/Desktop/Backup/Projects/Coordinator/.build/x86_64-apple-macosx/debug/Coordinator_Example.build/Sources/Extensions/UIView+Extensions.swift.o : /Users/tito/Desktop/Backup/Projects/Coordinator/Sources/DataService.swift /Users/tito/Desktop/Backup/Projects/Coordinator/Sources/AppDelegate.swift /Users/tito/Deskto... | D |
module android.java.android.net.wifi.aware.AttachCallback_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.android.net.... | D |
// Written in the D programming language.
/**
A one-stop shop for converting values from one type to another.
Copyright: Copyright Digital Mars 2007-.
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP digitalmars.com, Walter Bright),
$(HTTP erdani.org, Andrei Alexandrescu... | D |
/Users/zyang/SNGithub/Cosmos/Build/Intermediates/Cosmos.build/Debug-iphonesimulator/Cosmos.build/Objects-normal/x86_64/Triangle.o : /Users/zyang/SNGithub/Cosmos/Cosmos/Curve.swift /Users/zyang/SNGithub/Cosmos/Cosmos/Shape+Creation.swift /Users/zyang/SNGithub/Cosmos/Cosmos/Wedge.swift /Users/zyang/SNGithub/Cosmos/Cosmos... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -deps=${RESULTS_DIR}/compilable/rdeps7016.deps -Icompilable/extra-files
// POST_SCRIPT: compilable/extra-files/rdepsOutput.sh
// COMPILED_IMPORTS: extra-files/rdeps7016a.d extra-files/rdeps7016b.d
module rdeps7016;
import rdeps7016a;
void main()
{
f();
}
| D |
/**
* The iz implementation of the observer pattern.
*/
module iz.observer;
import
iz.types, iz.memory, iz.containers;
version(unittest) import std.stdio;
/**
* Subject (one to many) interface.
*/
interface Subject
{
/// determines if anObserver is suitable for this subject.
bool acceptObserver(Objec... | D |
INSTANCE Mod_7476_OUT_Arzt_REL (Npc_Default)
{
// ------ NSC ------
name = "Heiler";
guild = GIL_OUT;
id = 7476;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik ------
fi... | D |
/***********************************************************************\
* objbase.d *
* *
* Windows API header module *
* ... | D |
version https://git-lfs.github.com/spec/v1
oid sha256:76661473aaf4f2b62a4c72970553e6d685c5f6144a5487028a25a45b0b25ef84
size 485
| D |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Console.build/Console/Console+Options.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/console.git-5126077550814951831/Sources/Console/Terminal/String+ANSI.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/console.git-512607... | D |
// Written in the D programming language.
/**
JavaScript Object Notation
Synopsis:
----
//parse a file or string of json into a usable structure
string s = "{ \"language\": \"D\", \"rating\": 3.14, \"code\": \"42\" }";
JSONValue j = parseJSON(s);
writeln("Language: ", j["language"].str(),
... | D |
leave (a job, post, or position) voluntarily
leave behind empty
cancel officially
| D |
// Written in the D programming language.
/**
* This module provides algorithms for grammar flow analysis.
*
* Copyright: (C) 2019 by Kai Nacke
*
* License: See LICENSE file
*
* Authors: Kai Nacke
*/
module algo;
import grammar;
import std.algorithm : among, filter, min;
import std.bitmanip;
import std.contai... | D |
extern (C) void __assert_rtn(const char* x, const char* y, const char* z, const char* w)
{
version(AArch64) {
//TODO ARM assert
} else {
asm {
mov RAX, 0x2000004;
mov RDI, 1;
mov RSI, x;
mov RDX, 10;
syscall;
}
}
}
extern (C) void ... | D |
/Users/davalcato/Library/Mobile\ Documents/com~apple~CloudDocs/Desktop/iOS/iTunesClient2/Build/Intermediates/iTunesClient2.build/Debug-iphonesimulator/iTunesClient2.build/Objects-normal/x86_64/ItunesEntity.o : /Users/davalcato/Library/Mobile\ Documents/com~apple~CloudDocs/Desktop/iOS/iTunesClient2/iTunesClient2/Models/... | D |
/*
* Copyright (c) 2004-2008 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice... | D |
module upromised.tokenizer;
import std.exception : enforce;
import upromised.promise : DelegatePromiseIterator, Promise, PromiseIterator;
import upromised.stream : Stream;
import upromised : fatal;
private ptrdiff_t countUntilPartial(const(ubyte)[] input, const(ubyte)[] search) nothrow {
import std.algorithm : sta... | D |
module android.java.java.sql.Connection;
public import android.java.java.sql.Connection_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Connection;
import import9 = android.java.java.sql.NClob;
import import3 = android.java.java.sql.DatabaseMetaData;
import import6 = android.java.java.sql.Save... | D |
// Written in the D programming language
/++
Module containing some basic benchmarking and timing functionality.
For convenience, this module publicly imports $(MREF core,time).
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Main functionality) $(TD
$(LREF St... | D |
module mach.text.escape;
public:
import mach.text.escape.escaper;
import mach.text.escape.exceptions;
import mach.text.escape.unescape;
version(unittest){
private:
import mach.test;
import mach.range : consume, equals, any;
void CommonTests(in Escaper esc){
tests("Common", {
tes... | D |
module calc.ast.differentiator;
import calc.ast.node;
import calc.ast.visitor;
struct Differentiator
{
mixin Visitor;
Expression differentiate(Expression node, string x)
in
{
assert(node);
}
body
{
return this.dispatch!"this.visit"(node, x);
}
private Expression visit(Number node, string x)
{
return... | D |
module google.protobuf.any;
import std.json : JSONValue;
import std.typecons : Flag, No, Yes;
import google.protobuf;
enum defaultUrlPrefix = "type.googleapis.com";
struct Any
{
private struct _Message
{
@Proto(1) string typeUrl = protoDefaultValue!string;
@Proto(2) bytes value = protoDefault... | D |
/Users/keithelliott/Downloads/ListerforwatchOSiOSandOSX/Swift/DerivedData/Lister/Build/Intermediates/Lister.build/Debug-iphonesimulator/Lister.build/Objects-normal/x86_64/AppDelegate.o : /Users/keithelliott/Downloads/ListerforwatchOSiOSandOSX/Swift/Lister/ListCell.swift /Users/keithelliott/Downloads/ListerforwatchOSiOS... | D |
// Written in the D programming language.
/**
This module implements a
$(HTTP erdani.org/publications/cuj-04-2002.html,discriminated union)
type (a.k.a.
$(HTTP en.wikipedia.org/wiki/Tagged_union,tagged union),
$(HTTP en.wikipedia.org/wiki/Algebraic_data_type,algebraic type)).
Such types are useful
for type-uniform bin... | D |
version https://git-lfs.github.com/spec/v1
oid sha256:169a02dc19d9a77a6b64a6484ec610270cadcb9d88424ef0bc1f74fba59f5d4b
size 99
| D |
module hunt.web.client.SimpleResponse;
import hunt.http.codec.http.model;
import hunt.logging;
// import java.io.ByteArrayInputStream;
import hunt.util.Common;
import hunt.Exceptions;
import hunt.Functions;
import hunt.io;
import hunt.text;
import hunt.Functions;
import hunt.collection;
// import java.util.Iterator... | D |
module d.parser.expression;
import d.ast.expression;
import d.ast.identifier;
import d.ir.expression;
import d.parser.ambiguous;
import d.parser.base;
import d.parser.identifier;
import d.parser.statement;
import d.parser.type;
import d.parser.util;
/**
* Parse Expression
*/
AstExpression parseExpression(ParseMod... | D |
instance DMT_12140_TEGON_EXIT(C_Info)
{
npc = dmt_12140_tegon;
nr = 999;
condition = dmt_12140_tegon_exit_condition;
information = dmt_12140_tegon_exit_info;
important = FALSE;
permanent = TRUE;
description = Dialog_Ende;
};
func int dmt_12140_tegon_exit_condition()
{
return TRUE;
};
func void dmt_12140_teg... | D |
/Users/yuga/Documents/ios20161219/CafeDiary/cafeDiary04/Build/Intermediates/IBDesignables/Intermediates/Pods.build/Debug-iphonesimulator/FontAwesome.swift.build/Objects-normal/x86_64/Enum.o : /Users/yuga/Documents/ios20161219/CafeDiary/cafeDiary04/Pods/FontAwesome.swift/FontAwesome/Enum.swift /Users/yuga/Documents/ios2... | D |
//***************************
// Swampdragon Prototype
//***************************
PROTOTYPE Mst_Default_Dragon_Swamp(C_Npc)
{
//----- Monster ----
name = "Sumpfdrache";
guild = GIL_DRAGON;
aivar[AIV_MM_REAL_ID] = ID_DRAGON_SWAMP;
level = 300;
bodyStateInterruptableOverride = TRUE;
... | D |
module dcrypt.pqc.sphincs.sphincs256;
import dcrypt.bitmanip;
import dcrypt.crypto.engines.chacha;
import dcrypt.crypto.digests.blake: Blake512, hash;
import dcrypt.pqc.sphincs.common;
import dcrypt.pqc.sphincs.sphincs;
public alias Sphincs!(n, m, 12, 5, hash_n_n, hash_2n_n, prg) Sphincs256;
alias ubyte[32] hash2... | D |
module sdk.port.in6addr;
import sdk.port.base;
//
// IPv6 Internet address (RFC 2553)
// This is an 'on-wire' format structure.
//
struct in6_addr
{
union _S6_union {
UCHAR Byte[16];
USHORT Word[8];
alias Byte _S6_u8;
};
alias _S6_union u;
//
//... | D |
# FIXED
LaunchPad.obj: Y:/Lab\ 2007/CE2007-Students/inc/LaunchPad.c
LaunchPad.obj: C:/ti/ccsv7/ccs_base/arm/include/msp.h
LaunchPad.obj: C:/ti/ccsv7/ccs_base/arm/include/msp432p401r.h
LaunchPad.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h
LaunchPad.obj: C:/ti/ccsv7/ccs_base/arm/include/msp_co... | D |
// *************************************************************************
// EXIT
// *************************************************************************
INSTANCE DIA_MIL_6_EXIT(C_INFO)
{
nr = 999;
condition = DIA_MIL_6_EXIT_Condition;
information = DIA_MIL_6_EXIT_Info;
permanent = TRUE;
descrip... | D |
/*
* This file is part of serpent.
*
* Copyright © 2019-2020 Lispy Snake, Ltd.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this s... | D |
a sudden occurrence (or recurrence) of a disease
| 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 src/core/sys/windows/_wincon.d)
*/
module core.sys.windows.wincon;
version (Windows):
version (ANSI) {} else version = Unicode;
pragma(l... | D |
// Written in the D programming language
import std.stdio;
import std.string;
import std.array;
import std.variant;
import std.conv;
import std.getopt;
import std.ascii;
import env;
import buildData;
class symbol
{
string name;
this(string s){ name = s;}
override string toString(){
return name;
}
}
string ... | D |
func void ZS_ChallengeFans ()
{
if (GetTeam(self) != 0)
{
Npc_ExchangeRoutine(self,"challenge");
};
var string nearwp;
nearwp = Npc_GetNearestWP (self);
self.senses_range = 400;
//////////////////////////////////////////////////////////////////////////////////////////
// //PrintDebugNpc (PD_ZS_FRAME... | D |
/Users/admin/Documents/Being\ developed/CubManager/DerivedData/CubManager/Build/Intermediates.noindex/CubManager.build/Debug-iphonesimulator/CubManager.build/Objects-normal/x86_64/ViewController.o : /Users/admin/Documents/Being\ developed/CubManager/CubManager/SceneDelegate.swift /Users/admin/Documents/Being\ developed... | D |
import std.stdio;
import std.array;
import std.string;
import std.conv;
import std.algorithm;
import std.typecons;
import std.range;
import std.random;
import std.math;
import std.container;
import std.numeric;
import core.bitop;
void main() {
auto s = readln.split.map!(to!int);
auto N = s[0];
auto V = s[1];
... | 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 |
// Written in the D programming language.
module windows.windowsinformationprotection;
public import windows.core;
public import windows.appxpackaging : PACKAGE_ID;
public import windows.com : HRESULT, IUnknown;
public import windows.systemservices : BOOL, HANDLE, NTSTATUS, PWSTR;
public import windows.winrt : HSTRIN... | D |
/**
The main entry point for the reggae tool. Its tasks are:
$(UL
$(LI Verify that a $(D reggafile.d) exists in the selected directory)
$(LI Generate a $(D reggaefile.d) for dub projects)
$(LI Write out the reggae library files and $(D config.d))
$(LI Compile the build description with the reggae library ... | D |
INSTANCE Mod_7374_OUT_Gerichtswache_01 (Npc_Default)
{
// ------ NSC ------
name = "Gerichtswache";
guild = GIL_OUT;
id = 7374;
voice = 6;
flags = 0;
npctype = NPCTYPE_MAIN;
//-----------AIVARS----------------
aivar[AIV_ToughGuy] = TRUE;
// ------ Attribute ------
B_SetAt... | D |
/// Problem 22: 名前のスコア
///
/// 5000 個以上の名前が書かれているテキストファイル names.txt を用いる。まずアルファベット順にソートせよ。
/// のち、各名前についてアルファベットに値を割り振り、リスト中の出現順の数と掛け合わせることで、名前のスコアを計算する。
/// たとえば、リストがアルファベット順にソートされているとすると、COLIN はリストの938番目にある。
/// また COLIN は 3 + 15 + 12 + 9 + 14 = 53 という値を持つ。
/// よって COLIN は 938 x 53 = 49714 というスコアを持つ。
/// ファイル中の全名前のスコ... | D |
/Users/CHINTU/Desktop/ShuffleIt/build/ShuffleIt.build/Release-iphonesimulator/ShuffleIt.build/Objects-normal/i386/AppDelegate.o : /Users/CHINTU/Desktop/ShuffleIt/War/ViewController.swift /Users/CHINTU/Desktop/ShuffleIt/War/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/... | D |
/**
* Copyright: Copyright (c) 2012 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Nov 7, 2012
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module spec.serialization.NonMutable;
import dspec.Dsl;
import mambo.core._;
import ma... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.