Macro wrapper for memcpy#13770
Conversation
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
…einterpret_cast Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
This reverts commit 6e3a257. Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
Signed-off-by: grial <grial@google.com>
…r_impl Signed-off-by: grial <grial@google.com>
rialg
left a comment
There was a problem hiding this comment.
Hi, I failed see how to change line 189 (memcpy(base_ + data_, src + size - copy_size, copy_size);) so as to implement it with either SAFE_MEMCPY or MemBlockBuilder. WDYT?
Signed-off-by: grial <grial@google.com>
|
Retrying Azure Pipelines: |
|
main merge needed. |
Signed-off-by: grial1 <grial@google.com>
|
@lizan do you have other comments? It would be good to get this in as it's kind of a conflict-magnet :) |
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: grial1 <grial@google.com>
lizan
left a comment
There was a problem hiding this comment.
Sorry I thought I approved this one, can you fix CI then I can merge.
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: rialg <grial@google.com>
|
/retest |
|
Retrying Azure Pipelines: |
|
ACK. Thanks @jmarantz! |
|
And thank you for pushing this all the way through! IIRC there were some follow-ups from this PR. Are you going to be able to pursue those? |
|
Of course :). I will start to work on the pending changes on a new branch and submit the PR for reviewing next week, most likely. |
…eference to memory that has been already allocated Signed-off-by: rialg <grial@google.com>
Description:
Initial migration from memcpy to SAFE_MEMCPY Macro and MemBlockBuilder. Only a few files were changed, tests and corrections to the check_format script are still pending.
Fixes #9328