text stringlengths 4 6.14k |
|---|
// Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <memory>
#include <vector>
#include "Common/CommonTypes.h"
#include "VideoBackends/Vulkan/Constants.h"
#include "VideoBackends/Vulkan/Texture2D.h"
namespace Vulkan
{
class CommandBuff... |
/*
WSQL
====
An asynchronous python interface to MySQL
---------------------------------------------------------
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
(a... |
/*
Copyright (C) 1999 Lars Knoll (knoll@mpi-hd.mpg.de)
Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
Copyright (C) 2006-2017 Apple Inc. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License ... |
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: fmemio.h,v 1.3 2004/07/09 18:20:29 hubbe Exp $
*
* Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version of the RealNetwor... |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... |
/* Copyright (C) 1994 - 2003 artofcode LLC. All rights reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license contained... |
/**
* @file chargen.h
* @brief Character generator protocol
*
* @section License
*
* Copyright (C) 2010-2013 Oryx Embedded. All rights reserved.
*
* This file is part of CycloneTCP Open.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Genera... |
#ifndef _GAP_OPTIONS_H
#define _GAP_OPTIONS_H
#include <windows.h>
void SaveOptions(void);
void LoadOptions(void);
int CreateOptionsDlg(HWND hwnd);
void SetCheckBox(HWND hwnd, int cbId, BOOL cbVal);
BOOL GetCheckBox(HWND hwnd, int cbId);
void EnableApply(HWND hwnd);
void DisableApply(HWND hwnd);
void Tra... |
/*
* F-List Pidgin - a libpurple protocol plugin for F-Chat
*
* Copyright 2011 F-List Pidgin developers.
*
* This file is part of F-List Pidgin.
*
* F-List Pidgin is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software F... |
/*
* Copyright (C) 2006 Ingenic Semiconductor Inc.
*
* This program is free software; you can distribute 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 it will be useful, but WITHO... |
#pragma once
BOOL SetWindowsHooksEx_Injection(); |
#pragma once
#include "Renderer2D_Common.h"
#include "ImageResource.h"
struct SDL_Surface;
struct SDL_Texture;
struct SDL_Renderer;
namespace Vanguard
{
class SDLImageResource : public ImageResource
{
friend class Renderer2D;
TYPE_DECLARATION(SDLImageResource, ImageResource);
private:
SDL_Surface* sdlSurf... |
/*
* $Id: io.c,v 1.1.1.1 2006/01/06 00:51:08 jsantiago Exp $
* Copyright (C) 2000 YAEGASHI Takeshi
* Typical I/O routines for HD64461 system.
*/
#include <linux/config.h>
#include <asm/io.h>
#include <asm/hd64461/hd64461.h>
#define MEM_BASE (CONFIG_HD64461_IOBASE - HD64461_STBCR)
static __inline__ unsigned long ... |
//****************************************************************************
// Copyright (C) 2006-2007 PEAK System-Technik GmbH
//
// linux@peak-system.com
// www.peak-system.com
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as pub... |
#ifndef SVO_RELOCALIZER_FERN_H_PRVK2HPG
#define SVO_RELOCALIZER_FERN_H_PRVK2HPG
#include <vector>
#include <opencv2/opencv.hpp>
namespace reloc
{
class Fern
{
public:
Fern (int num_tests, int max_x, int max_y);
virtual ~Fern ();
uint32_t evaluetePatch (const cv::Mat &patch);
int getMaxX () { return max_x_;... |
/*
ZynAddSubFX - a software synthesizer
NotePool.h - Pool of Synthesizer Engines And Note Instances
Copyright (C) 2016 Mark McCurry
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... |
#pragma once
#include "common.h"
#include "exefs.h"
#define ESSENTIAL_NAME "essential.exefs"
// magic number for essential backup
#define ESSENTIAL_MAGIC 'n', 'a', 'n', 'd', '_', 'h', 'd', 'r', 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00
// size of /ro/sys/HWCAL0.dat and /ro/sys/HWCAL1.dat
#define SIZE_HWCAL 0x... |
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
__visible struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
... |
/***************************************************************************
qgswcsdataitems.h
---------------------
begin : 2 July, 2012
copyright : (C) 2012 by Radim Blazek
email : radim dot blazek at gmail.com
*********************************************... |
/*
* $Id: c_thstmv.c,v 1.2 2003-03-03 16:16:24 haley Exp $
*/
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <ncarg/ncargC.h>
#include <ncarg/gks.h>
#define NDIM 320
#define NCLS 17
#define NWRK 374
#define IWTYPE 1
#define WKID 1
main()
{
/*
* PURPOSE To provide a dem... |
#include <au_channel.h>
#include <stdio.h>
#include <stdlib.h>
AuChanError AuChannelOpen ( hAudioChannel* audioChannel,
const char* filename,
AuChanMode mode,
AuChanType* type,
AuChanInfo* in... |
//
// ProfilePreferencesViewController.h
// iTerm
//
// Created by George Nachman on 4/8/14.
//
//
#import "iTermPreferencesBaseViewController.h"
#import "ProfileModel.h"
@class ProfileModel;
// Posted when the name field ends editing in the "get info" dialog. The object is the guid of the
// profile that may hav... |
/*
* Philips outdoor temperature sensor -- used with various Philips clock
* radios (tested on AJ3650)
*
* Not tested, but these should also work: AJ7010, AJ260 ... maybe others?
*
* A complete message is 112 bits:
* 4-bit initial preamble, always 0
* 4-bit packet separator, always 0, followed by 32-b... |
// 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_RENDERER_SPELLCHECKER_SPELLCHECK_LANGUAGE_H_
#define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_LANGUAGE_H_
#include <queue>
#include <st... |
#include "tests.h"
#include "machine.h"
#include "thread.h"
#include "map.h"
#include "debug.h"
int test__thread_mg_share(void)
{
struct machines machines;
struct machine *machine;
/* thread group */
struct thread *leader;
struct thread *t1, *t2, *t3;
struct map_groups *mg;
/* other process */
struct thread ... |
#import <sqlite3.h>
@interface SQL_Controller : NSObject {
@public
sqlite3 *connection;
}
- (void)openDatabase;
- (void)closeDatabase;
@end |
//-----------------------------------------------------------------------------
// File: ComponentDiffWidget.h
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Esko Pekkarinen
// Date: 17.10.2014
//
// Description:
// Tree widget for displaying diff... |
/*
* global.h
* XTBook
*
* Created by Nexhawks on 12/22/10.
* Copyright 2011 Nexhawks. All rights reserved.
*
*/
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdarg.h>
#include <string>
#include <vector>
#include <algorithm>
#include <map>
#include <se... |
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 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 ver... |
/*
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... |
/*
* Copyright (C) 2002 ARM Ltd.
* All Rights Reserved
* Copyright (c) 2011-2014, The Linux Foundation. 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.... |
#ifndef WEPL_H
#define WEPL_H
#include <array>
#include <vector>
#include "cbctrecon_config.h"
#include "cbctrecon_types.h" // for FloatImageType, UShortImageType
#include <itkPoint.h>
#include "PlmWrapper.h"
namespace crl {
namespace wepl {
double WEPL_from_point(const std::array<size_t, 3> &cur_point_id,
... |
// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
#include <string>
#include "Core/HW/EXI_Device.h"
class PointerWrap;
class CEXIIPL : public IEXIDevice
{
public:
CEXIIPL();
virtual ~CEXIIPL();
virtual void SetCS(int _iCS) override;
bool... |
/* asm/bitops.h for Linux/CRIS
*
* TODO: asm versions if speed is needed
*
* All bit operations return 0 if the bit was cleared before the
* operation and != 0 if it was not.
*
* bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
*/
#ifndef _CRIS_BITOPS_H
#define _CRIS_BITOPS_H
/* Currently this is unsu... |
// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _GTKMM_PAGESETUP_P_H
#define _GTKMM_PAGESETUP_P_H
#include <glibmm/private/object_p.h>
#include <glibmm/class.h>
namespace Gtk
{
class PageSetup_Class : public Glib::Class
{
public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef PageSetup CppObjectType... |
/***********************************************************
* author BIKRAM KAUSHIK BORA *
* *
* LinkedIn: https://au.linkedin.com/in/bikrambora *
* *
* GitHub: ... |
/*
* Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-lic... |
/*
Purdue University
CNIT 315
Team Hot Wheels
Members::
Tim Cahoe
Matt Depue
Matt Morehouse
Nathan Morin @nathanamorin
*/
#include "hotWheelsLib.h"
#include <pthread.h>
#include <stdio.h>
#include <string.h>
int initialized = FALSE;
double frequency = 1.0/400.0;
int throttleVal = TRUE;
struct varSpeedInput thrott... |
// BubbleBabble implementation, written and
// placed in the public domain by denis bider
#ifndef BABBLE_H_INCLUDED
#define BABBLE_H_INCLUDED
#include "filters.h"
NAMESPACE_BEGIN(CryptoPP)
class BubbleBabbleEncoder : public Filter
{
public:
BubbleBabbleEncoder(BufferedTransformation* pQ = 0);
void Put(byte b... |
/******************************************************************************
* Generated by PSoC Designer 5.4.2946
******************************************************************************/
// =============================================================================
// FILENAME: PSoCAPI.h
//
// Copyright ... |
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <efi.h>
#include <efilib.h>
#include "disk.h"
#include "graphics.h"
#include "linux.h"
#include "measure.h"
#include "pe.h"
#include "splash.h"
#include "util.h"
/* magic string to find in the binary image */
static const char __attribute__((used)) magic[] = ... |
/* ----------------------------------------------------------------------------
SOURCE FILE
Name: select.c
Program: C10K
Developer: Andrew Burian
Created On: 2015-02-11
Functions:
int select_server(int port)
Description:
A multiplexing server centered around epoll
Revisions:
(none)
--------------------... |
/*
* Configuation settings for the ESPT-GIGA board
*
* Copyright (C) 2008 Renesas Solutions Corp.
* Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __ESPT_H
#define __ESPT_H
#define CONFIG_CPU_SH7763 1
#define CONFIG_ESPT 1
#define __LITTLE_... |
#ifdef NS3_MODULE_COMPILATION
# error "Do not include ns3 module aggregator headers from other modules; these are meant only for end user scripts."
#endif
#ifndef NS3_MODULE_CORE
// Module headers:
#include "abort.h"
#include "assert.h"
#include "attribute-accessor-helper.h"
#include "attribute-construction-lis... |
/***************************************************************************
* Copyright (C) 2007-2009 by Glen Masgai *
* mimosius@users.sourceforge.net *
* *
* This pr... |
#ifndef AY8910_H
#define AY8910_H
#define MAX_8910 5
#define ALL_8910_CHANNELS -1
struct AY8910interface
{
int num; /* total number of 8910 in the machine */
int baseclock;
int mixing_level[MAX_8910];
mem_read_handler portAread[MAX_8910];
mem_read_handler portBread[MAX_8910];
mem_write_handler portAwrite[MAX_8... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <check.h>
#include "check-helpers.h"
#include "check-libempathy.h"
#include "check-empathy-helpers.h"
#include <libempathy/empathy-chatroom.h>
#if 0
static EmpathyChatroom *
create_chatroom (void)
{
EmpathyAccount *account;
EmpathyChatroom *chat... |
/*********************************************************************
PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved.
See LICENSE and COPYING for usage.
Do not redistribute without a written permission by the Copyright
holders.
*********************************************************************/
... |
/*
* app_config.h
*
* Created on: 22.03.2013
* Author: guelland
*/
#ifndef APP_CONFIG_H_
#define APP_CONFIG_H_
#include "config.h"
#ifdef _DEBUG
//# define DEBUG_TASK_ID_CONF
# define DEBUG_LED_TASK_ID 0x3U
# define DEBUG_MIDI_TASK_ID 0x2U
# define DEBUG_ADC_TASK_ID 0x1U
#endif
#ifdef STM32_U... |
//
// CXGraphWindowController.h
// Conto
//
// Created by Nicola on Sat May 04 2002.
// Copyright (c) 2002 by Nicola Vitacolonna. All rights reserved.
//
// This file is part of Conto.
//
// Conto is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as p... |
/*
* WPA Supplicant - Basic AP mode support routines
* Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
* Copyright (c) 2009, Atheros Communications
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef AP_H
#define AP_H
int wpa_supplicant_create_ap(... |
#ifndef BITMAP_H
#define BITMAP_H
#include <stdint.h>
namespace stickman_common
{
// TODO: bitmap cleanup
class bitmap
{
public:
bitmap(void *fileHandle);
uint32_t size; /* Size of bitmap in bytes */
int32_t width; /* Image width in pixels */
int32_t height; /* Image height in pixels */
uint1... |
#pragma once
#include <memory>
#include "Padding.h"
#include "BlockMode.h"
using namespace std;
class IBufferCipher
{
public:
virtual void EncipherBuffer(
const char * i_pInputBuffer,
size_t i_nInputSize,
char * o_pOutputBuffer,
size_t i_nOutputSize) = 0;
};
template<unsigned int NLeng... |
// Polygonizer.h: Polygonizer
//
//////////////////////////////////////////////////////////////////////
#include "../DataStructure/PointSet.h"
#include "../DataStructure/PolygonalMesh.h"
#include "../numericalC/SVD.h"
#include "ImplicitFunction.h"
class Polygonizer
{
public:
float spaceX, spaceY, spac... |
/***************************************
* Copyright (c) 2013 Charles Hache <chache@brood.ca>. All rights reserved.
*
* This file is part of the prjOS project.
* prjOS 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... |
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2002,2004,2006,2007 Free Software Foundation, Inc.
*
* GRUB 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, ... |
/*
libmetaoptions - A collection of option-related functions.
Copyright (C) 2000-2004 B. Augestad, bjorn.augestad@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... |
/*
LUFA Library
Copyright (C) Dean Camera, 2010.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2010 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation ... |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICEN... |
//---------------------------------------------------------------------------
/*
NeuralNet, a three-layered perceptron class
Copyright (C) 2010 Richel Bilderbeek
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software F... |
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2002,2005,2006,2007,2008 Free Software Foundation, Inc.
*
* GRUB 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 Lice... |
/*
* EyeDroid.h
*/
#include "Eye.h"
#include "Config.h"
#include <string>
#include <opencv2/core/core.hpp>
#include <opencv2/contrib/contrib.hpp>
#include <vector>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/features2d/f... |
#include "crane.h"
IMAPD_RESP api_cmd_list(USER * user, char *preference, char *preference_m, char *saved_buf, char ***saved_list, int flag)
{
char sql[1024];
sqlite3 *conn = user->sql_db;
char *err_sql;
char **result;
int nrow;
int ncolumn;
int i;
char *offset, **ppp;
sprintf(sql, "SELECT mbox, has_childre... |
/*
* This file is part of Micro Bench
* <https://github.com/duckmaestro/Micro-Bench>.
*
* Micro Bench 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 opti... |
/*
This file is part of Akypuera
Akypuera is free software: you can redistribute it and/or modify
it under the terms of the GNU Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Akypuera is distributed in the ho... |
#ifndef ClusterClass_h
#define ClusterClass_h 1
#include "Global.hh"
#include "LCCluster.hh"
#include "MCInfo.h"
#include <algorithm>
#include <iosfwd>
#include <memory>
#include <string>
// IWYU pragma: no_include <bits/shared_ptr.h>
class GlobalMethodsClass;
/* ---------------------------------------------------... |
//
// AKFSignalMix.h
// AudioKit
//
// Created by Aurelius Prochazka on 7/22/12.
// Copyright (c) 2012 Aurelius Prochazka. All rights reserved.
//
#import "AKParameter+Operation.h"
#import "AKFSignal.h"
/** Mix 'seamlessly' two pv signals. This opcode combines the most prominent
components of two pvoc streams in... |
// ************************************************************************************************
//
// qt-mvvm: Model-view-view-model framework for large GUI applications
//
//! @file mvvm/model/mvvm/model/sessionitemtags.h
//! @brief Defines class CLASS?
//!
//! @homepage http://www.bornagainproject.org... |
/******************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* This file is part of Real VMX.
* Copyright (C) 2013 Surplus Users Ham Society
*
* Real VMX is free software: you can redistribute it and/or modify
* it under th... |
!***********************************************************************
! This is a header file to define macros for static and dynamic memory *
! allocation. Define STATIC_MEMORY_ in MOM_memory.h for static memory *
! allocation. Otherwise dynamic memory allocation will be assumed. *
!***************************... |
#import <Cocoa/Cocoa.h>
#import "URLDropTarget.h"
@class CTBrowser;
@class CTTabContents;
// A controller for the toolbar in the browser window.
//
// This class is meant to be subclassed -- the default implementation will load
// a placeholder/dummy nib. You need to do two things:
//
// 1. Create a new subclass of C... |
/************************************************************************************//**
* \file port\linux\timeutil.c
* \brief Time utility source file.
* \ingroup openblt-tcp-boot
* \internal
*----------------------------------------------------------------------------------------
* ... |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r1_2;
void *t0(void *arg){
label_1:;
int v2_r1 = atomic_load_explicit(&vars[0], memory_order_seq_cst)... |
/*
* Filename: doubleToString.c
* Author: Andrew Laing
* Email: parisianconnections@gmail.com
* Date: 04/06/2017.
* Description: Convert a double to a string
* Accurate to 6 decimal places
*/
#include <stdio.h>
#include <stdlib.h>
void doubleToString(char [], dou... |
//
// NSDate+Extensions.h
// VExtensions
//
// Created by yuan on 14-6-6.
// Copyright (c) 2014年 www.heyuan110.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#define D_MINUTE 60
#define D_HOUR 3600
#define D_DAY 86400
#define D_WEEK 604800
#define D_YEAR 31556926
@interface NSDate (NSDate_Ext... |
/*
* Project name:
Sprintl
* Copyright:
(c) Mikroelektronika, 2011.
* Revision History:
20110105:
- initial release;
* Description:
This is a demonstration of the standard C library sprinti routine usage.
Two different representations of the same long integer number obtained
by ... |
#ifndef __SYSCALLS_H__
#define __SYSCALLS_H__
#include <tipos.h>
#define SYS_INT 0x30
#define SYS_GETPID 0
#define SYS_EXIT 1
#define SYS_PALLOC 2
#define SYS_PRINT 3
#define SYS_SLEEP 5
#define SYS_LOCPRINT 6
#define SYS_RUN 7
#define SYS_FORK 8
#define SYS_PIPE 9
#define SYS_SHARE_PAGE 10
#define SYS_LO... |
#include <linux/init.h>
#include <linux/posix_acl.h>
#define REISERFS_ACL_VERSION 0x0001
typedef struct
{
__le16 e_tag;
__le16 e_perm;
__le32 e_id;
} reiserfs_acl_entry;
typedef struct
{
__le16 e_tag;
__le16 e_perm;
} reiserfs_acl_entry_short;
typedef struct
{
__le32 a_version;
} reiserfs_acl_header;
static ... |
//-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// RLUnit - A run-length encoded unit of the FM-index
//
#ifndef RLUNIT_H
#define RLUNIT_H
... |
#include <stdio.h>
#include <stdlib.h>
void print(char *str) {
printf("test.c print(char *str)\n");
printf("%s\n", str);
}
void print1(char *str) {
printf("test.c print1(char *str)\n");
printf("%s\n", str);
}
void print2(char *str)
{
printf("test C testPrint %s\n",str);
}
void ttargbyte(char *dst, char *src)... |
/*
* Copyright (C) 2012 - Virtual Open Systems and Columbia University
* Author: Christoffer Dall <c.dall@virtualopensystems.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundati... |
#pragma once
#include <map>
#include <memory>
#include <set>
#include <shared_mutex>
#include <string>
#include "ValueType.h"
struct mqtt_var_type {
std::string dataType;
std::string format;
std::string unit;
};
using MqttVarType = struct mqtt_var_type;
class VariableStore {
mutable std::shared_mutex lock;
... |
/*
* lib/reed_solomon/encode_rs.c
*
* Overview:
* Generic Reed Solomon encoder / decoder library
*
* Copyright 2002, Phil Karn, KA9Q
* May be used under the terms of the GNU General Public License (GPL)
*
* Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de)
*
* $Id: encode_rs.c,v 1.5 2005/11/07... |
/*
RPG Paper Maker Copyright (C) 2017-2021 Wano
RPG Paper Maker engine is under proprietary license.
This source code is also copyrighted.
Use Commercial edition for commercial use of your games.
See RPG Paper Maker EULA here:
http://rpg-paper-maker.com/index.php/eula.
*/
#ifndef SYSTEMST... |
#ifndef CONFIG_H
#define CONFIG_H
// uart.[ch] defines
#define UART_BAUD_RATE 57600
#endif
|
#include <verifier-builtins.h>
#include <stdbool.h>
#include <stdlib.h>
struct item {
struct item *head;
struct item *next;
};
struct item* alloc_or_die(void)
{
struct item *pi = malloc(sizeof(*pi));
if (pi)
return pi;
else
abort();
}
struct item* create_sll_head(void)
{
struc... |
/*
* io.h --- the I/O manager abstraction
*
* Copyright (C) 1993, 1994, 1995, 1996 Theodore Ts'o.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Library
* General Public License, version 2.
* %End-Header%
*/
#ifndef _EXT2FS_EXT2_IO_H
#define _EXT2FS_EXT2_IO_H
/*
* ext2_loff_t... |
/*
** Zabbix
** Copyright (C) 2001-2017 Zabbix SIA
**
** 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 pro... |
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (2015) Alexander Stukowski
//
// This file is part of OVITO (Open Visualization Tool).
//
// OVITO is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publis... |
/*
* Copyright (C) 2011 Dmitry Skiba
*
* 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 distr... |
/*
* Copyright (C) 2016 Grzegorz Sygieda
*
* 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 ... |
/*
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp -p response.cpp resp.xml
*
* qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
*
* This is an auto-generated file.
* Do not edit! All changes made to it will be lost.
*/
#ifndef RESPONSE_CPP
#define RESPONSE_CPP
#inc... |
#ifndef QUI_AUXILIARYBASISTAB_H
#define QUI_AUXILIARYBASISTAB_H
/*!
* \file AuxiliaryBasis.h
*
* \brief contains class definitions associated with the Auxiliary Basis
* in the toolBoxOptions widget of the QUI.
*
* \author Andrew Gilbert
* \date May 2019
*/
#include "ui_AuxiliaryBasisTab.h"
name... |
/*
* (C) 2003-2006 Gabest
* (C) 2006-2014 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 opt... |
#pragma once
// subtitleeditor -- a tool to create or edit subtitle
//
// https://kitone.github.io/subtitleeditor/
// https://github.com/kitone/subtitleeditor/
//
// Copyright @ 2005-2018, kitone
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public ... |
//
// UserModel.h
// XujcClient
//
// Created by 田奕焰 on 16/3/6.
// Copyright © 2016年 luckytianyiyan. All rights reserved.
//
#import "BaseModel.h"
@interface UserModel : BaseModel
@property (strong, nonatomic) NSString *nikename;
@property (strong, nonatomic) NSString *phone;
@property (strong, nonatomic) NSStri... |
#ifndef LANDMARKS_LANDMARK_COST_ASSIGNMENT_H
#define LANDMARKS_LANDMARK_COST_ASSIGNMENT_H
#include <set>
#include "../globals.h"
class LandmarkGraph;
class LandmarkNode;
class LandmarkCostAssignment {
const std::set<int> empty;
protected:
LandmarkGraph &lm_graph;
OperatorCost cost_type;
const std::s... |
/*
* fifos - fifo statistics
*
* This file is part of libpjf
* Copyright (C) 2005-2009 ASN Sp. z o.o.
* Author: Pawel Foremski <pjf@asn.pl>
*
* libpjf 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... |
#ifndef ARDUINO_LEDS_H
#define ARDUINO_LEDS_H
#include <Arduino.h>
#include "Types.h"
#include "Parsing.h"
#define FADE_TIME_MS 3000
void leds_reset();
void leds_setup();
void leds_process();
void leds_color_fade(const RGBW & start, const RGBW & stop, unsigned long time = FADE_TIME_MS);
void leds_color_fade(byt... |
#include <stdio.h>
#include <math.h>
void troca(float* v1, float* v2){
float aux = *v2;
*v2 = *v1;
*v1 = aux;
}
int main(){
float a,b,c;
scanf("%f %f %f", &a, &b, &c);
if(a < c)
troca(&a,&c);
if(b < c)
troca(&b,&c);
if(a < b)
troca(&a,&b);
if(a >= (b+c)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.