text stringlengths 4 6.14k |
|---|
/*
* fbcon.c
*
* Copyright (C) 2012 Andrei Warkentin <andreiw@msalumni.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 l... |
#pragma once
typedef unsigned char byte;
typedef unsigned int uint;
struct BGRAPixel;
struct RGBPixel;
void BGRAtoRGBPlane(BGRAPixel* data, const uint width, const uint height, byte* destRGBBuffer);
void BGRAtoYUV444Planes(BGRAPixel* data, const uint width, const uint height, byte* destYBuffer, byte* destUBuffer, by... |
/*********************************************************************
* Filename: sha256.h
* Author: Brad Conte (brad AT bradconte.com)
* Copyright:
* Disclaimer: This code is presented "as is" without any guarantees.
* Details: Defines the API for the corresponding SHA1 implementation.
**********************... |
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Rosegarden
A MIDI and audio sequencer and musical notation editor.
Copyright 2000-2018 the Rosegarden development team.
Other copyrights also apply to some parts of this work. Please
see the AUTHORS file and individu... |
#include "stdarg.h"
#include "include/console.h"
static int x = 0;
static int y = 0;
static char* video = (char*) 0xb8000;
static int kprintf_res = 0;
static void kputc(char c)
{
if ((c == '\n') || (x > 79)) {
x = 0;
y++;
}
if (c == '\n') {
return;
}
if (y > 24) {
... |
/* tre-config.h. This file defines all compile time definitions
that are needed in `regex.h' for Win32. */
/* Define to 1 if the system has the type `reg_errcode_t'. */
/* #undef HAVE_REG_ERRCODE_T */
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you ha... |
/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
* Copyright (c) 2012, LGE Inc.
*
* 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 progr... |
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:40 2014 */
/* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/config/forcedeth/napi.h */
|
/*
* 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 option) any later version.
*
* FFmpeg is distributed... |
/* ASE - Allegro Sprite Editor
* Copyright (C) 2001-2011 David Capello
*
* 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 v... |
/*
* Copyright (C) 2018, Nils Asmussen <nils@os.inf.tu-dresden.de>
* Economic rights: Technische Universitaet Dresden (Germany)
*
* This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores).
*
* M3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Genera... |
/* Copyright (C) 2007, Charles Stewart */
/* 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 in the h... |
/*
*
* ================================================================================
* common,h - part of the WebTester Server frontend
* ================================================================================
*
* Written (by Nazgul) under General Public License.
*
*/
#ifndef _common_h_
#define _c... |
/**
* (C) 2010-2011 Alibaba Group Holding Limited.
*
* 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.
*
* Version: $Id$
*
* ob_packet_queue_thread.h for ...
*
* Authors:
* ... |
/* AArch64-specific backend routines.
Copyright 2009-2013 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... |
/*
* $Id: ftshadow.c 9689 2012-09-16 08:28:37Z andijahja $
*/
/*
* Harbour Project source code:
* NF functions: FT_SHADOW(), FT_SETATTR()
*
* Copyright 2007 Przemyslaw Czerpak <druzus / at / priv.onet.pl>
*
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it an... |
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* 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; e... |
/*
* File: el_string.c
* Copyright: (c)2015 Gerrard de Jonge <development.gdj@netvisit.nl>
* License: GPLv2 (see file COPYING)
*
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include "el_defs.h"
#include "el_string.h"
///
///
///
///
void clearMarker(char * s, ch... |
/**
@file Color3uint8.h
@maintainer Morgan McGuire, graphics3d.com
@created 2003-04-07
@edited 2006-06-24
Copyright 2000-2006, Morgan McGuire.
All rights reserved.
*/
#ifndef G3D_COLOR3UINT8_H
#define G3D_COLOR3UINT8_H
#include "G3D/platform.h"
#include "G3D/g3dmath.h"
namespace G3D {
/*
Repres... |
#include <linux/module.h>
#include <linux/video_output.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/ctype.h>
MODULE_DESCRIPTION("Display Output Switcher Lowlevel Control Abstraction");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Luming Yu <luming.yu@intel.com>");
static ssize_t video_output_show_stat... |
#ifndef DYN_ARRAY_DYN_ARRAY_H
#define DYN_ARRAY_DYN_ARRAY_H
extern void **dynarr_new();
extern void **dynarr_destroy(void **arr);
extern void **dynarr_set(void **arr, size_t index, void* data);
extern void *dynarr_get(void **arr, size_t index);
#endif //DYN_ARRAY_DYN_ARRAY_H
|
#include "openbios/config.h"
#include "openbios/bindings.h"
#include "asm/types.h"
/* program counter */
extern ucell PC;
extern unsigned char *dict;
extern cell dicthead;
extern ucell *last;
struct eregs {
uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
uint32_t vector;
... |
/*
* Dummy LL interface for the Gigaset driver
*
* Copyright (c) 2009 by Tilman Schmidt <tilman@imap.cc>.
*
* =====================================================================
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License ... |
/*------------------------------------------------------------------------
* Step length estimation by parabolic line search for the AC case
*
* D. Koehn
* Kiel, 12.06.2017
* ----------------------------------------------------------------------*/
#include "fd.h"
float step_length_est_ac(struct waveAC *waveAC,... |
/***************************************************************************
* This file is part of KDevelop *
* Copyright 2007 Andreas Pakulat <apaku@gmx.de> *
* *
* This pr... |
#ifndef VOLUME_RENDERER_H
#define VOLUME_RENDERER_H
#include "GL/glew.h"
#include "volume_renderer_global.h"
#include <QWidget>
class TransferFunction1DWidget;
class VolumeRenderWidget;
class QSlider;
class VOLUMERENDERER_EXPORT VolumeRenderer : public QWidget
{
Q_OBJECT
public:
VolumeRenderer();
~Volum... |
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005-2014 Simon Howard
//
// 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... |
/*
*
* Copyright (C) 2010 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 vers... |
/*
* blenderWindow.h
*
* Created on: Oct 31, 2013
* Author: arnaud
*/
#ifndef BLENDERWINDOW_H_
#define BLENDERWINDOW_H_
#include "ofxMSAInteractiveObject.h"
class blenderWindow: public ofxMSAInteractiveObject {
public:
blenderWindow();
virtual ~blenderWindow();
void setup();
void update();
void dra... |
#ifndef __ASMARM_HWCAP_H
#define __ASMARM_HWCAP_H
/*
* HWCAP flags - for elf_hwcap (in kernel) and AT_HWCAP
*/
#define HWCAP_SWP (1 << 0)
#define HWCAP_HALF (1 << 1)
#define HWCAP_THUMB (1 << 2)
#define HWCAP_26BIT (1 << 3) /* Play it safe */
#define HWCAP_FAST_MULT (1 << 4)
#define HWCAP_FPA (1 << 5)
#define HWCAP_... |
#if !defined(AFX_ADDMODULE_H__1CBFA526_190C_11D3_9504_0000C01DBEF9__INCLUDED_)
#define AFX_ADDMODULE_H__1CBFA526_190C_11D3_9504_0000C01DBEF9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AddModule.h : header file
//
///////////////////////////////////////////////////////////////////////////... |
/**
* Project: VSXu: Realtime modular visual programming language, music/audio visualizer.
*
* This file is part of Vovoid VSXu.
*
* @author Jonatan Wallmander, Robert Wenzel, Vovoid Media Technologies AB Copyright (C) 2003-2013
* @see The GNU Public License (GPL)
*
* This program is free software; you can redi... |
/*
* Misc system wide parameters.
*
* Copyright (C) 2015, Broadcom Corporation. All Rights Reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all c... |
/*
* lingot, a musical instrument tuner.
*
* Copyright (C) 2004-2020 Iban Cereijo.
* Copyright (C) 2004-2008 Jairo Chapela.
*
* This file is part of lingot.
*
* lingot 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 S... |
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
int squaresumdigits (int number)
{
int sum = 0;
int input = number;
while (input)
{
int digit = input % 10;
sum += digit * digit;
input /= 10;
}
//printf("%d\n",sum);
return sum;
}
bool isHappy (int n)
{
int... |
/* linux/arch/arm/plat-s3c64xx/dev-spi.c
*
* Copyright (C) 2009 Samsung Electronics Ltd.
* Jaswinder Singh <jassi.brar@samsung.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 Foundat... |
/*
singlecolumnobjectproxymodel.h
This file is part of GammaRay, the Qt application inspection and
manipulation tool.
Copyright (C) 2010-2014 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
Author: Volker Krause <volker.krause@kdab.com>
This program is free software; you can redistribut... |
/*
* Copyright (C) 2016 Felix "KoffeinFlummi" Wiegand
*
* 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.
*
* Th... |
//
// RestaurantGuard.h
// demoProtocol
//
// Created by techmaster on 9/11/13.
// Copyright (c) 2013 Techmaster. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol RestaurantGuard <NSObject>
@required
- (BOOL) isHeightOver18;
- (void) speakEnglish;
@optional
- (void) speakJapanese;
@end
|
/***********************************************************************
RemoteDevice - Class to daisy-chain device servers on remote machines.
Copyright (c) 2002-2005 Oliver Kreylos
This file is part of the Vrui VR Device Driver Daemon (VRDeviceDaemon).
The Vrui VR Device Driver Daemon is free software; you can redi... |
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
MODULE_INFO(vermagic, VERMAGIC_STRING);
struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.a... |
/*
* Copyright (C) 2005-2011 Junjiro R. Okajima
*
* This program, aufs 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... |
#ifndef DATAOBJECT_H
#define DATAOBJECT_H
#include <QObject>
#include <QString>
#include <QUrl>
class DataObject : public QObject
{
Q_OBJECT
Q_PROPERTY( QString name READ name CONSTANT)
Q_PROPERTY( QString url READ url CONSTANT) // delet in further
public:
explicit DataObject(const QStrin... |
#include "slalib.h"
#include "slamac.h"
#include <string.h>
void slaDeuler ( char *order, double phi, double theta,
double psi, double rmat[3][3] )
/*
** - - - - - - - - - -
** s l a D e u l e r
** - - - - - - - - - -
**
** Form a rotation matrix from the Euler angles - three successive
** rotati... |
#ifndef EDGE_H
#define EDGE_H
#endif // EDGE_H
|
/* pdfdocument.h: Implementation of EvDocument for impresss
* Copyright (C) 2005, Jonathan Blandford <jrb@gnome.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, or ... |
#ifdef COMPRESS_SUBALIGNMENTS
void Make_All_Edges_Red(arbre *tree);
void Init_All_Edges_Red(arbre *tree);
void Fill_Red_Arrays_First(edge *b, node* from, arbre *tree);
#endif
|
#ifndef _AGB_HOOKS_H
#define _AGB_HOOKS_H
#include <sys/stat.h>
typedef int (*write_hook_t) (int file, char *ptr, int len);
typedef int (*read_hook_t) (int file, char *ptr, int len);
typedef int (*lseek_hook_t) (int file, int ptr, int dir);
typedef int (*fstat_hook_t) (int file, struct stat *st);
typedef int (*clo... |
/*
* $Id$
*
* Copyright (C) 2008 Stanislav Sinyagin
*
* 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... |
/**
@file AsyncAudioSplitter.h
@brief A class that splits an audio stream into multiple streams
@author Tobias Blomberg / SM0SVX
@date 2005-05-05
\verbatim
Async - A library for programming event driven applications
Copyright (C) 2004-2015 Tobias Blomberg / SM0SVX
This program is free software; you can redistri... |
#include <common.h>
#include "platform.h"
#include "usb_pcd.h"
#include "usb_pcd.c"
#include "platform.c"
#include "dwc_pcd.c"
#include "dwc_pcd_irq.c"
DECLARE_GLOBAL_DATA_PTR;
int usb_boot(int clk_cfg, int time_out)
{
int cfg = INT_CLOCK;
#if defined(CONFIG_SILENT_CONSOLE)
gd->flags &= ~GD_FLG_SI... |
/*
* Copyright (c) 2002, Intel Corporation. All rights reserved.
* Created by: julie.n.fleischer 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.
*
* Note: This test is not based on ... |
/*
* irq.h: in kernel interrupt controller related definitions
* Copyright (c) 2007, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* T... |
#ifndef MAIN_H
#define MAIN_H
#include "cantera/zerodim.h"
#include "cantera/thermo/IdealGasPhase.h"
//#include "cantera/numerics.h"
#include "global_settings.h"
#include "initialcondition.h"
#include <time.h>
#include <sys/time.h>
#include "example_utils.h"
#include "ReimannSolver.h"
#include "initialconditionfix.h"
#... |
/*
* =====================================================================================
*
* Filename: netfunc.c
*
* Description: net exchange functions.
*
* Version: 1.0
* Created: 07/13/13 12:19:55
* Revision: none
* Compiler: gcc
*
* Author: Li Xiang (g... |
/* 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 ... |
#ifndef _BMP_LOADER_H_
#define _BMP_LOADER_H_
#include "UIHelper.h"
#include "Texture.h"
class BMPLoader
{
public:
static Texture load(char * name, bool smoothTexture);
private:
static bool readBMP(unsigned char * rawData, int rawDataSize, unsigned char ** buffer, Size * size);
static bool getRawData(unsigned ... |
#include "ofgwrite.h"
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <getopt.h>
#include <libubi.h>
#include <syslog.h>
#include <unistd.h>
#include <libmtd.h>
#include <errno.h>
#include <mtd/mtd-abi.h>
int getFlashType(char* device)
{
libmtd_t libmtd = l... |
/*
* Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code 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 Fou... |
//
// MessageTableItemSocial.h
// Telegram
//
// Created by keepcoder on 03.11.14.
// Copyright (c) 2014 keepcoder. All rights reserved.
//
#import "MessageTableItem.h"
#import "YoutubeServiceDescription.h"
#import "InstagramServiceDescription.h"
@interface MessageTableItemSocial : MessageTableItem
@property (no... |
#ifndef TH_OSSAUDIO_H
#define TH_OSSAUDIO_H
#include <sys/soundcard.h>
#define DEFAULT_FREQ 44100
#define DEFAULT_FORMAT AFMT_U8
#define DEFAULT_CHANNELS 2
#define DEFAULT_SAMPLES 4096
#define BUF_SIZE 65536
#define BUF_REFILL_PERCENT 0.5
class thOSSAudio: public thAudio
{
public:
thOSSAudio(char *null, const ... |
/* GStreamer
* Copyright (C) 2005 Wim Taymans <wim@fluendo.com>
*
* gstalsasink.h:
*
* 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 yo... |
// Simple class for communicating with a serial port.
// Copyright (C) 2016 Kevin Somervill
//
// 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... |
/*
* This is part of openAHRS
*
* Copyright (c) by Carlos Becker http://github.com/cbecker
*
*
* 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, o... |
/* LAPD over datagram user-mode example. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/talloc.h>
#include <osmocom/core/msgb.h>
#include <osmocom/core/logging.h>
#include <osmocom/c... |
/***************************************************************************
* Copyright (C) 2010 by Xavier Lefage *
* xavier.kwooty@gmail.com *
* *
* This pr... |
#pragma once
#include "Cute/Foundation.h"
#include "Cute/Timestamp.h"
CUTE_NS_BEGIN
enum LogLevel
{
LOG_LEVEL_FATAL = 1,
LOG_LEVEL_CRITICAL,
LOG_LEVEL_ERROR,
LOG_LEVEL_WARNING,
LOG_LEVEL_NOTICE,
LOG_LEVEL_INFORMATION,
LOG_LEVEL_DEBUG,
LOG_LEVEL_TRACE,
LOG_LEVEL_MAX,
};
struct CUTE_CORE_API LogMessage
{
publ... |
#ifndef MERRORS_H
#define MERRORS_H
#define ERR -1
#define MEMERR -2
#define CONERR -3
#endif
|
/*
*
* $Id: pvrusb2-tuner.c,v 1.1.1.1 2010/03/11 21:07:26 kris Exp $
*
* Copyright (C) 2005 Mike Isely <isely@pobox.com>
* Copyright (C) 2004 Aurelien Alleaume <slts@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as p... |
/*
* Copyright © 2009 Jonny Lamb <jonny@debian.org>
*
* based on the Python extension by Stefan Stuhr:
* Copyright (C) 2006 Stefan Stuhr
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Fou... |
#ifndef _BZOS_TYPE_H_
#define _BZOS_TYPE_H_
typedef unsigned long long u64;
typedef unsigned int u32;
typedef unsigned short u16;
typedef unsigned char u8;
typedef void (*irq_handler)(int irq);
typedef void (*int_handler)();
typedef void (*task_f)();
typedef void* system_call;
typedef char* va_list;
/* mesaage... |
/*
* Copyright (c) 2003, Brent Fulgham <bfulgham@debian.org>
*
* This source code is released for free distribution under the terms of the
* GNU General Public License version 2 or (at your option) any later version.
*
* This module contains functions for generating tags for Erlang language
* files. Some of ... |
/*
===========================================================================
blockattack - Block Attack - Rise of the Blocks
Copyright (C) 2005-2012 Poul Sander
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 ... |
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netpacket/packet.h>
int main (void) { return 0; }
|
#ifndef FILEDIALOG_H
#define FILEDIALOG_H
#include <QDialog>
namespace Ui {
class FileDialog;
}
class FileDialog : public QDialog
{
Q_OBJECT
public:
explicit FileDialog(QWidget *parent = 0);
explicit FileDialog(QString str, QWidget *parent = 0);
~FileDialog();
bool hasAccepted;
QStr... |
/*
*
* Author: Sylvain Afchain <safchain@gmail.com>, (C) 2008 - 2013
*
* Copyright: See COPYING file that comes with this distribution
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <stropts.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/netdevi... |
/*
*
* Copyright (c) International Business Machines Corp., 2001
*
* 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 l... |
/*
* Copyright (C) 2011-2015 severalnines.com
*/
#pragma once
#include <map>
#include <vector>
#include <string>
#include "S9sGlobal"
#include "S9sString"
#include "S9sVector"
template <typename Key, typename T>
class S9sMap : public std::map<Key, T>
{
public:
bool contains(const Key &key) const;
... |
/* ResidualVM - A 3D game interpreter
*
* ResidualVM 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 library is free software; you can redistribute it and/or
* modify it under the terms ... |
/*
* Copyright (c) 2009-2021, Christian Ferrari <tiian@users.sourceforge.net>
* All rights reserved.
*
* This file is part of LIXA.
*
* LIXA is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*... |
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include "geekcode.h"
#include "lines.h"
#include "parse.h"
const char *parse_errors[] = {
"Success",
"Trailing text in data",
"Missing alias",
"Missing dependant",
"Syntax error",
"Unexpected EOF",
"File error",
};
/*
* Parses the contents of data in... |
// Copyright (c) 2012- PPSSPP 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, version 2.0 or later versions.
// This program is distributed in the hope that it will be useful,
// b... |
/**
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2022 MaNGOS <https://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ... |
/*
* sVimPy - small Virtual interpreting machine for Python
* (c) 2012 by Tim Theede aka Pez2001 <pez2001@voyagerproject.de> / vp
*
* 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 ... |
/* wmgeneral miscellaneous functions
*
* from dock.c - built-in Dock module for WindowMaker window manager
*
* Copyright (c) 1997 Alfredo K. Kojima
*
* 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 Sof... |
//
// LiveUploadingHelper.h
// Telegram
//
// Created by Mikhail Filimonov on 08/03/2018.
// Copyright © 2018 Telegram. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface LiveUploadingHelper : NSObject
@end
|
#ifndef _LINUX_NTFS_COLLATE_H
#define _LINUX_NTFS_COLLATE_H
#include "types.h"
#include "volume.h"
static inline bool ntfs_is_collation_rule_supported(COLLATION_RULE cr) {
int i;
/*
* FIXME: At the moment we only support COLLATION_BINARY and
* COLLATION_NTOFS_ULONG, so we return false for everything else fo... |
#include "TCS3200.h"
#include "HMC.h"
#define tl0 0x00
#define th0 0xB8 //Timer0
void ColorInt()
{
AUXR&= 0x00;
TMOD = 0xE0;
AUXR = 0x14; //T2Ϊ1Tģʽ, ²¢Æô¶¯¶¨Ê±Æ÷2 page 470
AUXR |= 0x01;
}
unsigned int CheckRed()
{
unsigned int Red;
TL0= tl0;
TH0= th0;
TH1= 0;
TL1= 0;
TCS_S2= 0;
TCS_S... |
/* $Id: GuestDnDTargetImpl.h $ */
/** @file
* VBox Console COM Class implementation - Guest drag'n drop target.
*/
/*
* Copyright (C) 2014-2015 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can r... |
/*
* Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... |
/**
* @file md5.h
* A simple class for MD5 calculation
*
* @author Ben Gardner
* @license GPL v2+
*/
#ifndef MD5_H_INCLUDED
#define MD5_H_INCLUDED
#include "base_types.h"
class MD5
{
public:
MD5();
~MD5() { }
void Init();
void Update(const void *data, UINT32 len);
void Final(char digest[33]);
... |
/*
* mcp2515_cmds.h
*
* Created on: 21 Feb 2015
* Author: RobThePyro
*/
#ifndef MCP2515_CMDS_H_
#define MCP2515_CMDS_H_
/* Includes: */
#include <avr/io.h>
#include <util/delay.h>
#include "mcp2515_defs.h"
#include "AVR_SPI.h"
/* Defines: */
#define DDR_CS DDRB
#define PORT_CS PORTB
#define P_CS 2
#defi... |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* 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
* (... |
//
// FlashcardViewController.h
// hci-flashcard-iPhone
//
// Created by Jordan Sommers on 3/11/14.
// Copyright (c) 2014 CMPE131. All rights reserved.
//
#import <UIKit/UIKit.h>
@class Deck;
@class Flashcard;
@interface FlashcardViewController : UIViewController
@property (strong, nonatomic) Deck *deckref;
@pro... |
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include "pci.h"
struct pci_dev *pci_find_device(unsigned int vendor, unsigned int device,
struct pci_dev *from)
{
struct pci_dev *pdev;
pci_dev_get(from);
pdev = pci_get_subsys(vendor, device, PCI_ANY_ID, PC... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
/* readable.c: check if a filename is a readable non-directory file.
Copyright 1993, 1995, 1996, 2008, 2011, 2012 Karl Berry.
Copyright 1998, 1999, 2000, 2001, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licen... |
/************************************************************************
$Id: rtbinit.h,v 1.2 2005/02/24 10:27:55 jonico Exp $
RTB - Team Framework: Framework for RealTime Battle robots to communicate efficiently in a team
Copyright (C) 2004 The RTB- Team Framework Group: http://rtb-team.sourceforge.n... |
// 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_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
#define CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
#imp... |
#ifndef Podd_THaTRACKOUT_h_
#define Podd_THaTRACKOUT_h_
///////////////////////////////////////////////////////////////////////////
//
// Class to put the four-vector for tracks from a THaTrackingModule
//
///////////////////////////////////////////////////////////////////////////
#include "THaPhysicsModule.h"
#incl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.