text
stringlengths
4
6.14k
#ifdef CONFIG_TRACE DEF_HELPER_1(traceTicks, void, i32) DEF_HELPER_0(traceInsn, void) #if HOST_LONG_BITS == 32 DEF_HELPER_2(traceBB32, void, i64, i32) #endif #if HOST_LONG_BITS == 64 DEF_HELPER_2(traceBB64, void, i64, i64) #endif #endif #ifdef CONFIG_MEMCHECK DEF_HELPER_2(on_call, void, i32, i32) DEF_HELPER_1(on_ret, ...
#ifndef _STRIDE_SEARCH_UTILITIES_H_ #define _STRIDE_SEARCH_UTILITIES_H_ #define EARTH_RADIUS_KM 6371.220 #define ZERO_TOL 2.0e-9 #include <cmath> static const double deg2rad = std::atan(1.0) / 45.0; static const double PI = 4.0 * std::atan(1.0); void llToXYZ(double& x, double& y, double& z, const double& lat, const...
#define UTS_RELEASE "2.6.32.61"
/* ######################################################################## LXRAD - GUI for X programing ######################################################################## Copyright (c) : 2001-2018 Luis Claudio Gamboa Lopes This program is free software; you can redistribute it and/or modify ...
#include "platform.h" char *hook_raw_image_addr() { return (char*) (*(int*)(0x574C+0x18) ? 0x435627D8 : 0x41B724C0); } long hook_raw_size() { return 0x1076D90; } void *vid_get_viewport_live_fb() { void **fb=(void **)0x2300; unsigned char buff = *((unsigned char*)0x2130); // sub_FF839FC8 if (buff == 0) ...
#include <linux/netfilter_bridge/ebtables.h> #include <linux/module.h> #define NAT_VALID_HOOKS ((1 << NF_BR_PRE_ROUTING) | (1 << NF_BR_LOCAL_OUT) | \ (1 << NF_BR_POST_ROUTING)) static struct ebt_entries initial_chains[] = { { .name = "PREROUTING", .policy = EBT_ACCEPT, }, { .name = "OUTPUT", .policy =...
#ifndef __PLAYER_H__ #define __PLAYER_H__ #include "..\math\Box.h" #include "..\math\Sphere.h" #include "Camera.h" #include "level.h" #include "weapon.h" #define EPSILON_COL_LVL ( 0.1f ) #define EPSILON_COL_OBJ ( 0.5f ) class Player { public: Player( void ); ~Player( void ); void SetLevel( Level * level ); vo...
/* * Copyright (C) 2014-2017 StormCore * * 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 distributed...
#ifndef LOGISTICSORDERCONSIGNRESPONSE_H #define LOGISTICSORDERCONSIGNRESPONSE_H #include <TaoApiCpp/TaoResponse.h> #include <TaoApiCpp/domain/ConsignResult.h> /** * @brief TOP RESPONSE API: 货运发货接口。通过该接口可以在通过淘宝对物流公司下单,并且可以享有部分折扣优惠。 * * @author sd44 <sd44sdd44@yeah.net> */ class LogisticsOrderConsignResponse : pu...
/* This file is part of the KDE project * Copyright (C) 2011 Boudewijn Rempt <boud@kogmbh.com> * Copyright (C) 2011 Marijn Kruisselbrink <mkruisselbrink@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 as published b...
////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // Copyright : (C) 2015 Eran Ifrah // File name : PHPEntityVariable.h // // -------------------------------------------------------------...
/** * $Id$ * Copyright (C) 2008 - 2014 Nils Asmussen * * 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...
#ifndef _cameraspecific_gui_h_ #define _cameraspecific_gui_h_ // button codes as received by gui_main_task #define BGMT_PRESS_LEFT 0x1c #define BGMT_UNPRESS_LEFT 0x1d #define BGMT_PRESS_UP 0x1e #define BGMT_UNPRESS_UP 0x1f #define BGMT_PRESS_RIGHT 0x1a #define BGMT_UNPRESS_RIGHT 0x1b #define BGMT_PRESS_DOWN 0x20 #defi...
#ifdef GW_DEVEL_DEVICE #ifndef H__DEV_DKONG__H #define H__DEV_DKONG__H #include "device.h" using namespace std; class GW_Game_DKong_Info : public GW_Game_Info { public: GW_Game_DKong_Info(const string &platformdatapath) : GW_Game_Info("dkong", "Nintendo - Donkey Kong", "dkong", platformdatapat...
/* * This file is part of wl18xx * * Copyright (C) 2011 Texas Instruments 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 Software Foundation. * * This program is distributed in the hope th...
#ifndef KEXEC_PPC_H #define KEXEC_PPC_H #define MAXBYTES 128 #define MAX_LINE 160 #define CORE_TYPE_ELF32 1 #define CORE_TYPE_ELF64 2 extern unsigned char setup_simple_start[]; extern uint32_t setup_simple_size; extern struct { uint32_t spr8; } setup_simple_regs; extern unsigned char setup_dol_start[]; extern uint...
/* <proc_service.h> replacement for systems that don't have it. Copyright (C) 2000-2015 Free Software Foundation, Inc. This file is part of GDB. 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 Fo...
#define pr_fmt(fmt) SAMPLE_CHAR_DRV_NAME ": " fmt #include <linux/module.h> #include <linux/fs.h> #include <linux/cdev.h> #include <linux/device.h> #include "char-device.h" #define SAMPLE_CHAR_DEVS 16 static struct cdev *sample_cdev; static dev_t sample_devt; static struct class *sample_class; static int sampl...
/* main7-2.c ¼ìÑébo7-2.cµÄÖ÷³ÌÐò */ #include"c1.h" #define MAX_NAME 3 /* ¶¥µã×Ö·û´®µÄ×î´ó³¤¶È+1 */ typedef int InfoType; /* ´æ·ÅÍøµÄȨֵ */ typedef char VertexType[MAX_NAME]; /* ×Ö·û´®ÀàÐÍ */ #include"c7-2.h" #include"bo7-2.c" void print(char *i) { printf("%s ",i); } void main() { int...
/* GemRB - Infinity Engine Emulator * Copyright (C) 2003 The GemRB 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 option) any late...
/********************************************************************* * * Copyright 2010 Broadcom Corporation. All rights reserved. * * Unless you and Broadcom execute a separate written software license agreement * governing use of this software, this software is licensed to you under the * terms of the GNU Ge...
/* * File : board.h * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006, RT-Thread Develop Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://openlab.rt-thread.com/license/LICENSE * * Change Logs: * Date ...
#ifndef RESERVATION_STATIONS_H_INCLUDED #define RESERVATION_STATIONS_H_INCLUDED #include "definitions.h" typedef struct { ASMinstr *cmd; uint_fast32_t cycle_issued; uint_fast8_t stalls_ex; uint_fast8_t stalls_wb; } printinfo; typedef struct { ASMinstr cmd; int cycles_remaining; in...
// ********************************************************************** // // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
#ifndef octree #define octree // O monitor disponibilizou a estrutura da Octree abaixo, somente modifiquei as variaveis para melhor utilizacao // Armazena as coordenadas do ponto typedef struct _TPonto { float x, y, z; // Coordenadas em R³ do ponto } TPonto; // Estrutura utilizada para armazenar os atomos da protei...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
#include <sys/socket.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <arpa/inet.h> #include <unistd.h> #include <signal.h> int listener_d; void handle_shutdown(int sig) { if(listener_d) close(listener_d); fprintf(stderr, "\nBye!\n"); exit(0); } int catch_signal(int s...
// damped-sine "ring" generator #include <math.h> // times and frequencies are in number of samples struct RingGen { float l,r, Fc, Tc, t2; RingGen() { l=0; r=0; Fc=0; Tc=0; } float CalcFc(float F) { return 2*M_PI*sin(M_PI*F); } void SetT(float T) { Tc = pow(0.01, 1.0/T); } void SetFc(float F) { Fc = F; } void R...
/*********************************************************************** * * * Copyright (C) 1995 * * University Corporation for Atmospheric Research * * All Rights ...
/* kbhit() and getch() for Linux/UNIX Chris Giese <geezer@execpc.com> http://my.execpc.com/~geezer */ //#ifdef linux #include <sys/time.h> /* struct timeval, select() */ #include <termios.h> /* tcgetattr(), tcsetattr() */ #include <stdlib.h> /* atexit(), exit() */ #include <unistd.h> /* read() */ #...
#ifndef _IXDP2X00_H_ #define _IXDP2X00_H_ #define IXDP2X00_PHYS_CPLD_BASE 0xc7000000 #define IXDP2X00_VIRT_CPLD_BASE 0xfe000000 #define IXDP2X00_CPLD_SIZE 0x00100000 #define IXDP2X00_CPLD_REG(x) \ (volatile unsigned long *)(IXDP2X00_VIRT_CPLD_BASE | x) #define IXDP2400_CPLD_SYSLED IXDP2X00_CPLD_REG(0x0) #...
#include "sctp_common.h" static void usage(char *progname) { fprintf(stderr, "usage: %s [-r] [-v] stream|seq port\n" "\nWhere:\n\t" "-r After two bindx ADDs, remove one with bindx REM.\n\t" "-v Print context information.\n\t" " The default is to add IPv4 and IPv6 loopback addrs.\n\t" "st...
// // HTMangeAuthViewController.h // J3Dps // // Created by hadn't on 14-6-1. // Copyright (c) 2014年 hongtao5. All rights reserved. // #import "DrawerViewController.h" @interface HTMangeAuthViewController : DrawerViewController @end
#undef CONFIG_CRYPTO_TGR192
#ifndef FORCINGS_H #define FORCINGS_H #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include <structs.h> #include <globals.h> void Forcing_Init(Forcing* forcing); void Forcing_Free(Forcing* forcing); unsigned int PassesOther(Forcing* forcing, double maxtime, ConnData* conninfo); unsigned int PassesBina...
#ifndef HEADER_Platform #define HEADER_Platform /* htop - openbsd/Platform.h (C) 2014 Hisham H. Muhammad (C) 2015 Michael McConville Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ #include <stdbool.h> #include <sys/types.h> #include "Action.h" #include "BatteryMete...
#ifndef _TMR1_H #define _TMR1_H /** Section: Included Files */ #include <stdbool.h> #include <stdint.h> /** Section: TMR1 APIs */ void TMR1_Initialize(void); void TMR1_StartTimer(void); void TMR1_Reload(void); void TMR1_ISR(void); #endif // _TMR1_H
/****************************************************************************** $Id$ TextMMS: an ncurses audio player for Linux Copyright (C) 2003 Ben Hoskings <benhoskings@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* * Copyright (C) 2005-2011 MaNGOS <http://getmangos.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. * ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (C) 2015 Simon Stürz <simon.stuerz@guh.guru> * * * * This fil...
/* -*- mode: C; c-file-style: "gnu" -*- */ /* dbus-arch-deps.h Header with architecture/compiler specific information, installed to libdir * * Copyright (C) 2003 Red Hat, Inc. * * Licensed under the Academic Free License version 2.0 * * This program is free software; you can redistribute it and/or modify * it u...
/* * tcm_sita.h * * SImple Tiler Allocator (SiTA) private structures. * * Author: Ravi Ramachandra <r.ramachandra@ti.com> * * Copyright (C) 2009-2011 Texas Instruments, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
/* * The ManaPlus Client * Copyright (C) 2011-2015 The ManaPlus Developers * * 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 * the Free Software Foundation; either v...
/* * Matroska common data * Copyright (c) 2003-2004 The ffmpeg Project * * This file is part of FFmpeg. * * FFmpeg 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 Li...
/* * arch/ppc/boot/include/sandpoint_serial.h * * Location of the COM ports on Motorola SPS Sandpoint machines * * Author: Mark A. Greer * mgreer@mvista.com * * Copyright 2001 MontaVista Software Inc. * * This program is free software; you can redistribute it and/or modify it * under th...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the test suite of PySide2. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid commercial ...
// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // // $Id$ // // Copyright (C) 1993-1996 by id Software, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as pu...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
/* * No nick changes in channel UnrealIRCd Module (Channel Mode +N) * (C) Copyright 2014 Travis McArthur (Heero) and the UnrealIRCd 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; e...
/** * * Tennix! SDL Port * Copyright (C) 2003, 2007, 2008, 2009 Thomas Perl <thp@thpinfo.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 (a...
/* * Copyright (C) 2006-2011 B.A.T.M.A.N. contributors: * * Simon Wunderlich, Marek Lindner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is d...
// Copyright (C) 2003 Dennis Syrovatsky. All Rights Reserved. // // This file is part of the VNC system. // // The VNC system 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 Lice...
/* * Copyright 2008 Cisco Systems, Inc. All rights reserved. * Copyright 2007 Nuova Systems, Inc. All rights reserved. * * [Insert appropriate license here when releasing outside of Cisco] * This program is free software; you may redistribute it and/or modify * it under the terms of the GNU General Public Licen...
#include "seq_oss_writeq.h" #include "seq_oss_event.h" #include "seq_oss_timer.h" #include <sound/seq_oss_legacy.h> #include "../seq_lock.h" #include "../seq_clientmgr.h" #include <linux/wait.h> #include <linux/slab.h> struct seq_oss_writeq * snd_seq_oss_writeq_new(struct seq_oss_devinfo *dp, int maxlen) { struct ...
/*************************************************************** * Name: TreeControl.h * Purpose: Header for Graphical User Interface Frame Tree Control * Author: Mandrake (askefc@gmail.com) * Created: 2010-09-13 * Copyright: Mandrake () * License: ****************************************************...
#include <linux/backing-dev.h> #include <linux/mtd/mtd.h> #include "internal.h" struct backing_dev_info mtd_bdi_unmappable = { .capabilities = BDI_CAP_MAP_COPY, }; struct backing_dev_info mtd_bdi_ro_mappable = { .capabilities = (BDI_CAP_MAP_COPY | BDI_CAP_MAP_DIRECT | BDI_CAP_EXEC_MAP | BDI_CAP_READ_MAP),...
/* Linux driver for Philips webcam (C) 2004-2006 Luc Saillard (luc@saillard.org) NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx driver and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <luc@saillard.org>. The...
#include "audioDB/audioDB_API.h" #include "test_utils_lib.h" int main(int argc, char *argv[]) { adb_t *adb; adb_insert_t *batch = 0; adb_status_t status; clean_remove_db(TESTDB); adb = audiodb_create(TESTDB, 0, 0, 0); if(!adb) { return 1; } maketestfile("testfeature01", 2, (double[4]) {0,1,1,0}, ...
#ifndef WIDGET_H #define WIDGET_H #include <QWidget> namespace Ui { class Widget; } class Widget : public QWidget { Q_OBJECT public: explicit Widget(QWidget *parent = nullptr); ~Widget(); protected: virtual bool event(QEvent *event) override; virtual void timerEvent(QTimerEvent *event) override...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager Wireless Applet -- Display wireless access points and allow user control * * Dan Williams <dcbw@redhat.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
/** ****************************************************************************** * @file USB_Host/DynamicSwitch_Standalone/Src/menu.c * @author MCD Application Team * @version V1.3.1 * @date 09-October-2015 * @brief This file implements MSC Menu Functions *******************************...
/* * QEMU IRQ/GPIO common code. * * Copyright (c) 2007 CodeSourcery. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
#ifndef _TC_CBQ_H_ #define _TC_CBQ_H_ 1 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, int ewma_log, unsigned maxburst); unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, int ewma_log, unsigned minburst); #endif
#include <console/console.h> #include <arch/smp/mpspec.h> #include <arch/ioapic.h> #include <device/pci.h> #include <string.h> #include <stdint.h> static void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; static const char oem[8] = "COREBOOT"; static const char productid[12] = "X6DHR-iG "...
#pragma once #include "nwcobj.h" struct NWCInfo { wxString strUser; #pragma pack(push, 1) union { short nVersion; struct { char nVerMinor; char nVerMajor; }; }; #pragma pack(pop) bool bUnregistered; wxString strTitle; wxString strAuthor; wxString strLyricist; // from 2.0...
/************************************************************************ * IRC - Internet Relay Chat, include/paths.h * This file is copyright (C) 2001 Andrew Suffield * <asuffield@freenode.net> * * This program is free software; you can redistribute it and/or modify * ...
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:43 2014 */ /* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/config/isdn/drv/avmb1/t1pci.h */
/* * TFS4 2.0 File System Developed by Flash Planning Group. * * Copyright 2006-2007 by Memory Division, Samsung Electronics, Inc., * San #16, Banwol-Ri, Taean-Eup, Hwasung-City, Gyeonggi-Do, Korea * * All rights reserved. * * This software is the confidential and proprietary information * of Samsung Electroni...
#undef TRACE_SYSTEM #define TRACE_SYSTEM task #if !defined(_TRACE_TASK_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_TASK_H #include <linux/tracepoint.h> TRACE_EVENT(task_newtask, TP_PROTO(struct task_struct *task, unsigned long clone_flags), TP_ARGS(task, clone_flags), TP_STRUCT__entry( ...
/* * Serial Debugger Interface for exynos * * Copyright (C) 2012 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 distribu...
/* * arch/arm/mach-ixp4xx/include/mach/gpio.h * * IXP4XX GPIO wrappers for arch-neutral GPIO calls * * Written by Milan Svoboda <msvoboda@ra.rockwell.com> * Based on PXA implementation by Philipp Zabel <philipp.zabel@gmail.com> * * This program is free software; you can redistribute it and/or modify *...
/**************************************************************************** ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** This file may be used under the terms of the GNU General Public ** License versions 2.0 or 3.0 as published ...
#ifndef _LINUX_MQUEUE_H #define _LINUX_MQUEUE_H #define MQ_PRIO_MAX 32768 #define MQ_BYTES_MAX 819200 struct mq_attr { long mq_flags; long mq_maxmsg; long mq_msgsize; long mq_curmsgs; long __reserved[4]; }; #define NOTIFY_NONE 0 #define NOTIFY_WOKENUP 1 #define NOTIFY_REMOVED 2 #define NOTIFY_COOKIE_...
// ********************************************************************** // // Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
#include "testutils.h" static int includes(unsigned alength, const uint8_t *adata, unsigned blength, const uint8_t *bdata) { struct spki_tag *atag = make_tag(alength, adata); struct spki_tag *btag = make_tag(blength, bdata); if (spki_tag_includes(atag, btag)) { release_tag(atag); release_tag(b...
#pragma once #include "InstanceEntity.h" #include "Geometry/GeometricShape.h" #include "Common/CommonMirco.h" #include "PathEngine/LocalBoundary.h" #include "PathEngine/AStarPathCorridor.h" #include "PathEngine/AStarPathfindingInterface.h" namespace hiveCrowd { namespace Kernel { const int HIVE_CROWD_MAX_NEIGHBORS ...
// -*- c++ -*- // This file is part of the Collective Variables module (Colvars). // The original version of Colvars and its updates are located at: // https://github.com/Colvars/colvars // Please update all Colvars source files before making any changes. // If you wish to distribute your changes, please submit them t...
/* Copyright (C) 2010 Paul Davis Author: Robin Gareus <robin@gareus.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...
////////////////////////////////////////////////////////////////////////// /// COPYRIGHT NOTICE /// Copyright (c) 2010, Õã½­¹²´´¼¼ÊõÓÐÏÞ¹«Ë¾ /// All rights reserved. /// /// @file itsip.c /// @brief ЭÒé¿âº¯Êý¶¨Òå /// /// /// /// @version 2.0 /// @author xuliang<gxuliang@gmail.com> /// @d...
#ifndef TPX_HYDROGEN_H #define TPX_HYDROGEN_H #include "cantera/tpx/Sub.h" namespace tpx { class hydrogen : public Substance { public: hydrogen() { m_name = "hydrogen"; m_formula = "H2"; } virtual ~hydrogen() {} double MolWt(); double Tcrit(); double Pcrit(); double Vcrit...
///@brief Vector operations. Maybe not the most optimized code, but works (kind of) class BZK_VecOps { public: ///TODO: improve this to handle non-normalized vectors - or maybe rename this. inline static BZK_FixP Angle(BZK_Vec3f &aVec1,BZK_Vec3f &aVec2) { return DotProductFix(aVec1,aVec2); } ///TODO: u...
/* * Boss Ogg - A Music Server * (c)2004 by Adam Torgerson (adam.torgerson@colorado.edu) * This project's homepage is: http://bossogg.wishy.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 Found...
/* * Commandline option parsing functions * * Copyright (c) 2003-2008 Fabrice Bellard * Copyright (c) 2009 Kevin Wolf <kwolf@redhat.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Softw...
/* * aboot/include/string.h * prototypes for the functions in lib/string.c. * We used to use the definitions from linux/string.h but more recent * kernels don't provide these to userspace code. */ #include <linux/types.h> extern char * ___strtok; extern char * strcpy(char *,const char *); extern char * strncpy...
/* * Copyright (c) 2011-2014 zhangjianlin ÕżöÁÖ * eamil:jonas88@sina.com * addr: china * 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 * no...
#ifndef _SYS_WAIT_H #include_next <sys/wait.h> /* Now define the internal interfaces. */ extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc, int __options); libc_hidden_proto (__waitpid) extern int __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options); extern __pid_t __libc_waitpid (pid_t __p...
#ifndef MTSEC_H #define MTSEC_H /* MTSec rulesset class * * Copyright (C) 2005, 2007 Lee Begg and the Thousand Parsec 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...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <sys/prctl.h> #include <signal.h> #include "perf_event.h" #include "perf_fuzzer.h" #include "fuzzer_determinism.h" #include "fuzzer_logging.h" #include "fuzzer_stats.h" #include "fuzz_prctl.h" void prctl_random_event(void) { ...
/* * This file is part of the coreboot project. * * Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de> * * 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, ...
/* * GPIO and IRQ definitions for HTC Magician PDA phones * * Copyright (c) 2007 Philipp Zabel * * 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. * */ #ifndef _MAGI...
int main() { int true_var = 5; int false_var = 0; return !( (true_var || false_var) && !(true_var && false_var) && (true_var && !false_var) && (true_var || false_var && false_var) ); }
/*------------------------------------------------------------------------- fs2sint.c Copyright (C) 2004, Vangelis Rokas <vrokas at otenet.gr> This library 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 Foun...
/* This file is part of the KDE project Copyright (C) 2005-2006 Jarosław Staniek <staniek@kde.org> This program 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 Licen...
/* default_folder.h WJ109 */ #ifndef DEFAULT_FOLDER_H_WJ109 #define DEFAULT_FOLDER_H_WJ109 1 #define DEFAULT_FOLDER_W 512 #define DEFAULT_FOLDER_H 512 extern unsigned char default_folder_img[DEFAULT_FOLDER_W*DEFAULT_FOLDER_H*4]; #endif /* DEFAULT_FOLDER_H_WJ109 */ /* EOB */
// ************************************************************************* // // Copyright 2004-2010 Bruno PAGES . // // This file is part of the BOUML Uml Toolkit. // // 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 // th...
/* * Copyright (c) 2001 Tony Bybell. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publis...
// Cyphesis Online RPG Server and AI Engine // Copyright (C) 2004-2006 Alistair Riddoch // // 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 opti...
#include "ports.h" unsigned short pciConfigReadWord (unsigned short bus, unsigned short slot, unsigned short func, unsigned short offset); unsigned short pciCheckVendor(unsigned short bus, unsigned short slot);