text stringlengths 4 6.14k |
|---|
#ifndef VRFLUIDS_H_INCLUDED
#define VRFLUIDS_H_INCLUDED
#include "../Particles/VRParticles.h"
OSG_BEGIN_NAMESPACE;
class VRFluids : public VRParticles {
public:
enum SimulationType { SPH, XSPH };
VRFluids(string name, bool spawnParticles = true);
~VRFluids();
static shared_ptr<V... |
#ifndef TraceNumeric_H
#define TraceNumeric_H
#include "Trace.h"
namespace RevBayesCore {
class TraceNumeric : public Trace<double> {
public:
TraceNumeric();
virtual ~TraceNumeric(){};
virtual TraceNumeric* clone(void) const; //!< Clone object
... |
/*
* Copyright 2016, Cyril Bur, IBM Corp.
*
* 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.
*
*
* Test the kern... |
/*
* Copyright (C) 2003-2015 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 3 of the License, or
* (at your option) any later version.
*
* This prog... |
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-2004 Underbit Technologies, 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 2 of the License, or
*... |
//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef FONTMANAGER_H
#define FONTMANAGER_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui/VGUI.h>
#include "vgui_surfa... |
//
// File = welcpdgm.h
//
#ifndef _WELCPDGM_H_
#define _WELCPDGM_H_
#include "complex.h"
#include "gen_win.h"
#include "psd_est.h"
#include "sig_src.h"
class WelchPeriodogram : public PsdEstimate
{
public:
WelchPeriodogram(SignalSource* signal_source,
double samp_intvl,
int n... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <dirent.h>
#include <sys/stat.h>
#include <fcntl.h>
#define BUFSIZE 1024
typedef struct mymsg{
int size;
char name[BUFSIZE];
}msg;
typedef s... |
#ifndef MANTID_HISTOGRAMDATA_VALIDATION_H_
#define MANTID_HISTOGRAMDATA_VALIDATION_H_
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <stdexcept>
namespace Mantid {
namespace HistogramData {
class HistogramX;
class HistogramY;
class HistogramE;
namespace detail {
template <class TargetType> struct... |
//
// ScrollLayerController.h
// CAShapeLayer
//
// Created by felix on 2017/1/8.
// Copyright © 2017年 felix. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ScrollLayerController : UIViewController
@end
|
/*
OOPoker
Copyright (c) 2010 Lode Vandevenne
All rights reserved.
This file is part of OOPoker.
OOPoker 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 ... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by appicon.rc
//
#define IDI_ICON1 102
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE ... |
/* Copyright (C) 2014, 2016 Luk Bettale
This file is part of VM8051.
VM8051 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 3 of the
License, or (at your option) any later ve... |
/*
* Copyright 2015 Red Hat Inc.
*
* 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, copy, modify, merge, publish, d... |
//
// Created by larsson on 2017-01-30.
//
#ifndef SDLGAME_ZPIECE_H
#define SDLGAME_ZPIECE_H
#include "Piece.h"
class ZPiece:public Piece {
public:
ZPiece();
~ZPiece(); // This has to be declared
};
#endif //SDLGAME_ZPIECE_H |
/*! \file thr_pool.h
** \brief The NPS Pthread Pool module interface.
**
** \details Inferface for a module to maniulate a simple POSIX
** thread pool. Each pool is manger-less, and supports a min- and max-
** thread population.
**
** - To create a new pool, see thr_pool_create().
** The m... |
#ifndef MAVLINK_CPP_MSG_LOG_REQUEST_END_H
#define MAVLINK_CPP_MSG_LOG_REQUEST_END_H
#include "../message.h"
namespace mavlink
{
namespace msg
{
const uint8_t log_request_end_id = 122;
const uint8_t log_request_end_length = 2;
const uint8_t log_request_end_crc = 203;
class log_request_end : public... |
/****************************************************************************/
/// @file TrafficActuated.h
/// @author Philip Vo <foxvo@ucdavis.edu>
/// @author Mani Amoozadeh <maniam@ucdavis.edu>
/// @date August 2013
///
/****************************************************************************/
// VENTOS,... |
#define TAG_TRF_uMEDIATOR 690000
|
/***********************************************************************
Copyright (c) 2006-2011, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retai... |
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <locale.h>
// Win compatibility
#ifdef _WIN32
typedef unsigned __int32 uint32_t;
typedef unsigned __int16 uint16_t;
#endif
typedef struct WavHeader {
uint32_t ChunkID;
uint32_t ChunkSize;
uint32_t Forma... |
/***************************************************************************
* Copyright (C) 2011-2017 Alexander V. Popov.
*
* This file is part of Molecular Dynamics Trajectory
* Reader & Analyzer (MDTRA) source code.
*
* MDTRA source code is free software; you can redistribute it and/or
* modify it under the term... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+--------------... |
/*
* kixmail-application.h
* Copyright (C) 2012 Parthasarathi Susarla <ajaysusarla@gmail.com>
*
* kixmail 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 the demos-linux package.
* Copyright (C) 2011-2022 Mark Veltzer <mark.veltzer@gmail.com>
*
* demos-linux 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 ... |
#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... |
struct sigscratch
{
unsigned long scratch_unat; /* ar.unat for the general registers saved in pt */
unsigned long ar_pfs; /* for syscalls, the user-level function-state */
struct pt_regs pt;
};
struct sigframe
{
/*
* Place signal handler args where user-level unwinder can find them easily.
* DO NOT MOVE THES... |
#ifndef NETWORKPCAPFILERECORDER_H
#define NETWORKPCAPFILERECORDER_H
#include "recorder.h"
#include "PacketProducer/pcapbufferedproducer.h"
#include "PacketConsumer/pcapfileconsumer.h"
#include "Middleware/analyzerpcapmiddleware.h"
class NetworkPcapFileRecorder : public Recorder
{
Q_OBJECT
private:
PcapBuffere... |
/*
* Program: pgn-extract: a Portable Game Notation (PGN) extractor.
* Copyright (C) 1994-2017 David Barnes
* 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 1, or (at you... |
/*
* ==========================================================================
* NetPerfMeter -- Network Performance Meter
* Copyright (C) 2009-2021 by Thomas Dreibholz
* ==========================================================================
*
* This program ... |
#include <stdlib.h>
#include <string.h>
#include "token.h"
#include "token_stream.h"
TokenStream* new_token_stream(int capacity) {
TokenStream* ts = malloc(sizeof(TokenStream));
ts->pos = 0;
ts->size = 0;
ts->capacity = capacity;
ts->tokens = malloc(sizeof(Token) * capacity);
memset(ts->tokens... |
/**
******************************************************************************
* @file RTC/RTC_Alarm/Inc/main.h
* @author MCD Application Team
* @brief Header for main.c module
******************************************************************************
* @attention
*
* <h2><center>© C... |
#ifndef _GYRO_H
#define _GYRO_H
#define _NB_ELEM_V 4
#define _DEG_V 2
#define _MV (_NB_ELEM_V * _DEG_V + 1)
#define _INDEX_MAX_KIN (_MV-1)
#define _INDEX_PHI (_MV)
#define _INDEX_EX (_MV+1)
#define _INDEX_EY (_MV+2)
#define _INDEX_EZ (_MV+3)
#define _INDEX_MAX (_MV+4)
#define _VMAX 6.
#define _DV (2*_VMAX / _NB_ELEM... |
//
// SimpleImage.h
// TileTest
//
// Created by Admin on 8/19/14.
// Copyright (c) 2014 Admin. All rights reserved.
//
#ifndef TileTest_SimpleImage_h
#define TileTest_SimpleImage_h
#include <memory>
struct SimpleImage
{
int width;
int height;
int channels;
std::shared_ptr<unsigned char... |
/*
* @author Marco Livesu (marco.livesu@gmail.com)
* @author Alessandro Muntoni (muntoni.alessandro@gmail.com)
* @copyright Alessandro Muntoni 2016.
*/
#ifndef GLCANVAS_H
#define GLCANVAS_H
#include <QGLViewer/qglviewer.h>
#include <QGLViewer/manipulatedCameraFrame.h>
#include <QGLWidget>
#include <QKeyEven... |
/*
Copyright 2009 Brain Research Institute, Melbourne, Australia
Created by Tom Close on 13/03/09.
This file is part of Fourier Tract Sampling (FouTS).
FouTS is free software: you can reobjectibute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Founda... |
/*****************************************************************************
* Copyright (c) 2014 Ted John, Duncan Frost
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* This file is part of OpenRCT2.
*
* OpenRCT2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU ... |
#ifndef VRAVATAR_H_INCLUDED
#define VRAVATAR_H_INCLUDED
#include <OpenSG/OSGConfig.h>
#include <string>
#include <map>
#include "core/objects/VRObjectFwd.h"
OSG_BEGIN_NAMESPACE;
using namespace std;
class VRAvatar {
private:
VRTransformPtr deviceRoot = 0;
VRTransformPtr tmpContainer = 0;
... |
/*
****************************************************************************
* Copyright (c) 2015 Uriah Liggett <freelaserscanner@gmail.com> *
* This file is part of FreeLSS. *
* *
* Fr... |
/**************************************************************************
copyright : (C) 2007 by Lukáš Lalinský
email : lalinsky@gmail.com
**************************************************************************/
/************************************************************... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
* Copyright (C) 2016-2019 - Brad Parker
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as publ... |
/*
dbgtools - platform independent wrapping of "nice to have" debug functions.
version 0.1, october, 2013
https://github.com/wc-duck/dbgtools
Copyright (C) 2013- Fredrik Kihlander
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any ... |
////////////////////////////////////////////////////////////////////////////
// Created : 22.04.2009
// Author : Mykhailo Parfeniuk
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#ifndef BLENDER_LIGHT_SPOT_H_INCLUDED
#define BLENDER_LIGHT_SPOT_H_IN... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch 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 Found-
* ati... |
/*
* Cantata
*
* Copyright (c) 2011-2019 Craig Drummond <craig.p.drummond@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
* (a... |
/*************************************************************
This file is part of messaging-cells.
messaging-cells is free software: you can redistribute it and/or modify
it under the terms of the version 3 of the GNU General Public
License as published by the Free Software Foundation.
messaging-cells is distri... |
#include <dlfcn.h>
#include <gdk/gdk.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include "coqidefix.h"
static gboolean (* parse)(gchar const* spec,
GdkColor* color) = NULL;
static void load(void) {
parse = dlsym(RTLD_NEXT,
/* libgdk-x11-2.0.so: */ "gdk_color_parse");
if (parse == NULL) {
... |
/*
* Bitmap - Bit map for InterViews
*/
#include <InterViews/bitmap.h>
#include <InterViews/transformer.h>
Bitmap::Bitmap (const char* filename) {
rep = new BitmapRep(filename);
}
Bitmap::Bitmap (void* d, int w, int h, int x, int y) {
rep = new BitmapRep(d, w, h, x, y);
}
Bitmap::Bitmap (Font* f, int c) {... |
#ifndef _FIR_FLOAT_H
#define _FIR_FLOAT_H
//////////////////////////////////////////////////////////////
// Filter Code Definitions
//////////////////////////////////////////////////////////////
// maximum number of inputs that can be handled
// in one function call
#define MAX_INPUT_LEN 3000
// maximum length of f... |
/*
Copyright (©) 2003-2022 Teus Benschop.
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 distributed in the h... |
/*
This file is part of Vajolet.
Vajolet 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.
Vajolet is distributed in t... |
/**
* Portions Copyright (c) Microsoft Corporation. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* THIS COD... |
/*=========================================================================
Program: C3D: Command-line companion tool to ITK-SNAP
Module: ThresholdImage.h
Language: C++
Website: itksnap.org/c3d
Copyright (c) 2014 Paul A. Yushkevich
This file is part of C3D, a command-line companion tool to ITK-S... |
// Linux: SCSI Generic
|
/*
* Kchmviewer - a CHM and EPUB file viewer with broad language support
* Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.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 Foundatio... |
//////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2014, Jonathan Balzer
//
// All rights reserved.
//
// This file is part of the software accompanying the following publication
//
// @INPROCEEDINGS{Balzeretal2014,
// author = {J. Balzer and D. Acevedo-Feliz and S. S... |
// Source : https://leetcode.com/problems/3sum-closest/
// Author : Peter-s
/**********************************************************************************
*
* Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You ... |
// To allow debuging...
#ifndef _FXLIB_DEBUGING_H
#define _FXLIB_DEBUGING_H
typedef char FONTCHARACTER;
#endif // _FXLIB_DEBUGING_H
|
/*
Stockfish, a UCI chess playing engine derived from Glaurung 2.1
Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad
Stockfish is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License a... |
/*=============================================================================
| Copyright 2012 Matthew D. Steele <mdsteele@alum.mit.edu> |
| |
| This file is part of Azimuth. |
... |
/*
Copyright (C) 2008-2012 Jaroslav Hajek
This file is part of Octave.
Octave 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.
Octave is d... |
//Settings.h by Emercoin developers
#pragma once
#include <QDir>
class Settings {
public:
static QDir configDir();
static QString configPath();
static QDir certDir();
};
|
/* This file is part of cmpiLinux_FanProvider.
*
* cmpiLinux_FanProvider 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.
*
* cmp... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The PHP Group |
+---------... |
/*
* Copyright (C) 2008 Stephen F. Booth <me@sbooth.org>
* All Rights Reserved
*/
#import <Cocoa/Cocoa.h>
#import <AudioToolbox/AudioFile.h>
// ========================================
// A class representing a WAVE file containing CD-DA audio
// that presents read/write access to that audio as CD-DA sectors
// ... |
/*
Copyright 2010-2012 Mark Boots, David Chevrier, and Darren Hunter.
Copyright 2013-2014 David Chevrier and Darren Hunter.
This file is part of the Acquaman Data Acquisition and Management framework ("Acquaman").
Acquaman is free software: you can redistribute it and/or modify
it under the terms of the GNU General P... |
/*
* Copyright (C) 2008, 2009, 2010 The Collaborative Software Foundation.
*
* This file is part of FeedHandlers (FH).
*
* FH 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 3
* of t... |
/*-
* Copyright (c) 1990 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 the above copyright
... |
//
// 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... |
#ifndef CONEXIONRED_H
#define CONEXIONRED_H
#define OTHELLO_ONLINE_DEFAULT_PORT 20303
class ConexionRed{
public:
ConexionRed(const char *host, short puerto);
ConexionRed(); // inicializar como servidor
~ConexionRed();
bool start(const char *localName);
const char *getRemoteName();
int hacerMov... |
#ifndef SYMBOLIX_DRIVER_HH
#define SYMBOLIX_DRIVER_HH
#include <string>
#include <map>
#include "symbolix-parser.hh"
#include "../AST/AST.h"
#define YY_DECL \
yy::symbolix_parser::token_type \
yylex(yy::symbolix_parser::semantic_type* yylval, \
... |
#pragma once
/* where T is std140-conforming, and agrees with the shader. */
template<typename T>
struct shader_params
{
T val;
GLuint bo;
shader_params() : bo(0)
{
glGenBuffers(1, &bo);
glBindBuffer(GL_UNIFORM_BUFFER, bo);
glBufferData(GL_UNIFORM_BUFFER, sizeof(T), NULL, GL_D... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Ghost, a micro-kernel based operating system for the x86 architecture *
* Copyright (C) 2015, Max Schlüssel <lokoxe@gmail.com> *
... |
/* Test of splitting a 'long double' into fraction and mantissa.
Copyright (C) 2007-2019 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 (C) 2003, 2004, 2005, 2008, 2011
Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.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, eith... |
/*
* eina/adb/eina-adb-upgrade.c
*
* Copyright (C) 2004-2011 Eina
*
* 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 versi... |
/* -*- mode: C; c-file-style: "bsd"; tab-width: 4 -*- */
/* jstroke.h - System-independent functions/defines
* JStroke 1.x - Japanese Kanji handwriting recognition technology demo.
* Copyright (C) 1997 Robert E. Wells
* http://wellscs.com/pilot
* mailto:robert@wellscs.com
*
* This program is free software; you ... |
//
// CommentViewController.h
// YH-IOS
//
// Created by lijunjie on 15/12/11.
// Copyright © 2015年 com.intfocus. All rights reserved.
//
#import "BaseViewController.h"
#import "BaseWebViewController.h"
@interface CommentViewController : BaseWebViewController
@property (strong, nonatomic) NSString *bannerName;
@p... |
#include <unistd.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include "syscall.h"
#include "auditsec_info.h"
long auditsec_register(int state)
{
return syscall(__NR_sys_auditsec_reg, state);
}
long auditsec_question(struct auditsec_info * user_as_i)
{
return syscall(__NR_sys_auditsec_question, user_as_i);... |
/*
ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio.
This file is part of ChibiOS.
ChibiOS 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
... |
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Elements/1.3.1/BoxSizing.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Elements{
// protected enum BoxSizing.ConstraintFlags :165
uEnumType* BoxSizi... |
//
// GameScene.h
// FlapFlap
#import <SpriteKit/SpriteKit.h>
#import <AVFoundation/AVFoundation.h>
@interface GameScene : SKScene <SKPhysicsContactDelegate>
@end
|
/*
* Copyright 2008-2013 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
// vec2d.h
#ifndef _JUDE_S2_VEC2D_H
#define _JUDE_S2_VEC2D_H
#include <math.h>
#include "base/jdatastream.h"
#include "base/jtextstream.h"
#include "base/jtypes.h"
namespace jude {
namespace S2 {
using namespace jude::base;
class Vec2D {
protected:
double xp;
double yp;
public:
/*! \brief Construct ... |
#ifndef PUNTO_H
#define PUNTO_H
#include<iostream>
#include<string.h>
using namespace std ;
class Punto{
private:
int x, y ;
public:
Punto(){
x = 0 ;
y = 0 ;
}
Punto(int valorX, int valorY){
x = valorX ;
y = valorY ;
}
... |
#ifndef __KEYMAPS_H__
#define __KEYMAPS_H__
// Includes:
#include <stdint.h>
#include "key_action.h"
// Macros:
#define MAX_KEYMAP_NUM 255
#define KEYMAP_ABBREVIATION_LENGTH 3
// Typedefs:
typedef struct {
const char *abbreviation;
uint16_t offset;
uint8_t abbreviationL... |
#include<stdio.h>
#include<stdlib.h>
#include<pthread.h>
#include<sys/types.h>
#include<unistd.h>
#include<string.h>
typedef struct data {
int msize;
int threadNum;
int threadCount;
float** A; // A*B=C
float** B;
float** C;
} TaskData;
float randrange(float min, float max) {
return (float)(rand())/RAND_MAX*(m... |
#ifndef _BU_CLUSTERING
#define _BU_CLUSTERING
#include "vocabulary.h"
#include "clustering.h"
#include "lsa.h"
//bottom up aglomerative clustering
class BU_Clustering : public Clustering
{
public:
explicit BU_Clustering(const Vocabulary& vocab)
: lsa_proc_ { vocab }
{
}
void create_clusters(c... |
/* check_helpers.h -- macros and functions based on the "check" library
*
* Copyright 2011-2012 Maurizio Tomasi.
*
* 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 L... |
/* Copyright (C) 2010-2014 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this libretro SDK code part (glsym).
* ---------------------------------------------------------------------------------------
... |
/* === 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 the te... |
/*
* et_vfuncs_private.h -- additional private vector functions related to ET
*
* Copyright 2014 Holger Kohr <kohr@num.uni-sb.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 (C) 2008, 2009, 2010, 2011 - Emanuele Bovisio
*
* This file is part of Mulk.
*
* Mulk 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... |
/*
* Copyright (C) 2003-2015 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 3 of the License, or
* (at your option) any later version.
*
* This prog... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ftq_pop.c :+: :+: :+: ... |
// Martin Lévesque <levesquem@emt.inrs.ca>
// 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 Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program... |
/*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condit... |
#include <stdlib.h>
#include <stdarg.h>
#include <debug/memory.h>
#include <debug/log.h>
#include <config/parse.h>
/*
static void fail (const char *fmt, ...)
{
va_list ap;
va_start (ap,fmt);
if (fmt != NULL) log_vprintf (LOG_ERROR,fmt,ap);
va_end (ap);
// mem_close ();
// log_close ();
exit (EXIT_... |
/*
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://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "applicationmode.h"
#include "driverkeyboardinput.h"
#include "drivermouseinput.h"
#include "ga... |
#ifndef FILESSUMMARY_H_
#define FILESSUMMARY_H_
struct FilesSummary
{
unsigned long TotalFileCount; /* Total number of files. */
unsigned long TotalSizeofFiles[2]; /* Total number of bytes used by
the files. */
unsigned long Si... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.