/dports/devel/google-cloud-cpp117/google-cloud-cpp-1.17.0/google/cloud/storage/benchmarks/ |
H A D | benchmark_utils_test.cc | 24 TEST(FormatSize, Basic) { in TEST() argument 25 EXPECT_EQ("1023.0B", FormatSize(1023)); in TEST() 26 EXPECT_EQ("1.0KiB", FormatSize(kKiB)); in TEST() 27 EXPECT_EQ("1.1KiB", FormatSize(kKiB + 100)); in TEST() 28 EXPECT_EQ("1.0MiB", FormatSize(kMiB)); in TEST() 29 EXPECT_EQ("1.0GiB", FormatSize(kGiB)); in TEST() 30 EXPECT_EQ("1.1GiB", FormatSize(kGiB + 128 * kMiB)); in TEST() 31 EXPECT_EQ("1.0TiB", FormatSize(kTiB)); in TEST() 32 EXPECT_EQ("2.0TiB", FormatSize(2 * kTiB)); in TEST()
|
/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/testing_util/ |
H A D | command_line_parsing_test.cc | 88 TEST(CommandLineParsing, FormatSize) { in TEST() argument 89 EXPECT_EQ("1023.0B", FormatSize(1023)); in TEST() 90 EXPECT_EQ("1.0KiB", FormatSize(kKiB)); in TEST() 91 EXPECT_EQ("1.1KiB", FormatSize(kKiB + 100)); in TEST() 92 EXPECT_EQ("1.0MiB", FormatSize(kMiB)); in TEST() 93 EXPECT_EQ("1.0GiB", FormatSize(kGiB)); in TEST() 94 EXPECT_EQ("1.1GiB", FormatSize(kGiB + 128 * kMiB)); in TEST() 95 EXPECT_EQ("1.0TiB", FormatSize(kTiB)); in TEST() 96 EXPECT_EQ("2.0TiB", FormatSize(2 * kTiB)); in TEST()
|
/dports/devel/upp/upp/reference/WebWord/ |
H A D | main.cpp | 5 String FormatSize(int64 n) in FormatSize() function 28 s << ", data sent " << FormatSize(TurtleServer::stat_data_send); in ShowInfo() 30 s << ", average bandwidth " << FormatSize(TurtleServer::stat_data_send / secs) << "/s"; in ShowInfo() 31 s << ", actual bandwidth " << FormatSize(TurtleServer::stat_data_send - sent_prev); in ShowInfo() 34 …s << ", setimage " << TurtleServer::stat_setimage << " len " << FormatSize(TurtleServer::stat_seti… in ShowInfo()
|
/dports/ftp/filezilla/filezilla-3.55.1/src/interface/settings/ |
H A D | optionspage_sizeformatting.cpp | 147 impl_->examples_[0]->SetLabel(FormatSize(12)); in UpdateControls() 148 impl_->examples_[1]->SetLabel(FormatSize(100)); in UpdateControls() 149 impl_->examples_[2]->SetLabel(FormatSize(1234)); in UpdateControls() 150 impl_->examples_[3]->SetLabel(FormatSize(1058817)); in UpdateControls() 151 impl_->examples_[4]->SetLabel(FormatSize(123456789)); in UpdateControls() 152 impl_->examples_[5]->SetLabel(FormatSize(0x39E94F995A72ll)); in UpdateControls() 160 wxString COptionsPageSizeFormatting::FormatSize(int64_t size) in FormatSize() function in COptionsPageSizeFormatting
|
/dports/misc/usd/USD-21.11/pxr/usd/pcp/ |
H A D | statistics.cpp | 184 static std::string FormatSize(size_t n) in FormatSize() function 286 << _Helper::FormatSize(sizeof(PcpMapFunction)) << endl; in PrintCacheStats() 288 << _Helper::FormatSize(sizeof(PcpLayerStackPtr)) << endl; in PrintCacheStats() 290 << _Helper::FormatSize(sizeof(PcpLayerStackSite)) << endl; in PrintCacheStats() 292 << _Helper::FormatSize(sizeof(PcpPrimIndex)) << endl; in PrintCacheStats() 294 << _Helper::FormatSize(sizeof(PcpPrimIndex_Graph)) << endl; in PrintCacheStats() 296 << _Helper::FormatSize(sizeof(PcpPrimIndex_Graph::_Node)) << endl; in PrintCacheStats()
|
/dports/graphics/GraphicsMagick/GraphicsMagick-1.3.36/magick/ |
H A D | resource.c | 218 FormatSize(info->maximum, f_limit); in AcquireMagickResource() 222 FormatSize(size, f_size); in AcquireMagickResource() 231 FormatSize(value, f_value); in AcquireMagickResource() 771 FormatSize(info->maximum, f_limit); in LiberateMagickResource() 775 FormatSize(size, f_size); in LiberateMagickResource() 784 FormatSize(value, f_value); in LiberateMagickResource() 853 FormatSize(resource_info[index].maximum,limit); in ListMagickResourceInfo() 935 FormatSize((magick_int64_t) limit, f_limit); in SetMagickResourceLimit()
|
/dports/editors/lazarus/lazarus/components/onlinepackagemanager/ |
H A D | opkman_progressfrm.pas | 222 …d.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 224 …lbReceived.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + rsP… 228 …tion := rsProgressFrm_lbReceivedTotal_Caption0 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A… 287 …d.Caption := rsProgressFrm_lbReceived_Caption1 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 291 …tion := rsProgressFrm_lbReceivedTotal_Caption1 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A…
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/onlinepackagemanager/ |
H A D | opkman_progressfrm.pas | 223 …d.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 225 …lbReceived.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + rsP… 230 …tion := rsProgressFrm_lbReceivedTotal_Caption0 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A… 291 …d.Caption := rsProgressFrm_lbReceived_Caption1 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 296 …tion := rsProgressFrm_lbReceivedTotal_Caption1 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A…
|
/dports/editors/lazarus-qt5/lazarus/components/onlinepackagemanager/ |
H A D | opkman_progressfrm.pas | 222 …d.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 224 …lbReceived.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + rsP… 228 …tion := rsProgressFrm_lbReceivedTotal_Caption0 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A… 287 …d.Caption := rsProgressFrm_lbReceived_Caption1 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 291 …tion := rsProgressFrm_lbReceivedTotal_Caption1 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A…
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/onlinepackagemanager/ |
H A D | opkman_progressfrm.pas | 223 …d.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 225 …lbReceived.Caption := rsProgressFrm_lbReceived_Caption0 + ' ' + FormatSize(ACurPos) + ' / ' + rsP… 230 …tion := rsProgressFrm_lbReceivedTotal_Caption0 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A… 291 …d.Caption := rsProgressFrm_lbReceived_Caption1 + ' ' + FormatSize(ACurPos) + ' / ' + FormatSize(A… 296 …tion := rsProgressFrm_lbReceivedTotal_Caption1 + ' ' + FormatSize(ATotPos) + ' / ' + FormatSize(A…
|
/dports/news/nzbget/nzbget-21.1/daemon/remote/ |
H A D | RemoteClient.cpp | 378 fileInfo->GetFilename(), *Util::FormatSize(fileInfo->GetSize()), in RequestServerList() 400 *Util::FormatSize(remaining), *Util::FormatSize(paused)); in RequestServerList() 404 printf("Remaining size: %s\n", *Util::FormatSize(remaining)); in RequestServerList() 436 CString remainingStr = Util::FormatSize(unpausedRemainingSize); in RequestServerList() 447 pausedStr.Format(" + %s paused", *Util::FormatSize(nzbInfo->GetPausedSize())); in RequestServerList() 510 *Util::FormatSize(remaining), *Util::FormatSize(paused)); in RequestServerList() 514 printf("Remaining size: %s\n", *Util::FormatSize(remaining)); in RequestServerList() 523 printf("Remaining size: %s\n", *Util::FormatSize(remaining)); in RequestServerList() 561 printf("Downloaded: %s\n", *Util::FormatSize(allBytes)); in RequestServerList() 1092 (kind == HistoryInfo::hkDup ? "" : *files), *Util::FormatSize(size), in RequestHistory()
|
/dports/audio/audacity/audacity-Audacity-3.1.3/libraries/lib-strings/ |
H A D | Internat.cpp | 204 TranslatableString Internat::FormatSize(wxLongLong size) in FormatSize() function in Internat 210 return FormatSize(dSize); in FormatSize() 213 TranslatableString Internat::FormatSize(double size) in FormatSize() function in Internat
|
H A D | Internat.h | 139 static TranslatableString FormatSize(wxLongLong size); 140 static TranslatableString FormatSize(double size);
|
/dports/news/nzbget/nzbget-21.1/daemon/frontend/ |
H A D | NCursesFrontend.cpp | 568 *Util::FormatSize(m_remainingSize), in PrintStatus() 691 *Util::FormatSize(remaining), *Util::FormatSize(remaining - paused)); in PrintFileQueue() 748 *Util::FormatSize(fileInfo->GetSize()), in PrintFilename() 855 *Util::FormatSize(remaining), *Util::FormatSize(remaining - paused)); in PrintGroupQueue() 919 CString remaining = Util::FormatSize(unpausedRemainingSize); in PrintGroupname() 920 CString total = Util::FormatSize(nzbInfo->GetSize()); in PrintGroupname() 927 remaining = Util::FormatSize(nzbInfo->GetRemainingSize()); in PrintGroupname()
|
/dports/net/gstreamer1-plugins-srtp/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/net/gstreamer1-plugins-libmms/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-x265/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-msdk/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-openh264/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-rtmp/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-resindvd/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-mplex/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-smoothstreaming/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-dash/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|
/dports/multimedia/gstreamer1-plugins-dts/gst-plugins-bad-1.16.2/sys/winks/ |
H A D | ksvideohelpers.c | 333 result->range = g_malloc (media_type->range->FormatSize); in ks_video_media_type_dup() 335 media_type->range->FormatSize); in ks_video_media_type_dup() 475 entry->range = g_malloc (range->FormatSize); in ks_video_probe_filter_for_caps() 476 memcpy ((gpointer) entry->range, range, range->FormatSize); in ks_video_probe_filter_for_caps() 574 range = (KSDATARANGE *) (((guchar *) range) + range->FormatSize); in ks_video_probe_filter_for_caps() 616 format->FormatSize = sizeof (KSDATAFORMAT) + media_type->format_size; in ks_video_create_pin_conn_from_media_type()
|