code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
# FIXED
proj_lab01c.obj: C:/ti/motorware/motorware_1_01_00_18/sw/solutions/instaspin_foc/src/proj_lab01c.c
proj_lab01c.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/math.h
proj_lab01c.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/linkage.h
proj_lab01c.obj: C:/ti/ccsv7/tools/compiler... | D |
module devolve.net.network;
import std.typecons, std.algorithm, std.math;
///Convenience alias
alias HiddenLayer = HiddenNeuron[];
///Convenience alias
alias InputLayer = InputNeuron[];
///Convenience alias
alias OutputLayer = OutputNeuron[];
/**
* Abstract class used to describe the neurons which make up
* the... | D |
/Users/shawngong/Centa/.build/debug/Essentials.build/Helpers.swift.o : /Users/shawngong/Centa/Packages/Crypto-1.0.1/Sources/Essentials/ByteStream.swift /Users/shawngong/Centa/Packages/Crypto-1.0.1/Sources/Essentials/Helpers.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swi... | D |
module ui.Slider;
import ui.Control;
class Slider : Control {
protected uiSlider * _slider;
mixin EventListenerMixin!("OnChanged", Slider);
this(int min = -10, int max = 10) {
_slider = uiNewSlider(min, max);
super(cast(uiControl *) _slider);
uiSliderOnChanged(_slider, &OnChang... | D |
module UnrealScript.Engine.SeqAct_SetPhysics;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.Actor;
import UnrealScript.Engine.SequenceAction;
extern(C++) interface SeqAct_SetPhysics : SequenceAction
{
public extern(D):
private static __gshared ScriptClass mStaticClass;
@pr... | D |
/home/raz/code_projects/rust_projects/rust_projects1/gas_rust_cursive_1/target/rls/debug/build/num-complex-8bf27b7a0e7e3819/build_script_build-8bf27b7a0e7e3819: /home/raz/.cargo/registry/src/github.com-1ecc6299db9ec823/num-complex-0.2.1/build.rs
/home/raz/code_projects/rust_projects/rust_projects1/gas_rust_cursive_1/t... | D |
/*
EXTRA_SOURCES: imports/test45a.d imports/test45b.d
PERMUTE_ARGS:
RUN_OUTPUT:
---
foo()
foo(int)
foo()
foo()
foo(int)
bar(t)
bar(t,i)
---
*/
import imports.test45a;
import imports.test45b;
alias int function() fp1;
alias int function(int) fp2;
void main()
{
auto i = foo();
assert(i == 1);
i = foo(1);
... | D |
/Users/Thomas_Stuart/Desktop/CodePathBootcamp/Parstagram/Build/Intermediates/Pods.build/Debug-iphonesimulator/MessageInputBar.build/Objects-normal/x86_64/InputTextView.o : /Users/Thomas_Stuart/Desktop/CodePathBootcamp/Parstagram/Pods/MessageInputBar/Sources/Views/SeparatorLine.swift /Users/Thomas_Stuart/Desktop/CodePat... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto S = readln.chomp;
auto T = readln.chomp;
writeln(S, T);
} | D |
/*
Copyright © 2020-2023, Inochi2D Project
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module creator.widgets.dummy;
import creator.widgets;
import std.math : abs;
/**
More advanced dummy widget
*/
void incDummy(ImVec2 size = ImVec2(0, 0)) {
ImVec2 av... | D |
module allegro5.allegro_image;
version(ALLEGRO_NO_PRAGMA_LIB) {}
else
{
pragma(lib, "allegro_image");
}
import allegro5.allegro;
extern (C)
{
bool al_init_image_addon();
void al_shutdown_image_addon();
uint al_get_allegro_image_version();
}
| D |
// Written in the D programming language
/**
* $(RED Warning: This module is considered out-dated and not up to Phobos'
* current standards. It will remain until we have a suitable replacement,
* but be aware that it will not remain long term.)
*
* Source: $(PHOBOSSRC std/_stream.d)
* Macros:
* ... | D |
module statemachine;
class StateMachine(S,A){
S[] stateSet;
A alphabetSet;
S translate(S, A);
S startState;
S[] finishStateSet;
}
class TestStateMachine : StateMachine!(int, int){
override int translate(int state, int alphabet){
return state;
}
}
| D |
module logging.plotlystreamer;
import std.datetime;
import std.net.curl;
import std.socket;
import std.stdio;
class plotlyStreamer
{
private:
Socket _sock;
string _token;
string _buffer;
StopWatch _sw;
import std.file;
File fitLog;
public:
this(string token_)
{
_token = "plotly-streamtoken: " ~ token_... | D |
module ldap.d;
public import dldap.constants;
public import dldap.connection;
public import dldap.exception;
| D |
instance DIA_Rosi_EXIT(C_Info)
{
npc = BAU_936_Rosi;
nr = 999;
condition = DIA_Rosi_EXIT_Condition;
information = DIA_Rosi_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Rosi_EXIT_Condition()
{
if(Kapitel < 3)
{
return TRUE;
};
};
func void DIA_Rosi_EXIT_Info()
{
AI_StopProcessI... | D |
a social club for male undergraduates
| D |
instance STRF_1102_Straefling(Npc_Default)
{
name[0] = NAME_Straefling;
guild = GIL_STRF;
id = 1102;
voice = 1;
flags = 0;
npcType = NPCTYPE_OCAMBIENT;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
// EquipItem(self,ItMw_2H_Axe_L_01);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"H... | D |
/Users/tvanbelle/Documents/workspace/iRecorder/build/iRecorder.build/Debug-iphoneos/iRecorderTestApp.build/Objects-normal/arm64/FirstViewController.o : /Users/tvanbelle/Documents/workspace/iRecorder/iRecorderTestApp/AppDelegate.swift /Users/tvanbelle/Documents/workspace/iRecorder/iRecorderTestApp/SecondViewController.s... | D |
/**
* Font module.
*
* License:
* MIT. See LICENSE for full details.
*/
module tkd.widget.common.font;
/**
* These are common commands that apply to all widgets that have them injected.
*/
mixin template Font()
{
import std.array : join;
import std.conv : to;
import tkd.element.fontstyle;
/**
* Set the font... | D |
/Users/jimallan/Downloads/starter/location-track-server/.build/x86_64-apple-macosx10.10/debug/Console.build/Output/Console+Output.swift.o : /Users/jimallan/Downloads/starter/location-track-server/.build/checkouts/console.git-8669534691655913401/Sources/Console/Terminal/ANSI.swift /Users/jimallan/Downloads/starter/locat... | D |
generic name for certain synthetic or semisynthetic materials that can be molded or extruded into objects or films or filaments or used for making e.g. coatings and adhesives
a card (usually plastic) that assures a seller that the person using it has a satisfactory credit rating and that the issuer will see to it that ... | D |
instance DIA_Mika_EXIT(C_Info)
{
npc = Mil_337_Mika;
nr = 999;
condition = DIA_Mika_EXIT_Condition;
information = DIA_Mika_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Mika_EXIT_Condition()
{
if(Kapitel <= 2)
{
return TRUE;
};
};
func void DIA_Mika_EXIT_Info()
{
AI_StopProcess... | 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/_nspapi.d)
*/
module core.sys.windows.nspapi;
version (Windows):
@system:
version (ANSI)... | D |
/*
* General.d : Where the adventure begins.
*/
module dfile;
import std.stdio;
import std.exception : ErrnoException;
import s_elf : scan_elf;
import s_fatelf : scan_fatelf;
import s_mz : scan_mz;
import s_pe : scan_pe;
import s_ne : scan_ne;
import s_le : scan_le;
import s_mach : scan_mach;
import s_images, Etc... | D |
module gui.widgetfeature.textrenderer;
import graphics.model;
import gui.resources.material : Material;
import gui.resources.texture : Texture;
import gui.text;
import gui.widget;
import gui.widgetfeature : WidgetFeature;
import gui.styledtext : TextStyler;
import gui.style.stylesheet : Stylable;
import gui.... | D |
a strong belief in a supernatural power or powers that control human destiny
complete confidence in a person or plan etc
an institution to express belief in a divine power
loyalty or allegiance to a cause or a person
| D |
// *************
// SPL_MassDeath
// *************
const int SPL_Cost_MassDeath = 150;
const int SPL_Damage_MassDeath = 500;
INSTANCE Spell_MassDeath (C_Spell_Proto)
{
time_per_mana = 0;
damage_per_level = SPL_Damage_MassDeath;
targetCollectAlgo = TARGET_COLLECT_NONE; // Opfer werden aber erst durch Kolli... | D |
/*#D*/
/*===-- llvm-c/BitWriter.h - BitWriter Library C Interface --------*- D -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* ... | D |
$NetBSD$
Stolen from https://github.com/nrTQgc/druntime/tree/netbsd
--- runtime/druntime/src/core/sys/posix/sys/shm.d.orig 2016-02-13 20:02:16.000000000 +0000
+++ runtime/druntime/src/core/sys/posix/sys/shm.d
@@ -121,6 +121,32 @@ else version( FreeBSD )
int shmdt(in void*);
int shmget(key_t, size_t, int... | D |
/**
Authors: [Ilya Yaroshenko](http://9il.github.io)
Copyright: © 2014-2015 [Ilya Yaroshenko](http://9il.github.io)
License: MIT
*/
module atmosphere.statistic;
import core.stdc.tgmath;
import std.traits;
import std.typecons;
import std.math : LN2;
import std.algorithm : map;
//import std.numeric : sumOfLog2s;
impo... | D |
in an experimental fashion
| D |
instance DIA_Parcival_EXIT(C_Info)
{
npc = PAL_252_Parcival;
nr = 999;
condition = DIA_Parcival_EXIT_Condition;
information = DIA_Parcival_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Parcival_EXIT_Condition()
{
if(Kapitel < 3)
{
return TRUE;
};
};
func void DIA_Parcival_EXIT_I... | D |
module proc.businessProcess;
public import proc.epcElement;
public import proc.func;
public import proc.agent;
public import proc.event;
public import proc.gate;
import std.algorithm : canFind, sort, uniq, remove, each, find, SwapStrategy, map, filter;
import std.algorithm.setops : setIntersection;
import std.stdio :... | D |
module crypto.hash.sha1;
/*
Implements RFC 3174 - US Secure Hash Algorithm 1 (SHA1)
*/
public import crypto.hash.d;
private import std.bitmanip;
private import crypto.hash.merkle_damgaard;
version(unittest){
private import std.stdio : writeln;
}
class SHA1 : MerkleDamgaard!(20, uint, 20, 64, 8)
{
protected... | D |
/**
*
* THIS FILE IS AUTO-GENERATED BY ./parse_specs.d FOR MCU m3000 WITH ARCHITECTURE avr5
*
*/
module avr.specs.specs_m3000;
enum __AVR_ARCH__ = 5;
enum __AVR_ASM_ONLY__ = false;
enum __AVR_ENHANCED__ = true;
enum __AVR_HAVE_MUL__ = true;
enum __AVR_HAVE_JMP_CALL__ = true;
enum __AVR_MEGA__ = true;
enum __AVR_... | D |
module asn1.generator.defs;
import asn1.generator.generator;
public import asn1.encoder.ber.defs : ASN1ConstructedType;
import asn1.parser.defs;
import std.file;
struct ASN1NullType {}
mixin template ASN1StructureFile(string file) {
mixin ASN1Structure!(import(file));
}
mixin template ASN1Structure(string text) {
... | D |
/// becomes a template. I have choosen char[], but most basic things still are templates,
/// so even using wchar or dchar as native types should not be too difficult.
/// It might be a good idea to rename char[] string, so that one could switch
/// the choosen type more easily later.
///
/// == Blip overview: Formatt... | 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 |
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Bits.build/Byte+ControlCharacters.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/bits.git-5741357031456472565/Sources/Bits/Bytes+Base64.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/bits.git-5741357031456472565/Sources... | D |
/Users/JasonVranek/Desktop/rust/hello_tokio/target/debug/deps/slab-0ae563006556b4ce.rmeta: /Users/JasonVranek/.cargo/registry/src/github.com-1ecc6299db9ec823/slab-0.4.1/src/lib.rs
/Users/JasonVranek/Desktop/rust/hello_tokio/target/debug/deps/slab-0ae563006556b4ce.d: /Users/JasonVranek/.cargo/registry/src/github.com-1e... | D |
module android.java.java.lang.annotation.Annotation;
public import android.java.java.lang.annotation.Annotation_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!Annotation;
import import0 = android.java.java.lang.Class;
| D |
module finedge.ext.connectors;
import haystack.tag;
import haystack.filter;
import std.typecons;
import std.conv;
import std.array;
import std.range;
import core.time;
export:
shared interface ConnContext
{
@property shared(IIntegratedConnectorImpl) conn();
@property immutable(Dict) record();
@prope... | D |
module dsh;
import std.stdio;
import std.uni;
import std.file;
string normalize(string inStr)
{
string res = inStr;
while (res[$-1].isWhite())
res = res[0..$-1];
while (res[0].isWhite())
res = res[1..$];
return res;
}
int main(string[] params)
{
char[] buf;
write("> ");
while (readln(buf)) {... | D |
module android.java.android.renderscript.RenderScript_ContextType;
public import android.java.android.renderscript.RenderScript_ContextType_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!RenderScript_ContextType;
import import2 = android.java.java.lang.Class;
import import0 = android.java.and... | D |
/Users/okasho/serverProject/tryswift/helloworld/swift/.build/debug/SocksCore.build/SocketOptions.swift.o : /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Socks-1.2.7/Sources/SocksCore/Address+C.swift /Users/okasho/serverProject/tryswift/helloworld/swift/Packages/Socks-1.2.7/Sources/SocksCore/Address.swi... | D |
/Users/olegp/Desktop/XCoordinatorPlayground/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/DefaultIfEmpty.o : /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/olegp/Desktop/XCoordinatorPlayground/Pods/RxSwift/RxSwift/Observab... | D |
#!/usr/bin/env dmd -run
/** Build system for SciD
This is an experimental build system for SciD, using a regular D
script instead of a makefile.
Usage:
To build the library and generate header (.di) files, run
---
rdmd build
---
To build only the library file, run
---
rdmd bui... | D |
const int SPL_MAGICBURNSHORT_DAMAGE_PER_SEC = 1;
func void B_StopMagicBurnShort()
{
Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessMagic);
Npc_ClearAIQueue(self);
AI_Standup(self);
if(self.guild < GIL_SEPERATOR_HUM)
{
B_AssessDamage();
AI_ContinueRoutine(self);
}
else
{
Npc_SetTempAttitude(self,ATT_HOSTIL... | D |
/Users/augustomachado/github/rust_grep_cli/minigrep/target/rls/debug/deps/minigrep-2e1b1f2563751f8f.rmeta: src/lib.rs
/Users/augustomachado/github/rust_grep_cli/minigrep/target/rls/debug/deps/minigrep-2e1b1f2563751f8f.d: src/lib.rs
src/lib.rs:
| D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/debug/deps/tokio_sync-9a4be52515a87f14.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tokio-sync-0.1.8/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/tokio-sync-0.1.8/src/lock.rs /U... | D |
module delay;
import stm32f4xx;
/// Number of miliseconds since timer initialization
__gshared __IO!uint ticks;
/// SysTick callback handler
extern (C) void SysTick_Handler()
{
ticks += 1;
}
/// Initialize delay timer using SysTick as source of interrupts
void init()
{
ticks = 0;
SysTic... | D |
import std.stdio, std.conv, std.array, std.typecons;
import std.algorithm;
alias RC = Tuple!(int, "r", int, "c");
void main() {
int ROWS, COLUMNS; readf("%d %d\n", &ROWS, &COLUMNS);
int[][] matrix;
matrix.length = ROWS;
for(int i=0; i<ROWS; i++)
matrix[i] = readln.split.to!(int[]);
debug writeln(matrix... | D |
any scientific instrument for observing events at a distance and transmitting the information back to the observer
| D |
# FIXED
park.obj: E:/motor//\ control/Motor_control-master/motorware/sw/modules/park/src/32b/park.c
park.obj: E:/motor//\ control/Motor_control-master/motorware/sw/modules/park/src/32b/park.h
park.obj: E:/motor//\ control/Motor_control-master/motorware/sw/modules/iqmath/src/32b/IQmathLib.h
park.obj: C:/ti/ccs920/ccs/t... | D |
/*
Copyright (c) 2011-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 |
/* 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 |
/**
Copyright © 2019, Cospec Games
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 conditions and the following disclaimer.
... | D |
try to prevent
deprive of courage or hope
admonish or counsel in terms of someone's behavior
| D |
/Users/a123456/Desktop/React/WeiBoNews/Build/Intermediates/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/Mappable.o : /Users/a123456/Desktop/React/WeiBoNews/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift /Users/a123456/Desktop/React/WeiBoNews/Pods/ObjectMapper/Sources/DataTransfor... | D |
// Written in the D programming language.
/++
This module defines functions related to exceptions and general error
handling. It also defines functions intended to aid in unit testing.
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Assumptions) $(TD
$(LREF... | D |
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:
template isCallable(T...)
{
static if (is(typeof(& T[0].opCall) == delegate))
{
enum bool isCallable = true;
}
else static if (is(typeof(& T[0].opCall) V : V*) && is(V == function))
{
enum bool isCallable = true;
}
else
enum boo... | D |
module android.java.android.security.keystore.UserPresenceUnavailableException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import1 = android.java.java.io.PrintStream_d_interface;
import import4 = ... | D |
Ddoc
$(D_S D Change Log,
$(UPCOMING
$(LI Shared libraries for Linux)
)
$(VERSION 075, Aug 2, 2012, =================================================,
$(WHATSNEW
$(LI $(BUGZILLA 8127): dmd link library paths not given precedence over gcc defaults)
)
$(BUGSFIXED
$(LI $(BUGZILLA 1175): nested class inhe... | D |
module dub.packagesuppliers.registry;
import dub.packagesuppliers.packagesupplier;
package enum PackagesPath = "packages";
/**
Online registry based package supplier.
This package supplier connects to an online registry (e.g.
$(LINK https://code.dlang.org/)) to search for available packages.
*/
class RegistryPac... | D |
INSTANCE J1 (C_Item)
{
name = "Monster auffüllen Addon world";
mainflag = ITEM_KAT_DOCS;
flags = ITEM_MISSION;
value = 0;
visual = "ItWr_Scroll_01.3DS";
material = MAT_LEATHER;
on_state[0] = UseJOLY_Storyhelpletter;
scemeName = "MAP";
description = name;
};
var int UseJOLY_Sto... | 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 |
/**
Copyright: Copyright (c) 2015-2017 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module voxelman.server.plugin;
import voxelman.log;
import std.datetime : MonoTime, Duration, msecs, usecs, dur;
import pluginlib;
import voxelman.core.config;
import vo... | D |
module hunt.markdown.internal.ListItemParser;
import hunt.markdown.node.Block;
import hunt.markdown.node.ListBlock;
import hunt.markdown.node.ListItem;
import hunt.markdown.node.Paragraph;
import hunt.markdown.parser.block.AbstractBlockParser;
import hunt.markdown.parser.block.BlockContinue;
import hunt.markdown.parse... | D |
/**
* Do mangling for C++ linkage for Digital Mars C++ and Microsoft Visual C++.
*
* Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
* Authors: Walter Bright, https://www.digitalmars.com
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: ... | D |
/**
* Copyright © Yurai Web Framework 2021
* License: MIT (https://github.com/YuraiWeb/yurai/blob/main/LICENSE)
* Author: Jacob Jensen (bausshf)
*/
module yurai.controllers.controller;
import yurai.core;
import yurai.controllers.status;
import yurai.controllers.controlleraction;
import yurai.controllers.controlleracti... | D |
/**
* Basic containers for internal usage.
*
* Copyright: Copyright Martin Nowak 2013.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Martin Nowak
* Source: $(DRUNTIMESRC src/rt/util/_container.d)
*/
module rt.util.container;
import core.stdc.stdlib : free, mallo... | D |
void main() {
problem();
}
void problem() {
auto S = scan;
auto N = S.map!(c => c - '0').array;
long L = N.length;
void solve() {
if (S.to!long % 3 == 0) {
writeln(0);
return;
}
foreach_reverse(i; 1..L) {
foreach(c; N.combinations(cast(int)(i))) {
long a;
fore... | D |
the act of investing
money that is invested with an expectation of profit
the commitment of something other than money (time, energy, or effort) to a project with the expectation of some worthwhile result
outer layer or covering of an organ or part or organism
the act of putting on robes or vestments
the ceremonial act... | D |
/home/user/LukaTubic/PerfectTemplate/.build/x86_64-unknown-linux/debug/PerfectCrypto.build/JWT.swift.o : /home/user/LukaTubic/PerfectTemplate/.build/checkouts/Perfect-Crypto.git-8204163965436982588/Sources/PerfectCrypto/ByteIO.swift /home/user/LukaTubic/PerfectTemplate/.build/checkouts/Perfect-Crypto.git-82041639654369... | D |
#!/usr/bin/env dub
/+ dub.json:
{
"dependencies": {"dlearn": "*"}
}
+/
import dlearn;
import std : writeln;
void main() {
dlearn.iota([2], 3).writeln;
}
| D |
/Users/markmoussa/HackathonProjects/Rhabit/DerivedData/Rhabit/Build/Intermediates/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartMarker.o : /Users/markmoussa/HackathonProjects/Rhabit/Pods/Charts/Charts/Classes/Data/Implementations/Standard/BarChartData.swift /Users/markmoussa/HackathonProjects... | D |
/Users/sinbad/Desktop/IOS/Realm/build/Pods.build/Debug-iphonesimulator/RealmSwift.build/Objects-normal/x86_64/Util.o : /Users/sinbad/Desktop/IOS/Realm/Pods/RealmSwift/RealmSwift/Schema.swift /Users/sinbad/Desktop/IOS/Realm/Pods/RealmSwift/RealmSwift/ObjectSchema.swift /Users/sinbad/Desktop/IOS/Realm/Pods/RealmSwift/Rea... | D |
module app; // 01_05_transformations
import std.stdio; // writeln
import shaders; // without - Error: undefined identifier Shader, createProgramFromShaders, ...
import event_handler; // without - Error: undefined identifier onKeyEvent, onFrameBufferResize, handleEvent
import mytoolbox; // witho... | D |
/**************************************************************************
СКАЗАТЬ НЕМЕДЛЕННО
B_Say_Overlay (slf, oth, text)
Персонаж slf говорит oth фразу text (без перехода в режим диалога).
Простой вызов стандартной функции.
text - не сам текст фразы, а имя соответствующего поля, например:
... | D |
/Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/x86_64-apple-macosx/debug/Vapor.build/Sessions/Session.swift.o : /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/nathanwhite/Desktop/vaporserver/simpleVapor/.build/checkouts/vapor/Sources/Vapo... | 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_18_agm-4847237... | D |
import impl: Point;
import std.random: Random;
PointRng pointRng(long cnt, uint seed) {
PointRng ret;
ret.rnd = Random(seed);
ret.cnt = cnt;
ret.front = rndPoint(ret.rnd);
return ret;
}
struct PointRng {
long cnt;
Point front;
Random rnd;
@property bool empty() const {
return this.cnt <= 0;
}
void po... | D |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/replay_log.proto
module tensorflow.replay_log;
import google.protobuf;
import tensorflow.master;
enum protocVersion = 3012004;
class NewReplaySession
{
@Proto(1) ListDevicesResponse devices = protoDefaultValue!(ListD... | D |
/Users/fancy/Documents/Ocean Protocol/research/6-simple-market-rust/my-erc20-repo/pwasm_token/target/release/build/crunchy-9aa657e89f1ca3aa/build_script_build-9aa657e89f1ca3aa: /Users/fancy/.cargo/registry/src/github.com-1ecc6299db9ec823/crunchy-0.1.6/build.rs
/Users/fancy/Documents/Ocean Protocol/research/6-simple-ma... | D |
/***********************************************************************\
* d3d10.d *
* *
* Windows API header module *
* ... | D |
module d.gc.capi;
import d.gc.tcache;
extern(C):
/**
* Standard C allocating functions.
*/
void* malloc(size_t size) {
return threadCache.alloc(size, true);
}
void free(void* ptr) {
threadCache.free(ptr);
}
void* calloc(size_t nmemb, size_t size) {
return threadCache.calloc(nmemb * size, true);
}
void* reall... | D |
/Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/DerivedData/XYiOS/Build/Intermediates/XYiOS.build/Debug-iphonesimulator/XYiOS.build/Objects-normal/x86_64/simple-math.o : /Users/tom.power/Developer/MusicTechProjects/XYMusic/XYiOS/XYiOS/XYiOS/Sepia.swift /Users/tom.power/Developer/MusicTechProjects/XYMus... | D |
<?xml version="1.0" encoding="ASCII"?>
<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="T5.profile.notation#_HFxeoHyhEeGvw... | D |
/**
* The thread module provides support for thread creation and management.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly, Walter Bright, Alex Rønne Petersen
* Source: $(DRUNTIMESRC core/_thread.d)
*/
/*... | D |
module mci.core.analysis.constant;
import std.traits,
mci.core.common;
private union ConstantData
{
public long int64;
public ulong uint64;
public float float32;
public double float64;
}
/**
* Represents the backing type of a $(D Constant).
*/
public enum ConstantType : ubyte
{
int64, //... | D |
module noted.textarea;
import std.stdio: writeln;
import gtk.TextView;
import gtk.TextBuffer;
import gtk.TextIter;
// Global variable :(
public TextArea globalTextArea;
class TextArea : TextView
{
public:
this()
{
auto textBuffer = new TextBuffer(new GtkTextBuffer());
super(textBuffer);
... | D |
// PERMUTE_ARGS:
/*
TEST_OUTPUT:
---
compilable/callconv.d(21): Deprecation: `extern(Pascal)` is deprecated. You might want to use `extern(Windows)` instead.
compilable/callconv.d(30): Deprecation: `extern(Pascal)` is deprecated. You might want to use `extern(Windows)` instead.
---
*/
import core.stdc.stdarg;
struct ... | 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 |
/// Thin OO wrapper around DBus types
module ddbus.thin;
import core.time : Duration;
import ddbus.attributes : isAllowedField;
import ddbus.c_lib;
import ddbus.conv;
import ddbus.exception : TypeMismatchException;
import ddbus.util;
import std.meta : ApplyRight, Filter, staticIndexOf;
import std.string;
import std.... | 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... | D |
/Users/oswin/Projects/Rust/Geoffrey/target/debug/deps/num_traits-b78c2e297b3e2006.rmeta: /Users/oswin/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.1.43/src/lib.rs
/Users/oswin/Projects/Rust/Geoffrey/target/debug/deps/num_traits-b78c2e297b3e2006.d: /Users/oswin/.cargo/registry/src/github.com-1ecc6299db9... | 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_3_BeT-56511972... | D |
void main() {
problem();
}
void problem() {
auto N = scan!long;
auto A = scan!long(N);
void solve() {
auto sumStack = new long[N];
sumStack[0] = A[0];
foreach(i; 1..N) sumStack[i] = sumStack[i-1] + A[i];
const full = sumStack[$-1];
const halfIndex = sumStack.assumeSorted.lowerBound(full /... | D |
/*
TEST_OUTPUT:
---
fail_compilation/ice13459.d(12): Error: undefined identifier `B`
fail_compilation/ice13459.d(18): Error: none of the overloads of `opSlice` are callable using argument types `(int, int)`, candidates are:
fail_compilation/ice13459.d(11): `ice13459.A.opSlice()`
---
*/
struct A
{
auto opSlic... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.