code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
// Written in the D programming language.
/**
* Interface to C++ <exception>
*
* Copyright: Copyright (c) 2016 D Language Foundation
* License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: $(HTTP digitalmars.com, Walter Bright)
* Manu Evans
* Source: $(DRUNTIMESRC core/stdc... | D |
/Users/luoguochun/privt/proj/coding-blog/.demo/rust-lib/mini-redis/target/debug/deps/mio-7d2ff21466adf85d.rmeta: /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.7.6/src/lib.rs /Users/luoguochun/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/mio-0.7.6/src/macros.rs /Users/luogu... | D |
module collie.codec.http.parser;
public import collie.codec.http.parsertype;
import collie.codec.http.config;
/** ubyte[] 为传过去字段里的位置引用,没有数据拷贝,自己使用的时候注意拷贝数据,
bool 此段数据是否完结,可能只是数据的一部分。
*/
alias CallBackData = void delegate(HTTPParser, ubyte[], bool);
alias CallBackNotify = void delegate(HTTPParser);
final class HTT... | D |
in a humorous manner
| D |
.tr @@
.BG
.FN xgobi
.TL
XGobi: Dynamic Graphics for Data Analysis
.DN
Dynamic graphics, including brushing, rotation, grand tour, projection
pursuit, slicing. Most effectively used when called more than once on same
data, which then allows linked plots. Brushing with several glyphs and
colors is supported. (On mono... | D |
#include "../hdr/GLcommand.h"
#include "lcode_tst.h"
#define WIND0 0
#define WIND1 1
int nObjects = 1;
int objList[1] = { 1 };
float targXlist[1] = { 50.0 };
float targYlist[1] = { 0.0 };
int orientations[1] = { 0 };
float spatialFrequencies[1] = { 1.0 };
float temporalFrequencies[1] = { 1.0 };
int counterPhases[1] =... | D |
/*******************************************************************************
copyright: Copyright (c) 2005 Kris Bell. все rights reserved
license: BSD стиль: $(LICENSE)
version: Nov 2005: Initial release
author: Kris
************************... | D |
module android.java.android.security.KeyPairGeneratorSpec;
public import android.java.android.security.KeyPairGeneratorSpec_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!KeyPairGeneratorSpec;
import import4 = android.java.java.util.Date;
import import2 = android.java.javax.security.auth.x500... | 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 ... | D |
import pyd.pyd, pyd.embedded, pyd.extra;
import deimos.python.Python;
import std.complex;
import std.datetime;
import std.bigint;
import std.string;
static this() {
py_init();
}
/*
unittest {
alias cfloat_ = Complex!float;
cfloat_[] data = [
cfloat_(1,2),
cfloat_(1,3),
cfloat_... | D |
import std.stdio;
void main()
{
double x = 50.0 / 3.0 * 520.0;
writeln(x);
//8666.67
x = 50.0 * 520.0 / 3.0;
writeln(x);
//8666.67
} | D |
/**
* Implementation of the gamma and beta functions, and their integrals.
*
* License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Copyright: Based on the CEPHES math library, which is
* Copyright (C) 1994 Stephen L. Moshier (moshier@world.std.com).
* Authors: Stephen L. Moshier (original... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail312.d(13): Error: incompatible types for ((a[]) == (b)): 'int[]' and 'short'
fail_compilation/fail312.d(14): Error: incompatible types for ((a[]) <= (b)): 'int[]' and 'short'
---
*/
void main()
{
int[1] a = 1;
short b = 1;
assert(a[] == b);
assert(a[] <= b);
}
| 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
//
// License for redistribution is given by the Artistic License 2.0
// see file LICENSE for further details
module visuald.viewfilter;
impo... | D |
#!/usr/bin/env rdmd
/*
@author: Wai Yi Leung
@copyright: 2013-2014 Wai Yi Leung
@contact: w.y.leung@e-sensei.nl
@license: MIT Licence
*/
/*
Region definition: a genomic region with at least 2 bases
We summarize the genome regions which have genomic DNA reads aligned,
but they are reported discordant ... | D |
//Written in the D programming language
/++
Module containing Date/Time functionality.
This module provides:
$(UL
$(LI Types to represent points in time: $(D SysTime), $(D Date),
$(D TimeOfDay), and $(D DateTime).)
$(LI Types to represent intervals of time.)
$(LI Types... | D |
/**
Utility functions for memory management
Note that this module currently is a big sand box for testing allocation related stuff.
Nothing here, including the interfaces, is final but rather a lot of experimentation.
Copyright: © 2012-2013 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, ... | D |
/* -------------------- CZ CHANGELOG -------------------- */
/*
v1.01:
CanLearnMagicCircleNext_ABCZ - upraveny podmínky učení se magických kruhů (na žádost hráčů)
*/
instance DIA_MiltenOW_EXIT(C_Info)
{
npc = PC_Mage_OW;
nr = 999;
condition = DIA_MiltenOW_EXIT_Condition;
information = DIA_MiltenOW_EXIT_Info;... | D |
INSTANCE Swampshark_Weiss (Npc_Default)
{
// ------ NSC ------
name = "Weißer Sumpfhai";
guild = GIL_SWAMPSHARK;
id = 11024;
voice = 18;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5);
// ------ Kampf-Taktik ------
fight_tactic = FAI_SWAMPSHA... | D |
src/norimaki.ml: Array Csv Printf
| D |
/*******************************************************************************
@file UChar.d
Copyright (c) 2004 Kris Bell
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for damages
of an... | D |
// Templatized variable declaration
int twice(int x) = 2 * x;
const int twice(int x) = 2 * x;
immutable int twice(int x) = 2 * x;
void foo()
{
immutable int twice(int x) = 2 * x;
} | D |
module android.java.android.media.MediaDescription_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.android.graphics.Bitmap_d_interface;
import import0 = android.java.java.lang.C... | D |
#Hello in dbpass Apps
Saving your social media passwords
| D |
void main() {
auto N = ri;
long k;
auto P = readAs!(int[]);
auto Q = readAs!(int[]);
auto arr = P.dup.sort().array;
long a, b;
do {
if(arr == P) a = k;
if(arr == Q) b = k;
k++;
//debug arr.writeln;
} while(nextPermutation(arr));
writeln(abs(a - b));
}
// ===================================
import st... | D |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 3.0
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Softwa... | D |
func int BanditKilled(var int print_alive) {
var int ammount; ammount = 0;
var string alives; alives = "";
// ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
if (npc_isdead (NASZ_306_Perrot)) { ammount += 1; }
else { alives = ConcatStrings(alives,ConcatStrings(" ",IntToString(NASZ_306_Perrot.id))... | D |
/home/oscar/Documents/git_repo/e7020e_2019/target/rls/debug/examples/bare3_4-6dd21a2c9f35c340.rmeta: examples/bare3_4.rs
/home/oscar/Documents/git_repo/e7020e_2019/target/rls/debug/examples/bare3_4-6dd21a2c9f35c340.d: examples/bare3_4.rs
examples/bare3_4.rs:
| D |
// URL: https://yukicoder.me/problems/no/728
import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string;
version(unittest) {} else
void main()
{
int N; io.getV(N);
int[] A; io.getA(N, A);
int[] L, R; io.getC(N, L, R);
struct B { int x, i, t; }
auto b = new B[](N*2);
for... | D |
instance VLK_586_Grimes (Npc_Default)
{
//-------- primary data --------
name = "Grimes";
npctype = npctype_main;
guild = GIL_VLK;
level = 5;
voice = 4;
id = 586;
//-------- abilities --------
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 15;
att... | D |
/**
* Written in the D programming language.
* This module provides OSX-specific support for sections.
*
* Copyright: Copyright Digital Mars 2008 - 2012.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Auth... | D |
import std.stdio;
enum a = __traits(isUnsigned, uint);
enum b = __traits(isUnsigned, 10 + 11);
enum c = __traits(isUnsigned, 10u + 11u);
enum d = __traits(isUnsigned, uint, 10u + 11u, 10.0 - 9.0);
static assert(a);
static assert(!b);
static assert(c);
static assert(!d);
struct Point {
int x, y;
}
void main() {
... | D |
/// Generate by tools
module org.restlet.routing.VirtualHost;
import java.lang.exceptions;
public class VirtualHost
{
public this()
{
implMissing();
}
}
| D |
/*
* Problem 17
*
* 17 May 2002
*
* If the numbers 1 to 5 are written out in words: one, two, three,
* four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in
* total.
*
* If all the numbers from 1 to 1000 (one thousand) inclusive were
* written out in words, how many letters would be used?
*
*
*... | D |
/** DGui project file.
Copyright: Trogu Antonio Davide 2011-2013
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Trogu Antonio Davide
*/
module dgui.button;
import dgui.core.controls.abstractbutton;
/// Standarde windows _Button
class Button: AbstractButton
{
/**
Returns:
A DialogRes... | D |
the tangible substance that goes into the makeup of a physical object
information (data or ideas or observations) that can be used or reworked into a finished form
artifact made by weaving or felting or knitting or crocheting natural or synthetic fibers
things needed for doing or making something
a person judged suitab... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/WebSocket.build/WebSocket.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/websocket/Sources/WebSocket/WebSocketFrameSequence.swift /Users/panartem/Developer/Study/Microservic... | D |
/*
* XMLRPC server
* Pavel Kirienko, 2013 (pavel.kirienko@gmail.com)
*/
module xmlrpc.server;
import xmlrpc.encoder : encodeResponse;
import xmlrpc.decoder : decodeCall;
import xmlrpc.data : MethodCallData, MethodResponseData;
import xmlrpc.paramconv : paramsToVariantArray, variantArrayToParams;
import xmlrpc.erro... | D |
# FIXED
user.obj: C:/ti/motorware/motorware_1_01_00_18/sw/modules/user/src/32b/user.c
user.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/math.h
user.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/linkage.h
user.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/_defs.h
u... | 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_9_MobileMedia-... | D |
module org.serviio.upnp.service.contentdirectory.command.video.ListLastAddedVideosCommand;
import java.lang.String;
import java.util.List;
import org.serviio.config.Configuration;
import org.serviio.library.entities.AccessGroup;
import org.serviio.library.entities.Video;
import org.serviio.library.local.service.VideoS... | D |
/home/andy/source/rust/rust_course/lost_property/learn_stack2/target/rls/debug/deps/learn_stack2-9b6b71a4ccf789c0.rmeta: src/main.rs
/home/andy/source/rust/rust_course/lost_property/learn_stack2/target/rls/debug/deps/learn_stack2-9b6b71a4ccf789c0.d: src/main.rs
src/main.rs:
| D |
module foo.bar;
import core.vararg;
import std.stdio;
pragma (lib, "test");
pragma (msg, "Hello World");
static assert(true, "message");
alias mydbl = double;
int testmain()
in
{
assert(1 + (2 + 3) == -(1 - 2 * 3));
}
out(result)
{
assert(result == 0);
}
body
{
float f = (float).infinity;
int i = cast(int)f;
write... | D |
module setup;
version(safe) {
@safe:
}
import base;
/// Main setup struct
struct Setup {
private:
string _settingsFileName;
string _settingsSoundsSet;
string _settingsProjectLot;
string _settingsProject;
string _alphabetSet;
string _settingsFont;
int _settingsReadOutPausesMilSecs;
publi... | D |
import std.stdio;
import std.file;
import std.string;
import std.range;
import std.regex;
import std.algorithm;
int main(string[] args)
{
bool error;
auto r = regex(r" +\n");
foreach(a; args[1..$])
{
auto str = a.readText();
if (str.canFind("\r\n"))
{
writefln("Erro... | D |
instance GRD_214_Torwache (Npc_Default)
{
//-------- primary data --------
name = NAME_Torwache;
npctype = npctype_ambient;
guild = GIL_GRD;
level = 15;
voice = 7;
id = 214;
//-------- abilities --------
attribute[ATR_STRENGTH] = 70;
attribute[ATR_DEXTERITY] = 50;
attribute[ATR_MANA_MAX] ... | D |
/Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/InfiniteSequence.o : /Users/bernardo.tolosa/Documents/workspace/iosworks/basicmvvm/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/bernardo.tolosa/Documents/workspace/... | D |
import std.stdio;
import std.string;
import std.array;
int[] dx = [0, -1, 0, 1, 0];
int[] dy = [-1, 0, 0, 0, 1];
string str;
string[10] s;
char[10][10] ch;
int[10][10] ans;
void main(){
int n;
readf("%d\n", &n);
for (int i = 0; i < n; i++) {
foreach (j; 0..10) s[j] = replace(chomp(readln()), " ", "");
// try a... | D |
/Users/Avinash/Documents/Code/Guru/Guru/DerivedData/Guru/Build/Intermediates/Pods.build/Debug-iphonesimulator/Cosmos.build/Objects-normal/x86_64/CosmosLocalizedRating.o : /Users/Avinash/Documents/Code/Guru/Guru/Pods/Cosmos/Cosmos/CosmosAccessibility.swift /Users/Avinash/Documents/Code/Guru/Guru/Pods/Cosmos/Cosmos/Cosmo... | D |
module android.java.android.provider.ContactsContract_CommonDataKinds_Identity;
public import android.java.android.provider.ContactsContract_CommonDataKinds_Identity_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ContactsContract_CommonDataKinds_Identity;
import import0 = android.java.java.la... | D |
/**
* DMD-specific parameters.
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dl... | D |
/**
* cl4d - object-oriented wrapper for the OpenCL C API
* written in the D programming language
*
* Copyright:
* (C) 2009-2011 Andreas Hollandt
*
* License:
* see LICENSE.txt
*/
module opencl.image;
import opencl.c.cl;
import opencl.c.cl_gl;
import opencl.context;
import opencl.error;
import opencl.memory... | D |
// Written in the D programming language.
/**
<script type="text/javascript">inhibitQuickIndex = 1</script>
$(BOOKTABLE ,
$(TR $(TH Category) $(TH Functions)
)
$(TR $(TDNW Searching) $(TD $(MYREF balancedParens) $(MYREF
boyerMooreFinder) $(MYREF canFind) $(MYREF count) $(MYREF countUntil)
$(MYREF endsWith) $(MYREF fi... | D |
a condition characterized by abnormal deposits of melanin (especially in the skin)
| D |
// Written in the D programming language.
/**
Bit-level manipulation facilities.
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Bit constructs) $(TD
$(LREF BitArray)
$(LREF bitfields)
$(LREF bitsSet)
))
$(TR $(TD Endianness conversion) $(TD
... | D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
module test.game;
import std.math : pow, fmin, acos, PI;
import charge.charge;
import lib.sdl.sdl;
class Ticker : GameActor, GameTicker
{
protected:
GfxActor gfx;
PhyBody phy;
public:
this... | D |
/*
REQUIRED_ARGS: -HC=verbose -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
#pragma once
#include <assert.h>
#include <math.h>
#include <stddef.h>
#include <stdint.h>
#ifdef CUSTOM_D_ARRAY_TYPE
#define _d_dynamicArray CUSTOM_D_ARRAY_TYPE
#else
/// Represents a D [] ... | D |
/**
* Generates the .pdata and .xdata sections for Win64
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2012-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* Li... | D |
module mach.math.sqrt;
private:
import core.math : coresqrt = sqrt;
import mach.traits : isFloatingPoint, isIntegral, isImaginary, isComplex;
import mach.traits : isSigned, FloatingPointType, ImaginaryType;
import mach.math.floats.properties : fiszero;
import mach.math.sign : signof;
import mach.math.abs : uabs;
/++... | D |
/*******************************************************************************
* Copyright (c) 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, and is a... | D |
instance Mod_537_NONE_Lehmar_NW (Npc_Default)
{
// ------ NSC ------
name = "Lehmar";
guild = GIL_pal;
id = 537;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
//-----------AIVARS----------------
aivar[AIV_ToughGuy] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapt... | D |
auto identity(T)(T t) { return t; }
| D |
/**
* Copyright © DiamondMVC 2019
* License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE)
* Author: Jacob Jensen (bausshf)
*/
module diamond.seo.schema.schemaobject;
import diamond.core.apptype;
static if (isWeb)
{
import std.variant;
/// Wrapper around a schema object.
abstract class Schema... | D |
/**
* Authors: The D DBI project
*
* Version: 0.2.5
*
* Copyright: BSD license
*/
module dbi.msql.MsqlResult;
private import dbi.DBIException, dbi.Result, dbi.Row;
private import dbi.msql.imp;
/**
* Manage a result set from a mSQL database query.
*
* See_Also:
* Result is the interface of which this provide... | D |
//Written in the D programming language
/++
Module containing core time functionality, such as $(LREF Duration) (which
represents a duration of time) or $(LREF MonoTime) (which represents a
timestamp of the system's monotonic clock).
Various functions take a string (or strings) to represent a unit of ... | D |
module imports.test11931d;
import std.array;
import std.algorithm;
struct ConnectionPoint
{
void disconnect()
{
if(_f)
{
_f();
_f = null;
}
}
private void delegate() _f;
}
struct Signal(T, A...)
{
ConnectionPoint add(D f)
{
auto rf = { _... | D |
/++
$(H2 Constant Interpolation)
See_also: $(REF_ALTTEXT $(TT interp1), interp1, mir, interpolate)
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
Copyright: Copyright © 2017, Kaleidic Associates Advisory Limited
Authors: Ilya Yaroshenko
Macros:
SUBREF = $(REF_ALTTEXT $(TT $2), $2, mir, interpolat... | D |
# FIXED
TOOLS/onboard.obj: C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/common/cc26xx/onboard.c
TOOLS/onboard.obj: C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/inc/bcomdef.h
TOOLS/onboard.obj: C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/osal/src/inc/comdef.h
TOOLS/onboard.... | D |
////////////////////////////////////////////////////////
// B_LastWarningVatras
////////////////////////////////////////////////////////
func void B_LastWarningVatras ()
{
AI_Output (self, other, "DIA_Addon_Vatras_LastWarning_ADD_05_00"); //Co jsi to udęlal mizero?
AI_Output (self, other, "DIA_Addon_Vatras_LastWarn... | D |
// Compiler implementation of the D programming language
// Copyright (c) 1999-2015 by Digital Mars
// All Rights Reserved
// written by Walter Bright
// http://www.digitalmars.com
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
module ddmd.statement;
import core.... | D |
// Written in the D programming language.
/**
Functions and types that manipulate built-in arrays and associative arrays.
This module provides all kinds of functions to create, manipulate or convert arrays:
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKTABLE ,
$(TR $(TH Function Name) $(TH Description)
)
... | D |
module dcrypt.benchmark.Benchmark;
public import std.datetime: StopWatch;
import std.conv;
import dcrypt.benchmark.BlockCipherBenchmark;
import dcrypt.benchmark.AEADCipherBenchmark;
import dcrypt.benchmark.DigestBenchmark;
//import dcrypt.benchmark.PKSS52ParameterGeneratorBenchmark;
import dcrypt.crypto.blockcipher;
i... | D |
/*******************************************************************************
Utility class that keeps a queue of yielded `RequestOnConn`s and resumes
them in the next event loop cycle. In order to work `YieldedRequestOnConns`
needs to be registered with the `EpollSelectDispatcher` that executes the
... | D |
/*
* Copyright (c) 2012-2019 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
module antlr.v4.runtime.atn.PredictionContextCache;
import std.conv;
import antlr.v4.runtime.atn.PredictionContext;
/... | D |
a person or thing represented or foreshadowed by a type or symbol
an opposite or contrasting type
| D |
/Users/Khanh/vapor/TILApp/.build/x86_64-apple-macosx10.10/debug/SQL.build/SQLInsertBuilder.swift.o : /Users/Khanh/vapor/TILApp/.build/checkouts/sql.git-2678105727451989607/Sources/SQL/SQLBind.swift /Users/Khanh/vapor/TILApp/.build/checkouts/sql.git-2678105727451989607/Sources/SQL/SQLJoinMethod.swift /Users/Khanh/vapor/... | D |
/home/philip/LearnDemo/rust-lang-book/Chapter07/Module7_11/target/debug/deps/Module7_11-f4a14a4c90be2988: src/main.rs
/home/philip/LearnDemo/rust-lang-book/Chapter07/Module7_11/target/debug/deps/Module7_11-f4a14a4c90be2988.d: src/main.rs
src/main.rs:
| D |
/*
TEST_OUTPUT:
---
fail_compilation/ice9540.d(34): Error: function ice9540.A.test.AddFront!(this, f).AddFront.dg `(int _param_0)` is not callable using argument types `()`
fail_compilation/ice9540.d(25): Error: template instance ice9540.A.test.AddFront!(this, f) error instantiating
---
*/
template Tuple(E...) { alias... | D |
module wx.Caret;
public import wx.common;
public import wx.Window;
//! \cond EXTERN
extern (C) ЦелУкз wxCaret_ctor();
extern (C) проц wxCaret_dtor(ЦелУкз сам);
extern (C) бул wxCaret_Create(ЦелУкз сам, ЦелУкз окно, цел ширь, цел высь);
extern (C) бул wxCaret_IsOk(ЦелУкз сам);
extern (C) бул wxCaret_IsVisible(ЦелУкз са... | D |
// D import file generated from 'all.d'
public
{
import std.stdio;
import std.conv;
import gamelib.all;
import core.memory;
import controller;
import mylib.yaml;
import replay;
import mylib.matrix;
import material.transitiontable;
import mylib.camellia;
import mylib.csv;
... | D |
/*******************************************************************************
Naive implementation of DLS `GetSize` request
Copyright:
Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
********... | D |
/Users/Polina/XcodeApp/diplom_prj/CoreML_test/build/Pods.build/Debug-iphonesimulator/DITranquillity.build/Objects-normal/x86_64/DIScanFramework.o : /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/DITranquillity/Sources/Storyboard/DIStoryboard.swift /Users/Polina/XcodeApp/diplom_prj/CoreML_test/Pods/DITranquillity/So... | 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 |
/**
Utilties related to Discord Guild sharding.
*/
module dscord.util.sharding;
import dscord.types;
/// Returns the shard number a given snowflake is on (given the number of shards)
ushort shardNumber(Snowflake id, ushort numShards) {
return (id >> 22) % numShards;
}
| D |
module dwt.internal.mozilla.nsICookieManager;
import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsISimpleEnumerator;
import dwt.internal.mozilla.nsStringAPI;
const char[] NS_ICOOKIEMANAGER_IID_STR = "aaab6710-0f2c-11d5-a5... | 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 |
struct S1 { bool opEquals(T : typeof(this))(T) { return false; } }
struct S2 { bool opEquals(T : typeof(this))(T) { return false; } }
struct S3 { bool opEquals(T : typeof(this))(T) { return false; } }
struct S4 { bool opEquals(T : typeof(this))(T) { return false; } }
struct S5 { bool opEquals(T : typeof(this))(T) { ret... | D |
instance DIA_Biff_DI_EXIT(C_Info)
{
npc = DJG_713_Biff_DI;
nr = 999;
condition = DIA_Biff_DI_EXIT_Condition;
information = DIA_Biff_DI_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Biff_DI_EXIT_Condition()
{
return TRUE;
};
func void DIA_Biff_DI_EXIT_Info()
{
AI_StopProcessInfos(se... | D |
/**
License:
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit t... | D |
unittest {}
unittest {}
unittest { assert(false); }
| D |
module dopus.lister.actions.focusnextaction;
import dopus.lister.actions;
static this()
{
ListerActions.register!FocusNextAction;
}
class FocusNextAction : SimpleAction
{
this(Lister lister)
{
super("focusNext", null);
addOnActivate(delegate(Variant, SimpleAction) {
import std... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/Core.build/NotFound.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/core/Sources/Core/Data+Base64URL.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/... | D |
import std.stdio, std.range, std.string, std.algorithm, std.array,
std.ascii, std.typecons;
struct Digit {
immutable char d;
this(in char d_) pure nothrow @safe @nogc
in { assert(d_ >= '0' && d_ <= '9'); }
body { this.d = d_; }
this(in int d_) pure nothrow @safe @nogc
in { assert(d_ >=... | D |
/Users/NMB12/Documents/caregiverapp/DerivedData/ReMindr/Build/Intermediates/ReMindr.build/Debug-iphoneos/ReMindr.build/Objects-normal/arm64/ZoomTransitioningDelegate.o : /Users/NMB12/Documents/caregiverapp/ReMindr/CustomPointAnnotation.swift /Users/NMB12/Documents/caregiverapp/ReMindr/AddFavouriteViewController.swift /... | D |
ZGELQF (F08AVF) Example Program Data
3 4 2 :Values of M, N and NRHS
( 0.28,-0.36) ( 0.50,-0.86) (-0.77,-0.48) ( 1.58, 0.66)
(-0.50,-1.10) (-1.21, 0.76) (-0.32,-0.24) (-0.27,-1.15)
( 0.36,-0.51) (-0.07, 1.33) (-0.75, 0.47) (-0.08, 1.01) :End of matrix A
(-1.35, 0.19) ( ... | D |
// @ inheritance.d
import std.stdio;
interface Dog{
void Bark();
void Walk();
}
class Husky : Dog{
void Bark(){ writeln("Husky Bark!"); }
void Walk(){ writeln("Husky Walk!"); }
}
class GoldenRetriever : Dog{
void Bark(){ writeln("GoldenRetriever Bark!"); }
void Walk(){ writeln("GoldenRetriever Walk!"); }
}
vo... | D |
with respect to the outside
in outward appearance
| D |
void main() { runSolver(); }
void problem() {
auto T = scan!long;
auto subSolve(long N) {
auto ds = (9 * N).divisors;
foreach(k; 1..18) {
const dec = 10L ^^ k;
foreach(d; ds) {
const l = d - N;
if (l >= 1 && l < dec) return l;
}
}
return 0;
}
auto solve() {
... | D |
/Users/AyushArora/Documents/100_Days_of_Code/100_Days_of_Code/Rust/target/rls/debug/build/rand_chacha-8f12a30830111b58/build_script_build-8f12a30830111b58: /Users/AyushArora/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/build.rs
/Users/AyushArora/Documents/100_Days_of_Code/100_Days_of_Code/Rust/tar... | D |
/run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/target/debug/deps/aho_corasick-bfefb538d71f8e98.rmeta: /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.7.6/src/lib.rs /run/media/andreby/Docs/GithubCodes/learn_rust/actix-demo/~/.cargo/re... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.