Title: refactor: 使用 std::vector 管理内存并修复问题 by CPythoner · Pull Request #14 · CPythoner/ByteBuffer · GitHub
Open Graph Title: refactor: 使用 std::vector 管理内存并修复问题 by CPythoner · Pull Request #14 · CPythoner/ByteBuffer
X Title: refactor: 使用 std::vector 管理内存并修复问题 by CPythoner · Pull Request #14 · CPythoner/ByteBuffer
Description: 修复 Code Review 中发现的问题
本次修复内容
问题 1.2: equals() 方法缺少 const
添加 const 限定符到 equals() 方法声明
问题 2.1: 使用 std::vector 替代 calloc/free
移除裸指针 p_buffer_,改用 std::vector
Open Graph Description: 修复 Code Review 中发现的问题 本次修复内容 问题 1.2: equals() 方法缺少 const 添加 const 限定符到 equals() 方法声明 问题 2.1: 使用 std::vector 替代 calloc/free 移除裸指针 p_buffer_,改用 std::vector<uint8_t> buffer_ 析构函数改为 default(ve...
X Description: 修复 Code Review 中发现的问题 本次修复内容 问题 1.2: equals() 方法缺少 const 添加 const 限定符到 equals() 方法声明 问题 2.1: 使用 std::vector 替代 calloc/free 移除裸指针 p_buffer_,改用 std::vector<uint8_t> buffer_ 析构函数改为 de...
Opengraph URL: https://github.com/CPythoner/ByteBuffer/pull/14
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3c822097-34ab-8960-c1e6-cfddc89f8abd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A748:E957F:1544A94:1E12781:6A5A3B52 |
| html-safe-nonce | 14acf7ac050742c4aa6803ffafc3b2b3821cece8970c5821bbe9d57d6d0b3f07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzQ4OkU5NTdGOjE1NDRBOTQ6MUUxMjc4MTo2QTVBM0I1MiIsInZpc2l0b3JfaWQiOiI4OTU4MDMzMzUyODQzNzM3OTM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2093aa1ecafd38a8c269858f4f385e2d9508fe86826eb4cb3e340382e68c325a |
| hovercard-subject-tag | pull_request:3486852912 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/CPythoner/ByteBuffer/pull/14/files |
| twitter:image | https://avatars.githubusercontent.com/u/6645605?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6645605?s=400&v=4 |
| og:image:alt | 修复 Code Review 中发现的问题 本次修复内容 问题 1.2: equals() 方法缺少 const 添加 const 限定符到 equals() 方法声明 问题 2.1: 使用 std::vector 替代 calloc/free 移除裸指针 p_buffer_,改用 std::vector<uint8_t> buffer_ 析构函数改为 default(ve... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19c67ad7579d2401ff06e88a32ef45460fbb40fab3191c7f7582d5e166f326fc |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/CPythoner/ByteBuffer git https://github.com/CPythoner/ByteBuffer.git |
| octolytics-dimension-user_id | 6645605 |
| octolytics-dimension-user_login | CPythoner |
| octolytics-dimension-repository_id | 351674544 |
| octolytics-dimension-repository_nwo | CPythoner/ByteBuffer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 351674544 |
| octolytics-dimension-repository_network_root_nwo | CPythoner/ByteBuffer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e618485bff22dab2ef1ffb4e34e4e6626688df69 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width