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/srv__stat_8hpp.html below:

NCBI C++ ToolKit: src/app/netcache/srv_stat.hpp File Reference

Go to the source code of this file.

Go to the SVN repository for this file.

◆ TSrvTimeTerm ◆ g_AsMSecStat() double g_AsMSecStat ( Uint8  time_usec ) inline ◆ g_CalcStatPct() ◆ g_GetLogBase2() unsigned int g_GetLogBase2 ( Uint8  value ) inline

Get integer part of the logarithm with base 2.

In other words function returns index of the greatest bit set when bits are indexed from lowest to highest starting with 0 (e.g. for binary number 10010001 it will return 7).

Definition at line 323 of file srv_stat.hpp.

References result, and rapidjson::value.

Referenced by s_SizeIndex().

◆ g_SrvTimeTerm()

template<class Map , class Key >

◆ g_ToSizeStr() [1/2]

Definition at line 267 of file srv_stat.hpp.

References NStr::fDS_PutBSuffixToo, NStr::fDS_PutSpaceBeforeSuffix, ncbi::grid::netcache::search::fields::size, and NStr::UInt8ToString_DataSize().

Referenced by CNCBlobStorage::CheckDiskSpace(), g_ToSizeStr(), CNCMMStats::Print(), SMMStat::PrintToSocket(), CNCStat::PrintToSocket(), s_PrintBlocksState(), s_PrintSizeDiff(), SMMStat::x_PrintUnstructured(), and CNCStat::x_PrintUnstructured().

◆ g_ToSizeStr() [2/2] ◆ g_ToSmartStr() ◆ operator<<()

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