免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2109 | 回复: 7
打印 上一主题 下一主题

与编程无关 - 请教一个英文句子的翻译 [复制链接]

论坛徽章:
307
程序设计版块每周发帖之星
日期:2016-04-08 00:41:33操作系统版块每日发帖之星
日期:2015-09-02 06:20:00每日论坛发贴之星
日期:2015-09-02 06:20:00程序设计版块每日发帖之星
日期:2015-09-04 06:20:00每日论坛发贴之星
日期:2015-09-04 06:20:00每周论坛发贴之星
日期:2015-09-06 22:22:00程序设计版块每日发帖之星
日期:2015-09-09 06:20:00程序设计版块每日发帖之星
日期:2015-09-19 06:20:00程序设计版块每日发帖之星
日期:2015-09-20 06:20:00每日论坛发贴之星
日期:2015-09-20 06:20:00程序设计版块每日发帖之星
日期:2015-09-22 06:20:00程序设计版块每日发帖之星
日期:2015-09-24 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-12-29 10:23 |只看该作者 |倒序浏览
文字出自 PowerGrep, 原始文本如下:
The action produced more search matches than PowerGREP can hold in memory at a time.
All 19,800,000 search matches have been deleted, but the results display only the first 0 matches.
The editor only highlights the matches shown in the results.
You can significantly reduce the amount of memory that PowerGREP needs by using the Quick Execute item in the Action or Sequence menu to execute your action or sequence.
When you use Quick Execute, PowerGREP does not keep information about individual matches.  The Results panel only displays match totals and the Editor panel does not highlight any matches.
Action 一次产生的内存使用量大于 PowerGrep 因匹配而产生的内存用量。
共 19,800,000 匹配项已被删除,结果面板仅显示第0个匹配。
在结果面板中仅高亮显示匹配项。
在 "Action or Sequence"  面板中通过执行 "Quick Execute" Action 可以大大减少 PowerGrep 的内存用量。
执行 "Quick Execute" 时,PowerGrep 不会高亮每个匹配结果。在结果面板中仅显示匹配的统计信息而不会高亮任何匹配项。

我想请教大家的是,句子翻译的是否正确。还请大家帮忙指点,谢谢大家。。。

论坛徽章:
0
2 [报告]
发表于 2016-12-29 13:09 |只看该作者
The action produced more search matches than PowerGREP can hold in memory at a time.

PowerGREP一次搜索操作找到的匹配超过了内存容量。

论坛徽章:
307
程序设计版块每周发帖之星
日期:2016-04-08 00:41:33操作系统版块每日发帖之星
日期:2015-09-02 06:20:00每日论坛发贴之星
日期:2015-09-02 06:20:00程序设计版块每日发帖之星
日期:2015-09-04 06:20:00每日论坛发贴之星
日期:2015-09-04 06:20:00每周论坛发贴之星
日期:2015-09-06 22:22:00程序设计版块每日发帖之星
日期:2015-09-09 06:20:00程序设计版块每日发帖之星
日期:2015-09-19 06:20:00程序设计版块每日发帖之星
日期:2015-09-20 06:20:00每日论坛发贴之星
日期:2015-09-20 06:20:00程序设计版块每日发帖之星
日期:2015-09-22 06:20:00程序设计版块每日发帖之星
日期:2015-09-24 06:20:00
3 [报告]
发表于 2016-12-29 14:37 |只看该作者
回复 2# 大米白面
还是您厉害,劳您帮忙看下 这几句该如何解释。谢谢大神帮忙。
The Results menu and toolbar offer various commands for making and reverting replacements after you have previewed or executed a search-and-replace. These commands now show a progress meter when making or reverting replacements across multiple files. The commands for making and reverting replacements in all files are now disabled for actions that produce more search matches than PowerGREP can hold in memory at a time, because PowerGREP won't be able to make or revert the replacements that didn't fit into memory. This can happen when millions of replacements need to be made on computers with limited amounts of RAM. Disabling the commands makes sure you don't mistakenly think that all replacements were made or reverted. The commands for reverting or replacing selected matches or all matches in selected files will still be available to work on those matches that did fit into memory. And the Undo History will always allow you to revert all changes that an action made, even when using the Quick Replace button that does not keep the details of any search matches.



论坛徽章:
95
程序设计版块每日发帖之星
日期:2015-09-05 06:20:00程序设计版块每日发帖之星
日期:2015-09-17 06:20:00程序设计版块每日发帖之星
日期:2015-09-18 06:20:002015亚冠之阿尔艾因
日期:2015-09-18 10:35:08月度论坛发贴之星
日期:2015-09-30 22:25:002015亚冠之阿尔沙巴布
日期:2015-10-03 08:57:39程序设计版块每日发帖之星
日期:2015-10-05 06:20:00每日论坛发贴之星
日期:2015-10-05 06:20:002015年亚冠纪念徽章
日期:2015-10-06 10:06:482015亚冠之塔什干棉农
日期:2015-10-19 19:43:35程序设计版块每日发帖之星
日期:2015-10-21 06:20:00每日论坛发贴之星
日期:2015-09-14 06:20:00
4 [报告]
发表于 2016-12-29 15:13 |只看该作者
回复 3# sunzhiguolu

你这是一秒变身伸手党呀

论坛徽章:
307
程序设计版块每周发帖之星
日期:2016-04-08 00:41:33操作系统版块每日发帖之星
日期:2015-09-02 06:20:00每日论坛发贴之星
日期:2015-09-02 06:20:00程序设计版块每日发帖之星
日期:2015-09-04 06:20:00每日论坛发贴之星
日期:2015-09-04 06:20:00每周论坛发贴之星
日期:2015-09-06 22:22:00程序设计版块每日发帖之星
日期:2015-09-09 06:20:00程序设计版块每日发帖之星
日期:2015-09-19 06:20:00程序设计版块每日发帖之星
日期:2015-09-20 06:20:00每日论坛发贴之星
日期:2015-09-20 06:20:00程序设计版块每日发帖之星
日期:2015-09-22 06:20:00程序设计版块每日发帖之星
日期:2015-09-24 06:20:00
5 [报告]
发表于 2016-12-29 16:13 |只看该作者
The Results menu and toolbar offer various commands for making and reverting replacements after you have previewed or executed a search-and-replace.
These commands now show a progress meter when making or reverting replacements across multiple files.
The commands for making and reverting replacements in all files are now disabled for actions that produce more search matches than PowerGREP can hold in memory at a time, because PowerGREP won't be able to make or revert the replacements that didn't fit into memory.
This can happen when millions of replacements need to be made on computers with limited amounts of RAM. Disabling the commands makes sure you don't mistakenly think that all replacements were made or reverted.
The commands for reverting or replacing selected matches or all matches in selected files will still be available to work on those matches that did fit into memory. And the Undo History will always allow you to revert all changes that an action made, even when using the Quick Replace button that does not keep the details of any search matches.
在执行 "预览 或者 搜索替换" 命令后,结果面板为 标记 和 恢复替换提供多种命令工具。
当对多个文件进行标记或者恢复替换操作时这些命令将以进度条的形式显示。
当 PowerGrep 一次搜索匹配的结果超出内存用量时 位于 Action 的标记和恢复替换命令在所有文件中将不可用,因为 PowerGrep 对于标记或者恢复替换操作的文件副本并未装载到内存中。
对于一台低内存的计算机来说 当执行数以百万计的替换操作时可能发生此类情形。禁止命令的执行可以有效的防止你错误的认为所有的替换操作都能进行恢复。

版主大神, 我并想做伸手党。 关键是英文只认单词 连在一起脑子就乱了。前面的那几句不知道翻译的意思是否正确,最后那两句我实在搞不定了,还请大神出手帮忙啊,谢谢大神了。

论坛徽章:
307
程序设计版块每周发帖之星
日期:2016-04-08 00:41:33操作系统版块每日发帖之星
日期:2015-09-02 06:20:00每日论坛发贴之星
日期:2015-09-02 06:20:00程序设计版块每日发帖之星
日期:2015-09-04 06:20:00每日论坛发贴之星
日期:2015-09-04 06:20:00每周论坛发贴之星
日期:2015-09-06 22:22:00程序设计版块每日发帖之星
日期:2015-09-09 06:20:00程序设计版块每日发帖之星
日期:2015-09-19 06:20:00程序设计版块每日发帖之星
日期:2015-09-20 06:20:00每日论坛发贴之星
日期:2015-09-20 06:20:00程序设计版块每日发帖之星
日期:2015-09-22 06:20:00程序设计版块每日发帖之星
日期:2015-09-24 06:20:00
6 [报告]
发表于 2016-12-29 16:45 |只看该作者
本帖最后由 sunzhiguolu 于 2016-12-29 16:53 编辑

问题得到解决,可是到现在都不明白 仅仅一个 200mb 左右的文件 PowerGrep 需要近 7gb 的内存用量才能将文件副本完全的加载到内存中。
下面是一个预览截图:


哪位大神 帮忙解释下? 谢谢大家。。。

论坛徽章:
95
程序设计版块每日发帖之星
日期:2015-09-05 06:20:00程序设计版块每日发帖之星
日期:2015-09-17 06:20:00程序设计版块每日发帖之星
日期:2015-09-18 06:20:002015亚冠之阿尔艾因
日期:2015-09-18 10:35:08月度论坛发贴之星
日期:2015-09-30 22:25:002015亚冠之阿尔沙巴布
日期:2015-10-03 08:57:39程序设计版块每日发帖之星
日期:2015-10-05 06:20:00每日论坛发贴之星
日期:2015-10-05 06:20:002015年亚冠纪念徽章
日期:2015-10-06 10:06:482015亚冠之塔什干棉农
日期:2015-10-19 19:43:35程序设计版块每日发帖之星
日期:2015-10-21 06:20:00每日论坛发贴之星
日期:2015-09-14 06:20:00
7 [报告]
发表于 2016-12-29 17:09 |只看该作者
回复 6# sunzhiguolu

仅仅一个 200mb 左右的文件 PowerGrep 需要近 7gb 的内存用量才能将文件副本完全的加载到内存中。


正则在匹配的时候,由于回朔等原因,是会出现指数爆炸的情况。当然,不同的正则引擎,具体恶化的情况也不一样。但是,用正则匹配一个几百兆的字符串,实在不是什么好主意。针对你的情况,最好是加入一些额外限制,例如锚定,例如去掉多行匹配(如果有的话),让每次匹配限制在一行之内,这样情况应该会好很多。

评分

参与人数 1信誉积分 +6 收起 理由
sunzhiguolu + 6 666

查看全部评分

论坛徽章:
307
程序设计版块每周发帖之星
日期:2016-04-08 00:41:33操作系统版块每日发帖之星
日期:2015-09-02 06:20:00每日论坛发贴之星
日期:2015-09-02 06:20:00程序设计版块每日发帖之星
日期:2015-09-04 06:20:00每日论坛发贴之星
日期:2015-09-04 06:20:00每周论坛发贴之星
日期:2015-09-06 22:22:00程序设计版块每日发帖之星
日期:2015-09-09 06:20:00程序设计版块每日发帖之星
日期:2015-09-19 06:20:00程序设计版块每日发帖之星
日期:2015-09-20 06:20:00每日论坛发贴之星
日期:2015-09-20 06:20:00程序设计版块每日发帖之星
日期:2015-09-22 06:20:00程序设计版块每日发帖之星
日期:2015-09-24 06:20:00
8 [报告]
发表于 2016-12-29 18:08 |只看该作者
The commands for reverting or replacing selected matches or all matches in selected files will still be available to work on those matches that did fit into memory.
And the Undo History will always allow you to revert all changes that an action made, even when using the Quick Replace button that does not keep the details of any search matches.
当这些匹配全部加载到内存中时,针对选择文件的 恢复操作 或  替换匹配项 或 所有匹配 等命令 将始终保持可用。
并且 撤销历史 允许你恢复所有的更改,即使执行快速替换亦是如此。

字面翻译 我就这个水平了。 哪位大神 有时间的话帮忙看下 如果哪里有不对的地方 帮忙纠正下 谢谢大家。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP