To make one executable look like many executables, BusyBox exploits a seldom-used feature of argument passing to the main C function. Recall that the C main function is defined as follows
为了让一个可执行程序看起来就像是很多可执行程序一样,BusyBox 为传递给C的 main函数的参数开发了一个很少使用的特性。
Each parameter is specified by calling a client method with the same name and by passing the value to the method as first argument.
通过调用相同名称的客户端以及将值作为第一个参数传递给该方法,来指定每个参数。
You can do this by initiating a CLI session and passing the appropriate command with the -c argument.
实现方法就是发起一个CLI会话并使用- c参数传递相应的命令。
Like filter , map evaluates the string passed as its second argument, passing each list element in turn, via v: val.
和filter一样,map计算作为第二个参数传递的字符串,并且通过v:val传递每个列表元素。
To send your array of string objects, you call the JSON.stringify function, passing in the array as the argument.
要发送字符串对象数组,您调用JSON . stringify函数,将数组作为参数传递进来。
A potential show-stopper, passing "this" as an argument to a method or a constructor from inside a mixin is forbidden!
可能的显示阻塞(show -stopper)将“this”作为参数从mixin内部传递给方法或构造器,这是被禁止的!
That expression is a recursive call to lazy-seq-fibo, but this time, it is calling the two argument case, passing in 0 and 1 to it.
该表达式是对lazy - seq - fibo的一个递归调用,不过这次,它调用的是有两个参数的情况,并向其传递0和1。
Listing 3 initializes a new Zend_Soap_Server object in non-WSDL mode, passing a null value as the first argument to the object constructor.
清单3传递一个null值到对象构造函数的第一个参数,以非wsdl模式初始化了一个新的Zend_Soap_Server对象。
Also, passing a non-string argument to a string-oriented function such as substring , contains , and so forth.
以及向面向字符串的函数如substring 、contains传递非字符参数等。
For method calls, I tried the same three access variations as for field access, with the added variable of using no-argument methods versus passing and returning a value on the method calls.
在方法调用中,我试用了与字段接入相同的三种接入变量,并增加了使用无参数方法变量,而不是在方法调用中传递和返回一个值。
On the other hand, code can't be much more straightforward than passing an argument to a method and examining the result.
另一方面,代码再易懂也不如将参数传给一个方法并检查结果更加直白。
Copy the files to the migrate directory, compile and run it, passing the name of each product XML file as an argument.
将文件复制到migrate目录,编译并运行它,此时要传递每个产品XML文件的名称作为参数。
To create a Pattern, you must call its compile , passing a regular expression as an argument.
要创建Pattern,必须调用它的compile,同时传递一个正则表达式作为参数。
Line 9 invokes the Web service passing the namespace, method, and argument.
第9行调用Web服务,传入命名空间、方法和参数。
The first example illustrates calling a Scheme function from C, passing in an argument, and capturing the return value.
第一个例子演示如何从C调用一个Scheme函数,传入一个参数,并捕获返回值。
We do this using the pageconfigure function on the enclosing NoteBook widget, passing the symbolic name of the referenced TAB as the first argument.
我们在封装标签的NoteBook窗口小部件中使用pageconfigure函数来完成这一任务,传入的第一个参数为被引用的标签的符号名。
And then I'll call fast Max val passing at this extra argument of the memo.
然后我会调用快速maxval函数,而它是基于这个额外变量memo的。
Passing the -h argument to the yuicompressor.jar file shows the basic usage information for yui compressor.
将- h传递参数到yuicompressor . jar文件,显示yuicompressor的基本用法信息。
The above target executes the feedparser.py script, passing the RSS URL as the single argument.
上面的目标以RSSURL为唯一的参数来执行feedparser. py脚本。
Passing the ENT_QUOTES argument to htmlspecialchars to ensure that single quotes (') are also escaped isn’t strictly necessary in this case, but it’s a good habit to get into.
将ENT_QUOTES标识传递给htmlspecialchars函数,从而保证单引号也会被转义。 虽然这并是最主要的,但也算是一个良好习惯。
To run the sample, execute the uddi.wsdl.v2.publish.PublishSample class, passing in as a single argument the publishURL to be used.
要运行样本,可以执行uddi.wsdl.v2.publish.PublishSample类,传入作为单一参数而使用的 publishURL 。
If you are passing a sequence as an argument to a function, using tuples reduces the potential for unexpected behavior due to aliasing.
如果你要把一个序列作为参数传给一个函数,用元组能够降低由于别名使用导致未知情况而带来的风险。
You didn't create a period timer, passing Infinite for the period argument.
你没有创建一个周期定时器,通过无限的期争论。
Your normal habit when passing an argument to a function should be to pass by const reference.
用常量引用给一个函数传递参数,是一种好的习惯。
Your normal habit when passing an argument to a function should be to pass by const reference.
当给函数传递参数时,你要养成的良好习惯是传递常量引用。
Please note that the example above assumes that we are passing in the customer's first and last name to the first argument.
请注意,在以上例子中我们假设将客户的名和姓传值到第一个参数。
This message indicates that the code is passing an unexpected NULL parameter as an argument to the specified API.
此消息意味着代码将意外的NULL参数作为变量传递给指定的API。
There is an argument for transposing the passing of the MCa and the FCd if you wish.
如果你愿意,可以把攻击中场和 拖后前锋的传球方式适当互相换一下,但是这里有争议。
There is an argument for transposing the passing of the MCa and the FCd if you wish.
如果你愿意,可以把攻击中场和 拖后前锋的传球方式适当互相换一下,但是这里有争议。
应用推荐