text stringlengths 4 6.14k |
|---|
/*
* Copyright (c) 2012 Mellanox Technologies. All rights reserved
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this sour... |
/**
* LinkedLists Data Structure
**/
/*future feature to include
* Passing a function as an argument.
* Passing a function which takes input templates
* */
#ifndef __LINKEDLISTS__
#define __LINKEDLISTS__
#include<iostream>
struct Nodel
{
Nodel(int keyv):key(keyv){Nodel();}
Nodel():next(NULL),key(-1){}
... |
/*
CVSNT Generic API
Copyright (C) 2004 Tony Hoyle and March-Hare Software Ltd
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1 as published by the Free Software Foundation.
This library is distributed in ... |
/* Copyright (C) 2008 PrimeBase Technologies GmbH, Germany
*
* PrimeBase Media Stream for 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 2 of the License, or
* (at... |
//-----------------------------------------------------------------------------
// File: DesignInstantiationEditor.h
//-----------------------------------------------------------------------------
// Project: Kactus2
// Author: Esko Pekkarinen
// Date: 26.01.2016
//
// Description:
// Editor for design configur... |
/*
* variables.h:
* Gtkdialog - A small utility for fast and easy GUI building.
* Copyright (C) 2003-2007 László Pere <pipas@linux.pte.hu>
* Copyright (C) 2011-2012 Thunor <thunorsif@hotmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... |
#ifndef __rozofs_rcmd_status_e2String_h__
#define __rozofs_rcmd_status_e2String_h__
#ifdef __cplusplus
extern "C" {
#endif /*__cplusplus*/
/*___________________________________________________________________
Generated by enum2String.py
Date : Thursday 2017 July 27, 15:05:56
Command line :
../../tools/en... |
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
publish... |
/* Bongo Project licensing applies to this file, see COPYING
* (C) 2007 Alex Hudson
*/
/** \file
* Implementation of XPL hash API: access to gcrypt's MD5 and SHA1 algorithms
*/
#include <config.h>
#include <libintl.h>
#include <xplhash.h>
#include <memmgr.h>
#include <gcrypt.h>
#include <libintl.h>
#include <loc... |
#ifndef CONTROLLER_H
#define CONTROLLER_H
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
/*
* TODO
* Exception management
* Correggere single channel
* Add dithering
* Custom Filter Tool
*/
class ImageProcessor
{
public:
static i... |
#ifndef __POSITION_H__
#define __POSITION_H__
/* Compute distance between two points. */
double distance (double lat1, double lon1, double lat2, double lon2);
/* Build the phone number based on the ICAO code and airport frequency. */
void icao2number (char *icao, float frequency, char *buf);
/* Search for the clos... |
/*
* Qtstalker stock charter
*
* Copyright (C) 2001-2010 Stefan S. Stratigakos
*
* 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 opti... |
/*************************************************************************
SampleFIFO.h - simple FIFO, tuned for sample_t
-------------------
begin : Sun Apr 11 2004
copyright : (C) 2004 by Thomas Eschenbacher
email : Thomas.... |
/**
* @file
*
* rq_config.h contains defines for platform-specific stuff.
*/
/*
** rq_config.h
**
** Written by Brett Hutley - brett@hutley.net
**
** Copyright (C) 2001-2008 Brett Hutley
**
** This file is part of the Risk Quantify Library
**
** Risk Quantify is free software; you can redistribute it and/or
** modi... |
/***************************************************************************
UndoModifyAction.h - UndoAction for modifications on samples
-------------------
begin : May 25 2001
copyright : (C) 2001 by Thomas Eschenbacher
email : Thomas Eschenbacher <t... |
#pragma once
/*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.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 (at your option)
* any later... |
/*
* \brief UART LOG component
* \author Christian Helmuth
* \date 2011-05-30
*/
/*
* Copyright (C) 2011-2013 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _UART_COMPONENT_H_
#define _UART_C... |
/*
* 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
* ... |
/* -*- mode: c; tab-width: 4; indent-tabs-mode: n; c-basic-offset: 4 -*-
*
* $Id: nb_kernel301_ia32_sse.h,v 1.1 2004/12/26 19:28:54 lindahl Exp $
*
* This file is part of Gromacs Copyright (c) 1991-2004
* David van der Spoel, Erik Lindahl, University of Groningen.
*
* This program is free software; you ... |
// checksum 0xc67a version 0x90017
/*
This file was generated by the Qt Quick Application wizard of Qt Creator.
QmlApplicationViewer is a convenience class containing mobile device specific
code such as screen orientation handling. Also QML paths and debugging are
handled here.
It is recommended not to m... |
/*
* Extended AGI test application
*
* This code is released into the public domain
* with no warranty of any kind
*/
#include "asterisk.h"
#define AUDIO_FILENO (STDERR_FILENO + 1)
/*! \file
* Extended AGI test application
*
* This code is released into the public domain
* with no warranty of any kind
*
*... |
/*
* Copyright 2012 Cisco Systems, Inc. All rights reserved.
*
* This program is free software; you may 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.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WAR... |
/*
* Copyright 2010 JiJie Shi
*
* This file is part of PEMaster.
*
* PEMaster 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 ve... |
//////////////////////////////////////////////////////////////////////
// Copyright 2009, Daniel R. Mitchell
// License: Creative Commons/GNU-GPL
// (http://creativecommons.org/licenses/GPL/2.0/)
// (http://www.gnu.org/licenses/gpl.html)
//////////////////////////////////////////////////////////////////////
#ifn... |
// padthv1_ramp.h
//
/****************************************************************************
Copyright (C) 2012-2021, rncbc aka Rui Nuno Capela. 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 ... |
/*
* ipod_atom.h
*
* Duane Maxwell
* (c) 2005 by Linspire Inc
*
* 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 of the License, or
* (at your option) any later v... |
/* THIS FILE IS GENERATED, DO NOT EDIT! */
ver_sig_t ver_sigs[]={
{(const char *)0xff81b27d, "GM1.00G"},
{(const char *)0xff81b27d, "GM1.00F"},
};
pid_sig_t pid_sigs[]={
};
|
/*
* This file is part of the Advance project.
*
* Copyright (C) 1999, 2000, 2001, 2002, 2003 Andrea Mazzoleni
*
* 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 Li... |
/*
* Copyright (c) 1988, 1992, 1993
* The Regents of the University of California. 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 th... |
/*____________________________________________________________________________
FreeAmp - The Free MP3 Player
Portions copyright (C) 1998-1999 EMusic.com
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) 2002 XFree86 Inc
*/
#ifndef _XRESPROTO_H
#define _XRESPROTO_H
#define XRES_MAJOR_VERSION 1
#define XRES_MINOR_VERSION 2
#define XRES_NAME "X-Resource"
/* v1.0 */
#define X_XResQueryVersion 0
#define X_XResQueryClients 1
#define X_XResQueryClientResources 2
#define X_XRe... |
/*
*
* MCAP for BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
* Authors:
* Santiago Carot-Nemesio <sancane at gmail.com>
* Jose Antonio Santos-Cadenas <santoscadenas at gmail.com>
*
* This program is free software; you can redistribute i... |
#pragma once
/* DEFINES *******************************************************************/
/* formerly located in kdbg/kdb_symbols.c */
#define TAG_KDBS 'SBDK'
#define TAG_KDBG 'GBDK'
/* TYPES *********************************************************************/
/* from kdb.c */
typedef struct _KDB_KTRAP_FRAME
{... |
#pragma once
#include"agk.h"
#include "GF.h"
#include "World.h"
#include "Input.h"
#include "Item.h"
#include "Weapon.h"
#include "LUA/lua.hpp"
//#include "Script.h"
class Player
{
public:
Player(void);
~Player(void);
void begin(World* world);
void load(uString name);
void setupLuaFunctions();
void spawn... |
#define FSA9685_OPEN 0
#define FSA9685_USB1 1
#define FSA9685_USB2 2
#define FSA9685_MHL 4
#define FSA9685_USB1_ID_TO_IDBYPASS 1
struct switch_usb_info {
struct atomic_notifier_head charger_type_notifier_head;
spinlock_t reg_flag_lock;
};
extern int fsa9685_manual_sw(int ... |
/* X86 Gadgets Table - ROPgadget generator */
#include "ropgadget.h"
t_asm tab_x8664[] =
{
{0, 0, NULL, NULL, NULL, 0}
};
|
#ifndef PCB_H
#define PCB_H
/*******************************************************************
OS Eercises - Homework 5 - HOST dispatcher
pcb - process control block functions for HOST dispatcher
PcbPtr startPcb(PcbPtr process) - start (or restart) a process
PcbPtr suspendPcb(PcbPtr process) - suspend a pr... |
/* YTP King - Easy to use sentence mixer
* Copyright (C) 2013 Alex "rainChu" Haddad et al.
*
* 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) 2012-2015 Todd Freed <todd.freed@gmail.com>
This file is part of fab.
fab 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 APPSTATMODEL_H
#define APPSTATMODEL_H
#include <util/model/stringlistmodel.h>
class AppInfoCache;
class StatManager;
class AppStatModel : public StringListModel
{
Q_OBJECT
public:
explicit AppStatModel(QObject *parent = nullptr);
StatManager *statManager() const;
AppInfoCache *appInfoCache(... |
//
// nixieclock-firmware - Nixie Clock Main Firmware Program
// Copyright (C) 2015 Joe Ciccone
//
// 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 y... |
typedef int block;
struct { int i, x; } ps;
struct { block t; } s;
struct { struct { block t;}ss;} s2;
union { block t;} u;
int f(block);
int (*pf)(block);
void echo(const char *s, ...)
{
block x;
int a = 42;
a += 1;
while (3)
{
block t;
int z = (int) 7;
}
}
int main()
{
block x;
while (... |
/* homefrog
* Copyright (C) 2016 Ognyan Tonchev <otonchev at 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 3 of the License, or
* (at your option) any later... |
/** \file pluginLoader.h
\brief Define the plugin loader
\author alpha_one_x86
\licence GPL3, see the file COPYING */
#ifndef PLUGIN_LOADER_TEST_H
#define PLUGIN_LOADER_TEST_H
#include <QObject>
#include <QMessageBox>
#include <QString>
#include <QStringList>
#include <QProcess>
#include <QSet>
#ifdef Q_OS_WIN32
... |
/*========================================================
* TypeParsing.h
* @author Sergey Mikhtonyuk
* @date 17 August 2009
=========================================================*/
#ifndef _TYPEPARSING_H__
#define _TYPEPARSING_H__
#include "../../Engine.Graphics/Interfaces/EffectTypes.h"
#include "../../... |
/*
* -- High Performance Computing Linpack Benchmark (HPL-GPU)
* HPL-GPU - 2.0 - 2015
*
* David Rohr
* Matthias Kretz
* Matthias Bach
* Goethe Universität, Frankfurt am Main
* Frankfurt Institute for Advanced Studies
* (C) Copyright 2010 All Rights Reserved
*
* Antoine P. Pet... |
/*
Free Download Manager Copyright (c) 2003-2016 FreeDownloadManager.ORG
*/
#if !defined(AFX_STDAFX_H__5399CBE1_2DED_432E_B43D_6706FCF64D9D__INCLUDED_)
#define AFX_STDAFX_H__5399CBE1_2DED_432E_B43D_6706FCF64D9D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#define WIN32_LEAN_AND_MEAN
#include... |
#ifndef __blast_partassign_h
#define __blast_partassign_h
#include <string>
#include <iostream>
#include <vector>
#include <map>
namespace papara {
template<typename pvec_t, typename seq_tag>
class references;
template<typename seq_tag>
class queries;
}
namespace partassign {
struct blast_hit {
std::string ... |
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtSerialBus module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding valid co... |
/*
* Copyright (C) 2015 Cybernetica
*
* Research/Commercial License Usage
* Licensees holding a valid Research License or Commercial License
* for the Software may use this file according to the written
* agreement between you and Cybernetica.
*
* GNU General Public License Usage
* Alternatively, this file may... |
// stdafx.h : WÌVXe CN[h t@CÌCN[h t@CAܽÍ
// QÆñª½A©Â ÜèÏX³êÈ¢AvWFNgêpÌCN[h t@C
// ðLqµÜ·B
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Windows wb_[©çgp³êĢȢªðOµÜ·B
#endif
#i... |
/**
* The µkleos scheduler implementation
*
* Copyright (C) 2010 Freie Universität Berlin
*
* This file subject to the terms and conditions of the GNU General Public
* License. See the file LICENSE in the top level directory for more details.
*
* @ingroup kernel
* @{
* @file
* @author Kaspar Schleiser <kaspa... |
/***************************************************************************/
/*
* m5407.c -- platform support for ColdFire 5407 based boards
*
* Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 2000, Lineo (www.lineo.com)
*/
/************************************************************... |
//
// This file is part of Luola2.
// Copyright (C) 2012 Calle Laakkonen
//
// Luola2 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... |
/*
* 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... |
/*
* xia_common.h
*
* Copyright (c) 2004, X-ray Instrumentation Associates
* 2005 - 2009, XIA LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributi... |
/*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute ... |
/*
* This file is part of GLShaderDev.
*
* GLShaderDev 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.
*
* GLShaderDev is distr... |
/*
* -----------------------------------------------------------------
* Programmer(s): Daniel Reynolds @ SMU
* Based on code sundials_spfgmr.h by: Daniel R. Reynolds and
* Hilari C. Tiedeman @ SMU
* -----------------------------------------------------------------
* SUNDIALS Copyright Start
* Copyright (c) 2... |
//-----------------------------------------------------------------------------
//
// Copyright 1993-1996 id Software
// Copyright 1999-2016 Randy Heit
// Copyright 2016 Magnus Norddahl
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as ... |
#ifndef PLAYLIST_QUEUE_HH
#define PLAYLIST_QUEUE_HH
#include <vector>
#include <gtkmm.h>
#include <GUI/playlist.h>
#include <GUI/fidel-popover.h>
#include <Utilities/util.h>
class FidelPopover;
class FidelOptions;
class PlaylistQueue : public Playlist{
public:
PlaylistQueue();
PlaylistQueue(Gtk::Button *queue_o... |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
/* cr-ellipse.h
* Copyright (C) 2006 Robert Gibbs <bgibbs@users.sourceforge.net>
*
* 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 o... |
/* This file is produced by the C++/CLI AutoWrapper utility.
Copyright (c) 2006 by Argiris Kirtzidis */
#pragma once
#pragma managed(push, off)
#include "OgrePageContentCollection.h"
#pragma managed(pop)
#include "MogrePlatform.h"
#include "MogrePrerequisites.h"
namespace Mogre
{
//#######################... |
/* Generated by GOB (v2.0.15) (do not edit directly) */
#include <glib.h>
#include <glib-object.h>
#include <libgnomevfs/gnome-vfs.h>
#include "mn-reentrant-mailbox.h"
#ifndef __MN_VFS_MAILBOX_H__
#define __MN_VFS_MAILBOX_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define MN_VFS_MAILBOX_MAX_... |
//Testcase for the padding at the end of a struct and for the correct behavaior of the input alignment option.
struct Test
{
int a;
int b;
int c;
struct in{
int ab;
double bc;
} inner;
int d;
};
struct AlignTest
{
char a;
char b[5];
char c;
... |
/*
cmapbash - a simple Minecraft map renderer written in C.
© 2014 saltire sable, x@saltiresable.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 License, or
(at your... |
/*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... |
/*
* Copyright (c) 2005 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
* retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... |
/* $OpenBSD: signal.h,v 1.3 1997/02/18 15:54:27 rahnds Exp $ */
/* $NetBSD: signal.h,v 1.1 1996/09/30 16:34:34 ws Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
* Copyright (C) 1995, 1996 TooLs GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modifi... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/shared/ioperm_noop.c,v 3.4 2001/07/23 13:15:48 dawes Exp $ */
/*
* Copyright 1993 by David Wexelblat <dwex@XFree86.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee... |
/*
* Copyright (c) 2013 Peter Szucs <peter.szucs.dev@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... |
/*
* A catalog is used to map names to objects.
*/
#ifndef catalog_h
#define catalog_h
#include <InterViews/stub.h>
class Catalog {
public:
Catalog(int size);
~Catalog();
void Register(const char*, ObjectStub*);
void UnRegister(const char*);
boolean Find(ObjectStub*&, const char*);
private:
... |
/*
* Copyright (c) 2015 Evan Kale
* Email: EvanKale91@gmail.com
* Website: www.ISeeDeadPixel.com
* www.evankale.blogspot.ca
*
* This file is part of Breakout.
*
* Breakout 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 vallumd.
*
* Copyright (C) 2017 Stijn Tintel <stijn@linux-ipv6.be>
*
* 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 ... |
//
// ccallsign.h
// xlxd
//
// Created by Jean-Luc Deltombe (LX3JL) on 31/10/2015.
// Copyright © 2015 Jean-Luc Deltombe (LX3JL). All rights reserved.
//
// ----------------------------------------------------------------------------
// This file is part of xlxd.
//
// xlxd is free software: you can redistri... |
/* va_list error handler for noninteractive utilities
Copyright (C) 2006-2007, 2009-2018 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 Foundation; either version 3 of... |
/*-
* Copyright 2014 sgminer developers.
* 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, this list of con... |
/*
* Copyright 2013 Canonical Ltd.
*
* 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 Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARR... |
////////////////////////////////////////////////////////////////////////////
// Created : 04.03.2010
// Author : Dmitriy Iassenev
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef N_ARY_TREE_WEIGHT_NODE_H_INCLUDED
#define N_ARY_TREE_WEIGHT_NOD... |
/*
* fsarchiver: Filesystem Archiver
*
* Copyright (C) 2008-2017 Francois Dupoux. 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 v2 as published by the Free Software Foundation.
*
* This program is distrib... |
#include "mk20dx128.h"
#include "core_pins.h"
#include "HardwareSerial.h"
// UART0 and UART1 are clocked by F_CPU, UART2 is clocked by F_BUS
// UART0 has 8 byte fifo, UART1 and UART2 have 1 byte buffer
#define TX_BUFFER_SIZE 40
static volatile uint8_t tx_buffer[TX_BUFFER_SIZE];
static volatile uint8_t tx_buffer_head ... |
/*
Copyright (c) 2015-2018 Idiap Research Institute, http://www.idiap.ch/
Written by James Newling <james.newling@gmail.com>
All rights reserved.
eakmeans is a library for exact and approximate k-means written in C++ and
Python. This file is part of eakmeans. See file COPYING for more details.
This file is part of ea... |
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2010-2012, Jeff Mitchell <jeff@tomahawk-player.org>
*
* Tomahawk is free software: you can redistribute it and/or modify
* it under ... |
//===-- Shakti.h - Top-level interface for Shakti representation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("HTTP/1.1 200 OK\n") ;
printf("Content-type: text/plain\n") ;
printf("\r\n") ;
printf("CGI work !\n") ;
return EXIT_SUCCESS ;
}
|
/* md5.c - interface for checking and setting program environment.
This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
MD5 Message-Digest Algorithm (RFC 1321).
<http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5>
Copyright (c) 2001 Alexander Peslyak <... |
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *fp;
char ch, filename[50];
int c = 0, n = 0;
printf("Please enter the name of the file you wish to open.\n");
fgets(filename, 50, stdin);
fp = fopen("Hello.txt", "r"); // Opens file in read mode
if(fp == NULL)
{
perror("Error opening file... |
/*
* Copyright (c) 2013 Qualcomm Atheros, Inc..
* All Rights Reserved.
* Qualcomm Atheros Confidential and Proprietary.
*/
#include "qcom_common.h"
#include "threadx/tx_api.h"
#include "qcom_cli.h"
#include "threadxdmn_api.h"
#include <aj_target.h>
#include "aj_status.h"
#include "aj_wifi_ctrl.h"
TX_THREAD ho... |
/*
* MMSE_SENIA_IU.h
* This routine performs MMSE detection with SENIA and IU
* Created on: Mar 16, 2016
* Author: tianpei.chen@mail.mcgill.ca
*/
#ifndef MMSE_SENIA_IU_H_
#define MMSE_SENIA_IU_H_
#include "SENIA.h"
#include "IU.h"
void MMSE_SENIA_IU(gsl_vector_complex *preceived, gsl_matrix_complex *pH,
d... |
////////////////////////////////////////////////////////////////////////////
// Created : 04.03.2010
// Author : Armen Abroyan
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef TERRAIN_MANAGER_H_INCLUDED
#define TERRAIN_MANAGER_H_INCLUDED
#in... |
/*
* utils.h
*
* Created on: 01/nov/2011
* Author: lorenzo
*/
#ifndef UTILS_H_
#define UTILS_H_
#define COS120 -0.5
#define SIN120 0.8660254037844386
#define SQR(x) ((x) * (x))
#define SCALAR(x, y) ((x)[0]*(y)[0] + (x)[1]*(y)[1] + (x)[2]*(y)[2])
#define MATRIX_VECTOR_MULTIPLICATION(m, v, result) {\
(res... |
#ifndef __TIMER_H__
#define __TIMER_H__
void timer_init(void);
extern uint16_t cnt_control,cnt_imu,cnt_report;
extern uint8_t led_fleg;
#endif
|
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2017 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, or
* (at your... |
/*
* lastfm-ws.h -- Last.fm Web Services v2.0
*
* Copyright (C) 2009, 2011, 2013 Igalia, S.L.
* Authors: Alberto Garcia <berto@igalia.com>
*
* This file is part of Vagalume and is published under the GNU GPLv3
* See the README file for more details.
*/
#ifndef LASTFM_WS_H
#define LASTFM_WS_H
#include "playlis... |
void talk(void)
{
say("`%'Please be careful when using this machine.' - the ancient ones.", ¤t_sprite);
}
|
/*********************************************************************
* SEGGER Microcontroller GmbH & Co. KG *
* Solutions for real time microcontroller applications *
**********************************************************************
* ... |
/*
* Progress.h
*
* Created on: 25.03.2012
* Author: michi
*/
#ifndef PROGRESS_H_
#define PROGRESS_H_
#include "../../lib/base/pointer.h"
#include "../../Stuff/Observable.h"
namespace hui {
class Window;
class Timer;
}
class Progress : public Observable<VirtualBase> {
public:
Progress(const string &st... |
/**
* This file is part of Tales of Symphonia "Fix".
*
* Tales of Symphonia "Fix" 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... |
/*
* Copyright (C) 2009 Christopho, Solarus - http://www.solarus-engine.org
*
* Solarus 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 v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.