text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: rclcpp/src/rclcpp/executors.cpp
// Copyright 2015 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/executors.cpp", "license": "apache-2.0", "size": 1930} |
### File: rclcpp/src/rclcpp/executors/executor_entities_collection.cpp
// Copyright 2023 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/rclcpp", "path": "rclcpp/src/rclcpp/executors/executor_entities_collection.cpp", "license": "apache-2.0", "size": 7643} |
### File: rclcpp/src/rclcpp/executors/executor_entities_collector.cpp
// Copyright 2023 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/rclcpp", "path": "rclcpp/src/rclcpp/executors/executor_entities_collector.cpp", "license": "apache-2.0", "size": 15868} |
### File: rclcpp/src/rclcpp/executors/executor_notify_waitable.cpp
// Copyright 2023 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/rclcpp", "path": "rclcpp/src/rclcpp/executors/executor_notify_waitable.cpp", "license": "apache-2.0", "size": 5881} |
### File: rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp
// Copyright 2015 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/rclcpp", "path": "rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp", "license": "apache-2.0", "size": 3382} |
### File: rclcpp/src/rclcpp/executors/single_threaded_executor.cpp
// Copyright 2015 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/rclcpp", "path": "rclcpp/src/rclcpp/executors/single_threaded_executor.cpp", "license": "apache-2.0", "size": 1522} |
### File: rclcpp/src/rclcpp/executors/static_single_threaded_executor.cpp
// Copyright 2019 Nobleo Technology
//
// 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/executors/static_single_threaded_executor.cpp", "license": "apache-2.0", "size": 7104} |
### File: rclcpp/src/rclcpp/expand_topic_or_service_name.cpp
// 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/expand_topic_or_service_name.cpp", "license": "apache-2.0", "size": 7450} |
### File: rclcpp/src/rclcpp/experimental/executors/events_executor/events_executor.cpp
// Copyright 2023 iRobot Corporation.
//
// 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/rclcpp", "path": "rclcpp/src/rclcpp/experimental/executors/events_executor/events_executor.cpp", "license": "apache-2.0", "size": 15300... |
### File: rclcpp/src/rclcpp/experimental/timers_manager.cpp
// Copyright 2023 iRobot Corporation.
//
// 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/rclcpp", "path": "rclcpp/src/rclcpp/experimental/timers_manager.cpp", "license": "apache-2.0", "size": 10062} |
### File: rclcpp/src/rclcpp/future_return_code.cpp
// Copyright 2015 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": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/future_return_code.cpp", "license": "apache-2.0", "size": 1508} |
### File: rclcpp/src/rclcpp/generic_client.cpp
// Copyright 2023 Sony Group Corporation.
//
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/generic_client.cpp", "license": "apache-2.0", "size": 6188} |
### File: rclcpp/src/rclcpp/generic_publisher.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
// Copyright 2021, 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
//
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/generic_publisher.cpp", "license": "apache-2.0", "size": 2820} |
### File: rclcpp/src/rclcpp/generic_service.cpp
// Copyright 2024 Sony Group Corporation.
//
// 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/rclcpp", "path": "rclcpp/src/rclcpp/generic_service.cpp", "license": "apache-2.0", "size": 5523} |
### File: rclcpp/src/rclcpp/generic_subscription.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
// Copyright 2021, 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
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/generic_subscription.cpp", "license": "apache-2.0", "size": 3915} |
### File: rclcpp/src/rclcpp/graph_listener.cpp
// 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.org/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/graph_listener.cpp", "license": "apache-2.0", "size": 12062} |
### File: rclcpp/src/rclcpp/guard_condition.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://www.apache.org/lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/guard_condition.cpp", "license": "apache-2.0", "size": 3390} |
### File: rclcpp/src/rclcpp/init_options.cpp
// 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": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/init_options.cpp", "license": "apache-2.0", "size": 4191} |
### File: rclcpp/src/rclcpp/intra_process_manager.cpp
// Copyright 2015 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/intra_process_manager.cpp", "license": "apache-2.0", "size": 8258} |
### File: rclcpp/src/rclcpp/logger.cpp
// 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/LIC... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/logger.cpp", "license": "apache-2.0", "size": 5033} |
### File: rclcpp/src/rclcpp/logging_mutex.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://www.apache.org/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/logging_mutex.cpp", "license": "apache-2.0", "size": 994} |
### File: rclcpp/src/rclcpp/logging_mutex.hpp
// 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://www.apache.org/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/logging_mutex.hpp", "license": "apache-2.0", "size": 1429} |
### File: rclcpp/src/rclcpp/memory_strategies.cpp
// Copyright 2015 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/l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/memory_strategies.cpp", "license": "apache-2.0", "size": 985} |
### File: rclcpp/src/rclcpp/memory_strategy.cpp
// Copyright 2015 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/lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/memory_strategy.cpp", "license": "apache-2.0", "size": 6740} |
### File: rclcpp/src/rclcpp/message_info.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://www.apache.org/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/message_info.cpp", "license": "apache-2.0", "size": 1030} |
### File: rclcpp/src/rclcpp/network_flow_endpoint.cpp
// Copyright 2020 Ericsson AB
//
// 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/rclcpp", "path": "rclcpp/src/rclcpp/network_flow_endpoint.cpp", "license": "apache-2.0", "size": 2452} |
### File: rclcpp/src/rclcpp/node.cpp
// Copyright 2015 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/LICEN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node.cpp", "license": "apache-2.0", "size": 19536} |
### File: rclcpp/src/rclcpp/node_interfaces/node_base.cpp
// 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.apac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_base.cpp", "license": "apache-2.0", "size": 10692} |
### File: rclcpp/src/rclcpp/node_interfaces/node_clock.cpp
// 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.apa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_clock.cpp", "license": "apache-2.0", "size": 1534} |
### File: rclcpp/src/rclcpp/node_interfaces/node_graph.cpp
// 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.apa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_graph.cpp", "license": "apache-2.0", "size": 26769} |
### File: rclcpp/src/rclcpp/node_interfaces/node_logging.cpp
// 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_logging.cpp", "license": "apache-2.0", "size": 3190} |
### File: rclcpp/src/rclcpp/node_interfaces/node_parameters.cpp
// 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_parameters.cpp", "license": "apache-2.0", "size": 42494} |
### File: rclcpp/src/rclcpp/node_interfaces/node_services.cpp
// 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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_services.cpp", "license": "apache-2.0", "size": 2538} |
### File: rclcpp/src/rclcpp/node_interfaces/node_time_source.cpp
// 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_time_source.cpp", "license": "apache-2.0", "size": 1843} |
### File: rclcpp/src/rclcpp/node_interfaces/node_timers.cpp
// 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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_timers.cpp", "license": "apache-2.0", "size": 1771} |
### File: rclcpp/src/rclcpp/node_interfaces/node_topics.cpp
// 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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_topics.cpp", "license": "apache-2.0", "size": 4776} |
### File: rclcpp/src/rclcpp/node_interfaces/node_type_descriptions.cpp
// Copyright 2023 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/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_type_descriptions.cpp", "license": "apache-2.0", "size": 5231} |
### File: rclcpp/src/rclcpp/node_interfaces/node_waitables.cpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_interfaces/node_waitables.cpp", "license": "apache-2.0", "size": 1983} |
### File: rclcpp/src/rclcpp/node_options.cpp
// Copyright 2019 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": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/node_options.cpp", "license": "apache-2.0", "size": 10098} |
### File: rclcpp/src/rclcpp/parameter.cpp
// Copyright 2015 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/parameter.cpp", "license": "apache-2.0", "size": 4561} |
### File: rclcpp/src/rclcpp/parameter_client.cpp
// Copyright 2015 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/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/parameter_client.cpp", "license": "apache-2.0", "size": 17873} |
### File: rclcpp/src/rclcpp/parameter_event_handler.cpp
// Copyright 2019 Intel Corporation
//
// 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/rclcpp", "path": "rclcpp/src/rclcpp/parameter_event_handler.cpp", "license": "apache-2.0", "size": 6416} |
### File: rclcpp/src/rclcpp/parameter_events_filter.cpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/parameter_events_filter.cpp", "license": "apache-2.0", "size": 2195} |
### File: rclcpp/src/rclcpp/parameter_map.cpp
// 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/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/parameter_map.cpp", "license": "apache-2.0", "size": 6716} |
### File: rclcpp/src/rclcpp/parameter_service.cpp
// Copyright 2015 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/l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/parameter_service.cpp", "license": "apache-2.0", "size": 6866} |
### File: rclcpp/src/rclcpp/parameter_service_names.hpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/parameter_service_names.hpp", "license": "apache-2.0", "size": 1309} |
### File: rclcpp/src/rclcpp/parameter_value.cpp
// 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/lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/parameter_value.cpp", "license": "apache-2.0", "size": 7215} |
### File: rclcpp/src/rclcpp/publisher_base.cpp
// Copyright 2015 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/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/publisher_base.cpp", "license": "apache-2.0", "size": 13367} |
### File: rclcpp/src/rclcpp/qos.cpp
// Copyright 2019 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/LICENS... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/qos.cpp", "license": "apache-2.0", "size": 10538} |
### File: rclcpp/src/rclcpp/qos_overriding_options.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://www.apache.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/qos_overriding_options.cpp", "license": "apache-2.0", "size": 2174} |
### File: rclcpp/src/rclcpp/rate.cpp
// Copyright 2023 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/LICEN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/rate.cpp", "license": "apache-2.0", "size": 2649} |
### File: rclcpp/src/rclcpp/serialization.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://www.apache.org/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/serialization.cpp", "license": "apache-2.0", "size": 2584} |
### File: rclcpp/src/rclcpp/serialized_message.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://www.apache.org/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/serialized_message.cpp", "license": "apache-2.0", "size": 4748} |
### File: rclcpp/src/rclcpp/service.cpp
// Copyright 2015 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": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/service.cpp", "license": "apache-2.0", "size": 3528} |
### File: rclcpp/src/rclcpp/signal_handler.cpp
// 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/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/signal_handler.cpp", "license": "apache-2.0", "size": 11524} |
### File: rclcpp/src/rclcpp/signal_handler.hpp
// 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/lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/signal_handler.hpp", "license": "apache-2.0", "size": 5966} |
### File: rclcpp/src/rclcpp/subscription_base.cpp
// Copyright 2015 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/l... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/subscription_base.cpp", "license": "apache-2.0", "size": 18583} |
### File: rclcpp/src/rclcpp/subscription_intra_process_base.cpp
// Copyright 2019 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/subscription_intra_process_base.cpp", "license": "apache-2.0", "size": 1303} |
### File: rclcpp/src/rclcpp/time.cpp
// 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/LICEN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/time.cpp", "license": "apache-2.0", "size": 8272} |
### File: rclcpp/src/rclcpp/time_source.cpp
// 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/license... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/time_source.cpp", "license": "apache-2.0", "size": 20095} |
### File: rclcpp/src/rclcpp/timer.cpp
// Copyright 2015 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/LICE... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/timer.cpp", "license": "apache-2.0", "size": 6465} |
### File: rclcpp/src/rclcpp/type_support.cpp
// Copyright 2014 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": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/type_support.cpp", "license": "apache-2.0", "size": 3465} |
### File: rclcpp/src/rclcpp/typesupport_helpers.cpp
// Copyright 2018, Bosch Software Innovations GmbH.
// Copyright 2021, 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/typesupport_helpers.cpp", "license": "apache-2.0", "size": 6256} |
### File: rclcpp/src/rclcpp/utilities.cpp
// Copyright 2015 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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/utilities.cpp", "license": "apache-2.0", "size": 5798} |
### File: rclcpp/src/rclcpp/wait_set_policies/detail/write_preferring_read_write_lock.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 Lice... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/wait_set_policies/detail/write_preferring_read_write_lock.cpp", "license": "apache-2.0", "size": 29... |
### File: rclcpp/src/rclcpp/waitable.cpp
// 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/licenses/L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/src/rclcpp/waitable.cpp", "license": "apache-2.0", "size": 1223} |
### File: rclcpp/test/CMakeLists.txt
find_package(rosidl_default_generators REQUIRED)
find_package(test_msgs REQUIRED)
include(cmake/rclcpp_add_build_failure_test.cmake)
set(TEST_RESOURCES_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/resources")
add_subdirectory(benchmark)
add_subdirectory(rclcpp)
ament_add_gtest(test_r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/CMakeLists.txt", "license": "apache-2.0", "size": 448} |
### File: rclcpp/test/benchmark/CMakeLists.txt
find_package(ament_cmake_google_benchmark REQUIRED)
find_package(performance_test_fixture REQUIRED)
# These benchmarks are only being created and run for the default RMW
# implementation. We are looking to test the performance of the ROS 2 code, not
# the underlying middl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/benchmark/CMakeLists.txt", "license": "apache-2.0", "size": 1634} |
### File: rclcpp/test/benchmark/benchmark_client.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://www.apache.or... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/benchmark/benchmark_client.cpp", "license": "apache-2.0", "size": 5144} |
### File: rclcpp/test/benchmark/benchmark_executor.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://www.apache.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/benchmark/benchmark_executor.cpp", "license": "apache-2.0", "size": 7693} |
### File: rclcpp/test/benchmark/benchmark_init_shutdown.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://www.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/benchmark/benchmark_init_shutdown.cpp", "license": "apache-2.0", "size": 1480} |
### File: rclcpp/test/benchmark/benchmark_node.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://www.apache.org/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/benchmark/benchmark_node.cpp", "license": "apache-2.0", "size": 2315} |
### File: rclcpp/test/benchmark/benchmark_node_parameters_interface.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/rclcpp", "path": "rclcpp/test/benchmark/benchmark_node_parameters_interface.cpp", "license": "apache-2.0", "size": 7462} |
### File: rclcpp/test/benchmark/benchmark_parameter_client.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://www... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/benchmark/benchmark_parameter_client.cpp", "license": "apache-2.0", "size": 9695} |
### File: rclcpp/test/benchmark/benchmark_service.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://www.apache.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/benchmark/benchmark_service.cpp", "license": "apache-2.0", "size": 4559} |
### File: rclcpp/test/cmake/rclcpp_add_build_failure_test.cmake
# Copyright 2019 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": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/cmake/rclcpp_add_build_failure_test.cmake", "license": "apache-2.0", "size": 1908} |
### File: rclcpp/test/mocking_utils/patch.hpp
// 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://www.apache.org/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/mocking_utils/patch.hpp", "license": "apache-2.0", "size": 18889} |
### File: rclcpp/test/msg/Header.msg
# Simple Header message with a timestamp field.
builtin_interfaces/Time stamp
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/msg/Header.msg", "license": "apache-2.0", "size": 79} |
### File: rclcpp/test/msg/LargeMessage.msg
# A message with a size larger than the default Linux stack size
uint8[10485760] data
uint64 size
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/msg/LargeMessage.msg", "license": "apache-2.0", "size": 98} |
### File: rclcpp/test/msg/MessageWithHeader.msg
# Message containing a simple Header field.
Header header
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/msg/MessageWithHeader.msg", "license": "apache-2.0", "size": 59} |
### File: rclcpp/test/msg/String.msg
string data | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/msg/String.msg", "license": "apache-2.0", "size": 11} |
### File: rclcpp/test/rclcpp/CMakeLists.txt
find_package(ament_cmake_gtest REQUIRED)
find_package(rmw_implementation_cmake REQUIRED)
add_definitions(-DTEST_RESOURCES_DIRECTORY="${TEST_RESOURCES_DIRECTORY}")
rosidl_generate_interfaces(${PROJECT_NAME}_test_msgs
../msg/Header.msg
../msg/LargeMessage.msg
../msg/Me... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/CMakeLists.txt", "license": "apache-2.0", "size": 28846} |
### File: rclcpp/test/rclcpp/allocator/test_allocator_common.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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/allocator/test_allocator_common.cpp", "license": "apache-2.0", "size": 4998} |
### File: rclcpp/test/rclcpp/allocator/test_allocator_deleter.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/rclcpp", "path": "rclcpp/test/rclcpp/allocator/test_allocator_deleter.cpp", "license": "apache-2.0", "size": 3769} |
### File: rclcpp/test/rclcpp/exceptions/test_exceptions.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://www.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/exceptions/test_exceptions.cpp", "license": "apache-2.0", "size": 2095} |
### File: rclcpp/test/rclcpp/executors/executor_types.hpp
// 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.apac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/executor_types.hpp", "license": "apache-2.0", "size": 3201} |
### File: rclcpp/test/rclcpp/executors/test_entities_collector.cpp
// Copyright 2023 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/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_entities_collector.cpp", "license": "apache-2.0", "size": 13917} |
### File: rclcpp/test/rclcpp/executors/test_events_executor.cpp
// Copyright 2023 iRobot Corporation.
//
// 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/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_events_executor.cpp", "license": "apache-2.0", "size": 13720} |
### File: rclcpp/test/rclcpp/executors/test_events_queue.cpp
// Copyright 2023 iRobot Corporation.
//
// 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/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_events_queue.cpp", "license": "apache-2.0", "size": 2693} |
### File: rclcpp/test/rclcpp/executors/test_executor_notify_waitable.cpp
// Copyright 2023 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_executor_notify_waitable.cpp", "license": "apache-2.0", "size": 3106} |
### File: rclcpp/test/rclcpp/executors/test_executors.cpp
// 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.apac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_executors.cpp", "license": "apache-2.0", "size": 29585} |
### File: rclcpp/test/rclcpp/executors/test_executors_busy_waiting.cpp
// Copyright 2024 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/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_executors_busy_waiting.cpp", "license": "apache-2.0", "size": 6309} |
### File: rclcpp/test/rclcpp/executors/test_executors_callback_group_behavior.cpp
// Copyright 2024 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
/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_executors_callback_group_behavior.cpp", "license": "apache-2.0", "size": 4652} |
### File: rclcpp/test/rclcpp/executors/test_executors_intraprocess.cpp
// Copyright 2024 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/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_executors_intraprocess.cpp", "license": "apache-2.0", "size": 3912} |
### File: rclcpp/test/rclcpp/executors/test_executors_timer_cancel_behavior.cpp
// Copyright 2024 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_executors_timer_cancel_behavior.cpp", "license": "apache-2.0", "size": 14591} |
### File: rclcpp/test/rclcpp/executors/test_executors_warmup.cpp
// Copyright 2024 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://w... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_executors_warmup.cpp", "license": "apache-2.0", "size": 9501} |
### File: rclcpp/test/rclcpp/executors/test_multi_threaded_executor.cpp
// 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
//
// h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_multi_threaded_executor.cpp", "license": "apache-2.0", "size": 3154} |
### File: rclcpp/test/rclcpp/executors/test_reinitialized_timers.cpp
// Copyright 2024 iRobot Corporation.
//
// 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": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_reinitialized_timers.cpp", "license": "apache-2.0", "size": 2483} |
### File: rclcpp/test/rclcpp/executors/test_static_executor_entities_collector.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
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_static_executor_entities_collector.cpp", "license": "apache-2.0", "size": 25537} |
### File: rclcpp/test/rclcpp/executors/test_static_single_threaded_executor.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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rclcpp", "path": "rclcpp/test/rclcpp/executors/test_static_single_threaded_executor.cpp", "license": "apache-2.0", "size": 5844} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.