sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
c39e32d8d4f23f126e85e04c73c4da8e2c296759195f77f183791e37d4d48954
C
41,396
1,112
/** ****************************************************************************** * @file stm32f4xx_hal_adc_ex.c * @author MCD Application Team * @brief This file provides firmware functions to manage the following * functionalities of the ADC extension peripheral: * + Extended fea...
d64507c93d130a66d679f14b8bb6486e8fdcf274f69dbe2ada621dc83b036da7
C
41,691
306
#include "fonts.h" // Dit zijn de bitmaps voor de 3 verschillende fonts static const uint16_t Font7x10 [] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // sp 0x1000, 0x1000, 0x1000, 0x1000, 0x1000, 0x1000, 0x0000, 0x1000, 0x0000, 0x0000, // ! 0x2800, 0x2800, 0x2800, 0x0000, 0x...
a2ae45fc774f0b3263dd2b5c8a19ee0bae22bcdcc57c3cb4a3a49981669f509f
C
42,339
1,122
/** ****************************************************************************** * @file stm32f4xx_hal_rcc.c * @author MCD Application Team * @brief RCC HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Reset and Clock Contr...
cedf97267e39fb60d0a02950ceb32ec33a7c9f753b5b3026c280883e7a5afe79
C
42,923
922
/** ****************************************************************************** * @file stm32f4xx_ll_adc.c * @author MCD Application Team * @brief ADC LL module driver ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelect...
0f5844278dab445619b6bca968f4b5900169ac2b3144c8741160979d0643a0ba
C
43,077
1,393
/* hfile_libcurl.c -- libcurl backend for low-level file streams. Copyright (C) 2015-2017 Genome Research Ltd. Author: John Marshall <jm18@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
64f29e2396b1835b74570ecd86143bf4a00355939127294a26a415b59931ac07
C
43,110
1,641
/* * Copyright (c) 2017-2020 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * ...
21b988b5efff7f437a1605a906784a8b3f845574587f2cd8e31afaf9b84d0e75
C
45,290
1,186
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "lif.h" #include "poisson.h" /* Create the synaptic connections from Pyr neurons*/ void make_connection_pyr(struct LIF *post_neuron, struct LIF *pre_neuron, double w_pyr, double g_pyr, double t_pyr, double d_pyr){ int pre_neuron_id = pre_neuro...
8a6b4f11cf40509a2953eb33d8548cb1cb2aa238d59b0c7b933ed7feddcf7fd5
C
45,729
1,196
/* sam_view.c -- SAM<->BAM<->CRAM conversion. Copyright (C) 2009-2021 Genome Research Ltd. Portions copyright (C) 2009, 2011, 2012 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentatio...
0e047e2d4918a6bafacae6cf3c4d4d0228fca01f76bbdfb5427ac222fd4b0e49
C
45,743
1,535
/* thread_pool.c -- A pool of generic worker threads Copyright (c) 2013-2020 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softwa...
a5ef1155a054d255afb0e479694878dae4810bf07dc6a2d19e0c8b789589e0cc
C
46,368
1,442
/* synced_bcf_reader.c -- stream through multiple VCF files. Copyright (C) 2012-2021 Genome Research Ltd. Author: Petr Danecek <pd3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the ...
c5e5f450317388536aa67dbbcf255bb9eb14b470e4969d69f583a38fa373bf12
C
48,933
1,556
/* hfile_libcurl.c -- libcurl backend for low-level file streams. Copyright (C) 2015-2017, 2019-2020 Genome Research Ltd. Author: John Marshall <jm18@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"...
dd5024fea7fdd5855731bc50f4202cdd0555cb6b8722a5e8dca2091449082518
C
49,904
1,347
/** ****************************************************************************** * @file stm32f4xx_hal_flash_ex.c * @author MCD Application Team * @brief Extended FLASH HAL module driver. * This file provides firmware functions to manage the following * functionalities of the FLASH...
0afed3e0977427923ab68cf8a0432928d607969782b9b789cea0b02262c04e62
C
51,170
1,694
/* * Copyright (c) 2016-2020 Genome Research Ltd. * Author(s): James Bonfield * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, *...
562e92b7192e3fb79611013e492beff6492ec1f5f58c2ec888e9925d2762066d
C
56,940
2,012
/* Copyright (c) 2012-2013 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
0a7b67fba44aaa9d04ffefc8583eb297f8d1860d2373a03d1f448eb3c718527a
C
58,247
1,478
/* LZ4 - Fast LZ compression algorithm Copyright (C) 2011-2017, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
d8900897357a8b249ed370438c32223ea8c6b92879be54db73f0f876abbfa00c
C
63,776
1,498
/* bam_plcmd.c -- mpileup subcommand. Copyright (C) 2008-2015, 2019-2021 Genome Research Ltd. Portions copyright (C) 2009-2012 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fi...
a4ec79a08ca277df93bde7035ca045695ddb430069f87654e38861eaa7755023
C
63,908
2,083
/* The MIT License Copyright (c) 2008 Broad Institute / Massachusetts Institute of Technology 2011, 2012 Attractive Chaos <attractor@live.co.uk> Copyright (C) 2009, 2013-2017 Genome Research Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
3d4a018f69f0f493151993944efd3c8622d0c41dd9eac3a850a8d2259b093194
C
64,000
1,754
/* stats.c -- This is the former bamcheck integrated into samtools/htslib. Copyright (C) 2020-2021 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
a9188f270e82fe4e9211209f9dd1fb0f299ec0e8e452c7f50cdf58b11cc38ed6
C
69,136
2,191
/* bam_markdup.c -- Mark duplicates from a coord sorted file that has gone through fixmates with the mate scoring option on. Copyright (C) 2017-2021 Genome Research Ltd. Author: Andrew Whitwham <aw7@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a co...
af050dc5f3f50dfc5d4caff3b52348e70578b007e181b580108b19fb18347b26
C
77,769
2,110
/** ****************************************************************************** * @file stm32f4xx_hal_adc.c * @author MCD Application Team * @brief This file provides firmware functions to manage the following * functionalities of the Analog to Digital Converter (ADC) peripheral: * ...
bf97adf235e3b1eb7dc337a92903f9a0b3ff9657345845efc52dd6089c2bf4b7
C
78,940
2,214
/* test/sam.c -- SAM/BAM/CRAM API test cases. Copyright (C) 2014-2020 Genome Research Ltd. Author: John Marshall <jm18@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software with...
3ea2c1e1c635287501242d196d5e1c133b755fe4e7dacf85bcaa312c9ca94914
C
80,191
2,740
/* Copyright (c) 2018-2020 Genome Research Ltd. Authors: James Bonfield <jkb@sanger.ac.uk>, Valeriu Ohan <vo2@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain th...
b5c91ae92027d44cc2195960a588e78c4c9228df8c125072fd6256b88638f105
C
81,602
2,568
/* The MIT License Copyright (c) 2008 Broad Institute / Massachusetts Institute of Technology 2011, 2012 Attractive Chaos <attractor@live.co.uk> Copyright (C) 2009, 2013-2021 Genome Research Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
3fa2e09c5f459dde07689e2ebffd20487572b05b09f2601b04185238f0896330
C
82,358
2,428
/** ****************************************************************************** * @file stm32f4xx_hal_tim_ex.c * @author MCD Application Team * @brief TIM HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Timer Extended per...
a0735426572b998d0eb9b46946af618df4a9ba31478c2aa1e1b6017a6aa486c2
C
83,418
1,793
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "lif.h" #include "my_lif.h" void init_pyr(sfmt_t *rng, struct LIF *lif){ strcpy(lif->type,"pyr"); lif->population_id = 0; lif->tau_m = 20.0; lif->Cm = 500.0; //300.0; lif->tau_ref = 2.0; // nalg: lif->V[0] = lif->V_thresh...
60e51269ec7a5c5c2aad11a9f93f0a7469355ab050b36c396bc8eb3f2a6d65aa
C
92,877
2,990
/* hts.c -- format-neutral I/O, indexing, and iterator API functions. Copyright (C) 2008, 2009, 2012-2017 Genome Research Ltd. Copyright (C) 2012, 2013 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
d1245be349dc3c4bbafb298155574bf7f0589ae7526c36a23cc8a729fb38da6d
C
94,513
2,862
/* sam.c -- SAM and BAM file I/O and manipulation. Copyright (C) 2008-2010, 2012-2018 Genome Research Ltd. Copyright (C) 2010, 2012, 2013 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docum...
d53c89756c4cc5ec2d455833eec7aaf5054de626f87c2062682c7e171fa198ec
C
97,055
2,817
/* bam_sort.c -- sorting and merging. Copyright (C) 2008-2021 Genome Research Ltd. Portions copyright (C) 2009-2012 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Author: Martin Pollard <mp15@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this soft...
9d03aa75493f24adc46ae92d8215c89f4d91e6096b2d4ceefb598a698e553451
C
107,337
2,577
/* stats.c -- This is the former bamcheck integrated into samtools/htslib. Copyright (C) 2012-2021 Genome Research Ltd. Author: Petr Danecek <pd3@sanger.ac.uk> Author: Sam Nicholls <sam@samnicholls.net> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
50cfda358f5d2897e12ea32207bd699e81393348d011a551df0e5a82c8d8b52d
C
111,424
3,184
/* Copyright (c) 2012-2013 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
280f16ed4fdc03f8888e33c1feb1723049ec7b0d32e7890daf53ba7506bf3f08
C
120,328
3,405
/* Copyright (c) 2012-2014 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
c4417ca8255c5a6954f091e3b007fd2ade453b3ce40c97b32779c4accadae634
C
121,656
4,034
/* Copyright (c) 2012-2021 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
c0b6b92e1836f0e2dc9341308b3aa1d7d1ad64f4a12aecd50cf00db0323d9572
C
124,272
3,476
/* Copyright (c) 2012-2020 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
906e5a1bebb0ef7a448512dfeaa46b9bba81c522ca57d4bc0f4a5397921a73f0
C
124,850
3,553
/* Copyright (c) 2012-2020 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
98989d92f06ef184e155d591386d666ae089eba9c7039719b68f40af187ff11f
C
132,236
4,639
/* Copyright (c) 2012-2016 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
97ae7de391d5eb96863d3627f682af61f6e4bcf9ceaaad4b6516552628e6a115
C
132,516
3,751
/** ****************************************************************************** * @file stm32f4xx_hal_uart.c * @author MCD Application Team * @brief UART HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Universal Asynchron...
24fbfb38d146b9e85377d0076a8ea2e1397b015e0e63e30f56bb2fbd481d3a79
C
132,665
3,878
/* vcf.c -- VCF/BCF API functions. Copyright (C) 2012, 2013 Broad Institute. Copyright (C) 2012-2017 Genome Research Ltd. Portions copyright (C) 2014 Intel Corporation. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
e15174e12baee3daa62c7f52b5a5278a15043b8bff7aa779b04ea645abc53c08
C
153,739
4,745
/* hts.c -- format-neutral I/O, indexing, and iterator API functions. Copyright (C) 2008, 2009, 2012-2021 Genome Research Ltd. Copyright (C) 2012, 2013 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
16e55130d60edca2b5fa1b709acc76bcd36ae46d3621cc34da27365c389e65eb
C
154,632
4,149
/****************************************************************************** This file is part of the FAST protein structure alignment package, developed by Jianhua Zhu at the Bioinformatics Program of Boston University. ******************************************************************************/ /*=============...
52cea3b09a6f19497d10bd6b6f13538e611cdbe6b32e26f41c8c28e2af364e85
C
155,436
3,784
/** ****************************************************************************** * @file stm32f4xx_hal_rcc_ex.c * @author MCD Application Team * @brief Extension RCC HAL module driver. * This file provides firmware functions to manage the following * functionalities RCC extension p...
d9041fc08868af55cee5765b4188544b6c5855214ddfcbbd81998e1baad021bb
C
164,574
4,832
/* vcf.c -- VCF/BCF API functions. Copyright (C) 2012, 2013 Broad Institute. Copyright (C) 2012-2021 Genome Research Ltd. Portions copyright (C) 2014 Intel Corporation. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software an...
59e95bd1f094ffbab91df439fef902bc05b23bbb246a82b951b425b15e960c40
C
171,897
5,894
/* Copyright (c) 2012-2021 Genome Research Ltd. Author: James Bonfield <jkb@sanger.ac.uk> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
1ed8549e8990486989c07a394ae3608baec4079ead827e87ccc0289d62fce937
C
200,000
6,177
/** ****************************************************************************** * @file stm32f4xx_hal_tim.c * @author MCD Application Team * @brief TIM HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Timer (TIM) periphera...
241156ed095c6ec4e78aad8ca9310027e61dcb162a00b525ae7a59ced9a8d59a
C
200,000
4,679
/* Generated by Cython 0.29.21 */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython...
254390b7427ff82abf5656678c385875f38b3c10f0dba05150e7947166a01cbe
C
200,000
4,720
/* Generated by Cython 0.29.20 */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython...
a139f275ebbebd74af642daea14a62951d8c5c8200f7e4c53274b931b4bb6384
C
200,000
6,188
/** ****************************************************************************** * @file stm32f4xx_hal_i2c.c * @author MCD Application Team * @brief I2C HAL module driver. * This file provides firmware functions to manage the following * functionalities of the Inter Integrated Circ...
f5dc86541f7ebe162190170db9ee31ca0d05136251ea130b493baac7c48058ed
C
200,000
6,282
/* sam.c -- SAM and BAM file I/O and manipulation. Copyright (C) 2008-2010, 2012-2021 Genome Research Ltd. Copyright (C) 2010, 2012, 2013 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docum...
fe4b8779891809b28c7cc3da219bae3551776219a34ab92b2be9430a635ea7ce
C
200,000
7,834
/************************************************************************/ /** Functions to compute cumulative distributions and their inverses **/ /** for the NIfTI-1 statistical types. Much of this code is taken **/ /** from other sources. In particular, the cdflib functions by **/ /** Brown and ...
70aa246aa91ec20fc47c8445d9714f9d90cdfd0033a501a4b79ee1aaf29bcd45
C
200,001
5,557
#define _NIFTI1_IO_C_ #include <nifti/nifti1_io.h> /* typedefs, prototypes, macros, etc. */ /*****===================================================================*****/ /***** Sample functions to deal with NIFTI-1 and ANALYZE files *****/ /*****.............................................................
76d832a6ece4ff2056d0bf703dc294d17e87d6e363ed3396e5c6eeabd27fb40e
C++
42
2
#include "pch.h" #include "UTconstants.h"
56440d1a8617f210386cf12e3e243c95d2641ffe4294e786312900f29e15280a
C++
45
2
#include "pch.h" #include "KinarmDynamics.h"
28bbfc0f6ac29210d9d97af332d2bc4aa6d2073cad90df488dcf42509885e891
C++
46
3
#include "pch.h" #include "UTchannel_data.h"
27316e1ec517bc315157484dfbdcdef1b9bd4a6867246706b6323736b47432f5
C++
48
2
#include "pch.h" #include "UTproduct_strings.h"
6ed22b01b3699b87622665d58039acebb2044951bd37f9fc02184cff7b460637
C++
133
8
#include "pch.h" #include "UTtelemetry.h" const UTTelemetry& UTTelemetry::Current() { static const UTTelemetry tlm; return tlm; }
ff014438fd4aaeb45e423eda61329e2a969f9e7ab0ff47586ae32b5b91ecb5ab
C++
177
8
/* * SPDX-FileCopyrightText: Copyright (c) 2019, NVIDIA CORPORATION. * SPDX-License-Identifier: Apache-2.0 */ #include <benchmark/benchmark.h> // NOLINT BENCHMARK_MAIN();
b20ad711fa06e3ef62f8e3c626e13b3bdc69cff08c60c8b358f38b09e16c99ef
C++
186
5
// pch.cpp: source file corresponding to the pre-compiled header #include "pch.h" // When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
55cd07cdb4248ab0af5f6e8683d5cb4e9d05c53977fdf475e16721e74e3b7d87
C++
248
10
#include "pch.h" #include "RippleInConfig.h" void RippleInConfig::GenerateReport(std::wostream& oss) const { oss << L" " << m_name.c_str() << (m_enabled ? L":\n" : L" disabled\n"); if (m_enabled) { SpikesInConfig::GenerateReport(oss); } }
77df402e85b5f1286403827fb6695e640a2bfbaa0d13de782899b5b0f4d5d5b7
C++
248
10
#include "pch.h" #include "PlexonInConfig.h" void PlexonInConfig::GenerateReport(std::wostream& oss) const { oss << L" " << m_name.c_str() << (m_enabled ? L":\n" : L" disabled\n"); if (m_enabled) { SpikesInConfig::GenerateReport(oss); } }
f92bb2b6a27807db38d91dc2925391cc9dd077507804bfa0b8b79750b0fa7fd4
C++
651
39
/* * ContextSummary.cpp * * Created on: Jan 15, 2018 * Author: Aaron Quinlan */ #include "ContextSummary.h" ContextSummary::ContextSummary() { } ContextSummary::~ContextSummary() { } bool ContextSummary::parseCmdArgs(int argc, char **argv, int skipFirstArgs) { for (_i=_skipFirstArgs; _i < argc; _i++) {...
7195ece1fe6d3d96c90a51538b78b43c2634357d7fa58d07d3654d9156021113
C++
653
30
#include "pch.h" #include "RangeParser.h" #include "RangeParserImpl.h" #include "MLRangeImpl.h" std::optional<ParseRangeResult> ParseRange(const wchar_t* txt) { bool bRet = false; RangeParser_pcb_struct pcb; pcb.pointer = txt; init_RangeParser(&pcb); RangeParser(&pcb); if (pcb.exit_flag == AG_SUCCESS_CODE) { r...
d49cd17c74a763c966fc0d2422d58e1884993ddc7c0918ef8d5f524b4fd3074a
C++
722
35
#include "pch.h" #include "DurationParser.h" #include "DurationParserImpl.h" std::optional<interval_t<double>> ParseDuration(const wchar_t* s) { _ASSERTE(s != nullptr); bool bRet = false; DurationParser_pcb_type pcb; pcb.pointer = s; init_DurationParser(&pcb); DurationParser(&pcb); if (pcb.exit_flag == AG_SUCC...
9765e5f0cbf41c84294afac2374db97f2ea7b062a3b2dc4ad5fc9d501a642a3f
C++
797
18
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
b5de9100d775d26303c853b64d79cf7569b19ce4e197716e551b692250ab8911
C++
797
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
abbde748d4f5e9cd97b257d45cc190a3d2897fc86b93ecc0b2939afa17cb2d96
C++
800
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
ae4ab8bf19831892c78167bd34ca91dd794fb96fa479855e7eb9c92a8afbce76
C++
801
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
b8d9a1b200303e3295caca81b245b859bc71dcc81a075c492776cd8ea7fbe960
C++
801
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
887bda14a4f6d7a2e5ef3882262ffbf903bad4e3dbaa9dd29f3dc9aea25d7b87
C++
802
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
b2b014d34312f2eae19c904bfc03dbeb13727e152f6fa386c7ccc6c995f98588
C++
802
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
2758afb0babb7356ff447c8250a1a9327101eb3b0744e3ecfa6bb957f6302712
C++
803
36
#include "pch.h" #include "CSVParser.h" #include "CSIParserImpl.h" #include "CSVParserImpl.h" template <> std::optional<std::vector<int64_t>> ParseCSV(const wchar_t* txt) { CSIParser_pcb_type pcb; pcb.pointer = txt; init_CSIParser(&pcb); CSIParser(&pcb); if (pcb.exit_flag == AG_SUCCESS_CODE) { return std::move(...
d8379e1fe0426acea8c74905ff16b70955698740e4526ea9d27e488b8044a5e1
C++
804
18
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
bf4585bfa8a389809d0ca44f07f8b9d91f872a447d01598c059a1cf17560f5f4
C++
805
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
272f4679930c2c8b0723e937e1be70c4e27c5f37d8e7a9614079ab409b3bf8ff
C++
806
20
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
dfcb65dccc1b6181733ba77b1c310868aece9a4161013ec8188c5f9af6327098
C++
808
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
d054b1036dc83b0949c0dbf249500d9c48a16da2e021bb8847acc6bb63fe4d74
C++
809
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
468e10769e5537c52cb7e46f0619473631945d2e0031130c9dd81a488e7acab9
C++
811
18
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
1e4424bf25055c0679a81fecbda5fb8a73b683f02b44449989d6a23836783806
C++
813
19
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
5d54d5517d0c18cd255ad81d9e1be1e9e17ba553ef417b92eed792234cf9e681
C++
821
24
#include "mex.h" // MX_API_VER has unfortunately not changed between R2013b and R2014a, // so we use the new MATRIX_DLL_EXPORT_SYM as an ugly hack instead #if defined(__cplusplus) && defined(MATRIX_DLL_EXPORT_SYM) #define EXTERN_C extern namespace matrix{ namespace detail{ namespace noninlined{ namespace mx_a...
c8483c32260e328f4a989c5038b94ade1a4cefa491bf93b14c96637a14aad38a
C++
821
24
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
a4b7d770e19e18dcc33343ef10a8705c5b86e1a2f00b5c56852bd03ad3807587
C++
860
26
/* * summaryHelp.cpp * * Created on: Jan 2, 2019 * Author: Aaron Quinlan */ #include "CommonHelp.h" void summary_help(void) { cerr << "\nTool: bedtools sammary" << endl; cerr << "Version: " << VERSION << "\n"; cerr << "Summary: Report summary statistics of the intervals in a file " << endl ...
07cb6980e6a70535b918a7224b9404891c2b5e56398ad5c9b29eecd9a0fb386c
C++
866
24
#include "mex.h" // MX_API_VER has unfortunately not changed between R2013b and R2014a, // so we use the new MATRIX_DLL_EXPORT_SYM as an ugly hack instead #if defined(__cplusplus) && defined(MATRIX_DLL_EXPORT_SYM) #define EXTERN_C extern namespace matrix{ namespace detail{ namespace noninlined{ namespace mx_a...
c02a92fb6bd5cd30511c42e4b82e8d27842b0254f60e4df6fe937e726a3bc630
C++
881
39
#include "PlusFields.h" #include "SingleLineDelimTextFileReader.h" PlusFields::PlusFields() { } bool PlusFields::initFromFile(SingleLineDelimTextFileReader *fileReader) { size_t numFields = fileReader->getNumFields() - _numOffsetFields; if (size() != numFields) { _fields.resize(numFields); } for (size_t i=0; ...
03aeba840d4194ccaae1e91ef643aeaf3e3265f493740ece0cab4087ced12ad4
C++
920
30
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
d66be9f54dae931038f8ec121733af555b7719e1397d05e42b35f4b34aeb2ade
C++
939
31
#include <RcppArmadillo.h> // [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::plugins(cpp11)]] using namespace Rcpp; using namespace arma; // H - matrix of size k x n // W - matrix of size m x k // V - matrix of size m x k // E - sparse matrix of size m x n // [[Rcpp::export]] double objErr_i( const arma::mat& H,...
c21b7d807985a4f83ef3dcf1b8320a199852794a63d74eeee6145153af72593c
C++
945
21
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
dba2dfc7da6a2e2bad022d59d789d8ed962fb190241ae8c38f8eec7b5a8a878d
C++
949
22
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
86ad0f0d7ceeff2d0bfd72512647609b7e3b00114b1167eae3460a32b82e9d60
C++
959
21
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
1d7496717b5065606c7c2ea586a5cddedb4ea1208266122ef1eddcbae3623ea1
C++
960
22
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
78dd9eeb6c981676de923bb85490f4af6ece295c4e7102cdd3ea8dccc5043cb4
C++
960
30
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
64d08ba789681d5d351fc51291050ec01cc2e4e3b7de9e096f16d71c962b4825
C++
967
22
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
6c8be4fd75e835f55be201a61cb41a00b8aa857281904f9e3de1fd3462ca289f
C++
971
29
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
2cb0450471ab146decc5237484987739269364d857977d04a338fe1adde7a9a8
C++
980
50
/* * ContextComplement.cpp * * Created on: Feb 19, 2015 * Author: nek3d */ #include "ContextComplement.h" ContextComplement::ContextComplement() { setSortedInput(true); setUseMergedIntervals(true); setExplicitBedOutput(true); } ContextComplement::~ContextComplement() { } bool ContextComplement::isVa...
1b4864cf6eb8aec5450ceab82684ddf16e225c0cb99a5ec59b551af6cf048d66
C++
984
29
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
3d3924ffca00d1ee6b5932727003c8ef6b932c40c23011656b67bfebd68e92de
C++
996
32
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
46ee813f74fd225731e41bf773db5816472b1fc666ce268bd8ac4c3d39f655fd
C++
1,016
34
#include "rtmpose_tracker_onnxruntime.h" RTMPoseTrackerOnnxruntime::RTMPoseTrackerOnnxruntime(const std::string& det_model_path, const std::string& pose_model_path, int dectect_interval) :m_rtm_det_ptr(nullptr), m_rtm_pose_ptr(nullptr), m_frame_num(0), m_dectect_interval(dectect_interval) { m_rtm_det_ptr = std::m...
4f864f8abe71b479169e3b423cf12bb4673dcff01c0ff2dee84091e6f6e9efdb
C++
1,042
32
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
dbfb4439ffe3f604b1bb0fb33935fe3a5612071c43b6ba7e175195e8bc9dbb51
C++
1,066
38
#include "inference.h" /** * @brief Inference network * @param image Input image * @param detect_model RTMDet model * @param pose_model RTMPose model * @return Inference result */ std::vector<std::vector<PosePoint>> inference(cv::Mat& image, RTMDet& detect_model, RTMPose& pose_model) { cv::Mat im0; image.copyT...
d80f9bccf9c843725facb26530b5af569410ffa1be16c3aeb51e1f6ba8853022
C++
1,128
34
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
23b5ac02d5c45a723d65b04a57d56b40e1e788497e2a02f88ca34b69d1ffad8c
C++
1,134
54
/** * @file Pump.cpp * @brief Pump implementation — relay-driven syringe pump control. */ #include "Pump.h" Pump::Pump(int8_t pin, uint32_t duration) : Device(pin, OUTPUT, "PUMP") { this->duration = duration; startTimestamp = 0; endTimestamp = 0; isTesting = false; } void Pump::Activate(uint32_t startTs...
1bdce47d0ac88c93df91ae3d07041b93ed736ccf32191b06b222983b973ad633
C++
1,251
37
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
959de7c5bb1b8145b9fd231840a55b0219892ccbc987704d7f4619fb36167d7f
C++
1,257
45
//This file is part of the UTCS/RGM Reach-Grasp-Manipulate experiments // // Copyright(C) 2002-2025 Gil Rivlis // // This program is free software : you can redistribute it and /or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...