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/bench/timers/spin_random.h | /*
* 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.
*/
/**
* @defgroup sys_spin_random Spin_random - random CPU delays
* @ingroup sys
* @brief CP... | 1,978 | 26.873239 | 81 | h |
RIOT | RIOT-master/tests/bench/timers/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 Another peripheral timer test application
*
... | 24,260 | 32.008163 | 123 | c |
RIOT | RIOT-master/tests/bench/timers/spin_random.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 sys_spin_random
*
* @{
* @file
* @brief spin_random implementation
*
* @au... | 1,628 | 22.955882 | 82 | c |
RIOT | RIOT-master/tests/bench/timers/print_results.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 Another peripheral timer test application
*
... | 7,153 | 37.256684 | 123 | c |
RIOT | RIOT-master/tests/bench/timers/print_results.h | /*
* 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 Result printing function declarations
*
* @a... | 1,540 | 23.078125 | 124 | h |
RIOT | RIOT-master/tests/bench/timers/bench_timers_config.h | /*
* 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 Configuration definitions for bench_periph_tim... | 6,966 | 26.321569 | 98 | h |
RIOT | RIOT-master/tests/bench/sys_base64/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 Benchmark for th... | 2,796 | 27.252525 | 80 | c |
RIOT | RIOT-master/tests/bench/runtime_coreapis/main.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 Measure runtime of select core ... | 2,028 | 23.154762 | 82 | c |
RIOT | RIOT-master/tests/bench/xtimer/main.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.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief xtimer set / remo... | 6,457 | 21.040956 | 79 | c |
RIOT | RIOT-master/tests/bench/sizeof_coretypes/main.c | /*
* Copyright (C) 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* 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
... | 3,302 | 27.721739 | 94 | c |
RIOT | RIOT-master/tests/bench/xtimer_load/main.c | /*
* Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de>
* Copyright (C) 2019 Freie Universität Berlin
* Copyright (C) 2017 HAW Hamburg
* 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 fi... | 6,551 | 29.90566 | 79 | c |
RIOT | RIOT-master/tests/bench/periph_gpio_ll/main.c | /*
* Copyright (C) 2021 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... | 9,222 | 30.264407 | 79 | c |
RIOT | RIOT-master/tests/bench/msg_pingpong/main.c | /*
* Copyright (C) 2017 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 Measure messages ... | 1,915 | 20.054945 | 76 | c |
RIOT | RIOT-master/tests/leds/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 Test for the on-board LED macro... | 5,188 | 21.175214 | 80 | c |
RIOT | RIOT-master/tests/periph/uart/main.c | /*
* Copyright (C) 2015 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 Manual test application for UAR... | 11,214 | 25.959135 | 90 | c |
RIOT | RIOT-master/tests/periph/i2c/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 Test application for the low-level ... | 12,041 | 22.519531 | 82 | c |
RIOT | RIOT-master/tests/periph/ptp_timer/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 Peripheral PTP c... | 2,051 | 21.8 | 69 | c |
RIOT | RIOT-master/tests/periph/pm/main.c | /*
* Copyright (C) 2016-2018 Bas Stottelaar <basstottelaar@gmail.com>
*
* 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 Power mana... | 5,142 | 21.756637 | 79 | c |
RIOT | RIOT-master/tests/periph/spi/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 Application for testing low-level S... | 18,718 | 30.407718 | 96 | c |
RIOT | RIOT-master/tests/periph/hwrng/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 Low-level random number generator d... | 1,219 | 20.034483 | 80 | c |
RIOT | RIOT-master/tests/periph/wdt/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 Test for wdt Drivers
*
* This test init... | 2,614 | 20.260163 | 80 | c |
RIOT | RIOT-master/tests/periph/flashpage_unittest/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 Unittests for the ``flashpage``... | 2,536 | 25.427083 | 100 | c |
RIOT | RIOT-master/tests/periph/timer_short_relative_set/main.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.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief Peripheral timer ... | 3,039 | 26.387387 | 80 | c |
RIOT | RIOT-master/tests/periph/uart_mode/main.c | /*
* Copyright (C) 2018 Sparkmeter
*
* 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 Manual test application for UART mode on CPUs... | 5,527 | 26.366337 | 101 | c |
RIOT | RIOT-master/tests/periph/ptp_clock/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 Peripheral PTP c... | 6,723 | 25.577075 | 97 | c |
RIOT | RIOT-master/tests/periph/pio/main.c | /*
* Copyright (C) 2021 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,170 | 24.780488 | 93 | c |
RIOT | RIOT-master/tests/periph/rtt/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 Test for low-level Real Time Timer ... | 4,393 | 25.311377 | 97 | c |
RIOT | RIOT-master/tests/periph/eeprom/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 Manual test application for the EEPROM peripheral ... | 7,091 | 22.252459 | 73 | c |
RIOT | RIOT-master/tests/periph/adc/main.c | /*
* Copyright (C) 2014-2015 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 for perip... | 1,514 | 23.836066 | 80 | c |
RIOT | RIOT-master/tests/periph/timer/main.c | /*
* Copyright (C) 2015 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 Peripheral timer test applicati... | 4,670 | 24.95 | 86 | c |
RIOT | RIOT-master/tests/periph/ltdc/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 Test application for the LCD-TFT display controlle... | 2,566 | 25.463918 | 105 | c |
RIOT | RIOT-master/tests/periph/uart_nonblocking/main.c | /*
* Copyright (C) 2019 Benjamin Valentin <benpicco@googlemail.com>
*
* 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 test ... | 2,629 | 30.309524 | 79 | c |
RIOT | RIOT-master/tests/periph/gpio/main.c | /*
* Copyright (C) 2014,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 Test application for GPIO ... | 11,030 | 23.733184 | 93 | c |
RIOT | RIOT-master/tests/periph/timer_periodic/main.c | /*
* Copyright (C) 2020 Beuth Hochschule für Technik 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 Periodic timer test ... | 4,378 | 24.312139 | 88 | c |
RIOT | RIOT-master/tests/periph/pwm/main.c | /*
* Copyright (C) 2014-2015 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 for low-level PWM drivers... | 6,525 | 24.592157 | 79 | c |
RIOT | RIOT-master/tests/periph/qdec/main.c | /*
* Copyright (C) 2017 Gilles DOFFE <gdoffe@gmail.com>
*
* 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 for low-level QDEC driv... | 1,724 | 25.538462 | 90 | c |
RIOT | RIOT-master/tests/periph/qdec/boards_modded/nrf52840dk_mod/include/periph_conf.h | /*
* Copyright (C) 2021 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 boards_nrf52840dk_modded
* @{
*
* @file
* @brief Min... | 1,596 | 20.581081 | 74 | h |
RIOT | RIOT-master/tests/periph/dac/main.c | /*
* Copyright (C) 2014-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 Test case for the low-leve... | 1,494 | 22.730159 | 80 | c |
RIOT | RIOT-master/tests/periph/rtc/main.c | /*
* Copyright (C) 2015 Lari Lehtomäki
*
* 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 for low-level Real Time clock drivers
*... | 5,704 | 22.097166 | 80 | c |
RIOT | RIOT-master/tests/periph/backup_ram/main.c | /*
* Copyright (C) 2019 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 Low-level test for backup RAM
*
* @a... | 2,047 | 24.283951 | 90 | c |
RIOT | RIOT-master/tests/periph/rtt_min/main.c | /*
* Copyright (C) 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.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief Test to figure out RTT_MIN_OFFSET
*
* @author F... | 1,827 | 21.567901 | 77 | c |
RIOT | RIOT-master/tests/pkg/nanors/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 Test application for Reed-Solomon ... | 2,435 | 24.914894 | 93 | c |
RIOT | RIOT-master/tests/pkg/jsmn/simple.c | /*
* Copyright (c) 2010 Serge A. Zaitsev
*
* 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, pu... | 4,256 | 33.330645 | 99 | c |
RIOT | RIOT-master/tests/pkg/micro-ecc/main.c | /*-
* Copyright 2014 Kenneth MacKay
* Copyright 2014 Frank Holtz
* All rights reserved.
*
* 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
* ... | 6,493 | 35.689266 | 98 | c |
RIOT | RIOT-master/tests/pkg/fatfs/main.c | /*
* Copyright (C) 2016 Michel Rottleuthner <michel.rottleuthner@haw-hamburg.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 ... | 11,448 | 26.002358 | 100 | c |
RIOT | RIOT-master/tests/pkg/lua_loader/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 Test custom lua loader ("require" module)
*
* @aut... | 2,907 | 26.17757 | 98 | c |
RIOT | RIOT-master/tests/pkg/lwip/ip.c | /*
* Copyright (C) 2015 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
*
* @author Martine Lenders <mlenders@in... | 6,247 | 26.403509 | 91 | c |
RIOT | RIOT-master/tests/pkg/lwip/main.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.
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Test for ... | 1,281 | 21.103448 | 80 | c |
RIOT | RIOT-master/tests/pkg/lwip/tcp.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
*
* @author Martine Lenders <mlenders@in... | 7,052 | 26.337209 | 85 | c |
RIOT | RIOT-master/tests/pkg/lwip/udp.c | /*
* Copyright (C) 2015 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
*
* @author Martine Lenders <mlenders@in... | 5,010 | 25.513228 | 87 | c |
RIOT | RIOT-master/tests/pkg/cn-cbor/main.c | /*
* Copyright (C) Lorenz Hüther, Mathias Detmers
*
* 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 Unit tests for pkg cn-cbor... | 5,906 | 27.955882 | 77 | c |
RIOT | RIOT-master/tests/pkg/libhydrogen/main.c | /*
* Copyright (C) 2018 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 Test the libhydrogen package
*
* @author... | 2,021 | 21.719101 | 90 | c |
RIOT | RIOT-master/tests/pkg/openwsn_sock_udp/constants.h | /*
* 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
* @brief
* @{
*
* @file
* @brief
*
* @author Martine Lend... | 1,161 | 24.822222 | 79 | h |
RIOT | RIOT-master/tests/pkg/openwsn_sock_udp/stack.h | /*
* 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
* @brief
* @{
*
* @file
* @brief
*
* @author Martine Lend... | 2,715 | 29.516854 | 78 | h |
RIOT | RIOT-master/tests/pkg/openwsn_sock_udp/stack.c | /*
* Copyright (C) 2016 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.
*/
/**
* @ingroup tests
* @{
*
* @file
* @author Martine... | 4,752 | 28.70625 | 79 | c |
RIOT | RIOT-master/tests/pkg/cryptoauthlib_internal-tests/main.c | /*
* Copyright (C) 2019 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 Calls some of the unit tests from the Crypto... | 1,075 | 20.959184 | 72 | c |
RIOT | RIOT-master/tests/pkg/uzlib/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 Test application for the uzlib package
*
* This ... | 4,249 | 36.610619 | 83 | c |
RIOT | RIOT-master/tests/pkg/tinyusb_cdc_msc/main.c | /*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
*
* 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
... | 5,167 | 24.969849 | 80 | c |
RIOT | RIOT-master/tests/pkg/tinyusb_cdc_msc/msc_disk.c | /*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
*
* 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
... | 11,875 | 31.897507 | 92 | c |
RIOT | RIOT-master/tests/pkg/cayenne-lpp/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 Cayenne Low Power Payload example application
*
... | 3,333 | 29.036036 | 84 | c |
RIOT | RIOT-master/tests/pkg/nimble_l2cap_server/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 Server to test and benchmark ra... | 4,799 | 26.428571 | 80 | c |
RIOT | RIOT-master/tests/pkg/nimble_l2cap_server/include/nimble_l2cap_test_conf.h | /*
* 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 Shared configuration for NimBLE... | 1,365 | 21.032258 | 69 | h |
RIOT | RIOT-master/tests/pkg/nimble_l2cap/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 Client to test and benchmark ra... | 9,518 | 26.511561 | 80 | c |
RIOT | RIOT-master/tests/pkg/fatfs_vfs/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 test application for using fatfs with vfs
*... | 15,267 | 33.779043 | 87 | c |
RIOT | RIOT-master/tests/pkg/libbase58/main.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.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief Tests for pkg libba... | 1,479 | 21.769231 | 69 | c |
RIOT | RIOT-master/tests/pkg/wolfcrypt-ed25519-verify/main.c | /*
* Copyright (C) 2019 Daniele Lacamera
*
* 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 examples
* @{
*
* @file
* @brief ed25519 signature verification ap... | 1,968 | 27.536232 | 108 | c |
RIOT | RIOT-master/tests/pkg/wolfcrypt-ed25519-verify/tools/ed25519_sign_msg.c | /*
* Copyright (C) 2019 Daniele Lacamera
*
* 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 <stdint.h>
#include <stdio.h>
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl... | 1,605 | 24.09375 | 69 | c |
RIOT | RIOT-master/tests/pkg/qr-code-generator/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 Test application for the qr-code-generator package... | 3,213 | 26.470085 | 83 | c |
RIOT | RIOT-master/tests/pkg/fff/main.c | /*
* Copyright (C) 2021 Jens Wetterich <jens@wetterich-net.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 Unit test to test the ... | 3,517 | 30.410714 | 93 | c |
RIOT | RIOT-master/tests/pkg/nimble_autoconn_gnrc/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 examples
* @{
*
* @file
* @brief Run IP-over-BLE using the 'a... | 1,054 | 22.977273 | 75 | c |
RIOT | RIOT-master/tests/pkg/elk/main.c | /*
* Copyright (C) 2013-2021 Cesanta Software Limited
* All rights reserved
*
* This software is dual-licensed: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. For the terms of this
* license, see <http://www.g... | 1,503 | 29.693878 | 83 | c |
RIOT | RIOT-master/tests/pkg/hacl/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 unittests
* @{
*
* @file
* @brief HACL* crypto library tests
*
* @author ... | 2,229 | 22.723404 | 75 | c |
RIOT | RIOT-master/tests/pkg/nimble_statconn_gnrc/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 examples
* @{
*
* @file
* @brief Run IP-over-BLE using the 's... | 2,205 | 24.356322 | 75 | c |
RIOT | RIOT-master/tests/pkg/littlefs2/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.
*/
/**
* @{
*
* @file
*/
#include "fs/littlefs2_fs.h"
#include "vfs.h"
#include "mtd.h"
#include "boa... | 9,923 | 25.605898 | 95 | c |
RIOT | RIOT-master/tests/pkg/libcose_encrypt/main.c | /*
* Copyright (C) 2018 Freie Universität Berlin
* 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 ... | 2,596 | 24.97 | 97 | c |
RIOT | RIOT-master/tests/pkg/qcbor/main.c | /*
* Copyright (C) 2018 Aydogan Ersoz
*
* 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 QCBOR library test
*
* @author Aydo... | 4,672 | 33.360294 | 75 | c |
RIOT | RIOT-master/tests/pkg/nimble_ext_adv/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 Test application for build test... | 2,227 | 22.702128 | 78 | c |
RIOT | RIOT-master/tests/pkg/u8g2/main.c | /*
* Copyright (C) 2016 Bas Stottelaar <basstottelaar@gmail.com>
*
* 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 applicatio... | 5,629 | 25.937799 | 86 | c |
RIOT | RIOT-master/tests/pkg/nimble_autoconn_gnrc_ext/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 examples
* @{
*
* @file
* @brief Run IP-over-BLE using the 'a... | 1,054 | 22.977273 | 75 | c |
RIOT | RIOT-master/tests/pkg/ucglib/main.c | /*
* Copyright (C) 2018 Bas Stottelaar <basstottelaar@gmail.com>
*
* 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 applicatio... | 3,378 | 21.230263 | 100 | c |
RIOT | RIOT-master/tests/pkg/micro-ecc-with-hwrng/main.c | /*-
* Copyright 2014 Kenneth MacKay
* Copyright 2014 Frank Holtz
* All rights reserved.
*
* 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
* ... | 4,088 | 32.516393 | 107 | c |
RIOT | RIOT-master/tests/pkg/nimble_netif_ext/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 examples
* @{
*
* @file
* @brief Test extended advertising an... | 1,068 | 22.23913 | 75 | c |
RIOT | RIOT-master/tests/pkg/tweetnacl/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 unittests
* @{
*
* @file
* @brief tweetnacl NaC... | 3,657 | 23.550336 | 86 | c |
RIOT | RIOT-master/tests/pkg/libfixmath_unittests/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... | 1,133 | 26.658537 | 81 | c |
RIOT | RIOT-master/tests/pkg/tinycrypt/main.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 correct loading and li... | 2,366 | 25.010989 | 77 | c |
RIOT | RIOT-master/tests/pkg/tinyvcdiff/main.c | /*
* Copyright (C) 2022 Juergen Fitschen
*
* 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 tinyvcdiff library backend tests
*
* ... | 3,921 | 27.014286 | 81 | c |
RIOT | RIOT-master/tests/pkg/tinyvcdiff/fakemtd.c | /*
* Copyright (C) 2022 Juergen Fitschen
*
* 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
* @ingroup tests
* @brief Fake MTD device
*
* @author Juergen Fitsc... | 2,401 | 21.87619 | 103 | c |
RIOT | RIOT-master/tests/pkg/lvgl/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 LVGL example application
*
* @author Alexan... | 3,893 | 28.953846 | 100 | c |
RIOT | RIOT-master/tests/pkg/spiffs/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.
*/
/**
* @{
*
* @file
*/
#include "fs/spiffs_fs.h"
#include "vfs.h"
#include "mtd.h"
#include "board.... | 10,890 | 26.364322 | 99 | c |
RIOT | RIOT-master/tests/pkg/yxml/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 Tests for the yxml X... | 2,058 | 22.666667 | 69 | c |
RIOT | RIOT-master/tests/pkg/cmsis-nn/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 Sample application for ARM CMSIS-NN packag... | 5,371 | 39.089552 | 122 | c |
RIOT | RIOT-master/tests/pkg/nanocbor/main.c | /*
* Copyright (C) 2018 Koen Zandberg
*
* 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 NanoCBOR library test
*
* @author ... | 2,112 | 25.4125 | 73 | c |
RIOT | RIOT-master/tests/pkg/nanopb/main.c | /*
* Copyright (c) 2011 Petteri Aimonen <jpa at nanopb.mail.kapsi.fi>
*
* This software is provided 'as-is', without any express or
* implied warranty. In no event will the authors be held liable
* for any damages arising from the use of this software.
*
* Permission is granted to anyone to use this software for... | 3,536 | 30.026316 | 77 | c |
RIOT | RIOT-master/tests/pkg/libfixmath/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... | 7,259 | 28.274194 | 100 | c |
RIOT | RIOT-master/tests/pkg/semtech-loramac/main.c | /*
* Copyright (C) 2017 Inria
* 2017 Inria Chile
*
* 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 Semtech LoRaMAC test a... | 2,418 | 26.179775 | 80 | c |
RIOT | RIOT-master/tests/pkg/libschc/main.c | /*
* Copyright (C) 2022 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 Tests for the libSCHC package.
*
... | 20,882 | 29.309144 | 100 | c |
RIOT | RIOT-master/tests/pkg/libschc/unittests.c | /*
* Copyright (C) 2022 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... | 2,534 | 27.806818 | 84 | c |
RIOT | RIOT-master/tests/pkg/nimble_rpble_gnrc_ext/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 examples
* @{
*
* @file
* @brief Test for using rpble in its ... | 1,954 | 23.135802 | 75 | c |
RIOT | RIOT-master/tests/pkg/lwip_sock_ip/constants.h | /*
* 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
* @brief
* @{
*
* @file
* @brief
*
* @author Martine Lend... | 1,835 | 31.785714 | 87 | h |
RIOT | RIOT-master/tests/pkg/lwip_sock_ip/stack.h | /*
* 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
* @brief
* @{
*
* @file
* @brief
*
* @author Martine Lend... | 4,000 | 31.795082 | 80 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.