sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
9778b56f56738f2f9ae03dd003d75f2aab556c563980f2da3c0b558cc2a1117f | C/C++ | 1,303 | 56 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// SAReader.h - Read a suffix array file from disk
//
#ifndef SAREADER_H
#define SAREADER_H
... |
0802199887b0e73c4eecd223102c79afdf2df034bad3a6781e308877aaf45f0f | C/C++ | 1,304 | 55 | #pragma once
#if defined(TARGET_HAS_ThirdPartyNeXus)
#include "ovasIDriver.h"
#include "../ovasCHeader.h"
#include "../ovasCSettingsHelper.h"
#include "../ovasCSettingsHelperOperators.h"
#if defined TARGET_OS_Windows
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CDriverMindMediaNeXus32B
* \auth... |
11d3a564eb182ab3d634fafd1def218de1134cebe39da5afbbf5233aa93d76d6 | C/C++ | 1,308 | 52 | /*****************************************************************************
* SV_Evidence.h
* (c) 2012 - Ryan M. Layer
* Hall Laboratory
* Quinlan Laboratory
* Department of Computer Science
* Department of Biochemistry and Molecular Genetics
* Department of Public Health Sciences and Center for Public Health... |
9911e95fee4812b6c8c9d1a213a1e6b7b2798629fbbb2c3f94aac7597780dfb4 | C/C++ | 1,311 | 41 | #pragma once
#include "../ovasCConfigurationBuilder.h"
#include <iostream>
namespace OpenViBE {
namespace AcquisitionServer {
class CConfigurationTMSIRefa32B final : public CConfigurationBuilder
{
public:
explicit CConfigurationTMSIRefa32B(const char* gtkBuilderFilename);
bool preConfigure() override;
bo... |
2423809e32996785693c8820c60cf1cd793a340bb13601d416390a836ccf0466 | C/C++ | 1,329 | 43 | #pragma once
#if defined TARGET_HAS_ThirdPartyOpenAL
#include "../ovasCConfigurationBuilder.h"
#include "ovasIDriver.h"
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationOpenALAudioCapture
* \author Aurelien Van Langhenhove (CIC-IT Garches)
* \date Mon May 16 16:55:49 2011
* \erief The... |
80b955d0f55af93a5307ce60af27808d2e52089b9ed789625a66ef8314a5d5f5 | C/C++ | 1,330 | 43 | #pragma once
#include "../ovasCConfigurationBuilder.h"
#include "ovasIDriver.h"
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationEnobio3G
* \author Anton Albajes-Eizagirre (NeuroElectrics anton.albajes-eizagirre@neuroelectrics.com)
* \date Tue Apr 15 09:25:20 2014
* \brief The CConfig... |
7a26a96d29c2d614a8ec4e8a5b68acddabf09f4155f6b9b4b2e526718c28cdcd | C/C++ | 1,333 | 53 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#pragma once
#include <openvibe/ov_all.h>
#include <QtCore>
namespace OpenViBE {
namespace Designer {
class IOPort : public QObject
{
Q_OBJECT
Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChan... |
fd9bde666a7c9dd27a41cff6c77d179e53fb1e0168f25290424b87436f8532cc | C/C++ | 1,336 | 36 | #ifndef ISOTONIC_REGRESSION_H_
#define ISOTONIC_REGRESSION_H_
#include <chrono>
#include <iostream> // for std::cerr, std::endl
#include <memory> // for std::unique_ptr, std::make_unique
#include <algorithm>
#include <cmath>
#include "MonotoneRegressor.h"
class MonotoneRegressor;
class InferPEP {
public:
... |
ce2f1c89b62399edff08db3b56683a6541511a72808bab7fd96eb0b4a55a5c0b | C/C++ | 1,342 | 44 | #pragma once
/**
* \brief Acquisition Server plugin that tinkers with the signal for P300 debugging purposes
* \version 0.1
* \author Jussi T. Lindgren / Inria
*/
#include "ovasIAcquisitionServerPlugin.h"
namespace OpenViBE {
namespace AcquisitionServer {
class CAcquisitionServer;
namespace Plugins {
class... |
b0f9105e2e0ec2c96de65425afc1ef12268c4cbd6666fcb48d0df148a1b6c956 | C/C++ | 1,343 | 51 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#pragma once
#include <openvibe/ov_all.h>
#include <QtCore>
namespace OpenViBE {
namespace Designer {
class BoxObject;
class IOPort;
class ScenarioIOConnection : public QObject
{
Q_OBJECT
Q_PROPERTY(QPoi... |
5f45124a55e21641cca2c414e9ae6cfb0eeb9eab51544fc6004f361b739173ac | C/C++ | 1,346 | 54 | #pragma once
#include "IConnection.h"
#include <string>
namespace Socket {
class Socket_API IConnectionSerial : public IConnection
{
public:
virtual bool connect(const char* url, const size_t baudRate) = 0;
/**
* \brief Return the input serial pending byte count.
* \return The number of pending by... |
8d55090c7dc9be15a4b5917d4eec08d4f29a0bf12b68f726fc4c8b24dfc1f15f | C/C++ | 1,347 | 57 | #pragma once
#ifdef TARGET_OS_Windows
#include "ovasIDriver.h"
#include "../ovasCHeader.h"
#include "../ovasCSettingsHelper.h"
#include "../ovasCSettingsHelperOperators.h"
namespace OpenViBE {
namespace AcquisitionServer {
class CDriverMensiaAcquisition final : public IDriver
{
public:
CDriverMensiaAcquisition(... |
6db32c3ed9f91f453950b04d79595fba1fdcddc470fa0bc6e22e8231492cad40 | C/C++ | 1,350 | 49 | //-----------------------------------------------
// Copyright 2011 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// ClusterReader - Read in a file of read clusters.
// This class conforms to the interface n... |
0ace36fd070bf3129fce12b5b8c62a5848783d916b9676d49374eab61a05d5df | C/C++ | 1,357 | 41 | #pragma once
#include "BoxAdapter.h"
static const OpenViBE::CIdentifier STREAM_WRITER_ID = OpenViBE::CIdentifier(0x09C92218, 0x7C1216F8);
namespace OpenViBE {
namespace Tracker {
/**
* \class BoxAdapterGenericStreamWriter
* \brief A specific wrapper for Generic Stream Writer allowing to write tracks as .ov files... |
f8fbd929af9ab5aa4f70585cda9db2d9e498f78a133ddc7b04e508dbc8e71196 | C/C++ | 1,358 | 42 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterMultiSelect.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterMultiSelectObject: public P... |
846c3cb1acf3ad8f82214df242670f66b539b71f5f4354cce21d202de675b566 | C/C++ | 1,359 | 40 | #pragma once
#include <openvibe/plugins/ovIPluginObject.h>
#include <toolkit/ovtk_all.h>
#include "ovvizIWindowManager.h"
#define OV_ClassId_VisualizationCtx OpenViBE::CIdentifier(0xE06B92EF, 0xB6B68081)
namespace OpenViBE {
namespace VisualizationToolkit {
class IVisualizationContext : public Plugins::IPluginO... |
a674e56f4ae91ddd9c72e0d1aa075c0f47715e9c2ef8cc0e57bc21ddd44ac725 | C/C++ | 1,365 | 50 | //
// OpenViBE Tracker
//
#pragma once
#include <string>
#include <vector>
#include "StreamBundle.h"
#include "Contexted.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class Selection
* \brief Some convenience functions for Track/Stream selections
* \author J. T. Lindgren
*
*/
class Selection final : prot... |
b3cc6e80774ab475818139170918e241299e3c0d789ffc4146881a17e363cfe9 | C/C++ | 1,369 | 40 | /**
* SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterTraits.h"
namespace OpenViBE {
namespace Parameters {
class OV_API ParameterStringVector : public ParameterBase<std::vector<std::string>, ParameterStringVector>
{
public:
... |
111d247a181d5d35a8a2d39c58c082699bb63bf406819b61afc3305ca114540f | C/C++ | 1,371 | 36 | // Copyright [1999-2017] EMBL-European Bioinformatics Institute
//
// 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 b... |
51bcc6408e9d644df52df3c1f0afd7a95dcabe3d95280aec468f1e8d0d89313c | C/C++ | 1,371 | 41 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
418800a4469f6f7a0275ded1e200b7644bb1bfe504f2c1aa3482f24367799776 | C/C++ | 1,374 | 69 | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QTableWidget>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include "imagewidget.h"
#include "drawwidget.h"
#include "datadef.h"
#include <QPair>
#include <QVector>
namespace Ui {
class MainWindow;
}
class MainWindow : pub... |
5fd60da6c6233695dda335610f71c6ec344bcdc28ac4eeb2c37647cad56f395d | C/C++ | 1,375 | 48 | /*********************************************************************
* Software License Agreement (AGPL-3 License)
*
* OpenViBE SDK Test Software
* Based on OpenViBE V1.1.0, Copyright (C) Inria, 2006-2015
* Copyright (C) Inria, 2015-2017,V1.0
*
* This program is free software: you can redistribute it and/or modify
* ... |
89d502d9636bad274aba297cb9ebfac155507f679ea5f39f0f54f01617808093 | C/C++ | 1,378 | 43 | // Copyright [1999-2017] EMBL-European Bioinformatics Institute
//
// 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 b... |
9887d3a803d0e43d444aa8d426c59a58fe36e79c5ce9040112de28ac5f987652 | C/C++ | 1,386 | 40 | /*!
* Copyright (c) 2017-2026 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017-2026 The LightGBM developers. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#ifndef LIGHTGBM_INCLUDE_LIGHTGBM_EXPORT_H_
#define LIGHTGBM_INCLUDE_LI... |
214ebd8c95a93b7005c7c71a49de26a2ae46897934cdd67ae4049631433dc08c | C/C++ | 1,388 | 46 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterListInt.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterListIntObject: public Parameter... |
31c986357b151c2fa5292e1a2e12b142569ff84b364bb52d0be2bcb84011c909 | C/C++ | 1,389 | 37 | /*!
* Copyright (c) 2017-2026 Microsoft Corporation. All rights reserved.
* Copyright (c) 2017-2026 The LightGBM developers. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#ifndef LIGHTGBM_INCLUDE_LIGHTGBM_PREDICTION_EARLY_STOP_H_
#define LIGH... |
26caa03e83c99178d537bf31863ebb04752bcbd3fc1a3697cd7a898c002ddd2e | C/C++ | 1,390 | 49 | #pragma once
#if defined(TARGET_HAS_ThirdPartyLSL)
#include "../ovasCConfigurationBuilder.h"
#include "ovasIDriver.h"
#include "ovasIHeader.h"
#include <lsl_cpp.h>
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationLabStreamingLayer
* \author Jussi T. Lindgren / Inria
* \date Wed Oct 1... |
a485855c8ccff24fc6be11ed75c6b6b7c153dfd4b526296ac1f5aa3349f19fd8 | C/C++ | 1,393 | 57 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// SimpleAllocator - High-level manager of SimplePool
// memory pools. See SimplePool... |
df63bd1115be768247cc1eca5b17d08339bf378f6841f62a511c2f9ace697b58 | C/C++ | 1,398 | 33 | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... |
5fab92fa425a845fc51e4fa690b415f99a11647e473a21c9a8f077f22fbf033a | C/C++ | 1,399 | 53 | /*
# =============================================================================
# Copyright (c) 2016 - 2022 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================.
*/
#pragma once
#include "coreneuron/config/version_macros.... |
0acb6cc398fdfe812fa3caa2569b3fcae239cd52159c5a6c7feaa780b2807f97 | C/C++ | 1,404 | 33 | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... |
2b001fa8db4f2ee6fb7db7e7161cd96073fd767bbfa4c5103aa997c4eee6699c | C/C++ | 1,406 | 44 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
a154016403e14c3b5f230d23e17adc859cbc2ab1091fd8ba6b9ada75278f7a17 | C/C++ | 1,410 | 33 | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... |
09c2673843460322503a43a0be9d06a7e182df72823efd3d573c7b14c958e7e3 | C/C++ | 1,411 | 47 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterPath.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterPathObject: public ParameterObject... |
62daa4f177a3dce7bcb3be2946e53c152620a5ce7b5aace4a3107da5ad1dde33 | C/C++ | 1,411 | 65 | /**
General utility functions.
@author Álvaro Barbero Jiménez
@author Suvrit Sra
*/
#ifndef _UTILS_H
#define _UTILS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <limits.h>
/*** Structures ***/
/* Workspace for warm restarts and memory man... |
9967b5ea41fe0b0916ecd505e643a69767bee5d085b5d3fdaf470de97973f4f9 | C/C++ | 1,412 | 39 | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
5d5daf36bb9eb9fa3125aaceeeaf99f31bb3e4f01cb572d34299c2d23bfdc1b5 | C/C++ | 1,413 | 50 | #pragma once
#if defined(TARGET_HAS_ThirdPartyLSL)
#include "../ovasCConfigurationBuilder.h"
#include "ovasIDriver.h"
#include "ovasIHeader.h"
#include <lsl_cpp.h>
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationLabStreamingLayer
* \author Jussi T. Lindgren / Inria
* \date Wed Oct 1... |
bb15480bca1814bf117a85f8ebe9683aa9e46f23b7a48e6137b6fda8b6a683e8 | C/C++ | 1,416 | 66 | #pragma once
#include <vector>
#include <cstring>
#include <iostream>
#include <unordered_set>
#include <functional> //for std::hash
#include "SeqLib/GenomicRegionCollection.h"
class BreakPoint;
class SvabaLogger;
namespace SeqLib {
class BamHeader;
}
class DBSnpSite: public SeqLib::GenomicRegion {
public:
DB... |
8f9c1bfa5d77e12bfa90f4004853b014c613b79429b676d28d84e89943dff39d | C/C++ | 1,418 | 62 | /*
* PackedMatrix.h
*
* Created on: Feb 15, 2011
* Author: tomasoni
*/
#ifndef _PackedMatrix_H
#define _PackedMatrix_H
#include "PackedVector.h"
#include "Array.h"
class PackedMatrix
{
public:
PackedMatrix() {
rows = Array<PackedVector>();
cols = 0;
}
/**build a PackedMatrix with... |
c21cd93b1b5f1b83060230409d56368fbc7b6b64ac677203121677e226c43600 | C/C++ | 1,420 | 44 | #include <iostream>
#include <map>
#include <string>
#include <unordered_map>
#include <vector>
// based on the djb2 algorithm
struct DJB2Hash {
size_t operator()(const std::string& s) const {
unsigned long hash = 5381;
for (char c : s) {
hash = ((hash << 5) + hash) + c;
}
return hash;
}
};
... |
697c8ad65171eeec91365e32305714e70a255e0044df7e9206a4ba4d3279c35c | C/C++ | 1,423 | 53 | #pragma once
#include "../ovIObject.h"
namespace OpenViBE {
namespace Plugins {
/**
* \class IPluginObject
* \author Yann Renard (INRIA/IRISA)
* \date 2006-06-19
* \brief Base class for plugin object
* \ingroup Group_Extend
*
* This class is the base class for all the concrete plugin
* classes that extend the... |
7973fcb6b95d51c160f23dd9ecd882f0a9ddf63b5cae14db2d8904d69eea6dfd | C/C++ | 1,428 | 38 | #pragma once
#include "ovkCSimulatedBox.h"
#include "ovkCPlayer.h"
#include <openvibe/ovIObjectVisitor.h>
#include <openvibe/kernel/ovIObjectVisitorContext.h>
#include <xml/IReader.h>
#define OVD_AttributeId_SettingOverrideFilename OpenViBE::CIdentifier(0x8D21FF41, 0xDF6AFE7E)
namespace OpenViBE {
namespac... |
8998ff1dc5b3e995859f1efe31730a09438e132474a8d9880d8917766d01c710 | C/C++ | 1,429 | 63 | /*!
* Copyright (c) 2022-2026 Microsoft Corporation. All rights reserved.
* Copyright (c) 2022-2026 The LightGBM developers. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#ifndef LIGHTGBM_INCLUDE_LIGHTGBM_UTILS_BYTE_BUFFER_H_
#define LIGHTGBM... |
2579c836c3f19db2613e557f9b579d4f84328a47212317eef4a142ed570d4258 | C/C++ | 1,430 | 64 | // Written by Oliver Serang 2009
// see license for more information
#ifndef _Set_H
#define _Set_H
#include "Array.h"
class Set : public Array<int> {
public:
Set() {}
void add(int el);
const Set & operator &=(const Set & rhs); // intersection
const Set & operator |=(const Set & rhs); // union
bool isEmpt... |
7f81d06fad2cb940ee5a364fef144e1b887b53f4959486ff4cf398652023bc38 | C/C++ | 1,431 | 40 | ///-------------------------------------------------------------------------------------------------
///
/// \file ovIKernelObject.h
/// \brief Base class for all kernel objects.
///
/// \author Yann Renard (INRIA/IRISA).
/// \version 1.0.
/// \date 26/09/2006.
/// \copyright Copyright (C) 2022 Inria
///
/// This prog... |
f4fe099b9a6e4e408a32327b70c2420fd0bf59ad1a3a52f16cfe8911d3639725 | C/C++ | 1,432 | 47 | #pragma once
#include "ovIKernelObject.h"
namespace OpenViBE {
namespace Kernel {
/**
* \class IObjectVisitorContext
* \author Yann Renard (INRIA/IRISA)
* \date 2008-02-01
* \brief Exectution context for visitor objects
* \ingroup Group_Kernel
*/
class OV_API IObjectVisitorContext : public IKernelObject
{
publi... |
363195220dfd5d81fa471cf30e41bd9fd3eff946c6c74bff735ae49c6c3c064c | C/C++ | 1,435 | 58 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// Pileup - An array of strings containing all the seen
// bases for a given region/r... |
ac259982db4e44eb57df308d43a41668695d3322fc609659c338bed4499fd034 | C/C++ | 1,445 | 48 | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
d68636ddd8cea02642d3eac4231a97eb17656f2ae958b162009a185828c91ca2 | C/C++ | 1,446 | 56 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#pragma once
#include <AbstractDriver.h>
#include <AbstractDriverBuilder.h>
#include <openvibe/acquisition-messaging/samples.h>
#include <deque>
/**
* \class CDriverGenericOscillator
* \author Thomas Prampat (I... |
2108e523dabd3f040b0e639a3d436994729e268ae6f12f9ca52267c9cdb344f9 | C/C++ | 1,447 | 35 | #pragma once
#include "../ovkTKernelObject.h"
namespace OpenViBE {
namespace Kernel {
class CBoxProto : public TKernelObject<IBoxProto>
{
public:
CBoxProto(const IKernelContext& ctx, IBox& box) : TKernelObject<IBoxProto>(ctx), m_box(box) {}
~CBoxProto() override = default;
bool addInput(const CString& na... |
86b4d02c3b7dbebfc6840f212d873fcec9c412caa6f610ef01ae6f57902e75c9 | C/C++ | 1,449 | 56 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// Timer - Simple object to that prints the wallclock
// length of its lifetime
//
#... |
7ba1c09ca733f28722b7988828d2e3111d5a79e120d90a99f0d89cf8c777a275 | C/C++ | 1,450 | 39 | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... |
05d85f25aeffdc1d49fb7f8ff1e30a804aa98b33fbf2f3f094dd50dc366c919a | C/C++ | 1,451 | 40 | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
c884d51480504373c051a259ef737ca91ac4dab503b156528740e502ed12fa34 | C/C++ | 1,454 | 33 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// RemovalAlgorithm - Determine the set of edges that
// must be added to a given vertex to k... |
6c188cdf83299408be6677a2615b116dd3dcc565c06b5c43bfb266437495af10 | C/C++ | 1,456 | 65 | /* -*- mode: C++; indent-tabs-mode: nil; -*-
*
* This file is a part of LEMON, a generic C++ optimization library.
*
* Copyright (C) 2003-2013
* Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
* (Egervary Research Group on Combinatorial Optimization, EGRES).
*
* Permission to use, modify and distribut... |
9e29abde6c4462f977d22518344749cc4f51f29689244851fc8946a83b1bb4cf | C/C++ | 1,458 | 40 | #pragma once
#include <openvibe/ov_all.h>
namespace OpenViBE {
namespace Tracker {
/**
* \class Contexted
* \brief This class can be used to provide KernelContext and related getters for derived classes without overly complicating the derived class interface in their headers.
* \author J. T. Lindgren
* @fixme ... |
62570cac8a89f13b9f81c1b7eac3741ae8523a8055574ec856782b07f00b2c03 | C/C++ | 1,460 | 38 | #pragma once
#define OV_TypeId_Color OpenViBE::CIdentifier(0x7F45A2A9, 0x7DB12219)
#define OV_TypeId_ColorGradient OpenViBE::CIdentifier(0x3D3C7C7F, 0xEF0E7129)
#define OVP_ClassId_Plugin_VisualizationCtx OpenViBE::CIdentifier(0x05A7171D, 0x78E4FE3C)
#define OVV... |
4466cdd53e52980d4ec6f20818cfa87906b92ef03ac2a44ed3e65e8163e319e9 | C/C++ | 1,463 | 53 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// Interval - A pair of integers denoting a closed interval
//
#ifndef INTERVAL_H
#d... |
1d1c651da3c1167ddcc2a485743fab123674ce89de5cb92088f3fdcb49d9dc03 | C/C++ | 1,467 | 57 | #pragma once
// SPDX - License - Identifier: AGPL - 3.0 - only
// SPDX-FileCopyrightText: Inria <florent.leray@inria.fr>
#include<memory>
#include <openvibe/parameters/parameters.h>
#include <openvibe/Services/IService.h>
#include <CNetwork.h>
#include <CServer.h>
#include <NetService_Export.h>
namespace OpenViBE... |
41e5a8dca50d19f3ce67311fd6ff6f55a8ba5979978e4b314d4efc7718115180 | C/C++ | 1,471 | 35 | #pragma once
/**
* SPDX-FileCopyrightText: Inria <florent.leray@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
/**
* @file samplesBuffer.h
* @brief Header file defining the structure for storing samples and timestamps.
*
* This file defines the `samplesBuffer` structure, which is used to hold a buffer
*... |
fb8e17d4139f474db47e1838425ab7faaa83459ed16bd0fdfca8579b19df9868 | C/C++ | 1,474 | 47 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterListString.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterListStringObject: public Par... |
0f83cc3c149872b833edea79d2909abd54f87c2f6b21714205a7ec0c4cd974f3 | C/C++ | 1,476 | 48 | //
// OpenViBE Tracker
//
#pragma once
#include "StreamRendererBase.h"
#include "TypeSignal.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class StreamRendererSignal
* \brief Renderer for Signal streams
* \author J. T. Lindgren
*
*/
class StreamRendererSignal final : public StreamRendererBase
{
public:
... |
771ed3e0b907d24a38072bbfa110047f6bf7aa2cf5ae51e8a157e56de52c6b86 | C/C++ | 1,480 | 42 | #pragma once
#include "IWriter.h"
namespace EBML {
// ________________________________________________________________________________________________________________
//
template <class TOwnerClass>
class TWriterCallbackProxy1 final : public IWriterCallback
{
public:
TWriterCallbackProxy1(TOwnerClass& ownerObje... |
68913d84a47cfa06eef9a786475e3ffd8e3327b0db46782306f7c8753f539468 | C/C++ | 1,483 | 47 | //
// OpenViBE Tracker
//
#pragma once
#include "StreamRendererBase.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class StreamRendererNothing
* \brief Renders nothing, to avoid null ptrs when we don't want even a label rendered
* \author J. T. Lindgren
*
* @ fixme this class inherits a lot of junk from th... |
c9e0fa881ffc8353403465f296d63c1424ca3383e426845468be37a81fcad9ef | C/C++ | 1,483 | 26 | #pragma once
#include "../ovtk_base.h"
namespace OpenViBE {
namespace Toolkit {
namespace StimulationSet {
//@todo All is useless now. Avoid to used it, intended to be removed.
/// \deprecated Use the CStimulationSet class shift() method instead.
OV_Deprecated("Use the CStimulationSet class shift() method instead."... |
cd6d54b5f9040e2422720660c37e00b5e41bd04f7a053ca67db0a4d4db6116ca | C/C++ | 1,483 | 52 | #pragma once
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
namespace OpenViBE {
namespace Plugins {
namespace SignalProcessing {
class COutputChannel
{
typedef enum
{
SIGNAL_CHANNEL,
STIMULATION_CHANNEL,
} channel_t;
public:
bool initialize(Toolkit::TBoxAlgorithm<IBoxAlgo... |
f9007a04e84b82264ad162f580718bbace602e3107ca61c1e14898692e804945 | C/C++ | 1,486 | 42 | // Copyright [1999-2017] EMBL-European Bioinformatics Institute
//
// 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 b... |
cb5876ca1d76f990b608a560b1bb7b963ae7a7408a56b21e0201c2911b3c2b88 | C/C++ | 1,490 | 60 | ///-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// Metrics - Data structures to record data metrics
// error rates, error distributions, etc... |
be36afd79f19baa3ddd894b1e52ad701257f1f6d30e040e2fc3bb63e0eeafe40 | C/C++ | 1,496 | 47 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#pragma once
/**
* @file CommonBioSemi.h
* @brief Definitions shared by the BioSemi ActiveTwo and ActiveThree bridges.
*
* The legacy version of this header also carried an SInformationWindow struct backing a GTK... |
13d97d750c40b55805a0d303e26bd8376c2268670be4247db90a54a047811a36 | C/C++ | 1,497 | 64 | ///-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// ConnectProcess - Wrapper to resolve the sequence
// connecting two ends of a paired end r... |
4c7cc146f272e0f125d0272a8d4e4d7ae8a3a2bb9b0154a03b07b454b1b5a72a | C/C++ | 1,497 | 37 | // SPDX-FileCopyrightText: Inria <thomas.prampart@inria.fr>
// SPDX-License-Identifier: AGPL-3.0-only
#pragma once
#include <QString>
#include <string>
namespace OpenViBE {
namespace Designer {
namespace DocumentationUrl {
/**
* @brief Builds the documentation page slug from a box algorithm name.
*
* Mirrors the... |
1864939d23113ef5d6d6cd1fffbe3b91d9278899df9ac212ef03655205bbe969 | C/C++ | 1,499 | 61 | //-----------------------------------------------
// Copyright 2010 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// ReadInfoTable - A 0-indexed table of ID, length pairs
// Used to convert suffix array hits... |
07371645e99bdb98c8df237f86b539e1547282ac7bb45fa9bd1ae4ccb9a1cef5 | C/C++ | 1,502 | 63 | #pragma once
// SPDX - License - Identifier: AGPL - 3.0 - only
// SPDX-FileCopyrightText: Inria <florent.leray@inria.fr>
// Standard Library
#include <string>
#include <vector>
#include <iostream>
#include <algorithm>
#include <cstdlib> // For std::getenv
#include <filesystem>
// OS Specific Includes
#ifdef _WIN32
#... |
69babc5539295e8656b634699fde5ab9a8c33928ae837489a80a54eed2be149d | C/C++ | 1,502 | 55 | #pragma once
#include "../ovIKernelObject.h"
namespace OpenViBE {
namespace Kernel {
class ILogManager;
class ITypeManager;
class IScenarioManager;
class CErrorManager;
class IConfigurationManager;
/**
* \class IPluginModuleContext
* \brief Plugin context
* \author Yann Renard (INRIA/IRISA)
* \date 2007-06-20
*... |
0cb7e839ab88d9fd763af0df4cc167728bed7b150184676fda2ff259d58edc5f | C/C++ | 1,504 | 31 | #pragma once
#include "../ovkTKernelObject.h"
#include <map>
namespace OpenViBE {
namespace Kernel {
class CMetaboxManager final : public TKernelObject<IMetaboxManager>
{
public:
explicit CMetaboxManager(const IKernelContext& ctx);
~CMetaboxManager() override { for (auto& desc : m_objectDesc) { delete desc.s... |
f23ba591d919e9f00aae3afb46714edc3b4b5f526048d91664a4a4a8d5e9cc83 | C/C++ | 1,508 | 52 | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... |
249983223a54bfce39b4a9ed9243498e53fbd9f978dd23fc6876f09c58b3c4a8 | C/C++ | 1,512 | 46 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
53a69b6a47f2162950edd0aa9ad360807667b25951ce44dc9d02c64bb280a126 | C/C++ | 1,513 | 46 | #pragma once
// ---------------------------------------------------------------------------
// svabaAssemblerConfig.h
//
// Compile-time selection of the local-assembly engine used by svaba.
//
// SVABA_ASSEMBLER_FERMI (1) -> use fermi2 (ropebwt2-based) assembler
// SVABA_ASSEMBLER_FERMI (0) -> use the vendore... |
3c5c07af13039a0d8c20075aeece9172ae62814f009998ce731fa683453f045a | C/C++ | 1,534 | 52 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
33fecae363bad5cc6dd9e65e08b7331ad61490cd77e14b21ccdbb9a54628d50e | C/C++ | 1,536 | 58 | ///-----------------------------------------------
// Copyright 2011 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// BWTIntervalCache - Array of cached bwt intervals for all
// substrings of a fixed length
... |
fcb892c321f44b01d7f4da5f5a89041c8e8ad466f580ea0d80d919ff3090d750 | C/C++ | 1,540 | 44 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
5737ad97dc8dd551547b2990947e49e6775813004580f61f553272b827a37004 | C/C++ | 1,546 | 48 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
3fbcbe2b69246055874dda276b44fb367703b5f9206ae917264995486a72a473 | C/C++ | 1,548 | 61 | #pragma once
#if defined TARGET_HAS_ThirdPartyThinkGearAPI
#include "../ovasCConfigurationBuilder.h"
#include "ovasIDriver.h"
#include <gtk/gtk.h>
#define OVAS_MINDSET_INVALID_COM_PORT 0xffff
namespace OpenViBE {
namespace AcquisitionServer {
/**
* \class CConfigurationNeuroskyMindset
* \author Laurent Bonnet (I... |
d812585800ef742f66b34ca25cd4594a1f79283f72841f8d9565369ebad4a153 | C/C++ | 1,556 | 54 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
37df9a37fd68fc84a438b72abfc9bd0dbc544863659a3b300108ad70c9763abb | C/C++ | 1,560 | 65 | ///-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// RankProcess - Compute a vector of BWT ranks for
// SequenceWorkItems
//
#ifndef RANKPROCE... |
a8dd25d04fef018a883c10a2bc577d6ed215f1432acb84b1450179f9d4ae9f59 | C/C++ | 1,561 | 53 | //FastQTL: Fast and efficient QTL mapper for molecular phenotypes
//Copyright (C) 2015 Olivier DELANEAU, Alfonso BUIL, Emmanouil DERMITZAKIS & Olivier DELANEAU
//
//This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Soft... |
8b8469757da2fe6408f519d8a8d7d6d7fdf5415c0683cd75f71e428cca19efe6 | C/C++ | 1,569 | 40 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
52ade38da410f438e9e23a9525543aee92d6ca998900a72525977b40c9b12e89 | C/C++ | 1,571 | 49 | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... |
8ec5dd1dae45771a79144e67359f86dbcf6b32e56679109f188f8ae2b3554a4b | C/C++ | 1,573 | 34 | #pragma once
#include "ovIObject.h"
namespace OpenViBE {
namespace Kernel {
class IObjectVisitorContext;
class IBox;
class IComment;
class IMetadata;
class ILink;
class IScenario;
} // namespace kernel
class OV_API IObjectVisitor : public IObject
{
public:
virtual bool processBegin(Kernel::IObjectVisitorConte... |
9a1d2bf8424c4cf1b611ddc10018a253e6e3175d244e9107aa12531fd2a4393b | C/C++ | 1,574 | 54 | //
// OpenViBE Tracker
//
#pragma once
#include "StreamRendererBase.h"
#include "TypeMatrix.h"
namespace OpenViBE {
namespace Tracker {
/**
* \class StreamRendererMatrix
* \brief Renderer for Matrix streams
* \author J. T. Lindgren
*
*/
class StreamRendererMatrix final : public StreamRendererBase
{
public:
... |
9c935573b3535f06cbc18c037eac7c3ad4240952c651eac87e69ba04a2a35980 | C/C++ | 1,583 | 48 | ///-------------------------------------------------------------------------------------------------
///
/// \file TypeError.h
/// \author J. T. Lindgren / Inria.
/// \copyright Copyright (C) 2022 Inria
///
/// This program is free software: you can redistribute it and/or modify
/// it under the terms of the GNU Affer... |
747bbfb7f9e9f726cf4107a290f9ec3c4ce0d5caa344bf97059028db86ea45c3 | C/C++ | 1,585 | 51 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include "parameterObject.h"
#include <openvibe/parameters/parameterDouble.h>
namespace OpenViBE {
namespace Parameters {
class OV_PARAMETERS_OBJECT_EXPORT ParameterDoubleObject: public ParameterOb... |
5398670e1d8293d4c12f8ae93334491fab30f889d90c3642bf032f82c2a80237 | C/C++ | 1,586 | 62 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL
//-----------------------------------------------
//
// HashMap compability defines. Similar to Shaun Jackman's
// compatability code in abyss (se... |
a214b021a26cd51086a9bc255b407fb7a75f0ec400433636c226b886024b928e | C/C++ | 1,587 | 43 | /**
* SPDX-FileCopyrightText: Inria <tristan.cabel@inria.fr>
* SPDX-License-Identifier: AGPL-3.0-only
*/
#pragma once
#include <openvibe/CIdentifier.hpp>
#include <openvibe/CTime.hpp>
#include <openvibe/kernel/log/ovILogListener.h>
class OVQmlLogListener : public OpenViBE::Kernel::ILogListener
{
public:
OVQmlL... |
a8c7b7f98d673811fff46ef73121baf4dec9efb0661adc37aef4d7ffe1b4dbc5 | C/C++ | 1,587 | 68 | #ifndef KSTRING_H
#define KSTRING_H
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#ifndef kroundup32
#define kroundup32(x) (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, ++(x))
#endif
#ifndef KSTRING_T
#define KSTRING_T kstring_t
typedef struct __kstring_t {
size_t l, m;
ch... |
16d4a92aedc93db7a55164ae67007430e9160315acc0b78b2eb7d7f856397de3 | C/C++ | 1,597 | 28 |
/********************
PhyloBayes MPI. Copyright 2010-2013 Nicolas Lartillot, Nicolas Rodrigue, Daniel Stubbs, Jacques Richer.
PhyloBayes 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... |
a4f13eadbac0363151d942e6b2df60cf54a575a860f539ccbaa94fc6d074a108 | C/C++ | 1,604 | 60 | //-----------------------------------------------
// Copyright 2009 Wellcome Trust Sanger Institute
// Written by Jared Simpson (js18@sanger.ac.uk)
// Released under the GPL license
//-----------------------------------------------
//
// assemble - Assemble reads into contigs
//
#ifndef SVABA_ASSEMBLE_H
#define SVABA_A... |
eee5698b6d3583f99963987809249af4fb12068555634d674d891cd0b1cf1589 | C/C++ | 1,606 | 44 | #pragma once
#include "../../ovp_defines.h"
#include "ovpCStreamedMatrixEncoder.h"
namespace OpenViBE {
namespace Plugins {
namespace StreamCodecs {
class CFeatureVectorEncoder final : public CStreamedMatrixEncoder
{
public:
void release() override { delete this; }
bool processHeader() override;
_IsDeriv... |
c88dfe54a98d7c05f16f9f8dcbef1c871712adfccab256b8e0cf492af0ea77ed | C/C++ | 1,607 | 59 | //-----------------------------------------------------
// Copyright 2014 Ontario Institute for Cancer Research
// Written by Jared Simpson (jared.simpson@oicr.on.ca)
// Released under the GPL
//-----------------------------------------------------
//
// Data structure for performing proximity queries
// against a set ... |
4d21d72a01100600148f8e5698918cad749a6ca65a2a9f3fed3c335887f1ff14 | C/C++ | 1,620 | 46 | ///-------------------------------------------------------------------------------------------------
/// \copyright Copyright (C) 2012, Mensia Technologies SA. All rights reserved.
///
/// This library is free software; you can redistribute it and/or
/// modify it under the terms of the GNU Lesser General Public
/// Li... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.