pgtt/table.py
def usage( cls ) -> str:
        """
        Generate memory allocation usage information for the user.
        """
        string  = f"This memory map requires a total of {len(cls._allocated)} translation tables.\n"
        string += f"Each table occupies {args.tg_str} of memory ({hex(args.tg)} bytes).\n"
        string += f"The buffer pointed to by '{args.ttb}' is therefore {len(cls._allocated)}x{args.tg_str} = {hex(args.tg * len(cls._allocated))} bytes long."
        return string

        Generate memory allocation usage information for the user.
        
Generate memory allocation usage information for the user.
Generate memory allocation usage information for the user .
def usage( cls ) -> str:
        string  = f"This memory map requires a total of {len(cls._allocated)} translation tables.\n"
        string += f"Each table occupies {args.tg_str} of memory ({hex(args.tg)} bytes).\n"
        string += f"The buffer pointed to by '{args.ttb}' is therefore {len(cls._allocated)}x{args.tg_str} = {hex(args.tg * len(cls._allocated))} bytes long."
        return string
def usage ( cls ) -> str : string = f"This memory map requires a total of {len(cls._allocated)} translation tables.\n" string += f"Each table occupies {args.tg_str} of memory ({hex(args.tg)} bytes).\n" string += f"The buffer pointed to by '{args.ttb}' is therefore {len(cls._allocated)}x{args.tg_str} = {hex(args.tg * len(cls._allocated))} bytes long." return string
Generate memory allocation usage information for the user.
Generate memory allocation usage information for the user .
"""
        Generate memory allocation usage information for the user.
        """
cls