code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
; Copyright (C) 2008 The Android Open Source Project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law ... | D |
module sendero.util.syndication.Rss20;
import sendero.util.syndication.Common;
import tango.net.http.HttpGet;
import tango.time.Time, tango.time.ISO8601;
import tango.text.convert.TimeStamp;
import sendero.time.Format;
import sendero_base.xml.XmlEntities;
import sendero_base.util.IndentingPrinter;
alias IndentingPr... | D |
//Not work!
module adl.thread_pool;
import core.sys.posix.pthread; // just for pthread_self()
import core.thread;
import core.sync.mutex;
import core.sync.condition;
import std.c.time;
private struct Job
{
Job *next;
void function() fn;
void delegate() dg;
void *arg;
int call;
}
... | D |
import std.stdio;
string f1 = "test.txt";
string f2 = "test2.txt";
void main(){
writeln("Program Start");
writeln("Creating File 1");
File file1 = File(f1, "r");
writeln("Creating File 1 Done");
writeln("Creating File 2");
File file2 = File(f2, "w");
writeln("Creating File 2 Done");
writeln("Writing to File 2");
fo... | D |
module android.java.android.widget.RemoteViews_ActionException_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import2 = android.java.java.io.PrintStream_d_interface;
import import5 = android.java.jav... | D |
# FIXED
NPI/npi_frame_hci.obj: C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Components/npi/npi_frame_hci.c
NPI/npi_frame_hci.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/string.h
NPI/npi_frame_hci.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/linkage.h
NPI/npi_frame_hci.obj: C:/ti/xdctools_3_31_01_33... | D |
# FIXED
Drivers/AOA/AOA.obj: E:/ti/simplelink_cc2640r2_sdk_2_30_00_28/source/ti/blestack/common/cc26xx/aoa/AOA.c
Drivers/AOA/AOA.obj: E:/ti/simplelink_cc2640r2_sdk_2_30_00_28/source/ti/devices/DeviceFamily.h
Drivers/AOA/AOA.obj: E:/ccs8.2/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/stdint.h
Drivers/AOA/AOA.obj:... | D |
module toppkg.subpkg.x;
interface AnInterface {}
| D |
/Users/yvonne.chen1/Documents/Main/-ACM/HackCamp-Spring/Hack-Spring-Session-4/demo-views/DerivedData/Session4-Part1/Build/Intermediates/Session4-Part1.build/Debug-iphonesimulator/Session4-Part1.build/Objects-normal/x86_64/ViewController.o : /Users/yvonne.chen1/Documents/Main/-ACM/HackCamp-Spring/Hack-Spring-Session-4/d... | D |
/**
* Copyright: Copyright (c) 2011 Jacob Carlborg. All rights reserved.
* Authors: Jacob Carlborg
* Version: Initial created: Jan 29, 2012
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
*/
module dstep.translator.objc.ObjcInterface;
import mambo.core._;
import clang.c.index... | D |
.hd lscmpk "compare linked string with contiguous string" 03/23/80
character function lscmpk (ptr, str)
pointer ptr
character str (ARB)
.sp
Library: vlslb
.fs
The linked string specified by 'ptr' and the contiguous string in 'str'
are compared on the basis of ASCII collating sequence. Depending
upon the relation that... | D |
/Users/lefukeji/Desktop/content/chartDemoForPro/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/ChartViewBase.o : /Users/lefukeji/Desktop/content/chartDemoForPro/Charts/Classes/Components/ChartAxisBase.swift /Users/lefukeji/Desktop/content/chartDemoForPro/Charts/Classes/Data/Ra... | D |
/**
* TypeInfo support code.
*
* Copyright: Copyright Digital Mars 2004 - 2009.
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
* Authors: Walter Bright
*/
/* Copyright Digital Mars 2004 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See... | D |
/*
* blockAllPlayerInput.d
*
* Block all player input with or without blocking the main menu as well.
*
* - Requires Ikarus, LeGo (HookEngine, >= 2.5.0), LeGo Cursor optional
* - Compatible with Gothic 1 and Gothic 2
* - Resetting with unblockAllPlayerInput() in Init_Global recommended to restore player input on... | D |
/Users/vladyslavfil/iOS_Learning/Piscine_Swift_iOS/D00/build/calculator.build/Debug-iphonesimulator/calculator.build/Objects-normal/x86_64/ViewController.o : /Users/vladyslavfil/iOS_Learning/Piscine_Swift_iOS/D00/calculator/AppDelegate.swift /Users/vladyslavfil/iOS_Learning/Piscine_Swift_iOS/D00/calculator/ViewControll... | D |
/Users/yinheng/Desktop/code/node/rs/hello/target/debug/deps/hello-74de8f15a60b4e96: src/main.rs
/Users/yinheng/Desktop/code/node/rs/hello/target/debug/deps/hello-74de8f15a60b4e96.d: src/main.rs
src/main.rs:
| D |
/Users/sunchuyue/Documents/test/RX_Product/DerivedData/RX_Product/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/SQLite.swift.build/Objects-normal/x86_64/Statement.o : /Users/sunchuyue/Documents/test/RX_Product/Pods/SQLite.swift/Sources/SQLite/Extensions/FTS4.swift /Users/sunchuyue/Documents/test/RX_Produ... | D |
//Written in the D programming language
/++
Module containing Date/Time functionality.
This module provides:
$(UL
$(LI Types to represent points in time: $(D SysTime), $(D Date),
$(D TimeOfDay), and $(D DateTime).)
$(LI Types to represent intervals of time.)
$(LI Types... | D |
/Users/justinlew/Documents/iOS_dev/mealify.io/DerivedData/mealify/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/IScatterChartDataSet.o : /Users/justinlew/Documents/iOS_dev/mealify.io/Pods/Charts/Source/Charts/Filters/DataApproximator+N.swift /Users/justinlew/Documents/i... | D |
/***********************************************************************\
* shlguid.d *
* *
* Windows API header module *
* ... | D |
// URL: https://yukicoder.me/problems/no/737
import std.algorithm, std.array, std.container, std.math, std.range, std.typecons, std.string;
version(unittest) {} else
void main()
{
long N; io.getV(N);
auto m = N.bsr+1;
auto dp1 = new mint[][][](m+1, 2, m+1), dp2 = new long[][][](m+1, 2, m+1);
dp2[0][1][0] = 1... | D |
instance BAU_913_Thekla(Npc_Default)
{
name[0] = "Текла";
guild = GIL_BAU;
id = 913;
voice = 17;
flags = 0;
npcType = NPCTYPE_MAIN;
B_SetAttributesToChapter(self,1);
fight_tactic = FAI_HUMAN_COWARD;
EquipItem(self,ItMw_1h_Bau_Mace);
B_CreateAmbientInv(self);
B_CreateItemToSteal(self,53,ItMi_Gold,60);
// B_... | D |
/******************************************************************************
Table of request handlers by command.
Copyright:
Copyright (c) 2016-2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*****************... | D |
//*****************************************************************************
// Scrolls
//*****************************************************************************
// Paladin Scrolls
const string Name_PaladinScroll = "Paladin Zauber";
const int Value_Sc_PalLight = 50;
const int Value_Sc_PalLightHeal = ... | D |
/*******************************************************************************
Exists request implementation.
copyright:
Copyright (c) 2018 sociomantic labs GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*****************************... | D |
func void b_preach_parvez(var int satz)
{
if(satz == 0)
{
AI_Output(self,self,"DIA_Parvez_PREACH_05_00"); //Před dávnou dobou objevil se Spáč a člověk měl jeho vizi.
};
if(satz == 1)
{
AI_Output(self,self,"DIA_Parvez_PREACH_05_01"); //Ale lidé zaslepení chamtivostí nemohli vidět pravdu.
};
if(satz == 2)
{
... | D |
/**
* Declarations for back end
*
* Compiler implementation of the
* $(LINK2 https://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1984-1998 by Symantec
* Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmar... | D |
module deimos.uv.errno_darwin;
enum {
UV__EOF = -4095 ,
UV__UNKNOWN = -4094 ,
UV__EAI_ADDRFAMILY = -3000 ,
UV__EAI_AGAIN = -3001 ,
UV__EAI_BADFLAGS = -3002 ,
UV__EAI_CANCELED = -3003 ,
UV__EAI_FAIL = -3004 ,
UV__EAI_FAMILY = -3005 ,
UV__EAI_MEMORY = -3006 ,
UV__EAI_NODATA = -3007 ,
UV__EAI_NONAME = -3008 ,... | D |
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric;
void main()
{
writeln(`..#......
......#..
...#.....
#......#.
....#....
.#......#
.....#...
..#......
......#..`);
}
/*
..#......
......#..
...#.....
#......#.
....#....
.#......#
.....#...
..#......
......#..... | D |
/*
* hunt-proton: AMQP Protocol library for D programming language.
*
* Copyright (C) 2018-2019 HuntLabs
*
* Website: https://www.huntlabs.net/
*
* Licensed under the Apache-2.0 License.
*
*/
module hunt.proton.codec.impl.UnsignedLongElement;
import hunt.io.ByteBuffer;
import std.conv;
import ... | D |
not representative of a group, class, or type
deviating from normal expectations
| D |
void main() {
import std.stdio, std.string, std.conv, std.algorithm;
int n, m;
rd(n, m);
writeln((2 ^^ m) * ((1900 * m) + (100 * (n - m))));
}
void rd(T...)(ref T x) {
import std.stdio : readln;
import std.string : split;
import std.conv : to;
auto l = readln.split;
assert(l.length == x.length);
... | D |
import std.stdio;
int countDivisors(int n) {
if (n < 2) {
return 1;
}
int count = 2; // 1 and n
for (int i = 2; i <= n/2; ++i) {
if (n % i == 0) {
++count;
}
}
return count;
}
void main() {
int maxDiv, count;
writeln("The first 20 anti-primes are:");... | D |
/home/pjackim/downloads/eww/target/release/build/tokio-317a9437b5ac1e52/build_script_build-317a9437b5ac1e52: /home/pjackim/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/build.rs
/home/pjackim/downloads/eww/target/release/build/tokio-317a9437b5ac1e52/build_script_build-317a9437b5ac1e52.d: /home/pjackim/.c... | D |
module io.vfs.VirtualFolder;
private import io.model;
private import io.vfs.model;
class ВиртуальнаяПапка : ХостВфс
{
private ткст name_;
private ФайлВфс[ткст] файлы;
private ПапкаВфс[ткст] грузы;
private ЗаписьПапкиВфс[ткст] папки;
p... | D |
/Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/Service.build/Objects-normal/x86_64/ContainerAlias.o : /Users/petercernak/vapor/TILApp/.build/checkouts/service.git-4489542127361579605/Sources/Service/Services/ServiceID.swift /Users/petercernak/vapor/TILApp/.build/checkouts/service.git-448... | D |
instance DIA_OCPAL_9_EXIT(C_INFO)
{
nr = 999;
condition = dia_ocpal_9_exit_condition;
information = dia_ocpal_9_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_ocpal_9_exit_condition()
{
return TRUE;
};
func void dia_ocpal_9_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_O... | D |
/Users/darshilagrawal/Desktop/CODING/rustPractice/ion_encoder/target/debug/deps/cfg_if-a87dda5fbe4aa893.rmeta: /Users/darshilagrawal/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs
/Users/darshilagrawal/Desktop/CODING/rustPractice/ion_encoder/target/debug/deps/libcfg_if-a87dda5fbe4aa893.rlib: /... | D |
/Users/jimallan/Downloads/starter/location-track-server/.build/x86_64-apple-macosx10.10/debug/Console.build/Terminal/Terminal.swift.o : /Users/jimallan/Downloads/starter/location-track-server/.build/checkouts/console.git-8669534691655913401/Sources/Console/Terminal/ANSI.swift /Users/jimallan/Downloads/starter/location-... | 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 |
module android.java.java.util.function_.ToDoubleFunction;
public import android.java.java.util.function_.ToDoubleFunction_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ToDoubleFunction;
import import0 = android.java.java.lang.Class;
| D |
/Users/hyungsukkang/Documents/product_hunt_clone/frontend/target/debug/deps/frontend-b3777e43f6db3cac.rmeta: src/lib.rs
/Users/hyungsukkang/Documents/product_hunt_clone/frontend/target/debug/deps/frontend-b3777e43f6db3cac.d: src/lib.rs
src/lib.rs:
| D |
instance DIA_BROMOR_EXIT(C_INFO)
{
npc = vlk_433_bromor;
nr = 999;
condition = dia_bromor_exit_condition;
information = dia_bromor_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_bromor_exit_condition()
{
return TRUE;
};
func void dia_bromor_exit_info()
{
b_npcclearobsessionbydmt(sel... | D |
instance Mil_315_Kasernenwache(Npc_Default)
{
name[0] = NAME_Miliz;
guild = GIL_MIL;
id = 315;
voice = 7;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Mil_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_F... | D |
a special anniversary (or the celebration of it)
| D |
a small hairpiece to cover partial baldness
| D |
/Users/apple-1/Downloads/HouseKeeping/Build/Intermediates/HouseKeeping.build/Debug-iphonesimulator/HouseKeeping.build/Objects-normal/x86_64/TableViewCell2.o : /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/DetailsPending.swift /Users/apple-1/Downloads/HouseKeeping/HouseKeeping/tblAssignTasksPending.swift /Users/app... | D |
/**
* Defines the `ESParams` type for use in the API
*
* Copyright: © 2015 David Monagle
* License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
* Authors: David Monagle
*/
module elasticsearch.api.parameters;
import vibe.utils.dictionarylist;
import elasticsearch.api.exc... | D |
module mahjong.engine;
import mahjong.domain.metagame;
import mahjong.domain.opts;
import mahjong.domain.player;
import mahjong.engine.flow;
import mahjong.engine.notifications;
class Engine
{
this(GameEventHandler[] eventHandlers, const Opts opts, INotificationService notificationService)
{
Player[] ... | D |
/Users/thendral/POC/vapor/Friends/.build/debug/Jay.build/ArrayParser.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/thendral/POC/vapor/Friends/Packages/Jay-1.0.1/Sources/Jay/ByteRead... | D |
INSTANCE Mod_7282_OUT_Buerger_REL (Npc_Default)
{
// ------ NSC ------
name = "Bürger";
guild = GIL_OUT;
id = 7282;
voice = 6;
flags = 0;
npctype = NPCTYPE_REL_BUERGER;
// ------ Attribute ------
B_SetAttributesToChapter (self, 4);
// ------ Kampf-Taktik... | D |
deficient in quantity or number compared with the demand
only a very short time before
| D |
// Written in the D programming language.
/**
JavaScript Object Notation
Copyright: Copyright Jeremie Pelletier 2008 - 2009.
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Jeremie Pelletier, David Herberth
References: $(LINK http://json.org/)
Source: $(PHOBOSSRC std/json.d)
*/
/*
... | D |
var int SLD_753_Baloro_SC_choice;
var int SLD_753_Baloro_SC_wills_wissen;
var int SLD_753_Baloro_SC_besorgt_den_Kram;
instance DIA_BALORO_EXIT(C_Info)
{
npc = SLD_753_Baloro;
nr = 999;
condition = dia_baloro_exit_condition;
information = dia_baloro_exit_info;
important = 0;
permanent = 1;
description = DIALOG_... | D |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MarketPlace of i168.net</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../mp_image/mp.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
... | D |
INSTANCE Info_Mod_Hubert_Hi (C_INFO)
{
npc = Mod_7380_OUT_Hubert_REL;
nr = 1;
condition = Info_Mod_Hubert_Hi_Condition;
information = Info_Mod_Hubert_Hi_Info;
permanent = 0;
important = 0;
description = "Wer bist du?";
};
FUNC INT Info_Mod_Hubert_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Hubert_Hi_In... | 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 |
module loop.PipeEvent;
import loop.Event;
import loop.EvLoop;
import dlog.Logger;
class PipeEvent : Event
{
this(EvLoop evloop)
{
parent = evloop;
}
override void enable()
{
mixin(Tracer);
import core.sys.posix.signal;
ev_signal_init (&pipeWatcher, &interruption, S... | D |
instance Mil_322_Miliz(Npc_Default)
{
name[0] = NAME_Miliz;
guild = GIL_MIL;
id = 322;
voice = 6;
flags = 0;
npcType = NPCTYPE_AMBIENT;
B_SetAttributesToChapter(self,3);
fight_tactic = FAI_HUMAN_STRONG;
EquipItem(self,ItMw_1h_Mil_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Fac... | D |
# FIXED
utils/uartstdio.obj: C:/ti/tivaware_c_series_2_1_4_178/utils/uartstdio.c
utils/uartstdio.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdbool.h
utils/uartstdio.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.1.LTS/include/stdint.h
utils/uartstdio.obj: C:/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1... | D |
/+
Copyright (c) 2006 Eric Anderton
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, p... | D |
import std.stdio;
import std.array;
import std.string;
import std.conv;
import std.algorithm;
import std.typecons;
import std.range;
import std.random;
import std.math;
import std.container;
void main() {
auto input = readln.split.map!(to!int);
int N = input[0];
int K = input[1];
auto enemies = new int[][](N, ... | D |
/*
* Copyright 2015-2018 HuntLabs.cn
*
* 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 la... | D |
module deepmagic.dom.elements.tabular.td_element;
import deepmagic.dom;
class TdElement : Html5Element!("td"){
mixin(ElementConstructorTemplate!());
mixin(AttributeTemplate!(typeof(this), "ColSpan", "colspan"));
mixin(AttributeTemplate!(typeof(this), "RowSpan", "rowspan"));
mixin(AttributeTemplate!(typeof(this), ... | D |
/Users/hanykaram/Desktop/MVP/DerivedData/MVP/Build/Intermediates.noindex/SwiftMigration/MVP/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/Resource.o : /Users/hanykaram/Desktop/MVP/Pods/Kingfisher/Sources/String+MD5.swift /Users/hanykaram/Desktop/MVP/Pods/Kingfisher/Source... | D |
func void B_AssignSchiffswachenGuard(var C_Npc Schiffswache)
{
if((MIS_ShipIsFree == TRUE) || (MIS_SCvisitShip == LOG_Running))
{
if(Schiffswache.voice == 4)
{
AI_Output(self,other,"DIA_Pal_Schiffswache_Ambient_04_00"); //Sledujeme tě. Nezapomínej na to.
};
if(Schiffswache.voice == 9)
{
AI_Output(sel... | D |
var int EVT_ORKOBERST_OneTime;
func void evt_orkoberst()
{
if(EVT_ORKOBERST_OneTime == FALSE)
{
OrkElite_AntiPaladinOrkOberst_DI.aivar[AIV_EnemyOverride] = FALSE;
OrcElite_DIOberst1_Rest.aivar[AIV_EnemyOverride] = FALSE;
OrcElite_DIOberst2_Rest.aivar[AIV_EnemyOverride] = FALSE;
OrcElite_DIOberst3_Rest.aivar... | D |
module kreikey.util;
import std.algorithm;
import std.range;
alias InfiniteIota = recurrence!((a, n) => a[n-1]+1, ulong);
//alias asort = (a) {a.sort(); return a;};
T[] asort(alias less = (a, b) => a < b, T)(T[] source) {
source.sort!less();
return source;
}
//alias asortDescending = (a) {a.sort!((b, c) => c < ... | D |
// ***************************************************
// B_TeachFightTalentPercent
// -------------------------
// Kosten abhängig von "verwandtem" Waffentalent-Level
// ***************************************************
// -------------------------------
func int B_TeachFightTalentPercent (var C_NPC slf, var C_NPC ... | D |
/Users/Thomas_Stuart/Desktop/CodePathBootcamp/Parstagram/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/SessionManager.o : /Users/Thomas_Stuart/Desktop/CodePathBootcamp/Parstagram/Pods/Alamofire/Source/MultipartFormData.swift /Users/Thomas_Stuart/Desktop/CodePathBootcamp/Pars... | D |
import std.stdio;
import mrss;
import std.string;
import std.range;
import std.array;
import std.conv;
string ZtoString(const char* c)
{
if (c !is null)
return to!string(fromStringz(c));
else
return null;
}
char* toZString(string s)
{
char[] ret=cast(char[])s;
if (ret[$-1]!='\0')
ret~="\0";
r... | D |
module directx.d3dx11async;
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: D3DX11Async.h
// Content: D3DX11 Asynchronous Shader loaders / compilers
//
////////////////////////////////////////////////... | D |
instance MENU_OPT_GAME(C_MENU_DEF)
{
items[0] = "MENUITEM_GAME_LEGENDSAVE";
items[1] = "MENUITEM_GAME_LEGENDSAVE_CHOICE";
items[2] = "MENUITEM_GAME_KARMASTATUS";
items[3] = "MENUITEM_GAME_KARMASTATUS_CHOICE";
items[4] = "MENUITEM_GAME_HTFSTATUS";
items[5] = "MENUITEM_GAME_HTFSTATUS_CHOICE";
items[6] = "MENUITEM... | D |
/**
* Contains the implementation of the dependency container.
*
* Part of the Poodinis Dependency Injection framework.
*
* Authors:
* Mike Bierlee, m.bierlee@lostmoment.com
* Copyright: 2014-2018 Mike Bierlee
* License:
* This software is licensed under the terms of the MIT license.
* The full terms of th... | D |
INSTANCE Info_Mod_Lefty_Hi (C_INFO)
{
npc = Mod_1294_SLD_Lefty_MT;
nr = 1;
condition = Info_Mod_Lefty_Hi_Condition;
information = Info_Mod_Lefty_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Lefty_Hi_Condition()
{
if (hero.guild == GIL_MIL)
{
return 1;
};
};
FUNC VOID Info_Mod_Lefty_Hi_Info... | D |
/*******************************************************************************
Neo protocol support for DlsClient
Copyright:
Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
******************... | D |
# FIXED
wifi/wifi.obj: C:/ti/BleToWifiGateway_1.0.0_20_oct_16/src/example/blefi/wifi/wifi.c
wifi/wifi.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/stdlib.h
wifi/wifi.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/linkage.h
wifi/wifi.obj: C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include/string.h
w... | D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/parking_lot-85336a1d7e0d4bce.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/parking_lot-0.9.0/src/lib.rs /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/parking_lot-0.9.0/src/con... | 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 t... | D |
/home/Max/Documents/Classes/intro-to-compilers/rust-compiler/target/debug/build/serde-55883b3e75cdb344/build_script_build-55883b3e75cdb344: /home/Max/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.90/build.rs
/home/Max/Documents/Classes/intro-to-compilers/rust-compiler/target/debug/build/serde-55883b3e75cdb... | 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 |
a geological process in which one edge of a crustal plate is forced sideways and downward into the mantle below another plate
| D |
module org.eclipse.swt.all;
public import org.eclipse.swt.SWT;
public import org.eclipse.swt.SWTError;
public import org.eclipse.swt.SWTException;
public import org.eclipse.swt.accessibility.all;
public import org.eclipse.swt.custom.all;
public import org.eclipse.swt.dnd.all;
public import org.eclipse.swt.events.all;... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/SQLite.build/Row/SQLiteData.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/Sources/SQLite/Row/SQLiteData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/sqlite/Sources/S... | D |
/Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/Objects-normal/x86_64/String+C99ExtendedIdentifier.o : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/World+DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/DSL.swift /Users/macosx... | D |
/**
* The osthread module provides low-level, OS-dependent code
* for thread creation and management.
*
* Copyright: Copyright Sean Kelly 2005 - 2012.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
*... | D |
module soundtab.ui.instredit;
import dlangui.platforms.common.platform;
import dlangui.core.logger;
import dlangui.core.i18n;
import dlangui.core.stdaction;
import dlangui.widgets.widget;
import dlangui.widgets.layouts;
import dlangui.widgets.controls;
import dlangui.widgets.toolbars;
import dlangui.widgets.scrollbar;... | D |
/**
* Module for parsing switch statements.
*
* License: MIT (https://github.com/Royal Programming Language/bl/blob/master/LICENSE)
*
* Copyright 2019 © Royal Programming Language - All Rights Reserved.
*/
module parser.switchparser;
import core.tokenizer;
import core.errors;
import core.debugging;
import parser.meta... | D |
module imageformats.bmp;
import std.bitmanip : littleEndianToNative, nativeToLittleEndian;
import std.stdio : File, SEEK_SET;
import std.math : abs;
import std.typecons : scoped;
import imageformats;
private:
immutable bmp_header = ['B', 'M'];
public bool detect_bmp(Reader stream) {
try {
ubyte[1... | D |
module mach.sys.memory;
private:
import core.exception : OutOfMemoryError;
import core.stdc.stdlib : cmalloc = malloc;
import core.stdc.stdlib : cfree = free;
import core.stdc.string : cmemcpy = memcpy;
import core.stdc.string : cmemmove = memmove;
static immutable OOMError = new OutOfMemoryError();
@nogc nothrow p... | D |
/**
* D Documentation Generator
* Copyright: © 2014 Economic Modeling Specialists, Intl., © 2015 Ferdinand Majerech
* Authors: Brian Schott, Ferdinand Majerech
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt Boost License 1.0)
*/
module item;
import formatter;
import std.algorithm;
import std.array: appen... | D |
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/atty-02dbc4733aaefb4f.rmeta: /Users/liujianhao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/atty-0.2.14/src/lib.rs
/Users/liujianhao/code/rust/simple_web_app/simple_web_app/target/rls/debug/deps/atty-02dbc4733aaefb4f.d: /Users/... | D |
module nxt.array_stack;
/** Stack.
See_Also: http://forum.dlang.org/thread/wswbtzakdvpgaebuhbom@forum.dlang.org
*/
import nxt.container.dynamic_array : Stack = DynamicArray;
@safe pure nothrow @nogc unittest
{
alias T = uint;
Stack!T s;
assert(s.empty);
// insertBack:
s.insertBack(13U);
... | D |
/Users/kenjou/Documents/SimpleToDo/SimpleTodo/Build/Intermediates/SimpleTodo.build/Debug-iphonesimulator/SimpleTodo.build/Objects-normal/x86_64/EditViewController.o : /Users/kenjou/Documents/SimpleToDo/SimpleTodo/SimpleTodo/FontSizeViewController.swift /Users/kenjou/Documents/SimpleToDo/SimpleTodo/SimpleTodo/MainViewCo... | D |
// @file exception4.d
import std.stdio;
void main(){
try{
// Block of code to try
// ...
// And if something goes wrong, we can 'throw'
throw new Exception("Something exceptional happened");
}
catch(Exception e)
{
// Generic catch any 'Exception'
// Goal is to log or otherwise handle exception
}
fin... | D |
/**
* State manager thing
*/
module game.state.States;
import game.state.model.IState;
/**
* States class
*/
public class States
{
/**
* The map of states
*/
private IState[string] states;
/**
* The current state
*/
private string cur_state;
/**
* Constructor
... | D |
instance DIA_BARTOK_EXIT(C_INFO)
{
npc = vlk_440_bartok;
nr = 999;
condition = dia_bartok_exit_condition;
information = dia_bartok_exit_info;
permanent = TRUE;
description = DIALOG_ENDE;
};
func int dia_bartok_exit_condition()
{
return TRUE;
};
func void dia_bartok_exit_info()
{
AI_StopProcessInfos(self);
}... | D |
/*
* This file is part of EvinceD.
* EvinceD is based on GtkD.
*
* EvinceD is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any later version... | D |
import std.stdio;
import std.string;
import std.algorithm;
void main() {
string name = "A-small";
string path = "";
File input = File(path ~ name ~ ".in", "r");
File output = File(path ~ name ~ ".out", "w");
int testCases;
input.readf(" %d", &testCases);
foreach(testCase; 1..testCases + ... | D |
module gfm.sdl2.sdl;
import std.conv: to;
import std.string: format, toStringz;
import derelict.sdl2.sdl;
import derelict.sdl2.image;
import derelict.util.exception;
import gfm.sdl2.exception;
import gfm.sdl2.displaymode;
import gfm.sdl2.renderer;
import gfm.common.log;
import gfm.math.box;
final class SDL2
{
p... | D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.