这个代码应该做什么?
If I want to validate this code in a white box manner, I have to separate UI-specific code from business code, which requires some refactoring.
如果我想以白盒方式验证这段代码,就必须将特定于用户界面的代码与业务代码分开,这就需要进行重构。
If you vectorize this code, since you are treating the values as bytes, that means that each instruction will operate on 16 values at once!
如果对代码进行向量化,由于您正在将这些值当作字节进行处理,这意味着每条指令都要一次操作16 个值!
Now you can execute this code.
现在可以执行该代码了。
Here is a snippet of this code.
下面是该代码的一个片段。
Let's refactor this code a bit.
让我们稍微对该段代码进行重构。
在清单5 中查看此代码。
清单10展示了这些代码。
清单12显示了这段代码。
So, what's going on in this code?
那么,代码中发生了什么?
So this code is, in fact, correct.
所以这个代码实际上是正确的。
清单7显示了这个代码。
清单4显示了该代码。
Listing 6 shows some of this code.
清单6给出部分代码。
What's so terrible about this code?
这段代码中哪些部分非常糟糕?
清单13显示了代码。
按前面一样运行该代码。
我们分析一下这段代码。
You can see this code in Listing 4.
您可在清单4中查看代码。
Now you're ready to compile this code.
现在,您已经为编译此代码做好了准备。
现在来看看这段代码。
这段代码有什么功能?
So let's look at this code for a second.
那么让我们来看看这个代码吧。
Note that this code is fully thread safe.
注意这样的代码是完全线程安全的。
Unfortunately, this code doesn't compile.
不幸的是,该代码不能通过编译。
You'll note several new pieces to this code.
您会注意到这个代码中的几个新部分。
Is the purpose of this code easy to explain?
该代码的目的是否容易解释?
Line 26 is the important piece of this code.
第26行是这段代码的重要部分。
Can you spot what is wrong with this code?
您可以确定以下代码的问题吗?
Let's go element by element through this code.
我们来逐个看看这个代码中的元素。
应用推荐