text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: quality_of_service_demo/rclcpp/src/interactive_publisher.cpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/interactive_publisher.cpp", "license": "apache-2.0", "size": 6229} |
### File: quality_of_service_demo/rclcpp/src/interactive_subscriber.cpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/interactive_subscriber.cpp", "license": "apache-2.0", "size": 5318} |
### File: quality_of_service_demo/rclcpp/src/lifespan.cpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/lifespan.cpp", "license": "apache-2.0", "size": 4404} |
### File: quality_of_service_demo/rclcpp/src/liveliness.cpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/liveliness.cpp", "license": "apache-2.0", "size": 5795} |
### File: quality_of_service_demo/rclcpp/src/message_lost_listener.cpp
// Copyright 2020 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/message_lost_listener.cpp", "license": "apache-2.0", "size": 2448} |
### File: quality_of_service_demo/rclcpp/src/message_lost_talker.cpp
// Copyright 2020 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/message_lost_talker.cpp", "license": "apache-2.0", "size": 3869} |
### File: quality_of_service_demo/rclcpp/src/qos_overrides_listener.cpp
// Copyright 2020 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/qos_overrides_listener.cpp", "license": "apache-2.0", "size": 3415} |
### File: quality_of_service_demo/rclcpp/src/qos_overrides_talker.cpp
// Copyright 2020 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// htt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/qos_overrides_talker.cpp", "license": "apache-2.0", "size": 3723} |
### File: quality_of_service_demo/rclcpp/src/utils.cpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/utils.cpp", "license": "apache-2.0", "size": 3690} |
### File: quality_of_service_demo/rclcpp/src/utils.hpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclcpp/src/utils.hpp", "license": "apache-2.0", "size": 1611} |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/common_nodes.py
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/common_nodes.py", "license": "apache-2.0", "size": 46... |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/deadline.py
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/deadline.py", "license": "apache-2.0", "size": 2939} |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/incompatible_qos.py
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/incompatible_qos.py", "license": "apache-2.0", "size"... |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/lifespan.py
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/lifespan.py", "license": "apache-2.0", "size": 2873} |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/liveliness.py
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/liveliness.py", "license": "apache-2.0", "size": 3608... |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/message_lost_listener.py
# Copyright 2020 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/message_lost_listener.py", "license": "apache-2.0", "... |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/qos_overrides_listener.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the Licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/qos_overrides_listener.py", "license": "apache-2.0", ... |
### File: quality_of_service_demo/rclpy/quality_of_service_demo_py/qos_overrides_talker.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/quality_of_service_demo_py/qos_overrides_talker.py", "license": "apache-2.0", "s... |
### File: quality_of_service_demo/rclpy/setup.py
from setuptools import setup
package_name = 'quality_of_service_demo_py'
setup(
name=package_name,
version='0.20.0',
packages=[package_name],
data_files=[
('share/ament_index/resource_index/packages', ['resource/' + package_name]),
('sha... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "quality_of_service_demo/rclpy/setup.py", "license": "apache-2.0", "size": 1541} |
### File: topic_monitor/launch/depth_demo.launch.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "topic_monitor/launch/depth_demo.launch.py", "license": "apache-2.0", "size": 1457} |
### File: topic_monitor/launch/fragmentation_demo.launch.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.or... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "topic_monitor/launch/fragmentation_demo.launch.py", "license": "apache-2.0", "size": 1552} |
### File: topic_monitor/launch/reliability_demo.launch.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "topic_monitor/launch/reliability_demo.launch.py", "license": "apache-2.0", "size": 1170} |
### File: topic_monitor/setup.py
import glob
import os
from setuptools import find_packages
from setuptools import setup
package_name = 'topic_monitor'
setup(
name=package_name,
version='0.20.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/ament_index/resource_index/package... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "topic_monitor/setup.py", "license": "apache-2.0", "size": 1179} |
### File: topic_monitor/topic_monitor/scripts/data_publisher.py
# Copyright 2016 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "topic_monitor/topic_monitor/scripts/data_publisher.py", "license": "apache-2.0", "size": 4107} |
### File: topic_monitor/topic_monitor/scripts/topic_monitor.py
# Copyright 2016 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-demos", "path": "topic_monitor/topic_monitor/scripts/topic_monitor.py", "license": "apache-2.0", "size": 17686} |
### File: topic_statistics_demo/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(topic_statistics_demo)
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
en... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/CMakeLists.txt", "license": "apache-2.0", "size": 1130} |
### File: topic_statistics_demo/include/topic_statistics_demo/imu_talker_listener_nodes.hpp
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obta... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/include/topic_statistics_demo/imu_talker_listener_nodes.hpp", "license": "apache-2.0", "siz... |
### File: topic_statistics_demo/include/topic_statistics_demo/string_talker_listener_nodes.hpp
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/include/topic_statistics_demo/string_talker_listener_nodes.hpp", "license": "apache-2.0", "... |
### File: topic_statistics_demo/include/topic_statistics_demo/topic_statistics_listener.hpp
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obta... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/include/topic_statistics_demo/topic_statistics_listener.hpp", "license": "apache-2.0", "siz... |
### File: topic_statistics_demo/src/display_topic_statistics.cpp
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/src/display_topic_statistics.cpp", "license": "apache-2.0", "size": 4918} |
### File: topic_statistics_demo/src/imu_talker_listener_nodes.cpp
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/src/imu_talker_listener_nodes.cpp", "license": "apache-2.0", "size": 2669} |
### File: topic_statistics_demo/src/string_talker_listener_nodes.cpp
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/src/string_talker_listener_nodes.cpp", "license": "apache-2.0", "size": 2246} |
### File: topic_statistics_demo/src/topic_statistics_listener.cpp
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2-demos", "path": "topic_statistics_demo/src/topic_statistics_listener.cpp", "license": "apache-2.0", "size": 2152} |
### File: CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(ros_environment NONE)
find_package(ament_cmake_core REQUIRED)
set(ROS_VERSION "2")
set(ROS_DISTRO "ardent")
set(
hooks
"1.ros_distro"
"1.ros_version"
)
if(CMAKE_HOST_UNIX)
set(shell "sh")
else()
set(shell "bat")
endif()
foreach(hook ${hook... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros_environment", "path": "CMakeLists.txt", "license": "apache-2.0", "size": 421} |
### File: env-hooks/1.ros_distro.sh.in
# generated from ros_environment/env-hooks/1.ros_distro.sh.in
if [ -n "$ROS_DISTRO" -a "$ROS_DISTRO" != "@ROS_DISTRO@" ]; then
echo "ROS_DISTRO was set to '$ROS_DISTRO' before. Please make sure that the environment does not mix paths from different distributions."
fi
export ROS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/ros_environment", "path": "env-hooks/1.ros_distro.sh.in", "license": "apache-2.0", "size": 302} |
### File: env-hooks/1.ros_version.sh.in
# generated from ros_environment/env-hooks/1.ros_version.sh.in
export ROS_VERSION=@ROS_VERSION@
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/ros_environment", "path": "env-hooks/1.ros_version.sh.in", "license": "apache-2.0", "size": 97} |
### File: rosidl_default_generators/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rosidl_default_generators NONE)
find_package(ament_cmake REQUIRED)
ament_export_dependencies(ament_cmake_core)
ament_export_dependencies(rosidl_core_generators)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl_defaults", "path": "rosidl_default_generators/CMakeLists.txt", "license": "apache-2.0", "size": 336} |
### File: rosidl_default_runtime/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rosidl_default_runtime NONE)
find_package(ament_cmake REQUIRED)
ament_export_dependencies(ament_cmake_core)
ament_export_dependencies(rosidl_core_runtime)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl_defaults", "path": "rosidl_default_runtime/CMakeLists.txt", "license": "apache-2.0", "size": 330} |
### File: CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(robot_state_publisher)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/robot_state_publisher", "path": "CMakeLists.txt", "license": "bsd", "size": 4323} |
### File: include/robot_state_publisher/robot_state_publisher.hpp
// Copyright (c) 2008, Willow Garage, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/robot_state_publisher", "path": "include/robot_state_publisher/robot_state_publisher.hpp", "license": "bsd", "size": 7151} |
### File: launch/rsp-launch-urdf-file1.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyrigh... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "launch/rsp-launch-urdf-file1.py", "license": "bsd", "size": 2488} |
### File: launch/rsp-launch-urdf-file2.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyrigh... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "launch/rsp-launch-urdf-file2.py", "license": "bsd", "size": 2475} |
### File: launch/rsp-launch-urdf-inline.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyrig... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "launch/rsp-launch-urdf-inline.py", "license": "bsd", "size": 2355} |
### File: launch/rsp-launch-xacro-api.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "launch/rsp-launch-xacro-api.py", "license": "bsd", "size": 2461} |
### File: launch/rsp-launch-xacro-command-subst.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "launch/rsp-launch-xacro-command-subst.py", "license": "bsd", "size": 2469} |
### File: launch/rsp-launch-xacro-popen.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyrig... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "launch/rsp-launch-xacro-popen.py", "license": "bsd", "size": 2553} |
### File: src/robot_state_publisher.cpp
// Copyright (c) 2008, Willow Garage, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// not... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/robot_state_publisher", "path": "src/robot_state_publisher.cpp", "license": "bsd", "size": 14666} |
### File: test/change_mimic_joint-launch.py
# Copyright (c) 2024 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyri... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/change_mimic_joint-launch.py", "license": "bsd", "size": 3313} |
### File: test/test_change_mimic_joint.cpp
// Copyright (c) 2023, Open Source Robotics Foundation, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/test_change_mimic_joint.cpp", "license": "bsd", "size": 2888} |
### File: test/test_two_links_change_fixed_joint.cpp
// Copyright (c) 2021, Open Source Robotics Foundation, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/test_two_links_change_fixed_joint.cpp", "license": "bsd", "size": 4541} |
### File: test/test_two_links_fixed_joint.cpp
// Copyright (c) 2008, Willow Garage, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/test_two_links_fixed_joint.cpp", "license": "bsd", "size": 2852} |
### File: test/test_two_links_fixed_joint_prefix.cpp
// Copyright (c) 2008, Willow Garage, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyrigh... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/test_two_links_fixed_joint_prefix.cpp", "license": "bsd", "size": 2929} |
### File: test/test_two_links_moving_joint.cpp
// Copyright (c) 2008, Willow Garage, Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/test_two_links_moving_joint.cpp", "license": "bsd", "size": 3297} |
### File: test/two_links_change_fixed_joint-launch.py
# Copyright (c) 2021 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the ab... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/two_links_change_fixed_joint-launch.py", "license": "bsd", "size": 3323} |
### File: test/two_links_fixed_joint-launch.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above cop... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/two_links_fixed_joint-launch.py", "license": "bsd", "size": 3311} |
### File: test/two_links_fixed_joint_prefix-launch.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the ab... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/two_links_fixed_joint_prefix-launch.py", "license": "bsd", "size": 3364} |
### File: test/two_links_moving_joint-launch.py
# Copyright (c) 2020 Open Source Robotics Foundation, Inc.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/robot_state_publisher", "path": "test/two_links_moving_joint-launch.py", "license": "bsd", "size": 3312} |
### File: lttngpy/CMakeLists.txt
cmake_minimum_required(VERSION 3.20)
project(lttngpy)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
# Default to C11
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 11)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CM... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/CMakeLists.txt", "license": "apache-2.0", "size": 5426} |
### File: lttngpy/lttngpy/__init__.py
# Copyright 2023 Apex.AI, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/lttngpy/__init__.py", "license": "apache-2.0", "size": 629} |
### File: lttngpy/lttngpy/impl.py
# Copyright 2023 Apex.AI, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/lttngpy/impl.py", "license": "apache-2.0", "size": 675} |
### File: lttngpy/src/lttngpy/_lttngpy_pybind11.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/_lttngpy_pybind11.cpp", "license": "apache-2.0", "size": 16724} |
### File: lttngpy/src/lttngpy/channel.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/channel.cpp", "license": "apache-2.0", "size": 2629} |
### File: lttngpy/src/lttngpy/channel.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/channel.hpp", "license": "apache-2.0", "size": 2090} |
### File: lttngpy/src/lttngpy/context_app.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/context_app.cpp", "license": "apache-2.0", "size": 2107} |
### File: lttngpy/src/lttngpy/context_app.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/context_app.hpp", "license": "apache-2.0", "size": 1448} |
### File: lttngpy/src/lttngpy/context_lttng.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/context_lttng.cpp", "license": "apache-2.0", "size": 3563} |
### File: lttngpy/src/lttngpy/context_lttng.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/context_lttng.hpp", "license": "apache-2.0", "size": 1064} |
### File: lttngpy/src/lttngpy/context_perf.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// U... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/context_perf.cpp", "license": "apache-2.0", "size": 12527} |
### File: lttngpy/src/lttngpy/context_perf.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// U... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/context_perf.hpp", "license": "apache-2.0", "size": 3990} |
### File: lttngpy/src/lttngpy/event.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/event.cpp", "license": "apache-2.0", "size": 7012} |
### File: lttngpy/src/lttngpy/event.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/event.hpp", "license": "apache-2.0", "size": 2290} |
### File: lttngpy/src/lttngpy/lttng.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/lttng.cpp", "license": "apache-2.0", "size": 778} |
### File: lttngpy/src/lttngpy/lttng.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/lttng.hpp", "license": "apache-2.0", "size": 873} |
### File: lttngpy/src/lttngpy/session.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/session.cpp", "license": "apache-2.0", "size": 1842} |
### File: lttngpy/src/lttngpy/session.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/session.hpp", "license": "apache-2.0", "size": 1199} |
### File: lttngpy/src/lttngpy/status.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/status.cpp", "license": "apache-2.0", "size": 791} |
### File: lttngpy/src/lttngpy/status.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/status.hpp", "license": "apache-2.0", "size": 1088} |
### File: lttngpy/src/lttngpy/utils.hpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/src/lttngpy/utils.hpp", "license": "apache-2.0", "size": 1258} |
### File: lttngpy/test/test_context_app.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/test/test_context_app.cpp", "license": "apache-2.0", "size": 1549} |
### File: lttngpy/test/test_context_lttng.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/test/test_context_lttng.cpp", "license": "apache-2.0", "size": 1075} |
### File: lttngpy/test/test_context_perf.cpp
// Copyright 2023 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "lttngpy/test/test_context_perf.cpp", "license": "apache-2.0", "size": 3449} |
### File: ros2trace/ros2trace/__init__.py
# Copyright 2019 Robert Bosch GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/__init__.py", "license": "apache-2.0", "size": 581} |
### File: ros2trace/ros2trace/api/__init__.py
# Copyright 2019 Robert Bosch GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/api/__init__.py", "license": "apache-2.0", "size": 581} |
### File: ros2trace/ros2trace/command/__init__.py
# Copyright 2019 Robert Bosch GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/command/__init__.py", "license": "apache-2.0", "size": 581} |
### File: ros2trace/ros2trace/command/trace.py
# Copyright 2019 Robert Bosch GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/command/trace.py", "license": "apache-2.0", "size": 1647} |
### File: ros2trace/ros2trace/verb/__init__.py
# Copyright 2017 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LI... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/verb/__init__.py", "license": "apache-2.0", "size": 1330} |
### File: ros2trace/ros2trace/verb/pause.py
# Copyright 2023 Apex.AI, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/verb/pause.py", "license": "apache-2.0", "size": 942} |
### File: ros2trace/ros2trace/verb/resume.py
# Copyright 2023 Apex.AI, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/verb/resume.py", "license": "apache-2.0", "size": 945} |
### File: ros2trace/ros2trace/verb/start.py
# Copyright 2023 Apex.AI, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/verb/start.py", "license": "apache-2.0", "size": 959} |
### File: ros2trace/ros2trace/verb/stop.py
# Copyright 2023 Apex.AI, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/ros2trace/verb/stop.py", "license": "apache-2.0", "size": 950} |
### File: ros2trace/setup.py
from setuptools import find_packages
from setuptools import setup
package_name = 'ros2trace'
setup(
name=package_name,
version='8.3.0',
packages=find_packages(exclude=['test']),
data_files=[
('share/' + package_name, ['package.xml']),
('share/ament_index/re... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_tracing", "path": "ros2trace/setup.py", "license": "apache-2.0", "size": 1560} |
### File: test_tracetools/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(test_tracetools)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/CMakeLists.txt", "license": "apache-2.0", "size": 6924} |
### File: test_tracetools/include/test_tracetools/mark_process.hpp
// Copyright 2024 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/include/test_tracetools/mark_process.hpp", "license": "apache-2.0", "size": 1506} |
### File: test_tracetools/src/mark_process.cpp
// Copyright 2024 Apex.AI, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// U... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/src/mark_process.cpp", "license": "apache-2.0", "size": 1497} |
### File: test_tracetools/src/test_generic_ping.cpp
// Copyright 2019 Robert Bosch GmbH
// Copyright 2024 TIER IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/src/test_generic_ping.cpp", "license": "apache-2.0", "size": 3232} |
### File: test_tracetools/src/test_generic_pong.cpp
// Copyright 2019 Robert Bosch GmbH
// Copyright 2024 TIER IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/src/test_generic_pong.cpp", "license": "apache-2.0", "size": 2899} |
### File: test_tracetools/src/test_intra.cpp
// Copyright 2019 Robert Bosch GmbH
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/src/test_intra.cpp", "license": "apache-2.0", "size": 2658} |
### File: test_tracetools/src/test_lifecycle_client.cpp
// Copyright 2020 Christophe Bedard
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/src/test_lifecycle_client.cpp", "license": "apache-2.0", "size": 8113} |
### File: test_tracetools/src/test_lifecycle_node.cpp
// Copyright 2020 Christophe Bedard
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/src/test_lifecycle_node.cpp", "license": "apache-2.0", "size": 2847} |
### File: test_tracetools/src/test_ping.cpp
// Copyright 2019 Robert Bosch GmbH
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ros2_tracing", "path": "test_tracetools/src/test_ping.cpp", "license": "apache-2.0", "size": 2769} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.