text
stringlengths
4
6.14k
#ifndef COIN_SOSHADOWSTYLEELEMENT_H #define COIN_SOSHADOWSTYLEELEMENT_H /**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) 1998-2008 by Kongsberg SIM. All rights reserved. * * This library is free software; y...
/* * Copyright (c) 2003, 2007-8 Matteo Frigo * Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology * * See the file COPYING for license information. * */ /* This file was automatically generated --- DO NOT EDIT */ /* Generated on Mon Nov 10 20:54:56 EST 2008 */ #include "codelet-rdft.h" #ifdef HAV...
/* memoryword.w Copyright 2009-2010 Taco Hoekwater <taco@@luatex.org> This file is part of LuaTeX. LuaTeX 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...
#ifndef ALIGNEDREADCONVERT_H_ #define ALIGNEDREADCONVERT_H_ #include <stdlib.h> #include <stdio.h> #include <zlib.h> #include "AlignedRead.h" #include "AlignedEntry.h" #include "BError.h" void AlignedReadConvertPrintHeader(FILE*, RGBinary*, int, char*); void AlignedReadConvertPrintOutputFormat(AlignedRead*, RGBinary...
/* * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. * Created by: rusty.lynch 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. Test case for assertion #25 of the si...
/* xkb-callbacks.h * * Copyright (C) 2016 Dmytro Poltavchenko <dmytro.poltavchenko@gmail.com> * * Copyright (C) 2008 Alexander Iliev <sasoiliev@mamul.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 So...
/* arch/arm/mach-exynos/hardware.c * * Meizu Mobilephone Hardware information support * * Author : Li Tao <litao@meizu.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 Foundation. */...
#include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/gpio.h> #include <linux/fs.h> #include <linux/errno.h> #include <asm/uaccess.h> #include <linux/version.h> #include <linux/types.h> #include <linux/kdev_t.h> #include <linux/device.h> #include ...
/***************************************************************** * $Id: std_comptype.h 0001 2016-07-13T15:39:19 rutger $ * * Copyright (C) 2016 Red-Bag. All rights reserved. * This file is part of the Biluna STD project. * * See http://www.biluna.com for further details. ***************************************...
/** @file connectmodule.h @brief Contains ConnectModule - Call Module for connection establishment at incoming connection @author Gernot Hillier <gernot@hillier.de> $Revision: 1.5 $ */ /*************************************************************************** * ...
/* * uicartridge.h - Cartridge save image dialog for the Xaw widget set. * * Written by * pottendo <pottendo@gmx.net> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the t...
// This file is part of Hermes2D. // // Hermes2D 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. // // Hermes2D is distributed in th...
/* * linux/drivers/pcmcia/pxa2xx_palmld.c * * Driver for Palm LifeDrive PCMCIA * * Copyright (C) 2006 Alex Osborne <ato@meshy.org> * Copyright (C) 2007-2011 Marek Vasut <marek.vasut@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gene...
/* FreeCS Project Copyright (C) 2016, 2017 Marco "eukara" Hladik 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 ...
../sockets/read_line.c
#include <stdint.h> #include "ball.h" #include "lcd.h" void printBall(const struct _ball *const ball, DRAWTYP m) { int8_t j,i; for(j = 0; j <=BALLSIZE; j++) for(i = -BALLSIZE+j; i <= BALLSIZE-j; i++) { MK3_LCD_PIXEL_AT(ball->x+i, ball->y+j, m); __asm volatile ("nop \n");...
/* $Id: termbits.h,v 1.1 2000/07/10 16:32:31 bjornw Exp $ */ #ifndef __ARCH_ETRAX100_TERMBITS_H__ #define __ARCH_ETRAX100_TERMBITS_H__ #include <linux/posix_types.h> typedef unsigned char cc_t; typedef unsigned int speed_t; typedef unsigned int tcflag_t; #define NCCS 19 struct termios { tcflag_t c_iflag; /* input...
#include <pthread.h> #include <stdlib.h> #include <stdio.h> #include "threads.h" static struct pthread_node * head; void add_thread(pthread_t tid){ struct pthread_node * new_node =malloc(sizeof(struct pthread_node)); if(new_node == NULL){perror("malloc add_thread");exit(-1);} new_node->ptid = tid; new_node->next...
// // SnacksViewController.h // skipers // // Created by Jorge Raul Ovalle Zuleta on 3/30/14. // Copyright (c) 2014 jomobile.co. All rights reserved. // #import <UIKit/UIKit.h> @interface SnacksViewController : UIViewController <UIPickerViewDataSource, UIPickerViewDelegate>{ NSMutableArray *VeggieArray; b...
/** * Copyright (C) 2005 - 2014 Emulex * 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 version 2 * as published by the Free Software Foundation. The full GNU General * Public License is included in this distri...
#ifndef WIDGETSKU_H #define WIDGETSKU_H #include <TaoApiCpp/TaoDomain.h> #include <QString> /** * @brief 组件sku信息 * * @author sd44 <sd44sdd44@yeah.net> */ class WidgetSku : public TaoDomain { public: virtual ~WidgetSku() { } QString getPrice() const; void setPrice (QString price); QString getProps() con...
/* -*- c++ -*- ---------------------------------------------------------- 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...
/**************************************************************** * * * Copyright 2001 Sanchez Computer Associates, Inc. * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * * the li...
/* XEvol3D Rendering Engine . (http://gforge.osdn.net.cn/projects/xevol3d/) Stanly.Lee 2006 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...
/* Copyright (c) 2020, 2021, MariaDB 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 the hope that it will be useful, but WITH...
#pragma once #include "Common/Common.h" #include "Common/MemoryUtil.h" #include "Core/ThreadEventQueue.h" #include "GPU/GPUInterface.h" #include "GPU/Common/GPUDebugInterface.h" #if defined(__ANDROID__) #include <atomic> #elif defined(_M_SSE) #include <xmmintrin.h> #endif typedef ThreadEventQueue<GPUInterface, GPUEv...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2000-2003, Ximian, Inc. */ #ifndef SOUP_SERVER_H #define SOUP_SERVER_H 1 #include <libsoup/soup-types.h> #include <libsoup/soup-uri.h> G_BEGIN_DECLS #define SOUP_TYPE_SERVER (soup_server_get_type ()) #define ...
/*************************************************************************** vrrubberband.h ------------------- copyright : (C) 2010 CREALP Lucien Schreiber ***************************************************************************/ /*************************************************************************** * ...
/* *** BasisShell Variable and Array *** src/parser/basisfunction.h Copyright T. Youngs 2007-2018 This file is part of Aten. Aten 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 Li...
#undef TRACE_SYSTEM #define TRACE_SYSTEM irq #if !defined(_TRACE_IRQ_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_IRQ_H #include <linux/tracepoint.h> struct irqaction; struct softirq_action; #define softirq_name(sirq) { sirq##_SOFTIRQ, #sirq } #define show_softirq_name(val) \ __print_symbolic(val, \...
#include <linux/module.h> #include <linux/vermagic.h> #include <linux/compiler.h> MODULE_INFO(vermagic, VERMAGIC_STRING); struct module __this_module __attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .init = init_module, #ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module, #endif .a...
/* -------------------------------------------------------------------- EXTREME TUXRACER Copyright (C) 1999-2001 Jasmin F. Patry (Tuxracer) Copyright (C) 2010 Extreme Tuxracer 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...
/* (C) IT Sky Consulting GmbH 2015 * http://www.it-sky-consulting.com/ * Author: Karl Brodowsky * Date: 2015-03-11 * License: GPL v2 (See https://de.wikipedia.org/wiki/GNU_General_Public_License ) */ #include <stdio.h> #include <stdlib.h> #include <arithmetic.h> const uint128 TEN_18 = 1000000000000000000L; cons...
#ifndef FIRST_NOT_REPEAT_CHAR_H_ #define FIRST_NOT_REPEAT_CHAR_H_ #include <cstring> char firstNotRepeatCharByArray(char* str) { int data[256]; char* p; if (str == NULL) return '\0'; memset(data, 0, sizeof(data)); p = str; while (*p != '\0') { int index = *p - 'a'; ++data[index]; ++p;...
#include "at24cxx.h" void AT24Cxx_init(struct AT24Cxx_init_struct* init) { I2C_InitTypeDef I2C_InitStructure; GPIO_InitTypeDef GPIO_InitStructure; /* Configure clocks */ RCC_APB1PeriphClockCmd(init->I2C_clock, ENABLE); RCC_APB2PeriphClockCmd(init->GPIO_clock | RCC_APB2Periph_AFIO , ENABLE); /* Configure I2C pi...
#pragma once // Return Codes enum { CELL_ATRAC_OK = 0x00000000, CELL_ATRAC_ERROR_API_FAIL = 0x80610301, CELL_ATRAC_ERROR_READSIZE_OVER_BUFFER = 0x80610311, CELL_ATRAC_ERROR_UNKNOWN_FORMAT = 0x80610312, CELL_ATRAC_ERROR_READSIZE_IS_TOO_SMALL ...
#ifndef __FIH_EMMC_H #define __FIH_EMMC_H #define FIH_EMMC_SIZE (64) void fih_emmc_setup(char *info); #endif /* __FIH_EMMD_H */
/* $Id: client.h,v 1.14 2006/05/13 01:12:59 jonz Exp $ */ /* DSPAM COPYRIGHT (C) 2002-2006 JONATHAN A. ZDZIARSKI 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. Thi...
/* Copyright (c) 2009, Code Aurora Forum. All rights 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 con...
/* * Copyright (C) 2001 Peter Kelly (pmk@post.com) * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) * Copyright (C) 2003, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it an...
/* $Id: makesalt.c,v 1.2 2005/06/04 18:01:32 hisi Exp $ */ /************************************************************************ * psybnc2.2.2, tools/makesalt.c * Copyright (C) 2001 the most psychoid and * the cool lam3rz IRC Group, IRCnet * http://www.psychoid.lam3rz.de * * This...
/* * MARS Long Distance Replication Software * * This file is part of MARS project: http://schoebel.github.io/mars/ * * Copyright (C) 2010-2014 Thomas Schoebel-Theuer * Copyright (C) 2011-2014 1&1 Internet AG * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
#ifndef CMD_LINE_H #define CMD_LINE_H #include <QString> static const QString CMD_LINE_DEVELOPER_TOOLS = "--developer-tools"; #endif // CMD_LINE_H
#include <linux/cpumask.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/of.h> #include <linux/smp.h> #include <linux/sched.h> #include <linux/elf.h> #include <asm/cputhreads.h> #include "bgq.h" static int __init smp_bgq_probe(void) { return num_possible_cpus(); } static int smp_bgq_cpu_bootabl...
#ifndef _SATOSHI_BLOCK_H_ #define _SATOSHI_BLOCK_H_ #include <stdint.h> #include "satoshi_protocol.h" #ifdef __cplusplus extern "C" { #endif typedef struct block_file_header { uint32_t magic; uint32_t length; }block_file_header_t; typedef struct satoshi_block_header { int32_t version; unsigned char prev_hash[3...
/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: kernel * PURPOSE: GDI EngCopyBits Function * FILE: win32ss/gdi/eng/copybits.c * PROGRAMER: Jason Filby */ #include <win32k.h> #define NDEBUG #include <debug.h> /* * @implemented */ BOOL APIENTRY EngC...
// Copyright (c) 2011 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_PROXY_SERVICE_FACTORY_H_ #define CHROME_BROWSER_NET_PROXY_SERVICE_FACTORY_H_ #include "base/basictypes.h" class CommandLi...
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <poll.h> #include <signal.h> #include <sys/types.h> #include <unistd.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #define KER_RW_R8 0 #define KER_RW_R16 1 #define KER_RW_R32 2 #def...
/*************************************************************************** qgspalettedrasterrenderer.h --------------------------- begin : December 2011 copyright : (C) 2011 by Marco Hugentobler email : marco at sou...
/* vi:ai:et:ts=8 sw=2 */ /* * * This code implements the MD5 message-digest algorithm. * The algorithm is due to Ron Rivest. This code was * written by Colin Plumb in 1993, no copyright is claimed. * This code is in the public domain; do with it what you wish. * * Equivalent code is available from RSA Data Sec...
/* Begin-Doc Name: debug.c Description: debug routines End-Doc */ int DEBUG; char *ARGV0;
/* ---------------------------------------------------------------------- * * commune.h * This file is part of lincity. * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001. * (c) Corey Keasling, 2004 * ---------------------------------------------------------------------- */ #ifndef __commun...
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use ...
/* FLVMeta - FLV Metadata Editor Copyright (C) 2007-2019 Marc Noirot <marc.noirot AT gmail.com> This file is part of FLVMeta. FLVMeta 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; eith...
// Copyright 2013 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once #include "VideoCommon/VideoCommon.h" #include "VideoBackends/DX9/D3DUtil.h" namespace DX9 { // "Depalletize" means to remove stuff from a wooden pallet. // "Depalettize" means to convert from...
/** * @file op_scu.c * MPCORE Snoop Control Unit Event Monitor Driver * @remark Copyright 2004 ARM SMP Development Team * @remark Copyright 2000-2004 Deepak Saxena <dsaxena@mvista.com> * @remark Copyright 2000-2004 MontaVista Software Inc * @remark Copyright 2004 Dave Jiang <dave.jiang@intel.com> * @remark Copyr...
#ifndef URLRESOLVER_H #define URLRESOLVER_H #include <QtCore> #include <QtNetwork> class UrlResolver { public: static QUrl resolve(const QUrl &origUrl); private: static QNetworkRequest request(const QUrl &url); }; #endif // URLRESOLVER_H
#pragma once #include "Data.h" class CCenterDbOper : public CDbOper { public: CCenterDbOper(void); virtual ~CCenterDbOper(void); public: void SetDBInfo(std::string sDBServer,std::string sDBUser,std::string sDBPwd,std::string sDBName); BOOL MyConnDB(); BOOL ReadAgentMap(AGENT_ADDRESS_MAP &m_agent_...
#ifndef Renderer_Context_h #define Renderer_Context_h #include "RenderState/RenderStateOperations.h" //#include "../Math/Geometry/GeometryOperations.h" #include "Buffers/BuffersOperations.h" #include "VertexArray/VertexArrayOperations.h" #include "ShaderVertexAttributeCollection.h" namespace Aurora { namespace Rende...
#ifndef _SPARC64_PAGE_H #define _SPARC64_PAGE_H #include <linux/const.h> #if defined(CONFIG_SPARC64_PAGE_SIZE_8KB) #define PAGE_SHIFT 13 #elif defined(CONFIG_SPARC64_PAGE_SIZE_64KB) #define PAGE_SHIFT 16 #else #error No page size specified in kernel configuration #endif #define PAGE_SIZE (_AC(1,UL) << PAGE_S...
/* * This file is part of the libpayload project. * * Copyright (c) 2012 The Chromium OS Authors. * * 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 copyr...
/* * Interrupts_XPlained.h * * Created: 26.10.2014 16:01:24 * Author: InfangerIvo */ #ifndef INTERRUPTS_XPLAINED_H_ #define INTERRUPTS_XPLAINED_H_ #include "Globals.h" #endif /* INTERRUPTS_XPLAINED_H_ */
#ifndef DOTCONFPP_H #define DOTCONFPP_H #include <list> #include <stdarg.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #ifdef WIN32 #define PATH_MAX _MAX_PATH #define snprintf _snprintf #define strcasecmp stricmp ...
/* * Authors: James LewisMoss <jlm@racemi.com> * * Copyright (c) 2006 Racemi 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 2 of the License, or * (at your opti...
/**************************************************************************** * Copyright (C) 2012 by Jens Nissen jens-chessx@gmx.net * ****************************************************************************/ #ifndef __ECOTHREAD_H__ #define __ECOTHREAD_H__ #include <QThread> #include "game.h"...
/* (C) IT Sky Consulting GmbH 2014 * http://www.it-sky-consulting.com/ * Author: Karl Brodowsky * Date: 2014-02-27 * License: GPL v2 (See https://de.wikipedia.org/wiki/GNU_General_Public_License ) */ #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/sta...
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@colinux.org>, 2003 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. */ #ifndef __CO_KERNEL_QUEUE_H__ #define __CO_KERNEL_QUEUE_H__ #include "list.h" #include "common.h" typedef struct co_que...
#ifndef _MENU_GEAR_H_ #define _MENU_GEAR_H_ #include "uiuc_aircraft.h" #include "uiuc_convert.h" #include "uiuc_1DdataFileReader.h" #include "uiuc_2DdataFileReader.h" #include "uiuc_menu_functions.h" #include <FDM/LaRCsim/ls_generic.h> #include <FDM/LaRCsim/ls_cockpit.h> /* Long_trim defined */ #include <FDM/LaRCs...
// -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- #ifndef VEGASTRIKE_CMD_AI_AUTODOCKING_H #define VEGASTRIKE_CMD_AI_AUTODOCKING_H #include <deque> #include <boost/shared_ptr.hpp> #include "cmd/ai/order.h" #include "gfx/vec.h" class Unit; namespace Orders { // Navigate the player to the closest auto-d...
/* * File : listctrl.h * This file is part of RTGUI in RT-Thread RTOS * COPYRIGHT (C) 2010, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date ...
// Copyright 2010 Google Inc. All Rights Reserved. // Use of this source code is governed by a BSD-style license #ifndef WEBP_DEC_VP8I_H_ #define WEBP_DEC_VP8I_H_ #include <string.h> #include "./vp8li.h" #include "../utils/bit_reader.h" #include "../utils/thread.h" #include "../dsp/dsp.h" #if defined(__cplusplu...
#ifndef AUTO_CONNECT_SCREEN_H #define AUTO_CONNECT_SCREEN_H #include "gui/gui2_canvas.h" #include "playerInfo.h" class GuiLabel; class GuiOverlay; class AutoConnectScreen : public GuiCanvas, public Updatable { GuiOverlay* screen_connect; P<ServerScanner> scanner; sf::IpAddress connect_to_address; ECrewP...
/* pcapio.h * Declarations of our own routins for writing libpcap files. * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * Derived from code in the Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> * * Th...
/** $lic$ * Copyright (C) 2012-2014 by Massachusetts Institute of Technology * Copyright (C) 2010-2013 by The Board of Trustees of Stanford University * * This file is part of zsim. * * zsim is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as publishe...
/* * Copyright (C) 2002-2020 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...
/* This file is part of KDevelop Copyright 2002-2005 Roberto Raggi <roberto@kdevelop.org> Copyright 2006 Adam Treat <treat@kde.org> Copyright 2006-2008 Hamish Rodda <rodda@kde.org> Copyright 2007-2008 David Nolden <david.nolden.kdevelop@art-master.de> This library is free software; you can redistrib...
/* ** RopGadget - Release v4.0.0 ** Allan Wirth - http://allanwirth.com/ ** Jonathan Salwan - http://twitter.com/JonathanSalwan ** 2013-1-20 ** ** 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;...
#include "allegro-main.h" #include "ibm.h" #include "video.h" #include "allegro-video.h" static PALETTE cgapal= { {0,0,0},{0,42,0},{42,0,0},{42,21,0}, {0,0,0},{0,42,42},{42,0,42},{42,42,42}, {0,0,0},{21,63,21},{63,21,21},{63,63,21}, {0,0,0},{21,63,63},{63,21,63},{63,63,63}, {0...
/* ====================================================================== USER-GFMD - Elastic half-space methods for LAMMPS https://github.com/Atomistica/user-gfmd Copyright (2011-2016,2021) Lars Pastewka <lars.pastewka@imtek.uni-freiburg>, Tristan A. Sharp and others. See the AUTHORS file in t...
/* * SerialComm.h * * Created: 30/03/2014 4:18:01 PM * Author: Kianoosh */ #ifdef F_CPU #undef F_CPU #define F_CPU 8000000UL #else #define F_CPU 8000000UL #endif #ifndef SERIALCOMM_H_ #define SERIALCOMM_H_ #include <stdint.h> //#define BAUD 2400 #define BAUD 9600 #define BUFFER_SIZE 512 #define PCKT_QUEUE_SIZE...
#pragma once #include "Evento.h" #include "CampoCosmico.h" #include "AtaqueXenomorfo.h" #include "AtaquePiratas.h" #include "ChuvaMeteoritos.h" #include "Alojamento_Capitao.h" #include "Auto_Reparador.h" #include "Beliche.h" #include "Controlo_Escudo.h" #include "Oficina_Robotica.h" #include "Ponte.h" #include "Propul...
// // "$Id$" // // MD5 support code for HTMLDOC. // // Copyright 2011 by Michael R Sweet. // Copyright 2001-2008 by Easy Software Products. // Copyright 1999 Aladdin Enterprises. All rights reserved. // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be h...
/* QuestDesigner - Open Legends's Project Copyright (C) 2003-2005. Germán Méndez Bravo (Kronuz) Copyright (C) 2001-2003. Open Legends's 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 Fou...
// Code from Amarok. /*************************************************************************** * Copyright (C) 2005 Max Howell <max.howell@methylblue.com> * * * * This program is free software; you can redistribute it and/or ...
/* * Copyright (C) 2013 Intel, 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 2 of the License, or * (at your option) any later version. * * This program is distrib...
#ifndef IO_XYZ_H #define IO_XYZ_H #include <vector> #include <string> #include <iostream> namespace kit { namespace io { void load_xyz(std::istream& is, std::string& comment, std::vector<std::string>& elements, // clears the original std::vector<doub...
#if defined (_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif #if !defined(CROFFSYSTEM_H_INC) #define CROFFSYSTEM_H_INC #ifndef __Q_SHARED_H #include "../qcommon/q_shared.h" //needs to be in here for entityState_t #endif #if !defined(SERVER_H_INC) #include "../server/server.h" #endif #include <vector> #include...
#include <linux/ata.h> #include <linux/hdreg.h> #include <linux/blkdev.h> #include <linux/skbuff.h> #include <linux/netdevice.h> #include <linux/genhd.h> #include <linux/moduleparam.h> #include <linux/workqueue.h> #include <linux/kthread.h> #include <net/net_namespace.h> #include <asm/unaligned.h> #include <linux/uio.h...
/* This file is part of the KDE project Copyright (C) 2005-2006 Jarosław Staniek <staniek@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 by the Free Software Foundation; either version 2 of the Licen...
/*************************************************************************/ /*! @Title System Description Header @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved @Description This header provides system-specific declarations and macros @License Dual MIT/GPLv2 The conte...
#include <X11/X.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/keysym.h> #include <X11/Xatom.h> #include <X11/Xutil.h> #include <X11/extensions/XShm.h> #include <gdk/gdk.h> #include <gdk/gdkx.h> #include <gdk/gdkpixmap.h> #include <gdk/gdkprivate.h> #include "bg.h" #include "dbg.h" #include "config.h" ...
#include <unistd.h> #include <idt.h> #include <int.h> pid_t curr_pid; pid_t get_current_pid() { return curr_pid; } void sleep() { __asm__ ("mov $0, %%eax":::"memory"); call_int(PROC_YIELD); }
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <linux/soundcard.h> #ifdef HAVE_ALSA #include <alsa/asoundlib.h> #endif #define AUDIO_DEVICE "/dev/dsp" #define ALSA_MAX_BUF_SIZE 655350 #ifdef HAVE_ALSA int play_sound_Alsa(char* filen...
/*************************************************************************** markerdialog.h ---------------- begin : Wed April 21 2004 copyright : (C) 2003 by Michael Margraf email : michael.margraf@alumni....
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Low level exception handling * * Copyright (C) 1998, 1999 by Ralf Baechle */ #ifndef _ASM_UCONTEXT_H #define _ASM_UCONTEXT_H struct uc...
#include "assert.h" static int global_value; static int second_value; static int* global_ptr; static init_pointer() { global_value = 99; global_ptr = &global_value; } static reinit_pointer(int** ppint) { *ppint = &second_value; } void test_addressable_pointers() { init_pointer(); ASSERT(*globa...
#include "threads.h" #include <stdlib.h> #include <time.h> void writing_phase(int file_num, char const *filenames[]) { int i, rand_number, total_lines = 0; /* We create a pthread_t array with a file_num number of elements.*/ pthread_t * threads = (pthread_t *) malloc(file_num * sizeof(pthread_t)); /* We creat...
/* ********************************************************************************************************************** * * the Embedded Secure Bootloader System * * * Copyright(C), 2006-2014, Allwinnertech Co., Ltd. * All Rights Reserved * ...
/* * synergy -- mouse and keyboard sharing utility * Copyright (C) 2012-2016 Symless Ltd. * Copyright (C) 2003 Chris Schoeneman * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied...
/* This file is part of LPIC++, a particle-in-cell code for simulating the interaction of laser light with plasma. Copyright (C) 1994-1997 Roland Lichters LPIC++ 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...