search for: newfil

Displaying 20 results from an estimated 99 matches for "newfil".

Did you mean: newfile
2014 Jul 15
3
[LLVMdev] Does LLVM 3.5 works with IR from LLVM 3.0?
...esn't > work, try disassembling the bitcode into an assembly file with llvm-dis > from LLVM 3.0 and re-assembling the output using llvm-as from LLVM 3.5: > opt and clang can read the bitcode but the produced binary cannot run. > > llvm-dis-3.0 -f -o - file.bc | llvm-as-3.5 -f -o newfile.bc > I tried this and the newfile.bc is incorrect. newfile.bc can be compiled to binary but cannot run. I also tried to this: *llvm-dis-3.0 -f -o - file.bc | llvm-as-3.5 -f -o newfile.bcllvm-dis-3.5 -f -o newfile.bc | llvm-as-3.0 -o newnewfile.bc* llvm-as-3.0 fails and give errors as below:...
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
...obviously wrong with the code from your original >message. > >-Eli Well I am just using lli to run the linked file (i.e. program.bc). The command chain is usually as follows. llvm-g++ --emit-llvm -c PrintRes.cpp -o PrintRes.bc (PrintRes.bc has the function which I want to call from the newfile.bc below) opt -load ../../../Release/lib/CondPass.so -ProfileCond < try.bc > /dev/null (this generates newfile.bc while try.bc is original code) llvm-link -o program.bc newfile.bc PrintRes.bc lli program.bc where newfile.bc is the bitcode generated by pass and PrintRes.bcis the...
2005 May 27
0
[LLVMdev] SSA in the Front End
...xt, gccas (after assembling the LLVM assembly file) runs a pass called mem2reg. This pass finds memory locations that can be promoted to LLVM virtual registers and promotes them into registers. The following commands will allow you to see the change: llvm-as -o file.bc file.ll opt -mem2reg -o newfile.bc file.bc llvm-dis -o newfile.ll newfile.bc If you compare newfile.ll to file.ll, you'll see what the mem2reg transformation does. Using this technique, language frontends don't need to worry about maintaining SSA for variables that it generates. It simply generates them as memory l...
2005 May 27
2
[LLVMdev] SSA in the Front End
Hi, I have been looking into the code that generates the LLVM assembly in the LLVM front end, but I am not very sure if at the time that the llvm_c_expand_body_1 function is called, the SSA form was already constructed (each definition dominates all the uses). Can somebody please tell me? Thanks
2005 May 28
1
[LLVMdev] SSA in the Front End
...e LLVM assembly file) runs a pass called > mem2reg. This pass finds memory locations that can be promoted to LLVM > virtual registers and promotes them into registers. The following > commands will allow you to see the change: > > llvm-as -o file.bc file.ll > opt -mem2reg -o newfile.bc file.bc > llvm-dis -o newfile.ll newfile.bc > > If you compare newfile.ll to file.ll, you'll see what the mem2reg > transformation does. > > Using this technique, language frontends don't need to worry about > maintaining SSA for variables that it generates. It...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
...message. >> >>-Eli > > Well I am just using lli to run the linked file (i.e. program.bc). The > command chain is usually as follows. > >        llvm-g++ --emit-llvm -c PrintRes.cpp -o PrintRes.bc >        (PrintRes.bc has the function which I want to call from the > newfile.bc below) > >        opt -load ../../../Release/lib/CondPass.so -ProfileCond < try.bc > > /dev/null >      (this generates newfile.bc while try.bc is original code) > >        llvm-link -o program.bc newfile.bc PrintRes.bc >        lli program.bc > > where newfile....
2006 Apr 21
1
Renaming UNIX files for Windows
I am a new rsync user and am running the client on Solaris and the server on Windows 2000 Server utilizing Cygwin for the Linux emulation. Unfortunately, the log files I am backing up frequently use a ':' for date/time stamps; colons are supported in UNIX but not Windows. Without having to recode my application, is there an easy way to have rsync eliminate the ':' or replace with
2009 Jul 13
1
are new directories created inside the partial dir?
When --partial-dir is used rsync creates new or updated files inside a temporary dir. For example the new version of some/path/file is created in some/path/<partial-dir-name>/file and later moved. What happens if a new directory is created? If some/path/newdir/newfile is to be copied, is it done in some/path/<partial-dir-name>/newdir/<partial-dir-name>/newfile? Or is newdir created immediately and the temporary put in some/path/newdir/<partial-dir-name>/newfile? What happens if a directory already exists but its timestamp and/or permissions c...
2002 Nov 01
4
2.2.6 and printer questions
Hi @all, I have 2 questions about printer driver installation on w2k-client for a samba served printer: 1. If I want to install a driver on w2k workstation, I choose network printer and then can browse the network. If printers are served from a Nt/w2k-server, in my opinion it is not nessesary to double click the netbios name of the Nt/w2k-server to see the shared printers. In this case under
2012 Apr 04
2
Trying to merge new data set to bottom of old data set. Both are zoo objects.
Here is the data I'm working with: http://r.789695.n4.nabble.com/file/n4530888/new.txt new.txt http://r.789695.n4.nabble.com/file/n4530888/old.txt old.txt My code is here: http://pastebin.com/9jjs6Ahr I'm looking for away to simply attach the new.txt to the bottom of old.txt through R, else I'll just throw it in Excel to do some preprocessing. I've looked into using merge,
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
...message. >> >>-Eli > > Well I am just using lli to run the linked file (i.e. program.bc). The > command chain is usually as follows. > >        llvm-g++ --emit-llvm -c PrintRes.cpp -o PrintRes.bc >        (PrintRes.bc has the function which I want to call from the > newfile.bc below) > >        opt -load ../../../Release/lib/CondPass.so -ProfileCond < try.bc > > /dev/null >      (this generates newfile.bc while try.bc is original code) > >        llvm-link -o program.bc newfile.bc PrintRes.bc >        lli program.bc > > where newfile....
2013 Jan 16
1
Read.dta and Write.dta Binary Data Error
...mostly didn't happen, but created errors at other times. I have a csv data set (and created a test case) with with at least one column completely missing. This eventually creates the error. My list of commands are: data <- read.csv(file, colClasses = "character") write.dta(data, newFile) read.dta(newFile) Error in read.dta(newFile) : a binary read error occurred The colClasses specificiation is important. This causes the error. Stata 10 and Stata 11 can read the file. Stata 12 is completely lost looking at the dataset. I know this is an R forum, but the data set acts very stra...
2008 Apr 30
2
ordering a factor in boxplot output
I'm sure I'm missing something obvious in the documentation... I'm generating a boxplot boxplot(CleanValue~ApptCategory*ReportingCode,data=newfile) where ApptCategory is a factor with possible values ("New","Established") Problem is, the output orders those factors alphabetically, and I'd really rather see New come first. I'm apparently confused by the "reorder" function because somehow my attempts to a...
2004 Apr 30
1
--backup requires remote connection?
Does the --backup, --backup-dir set require that either then source or target be a remote connection? Test folder hierarchy: /Users/localskaiser/source/myfile.txt /Users/localskaiser/source/a/b/c/newfile.txt /Users/localskaiser/target /Users/localskaiser/archive I can not get the following command to work (after running it once, and then modifying newfile.txt): [skaiser-pbg4:~] localska% /usr/local/bin/rsync --delete --backup --backup-dir=/Users/localskaiser/archive -a /Users/localskaiser/sourc...
2014 Jul 15
3
[LLVMdev] Does LLVM 3.5 works with IR from LLVM 3.0?
Hi, I have some IR files which can be compiled using llc-3.0 and gcc-4.6.3. I want to instrument these IR files. My instrumentation pass is implemented under LLVM-3.5 and some data structures in LLVM-3.5 are not available on LLVM-3.0, such as *AttributeSet* in *Attribute.h*. I tried to compile my instrumentation pass under LLVM-3.0 and it failed due to missing data types. So I am asking whether
2011 Jun 09
5
Vim scripting - cursor motion
I am working on my first vim script. The script is supposed to do some find/replace on a file, then save the file with a new name and quit vim. I will save the script in a file and then call it from a bash script like this: vim path-to-the-file -s path-to-my-script Maybe I have not found the right resources. I can find/replace with expressions that are similar to those I use manually, for
2006 May 29
3
File.size() on Uploaded Images Fail
I am checking the file size of an uploaded file and storing it in a filesize column. It will work just fine when the user uploads any files other than images (jpg,png,gif). Word, Excel, Powerpoint, .zip and more all work fine. This is my model asset.rb that handles the file upload. def newfile=(newfile_field) self.filename = base_part_of(newfile_field.original_filename) self.filetype = newfile_field.content_type.chomp self.filesize = File.size(newfile_field) ### It fails on this line for images... end The error I get is: "can''t convert StringIO into String&q...
2003 Jul 23
1
Strange behaviour when running R from within Emacs on Winddows
Dear R-experts, I run R in a shell under Emacs on Win2k using ESS. I get the following strange error > shell("copy c:\\file.txt c:\\newfile.txt") warning: extra args ignored after 'copy' Forkert syntaks for kommandoen. Warning message: cmd execution failed with error code 1 in: shell("copy c:\\file.txt c:\\newfile.txt") The same problem emerges independently of whether I use a dos or bash as shell! However,...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Thu, Jun 3, 2010 at 10:45 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote: > Hi Eli, > > > > Thanks for that. Rookie mistake on my side. It solves the linking issue. > However, it was not the main problem. The problem is when I execute the > linked file ( modified bitcode + file containing the function), I get an > assertion error - Assertion `Addr &&
2001 Sep 25
2
read.table() suggestions
...lt;- NULL on.exit(if (length(rm.files)) unlink(rm.files)) ## Gunzip, remove quotes, then make connection object: if (is.character(file) && !file.exists(file)) { if (!file.exists(file %&% ".gz")) stop("No file: " %&% file) rm.files <- c(rm.files, newfile<-tempfile()) system("gunzip -c " %&% file %&% ".gz > " %&% newfile) file <- newfile } if (rm.quotes) { # Won't work with pipe rm.files <- c(rm.files, newfile<-tempfile()) system("tr -d...