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.
根据计算机科学教授斯图尔特·拉塞尔的说法,如果我们弄清楚如何将人类价值观转化为可编程代码,则可以避免这种危险。
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)。
The aim of this case study is to add some trace calls to the ESQL code of Figure 1.
本案例研究的目标是为图1的ESQL代码增加一些跟踪调用。
The code fragment in Figure 1 shows the exact path the application took when executing the switch statement on line 111.
图1中的代码段显示了第111行执行交换陈述时所应用的准确路径。
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)。
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 中突出显示的文本来完成。
A running JMS application contains three distinct layers of code, as shown in Figure 1.
运行的JMS应用程序包含三个截然不同的代码层,如图1如示。
As you may notice, the transformation appends the @generated annotation to elements in the generated code (Figure 8).
可能您会注意到,转换会在生成的代码中,对元素应用@generated注释(图8)。
When the JSP editor opens, select the Source TAB and examine the following code, see Figure 10.
当JSP编辑器打开后,选择Source选项卡并检查下面的代码,参见图10。
When a Milestone service is started at run-time, it runs its start-up code (shown in Figure 3).
当某个 Milestone服务在运行时启动时,它将运行其启动代码(如图 3 所示)。
In addition, Visual Basic.net allows you to touch a static member through an instance of a type, even a derived type, as you can see in the code in Figure 12.
另外,Visual Basic . NET允许您通过类型的实例、甚至派生类型的实例来触及静态成员,如图12中的代码所示。
Using Dojo's soria stylesheet this code would look like Figure 4.
使用Dojo的soria样式表后,此代码应该类似图4。
The code in Figure 5 employs parameterized SQL to stop injection attacks.
图5中的代码使用参数化s QL阻止Injection攻击。
If you want to work through the examples yourself, you can download the application and the sample test code. Figure 1 shows HTMLDocumentEditor in action.
如果您想自己完成示例,可以下载应用程序和样例测试代码。
The code in Figure 5, taken from Orders_SDS.aspx (which is available in the download), shows the two SqlDataSource controls and the DropDownList.
图5中的代码(摘自orders_sds . aspx—它可在下载中得到)显示了两个SqlDataSource控件和这个DropDownList。
The code in Figure 5, taken from Orders_SDS.aspx (which is available in the download), shows the two SqlDataSource controls and the DropDownList.
图5中的代码(摘自orders_sds . aspx—它可在下载中得到)显示了两个SqlDataSource控件和这个DropDownList。
应用推荐