text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: src/google/protobuf/util/internal/proto_writer.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitte...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/proto_writer.cc", "license": "bsd", "size": 28667}
### File: src/google/protobuf/util/internal/proto_writer.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/proto_writer.h", "license": "bsd", "size": 15322}
### File: src/google/protobuf/util/internal/protostream_objectsource.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/protostream_objectsource.cc", "license": "bsd", "size": 39916}
### File: src/google/protobuf/util/internal/protostream_objectsource.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/protostream_objectsource.h", "license": "bsd", "size": 14710}
### File: src/google/protobuf/util/internal/protostream_objectsource_test.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modificat...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/protostream_objectsource_test.cc", "license": "bsd", "size": 36208}
### File: src/google/protobuf/util/internal/protostream_objectwriter.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/protostream_objectwriter.cc", "license": "bsd", "size": 47767}
### File: src/google/protobuf/util/internal/protostream_objectwriter.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/protostream_objectwriter.h", "license": "bsd", "size": 17124}
### File: src/google/protobuf/util/internal/protostream_objectwriter_test.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modificat...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/protostream_objectwriter_test.cc", "license": "bsd", "size": 94457}
### File: src/google/protobuf/util/internal/structured_objectwriter.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, ar...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/structured_objectwriter.h", "license": "bsd", "size": 4648}
### File: src/google/protobuf/util/internal/type_info.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted p...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/type_info.cc", "license": "bsd", "size": 7106}
### File: src/google/protobuf/util/internal/type_info.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted pr...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/type_info.h", "license": "bsd", "size": 4055}
### File: src/google/protobuf/util/internal/type_info_test_helper.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/type_info_test_helper.cc", "license": "bsd", "size": 5214}
### File: src/google/protobuf/util/internal/type_info_test_helper.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/type_info_test_helper.h", "license": "bsd", "size": 4002}
### File: src/google/protobuf/util/internal/utility.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted pro...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/utility.cc", "license": "bsd", "size": 14111}
### File: src/google/protobuf/util/internal/utility.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted prov...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/internal/utility.h", "license": "bsd", "size": 8459}
### File: src/google/protobuf/util/json_util.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/json_util.cc", "license": "bsd", "size": 11329}
### File: src/google/protobuf/util/json_util.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided th...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/json_util.h", "license": "bsd", "size": 8555}
### File: src/google/protobuf/util/json_util_test.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/json_util_test.cc", "license": "bsd", "size": 22654}
### File: src/google/protobuf/util/message_differencer.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/message_differencer.cc", "license": "bsd", "size": 84673}
### File: src/google/protobuf/util/message_differencer.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted p...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/message_differencer.h", "license": "bsd", "size": 47295}
### File: src/google/protobuf/util/message_differencer_unittest.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are p...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/message_differencer_unittest.cc", "license": "bsd", "size": 116700}
### File: src/google/protobuf/util/package_info.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/package_info.h", "license": "bsd", "size": 2080}
### File: src/google/protobuf/util/time_util.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/time_util.cc", "license": "bsd", "size": 16867}
### File: src/google/protobuf/util/time_util.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided th...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/time_util.h", "license": "bsd", "size": 12228}
### File: src/google/protobuf/util/time_util_test.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/time_util_test.cc", "license": "bsd", "size": 16239}
### File: src/google/protobuf/util/type_resolver.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provide...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/type_resolver.h", "license": "bsd", "size": 2893}
### File: src/google/protobuf/util/type_resolver_util.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted p...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/type_resolver_util.cc", "license": "bsd", "size": 14360}
### File: src/google/protobuf/util/type_resolver_util.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted pr...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/type_resolver_util.h", "license": "bsd", "size": 2407}
### File: src/google/protobuf/util/type_resolver_util_test.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permit...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/util/type_resolver_util_test.cc", "license": "bsd", "size": 17473}
### File: src/google/protobuf/well_known_types_unittest.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/well_known_types_unittest.cc", "license": "bsd", "size": 2745}
### File: src/google/protobuf/wire_format.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/wire_format.cc", "license": "bsd", "size": 68410}
### File: src/google/protobuf/wire_format.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/wire_format.h", "license": "bsd", "size": 18112}
### File: src/google/protobuf/wire_format_lite.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/wire_format_lite.cc", "license": "bsd", "size": 28279}
### File: src/google/protobuf/wire_format_lite.h // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/wire_format_lite.h", "license": "bsd", "size": 86071}
### File: src/google/protobuf/wire_format_unittest.cc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted prov...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/wire_format_unittest.cc", "license": "bsd", "size": 2800}
### File: src/google/protobuf/wire_format_unittest.inc // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted pro...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/protobuf", "path": "src/google/protobuf/wire_format_unittest.inc", "license": "bsd", "size": 53296}
### File: tests.sh #!/bin/bash # # Build and runs tests for the protobuf project. We use this script to run # tests on kokoro (Ubuntu and MacOS). It can run locally as well but you # will need to make sure the required compilers/tools are available. # For when some other test needs the C++ main build, including protoc...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "tests.sh", "license": "bsd", "size": 16718}
### File: toolchain/BUILD load(":cc_toolchain_config.bzl", "cc_toolchain_config") package(default_visibility = ["//visibility:public"]) filegroup(name = "empty") TOOLCHAINS = { "osx-x86_64": "cc-compiler-osx-x86_64", "osx-aarch_64": "cc-compiler-osx-aarch_64", "linux-aarch_64": "cc-compiler-linux-aarch_6...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "minhanghuang/protobuf", "path": "toolchain/BUILD", "license": "bsd", "size": 5864}
### File: toolchain/cc_toolchain_config.bzl load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES") load( "@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", "artifact_name_pattern", "feature", "flag_group", "flag_set", "tool_path", ) all_link_actions = [ ACTION_NAMES....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "minhanghuang/protobuf", "path": "toolchain/cc_toolchain_config.bzl", "license": "bsd", "size": 5284}
### File: update_compatibility_version.py #!/usr/bin/env python """Compatibility tests between last released and the current version. Usage: ./update_compatibility_version.py <MAJOR>.<MINOR>.<MICRO> [<RC version>] Example: ./update_compatibility_version.py 3.7.1 """ from __future__ import print_function import re imp...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/protobuf", "path": "update_compatibility_version.py", "license": "bsd", "size": 1405}
### File: update_file_lists.sh #!/bin/bash -u # This script copies source file lists from src/Makefile.am to cmake files. get_variable_value() { local FILENAME=$1 local VARNAME=$2 awk " BEGIN { start = 0; } /^$VARNAME =/ { start = 1; } { if (start) { print \$0; } } /\\\\\$/ { next; } { start...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/protobuf", "path": "update_file_lists.sh", "license": "bsd", "size": 6801}
### File: update_version.py #!/usr/bin/env python # Usage: ./update_version.py <MAJOR>.<MINOR>.<MICRO> [<RC version>] # # Example: # ./update_version.py 3.7.1 2 # => Version will become 3.7.1-rc-2 (beta) # ./update_version.py 3.7.1 # => Version will become 3.7.1 (stable) import datetime import re import sys from x...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/protobuf", "path": "update_version.py", "license": "bsd", "size": 13451}
### File: util/python/BUILD load("@rules_cc//cc:defs.bzl", "cc_library") # This is a placeholder for python headers. Projects needing to use # fast cpp protos in protobuf's python interface should build with # --define=use_fast_cpp_protos=true, and in addition, provide # //external:python_headers dependency that in tu...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Starlark", "repo_name": "minhanghuang/protobuf", "path": "util/python/BUILD", "license": "bsd", "size": 819}
### File: ros2cli_common_extensions/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(ros2cli_common_extensions) find_package(ament_cmake REQUIRED) if(BUILD_TESTING) find_package(ament_lint_auto REQUIRED) ament_lint_auto_find_test_dependencies() endif() ament_package()
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ros2cli_common_extensions", "path": "ros2cli_common_extensions/CMakeLists.txt", "license": "apache-2.0", "size": 235}
### File: .devcontainer/post-create.sh #!/bin/ash pip install -r requirements-docs.txt
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Shell", "repo_name": "minhanghuang/ros2_cookbook", "path": ".devcontainer/post-create.sh", "license": "cc0-1.0", "size": 49}
### File: docs/generate_cookbook.py #!/usr/bin/env python import pathlib import mkdocs_gen_files import tomli # Parameters config_file = pathlib.Path(__file__).parent/"cookbook_config.toml" config = tomli.loads(config_file.read_text()) client_libraries = config["client_libraries"] nav_file = "literate-nav.md" # Def...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2_cookbook", "path": "docs/generate_cookbook.py", "license": "cc0-1.0", "size": 2473}
### File: docs/javascripts/mathjax.js window.MathJax = { tex: { inlineMath: [["\\(", "\\)"]], displayMath: [["\\[", "\\]"]], processEscapes: true, processEnvironments: true }, options: { ignoreHtmlClass: ".*|", processHtmlClass: "arithmatex" } }; document$.subscribe(() => { MathJax.st...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "minhanghuang/ros2_cookbook", "path": "docs/javascripts/mathjax.js", "license": "cc0-1.0", "size": 385}
### File: docs/stylesheets/extra.css .centered-content { text-align: center; }
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "minhanghuang/ros2_cookbook", "path": "docs/stylesheets/extra.css", "license": "cc0-1.0", "size": 46}
### File: rmw_implementation/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(rmw_implementation) # 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_opti...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rmw_implementation", "path": "rmw_implementation/CMakeLists.txt", "license": "apache-2.0", "size": 4276}
### File: rmw_implementation/rmw_implementation-extras.cmake.in # Copyright 2014-2016 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rmw_implementation", "path": "rmw_implementation/rmw_implementation-extras.cmake.in", "license": "apache-2.0", "size": 3229}
### File: rmw_implementation/src/functions.cpp // Copyright 2016-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/rmw_implementation", "path": "rmw_implementation/src/functions.cpp", "license": "apache-2.0", "size": 31146}
### File: rmw_implementation/src/functions.hpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/lice...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "rmw_implementation/src/functions.hpp", "license": "apache-2.0", "size": 1243}
### File: rmw_implementation/src/visibility_control.h // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.o...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rmw_implementation", "path": "rmw_implementation/src/visibility_control.h", "license": "apache-2.0", "size": 2052}
### File: rmw_implementation/test/benchmark/benchmark_symbols.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "rmw_implementation/test/benchmark/benchmark_symbols.cpp", "license": "apache-2.0", "size": 1208}
### File: rmw_implementation/test/test_functions.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.or...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "rmw_implementation/test/test_functions.cpp", "license": "apache-2.0", "size": 1926}
### File: test_rmw_implementation/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(test_rmw_implementation) # 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/rmw_implementation", "path": "test_rmw_implementation/CMakeLists.txt", "license": "apache-2.0", "size": 7864}
### File: test_rmw_implementation/test/allocator_testing_utils.h // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/allocator_testing_utils.h", "license": "apache-2.0", "size": 2611}
### File: test_rmw_implementation/test/config.hpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/l...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/config.hpp", "license": "apache-2.0", "size": 1037}
### File: test_rmw_implementation/test/test_client.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_client.cpp", "license": "apache-2.0", "size": 17438}
### File: test_rmw_implementation/test/test_create_destroy_node.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_create_destroy_node.cpp", "license": "apache-2.0", "size": 7091}
### File: test_rmw_implementation/test/test_duration_infinite.cpp // Copyright 2021 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/rmw_implementation", "path": "test_rmw_implementation/test/test_duration_infinite.cpp", "license": "apache-2.0", "size": 4180}
### File: test_rmw_implementation/test/test_event.cpp // Copyright 2023 Sony Group Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LI...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_event.cpp", "license": "apache-2.0", "size": 15247}
### File: test_rmw_implementation/test/test_graph_api.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_graph_api.cpp", "license": "apache-2.0", "size": 47687}
### File: test_rmw_implementation/test/test_init_options.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_init_options.cpp", "license": "apache-2.0", "size": 5590}
### File: test_rmw_implementation/test/test_init_shutdown.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_init_shutdown.cpp", "license": "apache-2.0", "size": 8055}
### File: test_rmw_implementation/test/test_publisher.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_publisher.cpp", "license": "apache-2.0", "size": 23543}
### File: test_rmw_implementation/test/test_publisher_allocator.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_publisher_allocator.cpp", "license": "apache-2.0", "size": 1011}
### File: test_rmw_implementation/test/test_qos_profile_check_compatible.cpp // 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 // // ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_qos_profile_check_compatible.cpp", "license": "apache-2.0", "size": 196...
### File: test_rmw_implementation/test/test_serialize_deserialize.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // htt...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_serialize_deserialize.cpp", "license": "apache-2.0", "size": 11284}
### File: test_rmw_implementation/test/test_service.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_service.cpp", "license": "apache-2.0", "size": 21315}
### File: test_rmw_implementation/test/test_subscription.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.a...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_subscription.cpp", "license": "apache-2.0", "size": 68845}
### File: test_rmw_implementation/test/test_subscription_allocator.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ht...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_subscription_allocator.cpp", "license": "apache-2.0", "size": 1023}
### File: test_rmw_implementation/test/test_unique_identifiers.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_unique_identifiers.cpp", "license": "apache-2.0", "size": 12426}
### File: test_rmw_implementation/test/test_wait_set.cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apach...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/test_wait_set.cpp", "license": "apache-2.0", "size": 16292}
### File: test_rmw_implementation/test/testing_macros.hpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/rmw_implementation", "path": "test_rmw_implementation/test/testing_macros.hpp", "license": "apache-2.0", "size": 1249}
### File: Constants.py class AstConstants: KIND = "kind" NAME = "name" NO_SPELLING = "[no spelling]" USING_DIRECTIVE = "USING_DIRECTIVE" FUNCTION_DECL = "FUNCTION_DECL" CALL_EXPR = "FUNCTION_CALL" NAMESPACE_REF = "NAMESPACE" VAR_DECL = "VARIABLE_TYPE" VAR_TYPE = "var_type" LINE =...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "Constants.py", "license": "apache-2.0", "size": 4719}
### File: clang/__init__.py #===- __init__.py - Clang Python Bindings --------------------*- python -*--===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # #===-----...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "clang/__init__.py", "license": "apache-2.0", "size": 594}
### File: clang/cindex.py #===- cindex.py - Python Indexing Library Bindings -----------*- python -*--===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # #===-------...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "clang/cindex.py", "license": "apache-2.0", "size": 126891}
### File: clang/clang_parser.py #Copyright (c) 2017 Andre Santos # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the rights #to use, copy, mod...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "clang/clang_parser.py", "license": "apache-2.0", "size": 13781}
### File: clang/enumerations.py #===- enumerations.py - Python Enumerations ------------------*- python -*--===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # #===-...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "clang/enumerations.py", "license": "apache-2.0", "size": 1106}
### File: porting_tools/cmake_lists_porter.py # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "porting_tools/cmake_lists_porter.py", "license": "apache-2.0", "size": 18112}
### File: porting_tools/constants.py # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located 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": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "porting_tools/constants.py", "license": "apache-2.0", "size": 2959}
### File: porting_tools/cpp_source_code_porter.py # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apa...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "porting_tools/cpp_source_code_porter.py", "license": "apache-2.0", "size": 51277}
### File: porting_tools/package_xml_porter.py # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "porting_tools/package_xml_porter.py", "license": "apache-2.0", "size": 5517}
### File: porting_tools/utils.py # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located 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": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "porting_tools/utils.py", "license": "apache-2.0", "size": 1572}
### File: ros_upgrader.py #!/usr/bin/env python3 import argparse import copy import fnmatch import logging import os import sys import xml.etree.ElementTree as etree from clang.clang_parser import CppAstParser from Constants import AstConstants, Constants, MappingConstants from porting_tools.cmake_lists_porter impor...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "ros_upgrader.py", "license": "apache-2.0", "size": 20998}
### File: utilities.py import copy import datetime import difflib import json import os import re import shutil import sys from Constants import AstConstants, Constants, MappingConstants, RosConstants class Utilities: """ Provides some utility functions """ # path to src folder of ROS1 package to con...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2-migration-tools", "path": "utilities.py", "license": "apache-2.0", "size": 18183}
### File: rosidl_generator_dds_idl/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(rosidl_generator_dds_idl 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...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl_dds", "path": "rosidl_generator_dds_idl/CMakeLists.txt", "license": "apache-2.0", "size": 639}
### File: rosidl_generator_dds_idl/cmake/rosidl_generate_dds_interfaces.cmake # Copyright 2014-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": "CMake", "repo_name": "minhanghuang/rosidl_dds", "path": "rosidl_generator_dds_idl/cmake/rosidl_generate_dds_interfaces.cmake", "license": "apache-2.0", "size": 5406}
### File: rosidl_generator_dds_idl/resource/action.idl.em @# Included from rosidl_generator_dds_idl/resource/idl.idl.em @{ TEMPLATE( 'msg.idl.em', package_name=package_name, interface_path=interface_path, message=action.goal, get_post_struct_lines=get_post_struct_lines, idl_typename=idl_typename...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl_dds", "path": "rosidl_generator_dds_idl/resource/action.idl.em", "license": "apache-2.0", "size": 1595}
### File: rosidl_generator_dds_idl/resource/msg.idl.em @# Included from rosidl_generator_dds_idl/resource/idl.idl.em @{ from rosidl_parser.definition import AbstractNestableType from rosidl_parser.definition import AbstractNestedType from rosidl_parser.definition import AbstractSequence from rosidl_parser.definition im...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "EmberScript", "repo_name": "minhanghuang/rosidl_dds", "path": "rosidl_generator_dds_idl/resource/msg.idl.em", "license": "apache-2.0", "size": 1817}
### File: rosidl_generator_dds_idl/resource/srv.idl.em @# Included from rosidl_generator_dds_idl/resource/idl.idl.em @{ TEMPLATE( 'msg.idl.em', package_name=package_name, interface_path=interface_path, message=service.request_message, get_post_struct_lines=get_post_struct_lines, idl_typename=idl_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_dds", "path": "rosidl_generator_dds_idl/resource/srv.idl.em", "license": "apache-2.0", "size": 825}
### File: rosidl_generator_dds_idl/rosidl_generator_dds_idl-extras.cmake.in # generated from # rosidl_generator_dds_idl/rosidl_generator_dds_idl-extras.cmake.in find_package(ament_cmake_core QUIET REQUIRED) set(rosidl_generator_dds_idl_BIN "${rosidl_generator_dds_idl_DIR}/../../../lib/rosidl_generator_dds_idl/rosid...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/rosidl_dds", "path": "rosidl_generator_dds_idl/rosidl_generator_dds_idl-extras.cmake.in", "license": "apache-2.0", "size": 874}
### File: rosidl_generator_dds_idl/rosidl_generator_dds_idl/__init__.py # Copyright 2014-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 # # htt...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl_dds", "path": "rosidl_generator_dds_idl/rosidl_generator_dds_idl/__init__.py", "license": "apache-2.0", "size": 4010}
### File: rosidl_generator_dds_idl/rosidl_generator_dds_idl/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.ap...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/rosidl_dds", "path": "rosidl_generator_dds_idl/rosidl_generator_dds_idl/cli.py", "license": "apache-2.0", "size": 2143}
### File: ros2action/ros2action/api/__init__.py # 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/L...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2cli", "path": "ros2action/ros2action/api/__init__.py", "license": "apache-2.0", "size": 4006}
### File: ros2action/ros2action/command/action.py # 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...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2cli", "path": "ros2action/ros2action/command/action.py", "license": "apache-2.0", "size": 1331}
### File: ros2action/ros2action/verb/__init__.py # 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/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2cli", "path": "ros2action/ros2action/verb/__init__.py", "license": "apache-2.0", "size": 1331}
### File: ros2action/ros2action/verb/find.py # Copyright 2024 Sony Group Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2cli", "path": "ros2action/ros2action/verb/find.py", "license": "apache-2.0", "size": 1773}
### File: ros2action/ros2action/verb/info.py # 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/LICE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/ros2cli", "path": "ros2action/ros2action/verb/info.py", "license": "apache-2.0", "size": 2636}