A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ncbi__test_8cpp_source.html below:

NCBI C++ ToolKit: src/corelib/ncbi_test.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

40 #define NCBI_USE_ERRCODE_X Corelib_System 49  const char

* seed_str = ::getenv(

"NCBI_TEST_RANDOM_SEED"

);

52  static_cast<unsigned int>

(time(

nullptr

));

61  string

pfx = prefix.empty() ?

"R"

: (prefix +

" r"

);

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

static TPid GetPid(void)

Get process identifier (pid) for the current process.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static TNumeric StringToNumeric(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to a numeric value.

@ fConvErr_NoThrow

Do not throw an exception on error.

static unsigned int GetRandomSeed(void)

Return a seed to use with srand() function to randomize new sequence of pseudo-random integers return...

static unsigned int SetRandomSeed(const string &prefix=kEmptyStr)

Same as GetRandomSeed(), but automatically set acquired seed using srand() and prints it via LOG_POST...

Defines process management classes.

NCBI tests specific functions.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4