我现在想不起来当初我是怎么让我的“PONG ”和“BREAKOUT ”游戏屏幕显示分数的了,大概是用了个字符生成器吧。
I forget right now how I generated the score digits on my "PONG" and "BREAKOUT" screens but I probably used a char generator.
我没有手工编写字符生成器结构,而是借用了Linux内核中的font_acorn_8x8 . c中的代码(这是framebuffer驱动程序树的一部分)。
Rather than draw out a character generator structure by hand, I've borrowed font_acorn_8x8.c from the Linux kernel (this is part of the framebuffer driver tree).
xml文件内容以字符串的形式从模板生成器中得到。
范围生成器计算给定字符串的hash码,以搜索并返回一个点范围,这个范围的起始值和终止值是hash码本身。
The range producer computes the hash code for the given string to search for and returns a point range where the start and the end of the range is the hash code itself.
此方法的劣势在于,Feed生成器必须理解查询字符串。
The disadvantage to this approach is that the feed producer must understand the query string.
Feed生成器将查询字符串传递给数据库或存储库并返回包含与查询字符串匹配的条目的 Feed。
The feed producer passes the query string to the database or repository and returns a feed with entries matching the query string.
键生成器计算给定字符串的hash码,这个hash码被存储在DB 2内部的B -树中。
The key generator computes the hash code for the given string, and that hash code is stored in the DB2-internal B-Tree.
规则的查询被转换为查询字符串,并作为请求参数传递给Feed生成器。
The query for the rule is converted to a query string and passed as a request parameter to the feed producer.
否则,客户端将退回到一个基于时间、剩余磁盘空间以及其他的主机特定信息的随机字符串生成器。
Otherwise, the client will fall back to a random-string generator based on time of day, free disk space, and other host-specific information.
如何重定向程序生成器的输出到一个字符串?
所有的自定义数据生成器都能够在运行时访问数据库连接字符串。
All custom data generators have access to the database connection string at run time.
恶意自定义生成器可能会公开连接字符串信息。
A malicious custom generator could expose the connection string information.
恶意自定义生成器可能会公开连接字符串信息。
A malicious custom generator could expose the connection string information.
应用推荐