Displaying 13 results from an estimated 13 matches for "tempfilename".
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...ld like to get your feedback.
Problem #1: In certain common situations, ‘rename’ can fail, causing a data race later on.
Look at the following code in the function ‘write’ in ThinLTOCodeGenerator.cpp
std::error_code EC =
sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
if (EC) {
errs() << "Error: " << EC.message() << "\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destinati...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
...gt;
> Problem #1: In certain common situations, ‘rename’ can fail, causing a data race later on.
> Look at the following code in the function ‘write’ in ThinLTOCodeGenerator.cpp
>
> std::error_code EC =
> sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
> if (EC) {
> errs() << "Error: " << EC.message() << "\n";
> report_fatal_error("ThinLTO: Can't get a temporary file");
> }
> {
> raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
> OS << OutputBuffer.getBuffe...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...n common situations, ‘rename’ can fail, causing a
> data race later on.*
>
> Look at the following code in the function ‘write’ in
> ThinLTOCodeGenerator.cpp
>
>
>
> *std::error_code EC =*
>
> * sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);*
>
> *if (EC) {*
>
> * errs() << "Error: " << EC.message() << "\n";*
>
> * report_fatal_error("ThinLTO: Can't get a temporary file");*
>
> *}*
>
> *{*
>
> * raw_fd_ostream OS(TempFD, /* ShouldClose */ true)...
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...our feedback.
Problem #1: In certain common situations, 'rename' can fail, causing a data race later on.
Look at the following code in the function 'write' in ThinLTOCodeGenerator.cpp
std::error_code EC =
sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
if (EC) {
errs() << "Error: " << EC.message() << "\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destinati...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...ld like to get your feedback.
Problem #1: In certain common situations, ‘rename’ can fail, causing a data race later on.
Look at the following code in the function ‘write’ in ThinLTOCodeGenerator.cpp
std::error_code EC =
sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
if (EC) {
errs() << "Error: " << EC.message() << "\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destinati...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...gt;
> Problem #1: In certain common situations, ‘rename’ can fail, causing a data race later on.
> Look at the following code in the function ‘write’ in ThinLTOCodeGenerator.cpp
>
> std::error_code EC =
> sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
> if (EC) {
> errs() << "Error: " << EC.message() << "\n";
> report_fatal_error("ThinLTO: Can't get a temporary file");
> }
> {
> raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
> OS << OutputBuffer.getBuffe...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...n common situations, ‘rename’ can fail, causing a
> data race later on.*
>
> Look at the following code in the function ‘write’ in
> ThinLTOCodeGenerator.cpp
>
>
>
> *std::error_code EC =*
>
> * sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);*
>
> *if (EC) {*
>
> * errs() << "Error: " << EC.message() << "\n";*
>
> * report_fatal_error("ThinLTO: Can't get a temporary file");*
>
> *}*
>
> *{*
>
> * raw_fd_ostream OS(TempFD, /* ShouldClose */ true)...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...ld like to get your feedback.
Problem #1: In certain common situations, ‘rename’ can fail, causing a data race later on.
Look at the following code in the function ‘write’ in ThinLTOCodeGenerator.cpp
std::error_code EC =
sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
if (EC) {
errs() << "Error: " << EC.message() << "\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destinati...
2006 Dec 04
8
Calling R functions in Delphi
Hello All,
We would like to call quantile() function from the R-package STATS in a
Delphi program. If this is possible, could anyone provide us with an
example?
Thanks in advance.
--Anna
-----------------------------------------
Anna Belova
Abt Associates Inc.
4800 Montgomery Ln, St 600
Bethesda, MD-20814
phone: 301-347-5304
fax: 301-652-7530
http://www.abtassociates.com/environment
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...roblem #1: In certain common situations, ‘rename’ can fail, causing a
> data race later on.*
> Look at the following code in the function ‘write’ in
> ThinLTOCodeGenerator.cpp
>
> *std::error_code EC =*
> * sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);*
> *if (EC) {*
> * errs() << "Error: " << EC.message() << "\n";*
> * report_fatal_error("ThinLTO: Can't get a temporary file");*
> *}*
> *{*
> * raw_fd_ostream OS(TempFD, /* ShouldClose */ true);*
> * OS << OutputB...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...em #1: In certain common situations, ‘rename’ can fail, causing a data race later on.
>> Look at the following code in the function ‘write’ in ThinLTOCodeGenerator.cpp
>>
>> std::error_code EC =
>> sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
>> if (EC) {
>> errs() << "Error: " << EC.message() << "\n";
>> report_fatal_error("ThinLTO: Can't get a temporary file");
>> }
>> {
>> raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
>> OS &l...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...ld like to get your feedback.
Problem #1: In certain common situations, ‘rename’ can fail, causing a data race later on.
Look at the following code in the function ‘write’ in ThinLTOCodeGenerator.cpp
std::error_code EC =
sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename);
if (EC) {
errs() << "Error: " << EC.message() << "\n";
report_fatal_error("ThinLTO: Can't get a temporary file");
}
{
raw_fd_ostream OS(TempFD, /* ShouldClose */ true);
OS << OutputBuffer.getBuffer();
}
// Rename to final destinati...
2007 Jul 14
2
PATCH : Fix missing protoypes
...***********************
@@ -184,6 +185,7 @@
* This wad of functions supports filename- and callback-based chain reading/writing.
* Everything up to set_file_stats_() is copied from libFLAC/metadata_iterators.c
*/
+static
FLAC__bool open_tempfile_(const char *filename, FILE **tempfile, char **tempfilename)
{
static const char *tempfile_suffix = ".metadata_edit";
@@ -199,6 +201,7 @@
return true;
}
+static
void cleanup_tempfile_(FILE **tempfile, char **tempfilename)
{
if(0 != *tempfile) {
@@ -213,6 +216,7 @@
}
}
+static
FLAC__bool transport_tempfile_(const char *filename, F...