Procrustean assignment
名词 n.
英文释义
名词 n.
-
A form of assignment to fixed-length string variables in which a shorter value is padded to the necessary length while a longer one is truncated.
— […]the string that is being assigned to it is cut off on the right if it is too long, or filled out with spaces if it is too short - this is called Procrustean assignment[…]
词源
After the legendary highwayman Procrustes, who stretched or cut his victims to make them fit a bed.
0 次浏览
数据来源: Wiktionary