text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: test_communication/test/test_action_server.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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_action_server.cpp", "license": "apache-2.0", "size": 8746} |
### File: test_communication/test/test_message_serialization.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/system_tests", "path": "test_communication/test/test_message_serialization.cpp", "license": "apache-2.0", "size": 9100} |
### File: test_communication/test/test_messages_c.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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_messages_c.cpp", "license": "apache-2.0", "size": 48091} |
### File: test_communication/test/test_nested_types.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_nested_types.cpp", "license": "apache-2.0", "size": 2728} |
### File: test_communication/test/test_publisher.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.or... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_publisher.cpp", "license": "apache-2.0", "size": 4494} |
### File: test_communication/test/test_publisher_subscriber.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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_publisher_subscriber.cpp", "license": "apache-2.0", "size": 6916} |
### File: test_communication/test/test_publisher_subscriber_serialized.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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_publisher_subscriber_serialized.cpp", "license": "apache-2.0", "size": 2788} |
### File: test_communication/test/test_replier.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/system_tests", "path": "test_communication/test/test_replier.cpp", "license": "apache-2.0", "size": 3387} |
### File: test_communication/test/test_requester.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.or... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_communication/test/test_requester.cpp", "license": "apache-2.0", "size": 4135} |
### File: test_communication/test/test_subscriber.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/system_tests", "path": "test_communication/test/test_subscriber.cpp", "license": "apache-2.0", "size": 4398} |
### File: test_communication/test/test_subscription_valid_data.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/system_tests", "path": "test_communication/test/test_subscription_valid_data.cpp", "license": "apache-2.0", "size": 2474} |
### File: test_quality_of_service/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(test_quality_of_service)
# 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_co... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/CMakeLists.txt", "license": "apache-2.0", "size": 2359} |
### File: test_quality_of_service/include/test_quality_of_service/qos_test_node.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 cop... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/include/test_quality_of_service/qos_test_node.hpp", "license": "apache-2.0", "size": 25... |
### File: test_quality_of_service/include/test_quality_of_service/qos_test_publisher.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 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/include/test_quality_of_service/qos_test_publisher.hpp", "license": "apache-2.0", "size... |
### File: test_quality_of_service/include/test_quality_of_service/qos_test_subscriber.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/include/test_quality_of_service/qos_test_subscriber.hpp", "license": "apache-2.0", "siz... |
### File: test_quality_of_service/include/test_quality_of_service/qos_utilities.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 cop... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/include/test_quality_of_service/qos_utilities.hpp", "license": "apache-2.0", "size": 28... |
### File: test_quality_of_service/include/test_quality_of_service/visibility_control.hpp
// 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 Licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/include/test_quality_of_service/visibility_control.hpp", "license": "apache-2.0", "size... |
### File: test_quality_of_service/test/qos_test_node.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/system_tests", "path": "test_quality_of_service/test/qos_test_node.cpp", "license": "apache-2.0", "size": 1765} |
### File: test_quality_of_service/test/qos_test_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 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/system_tests", "path": "test_quality_of_service/test/qos_test_publisher.cpp", "license": "apache-2.0", "size": 2209} |
### File: test_quality_of_service/test/qos_test_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 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/system_tests", "path": "test_quality_of_service/test/qos_test_subscriber.cpp", "license": "apache-2.0", "size": 1849} |
### File: test_quality_of_service/test/qos_utilities.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/system_tests", "path": "test_quality_of_service/test/qos_utilities.cpp", "license": "apache-2.0", "size": 1791} |
### File: test_quality_of_service/test/test_best_available.cpp
// Copyright 2022 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/system_tests", "path": "test_quality_of_service/test/test_best_available.cpp", "license": "apache-2.0", "size": 6873} |
### File: test_quality_of_service/test/test_deadline.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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/test/test_deadline.cpp", "license": "apache-2.0", "size": 4404} |
### File: test_quality_of_service/test/test_lifespan.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.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/test/test_lifespan.cpp", "license": "apache-2.0", "size": 3729} |
### File: test_quality_of_service/test/test_liveliness.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.apa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_quality_of_service/test/test_liveliness.cpp", "license": "apache-2.0", "size": 4401} |
### File: test_rclcpp/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(test_rclcpp)
# 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 -Wext... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/CMakeLists.txt", "license": "apache-2.0", "size": 19971} |
### File: test_rclcpp/include/test_rclcpp/utils.hpp
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/include/test_rclcpp/utils.hpp", "license": "apache-2.0", "size": 2540} |
### File: test_rclcpp/msg/UInt32.msg
uint32 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/system_tests", "path": "test_rclcpp/msg/UInt32.msg", "license": "apache-2.0", "size": 12} |
### File: test_rclcpp/test/node_check_names.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/lic... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/node_check_names.cpp", "license": "apache-2.0", "size": 2067} |
### File: test_rclcpp/test/node_name_list.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/system_tests", "path": "test_rclcpp/test/node_name_list.cpp", "license": "apache-2.0", "size": 2232} |
### File: test_rclcpp/test/node_with_name.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/system_tests", "path": "test_rclcpp/test/node_with_name.cpp", "license": "apache-2.0", "size": 1341} |
### File: test_rclcpp/test/parameter_fixtures.hpp
// 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/system_tests", "path": "test_rclcpp/test/parameter_fixtures.hpp", "license": "apache-2.0", "size": 13884} |
### File: test_rclcpp/test/pub_sub_fixtures.hpp
// 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/system_tests", "path": "test_rclcpp/test/pub_sub_fixtures.hpp", "license": "apache-2.0", "size": 3340} |
### File: test_rclcpp/test/test_avoid_ros_namespace_conventions_qos.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
//
// h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_avoid_ros_namespace_conventions_qos.cpp", "license": "apache-2.0", "size": 2448} |
### File: test_rclcpp/test/test_client_scope_client.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_client_scope_client.cpp", "license": "apache-2.0", "size": 2859} |
### File: test_rclcpp/test/test_client_scope_consistency_client.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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_client_scope_consistency_client.cpp", "license": "apache-2.0", "size": 4020} |
### File: test_rclcpp/test/test_client_scope_consistency_server.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:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_client_scope_consistency_server.cpp", "license": "apache-2.0", "size": 1735} |
### File: test_rclcpp/test/test_client_scope_server.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_client_scope_server.cpp", "license": "apache-2.0", "size": 1533} |
### File: test_rclcpp/test/test_client_wait_for_service_shutdown.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_client_wait_for_service_shutdown.cpp", "license": "apache-2.0", "size": 1642} |
### File: test_rclcpp/test/test_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://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/system_tests", "path": "test_rclcpp/test/test_executor.cpp", "license": "apache-2.0", "size": 8210} |
### File: test_rclcpp/test/test_intra_process.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/system_tests", "path": "test_rclcpp/test/test_intra_process.cpp", "license": "apache-2.0", "size": 5488} |
### File: test_rclcpp/test/test_local_parameters.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.or... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_local_parameters.cpp", "license": "apache-2.0", "size": 15547} |
### File: test_rclcpp/test/test_multiple_service_calls.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.apa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_multiple_service_calls.cpp", "license": "apache-2.0", "size": 6734} |
### File: test_rclcpp/test/test_multithreaded.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/system_tests", "path": "test_rclcpp/test/test_multithreaded.cpp", "license": "apache-2.0", "size": 15090} |
### File: test_rclcpp/test/test_parameters_server.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/system_tests", "path": "test_rclcpp/test/test_parameters_server.cpp", "license": "apache-2.0", "size": 1228} |
### File: test_rclcpp/test/test_publisher.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/licen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_publisher.cpp", "license": "apache-2.0", "size": 2281} |
### File: test_rclcpp/test/test_remote_parameters.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/system_tests", "path": "test_rclcpp/test/test_remote_parameters.cpp", "license": "apache-2.0", "size": 4578} |
### File: test_rclcpp/test/test_repeated_publisher_subscriber.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/system_tests", "path": "test_rclcpp/test/test_repeated_publisher_subscriber.cpp", "license": "apache-2.0", "size": 2938} |
### File: test_rclcpp/test/test_services_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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_services_client.cpp", "license": "apache-2.0", "size": 5114} |
### File: test_rclcpp/test/test_services_in_constructor.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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_services_in_constructor.cpp", "license": "apache-2.0", "size": 2188} |
### File: test_rclcpp/test/test_services_server.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/system_tests", "path": "test_rclcpp/test/test_services_server.cpp", "license": "apache-2.0", "size": 4327} |
### File: test_rclcpp/test/test_sigint_handler.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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_sigint_handler.cpp", "license": "apache-2.0", "size": 1994} |
### File: test_rclcpp/test/test_sigterm_handler.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_sigterm_handler.cpp", "license": "apache-2.0", "size": 2015} |
### File: test_rclcpp/test/test_spin.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/L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_spin.cpp", "license": "apache-2.0", "size": 7706} |
### File: test_rclcpp/test/test_subscription.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/system_tests", "path": "test_rclcpp/test/test_subscription.cpp", "license": "apache-2.0", "size": 12557} |
### File: test_rclcpp/test/test_timeout_subscriber.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.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_timeout_subscriber.cpp", "license": "apache-2.0", "size": 3358} |
### File: test_rclcpp/test/test_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/... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_timer.cpp", "license": "apache-2.0", "size": 4562} |
### File: test_rclcpp/test/test_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/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_rclcpp/test/test_waitable.cpp", "license": "apache-2.0", "size": 3597} |
### File: test_security/CMakeLists.txt
cmake_minimum_required(VERSION 3.7)
project(test_security)
# 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 -... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/system_tests", "path": "test_security/CMakeLists.txt", "license": "apache-2.0", "size": 15160} |
### File: test_security/test/sros_artifacts.cmake
# 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/system_tests", "path": "test_security/test/sros_artifacts.cmake", "license": "apache-2.0", "size": 1536} |
### File: test_security/test/test_invalid_secure_node_creation_c.cpp
// Copyright 2016-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/system_tests", "path": "test_security/test/test_invalid_secure_node_creation_c.cpp", "license": "apache-2.0", "size": 4752} |
### File: test_security/test/test_secure_publisher.cpp
// Copyright 2015-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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/system_tests", "path": "test_security/test/test_secure_publisher.cpp", "license": "apache-2.0", "size": 4845} |
### File: test_security/test/test_secure_subscriber.cpp
// Copyright 2015-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/system_tests", "path": "test_security/test/test_secure_subscriber.cpp", "license": "apache-2.0", "size": 6415} |
### File: PerfTestSoft/StressBenchmark/TarsStressClient/main.cpp
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressClient/main.cpp", "license": "bsd-3-clause", "size": 3633} |
### File: PerfTestSoft/StressBenchmark/TarsStressClient/makefile
#-----------------------------------------------------------------------
APP := Test
TARGET := TarsStressClient
CONFIG :=
STRIP_FLAG:= N
INCLUDE +=
LIB +=
#-----------------------------------------------------------------------
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressClient/makefile", "license": "bsd-3-clause", "size": 446} |
### File: PerfTestSoft/StressBenchmark/TarsStressClient/teststress.sh
#!/bin/bash
function get_time()
{
start=$1
end=$2
start_s=`echo $start | cut -d '.' -f 1`
start_ns=`echo $start | cut -d '.' -f 2`
end_s=`echo $end | cut -d '.' -f 1`
end_ns=`echo $end | cut -d '.' -f 2`
time_ms=$(( (10... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressClient/teststress.sh", "license": "bsd-3-clause", "size": 676} |
### File: PerfTestSoft/StressBenchmark/TarsStressServer/StressImp.cpp
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressServer/StressImp.cpp", "license": "bsd-3-clause", "size": 1530} |
### File: PerfTestSoft/StressBenchmark/TarsStressServer/StressImp.h
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use thi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressServer/StressImp.h", "license": "bsd-3-clause", "size": 1390} |
### File: PerfTestSoft/StressBenchmark/TarsStressServer/TarsStressServer.cpp
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may no... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressServer/TarsStressServer.cpp", "license": "bsd-3-clause", "size": 1676} |
### File: PerfTestSoft/StressBenchmark/TarsStressServer/TarsStressServer.h
/**
* Tencent is pleased to support the open source community by making Tars available.
*
* Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressServer/TarsStressServer.h", "license": "bsd-3-clause", "size": 1197} |
### File: PerfTestSoft/StressBenchmark/TarsStressServer/makefile
#-----------------------------------------------------------------------
APP := Test
TARGET := TarsStressServer
CONFIG :=
STRIP_FLAG:= N
TARS2CPP_FLAG:=
INCLUDE +=
LIB +=
#-------------------------------------------------------... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/Tars", "path": "PerfTestSoft/StressBenchmark/TarsStressServer/makefile", "license": "bsd-3-clause", "size": 397} |
### File: tag.sh
# Copyright (c) 2020
# Linux Foundation Projects
# Link: https://www.linuxfoundation.org/projects/
# TARS Foundation Projects
# Link: https://github.com/TarsCloud
# All rights reserved.
#!/bin/bash
#update & merge code tools
function show()
{
branch=$1
echo "tars:"; git branch -... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/Tars", "path": "tag.sh", "license": "bsd-3-clause", "size": 3185} |
### File: tars-deploy-framework.sh
#!/bin/bash
if (( $# < 1 ))
then
echo $#
echo "$0 push(false/true)"
exit 1
fi
push=$1
if [ "$push" == "true" ]; then
push="true"
else
push="false"
fi
tarsTag=$(git describe --tags $(git rev-list --tags --max-count=1) --abbrev=0 --always)
cd framework && frameworkTag=... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/Tars", "path": "tars-deploy-framework.sh", "license": "bsd-3-clause", "size": 721} |
### File: tars-latest-deploy-framework.sh
#!/bin/bash
if (( $# < 1 ))
then
echo $#
echo "$0 push(false/true)"
exit 1
fi
push=$1
if [ "$push" == "true" ]; then
push="true"
else
push="false"
fi
cd docker/framework
./build-docker.sh master master latest ${push}
cd ../../
cd docker/tars
./build-docker.s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/Tars", "path": "tars-latest-deploy-framework.sh", "license": "bsd-3-clause", "size": 309} |
### File: CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(test_interface_files NONE)
find_package(ament_cmake_core REQUIRED)
set(msg_files
"msg/Arrays.msg"
"msg/BasicTypes.msg"
"msg/BoundedPlainSequences.msg"
"msg/BoundedSequences.msg"
"msg/Constants.msg"
"msg/Defaults.msg"
"msg/Empty.msg"
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/test_interface_files", "path": "CMakeLists.txt", "license": "apache-2.0", "size": 1005} |
### File: msg/Arrays.msg
# Arrays of different types
bool[3] bool_values
byte[3] byte_values
char[3] char_values
float32[3] float32_values
float64[3] float64_values
int8[3] int8_values
uint8[3] uint8_values
int16[3] int16_values
uint16[3] uint16_values
int32[3] int32_values
uint32[3] uint32_values
int64[3] int64_values... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/Arrays.msg", "license": "apache-2.0", "size": 1271} |
### File: msg/BasicTypes.msg
bool bool_value
byte byte_value
char char_value
float32 float32_value
float64 float64_value
int8 int8_value
uint8 uint8_value
int16 int16_value
uint16 uint16_value
int32 int32_value
uint32 uint32_value
int64 int64_value
uint64 uint64_value
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/BasicTypes.msg", "license": "apache-2.0", "size": 240} |
### File: msg/BoundedPlainSequences.msg
# Bounded sequences of different POD types
bool[<=3] bool_values
byte[<=3] byte_values
char[<=3] char_values
float32[<=3] float32_values
float64[<=3] float64_values
int8[<=3] int8_values
uint8[<=3] uint8_values
int16[<=3] int16_values
uint16[<=3] uint16_values
int32[<=3] int32_va... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/BoundedPlainSequences.msg", "license": "apache-2.0", "size": 1259} |
### File: msg/BoundedSequences.msg
# Bounded sequences of different types
bool[<=3] bool_values
byte[<=3] byte_values
char[<=3] char_values
float32[<=3] float32_values
float64[<=3] float64_values
int8[<=3] int8_values
uint8[<=3] uint8_values
int16[<=3] int16_values
uint16[<=3] uint16_values
int32[<=3] int32_values
uint... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/BoundedSequences.msg", "license": "apache-2.0", "size": 1346} |
### File: msg/Constants.msg
bool BOOL_CONST=true
byte BYTE_CONST=50
char CHAR_CONST=100
float32 FLOAT32_CONST=1.125
float64 FLOAT64_CONST=1.125
int8 INT8_CONST=-50
uint8 UINT8_CONST=200
int16 INT16_CONST=-1000
uint16 UINT16_CONST=2000
int32 INT32_CONST=-30000
uint32 UINT32_CONST=60000
int64 INT64_CONST=-40000000
uint64... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/Constants.msg", "license": "apache-2.0", "size": 315} |
### File: msg/Defaults.msg
bool bool_value true
byte byte_value 50
char char_value 100
float32 float32_value 1.125
float64 float64_value 1.125
int8 int8_value -50
uint8 uint8_value 200
int16 int16_value -1000
uint16 uint16_value 2000
int32 int32_value -30000
uint32 uint32_value 60000
int64 int64_value -40000000
uint64 ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/Defaults.msg", "license": "apache-2.0", "size": 315} |
### File: msg/MultiNested.msg
# Mulitple levels of nested messages
Arrays[3] array_of_arrays
BoundedSequences[3] array_of_bounded_sequences
UnboundedSequences[3] array_of_unbounded_sequences
Arrays[<=3] bounded_sequence_of_arrays
BoundedSequences[<=3] bounded_sequence_of_bounded_sequences
UnboundedSequences[<=3] bounde... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/MultiNested.msg", "license": "apache-2.0", "size": 484} |
### File: msg/Nested.msg
BasicTypes basic_types_value
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/Nested.msg", "license": "apache-2.0", "size": 29} |
### File: msg/Strings.msg
string string_value
string string_value_default1 "Hello world!"
string string_value_default2 "Hello'world!"
string string_value_default3 'Hello"world!'
string string_value_default4 'Hello\'world!'
string string_value_default5 "Hello\"world!"
string STRING_CONST="Hello world!"
string<=22 bounde... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/Strings.msg", "license": "apache-2.0", "size": 591} |
### File: msg/UnboundedSequences.msg
# Unbounded sequences of different types
bool[] bool_values
byte[] byte_values
char[] char_values
float32[] float32_values
float64[] float64_values
int8[] int8_values
uint8[] uint8_values
int16[] int16_values
uint16[] uint16_values
int32[] int32_values
uint32[] uint32_values
int64[]... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/UnboundedSequences.msg", "license": "apache-2.0", "size": 1255} |
### File: msg/WStrings.msg
wstring wstring_value
wstring wstring_value_default1 "Hello world!"
wstring wstring_value_default2 "Hellö wörld!"
wstring wstring_value_default3 "ハローワールド"
#wstring WSTRING_CONST="Hello world!"
#wstring<=22 bounded_wstring_value
#wstring<=22 bounded_wstring_value_default1 "Hello world!"
wstrin... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/test_interface_files", "path": "msg/WStrings.msg", "license": "apache-2.0", "size": 415} |
### File: test_interface_files-extras.cmake.in
# 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/LI... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/test_interface_files", "path": "test_interface_files-extras.cmake.in", "license": "apache-2.0", "size": 1550} |
### File: CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(tinyxml_vendor)
option(FORCE_BUILD_VENDOR_PKG
"Build TinyXML from source, even if system-installed package is available"
OFF)
find_package(ament_cmake REQUIRED)
if(NOT FORCE_BUILD_VENDOR_PKG)
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_S... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/tinyxml_vendor", "path": "CMakeLists.txt", "license": "apache-2.0", "size": 1787} |
### File: cmake/Modules/FindTinyXML.cmake
##################################################################################################
#
# CMake script for finding TinyXML.
#
# Input variables:
#
# - TinyXML_ROOT_DIR (optional): When specified, header files and libraries will be searched for in
# ${TinyXML... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/tinyxml_vendor", "path": "cmake/Modules/FindTinyXML.cmake", "license": "apache-2.0", "size": 3000} |
### File: tinyxml_vendor-extras.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.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": "CMake", "repo_name": "minhanghuang/tinyxml_vendor", "path": "tinyxml_vendor-extras.cmake", "license": "apache-2.0", "size": 667} |
### File: CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(tinyxml2_vendor)
find_package(ament_cmake REQUIRED)
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
find_package(TinyXML2 REQUIRED)
install(DIRECTORY cmake DESTINATION share/${PROJECT_NAME})
ament_package(
CONFIG_EXT... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/tinyxml2_vendor", "path": "CMakeLists.txt", "license": "apache-2.0", "size": 333} |
### File: cmake/Modules/FindTinyXML2.cmake
# TinyXML2_FOUND
# TinyXML2_INCLUDE_DIRS
# TinyXML2_LIBRARIES
# try to find the CMake config file for TinyXML2 first
if(NOT TinyXML2_FOUND)
find_package(TinyXML2 CONFIG QUIET)
endif()
if(TinyXML2_FOUND)
message(STATUS "Found TinyXML2 via Config file: ${TinyXML2_DIR}")
i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/tinyxml2_vendor", "path": "cmake/Modules/FindTinyXML2.cmake", "license": "apache-2.0", "size": 3269} |
### File: tinyxml2_vendor-extras.cmake
# Copyright 2019-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/licenses/LICEN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/tinyxml2_vendor", "path": "tinyxml2_vendor-extras.cmake", "license": "apache-2.0", "size": 2252} |
### File: Makefile
# Makefiles are traditionally for building C projects... Or something, IDK. Whatever.
# They're a great drop in for shared script runners, keeping cmd syntax brief.
# Declare a PHONY target, write the sequence of commands it executes, then chain them together.
# In your shell just run `make lint` to... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/Tkinter-Designer", "path": "Makefile", "license": "bsd-3-clause", "size": 973} |
### File: gui/gui.py
import webbrowser
import re
import sys
import os
import tkinter as tk
import tkinter.messagebox as tk1
import tkinter.filedialog
from pathlib import Path
# Add tkdesigner to path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
try:
from tkdesigner.designer import Designer
exce... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/Tkinter-Designer", "path": "gui/gui.py", "license": "bsd-3-clause", "size": 6061} |
### File: tkdesigner/cli.py
"""
TKinter Designer command-line interface.
"""
from tkdesigner.designer import Designer
import re
import os
import logging
import argparse
from pathlib import Path
if int(os.getenv("TKDESIGNER_VERBOSE", 0)) == 1:
log_level = logging.INFO
else:
log_level = logging.WARN
logging... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/Tkinter-Designer", "path": "tkdesigner/cli.py", "license": "bsd-3-clause", "size": 2243} |
### File: tkdesigner/constants.py
# Path to assets directory (i.e. images) relative to the output directory.
ASSETS_PATH = "./assets"
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/Tkinter-Designer", "path": "tkdesigner/constants.py", "license": "bsd-3-clause", "size": 100} |
### File: tkdesigner/designer.py
import tkdesigner.figma.endpoints as endpoints
from tkdesigner.figma.frame import Frame
from tkdesigner.template import TEMPLATE
from pathlib import Path
class Designer:
def __init__(self, token, file_key, output_path: Path):
self.output_path = output_path
self.fi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/Tkinter-Designer", "path": "tkdesigner/designer.py", "license": "bsd-3-clause", "size": 1409} |
### File: tkdesigner/figma/custom_elements.py
from .vector_elements import Vector, Rectangle
TEXT_INPUT_ELEMENT_TYPES = {
"TextArea": "Text",
"TextBox": "Entry"
}
position_id_map ={}
class Button(Rectangle):
def __init__(self, node, frame, image_path, *, id_):
super().__init__(node, frame)
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/Tkinter-Designer", "path": "tkdesigner/figma/custom_elements.py", "license": "bsd-3-clause", "size": 5268} |
### File: tkdesigner/figma/endpoints.py
"""Utility classes and functions for Figma API endpoints.
"""
import requests
class Files:
"""https://www.figma.com/developers/api#files-endpoints
"""
API_ENDPOINT_URL = "https://api.figma.com/v1"
def __init__(self, token, file_key):
self.token = token... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/Tkinter-Designer", "path": "tkdesigner/figma/endpoints.py", "license": "bsd-3-clause", "size": 1223} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.