Incidencia #45080

generate_packets.py: add separate class for array sizes

Abrir Fecha: 2022-07-11 04:21 Última actualización: 2022-07-12 19:16

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
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.

Ticket History (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
  • Resolución Update from Ninguno to Accepted
Comentario

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
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar