text
stringlengths
4
6.14k
/* * Mach Operating System * Copyright (c) 1993 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * softw...
#ifndef SDM_BITSTRING_H #define SDM_BITSTRING_H #include <stdint.h> typedef uint64_t bitstring_t; void bs_init_bitcount_table(void); bitstring_t* bs_alloc(const unsigned int len); void bs_free(bitstring_t *bs); void bs_init_zeros(bitstring_t *bs, unsigned int len, unsigned int bits_remaining); void bs_init_ones(b...
#ifndef SERVER_BROWSE_MENU_H #define SERVER_BROWSE_MENU_H #include "gui/gui2_canvas.h" class GuiTextEntry; class GuiButton; class GuiListbox; class GuiSelector; class ServerBrowserMenu : public GuiCanvas { public: enum SearchSource { Local, Internet }; private: GuiTextEntry* manual_ip...
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:41 2014 */ /* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/asm-x86/mach-voyager/do_timer.h */ #if defined(__cplusplus) && !CLICK_CXX_PROTECTED # error "missing #include <click/cxxprotect.h>" #endif /* defines for inline arch setup functions */...
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:39 2014 */ /* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/asm-generic/bitops/sched.h */ #ifndef _ASM_GENERIC_BITOPS_SCHED_H_ #if defined(__cplusplus) && !CLICK_CXX_PROTECTED # error "missing #include <click/cxxprotect.h>" #endif #define _ASM_...
/*************************************************************************** * Copyright (C) 2010 by Naomasa Matsubayashi * * fadis@quaternion.sakura.ne.jp * * * * All rights reserved. ...
#ifndef RAND_H #define RAND_H class Rand { public: Rand(); virtual ~Rand(); protected: private: }; #endif // RAND_H
/* * \brief Munich - starts Linux * \date 2006-06-28 * \author Bernhard Kauer <kauer@tudos.org> */ /* * Copyright (C) 2006,2007,2010 Bernhard Kauer <kauer@tudos.org> * Technische Universitaet Dresden, Operating Systems Research Group * * This file is part of the OSLO package, which is distributed under ...
#include "xml/Node.h" #include "xml/DOMParser.h" #include "xml/DOMHelper.h" #include "mpd/MPD.h" #include "mpd/AdaptationSet.h" #include "mpd/Period.h" #include "mpd/Representation.h" #include "mpd/Segment.h" #include <cstdlib> #include <sstream> using namespace comcast_dash; using namespace comcast_dash::xml; using ...
/* * python-krb5.h - common module header file * * Copyright 2009 - Benjamin Montgomery (bmontgom@montynet.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...
#ifndef ROUTER_H #define ROUTER_H #include "module.h" class Router : public Module { public: enum RouterRegister { BUFFER,SPIKE_OUT} ; enum RouterParams {PROBA,PRECISION_PROBA}; Router(int row=0,int col=0); virtual void computeState() override; virtual void setDefaultParams(Module::ParamsPtr para...
/* * Copyright (C) 2002-2010 The DOSBox 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 2 of the License, or * (at your option) any later version. * * This p...
// Copyright 2013 Dolphin Emulator Project // Licensed under GPLv2 // Refer to the license.txt file included. #pragma once #include "Common/CommonTypes.h" #include "Core/HW/SI_Device.h" class PointerWrap; class ISIDevice; namespace MMIO { class Mapping; } // SI number of channels enum { MAX_SI_CHANNELS = 0x04 }; ...
#include "leds_sw.h" #include <cust_leds.h> #include <cust_leds_def.h> #define AAAAAAAAAAAAAAAAAAAA /**************************************************************************** * LED HAL functions ***************************************************************************/ extern void mt_leds_wake_lock_init(void);...
#ifndef _SDM_XTEDS_VERIFICATION_H_ #define _SDM_XTEDS_VERIFICATION_H_ #include <stdlib.h> #include <stdio.h> #include <string.h> extern "C" { #include "xTEDSParser.h" } class SDMLIB_API xTEDSVerification { public: static bool VerifyQualifiers(const char* ItemName, const char* Interface, qualifier_type* QualifierList...
/* * arch/arm/plat-omap/include/mach/common.h * * Header for code common to all OMAP machines. * * 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 yo...
#define __MAJOR_VERSION 0 #define __MINOR_VERSION 11 #define __RELEASE_NUM 3 #define __BUILD_NUM 2 #include <stdver.h> #define __PLUGIN_NAME "Tox protocol" #define __FILENAME "Tox.dll" #define __DESCRIPTION "Tox proto...
#pragma once /* * Copyright (C) 2010-2013 Team XBMC * http://xbmc.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, or (at your option) * any later ver...
/** * This function basically deals with the display function realted to the vectors. * Usage: display(_NAME_OF_THE_ARRAY) * VARIABLES USED: * 1.) vector<double> GivenVector: This is the variable used to take the vector argument provided by the user. * 2.) int CurrentElement: This is the variable which acts as an ...
/* * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@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 * 2 of the License, or (at your option) a...
/* * arch/powerpc/math-emu/efdcmpeq.c * * Copyright (C) 2006 Freescale Semiconductor, Inc. All rights reserved. * * Author: Ebony Zhu, ebony.zhu@freescale.com * * Description: * This file is the implementation of SPE instruction "efdcmpeq" * * This program is free software; you can redistribute it and/or * m...
#include "ls.h" static unsigned int line_number = 0; int dump(char *line, unsigned int len, void *user) { printf("%u\t", ++line_number); fwrite(line, len, 1, stdout); return 0; } int main(int argc, char *argv[]) { if (file_each_line(argv[1], dump, NULL)) return EXIT_FAILURE; return EXIT_SUCCESS; }
#pragma once /* * Copyright (C) 2005-2010 Team XBMC * http://www.xbmc.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, or (at your option) * any later...
#ifndef _LINUX_NAMEI_H #define _LINUX_NAMEI_H #include <linux/dcache.h> #include <linux/errno.h> #include <linux/linkage.h> #include <linux/path.h> struct vfsmount; enum { MAX_NESTED_LINKS = 8 }; struct nameidata { struct path path; struct qstr last; struct path root; struct inode *inode; /* path.dentry.d_inode...
/* DB API */ #include "csync2.h" #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <time.h> #include "db_api.h" #include "db_mysql.h" #include "db_postgres.h" #include "db_sqlite.h" #include "db_sqlite2.h" #define DEADLOCK_MESSAGE \ "Database backend...
/* Copyright (c) 2000, 2010, 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...
/* * csync2 - cluster synchronization tool, 2nd generation * LINBIT Information Technologies GmbH <http://www.linbit.com> * Copyright (C) 2004, 2005, 2006 Clifford Wolf <clifford@clifford.at> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
/** * \file openssl.h * * Copyright (C) 2006-2010, Paul Bakker <polarssl_maintainer at polarssl.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 ...
/* ** Zabbix ** Copyright (C) 2001-2014 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...
/* * $Id$ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Internet community; see the CONTRIBUTORS file for full * details. Many organizations have provided s...
// Copyright 2010 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. // TODO: Merge this with the original VideoConfigDiag or something // This is an awful way of managing a separate video backend. #pragma once #include <string> #include <vector> #include <wx/dialog.h...
/* * Hyves Desktop, Copyright (C) 2008-2009 Hyves (Startphone Ltd.) * http://www.hyves.nl/ * * 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...
#include <linux/module.h> #include <linux/vermagic.h> #include <linux/compiler.h> MODULE_INFO(vermagic, VERMAGIC_STRING); __visible struct module __this_module __attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .init = init_module, #ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module, ...
#undef DEBUG #include <linux/interrupt.h> #include <linux/oom.h> #include <linux/suspend.h> #include <linux/module.h> #include <linux/syscalls.h> #include <linux/freezer.h> #include <linux/wakelock.h> #define TIMEOUT (20 * HZ) static inline int freezeable(struct task_struct * p) { if ((p == current) || (p-...
/* This file is part of the KDE libraries Copyright (C) 2002 Hans Petter bieker <bieker@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is dist...
/* * app-data-container.h * Copyright (C) 2010-2018 Belledonne Communications SARL * * 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)...
#include "seatest.h" #include "../../src/engine/keys.h" static void treat_full_commands_right(void) { assert_int_equal(KEYS_WAIT, execute_keys(L"\"")); assert_int_equal(KEYS_WAIT, execute_keys(L"\"a")); assert_int_equal(KEYS_WAIT, execute_keys(L"\"a1")); assert_int_equal(KEYS_WAIT, execute_keys(L"\"a1d")); asser...
/** * Copyright (C) 2012 Konstantin Mosesov * * This file is part of Kamailio, a free SIP server. * * This file 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...
/* * Copyright (C) 2012 Peter Christensen <pch@ordbogen.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. * ...
/* -*- mode:c++ -*- ******************************************************** * file: TestParam.h * * author: Andreas Koepke * * copyright: (C) 2004 Telecommunication Networks Group (TKN) at * Technische Universitaet Berlin, Germany. * * This program is free software; you ...
/* Test exception in current environment. Copyright (C) 2004-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Aldy Hernandez <aldyh@redhat.com>, 2004. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser ...
/** * @file functions.h * @author hbuyse * @date 10/11/2015 */ #ifndef __FUNCTIONS_H__ #define __FUNCTIONS_H__ #include <fcgiapp.h> // FCGX_GetParam, FCGX_Request #include <stdbool.h> // bool typedef struct Request_s Request_t; /** * @brief Another request structure to stock the FCGX request...
/* Transfer the receive right from one port structure to another Copyright (C) 1996, 2003 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or modify it under the terms of the GNU General P...
/* * bc - bc module for eiwic * * by lordi@styleliga.org | http://lordi.styleliga.org/ * * 'bc' is copyrighted * 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <signal.h> #include <sys/...
#include "sensors/battery_voltage.h" #include "sensors/adc_sensor.h" struct measurable batt_v_measurables[] = { {.id = 0, .name = "battery voltage", .unit = "Volts"} }; struct sensor_type batt_v_sensor_type = { .sample_fn = &batt_v_sample, /* We are using the bus clock therefore we must not en...
/* * Copyright (c) 2004, Bull SA. All rights reserved. * Created by: Laurent.Vivier@bull.net * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. */ /* * assertion: * * aio_fsync() shall asynchronously force I/O o...
#ifndef EDITWINDOW_H #define EDITWINDOW_H #include <QMainWindow> class Highlighter; namespace Ui { class EditWindow; } class EditWindow : public QMainWindow { Q_OBJECT public: explicit EditWindow(QWidget *parent = 0,QString filePath = QString(),bool m_creation=false); ~EditWindow(); private: Ui::E...
/* * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyri...
/* * Unitlist * * $Id: units.c,v 1.12 1995/06/21 18:55:37 carnil Exp $ * */ /* System includes */ #include <assert.h> #include <string.h> /* Local includes */ #include "units.h" #include "mem.h" #include "lane.h" #include "load.h" #include "dump.h" #include "connect.h" #include "timers.h" #include "events.h" #in...
#include <element.h> /*these are the count values of where the particle gets stored, depending on where it came from 0 1 2 7 . 3 6 5 4 PRTO does (count+4)%8, so that it will come out at the opposite place to where it came in PRTO does +/-1 to the count, so it doesn't jam as easily */ int update_PRTO(UPDA...
#import "xmlvm.h" #import "android_widget_LinearLayout.h" // For circular include: @class java_lang_StringBuilder; @class android_view_View; @class android_internal_ViewHandler; @class android_view_ViewParent; @class android_widget_RadioButton; @class android_internal_Assert; @class org_xmlvm_iphone_UIFont; @class and...
#ifndef _HARDWARE_H #define _HARDWARE_H 1 #define PIN_TFT_RST 5 #define PIN_TFT_LIGHT 6 #define PIN_TFT_RD 7 #define PIN_TFT_WR 8 #define PIN_TFT_CD 9 #define PIN_TFT_CS 11 #define PIN_I2CRST 53 #define PIN_IRQ0 22 #define PIN_IRQ1 23 #define PIN_IRQ2 24 #define PIN_IRQ3 25 #define PIN_IRQ4 26 #define PIN_IRQ5 27 #d...
/* * Copyright (C) 2003 Robert Kooima * * NEVERBALL 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 program is d...
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
/* * GStreamer * Copyright (C) 2012 Matthew Waters <ystreet00@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, or (at your option) a...
/* * defs.h * Contains the global definitions. * * Author: RPS * * Created: Jan/96 * Copyright (c) 1999 by Richard J. Cook, University of Waterloo */ #ifndef __DEFS_H__ #define __DEFS_H__ /* * Boolean definitions */ #define BOOL int #define FALSE 0 #de...
#ifndef _MYADNS_H # define _MYADNS_H #define TRACK_REQUESTS 1 #define TRACK_FWD 1 #define TRACK_REV 2 int myadns_init(void (* /* callback */)(int /* type */, const void *, const void *), unsigned int /* concurrency */); void myadns_fini(void); int myadns_fwdlookup(const char *); int myadns_alllookup(const char *); in...
/** * Mupen64 - rom.h * Copyright (C) 2002 Hacktarux * * Mupen64 homepage: http://mupen64.emulation64.com * email address: hacktarux@yahoo.fr * * If you want to contribute to the project please contact * me first (maybe someone is already making what you are * planning to do). * * * This program is free so...
/* * MD header for contrib/gdtoa * * This file can be generated by compiling and running contrib/gdtoa/qnan.c * on the target architecture after arith.h has been generated. * * $FreeBSD: release/8.2.0/lib/libc/mips/gd_qnan.h 178580 2008-04-26 12:08:02Z imp $ */ #include <machine/endian.h> #if BYTE_ORDER == BI...
/* * CATPS.C: concat a series of PostScript files produced by yapp_pgplot. * * * 22-jun-97 cloned off catps, but made the last ps file the main one? */ #include <stdinc.h> #define STARTPAGE "%%PageBoundingBox: (atend)\n" #define SHOWPAGE "PGPLOT restore showpage\n" #define LBUF 256 void myerror(string msg...
/***************************************************************************** * GraphicsEffectItem.h: Represent an effect in the timeline. ***************************************************************************** * Copyright (C) 2008-2014 VideoLAN * * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr> * * This...
#ifndef __TCPFileDown_H #define __TCPFileDown_H class CTCPFileClient { PropertyMember(std::string,OptDir); //²Ù×÷Ŀ¼ public: CTCPFileClient(); ~CTCPFileClient(); public: int SetSockKeepAlive(SOCKET socket,DWORD dwHeartBeatTimeInterval,DWORD dwWaitTimeOfNoData); BOOL Connect(const std::string...
#pragma once // CClyCoffDlg dialog class CClyCoffDlg : public CDialog { DECLARE_DYNAMIC(CClyCoffDlg) public: CClyCoffDlg(CWnd* pParent = NULL); // standard constructor virtual ~CClyCoffDlg(); // Dialog Data enum { IDD = IDD_DIALOG_CLY_COFF_ATTR }; protected: virtual void DoDataExchange(CDataExchange* pDX);...
#ifndef __HPSJ5S_MIDDLE_LEVEL_API_HEADER__ #define __HPSJ5S_MIDDLE_LEVEL_API_HEADER__ #include <ieee1284.h> /*Scanner hardware registers*/ #define REGISTER_FUNCTION_CODE 0x70 /*Here goes function code */ #define REGISTER_FUNCTION_PARAMETER 0x60 /*Here goes function param */ #define ADDRESS_RESULT 0x20 /*Here we ...
// // AvatarSync // Copyright (C) 2014-2015 Wolf Posdorfer // // 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 file is part of Gambit // Copyright (c) 1994-2016, The Gambit Project (http://www.gambit-project.org) // // FILE: src/tools/enumpoly/nfgensup.h // Enumerate undominated subsupports of a support // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General...
/* Authorg - a GNOME DVD authoring tool * * Copyright (C) 2005 Jens Georg <mail@jensge.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, or * (at...
#ifndef AL_RADIXSORT_H #define AL_RADIXSORT_H #include <iterator> #include <algorithm> #include <vector> #include <type_traits> #include <limits> namespace al { template<typename cont> // only allow containers containing unsigned integral types typename std::enable_if< std::is_integral<typename cont::value_type>::...
/** * @file linux/include/asm-arm/arch-parrot/memory.h * * Copyright (C) 2007 Parrot S.A. * * @author ivan.djelic@parrot.com * @date 2007-06-11 * * 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 S...
#include "cache.h" #include "exec_cmd.h" #include "quote.h" #define MAX_ARGS 32 static const char *argv_exec_path; static const char *argv0_path; const char *system_path(const char *path) { #ifdef RUNTIME_PREFIX static const char *prefix; #else static const char *prefix = PREFIX; #endif struct strbuf d = STRBUF_IN...
/* * BlizzLikeCore integrates as part of this file: CREDITS.md and LICENSE.md */ #ifndef BLIZZLIKE_MOVEMENTGENERATOR_IMPL_H #define BLIZZLIKE_MOVEMENTGENERATOR_IMPL_H #include "MovementGenerator.h" template<class MOVEMENT_GEN> inline MovementGenerator* MovementGeneratorFactory<MOVEMENT_GEN>::Create(void* /*data*/)...
// // AKAvatarSupport.h // Avatar Support // // Created by Alexander Kempgen on 27.02.07. // Copyright 2007 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> @protocol MVChatPlugin; @class MVChatUser; @interface AKAvatarSupport : NSObject <MVChatPlugin> {} - (IBAction) requestAvatarMenuItemAc...
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. Copyright 2012 Lennart Poettering systemd 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...
/* * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. * Created by: salwan.searty REMOVE-THIS AT intel DOT com * This file is licensed under the GPL license. For the full content * of this license, see the COPYING file at the top level of this * source tree. This program tests the assertion tha...
/* * Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.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, or (at your * option) any later ve...
#include "b43legacy.h" #include "leds.h" #include "rfkill.h" static void b43legacy_led_turn_on(struct b43legacy_wldev *dev, u8 led_index, bool activelow) { struct b43legacy_wl *wl = dev->wl; unsigned long flags; u16 ctl; spin_lock_irqsave(&wl->leds_lock, flags); ctl = b43legacy_read16(dev, B43legacy_MM...
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings */ #import <AccountSettings/AccountsManager.h> @class NSMutableDictionary, NSMutableArray, NSArray; @interface AccountsManager : NSObject { NSMutableDictionary *_topLevel...
/* * Copyright (c) 2013, Cisco Systems, Inc. All rights reserved. * * This program is free software; you may 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. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT...
#ifndef __GSL_MATRIX_H__ #define __GSL_MATRIX_H__ /* #include <gsl/gsl_matrix_complex_long_double.h> */ /* #include <gsl/gsl_matrix_complex_double.h> */ /* #include <gsl/gsl_matrix_complex_float.h> */ //#include <gsl/gsl_matrix_long_double.h> #include "gsl_matrix_double.h" //#include <gsl/gsl_matrix_float.h> /* #i...
/** ****************************************************************************** * @file SPI/SPI_FullDuplex_ComDMA/Inc/stm32f4xx_it.h * @author MCD Application Team * @version V1.0.1 * @date 09-October-2015 * @brief This file contains the headers of the interrupt handlers. ****************...
#include "unicorn_test.h" #include <unicorn/unicorn.h> #include <assert.h> #include <string.h> #include <stdlib.h> static void test_idt_gdt_i386(/*void **state*/) { uc_engine *uc; uc_err err; uint8_t buf[6]; uc_x86_mmr idt; uc_x86_mmr gdt; uc_x86_mmr ldt; uc_x86_mmr tr; struct stat inf...
/********************************************************************** ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. ** ** This file is part of the Qtopia Environment. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the ...
#if !defined(GVPARSER_H) #define GVPARSER_H /// \file GVparser.h /// \brief header file for XML parser interface in GalaxyView // GVparser.h -- header file for XML parser interface in GalaxyView // // Copyright 2003, Quarterflash Design Group // // Licensed under GPL version 2 - see COPYING for details // // This prog...
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * viking * Copyright (C) 2009-2010, Guilhem Bonnefille <guilhem.bonnefille@gmail.com> * * viking 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...
// // HFSystemUtil.h // HFToolKit // // Created by crazylhf on 15/10/12. // Copyright © 2015年 crazylhf. All rights reserved. // #import <Foundation/Foundation.h> ///================================================================= #pragma mark - IOS System Version Macro #define HF_IOSSystem6_0Later ([HFSyste...
/* * Copyright 2015 Freescale Semiconductor, Inc. * * Freescale DCU drm device driver * * 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 opt...
/****************************************************************************** * compare_rating.h * * Source of KaHIP -- Karlsruhe High Quality Partitioning. * ****************************************************************************** * Copyright (C) 2013-2015 Christian Schulz <christian.schulz@kit.edu> * ...
/* Power management interface routines. Written by Mariusz Matuszek. This code is currently just a placeholder for later work and does not do anything useful. This is part of rtl8180 OpenSource driver. Copyright (C) Andrea Merello 2004 <andreamrl@tiscali.it> Released under the terms of GP...
#ifndef _ASM_X86_SIGNAL_H #define _ASM_X86_SIGNAL_H #ifndef __ASSEMBLY__ #include <linux/linkage.h> /* Most things should be clean enough to redefine this at will, if care is taken to make libc match. */ #define _NSIG 64 #ifdef __i386__ # define _NSIG_BPW 32 #else # define _NSIG_BPW 64 #endif #define _NSIG_WO...
#include<stdio.h> int main() { int num, i; int pac_mass = 1; scanf("%d", &num); float x_man, y_man, vector_x = 0.0, vector_y = 0.0; scanf("%f %f", &x_man, &y_man); float x[num]; float y[num]; for(i=0; i<num; i++) { scanf("%f %f", &x[i], &y[i]); } for(i=0; i<num; i++)...
/* * SDLRoids - An Astroids clone. * * Copyright (c) 2000 David Hedbor <david@hedbor.org> * based on xhyperoid by Russel Marks. * xhyperoid is based on a Win16 game, Hyperoid by Edward Hutchins * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the ...
// rdslotoptions.h // // Container class for RDCartSlot options // // (C) Copyright 2012,2016 Fred Gleason <fredg@paravelsystems.com> // // 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 ...
/* * Created by Eda Yildirim * (2014 DESY) * * email:eda.yildirim@cern.ch */ #ifndef ALIBAVACLUSTERCONVERTER_H #define ALIBAVACLUSTERCONVERTER_H 1 // alibava includes ".h" #include "AlibavaBaseProcessor.h" // marlin includes ".h" #include "marlin/Processor.h" // lcio includes <.h> #include <IMPL/LCRunHeaderI...
/* * Incubator * * Adrian Bowyer * 14 June 2004 * */ #ifndef INCUBATOR_H #define INCUBATOR_H #include "stdlib.h" // System library #include "stdio.h" // Standard input/output definitions #include "string.h" // String function definitions #include "unistd.h" // UNIX standard function definitions #inc...
// // ZoomStoryOrganiser.h // ZoomCocoa // // Created by Andrew Hunter on Thu Jan 22 2004. // Copyright (c) 2004 Andrew Hunter. All rights reserved. // #import <Foundation/Foundation.h> #import "ZoomStory.h" #import "ZoomStoryID.h" #import "ZoomBlorbFile.h" @protocol ZoomStoryIDFetcherProtocol - (out bycopy Zoo...
/*************************************************************************** * * * $Id: saveme.c,v 1.2 2008-07-06 15:17:35 hoganrobert Exp $ * * *...
#ifndef __LINUX_TEXTSEARCH_H #define __LINUX_TEXTSEARCH_H #include <linux/types.h> #include <linux/list.h> #include <linux/kernel.h> #include <linux/err.h> #include <linux/slab.h> struct module; struct ts_config; #define TS_AUTOLOAD 1 /* Automatically load textsearch modules when needed */ #define TS_...
/* * @File: lab_b.c * * Sinopsis: Laboratorio B * * Programa que responde a las funcionalidades planteadas en el laboratorio B de programación. * * @author: Santiago Hoyos Zea * * fecha: 16/05/2017 * * @version 0.1 - Entrega 1 */ #include <stdio.h> #define n 5 void getns(char *cadena); void scanfns(c...
/* * Copyright 2001-2006 Adrian Thurston <thurston@complang.org> * 2004 Erich Ocean <eric.ocean@ampede.com> * 2005 Alan West <alan@alanz.com> */ /* This file is part of Ragel. * * Ragel is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publ...
/* * Seahorse * * Copyright (C) 2008 Stefan Walter * * 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...