Reference string parameter causes Segmentation fault?
引用字符串参数会导致分割错误?
The reference string is defined by the specified control that handles the postback and a string argument of additional event information.
参考字串是由处理回传的指定控制项和其他事件资讯的字串引数所定义。
They hold only one piece of data: a string, a number, the undefined value, a reference to another variable.
它只保存一段数据:一个字符串、一个数字、未定义的值以及对另一个变量的引用。
To locate the calculator server we need to take the string version of the object reference stored in the file and turn it into an object reference we can use to call through.
为了找到计算程序服务器,需要取得存储在这个文件中的对象引用的字符串版本,然后把它转换成对象引用,通过这个对象引用就可以进行调用了。
Finally, the string type is a reference type, so every string instance refers to an additional block of memory to hold the actual string data.
最后,字符串类型是引用类型,因此每个字符串实例都引用一个附加的内存块,以存放实际的字符串数据。
This ensures that repeated use of the same constant strings in your code will utilize the same string reference.
这可以确保在代码中重复使用相同的常量字符串时,可以利用相同的字符串引用。
You can use the buffer reference in both the search and in the substitution string.
在搜索和替换字符串中都可以使用缓冲区引用。
Given a reference to an appropriate data structure, the second converts it to an XML document, either in string format or as a file, depending upon its parameters.
给出适当数据结构的引用,第二个子例程将它转换为XML文档,根据参数的不同,产生的XML文档采用字符串格式或文件形式。
The code passes the string value of what the control is referenced as in this local Web page so that the controller object can reference that when it renders the view objects.
代码传递在此局部网页中引用的控件的字符串值,以便在其显示视图对象时控制器对象可以引用该值。
The W3C appears to be moving toward treating the namespace URI as a string that does not need to be resolved against some frame of reference.
W3C似乎开始转变对名称空间uri的看法,将它看作不需要根据一些引用框架进行解析的字符串。
The creation of a string representation of an object reference and the reverse, string-to-object reference, is required functionality for all ORBs.
对于所有的orb来说,创建一个对象引用的字符串表示,或者反过来,创建由字符串到对象的引用,都是必备的功能。
So, for example, by specifying the return object as a type "json", jQuery will automatically convert the response String from a server into a json object, allowing you to reference it immediately.
所以,例如通过将返回对象指定为“json ”类型,jQuery将能自动将来自服务器的响应字符串转换成json对象,使您能够立即引用它。
Instead of making calls to equals which compares strings character by character, you can compare names reported by the parser against string constants by reference.
这里不需要调用一个字符一个字符地进行比较的equals函数,相反,您可以通过引用将解析器报告的名称与字符串常量进行比较。
The declaration begins with the global reference to the Flex application, then a method call that always begins with the string get followed by the ID of the target object.
该声明首先是Flex应用程序的全局引用,然后是始终以字符串get 为开头、后接目标对象ID的方法调用。
The pathName parameter can be an empty string, or it can reference a file.
参数pathName可以是空字符串,或者引用一个文件。
The only way for StringReader to see the str reference to be anything other than a String object with "hello" as its value is if the problem of out-of-order writes occurs.
如果发生了无序写入问题,则使StringReader看到str引用的惟一方法绝不是值为“hello”的String对象。
This means that when you define the component called "Title", you need to reference it by the type "Title", even though it is a simple type defined by the fact that it is a string.
这意味着当您定义名为“Title”的组件时,即使它是字符串这一事实决定了它是一个简单类型,您也需要通过类型“Title”引用它。
The convert function takes the variable containing the input string, as well as a reference to the Label widget as parameters, so that it can change the value shown by the Label.
convert以包含有输入字符串的变量以及对Label窗口小部件的引用作为参数,以改变Label所显示的值。
But there's a slight twist: the onclick property wants to be fed a function reference — not the string name of a function, but a reference to the function itself.
但是有点细微的地方:onclick属性需要提供函数引用——不是函数的字符串名称,而是函数本身的引用。
One thread could see the STR reference refer to a String object in which the constructor has not run.
一个线程能看见str引用一个String对象,在该对象中构造函数尚未运行。
The ior is a string representation of an Interoperable Object Reference (ior) that we have retrieved from a file — calcref.ior.
ior是可互操作对象引用(ior)的字符串表示,是从文件calcref . ior中检索到的。
You might wonder about the String class given the issue of out-of-order writes and a reference becoming non-null prior to the constructor executing. Consider the following code.
鉴于无序写入和引用在构造函数执行前变成非null的问题,您可能会考虑string类。
The method call on the orb string_to_object() will simply take our ior string and convert it to an object reference. Here is the code from our client, SimpleCalcClient.java
对orb string_to_object()的方法调用只取得ior字符串,并将它转换成对象引用。
You can substitute this value with your own text string or a value from another data source, such as a data pool, reference, custom code, or another test variable.
您可以使用您自己的字符串,或者来自另一个数据源的值来替换该值,这些数据源包括数据汇,引用,通用代码,或者其他的测试变量。
The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface.
标签必须设置一个对字符串资源的参照值,这样它就能够像其他字符串一样在用户界面上显示。
Line 22 instantiates the site variable using two arguments: the first argument contains a reference to an OleFrame, and the second argument contains a string that identifies the ActiveX control.
在第22行上,通过使用两个参数来实例化site变量:第一个参数包含对OleFrame的引用,第二个参数包含标识activex控件的字符串。
The key will be a string name that will appear as an available reference inside the templates.
key是一个字符串名,将在模板中作为可用的引用出现。
The analog signal is compared with all the reference voltages at once by a string of high-speed comparators whose outputs are used to generate the binary output.
输入模拟信号立即与所有的参考电压通过一串高速比较器进行比较,高速比较器用于产生二进制输出。
The System.String class provides an Intern method that ensures a string is in the intern pool and returns the reference to it.
String类提供了Intern方法,以确保字符串位于“Internpool”中,并且返回对它的引用。
The System.String class provides an Intern method that ensures a string is in the intern pool and returns the reference to it.
String类提供了Intern方法,以确保字符串位于“Internpool”中,并且返回对它的引用。
应用推荐