Definition at line 103 of file FileNameTmp.h. References GetTmpPath(), and PathJoin(). Referenced by Impala::Persistency::SvmRepositoryInFile::Add(), Impala::Persistency::SvmRepositoryInFile::Get(), Impala::Util::Database::GetIOBuffer(), Impala::Persistency::FileSystem::GetIOBuffer(), and Impala::Core::Training::Svm::Svm(). 00104 { 00105 static int nr = 0; 00106 char hName[256]; 00107 #ifdef unix 00108 gethostname(hName, 256); 00109 pid_t p = getpid(); 00110 #else 00111 DWORD hNameSize = 256; 00112 GetComputerNameA(hName, &hNameSize); 00113 int p = getpid(); 00114 #endif 00115 char res[256]; 00116 sprintf(res, "tmpFile_%s_%d_%d", hName, p, nr++); 00117 return PathJoin(GetTmpPath(), String(res)); 00118 }
Here is the call graph for this function: ![]()
|