text
stringlengths
4
6.14k
#ifndef __DONGLE_HDMI_H__ #define __DONGLE_HDMI_H__ #include <linux/notifier.h> enum DONGLE_HDMI_STATUS { DONGLE_HDMI_POWER_ON = 1, DONGLE_HDMI_POWER_OFF, DONGLE_HDMI_MAx }; /*Register to slimport driver*/ int hdmi_driver_notifier_register(struct notifier_block *nb); int hdmi_driver_notifier_unregister(struct not...
/* *************************************************************************** * finder.h -- main code of LC-Finder, responsible for the initialization of * the LC-Finder and the scheduling of other functions. * * Copyright (C) 2016-2019 by Liu Chao <lc-soft@live.cn> * * This file is part of the LC-Finder projec...
/** * comediscope.h * (c) 2004-2012 Bernd Porr, no warranty, GNU-public license **/ class ComediScope; #ifndef COMEDISCOPE_H #define COMEDISCOPE_H #include <QWidget> #include <QPushButton> #include <QCheckBox> #include <QLayout> #include <QPaintEvent> #include <QTimerEvent> //#include <Iir.h> #include <comedilib...
/* * gedit-view-centering.h * This file is part of gedit * * Copyright (C) 2014 - Sébastien Lafargue * Copyright (C) 2015 - Sébastien Wilmet * * Gedit is free software; you can redistribute this file and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software...
//////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008 The Regents of the University of California // // This file is part of Qbox // // Qbox is distributed under the terms of the GNU General Public License // as published by the Free Software Foundation, either versio...
/**************************************************************** * * * Copyright 2001, 2002 Sanchez Computer Associates, Inc. * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * * ...
// // UIColor+Util.h // iosapp // // Created by chenhaoxiang on 14-10-18. // Copyright (c) 2014年 oschina. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (Util) + (UIColor *)colorWithHex:(int)hexValue alpha:(CGFloat)alpha; + (UIColor *)colorWithHex:(int)hexValue; + (UIColor *)themeColor; + (U...
/* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is distributed in t...
/******************************************************************** KWin - the KDE window manager This file is part of the KDE project. Copyright (C) 2007 Lubos Lunak <l.lunak@kde.org> Copyright (C) 2008 Lucas Murray <lmurray@undefinedfire.com> This program is free software; you can redistribute it and/or modify ...
//-------------------------------------------------------------------------- // Edges // Copyright (C) 1999-2000 Vincent C. H. Ma // http://edges.sourceforge.net // vchma@users.sourceforge.net // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public Lic...
#include <ngadmin.h> #include <nsdp/attr.h> #include <nsdp/protocol.h> #include "lib.h" #include "network.h" int ngadmin_getStormFilterState (struct ngadmin *nga, int *s) { List *attr; struct attr *at; int ret = ERR_OK; if (nga == NULL || s == NULL) return ERR_INVARG; else if (nga->current == NULL) re...
/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkXMLPUnstructuredGridReader.h,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for det...
#import "VictoryCondition.h" @interface CasualtiesCondition : VictoryCondition @property (nonatomic, assign) float percentage; - (instancetype) initWithPercentage:(int)percentage; @end
/***************************************************************** * $Id: db_actionsystempermission.h 2248 2015-06-21 09:13:00Z rutger $ * Created: Dec 2, 2013 10:14:42 PM - rutger * * Copyright (C) 2013 Red-Bag. All rights reserved. * This file is part of the Biluna DB project. * * See http://www.red-bag.com fo...
/* *_________________________________________________________________________* * POEMS: PARALLELIZABLE OPEN SOURCE EFFICIENT MULTIBODY SOFTWARE * * DESCRIPTION: SEE READ-ME * * FILE NAME: fixedpoint.h * * A...
/** @file * NetLabel userspace/kernel interface API. * * The NetLabel system manages static and dynamic security label mappings for * network protocols such as CIPSO and RIPSO. * * Author: Paul Moore <paul@paul-moore.com> * */ /* * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 * * This progr...
// L3D realtime 3D library, explained in book "Linux 3D Graphics Programming" // Copyright (C) 2000 Norman Lin // Contact: nlin@linux3dgraphicsprogramming.org (alt. nlin@geocities.com) // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // ...
/** * Copyright (c) 2012, WebItUp <contact@webitup.fr> * 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, this list of c...
/* Space Whales Team: Packet Class for Weather Balloon Ground Station Last Updated March 11, 2013 Released under GNU GPL - version 2 or later By The Space Whales */ #ifndef __PACKET_H__ #define __PACKET_H__ #include <cstdlib> #include <iostream> #include <fstream...
/* * Komposter * * Copyright (c) 2010 Noora Halme et al. (see AUTHORS) * * This code is licensed under the GNU General Public * License version 2. See LICENSE for full text. * * Handling the configuration file ~/.komposter * */ #ifndef __DOTFILE_H__ #define __DOTFILE_H__ int dotfile_load(); int dotfile_save...
// // ViewController.h // 检测网络的连接状态 // // Created by GnuHua on 14-7-31. // Copyright (c) 2014年 jiaxh. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#ifndef __PLATEAU_H__ #define __PLATEAU_H__ #include "carte.h" #include "joueur.h" #include <cstdlib>//pour melangerJeu #include <time.h> #include <fstream>//pour enterScore et clog //#include <regex>pour la partie mise en commentaire de enterScore #define SHRT_MAX 32767 using namespace std; class Plateau{ privat...
/******************************************************************************* * * * WashingtonDC Dreamcast Emulator * Copyright (C) 2019 snickerbockers * * 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 *...
// // Copyright (c) 2019 Open Whisper Systems. All rights reserved. // #import "DebugUIPage.h" #ifdef DEBUG NS_ASSUME_NONNULL_BEGIN @interface DebugUIMisc : DebugUIPage @end NS_ASSUME_NONNULL_END #endif
#ifndef _DBP_UTILS #define _DBP_UTILS #include <stdio.h> #ifndef DBP_TYPES /* to make sure that we typedef these just once */ #define DBP_TYPES typedef char *vector; typedef char **matrix; typedef unsigned long int *ivector; /* to save integer vectors */ typedef unsigned long int **imatrix; /* " matrices...
/** * gcode_begin.h * Source code file for G-Code generation, simulation, and visualization * library. * * Copyright (C) 2006 - 2010 by Justin Shumaker * Copyright (C) 2014 - 2020 by Asztalos Attila Oszkár * * This program is free software: you can redistribute it and/or modify * it under the terms of t...
/* Copyright 2005-2009 Last.fm Ltd. - Primarily authored by Max Howell, Jono Cole and Doug Mansell This file is part of the Last.fm Desktop Application Suite. lastfm-desktop is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
// ***************************************************************************************************************************************** // **** PLEASE NOTE: This is a READ-ONLY representation of the actual script. For editing please press the "Develop Script" button. **** // *****************************...
/* * * Copyright 2014-2016 Ignacio San Roman Lana * * This file is part of OpenCV_ML_Tool * * OpenCV_ML_Tool 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 optio...
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
//*************************************************************************** // // PQueue.h -- Prototype for priority queues // //---------------------------------------------------------------------------// // Copyright (C) Microsoft Corporation. All rights reserved. // //=======================...
// // vidBusinessCard.h // vidcon // // Created by Tyler Dodge on 6/13/12. // // #import <Foundation/Foundation.h> #import "vidSpeakerModel.h" #define TWITTER_KEY @"twitter" #define YOUTUBE_KEY @"youtube" #define FACEBOOK_KEY @"facebook" #define NAME_KEY @"name" #define TWITTER_ENABLED_KEY @"twitterEnabled" #define...
//################################################################################################## // // Custom Visualization Core library // Copyright (C) Ceetron Solutions AS // // This library may be used under the terms of either the GNU General Public License or // the GNU Lesser General Public License a...
/* * Renamah * Copyright (C) 2009 Guillaume Denry <guillaume.denry@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 * any later version. *...
/* * ===================================================================================== * * Filename: translationCommandIterationUpdate.h * * Description: * * Version: 1.0 * Created: 26/11/14 16:01:12 * Revision: none * Compiler: gcc * * Author: Jerome P...
/*----------------------------------------------------------------------------*/ /* Copyright (C) 2015 Alexandre Campo */ /* */ /* This file is part of USE Tracker. ...
/* +---------------------------------------------------------------------------+ | The Mobile Robot Programming Toolkit (MRPT) C++ library | | | | http://www.mrpt.org/ ...
/* * LSST Data Management System * Copyright 2016 AURA/LSST. * * This product includes software developed by the * LSST Project (http://www.lsst.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 Soft...
#ifndef SPLINE_EDITOR_H #define SPLINE_EDITOR_H # include <QWidget> #include "splinetransferfunction.h" class SplineEditor : public QWidget { Q_OBJECT public : enum PointShape { CircleShape, RectangleShape }; enum LockType { LockToLeft = 0x01, LockToRight = 0x02, ...
/************************************************************************** ** ** sngrep - SIP Messages flow viewer ** ** Copyright (C) 2013-2016 Ivan Alonso (Kaian) ** Copyright (C) 2013-2016 Irontec SL. All rights reserved. ** ** This program is free software: you can redistribute it and/or modify ** it under...
/* -*- c++ -*- */ /* * Copyright 2012 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...
#pragma once #include<WinSock2.h> #include<stdio.h> void err_display(const char *msg) { LPVOID lpMsgBuf; FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, WSAGetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&lpMsgBuf, 0, NULL); printf("[%s] %s", msg, (LPCT...
/* Copyright 2016,王思远 <darknightghost.cn@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 version. Th...
/* Copyright (C) 2014-2022 FastoGT. All right reserved. This file is part of FastoNoSQL. FastoNoSQL 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...
#ifndef HEXAGON_H #define HEXAGON_H #include "graph/Lattice.h" #include <memory> #include <ngl/VertexArrayObject.h> namespace ppnp { //---------------------------------------------------------------------------------------------------------------------- /// @class Hexagon /// @brief Construct triangulated hexagon p...
/* * This file is part of Spacel game. * * Copyright 2016, Vincent Glize <vincent.glize@live.fr> * * Spacel 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...
/* * * (C) 2013-21 - ntop.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; either version 3 of the License, or * (at your option) any later version. * * This program is distribu...
/* * Song.h * * Created on: 22.03.2012 * Author: michi */ #ifndef SRC_DATA_SONG_H_ #define SRC_DATA_SONG_H_ #include "Data.h" #include "Rhythm/BarCollection.h" #include "../lib/base/base.h" #include "../lib/base/pointer.h" #include "../lib/any/any.h" #include <shared_mutex> class Data; class AudioEffect; ...
/* * language_def.h * Copyright (C) 2013 David Jolly * ---------------------- * * 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...
//================================================================================================= // Copyright (c) 2015, Alexander Stumpf, TU Darmstadt // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions a...
/* NOYAUTEST.C */ /*--------------------------------------------------------------------------* * Programme de tests * *--------------------------------------------------------------------------*/ #include "serialio.h" #include "noyau.h" #include "fifo.h" /* ** Test du noyau preemptif. Lier noyautes....
/* * This file is part of eVic SDK. * * eVic SDK 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. * * eVic SDK is distributed in...
/** ****************************************************************************** * @file LibJPEG/LibJPEG_Decoding/Inc/main.h * @author MCD Application Team * @version V1.1.0 * @date 17-February-2017 * @brief Header for main.c module *******************************************************...
/* * Copyright (C) 2006-2009 Daniel Prevost <dprevost@photonsoftware.org> * * This file is part of Photon (photonsoftware.org). * * This file may be distributed and/or modified under the terms of the * GNU General Public License version 2 or version 3 as published by the * Free Software Foundation and appearing...
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2007 Erwin Coumans http://bulletphysics.com 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 grant...
#ifndef QORMRELATION1NMODEL_H #define QORMRELATION1NMODEL_H #include <QOrmAbstractModel> class QOrmRelation1NModel : public QOrmAbstractModel { Q_OBJECT public: QOrmRelation1NModel(QOrmTableInfo *meta); void setRootIndex(const QModelIndex &root); protected: }; #endif // QORMRELATION1NMODEL_H
// // SignupViewModel.h // XujcClient // // Created by 田奕焰 on 16/3/8. // Copyright © 2016年 luckytianyiyan. All rights reserved. // #import "AccountViewModel.h" @class ServiceProtocolViewModel; @class VerificationCodeTextFieldViewModel; @interface SignupViewModel : AccountViewModel @property (copy, nonatomic) NSS...
#ifndef XS_COMMAND_SET_FLOSS_PALETTE_H #define XS_COMMAND_SET_FLOSS_PALETTE_H #include "XSCommand.h" #include "XSCommandSetFlossPalette.h" #include "XSFlossPalette.h" /** */ class XSCommandSetFlossPalette : public XSCommand { public: XSCommandSetFlossPalette(XSFlossPalette const& flossPalette); virtual int ...
#ifndef __PROXYSQL_CONFIG_H__ #define __PROXYSQL_CONFIG_H__ #include <string> class SQLite3DB; extern const char* config_header; class ProxySQL_Config { public: SQLite3DB* admindb; ProxySQL_Config(SQLite3DB* db); virtual ~ProxySQL_Config(); int Read_Global_Variables_from_configfile(const char *prefix); int Rea...
#include "genmath.h" /* Langevin function */ double langevin_function (double x) { return 1./tanh (x) - 1./x; }
/* $Id: EmoticonData.h 3089 2012-09-16 15:35:14Z IMPOMEZIA $ * IMPOMEZIA Simple Chat * Copyright © 2008-2012 IMPOMEZIA <schat@impomezia.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 Fou...
/* * GEM-Mapper v3 (GEM3) * Copyright (c) 2011-2017 by Santiago Marco-Sola <santiagomsola@gmail.com> * * This file is part of GEM-Mapper v3 (GEM3). * * 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 So...
#ifndef CIC_CORE_CUT_H #define CIC_CORE_CUT_H #include "instancecut.h" namespace cIcCore{ class Cut: public Cell { public: Cut(QString layer1,QString layer2,int horizontal_cuts, int vertical_cuts); Cut(QString layer1,QString layer2,Rect* r); static QString makeName(QString layer...
/* This file is part of Hardwar - A remake of the classic flight sim shooter Copyright © 2010-2012 Andrew Fenn Hardwar 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 ...
#ifndef CONFIG_H_INCLUDED #include "config.h" /** * All this is to keep Vala happy & configured.. */ const char *BUDGIE_EXTRAS_DATADIR = DATADIR; const char *BUDGIE_EXTRAS_SYSCONFDIR = SYSCONFDIR; const char *BUDGIE_EXTRAS_DAEMONNAME = DAEMONNAME; #else #error config.h missing! #endif
/*==LICENSE==* CyanWorlds.com Engine - MMOG client, server and tools Copyright (C) 2011 Cyan Worlds, 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 by the Free Software Foundation, either version 3 of the License, or (at you...
/*************************************************************************** * blitz/array/cgsolve.h Basic conjugate gradient solver for linear systems * * Copyright (C) 1997-2001 Todd Veldhuizen <tveldhui@oonumerics.org> * * This code was relicensed under the modified BSD license for use in SciPy * by Tod...
#ifndef __HEADER_HARDWARE_H #define __HEADER_HARDWARE_H #include "stm32f10x_conf.h" #include "fonts.h" /** @addtogroup Header Pin Assignment and ports. * @{ */ /** @brief SPI Pins pin configuration * @addtogroup Header Pin controls * @{ */ #define HEADER_SPI SPI1 #define HEADER_SPI_Cmd RCC_APB2Periph_S...
/****************************************************************************** * * IG - Informática Gráfica * Grado en Ingeniería Informática * * 2014 - Ernesto Serrano <erseco@correo.ugr.es> * --------------------------------------------- * * Cabeceras del codigo del modelo, funciona tanto en linux como en m...
#ifndef OTPCOMMAND_H #define OTPCOMMAND_H #include "ICommand.h" #include "../Conn/Connection.h" #include "../Arg/BromOTPArg.h" namespace APCore { class OTPCommand: public ICommand { public: OTPCommand(APKey key); virtual ~OTPCommand(); void set_otp_file(const std::string &path) { ...
///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2011-2012 Statoil ASA, Ceetron AS // // ResInsight 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...
/* * Copyright(C) 2011-2016 Pedro H. Penna <pedrohenriquepenna@gmail.com> * 2016-2016 Davidson Francis <davidsondfgl@gmail.com> * * This file is part of Nanvix. * * Nanvix is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
/******************************************************************* * Copyright(c) 2000-2013 linghegu * All rights reserved. * Author: wangbin * Email: wang70bin@163.com * CreateTime: 2014/05/28 ******************************************************************/ #ifndef __MODULE_MONGOSWARE_CONNECTION_POOL_H__ ...
/* * Gearboy - Nintendo Game Boy Emulator * Copyright (C) 2012 Ignacio Sanchez * 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 * any later version. ...
/*! * @file * @brief Short description. * * Long description. I would paste some Loren Ipsum rubbish here, but I'm afraid * It would stay that way. Not that this comment is by any means ingenious but * at least people can understand it. */ #pragma once #include "IRecognizer.h" #include "struct/SafeHash.h" #def...
/* * This file is part of Bipscript. * * Bipscript 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. * * Bipscript is distribute...
#include <stdio.h> main() { char c; char lengths[20]; /* limit to 20 words */ int wc; int i; int n; int last; /* indicate last written character */ wc = 0; lengths[wc] = 0; last = 1; while ((c = getchar()) != EOF) { if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z')) { if (last < 0) { wc++; ...
#ifndef BLOOM_H_ #define BLOOM_H_ #include "shared.h" struct bloom_params { int size; // bits in the bloom filter int bytesize; // ceil(size / 8) int nbit; // number of bits set per input key int keylen; // length of key, in bytes int bitperf; // bits consumed per F_i }; /* * Set up a...
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 Source Code is free software: you can redistribute it and/or modify...
// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
/* * Copyright 2014-present by Andrew Ian William Griffin <griffin@beerdragon.co.uk> and McLeod Moores Software Limited. * See distribution for license. */ #pragma once #include "../core/core_h.h" class CFileWriter : public IFileWriter { private: volatile ULONG m_lRefCount; HANDLE m_hFile; ~CFileWriter (); pub...
#include <swilib.h> //__inl //const char * _dlerror() //__def( 0x2F7, const char *) const char *dlerror(void) { return _dlerror(); }
/* * Copyright (c) 2013-2019 Thomas Isaac Lightburn * * * This file is part of OpenKJ. * * OpenKJ 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)...
// ************************************************************************************************ // // qt-mvvm: Model-view-view-model framework for large GUI applications // //! @file mvvm/viewmodel/mvvm/editors/coloreditor.h //! @brief Defines class CLASS? //! //! @homepage http://www.bornagainproject.o...
#ifndef ROOM_ORDER_WRITER_H #define ROOM_ORDER_WRITER_H #include "../Common_SMB1_Files/Level.h" #include <QByteArray> #include <QVector> #include <QFile> class Room_ID_Handler; class Level_Offset; class Room_Order_Writer { public: Room_Order_Writer(QFile *file, Level_Offset *levelOffset, Room_ID_Handler *roomIDH...
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */ /*************************************************************************** * nc_reduced_shear_calib_wtg.h * * Tue December 04 23:47:36 2018 * Copyright 2018 Mariana Penna Lima * <pennalima@gmail.com> *****************...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Assistant of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid co...
#ifndef PROTOCOL_WAYLAND_H #define PROTOCOL_WAYLAND_H //****************************************************************************** //this code is protected by the GNU affero GPLv3 //author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com> // <digital.ragnarok AT gmail dot com> //**********...
#ifndef HAM_STATE_H #define HAM_STATE_H #include <string> #include <vector> #include <set> #include <stdint.h> #include <stdlib.h> #include <bitset> #include "text.h" #include "emission.h" #include "transitions.h" #include "yaml-cpp/yaml.h" using namespace std; namespace ham { class Transition; class State { public...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <ctype.h> #include <unistd.h> #include <getopt.h> #include <sys/time.h> #include <math.h> //#include "dbench.h" #include "nfs.h" #include "mount.h" #include "libnfs.h" #include "comm.h" int main(int argc, char **argv) { char *h...
#include <stdlib.h> #include "mean.h" int mean(int size, int *values, double *result) { int i; int sum; if ( (values == NULL) || (result == NULL) || (size<0) ) { return 1; } sum=0; for (i=0; i<size; i++) { sum += values[i]; } *result = ((double)sum)/size; return 0; }
/* -*- c++ -*- */ /* * Copyright 2015 <+YOU OR YOUR COMPANY+>. * * This 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 version. * * This software i...
fprintf(stderr, "%s/%s()/%d\n", __FILE__, __FUNCTION__, __LINE__ );
// Copyright (C) Explorer++ Project // SPDX-License-Identifier: GPL-3.0-only // See LICENSE in the top level directory #pragma once // The CustomGripper control uses the appropriate functions provided by Windows to draw the size // grip shown in the bottom right corner of a window. namespace CustomGripper { ...
/* AUTHOR: Destan Sarpkaya - 2012 destan@dorukdestan.com LICENSE: Cevirgec 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 ...
/*************************************************************************** * This file is part of the Lime Report project * * Copyright (C) 2015 by Alexander Arin * * arin_a@bk.ru * * ...
/* 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[2]; atomic_int atom_1_r1_1; atomic_int atom_2_r1_3; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
/* * CMysqlHandler.h * * Created on: 2017年2月13日 * Author: jugo */ #pragma once #include <mysql/mysql.h> #include <string> #include <list> #include <map> #include <set> class CMysqlHandler { public: CMysqlHandler(); virtual ~CMysqlHandler(); int connect(std::string strHost, std::string strDB, std::strin...
// Copyright (c) the JPEG XL 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 LIB_JXL_BASE_COMPILER_SPECIFIC_H_ #define LIB_JXL_BASE_COMPILER_SPECIFIC_H_ // Macros for compiler version + nonstandard keywords, e.g. ...
/* * (C) 2013 Varun Mittal <varunmittal91@gmail.com> * NeweraHPC program is distributed under the terms of the GNU General Public License v3 * * This file is part of NeweraHPC. * * NeweraHPC is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...