code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
in a figurative sense
| D |
module deimos.cef3.render_process_handler;
// Copyright (c) 2012 Marshall A. Greenblatt. 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 ... | D |
instance DIA_Addon_Riordian_ADW_EXIT(C_Info)
{
npc = KDW_14040_Addon_Riordian_ADW;
nr = 999;
condition = DIA_Addon_Riordian_ADW_EXIT_Condition;
information = DIA_Addon_Riordian_ADW_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Addon_Riordian_ADW_EXIT_Condition()
{
return TRUE;
};
fu... | D |
instance DIA_GROM_EXIT(C_INFO)
{
npc = bau_981_grom;
nr = 999;
condition = dia_grom_exit_condition;
information = dia_grom_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_grom_exit_condition()
{
return TRUE;
};
func void dia_grom_exit_info()
{
AI_StopProcessInfos(self);
};
instance... | D |
module deepmagic.layout.code_black.header_block;
package import deepmagic.layout.code_black.header_block.header_block;
package import deepmagic.layout.code_black.header_block.top_menu;
| D |
module hunt.sql.ast.expr.SQLSomeExpr;
import hunt.sql.ast.statement.SQLSelectItem;
import hunt.sql.ast.statement.SQLSelect;
import hunt.sql.ast.statement.SQLSelectQueryBlock;
import hunt.sql.ast.SQLExprImpl;
import hunt.collection;
import hunt.sql.visitor.SQLASTVisitor;
import hunt.sql.ast.SQLDataType;
import h... | D |
module mangle_cfloat;
import object;
import types;
import mock;
class TypeInfo_q : TypeInfo {
pure:
nothrow:
@safe:
alias F = float;
override string toString() const {
return F.stringof;
}
override size_t getHash(scope const void* p) const @trusted {
return hashOf(*cast(F*)... | D |
a swindle in which you cheat at gambling or persuade a person to buy worthless property
a rapid active commotion
cause to move furtively and hurriedly
move or cause to move energetically or busily
sell something to or obtain something from by energetic and especially underhanded activity
get by trying hard
pressure or ... | D |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | D |
// Written in the D programming language.
/**
Classes and functions for handling and transcoding between various encodings.
For cases where the _encoding is known at compile-time, functions are provided
for arbitrary _encoding and decoding of characters, arbitrary transcoding
between strings of different type, as wel... | 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.graphics.textureatlas;
import voxelman.geometry.rectbinpacker;
import voxelman.graphics.bitmap;
import voxelman.graphics.color;
import voxelman.math;
cla... | D |
/Users/Trupti/Desktop/Eva/build/Eva.build/Debug-iphonesimulator/Eva.build/Objects-normal/x86_64/SiriContentView.o : /Users/Trupti/Desktop/Eva/Eva/ThirdPartyFiles/FloatingTextField/FloatingTextField.swift /Users/Trupti/Desktop/Eva/Eva/Helper/Models/CardRecommand.swift /Users/Trupti/Desktop/Eva/Eva/AppDelegate/AppDelegat... | D |
module des.assimp.loader;
import derelict.assimp3.assimp;
import derelict.assimp3.types;
import des.util.helpers;
import des.util.arch;
import des.util.data.type;
import des.util.stdext.string;
import des.assimp.mesh;
///
class SMLoaderException : Exception
{
///
this( string msg, string file=__FILE__, size... | D |
INSTANCE Info_Mod_Greg_Hi (C_INFO)
{
npc = Mod_764_PIR_Greg_AW;
nr = 1;
condition = Info_Mod_Greg_Hi_Condition;
information = Info_Mod_Greg_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Greg_Hi_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Henry_Hi))
{
return 1;
};
};
FUNC VOID Info_Mod_Gr... | D |
/Users/Fares/Documents/Projects/TransitApp/build/Pods.build/Debug-iphonesimulator/MaterialKit.build/Objects-normal/x86_64/MKSnackbar.o : /Users/Fares/Documents/Projects/TransitApp/Pods/MaterialKit/Source/MKActivityIndicator.swift /Users/Fares/Documents/Projects/TransitApp/Pods/MaterialKit/Source/MKButton.swift /Users/F... | D |
module menu.browser.withlast;
import std.algorithm;
import optional;
import basics.globals;
import opt = file.option.allopts;
import file.language;
import file.filename;
import gui;
import gui.picker;
import hardware.keyset;
import level.level;
import menu.browser.frommain;
class BrowserWithDelete : BrowserCalledFr... | D |
/**
Mirror _objimpl.h
*/
module deimos.python.objimpl;
import deimos.python.pyport;
import deimos.python.object;
// Python-header-file: Include/objimpl.h:
extern(C):
/// _
void* PyObject_Malloc(size_t);
version(Python_3_5_Or_Later) {
/// _
void* PyObject_Calloc(size_t, size_t);
}
/// _
void* PyObject_Re... | D |
.build_1i2o2_lin33_48k_xscopectl_farenddsp/_l_dsp/src/fft/dsp_fft_forward.s.d .build_1i2o2_lin33_48k_xscopectl_farenddsp/_l_dsp/src/fft/dsp_fft_forward.s.o .build_1i2o2_lin33_48k_xscopectl_farenddsp/_l_dsp/src/fft/dsp_fft_forward.S.pca.xml: C:/Users/user/workspace/lib_dsp/src/fft/dsp_fft_forward.S
| D |
/Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Sample.o : /Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/ameeradamsika/Desktop/IOS/Demo/LoginWithRxSwift/Pods/RxSwift/RxSwift/Obser... | 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 |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
322.100006 68 3.70000005 44.7999992 80 100 -36.4000015 149.899994 5723 6.0999999 6.0999999 0.885017938 sediments, redbeds
340 40 5 0 80 100 -33.7999992 150.699997 1768 10 10 0.872979734 intrusives
325 55 5 0 80 100 -33.9000015 151.300003 1766 10... | D |
module server;
import std.stdio;
import std.range;
import std.bitmanip;
import std.conv;
import std.system;
import std.utf;
import vibe.d;
import vibe.data.json;
import faflegacy;
/**
Main server for FAR-Lobby connections.
Responsibilites here are:
- Maintain 1 active TCP connection to clients
- Parse a... | D |
/**
* Copyright: © 2014 Gushcha Anton
* License: Subject to the terms of the MIT license, as written in the included LICENSE file.
* Authors: NCrashed <ncrashed@gmail.com>
*/
module ogre.scene.query;
import ogre.c.fwd;
import ogre.wrapper;
class SceneQuery
{
this(SceneQueryHandle handle)
{
this.... | D |
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:
bool cond;
/*
TEST_OUTPUT:
---
fail_compilation/fail12809.d(19): Error: object.Exception is thrown but not caught
fail_compilation/fail12809.d(16): Error: function 'fail12809.test_finally1' is nothrow yet may throw
fail_compilation/fail12809.d(35): Error: object.Exception is thr... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (c) 1999-2017 by Digital Mars, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1... | D |
void main()
{
// standard storage
import std.range : iota;
import std.array : array, Appender_std = Appender;
// shuffling
import std.random : randomShuffle;
// phobos allocators
import std.experimental.allocator : theAllocator, processAllocator, RCIAllocator;
import std.experimental.allocator.... | D |
/Users/Mandy_Cho/Documents/GetSwifty/Pachinko/DerivedData/Pachinko/Build/Intermediates/Pachinko.build/Debug-iphonesimulator/Pachinko.build/Objects-normal/i386/File.o : /Users/Mandy_Cho/Documents/GetSwifty/Pachinko/Pachinko/GameScene.swift /Users/Mandy_Cho/Documents/GetSwifty/Pachinko/Pachinko/File.swift /Users/Mandy_Ch... | D |
module glviewer;
import derelict.opengl, derelict.glfw3;
import vector;
GLFWwindow* window;
int window_width = 640, window_height = 480;
void Initialize_GL ( ) {
DerelictGL3.load();
DerelictGLFW3.load();
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3... | D |
/Users/augustomachado/github/rust_sudoku/sudoku/target/release/deps/fnv-02b676427c3b5e07.rmeta: /Users/augustomachado/.cargo/registry/src/github.com-1ecc6299db9ec823/fnv-1.0.7/lib.rs
/Users/augustomachado/github/rust_sudoku/sudoku/target/release/deps/libfnv-02b676427c3b5e07.rlib: /Users/augustomachado/.cargo/registry/... | D |
/**
* Windows API header module
*
* Translated from MinGW API for MS-Windows 3.10
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC core/sys/windows/_ole2ver.d)
*/
module core.sys.windows.ole2ver;
version (Windows):
// These are apparently not docum... | D |
instance PC_Friend_IR (Npc_Default)
{
// ------ NSC ------
name = "Argez";
guild = GIL_OUT;
id = 7534;
voice = 0;
flags = 2;
npctype = NPCTYPE_FRIEND;
// ------ AIVARs ------
aivar[AIV_ToughGuy] = TRUE;
aivar[AIV_ToughGuyNewsOverride] = TRUE;
aivar[AIV_Partymember] = T... | D |
///
module std.experimental.allocator.building_blocks.bucketizer;
/**
A $(D Bucketizer) uses distinct allocators for handling allocations of sizes in
the intervals $(D [min, min + step - 1]), $(D [min + step, min + 2 * step - 1]),
$(D [min + 2 * step, min + 3 * step - 1]), $(D ...), $(D [max - step + 1, max]).
$(D B... | D |
var int Cronos_NW_ItemsGiven_Chapter_1;
func void B_GiveTradeInv_Addon_Cronos_NW(var C_Npc slf)
{
if((Kapitel >= 1) && (Cronos_NW_ItemsGiven_Chapter_1 == FALSE))
{
CreateInvItems(slf,ItMi_Flask,Cronos_NW_ItMi_Flask_Count);
CreateInvItems(slf,ItMi_Sulfur,Cronos_NW_ItMi_Sulfur_Count);
CreateInvItems(slf,It... | D |
// written in the D programming language
module samples.Plink;
import dchip.all;
import samples.ChipmunkDemo;
import std.math;
static cpSpace *space;
// Iterate over all of the bodies and reset the ones that have fallen offscreen.
static void
eachBody(cpBody *_body, void *unused)
{
if(_body.p.y < -260 || cpf... | D |
/home/zbf/workspace/git/RTAP/target/debug/deps/encoding_index_tradchinese-e4d174082b9b1afc.rmeta: /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/encoding-index-tradchinese-1.20141219.5/lib.rs /home/zbf/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/encoding-index-tradchinese-1.20141219.5/b... | D |
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
// Licensed under the MIT License:
//
// 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, inc... | D |
/Users/nikolay/Documents/FolderWorkSwift/NotebookAnimal/DerivedData/NotebookAnimal/Build/Intermediates/NotebookAnimal.build/Debug-iphonesimulator/NotebookAnimal.build/Objects-normal/i386/AppDelegate.o : /Users/nikolay/Documents/FolderWorkSwift/NotebookAnimal/NotebookAnimal/iCloudNotebookPetTablewViewControllerTableView... | D |
module adbg.obj.fmt;
public import adbg.obj.fmt.pe; | D |
/Users/letanure/Projects/letanure/rust-lab/rust-lab/hello_cargo/target/debug/deps/hello_cargo-466a04b60eb735cf: src/main.rs
/Users/letanure/Projects/letanure/rust-lab/rust-lab/hello_cargo/target/debug/deps/hello_cargo-466a04b60eb735cf.d: src/main.rs
src/main.rs:
| D |
// This file is just a placeholder, please use the libgit2 package directly instead
module git.c.index;
public import deimos.git2.index;
pragma(msg, "Deprecated import git.c.index used. Please import deimos.git2.index instead.");
| D |
/**
Copyright: Copyright (c) 2017-2019 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module cli;
import std.stdio;
import std.file : exists;
import std.path : absolutePath, extension, baseName, setExtension;
import all;
enum WindowsSubsystemCli : ushort {
... | D |
/Users/oyo02699/apps/easycrm/easycrm-api/target/debug/deps/aho_corasick-f895e4360e07c931.rmeta: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.6.10/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.6.10/src/autiter.rs /Users/oyo02... | D |
var int Brahim_ShowedMaps;
func void B_BrahimNewMaps()
{
if(Brahim_ShowedMaps == TRUE)
{
AI_Output(self,other,"B_BrahimNewMaps_07_00"); //Заходи попозже. Я уверен, что смогу приготовить что-нибудь интересное для тебя.
};
};
instance DIA_Brahim_EXIT(C_Info)
{
npc = VLK_437_Brahim;
nr = 999;
condition = DIA_B... | D |
/**
* This module contains a specialized bitset implementation.
*
* Copyright: Copyright (C) 2005-2006 Digital Mars, www.digitalmars.com.
* All rights reserved.
* License:
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for ... | D |
// D import file generated from 'derelict\ode\odetypes.d'
module derelict.ode.odetypes;
private import derelict.util.compat;
private version (Tango)
{
import tango.stdc.math;
import tango.stdc.stdarg;
const real PI = 0x1.921fb54442d1846ap+1L;
const real SQRT1_2 = 0x1.6a09e667f3bcc908p-1L;
}
else
{
... | 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 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 |
/* linenoise.h -- guerrilla line editing library against the idea that a
* line editing lib needs to be 20,000 lines of C code.
*
* See linenoise.c for more information.
*
* ------------------------------------------------------------------------
*
* Copyright (c) 2010, Salvatore Sanfilippo <antirez at gmail dot... | D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1987-1995 by Symantec
* Copyright (C) 2000-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: ... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
alias Y = Tuple!(int, "i", int, "h");
void main()
{
auto N = readln.chomp.to!int;
Y[] ys;
ys.length = N;
foreach (i; 0..N) {
auto h = readln.chomp.to!int;
ys[i] = Y(i, h);
}
s... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/x86_64-apple-macosx/debug/Logging.build/PrintLogger.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.build/checkouts/console/Sources/Logging/LogLevel.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppUsers/.bu... | D |
/*
* This file is part of gtkD.
*
* gtkD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* gtkD is distributed in th... | D |
import std;
package: // to avoid 'undocumented public symbol' warnings
void main() {
Game game;
game.initalize();
game.readInput();
while (1) {
game.tick();
game.readInput();
}
}
struct Cell {
/// 0 is the center cell, the next cells spiral outwards
int index;
/// 0 if ... | 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 |
/Users/angelo/Developer/DroppedBits/DangerTest/.build/x86_64-apple-macosx/debug/Danger.build/DangerDSL.swift.o : /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/swift/Sources/Danger/GitLabDSL.swift /Users/angelo/Developer/DroppedBits/DangerTest/.build/checkouts/swift/Sources/Danger/GitHubDSL.swift /User... | D |
/**
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 to generate random numbers
is the $(D_PARA... | D |
/*#D*/
// Copyright © 2012, Bernard Helyer. All rights reserved.
// See copyright notice in src/volt/license.d (BOOST ver. 1.0).
module volt.semantic.classify;
import watt.text.format : format;
import ir = volta.ir;
import volt.errors;
import volt.interfaces;
import volta.ir.location;
import volt.semantic.context;... | D |
/Users/Steezer/Develop/DenverStartupWeekDemo/Build/Intermediates/DenverStartupWeekDemo.build/Debug-iphoneos/DenverStartupWeekDemo.build/Objects-normal/arm64/ViewController.o : /Users/Steezer/Develop/DenverStartupWeekDemo/DenverStartupWeekDemo/ViewController.swift /Users/Steezer/Develop/DenverStartupWeekDemo/DenverStart... | D |
/* TEST_OUTPUT:
---
fail_compilation/fail17722a.d(12): Error: static assert `__traits(compiles, a1 || a2)` is false
---
*/
// https://issues.dlang.org/show_bug.cgi?id=17722
void fail17722b()
{
byte[16] a1, a2;
static assert(__traits(compiles, a1 || a2)); // diagnostic was (__error) || (__error)
}
| D |
module examples.texturedEx;
import example;
import graphics.all;
import math.vector;
import utils.image;
import derelict.opengl3.gl3;
class TextureExample : Example
{
private Context gl;
private Shader vs, fs;
private Program program;
private VertexArray vertexArray;
private VertexBuffer vertexBuffer;
private T... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
181.399994 81.8000031 3.70000005 43.4000015 59 67 47.5999985 -108.900002 293 5.4000001 5.4000001 1 intrusives
271.200012 85.6999969 6.4000001 20 65 80 32 -102 6413 6.5 9.10000038 1 extrusives, andesites, tuffs, sediments
270.200012 76.3000031 9.... | 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 |
module lumars.table;
import bindbc.lua, lumars;
import std.traits : isNumeric;
enum LuaIterateOption
{
none = 0,
dontDupeStrings = 1 << 0,
}
template ipairs(alias Func, LuaIterateOption Options = LuaIterateOption.none)
{
void ipairs(LuaTableT)(LuaTableT table)
{
import std.format : format;
... | D |
module main;
void main()
{
} | D |
module veda.storage_rest;
import std.stdio, std.datetime, std.conv, std.string, std.datetime, std.file;
import core.vararg, core.stdc.stdarg;
import vibe.d, vibe.core.core, vibe.core.log, vibe.core.task, vibe.inet.mimetypes;
import properd;
import veda.pacahon_driver, veda.type, veda.core.context, veda.core.know_predi... | D |
module anonymous_function1;
auto adder(int a)
{
return (int b) { return a+b;};
}
unittest
{
auto add1 = adder(1); // add1 is an int delegate(int)
assert(add1(2) == 3);
}
| D |
module UnrealScript.TribesGame.TrCallIn_OpenDeliveryPod;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.Actor;
import UnrealScript.Engine.MaterialInstanceTimeVarying;
extern(C++) interface TrCallIn_OpenDeliveryPod : Actor
{
public extern(D):
private static __gshared ScriptCla... | D |
build/Debug/Cygwin-Windows/HW2_3.o: HW2_3.cpp
| D |
/Users/hanykaram/Desktop/MVC/DerivedData/MVC/Build/Intermediates.noindex/SwiftMigration/MVC/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/RequestModifier.o : /Users/hanykaram/Desktop/MVC/Pods/Kingfisher/Sources/String+MD5.swift /Users/hanykaram/Desktop/MVC/Pods/Kingfisher... | D |
/home/a186r/dev/rust/rust/day06/minigrep/target/debug/minigrep-8f31e56eb205b24a: /home/a186r/dev/rust/rust/day06/minigrep/src/lib.rs
| D |
/Users/JenishMistry/DEMOS/MVCDemoAPI/DerivedData/MVCDemoAPI/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SnapKit.build/Objects-normal/x86_64/ConstraintDirectionalInsetTarget.o : /Users/JenishMistry/DEMOS/MVCDemoAPI/Pods/SnapKit/Source/ConstraintLayoutGuideDSL.swift /Users/JenishMistry/DEMOS/MVCDemoAPI/P... | D |
decoration that is hung (as a tapestry) on a wall or over a window
a form of capital punishment
the act of suspending something (hanging it from above so it moves freely
be suspended or hanging
cause to be hanging or suspended
kill by hanging
let drop or droop
fall or flow in a certain way
be menacing, burdensome, or o... | D |
/**
* Interface for exception handling support
*
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1993-1998 by Symantec
* Copyright (C) 2000-2021 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://w... | D |
module exile.exile;
| D |
// URL: http://codeforces.com/contest/977/problem/B
import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string;
auto rdsp(){return readln.splitter;}
void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;}
void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r,v);}
... | D |
module tpl.signal;
import cidrus;
extern (C) Object _d_toObject(ук p);
extern (C) проц _d_OutOfMemory();
template Сигнал(T1...)
{
alias проц delegate(T1) т_слот;
проц подай( T1 i )
{
foreach (слот; слоты[0 .. слоты_индкс])
{ if (слот)
слот(i);
}
}
проц подклю... | D |
a biased way of looking at or presenting something
degree of deviation from a horizontal plane
lie obliquely
present with a bias
to incline or bend from a vertical position
heel over
| D |
/**
This module enables operation graphs to be evaluated using CPU kernels.
Authors: Henry Gouk
*/
module dopt.cpu;
import std.exception;
import dopt.core;
shared static this()
{
import dopt.cpu.basic;
import dopt.cpu.math;
import dopt.cpu.nnet;
import dopt.cpu.random;
dopt.cpu.basic.in... | D |
/Users/sol369/Desktop/curben-oc/DerivedData/curben/Build/Intermediates/Pods.build/Debug-iphonesimulator/ImageViewer.build/Objects-normal/x86_64/UIColor.o : /Users/sol369/Desktop/curben-oc/Pods/ImageViewer/ImageViewer/Source/GalleryPagingDataSource.swift /Users/sol369/Desktop/curben-oc/Pods/ImageViewer/ImageViewer/Sourc... | D |
/*
* Public domain
* dirent.h compatibility shim
*/
module libressl_d.compat.dirent;
public import core.sys.posix.dirent;
public import core.sys.windows.windows;
public import libressl_d.compat.dirent_msvc;
| 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 |
void main() {
problem();
}
void problem() {
const N = scan!int;
const A = scan!(long)(N);
long[] counts = new long[N+1];
foreach(a; A) counts[a]++;
const pairsCounts = counts.map!(x => x <= 0 ? 0 : (x-1)*x/2).array;
const totalPairsCounts = pairsCounts.sum;
const pairsCountsLess = counts.map!(x => (... | D |
module dido.panel.solutionpanel;
import std.path : baseName;
import dido.buffer.buffer;
import dido.gui;
class SolutionPanel : UIElement
{
public:
this(UIContext context)
{
super(context);
}
override void reflow(box2i availableSpace)
{
_position = availableSpace;
}
... | D |
// REQUIRED_ARGS: -o-
/*
TEST_OUTPUT:
---
fail_compilation/fail15292.d(27): Error: cannot compare `S15292` because its auto generated member-wise equality has recursive definition
---
*/
struct NullableRef15292(T)
{
inout(T) get() inout
{
assert(false);
}
alias get this;
}
struct S15292
{
... | D |
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/URI.build/Objects-normal/x86_64/URI.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Engine-1.3.0/Sources/URI/PercentDecoding.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Engine-1.3.0/Sources/URI/Model/URI+Byte.swift /Users/kimhyewon/Docu... | D |
module hunt.wechat.bean.datacube.getcardmembercardinfo.MemberCardInfoResult;
import hunt.collection.List;
import hunt.wechat.bean.BaseResult;
/**
* 拉取会员卡数据接口-响应对象
*
*
*
*/
class MemberCardInfoResult : BaseResult {
List!(MemberCardInfoResultInfo) list;
public List!(MemberCardInfoResultInfo)... | D |
purging the body by the use of a cathartic to stimulate evacuation of the bowels
a ceremonial cleansing from defilement or uncleanness by the performance of appropriate rites
the act of clearing yourself (or another) from some stigma or charge
| D |
/Users/William/dev/rust/substrate-blockchain-test/substrate-test/runtime/target/debug/build/syn-22c9b8161dea76c8/build_script_build-22c9b8161dea76c8: /Users/William/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.15.44/build.rs
/Users/William/dev/rust/substrate-blockchain-test/substrate-test/runtime/target/debug... | D |
module gui.inventory_menu;
import std.string : format;
import std.array : array;
import std.algorithm : filter, max;
import graphics.all;
import geometry.all;
import gui.selection_menu;
import gui.input_icon;
import model.item;
private enum {
normColor = Color.black,
dropColor = Color(0, 0.8, 0.2)
}
class Invent... | D |
module android.java.android.widget.FilterQueryProvider;
public import android.java.android.widget.FilterQueryProvider_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!FilterQueryProvider;
import import2 = android.java.java.lang.Class;
import import0 = android.java.android.database.Cursor;
| D |
module hunt.database.driver.mysql.MySQLSetOption;
/**
* MySQL set options which can be used by {@link MySQLConnection#setOption(MySQLSetOption, Handler)}.
*/
enum MySQLSetOption {
MYSQL_OPTION_MULTI_STATEMENTS_ON,
MYSQL_OPTION_MULTI_STATEMENTS_OFF
}
| D |
/*
* This file is part of serpent.
*
* Copyright © 2019-2020 Lispy Snake, Ltd.
*
* 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 granted to anyone to use this s... | D |
/*
---
Error: cannot mix core.std.stdlib.alloca() and exception handling in _Dmain()
---
*/
import core.stdc.stdlib : alloca;
import core.stdc.stdio;
struct TheStruct
{
~this()
{
printf("dtor()\n");
}
}
void bar()
{
printf("bar()\n");
}
void main()
{
auto s = TheStruct();
bar();
... | D |
module voxelman.entity.plugininfo;
enum id = "voxelman.entity";
enum semver = "0.5.0";
enum deps = [];
enum clientdeps = [];
enum serverdeps = [];
import pluginlib.pluginregistry;
void register(ref PluginRegistry registry)
{
import voxelman.entity.plugin;
pluginRegistry.regClientPlugin(new EntityPluginClient);
plug... | 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 |
<?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="concern.profile.notation#_22BxYHq7... | D |
import std.stdio;
import derelict.opengl3.gl3;
import derelict.sdl2.sdl;
import ResourceManager;
class Texture {
GLuint texID;
char[] name;
uint width;
uint height;
void* texData;
this(char[] name, SDL_Surface *surface) {
this.name = name;
textureFromSDLSurface(surface);
... | D |
func void B_GrantAbsolution(var int location)
{
if((location == LOC_OLDCAMP) || (location == LOC_ALL))
{
ABSOLUTIONLEVEL_OldCamp += 1;
PETZCOUNTER_OldCamp_Murder = 0;
PETZCOUNTER_OldCamp_Theft = 0;
PETZCOUNTER_OldCamp_Attack = 0;
PETZCOUNTER_OldCamp_Sheepkiller = 0;
};
if((location == LOC_CITY) || (locat... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
238 77 6 77 15 60 64.5999985 -127.900002 1745 11.6000004 11.8000002 0.550447062 sediments, redbeds
219.300003 68.9000015 2.79999995 90.9000015 15 60 64.5 -128.5 343 5.5999999 5.5999999 0.580253223 sediments, redbeds
142.300003 67.9000015 10.3000... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.