举一个简单的例子,您可以看到呈现代码结构的框架。
In a simple example like this, you can see the skeleton of the code structure showing through.
最简单的结构应该在相同的插件中部署概要文件和代码。
The simplest structure would be to deploy both the profile(s) and the code in the same plug-in.
对于简单易于重现的错误,重音应该落在“半”而不是“随机”上;此时,调试技巧和对代码以及其结构的熟识能派上大用场。
For simple and easily reproducible bugs, then, the accent will be on the "semi" rather than the "random"; debugging skill and intimacy with the code and its architecture will matter a lot.
虽然通过分析堆转储能够标识内存泄漏数据结构,但是标识无限循环中的内存泄漏代码并不简单。
While it might be possible to identify the memory leaking data structure by analyzing the heap dumps, identifying the memory leaking code which is in a infinite loop is not straightforward.
这是目前为止最简单的方法,因为您改变的仅是代码的结构(通常通过在您选择的IDE中重构支持)。
This is by far the simplest technique because you're just changing your code's structure (frequently through refactoring support in your IDE of choice).
不需要重新定义一个特定的结构,您只需要将头文件“包含”在您的代码(代码重用的一种简单形式)中,并按照头文件中的规范编写代码。
Rather than redefine a specific structure, you simply "include" the header file in your code (a simple form of code reuse) and code to the header file's specifications.
根据本文撰写的目的,我使用了图1所示的简单结构,它表示一个Excel代码清单。
For the purpose of this article, I use the simple structure in Figure 1, which represents an Excel code list.
xml简单api (Simple APIfor XML,SAX)是一种事件驱动XML API,由它定义的事件流可以指定从解析器传到专门的处理程序代码的XML结构。
Simple API for XML (SAX), an event-driven XML API, defines a stream of events specifying XML structure as handed from the parser to the specialized handler code.
框架的强大并非源于一个广泛的代码库,而是源于其自身的简单,以及其普遍适用性和职责在体系结构上的良好分布。
The framework's power comes not from an extensive library of code but from its simplicity, combined with its generality and well-architected distribution of responsibilities.
对于简单的应用程序来说,它可以让您只用几行代码就实现存储和装入结构化数据。
For simple applications, it will let you save and load structured data in just a few lines of code.
该层次结构在概念上可以划分为四种类别:简单类型、容器类型、代码类型和内部类型。
This hierarchy can be conceptually broken down into four categories: simple types, container types, code types, and internal types.
一个倾听我们记录的播客的人简单地问了这样一个问题:为什么当今大学毕业生不能够编写出干净的代码(也就是,易读的、结构合理的、优雅的代码)呢?
One of the people listening to us record the podcast simply asked me why students coming out of our colleges today don't write good code (that is, readable, well-formatted, elegant code).
对应的Linux代码(清单7)看起来简单很多,因为它的结构和函数参数比Windows简单。
The corresponding code in Linux (Listing 7) seems much simpler because the structure and function arguments are simpler than in Windows.
至此,通过几个简单的脚本,您已经对Processing语言有了大致的了解,但这些脚本是一些非结构化的代码,只提供了应用程序的一些简单元素。
So far, you've explored the Processing language in a collection of simple scripts - unstructured code that provided simple elements of an application.
简单来说,这就是Google用来测试他们的产品、确保代码质量的流程和组织结构。
In few words, this is the process and the organization used by Google to test their products and to ensure code quality.
从结构上来说,这个主循环非常简单。上面的代码片段基本上能够囊括你的游戏的整个工作过程。
Structurally, the loop is very simple. The above snippet of code can encapsulate the entire workings of your game.
本文采用LAG数据结构对测井曲线图数据进行压缩,压缩效率较高,且算法简单,代码简洁。
LAG was used to compress well-logging data, which has the merits of relatively high compressed efficiency, quite simple algorithm and the extremely succinct code.
整个软件代码量小、结构简单、易于移植和扩充。
The entire software codes are small amount, simple structure and transplant easily.
一个简单的数据库结构转换代码,是我从网上发现的,传上来和大家一起学习。
A simple database structure conversion code, which I found from the Internet, communication up and we will study together.
在深层结构的对象上使用带条件的原生查询是简单的,你可以像你对待其他简单的代码一样完成它。
Using native queries with constraints on deep structured objects is straightforward, you can do it just like you would in plain other code.
如果我们能有一个清爽的、能把功能和代码简单联系起来,并且抛弃他们的主要问题(不要提降低美观的要求)的良结构的菜单,那会怎么样?
What if we could have one clean, well-structured menu which would combine the dynamism and code-ease of dropdown menus and do away with their main problems (not to mention degrade beautifully)?
如果我们能有一个清爽的、能把功能和代码简单联系起来,并且抛弃他们的主要问题(不要提降低美观的要求)的良结构的菜单,那会怎么样?
What if we could have one clean, well-structured menu which would combine the dynamism and code-ease of dropdown menus and do away with their main problems (not to mention degrade beautifully)?
应用推荐