text stringlengths 4 6.14k |
|---|
#ifndef _ASM_X86_SMP_H
#define _ASM_X86_SMP_H
#ifndef __ASSEMBLY__
#include <linux/cpumask.h>
#include <asm/percpu.h>
/*
* We need the APIC definitions automatically as part of 'smp.h'
*/
#ifdef CONFIG_X86_LOCAL_APIC
# include <asm/mpspec.h>
# include <asm/apic.h>
# ifdef CONFIG_X86_IO_APIC
# include <asm/io_apic.h... |
// Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <cstddef>
#include <cstdint>
#include "Common/CommonTypes.h"
#include "Common/x64Reg.h"
#include "Core/PowerPC/Jit64Common/BlockCache.h"
#include "Core/PowerPC/Jit64Common/Jit64AsmComm... |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <asm/arch/gpio.h>
#include <asm/arch/mux.h>
#include <asm/mach-types.h>
#include <asm/arch/board.h>
static struct gpio_keys_button g6_gpio_keys_buttons[] = {
[0] = {
... |
//
// SHKDropbox.h
// ShareKit
//
// Valery Nikitin (submarine). Mistral LLC on 10/3/12.
//
//
#import "SHKSharer.h"
#ifdef COCOAPODS
#import "DropboxSDK.h"
#else
#import <DropboxSDK/DropboxSDK.h>
#endif
//
//you could use customValue in SHK item to setup remote path to upload file
static NSString *const kSHKDrop... |
/***************************************************************************
* 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 you... |
#ifndef WRITEBACK_H
#define WRITEBACK_H
#include <linux/sched.h>
#include <linux/fs.h>
DECLARE_PER_CPU(int, dirty_throttle_leaks);
/*
* The 1/4 region under the global dirty thresh is for smooth dirty throttling:
*
* (thresh - thresh/DIRTY_FULL_SCOPE, thresh)
*
* Further beyond, all dirtier tasks will enter a l... |
/*
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 2011 David Nolden <david.nolden.kdevelop@art-master.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 Softwa... |
//
// PCInterrupt.h
// KegBoard
//
// An extension to the interrupt support for Arduino.
// Adds pin change interrupts to the external interrupts, allowing
// any pin to support external interrupts efficiently.
//
// Theory: all IO pins on Atmega168 are covered by Pin Change Interrupts.
// The PCINT correspondin... |
// 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_THUMBNAILS_THUMBNAIL_SERVICE_H_
#define CHROME_BROWSER_THUMBNAILS_THUMBNAIL_SERVICE_H_
#include "chrome/common/thumbnail_score... |
#include "lolevel.h"
#include "platform.h"
#include "keyboard.h"
#include "kbd_common.h"
long kbd_new_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
long kbd_prev_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
long kbd_mod_state[3] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
KeyMap keymap[] = {
/* tiny bug:... |
#include "stm32f10x.h"
#include "stm32f10x_rcc.h"
#include "stm32f10x_gpio.h"
GPIO_InitTypeDef GPIO_InitStructure;//声明GPIO_InitStructure
void LED_Init(void)
{
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE); //开GPIOA时钟
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_14 | GPIO_Pin_15; //configure Pin0,1
GPIO_In... |
/*****************************************************************************
* ugly.c : ugly resampler (changes pitch)
*****************************************************************************
* Copyright (C) 2002, 2006 the VideoLAN team
* $Id: ugly.c 14997 2006-03-31 15:15:07Z fkuehne $
*
* Authors: Samuel... |
// Copyright (C) 1999-2000 Id Software, Inc.
//
/*****************************************************************************
* name: be_ai_weap.h
*
* desc: weapon AI
*
* $Archive: /source/code/botlib/be_ai_weap.h $
*
*****************************************************************************/
//projectil... |
#ifndef TESTS_H_
#define TESTS_H_
#define PORT 3306
#define SOCKET "/var/lib/mysql/mysql.sock"
#define HOST "localhost"
#define USER "test"
#define PASSWORD ""
#define DATABASE "test"
#define TABLE_NEIGHBOURS "pairsdb_90x90"
#define TABLE_DOMAINS "nrdb_pfam_domains"
#define TABLE_DOMAINS_INFO "nrdb_pfam_families"
#d... |
/*
*
*
* Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* 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 ... |
#include "plugin_renderer_gl/glutils.h"
#include "util/pstdint.h"
#include "framework/se_api.h"
struct glob_t;
typedef enum sprite_animation_e
{
SPRITE_ANIMATION_STOP,
SPRITE_ANIMATION_PLAY,
SPRITE_ANIMATION_LOOP
} sprite_animation_e;
struct sprite_animation_t
{
uint16_t current_frame;
uint16_t frame_a;
uint16... |
/*
* 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 #4 of the si... |
/** @ingroup PN532
* @{
*/
#ifndef PN532_H
#define PN532_H
/*******************| Inclusions |*************************************/
#include <stdint.h>
/*******************| Macros |*****************************************/
//#define PN532_DEBUG
#define PN532_FRAME_PREAMBLE (uint8_t)0x00
#define P... |
/**
* @file group_free.h
*
* purple
*
* Purple 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... |
/**
* @file
* Cairo drawing context with Inkscape extensions.
*//*
* Authors:
* Krzysztof Kosiński <tweenk.pl@gmail.com>
*
* Copyright (C) 2011 Authors
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifndef SEEN_INKSCAPE_DISPLAY_DRAWING_CONTEXT_H
#define SEEN_INKSCAPE_DISPLAY_DRAW... |
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
//
// File: SharedServiceMain.h
// Author: mgrosso Matt Grosso
// Created: Sat Feb 28 11:16:21 PST 2004 on sf-devdw012.looksmart.com
// Project:
// Purpose: ... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <glib/gprintf.h>
#include "converter.h"
char *
latdeg2latmin( float lat)
{
static char latmin[20];
int degrees;
float minutes;
degrees = abs( (lat>0) ? floor(lat) : ceil(lat) );
minutes = (fabs(lat) - (float)degrees) * 60;
g_sprintf( latmin,
... |
/*
* Copyright (C) 2004 toast
*
* 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 _ASM_X86_IRQ_VECTORS_H
#define _ASM_X86_IRQ_VECTORS_H
#include <linux/threads.h>
/*
* Linux IRQ vector layout.
*
* There are 256 IDT entries (per CPU - each entry is 8 bytes) which can
* be defined by Linux. They are used as a jump table by the CPU when a
* given vector is triggered - by a CPU-external, C... |
#ifndef __11f7afd0_5a66_4029_8bf3_e3c66346b349_Locale_h_
#define __11f7afd0_5a66_4029_8bf3_e3c66346b349_Locale_h_
// std::string GetLocaleInfoString(LCTYPE LCType,LCID Locale = LOCALE_USER_DEFAULT);
const std::locale GetSystemLocale();
LPCTSTR CurrencyRates_GetDateFormat(bool bShort);
LPCTSTR CurrencyRates_GetTimeForm... |
/*
* OpenTyrian: A modern cross-platform port of Tyrian
* Copyright (C) 2007-2009 The OpenTyrian Development 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... |
/*
* SoC's CPUFREQ driver
* based on arch/arm/mach-tegra/cpu-tegra.c Copyright (C) 2010 Google, Inc.
*
* Author: Jisheng Zhang <jszhang@marvell.com>
* Copyright: Marvell International Ltd.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Softw... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/*
* Copyright (C) 2001 Havoc Pennington
* Copyright (C) 2002, 2003, 2004 Red Hat, Inc.
* Copyright (C) 2003, 2004 Rob Adams
* Copyright (C) 2004-2006 Elijah Newren
* Copyright (C) 2008 Thomas Thurman
*
* This program is free software; you can r... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 The ChromiumOS Authors. 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 Lic... |
/*
Copyright (C) 2002-2007 Paul Davis
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 ... |
#ifndef __SYS_DIRENT_H__
#define __SYS_DIRENT_H__
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#define DT_INVALID 0xff
#define DT_UNKNOWN 0
#define DT_FIFO DT_INVALID
#define DT_CHR DT_INVALID
#define DT_DIR 1
#define DT_BLK DT_INVALID
#define DT_REG 2
#define DT_LNK 3... |
/******************************************************************************
* Title:Pallet Structure
* summary:Palletの構造体内容を定義2
*
*LastUpdate:
******************************************************************************/
//データ読み書きコマンド用Palletの構造体内容を定義
typedef struct {
GtkWidget *pallet_window,*function_win... |
/*
* WPA Supplicant / EAP-TLS (RFC 2716)
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
*
* 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.
*
* Alternatively, this... |
// Copyright (c) 2012-2013 Jakub Filipowicz <jakubf@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, or
// (at your option) any later versio... |
/* This file is part of the KDE project
Copyright (C) 2002,2006 Ariya Hidayat <ariya@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 License, o... |
/*
* This file Copyright (C) 2014 Mnemosyne LLC
*
* It may be used under the GNU GPL versions 2 or 3
* or any future license endorsed by Mnemosyne LLC.
*
*/
#pragma once
#ifdef _WIN32
#include <windows.h>
/* MinGW :( */
#ifndef ERROR_DIRECTORY_NOT_SUPPORTED
#define ERROR_DIRECTORY_NOT_SUPPORTED 336
#endif
#... |
#ifndef PY_ARRAY_H
#define PY_ARRAY_H 1
#include "Python.h"
#include "config.h"
#include <vector>
PyMODINIT_FUNC py_array_module_init();
template<class T> PyObject* py_vector_asarray(std::vector<T>& v);
//template PyObject* py_vector_asarray<Index>(std::vector<Index>& v);
//PyObject* py_vector_asarray<Index>(std::ve... |
// Copyright (C) 2013 Michael Biggs. See the COPYING file at the top-level
// directory of this distribution and at http://shok.io/code/copyright.html
#ifndef _StdLib_h_
#define _StdLib_h_
/* shok standard library */
#include "Object.h"
#include "Scope.h"
#include "util/Log.h"
#include <vector>
namespace compile... |
/*
Copyright (C) 2013 Edwin Velds
This file is part of Polka 2.
Polka 2 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... |
/*******************************************************************************
*
*
* WashingtonDC Dreamcast Emulator
* Copyright (C) 2019 snickerbockers
*
* 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
*... |
/*
This file is part of Darling.
Copyright (C) 2019 Lubos Dolezel
Darling 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.
Darling i... |
/*
* sAlarm - Scheduler
* http://seberm.homelinux.org/project/salarm
*
* Copyright (C) 2009-2010 Otto Sabart <seberm[at]gmail[dot]com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Fo... |
/**
* vim: set ts=4 :
* =============================================================================
* SourceMod Sample Extension
* Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.
* =============================================================================
*
* This program is free sof... |
//
// TemporaryApp.h
// Moonlight
//
// Created by Cameron Gutman on 9/30/15.
// Copyright © 2015 Moonlight Stream. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Host.h"
@interface TemporaryApp : NSObject
@property (nullable, nonatomic, retain) NSString *id;
@property (nullable, nonatomic, r... |
/************************************************************************
* Copyright (c) 2009-2010, Microchip Technology Inc.
*
* Microchip licenses this software to you solely for use with Microchip
* products. The software is owned by Microchip and its licensors, and
* is protected under applicable copyright laws.... |
/* The LibVMI Library is an introspection library that simplifies access to
* memory in a target virtual machine or in a file containing a dump of
* a system's physical memory. LibVMI is based on the XenAccess Library.
*
* Copyright 2011 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with San... |
/*****************************************************************************
* Copyright (c) 2014-2020 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU Gener... |
/*
* StelVideo: video signal generator for the Stellaris LaunchPad.
* Copyright (C) 2013 Boris Gjenero <boris.gjenero@gmail.com>
*
* StelVideo 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 versi... |
#ifndef EQUIPMENTTYPEMODELITEM_H
#define EQUIPMENTTYPEMODELITEM_H
#include <QObject>
#include "spareparts_global.h"
class SPAREPARTS_EXPORT EquipmentTypeModelItem : public QObject
{
Q_OBJECT
public:
explicit EquipmentTypeModelItem();
EquipmentTypeModelItem(int id, QString name, int parentId, EquipmentTyp... |
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it wi... |
/* $Id$ */
/* Copyright (c) 2014 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Devel strace */
/* 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 3 of the Lic... |
/*
* Multi2Sim
* Copyright (C) 2012 Rafael Ubal (ubal@ece.neu.edu)
*
* 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... |
#ifndef _BASICAI_H_
#define _BASICAI_H_
#include "Player.h"
class BasicAI : public Player
{
private:
float m_difficulty;
void Logic();
public:
BasicAI(float difficulty, unsigned int playerNum);
};
#endif
|
#ifndef CREATEDIRECTORYDIALOG_H
#define CREATEDIRECTORYDIALOG_H
#include <QDialog>
namespace Ui {
class CreateDirectoryDialog;
}
class CreateDirectoryDialog : public QDialog
{
Q_OBJECT
public:
explicit CreateDirectoryDialog(const QString &path, QWidget *parent = 0);
~CreateDirectoryDialog();
QString name() cons... |
///////////////////////////////////////////////////////////////////////////////
//
/// \file sha256.c
/// \brief SHA-256
///
/// \todo Crypto++ has x86 ASM optimizations. They use SSE so if they
/// are imported to liblzma, SSE instructions need to be used
/// conditionally to k... |
/*
* This file is part of Cleanflight and Betaflight.
*
* Cleanflight and Betaflight are free software. You can redistribute
* this software and/or modify this software 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 ... |
#ifndef UniformDistribution_H
#define UniformDistribution_H
#include "ContinuousDistribution.h"
namespace RevBayesCore {
class DagNode;
template <class valueType> class TypedDagNode;
/**
* @brief Uniform distribution class.
*
* The Uniform probability distribution has probability density
* @f[ f(x | \min, \m... |
#import <Availability2.h>
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
#import <Foundation/NSObject.h>
@class UIView, UIKeyboardAutomatic, UIPeripheralHostState;
@interface UIPeripheralHost : NSObject {
UIView* m_peripheralToolbar;
UIView* m_peripheral;
UIView* m_hostView;
UIKeyboardAutomatic* m_automatic... |
/*
Runs tests to verify the functionality of a LumiverseDevice
*/
#include <LumiverseCore.h>
using namespace Lumiverse;
class TypeTests
{
public:
TypeTests() { };
~TypeTests() { };
// Runs all the tests and returns the number of tests that passed.
int runTests();
// Returns the total number of tests in... |
/*
* QArv, a Qt interface to aravis.
* Copyright (C) 2012-2014 Jure Varlec <jure.varlec@ad-vega.si>
* Andrej Lajovic <andrej.lajovic@ad-vega.si>
*
* 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 Foun... |
/*
* rele,
*
*
* Copyright (C) 2016 Davide Tateo
* Versione 1.0
*
* This file is part of rele.
*
* rele 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 you... |
#pragma once
#include <QObject>
class EventFilter : public QObject {
Q_OBJECT
public:
explicit EventFilter(QObject* parent = nullptr);
bool eventFilter(QObject* watched, QEvent* event) override;
};
|
/*
* ./modf.c : stdlib function
* Copyright (c) 1992 Algorithmics Ltd.
*/
#include <math.h>
#define BITSPERBYTE 8
#define BITS(type) (BITSPERBYTE * (int)sizeof(type))
#define LONGBITS BITS(long)
#define DOUBLEBITS BITS(double)
#define _IEEE 1
#define _DEXPLEN 11
#define _FEXPLEN 8
#define _HIDDE... |
/**************************************************************************
* Otter Browser: Web browser controlled by the user, not vice-versa.
* Copyright (C) 2015 - 2016 Michal Dutkiewicz aka Emdek <michal@emdek.pl>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the ... |
// ADOBE SYSTEMS INCORPORATED
// Copyright 1993 - 2002 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this
// file in accordance with the terms of the Adobe license agreement
// accompanying it. If you have received this file from a source
// other th... |
#ifndef STINGER_DYNAMIC_BFS_H_
#define STINGER_DYNAMIC_BFS_H_
#include <stdint.h>
#include <unistd.h>
#include <stdbool.h>
#include <vector>
#include "stinger_net/stinger_alg.h"
#include "streaming_algorithm.h"
namespace gt {
namespace stinger {
class BreadthFirstSearch : public IDynamicGraphAlgorithm
{
... |
/*
dem.h
Class definition for DEM object
*/
#ifndef DEM_H
#define DEM_H
#include "helper.h"
#include "loop.h"
#include "../rsp_toolkit/source/xmlreader.h"
#include "../rsp_toolkit/source/file.h"
#include "../rsp_toolkit/source/constants.h"
// DEM object
//
// Class for holding all of the methods needed to calculate
... |
#ifndef STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_
#define STORM_STORAGE_PRISM_RENAMINGCOMPOSITION_H_
#include <memory>
#include <string>
#include <map>
#include <boost/optional.hpp>
#include "storm/storage/prism/Composition.h"
namespace storm {
namespace prism {
class RenamingComposition : public Compos... |
#ifndef RAWDATAMANAGER_H
#define RAWDATAMANAGER_H
#include "Public.h"
#include "RpnParser.h"
#include "BinariesIO.h"
#include "System/Tools/IO/Writer.h"
#include "System/Tools/IO/Reader.h"
#include "osrng.h"
#include <cstdlib>
#include "cryptlib.h"
#include "filters.h"
#include "hex.h"
#include "aes.h"
#include "ccm.... |
#ifndef Sprite_H
#define Sprite_H
#include <Andromeda/Graphics/RenderManager.h>
#include <Andromeda/Graphics/ShaderManager.h>
#include <Andromeda/Graphics/TextureManager.h>
#include <Andromeda/Graphics/Shader.h>
#include <Andromeda/Graphics/VertexTypes.h>
#include <glm/glm.hpp>
namespace Andromeda
{
namespace Graph... |
#ifndef TILE_H
#define TILE_H
#include <QtCore/QFile>
#include <QtCore/QRegExp>
#include <QtCore/QTextStream>
#include <QtGui/QIcon>
#include "config.h"
namespace gtgeditor
{
class Tile
{
public:
Tile(const QString& path);
~Tile();
const QIcon* getIcon() const;
const QString& getName() const;
const QSt... |
/**************************************************************************
* This file is part of DFTCXX. *
* *
* Author: Ivo Filot <ivo@ivofilot.nl> *
* ... |
/* Copyright (C) 2016 SensorLab, Jozef Stefan Institute
* http://sensorlab.ijs.si
*
* 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) a... |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
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.
Permiss... |
/*
* $Id$
*
* (C) 2006-2012 see Authors.txt
*
* This file is part of MPC-HC.
*
* MPC-HC 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... |
#ifndef TEST_SIMPLE_JSON_HELPER_ENUM_H_
#define TEST_SIMPLE_JSON_HELPER_ENUM_H_
#include "test/Configure.h"
#if defined(_USING_TEST_)
#include <string>
namespace BrainMuscles
{
namespace test
{
namespace simple
{
namespace json
{
namespace helper
{
enum Enum : char
... |
/* This file is part of the Neper software package. */
/* Copyright (C) 2003-2022, Romain Quey. */
/* See the COPYING file in the top-level directory. */
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include"ut.h"
#include"neut_v.h"
#include "nev_include.h"
|
/*
* ================================
* eli960@qq.com
* https://blog.csdn.net/eli960
* 2015-09-29
* ================================
*/
#include "zc.h"
typedef struct zargv_mpool_t zargv_mpool_t;
struct zargv_mpool_t {
zargv_t v;
zmpool_t *mpool;
};
void zargv_init(zargv_t *argvp, int size);
void zargv... |
// Copyright 2012-2013 The Ephenation Authors
//
// This file is part of Ephenation.
//
// Ephenation 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 3.
//
// Ephenation is distributed in the hope th... |
/*
* Adyton: A Network Simulator for Opportunistic Networks
* Copyright (C) 2015 Nikolaos Papanikos, Dimitrios-Georgios Akestoridis,
* and Evangelos Papapetrou
*
* This file is part of Adyton.
*
* Adyton is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... |
//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef OPTIONS_SUB_VOICE_H
#define OPTIONS_SUB_VOICE_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/Propert... |
/* This file is part of GBerry.
*
* Copyright 2015 Tero Vuorela
*
* GBerry 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 3 of the License, or (at your option) any
* later version... |
/******************************************************************************
*
* string/deunicode.c
* Replace unicode symbols.
*
* Copyright (C) 2016 Simone Conti
*
* This file is part of Cygne
*
* Cygne is free software: you can redistribute it and/or modify it under the
* terms of the GNU General... |
#include <stdint.h>
#include <stdbool.h>
extern uint32_t __stack_begin__;
extern uint32_t __romdata_begin__;
extern uint32_t __data_begin__;
extern uint32_t __data_end__;
extern uint32_t __bss_begin__;
extern uint32_t __bss_end__;
void application(void);
void crt0(void);
__attribute__ ((section(".startup")))
const v... |
/**
* OpenGeoDa TM, Copyright (C) 2011 by Luc Anselin - all rights reserved
*
* This file is part of OpenGeoDa.
*
* OpenGeoDa 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 Lic... |
//
// STAAmenities.h
// STAServices
//
// Created by Vijayaragavan_M on 31/1/15.
// Copyright (c) 2015. All rights reserved.
//
#import "STAObject.h"
@interface STAAmenities : STAObject
@property(nonatomic, assign) BOOL restaurant;
@property(nonatomic, assign) BOOL bar;
@property(nonatomic, assign) B... |
#ifndef FILE_EXECUTOR_H
#define FILE_EXECUTOR_H
#include <Executor.h>
#include <time.h>
class FileExecutor: public Executor
{
public:
int init(PollLoopBase *loop) override;
int up(ExecutorData &data) override;
ProcessResult process(ExecutorData &data, int fd, int events) override;
const char* nam... |
/***************************************************************************
openBibleViewer - Bible Study Tool
Copyright (C) 2009-2012 Paul Walger <metaxy@walger.name>
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
Soft... |
#ifndef _DBO_USERVISIT_H_
#define _DBO_USERVISIT_H_
#include "classes.h"
#include "../poco_glue.h"
#include "../../app/defines.h"
#include <string>
namespace modellbasen
{
class UserVisit {
public: //For PoCo::Data
friend class Poco::Data::TypeHandler<class modellbasen::UserVisit>;
bool operator <(const UserVisit... |
#pragma once
/**
* ÃâÒßÐÅϢö¾Ù¡£¶¨·â½ûÃß¿ñÂÒ£¬Îå¶¾£¬ÎüѪ£¬±ØËÀ×çÖä
*/
enum class PAL4_API EImmune
{
// ¶¨ÃâÒß
Root = 1 << 12,
// ·âÃâÒß
SealMagic = 1 << 11,
// ½ûÃâÒß
BanProp = 1 << 10,
// ÃßÃâÒß
Sleep = 1 << 9,
// ¿ñÃâÒß
Crazy = 1 << 8,
// ÂÒÃâÒß
Chaos = 1 << 7,
... |
/*
* WaDeD - Short messages mesh network
*
* Copyright (C) 2013 WaDeD-ROSE <waded-rose@googlegroups.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 3 of the Lic... |
/*
* Adyton: A Network Simulator for Opportunistic Networks
* Copyright (C) 2015 Nikolaos Papanikos, Dimitrios-Georgios Akestoridis,
* and Evangelos Papapetrou
*
* This file is part of Adyton.
*
* Adyton is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... |
/* This file is part of Clementine.
Copyright 2010, David Sansome <me@davidsansome.com>
Clementine 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 optio... |
/* vector3d_test.h */
#include <cmath>
#include "../include/emp_core.h"
//#include "../src/config_constants.h"
//#include "../src/common/geometry/vector.h"
TEST(Vector3DTest, ConstructorByComponents)
{
double x, y, z;
x = 1; y = 2; z = 3;
Vector3D p = Vector3D(x, y, z);
ASSERT_EQ(p.getX(), x);
ASSERT_EQ(p.getY... |
////////////////////////////////////////////////////////////////////////////
// Created : 26.02.2009
// Author : Armen Abroyan
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#ifndef TRANSFORM_CONTROL_ROTATION_H_INCLUDED
#define TRANSFORM_CONTROL_RO... |
#include<unistd.h>
#include<sys/types.h>
#include<stdlib.h>
#include<string.h>
#include<limits.h>
#include<string>
using namespace std;
class CXSPLog
{
}
|
/*
* Copyright (C) Pedram Pourang (aka Tsu Jan) 2014-2021 <tsujan2000@gmail.com>
*
* FeatherPad 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 ... |
#ifndef FILEINPUT_H
#define FILEINPUT_H
#include "iteratator3.h"
#include "alphabet.h"
#include "lsystem.h"
#include <string>
int read_file(std::string filename, LSystem &system);
#endif // FILEINPUT_H
|
//
// '########'########::'######:::'##::: ##'########'########:'#######:::'#####:::
// ..... ##: ##.... ##'##... ##:: ###:: ## ##.....:..... ##:'##.... ##:'##.. ##::
// :::: ##:: ##:::: ## ##:::..::: ####: ## ##:::::::::: ##:: ##:::: ##'##:::: ##:
// ::: ##::: ##:::: ##. ######::: ## ## ## ######::::: ##:::: #####... |
// ***********************************************************************************************
//
// Steca: stress and texture calculator
//
//! @file gui/view/plot_polefig.h
//! @brief Defines class PlotPolefig
//!
//! @homepage https://github.com/scgmlz/Steca
//! @license GNU General Public License ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.