任务单 #45080

generate_packets.py: add separate class for array sizes

开放日期: 2022-07-11 04:21 最后更新: 2022-07-12 19:16

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

Part of #43927. Field class currently has three separate fields for the three components of an array size (or string / memory length) ~> package those into one object of a new class SizeInfo, and move appropriate parsing code to that class.

任务单历史 (3/4 Histories)

2022-07-11 04:21 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: add separate class for array sizes" created
2022-07-11 04:54 Updated by: alienvalkyrie
  • 处理结果 Update from to Accepted
评论

Note: While it's clear what they're used for in the code, I was only able to guess what the d, u and o in the original field names stood for exactly, since even digging through the mailing list archive didn't reveal any documentation – presumably "declared", "used" and "old"; I changed the u to "real", since it's the real_packet field.

2022-07-12 19:16 Updated by: alienvalkyrie
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

编辑

Please login to add comment to this ticket » 登录名