Definition at line 88 of file FileNameTmp.h. References GetTmpPath(), and PathJoin(). Referenced by Impala::Util::Database::GetIOBuffer(), Impala::Persistency::FileSystem::GetIOBuffer(), Impala::Core::Training::ApplyConceptsHelperKernels::LoadFeatures(), Impala::Core::Training::Svm::LoadModel(), Impala::Core::Training::Fisher::LoadModel(), Impala::Core::Training::Svm::SaveModel(), and Impala::Core::Training::Fisher::SaveModel(). 00089 { 00090 static int nr = 0; 00091 char hName[256]; 00092 #ifdef unix 00093 gethostname(hName, 256); 00094 pid_t p = getpid(); 00095 #else 00096 DWORD hNameSize = 256; 00097 GetComputerNameA(hName, &hNameSize); 00098 int p = getpid(); 00099 #endif 00100 char res[256]; 00101 sprintf(res, "tmpFile_%s_%d_%d", hName, p, nr++); 00102 return PathJoin(GetTmpPath(), String(res)); 00103 }
Here is the call graph for this function:
|