我生命中每年都有几个月被用来调试那些奇怪的指针问题。
Months of my life are just gone from debugging problems with wild Pointers.
文章指出了这种内存管理机制存在的问题,阐述了内存碎片问题和指针问题。
The problems, such as fragments and Pointers, existing in this kind of memory management method, are presented.
这并不是说某些规则(如格式设置规则)不重要,而是应该将它们与其他问题进行比较权衡,例如空指针或处理不当的异常。
That is not to say that some rules, like formatting rules, are not important, just that they should be weighed in comparison to other issues, such as null Pointers or mishandled exceptions.
将鼠标指针放在出现语法错误(比如这里的语法错误)的地方,一会将出现一个描述问题的快捷提示;在本例中,它指出语句不完整,还需要一个分号。
Holding the mouse pointer over a syntax error like this brings up a hover tip describing the problem; in this case, it indicates that it is an incomplete statement requiring a semicolon.
如果您预先知道什么地方可能出错,那么您就能够小心避免陷阱,并消除大多数与指针和内存相关的问题。
If you are aware of what can go wrong beforehand, then you can take care to avoid the pitfalls and get rid of most of the Pointers and memory-related problems.
这种转换问题的典型示例就是指针。
The classic example to this translation problem is a pointer.
将字符指针和字符字节声明为无符号类型的,这样可以防止8位字符的符号扩展问题。
Declare character Pointers and character bytes as unsigned to avoid sign extension problems with 8-bit characters.
库可以解决多种不同的内存问题,以致于直接对它们进行比较是非常困难的;这方面的常见主题包括垃圾收集、智能指针和智能容器。
Libraries address so many different memory issues that it's difficult to compare them directly; common rubrics in the domain include garbage collection, smart Pointers, and smart containers.
如果创建BIO对象时遇到问题,指针将会是NULL。
If there was a problem creating the BIO object, the pointer will be NULL.
但问题是,他们是在一个时间根本没有指针的房间时跳舞。
There's a problem, though: They are dancing in a room in which the clocks have no hands.
但问题是,他们是在一个时间根本没有指针的房间时跳舞。
There’s a problem, though: They are dancing in a room in which the clocks have no hands.
一个快速修复是指针对一个普通或者琐碎问题的一套自动化的解决方案。
A quick fix is an automated solution for a common or trivial problem.
由于指针、int和long在64位系统上大小不再相同了,因此根据这些变量是如何赋值和在应用程序中使用的,可能会出现问题。
Since pointer, int, and long are no longer the same size on 64-bit systems, problems may arise depending on how the variables are assigned and used within an application. A few tips in this regard.
一种快速但不正确的解决这个问题的方法是除去Leaf类并通过简单地将空指针放在Branch的left和right字段中来表示leaf节点。
The quick but incorrect way to remedy the problem would be to eliminate the Leaf class and represent Leaf nodes simply by putting null Pointers in the left and right fields of a Branch.
但是通过使用RationalPurify的运行时分析,您能够指出发生问题的对象指针的准确代码行(图10)。
By doing a runtime analysis with Rational Purify, however, you can pinpoint the exact line of code where the reference to the object in question has been created (Figure 10).
如果您需要编写这种代码,就可能会碰到可移植性的问题;您应该开发一个具有单独标记的结构,并使用这些结构,而不是使用指针。
If you need to write code like this, you are in trouble for portability; you should probably develop a structure with separate flags, and use these instead of Pointers.
在处理指针时,您可以使用本文中的信息来避免许多问题。
While working with Pointers, you can use the information in this article to avoid many of the problems.
包含指向所有相关激活和相关父问题的指针。
Contains Pointers to all associated Activities and related parent Issue.
要包含DITA而不用事先转换,不用担心翻译问题,也不会生成新的源文件副本,最好的办法就是使用指针。
The best way to include DITA without transforming in advance, without worrying about translation, and without generating new source copies is simply to do so with a pointer.
如果你只需要时钟的断续器,那么你可以放心地拆卸,而不必担心再装配的问题,将齿轮、指针甚至电磁体都统统扔掉。
If you just need the clock's ticker. you can disassemble without worrying about reassembly. and throwaway the gears. hands, and even the electromagnet.
铸造成员函数指针到另一个类型和背部,严格的混叠问题?
Casting from member function pointer to another type and back, strict-aliasing issue?
我可以用一个问题总结我们在Apartly上的开发过程:“它能拨动指针吗?”
I can summarize our development process at Apartly with one question: "will it move the needle?"
使用无效迭代器是没有定义的,可能会导致与悬垂指针相同的问题。
Using an invalidated iterator is undefined, and likely to lead to the same kinds of problems as using a dangling pointer.
例如,当Web服务产生的音频开始断断续续或者鼠标指针开始微微颤抖的时候,您就会注意到这些问题。
You would notice them if, for example, the audio produced by a Web service begins to stutter or the mouse cursor starts to shake a little.
心理辅导是指针对个人或心理问题的专家意见。
And that means professional help with personal or psychological problems.
而由指针错误引起的调试问题连富有经验的程序员都感到头疼。
Debugging problems due to pointer errors bedevil even experienced programmers.
对指针变量以及过程间的数据的分析是嵌套式语言全程分析的关键问题之一。
The analysis of pointer variable and inter procedure data is one of the key problem in the whole program analysis of nested language.
对指针变量以及过程间的数据的分析是嵌套式语言全程分析的关键问题之一。
The analysis of pointer variable and inter procedure data is one of the key problem in the whole program analysis of nested language.
应用推荐