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 |
|---|---|---|---|---|---|---|
pmemkv | pmemkv-master/tests/config/config_c.c | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2019-2022, Intel Corporation */
#include "unittest.h"
#include <string.h>
/**
* Tests all config methods using C API
*/
static const int TEST_VAL = 0xABC;
static const int INIT_VAL = 1;
static const int DELETED_VAL = 2;
static const char *PATH = "/some/path";
... | 12,876 | 27.743304 | 82 | c |
pmemkv | pmemkv-master/tests/config/deprecated_config.c | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2019-2021, Intel Corporation */
#include "unittest.h"
/**
* Tests deprecated config methods using C API
*/
static void deprecated_funcs_test()
{
/**
* TEST: add and read data from config, using deprecated functions
*/
pmemkv_config *config = pmemkv_config... | 931 | 21.731707 | 82 | c |
pmemkv | pmemkv-master/tests/common/unittest.h | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2020, Intel Corporation */
#ifndef PMEMKV_UNITTEST_H
#define PMEMKV_UNITTEST_H
#ifdef __cplusplus
extern "C" {
#endif
#include "test_backtrace.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <libpmemkv.h>
#include <libpmemkv_json_config.h>... | 3,040 | 30.677083 | 90 | h |
pmemkv | pmemkv-master/tests/c_api/null_db_config.c | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2020, Intel Corporation */
#include <libpmemkv.h>
#include "unittest.h"
#include <string.h>
/**
* Passing null as 'db' or 'config' in C API produces INVALID_ARGUMENT status
*/
void null_db_all_funcs_test()
{
/**
* TEST: null passed as db to pmemkv_* functio... | 5,756 | 26.15566 | 82 | c |
pmemkv | pmemkv-master/tests/comparator/basic.c | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2020, Intel Corporation */
#include <libpmemkv.h>
#include "unittest.h"
#include <string.h>
static int ARG_VALUE = 0xABC;
static int reverse_three_way_compare(const char *key1, size_t keybytes1, const char *key2,
size_t keybytes2, void *arg)
{
UT_ASSE... | 1,984 | 21.556818 | 90 | c |
pmemkv | pmemkv-master/tests/comparator/default_reopen.c | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2020, Intel Corporation */
#include <libpmemkv.h>
#include <string.h>
#include "unittest.h"
static const char *EXPECTED_ERR_MSG =
"[pmemkv_open] Comparator with name: \"__pmemkv_binary_comparator\" expected";
int compare(const char *k1, size_t kb1, const char ... | 2,456 | 23.818182 | 79 | c |
pmemkv | pmemkv-master/tests/comparator/custom_reopen.c | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2020, Intel Corporation */
#include <libpmemkv.h>
#include <string.h>
#include "unittest.h"
static const char *EXPECTED_ERR_MSG =
"[pmemkv_open] Comparator with name: \"valid_cmp\" expected";
int compare(const char *k1, size_t kb1, const char *k2, size_t kb2, ... | 2,709 | 23.636364 | 78 | c |
null | SFUISE-main/sfuise/include/Accumulator.h | #pragma once
#include <array>
#include <chrono>
#include <unordered_map>
#include <eigen3/Eigen/Dense>
#include <eigen3/Eigen/Sparse>
#include <eigen3/Eigen/CholmodSupport>
template <class T>
using SparseLLT = Eigen::CholmodSupernodalLLT<T>;
class SparseHashAccumulator
{
public:
typedef Eigen::Matrix<double, E... | 3,015 | 26.925926 | 87 | h |
null | SFUISE-main/sfuise/include/Residuals.h | #pragma once
#include "utils/math_tools.h"
#include "SplineState.h"
class Residuals
{
public:
static Eigen::Matrix<double, 6, 1> imuResidual(int64_t time_ns, const SplineState* spl,
const Eigen::Vector3d* acc, const Eigen::Vector3d* gyro, const Eigen::Vector3d& g)
{
Eigen::Quaterniond q_itp;... | 7,139 | 43.90566 | 118 | h |
null | SFUISE-main/sfuise/include/Linearizer.h | #pragma once
#include "utils/common_utils.h"
#include "utils/math_tools.h"
#include "Accumulator.h"
#include "SplineState.h"
#include "Residuals.h"
struct Parameters {
bool if_opt_g;
bool if_opt_transform;
bool if_reject_uwb;
bool if_reject_uwb_in_optimization;
double w_uwb;
double w_acc;
... | 24,226 | 47.454 | 128 | h |
null | SFUISE-main/sfuise/include/SplineState.h | #pragma once
#include "utils/common_utils.h"
#include "utils/math_tools.h"
#include "sfuise_msgs/Spline.h"
#include "sfuise_msgs/Knot.h"
template <class MatT>
struct JacobianStruct {
size_t start_idx;
std::vector<MatT> d_val_d_knot;
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
};
typedef JacobianStruct<double> Jacobi... | 20,824 | 35.471103 | 112 | h |
null | SFUISE-main/sfuise/include/utils/PoseVisualization.h | #pragma once
#include <ros/ros.h>
#include <std_msgs/ColorRGBA.h>
#include <visualization_msgs/Marker.h>
#include <Eigen/Dense>
#include <Eigen/Geometry>
class PoseVisualization
{
public:
PoseVisualization() : scale(0.3), line_width(0.023) {};
void setColor(float r, float g, float b, float a = 1.0) {
... | 4,537 | 37.134454 | 124 | h |
null | SFUISE-main/sfuise/include/utils/common_utils.h | #pragma once
#include <ros/ros.h>
#include <eigen3/Eigen/Core>
#include <eigen3/Eigen/Dense>
#include <deque>
#include <map>
#include <unordered_map>
#include <vector>
#include "geometry_msgs/PoseStamped.h"
namespace Eigen {
template <typename T>
using aligned_vector = std::vector<T, Eigen::aligned_allocator<T>>;
t... | 3,020 | 25.734513 | 123 | h |
null | SFUISE-main/sfuise/include/utils/math_tools.h | #pragma once
#include <eigen3/Eigen/Geometry>
#include <eigen3/Eigen/Dense>
#include <boost/math/special_functions/sinc.hpp>
#include <cmath>
class Quater
{
public:
static void Qleft(const Eigen::Quaterniond &q, Eigen::Matrix4d &ans)
{
double q1 = q.w();
double q2 = q.x();
double q3 ... | 5,545 | 29.640884 | 107 | h |
RIOT | RIOT-master/core/mbox.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 core_mbox
* @{
*
* @file
* @brief mailbox imple... | 3,453 | 25.984375 | 75 | c |
RIOT | RIOT-master/core/thread.c | /*
* 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.
*/
/**
* @ingroup core_thread
* @{
*
* @file
* @brief Threading implementation
... | 9,189 | 24.457064 | 93 | c |
RIOT | RIOT-master/core/sched.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 core_sched
* @{
*
* @file
* @brief Scheduler implementat... | 11,268 | 29.374663 | 100 | c |
RIOT | RIOT-master/core/cond.c | /*
* Copyright (C) 2016 Sam Kumar <samkumar@berkeley.edu>
* 2016 University of California, Berkeley
*
* This file is subject to the 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 core_... | 1,958 | 21.011236 | 72 | c |
RIOT | RIOT-master/core/msg.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 core_msg
* @{
*
* @file
* @brief Kernel messaging implementat... | 13,572 | 25.101923 | 84 | c |
RIOT | RIOT-master/core/thread_flags.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 core_thread
* @{
*
* @file
* @brief thread flag... | 3,938 | 23.61875 | 81 | c |
RIOT | RIOT-master/core/mutex.c | /*
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
* 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.
*/
/**
* @ingroup core_sync
... | 9,027 | 28.89404 | 80 | c |
RIOT | RIOT-master/core/lib/atomic_c11.c | /*
* Copyright (C) 2015-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.
*/
/**
* @ingroup core_util
* @{
*
* @file
*
* @brief Implementation of C11 atomic operati... | 15,614 | 38.732824 | 97 | c |
RIOT | RIOT-master/core/lib/clist.c | /*
* Copyright (C) 2017 Inria
* 2017 Freie Universität Berlin
* 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.
*
* T... | 4,934 | 31.045455 | 79 | c |
RIOT | RIOT-master/core/lib/atomic_sync.c | /*
* Copyright (C) 2015-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.
*/
/**
* @ingroup core_util
* @{
*
* @file
*
* @brief Implementation of __sync atomic oper... | 10,331 | 41.344262 | 99 | c |
RIOT | RIOT-master/core/lib/priority_queue.c | /*
* Copyright (C) 2013, 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 core_util
* @{
*
* @file
* @brief A simple priority que... | 2,208 | 23.01087 | 80 | c |
RIOT | RIOT-master/core/lib/init.c | /*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
* 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.
*/
/**
* @ingroup core_inter... | 2,731 | 20.015385 | 84 | c |
RIOT | RIOT-master/core/lib/ringbuffer.c | /**
* Ringbuffer implementation
*
* Copyright (C) 2013 Freie Universität Berlin
* Copyright (C) 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 more details.
*
* @ingroup core_util
* @{
* ... | 3,535 | 22.573333 | 89 | c |
RIOT | RIOT-master/core/lib/bitarithm.c | /*
* 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.
*/
/**
* @ingroup core_util
* @{
*
* @file
* @brief Bit arithmetic helper funct... | 1,616 | 22.1 | 69 | c |
RIOT | RIOT-master/core/lib/rmutex.c | /*
* Copyright (C) 2016 Theobroma Systems Design & 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 core_sync
* @{
*
* @file
* @brief RIOT sync... | 4,901 | 31.039216 | 96 | c |
RIOT | RIOT-master/core/lib/panic.c | /*
* Copyright (C) 2015 INRIA
* Copyright (C) 2015 Eistec AB
* 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 ... | 2,478 | 24.040404 | 80 | c |
RIOT | RIOT-master/core/lib/include/rmutex.h | /*
* Copyright (C) 2016 Theobroma Systems Design & 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.
*/
/**
* @defgroup core_sync_rmutex Recursive Mutex
* @ingroup core... | 2,735 | 23 | 80 | h |
RIOT | RIOT-master/core/lib/include/modules.h | /*
* Copyright (C) 2014 Freie Universität Berlin
* 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 core_internal
* @{
*
* @file
* @b... | 3,836 | 33.258929 | 88 | h |
RIOT | RIOT-master/core/lib/include/list.h | /*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
* 2016 TriaGnoSys 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 core_util
* @{
*
... | 2,444 | 22.509615 | 78 | h |
RIOT | RIOT-master/core/lib/include/log.h | /*
* 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 core_util
* @{
*
* @file
* @brief System loggin... | 3,510 | 29.530435 | 86 | h |
RIOT | RIOT-master/core/lib/include/debug.h | /*
* 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 core_util
* @{
*
* @file
* @brief Debug-header
*
* @details... | 3,624 | 23.828767 | 83 | h |
RIOT | RIOT-master/core/lib/include/priority_queue.h | /*
* Copyright (C) 2013, 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 core_util
* @{
*
* @file
* @brief A simple priority que... | 3,528 | 24.572464 | 80 | h |
RIOT | RIOT-master/core/lib/include/irq.h | /*
* Copyright (C) 2013,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.
*/
/**
* @defgroup core_irq IRQ Handling
* @ingroup core
* @brief Pro... | 2,734 | 25.553398 | 79 | h |
RIOT | RIOT-master/core/lib/include/ringbuffer.h | /*
* Copyright (C) 2013 Freie Universität Berlin
* Copyright (C) 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 more details.
*/
/**
* @ingroup core_util
* @{
* @file
* @author Kaspar ... | 5,514 | 31.827381 | 106 | h |
RIOT | RIOT-master/core/lib/include/bitarithm.h | /*
* Copyright (C) 2017 Kaspar Schleiser <kaspar@schleiser.de>
* 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 core_util
... | 8,425 | 28.773852 | 97 | h |
RIOT | RIOT-master/core/lib/include/container.h | /*
* Copyright (C) 2014 Freie Universität Berlin
* 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 core_internal
* @{
*
* @file
* @b... | 2,914 | 30.684783 | 99 | h |
RIOT | RIOT-master/core/lib/include/panic.h | /*
* Copyright (C) 2014, 2015 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 core_util
* @{
*
* @file
* @brief Crash handling header
*
* Define a ::c... | 2,639 | 27.085106 | 81 | h |
RIOT | RIOT-master/core/lib/include/riot_version.h | /*
* Copyright (C) 2014 Freie Universität Berlin
* 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 core_internal
* @{
*
* @file
* @b... | 1,852 | 27.507692 | 77 | h |
RIOT | RIOT-master/core/lib/include/compiler_hints.h | /*
* Copyright (C) 2014 Freie Universität Berlin
* 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 core_internal
* @{
*
* @file
* @b... | 5,950 | 28.315271 | 87 | h |
RIOT | RIOT-master/core/lib/include/thread_config.h | /*
* Copyright (C) 2014-21 Freie Universität Berlin
* 2021 Inria
* 2021 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.
*/
... | 3,335 | 22.006897 | 78 | h |
RIOT | RIOT-master/core/lib/include/cib.h | /*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
* 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.
*/
/**
* @ingroup core_util
... | 4,822 | 24.384211 | 80 | h |
RIOT | RIOT-master/core/lib/include/assert.h | /*
* Copyright (C) 2015 INRIA
* 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 core_util
*
* @{
* @file
* @brief ... | 5,207 | 30.373494 | 85 | h |
RIOT | RIOT-master/core/lib/include/clist.h | /*
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
* 2013 Freie Universität Berlin
* 2017 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.
*/
/*... | 13,012 | 24.768317 | 91 | h |
RIOT | RIOT-master/core/lib/include/xfa.h | /*
* 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 core_util
* @brief Cross File Arrays
* @{
*
* T... | 5,980 | 29.360406 | 80 | h |
RIOT | RIOT-master/core/lib/include/macros/math.h | /*
* 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 core_macros
* @{
*
* @file
* @brief Math helper macros
*
* @au... | 1,753 | 27.290323 | 99 | h |
RIOT | RIOT-master/core/lib/include/macros/utils.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 core_macros
* @{
*
* @file
* @brief Various he... | 1,622 | 21.541667 | 79 | h |
RIOT | RIOT-master/core/include/mutex.h | /*
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
* 2013, 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.
*/
/**
* @defgroup core... | 15,550 | 33.634744 | 80 | h |
RIOT | RIOT-master/core/include/sched.h | /*
* 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.
*/
/**
* @defgroup core_sched Scheduler
* @ingroup core
* @brief The RIOT... | 11,901 | 29.517949 | 92 | h |
RIOT | RIOT-master/core/include/cond.h | /*
* This file is subject to the 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 core_sync_cond Condition Variable
* @ingroup core_sync
* @brief Condition variable for thread synchronization... | 7,001 | 31.416667 | 80 | h |
RIOT | RIOT-master/core/include/mbox.h | /*
* 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.
*/
/**
* @defgroup core_mbox Mailboxes
* @ingroup core
* @brief ... | 4,636 | 22.902062 | 76 | h |
RIOT | RIOT-master/core/include/msg.h | /*
* 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.
*/
/**
* @defgroup core_msg Messaging / IPC
* @ingroup core
* @brief Messagin... | 13,726 | 31.298824 | 83 | h |
RIOT | RIOT-master/core/include/thread_flags.h | /*
* 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.
*/
/**
* @defgroup core_thread_flags Thread Flags
* @ingroup core
* @b... | 6,740 | 31.723301 | 89 | h |
RIOT | RIOT-master/core/include/thread.h | /*
* 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.
*/
/**
* @defgroup core_thread Threading
* @ingroup core
* @brief Support for ... | 19,137 | 29.377778 | 99 | h |
RIOT | RIOT-master/core/include/native_sched.h | /*
* Copyright (C) 2015 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.
*/
/**
* @defgroup core_sched_native Scheduler for native
* @ingroup core_sched
* @brief Th... | 1,433 | 20.402985 | 84 | h |
RIOT | RIOT-master/core/include/msg_bus.h | /*
* Copyright (C) 2020 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 core_msg
*
* @experimental
*
* @{
*
* @file
* @brief Messagin... | 7,997 | 28.732342 | 80 | h |
RIOT | RIOT-master/drivers/mag3110/mag3110.c | /*
* Copyright (C) 2014 PHYTEC Messtechnik GmbH
* 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 drivers_mag3110
* @{
*
* @file
... | 5,306 | 23.569444 | 82 | c |
RIOT | RIOT-master/drivers/mag3110/include/mag3110_reg.h | /*
* Copyright (C) 2014 PHYTEC Messtechnik 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 drivers_mag3110
* @{
*
* @file
* @brief Register definition... | 3,135 | 37.716049 | 101 | h |
RIOT | RIOT-master/drivers/mag3110/include/mag3110_params.h | /*
* 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 drivers_mag3110
* @{
*
* @file
* @brief Default configuration for MAG311... | 1,704 | 20.858974 | 69 | h |
RIOT | RIOT-master/drivers/tsl4531x/tsl4531x.c | /*
* Copyright (C) 2016 Inria
* 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 drivers_tsl4531x
* @{
*
* @file
* @brie... | 6,137 | 27.285714 | 99 | c |
RIOT | RIOT-master/drivers/tsl4531x/tsl4531x_saul.c | /*
* Copyright (C) 2016 Inria
* 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 drivers_tsl4531x
* @{
*
* @file
* @brie... | 918 | 21.414634 | 69 | c |
RIOT | RIOT-master/drivers/tsl4531x/include/tsl4531x_internals.h | /*
* Copyright (C) 2017 Inria
* 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 drivers_tsl4531x
* @brief Internal a... | 3,555 | 32.54717 | 101 | h |
RIOT | RIOT-master/drivers/tsl4531x/include/tsl4531x_params.h | /*
* Copyright (C) 2017 Inria
* 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 drivers_tsl4531x
*
* @{
* @file
* @brie... | 2,155 | 23.5 | 90 | h |
RIOT | RIOT-master/drivers/at/at.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.
*/
#include <assert.h>
#include <errno.h>
#include <string.h>
#include "at.h"
#... | 12,469 | 23.644269 | 97 | c |
RIOT | RIOT-master/drivers/dht/dht.c | /*
* Copyright 2015 Ludwig Knüpfer
* 2015 Christian Mehlis
* 2016-2017 Freie Universität Berlin
* 2023 Hugues Larrive
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more det... | 8,684 | 30.017857 | 79 | c |
RIOT | RIOT-master/drivers/dht/dht_saul.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 drivers_dht
* @{
*
* @file
* @brief SAUL adaption for DHT dev... | 1,572 | 23.2 | 80 | c |
RIOT | RIOT-master/drivers/ds3231/ds3231.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 drivers_ds3231
* @{
*
* @file
* @brief DS3231 RTC driver impl... | 11,499 | 24.900901 | 82 | c |
RIOT | RIOT-master/drivers/ds3231/include/ds3231_params.h | /*
* 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 drivers_ds3231
* @{
*
* @file
* @brief Default configuration ... | 1,488 | 21.907692 | 69 | h |
RIOT | RIOT-master/drivers/adt7310/adt7310.c | /*
* Copyright (C) 2015 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 drivers_adt7310
* @{
*
* @file
* @brief Driver for the ADT7310 ±0.5°C Acc... | 6,602 | 27.584416 | 94 | c |
RIOT | RIOT-master/drivers/ds18/ds18_saul.c | /*
* Copyright (C) 2017 Frits Kuipers
* 2018 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 drivers_ds18
* @{
*
* @file
* @brief S... | 962 | 21.395349 | 89 | c |
RIOT | RIOT-master/drivers/ds18/ds18.c | /*
* Copyright (C) 2017 Frits Kuipers
* 2018 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 drivers_ds18
* @{
*
* @file
* @brief D... | 5,090 | 21.932432 | 86 | c |
RIOT | RIOT-master/drivers/ds18/ds18_internal.h | /*
* Copyright (C) 2017 Frits Kuipers
* 2018 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 drivers_ds18
* @{
*
* @file
* @brief I... | 1,640 | 24.246154 | 100 | h |
RIOT | RIOT-master/drivers/opt3001/opt3001.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 drivers_opt3001
* @{
*
* @file
* @brief Driver for the TI OPT3001 Ambie... | 4,531 | 25.348837 | 84 | c |
RIOT | RIOT-master/drivers/opt3001/include/opt3001_regs.h | /*
* 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 drivers_opt3001
*
* @{
* @file
* @brief Register definitions for OPT3001 d... | 3,914 | 41.554348 | 122 | h |
RIOT | RIOT-master/drivers/my9221/my9221.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 drivers_my9221
*
* @{
* @file
* @brief Driver for the MY9221 LED controlle... | 3,141 | 21.768116 | 74 | c |
RIOT | RIOT-master/drivers/tps6274x/tps6274x.c | /*
* Copyright (C) 2017 RWTH Aachen
*
* This file is subject to the 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 drivers_tps6274x
* @{
*
* @file
* @brief Device driver implementation for ... | 2,158 | 24.702381 | 85 | c |
RIOT | RIOT-master/drivers/encx24j600/encx24j600.c | /*
* Copyright (C) 2015 Ell-i open source co-operative
* 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 driv... | 11,088 | 25.592326 | 109 | c |
RIOT | RIOT-master/drivers/encx24j600/include/encx24j600_internal.h | /*
* Copyright (C) 2015 Ell-i open source co-operative
* 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 driv... | 1,211 | 25.933333 | 80 | h |
RIOT | RIOT-master/drivers/encx24j600/include/encx24j600_params.h | /*
* Copyright (C) 2022 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 drivers_encx24j600
* @{
*
* @file
* @brief Default configuration for the E... | 1,365 | 20.68254 | 74 | h |
RIOT | RIOT-master/drivers/encx24j600/include/encx24j600_defines.h | /*
* Copyright (C) 2015 Ell-i open source co-operative
* 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 driv... | 5,385 | 24.894231 | 91 | h |
RIOT | RIOT-master/drivers/bmx280/bmx280.c | /*
* Copyright (C) 2016 Kees Bakker, SODAQ
* 2017 Inria
* 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 dr... | 13,686 | 31.28066 | 105 | c |
RIOT | RIOT-master/drivers/bmx280/bmx280_saul.c | /*
* Copyright (C) 2016 Kees Bakker, SODAQ
* 2017 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 drivers_bmx280
* @{
*
* @file
* @brief ... | 1,722 | 21.376623 | 69 | c |
RIOT | RIOT-master/drivers/bmx280/include/bmx280_params.h | /*
* Copyright (C) 2016 Kees Bakker, SODAQ
* 2017 Inria
* 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 dr... | 2,985 | 23.276423 | 69 | h |
RIOT | RIOT-master/drivers/bmx280/include/bmx280_internals.h | /*
* Copyright (C) 2016 Kees Bakker, SODAQ
* 2017 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 drivers_bmx280
* @brief Internal addresses... | 4,514 | 33.465649 | 87 | h |
RIOT | RIOT-master/drivers/ft5x06/ft5x06_touch_dev.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 drivers_ft5x06
* @{
*
* @file
* @brief Driver adaption to touch_dev generic inte... | 1,884 | 21.710843 | 93 | c |
RIOT | RIOT-master/drivers/ft5x06/ft5x06_internal.c | /*
* Copyright (c) 2022 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 Implementation of internal functions for ft5x06
*
* @author Le... | 711 | 22.733333 | 91 | c |
RIOT | RIOT-master/drivers/ft5x06/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 drivers_ft5x06
* @{
*
* @file
* @brief Device driver implementation for the FT5x... | 4,861 | 28.289157 | 121 | c |
RIOT | RIOT-master/drivers/ft5x06/include/ft5x06_constants.h | /*
* 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 drivers_ft5x06
* @{
*
* @file
* @brief Internal register addresses, bitfields an... | 4,367 | 30.652174 | 97 | h |
RIOT | RIOT-master/drivers/srf02/srf02.c | /*
* Copyright (C) 2013 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
* 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 drivers_s... | 4,066 | 25.933775 | 80 | c |
RIOT | RIOT-master/drivers/netdev/eth.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 drivers_netdev_eth
* @{
*
* @file
* @brief Comm... | 2,597 | 21.396552 | 84 | c |
RIOT | RIOT-master/drivers/netdev/ieee802154.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 drivers_netdev_ieee802154
* @{
*
* @file
* @author Martine Lenders... | 10,779 | 31.666667 | 86 | c |
RIOT | RIOT-master/drivers/netdev/layer.c | /*
* Copyright (C) 2017 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.
*/
#include "net/netdev.h"
int netdev_init_pass(netdev_t *dev)
{
return dev->low... | 1,163 | 23.765957 | 85 | c |
RIOT | RIOT-master/drivers/mhz19/mhz19_uart.c | /*
* Copyright (C) 2018 Koen Zandberg <koen@bergzand.net>
* Copyright (C) 2018 Beduino Master Projekt - University of Bremen
* Copyright (C) 2020 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 t... | 6,220 | 25.029289 | 80 | c |
RIOT | RIOT-master/drivers/mhz19/mhz19_pwm.c | /*
* Copyright (C) 2018 Koen Zandberg <koen@bergzand.net>
* Copyright (C) 2018 Beduino Master Projekt - University of Bremen
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingrou... | 2,616 | 24.407767 | 73 | c |
RIOT | RIOT-master/drivers/mhz19/include/mhz19_internals.h | /*
* Copyright (C) 2018 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 drivers_mhz19
* @{
* @file
* @brief Internal addresse... | 2,563 | 24.386139 | 81 | h |
RIOT | RIOT-master/drivers/netdev_ieee802154_submac/netdev_ieee802154_submac.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
* @author José I. Alamos <jose.alamos@haw-hamburg.de>
*/
#include "net/netdev/i... | 13,457 | 32.311881 | 113 | c |
RIOT | RIOT-master/drivers/nrf24l01p/include/nrf24l01p_settings.h | /*
* Copyright (C) 2014 Hamburg University of Applied Sciences
*
* This file is subject to the 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 drivers_nrf24l01p
* @{
*
* @file
* @brief Low-l... | 4,695 | 23.846561 | 80 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.