code stringlengths 3 10M | language stringclasses 31
values |
|---|---|
module distGraph.utils.syntax.Lexer;
public import distGraph.utils.syntax.Word;
public import distGraph.utils.syntax.Tokens;
import std.container, std.traits;
import std.stdio, std.file, std.string;
class SyntaxError : Exception {
this (Word word, string [] expected) {
super ("");
import std.outbuffer;
auto b... | D |
/Users/hailor/Work/mobile/QhTestMV/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/HandyJSON.build/Objects-normal/x86_64/NominalType.o : /Users/hailor/Work/mobile/QhTestMV/ios/Pods/HandyJSON/Source/Metadata.swift /Users/hailor/Work/mobile/QhTestMV/ios/Pods/HandyJSON/Source/Transformable.swift /Users/hail... | D |
any material used for its color
a race with skin pigmentation different from the white race (especially Blacks)
(physics) the characteristic of quarks that determines their role in the strong interaction
interest and variety and intensity
the timbre of a musical sound
a visual attribute of things that results from the ... | D |
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: ssl-reqd
Help: Require SSL/TLS
Protocols: FTP IMAP POP3 SMTP LDAP
Added: 7.20.0
Category: tls
Example: --ssl-reqd ftp://example.com
See-also: ssl insecure
Multi: boolean
---
Require SSL/TLS for the connection. Te... | D |
import imports.test11563std_traits;
interface J : I {} // comment out to let compilation succeed
struct A { }
static assert(moduleName!A == "b");
interface I {}
| D |
/*
* SPDX-FileCopyrightText: Copyright © 2020-2023 Serpent OS Developers
*
* SPDX-License-Identifier: Zlib
*/
/**
* moss.core.fetchcontext
*
* A FetchContext is responsible for queuing + downloading assets in the form
* of Fetchables.
*
* Authors: Copyright © 2020-2023 Serpent OS Developers
* License: Zlib
... | D |
/*******************************************************************************
copyright: Copyright (c) 2008. Fawzi Mohamed
license: BSD стиль: $(LICENSE)
version: Initial release: July 2008
author: Fawzi Mohamed
****************************************... | D |
// Author: Ivan Kazmenko (gassa@mail.ru)
module solution;
import std.algorithm, std.stdio, std.string;
void main ()
{
string s;
while ((s = readln.strip) != "")
{
int [] a;
while (true)
{
a ~= 0;
}
}
}
| D |
module gelf.transport;
private
import std.socket : UdpSocket, InternetAddress;
import std.random : uniform;
import std.outbuffer;
import std.range : chunks;
import gelf.protocol;
public:
enum MAX_CHUNKS = 128; //"A message MUST NOT consist of more than 128 chunks."
/**
This function pro... | D |
module android.java.java.util.ResourceBundle;
public import android.java.java.util.ResourceBundle_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ResourceBundle;
import import0 = android.java.java.util.Locale;
import import1 = android.java.java.util.ResourceBundle;
import import6 = android.jav... | D |
/++
The Mersenne Twister generator.
Copyright: Copyright Andrei Alexandrescu 2008 - 2009, Ilya Yaroshenko 2016-.
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP erdani.org, Andrei Alexandrescu) Ilya Yaroshenko (rework)
+/
module mir.random.engine.mersenne_twister;
import std.trai... | D |
/Users/thendral/POC/vapor/Friends/.build/debug/FluentTester.build/Student.swift.o : /Users/thendral/POC/vapor/Friends/Packages/Fluent-1.3.7/Sources/FluentTester/Atom.swift /Users/thendral/POC/vapor/Friends/Packages/Fluent-1.3.7/Sources/FluentTester/Compound.swift /Users/thendral/POC/vapor/Friends/Packages/Fluent-1.3.7/... | D |
/Users/sjwu/video/HouseHold/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/AnonymousDisposable.o : /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/Amb.swift /Users/sjwu/video/HouseHold/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift /Users/sjwu/video/HouseHold/P... | D |
//T compiles:yes
//T has-passed:no
//T retval:23
string s1 = "some string";
int main() {
string s2 = "other string";
return cast(int) ((s1 ~ s2).length);
}
| D |
a member of the Siouan people formerly living in Iowa and Minnesota and Missouri
a state in midwestern United States
a dialect of the Chiwere language spoken by the Iowa
| D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
module miners.actors.sunlight;
import charge.charge;
import miners.world;
/**
* Represents the minecraft sun light, also controls the fog.
*/
class SunLight : GameActor
{
public:
GfxSimpleLi... | D |
/// WinGL bindings for D. Generated automatically by gldgen.
/// See https://github.com/rtbo/gldgen
module gfx.bindings.opengl.wgl;
version(Windows):
import core.stdc.config : c_ulong;
import core.sys.windows.windef;
import core.sys.windows.wingdi;
import gfx.bindings.opengl.loader : SymbolLoader;
import gfx.bindings.... | D |
module orelang.operator.ClassOperators;
import orelang.operator.DynamicOperator,
orelang.expression.ClassType,
orelang.operator.IOperator,
orelang.Closure,
orelang.Engine,
orelang.Value;
class ClassOperator : IOperator {
public Value call(Engine engine, Value[] args) {
string c... | D |
/**
* cl4d - object-oriented wrapper for the OpenCL C API
* written in the D programming language
*
* Copyright:
* (c) 2009-2012 Andreas Hollandt
*
* License:
* see LICENSE.txt
*/
module opencl.c.cl_dx9_media_sharing;
import opencl.c.cl;
version(Windows):
extern(System):
import core.sys.windows.windows;
... | D |
/**
* Handles operator overloading.
*
* Specification: $(LINK2 https://dlang.org/spec/operatoroverloading.html, Operator Overloading)
*
* Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
* License: $(LINK... | D |
/// This namespace needs to implemets net messaging by TCP/IP sockets
// Copyright Gushcha Anton, Shamyan Roman 2012.
// 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 util.net.sock... | D |
# FIXED
ICall/icall_cc2650.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/icall_cc2650.c
ICall/icall_cc2650.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/icall_platform.h
ICall/icall_cc2650.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include/stdint.h
ICall/icall_cc... | D |
/Users/pramonowang/Desktop/anyhour/DerivedData/anyhour/Build/Intermediates/anyhour.build/Debug-iphoneos/anyhour.build/Objects-normal/armv7/MyAnnotation.o : /Users/pramonowang/Desktop/anyhour/anyhour/MyAnnotation.swift /Users/pramonowang/Desktop/anyhour/ShowMapViewController.swift /Users/pramonowang/Desktop/anyhour/anyh... | D |
module source.optimizers.nelder_mead;
import std.algorithm;
import std.conv: to;
import std.functional: toDelegate;
import std.math: abs, pow, sqrt, cos;
import std.range: enumerate;
import std.stdio: writeln, write;
import std.typecons: Yes;
import source.Matrix;
import source.NeuralNetwork;
import sourc... | D |
// https://issues.dlang.org/show_bug.cgi?id=6795
/*
TEST_OUTPUT:
---
fail_compilation/fail6795.d(12): Error: cannot modify constant `0`
fail_compilation/fail6795.d(13): Error: cannot modify constant `0`
---
*/
void main() {
enum int[] array = [0];
array[0]++;
array[0] += 3;
}
/*
TEST_OUTPUT:
---
fail_comp... | D |
/Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/x86_64-apple-macosx/debug/SQL.build/SQLTable.swift.o : /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/checkouts/sql/Sources/SQL/SQLBind.swift /Users/panartem/Developer/Study/Microservices-vapor/TILAppAcronyms/.build/che... | D |
module abagames.util.math;
version(WASM)
{
private:
version(X86) {
extern (C) float wasm_cos(float x) { return 0.0f; }
extern (C) float wasm_sin(float x) { return 0.0f; }
extern (C) float wasm_sqrt(float x) { return 0.0f; }
extern (C) float wasm_atan2(float y, float x) { return 0.0f; }
extern (... | D |
/*
*
* This source code is CONFIDENTIAL and
* PROPRIETARY to Blake McBride (blake@mcbride.name). Unauthorized
* distribution, adaptation or use may
* be subject to civil and criminal penalties.
*
* Copyright (c) 1993 Blake McBride (blake@mcbride.name)
*
* ALL RIGHTS RESERVED.
*
*
*
*/
/* This examp... | D |
module forms;
import std.stdio;
import qte5;
import core.runtime;
import std.string;
import std.conv;
import mybase;
import mysql;
import std.variant;
import app;
import std.datetime.date;
import mylib;
extern (C) {
void on_actionButton1(Form1* h){
(*h).button1Click();
}
void on_actionButton3(Form1* h){
(*h).... | D |
instance Info_GRD_276_Exit(C_Info)
{
npc = GRD_276_Brueckenwache;
nr = 999;
condition = Info_GRD_276_Exit_Condition;
information = Info_GRD_276_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_GRD_276_Exit_Condition()
{
return 1;
};
func void Info_GRD_276_Exit_Info()
{
AI_StopProcessInf... | D |
// SDLang-D
// Written in the D programming language.
module dub.internal.sdlang.util;
version (Have_sdlang_d) public import sdlang.util;
else:
import std.algorithm;
import std.datetime;
import std.stdio;
import std.string;
import dub.internal.sdlang.token;
enum sdlangVersion = "0.9.1";
alias immutable(ubyte)[] B... | D |
module bullet2.BulletCollision.BroadphaseCollision.btBroadphaseInterface;
extern (C++):
import bullet2.BulletCollision.BroadphaseCollision.btDispatcher;
import bullet2.BulletCollision.BroadphaseCollision.btBroadphaseProxy;
import bullet2.LinearMath.btScalar;
import bullet2.LinearMath.btVector3;
import bullet2.BulletC... | 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 Softw... | D |
an Asian republic in the Middle East at the east end of the Mediterranean
| D |
import interrupt;
import node;
import enfilade;
import trans;
import cell;
import doc;
import std.string;
import enfs;
void register_driver(Enfs n, uint irq, Enfilade handler, Enfilade deviceOut) {
set_idt(n, handler, irq);
XuDoc doc;
doc.doc.doc="__OUT";
XuDoc doc2;
doc2.doc.doc=toString(irq);
doc2.links[1].bac... | D |
an instance of visual perception
anything that is seen
the ability to see
a range of mental vision
the range of vision
the act of looking or seeing or observing
(often followed by `of') a large number or amount or extent
catch sight of
take aim by looking through the sights of a gun (or other device)
| D |
/Users/mu/Hello/.build/x86_64-apple-macosx/debug/NIO.build/ByteBuffer-aux.swift.o : /Users/mu/Hello/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/mu/Hello/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/mu/Hello/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/mu/Hello/.build/ch... | 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 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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 ... | D |
/*******************************************************************************
copyright: Copyright (c) 2006 Juan Jose Comellas. все rights reserved
license: BSD стиль: $(LICENSE)
author: Juan Jose Comellas <juanjo@comellas.com.ar>
****************************************************************... | D |
module usingallmembers1;
class MyClass
{
int i;
this() { i = 0;}
this(int j) { i = j;}
~this() { }
void foo() { ++i;}
int foo(int j) { return i+j;}
}
void main()
{
// Put in an array for a more human-readable printing
enum myMembers = [__traits(allMembers, MyClass)];
// See "i" ... | D |
// REQUIRED_ARGS: -de
// EXTRA_FILES: imports/protectionimp.d
import imports.protectionimp;
alias TypeTuple(T...) = T;
private
{
void localF() {}
class localC {}
struct localS {}
union localU {}
interface localI {}
enum localE { foo }
mixin template localMT() {}
class localTC(T) {}
... | D |
instance VLK_563_Buddler(Npc_Default)
{
name[0] = NAME_Buddler;
npcType = Npctype_MINE_Ambient;
guild = GIL_VLK;
level = 4;
voice = 3;
id = 563;
attribute[ATR_STRENGTH] = 30;
attribute[ATR_DEXTERITY] = 20;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
attribute[ATR_HITPOINTS_MAX] = 118;
attribute[AT... | D |
module ogre.general.platform;
import core.cpuid;
import std.conv;
import ogre.general.generals;
import ogre.general.log;
/** \addtogroup Core
* @{
*/
/** \addtogroup General
* @{
*/
/** Class which provides the run-time platform information Ogre runs on.
@remarks
Ogre is designed to be platform-... | D |
module android.java.android.graphics.ComposeShader;
public import android.java.android.graphics.ComposeShader_d_interface;
import arsd.jni : ImportExportImpl;
mixin ImportExportImpl!ComposeShader;
import import5 = android.java.java.lang.Class;
| D |
import std.stdio, std.range;
import peparser;
int main(string[] args)
{
if (args.length == 1) {
stderr.writefln("[Usage] %s <PE FILE>", args[0]);
return 1;
}
auto f = File(args[1], "rb");
auto pe = readPE(f);
writeln("===RESOURCES===");
writeln("NAME\t\tVALUE");
foreach(res;pe.resources) {
writeln(res.Na... | D |
/*
Copyright (c) 1996 Blake McBride
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 list of conditions and th... | D |
import core.sync.rwmutex;
import std.stdio;
void main()
{
auto lock = new ReadWriteMutex;
auto val = 10;
// うーん
synchronized (lock.reader)
{
synchronized (lock.reader)
{
writeln("v1 = ", val);
writeln("v2 = ", val);
}
}
{
auto v = lo... | D |
module matrix.olm;
struct OlmAccount;
struct OlmSession;
struct OlmUtility;
import std.file : read;
char[] read_random(size_t rnd_len) {
return cast(char[]) read("/dev/urandom", rnd_len);
}
extern (C):
// copy&pasted from olm.h
/** Get the version number of the library.
* Arguments will be updated if non-null.
... | 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 |
ZUNMTR (F08FUF) Example Program Data
4 :Value of N
'L' :Value of UPLO
(-2.28, 0.00)
( 1.78, 2.03) (-1.12, 0.00)
( 2.26,-0.10) ( 0.01,-0.43) (-0.37, 0.00)
(-0.12,-2.53) (-1.07,-0.86) ( 2.31, 0.92) (-0.73, ... | D |
/*
REQUIRED_ARGS: -preview=dip1000
TEST_OUTPUT:
---
fail_compilation/retscope.d(22): Error: scope parameter `p` may not be returned
fail_compilation/retscope.d(32): Error: returning `b ? nested1(& i) : nested2(& j)` escapes a reference to local variable `j`
fail_compilation/retscope.d(45): Error: scope variable `p` ass... | D |
/**
* Forms the symbols available to all D programs. Includes Object, which is
* the root of the class object hierarchy. This module is implicitly
* imported.
*
* Copyright: Copyright Digital Mars 2000 - 2011.
* License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
* Authors: Walter Bright, Sea... | D |
module UnrealScript.UTGame.UTGameSettingsCommon;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.Engine.GameInfo;
import UnrealScript.UTGame.UTUIDataStore_MenuItems;
import UnrealScript.UDKBase.UDKGameSettingsCommon;
extern(C++) interface UTGameSettingsCommon : UDKGameSettingsCommon
{
... | D |
instance VLK_4002_Buergerin (Npc_Default)
{
// ------ NSC ------
name = NAME_Buergerin;
guild = GIL_VLK;
id = 4002;
voice = 17;
flags = 0;
npctype = NPCTYPE_AMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 3);
// ------ Kampf-Taktik --... | D |
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/App.build/configure.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/configure.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/Sources/App/Models/UserToken.swift /Users/weirujian/Desktop/WeiRuJian/Vap... | D |
// Written in the D programming language.
/**
Functions for starting and interacting with other processes, and for
working with the current _process' execution environment.
Process_handling:
$(UL $(LI
$(LREF spawnProcess) spawns a new _process, optionally assigning it an
arbitrary set of standard input, outpu... | D |
/home/thodges/Workspace/wasm/bindgenhello/target/debug/build/syn-c6a8eef23501aa2e/build_script_build-c6a8eef23501aa2e: /home/thodges/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.15.30/build.rs
/home/thodges/Workspace/wasm/bindgenhello/target/debug/build/syn-c6a8eef23501aa2e/build_script_build-c6a8eef23501aa2e... | D |
// ************************************************************
// EXIT
// ************************************************************
INSTANCE DIA_NASZ_406_Straznik_EXIT(C_INFO)
{
npc = NASZ_406_Straznik;
nr = 999;
condition = DIA_NASZ_406_Straznik_EXIT_Condition;
information = DIA_NASZ_406_Strazni... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Console.build/Output/ConsoleTextFragment.swift.o : /Users/nice/HelloWord/.build/checkouts/console.git-2755603573940926646/Sources/Console/Terminal/ANSI.swift /Users/nice/HelloWord/.build/checkouts/console.git-2755603573940926646/Sources/Console/Deprecated.swif... | D |
/**
BSON serialization and value handling.
Copyright: © 2012 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.data.bson;
public import vibe.data.json;
import vibe.core.log;
import vibe.data.utils;
import std.... | D |
/Users/andrew/Documents/xcodeProjects/nanodegeree/meme/Build/Intermediates/meme.build/Debug-iphoneos/meme.build/Objects-normal/armv7/MemeModel.o : /Users/andrew/Documents/xcodeProjects/nanodegeree/meme/meme/ViewController.swift /Users/andrew/Documents/xcodeProjects/nanodegeree/meme/meme/MemeModel.swift /Users/andrew/Do... | D |
/Users/nice/HelloWord/.build/x86_64-apple-macosx10.10/debug/Fluent.build/Utilities/Exports.swift.o : /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/Fluent/Model/ID.swift /Users/nice/HelloWord/.build/checkouts/fluent.git-6829944210039798771/Sources/Fluent/Schema/SchemaSupporting+CRUD.swift... | D |
// Copyright © 2011, Jakob Bornecrantz. All rights reserved.
// See copyright notice in src/charge/charge.d (GPLv2 only).
module miners.classic.connection;
import std.socket;
import std.string;
import charge.charge;
import charge.util.zip;
import miners.classic.proto;
import miners.importer.network;
alias charge.n... | D |
/**
TEST_OUTPUT:
---
fail_compilation/diag_debug_conditional.d(1): Error: identifier or integer expected inside `debug(...)`, not `alias`
fail_compilation/diag_debug_conditional.d(2): Error: identifier or integer expected inside `version(...)`, not `alias`
fail_compilation/diag_debug_conditional.d(3): Error: declaratio... | D |
/**
Copyright: 2018 Mark Fisher
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, including without limitation the rights to
use, copy, modify, merge, publish, d... | D |
instance Mil_313_Boltan(Npc_Default)
{
name[0] = "Болтан";
guild = GIL_MIL;
id = 313;
voice = 5;
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_Fighter",F... | D |
/Users/lap14205/Documents/home/blockchain_learning/casper/casper-get-started/src/tests/target/debug/deps/remove_dir_all-00c8638883ead5b6.rmeta: /Users/lap14205/.cargo/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.3/src/lib.rs
/Users/lap14205/Documents/home/blockchain_learning/casper/casper-get-started/sr... | D |
#!/usr/bin/rdmd
module mtest;
import metus.dncurses.dncurses;
void main() {
initscr();
scope(exit) endwin();
static if(1) {
Window ansWin = new Window(stdwin, 3, stdwin.max.x, stdwin.max.y-2, 0, Positioning.Relative);
} else {
Window ansWin = stdwin.derwin(3, stdwin.max.x, stdwin.max.y-2, 0);
}
ansWin.bo... | D |
# FIXED
user.obj: C:/TAPAS_Fandriver/TAPAS-DSP/ti/motorware/motorware_1_01_00_18/sw/modules/user/src/32b/user.c
user.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include/math.h
user.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include/linkage.h
user.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16... | D |
in an amicable manner
| D |
/**
* Code for generating .json descriptions of the module when passing the `-X` flag to dmd.
*
* 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, Boo... | D |
//Written in the D programming language
/++
D header file for FreeBSD's extensions to POSIX's netinet/in.h.
Copyright: Copyright 2017 -
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: $(HTTP jmdavisprog.com, Jonathan M Davis)
+/
module core.sys.freebsd.netinet... | D |
/* REQUIRED_ARGS: -preview=dip1000
* TEST_OUTPUT:
---
fail_compilation/fail19881.d(12): Error: address of local variable `local` assigned to return scope `input`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=19881
@safe int* test(return scope int* input) {
int local = 42;
input = &local;
return in... | D |
/Users/amir/Desktop/EasyChat/build/EasyChat.build/Debug-iphonesimulator/EasyChat.build/Objects-normal/x86_64/File.o : /Users/amir/Desktop/EasyChat/EasyChat/C/Auths/LoginVC.swift /Users/amir/Desktop/EasyChat/EasyChat/C/Auths/SignUpVC.swift /Users/amir/Desktop/EasyChat/EasyChat/C/Home/ChatRoomsVC.swift /Users/amir/Deskto... | D |
module engine.modules.physics_2d.shape;
import engine.core.object;
import engine.core.typedefs;
import engine.modules.physics_2d.physics_2d;
import engine.modules.physics_2d.basic;
class CP2DShape : CP2DObject {
mixin( TRegisterClass!CP2DShape );
public:
void move( SVec2F pos ) {
GPhysics2D.shape_mov... | D |
module dopt.nnet.data.imagetransformer;
import dopt.nnet.data;
class ImageTransformer : BatchIterator
{
public
{
this(BatchIterator imageDataset, size_t jitterX, size_t jitterY, bool flipX, bool flipY, size_t[] folds = [0])
{
mDataset = imageDataset;
mJitterX = jitterX;... | 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 |
/**
Representing a full project, with a root Package and several dependencies.
Copyright: © 2012-2013 Matthias Dondorff, 2012-2016 Sönke Ludwig
License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file.
Authors: Matthias Dondorff, Sönke Ludwig
*/
module dub.project;
import dub.... | D |
module game.fpcamera;
import derelict.opengl.gl;
import dlib.core.memory;
import dlib.math.vector;
import dlib.math.matrix;
import dlib.math.affine;
import dlib.math.utils;
import dgl.core.interfaces;
import dgl.graphics.camera;
class FirstPersonCamera: Modifier, Camera
{
Matrix4x4f transformation;
Matrix4... | 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: Copyright (c) 2017-2019 Andrey Penechko.
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Andrey Penechko.
*/
module utils;
public import core.bitop : bsr;
public import core.time : MonoTime, Duration, usecs, dur;
public import std.algorithm : min, max, swap;
public import std.conv... | D |
/**
* Contains methods for working with strings.
*
* Methods that perform comparisons are culturally sensitive.
*
* Copyright: (c) 2009 John Chapman
*
* License: See $(LINK2 ..\..\licence.txt, licence.txt) for use and distribution terms.
*/
module os.win.base.string;
import os.win.base.core,
os... | D |
module UnrealScript.TribesGame.TrVehicleWeapon_BeowulfGunner;
import ScriptClasses;
import UnrealScript.Helpers;
import UnrealScript.TribesGame.TrSkelControl_SpinControl;
import UnrealScript.TribesGame.TrVehicleWeapon_FullAuto;
extern(C++) interface TrVehicleWeapon_BeowulfGunner : TrVehicleWeapon_FullAuto
{
... | D |
a logarithmic unit of sound intensity equal to 10 decibels
Babylonian god of the earth
| D |
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Short: C
Long: continue-at
Arg: <offset>
Help: Resumed transfer offset
See-also: range
Category: connection
Example: -C - $URL
Example: -C 400 $URL
Added: 4.8
Multi: single
---
Continue/Resume a previous file transfer ... | D |
module tower_controller;
import math;
import collections;
import types;
import std.conv;
import enemy_collection;
import std.algorithm : countUntil, min, max;
import graphics;
import game;
import content;
import spriter.types;
import spriter.renderer;
enum maxPressure = 1000;
enum AnimationState : string
{
idle = "id... | D |
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab5/os/target/debug/deps/thread_local-05f3d0984ed3e172.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/thread_local-1.0.1/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/thread_local-1.0.1/src/thread_id.... | D |
the 100th anniversary (or the celebration of it)
of or relating to or completing a period of 100 years
| D |
/Users/congle/Desktop/DEVELOPMENTS/Social-Login/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OAuthSwift.build/Objects-normal/x86_64/NotificationCenter+OAuthSwift.o : /Users/congle/Desktop/DEVELOPMENTS/Social-Login/Pods/OAuthSwift/Sources/SHA1.swift /Users/congle/Desktop/DEVELOPMENTS/Social-Login/Pods/OA... | D |
argue or speak in defense of
be on the defensive
protect against a challenge or attack
fight against or resist strongly
protect or fight for as a champion
be the defense counsel for someone in a trial
state or assert
attempting to or designed to prevent an opponent from winning or scoring
| D |
/**
TEST_OUTPUT:
---
---
*/
// Test C++ name mangling.
// https://issues.dlang.org/show_bug.cgi?id=4059
// https://issues.dlang.org/show_bug.cgi?id=5148
// https://issues.dlang.org/show_bug.cgi?id=7024
// https://issues.dlang.org/show_bug.cgi?id=10058
import core.stdc.stdio;
extern (C++) int foob(int i, int j, int k)... | D |
void main() { runSolver(); }
void problem() {
auto S = cast(char[])scan;
auto A = scan!long;
auto B = scan!long;
auto solve() {
swap(S[A - 1], S[B - 1]);
return S.to!string;
}
outputForAtCoder(&solve);
}
// ----------------------------------------------
import std.stdio, std.conv, std.array, st... | D |
/**
Types for project descriptions (dub describe).
Copyright: © 2015-2016 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 dub.description;
import dub.compilers.buildsettings;
import dub.dependency;
import dub.inte... | D |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** License... | 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 |
/*******************************************************************************
* Copyright (c) 2007, 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, a... | D |
instance Mod_1738_KDF_Velario_PAT (Npc_Default)
{
// ------ NSC ------
name = "Velario";
guild = GIL_vlk;
id = 1738;
voice = 0;
flags = 0;
npctype = NPCTYPE_main;
// ------ Attribute ------
B_SetAttributesToChapter (self, 3);
aivar[AIV_MagicUser] = MAGIC_ALWAYS; ... | D |
/Users/marvinevins/Library/Autosave\ Information/FoodLayoutTest/DerivedData/FoodLayoutTest/Build/Intermediates.noindex/FoodLayoutTest.build/Debug-iphonesimulator/FoodLayoutTest.build/Objects-normal/x86_64/SceneDelegate.o : /Users/marvinevins/Library/Autosave\ Information/FoodLayoutTest/FoodLayoutTest/SceneDelegate.swif... | D |
module mahjong.domain.exceptions.illegalclaim;
import std.string;
import mahjong.domain.exceptions;
import mahjong.domain.tile;
class IllegalClaimException : MahjongException
{
this(const Tile tile, string msg)
{
super("Tried to claim %s but failed with reason %s".format(tile, msg));
}
}
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.