text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: test/rosdep_repo_check/config.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retai... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/config.py", "license": "bsd", "size": 2622} |
### File: test/rosdep_repo_check/deb.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/deb.py", "license": "bsd", "size": 4094} |
### File: test/rosdep_repo_check/rpm.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/rpm.py", "license": "bsd", "size": 7634} |
### File: test/rosdep_repo_check/suggest.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must reta... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/suggest.py", "license": "bsd", "size": 3257} |
### File: test/rosdep_repo_check/verify.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retai... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/verify.py", "license": "bsd", "size": 4203} |
### File: test/rosdep_repo_check/yaml.py
# Copyright (c) 2021, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdep_repo_check/yaml.py", "license": "bsd", "size": 5004} |
### File: test/rosdistro_check_urls_test.py
#!/usr/bin/env python
import os
from rosdistro import get_index
from scripts import eol_distro_names
from scripts.check_rosdistro_urls import main as check_rosdistro_urls
from .fold_block import Fold
FILES_DIR = os.path.normpath(os.path.join(os.path.dirname(os.path.abspat... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdistro_check_urls_test.py", "license": "bsd", "size": 1242} |
### File: test/rosdistro_verify_test.py
# Copyright (c) 2017, Open Source Robotics Foundation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosdistro", "path": "test/rosdistro_verify_test.py", "license": "bsd", "size": 2238} |
### File: rosidl_adapter/CMakeLists.txt
cmake_minimum_required(VERSION 3.12)
project(rosidl_adapter NONE)
find_package(ament_cmake REQUIRED)
find_package(ament_cmake_python REQUIRED)
ament_python_install_package(${PROJECT_NAME})
if(BUILD_TESTING)
find_package(ament_cmake_pytest REQUIRED)
find_package(ament_lint... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/CMakeLists.txt", "license": "apache-2.0", "size": 675} |
### File: rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake
# 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake", "license": "apache-2.0", "size": 2207} |
### File: rosidl_adapter/rosidl_adapter-extras.cmake
# 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": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter-extras.cmake", "license": "apache-2.0", "size": 723} |
### File: rosidl_adapter/rosidl_adapter/__init__.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/__init__.py", "license": "apache-2.0", "size": 1470} |
### File: rosidl_adapter/rosidl_adapter/__main__.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/__main__.py", "license": "apache-2.0", "size": 670} |
### File: rosidl_adapter/rosidl_adapter/action/__init__.py
# Copyright 2018-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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/action/__init__.py", "license": "apache-2.0", "size": 1695} |
### File: rosidl_adapter/rosidl_adapter/cli.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LI... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/cli.py", "license": "apache-2.0", "size": 3832} |
### File: rosidl_adapter/rosidl_adapter/main.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/L... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/main.py", "license": "apache-2.0", "size": 2425} |
### File: rosidl_adapter/rosidl_adapter/msg/__init__.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/msg/__init__.py", "license": "apache-2.0", "size": 3914} |
### File: rosidl_adapter/rosidl_adapter/parser.py
# Copyright 2014-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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/parser.py", "license": "apache-2.0", "size": 35858} |
### File: rosidl_adapter/rosidl_adapter/resource/__init__.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/resource/__init__.py", "license": "apache-2.0", "size": 4182} |
### File: rosidl_adapter/rosidl_adapter/resource/struct.idl.em
@#typedefs for arrays need to be defined outside of the struct
@{
from collections import OrderedDict
from rosidl_adapter.msg import get_idl_type
from rosidl_adapter.msg import to_idl_literal
from rosidl_adapter.msg import string_to_idl_string_literal
typ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/resource/struct.idl.em", "license": "apache-2.0", "size": 3198} |
### File: rosidl_adapter/rosidl_adapter/srv/__init__.py
# Copyright 2018 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/li... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/rosidl_adapter/srv/__init__.py", "license": "apache-2.0", "size": 1665} |
### File: rosidl_adapter/scripts/action2idl.py
#!/usr/bin/env python3
# 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/scripts/action2idl.py", "license": "apache-2.0", "size": 822} |
### File: rosidl_adapter/scripts/msg2idl.py
#!/usr/bin/env python3
# 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/scripts/msg2idl.py", "license": "apache-2.0", "size": 810} |
### File: rosidl_adapter/scripts/srv2idl.py
#!/usr/bin/env python3
# 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/scripts/srv2idl.py", "license": "apache-2.0", "size": 810} |
### File: rosidl_adapter/test/data/msg/Test.msg
# msg level doc
# field level doc
bool bool_value
byte byte_value # field level doc, style 2
# combined styles
char char_value # combined styles, part 2
float32 float32_value
float64 float64_value
int8 int8_value
uint8 uint8_value
int16 int16_value
uint16 uint16_value
i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/test/data/msg/Test.msg", "license": "apache-2.0", "size": 347} |
### File: rosidl_adapter/test/parse_msg_files.py
#!/usr/bin/env python3
# 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://... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_adapter/test/parse_msg_files.py", "license": "apache-2.0", "size": 2180} |
### File: rosidl_cli/completion/rosidl-argcomplete.bash
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Shell", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/completion/rosidl-argcomplete.bash", "license": "apache-2.0", "size": 821} |
### File: rosidl_cli/completion/rosidl-argcomplete.zsh
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Shell", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/completion/rosidl-argcomplete.zsh", "license": "apache-2.0", "size": 907} |
### File: rosidl_cli/rosidl_cli/cli.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/cli.py", "license": "apache-2.0", "size": 3663} |
### File: rosidl_cli/rosidl_cli/command/__init__.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/__init__.py", "license": "apache-2.0", "size": 958} |
### File: rosidl_cli/rosidl_cli/command/generate/__init__.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/generate/__init__.py", "license": "apache-2.0", "size": 2532} |
### File: rosidl_cli/rosidl_cli/command/generate/api.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/generate/api.py", "license": "apache-2.0", "size": 3749} |
### File: rosidl_cli/rosidl_cli/command/generate/extensions.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/generate/extensions.py", "license": "apache-2.0", "size": 2656} |
### File: rosidl_cli/rosidl_cli/command/helpers.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/helpers.py", "license": "apache-2.0", "size": 6245} |
### File: rosidl_cli/rosidl_cli/command/translate/__init__.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/translate/__init__.py", "license": "apache-2.0", "size": 3131} |
### File: rosidl_cli/rosidl_cli/command/translate/api.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/translate/api.py", "license": "apache-2.0", "size": 4022} |
### File: rosidl_cli/rosidl_cli/command/translate/extensions.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apach... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/command/translate/extensions.py", "license": "apache-2.0", "size": 2649} |
### File: rosidl_cli/rosidl_cli/common.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/common.py", "license": "apache-2.0", "size": 835} |
### File: rosidl_cli/rosidl_cli/entry_points.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/entry_points.py", "license": "apache-2.0", "size": 3493} |
### File: rosidl_cli/rosidl_cli/extensions.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/rosidl_cli/extensions.py", "license": "apache-2.0", "size": 3356} |
### File: rosidl_cli/setup.py
from setuptools import find_packages
from setuptools import setup
setup(
name='rosidl_cli',
version='4.9.2',
packages=find_packages(exclude=['test']),
extras_require={
'completion': ['argcomplete'],
},
data_files=[
('share/ament_index/resource_index... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cli/setup.py", "license": "apache-2.0", "size": 1649} |
### File: rosidl_cmake/CMakeLists.txt
cmake_minimum_required(VERSION 3.5)
project(rosidl_cmake NONE)
find_package(ament_cmake REQUIRED)
find_package(ament_cmake_python REQUIRED)
ament_python_install_package(${PROJECT_NAME})
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_depen... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/CMakeLists.txt", "license": "apache-2.0", "size": 428} |
### File: rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in
# generated from rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in
set(@PROJECT_NAME@_IDL_FILES "@_rosidl_cmake_IDL_FILES@")
set(@PROJECT_NAME@_INTERFACE_FILES "@_rosidl_cmake_INTERFACE_FILES@")
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in", "license": "apache-2.0", "size": 194} |
### File: rosidl_cmake/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake.in
# generated from
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_libraries.cmake.in
set(_exported_typesupport_libraries
"@_ROSIDL_CMAKE_EXPORT_TYPESUPPORT_LIBRARIES@")
# populate @PROJECT_NAME@_LIBRARIES_<suffix>
if... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake.in", "license": "apache-2.0", "size": 184... |
### File: rosidl_cmake/cmake/rosidl_cmake_export_typesupport_libraries_package_hook.cmake
# 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 a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_cmake_export_typesupport_libraries_package_hook.cmake", "license": "apache-2.0", "size": ... |
### File: rosidl_cmake/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake.in
# generated from
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_targets.cmake.in
set(_exported_typesupport_targets
"@_ROSIDL_CMAKE_EXPORT_TYPESUPPORT_TARGETS@")
# populate @PROJECT_NAME@_TARGETS_<suffix>
if(NOT _expo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake.in", "license": "apache-2.0", "size": 810} |
### File: rosidl_cmake/cmake/rosidl_cmake_export_typesupport_targets_package_hook.cmake
# 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": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_cmake_export_typesupport_targets_package_hook.cmake", "license": "apache-2.0", "size": 99... |
### File: rosidl_cmake/cmake/rosidl_cmake_package_hook.cmake
# 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.o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_cmake_package_hook.cmake", "license": "apache-2.0", "size": 935} |
### File: rosidl_cmake/cmake/rosidl_export_typesupport_libraries.cmake
# 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://ww... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_export_typesupport_libraries.cmake", "license": "apache-2.0", "size": 1858} |
### File: rosidl_cmake/cmake/rosidl_export_typesupport_targets.cmake
# 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": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_export_typesupport_targets.cmake", "license": "apache-2.0", "size": 1781} |
### File: rosidl_cmake/cmake/rosidl_find_package_idl.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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_find_package_idl.cmake", "license": "apache-2.0", "size": 1608} |
### File: rosidl_cmake/cmake/rosidl_generate_interfaces.cmake
# Copyright 2014-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.ap... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_generate_interfaces.cmake", "license": "apache-2.0", "size": 13095} |
### File: rosidl_cmake/cmake/rosidl_get_typesupport_target.cmake
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apac... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_get_typesupport_target.cmake", "license": "apache-2.0", "size": 1655} |
### File: rosidl_cmake/cmake/rosidl_target_interfaces.cmake
# 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": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_target_interfaces.cmake", "license": "apache-2.0", "size": 2649} |
### File: rosidl_cmake/cmake/rosidl_write_generator_arguments.cmake
# 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.a... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/rosidl_write_generator_arguments.cmake", "license": "apache-2.0", "size": 4286} |
### File: rosidl_cmake/cmake/string_camel_case_to_lower_case_underscore.cmake
# 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
#
# ht... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/cmake/string_camel_case_to_lower_case_underscore.cmake", "license": "apache-2.0", "size": 1276} |
### File: rosidl_cmake/rosidl_cmake-extras.cmake
# Copyright 2014-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": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/rosidl_cmake-extras.cmake", "license": "apache-2.0", "size": 2724} |
### File: rosidl_cmake/rosidl_cmake/__init__.py
# 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_cmake/rosidl_cmake/__init__.py", "license": "apache-2.0", "size": 789} |
### File: rosidl_generator_c/CMakeLists.txt
cmake_minimum_required(VERSION 3.12)
project(rosidl_generator_c C)
# Default to C11
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 11)
endif()
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
find_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/CMakeLists.txt", "license": "apache-2.0", "size": 982} |
### File: rosidl_generator_c/cmake/register_c.cmake
# 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": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/cmake/register_c.cmake", "license": "apache-2.0", "size": 1231} |
### File: rosidl_generator_c/cmake/rosidl_generator_c_generate_interfaces.cmake
# Copyright 2015-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
#
#... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/cmake/rosidl_generator_c_generate_interfaces.cmake", "license": "apache-2.0", "size": 9996} |
### File: rosidl_generator_c/resource/action__type_support.c.em
@# Included from rosidl_generator_c/resource/idl__type_support.c.em
@{
TEMPLATE(
'srv__type_support.c.em',
package_name=package_name, service=action.send_goal_service,
interface_path=interface_path, include_directives=include_directives)
}@
@{... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/action__type_support.c.em", "license": "apache-2.0", "size": 440} |
### File: rosidl_generator_c/resource/action__type_support.h.em
@# Included from rosidl_generator_c/resource/idl__type_support.h.em
@{header_file = 'rosidl_runtime_c/action_type_support_struct.h'}@
@[if header_file in include_directives]@
// already included above
// @
@[else]@
@{include_directives.add(header_file)}@
@... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/action__type_support.h.em", "license": "apache-2.0", "size": 1477} |
### File: rosidl_generator_c/resource/empty__description.c.em
@# Included from rosidl_generator_c/resource/idl__description.c.em
@{
from rosidl_generator_type_description import GET_DESCRIPTION_FUNC
from rosidl_generator_type_description import GET_INDIVIDUAL_SOURCE_FUNC
from rosidl_generator_type_description import GE... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/empty__description.c.em", "license": "apache-2.0", "size": 1627} |
### File: rosidl_generator_c/resource/full__description.c.em
@# Included from rosidl_generator_c/resource/idl__description.c.em
@{
from rosidl_generator_c import escape_string
from rosidl_generator_c import idl_structure_type_to_c_include_prefix
from rosidl_generator_c import type_hash_to_c_definition
from rosidl_parse... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/full__description.c.em", "license": "apache-2.0", "size": 8987} |
### File: rosidl_generator_c/resource/msg__functions.c.em
@# Included from rosidl_generator_c/resource/idl__functions.c.em
@{
from ast import literal_eval
from rosidl_parser.definition import AbstractNestedType
from rosidl_parser.definition import AbstractSequence
from rosidl_parser.definition import AbstractString
fro... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/msg__functions.c.em", "license": "apache-2.0", "size": 17928} |
### File: rosidl_generator_c/resource/msg__functions.h.em
@# Included from rosidl_generator_c/resource/idl__functions.h.em
@{
from rosidl_generator_c import idl_structure_type_sequence_to_c_typename
from rosidl_generator_c import idl_structure_type_to_c_typename
from rosidl_generator_c import interface_path_to_string
f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/msg__functions.h.em", "license": "apache-2.0", "size": 7508} |
### File: rosidl_generator_c/resource/msg__struct.h.em
@# Included from rosidl_generator_c/resource/idl__struct.h.em
@{
from rosidl_parser.definition import AbstractGenericString
from rosidl_parser.definition import AbstractNestedType
from rosidl_parser.definition import AbstractSequence
from rosidl_parser.definition i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/msg__struct.h.em", "license": "apache-2.0", "size": 7426} |
### File: rosidl_generator_c/resource/msg__type_support.h.em
@# Included from rosidl_generator_c/resource/idl__type_support.h.em
@{header_file = 'rosidl_runtime_c/message_type_support_struct.h'}@
@[if header_file in include_directives]@
// already included above
// @
@[else]@
@{include_directives.add(header_file)}@
@[e... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/msg__type_support.h.em", "license": "apache-2.0", "size": 594} |
### File: rosidl_generator_c/resource/srv__type_support.c.em
@# Included from rosidl_generator_c/resource/srv__type_support.c.em
@{
from rosidl_parser.definition import SERVICE_EVENT_MESSAGE_SUFFIX
from rosidl_parser.definition import SERVICE_REQUEST_MESSAGE_SUFFIX
from rosidl_parser.definition import SERVICE_RESPONSE_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/srv__type_support.c.em", "license": "apache-2.0", "size": 3010} |
### File: rosidl_generator_c/resource/srv__type_support.h.em
@# Included from rosidl_generator_c/resource/idl__type_support.h.em
@{
TEMPLATE(
'msg__type_support.h.em',
package_name=package_name, message=service.request_message,
include_directives=include_directives)
}@
@{
TEMPLATE(
'msg__type_support.h... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/resource/srv__type_support.h.em", "license": "apache-2.0", "size": 1836} |
### File: rosidl_generator_c/rosidl_generator_c-extras.cmake.in
# generated from rosidl_generator_c/rosidl_generator_c-extras.cmake
# use the same type of library
set(rosidl_generator_c_LIBRARY_TYPE "@rosidl_generator_c_LIBRARY_TYPE@")
include("${CMAKE_CURRENT_LIST_DIR}/register_c.cmake")
rosidl_generator_c_extras(
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/rosidl_generator_c-extras.cmake.in", "license": "apache-2.0", "size": 471} |
### File: rosidl_generator_c/rosidl_generator_c/__init__.py
# 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/rosidl_generator_c/__init__.py", "license": "apache-2.0", "size": 8164} |
### File: rosidl_generator_c/rosidl_generator_c/cli.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License 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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_c/rosidl_generator_c/cli.py", "license": "apache-2.0", "size": 2998} |
### File: rosidl_generator_cpp/CMakeLists.txt
cmake_minimum_required(VERSION 3.12)
project(rosidl_generator_cpp)
find_package(ament_cmake REQUIRED)
find_package(ament_cmake_python REQUIRED)
ament_index_register_resource("rosidl_generator_packages")
ament_python_install_package(${PROJECT_NAME})
if(BUILD_TESTING)
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/CMakeLists.txt", "license": "apache-2.0", "size": 598} |
### File: rosidl_generator_cpp/cmake/register_cpp.cmake
# 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": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/cmake/register_cpp.cmake", "license": "apache-2.0", "size": 1243} |
### File: rosidl_generator_cpp/cmake/rosidl_generator_cpp_generate_interfaces.cmake
# Copyright 2014-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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/cmake/rosidl_generator_cpp_generate_interfaces.cmake", "license": "apache-2.0", "size": 9216} |
### File: rosidl_generator_cpp/resource/action__builder.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__builder.hpp.em
@{
TEMPLATE(
'msg__builder.hpp.em',
package_name=package_name, interface_path=interface_path,
message=action.goal, include_directives=include_directives)
}@
@{
TEMPLATE(
'ms... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/action__builder.hpp.em", "license": "apache-2.0", "size": 1131} |
### File: rosidl_generator_cpp/resource/action__struct.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__struct.hpp.em
@{
from rosidl_parser.definition import ACTION_FEEDBACK_MESSAGE_SUFFIX
from rosidl_parser.definition import ACTION_FEEDBACK_SUFFIX
from rosidl_parser.definition import ACTION_GOAL_SERVICE_SUFF... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/action__struct.hpp.em", "license": "apache-2.0", "size": 3314} |
### File: rosidl_generator_cpp/resource/action__traits.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__traits.hpp.em
@{
from rosidl_parser.definition import ACTION_FEEDBACK_MESSAGE_SUFFIX
from rosidl_parser.definition import ACTION_FEEDBACK_SUFFIX
from rosidl_parser.definition import ACTION_GOAL_SERVICE_SUFF... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/action__traits.hpp.em", "license": "apache-2.0", "size": 2042} |
### File: rosidl_generator_cpp/resource/action__type_support.hpp.em
@# Included from rosidl_generator_cpp/resource/action__type_support.hpp.em
@{header_file = 'rosidl_typesupport_cpp/action_type_support.hpp'}@
@[if header_file in include_directives]@
// already included above
// @
@[else]@
@{include_directives.add(head... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/action__type_support.hpp.em", "license": "apache-2.0", "size": 1566} |
### File: rosidl_generator_cpp/resource/msg__builder.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__builder.hpp.em
@{
from rosidl_parser.definition import EMPTY_STRUCTURE_REQUIRED_MEMBER_NAME
message_typename = '::'.join(message.structure.namespaced_type.namespaced_name())
}@
@[for ns in message.structure... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/msg__builder.hpp.em", "license": "apache-2.0", "size": 2287} |
### File: rosidl_generator_cpp/resource/msg__struct.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__struct.hpp.em
@{
from rosidl_generator_cpp import create_init_alloc_and_member_lists
from rosidl_generator_cpp import escape_string
from rosidl_generator_cpp import escape_wstring
from rosidl_generator_cpp imp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/msg__struct.hpp.em", "license": "apache-2.0", "size": 15379} |
### File: rosidl_generator_cpp/resource/msg__traits.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__traits.hpp.em
@{
from rosidl_parser.definition import ACTION_FEEDBACK_SUFFIX
from rosidl_parser.definition import ACTION_GOAL_SUFFIX
from rosidl_parser.definition import ACTION_RESULT_SUFFIX
from rosidl_parser... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/msg__traits.hpp.em", "license": "apache-2.0", "size": 10428} |
### File: rosidl_generator_cpp/resource/msg__type_support.hpp.em
@# Included from rosidl_generator_cpp/resource/msg__type_support.hpp.em
@{header_file = 'rosidl_typesupport_cpp/message_type_support.hpp'}@
@[if header_file in include_directives]@
// already included above
// @
@[else]@
@{include_directives.add(header_fi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/msg__type_support.hpp.em", "license": "apache-2.0", "size": 668} |
### File: rosidl_generator_cpp/resource/srv__builder.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__builder.hpp.em
@{
TEMPLATE(
'msg__builder.hpp.em',
package_name=package_name, interface_path=interface_path,
message=service.request_message, include_directives=include_directives)
}@
@{
TEMPLATE... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/srv__builder.hpp.em", "license": "apache-2.0", "size": 611} |
### File: rosidl_generator_cpp/resource/srv__struct.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__struct.hpp.em
@{
from rosidl_generator_c import type_hash_to_c_definition
from rosidl_parser.definition import SERVICE_EVENT_MESSAGE_SUFFIX
from rosidl_parser.definition import SERVICE_REQUEST_MESSAGE_SUFFIX
f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/srv__struct.hpp.em", "license": "apache-2.0", "size": 1388} |
### File: rosidl_generator_cpp/resource/srv__traits.hpp.em
@# Included from rosidl_generator_cpp/resource/idl__traits.hpp.em
@{
TEMPLATE(
'msg__traits.hpp.em',
package_name=package_name, interface_path=interface_path,
message=service.request_message, include_directives=include_directives)
}@
@{
TEMPLATE(
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/srv__traits.hpp.em", "license": "apache-2.0", "size": 1754} |
### File: rosidl_generator_cpp/resource/srv__type_support.hpp.em
@# Included from rosidl_generator_cpp/resource/srv__type_support.hpp.em
@{header_file = 'rosidl_typesupport_cpp/service_type_support.hpp'}@
@[if header_file in include_directives]@
// already included above
// @
@[else]@
@{include_directives.add(header_fi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/resource/srv__type_support.hpp.em", "license": "apache-2.0", "size": 972} |
### File: rosidl_generator_cpp/rosidl_generator_cpp-extras.cmake.in
# generated from rosidl_generator_cpp/rosidl_generator_cpp-extras.cmake
include("${CMAKE_CURRENT_LIST_DIR}/register_cpp.cmake")
rosidl_generator_cpp_extras(
"${rosidl_generator_cpp_DIR}/../../../lib/rosidl_generator_cpp/rosidl_generator_cpp"
"${ro... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/rosidl_generator_cpp-extras.cmake.in", "license": "apache-2.0", "size": 386} |
### File: rosidl_generator_cpp/rosidl_generator_cpp/__init__.py
# Copyright 2014-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": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/rosidl_generator_cpp/__init__.py", "license": "apache-2.0", "size": 13271} |
### File: rosidl_generator_cpp/rosidl_generator_cpp/cli.py
# Copyright 2021 Open Source Robotics Foundation, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_cpp/rosidl_generator_cpp/cli.py", "license": "apache-2.0", "size": 2299} |
### File: rosidl_generator_tests/CMakeLists.txt
cmake_minimum_required(VERSION 3.8)
project(rosidl_generator_tests)
# Default to C++17
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
# Default to C11
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 11)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_tests/CMakeLists.txt", "license": "apache-2.0", "size": 4095} |
### File: rosidl_generator_tests/msg/SmallConstant.msg
float32 FLOAT32_CONST=0.05
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "omnetpp-msg", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_tests/msg/SmallConstant.msg", "license": "apache-2.0", "size": 27} |
### File: rosidl_generator_tests/test/rosidl_generator_c/separate_compilation.c
// 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_tests/test/rosidl_generator_c/separate_compilation.c", "license": "apache-2.0", "size": 2341} |
### File: rosidl_generator_tests/test/rosidl_generator_c/separate_compilation.h
// 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
//
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_tests/test/rosidl_generator_c/separate_compilation.h", "license": "apache-2.0", "size": 792} |
### File: rosidl_generator_tests/test/rosidl_generator_c/test_compilation.c
// 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_tests/test/rosidl_generator_c/test_compilation.c", "license": "apache-2.0", "size": 1242} |
### File: rosidl_generator_tests/test/rosidl_generator_c/test_descriptions.c
// 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/rosidl", "path": "rosidl_generator_tests/test/rosidl_generator_c/test_descriptions.c", "license": "apache-2.0", "size": 12051} |
### File: rosidl_generator_tests/test/rosidl_generator_c/test_interfaces.c
// 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
//
// ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_tests/test/rosidl_generator_c/test_interfaces.c", "license": "apache-2.0", "size": 46799} |
### File: rosidl_generator_tests/test/rosidl_generator_c/test_invalid_initialization.c
// 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... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rosidl", "path": "rosidl_generator_tests/test/rosidl_generator_c/test_invalid_initialization.c", "license": "apache-2.0", "size": 2220} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.