repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
RIOT
RIOT-master/tests/sys/crypto/tests-crypto-aes.c
/* * Copyright (C) 2015 Nico von Geyso * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include <string.h> #include <limits.h> #include "embUnit.h" #include "crypto/aes.h" #include "tests...
3,326
27.930435
74
c
RIOT
RIOT-master/tests/sys/crypto/tests-crypto-modes-ocb.c
/* * Copyright (C) 2018 Mathias Tausig * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include "crypto/ciphers.h" #include "crypto/modes/ocb.h" #include "tests-crypto.h" /* Test vectors ...
14,780
32.441176
83
c
RIOT
RIOT-master/tests/sys/crypto/tests-crypto-cipher.c
/* * Copyright (C) 2015 Nico von Geyso * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include <limits.h> #include <string.h> #include "embUnit.h" #include "crypto/ciphers.h" #include "t...
2,321
24.8
69
c
RIOT
RIOT-master/tests/sys/congure_test/main.c
/* * Copyright (C) 2021 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @author Martine S. Lenders <m.lenders@fu-berlin.de> */ #include...
7,515
21.369048
80
c
RIOT
RIOT-master/tests/sys/evtimer_msg/main.c
/* * Copyright (C) 2017 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief evtimer_msg test application * * @au...
3,349
27.389831
113
c
RIOT
RIOT-master/tests/sys/xtimer_hang/main.c
/* * Copyright (C) 2015 Daniel Krebs <github@daniel-krebs.net> * 2015 Kaspar Schleiser <kaspar@schleiser.de> * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for m...
3,158
26.469565
74
c
RIOT
RIOT-master/tests/sys/vfs_iterate_mount/main.c
/* * Copyright (C) Christian Amsüss <chrysn@fsfe.org> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * Mount and unmount a few file systems, demonstrating that * vfs_iterate_mount_d...
3,250
25.008
108
c
RIOT
RIOT-master/tests/sys/ztimer_rmutex_lock_timeout/main.c
/* * Copyright (C) 2020 Freie Universität Berlin, * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief testing ztimer_rmutex_lock_tim...
10,990
28
91
c
RIOT
RIOT-master/tests/sys/xtimer_usleep_short/main.c
/* * Copyright (C) 2017 HAW-Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief xtimer_usleep_short test application * * @...
851
20.3
79
c
RIOT
RIOT-master/tests/sys/usbus_cdc_acm_stdio/main.c
/* * Copyright (C) 2019 Koen Zandberg <koen@bergzand.net> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @file * @brief Basic test for USB CDC ACM functionality. When plugge...
1,411
22.147541
78
c
RIOT
RIOT-master/tests/sys/congure_quic/main.c
/* * Copyright (C) 2021 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @author Martine S. Lenders <m.lenders@fu-berlin.de> */ #include...
6,152
27.09589
81
c
RIOT
RIOT-master/tests/sys/congure_quic/congure_impl.c
/* * Copyright (C) 2021 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @author Martine Lenders <m.lenders@fu-berlin.de> */ #include <s...
1,785
20.518072
69
c
RIOT
RIOT-master/tests/sys/xtimer_overhead/overhead.c
/* * Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de> * 2020 Freie Universität Berlin * 2020 Inria * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /*...
1,033
20.102041
80
c
RIOT
RIOT-master/tests/sys/usbus_board_reset/main.c
/* * Copyright (C) 2022 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @file * @brief Simple shell application to test the USB board reset function * * @aut...
1,504
21.80303
79
c
RIOT
RIOT-master/tests/sys/xtimer_usleep/main.c
/* * Copyright (C) 2017 Inria * 2017 Freie Universität Berlin * 2018 Josua Arndt * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * ...
2,418
24.197917
90
c
RIOT
RIOT-master/tests/sys/fmt_print/main.c
/* * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief fmt print test ap...
1,428
22.816667
85
c
RIOT
RIOT-master/tests/sys/xtimer_drift/main.c
/* * Copyright (C) 2017 HAW Hamburg * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> * Copyright (C) 2015 Eistec AB * 2013 INRIA * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for mo...
5,600
30.290503
91
c
RIOT
RIOT-master/tests/sys/ztimer64_msg/main.c
/* * Copyright (C) 2015-19 Kaspar Schleiser <kaspar@schleiser.de> * 2013 INRIA * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingr...
3,858
24.222222
82
c
RIOT
RIOT-master/tests/sys/heap_cmd/main.c
/* * Copyright (C) 2019 Gunar Schorcht <gunar@schorcht.net> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @file * @brief Shell-based test application for heap functions * ...
1,643
22.485714
82
c
RIOT
RIOT-master/tests/sys/usbus_cdc_ecm/main.c
/* * Copyright (C) 2019 Koen Zandberg <koen@bergzand.net> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for t...
1,236
25.319149
75
c
RIOT
RIOT-master/tests/sys/ztimer_xsec/main.c
/* * Copyright (C) 2021 TUBA Freiberg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief high level ztimer test application * * @author ...
2,018
24.884615
81
c
RIOT
RIOT-master/tests/sys/xtimer_mutex_lock_timeout/main.c
/* * Copyright (C) 2019 Freie Universität Berlin, * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief testing xtimer_mutex_lock_time...
10,529
28.25
90
c
RIOT
RIOT-master/tests/sys/prng_sha1prng/main.c
/* * Copyright (C) 2020 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * * @file * @brief Test cases for the SHA1PRNG pseudo random number generator * * @author...
2,080
24.072289
79
c
RIOT
RIOT-master/tests/sys/ztimer_mutex_lock_timeout/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application...
2,779
28.263158
90
c
RIOT
RIOT-master/tests/sys/fido2_ctap/main.c
/* * Copyright (C) 2021 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * @file * @brief FIDO2 CTAP test application that creat...
798
20.594595
73
c
RIOT
RIOT-master/tests/sys/ptrtag/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application...
1,400
21.596774
74
c
RIOT
RIOT-master/tests/sys/conn_can/main.c
/* * Copyright (C) 2016 OTA keys S.A. * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup tests * @{ * * @file * @brief main * * @author Vincent Dupont <vi...
19,236
24.856183
80
c
RIOT
RIOT-master/tests/sys/cpp_ctors/main.c
/* * Copyright (C) 2016-2017 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include "embUnit.h" #include "tests-cpp_ctors.h" #include "thread.h" /* For thread_getpid() */ long...
1,764
25.742424
70
c
RIOT
RIOT-master/tests/sys/suit_manifest/main.c
/* * Copyright (C) 2019 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Tests for suit manifest parser module * * @author ...
3,182
24.878049
79
c
RIOT
RIOT-master/tests/sys/suit_manifest/include/riotboot/flashwrite.h
/* * Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #ifndef RIOTBOOT_FLASHWRITE_H #define RIOTBOOT_FLASHWRITE_H #ifdef __cpluspl...
1,173
21.576923
72
h
RIOT
RIOT-master/tests/sys/event_ztimer/main.c
/* * Copyright (C) 2021 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief event_timeout application using ztimer * * @auth...
4,049
29.451128
83
c
RIOT
RIOT-master/tests/sys/c11_atomics_cpp_compat/main.c
/* * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Compile test to ...
7,811
80.375
130
c
RIOT
RIOT-master/tests/sys/xtimer_longterm/main.c
/* * Copyright (C) 2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief xtimer_msg test application * ...
4,452
24.445714
80
c
RIOT
RIOT-master/tests/sys/pthread_condition_variable/main.c
/* * Copyright (C) 2014 Hamburg University of Applied Sciences (HAW) * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief simple condition va...
2,136
21.978495
96
c
RIOT
RIOT-master/tests/sys/phydat_unix/main.c
/* * Copyright (C) 2023 Silke Hofstra * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Phydat Unix timestamp tests * * @author ...
5,540
24.892523
100
c
RIOT
RIOT-master/tests/sys/architecture/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for...
3,965
33.486957
84
c
RIOT
RIOT-master/tests/sys/cb_mux_bench/main.c
/* * Copyright (C) 2018 Acutam Automation, LLC * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief cb_mux benchmark application * ...
1,949
20.428571
76
c
RIOT
RIOT-master/tests/sys/sema/main.c
/* * Copyright (C) 2020 Freie Universität Berlin, * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief testing sema * * * @author ...
3,127
22.877863
69
c
RIOT
RIOT-master/tests/sys/struct_tm_utility/main.c
/* * Copyright (C) 2014 René Kijewski <rene.kijewski@fu-berlin.de> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
4,007
26.265306
91
c
RIOT
RIOT-master/tests/sys/phydat_dump/main.c
/* * Copyright (C) 2020 Gunar Schorcht * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * * @file * @brief Visual test for the conversion from phydat to a...
3,683
46.230769
89
c
RIOT
RIOT-master/tests/sys/usbus/main.c
/* * Copyright (C) 2019 Koen Zandberg <koen@bergzand.net> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Tests USB interaction ...
10,906
29.898017
83
c
RIOT
RIOT-master/tests/sys/devfs/main.c
/* * Copyright (C) 2016 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @brief Unittests for DevFS * * @author Joakim Nohlgård <joakim.nohlg...
4,619
22.571429
82
c
RIOT
RIOT-master/tests/sys/progress_bar/main.c
/* * Copyright (C) 2019 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief progress_bar test application * * @author A...
1,679
21.702703
95
c
RIOT
RIOT-master/tests/sys/evtimer_mbox/main.c
/* * Copyright (C) 2020 Simon Brummer <simon.brummer@posteo.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief evtimer_mbox test appli...
2,096
22.3
74
c
RIOT
RIOT-master/tests/sys/xtimer_msg_receive_timeout/main.c
/* * Copyright (C) 2015 INRIA * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief test application...
1,218
21.574074
73
c
RIOT
RIOT-master/tests/sys/sema_inv/main.c
/* * Copyright (C) 2021 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Inverse Semaphore Test Application * * @...
3,051
22.84375
77
c
RIOT
RIOT-master/tests/sys/malloc_thread_safety/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application...
5,559
32.902439
97
c
RIOT
RIOT-master/tests/sys/xtimer_periodic_wakeup/main.c
/* * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief timer test applic...
1,729
23.366197
109
c
RIOT
RIOT-master/tests/sys/senml_phydat/main.c
/* * Copyright (C) 2021 Silke Hofstra * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief SenML Phydat tests * * @author Silk...
5,277
28.988636
95
c
RIOT
RIOT-master/tests/sys/cb_mux/main.c
/* * Copyright (C) 2018 Acutam Automation, LLC * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief cb_mux test application * * @au...
2,942
20.639706
70
c
RIOT
RIOT-master/tests/sys/event_source/main.c
/* * Copyright (C) 2022 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Event Source test application * ...
1,338
22.491228
87
c
RIOT
RIOT-master/tests/sys/frac-config/main.c
/* * Copyright (C) 2018 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup tests * @{ * * @file * @brief Frac library static configuration helper * *...
1,313
22.890909
94
c
RIOT
RIOT-master/tests/sys/pthread_rwlock/main.c
/* * Copyright (C) 2014 René Kijewski <rene.kijewski@fu-berlin.de> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
4,968
27.232955
81
c
RIOT
RIOT-master/tests/sys/pthread_tls/main.c
/* * Copyright (C) 2014 Hamburg University of Applied Sciences (HAW) * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief pthread tls test appl...
3,866
23.788462
76
c
RIOT
RIOT-master/tests/sys/shell/main.c
/* * Copyright (C) 2013 Kaspar Schleiser <kaspar@schleiser.de> * Copyright (C) 2013 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @file * @brief s...
3,441
21.496732
80
c
RIOT
RIOT-master/tests/sys/xtimer_now_irq/main.c
/* * Copyright (C) 2020 Freie Universität Berlin, * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief testing xtimer_now_usec functi...
1,202
21.698113
69
c
RIOT
RIOT-master/tests/sys/entropy_source/main.c
/* * Copyright (C) 2020 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for Entropy Sources * * @...
2,546
24.727273
86
c
RIOT
RIOT-master/tests/sys/atomic_utils_unittests/main.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Unittests for th...
8,840
31.032609
74
c
RIOT
RIOT-master/tests/sys/malloc/main.c
/* * Copyright (C) 2013 Benjamin Valentin <benpicco@zedat.fu-berlin.de> * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup tests * @{ * * @file * @brief Simple malloc/fr...
4,088
23.781818
99
c
RIOT
RIOT-master/tests/sys/event_periodic_callback/main.c
/* * Copyright (C) 2022 ML!PA Consulting GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Periodic Callback test application...
1,312
23.314815
91
c
RIOT
RIOT-master/tests/sys/event_wait_timeout_ztimer/main.c
/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application to test event ...
3,801
26.550725
82
c
RIOT
RIOT-master/tests/sys/ztimer_periodic/main.c
/* * Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de> * 2020 Freie Universität Berlin * 2020 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /*...
2,988
23.908333
99
c
RIOT
RIOT-master/tests/sys/ztimer_ondemand_benchmark/main.c
/* * Copyright (C) 2022 SSV Software Systems GmbH * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Benchmarks ztimer_acquire() an...
3,163
24.723577
93
c
RIOT
RIOT-master/tests/sys/xtimer_reset/main.c
/* * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief xtimer re-set tes...
1,496
23.540984
71
c
RIOT
RIOT-master/tests/sys/senml_cbor/main.c
/* * Copyright (C) 2021 Silke Hofstra * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Short SenML CBOR test * * @author S...
3,663
27.850394
87
c
RIOT
RIOT-master/tests/sys/xtimer_msg/main.c
/* * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> * 2013 INRIA * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup...
3,342
23.947761
82
c
RIOT
RIOT-master/tests/sys/event_wait_timeout/main.c
/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application to test event ...
3,675
24.706294
77
c
RIOT
RIOT-master/tests/sys/ps_schedstatistics/main.c
/* * Copyright (C) 2017 OTA keys S.A. * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief ps schedstatistics...
1,844
22.961039
80
c
RIOT
RIOT-master/tests/sys/pthread_flood/main.c
/* * Copyright (C) 2019 Freie Universität Berlin, * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief pthread test application * * Spawns pt...
2,048
22.825581
77
c
RIOT
RIOT-master/tests/sys/can_trx/main.c
/* * Copyright (C) 2017 OTA keys S.A. * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup tests * @{ * * @file * @brief test a CAN transceiver through can_trx int...
2,616
20.991597
80
c
RIOT
RIOT-master/tests/sys/pipe/main.c
/* * Copyright (C) 2014 René Kijewski <rene.kijewski@fu-berlin.de> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
3,591
26.419847
81
c
RIOT
RIOT-master/tests/sys/congure_abe/main.c
/* * Copyright (C) 2021 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @author Martine S. Lenders <m.lenders@fu-berlin.de> */ #include...
4,054
25.677632
80
c
RIOT
RIOT-master/tests/sys/congure_abe/congure_impl.c
/* * Copyright (C) 2021 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @author Martine Lenders <m.lenders@fu-berlin.de> */ #include <s...
1,655
20.506494
88
c
RIOT
RIOT-master/tests/sys/usbus_msc/main.c
/* * Copyright (C) 2019-2022 Mesotic SAS * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test application for demonstrating USBU...
4,309
23.350282
84
c
RIOT
RIOT-master/tests/sys/pthread_barrier/main.c
/* * Copyright (C) 2014 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief pthread_barrier test * * @author René K...
1,666
20.371795
73
c
RIOT
RIOT-master/tests/sys/pbkdf2/main.c
/* * Copyright (C) 2019 Freie Universität Berlin. * 2022 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file * @br...
3,504
28.70339
89
c
RIOT
RIOT-master/tests/sys/memarray/main.c
/* * Copyright (C) 2018 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Simple memarray module tests * * @author To...
5,126
25.984211
97
c
RIOT
RIOT-master/tests/sys/xtimer_remove/main.c
/* * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief timer test applic...
1,507
21.507463
77
c
RIOT
RIOT-master/tests/sys/ztimer_msg/main.c
/* * Copyright (C) 2015-19 Kaspar Schleiser <kaspar@schleiser.de> * 2013 INRIA * 2017 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingr...
3,878
25.033557
90
c
RIOT
RIOT-master/tests/sys/pthread_cleanup/main.c
/* * Copyright (C) 2014 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief pthread test application * * @author Re...
1,948
23.061728
78
c
RIOT
RIOT-master/tests/sys/sched_round_robin/main.c
/* * Copyright (C) 2020 TUBA Freiberg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * @file * @brief Test sys/sched_round_robin * @author Ka...
1,650
23.641791
83
c
RIOT
RIOT-master/tests/sys/xtimer_now32_overflow/main.c
/* * Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief timer test applic...
1,303
20.733333
76
c
RIOT
RIOT-master/tests/sys/evtimer_underflow/main.c
/* * Copyright (C) 2017 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief evtimer_msg test application * * @au...
2,220
25.440476
72
c
RIOT
RIOT-master/tests/sys/xtimer_rmutex_lock_timeout/main.c
/* * Copyright (C) 2020 Freie Universität Berlin, * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief testing xtimer_rmutex_lock_tim...
11,187
27.984456
80
c
RIOT
RIOT-master/tests/riotboot_flashwrite/main.c
/* * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief riotboot_flashwri...
3,613
26.8
93
c
RIOT
RIOT-master/tests/riotboot_flashwrite/coap_handler.c
/* * Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include "net/nan...
2,664
29.988372
132
c
RIOT
RIOT-master/tests/build_system/external_module_dirs/external_modules/external_module_not_used/this_should_not_compile.c
/* * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test the EXTERNA...
537
20.52
69
c
RIOT
RIOT-master/tests/build_system/external_module_dirs/external_modules/external_module/external_module.c
/* * Copyright (C) 2018 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test the EXTERNAL_MODULE_DIRS f...
822
21.243243
69
c
RIOT
RIOT-master/tests/build_system/warn_conflict/main.c
/* * Copyright (C) 2014 Martin Landsmann <Martin.Landsmann@HAW-Hamburg.de> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option)...
1,092
27.025641
79
c
RIOT
RIOT-master/tests/build_system/xfa/main.c
/* * Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup test * @{ * * @file * @brief cross file array (...
1,050
20.895833
86
c
RIOT
RIOT-master/tests/build_system/test_tools/main.c
/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @file * @brief Specific shell implementation for testing the testing tools. ...
2,878
20.485075
77
c
RIOT
RIOT-master/tests/build_system/cflags_spaces/main.c
/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test the CFLAGS handling * * ...
914
23.72973
89
c
RIOT
RIOT-master/tests/riotboot_hdr/main.c
/* * Copyright (C) 2018 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Tests for module riotboot_hdr * * @author Fran...
2,001
20.297872
69
c
RIOT
RIOT-master/tests/unittests/map.h
/* * Copyright (C) 2012 William Swanson * * 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 without * restriction, including without limitation the rights to use, copy, * modify, merge, ...
2,243
36.4
79
h
RIOT
RIOT-master/tests/unittests/main.c
/* * Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include "map.h" #include "embUnit.h" #include "xtimer.h" #include "zti...
1,419
24.357143
90
c
RIOT
RIOT-master/tests/unittests/tests-analog_util/tests-analog_util.c
/* * Copyright (C) 2018 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include "embUnit.h" #include "tests-analog_util.h" #include "analog_util.h" #define ENABLE_DEBUG 0 #inc...
2,332
30.958904
86
c
RIOT
RIOT-master/tests/unittests/tests-ipv6_hdr/tests-ipv6_hdr.c
/* * Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de> * 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file */...
11,817
28.918987
85
c
RIOT
RIOT-master/tests/unittests/tests-bluetil/tests-bluetil.c
/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include "embUnit.h" #include "tests-bluetil.h" #include "net/bluetil/addr.h" #define ENA...
1,805
26.784615
69
c
RIOT
RIOT-master/tests/unittests/tests-ipv4_addr/tests-ipv4_addr.c
/* * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @{ * * @file */ #include <errno.h> #include <stdint.h> #inclu...
5,184
25.319797
89
c
RIOT
RIOT-master/tests/unittests/tests-sht1x/tests-sht1x.c
/* * Copyright (C) 2018 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ #include <sht1x.h> #include <stdlib.h> #include "container.h" #include "embU...
4,232
30.827068
81
c