sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
d7c53f0660723330e9aafc1fe35a7de5a788e28a1bf7d19725ce4466281621bf
C/C++
1,140
45
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
4d18e5a3bf13d061401ad6c50fe81efe7584e3e1d3e55826c969a543547c5440
C/C++
1,143
35
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
648c58cb2f456004930f8ca1205df0ecc89008cbd37b1778716b07cb1170bef8
C/C++
1,145
28
/* Routines for manipulating evolutionary rate matrices. * * SRE, Tue Jul 13 16:09:05 2004 [St. Louis] */ #ifndef eslRATEMATRIX_INCLUDED #define eslRATEMATRIX_INCLUDED #include "esl_config.h" /* 1. Setting standard rate matrix models. */ extern int esl_rmx_SetWAG(ESL_DMATRIX *Q, double *pi); extern int esl_rmx_Se...
98c77bd57ffe0d477e9df8b0db001d6f36afaa588c7841d05a45e4aad85d9635
C/C++
1,154
40
//! \file us_eqhistogram.h //! \brief Contains the declaration of the US_EqHistogram class and its members. #ifndef US_HISTOGRAM_H #define US_HISTOGRAM_H #include "us_extern.h" #include "us_widgets_dialog.h" #include "us_globeq_data.h" #include "us_plot.h" //! \class US_EqHistogram //! \brief A simple dialog to displ...
cabc80fe27ceec4d07af043ae0b9ee790c8e7ff3ec8ffcb3941e6f550edcdb83
C/C++
1,154
40
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
8e99ca81b4db0a42950af80e9c24ef31f488222561853e78ed1b577860a8a62f
C/C++
1,164
41
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * File: compute_Retard_Params.h * * MATLAB Coder version : 5.2 * C/C++ source code generated on : 29-...
a27205de266279ba865cab0744859e7ac3892ff04a3c7b0684a9a8f306219cc6
C/C++
1,167
32
/* Portable, threadsafe, 64-bit Mersenne Twister random number generator. */ #ifndef eslRAND64_INCLUDED #define eslRAND64_INCLUDED #include "esl_config.h" #include <stdint.h> #include <stdio.h> typedef struct { int mti; // current position in mt[] table uint64_t mt[312]; // state of the Mersenne Twi...
d8382e3b1219b03313deada5d85ada2683b25fd1b38a5072fea1461fbc3668e6
C/C++
1,167
37
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
ec83821f17553dc278718d3c1e942183d806a4dadd9295631b338492e5cf873d
C/C++
1,167
64
#include <qmainwindow.h> #include "qwt3d_surfaceplot.h" #include "qwt3d_function.h" #include "qwt3d_plot.h" #if QT_VERSION < 0x040000 #include "axesmainwindowbase.h" #else #include "ui_axesmainwindowbase4.h" #endif //MOC_SKIP_BEGIN #if QT_VERSION < 0x040000 class DummyBase : public AxesMainWindowBase...
517101b19ab950a1937d3890804b3f7ab6423ca10ef2aa9c90135de230b26148
C/C++
1,171
40
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
be5b29b940a99c807894953fa2574ed28a6272740875e1bf3de746bd0b155c8e
C/C++
1,171
37
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
e840a979672c0bca0dbf9aca910468e50e465e0e340d30ec7057150177da2906
C/C++
1,188
45
#include <stdint.h> #include <signal.h> #include <stdlib.h> #define __GNU_SOURCE #ifndef _UTILITY_FUNCTIONS_ #define _UTILITY_FUNCTIONS_ /* * initialize utilities * set function to run on exit */ void init_utils(void (*pHandleExit)(int exitStatus), sigset_t *pExitMask); /* * finish necessary real-time setup ...
0bbf7e1fd334161e6e315c6aa53d91d90f36762275cac9c45650ac50941e819e
C/C++
1,199
40
#import <Foundation/Foundation.h> #import "UADSBannerError.h" @class UADSBannerView; /** * UnityAdsBannerDelegate is a delegate class for callbacks from Unity Ads Banner operations. */ @protocol UADSBannerViewDelegate <NSObject> @optional /** Called when the banner is loaded and ready to be placed in the view hie...
42ce7d4f938293f4bdb76693726ef5bbde6ae29c8078752886842eb518481a07
C/C++
1,206
56
#ifndef US3_EXTERN_H #define US3_EXTERN_H #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__) #define US_EXPORT __declspec(dllexport) #define US_IMPORT __declspec(dllimport) #if defined(US_MAKE_UTIL_DLL) #define US_UTIL_EXTERN US_EXPORT #else #define US_UT...
d7d328d8e5c847fd3286c389eac15c8583da17dc930ecddf417257182c9b1bca
C/C++
1,209
56
#ifndef US_HYDRODYN_GRID_ATOB_H #define US_HYDRODYN_GRID_ATOB_H #include "../include/us_hydrodyn.h" #include "../include/us_hydrodyn_grid.h" #include "../include/us_hydrodyn_pdbdefs.h" #include "../include/us_file_util.h" #include "../include/us_json.h" #ifdef OSX #include <sys/malloc.h> #endif #include <stdio.h> #i...
354ecdd2e38dd5ff9aac7f2bf72870d206291cef2de1e3b9fcdca6c356a25059
C/C++
1,216
66
#ifndef __DRAWABLE_H__ #define __DRAWABLE_H__ #include <list> #include "qwt3d_global.h" #include "qwt3d_types.h" #include "qwt3d_io_gl2ps.h" namespace Qwt3D { //! ABC for Drawables class QWT3D_EXPORT Drawable { public: virtual ~Drawable() = 0; virtual void draw(); virtual void saveGLS...
d98d9f7ff0d27b890a9c5c056f2eb25a14d89ca0404e15ae2415ff616040ae76
C/C++
1,219
52
// http://stackoverflow.com/questions/17432502/how-can-i-measure-cpu-time-and-wall-clock-time-on-both-linux-windows // Windows #ifdef _WIN32 #include <Windows.h> inline double get_wall_time(){ LARGE_INTEGER time,freq; if (!QueryPerformanceFrequency(&freq)){ // Handle error return 0; } ...
82d959aded46f8d1bfc847a8e0b721af4bfbf1e242fd3b9cdcc5a53dd4919db4
C/C++
1,223
48
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * File: rtwtypes.h * * MATLAB Coder version : 5.2 * C/C++ source code generated on : 19-Jul-2022 14:4...
62ad002f33177febfbb5f4704968d8aca69d62e7ad4778ede4f61f36075e0014
C/C++
1,228
44
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
1de0ee703f8aff6fa39c46df1ffa10c1faa86da855a2dc773737c5dc0b82e30f
C/C++
1,229
62
#ifndef US_HYDRODYN_VDW_OVERLAP_H #define US_HYDRODYN_VDW_OVERLAP_H #include "us_hydrodyn_misc.h" using namespace std; class US_EXTERN US_Hydrodyn_Vdw_Overlap : public QFrame { Q_OBJECT public: US_Hydrodyn_Vdw_Overlap(struct misc_options *, bool *, void *, QWidget *p = 0, const char *name = 0); ~U...
4320f93477b0a5a11939972a9281d8eebf7ecfb7e59fb104dd6c1aadb3c24c96
C/C++
1,230
53
#ifndef _SCROLLBAR_H #define _SCROLLBAR_H 1 #include <qscrollbar.h> class ScrollBar: public QScrollBar { Q_OBJECT public: ScrollBar( QWidget *parent = NULL ); ScrollBar( Qt::Orientation, QWidget *parent = NULL ); ScrollBar( double minBase, double maxBase, Qt::Orientation o, QWidg...
cb96025e56b7993c63fd3908de9ddc9efbf1252538cddc23147b5f5e811e03b7
C/C++
1,236
62
#ifndef US_FONT_H #define US_FONT_H #include "us.h" #include "us_extern.h" #include "us_util.h" #include <qlabel.h> #include <qpushbutton.h> #include <qstring.h> #include <qdialog.h> #include <qfont.h> #include <qfontdialog.h> #include <qlayout.h> //Added by qt3to4: #include <QCloseEvent> class US_EXTERN US_Font : p...
e4c9e969b5e3802098b40197c800ce3afabb158fbf609807c0ba971695005e85
C/C++
1,241
49
#ifndef SHD_SH #define SHD_SH #include <stdio.h> #include <math.h> #include <vector> #include <complex> #include "shd_global.h" #ifndef M_PI #define M_PI 3.14159265358979323846 #endif #ifndef M_2PI # define M_2PI 6.28318530717958647692 #endif #ifndef M_SQRT_PI_2 # define M_SQRT_PI_2 1.2533141373155001208 #endi...
669598e57bea90ec48e34f0309b6cbab361bc57de0a094897fd545b57b066c75
C/C++
1,249
37
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
497db30eab765132e3c03f7aafdb349a22e22a937bc915e6e466bb4f6f6c10f1
C/C++
1,256
58
#ifndef US_SAXS_UTIL_NSA_H #define US_SAXS_UTIL_NSA_H class nsa_ga_individual { public: vector < double > v; double fitness; bool operator < (const nsa_ga_individual & objIn) const { return fitness < objIn.fitness; } bool operator == (const nsa_ga_individual & objIn) const { ...
43670de85f9a937b6db6d2a19b4858cebead8544286d729e5d62838b52628341
C/C++
1,260
60
#ifndef US3I_EXTERN_H #define US3I_EXTERN_H #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__) #define US_EXPORT __declspec(dllexport) #define US_IMPORT __declspec(dllimport) #if defined(US_MAKE_UTIL_DLL) #define US_UTIL_EXTERN US_EXPORT #else #define US_...
e599bc60f774794580be3537b0d6f4e18ebae18e86bea7059bb3d11d098ea194
C/C++
1,280
44
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * File: eigL4x4real.h * * MATLAB Coder version : 5.2 * C/C++ source code generated on : 26-Jul-2022 1...
ffcc53f26bcd012d99a0a5d66660eb14eff27ec9efbd9b1311bbdad7f5b33a58
C/C++
1,287
72
#ifndef US_HYDRODYN_FILE_H #define US_HYDRODYN_FILE_H // QT defs: #include <qlabel.h> #include <qpushbutton.h> #include <qdialog.h> //Added by qt3to4: #include <QCloseEvent> #include "us_util.h" using namespace std; class US_EXTERN US_Hydrodyn_File : public QDialog { Q_OBJECT public: US_Hydrodyn_File...
f5cd9e351c83a234b05b393ff80d3cc4bcacb3345deb3f2120e228c2dbb8e399
C/C++
1,291
56
#ifndef US_SELECT_TRIPLES_H #define US_SELECT_TRIPLES_H #include "us_extern.h" #include "us_widgets_dialog.h" #include "us_help.h" #ifndef DbgLv #define DbgLv(a) if(dbg_level>=a)qDebug() #endif class US_GUI_EXTERN US_SelectTriples : public US_WidgetsDialog { Q_OBJECT public: US_SelectTriples( QStringLis...
d0ca341d983a2511cd18dddcc1d044968f465d2fa80c4d9f113c1125f051b49a
C/C++
1,296
80
//! \file us3i_defines.h //! \anchor US_Defines #ifndef US_DEFINES_H #define US_DEFINES_H //! The version of UltraScan #define US_Version QString("4.0") //! The directory/key for US3i_Settings storage #define US3 QString( "UltraScan3" ) // Define the platform #ifdef SPARC #define PLATFORM "sparc" #define TITLE ...
3d2b0e5bdec02a4b7283202abd532540737b1fcc6e1f2285d5f0bd2722e3125e
C/C++
1,304
47
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
5312fc6ed21c0df3ddac444e7e609c5ff65cf4d21fb29b5175d849aa86237a81
C/C++
1,314
57
//! \file us_select_triples_ra.h #ifndef US_SELECT_TRIPLES_H #define US_SELECT_LAMBDAS_H #include "us_extern.h" #include "us_widgets_dialog.h" #include "us_help.h" #ifndef DbgLv #define DbgLv(a) if(dbg_level>=a)qDebug() #endif class US_SelectTriplesRa : public US_WidgetsDialog { Q_OBJECT public: US_Sele...
ed2a6164bb876e4eef415087884bed5ade72f507198be22a40bb296d0ad7131a
C/C++
1,321
42
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
a826bb9458cd90cc3c9fb80fa17fe79d5d339b730d5bd77565e05e9cab73533b
C/C++
1,323
57
//! \file us_xpnhost.h #ifndef US_XPNHOST_H #define US_XPNHOST_H #include <QtCore> #include "us_widgets.h" /*! \brief A class to allow the user to set, modify or delete parameters for database access. */ class US_XpnHost : public US_Widgets { Q_OBJECT public: //! Construct the window to manage d...
e1072e4b6bb6c2f53ae8f082e7ddfc6131f96149dfa0c77f64a34be29f3ccb08
C/C++
1,332
46
//! \file us_get_dbexp.h #ifndef US_GET_DBEXP_H #define US_GET_DBEXP_H #include "us_extern.h" #include "us_widgets_dialog.h" /*! \class US_GetDBExp This class creates a dialog with all the experimentIDs, dates last updated, runIDs and labels belonging to the current user displayed. Wh...
991ace711549105537d7c66052c78e25548ad691ba7d1357a10ccb6602e34697
C/C++
1,341
40
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
9c92656642987fc3fef054e7ee0d9a2da7c1a046abc24731ef4315d90d72f497
C/C++
1,341
38
#ifndef US_PM_MPI_H #define US_PM_MPI_H // pm_types for msg.type and also for some MPI_TAGs enum pm_types { PM_SHUTDOWN // sent to workers to shutdown ,PM_MSG // sent to workers as base message ,PM_NEW_PM // sent to workers as additional message ...
00073baeffa64f42a62c9ee180d172252197ced9e979c14010119e59e47f1c7f
C/C++
1,342
39
//! \file us_style.h #ifndef US_STYLE_H #define US_STYLE_H #include <QtWidgets> #include "us_extern.h" //! \brief The UltraScan widget style: modern shapes, per-widget palettes. class US_GUI_EXTERN US_Style : public QProxyStyle { Q_OBJECT public: //! \brief Wrap a base style //! \param base The st...
c32313b4772ae6f0d4a44f92b47c43dbf6650c264d81761f31d6e29d6a542bf0
C/C++
1,352
30
#import <Foundation/Foundation.h> /** * An enumerate that describes the state of `UnityAds` placements. * @note All placement states, other than `kUnityAdsPlacementStateReady`, indicate that the placement is not currently ready to show ads. */ typedef NS_ENUM(NSInteger, UnityAdsPlacementState) { /** * A...
9768fb2711bd11b9feae7e699a5b29c5adec5b55f2380388bfb7e74e850df696
C/C++
1,354
47
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
8c153455aa2d6da2eaa19c03a3c51409e322fae47104b572b4764b8787908e22
C/C++
1,363
43
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
fec2f968647239c42cd659ba7d8bc623cedc3be5afa123726a44eeeb1c430fe4
C/C++
1,394
46
/* * The routine functions for 2-D Barnes-Hut Trees * * Copyright (c) 2014, Zhirong Yang (Aalto University) * All rights reserved. * */ #ifndef BARNES_HUT #define BARNES_HUT typedef struct tagNode { int id; double weight; } Node; typedef struct tagQuadTree{ Node *node; struct tagQuadTree **chil...
10b879b248dd72ad45a220aa4b3c488cd1d057c6d3406d744d61249be9be38ce
C/C++
1,396
61
//! \file us_font.h #ifndef US_FONT_H #define US_FONT_H #include "us_widgets.h" #include "us_help.h" //! Define the height of widgets in pixels. #define BUTTON_H 26 //! A class to allow the user to select a customized font. class US_Font : public US_Widgets { Q_OBJECT public: /*! \brief Construct the wi...
b0c9b9d2eb1f6467ccca1e8b1d474b8200609329fe1b59f4d820b047b7e7a9d9
C/C++
1,409
43
//! \file us_abde_main.h //! \brief Contains the declaration of the US_ABDE_MW class and its members. #ifndef US_ABDE_MAIN_H #define US_ABDE_MAIN_H #include <us_widgets.h> #include "../us_buoyancy/us_buoyancy.h" #include "us_norm_profile.h" //! \class US_ABDE_MW //! \brief A class for managing the ABDE (Analysis by D...
df033bbb9737beaa9e57e475c7464ff91b600d9d82b40bd72e357e1a581ef082
C/C++
1,411
46
//! \file us_get_dbrun_ra.h #ifndef US_GET_DBRUN_H #define US_GET_DBRUN_H #include "us_extern.h" #include "us_widgets_dialog.h" //! \class US_GetDBRunRa //! This class creates a dialog with all the experimentIDs, //! dates last updated, runIDs and labels belonging to the //! current user displaye...
88dfbdc366f5ee5b6fac348821033c361a597be36b0ca043aa432c5865ecc2f2
C/C++
1,416
47
/* Finding roots of functions. * * SRE, Fri Apr 6 10:01:43 2007 [Janelia] */ #ifndef ESL_ROOTFINDER_INCLUDED #define ESL_ROOTFINDER_INCLUDED #include "esl_config.h" typedef struct { int (*func)(double, void*, double*); int (*fdf) (double, void*, double*, double*); void *params; double xl; double ...
926c6967b865691d6b89183d1d44719b1369527fc438361e106a92219cf99196
C/C++
1,435
83
#ifndef femreader_h__2004_03_07_14_03_begin_guarded_code #define femreader_h__2004_03_07_14_03_begin_guarded_code #include <math.h> #include <fstream> #include <qwt3d_global.h> #include <qwt3d_types.h> class NodeFilter { public: explicit NodeFilter() { values = std::vector<double>(6); } Qwt3D::Triple r...
c26ff9c291b75c5f2ebca15324a5cefee8f55b68b39fdc9edea525eebfcb281e
C/C++
1,440
51
#ifndef __qwt3d_autoscaler_2003_08_18_12_05__ #define __qwt3d_autoscaler_2003_08_18_12_05__ #include <vector> #include "qwt3d_global.h" #include "qwt3d_autoptr.h" namespace Qwt3D { //! ABC for autoscaler class QWT3D_EXPORT AutoScaler { friend class qwt3d_ptr<AutoScaler>; protected: //! Returns a new...
667f73efe30d44a2d7c4164b54f7b44de10e399b324a23d72eb811de4af220a7
C/C++
1,444
36
/* Gamma distributions. * * SRE, Wed Nov 16 19:15:33 2005 [St. Louis] */ #ifndef eslGAMMA_INCLUDED #define eslGAMMA_INCLUDED #include "esl_config.h" #include "esl_histogram.h" #include "esl_random.h" double esl_gam_pdf (double x, double mu, double lambda, double tau); double esl_gam_logpdf (double x, double mu...
a66f002b72024ad9abc1a7f3042ea60cebc39df1a530503bc8fa4c7f8698b362
C/C++
1,444
57
#ifndef SHS_H #define SHS_H #include <math.h> typedef double shd_double; #include "shd.h" #include "shd_global.h" #include "shd_sh.h" #include <vector> #include <string> #include <time.h> class SHS { private: vector < shd_double > x_t; vector < vector < shd_double > > y_t; vector < ve...
65c51ffb1c5cce1739a04d0c812b66685715035436489ea6f28a43dd616347ef
C/C++
1,452
48
//! \file us_table.h #ifndef US_TABLE_H #define US_TABLE_H #include "us_widgets_dialog.h" #include "us_extern.h" //! A class to provide input and update of a QMap structure. It is //! generally used for updating spectrum values in \ref US_Buffer and //! \ref US_Analyte. class US_GUI_EXTERN US_Table : public US_W...
b9c0bdb55aa8af01e2e5217a236a9a4c62c876d6833c1b277d98f6a44468b38b
C/C++
1,466
62
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
1f954c1c60fb459bf4a4bc91cc7e60375e2978d6758d3ce43f03fc331dc7a277
C/C++
1,486
50
//! \file us_noise_loader.h #ifndef US_NOISE_LOADER_H #define US_NOISE_LOADER_H #include "us_extern.h" #include "us_widgets_dialog.h" #include "us_db2.h" #include "us_noise.h" #include "us_plot.h" #include "us_help.h" //! \brief A class for selecting and loading noise records from a tree view class US_GUI_EXTERN US_...
38205fb923ab5a8a61bac8d4af1864cfda86b6a89bf46754b32752c44b164174
C/C++
1,493
66
//! \file us_scan_excl_gui.h #ifndef US_SCANEXCL_GUI_H #define US_SCANEXCL_GUI_H #include "us_extern.h" #include "us_widgets.h" //! This class provides a tabbed entry for solution selection class US_GUI_EXTERN US_ScanExclGui: public US_Widgets { Q_OBJECT public: US_ScanExclGui( QStringList, QList< int > ...
60d932a28f040c3557ebfbdd4029a4a29d467d8da24cdf4c44b481d48a4b1fa2
C/C++
1,495
52
//! \file us_advanced_fem.h #ifndef US_ADVANCED_H #define US_ADVANCED_H #include "us_extern.h" #include "us_widgets_dialog.h" #include "us_model.h" #include "us_plot.h" #include "us_help.h" #include <qwt_plot.h> //! \brief A class to provide a window for advanced analysis controls class US_AdvancedFem : public US_W...
0b69049ab105a851cde04a935e8d0879ac0edd53026563c20a17057b548e881a
C/C++
1,496
60
#ifndef __EXAMPLE_H__ #define __EXAMPLE_H__ #include <math.h> #include <qwt3d_parametricsurface.h> #include <qwt3d_function.h> #include <stdio.h> #include <stdlib.h> #include "../include/us_util.h" #include <vector> // For some reson WIN32 is not picking up M_PI from math.h... #ifndef M_PI #define M_PI 3.141...
47b10f8e852eaa78ad10d0c96077e3efdb7915bbfdefe6939cd6ec80f0bd4041
C/C++
1,503
66
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
af6533d5b979c3ec9beb32762957a33b5fc7725f7eac9972ae75dc4a5e5ac3b8
C/C++
1,508
39
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
9a4577603efdc09e2670b973d1773f820350037582fd5d2ff530b5f913a18b06
C/C++
1,509
75
#ifndef qwt3d_autoptr_h__2004_05_14_18_57_begin_guarded_code #define qwt3d_autoptr_h__2004_05_14_18_57_begin_guarded_code namespace Qwt3D { //! Simple Auto pointer providing deep copies for raw pointer /*! Requirements: \n virtual T* T::clone() const;\n T::destroy() const; virtual ~T() private/pr...
fc94e71858e0214c5b7ec8aa85890c5afcb1d63bb1483d63b3323f0edb4bf7a1
C/C++
1,512
58
//! \file us_thread_worker.h #ifndef US_THREAD_WORKER_H #define US_THREAD_WORKER_H #include "us_extern.h" #include "us_dataIO.h" #include "us_simparms.h" #include "us_model.h" #include "us_noise.h" #include "us_buffer.h" #ifndef DbgLv #define DbgLv(a) if(dbg_level>=a)qDebug() #endif //! \brief Worker thread to do La...
8d1f8c86103ff14065a7f9ed1ccf03f9939c98b70ab3585cbc78953f9e280431
C/C++
1,516
82
#ifndef US_HYDRODYN_CSV_VIEWER_H #define US_HYDRODYN_CSV_VIEWER_H // QT defs: #include <qlabel.h> #include <qstring.h> #include <qlayout.h> #include <qpushbutton.h> //#include <q3frame.h> #include <qcheckbox.h> #include <qtextedit.h> #include <qprogressbar.h> #include <qmenubar.h> #include <qfileinfo.h> #include <qpr...
fcd13462e4091959c071fffe1e5f67f0420bbf252b26e67e4ba5a5b37c5b8d07
C/C++
1,518
83
#ifndef femreader_h__2004_03_07_14_03_begin_guarded_code #define femreader_h__2004_03_07_14_03_begin_guarded_code #include <math.h> #include <fstream> #include "qwt3d_global.h" #include "qwt3d_types.h" class NodeFilter { public: explicit NodeFilter() { values = std::vector<double>(6); } ...
5145c582069d7ea55638d105f109cadeca02fb31a88153e21844a0ed9a15b861
C/C++
1,535
77
#ifndef lightingdlg_h__2004_03_07_13_35_begin_guarded_code #define lightingdlg_h__2004_03_07_13_35_begin_guarded_code #include <math.h> #include <qapplication.h> #include <qwt3d_parametricsurface.h> #include <qwt3d_surfaceplot.h> #include <qwt3d_enrichment.h> #include <qwt3d_color.h> #include "lightingdlgbase.h" cla...
7247091936288119b28fdd2d3978dcdb564ca4b30ee522634b3c99daa0f13181
C/C++
1,535
76
#ifndef designerworkaround_h__2005_07_10_10_46_begin_guarded_code #define designerworkaround_h__2005_07_10_10_46_begin_guarded_code #include <QMenu> #include <QToolBar> #include <QAction> #include <QActionGroup> #include <QMainWindow> #include <QComboBox> #include <QMenuBar> class DesignerWorkaround { ...
dc50544d6b12c176d6555ecf27da7b3a43bc20e6d488600f11c7bd0f8e1253ce
C/C++
1,543
51
//! \file us_mwl_run.h #ifndef US_MWL_RUN_H #define US_MWL_RUN_H #include "us_extern.h" #include "us_widgets_dialog.h" #include "us_widgets.h" #include "us_help.h" #include "us_db2.h" //! \class US_MwlRun //! This class creates a dialog with all the local MWL runs, //! dates last updated, and files-in-directory count...
fbdea974143afdf9c4f2da37a9b8e67ce6213755414c7eae5059c4792f51127f
C/C++
1,543
66
#ifndef ADVANCEDSTARTUPDIALOG_H #define ADVANCEDSTARTUPDIALOG_H #include <QDialog> class QLabel; class QCheckBox; class QDialogButtonBox; class QGroupBox; class AdvancedStartupDialog : public QDialog { Q_OBJECT public: AdvancedStartupDialog(bool &useOpenCL_, uint8_t &playbackPorts_, bool demoMode_ = false, Q...
431d256a659c15a702931d7c7c99fb70bec2c4ec15e8d13ebe9a50fe2f47a160
C/C++
1,545
58
//! \file us_database.h #ifndef US_DATABASE_H #define US_DATABASE_H #include <QtCore> #include "us_widgets.h" /*! \brief A class to allow the user to set, modify or delete parameters for database access. */ class US_Database : public US_Widgets { Q_OBJECT public: //! Construct the window to mana...
c9bb09c348cfe17efa6b7e0839f98cd87e5f28a9b2990ba9b221c54101c572d8
C/C++
1,549
49
//! \file us3i_gui_util.h #ifndef US_GUIUTIL_H #define US_GUIUTIL_H #include <QtWidgets> #define dataPlotClear(a) a->detachItems(QwtPlotItem::Rtti_PlotItem,false) #include "qwt_plot.h" #include "us3i_extern.h" //! \brief General GUI utilities for UltraScan //! //! This class provides a number of general utility funct...
93e67131dae6df2380295741e7f6e337ae29fde2abf8af9c49d360f26ca88526
C/C++
1,551
44
#ifndef qwt3d_parametricsurface_h__2004_03_05_23_43_begin_guarded_code #define qwt3d_parametricsurface_h__2004_03_05_23_43_begin_guarded_code #include "qwt3d_gridmapping.h" namespace Qwt3D { class SurfacePlot; //! Abstract base class for parametric surfaces /** */ class QWT3D_EXPORT ParametricSurfa...
d541b7fdc95ddf62f0ae3db61ddc59a3272c72b90b443cfab2c5043ca88300da
C/C++
1,554
39
/* Weibull distributions. * * SRE, Tue Aug 9 10:48:35 2005 [St. Louis] */ #ifndef eslWEIBULL_INCLUDED #define eslWEIBULL_INCLUDED #include "esl_config.h" #include "esl_histogram.h" #include "esl_random.h" extern double esl_wei_pdf (double x, double mu, double lambda, double tau); extern double esl_wei_logpdf...
95b4803719c844a760cf8fb706bdabdc06c200fbdbe4185d54481ed9622a3a19
C/C++
1,556
81
#ifndef US_HYDRODYN_FILE2_H #define US_HYDRODYN_FILE2_H // QT defs: #include <qlabel.h> #include <qpushbutton.h> #include <qdialog.h> //Added by qt3to4: #include <QCloseEvent> #include "us_util.h" using namespace std; class US_EXTERN US_Hydrodyn_File2 : public QDialog { Q_OBJECT public: US_Hydrodyn_F...
29b0313d742cfaf52b5b979f298938d5dc68e18b0d65e088d1a5d669b699af97
C/C++
1,570
39
/* Exponential distributions. * * SRE, Wed Aug 10 08:32:45 2005 [St. Louis] */ #ifndef eslEXPONENTIAL_INCLUDED #define eslEXPONENTIAL_INCLUDED #include "esl_config.h" #include "esl_histogram.h" #include "esl_random.h" extern double esl_exp_pdf (double x, double mu, double lambda); extern double esl_exp_logpdf...
8afa31d2c4c63072b082f616c4e3f02761ca8d4b414d68a6c2f2e93946ac843a
C/C++
1,573
62
//! \file us_help.h #ifndef US_HELP_H #define US_HELP_H #include <QtCore> #if QT_VERSION > 0x050000 #include <QtWidgets> #else #include <QtGui> #define setSingleStep(a) setStep(a) #define setMinorPen(a) setMinPen(a) #define setMajorPen(a) setMajPen(a) #endif #include "us_extern.h" //! \brief Launch help programs /*!...
9cdc49f81daf30c43769fcf2234e8f45b4dcc82a7b4f1f0983be632ed8abc255
C/C++
1,579
57
//! \file us_sync_exper.h #ifndef US_SYNC_EXPER_H #define US_SYNC_EXPER_H #include <QtXml> #include "us_extern.h" #include "us_dataIO.h" #include "us_db2.h" #include "us_data_model.h" /*! \class US_SyncExperiment This class provides the ability to synchronize an experiment record on local disk ...
239b7d10bcd2bf4ced55ca21245bf1127433110cdf534d7b972107397687a7a8
C/C++
1,583
48
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * File: compute_MM_polarLuChipman.h * * MATLAB Coder version : 5.2 * C/C++ source code generated on :...
0a21f99d2bd2826c8edbb739f50de273a5df4219531ae9f96768a136900edbb4
C/C++
1,587
48
#ifndef US_ADMIN_H #define US_ADMIN_H #include <qpushbutton.h> #include <qlabel.h> #include <qlineedit.h> #include <qmessagebox.h> #include <qdatastream.h> //Added by qt3to4: #include <QFrame> #include "us_util.h" //! An Interface for database adminstration. /*! For database delete operation perimission. */ class U...
4e0eab8837063f597b7b6389ee0e8ed212823988798638e82e9d4931041d4ba3
C/C++
1,588
37
/* Simple master/worker data parallelization using POSIX threads. */ #ifndef eslTHREADS_INCLUDED #define eslTHREADS_INCLUDED #include "esl_config.h" #include <pthread.h> typedef struct { int threadCount; /* number of active worker threads */ pthread_t *threadId; ...
1d20408f4537636ac24a7a9b2b092b28e8dc5a4f365177cfb66b3d18e444e161
C/C++
1,589
48
/* Copyright (c) 2006-2010, The Scripps Research 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 requir...
eab771913cae936ae11550ec970658061561d0a7dbdfa815708f3aed1d73c04d
C/C++
1,589
75
#ifndef axes_h__2004_06_07_10_38_begin_guarded_code #define axes_h__2004_06_07_10_38_begin_guarded_code #include "qwt3d_plot.h" using namespace Qwt3D; /***************************** * * Examples for user defined * tic labels * ******************************/ class Letter : public LinearScale { publ...
073737ed17ad65c956ca1655b2cc2daa312ecd50ed164426c3eb1c36a3f4fdc9
C/C++
1,593
39
/* Stretched exponential distributions. * * SRE, Fri Aug 19 13:51:14 2005 [St. Louis] [xref STL9/146] */ #ifndef eslSTRETCHEXP_INCLUDED #define eslSTRETCHEXP_INCLUDED #include "esl_config.h" #include "esl_histogram.h" #include "esl_random.h" extern double esl_sxp_pdf (double x, double mu, double lambda, double...
b00cfe398e66475017dbe8ee02c8f6ea0c2824f33667e720fa1828a10fba2d49
C/C++
1,593
54
//! \file us_xpn_run_auc.h #ifndef US_XPN_RUN_AUC_H #define US_XPN_RUN_AUC_H #include <QtGui> #include "us_extern.h" #include "us_widgets_dialog.h" #include "us_widgets.h" #include "us_help.h" #include "us_db2.h" //! \class US_XpnRunAuc //! This class creates a dialog with all the local XPN runs, //! dates last upda...
7cb67c53eb9f571a8a35f0dd8deac463d64f00ffd9ab6291e34d1e20138d1f1b
C/C++
1,601
58
#ifndef QWT3D_GLOBAL_H #define QWT3D_GLOBAL_H #include <qglobal.h> #if QT_VERSION < 0x040000 #include <qmodules.h> #endif #define QWT3D_MAJOR_VERSION 0 #define QWT3D_MINOR_VERSION 2 #define QWT3D_PATCH_VERSION 7 // // Create Qwt3d DLL if QWT3D_DLL is defined (Windows only) // #if defined(Q_OS_WIN) ...
ffa232c223a28c4c300a1b84d33b50f850e013a9dbc73c266ef03512e565e585
C/C++
1,604
28
// [[Rcpp::depends(BH)]] #include<Rcpp.h> using namespace Rcpp; RCPP_MODULE(unif_module) { class_<dv_expr::ExpressionModell>("ExpressionModell") .constructor() .property("time", &dv_expr::ExpressionModell::get_time, "Generation time of the modell. Initialised to 0.") .field("t_output", &dv_expr::ExpressionMode...
81503160e9bcf3ea223fbd067d5a51483995707ee2545aee2c16f2c69edb551d
C/C++
1,610
51
#import <UIKit/UIKit.h> /** * UnityAdsBannerDelegate is a delegate class for callbacks from Unity Ads Banner operations. */ @protocol UnityAdsBannerDelegate <NSObject> /** Called when the banner is loaded and ready to be placed in the view hierarchy. @param placementId The ID of the placement of the banner that ...
d6231fb81de79c38845223d17eec7d61858c263b619e5c5e8680bd6c517eef7c
C/C++
1,612
43
/* esl_gev.h * Generalized extreme value (GEV) distributions. * * SRE, Tue Jul 12 09:15:56 2005 */ #ifndef eslGEV_INCLUDED #define eslGEV_INCLUDED #include "esl_config.h" #include "esl_random.h" extern double esl_gev_pdf (double x, double mu, double lambda, double alpha); extern double esl_gev_logpdf (double...
adc57d2589e164e5a25678a6bfda702cf4d5144a1719b2b410252f479c8539e7
C/C++
1,620
45
/** * An enumeration for the various errors that can be emitted through the `UnityAdsDelegate` `unityAdsDidError:withMessage:` method. */ typedef NS_ENUM(NSInteger, UnityAdsError) { /** * An error that indicates failure due to `UnityAds` currently being uninitialized. */ kUnityAdsErrorNotI...
319a0c4a000f1038cd3c4b578199ec8922bb9712a2a02b13442fd44e9c21321b
C/C++
1,622
55
#ifndef US3I_EDITOR_H #define US3I_EDITOR_H #include <QtCore> #include <QtWidgets> #include "us3i_extern.h" /*! Class for edit and/or display of text in a main window. The text may be editable or read-only. The window may be flagged to have text file load and save menu items (and actions) or not. If text file...
352d7f44a5ce4e219225867f188b070cc95aff532f75b96ccc12983e895dc5ad
C/C++
1,627
46
//------------------------------------------------------------------------------ // // Intan Technologies RHX Data Acquisition Software // Version 3.5.2 // // Copyright (c) 2020-2026 Intan Technologies // // This file is part of the Intan Technologies RHX Data Acquisition Software. // // This program is free softw...
dce40e2649daf29e6e96be2f5426c52d875950b6568ddba72c970b2acb60817c
C/C++
1,640
60
#include <UIKit/UIKit.h> #include "UnityAdsBannerDelegate.h" NS_ASSUME_NONNULL_BEGIN /** * An enumeration for the various ways to position the Unity Ads banner placement. */ typedef NS_ENUM(NSInteger, UnityAdsBannerPosition) { kUnityAdsBannerPositionTopLeft, kUnityAdsBannerPositionTopCenter, kUnityAdsBa...
ab65808bea601da0203dcfb046b1f49f9ee308ca9e14f400fe488d07f96049bd
C/C++
1,648
78
#ifndef US_HYDRODYN_CLUSTER_CONFIG_SERVER_H #define US_HYDRODYN_CLUSTER_CONFIG_SERVER_H // QT defs: #include <qlabel.h> #include <qstring.h> #include <qlayout.h> #include <qpushbutton.h> //#include <q3frame.h> #include <qcheckbox.h> #include <qlistwidget.h> //Added by qt3to4: #include <QCloseEvent> #include "us_hydr...
46311af90f3205ea9f77849e2510a973e13257e88a3e80fbb4c623ab8ca66b6c
C/C++
1,651
46
/* Header file for GenerateHologramCUDA Hologram generating algorithms for CUDA Devices Copyright 2009, 2010, 2011, 2012 Martin Persson martin.persson@physics.gu.se Small edits by Lloyd Russell 2016 This file is part of GenerateHologramCUDA. GenerateHologramCUDA is free software: yo...
aab81a46d398b7dbd87334219b4750473a3ae60d926fd689a7321fe11f4e9a4a
C/C++
1,659
69
//! \file us_second_moment.h #ifndef US_SECOND_MOMENT_H #define US_SECOND_MOMENT_H #include "us_analysis_base2.h" #include "us_editor.h" #include "us_math2.h" /** * @class US_SecondMoment * @brief The US_SecondMoment class provides functionality for second moment analysis. */ class US_SecondMoment : public US_Anal...
55ad3250608d3105bae47dc47b864a8f346ad86f6e9e6793da987ec3bb810fd7
C/C++
1,671
41
#ifndef qwt3d_function_h__2004_03_05_13_51_begin_guarded_code #define qwt3d_function_h__2004_03_05_13_51_begin_guarded_code #include "qwt3d_gridmapping.h" namespace Qwt3D { class SurfacePlot; //! Abstract base class for mathematical functions /** A Function encapsulates a mathematical function with rec...
bcd238d0259656ec6e9fbc1581315fc331dcaa849d33b461ff0cfd1a5b27a15f
C/C++
1,671
69
/**************************************************************************** ** Form interface generated from reading ui file '3dplot\lightingdlgbase.ui' ** ** Created: Sun Mar 9 15:21:22 2008 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.8 edited Jan 11 14:47 $) ** ** WARNING! All changes made in ...
6edb596c1d185b357693052c0181936a04c756a303a8ef9ccd3a03bf7835f91c
C/C++
1,674
51
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * File: compute_M_AIW.h * * MATLAB Coder version : 5.2 * C/C++ source code generated on : 20-Jul-2022...
50a3c50a82a4f48494c1eddf951e83e610f569f72ab4c6e2318c25e42ad87281
C/C++
1,678
49
//------------------------------------------------------------------------------ // // Intan Technologies RHX Data Acquisition Software // Version 3.5.2 // // Copyright (c) 2020-2026 Intan Technologies // // This file is part of the Intan Technologies RHX Data Acquisition Software. // // This program is free softw...
b6b4e0f086ab923f3a96b13070f469144de4d48a897a09a7f0568925417c4e24
C/C++
1,685
80
#ifndef US_HYDRODYN_DAMMIN_OPTS_H #define US_HYDRODYN_DAMMIN_OPTS_H // QT defs: #include <qlabel.h> #include <qpushbutton.h> #include <qdialog.h> #include "us_util.h" using namespace std; // set psv & mw for DAMMIN/DAMMIF file loads class US_EXTERN US_Hydrodyn_Dammin_Opts : public QDialog { Q_OBJECT public...
12f4d94dba3fd68f146cf39813390236207a12157e45b05e64b1ac12ea91e585
C/C++
1,688
52
//! \file us_long_messagebox.h #ifndef US_LONGMSGBOX_H #define US_LONGMSGBOX_H #include "us_extern.h" #include "us_widgets_dialog.h" //! \brief Simple QMessageBox-like dialog for long messages //! //! This class performs the same function as QMessageBox by displaying //! a message in a dialog with only the text and a...
8e4dc7d9bdac037de1b8f0d7e1c65156fe096764ea21ece389254926131be90a
C/C++
1,702
57
/* Tracking cpu/system/elapsed time used by a process. * * SRE, Wed Feb 22 19:30:36 2006 [St. Louis] [moved to Easel] * SRE, Thu Aug 3 08:00:35 2000 [St. Louis] [moved to SQUID] * SRE, Fri Nov 26 14:54:21 1999 [St. Louis] [HMMER] */ #ifndef eslSTOPWATCH_INCLUDED #define eslSTOPWATCH_INCLUDED #include "esl_config...
ee987bfd7aa4170960bff7a6a1b0e8246ee6e4697b52bf1d2a3fdd0b82a769f5
C/C++
1,702
29
/* str*()-like functions for raw char arrays (non-NUL-terminated strings) */ #ifndef eslMEM_INCLUDED #define eslMEM_INCLUDED #include "esl_config.h" #include "easel.h" extern int esl_mem_strtoi32(char *p, esl_pos_t n, int base, int *opt_nc, int32_t *opt_val); extern int esl_mem_strtoi64(char *p, esl_pos_t...