text
stringlengths
4
6.14k
/* ----------------------------- MNI Header ----------------------------------- @NAME : ms_roi.h @DESCRIPTION: constants, typedefs and external vars for roi list structure @CREATED : Wed Jul 7 20:50:20 EST 1993 Louis Collins @MODIFIED : -------------------------------------------------------...
/* * 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" #endif #include "devfs.h" int devFS_node_type( rtems_filesystem_location_info_t *pathloc ) { /* ...
// glassgui.h // // glassgui(1) Audio Encoder front end // // (C) Copyright 2015-2022 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 Foundati...
/* * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 3 of the License, or (at your * option) any l...
// rippit - A no-nonsense program to rip audio CDs // // Copyright (C) 2011 Trever Fischer <tdfischer@fedoraproject.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...
#ifndef __ASM_SH_PCI_H #define __ASM_SH_PCI_H #ifdef __KERNEL__ #include <linux/dma-mapping.h> /* Can be used to override the logic in pci_scan_bus for skipping already-configured bus numbers - to be used for buggy BIOSes or architectures with incomplete PCI setup by the loader */ #define pcibios_assign_all_b...
#ifndef MYHEADER_H #define MYHEADER_H #include <string.h> #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> typedef struct { char* requestRaw; } HTTPRequest; //needs to be called before working with the webcore int initWebcore(); int registerApplication(int (*function)(HTTPR...
/*************************************************************************** * Copyright (C) 2005 by Joris Guisson * * joris.guisson@gmail.com * * ivasic@gmail.com * * ...
/* FluidSynth - A Software Synthesizer * * Copyright (C) 2003 Peter Hanappe and others. * * 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 (a...
// 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_NET_PRECONNECT_H_ #define CHROME_BROWSER_NET_PRECONNECT_H_ #include "chrome/browser/net/url_info.h" class GURL; namespace n...
/*************************************************************************** * $Id$ * * Copyright 2004 Gagarine Yaikhom * gyaikhom@gmail.com ****************************************************************************/ /* * This program is free software; you can redistribute it and/or modify * it under th...
extern mouse_t mouse_serial_msystems;
#ifndef __BUSQUEDA__ #define __BUSQUEDA__ #include <stdio.h> #include "Evalua.h" int evalua_variante(Tablero tab,Variante var); int exp_j_cj(Tablero tab,Variantes var,Jugador jug); int maxima(Variantes variantes); int movimiento_variantes(Tablero tab,Variantes variantes,Jugador jugador) /* En entrada:E...
/****************************************************************************** * drivers/xen/tpmback/common.h */ #ifndef __TPM__BACKEND__COMMON_H__ #define __TPM__BACKEND__COMMON_H__ #include <linux/version.h> #include <linux/module.h> #include <linux/interrupt.h> #include <linux/slab.h> #include <xen/evtchn.h> #i...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2015 Benoit Steiner <benoit.steiner.goog@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You ca...
#include "kvm/virtio-console.h" #include "kvm/virtio-pci-dev.h" #include "kvm/disk-image.h" #include "kvm/virtio.h" #include "kvm/ioport.h" #include "kvm/util.h" #include "kvm/term.h" #include "kvm/mutex.h" #include "kvm/kvm.h" #include "kvm/pci.h" #include "kvm/threadpool.h" #include "kvm/irq.h" #include "kvm/guest_co...
/* * ---------------------------------------------------------------- * Copyright c Realtek Semiconductor Corporation, 2002 * All rights reserved. * * $Header: /cvs/sw/linux-2.4.x/drivers/net/re865x/rtl865x/Attic/asicTabs.h,v 1.1.2.1 2007/09/28 14:42:31 davidm Exp $ * * Abstract: ASIC table field de...
/* * Copyright (c) 2006 Franck Bui-Huu * Copyright (c) 2006 Rene Scharfe */ #include "cache.h" #include "builtin.h" #include "archive.h" #include "pkt-line.h" #include "sideband.h" static int run_remote_archiver(const char *remote, int argc, const char **argv) { char *url, buf[LARGE_PACKET_MAX]; int fd[...
/* * Copyright (C) 1996-2015 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #ifndef __ASYNC_IO_H__ #define __ASYNC_IO_H_...
/**************************************************************************** * Copyright (C) 2012 by Jens Nissen jens-chessx@gmx.net * ****************************************************************************/ #ifndef HELPBROWSER_H #define HELPBROWSER_H #include <QTextBrowser> class HelpBrows...
/****************************************************************************** CRYSTALPALACE - Episode specific code *******************************************************************************/ #include "g_local.h" #include "voice_punk.h" #include "voice_bitch.h" void ProcessKingpin (edict_t *self, edict_t ...
/* * cexcel - A library to read data from Excel spread sheets * * Copyright (C) 2007 RIKEN Japan, 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 ...
/**************************************************************************** * * CONFIDENTIAL * * Copyright (c) 2009 Yamaha Corporation * * Module : D4NP2_Ctrl_def.h * * Description : D-4NP2 control define * * Version : 1.0.2 2009.01.16 * ************************************************************...
/* * occampi_fe.h -- interface to occam-pi front-end * Copyright (C) 2005 Fred Barnes <frmb@kent.ac.uk> * * 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, o...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2008 William Jon McCann <jmccann@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; ...
/* * InstrumentFunctions.h - models for instrument-functions-tab * * Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net> * * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net * * This program is free software; you can redistribute it and/or * modify it under the t...
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- nautilus-link.h: . Copyright (C) 2001 Red Hat, 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 ve...
/* * * This source code is part of * * G R O M A C S * * GROningen MAchine for Chemical Simulations * * VERSION 3.2.0 * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others. * Copyright (c) 1991-2000, University of G...
/* * rtm_map.c * * 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. * * Authors: Alexey Kuznetsov, <kuz...
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A P...
#define CPARSER_MAJOR "0" #define CPARSER_MINOR "9" #define CPARSER_PATCHLEVEL "14" #define CPARSER_VERSION CPARSER_MAJOR "." CPARSER_MINOR "." CPARSER_PATCHLEVEL
/* strerror.c * * cml hacked on this function 940627 * so that the error message would be copied into a static buffer, * and then return a ptr to that buffer. * * Previously, a ptr into the sys_errlist array was returned, * but this caused core dumps. I don't understand the problem * but it's better now. *...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * GThumb * * Copyright (C) 2009 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 F...
// Copyright (C) 2005 - 2021 Settlers Freaks (sf-team at siedler25.org) // // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include "driver/VideoDriver.h" #include <SDL.h> class VideoDriverLoaderInterface; struct VideoMode; class VideoSDL2 final : public VideoDriver { void CleanUp(); public: Vide...
/* 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 ...
/* * Copyright (C) 2014-2019 Firejail Authors * * This file is part of firejail project * * 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 o...
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2010, Digium, Inc. * * David Vossel <dvossel@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 project...
#pragma once // Created on 2015/08/18 // Including headers in common #include "mongoExp/programs/mongoExpProgram.h" #include "mongoExp/programs/mongoExpSub1.h" #include "mongoExp/programs/mongoExpSub2.h"
///////////////////////////////////////////////////////////////////////////// // Name: wx/minifram.h // Purpose: wxMiniFrame base header // Author: Julian Smart // Modified by: // Created: // Copyright: (c) Julian Smart // RCS-ID: $Id: minifram.h 70345 2012-01-15 01:05:28Z VZ $ // Licence...
///////////////////////////////////////////////////////////////////////////// // Name: wx/gdiobj.h // Purpose: wxGDIObject base header // Author: Julian Smart // Modified by: // Created: // Copyright: (c) Julian Smart // RCS-ID: $Id: gdiobj.h 70345 2012-01-15 01:05:28Z VZ $ // Licence: wxWind...
/** * \file * * \brief Chip-specific system clock manager configuration * * Copyright (c) 2014-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
#include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #ifdef IS_FBSD #include "machine/soundcard.h" #define DSP_DEVICE "/dev/dsp" #endif #ifdef IS_OBSD #include "soundcard.h" #define DSP_DEVICE "/dev/sound" #endif #ifdef IS_LINUX #include <sys/soundcard.h> #define ...
/* * 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" #endif #include "devfs.h" int devFS_stat( const rtems_filesystem_location_info_t *loc, struct s...
/* * 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 even the im...
/* ** Job Arranger for ZABBIX ** Copyright (C) 2012 FitechForce, Inc. All Rights Reserved. ** Copyright (C) 2013 Daiwa Institute of Research Business Innovation Ltd. 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...
#ifndef StGermain_SobolGeneratorSuite_h #define StGermain_SobolGeneratorSuite_h void SobolGeneratorSuite( pcu_suite_t* suite ); #endif
/**************************************************************************** * [S]imulated [M]edieval [A]dventure multi[U]ser [G]ame | \\._.// * * -----------------------------------------------------------| (0...0) * * SMAUG 1.4 (C) 1994, 1995, 1996, 1998 by Derek Snider | ).:.( * * -----...
#define _USE_MATH_DEFINES #include <math.h> void rszset(float SR, float cf, float bw, float xinit, float *a) { double exp(),cos(); int i; a[0]=exp(-M_PI*bw/SR); a[1]=1.-a[0]; a[2]=2.*a[0]*cos(2.*M_PI*cf/SR); a[3] = -a[0]*a[0]; if(!xinit) for(i=4; i<9; i++) a[i]=0.; } float re...
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "framebuffer/fb_draw.h" #include "image2screen.h" static int fb0; static void *fbdata_buf = NULL; static int fbdata_bufsize = 0; extern void image2screen_init(char *fb_file) { fb_open(fb_file); fbdata_bufsize = fb_bufsize(); printf("The buf...
/******************************************************************************* * * * Copyright 2006, Huawei Technologies Co. Ltd. * ALL RIGHTS RESERVED * *------------------------------------------------------------------------------- * * ...
/** ****************************************************************************** * @file TIM/TIM_InputCapture/Src/stm32f4xx_it.c * @author MCD Application Team * @version V1.1.0 * @date 26-June-2014 * @brief Main Interrupt Service Routines. * This file provides template for all...
/* * STMicrolectronics STiG125 SoC audio glue driver * * Copyright (c) 2012-2013 STMicroelectronics Limited * * Authors: John Boddie <john.boddie@st.com> * Japneet Chhatwal <Japneet.chhatwal@st.com> * * This program is free software; you can redistribute it and/or modify * it under the ter...
/* * lib/reed_solomon/encode_rs.c * * Overview: * Generic Reed Solomon encoder / decoder library * * Copyright 2002, Phil Karn, KA9Q * May be used under the terms of the GNU General Public License (GPL) * * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de) * * $Id: encode_rs.c 2 2007-04-05 08:...
/*************************************************************************** qgsvectorlayerdiagramprovider.h -------------------------------------- Date : September 2015 Copyright : (C) 2015 by Martin Dobias Email : wonder dot sk at gmail dot com ********************...
/* __LICENSE_HEADER_BEGIN__ */ /* * Copyright (C) 2009-2011 Emmanuel Roullit <emmanuel@netsniff-ng.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, o...
/* Copyright (C) 2004 Michael Liebscher <wolf3d.redux@gmail.com> Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.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 ...
/* * This file is part of the coreboot project. * * Copyright (C) 2008-2009 coresystems 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; version 2 of * the License. * * This prog...
/* High Adventure 3D Game Engine Copyright (C) 2002 Rodney Degracia 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...
// // Copyright (C) 2002-2008 Simon Howard // // 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 program is ...
// Query.h: interface for the CQuery class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_QUERY_H__8A3116E5_E735_4FF9_A61D_5566130C3610__INCLUDED_) #define AFX_QUERY_H__8A3116E5_E735_4FF9_A61D_5566130C3610__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 10...
/* Copyright (c) 2009 Michael Leupold <lemma@confuego.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 version. This pr...
/* gEDA - GPL Electronic Design Automation * libgeda - gEDA's Library * Copyright (C) 2011 gEDA Contributors (see ChangeLog for details) * * 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 Foundati...
/* * ===================================================================================== * * Filename: hello.c * * Description: * * Version: 1.0 * Created: 2012年09月04日 11时47分44秒 * Revision: none * Compiler: gcc * * Author: James Lee (Jsl), pighacker@gmail...
#define square(x) (x*x)
#ifndef __TABLE_HEADER_H__ #define __TABLE_HEADER_H__ //accountinfo enum{ eUSER_NAME, ePASS_WORD, }; //account_info enum{ eACCOUNT_INFO_ID, eACCOUNT_INFO_USR, eACCOUNT_INFO_NICKNAME, eACCOUNT_INFO_PWD, eACCOUNT_INFO_BIRTHDAY, }; //player_info enum{ ePLAYER_INFO_ID, ePLAYER_INFO_NICKNAME, ePLAYER_INFO_MONEY...
/* NEshare is a peer-to-peer file sharing toolkit. Copyright (C) 2001, 2002 Neill Miller This file is part of NEshare. NEshare 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...
/* ksim - a system monitor for kde * * Copyright (C) 2001 Robbie Ward <linuxphreak@gmx.co.uk> * * 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 *...
#include "stdlib.h" #include "interrupts.h" #include "tty.h" typedef struct { uint16 address_0_15; uint16 selector; uint8 reserved; uint8 type; uint16 address_16_31; } __attribute__((packed)) IntDesc; typedef struct { uint16 limit; void *base; } __attribute__((packed)) IDTR; IntDesc *idt = (void*)0xFFFFC000; ...
/* * util-common.h * * Copyright (c) 2006-2021 Pacman Development Team <pacman-dev@archlinux.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, o...
/* * Copyright (C) 2014-2019 Firejail Authors * * This file is part of firejail project * * 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 o...
/* * Copyright (C) 2000,2001 Marco Ziech (mmz@gmx.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 * of the License, or (at your option) any later version. * * Th...
/* * Copyright (C) 2006 PA Semi, Inc * * Authors: Kip Walker, PA Semi * Olof Johansson, PA Semi * * Maintained by: Olof Johansson <olof@lixom.net> * * Based on arch/powerpc/platforms/maple/pci.c * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gener...
/* * %kadu copyright begin% * Copyright 2017 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com) * %kadu copyright end% * * 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...
/* Verify that overloaded built-ins for vec_insert() with short inputs produce the right codegen. Power8 variant. */ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-O2 -mdejagnu-cpu=power8" } */ #include <altivec.h> vector bool short testbs_var(unsigned short ...
#include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <asm/types.h> #include <mach/hardware.h> #include <asm/irq.h> #include <mach/irqs.h> #include <asm/mach/irq.h> #include <asm/mach/time.h> #include <linux/device.h> #include <linux/serial_8250.h> #include "common.h" static struct ...
/* * Copyright (C) 2014 OpenSIPS Solutions * * This file is part of opensips, a free SIP server. * * opensips 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...
// // PGTSNotificationTests.h // BaseTen // // Copyright (C) 2009 Marko Karppinen & Co. LLC. // // Before using this software, please review the available licensing options // by visiting http://basetenframework.org/licensing/ or by contacting // us at sales@karppinen.fi. Without an additional license, this software //...
/* * $Id$ * * CentroidFold: A generalized centroid estimator for predicting RNA * secondary structures * * Copyright (C) 2008-2010 Kengo Sato * * 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...
/* ============================================================ * * This file is a part of digiKam project * http://www.digikam.org * * Date : 2009-09-27 * Description : gui database error handler * * Copyright (C) 2009-2010 by Holger Foerster <Hamsi2k at freenet dot de> * * This program is free softwa...
#ifndef __ROCCAT_SAVE_DIALOG_H__ #define __ROCCAT_SAVE_DIALOG_H__ /* * This file is part of roccat-tools. * * roccat-tools 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,...
// Copyright (c) 2016 GeometryFactory SARL (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org); 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 y...
#include "public.h" #include <pthread.h> #include <signal.h> #include <syslog.h> extern int already_running(); extern void daemonize(const char *cmd); sigset_t mask; void reload() { /* reload config file */ syslog(LOG_INFO, "RELOAD CONFIG FILE"); } void *thr_fn(void * arg) { int signo; while(sigwait(&mask, &s...
/**************************************************************************** ** $Id: qt_os2.h 189 2011-06-16 16:08:06Z abwillis $ ** ** Includes OS/2 system header files. ** ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. ** Copyright (C) 2004 Norman ASA. Initial OS/2 Port. ** Copyright (C) 2005 netlab...
#ifndef __LINUX_SPINLOCK_UP_H #define __LINUX_SPINLOCK_UP_H #ifndef __LINUX_SPINLOCK_H # error "please don't include this file directly" #endif <<<<<<< HEAD #include <asm/processor.h> /* for cpu_relax() */ ======= >>>>>>> 296c66da8a02d52243f45b80521febece5ed498a /* * include/linux/spinlock_up.h - UP-debug version o...
// // SPALSound.h // Sparrow // // Created by Daniel Sperl on 28.05.10. // Copyright 2011 Gamua. All rights reserved. // // This program is free software; you can redistribute it and/or modify // it under the terms of the Simplified BSD License. // #import <Foundation/Foundation.h> #import "SPSound.h" /** -----...
#ifndef CONFIG_H #define CONFIG_H #define USERMANAGER_UID 1 #endif // CONFIG_H
#ifndef __PRIMITIVE_H__ #define __PRIMITIVE_H__ #include "MathGeoLib/include/MathGeoLib.h" #include "glew-2.0.0/include/GL/glew.h" class Primitive { public: enum Types { AXIS, GRID, SOLID_CUBE, SOLID_SPHERE, UNKNOWN }; Primitive(Types primitive_type) : m_type(primitive_type) {} virtual ~Primitive() {}...
#include<stdio.h> #include<stdlib.h> #define N 4 #define M 3 struct student{ long num; char str[15]; float score[M]; float avg; }stu[N],newstu[N]; #define Len sizeof(struct student) void main(){ char *filename = "../13.8.txt"; char *file = "../13.9.txt"; FILE *fp; struct student sp,stu_new; int i,j,k; float ...
/******************************************************************************* Copyright (C) Marvell International Ltd. and its affiliates This software file (the "File") is owned and distributed by Marvell International Ltd. and/or its affiliates ("Marvell") under the following alternative licensing terms. Once y...
/* * $Id: ACLBrowser.h,v 1.2 2003/02/21 22:50:04 robertc Exp $ * * * 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 ...
/** * @file * @brief header file UI callbacks for missions. */ /* Copyright (C) 2002-2015 UFO: Alien Invasion. 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 ...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * * 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; * * This program is dist...
#pragma once #ifdef __cplusplus extern "C" { #endif #include <dcrud/ClassID.h> typedef struct dcrudClassIDImpl_s { unsigned magic; byte package_1; byte package_2; byte package_3; byte clazz; } dcrudClassIDImpl; UTIL_DECLARE_SAFE_CAST( dcrudClassID ); #ifdef __cplusplus } #endif
/* $Id: ps_item_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $ * * Lasso - A free implementation of the Liberty Alliance specifications. * * Copyright (C) 2004-2007 Entr'ouvert * http://lasso.entrouvert.org * * Authors: See AUTHORS file in top-level directory. * * This program is free software; you can redistr...
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // $Id$ // // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 2006-2013 by The Odamex Team. // // This program is free software; you can redistribute it and/or // modify it under th...
/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 Mark Aylett <mark.aylett@gmail.com> This file is part of Aug written by Mark Aylett. Aug is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. Aug is free software; you can redistribute it and/or...
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2016 Mark Samman <mark.samman@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; eithe...
/* * This file is part of the KDE project * * Copyright (C) 2013 Arjen Hiemstra <ahiemstra@heimr.nl> * * 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 L...
#ifndef STRAT_SIMPLE_H #define STRAT_SIMPLE_H #include "kernel/stratege_machine/stratege.h" class stratcomplexedef : public strategy { public: int m_stratcolor; //////////////////////////////////////////////// /// function : Initialise() /// descrition : intialise the checkpoint color /// param : no...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager -- Network link manager * * 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 th...