code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module android.java.android.database.CrossProcessCursor;
public import android.java.android.database.CrossProcessCursor_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!CrossProcessCursor;
import import1 = android.java.java.lang.Class;
import import0 = android.java.android.database.CursorWindow... | D |
module godot.audiostreamplayback;
import std.meta : AliasSeq, staticIndexOf;
import std.traits : Unqual;
import godot.d.meta;
import godot.core;
import godot.c;
import godot.object;
import godot.reference;
@GodotBaseClass struct AudioStreamPlayback
{
static immutable string _GODOT_internal_name = "AudioStreamPlayback"... | D |
# FIXED
F2837xD_PieCtrl.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_common/source/F2837xD_PieCtrl.c
F2837xD_PieCtrl.obj: C:/ti/controlSUITE/device_support/F2837xD/v210/F2837xD_headers/include/F2837xD_device.h
F2837xD_PieCtrl.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/include/assert.h
F283... | D |
/*
area2048 'SHIP CTRL'
'ship.d'
2003/12/01 jumpei isshiki
*/
private import std.math;
//private import std.intrinsic;
private import SDL;
version (USE_GLES) {
private import opengles;
} else {
private import opengl;
}
private import util_sdl;
private import util_pad;
private import util_snd;... | D |
/Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/JSON.build/JSON+Serialize.swift.o : /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/JSON-1.0.6/Sources/JSON/File.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/JSON-1.0.6/Sources/JSON/JSON+Bytes.swift /Users/okasho/s... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.build/Codable/URLEncodedFormDecoder.swift.o : /Users/nice/HelloWord/.build/checkouts/url-encoded-form.git-6880606379968884505/Sources/URLEncodedForm/Data/URLEncodedFormData.swift /Users/nice/HelloWord/.build/checkouts/url-encoded-form.git-688060... | D |
/**
* Модуль содержит методы работы с ответом сервера базы данных
*
* Copyright: (c) 2017, Oleg Lelenkov.
* License: MIT
* Authors: Oleg Lelenkov
*/
module tarantool.response;
private
{
}
struct Response
{
}
| D |
instance VLK_585_Aleph(Npc_Default)
{
name[0] = "Aëåô";
npcType = npctype_main;
guild = GIL_VLK;
level = 5;
voice = 5;
id = 585;
attribute[ATR_STRENGTH] = 25;
attribute[ATR_DEXTERITY] = 15;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 100;
attribute[ATR_HITPOINTS] = ... | D |
/**
* Annotated declarations
*/
module exlang.annotated.declaration;
/**
* Abstract annotated declaration
*/
abstract class AnnDeclaration
{
import exlang.symtab.symbol;
/**
* The identifier
*/
string ident;
/**
* The type identifier
*/
Type type;
/**
* Const... | D |
/**
Central include for every vibe.d based application.
This file provides the majority of the vibe API through a single import. Note that typical
vibe.d applications will import 'vibe.d' instead to also get an implicit application entry
point.
Copyright: © 2012 RejectedSoftware e.K.
License: Subject to the ter... | D |
instance grd_5011_gardist(Npc_Default)
{
name[0] = NAME_Gardist;
npcType = NpcType_MINE_Guard;
guild = GIL_GRD;
level = 15;
voice = 13;
id = 5011;
attribute[ATR_STRENGTH] = 80;
attribute[ATR_DEXTERITY] = 60;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 190;
attribute... | D |
/**
* Copyright © DiamondMVC 2018
* License: MIT (https://github.com/DiamondMVC/Diamond/blob/master/LICENSE)
* Author: Jacob Jensen (bausshf)
*/
module diamond.database.mongo;
import diamond.core.apptype;
static if (isWeb)
{
import vibe.db.mongo.mongo;
import vibe.db.mongo.client;
/// The mongo db client.
pr... | D |
int main(string[] args){
import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;
import std.range;
import shapefil;
import dtriangulate.triangulate;
immutable string usage = "stateTriangulator /path/to/shapefileFolder/fileNoPrefix [shape number [part number] ... | D |
/**************************************************************************
Лежит ли slf на полу (повержен): TRUE - лежит, FALSE - нет.
***************************************************************************/
func int C_NpcIsDown(var C_Npc slf)
{
//если меня вообще нет
if (!Hlp_IsValidNpc(slf))
{
return ... | D |
# FIXED
uartstdio.obj: C:/ti/TivaWare/utils/uartstdio.c
uartstdio.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdbool.h
uartstdio.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdint.h
uartstdio.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include/stdarg.h
uartstdio.obj... | D |
/*
* Copyright (c) 2004-2009 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, this li... | D |
instance DIA_Mil_332_Stadtwache_EXIT(C_Info)
{
npc = Mil_332_Stadtwache;
nr = 999;
condition = DIA_Mil_332_Stadtwache_EXIT_Condition;
information = DIA_Mil_332_Stadtwache_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Mil_332_Stadtwache_EXIT_Condition()
{
return TRUE;
};
func void DI... | D |
/Users/matsumur/Dropbox/Working/tekupico7(acm)/DerivedData/てくPico/Build/Intermediates/てくPico.build/Debug-iphoneos/てくPico.build/Objects-normal/arm64/Someaction.o : /Users/matsumur/Dropbox/Working/tekupico7(acm)/wakapeko/AppDelegate.swift /Users/matsumur/Dropbox/Working/tekupico7(acm)/wakapeko/TutorialViewController.swif... | D |
/***********************************************************************\
* nb30.d *
* *
* Windows API header module *
* ... | D |
/Users/bilalshahid/Developer/Qaida/build/Qaida.build/Debug-iphoneos/Qaida.build/Objects-normal/arm64/GridViewController.o : /Users/bilalshahid/Developer/Qaida/Qaida/AppDelegate.swift /Users/bilalshahid/Developer/Qaida/Qaida/Lessons/lessonsCell.swift /Users/bilalshahid/Developer/Qaida/Qaida/Takhti/GridViewCell.swift /Us... | D |
# FIXED
driverlib/xbar.obj: C:/Users/a0221343/Git/bootROM/f28004x_bootrom/F28004x_ROM_dev_PG2.0/F28004x_ROM/driverlib/xbar.c
driverlib/xbar.obj: C:/Users/a0221343/Git/bootROM/f28004x_bootrom/F28004x_ROM_dev_PG2.0/F28004x_ROM/driverlib/xbar.h
driverlib/xbar.obj: C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.4/include/std... | D |
/*
* unary_expression_unit.d
*
*/
module syntax.unary_expression_unit;
import syntax.postfix_expression_unit;
import syntax.cast_expression_unit;
import syntax.new_expression_unit;
import lex.lexer;
import lex.token;
import logger;
/*
UnaryExpr => & UnaryExpr
| ++ UnaryExpr
| -- UnaryE... | D |
/Users/nicholasglover/Documents/GitHub/KeyNinjaShopping/DerivedData/KeyNinjaShopping/Build/Intermediates.noindex/KeyNinjaShopping.build/Debug-iphonesimulator/KeyNinjaShopping.build/Objects-normal/x86_64/DataItems.o : /Users/nicholasglover/Documents/GitHub/KeyNinjaShopping/KeyNinjaShopping/Delegates/SceneDelegate.swift ... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 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 |
/*******************************************************************************
* 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 distribution, an... | D |
/**
Contains definitions for customizing DDOX behavior.
Copyright: © 2012 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 ddox.settings;
import vibe.inet.url;
enum SortMode {
None,
Name
}
enum NavigationType {... | D |
import std....stdio;
import std.algorithm.iteration;
import std.exception;
double beta1(double[] x, double[] y, double x_bar, double y_bar)
{
/**
Calculates the slope parameter for the linear regression of 'y' wrt 'x'
*/
enforce(x.length==y.length, "x and y should be the same length!");
double... | D |
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/debug/deps/libref_cast_impl-b19b5e79d8ffa8ce.dylib: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/ref-cast-impl-1.0.6/src/lib.rs
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-te... | D |
/**
* Other global optimizations
*
* Copyright: Copyright (C) 1986-1998 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: Distributed under the Boost Software License, Version 1.0... | D |
/Users/chris/projects/rust_examples/macros/target/debug/deps/demo-2643b749f71bf7fc.rmeta: demo/src/main.rs
/Users/chris/projects/rust_examples/macros/target/debug/deps/demo-2643b749f71bf7fc.d: demo/src/main.rs
demo/src/main.rs:
| D |
template bsearch(alias pred)
{
import std.range.primitives;
import std.range : isRandomAccessRange;
size_t bsearch(Range)(Range r) if (isRandomAccessRange!Range)
{
import std.functional : unaryFun;
alias _pred = unaryFun!pred;
alias _ret = typeof(_pred(r.front));
static i... | D |
/*
Copyright (c) 2016-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 |
a sea nymph (part woman and part bird) supposed to lure sailors to destruction on the rocks where the nymphs lived
a woman who is considered to be dangerously seductive
a warning signal that is a loud wailing sound
an acoustic device producing a loud often wailing sound as a signal or warning
eellike aquatic North Amer... | D |
/+
Copyright (c) 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, ... | D |
///////////////////////// ГРИБЫ //////////////////////////////
const int FLAG_MR = 161616;
prototype Proto_Mushroom(C_Item)
{
description = "Гриб"; name = "";
weight = FLAG_MR;
mainflag = ITEM_KAT_FOOD; flags = ITEM_MULTI | ITEM_Mushroom;
scemeName = "FOOD";
material = MAT_LEATHER;
};
//---------------------... | D |
import std.stdio;
import std.string;
void main()
{
int n;
int count[6];
count[] = 0;
string str = chomp(readln());
foreach (char c; str) {
n = c - 'A';
if ( 0 <= n && n < 6) {
count[n]++;
}
}
for (uint i; i < 6; i++) {
if (i == 5) {
... | D |
/* THIS FILE GENERATED BY bcd.gen */
module bcd.fltk.Fl_JPEG_Image;
public import bcd.bind;
public import bcd.fltk.Fl_Image;
public import bcd.fltk.Enumerations;
extern (C) void _BCD_delete_13Fl_JPEG_Image(void *);
extern (C) void *_BCD_new__ZN13Fl_JPEG_ImageC1EPKc(char *);
extern (C) void _BCD_RI_13Fl_JPEG_Image(void ... | D |
/**
gl3n.linalg
Special thanks to:
$(UL
$(LI Tomasz Stachowiak (h3r3tic): allowed me to use parts of $(LINK2 https://bitbucket.org/h3r3tic/boxen/src/default/src/xf/omg, omg).)
$(LI Jakob Øvrum (jA_cOp): improved the code a lot!)
$(LI Florian Boesch (___doc__): helps me to understand opengl/complex maths better, ... | D |
module win32.directx.dinput8;
//import tango.sys.win32.Types;
//alias char CHAR;
import win32.windows;
enum {
CLASS_E_NOAGGREGATION = cast(int) 0x80040110,
}
interface IUnknown {
HRESULT QueryInterface(IID* riid, void** pvObject);
ULONG AddRef();
ULONG Release();
}
extern(C):
struc... | D |
/Users/olafgomez/Documents/PracticasCice/PokedexXYiOS/PokemonXYiOS/DerivedData/PokemonXYiOS/Build/Intermediates.noindex/Alamofire.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Result+Alamofire.o : /Users/olafgomez/Documents/PracticasCice/PokedexXYiOS/PokemonXYiOS/DerivedData/PokemonXYiOS/SourcePacka... | D |
module carb.base.controller;
import vibe.d;
import std.variant;
import std.conv;
import std.traits;
import std.stdio;
import carb.base.validator;
import carb.utils.util;
interface Dynamic {
Variant __send__(string method,HTTPServerRequest req, HTTPServerResponse res);
}
enum DynamicallyAvailable; // we'll use this... | D |
/** gl2platform.d
Converted from 'gl2platform.h'.
Version: 2.0
See_Also: http://www.khronos.org/opengles/2_X/
Authors: Koji Kishita
*/
module c.gles2.gl2platform;
/*
* This document is licensed under the SGI Free Software B License Version
* 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
*/
public ... | D |
/**
* Stuff for working with narrow strings.
* This module shouldn't be imported directly.
* Use SafeUtf/UnsafeUtf modules instead.
*
* Authors: Denis Shelomovskij <verylonglogin.reg@gmail.com>
*/
module java.nonstandard.UtfBase;
package const UtfBaseText = `
# line 11 "java\nonstandard\UtfBase.d"
import java.... | D |
/**
* Authors: Frank Benoit <keinfarbton@googlemail.com>
*/
module java.io.File;
import java.lang.all;
version(Tango){
static import tango.io.model.IFile;
static import tango.io.FilePath;
static import tango.io.Path;
static import tango.io.FileSystem;
static import tango.sys.Environment;
sta... | D |
assign too low a value to
esteem lightly
lose in value
| D |
module UnrealScript.TribesGame.GFxTrUI_LoadoutMenu;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.UTGame.UTGFxTweenableMoviePlayer;
extern(C++) interface GFxTrUI_LoadoutMenu : UTGFxTweenableMoviePlayer
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@propert... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtWidgets module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Lice... | 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.stdio;
void main() {
int N;
scanf("%d", &N);
auto X = new int[](N);
auto Y = new int[](N);
auto T = new int[](... | D |
/Users/benormos/Desktop/MyFutureBox/build/Pods.build/Debug-iphonesimulator/Hero.build/Objects-normal/x86_64/HeroTransition.o : /Users/benormos/Desktop/MyFutureBox/Pods/Hero/Sources/HeroCompatible.swift /Users/benormos/Desktop/MyFutureBox/Pods/Hero/Sources/HeroModifier+HeroStringConvertible.swift /Users/benormos/Desktop... | D |
/****
* Generic ranges not found in Phobos.
* Copyright: 2013 by Digital Mars
* License: $(LINK2 http://boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright
*/
module ranges;
/**************
* BitBucket is an OutputRange that throws away its output.
*/
struct BitBucket(E)
{
static void... | D |
module webtank.security.auth.core.controller;
import webtank.security.auth.iface.controller: IAuthController;
/// Класс управляет выдачей билетов для доступа
class AuthCoreController: IAuthController
{
import webtank.security.auth.iface.user_identity: IUserIdentity;
import webtank.security.auth.common.exception: ... | D |
module android.java.org.w3c.dom.CDATASection_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import5 = android.java.org.w3c.dom.Document_d_interface;
import import2 = android.java.org.w3c.dom.Node_d_i... | D |
/Users/justinlew/Documents/SFU/CMPT276/justinlew.mealify.io/DerivedData/mealify/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/CandleChartDataProvider.o : /Users/justinlew/Documents/SFU/CMPT276/justinlew.mealify.io/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swi... | D |
module arrayfire.internal;
import arrayfire.defines;
extern ( C ){
//#if AF_API_VERSION >= 33
/+
\param[out] arr an af_array with specified offset, dimensions and strides.
\param[in] data is the raw data pointer.
\param[in] offset specifies the number of elements to skip.
\param[in] ndims specifi... | D |
/Users/atyun-monitor/Desktop/Swift/DanTangFromQuanzai/Build/Intermediates/DanTangFromQuanzai.build/Debug-iphonesimulator/DanTangFromQuanzai.build/Objects-normal/x86_64/XZQLoginViewController.o : /Users/atyun-monitor/Desktop/Swift/DanTangFromQuanzai/DanTangFromQuanzai/ViewController.swift /Users/atyun-monitor/Desktop/Sw... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.container, std.range;
void get(Args...)(ref Args args)
{
import std.traits, std.meta, std.typecons;
static if (Args.length == 1) {
alias Arg = Args[0];
static if (isArray!Arg) {
... | D |
/*******************************************************************************
Distributed Message Queue Node Connection Handler
copyright:
Copyright (c) 2011-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
****... | D |
(formerly) a title of respect for a man in Turkey or Egypt
the governor of a district or province in the Ottoman Empire
| D |
/Users/yohoo/Developer/leaveMyiPhone/DerivedData/leaveMyiPhone/Build/Intermediates/leaveMyiPhone.build/Debug-iphoneos/leaveMyiPhone.build/Objects-normal/arm64/autoCamViewController.o : /Users/yohoo/Developer/leaveMyiPhone/leaveMyiPhone/ViewController.swift /Users/yohoo/Developer/leaveMyiPhone/leaveMyiPhone/AppDelegate.... | D |
# FIXED
PROFILES/gap.obj: C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/ble5stack/host/gap.c
PROFILES/gap.obj: C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/ble5stack/inc/bcomdef.h
PROFILES/gap.obj: C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/ble5stack/osal/src/inc/comdef.h
PROFILES/gap.obj: C:/ti/sim... | D |
/Users/louise/Desktop/ElectionLoginDemo/DerivedData/ElectionLoginDemo/Build/Intermediates/ElectionLoginDemo.build/Debug-iphonesimulator/ElectionLoginDemo.build/Objects-normal/x86_64/FrontViewController.o : /Users/louise/Desktop/ElectionLoginDemo/ElectionLoginDemo/taiwan_area.swift /Users/louise/Desktop/ElectionLoginDem... | 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 |
module android.java.android.graphics.RecordingCanvas;
public import android.java.android.graphics.RecordingCanvas_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!RecordingCanvas;
import import17 = android.java.java.lang.Class;
import import15 = android.java.android.graphics.DrawFilter;
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 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 |
/*
Copyright (c) 2015, Dennis Meuwissen
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of ... | D |
/Users/thendral/POC/vapor/Friends/.build/debug/Fluent.build/Database/Database.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Fluent-1.3.7/Sources/Fluent/Database/Database.swift /Users/thendral/POC/vapor/Friends/Packages/Fluent-1.3.7/Sources/Fluent/Database/Driver.swift /Users/thendral/POC/vapor/Friends/Packages/F... | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/lettre_email-6d0784ebc4658c6d.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lettre_email-0.9.2/src/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/lettre_email-0.9.2/src/error.rs
/home/zbf/workspace/git/RTAP/target/deb... | D |
module android.java.android.icu.util.TimeZone_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.android.icu.util.ULocale_d_interface;
import import6 = android.java.java.lang.Integ... | D |
module dtk.tkwidgets;
public {
import dtk.widget;
import dtk.widgets.button;
import dtk.widgets.canvas;
import dtk.widgets.entry;
import dtk.widgets.frame;
import dtk.widgets.grid;
import dtk.widgets.label;
import dtk.widgets.listbox;
import dtk.widgets.menu;
import dtk.widgets.menubutton;
import... | D |
module sketchup_api.slapi;
extern (C):
| D |
// REQUIRED_ARGS:
//
module test42;
import std.stdio;
import core.stdc.stdio;
import std.string;
import core.memory;
/***************************************************/
class Foo {
template myCast(T) {
T myCast(U)(U val) {
return cast(T) val;
}
}
}
void test1()
{
Foo foo = n... | D |
module dlangide.workspace.workspace;
import dlangide.workspace.project;
import dlangide.workspace.workspacesettings;
import dlangide.ui.frame;
import dlangui.core.logger;
import dlangui.core.settings;
import std.algorithm : map;
import std.conv;
import std.file;
import std.path;
import std.range : array;
import std.ut... | D |
/*******************************************************************************
* Copyright (c) 2004, 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 |
// { dg-do compile }
// { dg-options "-O3 -fdump-tree-optimized-raw" }
import gcc.attributes;
int glob1;
int easily_inlinable(int i) { glob1 = i; return 2; }
@optStrategy("none")
int call_easily_inlinable(int i)
{
return easily_inlinable(i);
}
// { dg-final { scan-tree-dump "gimple_call <easily_inlinable" "opti... | D |
/*
* Copyright © 2011 Intel Corporation
*
* 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, merge, pub... | D |
# FIXED
Comun/driverlib/sysctl.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/Comun/driverlib/sysctl.c
Comun/driverlib/sysctl.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharger/F2837xD/F2837xD_common/include/F28x_Project.h
Comun/driverlib/sysctl.obj: C:/Users/dagaro/workspace/Firmware_Test/UFCharge... | D |
import std.stdio;
uint palindrome(uint x){
int y=0;
while(x != 0){
y = y*10 + x%10;
x = (x - x%10)/10;
}
return y;
}
bool isPalindrome(uint x){
return x == palindrome(x);
}
void main(){
const int upper = 1000;
int largest = 0;
for(int i=0; i<upper; i++){
for(int j=0; j<=i; j++){
if(isPalindrome(i*... | D |
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/FluentMySQL.build/Objects-normal/x86_64/MySQLSerializer.o : /Users/kimhyewon/Documents/Server/tennis/Packages/FluentMySQL-1.0.1/Sources/FluentMySQL/MySQLDriver.swift /Users/kimhyewon/Documents/Server/tennis/Packages/FluentMySQL-1.0.1/Sources/FluentMySQL/... | D |
/// Images IO and manipulation module.
module img;
import std.exception;
import std.typecons : Nullable, Flag, Yes, No;
/// Internal representation of an image.
enum ImageFormat
{
/// 1 bit per pixel alpha value. Used for masking.
a1,
/// 8 bits per pixel alpha value. Used for masking.
a8,
/// 32 ... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2019 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 |
/Users/netnorimingconception/utils/GeoFence/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Scan.o : /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/netnorimingconception/utils/GeoFence/Pods/RxSwift/RxSwift/Observa... | D |
module android.java.android.media.tv.TvContract_PreviewPrograms_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
@JavaName("TvContract$PreviewProgra... | D |
/**
Implements WebSocket support and fallbacks for older browsers.
Standards: $(LINK2 https://tools.ietf.org/html/rfc6455, RFC6455)
Copyright: © 2012-2014 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Jan Krüger
*/
module vibe.http.websockets;... | D |
PGHERD_USER="{}"
PGHERD_GROUP="{}"
PGHERD_PID="{}" | D |
/// Multiple precision integers (Z).
module gmp.z;
import std.algorithm.mutation : move, moveEmplace;
import std.traits : isInstanceOf, Unsigned, Unqual; // used by expression templates
import gmp.traits;
/// Call unittests taking long to execute.
enum unittestLong = false;
/// Is `true` if type `T` can be evaluate... | D |
/*
Copyright (c) 2014-2023 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 |
import autowrap;
enum str = wrapDlang!(
LibraryName("std_stdint"),
Modules(
Yes.alwaysExport,
"std.stdint",
)
);
// pragma(msg, str);
mixin(str);
| D |
module rocl.controls.settings;
import std.meta, std.array, std.algorithm, perfontain, perfontain.opengl,
ro.conv.gui, rocl, rocl.rofs, rocl.game, rocl.controls;
final class WinSettings : GUIWindow
{
this(bool viewer = false)
{
super(MSG_SETTINGS, Vector2s(340, 255));
struct S
{
string caption, var;
... | 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="openetcs.profile.notation#_9X5UIBM... | D |
void main() {
problem();
}
void problem() {
auto A = scan!long;
auto B = scan!long;
auto X = scan!long;
void solve() {
const moddable = (long n, long x) => n < 0 ? 0 : n / x + 1;
writeln(moddable(B, X) - moddable(A-1, X));
}
solve();
}
// ----------------------------------------------
import ... | D |
module perfontain.nodes.sprite;
import std.math, std.stdio, std.range, perfontain, perfontain.math, perfontain.nodes, perfontain.misc;
enum
{
SPR_BODY,
SPR_HEAD,
SPR_HEAD_BOTTOM,
SPR_HEAD_MIDDLE,
SPR_HEAD_TOP,
SPR_SHIELD,
SPR_WEAPON,
SPR_MAX
}
enum
{
SPR_STANDING,
SPR_MOVING,
SPR_ATTACK,
SPR_DAMAGING,
SP... | D |
// Written in the D programming language.
/**
* Templates which extract information about types and symbols at compile time.
*
* $(SCRIPT inhibitQuickIndex = 1;)
*
* $(DIVC quickindex,
* $(BOOKTABLE ,
* $(TR $(TH Category) $(TH Templates))
* $(TR $(TD Symbol Name _traits) $(TD
* $(LREF fullyQualifie... | D |
/*
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, a... | D |
module wx.ScrolledWindow;
public import wx.common;
public import wx.Panel;
//---------------------------------------------------------------------
extern(D) class ОкноСПрокруткой : Панель
{
enum
{
СтильОкнаСПрокруткой = (ГПРОКРУТ | ВПРОКРУТ),
}
public this(ЦелУкз вхобъ);
public this(Окно ... | D |
module android.java.java.time.chrono.HijrahChronology;
public import android.java.java.time.chrono.HijrahChronology_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!HijrahChronology;
import import5 = android.java.java.time.chrono.ChronoLocalDateTime;
import import14 = android.java.java.time.chr... | D |
/Users/jonb/Documents/dvlp/rust-oauthcli/target/debug/deps/oauthcli-872990c271b5cb03.rmeta: src/lib.rs
/Users/jonb/Documents/dvlp/rust-oauthcli/target/debug/deps/liboauthcli-872990c271b5cb03.rlib: src/lib.rs
/Users/jonb/Documents/dvlp/rust-oauthcli/target/debug/deps/oauthcli-872990c271b5cb03.d: src/lib.rs
src/lib.rs... | D |
/Users/Yowa/WorkSpace/Pokedex/Build/Intermediates/Pokedex.build/Debug/Fluent.build/Objects-normal/x86_64/PreparationError.o : /Users/Yowa/WorkSpace/Pokedex/Packages/Fluent-1.0.0/Sources/Fluent/Database/Database.swift /Users/Yowa/WorkSpace/Pokedex/Packages/Fluent-1.0.0/Sources/Fluent/Database/Driver.swift /Users/Yowa/Wo... | D |
module android.java.java.io.ObjectInput_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.lang.Class_d_interface;
final class ObjectInput : IJavaObject {
static immutable s... | D |
/Users/nathaneidelson/Developer/CS51-Demo/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Response.o : /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/AFError.swift /Users/nathaneidelson/Developer/CS51-Demo/Pods/Alamofire/Source/Alamofire.swift /Users/nathaneid... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto T = readln.chomp;
bool nc;
int l, max_l;
for (int i = 2; i <= T.length; i += 2) {
if (T[i-2..i] == "??" || T[i-2..i] == "2?" || T[i-2..i] == "?5" || T[i-2..i] == "25") {
... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.