text
stringlengths
4
6.14k
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Name of package */ #define PACKAGE "luit" /* Define to the address where bug reports for this package should be sent. ...
/* * Copyright (c) 2020 Peter Buelow <email> * * 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, me...
/* Formatted output to strings. Copyright (C) 1999, 2002, 2006-2007, 2009-2014 Free Software Foundation, Inc. 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...
/* * rele, * * * Copyright (C) 2016 Davide Tateo * Versione 1.0 * * This file is part of rele. * * rele 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 you...
// For license of this file, see <project-root-folder>/LICENSE.md. #ifndef MESSAGETEXTBROWSER_H #define MESSAGETEXTBROWSER_H #include <QTextBrowser> #include "core/message.h" class MessageTextBrowser : public QTextBrowser { Q_OBJECT public: explicit MessageTextBrowser(QWidget* parent = nullptr); virtua...
#include "opt.h" double* ls_opt(const int n,const double* x0,const OBJ_FUNC f,const GRAD_FUNC g,const HESS_FUNC h, const INIT_HESS_FUNC init_hess,void* data) { //check inputs if(!(x0&&f&&g&&h))return NULL; //initialize variables int n_iters=0,ok,i; double f1,f2,g0,alpha,norm_p,*x1=malloc(n*sizeof(double)),*x2=m...
/* opensslv.h compatibility */ #ifndef CYASSL_OPENSSLV_H_ #define CYASSL_OPENSSLV_H_ /* api version compatibility */ #define OPENSSL_VERSION_NUMBER 0x0090700f #endif /* header */
#ifndef _RADIO_H #define _RADIO_h #include "RF24.h" extern RF24 radio; void DefineNetwork(uint32_t addr, uint8_t chan, rf24_datarate_e rate); void RadioSetup(rf24_datarate_e rate, uint8_t channel, uint32_t addr ); void RadioSetupJoin(); void RadioSetupNormal(); void SendRadioMessage(uint8_t msg[16], uint8_t key[16],...
/************************************************************************************************************************ ** ** Copyright 2015-2021 Daniel Nikpayuk, Inuit Nunangat, The Inuit Nation ** ** This file is part of nik. ** ** nik is free software: you can redistribute it and/or modify it under the terms of th...
#ifndef VCARDPLUGIN_H #define VCARDPLUGIN_H #include <QDir> #include <QTimer> #include <QObjectCleanupHandler> #include <interfaces/ipluginmanager.h> #include <interfaces/ivcard.h> #include <interfaces/iroster.h> #include <interfaces/ixmppstreams.h> #include <interfaces/irostersview.h> #include <interfaces/...
#define END_OF_PROGRAM 0 #define START_OF_PROGRAM 1 #define DELAY_IN_CLOCKS 2 #define DELAY_IN_MS 3 #define CHANGE_PIN 4 #define WAIT_FOR_PIN 5 #define SET_PULSE_PINS 6 #define PULSE 7 #define READ_DATA 8 #define GO 9 #define SET_FREQ 10 #define LOOP 11 #define END_LOOP 12 #define SYNC 13 #define QUERY 14 #define TOGGL...
/* * Copyright (c) 2013 Mellanox Technologies, Inc. * All rights reserved. * Copyright (c) 2013 Cisco Systems, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "oshmem_config.h" #include "oshmem/shmem/fortran/bindings.h" #inclu...
#include <assert.h> #include "json_printer.h" void print_packet_as_json(int pkt_idx) { struct packet *p = &packet_list[pkt_idx]; char * str_buf = (char*)malloc(1024); printf("{\n\t\"name\": \"%s\"", p->name); for (int idx = 0; idx < p->option_list_sz; idx++) { struct poption *o = &p->opt...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> extern int errno; #define BUF_SIZE 20480 #define BUFFER_SIZE 819200 #define ID_SIZE 50 #define IN_LOGR_SHELL ". ~/.bash_profile;onstat -l | sed -n '/Physical Logging/{ n; n; p; n; n; p; }' | awk '{ printf \"%s \", $0}'" char json_obj[BU...
#include "xmlscan.h" #include "thurman-test.h" #include <glib-object.h> #include <string.h> gchar* xml = "<silly>" "<ignore>this</ignore>" "<test>" "<red>gules</red>" "<blue>azure</blue>" "<green>vert</green>" "<!-- this will also be ignored -->" "as will this" "</test>" "</silly>"; gchar *broken_xml = "<s...
/* PANDAseq -- Assemble paired FASTQ Illumina reads and strip the region between amplification primers. Copyright (C) 2013 Andre Masella 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 Foundati...
#pragma once #ifndef SCENE_H #define SCENE_H #include "GuiList.h" #include "Cursor.h" #include "ViewPort.h" #include "World.h" class Scene { public: Scene(); virtual ~Scene(); bool IsLoaded() const { return m_isLoaded; } bool IsShowGui() const { return m_isShowGui; } Cursor & GetCursor() { return m_cursor; ...
/* * CustomizeCharacter.h * * Created on: Apr 20, 2017 * Author: Carl */ #ifndef CUSTOMIZECHARACTER_H_ #define CUSTOMIZECHARACTER_H_ #include "Bar.h" #include "Helper.h" #include "LTexture.h" #include <fstream> #include <limits> #include <sstream> class CustomizeCharacter : public Bar, public Helper { pu...
// // NSWindow+NJAdditions.h // NeoNotesMacOS // #import <Foundation/Foundation.h> @interface NSWindow(NJAdditions) - (BOOL)isFullscreen; - (BOOL)drawAsActive; @end
/* * Copyright (C) 2006-2007 Emmanuel Bouthenot <kolter@openics.org> * Copyright (C) 2006-2016 Sébastien Helleu <flashcode@flashtux.org> * * This file is part of DogeChat, the extensible chat client. * * DogeChat is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
/***************************************************************************** * * Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC * Produced at the Lawrence Livermore National Laboratory * LLNL-CODE-442911 * All rights reserved. * * This file is part of VisIt. For details, see https://visit.llnl...
// Copyright 2019-2020 CERN and copyright holders of ALICE O2. // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. // All rights not expressly granted are reserved. // // This software is distributed under the terms of the GNU General Public // License v3 (GPL Version 3), copied verbatim...
/* -------------------------------------------------------------------------- Azure Cube - Copyright (C) 2014 Long Island Ice Tea Inc. This file is part of Azure Cube. Azure Cube is free; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QPaintEvent> namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: void resizeEvent(QResizeEvent *e); explicit MainWindow(QWidget *parent = 0); ~MainWindow(); private: Ui::MainWind...
/* FrSkyGPS 10Hz firmware Copyright (C) 2016 David S. Beach mailto:david.s.beach@gmail.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 version 3 of the Lice...
/* * Copyright 2011 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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 option) * any later ver...
/* * SimpleCsv.h * * Copyright (C) 2015 Holger Grosenick * * 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. * *...
#ifndef __UAPI_CORESIGHT_STM_H_ #define __UAPI_CORESIGHT_STM_H_ #define STM_FLAG_TIMESTAMPED BIT(3) #define STM_FLAG_GUARANTEED BIT(7) /* * The CoreSight STM supports guaranteed and invariant timing * transactions. Guaranteed transactions are guaranteed to be * traced, this might involve stalling the bus or ...
#include <pp_bandwidth.h> enum PP_ANALYZER_ACTION pp_bandwidth_inspect(uint32_t idx, struct pp_packet_context *pkt_ctx, struct pp_flow *flow_ctx) { struct __pp_bandwidth_data *data = pp_analyzer_storage_get_next_location(idx, pkt_ctx, flow_ctx); if (likely(data)) { data->bytes = pkt_ctx->length; } return PP_A...
// // UMGSMMAP_SendIdentificationRes.h // ulibgsmmap // // Copyright © 2017 Andreas Fink (andreas@fink.org). All rights reserved. // // This source is dual licensed either under the GNU GENERAL PUBLIC LICENSE // Version 3 from 29 June 2007 and other commercial licenses available by // the author. // #import <ulibasn...
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_1_r1_1; atomic_int atom_1_r7_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memo...
/* * UCW Library -- Large File Support * * (c) 1999--2002 Martin Mares <mj@ucw.cz> * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. */ #ifndef _UCW_LFS_H #define _UCW_LFS_H #include <fcntl.h> #include <unistd.h> #ifdef CONFIG_LFS #define ...
//! ofxGuiGrid.h /*! * * * Created by Yishi Guo on 06/05/2011. * Copyright 2011 NUI Group. All rights reserved. * */ // ---------------------------------------------- #ifndef OFX_GUI_GRID #define OFX_GUI_GRID // ---------------------------------------------- #define GRID_WIDTH_SCALE 4 #define GRID_HEIGHT_SCALE ...
#include <math.h> #ifdef _OPENMP #include <omp.h> #endif #include <stdlib.h> // for NULL #include <R.h> #include <Rinternals.h> #include <R_ext/Rdynload.h> /* FIXME: Check these declarations against the C/Fortran source code. */ /* .Call calls */ extern SEXP pmm_impute_dbl(SEXP, SEXP); static const R_CallMetho...
/* * File: GLBaseApp.h * Author: damiles * * Created on 23 de enero de 2012, 21:40 */ #ifndef GLBASEAPP_H #define GLBASEAPP_H #include <Core/DisplayObject.h> #include <Events/MouseEvent.h> #ifdef __APPLE__ #include <OpenGL/gl.h> #include <OpenGL/glu.h> #else #include <GL/gl.h> #include <GL/glu.h> #endif na...
/* {{{ This file is part of DPGSolver. DPGSolver 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 any later version. DPGSolver is distributed in the hope that it will be useful...
/* ** ClanLib SDK ** Copyright (c) 1997-2005 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
// // IGEGroup.h // iGenda // // Created by Diego Ojeda García on 22/01/14. // Copyright (c) 2014 UMA. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @class Contact; @interface IGEGroup : NSManagedObject @property (nonatomic, retain) NSString * nombre; @property (nonatom...
#ifndef CIRCUIT_WIDGET__INCLUDED #define CIRCUIT_WIDGET__INCLUDED #include <gtkmm/drawingarea.h> #include "circuit.h" struct circuit_widget_t : public Gtk::DrawingArea { public: circuit_widget_t (); ~circuit_widget_t (); protected: /* Signal handlers */ virtual bool on_expose_event (GdkEventExpose*);...
/* Monolith 2 Copyright (C) 2017-2020 Jonas Mayr This file is part of Monolith. Monolith 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...
/* * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * "Portions Copyright (c) 1999 Apple Computer, Inc. All Rights * Reserved. This file contains Original Code and/or Modifications of * Original Code as defined in and that are subject to the Apple Public * Sou...
// // ViewController.h // Adblock Fast // // Created by Brian Kennish on 8/19/15. // Copyright © 2015, 2016 Rocketship. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
/* Myrddin XBoard / WinBoard compatible chess engine written in C Copyright(C) 2021 John Merlino 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...
/* * Copyright (C) 2015 Alberts Muktupāvels * * 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. * * This program i...
int maxProfit(int* prices, int pricesSize) { int i = 0; int j = 0; int max = 0; for (i=0; i < pricesSize - 1; i++) { for (j=i + 1; j < pricesSize; j++) { if (max < prices[j] - prices[i]) max = prices[j] - prices[i]; } } return max; }
/************************************************************************ MeOS - Orienteering Software Copyright (C) 2009-2015 Melin Software HB 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 Softwar...
#ifndef MANTID_DATAHANDLING_SAVEFITS_H_ #define MANTID_DATAHANDLING_SAVEFITS_H_ #include "MantidDataHandling/DllConfig.h" #include "MantidAPI/Algorithm.h" #include "MantidAPI/MatrixWorkspace_fwd.h" namespace Mantid { namespace DataHandling { /** SaveFITS : Save images in FITS formats. Copyright &copy; 2016 ISIS...
/* * nssai_mapping.h * * */ #ifndef _OpenAPI_nssai_mapping_H_ #define _OpenAPI_nssai_mapping_H_ #include <string.h> #include "../external/cJSON.h" #include "../include/list.h" #include "../include/keyValuePair.h" #include "../include/binary.h" #include "snssai.h" #ifdef __cplusplus extern "C" { #endif typedef s...
// // AppDelegate.h // CellCoordinator // // Created by Darius on 02/01/17. // Copyright © 2017 Cian. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
//********************************************************************************************** // tinyRTX Filename: susr.h (System to USeR interface) // // Copyright 2014 Sycamore Software, Inc. ** www.tinyRTX.com ** // Distributed under the terms of the GNU Lesser General Purpose License v3 // // This file is part ...
#ifndef __S5P4418_TIMER_H__ #define __S5P4418_TIMER_H__ #ifdef __cplusplus extern "C" { #endif #include <types.h> #include <string.h> #include <stddef.h> #include <io.h> #include <s5p4418-rstcon.h> #include <s5p4418-gpio.h> #include <s5p4418-clk.h> #include <reg-timer.h> void s5p4418_timer_reset(void...
// Copyright 2011 the V8 project 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 V8_PARSING_PREPARSE_DATA_H_ #define V8_PARSING_PREPARSE_DATA_H_ #include "src/allocation.h" #include "src/base/hashmap.h" #include "src/collect...
#ifndef DECK_H #define DECK_H #include "SGWidget.h" #include "flashcard.h" namespace Ui { class Deck; } class Deck : public SGWidget { Q_OBJECT public: explicit Deck(QString group_name, QWidget *parent = 0); ~Deck(); private slots: void do_work(); void on_prev_btn_clicked(); void on_next_b...
#ifndef CYLINDERITEM_H #define CYLINDERITEM_H #include <QObject> class CylinderItemPrivate; class CylinderItem : public QObject { Q_OBJECT friend class CylinderManager; private: CylinderItem(QObject *parent = 0); ~CylinderItem(); public: int count() const; public slots: void handleSocket(q...
/* GodWhale, a USI shogi(japanese-chess) playing engine derived from NanohaMini Copyright (C) 2004-2008 Tord Romstad (Glaurung author) Copyright (C) 2008-2010 Marco Costalba, Joona Kiiski, Tord Romstad (Stockfish author) Copyright (C) 2014 Kazuyuki Kawabata (NanohaMini author) Copyright (C) 2015 ebifrier, e...
// Copyright (c) 2015 - 2015 All Right Reserved, http://hatiolab.com // // This source is subject to the Hatio Lab. Permissive License. // Please see the License.txt file for more information. // All other rights reserved. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WIHOUT WARRANTY OF ANY // KIND, EITHER EXPRE...
/* This file is part of GNUnet. (C) 2009, 2011 Christian Grothoff (and other contributing authors) GNUnet 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 ...
/************************************************************************ * Copyright (c) 2009, Microchip Technology Inc. * * Microchip licenses this software to you solely for use with Microchip * products. The software is owned by Microchip and its licensors, and * is protected under applicable copyright laws. All...
#pragma once #include <map> #include <set> #include <vector> #include "storm/storage/expressions/Expression.h" #include "storm/storage/jani/TemplateEdgeContainer.h" namespace storm { namespace jani { class Edge; class TemplateEdge; class Variable; class Model; namespace detail { class Edges { public: typedef...
/* * Xenomai Lab * Copyright (C) 2013 Jorge Azevedo * * 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. * * This ...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2012 Sam Lantinga This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at ...
#pragma once #include "GameMgr.h" class CGameSevDlg; namespace TCP{ class CClientTcp; } namespace Game{ class IClient; namespace Texas{ //class CPoker; class CTexasGame; class CTexasPokerMgr : public Game::IGameMgr { public: enum { GM_IDEL, GM_INIT, GM_INITWAIT, GM_GAME, GM_SENDRESUL...
#ifndef QTDIALOG_H #define QTDIALOG_H #include <QDialog> namespace Ui { class QtDialog; } struct QwtPlotCurve; struct QwtPlot; class QtDialog : public QDialog { Q_OBJECT public: explicit QtDialog(QWidget *parent = 0); ~QtDialog(); QwtPlotCurve * const m_curve; QwtPlot * const m_plot; private: Ui:...
/* algorithms.h - rhash library algorithms */ #ifndef RHASH_ALGORITHMS_H #define RHASH_ALGORITHMS_H #include "rhash.h" #include "byte_order.h" #include <stddef.h> #ifdef __cplusplus extern "C" { #endif #ifndef RHASH_API /* modifier for RHash library functions */ # define RHASH_API #endif /** * Bit flag: default ha...
/* * mjpg_streamer.h * * Created on: 2011. 1. 4. * Author: zerom */ #ifndef MJPG_STREAMER_H_ #define MJPG_STREAMER_H_ #include <pthread.h> #include "Image.h" #include "LinuxCamera.h" #include "httpd.h" using namespace Robot; class mjpg_streamer { private: static globals global; ...
#include <stdio.h> #include "gpio.h" #include "button.h" /** Bit mask for the GPIO buttons */ #define BTN_MASK 0x1F /** * @brief Convert a raw value to a button enum value. * @warning may not be working due to lcdproc compatibility changes */ static Button raw_to_button(uint8_t btn) { switch (~btn) { cas...
/* Copyright (C) 2012-2013 Sarvaritdinov R. This file is part of REXLoader. REXLoader 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. REX...
/*************************************************** * * * * * * * ---------------------------------------------- * * ...
/* * This file is part of cg3lib: https://github.com/cg3hci/cg3lib * This Source Code Form is subject to the terms of the GNU GPL 3.0 * * @author Alessandro Muntoni (muntoni.alessandro@gmail.com) */ #ifndef CG3_SERIALIZE_STD_H #define CG3_SERIALIZE_STD_H #include <string> #include <set> #include <unordered_set> #...
/* LIBGIMP - The GIMP Library * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball * * gimpintcombobox.h * Copyright (C) 2004 Sven Neumann <sven@gimp.org> * * This library is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published ...
/* -*- c++ -*- */ /* * Copyright 2005,2011 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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 o...
#ifndef __ASM_SH_MMU_CONTEXT_32_H #define __ASM_SH_MMU_CONTEXT_32_H /* * Destroy context related info for an mm_struct that is about * to be put to rest. */ static inline void destroy_context(struct mm_struct *mm) { /* Do nothing */ } #ifdef CONFIG_CPU_HAS_PTEAEX static inline void set_asid(unsigned long asid) { ...
//----------------------------------------------------------------------------- // CLLocationManager_sim.h // // This class can be used as a replacement for CLLocationManager. // // When compiled for the iPhone/iPad simulator it provides the ability to // get a different location and optionally have it moving for t...
#ifndef ONLINETVSHOWDATABASE_H #define ONLINETVSHOWDATABASE_H #include "nwutils.h" #include "tvshow.h" #include "curlresult.h" #include <QDir> #include "onlinecredentials.h" class Library; namespace OnlineTvShowDatabase { enum UpdateFilter { ufNone = 0, ufSynopsis = 1 << 1, ufTitle = 1 << 2, ufRelati...
/***************************************************************************** * * PROJECT: Multi Theft Auto * LICENSE: See LICENSE in the top level directory * FILE: Shared/sdk/SharedUtil.Crypto.hpp * * Multi Theft Auto is available from http://www.multitheftauto.com/ * *****************************...
/** ****************************************************************************** * @file USB_Device/HID_Standalone/Inc/stm32f0xx_it.h * @author MCD Application Team * @brief This file contains the headers of the interrupt handlers. **********************************************************************...
/** * @file function_gen.h * @brief function generator object * * This can be used for example as function for a control_action_function * Use this as super-"class" for function implementations. * * @author Carsten Bruns (carst.bruns@gmx.de) */ #ifndef FUNCTION_GEN_H_ #define FUNCTION_GEN_H_ /** * @brief str...
// __ // ____ ___ ___ ____ ___ ____ / /__ __ // / __ `__ \/ _ \/ __ `__ \/ __ \ / __/ | / / // / / / / / / __/ / / / / / /_/ // /_ | |/ / // /_/ /_/ /_/\___/_/ /_/ /_/\____(_)__/ |___/ // // // Created by Memo Akten, www.memo.tv // // ofxMSAControlFreakGui // #p...
/* * Multi2Sim * Copyright (C) 2013 Rafael Ubal (ubal@ece.neu.edu) * * 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, or * (at your option) any late...
#ifndef GLOBALUI_H #define GLOBALUI_H #include <QtWidgets/QApplication> #include <Thread.h> class MainWindow; class Controller; class Config; class GlobalUI : public Thread { public: GlobalUI( Config* config, Controller* controller ); ~GlobalUI(); void Run() { while( run() ); } protected: virtual bool run(); ...
/* $XFree86: xc/lib/GL/mesa/src/drv/ffb/ffb_vbtmp.h,v 1.1 2002/02/22 21:32:59 dawes Exp $ */ static void TAG(emit)(GLcontext *ctx, GLuint start, GLuint end) { ffbContextPtr fmesa = FFB_CONTEXT(ctx); struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; #if (IND & (FFB_VB_RGBA_BIT)) GLfloat (*col0)[4]; GLuint col0_stri...
// // usbprinter.h // // Circle - A C++ bare metal environment for Raspberry Pi // Copyright (C) 2014-2018 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, e...
/*************************************************************************** ** ** ** This file is part of SpineCreator, an easy to use, GUI for ** ** describing spiking neural network models. ** ** Copyrigh...
#ifndef __DV_CHANNEL_H__ #define __DV_CHANNEL_H__ #include "dv_types.h" #include "dv_event.h" enum { DV_CH_CMD_OPEN = 1, DV_CH_CMD_QUIT, DV_CH_CMD_TERMINATE, DV_CH_CMD_CLOSE, DV_CH_CMD_MAX, }; typedef struct _dv_channel_t { dv_u32 ch_command; pid_t ch_pid; int ch_fd...
#pragma once #if defined(_MSC_VER) #ifdef OMNIENGINE_EXPORTS #define SHARED_MEMBER #define SHARED __declspec(dllexport) #else #define SHARED_MEMBER #define SHARED __declspec(dllimport) #endif #elif defined(__GNUC__) #ifdef OMNIENGINE_EXPORTS #define SHARED_MEMBER __attribute__((visibility("default"))) #define SHARE...
/* Ophidia Analytics Framework Copyright (C) 2012-2021 CMCC Foundation 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...
/* * OMAP Voltage Management Routines * * Copyright (C) 2011, Texas Instruments, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef __ARCH_ARM_OMAP_VOLTAGE_H #d...
// This file was generated based on /usr/local/share/uno/Packages/Fuse.FileSystem/1.3.1/PathTools.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.h> namespace g{namespace Fuse{namespace FileSystem{struct PathTools;}}} namespace g{ namespace Fuse{ namespace FileSystem{...
#include "common.h" #include <stdlib.h> void ft_strdel(char **pstr) { if (pstr && *pstr) { free(*pstr); *pstr = NULL; } }
#pragma once//☀SDX_STG #include "IStage.h" #include "Layer.h" #include "Unit.h" #include "Shot.h" #include "Enemy.h" #include "Item.h" namespace SDX_STG { using namespace SDX; class Stage : public IStage { private: Layer<Object> backEffects; Layer<Object> midEffects; Layer<Obj...
/**************************************************************************** ** ** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
// Copyright (C) 2014 Jakub Lewandowski <jakub.lewandowski@gmail.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 version 3 of the License, or // (at your option) any later vers...
GType ags_echo_channel_get_type() { static GType ags_type_echo_channel = 0; if(!ags_type_echo_channel){ static const GTypeInfo ags_echo_channel_info = { sizeof (AgsEchoChannelClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) ags_echo_channel_class_init, NULL...
#include <stdint.h> #define PI_VER 2 #include "registers.h" volatile uint8_t *cmdpos; uint8_t cmdbuf[8]; volatile const uint8_t *outpos; /* The following is the remains of the attempted use of interrupts to increase preformance. This approach is currently scrapped, but I'm keeping the code around for future ref...
/* * OMAP3 Voltage Controller (VC) data * * Copyright (C) 2007, 2010 Texas Instruments, Inc. * Rajendra Nayak <rnayak@ti.com> * Lesly A M <x0080970@ti.com> * Thara Gopinath <thara@ti.com> * * Copyright (C) 2008, 2011 Nokia Corporation * Kalle Jokiniemi * Paul Walmsley * * This program is free software; you ...
/* * node.c */ #include <stdio.h> #include <stdlib.h> #include "node.h" /* This function allocates space for a new node and * returns the pointer to this new node. * This function should be called while creating a new node * */ struct node* CreateNode() { return malloc(sizeof(struct node)); } /* Print the linke...
/* randist/beta.c * * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 James Theiler, Brian Gough * * 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 (a...
//////////////////////////////////////////////////////////////////////////// // Created : 20.04.2010 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #ifndef MIXING_N_ARY_TREE_WEIGHT_CALCULATOR_INLINE_H_INCLUDED #define M...
#if !defined __DIALOGTYPE__ #define __DIALOGTYPE__ #include "GlobConst.h" DLLEXPORT typedef enum { CVIEWINSERT, CVIEWPROP, IVIEWPROP } DIALOGTYPE; #endif
/* * bool.h * * Created on: 26 kwi 2016 * Author: zabkiewp */ #ifndef BOOL_H_ #define BOOL_H_ #define true 1 #define false 0 typedef struct _bool { int val : 1; } __bool; #define stdbool __bool #endif /* BOOL_H_ */