code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module material;
import std.math;
import utility;
import hittable;
import ray;
import vec3;
abstract class Material
{
this()
{
}
bool scatter(ref Ray r_in, ref Hit_Record rec, ref Color attenuation, ref Ray scattered);
}
class Lambertian : Material
{
Color albedo;
this(Color a)
{
... | D |
/**
* This is the Interface for component providers. Component providers are used to supply components
* for states within an EntityStateMachine. Ash includes three standard component providers,
* ComponentTypeProvider, ComponentInstanceProvider and ComponentSingletonProvider. Developers
* may wish to create more.... | D |
/Users/HL/Documents/AppleBite/AxxessChallenge/build/AxxessChallenge.build/Debug-iphonesimulator/AxxessChallenge.build/Objects-normal/x86_64/ViewController.o : /Users/HL/Documents/AppleBite/AxxessChallenge/AxxessChallenge/ViewController.swift /Users/HL/Documents/AppleBite/AxxessChallenge/AxxessChallenge/AppDelegate.swif... | 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
* distribut... | D |
// Written in the D programming language.
/**
The C heap allocator.
Source: $(PHOBOSSRC std/experimental/allocator/mallocator.d)
*/
module std.experimental.allocator.mallocator;
import std.experimental.allocator.common;
/**
The C heap allocator.
*/
struct Mallocator
{
@system unittest { testAllocator!(() => M... | D |
/*
[The "BSD licence"]
Copyright (c) 2005-2008 Terence Parr
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this ... | D |
// Written in the D programming language.
/**
Processing of command line options.
The getopt module implements a `getopt` function, which adheres to
the POSIX syntax for command line options. GNU extensions are
supported in the form of long options introduced by a double dash
("--"). Support for bundling of command l... | D |
module test5412c2;
| 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 under t... | 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_8_BeT-18596146... | D |
import std;
size_t deepest;
Tuple!(dstring,"country",dstring,"reading")[] dic;
auto reading(size_t i){assert(i<dic.length);return dic[i].reading;}
size_t[][dchar] index;
string logfile="log/shiritori.log";
string progfile="log/progress.log";
void main(string[] args){
dic=args[1].readText.splitLines.map!((line){
... | 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 |
/*
Copyright © 2023, Inochi2D Project
Distributed under the 2-Clause BSD License, see LICENSE file.
Authors: Luna Nielsen
*/
module creator.windows.editanim;
import creator.widgets;
import creator.windows;
import creator.core;
import creator;
import std.string;
import creator.utils.link;
import inochi2... | D |
/Users/benormos/Desktop/MyFutureBox/build/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallZigZag.o : /Users/benormos/Desktop/MyFutureBox/Pods/NVActivityIndicatorView/NVActivityIndicatorView/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimati... | D |
void main() {
problem();
}
void problem() {
const N = scan!int;
const M = scan!int;
const X = scan!int;
auto C = new int[N];
int[][] A;
foreach(i; 0..N) {
C[i] = scan!int;
A ~= scan!int(M);
}
int[] bitNums = N.iota.map!(x => 2.pow(x)).array;
void solve() {
int answer = int.max;
f... | D |
/Users/danielmorales/CSUMB/Potluck/build/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/OperationQueueScheduler.o : /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/danielmorales/CSUMB/Potluck/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/danielmoral... | D |
512 sergei_eisenstein
1 edwin_s_porter
15 dw_griffith
2075 leni_riefenstahl
542 rupert_julian
1570 wesley_ruggles
2595 cecil_b_demille
2084 george_stevens
860 roland_west
3250 1043170-george_b_seitz
1585 michael_curtiz
563 clyde_bruckman
1598 rouben_mamoulian
2099 1028179-william_a_seiter
583 bonnie_hill
1463 frank_r_s... | D |
/**
* Модуль содержит основные типы использвемые в протоколе взаимодейтвия
*
* Copyright: (c) 2017, Oleg Lelenkov.
* License: MIT
* Authors: Oleg Lelenkov
*/
module tarantool.types;
/+
private
{
import std.algorithm.iteration : map;
import std.algorithm.searching : all, findSplit, startsWith;
import... | D |
/**
* Takes a token stream from the lexer, and parses it into an abstract syntax tree.
*
* Specification: C11
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK2 https://www.boost.org/... | D |
/Users/DboyLiao/Documents/MOOCs/Udacity/iOS/Intro_iOS_App_Dev/PitchPerfect/DerivedData/PitchPerfect/Build/Intermediates/PitchPerfect.build/Debug-iphoneos/PitchPerfect.build/Objects-normal/arm64/RecordedAudio.o : /Users/DboyLiao/Documents/MOOCs/Udacity/iOS/Intro_iOS_App_Dev/PitchPerfect/PitchPerfect/RecordedAudio.swift ... | D |
module poseidon.util.xmlutil;
private import ak.xml.coreXML;
class XMLUtil
{
private import std.string;
static char[] getAttrib(XMLnode node, char[] attribName, char[] defaultValue = null)
{
assert(node);
XMLattrib attrib = node.getAttrib(attribName);
if(attrib)
return attrib.GetValue();
return de... | D |
/*
* Hunt - a framework for web and console application based on Collie using Dlang development
*
* Copyright (C) 2015-2016 Shanghai Putao Technology Co., Ltd
*
* Developer: putao's Dlang team
*
* Licensed under the BSD License.
*
*/
module neton.context;
import std.variant;
import collie.channel.handler;... | D |
regAlloc.cmi : asm.cmi
| D |
/**
Idiomatic D wrapper for Excel SDK inspired by PyD and PyXLL:
- allows writing excel user defined functions in D without extra glue code
- simply annotate the function with xlld attributes and it will be wrapped and automatically registered
on workbook open and deregistered on close
That's the ultimate go... | D |
module sheepy.types.war;
import std.meta: AliasSeq, Filter;
import sheepy.shards.war;
import sheepy.utils: isTypeFilter, hasMemberFilter;
import sheepy.client;
import sheepy.types;
class War {
SheepyClient client;
uint id;
WarAPIShard warShard;
WarsAPIShard warsShard;
alias Shards = AliasSeq!(warShard, warsSha... | 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 |
/home/runner/work/coins/coins/server/target/x86_64-unknown-linux-gnu/release/coins: /home/runner/work/coins/coins/server/src/app.rs /home/runner/work/coins/coins/server/src/cli.rs /home/runner/work/coins/coins/server/src/handlers.rs /home/runner/work/coins/coins/server/src/main.rs
| D |
prototype PC_SnowStudioPortrait(C_NPC)
{
flags = NPC_FLAG_IMMORTAL;
attribute[ATR_HITPOINTS] = 10;
attribute[ATR_HITPOINTS_MAX] = 10;
Mdl_SetVisual(self,"Meatbug.mds");
Mdl_SetVisualBody(self,"",DEFAULT,DEFAULT,"",DEFAULT,DEFAULT,-1);
noFocus = TRUE;
};
var int EVT_SNOWGALLERY_ISTAR_Once;
func void EVT_SNOWGALL... | D |
module thBase.container.hashmap;
public import core.hashmap;
version(unittest)
{
import thBase.conv;
import thBase.policies.hashing;
}
unittest
{
static struct Test
{
int check = 5;
int value = 0;
this(int value)
{
this.value = value;
}
~this()
{
assert(check == 5);
... | D |
CSYTRS (F07NSE) Example Program Data
4 2 :Values of N and NRHS
'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) ... | D |
/++
This is a submodule of $(MREF mir,ndslice).
Field is a type with `opIndex(ptrdiff_t index)` primitive.
An iterator can be created on top of a field using $(SUBREF iterator, FieldIterator).
An ndslice can be created on top of a field using $(SUBREF slice, slicedField).
$(BOOKTABLE $(H2 Fields),
$(TR $(TH Field Nam... | D |
a quarrel about petty points
a cloth covering (a legging) that covers the instep and ankles
a young oyster or other bivalve
come down like raindrops
become permanently attached
strike with a sound like that of falling rain
clap one's hands or shout after performances to indicate approval
engage in a brief and petty qua... | D |
module Engine.Coroutine;
import core.thread;
import std.datetime;
import Engine.Entity;
Coroutine[] Coroutines;
void StartCoroutine(void delegate() dg) {
new Coroutine(null, dg);
}
void StartCoroutine(void function() fn) {
new Coroutine(null, fn);
}
package void RunCoroutines() {
for (int i=0;i<Coroutines.lengt... | D |
// Public Domain
module dll;
import rt.core.os.windows;
HINSTANCE g_hInst;
extern (C)
{
void gc_init();
void gc_term();
void _minit();
void _moduleCtor();
void _moduleUnitTests();
}
extern (Windows)
BOOL DllMain(HINSTANCE hInstance, ULONG ulReason, LPVOID pvReserved)
{
switch (u... | D |
/*****************************************************************************
*
* Higgs JavaScript Virtual Machine
*
* This file is part of the Higgs project. The project is distributed at:
* https://github.com/maximecb/Higgs
*
* Copyright (c) 2012-2013, Maxime Chevalier-Boisvert. All rights re... | D |
/**
* The base class for a D symbol, which can be a module, variable, function, enum, etc.
*
* Copyright: Copyright (C) 1999-2021 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, Boost ... | D |
large in volume or bulk
marked by repeated turns and bends
large in number or quantity (especially of discourse
| D |
struct KeyType
{
int x;
size_t toHash() const @safe nothrow
{
return x;
}
bool opEquals(in KeyType r) const
{
return x == r.x;
}
}
ulong func(ulong[KeyType] aa) @nogc
{
if (auto p = KeyType(10) in aa) // can call KeyType.toHash/opEquals
return *p;
return a... | D |
/*
* This file was automatically generated by sel-utils and
* released under the MIT License.
*
* License: https://github.com/sel-project/sel-utils/blob/master/LICENSE
* Repository: https://github.com/sel-project/sel-utils
* Generated from https://github.com/sel-project/sel-utils/blob/master/xml/attributes/pocke... | D |
xa=0.0
xb=3.0
ya=0.0
yb=4.0
nx=6000
ny=8000
fl=0
| D |
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/PKHUD.build/Objects-normal/x86_64/PKHUDSuccessView.o : /Users/hanykaram/Desktop/MVP/Pods/PKHUD/PKHUD/HUD.swift /Users/hanykaram/Desktop/MVP/Pods/PKHUD/PKHUD/PKHUD.swift /Users/hanykaram/Desktop/MVP/Pods/PKHUD/PKHUD... | D |
void main() { runSolver(); }
void problem() {
auto N = scan!int;
auto M = MInt9(scan!long);
auto P = scan!int(N).map!"a - 1".array;
auto solve() {
auto uf = UnionFind(N);
MInt9 ans;
int rest = N;
auto mPairs = M*(M - MInt9(1)) / MInt9(2);
foreach(i; 0..N) {
if (uf.same(i, P[i])) cont... | D |
cal (3) --- print a calendar on standard output 01/13/83
_U_s_a_g_e
cal [ <month> ] [ <year> ]
_D_e_s_c_r_i_p_t_i_o_n
'Cal' prints a Gregorian calendar for any month or any year
of the user's choice.... | D |
/**
* Consoleur: a package for interaction with character-oriented terminal emulators
*
* Copyright: Maxim Freck, 2017.
* Authors: Maxim Freck <maxim@freck.pp.ru>
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
*/
module consoleur.cli.password;
/**
* Reads password from the user ... | 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 |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
int[2000] L;
void main()
{
auto mnk = readln.split.to!(int[]);
auto M = mnk[0];
auto K = mnk[2];
foreach (x; readln.split.to!(int[])) ++L[x-1];
int max_r;
foreach (i; 0..M) {
int r =... | D |
module dlfcn;
/* From <dlfcn.h>
* See http://www.opengroup.org/onlinepubs/007908799/xsh/dlsym.html
*/
const int RTLD_LAZY = 0x00001;
const int RTLD_NOW = 0x00002;
const int RTLD_GLOBAL = 0x00100;
extern(C)
{
void *dlopen(char* file, int mode);
int dlclose(void* handle);
void *dlsym(void* handle, ch... | D |
module deadcode.gui.controls.texteditor;
import deadcode.command.command : CommandManager;
import deadcode.core.signals;
import deadcode.edit.buffer;
import deadcode.edit.bufferview;
import deadcode.graphics;
import deadcode.gui.event;
import deadcode.gui.style;
import deadcode.gui.styledtext;
import deadcod... | 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 durge.system.engine;
import durge.common;
import durge.draw.common;
import durge.system.console;
import durge.system.config;
import durge.system.display;
import durge.system.input;
import durge.system.frametimer;
abstract class Engine
{
private string[] _args;
private Config _config;
private Conso... | D |
interpreter/test/ex3_6_6.ml:
| D |
module robomake.commands;
import std.stdio : readln;
import std.system;
import std.compiler;
import std.string;
import std.algorithm.searching;
import std.conv;
import std.getopt;
import std.file : write, readText, exists;
import std.datetime.stopwatch;
import core.cpuid;
import robomake.console;
import robomake.cma... | D |
PLONG PLAT ED95 KD LOMAGAGE HIMAGAGE SLAT SLONG RESULTNO DP DM WT ROCKTYPE
303.5 77.1999969 2.79999995 89.6999969 10 14 -38.7000008 143.100006 139 4.19999981 4.19999981 1 sediments, limestone
283.600006 83.1999969 4.4000001 84.1999969 2 4 -38 142.5 140 6.19999981 6.19999981 1 sediments, limestone, extrusives
21.8999996... | D |
/**
This module contains the core functionality of the vibe.d framework.
Copyright: © 2012-2015 RejectedSoftware e.K.
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Sönke Ludwig
*/
module vibe.core.core;
public import vibe.core.driver;
import vibe.core.arg... | 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="3ba1b672-932c-4c11-9c72-497392... | D |
func void B_CheerFight()
{
var int zufall;
if(Npc_GetStateTime(self) <= 2)
{
return;
};
if((other.guild > GIL_SEPERATOR_HUM) || (victim.guild > GIL_SEPERATOR_HUM))
{
return;
};
Npc_SetStateTime(self,0);
if(C_NpcIsToughGuy(self))
{
zufall = Hlp_Random(3);
if((Npc_GetAttitude(self,victim) == ATT_FRIEND... | D |
/Users/thomaslacan/git/MyJogs-vapor/.build/x86_64-apple-macosx10.10/debug/NIOWebSocket.build/WebSocketFrameDecoder.swift.o : /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-3536564549603293986/Sources/NIOWebSocket/SHA1.swift /Users/thomaslacan/git/MyJogs-vapor/.build/checkouts/swift-nio.git-353656454... | D |
module dwinrt;
debug = DWinRT;
public import core.sys.windows.windows;
public import dwinrt.winstring;
import dwinrt.uuids;
import core.atomic;
import core.sys.windows.com;
import core.thread;
import core.sync.mutex;
import core.sys.windows.objidl : STATSTG;
import core.sys.windows.wtypes;
import core.sys.windows.o... | D |
//poprawione i sprawdzone - Nocturn
//******************************************
// EXIT
//******************************************
instance DIA_Cutter_Exit (C_INFO)
{
npc = GRD_208_Cutter;
nr = 999;
condition = DIA_Cutter_Exit_Condition;
information = DIA_Cutter_Exit_Info;
permanent = 1;
descriptio... | D |
/*******************************************************************************
@file HttpReader.d
Copyright (c) 2004 Kris Bell
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for damages
... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto N = readln.chomp.to!int;
auto S = readln.chomp;
int r;
foreach (i; 0..1000) {
auto a = i/100;
auto b = (i/10)%10;
auto c = i%10;
int d;
fore... | D |
// Copyright Michael D. Parker 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module bindbc.freetype.bind.fterrdef;
enum {
FT_Err_Ok = 0x00,
FT_Err_Cannot_Open_Resource = ... | D |
/afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/HZZCutCommon/obj/EventContainer.o /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/RootCoreBin/obj/x86_64-slc6-gcc49-opt/HZZCutCommon/obj/EventContainer.d : /afs/cern.ch/work/m/mmittal/private/MyAnalysisCode/HZZCutCommon/Root/Eve... | D |
module android.java.android.inputmethodservice.AbstractInputMethodService_AbstractInputMethodSessionImpl;
public import android.java.android.inputmethodservice.AbstractInputMethodService_AbstractInputMethodSessionImpl_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!AbstractInputMethodService_Ab... | 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 |
/**
* Windows API header module
*
* Translated from MinGW API for MS-Windows 4.0
*
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(DRUNTIMESRC src/core/sys/windows/_shlobj.d)
*/
module core.sys.windows.shlobj;
version (Windows):
@system:
version (ANSI) {} else version = U... | D |
/**
This module includes functions to work with HTML and CSS in a more specialized manner than [arsd.dom]. Most of this is obsolete from my really old D web stuff, but there's still some useful stuff. View source before you decide to use it, as the implementations may suck more than you want to use.
It publically im... | D |
// Written in the D programming language.
/**
This module contains opengl based drawing buffer implementation.
To enable OpenGL support, build with version(USE_OPENGL);
Synopsis:
----
import dlangui.graphics.gldrawbuf;
----
Copyright: Vadim Lopatin, 2014
License: Boost License 1.0
Authors: Vadim Lopatin, cool... | D |
import std.stdio, std.string, std.conv;
import std.algorithm, std.array, std.bigint, std.math, std.range;
import core.thread;
// Input
string[] tokens;
int tokenId = 0;
string readToken() { for (; tokenId == tokens.length; ) tokens = readln.split, tokenId = 0; return tokens[tokenId++]; }
int readInt() { retu... | D |
import std.stdio, std.random, std.algorithm;
// Zero-based line numbers.
int oneOfN(in int n) {
int choice = 0;
foreach (immutable i; 1 .. n)
if (!uniform(0, i + 1))
choice = i;
return choice;
}
void main() {
int[10] bins;
foreach (immutable i; 0 .. 1_000_000)
bins[10.o... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/FluentProvider.build/Objects-normal/x86_64/FilterableKey+String.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent-provider.git-1502561075136423204/Sources/FluentProvider/Node+Row+JSON.swift /Users/cansoykarafakili/Desktop/Hello/... | 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/_imagehlp.d)
*/
module core.sys.windows.imagehlp;
version (Windows):
/* Comment from Min... | D |
/Users/cansoykarafakili/Desktop/Hello/build/Intermediates/Hello.build/Debug/FluentProvider.build/Objects-normal/x86_64/Exports.o : /Users/cansoykarafakili/Desktop/Hello/.build/checkouts/fluent-provider.git-1502561075136423204/Sources/FluentProvider/Node+Row+JSON.swift /Users/cansoykarafakili/Desktop/Hello/.build/checko... | D |
/* REQUIRED_ARGS: -dip25
TEST_OUTPUT:
---
fail_compilation/test16228.d(22): Error: function has 'return' but does not return any indirections
fail_compilation/test16228.d(23): Error: function test16228.S.foo static member has no 'this' to which 'return' can apply
---
*/
// https://issues.dlang.org/show_bug.cgi?id... | D |
module armos.graphics.buffermesh;
import armos.graphics.vao;
import armos.graphics.mesh;
import armos.graphics.buffer;
/++
+/
class BufferMesh {
public{
///
this(Mesh mesh, in BufferUsageFrequency freq, in BufferUsageNature nature){
this();
_vao.begin();
att... | D |
/// [internal]
module vibe.internal.win32;
version(Windows):
static if (__VERSION__ >= 2070) {
public import core.sys.windows.windows;
public import core.sys.windows.winsock2;
} else {
public import core.sys.windows.windows;
public import std.c.windows.windows;
public import std.c.windows.winsock;
extern(Syste... | D |
module org.eclipse.swt.internal.mozilla.nsIProperties;
import org.eclipse.swt.internal.mozilla.Common;
import org.eclipse.swt.internal.mozilla.nsID;
import org.eclipse.swt.internal.mozilla.nsISupports;
const char[] NS_IPROPERTIES_IID_STR = "78650582-4e93-4b60-8e85-26ebd3eb14ca";
const nsIID NS_IPROPERTIES_IID=
{0... | 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 |
a performance of music by players or singers not involving theatrical staging
contrive (a plan) by mutual agreement
settle by agreement
| D |
// Written in the D programming language
// License: http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0
import options, dexpr, util;
import std.conv;
MapX!(Q!(DExpr,DExpr),DExpr) definiteIntegralCache;
DExpr definiteIntegral(DExpr expr,DExpr facts=one){
auto t=q(expr,facts);
if(t in definiteIntegralCache) re... | D |
/**
* Copyright: Copyright (C) 2007-2008 Aaron Craelius. All rights reserved.
* Authors: Aaron Craelius
*/
module sendero.backends.Base;
import sendero.core.Config;
public import sendero.http.Request;
version(SenderoLog)
{
public import tango.util.log.Log;
}
version(SenderoBenchmark)
{
version(SenderoLog)... | D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Vapor.build/Response/BasicResponder.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor/Sources/Vapor/Utilities/FileIO.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/vapor... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
auto N = readln.chomp.to!int;
auto r = long.max;
foreach (x; 0..N+1) {
long rr;
auto a = x;
while (a) rr += a%6, a /= 6;
auto b = N-x;
while (b) rr... | D |
module android.java.android.webkit.WebHistoryItem_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.graphics.Bitmap_d_interface;
import import1 = android.java.java.lang.Cl... | D |
/home/syx/SYXrepo/vacation_homework/percolation/target/rls/debug/deps/percolation-4bc79430aa3a624c.rmeta: src/main.rs
/home/syx/SYXrepo/vacation_homework/percolation/target/rls/debug/deps/percolation-4bc79430aa3a624c.d: src/main.rs
src/main.rs:
| D |
// ************************************************************
// EXIT
// ************************************************************
INSTANCE DIA_Addon_Ramon_EXIT (C_INFO)
{
npc = BDT_1071_Addon_Ramon;
nr = 999;
condition = DIA_Addon_Ramon_EXIT_Condition;
information = DIA_Addon_Ramon_EXIT_Info;... | D |
$ANSIBLE_VAULT;1.1;AES256
32663630313434636466386331323436656661326130373866623237313033353633383537373335
3965613636343861376237356666316332386433656435300a336265653237323262663033623266
31663566613734643063333139633930306262613238343064366466313233626463383038633236
3166646663626363310a3931336431396639356163363737396... | D |
module tester;
import std.stdio, std.file;
import std.conv: to;
import std.datetime;
import grimoire;
import scripthandler;
void testAll() {
GrData data = new GrData;
grLoadStdLibrary(data);
auto directories = dirEntries("", SpanMode.shallow);
const auto startTime = MonoTime.currTime();
uint modu... | 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 |
/Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/x86_64-apple-macosx/debug/MultipartKit.build/Exports.swift.o : /Users/sadikekinozbay/Documents/TUM/WS-2/Swift/Apodini-Example-Project/.build/checkouts/multipart-kit/Sources/MultipartKit/MultipartPartConvertible.swift /Users/sadikekinozbay/Doc... | D |
func void B_AssessFightSound()
{
PrintDebugNpc(PD_ZS_FRAME,"B_AssessFightSound");
if(C_NpcIsMonster(other) && C_NpcIsHuman(victim))
{
PrintDebugNpc(PD_ZS_FRAME,"...Monster greift Mensch an!");
if((Npc_GetAttitude(self,victim) == ATT_FRIENDLY) || (Npc_GetAttitude(self,victim) == ATT_NEUTRAL))
{
if(Npc_CanSe... | D |
/home/pluce/Dokumente/Workspace/Rust/multithreaded_webserver/target/rls/debug/deps/multithreaded_webserver-4368abe6bbd3b273.rmeta: src/main.rs
/home/pluce/Dokumente/Workspace/Rust/multithreaded_webserver/target/rls/debug/deps/multithreaded_webserver-4368abe6bbd3b273.d: src/main.rs
src/main.rs:
| D |
instance ItMi_Amulet_Psi_01(C_Item)
{
name = NAME_Amulett;
mainflag = ITEM_KAT_MAGIC;
flags = ITEM_AMULET;
value = 5;
visual = "ItMi_Amulet_Psi_01.3ds";
visual_skin = 0;
material = MAT_METAL;
description = "Sign of the Brotherhood";
text[2] = "The bearer is recognized as";
text[3] = "a member of the Brotherh... | D |
module utils;
import core.thread;
import core.vararg;
import std.algorithm;
import std.array;
import std.conv;
import std.datetime;
import std.format;
import std.process;
import std.range;
import std.stdio;
import std.string;
import etc.c.curl;
import mysql;
static const char* USERAGENT = "Auto-Tester. https://aut... | D |
module app;
void main(string[] args){
}
| D |
instance DIA_Fed_EXIT(C_Info)
{
npc = STRF_1106_Fed;
nr = 999;
condition = DIA_Fed_EXIT_Condition;
information = DIA_Fed_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Fed_EXIT_Condition()
{
return TRUE;
};
func void DIA_Fed_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA... | D |
import std.stdio, std.getopt, std.stdio, std.file,std.utf,std.ascii, std.conv, std.regex;
import std.typecons : Yes;
import std.traits;
string inputFilePath = "test.c";
string outputFilePath = "out";
bool transliterate = false;
bool codegen = false;
bool verbose = false;
bool lex = false;
void main(string[] args)
{
... | D |
/Users/work/Projects/Hello/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.build/HTTPResponseCompressor.swift.o : /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/NIOHTTP1/HTTPPipelineSetup.swift /Users/work/Projects/Hello/.build/checkouts/swift-nio.git-3108475404973543938/Sources/NI... | D |
/Users/Salgara/Desktop/IOS/CurrencyApp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/Bag.o : /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/Salgara/Desktop/IOS/CurrencyApp/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Use... | D |
/opt/desenv/workspace/github/cursos/rust/c15-smart-pointers/memory-leak/target/rls/debug/deps/memmory_leak-a870276b970463ba.rmeta: src/main.rs
/opt/desenv/workspace/github/cursos/rust/c15-smart-pointers/memory-leak/target/rls/debug/deps/memmory_leak-a870276b970463ba.d: src/main.rs
src/main.rs:
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.