Title: fix: 修复严格别名问题和 position() 返回值 by CPythoner · Pull Request #8 · CPythoner/ByteBuffer · GitHub
Open Graph Title: fix: 修复严格别名问题和 position() 返回值 by CPythoner · Pull Request #8 · CPythoner/ByteBuffer
X Title: fix: 修复严格别名问题和 position() 返回值 by CPythoner · Pull Request #8 · CPythoner/ByteBuffer
Description: ByteBuffer with C++. Contribute to CPythoner/ByteBuffer development by creating an account on GitHub.
Open Graph Description: 描述 本 PR 修复了 Code Review 中发现的两个严重问题。 变更内容 1. 修复严格别名问题 (Issue #6) 问题: read<T>(index) 方法通过指针类型转换访问内存,违反 C++ strict aliasing 规则,可能导致未定义行为。 修改前: template <typename T> T read(uint32_t index) ...
X Description: 描述 本 PR 修复了 Code Review 中发现的两个严重问题。 变更内容 1. 修复严格别名问题 (Issue #6) 问题: read<T>(index) 方法通过指针类型转换访问内存,违反 C++ strict aliasing 规则,可能导致未定义行为。 修改前: template <typename T> T read(...
Opengraph URL: https://github.com/CPythoner/ByteBuffer/pull/8
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:16bde3c7-7b0a-c13d-e5fa-252dd9a4f3ed |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DE0E:273237:ED2A31:133711B:6A5AF591 |
| html-safe-nonce | 875b2e747bf0c9896463a891211c46c03f2f463ad69d5a07031698bf19eb4f4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTBFOjI3MzIzNzpFRDJBMzE6MTMzNzExQjo2QTVBRjU5MSIsInZpc2l0b3JfaWQiOiIzOTI4OTc0OTY2NzgwNTIzOTIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4221eb022f95c65f72a061860086e1f2005af9113e7c48221ba328b5dc742966 |
| hovercard-subject-tag | pull_request:3486647452 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/8/checks |
| twitter:image | https://opengraph.githubassets.com/234ac59aa5412d2f829d5acedca035dabb888731180c53d56471f66e01208ddc/CPythoner/ByteBuffer/pull/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/234ac59aa5412d2f829d5acedca035dabb888731180c53d56471f66e01208ddc/CPythoner/ByteBuffer/pull/8 |
| og:image:alt | 描述 本 PR 修复了 Code Review 中发现的两个严重问题。 变更内容 1. 修复严格别名问题 (Issue #6) 问题: read<T>(index) 方法通过指针类型转换访问内存,违反 C++ strict aliasing 规则,可能导致未定义行为。 修改前: template <typename T> T read(uint32_t index) ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CPythoner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width