text
stringlengths
4
6.14k
/* This file is part of the KDE project * Copyright (C) 2010 Carlos Licea <carlos@kdab.com> * * 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 License, or ...
/* This file is part of the KDE project * Copyright (C) 2009 Elvis Stansvik <elvstone@gmail.com> * * 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 License...
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Storage/1.3.1/ApplicationDir.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Object.h> namespace g{namespace Fuse{namespace Storage{struct ApplicationDir__WriteClosure;}}} namespace g{ namespace Fu...
#ifndef JME_RpcHandler_h__ #define JME_RpcHandler_h__ #include <string> #include <map> #include "boost/shared_ptr.hpp" #include "boost/function.hpp" #include "google/protobuf/message.h" #include "log/JME_GLog.h" using namespace std; namespace JMEngine { namespace rpc { class RpcHandlerInterfa...
//////////////////////////////////////////////////////////////////////////////// // Filename: TrackingCameraScript.h //////////////////////////////////////////////////////////////////////////////// #pragma once ////////////// // INCLUDES // ////////////// /////////////////////// // MY CLASS INCLUDES // /////////////...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (C) 2015 Leslie Zhai <xiang.zhai@i-soft.com.cn> * * 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...
//# ShapeletCoherence.h: Spatial coherence function of a source modelled as a //# shapelet basis expansion. //# //# Copyright (C) 2008 //# ASTRON (Netherlands Institute for Radio Astronomy) //# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands //# //# This file is part of the LOFAR software suite. //# The LOFAR software su...
// // CreditsViewController.h // P5P // // Created by CNPP on 25.2.2011. // Copyright Beat Raess 2011. All rights reserved. // // This file is part of P5P. // // P5P 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 CONFIGURATION_H #define CONFIGURATION_H #include <QObject> #include <qsettings.h> class Configuration { public: Configuration(); QString Hostname; QString Username; QString AutoLogin; QString SaveDir; int ConcurrentDownloads; bool UseSSL; QSettings *settings; void Load...
#include <includes.h> #include <utils.h> #include <methnum.h> #include "s_param.h" #include "integral.h" double Ivac ( Param * P , double m ) { double m2 = m*m ; double LE = sqrt ( m2 + P->L2 ); return 0.5 * ONE_OVER_8PI_2 * ( P->L * LE * ( m2 + 2*P->L ) + m2*m2 * log ( m/(P->L + LE) ) ) ; } double dm_Iva...
#ifndef RESIDUAL_H #define RESIDUAL_H #include "base.h" #include "peak_detection.h" #include "partial_tracking.h" #include "synthesis.h" extern "C" { #include "sms.h" } using namespace std; namespace simpl { // --------------------------------------------------------------------------- // Residual // // Calcu...
// // ECCardView.h // Beacon // // Created by 段昊宇 on 2017/5/29. // Copyright © 2017年 Echo. All rights reserved. // #import <UIKit/UIKit.h> #import "CCDraggableCardView.h" #import "ECReturningVideo.h" @interface ECCardView : CCDraggableCardView - (void)initialData:(ECReturningVideo *)video; - (void)addLiked; - (...
/* * RenderRasterize_Shader.h * Created by Clemens Unterkofler on 1/20/09. * for Aleph One * * http://www.gnu.org/licenses/gpl.html */ #ifndef _RENDERRASTERIZE_SHADER__H #define _RENDERRASTERIZE_SHADER__H #include "cseries.h" #include "map.h" #include "RenderRasterize.h" #include "OGL_FBO.h" #include "OGL_...
#pragma once #ifndef HPTT_PARAM_PARAMETER_TRANS_H_ #define HPTT_PARAM_PARAMETER_TRANS_H_ #include <array> #include <utility> #include <unordered_map> #include <unordered_set> #include <algorithm> #include <hptt/types.h> #include <hptt/tensor.h> #include <hptt/arch/compat.h> #include <hptt/util/util_trans.h> #include ...
#pragma once #include <vector> #include <boost/thread.hpp> #include <boost/thread/condition_variable.hpp> #include <boost/bind.hpp> #include <boost/version.hpp> #include <boost/function.hpp> #include <boost/interprocess/detail/atomic.hpp> #if (BOOST_VERSION < 104800) using boost::interprocess::detail::atomic_inc32;...
/* * Copyright (c) 2014-2016 Alex Spataru <alex_spataru@outlook.com> * * This file is part of the QSimpleUpdater library, which is released under * the DBAD license, you can read a copy of it below: * * DON'T BE A DICK PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, * DISTRIBUTION AND MODIFICATION: * ...
#include <stdio.h> #include "aeb.h" #include <string.h> #include <math.h> int main() { Aeb * raiz, *esq, * dir; Aeb * arvore; double r; char s[127]; /*arvore = criaRaiz('*'); esq = criaFolha(10.0); dir = criaFolha(7.0); conectaNodos(arvore, esq, dir); raiz = criaRaiz('+'); dir = criaFolha(8.0); ...
static inline struct pthread *__pthread_self() { struct pthread *self; __asm__ ("mov %%fs:0,%0" : "=r" (self) ); return self; } #define TP_ADJ(p) (p) #define MC_PC gregs[REG_RIP]
#ifndef __MACROS_H__ #define __MACROS_H__ #include "config.h" #define __KERNELNAME__ "code0" /* * This file is automatically included before the first line of any * source file, using gcc's -imacro command line option. Only macro * definitions will be extracted. */ #define INC_ARCH(x) <l4/arch/__AR...
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.Navigation/1.3.1/Transition.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Int.h> namespace g{ namespace Fuse{ namespace Triggers{ // public enum TransitionMode :181 uEnumType* Transitio...
#include <unistd.h> #include <sys/stat.h> int remove(const char *pathname) { struct stat buf; stat(pathname, &buf); if (S_ISDIR(buf.st_mode)) { return rmdir(pathname); } else { return unlink(pathname); } }
/*! * \file in_memory_configuration.h * \brief A ConfigurationInterface for testing purposes. * \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com * * This implementation accepts configuration parameters upon instantiation and * it is intended to be used in unit testing. * * ------------------------...
/** ****************************************************************************** * @file BSP/Inc/main.h * @author MCD Application Team * @version V1.2.6 * @date 06-May-2016 * @brief Header for main.c module ****************************************************************************** ...
/* Copyright (C) 2004 Jacquelin POTIER <jacquelin.potier@free.fr> Dynamic aspect ratio code Copyright (C) 2004 Jacquelin POTIER <jacquelin.potier@free.fr> originally based from APISpy32 v2.1 from Yariv Kaplan @ WWW.INTERNALS.COM This program is free software; you can redistribute it and/or modify it under the terms of...
/* * $Id: channel_manager.h 44 2011-02-15 12:32:29Z kaori $ * * Copyright (c) 2002-2011, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium * Copyright (c) 2002-2011, Professor Benoit Macq * Copyright (c) 2010-2011, Kaori Hagihara * All rights reserved. * * Redistribut...
#ifndef PLANG_TOKENIZER #define PLANG_TOKENIZER #include <map> #include <vector> #include <string> #include <cstring> #include <cstdlib> #include <cctype> #include <algorithm> class PlangTokenizer { // Input buffer std::string m_input; // Current possition in input buffer std::size_t m_input_pos; ...
#ifndef Func_seq_H #define Func_seq_H #include "Procedure.h" #include <string> namespace RevLanguage { /** * @brief Function that creates a numerical sequence. * * This function is the equivalent to the 'R' function seq(). * The function creates a numerical sequence from the specified val...
/* ** ** This file is part of BananaCam. ** ** BananaCam 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. ** ** BananaCam is distribu...
/* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. This file is part of GNU Inetutils. GNU Inetutils is free software: you can redistribute it and/or modify it under the terms of the GNU Gen...
/* This file is part of the 'orilib' software. */ /* Copyright (C) 2007-2009, 2012 Romain Quey */ /* see the COPYING file in the top-level directory.*/ #ifdef __cplusplus extern "C" { #endif #ifndef OL_DIS_DEP_H #define OL_DIS_DEP_H #include<stdio.h> #include<stdlib.h> #include<math.h> #include<float.h> #define isNa...
/* * (C) 2003-2006 Gabest * (C) 2006-2013 see Authors.txt * * This file is part of MPC-HC. * * MPC-HC 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...
/* ** ################################################################### ** This code is generated by the Device Initialization Tool. ** It is overwritten during code generation. ** USER MODIFICATION ARE NOT PRESERVED IN THIS FILE. ** ** Project : s08qe128 ** Processor : MCF51QE128CLK ** Vers...
/********************************************************************** ** smepowercad ** Copyright (C) 2015 Smart Micro Engineering GmbH ** 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, eithe...
// BOINC Sentinels. // https://projects.romwnet.org/boincsentinels // Copyright (C) 2009-2014 Rom Walton // // BOINC Sentinels 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 th...
// -*- C++ -*- // // generated by wxGlade 0.7.2 // // Example for compiling a single file project under Linux using g++: // g++ MyApp.cpp $(wx-config --libs) $(wx-config --cxxflags) -o MyApp // // Example for compiling a multi file project under Linux using g++: // g++ main.cpp $(wx-config --libs) $(wx-config --cxxfl...
/* DreamChess ** ** DreamChess is the legal property of its developers, whose names are too ** numerous to list here. Please refer to the AUTHORS.txt file distributed ** with this source distribution. ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU Gener...
/* * Multi2Sim * Copyright (C) 2012 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...
#include <shlobj.h> HRESULT CreateDataObject(FORMATETC *,STGMEDIUM *,IDataObject **,int);
/* * FuchsTracker.c Copyright (C) 1999 Sylvain "Asle" Chipaux * * Depacks Fuchs Tracker modules * * Modified in 2006,2007,2014 by Claudio Matsuoka */ #include <string.h> #include <stdlib.h> #include "prowiz.h" static int depack_fuchs(HIO_HANDLE *in, FILE *out) { uint8 *tmp; uint8 max_pat; /*int ssize;*/ ...
/** * This file is part of RagEmu. * http://ragemu.org - https://github.com/RagEmu/Renewal * * Copyright (C) 2016 RagEmu Dev Team * Copyright (C) 2012-2015 Hercules Dev Team * Copyright (C) Athena Dev Teams * * RagEmu is free software: you can redistribute it and/or modify * it under the terms of the GNU Ge...
enum MessageType { TYPE_CHAT_MESSAGE = 2000 }; enum PropertyType { PR_CHAT_NICK = 3000, PR_CHAT_TEXT };
/************************************************************************** * Karlyriceditor - a lyrics editor and CD+G / video export for Karaoke * * songs. * * Copyright (C) 2009-2013 George Yunaev, support@ulduzsoft.com * * ...
/** ****************************************************************************** * @file I2C/I2C_TwoBoards_ComPolling/Src/stm32f4xx_it.c * @author MCD Application Team * @version V1.2.7 * @date 17-February-2017 * @brief Main Interrupt Service Routines. * This file provides temp...
#ifndef __CLOCK_ROM_H__ #define __CLOCK_ROM_H__ #define ROM_ALARM0_DAY_MASK 0 #define ROM_ALARM0_HOUR 1 #define ROM_ALARM0_MIN 2 #define ROM_ALARM0_DUR 3 #define ROM_ALARM1_ENABLE 4 #define ROM_TIME_IS12 10 #define ROM_BEEPER_MUSIC_INDEX 11 #define ROM_BEEPER_ENABLE 12 #define ROM_POWERSAVE...
/* Copyright (C) 2010 Erik Hjortsberg <erik.hjortsberg@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 your option) any later version. This p...
/*****************************************************************/ /* Source Of Evil Engine */ /* */ /* Copyright (C) 2000-2001 Andreas Zahnleiter GreenByte Studios */ /* */ /*****************************************************************/ /* Dyna...
#ifndef __ASSIGN_SPRITES_H #define __ASSIGN_SPRITES_H void AssignSprites(void); #endif
/** * @file gensvm_debug.c * @author G.J.J. van den Burg * @date 2016-05-01 * @brief Functions facilitating debugging * * @details * Defines functions useful for debugging matrices. * * @copyright Copyright 2016, G.J.J. van den Burg. This file is part of GenSVM. GenSVM is free software: you can redistribu...
/* Report an error and exit. Copyright (C) 2017-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 vers...
/* =========================================================================== Shadow of Dust GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Shadow of Dust GPL Source Code ("Shadow of Dust Source Code"). Shadow of Dust Source Code is free software: you can ...
/* * Copyright (C) 2007-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...
#ifndef LIGHTNET_SUBSAMPLE_MODULE_H #define LIGHTNET_SUBSAMPLE_MODULE_H #include "module.h" using namespace std; using FeatureMap = vector<vector<Neuron*>>; FeatureMap* matrifyNeurons(vector<Neuron*>& v, int sizex, int sizey) { FeatureMap *fmap = new FeatureMap(); fmap->resize(sizex); int z = 0; for(unsigned...
/* Copyright (C) 2013 Edwin Velds This file is part of Polka 2. Polka 2 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...
/* avr_libs Copyright (C) 2014 Edward Sargsyan avr_libs 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. avr_libs is distri...
#ifndef VIDDEF_H #define VIDDEF_H #include <QObject> // FFmpeg is a pure C project, so to use the libraries within your C++ application you need // to explicitly state that you are using a C library by using extern "C"." extern "C" { #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <libavfor...
/** * Copyright (C) 2008 Happy Fish / YuQing * * FastDFS may be copied only under the terms of the GNU General * Public License V3, which may be found in the FastDFS source kit. * Please visit the FastDFS Home Page http://www.csource.org/ for more detail. **/ //tracker_nio.h #ifndef _TRACKER_NIO_H #define _TRACKER_NI...
/* * Copyright (C) 2018 Olzhas Rakhimov * * 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 di...
/* File: deref.h ** Author(s): Jiyang Xu, Terrance Swift, Kostis Sagonas ** Contact: xsb-contact@cs.sunysb.edu ** ** Copyright (C) The Research Foundation of SUNY, 1986, 1993-1998 ** Copyright (C) ECRC, Germany, 1990 ** ** XSB is free software; you can redistribute it and/or modify it under the ** terms of the...
/* gbp-flatpak-runner.h * * 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 * (at your op...
/* bricks.h -- bricks module; Copyright (C) 2015, 2016 Bruno Félix Rezende Ribeiro <oitofelix@gnu.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, or (at your option)...
/*************************************************************************** * matrix_statistics.h: * * TODO: add doc * * Written by Anthony Lomax * ALomax Scientific www.alomax.net * * modified: 2010.12.16 ***************************************************************************/ #define CONFIDENCE_LEVEL...
/* ----------------------------------------------------------------------------------------------- This source file is part of the Particle Universe product. Copyright (c) 2010 Henry van Merode Usage of this program is licensed under the terms of the Particle Universe Commercial License. You can find a copy of the Co...
/* * LazyListView * Copyright (C) 2015 Romeo Calota <kicsyromy@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 late...
//========================================================================== // // include/sys/ioctl.h // // // //========================================================================== //####BSDCOPYRIGHTBEGIN#### // // ------------------------------------------- // // Portions of this software may have b...
// Sound file format definition -- A. Amiruddin -- 25/12/2016 // REVISION HISTORY // None //================================================================================================= // Copyright (C) 2016 Afeeq Amiruddin // // This program is free software: you can redistribute it and/or modify // it...
#include "config.h" #include "hardware.h" #include "data.h" #include "instruction.h" #include "rung.h" #include "plclib.h" #include "project.h" int project_task(plc_t p) { // /**************start editing here***************************/ BYTE one, two, three; one = resolve(p, BOOL_DI, 1); two = fe(p, BOOL_DI, 2...
#include<stdio.h> #include<big_integer.h> #include<string.h> #include<time.h> #include"gen_lib.h" int main(int argc,char** argv) { if(argc<3) { printf("usage %s <length> <num> \n",argv[0]); exit(-1); } FILE* bash=fopen("bash.dat","w+"); FILE* python=fopen("py.dat","w+"); int length=atoi(argv[1]); int num=a...
/* Zik2ctl * Copyright (C) 2015 Aurélien Zanelli <aurelien.zanelli@darkosphere.fr> * * Zik2ctl 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...
// // AppDelegate.h // Pedigree // // Created by user on 12.09.13. // Copyright (c) 2013 user. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* * $Revision: 2299 $ * * last checkin: * $Author: gutwenger $ * $Date: 2012-05-07 15:57:08 +0200 (Mon, 07 May 2012) $ ***************************************************************/ /** \file * \brief Declaration of class SplitHeuristic. * * \author Andrea Wagner * * \par License: * This file ...
/* Simple DirectMedia Layer Copyright (C) 1997-2015 Sam Lantinga <slouken@libsdl.org> 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 u...
/* * Copyright (C) 2015 Bailey Forrest <baileycforrest@gmail.com> * * This file is part of CCC. * * CCC is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
/* Copyright (C) 2012 Statoil ASA, Norway. The file 'config_content_node.h' is part of ERT - Ensemble based Reservoir Tool. ERT 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 ...
/* * File: Queue.h * Author: Sileno Brito * * Created on 2 de Setembro de 2013, 11:27 */ #ifndef QUEUE_H #define QUEUE_H #include <ext/struct/Node.h> #include <ext/struct/List.h> #ifdef __cplusplus extern "C" { #endif typedef struct list queue; struct EngineQueue { queue * (*createEmpty)(in...
/* * * Mouse driver * */ #include <kernel/system.h> #include <kernel/logging.h> #include <kernel/pipe.h> #include <kernel/module.h> #include <kernel/mouse.h> #include <kernel/args.h> static uint8_t mouse_cycle = 0; static uint8_t mouse_byte[4]; #define PACKETS_IN_PIPE 1024 #define DISCARD_POINT 32 #define MOUSE...
/* Project 16 Source Code~ * Copyright (C) 2012-2021 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * * Project 16 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 S...
#include "defs.h" #include "fdefs.h" #include <stdlib.h> void gasify(job) char *job; { char command[MAXCOMM] ; char g_type[MAXCOMM] ; double temp_y ; double temp_slope ; double rho_shock ; double temp_shock ; double gas_frac ; double rhobar ; double metal ; double rho ; ...
/*Hoi André, Na iets meer gedachten hierover zou ik de interface een tikkeltje willen aanpassen, om iets meer aan te sluiten bij de DPPP-filosofie. Ik ben het aan het implementeren, kan zijn dat het niet afkomt tijdens de vlucht. Ik stuur m'n idee nu vast zodat jij niet onnodig werk zit te doen. Stel dat jouw kl...
/* * Parameters.h * * Created on: 31/01/2017 * Author: Lucas Teske */ #ifndef SRC_PARAMETERS_H_ #define SRC_PARAMETERS_H_ #define Q(x) #x #define QUOTE(x) Q(x) // These are the parameters used by the demodulator. Change with care. // GOES HRIT Settings #define HRIT_CENTER_FREQUENCY 1694100000 #define HRI...
#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fap.h> #define EXIT_SUCCESS 0 char *readstdin(void); int main() { char* input; unsigned int input_len; fap_packet_t* packet; char fap_error_output[1024]; fap_init(); /* Get packet to parse from stdin */ input = readstdin...
/* Copyright (C) 2013 Nils Weiss, Patrick Bruenn. This file is part of Wifly_Light. Wifly_Light 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 y...
////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014, Jonathan Balzer // // All rights reserved. // // This file is part of the R4R library. // // The R4R library is free software: you can redistribute it and/or modify // it under the terms of the GNU General Publi...
/* Copyright (C) 2014-2022 FastoGT. All right 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 conditio...
#include <thread.h> #include <processor.h> #include <interrupt.h> #include <printk.h> _Atomic long long min_time = 0; static struct thread *__select_thread(struct processor *proc) { /* throw the old process back on the queue */ spinlock_acquire(&proc->schedlock); if(current_thread->flags & THREAD_DEAD) current_t...
#ifdef PARSER_H #define PARSER_H int parse(char *content, long fsize, int argsc, char *args[]); #endif
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sonic Visualiser An audio file viewer and annotation editor. Centre for Digital Music, Queen Mary, University of London. This file copyright 2008 QMUL. This program is free software; you can redistribute it and/o...
/* * Leaktrack, a Memory Leack Tracker. * Copyright (C) 2002-2008 Aymerick Jehanne <aymerick@jehanne.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 2 of the License...
/* classes: h_files */ #ifndef SCM_HASHTAB_H #define SCM_HASHTAB_H /* Copyright (C) 1995,1996,1999,2000,2001, 2003, 2004, 2006, 2008, 2009, 2011 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * a...
///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2018- Equinor ASA // // 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, either version...
/* WebROaR - Ruby Application Server - http://webroar.in/ * Copyright (C) 2009 Goonj LLC * * This file is part of WebROaR. * * WebROaR 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 o...
/* 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[5]; atomic_int atom_1_r1_1; atomic_int atom_1_r13_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, mem...
#include "CAN.h" #include "led.h" #include "delay.h" #include "usart.h" ////////////////////////////////////////////////////////////////////////////////// //±¾³ÌÐòÖ»¹©Ñ§Ï°Ê¹Óã¬Î´¾­×÷ÕßÐí¿É£¬²»µÃÓÃÓÚÆäËüÈκÎÓÃ; //ALIENTEKÕ½½¢STM32¿ª·¢°å //CANÇý¶¯ ´úÂë //ÕýµãÔ­×Ó@ALIENTEK //¼¼ÊõÂÛ̳:www.openedv.com //ÐÞ¸ÄÈÕÆÚ:201...
/* Liquid War 6 is a unique multiplayer wargame. Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Christian Mauduit <ufoot@ufoot.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 F...
#include <stdio.h> #include <stdlib.h> //#include <elf.h> #define ELF_MAGIC 16 //#define MEM_ALLOC_H(ptr) ptr = (FILE *) malloc (sizeof(myElf32_Ehdr)); //#define MEM_ALLOC_S(ptr) ptr = (FILE *) malloc (sizeof(myElf32_Shdr)); #define VALIDATE(ptr) if (!(ptr)) {\ fprintf(stdout, "%s", "Returned NULL\n");\ exit(...
// simplewall // Copyright (c) 2016-2021 Henry++ #pragma once #include "routine.h" #include <winsock2.h> #include <ws2ipdef.h> #include <ws2tcpip.h> #include <windns.h> #include <mstcpip.h> #include <iphlpapi.h> #include <aclapi.h> #include <dbt.h> #include <fwpmu.h> #include <mmsystem.h> #include <...
/******************************************************************************** ** Form generated from reading UI file 'addECGDialog.ui' ** ** Created by: Qt User Interface Compiler version 5.7.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **************************************...
/* 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[5]; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memory_order_seq_cst); ato...
#ifndef __BACKTRACE_H__ #define __BACKTRACE_H__ #include <stdint.h> void __backtrace(uintptr_t rbp, uintptr_t stack_begin, uintptr_t stack_end); uintptr_t stack_begin(void); uintptr_t stack_end(void); void backtrace(void); #endif /*__BACKTRACE_H__*/
/* 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_0_r3_2; atomic_int atom_1_r1_1; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 2, memo...
/* Dylan Secreast * dsecrea2@uoregon.edu * CIS 415 Project 0 * This is my own work except for the base * code that was provided by Prof. Sventek */ #ifndef _DATE_H_INCLUDED_ #define _DATE_H_INCLUDED_ typedef struct date Date; /* * date_create creates a Date structure from `datestr` * `datestr' is...