Displaying 7 results from an estimated 7 matches for "stringbuff".
Did you mean:
stringbuf
2010 Sep 22
0
[LLVMdev] Stack roots and function parameters
...(I'll use Java for the
examples):
Example 1:
class Foo {
static String st = "Hello";
void f1() {
f2(st);
}
void f2(String s) {
st = null; // Destroy static root
// Now allocate something, which might trigger
// a garbage collection.
StringBuffer sb = new StringBuffer();
// Is 's' still live? It's not stored in any
// alloca, or in any global variable. It only
// exists as a function parameter, which cannot
// be declared as a root via llvm.gcroot.
sb.append(s);
}
}
Example 2:
class Foo...
2007 Oct 31
3
Performance of concatenating strings
...esult it
builds up strings to visualize the result. The external function is
really fast, also for huge input data. But the building of the
strings takes much to long for huge input sizes. So I'm wondering if
the concatenating could be the problem, like using String in Java
instead of StringBuffer. Is there something like StringBuffers in R
also?
Thanks,
T. Steijger
2010 Sep 20
2
[LLVMdev] Stack roots and function parameters
So I've managed to get my stack crawler working and passing its unit tests -
this is the one I've been working on as an alternative to shadow-stack: it
uses only static constant data structures (no global variables or
thread-local data), which means that it's fully compatible with a
multi-threaded environment.
One question that has arisen, however, is what to do about function
2007 Dec 05
4
Java parser for R data file?
Hi everyone,
Has anyone written a parser in Java for either the ASCII or binary format
produced by save()? I need to parse a single large 2D array that is
structured like this:
list(
"32609_1" = c(-9549.39231289146, -9574.07159324482, ... ),
"32610_2" = c(-6369.12526971635, -6403.99620977124, ... ),
"32618_2" = c(-2138.29095689061, -2057.9229403233, ... ),
2010 Sep 22
6
[LLVMdev] Stack roots and function parameters
...1:
> class Foo {
> static String st = "Hello";
> void f1() {
> f2(st);
> }
> void f2(String s) {
> st = null; // Destroy static root
> // Now allocate something, which might trigger
> // a garbage collection.
> StringBuffer sb = new StringBuffer();
> // Is 's' still live? It's not stored in any
> // alloca, or in any global variable. It only
> // exists as a function parameter, which cannot
> // be declared as a root via llvm.gcroot.
s is definitely still live assumin...
2010 Sep 22
0
[LLVMdev] Stack roots and function parameters
...ring st = "Hello";
> > void f1() {
> > f2(st);
> > }
> > void f2(String s) {
> > st = null; // Destroy static root
> > // Now allocate something, which might trigger
> > // a garbage collection.
> > StringBuffer sb = new StringBuffer();
> > // Is 's' still live? It's not stored in any
> > // alloca, or in any global variable. It only
> > // exists as a function parameter, which cannot
> > // be declared as a root via llvm.gcroot.
>
> s is...
2004 Oct 14
1
R and Java
I am calling R from within Java.
But I don't think that I can get any plots written to file from R - inside
Java.
This snippet of code(from a larger piece of code) compiles in Java, but
doesn't do anything!
functions.append("trial<-c(1,3,4,5)\n");
functions.append("dawpdf<-function(filename){\n");