sha256 stringlengths 64 64 | language stringclasses 25
values | size int32 1 210k | lines int32 1 9.41k | content stringlengths 1 200k |
|---|---|---|---|---|
14dc5a74154943fcc399aef2df927487fb44c31d9cd34f2ee150bd35e3dcbba6 | C/C++ | 574 | 24 | #ifndef BNMSMODEL_H
#define BNMSMODEL_H
#include <vector>
/* We are doing a quick hack here to store our own data.
* If this stuff is deemed valuable, this should go to model.h,
* and the data loaded by storage.h, stored in dataset.h, etc.
*
* and have compute/bnms maybe for all the dist/matching stuff
*/
struc... |
b03ef028b43da3056944e4de4906c5ac37592b45a82872307e0fdd3c5447d6c6 | C/C++ | 603 | 29 | #ifndef CHARTCONFIG_H
#define CHARTCONFIG_H
#include <QColor>
/*
* GUI configuration of chart maintained by ChartView and read by Chart.
*/
struct ChartConfig {
struct ProteinStyle {
bool singleMode = false; // mode to highlight single clusters
qreal size = 15.;
struct {
qreal reg = .65;
qreal hi = .9;... |
0b45234a2f7f67fe00c5cc79c7e0a7c125ba39e0b132033430a456259b07c848 | C/C++ | 669 | 22 | #ifndef SCORE_CALC_H
#define SCORE_CALC_H
#include <cmath>
#include <algorithm>
#include <numeric>
#include <vector>
double getVarianceEstimator(const std::vector<float> & elems);
double getScore(const std::vector<float> & profile);
std::vector<float> getProfile(const std::vector<float> & E,
... |
a3555fd820ac77187840d9f67530be1b703dc45c654c2d1468967ca052ab0803 | C/C++ | 712 | 41 | #ifndef ANNOTATIONS_H
#define ANNOTATIONS_H
#include "model.h"
#include <memory>
#include <mutex>
namespace seg_meanshift {
class FAMS;
}
namespace annotations {
bool equal(const Annotations::Meta &a, const Annotations::Meta &b);
void prune(Annotations &data); // remove small clusters
void order(Annotations &data,... |
2a9e23b6c6016b96505245bf828ddd6b00177d093f0065cefbe5c79b77f4667c | C/C++ | 749 | 39 | #ifndef HEATMAPTAB_H
#define HEATMAPTAB_H
#include "ui_heatmaptab.h"
#include "viewer.h"
#include <memory>
class HeatmapScene;
class HeatmapTab : public Viewer, private Ui::HeatmapTab
{
Q_OBJECT
public:
explicit HeatmapTab(QWidget *parent = nullptr);
void setWindowState(std::shared_ptr<WindowState> s) override... |
357bc11f4dc39aa33e9df64de91119bdfd8c205f9b85ff7a64e31070d58691a0 | C/C++ | 759 | 17 | /*$Header: /data/petsun4/data1/src_solaris/ecat/RCS/ecat_header.h,v 1.1 2010/09/01 17:36:51 larsc Exp larsc $*/
/*$Log: ecat_header.h,v $
* Revision 1.1 2010/09/01 17:36:51 larsc
* Initial revision
**/
#include "matrix.h"
void show_main_header (Main_header *mh);
void show_subheader (MatrixFile *mptr, MatrixData ... |
eb094e20e642bf2c8ad6e8f0b90964cdd8b4058c6fb56c487ddb56e33bfe1353 | C/C++ | 771 | 35 | #ifndef PROFILEWIDGET_H
#define PROFILEWIDGET_H
#include "ui_profilewidget.h"
#include "model.h"
#include <memory>
class ProfileChart;
class Dataset;
class WindowState;
class ProfileWidget : public QWidget, private Ui::ProfileWidget
{
Q_OBJECT
public:
explicit ProfileWidget(QWidget *parent = nullptr);
void init(... |
812f0115eed473c9b038001ea3773f46d48c027d66b37e184befb963a45f77f4 | C/C++ | 778 | 39 | #ifndef DISTMATTAB_H
#define DISTMATTAB_H
#include "ui_distmattab.h"
#include "viewer.h"
#include <memory>
class DistmatScene;
class DistmatTab : public Viewer, private Ui::DistmatTab
{
Q_OBJECT
public:
explicit DistmatTab(QWidget *parent = nullptr);
void setWindowState(std::shared_ptr<WindowState> s) override... |
8d870a12a3fd47120fc5d44b76827394c1d0560b211cee7555eaaa633e5c514d | C/C++ | 815 | 34 | #ifndef PACKAGES_SERIALPORT_SRC_POLLER_H_
#define PACKAGES_SERIALPORT_SRC_POLLER_H_
#include <nan.h>
class Poller : public Nan::ObjectWrap, public Nan::AsyncResource {
public:
static NAN_MODULE_INIT(Init);
static void onData(uv_poll_t* handle, int status, int events);
static void onClose(uv_handle_t* poll_hand... |
2e99d5824b6e790256c9fea3b5f91086d28e70a0b3a77ec4ca80fe734070cad7 | C/C++ | 817 | 31 | #pragma once
#include <vector>
#include <random>
#include <boost/math/special_functions/digamma.hpp>
#include <boost/math/special_functions/trigamma.hpp>
#include <boost/random/mersenne_twister.hpp>
using random_engine_t = boost::mt19937;
// generate k numbers from [a, b] - closed interval
// a should be non-negative... |
781d4a0c06d45ae593545b199917187977ee66d8510928cff278a1e88d3c1fe2 | C/C++ | 826 | 35 | #ifndef DISTMATVIEW_H
#define DISTMATVIEW_H
#include <QGraphicsView>
#include <memory>
class GraphicsScene;
class GraphicsView : public QGraphicsView
{
Q_OBJECT
Q_PROPERTY(bool scrollingEnabled MEMBER scrollingEnabled)
public:
using QGraphicsView::QGraphicsView;
void switchScene(GraphicsScene *scene);
protect... |
defe87da8e9cd07fe38540e1f2d9992b886f9a8429cd6653285f2df72a526c69 | C/C++ | 847 | 26 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/4dfp-format.h,v 1.4 2011/09/13 03:43:25 avi Exp $*/
/*$Log: 4dfp-format.h,v $
* Revision 1.4 2011/09/13 03:43:25 avi
* save_4dfp() now has additional argument (save_center)
*
* Revision 1.3 2010/07/08 15:27:21 coalsont
* removed const to allow getroot... |
09c496f2b1daaaa22eab363e94513dba469fba41033e0b3cf15728324933466d | C/C++ | 860 | 52 | #ifndef JOBSTATUS_H
#define JOBSTATUS_H
#include "jobregistry.h"
#include <QWidget>
#include <memory>
#include <map>
class QSvgRenderer;
class QTimer;
class JobWidget : public QWidget
{
Q_OBJECT
public:
JobWidget(unsigned jobId, QSvgRenderer *renderer, QWidget *parent=nullptr);
void updateJob();
protected:
vo... |
5a7514252a3795eb7610216e876598a1dcbf9e3323332fcc361075e3b7eb7424 | C/C++ | 947 | 41 | #ifndef SCATTERTAB_H
#define SCATTERTAB_H
#include "ui_scattertab.h"
#include "viewer.h"
class Chart;
class ScatterTab : public Viewer, private Ui::ScatterTab
{
Q_OBJECT
public:
explicit ScatterTab(QWidget *parent = nullptr);
~ScatterTab() override;
void setWindowState(std::shared_ptr<WindowState> s) override;
... |
de708536a467089a95328bc5fd14867c5fd3e9cf3c0dacffbd053c66bba43342 | C/C++ | 951 | 45 | #ifndef SPAWNDIALOG_H
#define SPAWNDIALOG_H
#include "ui_spawndialog.h"
#include <memory>
class Dataset;
class DatasetConfiguration;
class WindowState;
class DistmatScene;
class QPushButton;
class SpawnDialog : public QDialog, private Ui::SpawnDialog
{
Q_OBJECT
public:
SpawnDialog(std::shared_ptr<Dataset> data, ... |
966fa07090de2961d9b1b79bf303ba33cf15b6323031859f15ca5ecb5371c3a6 | C/C++ | 952 | 48 | #ifndef FAMSCONTROL_H
#define FAMSCONTROL_H
#include "ui_famscontrol.h"
#include "viewer.h"
class FAMSControl : public Viewer, private Ui::FAMSControl
{
Q_OBJECT
public:
explicit FAMSControl(QWidget *parent = nullptr);
void selectDataset(unsigned id) override;
void addDataset(Dataset::Ptr data) override;
publi... |
0f3166b53f5ae7df2f8e398f1b413853b4234f0fdf7b3df768e37fc81bc5a70e | C/C++ | 988 | 35 | // Copyright (c) Facebook, Inc. and its affiliates.
#pragma once
#include <torch/types.h>
namespace detectron2 {
at::Tensor box_iou_rotated_cpu(
const at::Tensor& boxes1,
const at::Tensor& boxes2);
#if defined(WITH_CUDA) || defined(WITH_HIP)
at::Tensor box_iou_rotated_cuda(
const at::Tensor& boxes1,
... |
c106684743bd339adcb4c6b6bfecebbf713cfb1e609d8a69dbbeadd2bb50c52b | C/C++ | 1,002 | 41 | #ifndef HEATMAPVIEW_H
#define HEATMAPVIEW_H
#include <QGraphicsView>
#include <memory>
class HeatmapScene;
class HeatmapView : public QGraphicsView
{
public:
using QGraphicsView::QGraphicsView;
void switchScene(HeatmapScene *scene);
public slots:
void setColumnMode(bool single);
protected:
struct State {
boo... |
9649bfe08926ce57b8e65c5fa077b8eda94fa165f14761cdeec766e48814737e | C/C++ | 1,003 | 47 | #ifndef FEATWEIGHTSTAB_H
#define FEATWEIGHTSTAB_H
#include "ui_featweightstab.h"
#include "viewer.h"
#include "featweightsscene.h"
#include <vector>
#include <memory>
class QAction;
class FeatweightsTab : public Viewer, private Ui::FeatweightsTab
{
Q_OBJECT
public:
explicit FeatweightsTab(QWidget *parent = nullp... |
cae6c4f3bdba55e362011702976075a8f23c2b555fdbd22ea0a90d3ac5572a20 | C/C++ | 1,027 | 29 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_DEFINE_OW... |
a5bf1be6eeb061b6ebefbc05588ff19dcc6d1fad66d569d84cd299de84521c55 | C/C++ | 1,049 | 49 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/mystdint.h,v 1.2 2010/07/02 15:52:12 coalsont Exp $*/
/*$Log: mystdint.h,v $
* Revision 1.2 2010/07/02 15:52:12 coalsont
* updated to not redefine types, removes warning with fortran link
*
* Revision 1.1 2009/07/29 20:53:23 coalsont
* Initial revisio... |
253559fbfe03330a5153eec44db866cb2b92ebe1eee764169ef6de9fc59287f6 | C/C++ | 1,089 | 39 | // Copyright (c) Facebook, Inc. and its affiliates.
#pragma once
#include <torch/types.h>
namespace detectron2 {
at::Tensor nms_rotated_cpu(
const at::Tensor& dets,
const at::Tensor& scores,
const double iou_threshold);
#if defined(WITH_CUDA) || defined(WITH_HIP)
at::Tensor nms_rotated_cuda(
const at... |
fd2606dc2f74d57efa5b6bdb425d9e0b7c73a9992ff96a680fe7499169ef6b5a | C/C++ | 1,090 | 25 | #pragma once
#include <Rcpp.h>
using namespace Rcpp;
//' Calculates low GSEA p-values for a given gene set size using the multilevel split Monte Carlo approach.
//'
//' @param enrichmentScores A vector of enrichment scores, for which p-values should be calculated
//' @param ranks An integer vector with the gene-level... |
8ca6d1f89d5ed6bc02ad1e98e5d8e1436a6cc37df46807d47ee910e9aad3bcef | C/C++ | 1,107 | 43 | #ifndef SCORE_RULER_H
#define SCORE_RULER_H
#include <vector>
#include <random>
#include <algorithm>
#include "util.h"
#include "ScoreCalculation.h"
class ScoreRuler {
private:
const unsigned n;
const unsigned m;
std::vector<float> expressionMatrix;
const unsigned sampleSize;
const unsigned gen... |
1ec634d9e44cc61136169bae73778c298d6a6e8ae01a6620aaf55231c108820f | C/C++ | 1,122 | 47 | #ifndef DIMREDTAB_H
#define DIMREDTAB_H
#include "ui_dimredtab.h"
#include "viewer.h"
#include "../compute/dimred.h"
class Chart;
class DimredTab : public Viewer, private Ui::DimredTab
{
Q_OBJECT
public:
explicit DimredTab(QWidget *parent = nullptr);
~DimredTab() override;
void setWindowState(std::shared_ptr<Wi... |
1cdef85c1dd87c3e13c6da4ed68a2a1228244f1fb8b0eaa9c9d62f3490ac9a3d | C/C++ | 1,163 | 46 | #ifndef PACKAGES_SERIALPORT_SRC_DARWIN_LIST_H_
#define PACKAGES_SERIALPORT_SRC_DARWIN_LIST_H_
#include <sys/param.h> // For MAXPATHLEN
#include <nan.h>
#include <list>
#include <string>
#define ERROR_STRING_SIZE 1024
NAN_METHOD(List);
void EIO_List(uv_work_t* req);
void EIO_AfterList(uv_work_t* req);
struct ListRes... |
b56e037359c5f53381bea034fbfbe9e9bd96d1fd1a4b2ca0e736ab17677a558c | C/C++ | 1,170 | 63 | #ifndef FILEIO_H
#define FILEIO_H
#include "utils.h"
#include <QObject>
#include <map>
class FileIO : public QObject
{
Q_OBJECT
public:
enum class FileType {
SVG, PDF, RASTERIMG
};
enum Role {
OpenDataset,
OpenDescriptions,
OpenStructure,
OpenMarkers,
OpenComponents, // bnms
OpenProject,
SaveMar... |
8ba9d7b2a7f0adff1870f2cd132af3a1937f0ec9bb15774065317049e59cff74 | C/C++ | 1,179 | 26 | #pragma once
#include <nlohmann/json.hpp> // Region info is stored in a json format.
using json = nlohmann::json;
//! Stuff for reading in Allen atlas regions which are broken up into a heirarchical tree of subregions.
//! Also for working with this tree, e.g., to figure out which region is the parent of a subre... |
dd1428ed089e516b0203e2a42dd5ce1cc52c2f4668675ad3f0278b4e841606f3 | C/C++ | 1,236 | 50 | #ifndef REFERENCECHART_H
#define REFERENCECHART_H
#include "profilechart.h"
#include "bnmsmodel.h"
namespace QtCharts {
class QAreaSeries;
}
class ReferenceChart : public ProfileChart
{
Q_OBJECT
public:
ReferenceChart(std::shared_ptr<Dataset const> data, const std::vector<Components> &comps);
void clear() overr... |
5c2eaa295ec1caf3f3ef319b785b436b3e0bd2c4440ff576b5aba82d12262394 | C/C++ | 1,254 | 42 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_CONVERTER... |
529bc9b0ca23909b143dfcb8b63f86a19edd3018da1af62321cef33f58d62136 | C/C++ | 1,257 | 47 | #ifndef CHARTVIEW_H
#define CHARTVIEW_H
#include "chartconfig.h"
#include <QChartView>
class Chart;
class ChartView : public QtCharts::QChartView
{
public:
explicit ChartView(QWidget *parent = nullptr);
const ChartConfig *getConfig() { return &config; }
void switchChart(Chart *chart);
void releaseChart();
publi... |
baca76d3b9c2f938aa66b0b372a1e86fcd58d426e5b8a14df2c862496d9a6092 | C/C++ | 1,318 | 47 | #ifndef COLORMAP_H
#define COLORMAP_H
#include <QVector>
#include <QPixmap>
#include <opencv2/core/core.hpp>
struct Palette {
// "Tableau 20" colorset, which consists of 10 colors, and their 10 lighter counterparts
static const QVector<QColor> tableau20;
// 20 colors generated by iwanthue, H 0-360, C 30-100, L 20... |
1595148ce19fd1426daf27c6b468bdb23fdf35e5ca2c9828c1dc1d70de66d8ba | C/C++ | 1,321 | 61 | #ifndef RANGESELECTITEM_H
#define RANGESELECTITEM_H
#include <QGraphicsObject>
#include <map>
namespace QtCharts {
class QChart;
}
class RangeSelectItem : public QGraphicsObject
{
Q_OBJECT
public:
using Border = Qt::Edge;
RangeSelectItem(QtCharts::QChart *parent = nullptr);
virtual QRectF boundingRect() const... |
92bf1169bd4aea452c1142067033d28a8e9e4798ad65bd008af9cae2c50cb09b | C/C++ | 1,328 | 39 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/transform.h,v 1.4 2010/08/16 18:20:29 coalsont Exp $*/
/*$Log: transform.h,v $
* Revision 1.4 2010/08/16 18:20:29 coalsont
* cast to 64bit integer in get_voxel
*
* Revision 1.3 2010/06/18 21:00:59 coalsont
* added functions to .h so they could be used... |
793f0c2acc524e22947158fce60dc50c2bf143269b5ecbb666d934695300643b | C/C++ | 1,329 | 54 | // Copyright (c) Facebook, Inc. and its affiliates.
#pragma once
#include <torch/types.h>
namespace tensormask {
#if defined(WITH_CUDA) || defined(WITH_HIP)
at::Tensor SwapAlign2Nat_forward_cuda(
const at::Tensor& X,
const int lambda_val,
const float pad_val);
at::Tensor SwapAlign2Nat_backward_cuda(
... |
b03c611cbdfd52813a5112730ef346488804451e4e5ec0cfed79219c879bae60 | C/C++ | 1,336 | 40 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/nifti-format.h,v 1.4 2010/06/18 21:00:59 coalsont Exp $*/
/*$Log: nifti-format.h,v $
* Revision 1.4 2010/06/18 21:00:59 coalsont
* added define checks to avoid __attribute__ on non-gcc compilers
*
* Revision 1.3 2009/08/17 22:57:44 coalsont
* fopen_ni... |
016aebdd43088e73ce725348c06893d7bc4eb81c5d96592ab093bd6a154b77f6 | C/C++ | 1,342 | 38 | #ifndef FEATURES_H
#define FEATURES_H
#include "model.h"
namespace features {
using vec = Features::Vec;
// compute range that includes at least <fraction> of the observed values
Features::Range range_of(const vec &source, float fraction = 1.f);
// obtain a sane range for log-scale on data range
Features::Range log... |
11876d54bac3b0a397917e0caab13ff2e2e85f267a8a21353cf41163c1676847 | C/C++ | 1,514 | 65 | #ifndef PROFILETAB_H
#define PROFILETAB_H
#include "ui_profiletab.h"
#include "viewer.h"
#include <QIdentityProxyModel>
#include <memory>
#include <set>
class ProfileChart;
class PlotActions;
class QMenu;
class ProfileTab : public Viewer, private Ui::ProfileTab
{
Q_OBJECT
public:
explicit ProfileTab(QWidget *pa... |
dc15d58c8d76fe599536dab5e065f98b62e1bd46efcea6e25171961b70484d4b | C/C++ | 1,523 | 66 | #ifndef DATAHUB_H
#define DATAHUB_H
#include "dataset.h" // for DatasetConfiguration
#include "proteindb.h"
#include "utils.h"
#include <QObject>
#include <map>
#include <memory>
class Storage;
class DataHub : public QObject
{
Q_OBJECT
public:
struct Project {
QString name;
QString path;
};
using DataPtr =... |
b305977fd0f5f28b2afafad1a009c43d7a2015eb9567d421ae4755b493db7caf | C/C++ | 1,568 | 59 | #ifndef PLOTACTIONS_H
#define PLOTACTIONS_H
#include <QObject>
class QAction;
class QToolBar;
class QToolButton;
class QMainWindow;
class ProfileChart;
class PlotActions : public QObject
{
Q_OBJECT
public:
struct CapturePlotActions {
QAction *head = nullptr, *toFile = nullptr, *toClipboard = nullptr;
};
struc... |
917f0cc27d21c3aea87a851d168f02847ba264c1d868b1679d1a3b629cc5226e | C/C++ | 1,578 | 53 | #ifndef BNMSCHART_H
#define BNMSCHART_H
#include "profilechart.h"
#include "bnmsmodel.h"
#include "../compute/components.h"
class BnmsChart : public ProfileChart
{
Q_OBJECT
public:
BnmsChart(std::shared_ptr<Dataset const> data, const std::vector<Components> &comps);
void clear() override;
public slots:
void se... |
14f5d8e24d4659aec8235ec29364154ae308f16e7abaf9d43ece8beaa4219cb6 | C/C++ | 1,602 | 48 | /*$Header: /home/usr/shimonyj/JSSutil/RCS/JSSstatistics.h,v 1.1 2008/12/30 03:37:52 avi Exp $*/
/*$Log: JSSstatistics.h,v $
* Revision 1.1 2008/12/30 03:37:52 avi
* Initial revision
**/
void fit(float x[], float y[], int ndata, float sig[], int mwt, float *a,
float *b, float *siga, float *sigb, float *chi2, flo... |
7acf7180e893acad8502e7b6bb3afb91b9653bd8e13d7a50bbdf9f61e70426b1 | C/C++ | 1,625 | 33 | /*$Header: /data/petsun4/data1/src_solaris/TRX/RCS/rec.h,v 1.7 2007/09/14 02:23:43 avi Exp $*/
/*$Log: rec.h,v $
* Revision 1.7 2007/09/14 02:23:43 avi
* get_machine_info()
*
* Revision 1.6 2007/08/28 04:35:42 avi
* get_time_usr
*
* Revision 1.5 2006/09/23 20:53:17 avi
* startrecle() startrece () fina... |
090ba2be157e4ebbeab9090f283ec03a78c6976dd0ba96a8989cb40590e27261 | C/C++ | 1,670 | 71 | /*
Copyright (C) 2001 Washington University
*/
/* Copyright marker. Copyright will be inserted above. Do not remove */
/*
** Electronic Radiology Laboratory
** Mallinckrodt Institute of Radiology
** Washington University School of Medicine
**
** Module Name(s):
** Author, Date: Stephen M. Moore... |
3379d508f18d68372cc36ec13c3a69ad4d4eef4024fbd3883f27382f0097a5ef | C/C++ | 1,698 | 36 | /*$Header: /data/nil-bluearc/raichle/suy/cvsroot/src/rec.h,v 1.1.1.1 2012/08/21 17:34:31 suy Exp $*/
/*$Log: rec.h,v $
/*Revision 1.1.1.1 2012/08/21 17:34:31 suy
/*Imported sources
/*
* Revision 1.7 2007/09/14 02:23:43 avi
* get_machine_info()
*
* Revision 1.6 2007/08/28 04:35:42 avi
* get_time_usr
*
* R... |
98d690ce35f0dfc57dd646417c1c6675ade8d4a8cd7286a00078b467170341eb | C/C++ | 1,728 | 71 | #ifndef WINDOWSTATE_H
#define WINDOWSTATE_H
#include "model.h"
#include "../compute/colors.h"
#include <QObject>
#include <QPointer>
#include <QColor>
#include <QVector>
#include <QStandardItemModel>
#include <memory>
class GuiState;
class ProteinDB;
class DataHub;
class FileIO;
class QMenu;
/* A "dumb" QObject – w... |
5f82834f41eb8987afb4420e7e8322317c3955009e5a3111298e1d724b0ae28b | C/C++ | 1,743 | 71 | #ifndef COMPONENTS_H
#define COMPONENTS_H
#include "model.h"
#include "../profiles/bnmsmodel.h" // TODO: awkward, see comment in that file
#include <QObject>
#include <QThread>
#include <memory>
class Dataset; // TODO: bad style, maybe Matcher should not be in compute/..
namespace components {
std::pair<size_t, si... |
89c3e67c292c3e389dcb25c882b832ffff129df1d188351f0b81db2c72a679e2 | C/C++ | 1,787 | 66 | #ifndef PROTEINDB_H
#define PROTEINDB_H
#include "model.h"
#include "utils.h"
#include <QObject>
#include <QVector>
#include <memory>
class QTextStream;
class ProteinDB : public QObject
{
Q_OBJECT
public:
struct Public : ProteinRegister, RWLockable {
// helper for finding proteins, name may contain species, th... |
7525b42adddcefd0c76963636034d6253fcc2072a79ee0fdc5b03d29a2b1027f | C/C++ | 1,791 | 47 | #ifndef MAXL
#define MAXL 256
#endif
typedef struct {
int n;
float **mat;
} RSFMat;
typedef struct {
IFH ifh;
float *image;
} IMAGE_4dfp;
typedef struct {
char Name[MAXL];
int NVoxels;
int MaskVal;
} ROI_Info;
typedef struct {
int NumberOfRegions;
ROI_Info *List;
} ROIList;
typedef struct {
IMAGE_4... |
6a20cb49edc8fe56bb24279fa8382a41cc413aec4eff0e4141e53d6e90dd2574 | C/C++ | 1,897 | 73 | #ifndef BNMSTAB_H
#define BNMSTAB_H
#include "ui_bnmstab.h"
#include "viewer.h"
#include "bnmsmodel.h"
#include <QIdentityProxyModel>
#include <QMenu>
#include <memory>
class BnmsChart;
class PlotActions;
class ReferenceChart;
class RangeSelectItem;
class BnmsTab : public Viewer, private Ui::BnmsTab
{
Q_OBJECT
p... |
79a69af9ac9128cf0b10e50813dc6ce1d2a86c32cb6e5ecf88298995569e619e | C/C++ | 1,900 | 74 | #ifndef PACKAGES_SERIALPORT_SRC_SERIALPORT_WIN_H_
#define PACKAGES_SERIALPORT_SRC_SERIALPORT_WIN_H_
// #include <stdio.h>
// #include <stdlib.h>
// #include <string.h>
#include <nan.h>
#include <list>
#include <string>
#define ERROR_STRING_SIZE 1024
struct WriteBaton : public Nan::AsyncResource {
WriteBaton() : Asy... |
e08de7a822e27ed56e43c93b520b0b5b95355c0b004cde634aa56bd88557572d | C/C++ | 1,902 | 54 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/conc.h,v 1.7 2011/04/12 22:22:24 avi Exp $*/
/*$Log: conc.h,v $
* Revision 1.7 2011/04/12 22:22:24 avi
* conc_seek()
*
* Revision 1.6 2006/09/23 22:59:22 avi
* add split() prototype
*
* Revision 1.5 2006/09/23 05:07:03 avi
* eliminate prototyp... |
ed2b1a575a7f98606ad162334184ff89303f4e561be5eac59dc2ecaadce3849c | C/C++ | 1,917 | 90 | #ifndef GUISTATE_H
#define GUISTATE_H
#include "model.h"
#include "utils.h"
#include <QObject>
#include <QStandardItemModel>
#include <memory>
class FileIO;
class MainWindow;
class DataHub;
class ProteinDB;
class Storage;
class Dataset;
class QStandardItem;
class QStandardItemModel;
class QMenu;
class GuiState : pu... |
6e92e34bb6915434f8093d80db908929984222dfd6b5ce70095fa9400a196154 | C/C++ | 2,109 | 72 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_CONVERTER... |
5e5623b300fcd099726136a0da2fd11e34c5fc8e5b059367321f04cf574e4011 | C/C++ | 2,165 | 75 | #ifndef VIEWER_H
#define VIEWER_H
#include "proteindb.h"
#include "dataset.h"
#include "windowstate.h"
#include <QObject>
#include <memory>
class QWidget;
class QGraphicsScene;
class QGraphicsView;
class QAbstractItemModel;
class Viewer : public QObject
{
Q_OBJECT
public:
/* Note: if no explicit parent is specif... |
398628b432a3ac7db0d890f902b9f9ede20245d7d99ab4b381f222e3b3d777c3 | C/C++ | 2,189 | 55 | #pragma once
#include <Rcpp.h>
using namespace Rcpp;
#include <vector>
using namespace std;
// [[Rcpp::export]]
List calcGseaStatCumulativeBatch(
NumericVector const& stats,
double gseaParam,
NumericVector const& pathwayScores,
IntegerVector const& pathwaysSizes,
int iterations... |
5c74d3b4c9efc2a7be1971ff3a35e52e7b119d7a5d02790f7a781d05f6820a0e | C/C++ | 2,206 | 98 | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtWidgets/QMainWindow>
#include <QtGui/QCloseEvent>
#include <QtWidgets/QFileDialog>
#include <QtWidgets/QMessageBox>
#include <thread>
#include <string>
#include <vector>
// LSL API
//#define LSL_DEBUG_BINDINGS
#include "lsl_cpp.h"
// BrainAmp API
#define WIN32_LE... |
b4d3df46aae1513a841156469c2b3e421d76cbf5585cf4965565fb952ab3a972 | C/C++ | 2,212 | 50 | /************************************************************************************************/
/* Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 */
/* Washington University Mallinckrodt Institute of Radiology. All Rights Reserved. */
/* This software may not be reproduced, c... |
3f3ae06ad9dae259ee92175ba132e2a56c852bb71beff392bdd4de1880c88620 | C/C++ | 2,216 | 66 | /*$Header: /data/petsun4/data1/src_solaris/TRX/RCS/ANALYZE.h,v 1.1 2005/12/15 22:54:50 avi Exp $*/
/*$Log: ANALYZE.h,v $
* Revision 1.1 2005/12/15 22:54:50 avi
* Initial revision
**/
/***************************************/
/* struct dsr--the ANALYZE .hdr struct */
/***************************************/
str... |
721c891842b8681c95790a20a0964259ba3f49574f2aab91442519b66e32ac8b | C/C++ | 2,245 | 98 | #ifndef FGSEAMULTILEVELCPP_ESCALCULATION_H
#define FGSEAMULTILEVELCPP_ESCALCULATION_H
#include <vector>
#include <cmath>
#include <cstdint>
using namespace std;
#include <boost/config.hpp>
#if defined(BOOST_HAS_INT128)
using int128 = __int128;
using uint128 = unsigned __int128;
#else
#include <boost/multiprecis... |
2fd6da858c314fa2eb07dcd6129fac883cfd3c0e2a906a449e73c031fe057923 | C/C++ | 2,262 | 45 | /*$Header: /data/petsun4/data1/src_solaris/TRX/RCS/spline23dvgh.h,v 1.2 2007/04/22 03:34:28 avi Exp $*/
/*$Log: spline23dvgh.h,v $
* Revision 1.2 2007/04/22 03:34:28 avi
* eliminate splint2dvgh_testf_ ()
*
* Revision 1.1 2007/04/01 00:04:01 avi
* Initial revision
**/
/*****************/
/* spline2dvgh.f */... |
7d8503e41b3d6229e9252d43dfa61a50fe0903b3fb230b7b37afed2583199e63 | C/C++ | 2,285 | 53 | /************************************************************************************************/
/* Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 */
/* Washington University Mallinckrodt Institute of Radiology. All Rights Reserved. */
/* This software may not be reproduced, c... |
36075e00348851662c748a8693d7ed3f32c68b4199d6d830b2dd5afae80d2be4 | C/C++ | 2,289 | 69 | /*$Header: /data/nil-bluearc/raichle/suy/cvsroot/src/ANALYZE.h,v 1.1.1.1 2012/08/21 17:34:28 suy Exp $*/
/*$Log: ANALYZE.h,v $
/*Revision 1.1.1.1 2012/08/21 17:34:28 suy
/*Imported sources
/*
* Revision 1.1 2005/12/15 22:54:50 avi
* Initial revision
**/
/***************************************/
/* struct dsr-... |
c9a7b80803ee292a0e89ea40a5afffd21f2c5af387ddec405fd215e8dd3d60f7 | C/C++ | 2,477 | 73 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_PRIVATE_H... |
8e891938a565de3ff41ab8a4604c1c8d43f5c8846439ee0367be71b2b1a269ed | C/C++ | 2,523 | 90 | #ifndef FEATWEIGHTSSCENE_H
#define FEATWEIGHTSSCENE_H
#include "../widgets/graphicsscene.h"
#include "dataset.h"
#include "utils.h"
#include <QGraphicsRectItem>
#include <QGraphicsSimpleTextItem>
#include <QGraphicsLineItem>
#include <opencv2/core/core.hpp>
#include <unordered_set>
#undef ABSOLUTE // defined by wi... |
238eb081df13fa2dad320549754325b6e885b38004c67f3eaf4377f0b6e3d8a2 | C/C++ | 2,550 | 43 | /**************************************************************************************/
/* Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. ... |
ad1f2cc4647af7b205b9ad99c5e79a57ee69c3db3427f427946cf6c0e5a2c642 | C/C++ | 2,623 | 46 | /**************************************************************************************/
/* Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. ... |
b22eac0d944518dea74f2ab9fe1adb8979eef0862cf4faf073cece96b9fce099 | C/C++ | 2,638 | 84 | #ifndef STORAGE_H
#define STORAGE_H
#include "utils.h"
#include "model.h"
#include <QObject>
#include <QVector>
#include <QColor>
#include <memory>
class ProteinDB;
class Dataset;
class QFileDevice;
class QIODevice;
class QTextStream;
class QJsonDocument;
class QCborValue;
class Storage : public QObject
{
Q_OBJECT... |
508e5ac87ad126dc4afdea510eaac92b83e55dfe4f75ef760e02707126abd336 | C/C++ | 2,689 | 71 | /*
Copyright (C) 1993, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
Electr... |
36e492bc5f813ad32d123eba96e0e3cfab4015eff9038b60c88f2b732147f187 | C/C++ | 2,693 | 71 | /*
Copyright (C) 1993, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
Electr... |
7045e630e82c24629d8dfeaa375b4fb471dd24b6df72fb2b89d3803c41139e9d | C/C++ | 2,748 | 68 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_CONVERTER... |
926b06cbdd7bcf2f24396854869cfe66b43551964995998ccef9af6ef9633aef | C/C++ | 2,790 | 113 | #ifndef HEATMAPSCENE_H
#define HEATMAPSCENE_H
#include "dataset.h"
#include "utils.h"
#include <QGraphicsScene>
#include <QAbstractGraphicsShapeItem>
#include <opencv2/core.hpp>
#include <unordered_map>
#include <memory>
class WindowState;
class HeatmapScene : public QGraphicsScene
{
Q_OBJECT
public:
struct Pro... |
c43fc58a1007c5a7a4b348645e6078f0cb0867200f7d42cbc6d1d7dbe079698a | C/C++ | 2,870 | 115 | // Copyright (c) Facebook, Inc. and its affiliates.
#pragma once
#include <torch/types.h>
namespace detectron2 {
at::Tensor ROIAlignRotated_forward_cpu(
const at::Tensor& input,
const at::Tensor& rois,
const float spatial_scale,
const int pooled_height,
const int pooled_width,
const int sampli... |
d9bd90860cb3a5765564696c5cd605886b792fb81ddc8bfacfc1217a8178af33 | C/C++ | 2,893 | 115 | #ifndef PROFILECHART_H
#define PROFILECHART_H
#include "model.h"
#include <QStringList>
#include <QChart>
#include <QTimer>
#include <QDeadlineTimer>
#include <memory>
#include <set>
class ProfileWindow;
class ProteinDB;
class Dataset;
namespace QtCharts {
class QAreaSeries;
class QLineSeries;
class QCategoryAxis;... |
b583f7fe6615370b9a34173cfb25ed7ae3caf42d0cc8137e9be18ef665193a3f | C/C++ | 2,971 | 118 | #ifndef DISTMATSCENE_H
#define DISTMATSCENE_H
#include "../widgets/graphicsscene.h"
#include "dataset.h"
#include "../compute/distmat.h"
#include "utils.h"
#include <QGraphicsRectItem>
#include <QGraphicsSimpleTextItem>
#include <QGraphicsLineItem>
#include <map>
#include <unordered_map>
class WindowState;
class D... |
2a1610c846cbe8d939f19b5be230a99f29a34a2dd8620d220d1d642682fdd284 | C/C++ | 2,972 | 79 | /*
Copyright (C) 1996 RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 - 1996 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
f99100521f56c13a2e798492b2506e986a1c6873c57753d1085ac1522bacfeaa | C/C++ | 2,976 | 79 | /*
Copyright (C) 1996 RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 - 1996 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
b5386944e5e9f9c6d794eba38c52cc361b17b93e56d64a74bfaf5f0b06726ddc | C/C++ | 3,060 | 124 | #ifndef CHART_H
#define CHART_H
#include "chartconfig.h"
#include "dataset.h"
#include "utils.h"
#include <QChart>
#include <QScatterSeries>
#include <QStack>
#include <unordered_map>
class QColor;
class QTimer;
class WindowState;
namespace QtCharts {
class QValueAxis;
}
class Chart: public QtCharts::QChart
{
... |
0ee12ca0456a42e0b12b53f2a04454b48e81e1a91fb32efbcbceb885219817c4 | C/C++ | 3,089 | 104 | #ifndef FGSEAMULTILEVELCPP_FGSEAMULTILEVELSUPPLEMENT_H
#define FGSEAMULTILEVELCPP_FGSEAMULTILEVELSUPPLEMENT_H
#include <vector>
#include <random>
#include <set>
#include <cmath>
#include <algorithm>
#include <functional>
#include <boost/math/special_functions/digamma.hpp>
#include <boost/math/special_functions/trigamm... |
56f32971390591edd47beaeca181940a40f15bf92a61d4ce6b0d7c6c5937993a | C/C++ | 3,089 | 88 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_CALLBACKS... |
7e3c67b148130da1c4e935aa910b91c18d453f42e2d73b1c57c9839c9a5c5720 | C/C++ | 3,089 | 96 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_TYPEDARRA... |
b9006f101423190fe911c373361284d056e22f47db47588b3b650eb8fd0a736d | C/C++ | 3,189 | 89 | /*$Header: /home/usr/shimonyj/JSSutil/RCS/JSSutil.h,v 1.3 2008/11/10 23:41:52 shimonyj Exp $*/
/*$Log: JSSutil.h,v $
* Revision 1.3 2008/11/10 23:41:52 shimonyj
* added gaussj_flg
*
* Revision 1.2 2007/08/30 04:57:52 avi
* int inv_svd_thresh()
*
* Revision 1.1 2007/08/28 03:33:30 avi
* Initial revision... |
fbb6bd5d13f155d8aaa6cebc68e5f64e8be9b15e5c2760e7a36ec664c3dd030e | C/C++ | 3,200 | 88 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
1f8be463828933c793db22fe56eaa375c185d5127e846a365c46a03088737f57 | C/C++ | 3,203 | 88 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
f90e2be4ff7e3cb23d6d3d9b4cd654be40d797b651631faa840685d7545ff8fc | C/C++ | 3,266 | 113 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
a0c36562fc7dfa2cdfeffb9d8bd6ab0bbcc01afedfa1b6df8aa26aa22aa39f78 | C/C++ | 3,269 | 112 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/common-format.h,v 1.5 2010/08/16 18:20:29 coalsont Exp $*/
/*$Log: common-format.h,v $
* Revision 1.5 2010/08/16 18:20:29 coalsont
* use 64bit integer for file size
*
* Revision 1.4 2010/06/18 21:00:59 coalsont
* moved things around to reduce dependen... |
e7808ca20c52422fcdec4667e82a492eb62dc853a2b876abfc7cf5ff8897b430 | C/C++ | 3,330 | 101 | #ifndef _NR_UTILS_H_
#define _NR_UTILS_H_
static float sqrarg;
#define SQR(a) ((sqrarg=(a)) == 0.0 ? 0.0 : sqrarg*sqrarg)
static double dsqrarg;
#define DSQR(a) ((dsqrarg=(a)) == 0.0 ? 0.0 : dsqrarg*dsqrarg)
static double dmaxarg1,dmaxarg2;
#define DMAX(a,b) (dmaxarg1=(a),dmaxarg2=(b),(dmaxarg1) > (dmaxarg2) ?\
... |
697a375ea0ec053a02d0d4595a08e2a402832de098c8104a504e2c6b64490f2f | C/C++ | 3,400 | 114 | /*$Header: /data/petsun4/data1/src_solaris/librms/RCS/librms.h,v 1.3 2009/03/08 01:20:15 avi Exp $*/
/*$Log: librms.h,v $
* Revision 1.3 2009/03/08 01:20:15 avi
* dfft_(), drealt_(), dgeigen()
*
* Revision 1.2 2009/01/20 00:51:11 avi
* dmatopr.f
*
* Revision 1.1 2007/09/18 23:10:40 avi
* Initial revisi... |
dbd22e5a84649a8b73542bba9228e6a1dfd9ca26405e454231a53e171b513048 | C/C++ | 3,412 | 55 | /**************************************************************************************/
/* Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. ... |
be1da2b4e61c8fdaed4e783bf24383b4a878eed5f6893e4d69e8595892fb5484 | C/C++ | 3,470 | 117 | /*$Header: /data/nil-bluearc/raichle/suy/cvsroot/src/librms.h,v 1.1.1.1 2012/08/21 17:34:30 suy Exp $*/
/*$Log: librms.h,v $
/*Revision 1.1.1.1 2012/08/21 17:34:30 suy
/*Imported sources
/*
* Revision 1.3 2009/03/08 01:20:15 avi
* dfft_(), drealt_(), dgeigen()
*
* Revision 1.2 2009/01/20 00:51:11 avi
* dma... |
ec4aad00388dbb524828f42164cb9df8c9423160b54964baee3665be7738814d | C/C++ | 3,485 | 58 | /**************************************************************************************/
/* Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. ... |
93cfc8662062c589a41ff2752ade93155e7ccd367501f11526fb4590a9086e00 | C/C++ | 3,504 | 140 | #ifndef PACKAGES_SERIALPORT_SRC_SERIALPORT_H_
#define PACKAGES_SERIALPORT_SRC_SERIALPORT_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <nan.h>
#include <string>
#define ERROR_STRING_SIZE 1024
NAN_METHOD(Open);
void EIO_Open(uv_work_t* req);
void EIO_AfterOpen(uv_work_t* req);
NAN_METHOD(Upda... |
ee882afd529e9b13e659e67de10a3e35cb7cf627a56920f1df87bcf05aade258 | C/C++ | 3,515 | 88 | // Copyright (c) Facebook, Inc. and its affiliates.
#pragma once
#include <pybind11/numpy.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <vector>
namespace py = pybind11;
namespace detectron2 {
namespace COCOeval {
// Annotation data for a single object instance... |
fec593920c76d14cdc5f5bdcf3484a6cf0735cedcd6042ebfdf5f80e621b7821 | C/C++ | 3,644 | 135 | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "ui_mainwindow.h"
#include "utils.h"
#include "dataset.h"
#include <QMainWindow>
#include <QSortFilterProxyModel>
#include <map>
#include <unordered_map>
#include <unordered_set>
class DataHub;
class WindowState;
class QLabel;
class QTreeView;
class QStandardItemMo... |
924908a67a471616770e602f2cbc21e9613a77d5fd0bb6f49f7ebd74444d4531 | C/C++ | 3,666 | 116 | #ifndef JOBREGISTRY_H
#define JOBREGISTRY_H
#include "utils.h"
#include <QReadWriteLock>
#include <QString>
#include <QPointer>
#include <QVariant>
#include <unordered_map>
#include <memory>
class QThread;
/**
* @brief A background task description
* This struct is used to annotate a function to be run in the bac... |
212255e714383e2805c27a66ed31af7a4aec4595f4bd3295212327a5befa7568 | C/C++ | 3,708 | 104 | /*
Copyright (C) 1993, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
Electr... |
1bcd7fc2475cea4e3eee115527624a1ec6493b3afb43c99ccd0bda74a7a82722 | C/C++ | 3,712 | 104 | /*
Copyright (C) 1993, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
Electr... |
f6002f2de61ff871d11870471baf58e1e5803c2416425575607a828839816068 | C/C++ | 3,804 | 108 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
441443935020b9b7529388d9c1403dc00d5116d841e1a47d341ecf8096088673 | C/C++ | 3,816 | 92 |
#pragma once
#include "Amplifier_LIB.h"
#include <vector>
#include <string>
class LibTalker
{
private:
// data get from device (defined in construction)
// these are initialized in the constructor
int m_nConnectedDeviceCnt;
HANDLE m_Handle; // device handle
std::string m_sSerialNumber; // se... |
f720e2e961664e897bf8e82d9181d810f0cb681a7e7bd5b8200c55649d3f02b2 | C/C++ | 3,873 | 132 | /*********************************************************************
* NAN - Native Abstractions for Node.js
*
* Copyright (c) 2018 NAN contributors
*
* MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md>
********************************************************************/
#ifndef NAN_PERSISTEN... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.