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/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:a56dfde3-50da-edca-19f4-fdd698ad5be7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 94BE:3677D5:12F1A37:1943729:6A5AA5FF |
| html-safe-nonce | 987811b3d52cd13819cf1d468aecb87637e845de24fc7b7feee0bd3e5856ea20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEJFOjM2NzdENToxMkYxQTM3OjE5NDM3Mjk6NkE1QUE1RkYiLCJ2aXNpdG9yX2lkIjoiNDkzNTA2MjM2Mjg1NDY5NjQ0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e4d0954d19690fbfb06b7215063bff47c69367f8149d01fb94c750cd2ebc9669 |
| hovercard-subject-tag | pull_request:3486647452 |
| 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/8/commits |
| 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 | 17a57ee6ab03686731c491fccb57e6a97c066a29d7cdf1a7d83c46f5c56684fc |
| 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 | 5cb870aa6b86b87be75e23ca7caec54726a25af9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width