text
stringlengths
4
6.14k
/* UIToggleButton.h * * Copyright (C) 2011 Belledonne Comunications, Grenoble, France * * 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 y...
/* * HyFi forwarding database * QCA HyFi Bridge * * Copyright (c) 2012, The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice...
/* * SocialLedge.com - Copyright (C) 2013 * * This file is part of free software framework for embedded processors. * You can use it and/or distribute it as long as this copyright header * remains unmodified. The code is free for personal use and requires * permission to use in a commer...
#ifndef GRAPHICS_SHADERPROGRAM_H #define GRAPHICS_SHADERPROGRAM_H #include <panda/core.h> #include <memory> #include <string> #include <vector> namespace panda { namespace graphics { enum class ShaderType : char { Vertex = 1, Fragment, Geometry, TessellationControl, TessellationEvaluation, Compute }; // To free t...
#include "I2C_Driver.h" /********************************************************/ void I2C_delay(void) { uint8_t i=20; while(i) { i--; } } static void Delay_N_mS(uint16_t n_milisecond) /* n mS delay */ { uint8_t i; while (n_milisecond--) { i=37; while...
/* * Copyright (C) 2011-2021 Project SkyFire <https://www.projectskyfire.org/> * Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2021 MaNGOS <https://www.getmangos.eu/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU G...
/************************************************************************* > File Name: hash.c > Author: likeyi > Mail: likeyi@sina.com > Created Time: Tue 17 Jun 2014 04:36:47 PM CST ************************************************************************/ #include "includes.h" extern int global_trace; stat...
/* * ak4678.h - ASoC codec driver for AK4678 * * Copyright 2012, AsahiKASEI Co., Ltd. * Copyright 2012, Insignal Co., Ltd. * Author: Claude Youn <claude@insignal.co.kr> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publishe...
#ifndef CASEFOLDCOMPARE_H #define CASEFOLDCOMPARE_H struct casefoldCompare : public std::binary_function<Glib::ustring, Glib::ustring, bool> { bool operator () ( const Glib::ustring &lhs, const Glib::ustring &rhs ) const { return lhs.casefold() < rhs.casefold(); } }; #endif
//----------------------------------------------------------------------------- // File: ConfigurableElementColumns.h //----------------------------------------------------------------------------- // Project: Kactus2 // Author: Mikko Teuho // Date: 30.01.2015 // // Description: // Common declarations for editi...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> //Functions to be ran on thread: pth void *testFunction(){ int i; for(i=0;i<10;i++){ sleep(1); printf("Test1 Loop %d\n", i); } } //Functions to be ran on thread: pth1 void *testFunction1(){ int i; for(i=0;i<10;i++){ sleep(1);...
/* * BRLTTY - A background process providing access to the console screen (when in * text mode) for a blind person using a refreshable braille display. * * Copyright (C) 1995-2013 by The BRLTTY Developers. * * BRLTTY comes with ABSOLUTELY NO WARRANTY. * * This is free software, placed under the terms o...
/* * LFDD - Linux Firmware Debug Driver * File: libio.c * * Copyright (C) 2006 - 2010 Merck Hung <merckhung@gmail.com> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under t...
/************************************************************************* * password functions *************************************************************************/ #include <errno.h> #include <nss.h> #include <pwd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "exf...
/* * Copyright (C) 2010, 2012-2014 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. ...
/*======================================================================== rtl_433.h THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICU...
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* * Libparrillada-media * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app@wanadoo.fr> * * Libparrillada-media is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
#ifndef LINTPLUG_GLOBAL_H #define LINTPLUG_GLOBAL_H #include <QtGlobal> #if defined(LINTPLUG_LIBRARY) # define LINTPLUGSHARED_EXPORT Q_DECL_EXPORT #else # define LINTPLUGSHARED_EXPORT Q_DECL_IMPORT #endif #endif // LINTPLUG_GLOBAL_H
/***************************************************************** * $Id: acc_workorder.h 2191 2014-10-27 20:31:51Z rutger $ * Created: Oct 27, 2014 11:41:25 AM - rutger * * Copyright (C) 2014 Red-Bag. All rights reserved. * This file is part of the Biluna ACC project. * * See http://www.red-bag.com for further ...
// -*- C++ -*- // // DynamicLoader.h is a part of ThePEG - Toolkit for HEP Event Generation // Copyright (C) 1999-2011 Leif Lonnblad // // ThePEG is licenced under version 2 of the GPL, see COPYING for details. // Please respect the MCnet academic guidelines, see GUIDELINES for details. // #ifndef ThePEG_DynamicLoader_...
/***************************************************************** Copyright (c) 1996-2001 the kicker authors. See file AUTHORS. 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 restrictio...
#define SVNWCREV_VERSION "1.1, Build 10"
/* This file is part of the Vc library. Copyright (C) 2010-2012 Matthias Kretz <kretz@kde.org> Vc is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (...
/* inflate.h -- internal inflate state definition * Copyright (C) 1995-2004 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compression library and is subject to change. A...
/* Return the next element of a path. Copyright (C) 1992, 2010 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 by the Free Software Foundation, either version 3 of the License, or (at yo...
#include<stdio.h> #include<math.h> #include<stdlib.h> int combos[100][10]; int count; long long int nCr(int n, int r){ int i; long long int result = 1; if(r > n/2) r = n - r; for(i = 1; i <= r; ++i){ result *= (n-i+1); result /= i; } return result; } int transformToDominant(int m, int r, ...
#ifndef PQ_QUIT_STATE_H #define PQ_QUIT_STATE_H /* * Lets you set whether to want to quit. * * 1 means yes, 0 means no. */ void pq_quit_state_set(int state); /* * Whether you want to quit. * * 1 means yes, 0 means no. */ int pq_quit_state(void); #endif /* PQ_QUIT_STATE_H */
#ifndef ANIMATIONROTATEMOVE_H #define ANIMATIONROTATEMOVE_H #include <QGraphicsItem> #include "pictureanimation.h" class AnimationRotateMove : public AbstractPictureAnimation { public: QAbstractAnimation *getAnimationIn (AnimatedItem *target, int duration, int parentWidth); QAbstractAnimation *getAn...
/***************************************************************************** * Copyright (c) 2014-2020 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU Gener...
#pragma once /* * Copyright 2010-2016 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...
#define MODULE_LOG_PREFIX "dvbapi" #include "globals.h" #ifdef HAVE_DVBAPI #include "oscam-config.h" #include "oscam-ecm.h" #include "oscam-string.h" #include "module-dvbapi.h" #include "module-dvbapi-chancache.h" extern DEMUXTYPE demux[MAX_DEMUX]; static LLIST *channel_cache; void dvbapi_save_channel_cache(void)...
/* $License: Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved. See included License.txt for License information. $ */ /******************************************************************************* * * $Id:$ * ***************************************************************...
/* * simple 2d SOM * TODO: implementation could be much better.. * many passes for SOM, probability distribution modification * (using histrogram modification to wanted distribution) * to correct SOMs f^2/3 or f^/1/3 error in probability vs * number of representing vectors in SOM. * learning should happen i...
/* 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_0_r1_1; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; int v2_r1 = atomic_load_explicit(&vars[...
/** * \file IMP/rmf/geometry_io.h * \brief Handle read/write of geometry data from/to files. * * Copyright 2007-2017 IMP Inventors. All rights reserved. * */ #ifndef IMPRMF_GEOMETRY_IO_H #define IMPRMF_GEOMETRY_IO_H #include <IMP/rmf/rmf_config.h> #include <IMP/display/declare_Geometry.h> #include <RMF/NodeH...
#ifndef TRSCRIPT_H #define TRSCRIPT_H // trscript.h // 9/20/2014 jichi #include "sakurakit/skglobal.h" #include <string> class TranslationScriptPerformerPrivate; class TranslationScriptPerformer { SK_CLASS(TranslationScriptPerformer) SK_DISABLE_COPY(TranslationScriptPerformer) SK_DECLARE_PRIVATE(TranslationScr...
/* * Driver for Microtune MT2131 "QAM/8VSB single chip tuner" * * Copyright (c) 2006 Steven Toth <stoth@linuxtv.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 ...
#include <stdio.h> #include <samerlib/stack.h> #include <samerlib/queue.h> #include <samerlib/map.h> #define TEST_MAP int main() { #ifdef TEST_STACK int x, y, z, *a, i; stack *s = new_stack(); x = 1; y = 2; z = 4; for (i = 0; i < 8; i++) { stack_push(s, ...
/* * File: main.cpp * Author: uli * * WARNING: This program may be vulnerable to format string attacks * * Created on 29. Juli 2009, 13:13 */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include "lodepng.h" #define IMGPIX(i,x,y) images[i][(y) * width + (x)] //intvalue #def...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Code/Dev/appNativa/source/rareobjc/../rare/core/com/appnativa/rare/util/ListHelper.java // // Created by decoteaud on 3/11/16. // #ifndef _RAREListHelper_H_ #define _RAREListHelper_H_ @class IOSIntArray; @class IOSObjectArray; @class RAREDropInfor...
// ****************************************************************************** // Filename: Interpolator.h // Project: Vogue // Author: Steven Ball // // Purpose: // An interpolator helper class that will manage all the interpolations for // your variables. // // Revision History: // Initial Revisio...
/* * Copyright (C) 2016 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 be use...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> // EXTERNAL extern int getCookie(char *cookie); extern void putLog (char *, char *); extern int curl (char *url); // EXTERNAL int main(int argc, char **argv) { // We're going to write something anyway printf("Content-Type...
//****************************************************************************** // MSP430G2xx3 Demo - Timer_A, Toggle P1.0, CCR0 Up Mode ISR, DCO SMCLK // // Description: Toggle P1.0 using software and TA_0 ISR. Timer_A is // configured for up mode, thus the timer overflows when TAR counts to CCR0. // In this...
/* 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_0_r3_2; atomic_int atom_0_r5_3; atomic_int atom_1_r5_2; atomic_int atom_1_r1_1; void *t0(void *arg){ l...
#ifndef MANTID_INDEXING_INDEXTYPE_H_ #define MANTID_INDEXING_INDEXTYPE_H_ #include <type_traits> namespace Mantid { namespace Indexing { namespace detail { /** A base class for strongly-typed integers, without implicit conversion. @author Simon Heybrock @date 2017 Copyright &copy; 2017 ISIS Rutherford Applet...
#pragma once #include <Re\Game\Effect\Movement\EffectMovementAim.h> #include <Re\Common\Control\Control.h> namespace Effect { /// efect that allows to move player in x and y axes without any rotation /// @Warring: Rigidbody must be created before a first update of the component! class StaticMovement : public Movem...
/* * myMake.h * * Created on: 2017年5月18日 * Author: JYS1105 */ #ifndef MYMAKE_H_ #define MYMAKE_H_ #ifdef __cplusplus extern "C" { #endif int myFileComments(void * myfile); int getArgv(void * myfile, int arg, char * argv[]); int myFile(void * myfile, int arg, char * argv[]); int myMakefile(int arg, c...
#ifndef RECTC_H #define RECTC_H #include <QDebug> #include "coordinates.h" class RectC { public: RectC() {} RectC(const Coordinates &topLeft, const Coordinates &bottomRight) : _tl(topLeft), _br(bottomRight) {} RectC(const Coordinates &center, double radius); bool isNull() const {return _tl.isNull() && _br....
#pragma once #include <memory> #include "storm/models/ModelType.h" #include "storm/models/sparse/StandardRewardModel.h" #include "storm/models/sparse/Model.h" #include "storm/storage/sparse/ModelComponents.h" namespace storm { namespace utility { namespace builder { template<type...
/* * Copyright (c) 2015, Intel Corporation * * 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 conditions and the follow...
/* Report an error and exit. Copyright 2016-2019 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 by the Free Software Foundation; either version 3, or (at your option) any later version....
#ifndef OPENBOOK_FS_GUI_LISTKNOWNPEERS_H_ #define OPENBOOK_FS_GUI_LISTKNOWNPEERS_H_ #include "Options.h" #include <QStringList> namespace openbook { namespace filesystem { namespace gui { class ListKnownPeers: public Options { public: static const std::string COMMAND; static const std::stri...
/* * Copyright (C) 2012 Russell King * Written from the i915 driver. * * 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. */ #include <linux/errno.h> #include <linux/kernel.h> #in...
#ifndef ANALYSERPITCH_H #define ANALYSERPITCH_H #include <QObject> #include <QPointer> #include <QString> #include <QList> #include <QStandardItemModel> #include "PraalineCore/Base/RealTime.h" namespace Praaline { namespace Core { class Corpus; class CorpusCommunication; class Interval; class IntervalTier; class Stat...
#include <stdio.h> #include <stdlib.h> #include "tables_sort.h" void B_InsertSort(NodeType R[], int n) { int i, j; int p; int q; R[0].next = 1; R[1].next = 0; for (i = 2; i < n; i++) { j = 0; while (R[R[j].next].data < R[i].data && R[j].next != 0) j = R[j].next; R[i].next = R[j].next; ...
/****************************/ /* THIS IS OPEN SOURCE CODE */ /****************************/ /** * @author Jose Pedro Oliveira * * test case for the linux-net component * * @brief * List all net events codes and names */ #include <stdio.h> #include <stdlib.h> #include "papi_test.h" int main (int argc, cha...
/* Copyright (c) 2012, Lunar Workshop, Inc. 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 the following disclaimer. 2. R...
/* http.h - HTTP protocol handler * Copyright (C) 1999, 2000, 2001, 2003, 2006, * 2010 Free Software Foundation, Inc. * * This file is part of GnuPG. * * This file is free software; you can redistribute it and/or modify * it under the terms of either * * - the GNU Lesser General Public Licens...
/* Copyright 2009 Last.fm Ltd. - Primarily authored by Max Howell, Jono Cole and Doug Mansell This file is part of liblastfm. liblastfm 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, eithe...
/* * Copyright (C) 2013 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 app...
#include <linux/types.h> #include <linux/errno.h> #include <asm/uaccess.h> #include <asm/sfp-machine.h> #include <math-emu/soft-fp.h> #include <math-emu/double.h> #include <math-emu/single.h> int fnmsubs(void *frD, void *frA, void *frB, void *frC) { FP_DECL_D(R); FP_DECL_D(A); FP_DECL_D(B); FP_DECL_D(C); FP_DECL...
#pragma interface #include <QtCore/QAbstractAnimation> #include "ruby++/module.h" #include "ruby++/symbol.h" namespace R_Qt { extern void init_animation(RPP::Module mQt, RPP::Class cControl); extern RPP::Symbol QAbstractAnimation_State2Symbol(QAbstractAnimation::State state); } // namespace R_Qt
/* b-script Copyright (C) 2011 Thijs Jeffry de Haas 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 distribute...
/* 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 distributed in the hope that it will be useful, ...
/******************************************************************************* ** ** Monte Carlo eXtreme (MCX) - GPU accelerated Monte Carlo 3D photon migration ** Author: Qianqian Fang <q.fang at neu.edu> ** ** Reference (Fang2009): ** Qianqian Fang and David A. Boas, "Monte Carlo Simulation of Photon **...
/* -*- mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ // Copyright © 2016 Associated Universities, Inc. Washington DC, USA. // // This file is part of vysmaw. // // vysmaw 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 ...
#import <Foundation/Foundation.h> @interface NameFormatter : NSObject @property (copy, nonatomic) NSString *title; @property (copy, nonatomic) NSString *subtitle; - (id)initWithName:(NSString *)name; @end
/** ****************************************************************************** * @file DMA2D/DMA2D_MemToMemWithLCD/Inc/stm32f4xx_it.h * @author MCD Application Team * @version V1.1.0 * @date 17-February-2017 * @brief This file contains the headers of the interrupt handlers. **********...
#ifndef PLUGINSSOURCELOADER_P_H #define PLUGINSSOURCELOADER_P_H #include <QObject> #include <QStringList> #include <QHash> #include <QPair> #include <QNetworkReply> class Widget_PluginsSourceLoader; class QNetworkAccessManager; class QListWidgetItem; class Dialog_NewPlugins; class PluginsSourceLoader_P : public QO...
/* -*- c++ -*- */ /* * Copyright 2009,2013 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...
/* * WARNING: do not edit! * Generated by Makefile from include/openssl/opensslconf.h.in * * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * ...
/* Encod_er.h - библиотека для обработки сигналов инкрементного энкодера параллельным процессом Функция scanState() должна вызываться регулярно в параллельном процессе timeRight - время/признак поворота энкодера вправо, timeLeft - время/признак поворота энкодера влево, если = 0, то поворота не было если = ...
#ifndef PLAYER_H #define PLAYER_H #include <QString> class Player { private: QString name; bool bot; public: Player(QString _name); QString getName(); bool getBot(); }; #endif // PLAYER_H
#ifndef SNESPALETTE_H #define SNESPALETTE_H #include <QRgb> #include <QVector> #include <QtGlobal> // Snes color are encoded on 2 bytes, 0BBBBBGG GGGRRRRR struct SNESColor { SNESColor(); quint16 snes; QRgb rgb; void setRgb(QRgb); void setSNES(quint16); quint16 approxSNES(); QRgb ...
/*** *sys/timeb.h - definition/declarations for _ftime() * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * This file define the _ftime() function and the types it uses. * [System V] * * [Public] * ****/ #if _MSC_VER > 1000 #pragma once #endif #ifn...
// // // Generated by StarUML(tm) C++ Add-In // // @ Project : Untitled // @ File Name : StaticData.h // @ Date : 2017/9/29 // @ Author : ouo // // #if !defined(_STATICDATA_H) #define _STATICDATA_H class StaticData { public: static StaticData sharedStaticData(); static viod purge(); int ...
#pragma once #include "alarmHandler.h" #include "trans.h" #include "file.h" #include "time.h" #define ALARM_NUM 6 void alarm_load() { for (int i = 0; i < ALARM_NUM; i++) { char c[] = "ALARM_0.txt"; c[6] = i + 48; if (SD.exists(c)) { Serial.print(c); Serial.println(" exists."); m...
#include "global.h" //ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ // Detection of available video modes //ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ /* struct _modos { short ancho; short alto; short modo; }; struct _modos modos[32]; int num_mo...
/* Copyright (C) 2015 William Breathitt Gray * * This file is part of Mission Accomplished. * * Mission Accomplished 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...
/* * pathfinder.h - Path finder functions * * Copyright (C) 2012 Jon Lund Steffensen <jonlst@gmail.com> * * This file is part of freeserf. * * freeserf 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,...
/***************************************************************************** * * Monitoring check_users plugin * * License: GPL * Copyright (c) 2000-2012 Monitoring Plugins Development Team * * Description: * * This file contains the check_users plugin * * This plugin checks the number of users currently logged ...
/* * Cppcheck - A tool for static C/C++ code analysis * Copyright (C) 2007-2021 Cppcheck team. * * 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 ...
#include "afxwin.h" #if !defined(AFX_PROGRAMSETTINGDLG_H__BED04C03_751D_4A93_A586_91AE8D148155__INCLUDED_) #define AFX_PROGRAMSETTINGDLG_H__BED04C03_751D_4A93_A586_91AE8D148155__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ProgramSettingDlg.h : header file // /////////////////////...
/* * Copyright (C) 2008, 2009, 2010 The Collaborative Software Foundation. * * This file is part of FeedHandlers (FH). * * FH 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 t...
/* * Copyright (C) 2012 Alexandr Vodiannikov aka "Aleksoid1978" (Aleksoid1978@mail.ru) * * This file is part of WinnerMediaPlayer. * * WinnerMediaPlayer 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 Founda...
#define SYSTEM_APP_EB 1 //embedded #define SYSTEM_APP_BB 0 //baseband only extern bdata unsigned char system_config_flag; extern bit system_app_fg;
#include "dietstdio.h" char *fgets_unlocked(char *s, int size, FILE *stream) { int l; for (l=0; l<size; ) { register int c; if (l && __likely(stream->bm<stream->bs)) { /* try common case first */ c=(unsigned char)stream->buf[stream->bm++]; } else { c=fgetc_unlocked(stream); if (...
/* ide-autotools-autogen-stage.c * * Copyright 2016-2019 Christian Hergert <chergert@redhat.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 * (a...
/*! @file EndEffectorTouch.h @brief Declaration of a class to handle pressure data for end effectors @author Jason Kulk @class EndEffectorTouch @brief A class to handle pressure data of end effectors to produce soft sensor data. In particular, this class can calculate the following: - Total for...
// DirImage.h : Collection of images from directory //------------------------------------------------------------------------------ // Copyright (c) 2016 Anatoly madRat L. Berenblit //------------------------------------------------------------------------------ // This program is free software: you can redistribute ...
/* Flexiport * * Header file for some types that are not defined on Windows. * * Copyright 2008-2011 Geoffrey Biggs geoffrey.biggs@aist.go.jp * RT-Synthesis Research Group * Intelligent Systems Research Institute, * National Institute of Advanced Industrial Science and Technology (AIST), * Japan...
/******************************************************************************* 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 F...
/* * Singleton.h * * Created on: 14-may-2009 * Author: Carlos Agüero * * Copyright 2014 Francisco Martín * * This file is part of ATCSim. * * ATCSim 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 F...
#include<string.h> #include<idt.h> /* This exists in 'bootstrap.{s|asm}', and is used to load our IDT */ extern void idt_load(); /* Declare an IDT of IDT_TABLE_SIZE entries. */ struct idt_entry idt[IDT_TABLE_SIZE]; struct idt_ptr idt_p; /* Use this function to set an entry in the IDT. */ void idt_set_gate(uint8_t...
/* 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...
#include <stdio.h> #include <assert.h> #include <string.h> #include <stdlib.h> void create_list(list* list_to_init) { // check assert(list_to_init == NULL); *list_to_init = NULL; } void push_at_begin(list * list,maillon* maillon_to_add) { // check assert(list != NULL); assert(maillon_to_add != NULL); ...
/* Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com> This file is part of GlusterFS. GlusterFS 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...
/* * Strategy implementation * .setup function: Set up triggers, which listen to specific * incoming or outgoing packets, and bind * triggers to these events. * .teardown function: Unbind triggers. * */ #include "old_ooo_tcp_fragment.h" #include <stdio.h> #incl...
/* Copyright (C) 2007-2012 Vincent Ollivier * * Purple Haze 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. * * Purple Haze is d...