Displaying 2 results from an estimated 2 matches for "endposition".
Did you mean:
end_position
2005 Dec 13
1
correct C function usage
...unction and is always maximally as large
as length(values).
I also don't understand the purpose of $ab in the example:
conv <- function(a, b)
.C("convolve",
-snip-
ab = double(length(a) + length(b) - 1))$ab
void testFill(int *values, int *newvalues, int* endposition ){
newvalues[0] = 1;
newvalues[1] = 2;
*endposition = 2;
}
dyn.load("../testFill.so")
testTestFill <- function(){
tempfilled <- testFillC( c(30:40))
realfilled <- tempfilled$newvalues[1:tempfilled$endposition]
return(realfilled)
}
testFillC <...
2010 Jan 16
1
PHP XapianTermIterator/XapianPositionIterator usage
Hello again,
/thanks to Peter for previous response.
I've been digging around trying to find sample usage of
XapianTermIterator/XapianPositionIterator in PHP. The idea is to code up a
test case in PHP to perform snippet extraction (with a possible view to
coding a pecl extension in C). I found a C++ sample, but that wasn't much
help.
I must be dense this morning though, since I