zhiics commented on a change in pull request #5806:
URL: https://github.com/apache/incubator-tvm/pull/5806#discussion_r441138644
##########
File path: include/tvm/runtime/container.h
##########
@@ -1372,6 +1306,31 @@ class String : public ObjectRef {
*/
static int memncmp(const char* lhs, const char* rhs, size_t lhs_count,
size_t rhs_count);
+ /*!
+ * \brief Concatenate two char sequences
+ *
+ * \param lhs Pointers to the lhs char array
+ * \param lhs_size The size of the lhs char array
+ * \param rhs Pointers to the rhs char array
+ * \param rhs_size The size of the rhs char array
+ *
+ * \return The concatenated char sequence
+ */
+ static char* Concat(const char* lhs, size_t lhs_size, const char* rhs,
size_t rhs_size) {
+ char* concat = new char[lhs_size + rhs_size + 1];
Review comment:
Sorry. I misunderstood.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]