text stringlengths 4 6.14k |
|---|
/* Copyright (c) 2012, 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 h... |
/*
Copyright (C) 2003-2008 FreeIPMI Core 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, or (at your option)
any later version.
This program is distributed ... |
#ifndef _SYS_WAIT_H_
#define _SYS_WAIT_H_
#include <sys/types.h>
#include <sys/resource.h>
#include <sys/time.h>
#ifdef __cplusplus
extern "C" {
#endif
#define WIFSIGNALED(status) (!WIFSTOPPED(status) && !WIFEXITED(status))
#define WIFSTOPPED(status) (((status) & 0xff) == 0x7f)
#define WEXITSTATUS(status) (((status... |
/***************************************************************************
* License: *
* 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... |
/***********************************************************************
WalkSurfaceNavigationTool - Version of the WalkNavigationTool that lets
a user navigate along an application-defined surface.
Copyright (c) 2009-2012 Oliver Kreylos
This file is part of the Virtual Reality User Interface Library (Vrui).
The Virt... |
#include <linux/mutex.h>
#include <linux/socket.h>
#include <linux/skbuff.h>
#include <net/netlink.h>
#include <net/net_namespace.h>
#include <linux/module.h>
#include <linux/rtnetlink.h>
#include <net/sock.h>
#include <linux/inet_diag.h>
#include <linux/sock_diag.h>
static struct sock_diag_handler *sock_diag_handler... |
/* $Id: diddfunc.c,v 1.14.6.2 2004/08/28 20:03:53 armin Exp $
*
* DIDD Interface module for Eicon active cards.
*
* Functions are in dadapter.c
*
* Copyright 2002-2003 by Armin Schindler (mac@melware.de)
* Copyright 2002-2003 Cytronics & Melware (info@melware.de)
*
* This software may be used and distributed a... |
/*
* initialize SA ID structure
* Copyright (C) 2000 Henry Spencer.
*
* 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, or (at your
* option) any ... |
/* (C) IT Sky Consulting GmbH 2015
* http://www.it-sky-consulting.com/
* Author: Karl Brodowsky
* Date: 2016-06-05
* License: GPL v2 (See https://de.wikipedia.org/wiki/GNU_General_Public_License )
*/
/* implements tests for c-arithmetic */
/* enable qsort_r */
#define _GNU_SOURCE
#include <stdio.h>
#include <st... |
/*
* ShellForge example: execute /bin/ls -aR /
* $Id$
*/
int main()
{
char *a[] = {"/bin/ls", "-aR", "/", 0};
execve(*a, a, 0);
}
|
#ifndef _TLB_CONTEXT_H
#define _TLB_CONTEXT_H
struct sTlbContext
{
};
#endif
|
/************************************************************************
Copyright (C) Alain Di Chiappari
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... |
/* assembly.h - assembly language definitions
Copyright (C) 2010 Hector Martin "marcan" <hector@marcansoft.com
This code is licensed to you under the terms of the GNU GPL, version 2;
see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
*/
#ifndef ASSEMBLY_H
#define ASSEMBLY_H
#define r0 0
#def... |
/* GemRB - Infinity Engine Emulator
* Copyright (C) 2003 The GemRB Project
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any late... |
/* horst - Highly Optimized Radio Scanning Tool
*
* Copyright (C) 2005-2014 Bruno Randolf (br1@einfach.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 Lic... |
/* This file is part of Pazpar2.
Copyright (C) 2006-2013 Index Data
Pazpar2 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.
Pazpar2 is distributed in t... |
/* Copyright (C) 2000 drscholl@users.sourceforge.net
This is free software distributed under the terms of the
GNU Public License. See the file COPYING for details.
$Id$ */
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include "opennap.h"
#include "debug.h"
/* this is nasty ... |
/*
* include/asm-generic/mutex-xchg.h
*
* Generic implementation of the mutex fastpath, based on xchg().
*
* NOTE: An xchg based implementation might be less optimal than an atomic
* decrement/increment based implementation. If your architecture
* has a reasonable atomic dec/inc then you should proba... |
/* $begin csapp.h */
#ifndef __CSAPP_H__
#define __CSAPP_H__
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <setjmp.h>
#include <signal.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sy... |
/*
* Copyright (C) 2014 Gautier Hattenberger
*
* 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 version.... |
/*
* palmtc-gpio.h
*
* Authors: Holger Bocklet <bitz.email@gmx.net>
*
*/
#ifndef _PALMTC_GPIO_H_
#define _PALMTC_GPIO_H_
#include <asm/arch/pxa-regs.h>
/* Palm Tungsten C GPIOs */
#define GPIO_NR_PALMTC_EARPHONE_DETECT 2
#define GPIO_NR_PALMTC_CRADLE_DETECT_N 4
#define GPIO_NR_PALMTC_USB_DETECT 5
#define GP... |
#include <linux/sched.h>
#include <linux/stacktrace.h>
#include <linux/module.h>
#include <asm/stacktrace.h>
static void save_raw_context_stack(struct stack_trace *trace,
unsigned long reg29)
{
unsigned long *sp = (unsigned long *)reg29;
unsigned long addr;
while (!kstack_end(sp)) {
addr = *sp++;
if (__kerne... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Edge resistance for move/resize operations */
/*
* Copyright (C) 2005 Elijah Newren
*
* 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... |
#pragma once
#include "frontends/common2/commonframe.h"
#include <string>
namespace common2
{
class GNUFrame : public virtual CommonFrame
{
public:
GNUFrame();
std::string Video_GetScreenShotFolder() const override;
std::string getResourcePath(const std::string & filename) override;
private:
... |
/* Copyright (c) 2012, 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 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope... |
#ifndef SLICES_INCLUDED
#define SLICES_INCLUDED
/* Vrui includes */
#include <GL/GLColorMap.h>
#include <GLMotif/Blind.h>
#include <GLMotif/Popup.h>
#include <GLMotif/PopupWindow.h>
#include <GLMotif/RadioBox.h>
#include <GLMotif/RowColumn.h>
#include <GLMotif/Slider.h>
#include <GLMotif/StyleSheet.h>
#include <GLMoti... |
/*
* OMAP34xx M2 divider clock code
*
* Copyright (C) 2007-2008 Texas Instruments, Inc.
* Copyright (C) 2007-2010 Nokia Corporation
*
* Paul Walmsley
* Jouni Högander
*
* Parts of this code are based on code written by
* Richard Woodruff, Tony Lindgren, Tuukka Tikkanen, Karthik Dasu
*
* This program is free... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GThumb
*
* Copyright (C) 2010 Free Software Foundation, 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 F... |
/**************************************************************************************************
* *
* Project: NextGIS Formbuilder *
* Authors: M... |
/*
File: Kernel.h
Contains: Kernel Interfaces
Version: Technology: System 8
Release: QuickTime 6.0.2
Copyright: (c) 1994-2001 by Apple Computer, Inc., all rights reserved
Bugs?: For bug reports, consult the following page on
the Worl... |
/*
* Copyright (C) 2010 Martin Mueller
*
* 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 version.
*
*... |
#pragma once
namespace Tasker {
namespace Cli {
static std::string openEditor(std::string text);
static std::string trim(const std::string &str);
class View;
enum TextClass {
TASK_ID,
TASK_NAME,
TASK_STATE,
TASK_STATE_CLOSED,
TASK_LIST_HEADER,
SUB_TASK_HEADER,
EVENT_HEADER,
};
class CliInterface {
public:
... |
/*
* Copyright (c) Bull S.A. 2007 All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be useful, but
* ... |
#ifndef __ANALYZE_CONFIG___
#define __ANALYZE_CONFIG___
#include <glib.h>
#include "analyze.h"
typedef struct {
double dir_op_ratio; /* dir 操作概率 */
double symbol_link_op_ratio; /* symlink 操作概率 */
double file_op_ratio; /* file 操作概率 */
int accuracy;
int ... |
/*
Copyright (C) 2018 Erik Ogenvik
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 in the ho... |
/*
* arch/arm/plat-mxc/iomux-v1.c
*
* Copyright (C) 2004 Sascha Hauer, Synertronixx GmbH
* Copyright (C) 2009 Uwe Kleine-Koenig, Pengutronix
*
* Common code for i.MX1, i.MX21 and i.MX27
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... |
/***************************************************************************
File : AbstractFilter.h
Project : SciDAVis
--------------------------------------------------------------------
Copyright : (C) 2007,2008 by Knut Franke, Tilman Benkert
Email (use @ f... |
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include <X11/X.h>
#include "os.h"
#include "xf86.h"
#include "xf86Priv.h"
#define XF86_OS_PRIVS
#include "xf86_OSproc.h"
#include "xf86_OSlib.h"
#include <machine/apmvar.h>
#define APM_DEVICE "/dev/apm"
static pointer APMihPtr = NULL;
static void bsdCloseAP... |
/*
** use.h for epiDatabase in /epiEngine
**
** Made by Thomas Moulard
** Login moular_j
**
** Started on 02/01/2005 moular_t
** Last update 24/02/2005 moular_t
*/
#ifndef USE_H_
# define USE_H_
# include <stdio.h>
# include "utilsdb.h"
# include "../types.h"
# include "../locale/msg_index.h"
... |
/*
* Copyright 2001-2004 Brandon Long
* All Rights Reserved.
*
* ClearSilver Templating System
*
* This code is made available under the terms of the ClearSilver License.
* http://www.clearsilver.net/license.hdf
*
*/
/* Initial version based on multi-proc based server (like apache 1.x)
*
* Parts are:
* 1... |
/***************************************************
*
* SPI interface for motion sensor L3G4200D/LIS33DE
*
***************************************************/
#ifndef __SENSOR_MOTION_L3G4200D_SPI__
#define __SENSOR_MOTION_L3G4200D_SPI__
#include <rtdef.h>
#include <rtthread.h>
#include "misc.h"
#inc... |
/* MEX function for Matlab */
#include "mex.h"
#include "ariac.h"
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
double *p;
if(nrhs != 1) {
mexErrMsgIdAndTxt("arrobot_setvel", "One input required.");
return;
}
arrobot_setvel(*(mxGetPr(prhs[0])));
}
|
#ifndef FLAGS_H
#define FLAGS_H
#include "definitions.h"
void MAJ_flags_move(processeur *p, short int source, char typage);
void MAJ_flags_cmp_sub(processeur *p, short int source);
void MAJ_flags_ls(processeur *p, short int source,short int dest);
void MAJ_flags_logique(processeur *p,short int res);
#endif
|
/*
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#ifndef SQUID_BASE_RUNNERSREGISTRY_H
#define... |
/* $Id: errno.c 3174 2010-05-17 12:51:06Z ming $ */
/*
* Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.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... |
/*
* ORXONOX - the hottest 3D action shooter ever to exist
* > www.orxonox.net <
*
*
* License notice:
*
* 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; eit... |
#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,
... |
// SPDX-License-Identifier: GPL-2.0
//
// Exemples de la formation
// "Ecriture de drivers et programmation noyau Linux"
// Chapitre "Driver en mode caracteres"
//
// (c) 2001-2022 Christophe Blaess
//
// https://www.logilin.fr/
//
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <l... |
#ifndef CAMERACALIBRATION_SETTINGS_H_
#define CAMERACALIBRATION_SETTINGS_H_
enum CameraCalibrationPattern { CAMCALIB_CHESSBOARD, CAMCALIB_CIRCLES_GRID, CAMCALIB_ASYMMETRIC_CIRCLES_GRID };
struct StereoCalibrationSettings_struct {
bool doCalibration;
bool isCalibrated;
char *loadFileName_cam0;
bool useFisheyeModel... |
/* -*- Mode:C; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright 2012
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope... |
#if defined(HEADER_ASN1_H) && !defined(HAVE_ASN1_STRING_GET0_DATA)
const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *);
#endif
|
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... |
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
/* Test if a string represented in the form of a linked list is a palindrome */
#define TRUE 1
#define FALSE 0
#define ENDS ('\0')
struct node {
char c;
struct node * next;
};
struct node * createll(char * str)
{
int i = 0;
char c;
str... |
/*
* Copyright 2007 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2008 Juergen Beisert, kernel@pengutronix.de
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; eithe... |
/****************************************************************
* *
* Copyright 2001, 2002 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 *
* ... |
/* kernel/power/fbearlysuspend.c
*
* Copyright (C) 2005-2008 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed i... |
//
// TVGSGFNode.h
// TivoGo
//
// Created by BiXiaopeng on 13-11-30.
// Copyright (c) 2013年 BiXiaopeng. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TVGSGFProperty.h"
@interface TVGSGFNode : NSObject
@property (nonatomic,readonly)BOOL isMoveNode;
@property (nonatomic)BOOL isLeaf;
@property (n... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
/// Copyright 2009 Aurora Feint, Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You ma... |
#include <windows.h>
#include <errno.h>
#include <io.h>
#include "mman.h"
#ifndef FILE_MAP_EXECUTE
#define FILE_MAP_EXECUTE 0x0020
#endif /* FILE_MAP_EXECUTE */
static int __map_mman_error(const DWORD err, const int deferr)
{
if (err == 0)
return 0;
//TODO: implement
return er... |
#ifndef EX13_18
#define EX13_18
#include <string>
class Employee{
public:
Employee();
Employee(std::string &);
const int id() const { return id_; }
private:
int id_;
static int s_id;
std::string name;
};
#endif |
#ifndef DLG_UPDATE_H
#define DLG_UPDATE_H
#include <QtNetwork>
#include <QProgressDialog>
#include "update_checker.h"
#include "update_downloader.h"
class DlgUpdate : public QDialog {
Q_OBJECT
public:
DlgUpdate(QWidget *parent);
private slots:
void finishedUpdateCheck(bool needToUpdate, bool isCompatible, Q... |
#include <linux/backlight.h>
#include <linux/fb.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#define ADX_BACKLIGHT_CONTROL 0x00
#define ADX_BACKLIGHT_CONTROL_ENABLE (1 << 0)
#define ADX_BACKLIGHT_BRIGHTNESS 0x08
#define ADX_BACKLIGHT_STATUS 0x10
#define ADX_BACKLIGHT_ERROR... |
/*
* HTR -- The Heisetrolljan
*
* Copyright (C) 2016 Martin Wolters
*
* 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 ... |
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/************************************************
rbpangomatrix.c -
$Author: mutoh $
$Date: 2006/12/10 15:13:10 $
Copyright (C) 2005 Masao Mutoh
************************************************/
#include "rbpango.h"
#if PANGO_CHECK_VERSION(1,6,0)
#d... |
unsigned char PurpleWhite_Red[] = { 0, 82, 82, 83, 84, 84, 85, 86, 87, 87, 88,
89, 90, 91, 91, 92, 93, 94, 94, 95, 96, 97, 97, 98, 99, 99, 100, 101, 101, 102,
103, 103, 104, 104, 105, 106, 106, 107, 107, 108, 108, 109, 109, 110, 110, 111,
111, 112, 112, 112, 113, 113, 114, 114, 115, 115, 116, 116, 116, 117, 117, 118,
1... |
/*******************************************************
* query.h
* author:ÌìÃü½£Ö÷
* copyright(c) 2015 - ~: ÇëÔĶÁ LICENSE Îļþ
* Description(ÃèÊö):²éѯº¯Êý
******************************************************/
#pragma once
#ifndef QUERY_H
#define QUERY_H
#include "command_cycle_defination.h"
boo... |
/**********************************************************************
*
* FreeDoko a Doppelkopf-Game
*
* Copyright (C) 2001-2013 by Diether Knof and Borg Enders
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* ... |
/*
* Copyright (C) 2022 Colin Ian King.
*
* 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 ... |
/******************************************************************************
* Icinga 2 *
* Copyright (C) 2012 Icinga Development Team (http://www.icinga.org/) *
* *
... |
/***************************************************************************
* Copyright (C) 2013 by Christoph Thelen *
* doc_bacardi@users.sourceforge.net *
* *
* This pr... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2017-2018 Intel 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; version 2 of the License.
*
* This progr... |
#import <Cocoa/Cocoa.h>
@interface COLoginItem : NSObject {
}
+ (BOOL)willStartAtLogin:(NSURL *)itemURL;
+ (void)setStartAtLogin:(NSURL *)itemURL enabled:(BOOL)enabled;
@end
|
/*
* Created on 14. August 2008, 11:41
*
* Copyright 2008 Oliver Eichner <o.eichner@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 ... |
#include "objects_common.h"
#define T_GEYSIR 3000
#define T_GEYSIR_DUR 1000
/** \brief Geyser
*/
class Geyser : public Object {
public:
Geyser(Sint16 xpos=0, Sint16 ypos=0, const ParameterMap& param=ParameterMap());
virtual ~Geyser();
static ParameterMap default_parameters;
... |
/*
* Copyright (c) [2011-2012] Novell, Inc.
*
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as published
* by the Free Software Foundation.
*
* This program is distributed in the hope that it w... |
#ifndef _ASM_GENERIC_GPIO_H
#define _ASM_GENERIC_GPIO_H
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/of.h>
#ifdef CONFIG_GPIOLIB
#include <linux/compiler.h>
#include <linux/gpio/driver.h>
#include <linux/gpio/consumer.h>
/* Platforms may implement their GPIO interface ... |
/*
* 86Box A hypervisor and IBM PC system emulator that specializes in
* running old operating systems and software designed for IBM
* PC systems and compatibles from 1981 through fairly recent
* system designs based on the PCI bus.
*
* This file is part of the 86Box distribution.
*
* Definitions for the S... |
#include <unistd.h>
#include <sys/reboot.h>
#include <stdlib.h>
#include "platform/platform.h"
#define ABORTMSG "hard-reboot: Aborted.\n"
#define USAGE "Say \"hard-reboot (RESTART|HALT|POWER_OFF)\" if you really mean it.\n"
void usage(void) {
write(2, ABORTMSG, str_len(ABORTMSG));
write(2, USAGE, str_len(USAGE))... |
/* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved.
* 2013, Ported by Ravishka Fernando. <rn.fernando3@gmail.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 and
* only version 2 as published by the Free ... |
/***************************************************************************
* Copyright (C) 2008 by I2P-Messenger *
* Messenger-Dev@I2P-Messenger *
* *
* This program is free software; you can redistribute it and/or mo... |
#ifndef BUFSOCKET_H
#define BUFSOCKET_H
#include <Socket.h>
class BufferedSocket: public Socket{
uint8_t* recvBuffer;
uint16_t bufferSize;
uint16_t bufferCapacity;
void init(uint16_t bufferSize);
protected:
bool onDataReceived(Buffer* buf);
public:
BufferedSocket(char* server, uint16_t port, DNSH... |
#ifndef RMADataConvWidget_H
#define RMADataConvWidget_H
// Include wxWindows' headers
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/dialog.h>
#include <wx/image.h>
#include <wx/statline.h>
#include <wx/spinbutt.h>
#include <wx/spinctrl.h>
#include <wx/splitter.h>
#include <wx/listctrl.h>
#include <... |
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/IMAVCore.framework/IMAVCore
*/
#import <IMAVCore/AVChatResponseOp.h>
__attribute__((visibility("hidden")))
@interface AVChatCounterProposalOp : AVChatResponseOp {
}
- (void)_sendMessageToBuddy:(id)buddy result:(id)... |
/*
* misc.c
*
* This is a collection of several routines from gzip-1.0.3
* adapted for Linux.
*
* Modified for ARM Linux by Russell King
*
* Nicolas Pitre <nico@visuaide.com> 1999/04/14 :
* For this code to run directly from Flash, all constant variables must
* be marked with 'const' and all other variab... |
#include <linux/version.h>
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/types.h>
#include <linux/input.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/device.h>
#in... |
#ifndef GENERATEIMAGE_H
#define GENERATEIMAGE_H
#include <QRgb>
#include <QImage>
#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include <libtorrent/bitfield.hpp>
#include <libtorrent/torrent_handle.hpp>
#include <libtorrent/torrent_status.hpp>
using libtorrent::bitfield;
using libtorrent::partial_pi... |
#ifndef _NAOMIGD_H_
#define _NAOMIGD_H_
#include "naomibd.h"
#define MCFG_NAOMI_GDROM_BOARD_ADD(_tag, _image_tag, _pic_tag, _eeprom_tag, _maincpu_tag, _irq_cb) \
MCFG_NAOMI_BOARD_ADD(_tag, NAOMI_GDROM_BOARD, _eeprom_tag, _maincpu_tag, _irq_cb) \
naomi_gdrom_board::static_set_tags(*device, _image_tag, _pic_ta... |
//
// Copyright (C) 2006-2011 Christoph Sommer <christoph.sommer@uibk.ac.at>
//
// Documentation for these modules is at http://veins.car2x.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 Foundat... |
/* -*- c++ -*- */
/*
* Copyright 2004 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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 opti... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GThumb
*
* Copyright (C) 2008 Free Software Foundation, 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 F... |
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... |
/*
* Copyright (c) 2013 Andrew Mortensen
* All rights reserved. See LICENSE.
*/
#include <sys/types.h>
#include <sys/param.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "duo_cosign_cfg.h"
extern int errno;
char *
dc_get_cfg_p... |
/*
* NET Generic infrastructure for INET6 connection oriented protocols.
*
* Authors: Many people, see the TCPv6 sources
*
* From code originally in TCPv6
*
* 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 ... |
#ifndef BLUETOOTH_H
#define BLUETOOTH_H
boolean BtDataComplete = false; // whether the string is complete
char bt_packet[20];
int serialCount = 0;
const static char* getPIDValues = "GP;";
const static char* getSettings = "GS;";
const static char* getInfo = "GI;";
const static char* getKalman = "GK;";
const stati... |
/*
* linux/include/asm-arm/arch-versatile/time.h
*
* 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... |
/*
* $Id: iq80310.c 573 2006-02-20 17:09:11Z stsp2 $
*
* Mapping for the Intel XScale IQ80310 evaluation board
*
* Author: Nicolas Pitre
* Copyright: (C) 2001 MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licens... |
/*
* linux/arch/arm/mach-omap1/timer32k.c
*
* OMAP 32K Timer
*
* Copyright (C) 2004 - 2005 Nokia Corporation
* Partial timer rewrite and additional dynamic tick timer support by
* Tony Lindgen <tony@atomide.com> and
* Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com>
* OMAP Dual-mode timer framework su... |
/*
* Copyright (C) 2003 Robert Kooima
*
* NEVERBALL 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 d... |
/*
* arch/arm/mach-tegra/wdt-recovery.c
*
* Copyright (c) 2012, NVIDIA 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; version 2 of the License.
*
* This program is distr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.