code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module app.form.UserForm;
import hunt.framework;
class UserForm : Form
{
mixin MakeForm;
@Length (4, 30, "user name length must be between {min} and {Max}} bits.")
string username;
@Length (8, 32, "password length must be between {min} and {Max} bits.")
string password;
@Notempty ("email ad... | D |
/**
* This module crawl the AST to resolve identifiers and process types.
*/
module d.semantic.semantic;
public import util.visitor;
import d.semantic.scheduler;
import d.ast.declaration;
import d.ast.expression;
import d.ast.statement;
import d.ir.expression;
import d.ir.symbol;
import d.ir.type;
import d.conte... | D |
// Written in the D programming language.
/**
This module implements a variety of type constructors, i.e., templates
that allow construction of new, useful general-purpose types.
$(SCRIPT inhibitQuickIndex = 1;)
$(BOOKTABLE,
$(TR $(TH Category) $(TH Functions))
$(TR $(TD Tuple) $(TD
$(LREF isTuple)
$(LREF Tup... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.range, std.string, std.math, std.typecons;
void main()
{
auto nk = readln.split.to!(int[]);
auto N = nk[0];
auto K = nk[1];
long cnt;
for (long i; i <= N; ++i) {
if (i < K) continue;
cnt += N - i;
foreach (j; 1..i) i... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1999-2020 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 |
// xasm 3.1.0 by Piotr Fusik <fox@scene.pl>
// http://xasm.atari.org
// Can be compiled with DMD v2.061.
// Poetic License:
//
// This work 'as-is' we provide.
// No warranty express or implied.
// We've done our best,
// to debug and test.
// Liability for damages denied.
//
// Permission is granted hereb... | D |
/home/mailboxhead/Documents/Practice/rust/HelloWorld/target/rls/debug/deps/cc-9708bd74239a2b1c.rmeta: /home/mailboxhead/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.38/src/lib.rs /home/mailboxhead/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.38/src/windows_registry.rs
/home/mailboxhead/Documents/Pr... | D |
/Users/nikhilsridhar/Desktop/Shopp/Shopp/Build/Intermediates/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/DateFormatterTransform.o : /Users/nikhilsridhar/Desktop/Shopp/Shopp/Pods/ObjectMapper/Sources/FromJSON.swift /Users/nikhilsridhar/Desktop/Shopp/Shopp/Pods/ObjectMapper/Sources/ToJSON.sw... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
273 54 4 0 46 48 -33.5 151.300003 1769 6 6 0.982534559 intrusives, basalt
298.399994 61.7000008 5.9000001 0 58 62 -19.6000004 116.099998 141 3.29999995 8 0.712780352 sediments, sandstones, siltstones
310.200012 40.5999985 4.69999981 120.900002 5... | D |
/Users/abelfernandez/projects/vapor-server/Hello/.build/debug/Bits.build/HexEncoder.swift.o : /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/bits.git-9196587591774126515/Sources/Bits/Bytes+Base64.swift /Users/abelfernandez/projects/vapor-server/Hello/.build/checkouts/bits.git-9196587591774126515/Sour... | D |
module android.java.android.icu.util.ValueIterator_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.icu.util.ValueIterator_Element_d_interface;
import import1 = android.j... | 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 |
the state of being corrupt
lack of integrity or honesty (especially susceptibility to bribery
| D |
/*
RUN_OUTPUT:
---
Success
---
*/
import core.stdc.stdio;
/**************************************************/
void test1()
{
uint[char[]] a;
int i;
a["hello"] = 73;
a["world"] = 82;
foreach (uint u; a)
{
i++;
u++;
}
assert(i == 2);
assert(a["hello"] == 73);
... | D |
// https://issues.dlang.org/show_bug.cgi?id=22202
/*
TEST_OUTPUT:
---
fail_compilation/fail22202.d(21): Error: function `fail22202.fun(SystemCopy _param_0)` is not callable using argument types `(SystemCopy)`
fail_compilation/fail22202.d(21): `inout ref inout(SystemCopy)(ref inout(SystemCopy) other)` copy const... | D |
/**
$(D std._parallelism) implements high-level primitives for SMP _parallelism.
These include parallel foreach, parallel reduce, parallel eager map, pipelining
and future/promise _parallelism. $(D std._parallelism) is recommended when the
same operation is to be executed in parallel on different data, or when a
funct... | D |
module parser.nodes.node;
import lexer.token;
import semantic.info;
public import semantic.environment;
public import semantic.exception;
public import semantic.type;
public import semantic.value;
import std.stdio;
/**
* Represents a node of the AST.
*/
class Node
{
///The location of the node
TokenLocation location... | D |
import std.algorithm;
import std.conv;
import std.range;
import std.stdio;
import std.typecons;
const input = [
28, 82, 77, 88, 95, 55, 62, 21, 99, 14, 30, 9, 97, 92, 94, 3, 60, 22, 18,
86,
78, 71, 61, 43, 79, 33, 65, 81, 26, 49, 47, 51, 0, 89, 57, 75, 42, 35, 80,
1,
46, 83, 39, 53, 40, 36, 54, 70, 76, 38, 50, 23... | D |
CSYTRI (F07NWE) Example Program Data
4 :Value of N
'L' :Value of UPLO
(-0.39,-0.71)
( 5.14,-0.64) ( 8.86, 1.81)
(-7.86,-2.96) (-3.52, 0.58) (-2.83,-0.03)
( 3.80, 0.92) ( 5.32,-1.59) (-1.54,-2.86) (-0.56, 0.... | D |
/Users/darius/Documents/xcode/Uzduotis/build/Uzduotis.build/Debug-iphonesimulator/Uzduotis.build/Objects-normal/x86_64/AppDelegate.o : /Users/darius/Documents/xcode/Uzduotis/Uzduotis/Seniunijos+CoreDataProperties.swift /Users/darius/Documents/xcode/Uzduotis/Uzduotis/DataTableViewController.swift /Users/darius/Documents... | D |
module android.java.android.view.View_OnContextClickListener;
public import android.java.android.view.View_OnContextClickListener_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!View_OnContextClickListener;
import import1 = android.java.java.lang.Class;
| D |
// **************************************
// EXIT
// **************************************
instance DIA_Bartholo_Exit (C_INFO)
{
npc = EBR_106_Bartholo;
nr = 999;
condition = DIA_Bartholo_Exit_Condition;
information = DIA_Bartholo_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
}; ... | D |
@compute(CompileFor.hostAndDevice) module dcompute.std.index;
import ldc.attributes;
import dcompute.reflect;
private import ocl = dcompute.std.opencl.index;
private import cuda = dcompute.std.cuda.index;
/*
Index Terminology
DCompute CUDA OpenCL
GlobalDimension.xyz grid... | 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 distributio... | D |
/*
* Copyright (c) 2004-2008 Derelict Developers
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice... | D |
module ttgl.graphics.window;
import core.memory: GC;
import std.array;
import std.conv;
import std.signals;
import std.stdio;
import std.string : chop, _0 = toStringz, format;
import std.traits;
import glfw.glfw3;
import derelict.opengl3.gl3;
version(Posix) {
import
X11.Xutil,
glfw.glfw3native;
}
import ttgl.... | D |
/// vkdgen Vulkan bindings.
/// See https://github.com/rtbo/vkdgen
module vkd;
public import vkd.loader;
public import vkd.vk;
@nogc nothrow pure
{
/// Make a Vulkan version identifier
uint VK_MAKE_VERSION( uint major, uint minor, uint patch ) {
return ( major << 22 ) | ( minor << 12 ) | ( patch );
... | D |
/home/zzy/Project/os/target/debug/deps/librustversion-229c625bef490f9d.so: /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/src/lib.rs /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/rustversion-1.0.3/src/attr.rs /home/zzy/.cargo/registry/src/mirrors.ustc.edu.cn-61... | D |
const int VALUE_SHELL_01 = 30;
const int VALUE_SHELL_02 = 60;
var int shell_opener;
func void b_openshell()
{
var int shellomizer;
shellomizer = Hlp_Random(100);
SHELL_OPENER = SHELL_OPENER + 1;
if(SHELL_OPENER == 1)
{
b_playerfinditem(itmi_addon_whitepearl,1);
}
else if(SHELL_OPENER == 25)
{
b_playerfind... | 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_20_BeT-5688974... | D |
/Users/cassoutlaw/Projects/rust/TheRustProgrammingLanguage/ch4/borrowing_and_references/target/rls/debug/deps/borrowing_and_references-4579eff6b9ccdcb6.rmeta: src/main.rs
/Users/cassoutlaw/Projects/rust/TheRustProgrammingLanguage/ch4/borrowing_and_references/target/rls/debug/deps/borrowing_and_references-4579eff6b9ccd... | D |
module diesel.gl.drawable;
import std.exception;
import diesel.vec;
import diesel.gl.core;
import diesel.gl.buffer;
import diesel.gl.program;
struct Globals
{
@property static ref T[string] values(T)() {
static T[string] values;
return values;
}
static void set(T)(string name, T value) {... | D |
/home/fabian/semasquare/hello_world/target/debug/deps/glutin_egl_sys-7b7a92179df6a53b.rmeta: /home/fabian/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin_egl_sys-0.1.5/src/lib.rs /home/fabian/semasquare/hello_world/target/debug/build/glutin_egl_sys-406f707b55970a51/out/egl_bindings.rs
/home/fabian/semasquare/he... | D |
void main() { runSolver(); }
void problem() {
auto H = scan!long;
auto W = scan!long;
auto K = scan!long;
auto S = Point(scan!long, scan!long);
auto G = Point(scan!long, scan!long);
auto solve() {
enum long MOD = 998244353;
auto moves = [
[0, W-1, H-1, 0],
[1, W-2, 0, H-1],
[1, 0... | D |
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Ddtest_results/compilable -o-
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 5446
module ddoc5446;
import ddoc5446a;
private import ddoc5446b;
/** */
alias A_Foo This_Foo;
/** */
alias A_Foo_Alias This_Foo_Alias;
/** */
alias int This_Int;
/** */
alias A_Enum Th... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
273 54 4 0 46 48 -33.5 151.300003 1769 6 6 0.703125 intrusives, basalt
264.399994 75 15.6000004 0 2 65 -8.80000019 126.699997 1206 10.3999996 18 0.444444444 extrusives, intrusives
346 61 9 41.2000008 35 100 -31.3999996 138.600006 1170 13 15 0.84... | D |
/*
* This file is part of OpenGrafik.
*
* Copyright (C) 2008 Frederic-Gerald Morcos <fred.morcos@gmail.com>
*
* OpenGrafik is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License... | D |
.hd geta$f "fetch arguments for a Fortran program" 02/24/82
integer function geta$f (ap, str, len)
integer ap, len
character str (*)
.sp
Library: vswtlb (standard Subsystem library)
.fs
'Geta$f' fetches an argument from the Subsystem command
line in a format useable by a Fortran program.
The arguments are analogous to... | D |
/Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/Build/Intermediates/WeaponsAndTests.build/Debug-iphonesimulator/WeaponsAndTestsTests.build/Objects-normal/x86_64/WeaponsAndTestsTests.o : /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsAndTestsTests/WeaponsAndTestsTests.swift /Users/ThiagoBevi/Dev-iOS/WeaponsAndTests/WeaponsA... | D |
/*#D*/
// Copyright 2015-2018, Jakob Bornecrantz.
// SPDX-License-Identifier: BSL-1.0
/*!
* DWARF enums and code.
*
* @ingroup backend llvmbackend
*/
module volt.llvm.dwarf;
/*
*
* Dwarf enums.
*
*/
enum DwAte
{
Address = 0x01,
Boolean = 0x02,
ComplexFloat = 0x03,
Float = 0x04,
Signed ... | D |
/Users/wilsonvinson/Documents/GitHub/RUST01/rust01_01/target/debug/deps/read_color-48622f2bf960f1a3.rmeta: /Users/wilsonvinson/.cargo/registry/src/github.com-1ecc6299db9ec823/read_color-1.0.0/src/lib.rs
/Users/wilsonvinson/Documents/GitHub/RUST01/rust01_01/target/debug/deps/libread_color-48622f2bf960f1a3.rlib: /Users/... | 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 |
/****************************************************************************
**
** 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 |
the physical condition of blocking or filling a passage with an obstruction
an obstruction in a pipe or tube
the act of blocking
| D |
/Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/build/EggGame.build/Debug-iphonesimulator/EggGame.build/Objects-normal/x86_64/SharedData.o : /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/GameScene.swift /Users/yuxiangtang1/Documents/Academic/CS526/EggGame_11.28/EggGame/Level_Two.swift /U... | D |
// Written in the D programming language.
module windows.networkdiagnosticsframework;
public import windows.core;
public import windows.com : HRESULT, IUnknown;
public import windows.networkdrivers : SOCKET_ADDRESS_LIST;
public import windows.security : SID;
public import windows.systemservices : BOOL, PWSTR;
public ... | D |
void main() { runSolver(); }
void problem() {
auto S = scan;
auto solve() {
return S.countUntil!(c => c < 'a') + 1;
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std;
T[][] combinations(T)(T[] s, in long m) { if (!m) return [[]]; if (s.empty) return []; re... | D |
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/LayoutConstraint.o : /Users/sjwu/video/HouseHold/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/sjwu/video/HouseHold/Pods/SnapKit/Source/ConstraintDSL.swift /Users/sjwu/video/HouseHold/Pods/Sn... | D |
module cqrslib.base;
import std.traits, std.conv;
import vibe.data.json;
class GenericId {
string id;
this(string id) pure {
this.id = id;
}
this(string id) immutable pure {
this.id = id;
}
override const string toString() {
return classToString(this, id);
}
override bool opEquals(Object o) {
aut... | D |
module simplepng.filters;
//import std.range,
// std.file,
// std.array,
// std.string,
// std.stdio,
// std.exception;
import std.stdio, std.file, std.bitmanip;
//import std.range.primitives : empty;
import std.bitmanip: read;
import std.zlib: compress, uncompress;
import std.math: ... | D |
// Written in the D programming language.
/**
Facilities for random number generation.
The new-style generator objects hold their own state so they are
immune of threading issues. The generators feature a number of
well-known and well-documented methods of generating random
numbers. An overall fast and reliable means... | D |
module antlr.runtime.tests.main_t004Lexer;
import antlr.runtime.Lexer;
import antlr.runtime.CharStream;
import antlr.runtime.Token;
import antlr.runtime.CommonToken;
import antlr.runtime.ANTLRStringStream;
import tango.io.Stdout;
import antlr.runtime.tests.t004Lexer;
template main_test(char_t) {
void main_test(){... | D |
/*
This file is part of BioD.
Copyright (C) 2012-2014 Artem Tarasov <lomereiter@gmail.com>
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 wit... | D |
module dcompute.driver.cuda.buffer;
import dcompute.driver.cuda;
struct Buffer(T)
{
size_t raw;
this(size_t elems)
{
status = cast(Status)cuMemAlloc(&raw,elems * T.sizeof);
checkErrors();
}
}
alias bf = Buffer!float;
| D |
/**
* The read/write mutex module provides a primitive for maintaining shared read
* access and mutually exclusive write access.
*
* Copyright: Copyright Sean Kelly 2005 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Sean Kelly
* Source: $(DRUNTIMESRC core/s... | D |
/*
* $Id: rand.d,v 1.2 2005/01/01 12:40:28 kenta Exp $
*
* Copyright 2004 Kenta Cho. Some rights reserved.
*/
module abagames.util.rand;
private import core.stdc.time;
private import std.stream;
private import std.datetime;
/**
* Random number generator.
*/
public class Rand {
public this() {
time_t time... | D |
/**
Copyright: Copyright (c) 2017, Joakim Brännström. All rights reserved.
License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
Author: Joakim Brännström (joakim.brannstrom@gmx.com)
*/
module metric_factory.sqlite3;
import std.datetime : SysTime;
import logger = std.experimental.logger;
... | D |
module client;
/*
* Hunt - A refined core library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
import std.stdio;
import hunt.event;
import hunt.io.UdpSocket : UdpSocket;
import std.socket;
import std.... | 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_2_banking-2151... | D |
module xf.platform.osx.DogView;
import xf.platform.osx.objc_class;
import xf.platform.osx.objc_runtime;
import xf.platform.osx.NSObject;
import xf.platform.osx.NSGeometry;
import xf.dog.Common: GL;
class DogView {
static this() {
registerClass("DogView", "NSOpenGLView");
}
this(id window, NSRect rect, id PF, ... | 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 distribut... | D |
/Users/Rens/Development/RecoveryJournal/Build/Intermediates/RecoveryJournal.build/Debug/Async.build/Objects-normal/x86_64/DispatchEventLoop.o : /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSource.swift /Users/Rens/Development/RecoveryJournal/.build/ch... | D |
/mnt/c/Users/Max Kelly/Documents/GitHub/Rust/crawler/target/debug/deps/libsmallvec-88b8356f3b52a647.rlib: /home/Max/.cargo/registry/src/github.com-1ecc6299db9ec823/smallvec-0.1.8/lib.rs
/mnt/c/Users/Max Kelly/Documents/GitHub/Rust/crawler/target/debug/deps/smallvec-88b8356f3b52a647.d: /home/Max/.cargo/registry/src/git... | D |
/Users/ales/Projects/DreamMachine/Build/Intermediates.noindex/DreamMachine.build/Debug-iphonesimulator/DreamMachine.build/Objects-normal/x86_64/MaterialView.o : /Users/ales/Projects/DreamMachine/DreamMachine/MainVC.swift /Users/ales/Projects/DreamMachine/DreamMachine/AppDelegate.swift /Users/ales/Projects/DreamMachine/... | D |
//-------- Spell Commands --------
// SPL_DONTINVEST = 0; // Es können keine weiteren Manapunkte investiert werden. Erst durch CTRL loslassen geht der Spell ab
// SPL_RECEIVEINVEST = 1; // Wirkung durchgeführt, es können weitere Invest kommen, zB.bei Heal nach jedem Pöppel
// SPL_SENDCAST = 2; // Starte den Z... | D |
/Users/nikhilsridhar/Desktop/Shopp/Shopp/Build/Intermediates/Pods.build/Debug-iphonesimulator/CDYelpFusionKit.build/Objects-normal/x86_64/CDYelpCenter.o : /Users/nikhilsridhar/Desktop/Shopp/Shopp/Pods/CDYelpFusionKit/Source/CDImage.swift /Users/nikhilsridhar/Desktop/Shopp/Shopp/Pods/CDYelpFusionKit/Source/CDYelpAutoCom... | D |
import std.stdio;
void main() {
import std.range : sequence, take, dropOne;
auto r = sequence!("n*2").dropOne.take(10);
foreach(i; r) writeln(i);
} | D |
module install;
import std.process : execute;
import std.stdio : writeln;
import std.string : indexOf;
enum InstallError {
Fine,
DockerVersionDied,
DockerRun,
DockerRunTest,
DmdNotInstalled
}
InstallError install() {
auto dockerVersion = execute(["docker", "version"]);
if (dockerVersion.status != 0) {
writ... | D |
/Users/Rami/Desktop/TaskCompanyUSA/build/Pods.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/MapError.o : /Users/Rami/Desktop/TaskCompanyUSA/Pods/ObjectMapper/Sources/FromJSON.swift /Users/Rami/Desktop/TaskCompanyUSA/Pods/ObjectMapper/Sources/ToJSON.swift /Users/Rami/Desktop/TaskCompanyUSA/Pods/Ob... | D |
/Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/derived_data/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/CombineLatest.o : /Users/nalousnguyen/Documents/FinalSDK/CredifyIOS/CredifyCore/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/nalousnguyen/Docum... | D |
import net;
debug import std.stdio;
/**
* A port on a network node to a network that responds to new messages on the Net.
* Messages are added to the NetPort's internal buffer.
* This base class can be implemented to add direct support to higher level
* protocols at the same level as IP rather than simply raw dat... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!long;
auto solve() {
if (N <= 125) return 4;
if (N <= 211) return 6;
return 8;
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std.stdio, std.conv, std.array, std.string, std.algorithm, std.contai... | D |
/*
TEST_OUTPUT:
---
fail_compilation/fail3672.d(27): Error: read-modify-write operations are not allowed for `shared` variables. Use `core.atomic.atomicOp!"+="(*p, 1)` instead.
fail_compilation/fail3672.d(31): Error: none of the `opOpAssign` overloads of `SF` are callable for `*sfp` of type `shared(SF)`
---
*/
struct ... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
269.100006 76.3000031 4.30000019 66.6999969 0 3 32.4000015 70.9000015 404 2.9000001 5 0.43 sediments
255.5 73.5999985 0 0 0 2 32.2999992 70.6999969 831 0 0 0.645 sediments
247.5 75.9000015 0 0 0 3 32.5 70.5999985 830 0 0 0.43 sediments
295.70001... | D |
/Users/Ntokozo/Documents/Libraries/RWPickFlavor/Build/Intermediates/IBDesignables/Intermediates/RWPickFlavor.build/Debug-iphonesimulator/RWPickFlavor.build/Objects-normal/x86_64/PickFlavorDataSource.o : /Users/Ntokozo/Documents/Libraries/RWPickFlavor/RWPickFlavor/FlavorFactory.swift /Users/Ntokozo/Documents/Libraries/R... | D |
// written in the D programming language
module samples.Tumble;
import dchip.all;
import samples.ChipmunkDemo;
static cpSpace *space;
static cpBody *staticBody;
static void
update(int ticks)
{
enum int steps = 3;
enum cpFloat dt = 1.0f/60.0f/cast(cpFloat)steps;
for(int i=0; i<steps; i++){
cpS... | 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 distribut... | D |
/home/pangpangguy/Ensimag/ProjetRust/learnrust/rustTDTP/TD3/sujetTD/Ex1_2/target/rls/debug/deps/sujet_TD-691e7853b66ceadc.rmeta: src/main.rs
/home/pangpangguy/Ensimag/ProjetRust/learnrust/rustTDTP/TD3/sujetTD/Ex1_2/target/rls/debug/deps/sujet_TD-691e7853b66ceadc.d: src/main.rs
src/main.rs:
| D |
import std.stdio, std.algorithm, std.typecons, std.container, std.array;
auto encode(alias eq, R)(Group!(eq, R) sf) /*pure nothrow @safe*/ {
auto heap = sf.map!(s => tuple(s[1], [tuple(s[0], "")]))
.array.heapify!q{b < a};
while (heap.length > 1) {
auto lo = heap.front; heap.removeFron... | D |
### BEGIN INIT INFO
# Provides: gluu-gateway
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
SERVICE_... | D |
/*
DIrrlicht - D Bindings for Irrlicht Engine
Copyright (C) 2014- Danyal Zia (catofdanyal@yahoo.com)
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this software.
Permission is gra... | D |
module UnrealScript.Engine.PrefabInstance;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.Prefab;
import UnrealScript.Engine.Actor;
import UnrealScript.Core.UObject;
import UnrealScript.Engine.PrefabSequence;
extern(C++) interface PrefabInstance : Actor
{
public extern(D):
... | D |
import hmm;
int main() {
gnaa();
return 0;
}
| D |
// Written in the D programming language.
/**
* Templates with which to extract information about types and symbols at
* compile time.
*
* Macros:
* WIKI = Phobos/StdTraits
*
* Copyright: Copyright Digital Mars 2005 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* ... | D |
instance Mod_1200_SLD_Soeldner_NW (Npc_Default)
{
// ------ NSC ------
name = "Hock";
guild = GIL_mil;
id = 1200;
voice = 34;
flags = 2; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_MAIN;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4); //setzt Attribute u... | D |
void main() {
auto S = rs;
string s;
foreach(i; 1..6) {
s ~= "hi";
if(S == s) {
writeln("Yes");
return;
}
}
writeln("No");
}
// ===================================
import std.stdio;
import std.string;
import std.functional;
import std.algorithm;
import std.range;
import std.traits;
import std.math;
i... | D |
instance STRF_1136_Addon_Sklave (Npc_Default)
{
// ------ NSC ------
name = NAME_Addon_Sklave;
guild = GIL_BDT;
id = 1136;
voice = 3;
flags = 0;
npctype = NPCTYPE_BL_AMBIENT;
//aivars
aivar[AIV_NoFightParker] = TRUE;
aivar[AIV_IgnoresArmor] = TRUE;
// ------ Attribute ------
B_S... | D |
/Users/zebra/Zla/Dev/Tests/ken_git_space/Events-Explorer/Events\ Explorer/Build/Intermediates.noindex/Alamofire.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/AlamofireExtended.o : /Users/zebra/Library/Developer/Xcode/DerivedData/Events_Explorer-bqjodyvqcrhghjasuqyfuasrxsdn/SourcePackages/checkouts/A... | D |
// https://dpaste.dzfl.pl/7a77355acaec
/*
Event Loop would be nices:
* add on idle - runs when nothing else happens
* send messages without a recipient window
* setTimeout
* setInterval
*/
/*
Text layout needs a lot of work. Plain drawText is useful but too
limited. It will need some kind of text context thi... | D |
module util.random;
import std.range;
import std.base64;
import std.random;
import std.algorithm;
string randomBase64(size_t length) {
rndGen.seed(unpredictableSeed);
auto bytes = rndGen.map!(a => cast(ubyte)a).take(length);
return Base64URL.encode(bytes);
}
| D |
E: c56, c28, c53, c17, c54, c37, c65, c6, c2, c40, c14, c64, c62, c12, c29, c43, c23, c59, c61, c18, c36, c7, c52, c48, c35, c27, c8, c13, c26, c47, c50, c22, c31, c15, c33, c42, c0, c67, c49, c38, c16, c5, c24, c45, c60, c30, c4, c55, c20, c3, c11, c1, c39.
p8(E,E)
c56,c28
c53,c17
c54,c37
c65,c2
c14,c64
c65,c64
c14,c... | D |
module cc.lexer;
import core.stdc.ctype;
import core.stdc.stdio;
import core.stdc.stdlib;
import core.stdc.string;
import cc.identifier;
import cc.tokens;
__gshared Token* tokens;
// Returns a newly allocated Token.
Token* allocateToken() nothrow
{
return new Token();
}
void tokenizer(const(char)* p) nothrow
{... | D |
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/TemplateKit.build/AST/TemplateConditional.swift.o : /Users/lb/Documents/Project/LearnVapor/.build/checkouts/template-kit.git-6616349092713276412/Sources/TemplateKit/Data/TemplateData.swift /Users/lb/Documents/Project/LearnVapor/.build/checkout... | D |
# FIXED
OSAL/osal.obj: C:/ti/simplelink_cc2652rb_ble_sdk_3_10_00_15/source/ti/ble5stack/osal/src/common/osal.c
OSAL/osal.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/string.h
OSAL/osal.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/_ti_config.h
OSAL/osal.obj: C:/ti/ccsv8/tools/compiler/... | D |
/*
* Copyright (c) 2017-2018 sel-project
*
* 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, pu... | D |
module core.locales.en_us;
import core.locale;
import core.time;
import core.date;
import core.definitions;
import core.string;
class LocaleEnglish_US : LocaleInterface {
string formatTime(Time time) {
long hour = time.hours;
bool pm = false;
if (hour >= 12) {
hour -= 12;
pm = true;
}
string ret;... | D |
# FIXED
Comun/common/F2837xD_Upp.obj: C:/Users/jeniher/PROYECTOS/Workspace_CCS7/UFCharger/F2837xD/Comun/common/F2837xD_Upp.c
Comun/common/F2837xD_Upp.obj: C:/Users/jeniher/PROYECTOS/Workspace_CCS7/UFCharger/F2837xD/F2837xD_headers/include/F2837xD_device.h
Comun/common/F2837xD_Upp.obj: C:/Users/jeniher/PROYECTOS/Worksp... | D |
module android.java.javax.net.ssl.X509TrustManager_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.java.security.cert.X509Certificate_d_interface;
import import1 = android.java.... | D |
/*
Copyright © 2020, Luna Nielsen
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module engine.ui.widget;
import engine;
import std.algorithm.mutation : remove;
import bindbc.opengl;
import std.exception;
import std.format;
/**
A widget
*/
abstract class Wid... | D |
module prometheus.histogram;
import prometheus.collector;
import prometheus.common;
public class Histogram : Collector {
this() {
noLabelsChild = new Histogram.Child();
}
this(string name, string help, string[] labels) {
noLabelsChild = new Histogram.Child();
super(name, help, labels);
}
mixin BasicColle... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.