sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
0ce8fb67d9ccf50aed96c204442ccafb75d8c63b7c815abc5edec8ac0101b25b | C/C++ | 146 | 8 | #ifndef _GEOS_FUNCS_YYD_D_H
#define _GEOS_FUNCS_YYD_D_H
#include <Python.h>
extern int init_geos_funcs_YYd_d(PyObject* m, PyObject* d);
#endif
|
11c5163f7eecf63af630427361cda5ee05f13ee0c375196cd8b5f9f51e830f6e | C/C++ | 146 | 8 | #ifndef _GEOS_FUNCS_YYO_B_H
#define _GEOS_FUNCS_YYO_B_H
#include <Python.h>
extern int init_geos_funcs_YYO_b(PyObject* m, PyObject* d);
#endif
|
4d7605eb3c1a5d4f151b8c3821180d3832e77b2caaf220a495441f1ce470a1e2 | C/C++ | 146 | 8 | #ifndef _GEOS_FUNCS_YDI_Y_H
#define _GEOS_FUNCS_YDI_Y_H
#include <Python.h>
extern int init_geos_funcs_Ydi_Y(PyObject* m, PyObject* d);
#endif
|
5c71255a51d741587622f0e4d53bd58a1b9f46e095d03506f364dba8488b12aa | C/C++ | 146 | 8 | #ifndef _GEOS_FUNCS_Ydb_Y_H
#define _GEOS_FUNCS_Ydb_Y_H
#include <Python.h>
extern int init_geos_funcs_Ydb_Y(PyObject* m, PyObject* d);
#endif
|
956e1993d8f55fc8130793223c2af1dab68a4cd2127829f9ac7e1af2ca33828b | C/C++ | 146 | 8 | #ifndef _GEOS_FUNCS_YDD_B_H
#define _GEOS_FUNCS_YDD_B_H
#include <Python.h>
extern int init_geos_funcs_Ydd_b(PyObject* m, PyObject* d);
#endif
|
b4856a39e7fa5e3025edc5d1fa2c25a6bf3b8cbca5fbecbb66ebe05d64efc74c | C/C++ | 146 | 8 | #ifndef _GEOS_FUNCS_YYD_Y_H
#define _GEOS_FUNCS_YYD_Y_H
#include <Python.h>
extern int init_geos_funcs_YYd_Y(PyObject* m, PyObject* d);
#endif
|
c452cababaed70f45e01539634b7610bff22b8afd1e6bf896c3b9f9428ba7300 | C/C++ | 146 | 8 | #ifndef _GEOS_FUNCS_YYD_B_H
#define _GEOS_FUNCS_YYD_B_H
#include <Python.h>
extern int init_geos_funcs_YYd_b(PyObject* m, PyObject* d);
#endif
|
98432655e3c144bc76c06e6be9e9ac7e20e4e47b0810cf8b7596ce0c4385df34 | C/C++ | 148 | 9 |
#define METAIO_USE_NAMESPACE 0
#define METAIO_NAMESPACE ITKMetaIO
#define METAIO_EXPORT
#include <iostream>
#include <fstream>
#include "zlib.h"
|
5f1912dbfccc0c82cf21b47441bb525603a63b27edfdefcfc6ae8535da8284b3 | C/C++ | 152 | 8 | #ifndef _GEOS_FUNCS_YDDDD_Y_H
#define _GEOS_FUNCS_YDDDD_Y_H
#include <Python.h>
extern int init_geos_funcs_Ydddd_Y(PyObject* m, PyObject* d);
#endif
|
73fcf3edaffd0173bb941003b6fdcca929e9006ebc55397ab7192af0a20336c6 | C/C++ | 185 | 8 | #ifndef _PYGEOS_H
#define _PYGEOS_H
#include "geos.h"
char PyGEOSEqualsIdentical(GEOSContextHandle_t ctx, const GEOSGeometry* geom1, const GEOSGeometry* geom2);
#endif // _PYGEOS_H
|
2f65fa5abe095ed65c3d5c8aebda7f443d203cfe353bb01f825c4bfa4cbd429c | C/C++ | 186 | 9 | #ifndef _UFUNCS_H
#define _UFUNCS_H
#include <Python.h>
extern int init_ufuncs(PyObject* m, PyObject* d);
extern PyObject* PySetupSignalChecks(PyObject* self, PyObject* args);
#endif
|
055204922e2ad6c549ba475b74b7fe6e241ed5eef87d576cde5b65b2ceae1fec | C/C++ | 188 | 8 | #include <RcppArmadillo.h>
#include <RcppZiggurat.h>
#include <Ziggurat.h>
// [[Rcpp::depends(RcppArmadillo, RcppZiggurat)]]
arma::vec zrandn(int n);
void zrandseed(unsigned long int s); |
2b1910f7ee767fd88750c4e7599ffd13c3e7ac0ce3c280e4384824df728c99fd | C/C++ | 205 | 13 | /* Mergesort.h
Sort an array of structs
Brendan Hasz
haszx010@umn.edu
Feb 2015
David Redish Lab
University of Minnesota, Twin Cities
*/
void MergeSort(struct ALG_EDGE *, int);
|
7fa13a9a9d86b00908871419a0593a56b443da49219c7fe0a29874c1f1e9a4cc | C/C++ | 205 | 5 | #include <RcppArmadillo.h>
using namespace Rcpp;
//[[Rcpp::depends(RcppArmadillo)]]
arma::vec pulse_trial_stimulus(arma::vec stim_seq, double dur=0.01, double isi=0.1, double pre_stim=0, double dt=0.001); |
a8012ed0f32bd405c75da95562227c085ddbad3572fe640d8f14584b059a554d | C/C++ | 286 | 13 | #ifndef _PYGEOSCOORDS_H
#define _PYGEOSCOORDS_H
#include <Python.h>
#include "geos.h"
extern PyObject* PyCountCoords(PyObject* self, PyObject* args);
extern PyObject* PyGetCoords(PyObject* self, PyObject* args);
extern PyObject* PySetCoords(PyObject* self, PyObject* args);
#endif
|
77c981ee8c7220ef51791ae37d5bca03dba4c9d4784608135f9d6eb039bf8a2a | C/C++ | 321 | 18 | #ifndef I2C_SLAVE_H
#define I2C_SLAVE_H
#include <avr/interrupt.h>
#include <stdint.h>
void I2C_init(uint8_t address);
void I2C_stop(void);
void I2C_setCallbacks(void (*recv)(uint8_t), void (*req)());
inline void __attribute__((always_inline)) I2C_transmitByte(uint8_t data)
{
TWDR = data;
}
ISR(TWI_vect);
#endif... |
8022734e2ddde082575366bb3f82b4b54948d234452878e08a0980c8e4cd6d91 | C/C++ | 412 | 14 | #ifndef GEOM_ARR_H
#define GEOM_ARR_H
#include <geos_c.h>
#include <numpy/ndarraytypes.h>
/* Convert a geometry array to a NumPy array of Geometry objects */
void geom_arr_to_npy(GEOSGeometry** array, char* ptr, npy_intp stride,
npy_intp count);
/* Destroy a geometry array */
void destroy_geom_a... |
886893f337c4c2c7bb91728ff8f4889bb9d9281cbb400c9ea73cffb0fe7aae75 | C/C++ | 446 | 16 | //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by RhizoVisionExplorer.rc
//
#define IDI_ICON1 109
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 113
#define _APS_NEXT_COMMA... |
0c42c2a33520ad2070b5242e494fbd201119a7942e48c5ddd6e80e07e1127338 | C/C++ | 466 | 24 | #ifndef _VECTOR_H
#define _VECTOR_H
#include <numpy/ndarraytypes.h>
#include "pygeom.h"
/* A resizable vector with numpy indices.
* Wraps the vector implementation in kvec.h as a type.
*/
typedef struct {
size_t n, m;
npy_intp* a;
} index_vec_t;
/* Copy values from arr to a new numpy integer array.
*
* Para... |
91181baa13bd9ff95f1f3c3086eefebd62a82eecb8eea1971b79cb57f71876a5 | C/C++ | 477 | 22 | //=========================================================
//
//This is a common header for mex functions
//
//Disclaimer: The author of program is Hanchuan Peng
// at <hanchuan.peng@gmail.com>
//
//The CopyRight is reserved by the author.
//
//========================================================
//
#ifndef... |
7763382059a88462098925577706aa5df3fbabe04092b1549d8ce6cedc588d80 | C/C++ | 514 | 9 | #include <RcppArmadillo.h>
using namespace Rcpp;
// [[Rcpp::depends(RcppArmadillo)]]
arma::vec linear_urgency(arma::vec t, double uslope=0, double udelay=0, double umag=0);
arma::mat linear_urgency_vec(arma::vec t, arma::vec uslope=0, arma::vec udelay=0, arma::vec umag=0, bool check_pars=true);
arma::vec logistic_urge... |
c696c15912e4dd120adae7638ae445bf5bd06b0b47de4565f5a6722bb9acb67b | C/C++ | 521 | 23 | //=========================================================
//
//This is a prog in the MutualInfo 0.9 package written by
// Hanchuan Peng.
//
//Disclaimer: The author of program is Hanchuan Peng
// at <penghanchuan@yahoo.com> and <phc@cbmv.jhu.edu>.
//
//The CopyRight is reserved by the author.
//
//Last modificat... |
329b8f5f227b816a855ba10ef4e90806cd2e9e6fa0e38643f31b2876a2879c27 | C/C++ | 640 | 24 | #ifndef INCLUDE_CAFFE_UTIL_SIGNAL_HANDLER_H_
#define INCLUDE_CAFFE_UTIL_SIGNAL_HANDLER_H_
#include "caffe/proto/caffe.pb.h"
#include "caffe/solver.hpp"
namespace caffe {
class SignalHandler {
public:
// Contructor. Specify what action to take when a signal is received.
SignalHandler(SolverAction::Enum SIGINT_ac... |
3f11e288871707488c86e803343daf01c68757402d322658d55e4d1bc794e885 | C/C++ | 661 | 21 | #ifndef MONOTONICCLOCK_H
#define MONOTONICCLOCK_H
#include <QElapsedTimer>
// Process-wide monotonic millisecond clock for frame timestamps and trace
// time axes. Unlike QDateTime::currentMSecsSinceEpoch(), it can never jump
// (NTP sync, DST, manual clock change) mid-recording - a jump would corrupt
// every inter-... |
57a2637c207675bf69e99a58c2729c491535e101d3aafe2fddc697cc57a94542 | C/C++ | 702 | 25 | /* blas.h -- C header file for BLAS Ver 1.0 */
/* Jesse Bennett March 23, 2000 */
/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed."
- From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */
#ifndef BLAS_INCLUDE
#defi... |
8bab5606816f0dd90e8deee0217f82c2632d776b7da84748c9209e8202ffc200 | C/C++ | 709 | 10 | #include <RcppArmadillo.h>
using namespace Rcpp;
// [[Rcpp::depends(RcppArmadillo)]]
arma::vec linear_bound(arma::vec t, double a, double kappa=0, double tc=0);
arma::mat linear_bound_vec(arma::vec t, arma::vec a, arma::vec kappa=0, arma::vec tc=0, bool check_pars=true);
arma::vec hyperbolic_ratio_bound(arma::vec t, d... |
4b8e2198c1aa17009a202c59608702a6cc8b3188235e829621e454aea9bbaf2c | C/C++ | 792 | 22 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
63a397db8072a551066391cba981290342c1449cb2cb031490e8ee1694ece590 | C/C++ | 806 | 27 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* 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 ... |
2f154163b3d34bfde3cf4070169638bc2a36295971dca7350cbba21da77cdc36 | C/C++ | 838 | 31 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
87577dea6d1949fac824cb7f076417c8d803d8fca918aa6f8ed0feb85c5595e4 | C/C++ | 838 | 28 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
4835634bfacc249b37eeda1a7c39545c07dceea7cdf54f7332bc4179f7bc3740 | C/C++ | 852 | 23 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
f6d639cf31c519424d202c7a0771938ca4a04fc986e9b94fb6dd845be9f4943e | C/C++ | 878 | 34 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
d5b2f3bf30131879b1e8b386fdac1a8dd7ec1ce27c877ea10651dfc9d89db91d | C/C++ | 888 | 37 | #ifndef _NEWTON_H
#define _NEWTON_H
class function
{
public:
virtual double fun(double *w) = 0 ;
virtual void grad(double *w, double *g) = 0 ;
virtual void Hv(double *s, double *Hs) = 0 ;
virtual int get_nr_variable(void) = 0 ;
virtual void get_diag_preconditioner(double *M) = 0 ;
virtual ~function(void){}
// ... |
4f71e66121efc8e59d81c57c51e59374faaad7c43c31f99bbbafb8bcaa437871 | C/C++ | 895 | 29 | #ifndef _PYGEOM_H
#define _PYGEOM_H
#include <Python.h>
#include "geos.h"
typedef struct {
PyObject_HEAD
GEOSGeometry* ptr;
GEOSPreparedGeometry* ptr_prepared;
/* For weak references */
PyObject *weakreflist;
} GeometryObject;
extern PyTypeObject GeometryType;
/* Initializes a new geometry object */
exte... |
2790a9a697529353f588a2e427189bc64073596d49403a8baf0e6ca882dd9d6c | C/C++ | 904 | 25 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
548f43d4eb622901bc3e7e176e2370e013536037025af97851a84fd9c18d53aa | C/C++ | 931 | 35 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
983d0c29a9ee015b66c1b249610a5e5ea4c7e415fabaca37832a84b46b41cc5d | C/C++ | 934 | 34 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
0e0223e829e2b1c2e5bfca079996d32fb9dcb001a2dfe3b9d4c08ce91999b6e8 | C/C++ | 939 | 35 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
1f9a19500ae62d07b2b71929b53bce940d9b2d35e16f7533a64f67ae7906abd2 | C/C++ | 944 | 38 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
9f40dd22542dc27c7ab82f5beb6c0030fc4050d20be3bded2b4999f1ce987148 | C/C++ | 952 | 34 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
7d943ca427fb0765dd6d4daa7eafc38b22b4ef8e5bd9cabbe362f960f2abe8d9 | C/C++ | 961 | 28 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
e66bf47a639a4fa379705c577be7c046b2efe5608a935abae9dfe9569ffe7d73 | C/C++ | 975 | 27 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
8d38b04abc68150bac7734e56652d5d8d9f91d2ea6b7670389c5e1447efd13ae | C/C++ | 982 | 27 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
54e358406a76aa06f60a7f8f4de1a878af785ee6a3f58409997fbd6f03f9370b | C/C++ | 983 | 27 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
4ce546bf3e0568e6f024486d2f111c2a848e2cc0752f57fe546ce88b9463574c | C/C++ | 990 | 27 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
e9b0200402fbb7e1b77f059bbe8bbfa651c1eec1ffb899fc705883cc376e5c56 | C/C++ | 992 | 41 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
030e2dd36c00e2a3b18411f7084fd6fd3e61753905688a95bb69a209efc6bdea | C/C++ | 993 | 35 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
8edce47eb48b9f7560d533aca8bb1c49e24cc94fc327dfe6ffb78a54663e3581 | C/C++ | 993 | 16 | #include <RcppArmadillo.h>
using namespace Rcpp;
// [[Rcpp::depends(RcppArmadillo)]]
List sim_pulse(int n, arma::cube stimuli, double v, double a, double t0,
double s=1, double z=.5, double dc=0,
double sv=0, double st0=0, double sz=0,
double lambda=0, double aprime=0, doub... |
2fd39436871f81b34884883c1942fdd3c65a1b0fd2157d9785fa32af074c2976 | C/C++ | 994 | 27 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
0d60e01059113e834d3e7934db0f77ec993c7409ca24bfc4674104b39d71a623 | C/C++ | 996 | 42 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* 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
*
* htt... |
698bb93fdca2807b5d5ca7683bb4a50ced055f9248e1f7b74d88e4ac0160c6eb | C/C++ | 1,001 | 40 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
aadbbf8a11b4b932ce885e9d9aa459bdac7c2c6e1eeeb6caa74d6d59d919160c | C/C++ | 1,001 | 34 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
cfb555f7980c3e97b4c728505379a95cb8981de7462ae216ef98b208b2d0c730 | C/C++ | 1,004 | 32 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
cc618b52e98cabef92c500512928428adce044452e1ee45cd23ef7e88438d619 | C/C++ | 1,013 | 34 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
157b5c3ee01393dc645ad76291bd6e2b1402ba2d5c2005285f355362a14f27f5 | C/C++ | 1,017 | 37 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
eb901061e1e3a0d6837d67de741676af4844433bb846975de213a4802e5812e0 | C/C++ | 1,020 | 35 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
74108e68f5973e8673dac474bb919b69fd9a1f112eb44986be06d1c68e869893 | C/C++ | 1,084 | 43 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
8f5d15168528b30d405df77c5a193fede8540b1c55ca479a876c9786a5b7f2f6 | C/C++ | 1,101 | 33 | /* SPC.h
Header for the superparamagnetic clustering functions
Brendan Hasz
haszx010@umn.edu
Aug 2015
David Redish Lab
University of Minnesota, Twin Cities
*/
//#include <math.h>
#ifndef DEF_EDGELIST_LEN //if ALGRAPH has not been included yet,
#include "ALGRAPH.h"
typedef struct ALGRA... |
271beb2400ab9f0580e95d525fd6c4adb6fa40e28c0c4110cc5ad27e3abff23d | C/C++ | 1,112 | 31 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
c959d54a8f6a3d573e9ae50342266dbfe2bfa9f65e18c17a7c3b301283f9ea4f | C/C++ | 1,143 | 43 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
fd7e4e5b2e16acf54a907cbd2806fb00bffbb3cdbb7ea9bd21ee36ecce78a5cc | C/C++ | 1,169 | 47 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* 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
*
* htt... |
43b50343927ea59a298fac004661b1e287dcc00adcd3f8ba37655c3aa0c023b8 | C/C++ | 1,178 | 49 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* 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 ... |
e1084d2d8908bde49657f77d79e0f6ebeaa3af3d3ee3716964dc5f86e7f6b038 | C/C++ | 1,183 | 33 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
930dc0f3c7983cfabf8c94aaa4fe0ffdf4896d7402c494d59b1192c25806b310 | C/C++ | 1,194 | 35 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
b5d7f905d60c0a29963bce96d04bcd7ebcca5ac55d5f908d7680986bf7e01952 | C/C++ | 1,213 | 43 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
7378d6219543003c4b146d07db9b2d911aaf96cf8b5338a536a34a179307eba4 | C/C++ | 1,237 | 36 | /***************************************************************************
*cr
*cr (C) Copyright 1995-2009 The Board of Trustees of the
*cr University of Illinois
*cr All Rights Reserved
*cr
***************************************************************... |
fe2acbcee56843129b074635b763fd11298555bc1c5c6a3a567dca68f8122a60 | C/C++ | 1,249 | 40 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
df78673e1e079e4bd32065ee5b0dd283cda8b441c54e70b03dbfc4872960bbb0 | C/C++ | 1,251 | 45 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
181a2a4962a9ff2a26c69e8b4a2573f4dcf9bcc1ef0183d5f6bf2b74f0550e81 | C/C++ | 1,254 | 44 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
de280e3b1a43832e5d980554b3cbe870c0f28c7c8738e888a6ca0fbfca6e8051 | C/C++ | 1,279 | 65 | /*============================================================================
MetaIO
Copyright 2000-2010 Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without ev... |
0f64ee992e4c4cedbc001386c423502d0e7f5f8f7ecc98b2d1eedf30f84e9f48 | C/C++ | 1,301 | 60 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2019 Imperial College London
* Copyright 2019 Andreas Schuh
*
* 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
*
* htt... |
1a704cb5daa84aaec8eb566bbdce3e3c4ff0ef0fdff7efbd367c991714d123ac | C/C++ | 1,304 | 56 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* 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 ... |
8737aee227780bddd0c3096904f44c55e189d8dc4c88197e31dda227d91a6599 | C/C++ | 1,346 | 31 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
1b2d240c867db66b9192aa3b6701f88db7e6772aaaeff3435577658258f402f3 | C/C++ | 1,349 | 36 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
21ee946f5a7c0b3cc45a4f58d6129b1f8c6966a4c5fddcf6a4459fe197a88e75 | C/C++ | 1,350 | 65 | /*
* SPI.h
*
* Created: 7/21/2018 6:55:47 PM
* Author: DBAharoni
*/
#ifndef SPI_H_
#define SPI_H_
#include "definitions"
//For ATMEGA328P
void init_SPI() {
//SPI_DDR = 0x00;
// Set MOSI and SCK as output, MISO as input
//Set SS as output so SPIF cannot get reset
SPI_DDR |= (1<<MOSI)|(1<<SCK)|(1<<SS);/... |
99725696ddb11be6b2f92ecd7be6cebb8190a17abb9165717a389d31d2a23d05 | C/C++ | 1,354 | 51 | /*******************************************************************************
** MIToolbox.h
** Provides the header files and #defines to ensure compatibility with MATLAB
** and C/C++. By default it compiles to MATLAB, if COMPILE_C is defined it
** links to the C memory allocation functions.
**
** Author: Adam Pococ... |
a39e6f8cac2edb9e2603857072744ef3e9c4c000f146182a18123a692055dfdb | C/C++ | 1,358 | 39 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
8e0b0fb927c4f6395a9d1a88e08519b09ff9c4f8cf8a173f708f521e3662ccd5 | C/C++ | 1,360 | 35 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
ed54747a3c7c2f1a141c3d24ba7791e4f0a391e704a0802a807d4073072ba85b | C/C++ | 1,374 | 38 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
684f1ffd3cbd8a5bf1a9edcffa892cf47219f75da1c5b6f1635a286fb00afa60 | C/C++ | 1,376 | 39 | #ifndef THEMECONTROLLER_H
#define THEMECONTROLLER_H
#include <QObject>
#include <QVector>
// Process-wide theme state. Every window in this app runs its own QML engine
// (the main shell plus one QQuickView per device/panel), and Qt forbids
// sharing one singleton QObject across engines ("must only be accessed from
... |
0f9647f3c5e2ad654342ff9e43c66b52cd514ff70ad32b2adf923e8cb289b3d6 | C/C++ | 1,385 | 51 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
*
* 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... |
5cc7591b257a73bc8d0e68f7672c238d4d0971559df4cadf949beac91ef70da8 | C/C++ | 1,398 | 59 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* 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 ... |
a174c467acce3cb2db992daa9a15be73c48af9d08c7fd62aa2cb38b6db3801e4 | C/C++ | 1,398 | 59 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* 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 ... |
1b428c469af270d29d0419d97573ae15a42793f5da63a5ccbc02405da05d2cda | C/C++ | 1,401 | 56 | /*
Copyright (C) 2025, Oak Ridge National Laboratory
Copyright (C) 2021, Anand Seethepalli and Larry York
Copyright (C) 2020, Courtesy of Noble Research Institute, LLC
File: feature_extraction.h
Authors:
Anand Seethepalli (seethepallia@ornl.gov)
Larry York (yorklm@ornl.gov)
This file is part of RhizoVision Explorer.... |
827c7382efa392a80a0a9a3ca8c6711fb7f5b5f82bf72ec7919c853fcb2ea5f1 | C/C++ | 1,411 | 51 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... |
c73234b8844c9d72660480314ad76931d7f122808d8059c9a6876d1c6773bacc | C/C++ | 1,419 | 34 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
d378da80f7041dd259a99f938832d59405207098a0728f2547f2e985894f53fa | C/C++ | 1,423 | 38 | /*============================================================================
MetaIO
Copyright 2000-2010 Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without ev... |
4d2770eb55b4bebe04a7413e5e027701b1f03568500e5c2e11aeb3197b9fe135 | C/C++ | 1,438 | 54 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2017 Imperial College London
* Copyright 2013-2017 Andreas Schuh
*
* 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
*
... |
aea80aae0d3947659328555bbbd5fe2ded5d26f169e1fc913707582d2a4a9dae | C/C++ | 1,438 | 34 | /* SPDX-License-Identifier: MIT */
/* Copyright (c) 2023–2025 Blaž Ivšić */
/**
* @file simulation.h
* @brief Public API for running a single simulation instance.
*
* This header declares the top-level simulation routine.
* See README and docs for parameter semantics and I/O formats.
*/
#ifndef SIMULATION_H
#def... |
8c612219be5e2c0405625ce912285baba7abcbe1c07d9a91b43394efaa4d38db | C/C++ | 1,440 | 36 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
3a5e5a9ea47cceea12a4248be4adc986d5e799e42f5e0505599641d9242ffeca | C/C++ | 1,447 | 38 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
d6d2d9e7c77ab6c26cbba321ed5a3b6569d08d066be58528f99358141bbb3ed1 | C/C++ | 1,450 | 52 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2017 Imperial College London
* Copyright 2013-2017 Andreas Schuh
*
* 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
*
... |
e9aaf3d0003961e35a815033aa33c0af32f8e75017dec64dfd9408b55718d842 | C/C++ | 1,462 | 47 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
334d6e9c19dafc455dc8e836498df8f89e8ca1996ef912d9d45a3ebc90659029 | C/C++ | 1,479 | 47 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
61afba858826805b32ee69ddff8a65e42e0deaefdd4029bdbf952e067ea1d652 | C/C++ | 1,479 | 45 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
405657ae1f7247827eb25eee2ef7270af9262fd5d39d54b078e5fa5199517611 | C/C++ | 1,482 | 48 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
bd6fb997334872208b8ef66a3479d481182424370670c515f60e7ef7a9776b0f | C/C++ | 1,483 | 45 | /*============================================================================
MetaIO
Copyright 2000-2010 Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without ev... |
8eefe2dbe2ad2756d4559851d136b803eabb3f009bbba86c35f7e60244d0c6a4 | C/C++ | 1,495 | 46 | /*
* Copyright 2022 Google LLC.
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
4b57ea285625984132c0b58d37d0b953d61c9fdd6028c48fa2c5026b2631bc0c | C/C++ | 1,507 | 52 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* 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 ... |
f795d759bea00f6ba98287d70d5fa0d8e09a15d22c2a02a74cac858036b6790a | C/C++ | 1,509 | 58 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.