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/sys/hashes/sha224.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 sys_hashes
*
* @{
* @file
* @brief SHA224 hash function implementation
*
... | 1,254 | 20.637931 | 69 | c |
RIOT | RIOT-master/sys/hashes/aes128_cmac.c | /*
* Copyright (C) 2016 Fundación 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 sys_hashes_aes128_cmac
* @{
*
* @file
* @brief AES128_CMAC imple... | 2,736 | 22.8 | 77 | c |
RIOT | RIOT-master/sys/crypto/poly1305.c | /*
* Copyright (C) 2016 Andrew Moon (dedicated to the public domain)
* Copyright 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 sys_cryp... | 5,299 | 29.285714 | 76 | c |
RIOT | RIOT-master/sys/crypto/helper.c | /*
* Copyright (C) 2015 Nico von Geyso <nico.geyso@fu-berlin.de>
* Copyright (C) 2015 René Kijewski <rene.kijewski@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 "... | 1,065 | 21.208333 | 69 | c |
RIOT | RIOT-master/sys/crypto/chacha.c | /*
* Copyright (C) 2008 D. J. Bernstein (dedicated to the public domain)
* Copyright (C) 2015 René Kijewski <rene.kijewski@fu-berlin.de>
*
* 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 Sof... | 3,914 | 29.826772 | 92 | c |
RIOT | RIOT-master/sys/crypto/chacha20poly1305.c | /*
* Copyright (C) 2008 D. J. Bernstein (dedicated to the public domain)
* Copyright (C) 2015 René Kijewski <rene.kijewski@fu-berlin.de>
* 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 lev... | 5,813 | 33.2 | 98 | c |
RIOT | RIOT-master/sys/crypto/ciphers.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 sys_crypto
* @{
* @file ciphers.c
* @author Nico von Geyso <nico.geyso@... | 1,085 | 23.681818 | 76 | c |
RIOT | RIOT-master/sys/crypto/chacha_prng.c | /*
* Copyright (C) 2015 René Kijewski <rene.kijewski@fu-berlin.de>
*
* 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 ... | 2,136 | 31.876923 | 88 | c |
RIOT | RIOT-master/sys/crypto/modes/ccm.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 sys_crypto
* @{
*
* @file
* @brief Crypto mode - counter with... | 9,808 | 30.540193 | 86 | c |
RIOT | RIOT-master/sys/crypto/modes/cbc.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 sys_crypto
* @{
*
* @file
* @brief Crypto mode - cipher block... | 2,315 | 25.62069 | 76 | c |
RIOT | RIOT-master/sys/crypto/modes/ecb.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 sys_crypto
* @{
*
* @file
* @brief Crypto mode - electronic c... | 1,544 | 21.071429 | 75 | c |
RIOT | RIOT-master/sys/crypto/modes/ctr.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 sys_crypto
* @{
*
* @file
* @brief Crypto mode - Counter
*
... | 1,663 | 27.20339 | 78 | c |
RIOT | RIOT-master/sys/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.
*/
/**
* @ingroup sys_crypto
* @{
*
* @file
* @brief Offset Codebook (OCB3) AEAD mode as ... | 12,080 | 32.935393 | 85 | c |
RIOT | RIOT-master/sys/universal_address/universal_address.c | /**
* universal address container implementation
*
* Copyright (C) 2014 Martin Landsmann <Martin.Landsmann@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 sys_u... | 11,004 | 28.583333 | 99 | c |
RIOT | RIOT-master/sys/riotboot/flashwrite.c | /*
* Copyright (C) 2019 Inria
* 2019 Freie Universität Berlin
* 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.
*/
/*... | 8,441 | 32.768 | 90 | c |
RIOT | RIOT-master/sys/riotboot/tinyusb_dfu.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.
*/
/**
* @ingroup sys_riotboot_usb_dfu
* @ingroup pkg_tinyusb_dfu
* @{
* @file tinyUSB Device Fir... | 839 | 20.538462 | 71 | c |
RIOT | RIOT-master/sys/riotboot/serial.c | /*
* Copyright (C) 2020 Benjamin Valentin
*
* 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_riotboot_serial
* @{
*
* @file
* @brief Serial Bootloader
*
* ... | 7,767 | 23.582278 | 92 | c |
RIOT | RIOT-master/sys/riotboot/usb_dfu.c | /*
* Copyright (C) 2020 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 sys_riotboot_usb_dfu
* @{
*
* @file
* @brief USB Device Firmware Upgrade i... | 1,080 | 23.022222 | 79 | c |
RIOT | RIOT-master/sys/riotboot/slot.c | /*
* Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de>
* 2017 Inria
* 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.
*/
/*... | 2,605 | 23.584906 | 103 | c |
RIOT | RIOT-master/sys/riotboot/flashwrite_verify_sha256.c | /*
* Copyright (C) 2019 Inria
* 2019 Freie Universität Berlin
* 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.
*/
/*... | 1,570 | 25.183333 | 76 | c |
RIOT | RIOT-master/sys/riotboot/hdr.c | /*
* Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de>
* 2017 Inria
* 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.
*/
/*... | 2,068 | 25.87013 | 92 | c |
RIOT | RIOT-master/sys/stdio_semihosting/stdio_semihosting.c | /*
* Copyright (C) 2020 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 sys
* @{
*
* @file
* @brief STDIO over ARM and RISC-V Semihosting implem... | 4,382 | 24.33526 | 80 | c |
RIOT | RIOT-master/sys/seq/seq.c | /*
* Copyright (C) 2015 Cenk Gündoğan <cnkgndgn@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 sys_seq
* @{
*
* @file
* @brief Serial Number Arith... | 3,948 | 23.836478 | 76 | c |
RIOT | RIOT-master/sys/arduino/include/arduino_board_pwm.h | /*
* Copyright (C) 2023 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 sys_arduino
* @{
*
* @file
* @brief Mapping of... | 5,509 | 32.393939 | 93 | h |
RIOT | RIOT-master/sys/arduino/include/arduino_board.h | /*
* Copyright (C) 2016 Freie Universität Berlin
* 2017 Thomas Perrot <thomas.perrot@tupi.fr>
*
* 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_arduino... | 1,407 | 24.6 | 79 | h |
RIOT | RIOT-master/sys/arduino/include/arduino_board_analog.h | /*
* Copyright (C) 2023 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 sys_arduino
* @{
*
* @file
* @brief Arduino an... | 3,784 | 21.939394 | 85 | h |
RIOT | RIOT-master/sys/stdio_nimble/stdio_nimble.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 sys
* @{
*
* @file
* @brief STDIO over NimBLE implementation
... | 11,211 | 28.427822 | 97 | c |
RIOT | RIOT-master/sys/ztimer/convert_muldiv64.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.
*/
/*... | 3,863 | 27.622222 | 84 | c |
RIOT | RIOT-master/sys/ztimer/periph_rtt.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,860 | 23.663793 | 80 | c |
RIOT | RIOT-master/sys/ztimer/convert_frac.c | /*
* Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de>
* 2020 Freie Universität Berlin
* 2020 Inria
* 2018 Joakim Nohlgård <joakim.nohlgard@eistec.se>
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the fi... | 4,166 | 31.811024 | 80 | c |
RIOT | RIOT-master/sys/ztimer/util.c | /*
* Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de>
* 2020 Inria
* 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.
*/
/*... | 5,006 | 22.617925 | 81 | c |
RIOT | RIOT-master/sys/ztimer/periph_timer.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.
*/
/*... | 3,539 | 26.022901 | 80 | c |
RIOT | RIOT-master/sys/ztimer/convert_shift.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,605 | 25.06 | 80 | c |
RIOT | RIOT-master/sys/ztimer/periph_rtc.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.
*/
/**... | 4,786 | 26.045198 | 83 | c |
RIOT | RIOT-master/sys/ztimer/mock.c | /*
* Copyright (C) 2018 Eistec AB
* 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 direct... | 4,790 | 26.534483 | 103 | c |
RIOT | RIOT-master/sys/ztimer/init.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.
*/
/*... | 14,200 | 32.731591 | 98 | c |
RIOT | RIOT-master/sys/ztimer/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,475 | 22.0625 | 80 | c |
RIOT | RIOT-master/sys/ztimer/core.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.
*/
/*... | 15,088 | 26.585009 | 98 | c |
RIOT | RIOT-master/sys/ztimer/periodic.c | /*
* Copyright (C) 2020 Kaspar Schleiser <kaspar@schleiser.de>
* 2020 Inria
* 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.
*/
/*... | 2,149 | 24 | 80 | c |
RIOT | RIOT-master/sys/ztimer/convert.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,801 | 23.684932 | 80 | c |
RIOT | RIOT-master/sys/uri_parser/uri_parser.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 sys_uri_parser
* @{
*
* @file
* @brief A minimal, non-destructive URI parse... | 11,905 | 27.483254 | 83 | c |
RIOT | RIOT-master/sys/congure/mock/congure_mock.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 "c... | 4,720 | 30.898649 | 80 | c |
RIOT | RIOT-master/sys/congure/quic/congure_quic.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>
*
* See [RFC 9... | 10,029 | 32.771044 | 87 | c |
RIOT | RIOT-master/sys/congure/test/congure_test.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... | 11,251 | 27.414141 | 80 | c |
RIOT | RIOT-master/sys/congure/reno/congure_reno.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 "c... | 1,035 | 27 | 69 | c |
RIOT | RIOT-master/sys/congure/reno/methods/congure_reno_methods.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 <a... | 7,251 | 28.124498 | 80 | c |
RIOT | RIOT-master/sys/congure/abe/congure_abe.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,696 | 28.258621 | 81 | c |
RIOT | RIOT-master/sys/usb/usbus/usbus_control.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 usb_usbus
* @{
* @file
* @brief USBUS control endpoint handling
*
* @author Ko... | 18,441 | 33.862004 | 98 | c |
RIOT | RIOT-master/sys/usb/usbus/usbus_fmt.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 usb_usbus_fmt
* @{
* @file
* @brief USBUS protocol message formatting functions
... | 9,034 | 28.917219 | 78 | c |
RIOT | RIOT-master/sys/usb/usbus/usbus_control_slicer.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 usb_usbus
* @{
* @file
* @brief USBUS multipart control message handling
*
* @a... | 2,975 | 27.615385 | 78 | c |
RIOT | RIOT-master/sys/usb/usbus/usbus.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 usb_usbus
* @{
* @file
* @brief USBUS USB manager thread, handles USB interaction... | 18,057 | 30.134483 | 95 | c |
RIOT | RIOT-master/sys/usb/usbus/msc/msc.c | /*
* Copyright (C) 2019-2021 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 usbus_msc
* @{
*
* @author Dylan Laduranty <dylan.laduranty@mesotic.com>
* @}
... | 15,789 | 31.895833 | 90 | c |
RIOT | RIOT-master/sys/usb/usbus/msc/scsi.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 usbus_msc
* @{
*
* @note SCSI is a big endian protocol and
* USB tr... | 13,892 | 34.623077 | 84 | c |
RIOT | RIOT-master/sys/usb/usbus/dfu/dfu.c | /*
* Copyright (C) 2020 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 usbus_dfu
* @{
* @file USBUS implementation for device firmware upgrade
*
*
* @auth... | 10,676 | 33.003185 | 92 | c |
RIOT | RIOT-master/sys/usb/usbus/hid/hid.c | /*
* Copyright (C) 2020 Nils Ollrogge
*
* 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 usbus_hid
* @{
* @file
*
* @author Nils Ollrogge <nils.ollrogge@fu-berlin.de>
* ... | 7,420 | 30.444915 | 80 | c |
RIOT | RIOT-master/sys/usb/usbus/hid/hid_io.c | /*
* Copyright (C) 2021-2022 Nils Ollrogge
*
* 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 usbus_hid_io
* @{
* @file
*
* @author Nils Ollrogge <nils.ollrogge@fu-berlin... | 2,344 | 22.686869 | 78 | c |
RIOT | RIOT-master/sys/usb/usbus/cdc/ecm/cdc_ecm_netdev.c | /*
* Copyright (C) 2019 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 usbus_cdc_ecm
* @{
* @file Netdev implementation for ethernet control model
*
* @a... | 6,177 | 27.734884 | 79 | c |
RIOT | RIOT-master/sys/usb/usbus/cdc/ecm/cdc_ecm.c | /*
* Copyright (C) 2019 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 usbus_cdc_ecm
* @{
* @file USBUS implementation for ethernet control model
*
* @au... | 12,662 | 33.693151 | 97 | c |
RIOT | RIOT-master/sys/usb/usbus/cdc/acm/cdc_acm.c | /*
* Copyright (C) 2018 Dylan Laduranty
*
* 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 usbus_cdc_acm
* @{
* @file
*
* @author Dylan Laduranty <dylan.laduranty@mesotic... | 14,898 | 35.517157 | 94 | c |
RIOT | RIOT-master/sys/usb/usbus/cdc/acm/cdc_acm_stdio.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 sys
* @{
*
* @file
* @brief CDC ACM stdio implementation for USBUS CDC ACM
*
* T... | 1,876 | 21.614458 | 72 | c |
RIOT | RIOT-master/sys/senml/saul.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.
*/
#include "nanocbor/nanocbor.h"
#include "saul_reg.h"
#include "senml.h"
#include "senml/cbor.h"
#inclu... | 2,866 | 27.67 | 80 | c |
RIOT | RIOT-master/sys/senml/senml.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.
*/
#include "senml.h"
const char *senml_unit_to_str(senml_unit_t unit)
{
switch (unit) {
case SE... | 7,204 | 55.289063 | 69 | c |
RIOT | RIOT-master/sys/senml/cbor.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.
*/
#include "senml.h"
#include "senml/cbor.h"
#include "nanocbor/nanocbor.h"
static int senml_encode_num... | 5,282 | 32.865385 | 87 | c |
RIOT | RIOT-master/sys/senml/phydat.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.
*/
#include <stdint.h>
#include "math.h"
#include "senml.h"
#include "senml/phydat.h"
static uint8_t ... | 4,951 | 31.155844 | 95 | c |
RIOT | RIOT-master/sys/usb_board_reset/usb_board_reset.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 sys
* @{
* @file
*
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
* @}
*/
#def... | 2,297 | 25.72093 | 78 | c |
RIOT | RIOT-master/sys/can/dll.c | /*
* Copyright (C) 2016-2018 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 sys_can_dll
* @{
* @file
* @brief CAN Data Link Layer module
*
* T... | 13,269 | 21.958478 | 102 | c |
RIOT | RIOT-master/sys/can/router.c | /*
* Copyright (C) 2016-2018 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 sys_can_dll
* @{
* @file
* @brief Functions for routing RX can frame... | 12,118 | 28.630807 | 125 | c |
RIOT | RIOT-master/sys/can/device.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 sys_can_dll
* @{
* @file
* @brief CAN device interface
*
* @author ... | 19,248 | 31.680815 | 130 | c |
RIOT | RIOT-master/sys/can/conn/isotp.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 sys_can_conn
* @{
* @file
* @brief Implementation of isotp CAN connection... | 10,876 | 24.120092 | 100 | c |
RIOT | RIOT-master/sys/can/conn/raw.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 sys_can_conn
* @{
* @file
* @brief Implementation of raw CAN connection
... | 8,334 | 26.876254 | 102 | c |
RIOT | RIOT-master/sys/can/isotp/isotp.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 sys_can_isotp
* @{
* @file
* @brief ISO TP high level interface
*
* @au... | 24,525 | 26.403352 | 105 | c |
RIOT | RIOT-master/sys/vfs_util/vfs_util.c | /*
* Copyright (C) 2021 Benjamin Valentin
*
* 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_vfs_util
* @{
* @file
* @brief VFS layer helper functions
* @author ... | 7,539 | 24.646259 | 96 | c |
RIOT | RIOT-master/sys/auto_init/auto_init.c | /**
* Auto initialization for used modules
*
* Copyright (C) 2020 Freie Universität Berlin
* 2020 Kaspar Schleiser <kaspar@schleiser.de>
* 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 to... | 10,743 | 29.609687 | 79 | c |
RIOT | RIOT-master/sys/auto_init/wdt_thread/wdt.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 sys_auto_init
* @{
*
* @file wdt.c
* @brief Watchdog Thre... | 1,316 | 21.322034 | 85 | c |
RIOT | RIOT-master/sys/auto_init/multimedia/auto_init_dfplayer.c | /*
* Copyright 2019 Marian Buschsieweke
*
* 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_auto_init_multimedia
* @{
*
* @file
* @brief Auto initialization... | 1,056 | 20.14 | 85 | c |
RIOT | RIOT-master/sys/auto_init/security/auto_init_atca.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 sys_auto_init
* @{
* @file
* @brief Initializes cryptoauth devices
*
* @a... | 819 | 21.162162 | 88 | c |
RIOT | RIOT-master/sys/auto_init/usb/auto_init_usb.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 sys_auto_init
* @{
* @file
* @brief initializes USBUS, usb devices and han... | 3,661 | 27.609375 | 78 | c |
RIOT | RIOT-master/sys/auto_init/can/init.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 sys_auto_init
* @{
* @file
* @brief initializes can device init function
... | 1,328 | 20.435484 | 83 | c |
RIOT | RIOT-master/sys/auto_init/can/auto_init_mcp2515.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 sys_auto_init
* @{
* @file
* @brief initializes mcp2515 can device
*
* @aut... | 1,873 | 31.877193 | 101 | c |
RIOT | RIOT-master/sys/auto_init/can/auto_init_periph_can.c | /*
* Copyright (C) 2016-2018 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 sys_auto_init
* @{
* @file
* @brief initializes periph_can devices
... | 1,535 | 26.927273 | 85 | c |
RIOT | RIOT-master/sys/auto_init/wdt_event/wdt.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 sys_auto_init
* @{
*
* @file wdt.c
* @brief Watchdog Even... | 1,116 | 22.270833 | 98 | c |
RIOT | RIOT-master/sys/auto_init/screen/auto_init_periph_ltdc.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 sys_auto_init
* @{
* @file
* @brief initializes LTDC peripheral display device
*... | 950 | 20.133333 | 69 | c |
RIOT | RIOT-master/sys/auto_init/screen/auto_init_lvgl.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 sys_auto_init
* @{
* @file
* @brief initializes lvgl high level GUI api
*
* @au... | 1,541 | 22.014925 | 88 | c |
RIOT | RIOT-master/sys/auto_init/screen/auto_init_stmpe811.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 sys_auto_init
* @{
* @file
* @brief initializes stmpe811 display device
*
* @au... | 1,420 | 25.811321 | 84 | c |
RIOT | RIOT-master/sys/auto_init/screen/init.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 sys_auto_init
* @{
* @file
* @brief automatically initializes screen display and ... | 1,611 | 24.587302 | 74 | c |
RIOT | RIOT-master/sys/auto_init/screen/auto_init_st7735.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 sys_auto_init
* @{
* @file
* @brief initializes lcd display device
*
* @author ... | 1,523 | 23.190476 | 79 | c |
RIOT | RIOT-master/sys/auto_init/screen/auto_init_ili9341.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 sys_auto_init
* @{
* @file
* @brief initializes lcd display device
*
* @author ... | 1,543 | 23.507937 | 80 | c |
RIOT | RIOT-master/sys/auto_init/screen/auto_init_cst816s.c | /*
* Copyright (C) 2022 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 sys_auto_init
* @{
* @file
* @brief initializes cst816s display device
*
* @aut... | 1,338 | 25.254902 | 81 | c |
RIOT | RIOT-master/sys/auto_init/screen/auto_init_ft5x06.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 sys_auto_init
* @{
* @file
* @brief initializes ft5x06 touch panel device
*
* @... | 1,380 | 25.056604 | 79 | c |
RIOT | RIOT-master/sys/auto_init/include/auto_init_priorities.h | /*
* Copyright (C) 2022 Otto-von-Guericke-Universität Magdebug
*
* 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_auto_init
*
* @{
* @file
* @brief Priority ... | 9,467 | 22.729323 | 69 | h |
RIOT | RIOT-master/sys/suit/handlers.c | /*
* Copyright (C) 2019 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 sys_suit
* @{
*
* @file
* @brief SUIT content handler helper functions
... | 4,630 | 28.125786 | 80 | c |
RIOT | RIOT-master/sys/suit/policy.c | /*
* Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de>
* 2019 Inria
* 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.
*/
/**... | 809 | 20.891892 | 69 | c |
RIOT | RIOT-master/sys/suit/suit.c | /*
* Copyright (C) 2018 Freie Universität Berlin
* Copyright (C) 2019 Kaspar Schleiser <kaspar@schleiser.de>
* 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,278 | 24.58 | 70 | c |
RIOT | RIOT-master/sys/suit/handlers_common.c | /*
* Copyright (C) 2019 Koen Zandberg
* 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 sys_suit
* @{
*
* @file
* @brief SUIT handler... | 3,955 | 30.648 | 80 | c |
RIOT | RIOT-master/sys/suit/handlers_global.c | /*
* Copyright (C) 2019 Koen Zandberg
* 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 sys_suit
* @{
*
* @file
* @brief SUIT handler... | 3,132 | 28.009259 | 74 | c |
RIOT | RIOT-master/sys/suit/conditions.c | /*
* Copyright (C) 2019 Koen Zandberg
* 2019 Inria
* 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.
*/
/**
* @ingro... | 1,598 | 22.514706 | 79 | c |
RIOT | RIOT-master/sys/suit/handlers_command_seq.c | /*
* Copyright (C) 2019 Koen Zandberg
* 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 sys_suit
* @{
*
* @file
* @brief SUIT Handler... | 19,933 | 31.51876 | 96 | c |
RIOT | RIOT-master/sys/suit/handlers_envelope.c | /*
* Copyright (C) 2019 Koen Zandberg
* 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 sys_suit
* @{
*
* @file
* @brief SUIT handler... | 5,536 | 31.19186 | 82 | c |
RIOT | RIOT-master/sys/suit/storage/storage.c | /*
* Copyright (C) 2020 Koen Zandberg
* 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 sys_suit_storage
* @{
*
* @file
* @brief SUI... | 2,349 | 24.824176 | 81 | c |
RIOT | RIOT-master/sys/suit/storage/flashwrite.c | /*
* Copyright (C) 2020 Koen Zandberg
* 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 sys_suit_storage
* @{
*
* @file
* @brief SUI... | 6,989 | 27.299595 | 104 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.