This danger can be avoided, according to computer science professor Stuart Russell, if we figure out how to turn human values into a programmable code.
根据计算机科学教授斯图尔特·拉塞尔的说法,如果我们弄清楚如何将人类价值观转化为可编程代码,则可以避免这种危险。
As you can see from Figure 1, the generated code executes much faster than reflection in every case.
从图1中可以看出,不管在什么情况下,生成的代码执行都比反射要快得多。
This makes the whole picture comes into focus: Traceability, from requirement through model to code (Figure 31).
这使整个图片集中到一点:跟踪性,从请求到模型,到代码(参见图31)。
The code snippet in Figure 8 illustrates how to implement the "prepare once, execute many" programming technique.
图8所示的代码片段说明了如何实现“一次准备,多次运行”编程技术。
Requirements teams can see which of their requirements have been turned into running, tested code (see Figure 7).
需求团队可以查看什么需求被转化为运行,测试代码(参见图7)。
Figure 1 shows several code pages for different languages and platforms.
图1展示了几个用于不同语言和平台的代码页。
Custom code (shown in Figure 6) USES references in the test as input, and then returns modified values to the test.
定制代码(如图6所示)使用测试中的引用作为输入,然后返回修改的值到测试中。
You can see the addition below in Figure 28; the new code starts on line 106.
您可以看到下图28中的附加内容;新的代码从106行开始。
To see how it can happen, try to put the runtime into a deadlocked state using the sinister code in Figure 6 .
要了解它是如何发生的,请尝试使用图6中不好的代码将运行库置于死锁状态。
Select the newly created package and click OK again to generate the implementation code (Figure 20).
选择新创建的包并再次单击ok以创建实现代码(图20)。
Working with the output, continue modeling, delegating to the legacy code (see Figure 5).
处理输出、继续建模、授权到遗留代码(请参见图5所示)。
Figure 6-8 shows the code accessing a data location at 0001f574.
图6 - 8表明代码正在访问内存地址为0001f574的数据。
PDT also provides something we've come to expect with ides: code completion (see Figure 3).
PDT还提供我们希望ide具备的功能:代码补全(见图3)。
Figure 2 shows how you can generate code using camel-casing preferences.
图2展示了如何使用“驼峰式”大小写格式偏好生成代码。
The aim of this case study is to add some trace calls to the ESQL code of Figure 1.
本案例研究的目标是为图1的ESQL代码增加一些跟踪调用。
Finally, a renderer for sending a 406 response code (Figure 16).
最后是用来发送406响应代码的呈现(图16)。
This figure illustrates how code bases are separated into modules for strong architecture and ownership.
这幅图描绘了代码基础是如何被分割到模块中用于强壮的架构和所有权的。
BTM then generates the ARM code for those classes automatically (Figure 1).
BTM然后为这些类自动生成ARM代码(图1)。
Figure 3 shows the output of the JSP code.
图3展示了JSP代码的输出结果。
The update indicator array is initialized to -7 as shown in the Figure 5 code snippet from the RPG HANDLE_UPDATE sub-procedure.
图5中的来自RPG handle_update子过程的代码段显示,更新指示符数组被初始化为-7。
This is where we're going to use the build utility to generate the EAR file from our source code (see Figure 3).
这就是我们定义构建工具从而从源代码中生成ear文件的地方(见于图3)。
The overall structure of the test automation harness is shown in Figure 3 and an outline of the code is shown in Figure 4.
图3显示了测试自动化管理的整体结构,图4显示了代码大纲。
You can do this by editing the highlighted text as shown in figure 34 and changing this code to the highlighted text in figure 35.
这可以通过将图34中突出显示的文本更改为图35 中突出显示的文本来完成。
As you may notice, the transformation appends the @generated annotation to elements in the generated code (Figure 8).
可能您会注意到,转换会在生成的代码中,对元素应用@generated注释(图8)。
Figure 9: Scrap - measured by lines of code deleted.
图9:废弃—通过被删除的代码行数进行测量。
When the JSP editor opens, select the Source TAB and examine the following code, see Figure 10.
当JSP编辑器打开后,选择Source选项卡并检查下面的代码,参见图10。
Figure 10 shows some code you can use to replace the simple login page created earlier.
Figure10列出了一些可以替换前面那个简单登录页面的代码。
Figure 15. JNDI name in the generated code.
图15.生成的代码中的JNDI名字。
Using Dojo's soria stylesheet this code would look like Figure 4.
使用Dojo的soria样式表后,此代码应该类似图4。
Using Dojo's soria stylesheet this code would look like Figure 4.
使用Dojo的soria样式表后,此代码应该类似图4。
应用推荐