code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
// Written in the D programming language.
/**
* Contains the elementary mathematical functions (powers, roots,
* and trigonometric functions), and low-level floating-point operations.
* Mathematical special functions are available in `std.mathspecial`.
*
$(SCRIPT inhibitQuickIndex = 1;)
$(DIVC quickindex,
$(BOOKT... | D |
E: c44, c81, c95, c61, c69, c21, c101, c93, c106, c16, c74, c7, c5, c64, c97, c31, c84, c2, c32, c104, c62, c15, c92, c86, c78, c4, c8, c76, c73, c14, c50, c79, c37, c26, c25, c24, c90, c29, c83, c108, c42, c65, c38, c94, c27, c46, c34, c63, c58, c47, c55, c43, c9, c99, c67, c85, c10, c35, c66, c105, c82, c68, c102, c2... | D |
import std.file;
import std.math;
import std.stdio;
import std.string;
import std.conv;
const string FILEXT = ".or";
int charToInt(char c) {
if(c >= '0' && c <= '9') return (c-'0');
if(c == 'a' || c == 'A') return 10;
if(c == 'b' || c == 'B') return 11;
if(c == 'c' || c == 'C') return 12;
if(c == 'd' || c == 'D'... | D |
class A{
string a;
void set_a(string a) {
this.a = a;
}
string get_a(){
return a;
}
bool comp(A oth){
if (a == oth.get_a())
return true;
return false;
}
}
int main() {
double res;
int a;
int b;
a = ReadInteger();
b = ReadIntege... | D |
module camera;
import derelict.sdl2.sdl;
import math.vec2;
class Camera {
private:
SDL_Rect viewRect;
Vec2 pos;
public:
const(SDL_Rect) view() const @property {
return viewRect;
}
const(Vec2) position() const @property {
return pos;
}
void position(Vec2 position) @property {
pos = position;
}
this... | D |
/* -------------------- CZ CHANGELOG -------------------- */
/*
v1.01:
func void dia_viper_CLEARMAGICOREMAKE_info - upraven přístup do Jeskyně Ohně (FIRECAVE_ZEN) po splnění úkolu Rituál Ohně (TOPIC_KELIOSTEST)
*/
instance DIA_VIPER_EXIT(C_Info)
{
npc = vlk_986_viper;
nr = 999;
condition = dia_viper_exit_cond... | D |
/**
* C preprocessor
* Copyright: 2013 by Digital Mars
* License: $(LINK2 http://boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright
*/
module library.warp.omain;
import std.array;
import std.conv;
import std.format;
import std.stdio;
import core.stdc.stdlib;
import core.memory;
import libr... | D |
/Users/vishesh/Downloads/ContactBackup/build/ContactBackup.build/Debug-iphonesimulator/ContactBackup.build/Objects-normal/x86_64/Util_Color.o : /Users/vishesh/Downloads/ContactBackup/ContactBackup/LaunchScreen.swift /Users/vishesh/Downloads/ContactBackup/ContactBackup/Parser_UploadBG.swift /Users/vishesh/Downloads/Cont... | D |
/**
* FewDee's Resource Manager and related definitions.
*
* License: $(LINK2 http://opensource.org/licenses/zlib-license, Zlib License).
*
* Authors: Leandro Motta Barros
*/
module fewdee.resource_manager;
import std.regex;
import allegro5.allegro;
import fewdee.internal.singleton;
import fewdee.audio_sample;
... | D |
void main()
{
auto a2 = [,]; // invalid, but compiles
}
| D |
module ak.xml.coreXML;
//private import ak.core.akobject;
//private import ak.core.array;
private import ak.xml.service;
private import std.file;
private import std.stream;
private import std.string;
private import std.c.windows.windows;
private import poseidon.util.fileutil;
debug{
private import std.stdio;
}
co... | D |
instance Mod_7057_DMR_Daemonenritter_MT (Npc_Default)
{
// ------ NSC ------
name = "Dämonenritter";
guild = GIL_KDF;
id = 7057;
voice = 0;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 5);
// ------ Kampf-Takt... | D |
// Written in the D programming language.
/** This module contains the $(LREF Complex) type, which is used to represent
complex numbers, along with related mathematical operations and functions.
$(LREF Complex) will eventually
$(DDLINK deprecate, Deprecated Features, replace)
the built-in types `cfloa... | D |
accumulated knowledge or erudition or enlightenment
the trait of utilizing knowledge and experience with common sense and insight
ability to apply knowledge or experience or understanding or common sense and insight
the quality of being prudent and sensible
an Apocryphal book consisting mainly of a meditation on wisdom... | D |
// problem: http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DSL_1_A
// require: data_structure/union_find.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, std.bitmanip;
void mai... | 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 |
/Users/zyang/SNGithub/Cosmos/Build/Intermediates/Cosmos.build/Debug-iphonesimulator/Cosmos.build/Objects-normal/x86_64/StarsBackground.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... | D |
module java.util.Iterator;
import java.lang.all;
interface Iterator {
public bool hasNext();
public Object next();
public void remove();
}
| D |
import std.stdio;
int compute(){
const int n=100;
int s=0;
int s2=0;
for(int i=1;i<=n;i++){
s+=i;
s2+=i*i;
}
return s*s-s2;
}
void main(){
printf("%d",compute());
} | D |
module krepel.forward_renderer.debug_helper;
import krepel;
import krepel.resources;
import krepel.color;
import krepel.render_device;
import krepel.forward_renderer;
import krepel.engine;
struct DebugRenderMesh
{
Array!Vertex Vertices;
RenderPrimitiveTopology Mode = RenderPrimitiveTopology.LineList;
}
struct De... | D |
/Users/lee_bennett/Desktop/MadeSimple/Playground/RemindersApp/Build/Intermediates/RemindersApp.build/Debug-iphonesimulator/RemindersApp.build/Objects-normal/x86_64/ViewController.o : /Users/lee_bennett/Desktop/MadeSimple/Playground/RemindersApp/RemindersApp/SceneDelegate.swift /Users/lee_bennett/Desktop/MadeSimple/Play... | D |
module game.tweaker.nowline;
/*
* The single line that tells us the current physics update (phyu).
*/
import file.language;
import gui;
import game.tweaker.oneline;
import net.phyu;
class NowLine : OneLine {
private:
Label _nowText;
Phyu _now;
public:
this(Geom g)
{
super(g);
_nowT... | D |
instance Mod_1056_VLK_Buergerin_NW (Npc_Default)
{
// ------ NSC ------
name = Name_Buergerin;
guild = GIL_PAL;
id = 1056;
voice = 43;
flags = 0;
npctype = NPCTYPE_AMBIENT;
//-----------AIVARS----------------
aivar[AIV_ToughGuy] = TRUE;
// ------ Attribute ------
B_SetAtt... | D |
/**
* Compiler implementation of the D programming language
* http://dlang.org
*
* Copyright: Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved
* Authors: Walter Bright, http://www.digitalmars.com
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: ... | D |
/**
Check README.md for a usage example and abstract description.
*/
module simpleconfig;
public import simpleconfig.attributes;
/**
Reads a configuration data from a config file and
command-line arguments.
Command-line arguments will override config file entries.
Config file will override defaul... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
* Entry point for DMD.
*
* This modules defines the entry point (main) for DMD, as well as related
* utilities needed for arguments parsing, path manipulation, etc...
* This file is not shared with other compilers which... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtSql module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensee... | D |
/Users/hdcui/blind_sig_project/bld_sig/target/release/deps/quick_error-1cb9b26274c1316f.rmeta: /Users/hdcui/.cargo/registry/src/github.com-1ecc6299db9ec823/quick-error-1.2.3/src/lib.rs
/Users/hdcui/blind_sig_project/bld_sig/target/release/deps/libquick_error-1cb9b26274c1316f.rlib: /Users/hdcui/.cargo/registry/src/gith... | D |
/* TEST_OUTPUT:
---
fail_compilation/test20719.d(13): Error: struct `test20719.SumType` no size because of forward reference
fail_compilation/test20719.d(32): Error: variable `test20719.isCopyable!(SumType).__lambda2.foo` - size of type `SumType` is invalid
fail_compilation/test20719.d(18): Error: template instance `te... | D |
/Users/kenjou/Documents/SimpleToDo/SingleTodo/Build/Intermediates/SimpleTodo.build/Debug-iphonesimulator/SimpleTodo.build/Objects-normal/x86_64/Log.o : /Users/kenjou/Documents/SimpleToDo/SingleTodo/SimpleTodo/PurchaseViewController.swift /Users/kenjou/Documents/SimpleToDo/SingleTodo/SimpleTodo/ColorViewController.swift... | D |
module control_statements.while_stmt;
import node;
import pegged.grammar;
import program;
import expression;
class While_stmt: Node
{
this(ParseTree node, Program program)
{
super(node, program);
}
string eval()
{
string ret = "";
string close_label, else_label;
... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric, std.bigint;
void main()
{
auto N = readln.chomp.to!int;
writeln(N/2 - (N%2 == 0 ? 1 : 0));
} | D |
// URL: https://yukicoder.me/problems/no/1507
import std;
version(unittest) {} else
void main()
{
int N; io.getV(N);
auto g = Graph(N);
foreach (_; 0..N-1) {
int ui, vi; io.getV(ui, vi); --ui; --vi;
g.addEdgeB(ui, vi);
}
auto a = SList!int(0), b = SList!int(0), visited = new bool[](N);
visited[0... | D |
/**
* x86 decoder.
*
* License: BSD 3-clause
*/
module adbg.disasm.arch.x86;
import adbg.disasm.disasm;
import adbg.disasm.formatter;
extern (C):
/// x86 internals structure
struct x86_internals_t { align(2):
ubyte op; /// Last significant opcode
bool modrm; /// Was modrm involved? (Currently MOD!=11 only)
ub... | D |
opinion or judgment
the organ of sight
good discernment (either visually or as if visually
attention to what is seen
an area that is approximately central within some larger region
a small hole or loop (as in a needle
look at
| D |
module android.java.java.time.Duration_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.time.temporal.TemporalUnit_d_interface;
import import3 = android.java.java.lang.CharS... | D |
; Copyright (C) 2008 The Android Open Source Project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law ... | D |
module jpeg_turbod.libjpeg_turbo.turbojpeg;
import core.stdc.config : c_ulong;
extern (System):
alias tjhandle = void*;
tjhandle tjInitDecompress();
int tjDecompressHeader3(tjhandle handle, const ubyte* jpegBuf, c_ulong jpegSize,
int* width, int* height, int* jpegSubsamp, int* jpegColorspace);
int tjDecomp... | D |
instance INFO_TPL_13_EXIT(C_INFO)
{
nr = 999;
condition = info_tpl_13_exit_condition;
information = info_tpl_13_exit_info;
permanent = 1;
description = DIALOG_ENDE;
};
func int info_tpl_13_exit_condition()
{
return 1;
};
func void info_tpl_13_exit_info()
{
AI_StopProcessInfos(self);
};
instance INFO_TPL_13... | D |
/Users/y-tsuzaki/study/LearnRust/vector_test/target/debug/deps/vector_test-66536a15ad4e9b3c: src/main.rs
/Users/y-tsuzaki/study/LearnRust/vector_test/target/debug/deps/vector_test-66536a15ad4e9b3c.d: src/main.rs
src/main.rs:
| D |
/*******************************************************************************
Client Full-duplex request manager.
Data structures:
- There is one global RequestSet and one global ConnectionSet objects.
- The ConnectionSet hands out shared Connection objects.
- RequestSet creates a Request obje... | D |
instance Angry_Ghost(Npc_Default)
{
name[0] = "Недовольный призрак";
guild = GIL_DEMON;
id = 96669;
flags = NPC_FLAG_GHOST | NPC_FLAG_IMMORTAL;
npcType = npctype_main;
aivar[AIV_Behaviour] = BEHAV_NeverRansack;
aivar[AIV_Temper] = TEMPER_ToughGuy | TEMPER_ToughGuyNewsOverride | TEMPER_MagicUser;
aivar[AIV_I... | D |
/*******************************************************************************
Copyright: Copyright (c) 2007-2008 Matti Niemenmaa.
Все права защищены
License: BSD стиль: $(LICENSE)
Версия: Aug 2007: Initial release
Feb ... | D |
module android.java.java.util.logging.SimpleFormatter;
public import android.java.java.util.logging.SimpleFormatter_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!SimpleFormatter;
import import2 = android.java.java.lang.Class;
| D |
/**
* Defines the bulk of the classes which represent the AST at the expression level.
*
* Specification: ($LINK2 https://dlang.org/spec/expression.html, Expressions)
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walt... | D |
// Copyright (C) 2014-2020 Iain Buclaw
// This program 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 3.0 of the License, or (at your option) any later version.
// This program i... | D |
// Written in the D programming language.
/**
DLANGUI library.
This module contains menu widgets implementation.
Synopsis:
----
import dlangui.widgets.popup;
----
Copyright: Vadim Lopatin, 2014
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(WEB coolreader.org, Vadim Lopatin)
*/
mod... | D |
module euler6;
import std.stdio;
import std.array;
import std.conv;
import std.range;
import std.string;
import std.algorithm;
long problem6()
{
auto values = iota(101L);
long sumOfSquares = reduce!((long a, long b) { return a += b * b; })(values);
long squareOfSums = reduce!((long a, long b) { return a += b... | D |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to th... | D |
/Users/lukenewman/Developer/Plutonium/PlayToPay/Build/Intermediates/PlayToPay.build/Debug-iphoneos/PlayToPay.build/Objects-normal/arm64/GameSelectionViewController.o : /Users/lukenewman/Developer/Plutonium/PlayToPay/PlayToPay/SwitchUp.swift /Users/lukenewman/Developer/Plutonium/PlayToPay/PlayToPay/BustIt.swift /Users/l... | D |
/Users/radibarq/developer/Chottky/build/Pods.build/Debug-iphonesimulator/SwiftyCam.build/Objects-normal/x86_64/SwiftyCamViewController.o : /Users/radibarq/developer/Chottky/Pods/SwiftyCam/Source/SwiftyCamViewControllerDelegate.swift /Users/radibarq/developer/Chottky/Pods/SwiftyCam/Source/SwiftyCamButton.swift /Users/ra... | D |
/Users/lincolnnguyen/Downloads/yelpy_starter_1/DerivedData/Yelpy/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/MultipartUpload.o : /Users/lincolnnguyen/Downloads/yelpy_starter_1/Pods/Alamofire/Source/MultipartFormData.swift /Users/lincolnnguyen/Downloads/yelpy_starte... | D |
/Users/arminspahic/Desktop/Xcode/ToDoApp/DerivedData/ToDoApp/Build/Intermediates.noindex/ToDoApp.build/Debug-iphonesimulator/ToDoApp.build/Objects-normal/x86_64/Item+CoreDataClass.o : /Users/arminspahic/Desktop/Xcode/ToDoApp/ToDoApp/AppDelegate.swift /Users/arminspahic/Desktop/Xcode/ToDoApp/DerivedData/ToDoApp/Build/In... | D |
/Users/oksanka/Documents/Projects/CoreDataToDo/DerivedData/Build/Intermediates.noindex/CoreDataToDo.build/Debug-iphonesimulator/CoreDataToDo.build/Objects-normal/x86_64/ToDoItemView.o : /Users/oksanka/Documents/Projects/CoreDataToDo/CoreDataToDo/SceneDelegate.swift /Users/oksanka/Documents/Projects/CoreDataToDo/CoreDat... | D |
/Users/haruna/Documents/iOSdev/HackDavis-2021/Build/Intermediates/HackDavis.build/Debug-iphonesimulator/HackDavis.build/Objects-normal/x86_64/ChatViewController.o : /Users/haruna/Documents/iOSdev/HackDavis-2021/HackDavis/SceneDelegate.swift /Users/haruna/Documents/iOSdev/HackDavis-2021/HackDavis/AppDelegate.swift /User... | D |
/// Generate by tools
module org.xml.sax.InputSource;
import java.lang.exceptions;
public class InputSource
{
public this()
{
implMissing();
}
}
| D |
/Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/build/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Request.o : /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/Alamofire/Source/MultipartFormData.swift /Users/Polina/XcodeApp/CoreML_test_10.03/CoreML_test/Pods/Alamofire/Source/Time... | D |
module viewer;
import std.path;
import std.conv: to;
import atelier;
import editor, imgelement, previewer;
enum BrushType {
NoType, SelectionType, MovingType, ResizeType
}
final class ViewerGui: GuiElementCanvas {
private {
Texture _texture;
Sprite _sprite;
Sprite _rect;
Sprit... | D |
module android.java.android.graphics.Color;
public import android.java.android.graphics.Color_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Color;
import import1 = android.java.android.graphics.ColorSpace_Model;
import import0 = android.java.android.graphics.ColorSpace;
import import2 = andr... | D |
/*
* Licensed under the GNU Lesser General Public License Version 3
*
* This library 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 3 of the license, or
* (at your option) any late... | D |
/Users/justinlew/Documents/iOS_dev/mealify.io/DerivedData/mealify/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/DataApproximator.o : /Users/justinlew/Documents/iOS_dev/mealify.io/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/justinlew/Documents/iOS_d... | D |
; Copyright (C) 2008 The Android Open Source Project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law ... | D |
// This file is part of Visual D
//
// Visual D integrates the D programming language into Visual Studio
// Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICE... | 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 |
module org.serviio.upnp.protocol.http.UniversalHttpRequestFactory;
import org.apache.http.HttpRequest;
import org.apache.http.MethodNotSupportedException;
import org.apache.http.RequestLine;
import org.apache.http.impl.DefaultHttpRequestFactory;
import org.apache.http.message.BasicHttpRequest;
public class UniversalH... | D |
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/SQL.build/SQLJoinMethod.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/sql/Sources/SQL/SQLJoinMethod.swift /Users/christian/GitHub/vapor/... | D |
// This source code is in the public domain.
// non-readable Entry
import std.stdio;
import gtk.Main;
import gtk.MainWindow;
import gtk.Entry;
import gtk.Button;
import gtk.Widget;
import gtk.Box;
import gtk.CheckButton;
import gtk.ToggleButton; // *** NOTE *** needed for toggle signal
void main(stri... | D |
import vibe.core.core, vibe.http.fileserver, vibe.http.router, vibe.http.server, vibe.web.rest;
import vibe.core.log : setLogLevel, LogLevel;
import std.getopt, std.format : format;
import testo.api;
import testo.db : DB;
import testo.config : Config;
int main(string[] args)
{
auto settings = new HTTPServerSetting... | D |
module kerisy.auth.JwtAuthRealm;
import kerisy.auth.AuthRealm;
import kerisy.auth.Claim;
import kerisy.auth.ClaimTypes;
import kerisy.auth.Identity;
import kerisy.auth.JwtToken;
import kerisy.auth.JwtUtil;
import kerisy.auth.principal;
import kerisy.auth.UserDetails;
import kerisy.auth.UserService;
import kerisy.confi... | D |
instance TPL_1405_GorNaRan(Npc_Default)
{
name[0] = "Gor Na Ran";
npcType = npctype_main;
guild = GIL_TPL;
level = 17;
flags = 0;
voice = 13;
id = 1405;
attribute[ATR_STRENGTH] = 85;
attribute[ATR_DEXTERITY] = 65;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 244;
at... | D |
[cc]mc |
.hd vt$get "get and edit a single line from input" 07/11/84
[cc]mc
integer function vt$get (row, col, start, len)
integer row, col, start, len
.sp
[cc]mc |
Library: vswtlb (standard Subsystem library)
[cc]mc
.fs
'Vt$get' is responsible for reading characters from the terminal
and interpreting the special chara... | D |
# FIXED
DSP2833x_PieCtrl.obj: C:/ti/C2000Ware_3_01_00_00_Software/device_support/f2833x/common/source/DSP2833x_PieCtrl.c
DSP2833x_PieCtrl.obj: C:/ti/C2000Ware_3_01_00_00_Software/device_support/f2833x/headers/include/DSP2833x_Device.h
DSP2833x_PieCtrl.obj: C:/ti/C2000Ware_3_01_00_00_Software/device_support/f2833x/head... | D |
/*
TEST_OUTPUT:
---
fail_compilation/diag9765.d(9): Error: cannot implicitly convert expression ('x') of type char to char[]
---
*/
struct S9765 { char[] x; }
const S9765 s9765 = S9765('x');
const char s9765b = s9765.x;
| D |
/Users/ccrowe/github/AdventOfCode2019/fileio/target/debug/fileio-01bff3f5a624a6b9: /Users/ccrowe/github/AdventOfCode2019/fileio/src/lib.rs
| D |
/*******************************************************************************
* Copyright (c) 2000, 2003 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 |
import gtk.Main;
import gtk.MainWindow;
import gtk.Box;
import gtk.Calendar;
void main(string[] args)
{
Main.init(args);
auto window = new MainWindow("Window Title");
window.setDefaultSize(400, 200);
auto box = new Box(Orientation.HORIZONTAL, 0);
box.add(new Calendar());
window.add(box);
window.sh... | D |
module HashSetDemo;
import common;
import hunt.collection.HashMap;
import hunt.collection.HashSet;
import hunt.collection.Set;
import hunt.collection.Iterator;
import std.stdio;
import std.conv;
import std.range;
class HashSetDemo
{
void testBasicOperations()
{
HashSet!string hs = new HashSet!strin... | D |
module libprocessor;
import stdrus, sys.msscript;
проц сообщи(ткст сооб){вбс(`MsgBox "`~сооб~`"`); }
проц main()
{
сообщи("О-го-го...");
//либпроцессор();
} | D |
/**
* Windows API header module
*
* Translated from MinGW Windows headers
*
* Authors: Stewart Gordon
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_winioctl.d)
*/
module core.sys.windows.winioctl;
version (Windows):
// FIXME: check typ... | D |
/Users/Ari/Desktop/ArisAdditionsToAllBeat/allbeat-ios/allbeat/DerivedData/allbeat/Build/Intermediates/Alamofire.build/Debug-iphonesimulator/Alamofire\ iOS.build/Objects-normal/x86_64/Request.o : /Users/Ari/Desktop/ArisAdditionsToAllBeat/allbeat-ios/allbeat/Alamofire/Source/Timeline.swift /Users/Ari/Desktop/ArisAddition... | D |
/Users/nabil/Downloads/AlbumsMnager/Build/Intermediates/Pods.build/Debug-iphonesimulator/GBHFacebookImagePicker.build/Objects-normal/x86_64/GBHFacebookNavigationController.o : /Users/nabil/Downloads/AlbumsMnager/Pods/GBHFacebookImagePicker/GBHFacebookImagePicker/Classes/Model/GBHFacebookImage.swift /Users/nabil/Downloa... | D |
/Users/lap14205/Documents/home/blockchain_learning/casper/casper-get-started/src/contract/target/wasm32-unknown-unknown/release/deps/tinyvec_macros-486da843e56e5b6b.rmeta: /Users/lap14205/.cargo/registry/src/github.com-1ecc6299db9ec823/tinyvec_macros-0.1.0/src/lib.rs
/Users/lap14205/Documents/home/blockchain_learning/... | D |
/home/pangpangguy/Ensimag/ProjetRust/learnrust/rustTDTP/TD4/parentheses/target/rls/debug/deps/parentheses-b493c8651eb071c7.rmeta: src/main.rs
/home/pangpangguy/Ensimag/ProjetRust/learnrust/rustTDTP/TD4/parentheses/target/rls/debug/deps/parentheses-b493c8651eb071c7.d: src/main.rs
src/main.rs:
| D |
// Generated by gnome-h2d.rb <http://github.com/ddude/gnome.d>.
module glib.trace;
/* GLIB - Library of useful routines for C programming
*
* Copyright (C) 2009,2010 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Li... | D |
module mutils.timeline.utils;
import std.traits;
struct TimeIndexGetter {
uint lastIndex = 0;
float lastTime = float.min_exp;
void reset() {
this = this.init;
}
void set(T)(in T[] slice, float time) {
if (time <= slice[0].time || lastTime > time) {
lastIndex = 0;
}
lastTime = time;
foreach (uint ... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
alias P = Tuple!(int, "a", int, "b");
P[10^^5*2] PS;
int[10^^5*2] L;
void main()
{
auto N = readln.chomp.to!int;
foreach (i; 0..N) {
auto ab = readln.split.to!(int[]);
sort(ab);
PS[i... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/HTTP.build/Objects-normal/x86_64/Body+Chunk.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311994267206676365/Sources/HTTP/Async/Response+Async.swift /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/engine.git-3311... | D |
///
module arsd.color;
@safe:
// importing phobos explodes the size of this code 10x, so not doing it.
private {
real toInternal(T)(string s) {
real accumulator = 0.0;
size_t i = s.length;
foreach(idx, c; s) {
if(c >= '0' && c <= '9') {
accumulator *= 10;
accumulator += c - '0';
} else if(c == '... | D |
instance BDT_1014_Bandit_L (Npc_Default)
{
// ------ NSC ------
name = "Brago";
guild = GIL_BDT;
id = 1014;
voice = 6;
flags = 0;
npctype = NPCTYPE_MAIN;
// ------ Aivars ------
aivar[AIV_EnemyOverride] = TRUE;
// ------ Attribute ------
B_SetAttributesToChapter (self, 0); ... | D |
instance RBL_2619_Cup (Npc_Default)
{
//-------- primary data --------
name = "Kufel";
npctype = NPCTYPE_MAIN;
guild = GIL_RBL;
level = 3;
voice = 10;
id = 2619;
//-------- abilities --------
attribute[ATR_STRENGTH] = 40;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] ... | 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 |
/******************************************************************************
License:
Copyright (c) 2008 Jarrett Billingsley
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.
Permis... | D |
// REQUIRED_ARGS: -profile -c
import core.stdc.stdarg;
void error(...) { }
| D |
module col;
enum fg : string{
black= "\x1b[30m",
lightblack= "\x1b[90m",
red= "\x1b[31m",
lightred= "\x1b[91m",
green= "\x1b[32m",
lightgreen= "\x1b[92m",
yellow= "\x1b[33m",
lightyellow= "\x1b[93m",
blue= "\x1b[34m",
lightblue= "\x1b[94m",
magenta= "\x1b[35m",
lightmagenta= "\x1b[95m",
cya... | 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
... | D |
instance DIA_DiegoOw_EXIT(C_Info)
{
npc = PC_ThiefOW;
nr = 999;
condition = DIA_DiegoOw_EXIT_Condition;
information = DIA_DiegoOw_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_DiegoOw_EXIT_Condition()
{
return TRUE;
};
func void DIA_DiegoOw_EXIT_Info()
{
AI_StopProcessInfos(self);
... | D |
/**
* Module for window handling.
*
* Authors:
* Jacob Jensen
* License:
* https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE
*/
module poison.ui.window;
import dsfmlWindow = dsfml.window;
import dsfml.window : Event, Keyboard, Mouse;
private alias ContextSettings = dsfmlWindow.ContextSettings;
private... | D |
module jin.go.channel;
public import jin.go.output;
public import jin.go.input;
/// Common `Queue` collections implementation.
mixin template Channel(Message)
{
import std.algorithm;
import std.container;
import jin.go.queue;
alias Self = typeof(this);
/// Allow transferring between tasks
... | D |
import std.process: execute, spawnProcess, pipe;
class Clipboard {
static bool supported;
version(OSX) {
static bool init() {
return supported = true;
}
static void write(string txt) {
auto p = pipe();
p.writeEnd.write(txt);
spawnProcess... | D |
/**
Copyright: Copyright (c) 2013-2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.world.mesh.chunkmesh;
import voxelman.graphics.vao;
import voxelman.graphics.vbo;
import voxelman.math;
import voxelman.model.vertex;
import voxelman.graph... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.