text stringlengths 4 6.14k |
|---|
/******************************************************************************
* Spine Runtimes Software License
* Version 2.3
*
* Copyright (c) 2013-2015, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable and
* non-transferable license to use, install, ... |
#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... |
/*
* Copyright (C) 2001-2012 Jacek Sieka, arnetheduck on gmail point com
* Copyright (C) 2009-2019 EiskaltDC++ developers
*
* 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... |
#include"hpmmath.h"
#include<limits.h>
#include<time.h>
# ifdef HPM_VC
# include<intrin.h>
# elif defined(HPM_GNUC) || defined(HPM_CLANG)
# if defined(HPM_X86) || defined(HPM_X86_64)
# include<x86intrin.h>
# endif
# endif
HPM_IMP(void, hpm_vec4_randomfv, hpmvec4f* out){
unsigned int p;
in... |
#pragma once
#include "cocos2d.h"
#include "cocos-ext.h"
#include "string.h"
#include "LoginScene.h"
#include "PopLayer.h"
#include "client.h"
using namespace std;
USING_NS_CC;
USING_NS_CC_EXT;
class TestLayer :
public CCLayer, public EditBoxDelegate
{
public:
TestLayer(void);
~TestLayer(void);
static cocos2d::... |
/*
# Copyright (C) 2010-2011 DarkmoonCore <http://www.darkmooncore.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 later ... |
/*!
* \file galileo_e1_tcp_connector_tracking_cc.h
* \brief Interface of a TCP connector block based on code DLL + carrier PLL VEML (Very Early
* Minus Late) tracking block for Galileo E1 signals
* \author David Pubill, 2012. dpubill(at)cttc.es
* Luis Esteve, 2012. luis(at)epsilon-formacion.com
* ... |
// #define __LOG_ON 1
// std
#include <type.h>
#include <dbg.h>
// libs
#include <printk.h>
#include <string.h>
// fs
#include <minix.h>
#include <inode.h>
#include <dir.h>
#include <p2i.h>
#include <stat.h>
// proc
#include <proc.h>
/* 抽取路径中的第一个名字, 返回余下部分
* skip the first elem of path, return this elem
* - skipel... |
/*
* charset.h
* Contains functions for working with character sets specific to Cryption
* Created by Andrew Davis
* Created on 3/11/2016
* Open source (GPL license)
*/
//disallow reinclusion
#ifndef CHAR_INC_H
#define CHAR_INC_H
//include the log functions
#include "log.h"
//include the ELEMS macro
#include "c... |
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Nodes/1.3.1/Input/PointerEvents.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Input.PointerEventArgs.h>
#include <Fuse.Scripting.IScriptEvent.h>
namespace g{namespace Fuse{namespace Input{struct ... |
/*
* Copyright (C) 2010 Marco Dalla Via (maek@paranoici.org)
*
* This file is part of Spring2D.
*
* Spring2D is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... |
/*****************************************************************************
* Copyright (C) 2004-2009 The PaGMO development team, *
* Advanced Concepts Team (ACT), European Space Agency (ESA) *
* http://apps.sourceforge.net/mediawiki/pagmo *
* ... |
/*
Copyright (C) 2010 Erik Hjortsberg <erik.hjortsberg@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This p... |
/*
This file is part of Cute Chess.
Cute Chess 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.
Cute Chess is distri... |
/*
fuse_xattrs - Add xattrs support using sidecar files
Copyright (C) 2016 Felipe Barriga Richards <felipe {at} felipebarriga.cl>
Based on passthrough.c (libfuse example)
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
*/
#include <fuse.h>
int xmp_getattr(const char... |
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// Copyright (C) 2013 James Haley 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 F... |
#ifndef CALENDARDIALOG_H
#define CALENDARDIALOG_H
#include <QDialog>
#include <QDate>
#include "export.h"
namespace Ui {
class calendarDialog;
}
class IMPWIDGETSLIB_EXPORT calendarDialog : public QDialog
{
Q_OBJECT
public:
explicit calendarDialog(QWidget *parent = 0);
~calendarDialog();
QDate ge... |
/*
* Empire - A multi-player, client/server Internet based war game.
* Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... |
#include <stdio.h>
#include <math.h>
/*
* Let P be an n-vertex polygon of equal sides inside a circle of radius R.
*
* Let P = A(1)A(2) ... A(n) A(1) (A(i) is a vertex)
* Let O be the center of a circle.
*
* area(P) = n * area(OA(1)A(2))
*
* The angle A(1) O A(2) is 2 * pi / n in radian
*
* So area(O A(1) A... |
//
// Copyright 2010, Darren Lafreniere
// <http://www.lafarren.com/image-completer/>
//
// This file is part of lafarren.com's Image Completer.
//
// Image Completer is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foun... |
#ifndef ATOM_H
#define ATOM_H
#include "math/vec3.h"
class Atom
{
private:
float m_mass;
public:
vec3 initialPosition;
vec3 position;
vec3 velocity;
vec3 force;
Atom(double mass);
void resetForce();
void resetVelocityMaxwellian(double temperature);
double mass() { return m_mass; }... |
/*===============================================================================
Copyright (c) 2016 PTC Inc. All Rights Reserved.
Copyright (c) 2012-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved.
Vuforia is a trademark of PTC Inc., registered in the United States and other
countries.
===============... |
#ifndef _BUBBLESORT_H_
#define _BUBBLESORT_H_
#include "Arrange.h"
#include <iostream>
template <class T>
class BubbleSort : public Arrange<T>
{
public:
// BubbleSort(void);
// ~BubbleSort(void);
void Sort(T *arr, int n);
};
#endif
template <class T>
void BubbleSort<T>::Sort(T *arr, int n)... |
//==============================================================================
// Summary:
// UICommentEditDialog: ±à¼Åú×¢¶Ô»°¿ò
// Usage:
//
// Remarks:
//
// Date:
// 2013-04-08
// Author:
// juguanhui@duokan.com
//=========================================================================... |
/*
* Copyright 2010 Tilera Corporation. 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.
*
* This program is distributed in the hope that it will ... |
/* LAN_discovery.h
*
* LAN discovery implementation.
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox 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 Foundatio... |
#ifndef ESQUELETO_H
#define ESQUELETO_H
#define GLUT_BUILDING_LIB
#include <GL/glut.h>
#include <iostream>
#include <algorithm>
#include <cmath>
#ifndef M_PI
#define M_PI 3.141592653589793
#endif
using namespace std;
#include "Extras.h"
#include "MyFreenectDevice.h"
// Numero de dedos
#define ndirs 5
// Cosas variab... |
#include "detector.h"
#if _pragma_once_support
#pragma once
#endif
#ifndef CHANGEAMOUNT_H
#define CHANGEAMOUNT_H
#include "ui_changeamount.h"
class QLabel;
class QSpinBox;
// class for changing quantity of good/service with GUI
class ChangeAmount : public QDialog, public Ui::ChangeAmount {
Q_OBJECT
public:
Cha... |
/*
* Copyright © 2009, 2010, 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; either version 2 of the
* License, or (at your option) any later version.
*
* This progr... |
//------------------------------------------------------------------------------
// "Matrix Rain" - Interactive screensaver with webcam integration
// copyright: (C) 2008, 2009, 2013, 2017 by Pavel Karneliuk
// license: GNU General Public License v3
// e-mail: pavel.karneliuk@gmail.com
//--------------------... |
/********************************************************************************
** Form generated from reading UI file 'log.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*****************************************... |
// DeadRSX Hardware Renderd Graphics Library
// Author DarkhackerPS3
// -Thanks to Matt_P from EFNET #psl1ght for explaining stuff to me :P
// DeadRSX 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 ... |
/*
Read a thermo file and save all quantities inside a Thermo structure.
Copyright (C) 2014-2017 Simone Conti
Copyright (C) 2015 Université de Strasbourg
*/
#include <cygne/thermo.h>
/* Read a system from file */
int
thermo_readthermo(Thermo *A, const char *fname)
{
char *row=NULL, *key, *val;... |
/*
File: jagbytoploadindex.h
Project: jaguar-bytecode
Author: Douwe Vos
Date: Nov 3, 2012
Web: http://www.natpad.net/
e-mail: dmvos2000(at)yahoo.com
Copyright (C) 2012 Douwe Vos.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU G... |
/****************************************************************************
* Tano - An Open IP TV Player
* Copyright (C) 2013 Tadej Novak <tadej@tano.si>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software... |
#include <m_pd.h>
#include "g_canvas.h"
#include "fatom.h"
static t_class *fatom_class;
void fatom_setup() {
post("fatom setup");
fatom_class = class_new(gensym("fatom"), (t_newmethod)fatom_new, 0,
sizeof(t_fatom),0,A_DEFSYM,0);
fatom_setup_common(fatom_class);
}
|
/*
* Copyright (C) 2007-2013, the BAT core developer team
* All rights reserved.
*
* For the licensing terms see doc/COPYING.
* For documentation see http://mpp.mpg.de/bat
*/
// ---------------------------------------------------------
#ifndef __BCMVCMEASUREMENT__H
#define __BCMVCMEASUREMENT__H
#include <strin... |
#ifndef GARFIELD_FAST_SIMULATION_H
#define GARFIELD_FAST_SIMULATION_H
//------------------------------------------------
// The Virtual Monte Carlo examples
// Copyright (C) 2007 - 2016 Ivana Hrivnacova
// All rights reserved.
//
// For the licensing terms see geant4_vmc/LICENSE.
// Contact: root-vmc@cern.ch
//-------... |
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
system(argv[1]);
return 0;
}
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <execinfo.h>
#ifdef DEBUGLOG
#define DLOG(format, args...) \
printf(format, ##args);
#else
#define DLOG(format, args...) \
(void*)0;
#endif // DEBUGLOG
#define TRACE_SIZE (100)
#define DUMP_LOCATION ("./memory_count")
#define MAX... |
/*******************************************************************************
* Copyright (C) 2017-2022 Theodore Chang
*
* 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 ... |
#ifndef _CAMERACORRESPONDENCECALIBRATION_H
#define _CAMERACORRESPONDENCECALIBRATION_H
#include "ofMain.h"
#include "ofxOpenCv.h"
#include "Scene.h"
// camera correspondence calibration scene
class CameraCorrespondenceCalibrationScene : public Scene
{
public:
CameraCorrespondenceCalibrationScene(MyApplication* app... |
//-------------------------------------------------------------------
//
// Node.h
//
// author: Stefan Hachul
// date : June 2006
//
//--------------------------------------------------------------------
//Data structure for representing nodes and an int v... |
// Copyright (c) 2009, Roland Kaminski <kaminski@cs.uni-potsdam.de>
//
// This file is part of gringo.
//
// gringo 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 ... |
// ----------------------------------------------------------------------------
// threads.h
//
// Copyright (C) 2007-2009
// Stelios Bounanos, M0GLD
//
// This file is part of fldigi.
//
// Fldigi is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publis... |
/* serialize.h */
#ifndef SERIALIZE_H
#define SERIALIZE_H
#include "node_data.h"
char *serialize(struct nli *node);
struct nli *deserialize(char *buf);
#endif
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* s_fdnotify.h :+: :+: :+: ... |
/*
Copyright (C) 2012 Andrew Darqui
This file is part of darqbot.
darqbot 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 la... |
/* This file is part of Lyos.
Lyos 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.
Lyos is distributed in the hope tha... |
#pragma once
#include "../render/volume.h"
#include "../render/volume_detail.h"
class MengerSponge : public VolumeVoxelmap {
public:
enum MODE {
COLORS_RGBA
};
MengerSponge( const char *name, Object *parent );
~MengerSponge();
void setDepth( int );
void... |
/*
* IRQ domain support for SH INTC subsystem
*
* Copyright (C) 2012 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#define pr_fmt(fmt) "intc: " fmt
#include <linux/irqdom... |
/*
** Copyright 2007-2013, 2017-2018 Sólyom Zoltán
** This file is part of zkanji, a free software released under the terms of the
** GNU General Public License version 3. See the file LICENSE for details.
**/
#ifndef ZEVENTS_H
#define ZEVENTS_H
#include <QtEvents>
// Header for custom events that automatically ass... |
/*
* Copyright (C) 2012 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser 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... |
/***************************************************************************
gloscope.h - description
-------------------
begin : Jan 17 2004
copyright : (C) 2004 by Adam Pigg
email : adam@piggz.co.uk
********... |
#ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include "mythread.h"
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
MyThread *mThread;
private:
Ui::Dialog *ui;
public slots:
void onNumberChanged(int... |
/* SUCHAI
* NANOSATELLITE FLIGHT SOFTWARE
*
* Copyright 2013, Carlos Gonzalez Cortes, carlgonz@ug.uchile.cl
* Copyright 2013, Tomas Opazo Toro, tomas.opazo.t@gmail.com
*
* This program is free software: you can redistribute it and/or modify
* it unde... |
//
// Created by czllo on 2017/5/19.
//
#ifndef BINARY_TREE_BINARY_TREE_H
#define BINARY_TREE_BINARY_TREE_H
#include <iostream>
#include <string>
#include <cassert>
template <typename T>
struct Node {
typedef T data_type;
Node() : data(), left(NULL), right(NULL), parent(NULL) { }
~Node() { }
data_t... |
/*
===========================================================================
Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
This file is part of Spearmint Source Code.
Spearmint Source Code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public Licens... |
/* d3des.h -
*
* Headers and defines for d3des.c
* Graven Imagery, 1992.
*
* THIS SOFTWARE PLACED IN THE PUBLIC DOMAIN BY THE AUTHOUR
* 920825 19:42 EDST
*
* Copyright (c) 1988,1989,1990,1991,1992 by Richard Outerbridge
* (GEnie : OUTER; CIS : [71755,204])
*/
#undef D2_DES
#undef D3_DES
#ifdef D3_DES
... |
/* ide-build-system.h
*
* Copyright (C) 2015 Christian Hergert <christian@hergert.me>
*
* 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 opti... |
#pragma once
#include <glm/glm.hpp>
#define PLAYER_RADIUS 0.23f
#define PLAYER_STAND_HEIGHT 1.5f
#define PLAYER_CROUCH_HEIGHT 0.9f
/* eye offset is down from top of player capsule (height) */
#define EYE_OFFSET_Z 0.1f
struct player {
float angle;
float elev;
glm::vec3 pos;
glm::vec3... |
/*
* cmdlnopts.c - the only function that parce cmdln args and returns glob parameters
*
* Copyright 2013 Edward V. Emelianoff <eddy@sao.ru>
*
* 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 Foundati... |
// From the software distribution accompanying the textbook
// "A Practical Introduction to Data Structures and Algorithm Analysis,
// Third Edition (C++)" by Clifford A. Shaffer.
// Source code Copyright (C) 2007-2011 by Clifford A. Shaffer.
// This is the file to include in your code if you want access to the
// com... |
//
// GitHubSignInViewController.h
// Xenonscript
//
// Created by Chen Zhibo on 7/30/15.
// Copyright © 2015 Chen Zhibo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface GitHubSignInViewController : UITableViewController
@end
|
/***************************************************************************
copyright : (C) 2002 - 2008 by Scott Wheeler
email : wheeler@kde.org
***************************************************************************/
/************************************************************... |
/*
* Copyright 2015 - 2021, GIBIS-Unifesp and the wiRedPanda contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef LOGICTFLIPFLOP_H
#define LOGICTFLIPFLOP_H
#include "logicelement.h"
class LogicTFlipFlop : public LogicElement
{
public:
explicit LogicTFlipFlop();
/* LogicElement interface */... |
/* zutil.c -- target dependent utility functions for the compression library
* Copyright (C) 1995-2002 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id$ */
#include "zutil.h"
struct internal_state {int dummy;}; /* for buggy compilers */
#ifndef STDC
... |
/* Properties of Unicode characters.
Copyright (C) 2002, 2006-2007, 2009-2014 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by t... |
#include <stdio.h>
int main(void){
int key=911;
int *p_addr=NULL;
p_addr=&key;
printf("If I know the name of the variable,I can get it's value by name: %d\n",key);
printf("If I know the address of the variable is %x,then I also can get it's value by address: %d\n",p_addr,*p_addr);
return 0;
} |
#ifndef TRUNCATIONOPTIONWINDOW_H_
#define TRUNCATIONOPTIONWINDOW_H_
#include "../ui_truncationOptionWindow.h"
#include <QtGui>
#include <QDialog>
class TruncationOptionWindow : public QDialog {
Q_OBJECT
public:
TruncationOptionWindow(QWidget *parent);
TruncationOptionWindow(const std::vector<int> &vect_trunc... |
/*
p0f - type definitions and minor macros
---------------------------------------
Copyright (C) 2012 by Michal Zalewski <lcamtuf@coredump.cx>
Distributed under the terms and conditions of GNU LGPL.
*/
#ifndef _HAVE_TYPES_H
#define _HAVE_TYPES_H
#include <stdint.h>
typedef uint8_t u8;
typedef uint16... |
/* EEPROM based configuration data storage structure
Whole flight controller configuration is being stored inside an CONFIG structure
that can be accesed as data union (which is required for easy manipulation with
the configuration data over serial and easy way of storing this data in EEPROM).
Th... |
/**
* @file memory.c
* @brief Keyboard management
* @author Victor Borges
* @date Mar 15, 2011
*/
struct kb_stream {
volatile char stream[256];
unsigned int size;
};
extern struct kb_stream kb_cache;
/**
* Setup keyboard
**/
result kb_setup();
|
/*****************************************************************************
This file is part of QSS Solver.
QSS Solver 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
... |
/* server.c --- SASL mechanism SECURID from RFC 2808, server side.
* Copyright (C) 2002-2012 Simon Josefsson
*
* This file is part of GNU SASL Library.
*
* GNU SASL 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 ... |
/* Check UTF-32 string.
Copyright (C) 2002, 2006, 2009-2014 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program 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 F... |
/*
Copyright (C) 2013 Thomas MAURICE
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 ... |
/** @file init.c
*
* Legato framework library constructor implementation.
*
* Copyright (C) Sierra Wireless Inc.
*/
#include "legato.h"
#include "args.h"
#include "atomFile.h"
#include "eventLoop.h"
#include "fs.h"
#include "json.h"
#include "killProc.h"
#include "log.h"
#include "mem.h"
#include "messaging.h"
#... |
#include "sort.h"
#include <stdlib.h>
void rList_sort(struct rListDescriptor *desc,int (*cmpr)(void* a,void* b)){
rListIterator infolist=desc->first;
if(desc->first == NULL) return;
int FLAG_SORTED=0;
while(!FLAG_SORTED){
FLAG_SORTED=1;
struct rListNode* iterator=infolist->next,*previte... |
/* =========================================================================
zprototest_msg - zprototest example protocol
Codec header for zprototest_msg.
** WARNING *************************************************************
THIS SOURCE FILE IS 100% GENERATED. If you edit this file, you will l... |
/* atanhl.c
*
* Inverse hyperbolic tangent, long double precision
*
*
*
* SYNOPSIS:
*
* long double x, y, atanhl();
*
* y = atanhl( x );
*
*
*
* DESCRIPTION:
*
* Returns inverse hyperbolic tangent of argument in the range
* MINLOGL to MAXLOGL.
*
* If |x| < 0.5, the rational form x + x**3 P(x)/Q... |
/*
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
*
* Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http... |
#include "legato.h"
#include "interfaces.h"
COMPONENT_INIT
{
int result = foo_f();
if (result == 1234)
{
printf("C1 result = %d\n", result);
}
else
{
fprintf(stderr, "Got incorrect result! Expected 1234, got %d.\n", result);
}
}
|
/**********************************************************************
** Copyright (C) 2014 vell001
** Author: VellBibi
** Description:
**
**********************************************************************/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QStandardItemModel>
... |
/****************************************************************/
/* */
/* error.c */
/* */
/* Main Kernel Error Handler Funct... |
/*
Copyright (c) 2014-2019 AscEmu Team <http://www.ascemu.org>
This file is released under the MIT license. See README-MIT for more information.
*/
#pragma once
#include <cstdint>
#include "ManagedPacket.h"
#include "WorldPacket.h"
namespace AscEmu::Packets
{
class CmsgRemoveGlyph : public ManagedPacket
{
#... |
#pragma once
#include <string>
#include <Windows.h>
#include <thread>
#include <chrono>
#include "Modules/ModuleManager.h"
#include "Config.h"
#include "Drawing.h"
#include "Patch.h"
using namespace std;
struct cGuardModule
{
union {
HMODULE hModule;
DWORD dwBaseAddress;
};
DWORD _1;
char ... |
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "distortion.h"
#include "util.h"
/**
* Allocates memory for a distortion matrix
*/
struct distortion_t *alloc_distortion_matrix(uint8_t symbols) {
struct distortion_t *rtn = (struct distortion_t *) calloc(1, sizeof(struct distortion_t));
rtn->symbo... |
/*
* Copyright (c) 2006 University of Utah and the Flux Group.
*
* {{{EMULAB-LICENSE
*
* This file is part of the Emulab network testbed software.
*
* This file is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free So... |
#pragma once
/*
Copyright (C) 2016 AGC.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero 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 distributed in... |
/*
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008-2020 <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software... |
#ifndef HELLO_WRAP_H
#define HELLO_WRAP_H
// Copyright Joel de Guzman 2002-2004. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
// Hello World Example from the tutorial
// [Joel de Guzman 10/9/2002]
#includ... |
/**
* Copyright (c) 2016 DeepCortex GmbH <legal@eventql.io>
* Authors:
* - Paul Asmuth <paul@eventql.io>
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License ("the license") as
* published by the Free Software Foundation, either ... |
/**
******************************************************************************
* @file Elaborato1/1_1_Driver_C_NoInt/main.c
* @authors Colella Gianni - Guida Ciro - Lombardi Daniele / Group IV - Sistemi Embedded 2016-2017
* @version V1.0
* @date 10-May-2017
* @brief Programma principale che ... |
#ifndef NETTCPCONNECTION_H
#define NETTCPCONNECTION_H
#include "ioConnection.h"
#include <string>
#ifdef __APPLE__
#define SEND_FLAGS 0
#define SOCKOPT_FLAGS SO_NOSIGPIPE
#else
#include <string.h>
#define SEND_FLAGS MSG_NOSIGNAL
#define SOCKOPT_FLAGS 0
#endif
#include <sys/types.h>
#include <sys/... |
/*
* Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at https://www.openssl.org/source/licens... |
/*
* Copyright (C) 2008, 2010-2011, Aldebaran Robotics
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
#include <libpor... |
/*
Bacula® - The Network Backup Solution
Copyright (C) 2003-2014 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from many
others, a complete list can be found in the file AUTHORS.
You may use this file and others of this release according to the
l... |
/****************************************************************
* *
* Copyright 2001, 2014 Fidelity Information Services, 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 *
*... |
/*
* trace_data_response.h
*
*
*/
#ifndef _OpenAPI_trace_data_response_H_
#define _OpenAPI_trace_data_response_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "trace_data.h"
#ifdef __cplusplus
extern ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.