search for: splitline

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

Did you mean: split_line
2006 Jun 27
3
reading a matrix from a file
...ng I'm not able to put the output of the above into a matrix. Below is an example of what I have done > INfile<-file("mTest.txt", "r") > readLines(INfile)->matrix > matrix [1] "1, 2, 3" > strsplit(matrix, ",")->splitLine > splitLine [[1]] [1] "1" " 2" " 3" > netMatrix <-matrix(c(splitLine), nrow=1,ncol=3) > netMatrix [,1] [,2] [,3] [1,] Character,3 Character,3 Character,3 Does anyone have an idea how can I read a matrix...
2015 Oct 09
3
Python version for scripts in LLVM?
...e=sys.stderr) raw_asm = llc(args, llc_args, test) # Build up a dictionary of all the function bodies. for m in asm_function_re.finditer(raw_asm): @@ -129,14 +129,14 @@ # We only use the last line of the asm for stress tests. f_asm = '\n'.join(f_asm.splitlines()[-1:]) if args.verbose: - print >>sys.stderr, 'Processing asm for function: ' + f + print('Processing asm for function: ' + f, file=sys.stderr) for l in f_asm.splitlines(): - print >>sys.stderr, ' ' + l +...
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
...ne. - -****************************************************************************/ - -void printline() -{ - int i; - - for (i=0;i<charheight;i++) { - putstring(outputline[i]); - } - clearline(); -} - - -/**************************************************************************** - - splitline - - Splits inchrline at the last word break (bunch of consecutive blanks). - Makes a new line out of the first part and prints it using - printline. Makes a new line out of the second part and returns. - -****************************************************************************/ - -void spli...