/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/storage/benchmarks/ |
H A D | benchmark_parser_test.cc | 23 TEST(StorageBenchmarksUtilsTest, ParseSize) { in TEST() argument 24 EXPECT_EQ(500, ParseSize("500")); in TEST() 26 EXPECT_EQ(1 * kKB, ParseSize("1KB")); in TEST() 27 EXPECT_EQ(2 * kMB, ParseSize("2MB")); in TEST() 28 EXPECT_EQ(3 * kGB, ParseSize("3GB")); in TEST() 29 EXPECT_EQ(4 * kTB, ParseSize("4TB")); in TEST() 31 EXPECT_EQ(5 * kTiB, ParseSize("5TiB")); in TEST() 32 EXPECT_EQ(6 * kGiB, ParseSize("6GiB")); in TEST() 33 EXPECT_EQ(7 * kMiB, ParseSize("7MiB")); in TEST() 34 EXPECT_EQ(8 * kKiB, ParseSize("8KiB")); in TEST()
|
/dports/devel/google-cloud-cpp117/google-cloud-cpp-1.17.0/google/cloud/storage/benchmarks/ |
H A D | benchmark_parser_test.cc | 23 TEST(StorageBenchmarksUtilsTest, ParseSize) { in TEST() argument 24 EXPECT_EQ(500, ParseSize("500")); in TEST() 26 EXPECT_EQ(1 * kKB, ParseSize("1KB")); in TEST() 27 EXPECT_EQ(2 * kMB, ParseSize("2MB")); in TEST() 28 EXPECT_EQ(3 * kGB, ParseSize("3GB")); in TEST() 29 EXPECT_EQ(4 * kTB, ParseSize("4TB")); in TEST() 31 EXPECT_EQ(5 * kTiB, ParseSize("5TiB")); in TEST() 32 EXPECT_EQ(6 * kGiB, ParseSize("6GiB")); in TEST() 33 EXPECT_EQ(7 * kMiB, ParseSize("7MiB")); in TEST() 34 EXPECT_EQ(8 * kKiB, ParseSize("8KiB")); in TEST()
|
H A D | throughput_options.cc | 58 options.minimum_object_size = ParseSize(val); in ParseThroughputOptions() 62 options.maximum_object_size = ParseSize(val); in ParseThroughputOptions()
|
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/7zip/Archive/Tar/ |
H A D | TarIn.cpp | 105 static bool ParseSize(const char *p, UInt64 &val) in ParseSize() function 138 CHECK(ParseSize(p, packSize)); p += 12; in IsArc_Tar() 205 RIF(ParseSize(p, item.PackSize)); in GetNextItemReal() 273 RIF(ParseSize(buf + 483, item.Size)); in GetNextItemReal() 285 RIF(ParseSize(p, sb.Offset)); in GetNextItemReal() 286 RIF(ParseSize(p + 12, sb.Size)); in GetNextItemReal() 323 RIF(ParseSize(p, sb.Offset)); in GetNextItemReal() 324 RIF(ParseSize(p + 12, sb.Size)); in GetNextItemReal()
|
/dports/archivers/7-zip/7-zip-21.07/CPP/7zip/Archive/Tar/ |
H A D | TarIn.cpp | 104 static bool ParseSize(const char *p, UInt64 &val) in ParseSize() function 139 CHECK(ParseSize(p, packSize)); p += 12; in IsArc_Tar() 206 RIF(ParseSize(p, item.PackSize)); in GetNextItemReal() 283 RIF(ParseSize(buf + 483, item.Size)); in GetNextItemReal() 295 RIF(ParseSize(p, sb.Offset)); in GetNextItemReal() 296 RIF(ParseSize(p + 12, sb.Size)); in GetNextItemReal() 333 RIF(ParseSize(p, sb.Offset)); in GetNextItemReal() 334 RIF(ParseSize(p + 12, sb.Size)); in GetNextItemReal()
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/file/ |
H A D | BlobImpl.cpp | 16 static void ParseSize(int64_t aSize, int64_t& aStart, int64_t& aEnd) { in ParseSize() function 57 ParseSize((int64_t)thisLength, start, end); in Slice()
|
/dports/x11/wallutils/wallutils-5.10.0/ |
H A D | res.go | 41 func ParseSize(widthHeight string) (uint, uint, error) { func 65 width, height, err := ParseSize(size)
|
/dports/news/inn-current/inn-2.7-20211226/backends/ |
H A D | shrinkfile.c | 246 ParseSize(char *p) in ParseSize() function 348 if ((maxsize = ParseSize(optarg)) < 0) in main() 352 if ((size = ParseSize(optarg)) < 0) in main()
|
/dports/news/inn/inn-2.6.4/backends/ |
H A D | shrinkfile.c | 250 ParseSize(char *p) in ParseSize() function 340 if ((maxsize = ParseSize(optarg)) < 0) in main() 344 if ((size = ParseSize(optarg)) < 0) in main()
|
/dports/audio/musicpd/mpd-0.23.6/test/ |
H A D | run_input.cxx | 85 ParseSize(const char *s) in ParseSize() function 116 c.seek = ParseSize(o.value); in ParseCommandLine() 120 c.chunk_size = ParseSize(o.value); in ParseCommandLine()
|
/dports/sysutils/shlock/inn-2.6.4/backends/ |
H A D | shrinkfile.c | 250 ParseSize(char *p) in ParseSize() function 340 if ((maxsize = ParseSize(optarg)) < 0) in main() 344 if ((size = ParseSize(optarg)) < 0) in main()
|
/dports/www/firefox-esr/firefox-91.8.0/dom/file/ |
H A D | BlobImpl.cpp | 17 static void ParseSize(int64_t aSize, int64_t& aStart, int64_t& aEnd) { in ParseSize() function 58 ParseSize((int64_t)thisLength, start, end); in Slice()
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/file/ |
H A D | BlobImpl.cpp | 16 static void ParseSize(int64_t aSize, int64_t& aStart, int64_t& aEnd) { in ParseSize() function 57 ParseSize((int64_t)thisLength, start, end); in Slice()
|
/dports/www/firefox/firefox-99.0/dom/file/ |
H A D | BlobImpl.cpp | 17 static void ParseSize(int64_t aSize, int64_t& aStart, int64_t& aEnd) { in ParseSize() function 58 ParseSize((int64_t)thisLength, start, end); in Slice()
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/file/ |
H A D | BlobImpl.cpp | 17 static void ParseSize(int64_t aSize, int64_t& aStart, int64_t& aEnd) { in ParseSize() function 58 ParseSize((int64_t)thisLength, start, end); in Slice()
|
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/config/ |
H A D | size_test.go | 77 size, err := ParseSize(tc.in) 156 minFree, err := ParseSize(tc.minFree)
|
H A D | size.go | 17 func ParseSize(s string) (Size, error) { func 71 sz, err := ParseSize(str)
|
/dports/textproc/zxing-cpp/zxing-cpp-1.2.0/example/ |
H A D | ZXingWriter.cpp | 51 static bool ParseSize(std::string str, int* width, int* height) in ParseSize() function 70 if (!ParseSize(argv[i], width, height)) { in ParseOptions()
|
/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/testing_util/ |
H A D | command_line_parsing.cc | 29 std::int64_t ParseSize(std::string const& val) { in ParseSize() function 45 auto const s = ParseSize(val); in ParseBufferSize()
|
/dports/chinese/libime/libime-1.0.9/src/libime/core/kenlm/lm/ |
H A D | build_binary_main.cc | 113 config.building_memory = util::ParseSize(default_mem); in main() 145 … std::min(static_cast<uint64_t>(std::numeric_limits<std::size_t>::max()), util::ParseSize(optarg)); in main()
|
/dports/chinese/libime/libime-1.0.9/src/libime/core/kenlm/util/ |
H A D | usage.hh | 27 uint64_t ParseSize(const std::string &arg);
|
/dports/audio/musicpd/mpd-0.23.6/src/config/ |
H A D | Parser.hxx | 56 ParseSize(const char *s, std::size_t default_factor=1);
|
/dports/audio/musicpd/mpd-0.23.6/src/input/cache/ |
H A D | Config.cxx | 33 return ParseSize(s); in InputCacheConfig()
|
/dports/chinese/libime/libime-1.0.9/src/libime/core/kenlm/lm/common/ |
H A D | size_option.cc | 12 behind_ = util::ParseSize(from); in operator ()()
|
/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/pubsub/benchmarks/ |
H A D | throughput.cc | 529 using ::google::cloud::testing_util::ParseSize; 554 options.payload_size = ParseSize(val); in ParseArgsImpl() 589 options.publisher_max_batch_bytes = ParseSize(val); in ParseArgsImpl() 595 options.publisher_pending_lwm = ParseSize(val); in ParseArgsImpl() 601 options.publisher_pending_hwm = ParseSize(val); in ParseArgsImpl() 638 options.subscriber_max_outstanding_bytes = ParseSize(val); in ParseArgsImpl()
|