text
stringlengths
4
6.14k
/* * RegisterIOSPI.h * * Created on: Jul 29, 2015 * Author: Scott */ #ifndef SRC_REGISTERIOSPI_H_ #define SRC_REGISTERIOSPI_H_ #include "RegisterIO.h" #include <WPILib.h> static const int MAX_SPI_MSG_LENGTH = 256; class RegisterIO_SPI: public IRegisterIO { public: RegisterIO_SPI(SPI ...
/* glpios12.c (node selection heuristics) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, * 2009, 2010, 2011, 2013 Andrew Makhorin, Department for Applied * ...
/** * 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...
/* * AJ-HPM100/110 header */ #ifndef _MACH_XXXX_H #define _MACH_XXXX_H static inline int hwif_pci_to_id(struct pci_dev *pci) { int devfn; if(pci == NULL){ PALERT("null pointer"); return -EFAULT; } devfn = pci->bus->self->devfn; switch(devfn){ case 16: return 0; case 17: return 1; ca...
#import <Foundation/Foundation.h> #import "SWGObject.h" /** * QuantiModo * QuantiModo makes it easy to retrieve normalized user data from a wide array of devices and applications. [Learn about QuantiModo](https://quantimo.do), check out our [docs](https://github.com/QuantiModo/docs) or contact us at [help.quantimo.do]...
#pragma once #ifndef __ANDROID__ #include "../qcommon/qcommon.h" #else #include "ghoul2_shared.h" #include "../qcommon/q_shared.h" #endif #ifdef _G2_GORE #define MAX_LODS (8) struct GoreTextureCoordinates { float *tex[MAX_LODS]; GoreTextureCoordinates() { int i; for (i=0;i<MAX_LODS;i++) { tex[i]=0; } } ~Go...
/* * %kadu copyright begin% * Copyright 2015 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...
/****************************************************************************** * * * * * Copyright (C) 1997-2008 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No represen...
#ifndef FILEZILLA_INTERFACE_CONTEXT_CONTROL_HEADER #define FILEZILLA_INTERFACE_CONTEXT_CONTROL_HEADER #include <wx/aui/auibook.h> #include "state.h" #include <memory> class wxAuiNotebookEx; class CLocalListView; class CLocalTreeView; class CMainFrame; class CRemoteListView; class CRemoteTreeView; class CView; class ...
/**************************************************************************** ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use ** Qt Designer to update this file, preserving your code. ** ** You should not define a con...
/* timer.c * * This file manages the interval timer on the PowerPC MPC5xx. * NOTE: This is not the PIT, but rather the RTEMS interval * timer * We shall use the bottom 32 bits of the timebase register, * * The following was in the 403 version of this file. I don't * know what it means. JTM 5/19/98 ...
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
#ifndef __UNICAM_HW_H__ #define __UNICAM_HW_H__ #ifndef UNI_NO_EXT #include "unicam_hm8131.h" #include "unicam_hm2056.h" #include "unicam_m1040.h" #include "unicam_ar0543.h" #include "unicam_hm2051.h" #include "unicam_ov8865.h" #include "unicam_gc2355.h" #include "unicam_ov5648.h" #include "unicam_hm5040.h" #include "...
#ifndef _LINUX_MSG_H #define _LINUX_MSG_H #include <linux/ipc.h> /* ipcs ctl commands */ #define MSG_STAT 11 #define MSG_INFO 12 /* msgrcv options */ #define MSG_NOERROR 010000 /* no error if message is too big */ #define MSG_EXCEPT 020000 /* recv any msg except of specified type.*/ /* Obsolete, used onl...
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
/* * Fortezza support is removed. * * 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 can obtain one at http://mozilla.org/MPL/2.0/. */ #include "seccomon.h" #include "prio.h" typedef struct PEHeaderStr PEHead...
// $Id$ // $Locker$ // Author. Roar Thronæs. // should be started by VMS$INITIAL-050_CONFIGURE.COM // but for now we will use a kernel thread // configure is supposed to use polling but if we use polling // we might never be aware of the other devices #include <linux/config.h> #include <linux/mm.h> #include <descr...
/* * Voxels 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. * * Voxels is distributed in the hope that it will be useful, * but ...
/* bsp.h * * This include file contains all MVME147 board IO definitions. * * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). * * 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/LICE...
// // CoreDataUtils.h // Handbook // // Created by Admin on 3/31/15. // Copyright (c) 2015 DyvenSvit. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> #import "HAppDelegate.h" @interface CoreDataUtils : NSObject +(BOOL)isManagedObjectOfClass:(Class)classArg byID:(NSInteger)i...
// // linkage.h // // Copyright (C) 2001 Edward Valeev // // Author: Edward Valeev <edward.valeev@chemistry.gatech.edu> // Maintainer: EV // // This file is part of the SC Toolkit. // // The SC Toolkit is free software; you can redistribute it and/or modify // it under the terms of the GNU Library General Public Licens...
/******************************************************************************* * Copyright (c) 2008, 2013 IBM Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany ...
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* * Copyright © 2000 Eazel, Inc. * Copyright © 2004, 2006 Christian Persch * * Nautilus 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...
#include "testutils.h" #include "pkcs1.h" int test_main(void) { uint8_t buffer[16]; uint8_t expected[16] = { 1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0, 'a', 'b', 'c' }; pkcs1_signature_prefix(sizeof(buffer), buffer, 3, "abc"); ASSERT(MEMEQ(sizeof(buffer), buffe...
/* * Copyright (C) 2009-2010 The Paparazzi Team * * This file is part of paparazzi. * * paparazzi 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 versi...
#ifndef _SHA512_H_ #define _SHA512_H_ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif typedef struct sha512_ctx { uint64_t s[8]; unsigned char buf[128]; size_t bytes; }sha512_ctx_t; void sha512_init(sha512_ctx_t * sha); void sha512_update(sha512_ctx_t * sha, const void * data, size_t len); void sha5...
/* mkvmerge -- utility for splicing together matroska files from component media subtypes Distributed under the GPL see the file COPYING for details or visit http://www.gnu.org/copyleft/gpl.html class definitions for the Flash Video (FLV) demultiplexer module Written by Moritz Bunkus <moritz@bun...
#ifndef BSWAP_H_INCLUDED #define BSWAP_H_INCLUDED /* * Copyright (C) 2000, 2001 Billy Biggs <vektor@dumbterm.net>, * Håkan Hjort <d95hjort@dtek.chalmers.se> * * Modified for use with MPlayer, changes contained in libdvdread_changes.diff. * detailed CVS changelog at http://www.mplayerhq.hu...
/*************************************************************************/ /*! @File @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...
#ifndef __ARCH_ARM_MACH_MSM_CLOCK_PCOM_H #define __ARCH_ARM_MACH_MSM_CLOCK_PCOM_H #define P_ACPU_CLK 0 #define P_ADM_CLK 1 #define P_ADSP_CLK 2 #define P_EBI1_CLK 3 #define P_EBI2_CLK 4 #define P_ECODEC_CLK 5 #define P_EMDH_CLK 6 #define P_GP_CLK 7 #define P_GRP_3D_CLK 8 #define P_I2C_CL...
/*************************************************************************** * Copyright (C) 2014 by Michael Ambrus * * michael.ambrus@gmail.com * * * * This pr...
#define APPTITLE "DLViewer" #define VERSION "v0.0" #define WINDOW_WIDTH 640 #define WINDOW_HEIGHT 480 // ---------------------------------------- enum { true = 1, false = 0 }; typedef struct { short X, Y, Z; } __Vect3D; // ---------------------------------------- #ifdef WIN32 #include "__win3...
/* * Toshiba RBTX4938 specific interrupt handlers * Copyright (C) 2000-2001 Toshiba Corporation * * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the * terms of the GNU General Public License version 2. This program is * licensed "as is" without any warranty of any kind, whether express * o...
/* * Copyright 2011 Dog Hunter SA * Author: Davide Ciminaghi <ciminaghi@gnudd.com> * * GNU GPLv2 or later */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/device.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/mcuio.h> #include <linux/mcuio_ids.h>...
/**************************************************************************** ** ** This file is part of the Qtopia Opensource Edition Package. ** ** Copyright (C) 2008 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public Licen...
/**************************************************************** Siano Mobile Silicon, Inc. MDTV receiver kernel modules. Copyright (C) 2006-2009, Uri Shkolnik Copyright (c) 2010 - Mauro Carvalho Chehab - Ported the driver to use rc-core - IR raw event decoding is now done at rc-core - Code almost re-written ...
#include <newNTL/ZZXFactoring.h> newNTL_CLIENT long NumFacs(const vec_pair_ZZX_long& v) { long i; long res; res = 0; for (i = 0; i < v.length(); i++) res += v[i].b; return res; } int main() { long cnt = 0; while (SkipWhiteSpace(cin)) { cnt++; cerr << "."; vec_ZZ w...
#ifndef ALOCMEM_H #define ALOCMEM_H void alocmem(void); #endif /* ALOCMEM_H */
/** * @file feature_set.h * @author Thomas M. Howard (tmhoward@csail.mit.edu) * Matthew R. Walter (mwalter@csail.mit.edu) * @version 1.0 * * @section LICENSE * * This file is part of h2sl. * * Copyright (C) 2014 by the Massachusetts Institute of Technology * * This program is free software; you...
#ifndef GLOBALS_H #define GLOBALS_H #include <cuda_runtime.h> #include <curand_kernel.h> #include <string> #include <fstream> #include <vector> #include <string> #include <map> #include <iostream> using namespace std; #include "params.h" #include "particles.h" #include "utils/cuda_vector_math.cuh" struct SimParams{ ...
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
/* * BMP parser * Copyright (c) 2012 Paul B Mahol * * 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 License, or (at your op...
/* Copyright (C) 2013 Matthew Denwood <matthewdenwood@mac.com> This header is based on the pareto distribution in JAGS version 3.3, and specifies the generalised pareto distribution This file is part of runjags Original DPar.h file is Copyright (C) 2002-10 Martyn Plummer, from the source for JAGS version ...
#ifndef QEMU_CPUS_H #define QEMU_CPUS_H #include "qemu/timer.h" /* cpus.c */ bool qemu_in_vcpu_thread(void); void qemu_init_cpu_loop(void); void resume_all_vcpus(void); void pause_all_vcpus(void); void cpu_stop_current(void); void cpu_ticks_init(void); void configure_icount(QemuOpts *opts, Error **errp); extern int ...
#include <boost/shared_ptr.hpp> #include <liboptions/liboptions.h> #include "libmints/basisset.h" #include "libmints/molecule.h" #include "libmints/wavefunction.h" /* * Fake reference WF and CC WF to mimic the PSI4 default one because * Wavefunction constructor calls Wavefunction::common_init which * requires more ...
/*-*- linux-c -*- * linux/drivers/video/i810-i2c.c -- Intel 810/815 I2C support * * Copyright (C) 2004 Antonino Daplas<adaplas@pol.net> * All Rights Reserved * * 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 ...
#include <asm/assembler.h> #include <asm/unwind.h> #if __LINUX_ARM_ARCH__ >= 6 .macro bitop, name, instr ENTRY( \name ) UNWIND( .fnstart ) ands ip, r1, #3 strneb r1, [ip] @ assert word-aligned mov r2, #1 and r3, r0, #31 @ Get bit offset mov r0, r0, lsr #5 add r1, r1, r0, lsl #2 @ Get word offset #if __LINUX_...
/* OSMesa LDG loader Copyright (C) 2004 Patrice Mandin This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including...
/* Copyright (c) 2010-2011, Code Aurora Forum. 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 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
/* * Copyright (C) 2005 - 2011 MaNGOS <http://www.getmangos.org/> * * Copyright (C) 2008 - 2011 TrinityCore <http://www.trinitycore.org/> * * Copyright (C) 2011 - 2012 TrilliumEMU <http://trilliumx.code-engine.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of...
#ifndef __ASM_SPINLOCK_H #define __ASM_SPINLOCK_H #include <asm/system.h> #include <asm/processor.h> #include <asm/spinlock_types.h> static inline int arch_spin_is_locked(arch_spinlock_t *x) { volatile unsigned int *a = __ldcw_align(x); return *a == 0; } #define arch_spin_lock(lock) arch_spin_lock_flags(lock, 0) ...
/* ...
/* * Boa, an http server * Copyright (C) 1999 Larry Doolittle <ldoolitt@boa.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 1, or (at your option) * any later ...
#ifndef _ASM_POWERPC_COPRO_REGX_H #define _ASM_POWERPC_COPRO_REGX_H /* * Copyright 2009 Michael Ellerman, IBM Corporation * * 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 ...
/* * This file is part of the OregonCore Project. See AUTHORS file for Copyright information * * 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 ...
#ifndef SABASLIBRARY_H #define SABASLIBRARY_H #include "sabasbook.h" #include <QObject> #include <QList> #include <QStringList> class QMediaPlayer; class QTimer; class QNetworkAccessManager; class QFileSystemWatcher; class SabasLibrary : public QObject { Q_OBJECT Q_PROPERTY(bool playing READ playing NOTIFY pl...
#ifndef MESH_SORT_H #define MESH_SORT_H #include <ag_geometry.h> #include "scenenode.h" /** The class is for sorting purpose only. It provides the operator() function, that's needed for the STL-sorting algorithms. Here SceneNodes are sorted by their middle distance the camera. */ class SortDistance { AGVec...
/* * categorydialog.h * * Copyright 2013 Christian Herold <harryherold@googlemail.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 op...
// // FDFlowViewController.h // FluxDeck // // Created by Ian Quick on 2013-08-10. // Copyright (c) 2013 Ian Quick. All rights reserved. // #import <Cocoa/Cocoa.h> #import "FDFlow.h" #import <Rebel.h> @interface FDFlowViewController : RBLViewController<NSTableViewDataSource,NSTableViewDelegate> -(IBAction)textEn...
/* * Copyright 2016 Peter Beard * Distributed under the GNU GPL v2. For full terms, see the LICENSE file. * * Problem #6 * * The sum of the squares of the first ten natural numbers is, * 1^2 + 2^2 + ... + 10^2 = 385 * * The square of the sum of the first ten natural numbers is, * (1 + 2 + ... + 10)^2 = 552 = ...
/* * $Id: stinger.c 2 2007-04-05 08:51:12Z tt $ * * Copyright (c) 2000-2001 Vojtech Pavlik * Copyright (c) 2000 Mark Fletcher */ /* * Gravis Stinger gamepad driver for Linux */ /* * This program is free warftware; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
/* roadmap_sunrise.h - Calculate sunrise/sunset time * * LICENSE: * * Copyright 2003 Eric Domazlicky * * This file is part of RoadMap. * * RoadMap 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 Founda...
/* * Dump R4x00 TLB for debugging purposes. * * Copyright (C) 1994, 1995 by Waldorf Electronics, written by Ralf Baechle. * Copyright (C) 1999 by Silicon Graphics, Inc. */ #include <linux/kernel.h> #include <linux/mm.h> #include <linux/sched.h> #include <linux/string.h> #include <asm/bootinfo.h> #include <asm/cac...
#include "tpm.h" #include "tpm_atmel.h" enum tpm_atmel_write_status { ATML_STATUS_ABORT = 0x01, ATML_STATUS_LASTBYTE = 0x04 }; enum tpm_atmel_read_status { ATML_STATUS_BUSY = 0x01, ATML_STATUS_DATA_AVAIL = 0x02, ATML_STATUS_REWRITE = 0x04, ATML_STATUS_READY = 0x08 }; static int tpm_atml_recv(struct tpm_chip...
#include <linux/module.h> #include <linux/sched.h> #include <linux/kthread.h> #include <linux/workqueue.h> #include <linux/memblock.h> #include <asm/proto.h> /* * Some BIOSes seem to corrupt the low 64k of memory during events * like suspend/resume and unplugging an HDMI cable. Reserve all * remaining free memory...
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
#include <linux/kernel.h> #include <linux/init.h> #include <linux/gpio.h> #include <linux/serial_8250.h> #include <linux/smsc911x.h> #include <linux/interrupt.h> #include <plat/gpmc.h> #define ZOOM_SMSC911X_CS 7 #define ZOOM_SMSC911X_GPIO 158 #define ZOOM_QUADUART_CS 3 #define ZOOM_QUADUART_GPIO 102 #define QUART_C...
/* Copyright (c) 2004, 2017, 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 the hope ...
/* * This file is part of the coreboot project. * * Copyright (C) 2007 AMD * Written by Yinghai Lu <yinghailu@amd.com> for AMD. * * 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...
/**************************************************************************** ** $Id: archivedialog.ui.h 2 2005-11-16 15:49:26Z dmik $ ** ** Copyright (C) 1992-2003 Trolltech AS. All rights reserved. ** ** This file is part of an example program for Qt. This example ** program may be used, distributed and modified wi...
/* * Copyright (c) 2015 - 2025 MaiKe Labs * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
/*- * Copyright (c) 1990 The Regents of the University of California. * Copyright (c) 1993, 1994 Chris Provenzano. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Redistribution and use in source and binary forms, with or without * modification, are ...
/* pidgin * * Pidgin is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * source distribution. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
#ifndef AQLEDS_H #define AQLEDS_H #include <QMainWindow> #include "comm/aqled.h" #include <QLineEdit> namespace Ui { class AqLeds; } class AqLeds : public QMainWindow { Q_OBJECT public: explicit AqLeds(QWidget *parent = 0); ~AqLeds(); private: Ui::AqLeds *ui; // vmin/vmax helpers Q...
/* * * Author: Sylvain Afchain <safchain@gmail.com>, (C) 2008 - 2013 * * Copyright: See COPYING file that comes with this distribution * */ #ifndef __RDB_ASECTION_H #define __RDB_ASECTION_H #include <types.h> #include <hl.h> #include <dns.h> /* prototypes */ int rdb_add_asection(HCODE *, char *, struct dns_asec...
/* * Copyright (c) 2011-2017 Mohammed Sameer <msameer@foolab.org>. * * This package 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 versio...
#include <limits.h> #include "media.h" void mix_channels(char* in_out_a, char* in_b, int length) { short sample_a = 0; short sample_b = 0; int sample_c = 0; int i = 0; for (i = 0; i < length; i+= 2) { sample_a = (short)((in_out_a[i] << 8) | in_out_a[i+1]); sample_b = (short)((i...
/** * Navit, a modular navigation system. * Copyright (C) 2005-2008 Navit Team * * This program 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 program is distributed in the ...
/* ** 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 _TRUSTZONE_COMMUNICATION_DRIVER_H_ #define _TRUSTZONE_COMMUNICATION_DRIVER_H_ #include <linux/ioctl.h> #include "communication/types.h" #define TZ_MAGIC 'T' #define TZ_MAX_NR 3 // 最大命令叙述 /* IOCTL的操作有 * 1. Open Session * 2. Close Session * 3. Invoke Session */ #define TZ_IOCTL_OPE...
#ifndef NAME_SURNAME_INFO_WIDGET_H #define NAME_SURNAME_INFO_WIDGET_H #include "IInfoWidget.h" #include <QWidget> #include <QObject> class QLineEdit; namespace CentPatient { struct Data; } class NameSurnameInfoWidget : public QWidget, public IInfoWidget { Q_OBJECT public: explicit NameSurname...
#ifndef INCLUDE_JOB_OPTIONS #define INCLUDE_JOB_OPTIONS #include <list> #include <string> #include <iostream> class verbatim_option; class JobFile; class JobOptions { public: JobOptions(JobFile* parent) : m_parent(parent), m_Density(-1), m_Speed(-1) {}; bool saveOption(char id, char* value, int len); void dump...
/* * This file is part of the KDE project * * Copyright (C) 2011 Shantanu Tushar <shaan7in@gmail.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License,...
// // CLCenterViewController.h // 聚派 // // Created by 伍晨亮 on 15/5/27. // Copyright (c) 2015年 伍晨亮. All rights reserved. // #import <UIKit/UIKit.h> #import "BaseViewController.h" #import "BaseTableView.h" #import "UIImage+FixOrientation.h" /** * 个人信息 */ @interface CLCenterViewController : BaseViewController @pro...
#ifndef GDFX_H #define GDFX_H 1 #include "gd.h" /* im MUST be square, but can have any size. Returns a new image of width and height radius * 2, in which the X axis of the original has been remapped to theta (angle) and the Y axis of the original has been remapped to rho (distance from center). This is known as ...
/* Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) Copyright (C) 2001 Dirk Mueller <mueller@kde.org> Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. This library is free software; you can redistribute it and/or ...
/* Copyright (C) 2007 Free Software Foundation, Inc. This file is part of GCC. GCC 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 version. In addition to the pe...
#include <stdlib.h> #include "skyeye_mm.h" #include "skyeye_mach.h" #include "skyeye_options.h" #include "skyeye_config.h" #include "skyeye_log.h" static machine_config_t* mach_list; int do_mach_option (skyeye_option_t * this_option, int num_params, const char *params[]) { int ret; machi...
/* * Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/> * Copyright (C) 2009-2011 MaNGOSZero <https://github.com/mangos/zero> * Copyright (C) 2011-2016 Nostalrius <https://nostalrius.org> * Copyright (C) 2016-2017 Elysium Project <https://github.com/elysium-project> * * This program is free software; you can ...
// Copyright 2013 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_DIAGNOSTICS_DIAGNOSTICS_CONTROLLER_H_ #define CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_CONTROLLER_H_ #include "base/memory/scoped_pt...
#include "../generic/wrappers.c" long lens_get_focus_pos() { return _GetFocusLensSubjectDistance(); } long lens_get_focus_pos_from_lense() { return _GetFocusLensSubjectDistanceFromLens(); } long lens_get_target_distance() { return _GetCurrentTargetDistance(); }
#ifndef __DEFINES_H__ #define __DEFINES_H__ #define SERVER_MSGTYP 1 #define FTOK_FILE "bin/server" #define FTOK_CHAR 'a' typedef struct { char nombre[61]; char direccion[120]; char telefono[13]; } Register; typedef enum { SELECT=0, INSERT, DELETE, UPDATE, ERROR, SUCCESS } MsgType; typedef struct { MsgTyp...
#include "../../corelibs/U2View/src/ov_msa/MsaEditorSimilarityColumn.h"
/*---------------------------------------------------------------------------- * * Name: config.h * * Purpose: * * Description: * *-----------------------------------------------------------------------------*/ #ifndef CONFIG_H #define CONFIG_H 1 #include "audio.h" /* for struct audio_s */ #include "dig...
// Copyright 2013 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_CHROMEOS_EXTENSIONS_WALLPAPER_FUNCTION_BASE_H_ #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_FUNCTION_BASE_H_ #include "ash...
/* linphone, gtk-glade interface. Copyright (C) 2008 Simon MORLAT (simon.morlat@linphone.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...
/* * linux/include/asm-arm/arch-pnx0106/dbgmsg.h * * Copyright (C) 2005 Andre McCurdy, Philips Semiconductors. * * This source code 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. */ #i...
/* * * (c) 2004-2007 Laurent Vivier <Laurent@Vivier.EU> * */ #ifndef __CONSOLE_H__ #define __CONSOLE_H__ #include <macos/types.h> #include "misc.h" #include "head.h" extern void console_init(void); extern int console_putchar(int c); extern void console_putstring(const char *s); int wait_char; #ifdef USE_CLI ext...
#ifndef SX1255_CONFIG_H #define SX1255_CONFIG_H #define SX1255_BASE_ADDR 0x78C00000 #define SPI_WRITE_REG 0x00 #define SPI_READ_REG 0x04 #define SPI_STATUS_REG 0x08 #define SEND_IQ_REG 0x10 #define SPI_SPEED_REG 0x14 #define ID_REG 0x18 #define IOC_MAGIC 'a' #define SPI_WRITE_CMD _IOW(IOC_MAGIC, 0, int) #defin...
/*-----------------------------------------------------------------------*/ /* Low level disk I/O module skeleton for FatFs (C)ChaN, 2016 */ /*-----------------------------------------------------------------------*/ /* If a working storage control module is available, it should be */ /* attached to t...