text
stringlengths
4
6.14k
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <dlfcn.h> enum {EXIT, GENERATE_PRIME, TEST_PRIME}; enum { NOT_PRIME, PRIME }; void menu(); void call_functions(int option); void test_prime_call(); int main() { int option = 0; void* handle = dlopen("libprimo.so", RTLD_LAZY); int (*generate_prime...
/* * gpio-watch, a tool for running scripts in response to gpio events * Copyright (C) 2014 Lars Kellogg-Stedman <lars@oddbit.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ...
#include "soc_common.h" #include <errno.h> #include <fcntl.h> #include <stdarg.h> #include <sys/ioctl.h> int ioctl(int sockfd, int request, ...) { int ret; int flags; int *value; va_list ap; sockfd = soc_get_fd(sockfd); if(sockfd < 0) { errno = -sockfd; return -1; } switch(request) { case FIONBIO: va_...
/* * File: Physical.h * Author: jsmtux * * Created on December 18, 2012, 2:16 PM */ #ifndef PHYSICAL_H #define PHYSICAL_H #include "../../ProjectManagement/MXML.h" #include "Math/Vector3.h" #include "Resources/Resource.h" #include <map> class Timer; enum tShape{S_BOX,S_SPHERE,S_CAPSULE,S_UNIMPLEMENTED}; cl...
#include <ATen/ATen.h> #include <ATen/native/DispatchStub.h> #include <ATen/native/TensorIterator.h> namespace at { namespace native { using qrelu_fn = void (*)(const at::Tensor& /*qx*/, at::Tensor& /*qy*/); using qadd_fn = void (*)(Tensor& /*out*/, const Tensor& /*self*/, const Tensor& /*other*/); using qmaxpool...
/* * Copyright (C) 2006-2015 Christopho, Solarus - http://www.solarus-games.org * * Solarus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any late...
// // ipaddress.h // // Circle - A C++ bare metal environment for Raspberry Pi // Copyright (C) 2015 R. Stange <rsta2@o2online.de> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either ...
#ifndef __DIV64_H__ #define __DIV64_H__ #include <xboot.h> #include <types.h> u64_t div64(u64_t num, u64_t den); u64_t mod64(u64_t num, u64_t den); u64_t div64_64(u64_t * num, u64_t den); #endif /* __DIV64_H__ */
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid comm...
/* * ScatterGDX.h - scatter effect * * Copyright (c) 2017-2020 gi0e5b06 (on github.com) * * This file is part of LSMM - * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version ...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
/* * Copyright (C) 2009 Christopho, Solarus - http://www.solarus-engine.org * * Solarus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
/* Copyright 1991, 1994, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in ...
/* * This file is part of SpellChecker plugin for Code::Blocks Studio * Copyright (C) 2009 Daniel Anselmi * * SpellChecker plugin is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the L...
#pragma once #include "guid.h" #include "rpc_requester.h" #include "ring_change_notifier.h" #include "ring_oracle.h" #include <mordor/fibersynchronization.h> #include <mordor/iomanager.h> #include <mordor/socket.h> #include <boost/noncopyable.hpp> #include <map> #include <set> #include <vector> namespace lightning { ...
/* A Bison parser, made by GNU Bison 2.7. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published ...
/** * Copyright (C) 2002-2013 by * Jeffrey Fulmer - <jeff@joedog.org>, et al. * This file is distributed as part of Siege * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version ...
/* * This file is part of the libsigrok project. * * Copyright (C) 2013 Uwe Hermann <uwe@hermann-uwe.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License,...
/* * Platformer Game Engine by Wohlstand, a free platform for game making * Copyright (c) 2014-2019 Vitaly Novichkov <admin@wohlnet.ru> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, ei...
#include "../../openexr-2.5.7/OpenEXR/IlmImf/ImfFastHuf.h"
/* * This program is free software; you can redistribute it and/or modify * it under the terms of version 3 or later of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the im...
/***************************************************************************** * Copyright 2015-2020 Alexander Barthel alex@littlenavmap.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, eit...
#ifndef PRETTYITEMDELEGATE_H #define PRETTYITEMDELEGATE_H #include <QModelIndex> #include <QStyledItemDelegate> class QPainter; class QProgressBar; class PrettyItemDelegate : public QStyledItemDelegate { Q_OBJECT public: PrettyItemDelegate(QObject* parent, bool downloadInfo = false); ~PrettyItemDelegat...
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
/* file name: ch0501_ptr01.c author: Jung,JaeJoon(rgbi3307@nate.com, http://www.kernel.bz/) comments: Æ÷ÀÎÅÍ ±âÃÊ */ #include <stdio.h> main () { int x = 1, y = 2; int z[7] = {1, 2, 3, 4, 5, 6, 7}; int *ip; //ip´Â int¿¡ ´ëÇÑ Æ÷ÀÎÅÍÀÌ´Ù(ip is a pointer to int) int i; //º¯¼ö x¿Í yÀÇ ÁÖ¼Ò Ãâ·Â p...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__50E4147E_A508_4D85_BF0A_BA26676063F0__INCLUDED_) #define AFX_STDAFX_H__50E4147E_A508_4D85_BF0A_BA26676063F0__INCLUDED_ #if _M...
/* * Copyright (C) 2016 Javad Doliskani, javad.doliskani@uwaterloo.ca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_METRICS_STATS_COUNTERS_H_ #define BASE_METRICS_STATS_COUNTERS_H_ #pragma once #include <string> #include "base/base_export.h" #include ...
/* * freeacq is the legal property of Víctor Enríquez Miguel. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. ...
#pragma once #define MAX_BYTES 4096 #include <iostream> #include <fstream> #include <string> class Buffer { public: Buffer(std::string inputFile, std::streamoff startPosition, size_t bufferSize); ~Buffer(); char* get(const uint64_t position, const size_t size); private: void l...
/* libltc - en+decode linear timecode Copyright (C) 2006-2012 Robin Gareus <robin@gareus.org> This program 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...
#ifndef AUTHAUTHORIZATION_H #define AUTHAUTHORIZATION_H // Generated by APIGenerator 1.0 // DO NOT EDIT!!! #include "../../types/basic.h" #include "../../types/telegramobject.h" #include "user.h" class AuthAuthorization: public TelegramObject { Q_OBJECT Q_PROPERTY(TLInt flags READ flags WRITE setFlags NOTIFY flag...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - Hans-Kristian Arntzen * * RetroArch is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Found- * ation, either version 3 of the License, or (at your...
// This file is part of MatrixPilot. // // http://code.google.com/p/gentlenav/ // // Copyright 2009-2011 MatrixPilot Team // See the AUTHORS.TXT file for a list of authors of MatrixPilot. // // MatrixPilot is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License...
../../../linux-headers-3.0.0-12/include/linux/thread_info.h
#include <QtCore> #include <QtGui> #include <QtNetwork> #include <algorithm> #include <exception> #include <functional> #include <numeric> #ifdef INTERFACE_WIDGET #include <QtWidgets> #endif #ifdef INTERFACE_QUICK2 #include <QtQml> #include <QtQuick> #endif
/**************************************************************************** * Tano - An Open IP TV Player * Copyright (C) 2013 Tadej Novak <tadej@tano.si> * Based on ListModel by Christophe Dumez <dchris@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GN...
/* * Copyright (C) 2015 Stuart Howarth <showarth@marxoft.co.uk> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will...
#ifndef LunaRenderer_Vulkan_h__ #define LunaRenderer_Vulkan_h__ #ifdef WIN32 #include "../LunaRenderer.h" #include <vulkan/vulkan.h> namespace Luna { class LunaRenderer_Vulkan : public LunaRenderer { }; } // LunaRenderer #endif // WIN32 #endif // LunaRenderer_Vulkan_h__
/* Copyright (C) 2010-2011, Bruce Ediger This file is part of acl. acl is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version....
#ifndef MANTIDQTMANTIDWIDGETS_DATAPROCESSOROPTIONSTABLECOMMAND_H #define MANTIDQTMANTIDWIDGETS_DATAPROCESSOROPTIONSTABLECOMMAND_H #include "MantidQtWidgets/Common/DataProcessorUI/CommandBase.h" namespace MantidQt { namespace MantidWidgets { namespace DataProcessor { /** @class OptionsCommand OptionsCommand defines t...
#define F_CPU 8000000UL #include <avr/io.h> #include <avr/interrupt.h> #include <inttypes.h> #include <util/delay.h> #include <stdlib.h> // 1WIRE CONFIG #define DQ 2 // pin DQ termometru DS1822-PAR #define THERM_DDRx DDRD #define THERM_PINx PIND #define STRONG_PULL_UP_DDR DDRC #define STRONG_PULL_UP_PORT PORTC #defin...
/* * This file is part of Cleanflight. * * Cleanflight is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Cleanflight is distr...
// tex.h -- texture base class // // Copyright (C) 2008, 2010, 2011, 2013 Miles Bader <miles@gnu.org> // // This source code is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as // published by the Free Software Foundation; either version 3, or (at // your...
// // UMLayerSCCPApplicationContextProtocol.h // ulibsccp // // Created by Andreas Fink on 24.01.17. // Copyright © 2017 Andreas Fink (andreas@fink.org). All rights reserved. // #import <Foundation/Foundation.h> #import "UMSCCP_FilterProtocol.h" @class UMLayerMTP3; @protocol UMLayerSCCPApplicationContextProtocol<...
// ****************************************************************************** // Filename: Texture.h // Project: Vogue // Author: Steven Ball // // Purpose: // An OpenGL texture object. // // Revision History: // Initial Revision - 08/06/06 // // Copyright (c) 2005-2016, Steven Ball // *******************...
/*************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Qt Software Information (qt-info@nokia.com) ** ** ** Non-Open Source Usage ** ** Licensees may use this file in accor...
#pragma once #include "sqltablemodel.h" #include <QTimer> #include <QWidget> namespace Ui { class WidgetFinanceiroCompra; } class WidgetFinanceiroCompra final : public QWidget { Q_OBJECT public: explicit WidgetFinanceiroCompra(QWidget *parent); ~WidgetFinanceiroCompra(); auto resetTables() -> void; auto...
/* * This file is part of JustDoIt. * * Copyright 2011 Harald Held <harald.held@gmail.com> * * JustDoIt is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
#ifndef DISPLAYGLWIDGET_H #define DISPLAYGLWIDGET_H #include <QGLWidget> #include <QtOpenGL> #include <GL/glu.h> class DisplayGLWidget : public QGLWidget { Q_OBJECT public: explicit DisplayGLWidget(QWidget *parent = 0); void setPitchAngle(float angle); void setRollAngle(float angle); void setYawAngle(float ang...
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * Copyright (C) 2010 Debarshi Ray <rishi@gnu.org> * Copyright (C) 2009 Santanu Sinha <santanu.sinha@gmail.com> * * Solang is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as ...
/* $XFree86: xc/programs/Xserver/afb/afbhrzvert.c,v 3.1 2001/08/01 00:44:47 tsi Exp $ */ /* Combined Purdue/PurduePlus patches, level 2.0, 1/17/89 */ /*********************************************************** Copyright (c) 1987 X Consortium Permission is hereby granted, free of charge, to any person obtaining a co...
/* SPDX-FileCopyrightText: 2008-2021 Graeme Gott <graeme@gottcode.org> SPDX-License-Identifier: GPL-3.0-or-later */ #ifndef KAPOW_SESSION_MODEL_H #define KAPOW_SESSION_MODEL_H #include "session.h" #include <QAbstractItemModel> #include <QXmlStreamWriter> class SessionModel : public QAbstractItemModel { Q_OBJECT...
/* * Generated by class-dump 3.1.2. * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard. */ #import "_ABCreateStringWithAddressDictionary.h" #import "NSURLConnectionDataDelegate-Protocol.h" #import "SDWebImageOperation-Protocol.h" @class NSMutableData, NSThread, NSURLConnectio...
/*************************************************************************** * Copyright (C) 2011 by Etrnls * * Etrnls@gmail.com * * * * This fi...
/* BoundingVolume.h Author: Chris Serson Last Edited: October 14, 2016 Description: Classes and methods defining bounding volumes. Currently only BoundingSphere. Usage: - Proper shutdown is handled by the destructor. Future Work: - Add collision detection to Bounding Sphere. - Add Axis Aligned Bounding Box....
/* This file is part of the Neper software package. */ /* Copyright (C) 2003-2022, Romain Quey. */ /* See the COPYING file in the top-level directory. */ #ifdef __cplusplus extern "C" { #endif extern void net_mtess_flatten_gen (struct TESS *Tess, int TessId, struct TESS *pFTess,...
#include "ship.h" #include <stdio.h> cargo **docks, **shipStr; pthread_mutex_t *countLock, *entryLock, nthLock; pthread_cond_t *dockLock, *loadLock, *unloadLock, shipDestroy; int *waitLoad, *waitUnload, *loading, *unloading; int *dockCap, **route, *tTime, *shipCap, *aTime, *rLen; void* shipMain(void*); int nth=0; stru...
#pragma once /*************************************************************** * This source files comes from the xLights project * https://www.xlights.org * https://github.com/smeighan/xLights * See the github commit history for a record of contributing * developers. * Copyright claimed based on commit dates rec...
/* This file is part of ghtml. ghtml is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ghtml is distributed in the hope ...
/* This file is part of Helio Workstation. Helio is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Helio is distribut...
#import <objc/objc.h> #import "UIKit/UIKit.h" // typedef NS_ENUM(NSInteger, ToastViewType) { ToastViewDefault, ToastViewInfo = ToastViewDefault, ToastViewError, ToastViewCancel = ToastViewError, ToastViewSuccess, ToastViewLoading, }; // @interface ToastView : UIView { } - (id)initWithTitle:(NSString *)title typ...
/* -*- c++ -*- */ /* * Copyright 2011-2013,2015 Free Software Foundation, Inc. * * This file is part of GNU Radio * * SPDX-License-Identifier: GPL-3.0-or-later * */ #ifndef INCLUDED_QTGUI_TIME_SINK_C_IMPL_H #define INCLUDED_QTGUI_TIME_SINK_C_IMPL_H #include <gnuradio/qtgui/time_sink_c.h> #include <gnuradio/hi...
// // ScrollPlotView.h // iCash // // Created by Vitaly Merenkov on 02.03.13. // #import <Cocoa/Cocoa.h> @class PlotView; @interface ScrollPlotView : NSScrollView @property IBOutlet PlotView *plotView; @end
#include "event_threads.h" #include "psx.h" #include <lv2/process.h> #include <sys/file.h> #include <ppu-lv2.h> #include <sys/stat.h> #include <lv2/sysfs.h> #include <sysutil/disc.h> #include <sys/thread.h> #include <sys/event_queue.h> static sys_ppu_thread_t thread_id; static sys_event_queue_t evQ_sd; static sys_...
/* * FinTP - Financial Transactions Processing Application * Copyright (C) 2013 Business Information Systems (Allevo) S.R.L. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
#ifndef IF_ELSE_IF_TRUE_H #define IF_ELSE_IF_TRUE_H #include "ibp/foundation/boolean.h" #include "ibp/foundation/integer.h" ibp::Integer foo( ibp::Integer x, ibp::Boolean y ); #endif
#ifndef _C14_re670_ #define _C14_re670_ #ifdef __cplusplus extern "C" { #endif extern EIF_INTEGER_32 F298_1998(EIF_REFERENCE); extern void EIF_Minit670(void); extern char *(*R1751[])(); #ifdef __cplusplus } #endif #endif
#ifndef VARIABLETERM_H #define VARIABLETERM_H #include"basicterm.h" #include"valuebase.h" #include"value.h" #include<string> #include<QString> #include<map> using Xeml::Document::BasicTerm; namespace Xeml { namespace Document{ class VariableTerm : public BasicTerm { private: std::map<ValueBase*,QString> ...
/********************************************************************************/ /* 888888 888888888 88 888 88888 888 888 88888888 */ /* 8 8 8 8 8 8 8 8 8 8 */ /* 8 8 8 8 8 8 8 8 8 ...
/** * \file IMP/isd/HybridMonteCarlo.h * \brief A hybrid monte carlo implementation * * Copyright 2007-2017 IMP Inventors. All rights reserved. * */ #ifndef IMPISD_HYBRID_MONTE_CARLO_H #define IMPISD_HYBRID_MONTE_CARLO_H #include <IMP/isd/isd_config.h> #include <IMP/core/MonteCarlo.h> #include <IMP/isd/Molec...
/** \file * \brief useable example of the Modular Multilevel Mixer * * \author Gereon Bartel * * \par License: * This file is part of the Open Graph Drawing Framework (OGDF). * * \par * Copyright (C)<br> * See README.md in the OGDF root directory for details. * * \par * This program is free software; you c...
#pragma once #include <malloc.h> #include <memory> namespace walberla { namespace simd { /** * STL-compliant allocator that allocates aligned memory. * \tparam T Type of the element to allocate. * \tparam Alignment Alignment of the allocation, e.g. 16. */ template <class T, size_t Alignment> struct aligned_allo...
/* * Darmix-Core Copyright (C) 2013 Deremix * Integrated Files: CREDITS.md and LICENSE.md */ #ifdef WIN32 #ifndef _WIN32_SERVICE_ #define _WIN32_SERVICE_ bool WinServiceInstall(); bool WinServiceUninstall(); bool WinServiceRun(); #endif // _WIN32_SERVICE_ #end...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: ../pdfreporter-extensions/src/org/oss/pdfreporter/uses/org/oss/jshuntingyard/evaluator/interpreter/Evaluator.java // #include "J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_OrgOssPdfreporterUsesOrgOssJshuntingyardEvaluatorInterpreterEvaluator") #...
/* * Copyright (C) 2003-2022 Sébastien Helleu <flashcode@flashtux.org> * * This file is part of WeeChat, the extensible chat client. * * WeeChat is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either ve...
/* * @author: jelathro * @date: 10/24/13 * * Singly linked list (as compared * to a doubly linked or indexed * list) that contains generic items * called ListItem_t. */ #ifndef __LIST_H__ #define __LIST_H__ #include "ListItem.h" typedef struct List_t{ ListItem_t * head; } List_t; /* * Given list, Crea...
#ifndef _PMINIT_H #define _PMINIT_H void pminit(); #endif
// _4.h // This file is part of the _4 program. // Copyright 2014 David Raymond McCortney II // // The _4 program is free software: you can redistribute it and/or // modify it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at yo...
//************** // Golden Gears Robotics // 2/7/15 // Hardware H //************** // Tyler Robbins - 2-7-15 - Added Hardware class definition. // Tyler Robbins - 2-8-15 - Added PIDrift object. #ifndef _HARDWARE_H_ #define _HARDWARE_H_ #include "WPILib.h" #include "ADXRS453Z.h" #include "PIDrift.h" ...
#ifndef LIBXMP_MIXER_H #define LIBXMP_MIXER_H #define C4_PERIOD 428.0 #define SMIX_NUMVOC 128 /* default number of softmixer voices */ #define SMIX_SHIFT 16 #define SMIX_MASK 0xffff #define FILTER_SHIFT 16 #define ANTICLICK_SHIFT 3 #ifdef LIBXMP_PAULA_SIMULATOR #include "paula.h" #endif #define SMIX_MIXER(f) void ...
/******************************************************************* Part of the Fritzing project - http://fritzing.org Copyright (c) 2007-2014 Fachhochschule Potsdam - http://fh-potsdam.de Fritzing is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
/* * Cantata * * Copyright (c) 2011-2014 Craig Drummond <craig.p.drummond@gmail.com> * */ /* * Copyright (c) 2008 Sander Knopper (sander AT knopper DOT tk) and * Roeland Douma (roeland AT rullzer DOT com) * * This file is part of QtMPC. * * QtMPC is free software: you can redistribute it a...
/*************************************************************************** * The FreeMedForms project is a set of free, open source medical * * applications. * * (C) 2008-2016 by Eric MAEKER, MD (France) <eric.maeker@gmail.com> * * All righ...
#ifndef BOSSBURSTTANK_H_ #define BOSSBURSTTANK_H_ #include "BurstTank.h" class BossBurstTank : public EnemyTank { public: BossBurstTank (Path* p = NULL) : EnemyTank(BOSS_BCIRCLE_R, new TankAI(new AimPolicy(), p?(MovementPolicy*)new PathPolicy():(MovementPolicy*)new SmartPolicy())) { setLives(3); ...
/********************************************************************* CombLayer : MCNP(X) Input builder * File: commonBeamInc/GratingUnit.h * * Copyright (c) 2004-2018 by Stuart Ansell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
/* * This file is part of Audio switch daemon. * Audio switch daemon is free software: you can redistribute it * and/or modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * Audio s...
#ifndef PARTICLEHANDLE_H #define PARTICLEHANDLE_H 1 /** * @class ParticleHandle * @brief handles a decay structure to MyKin ploters * * @author Paul Seyfert * @date 2012-01-21 */ #include <map> #include <string> class MyKin; class ZooP; class ZooEv; class TDirectory; class ParticleHandle { private: MyKin...
/* $Id$ */ /* Copyright (c) 2013-2021 Pierre Pronchery <khorben@defora.org> */ /* 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 ...
/* * This file is part of KNLMeansCL, * Copyright(C) 2015-2020 Edoardo Brunetti. * * KNLMeansCL is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
#ifndef __DV_TEST_CONF_H__ #define __DV_TEST_CONF_H__ #include <netinet/in.h> #include "dv_server_conf.h" #define DV_CONF_BACKEND_ADDR_MAX_NUM 128 typedef struct _dv_backend_addr_t { char ba_addr[DV_IP_ADDRESS_LEN]; dv_u16 ba_port; } dv_backend_addr_t; typedef struct _dv_test_conf_t { dv_bac...
#ifndef COMMON_H #define COMMON_H // ********** Globale Einstellungen zum Layout und zur Version ************** #define IICTEST #define USE_LED_BUILTIN String mVersionNr = "V01-00-03."; // ********** Ende der Einstellungen **************************************** #include <TimeLib.h> //<Time.h> http://www...
// // Created by artyom on 14.02.16. // #ifndef LAB1_SIMPLE_COUNT_H #define LAB1_SIMPLE_COUNT_H #include <stdio.h> #include <string.h> #include <stdlib.h> #include <omp.h> #include <thread> #include "utils.h" #ifdef WITH_OPENMP const int defaultThreadCount = omp_get_num_procs(); #else const int defaultThreadCount = ...
//Mepinta //Copyright (c) 2011-2012, Joaquin G. Duo, mepinta@joaquinduo.com.ar // //This file is part of Mepinta. // //Mepinta is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by //the Free Software Foundation, either version 3 of the License, o...
/* * Copyright 2010-2013 OpenXcom Developers. * * This file is part of OpenXcom. * * OpenXcom is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any ...
/******************************************************************************* OpenAirInterface Copyright(c) 1999 - 2014 Eurecom OpenAirInterface is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundati...
/* * pi.c * * Compute pi to an arbitrary number of digits. Uses Machin's formula, * like everyone else on the planet: * * pi = 16 * arctan(1/5) - 4 * arctan(1/239) * * This is pretty effective for up to a few thousand digits, but it * gets pretty slow after that. * * This Source Code Form is subject to t...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
/* * File: main.c * Author: Mike Peters * * Created on November 5, 2014, 12:11 PM */ #include <stdio.h> #include <stdlib.h> #include <p24Hxxxx.h> //#include <libpic30.h> #include "inc/comms.h" #include "inc/globals.h" #include "inc/chip_setup.h" /* * Words of Power */ _FBS(BWRP_WRPROTECT_OFF & BSS_NO_BOOT...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* Authors: Michael Berg <michael.berg@zalf.de> //taken from https://gcc.gnu.org/wiki/Visibility Maintainers: Cur...