Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
607cdc0d
Commit
607cdc0d
authored
Apr 03, 2018
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate
parent
f10944b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
space.h
space.h
+1
-1
No files found.
space.h
View file @
607cdc0d
...
...
@@ -18,7 +18,7 @@ enum PositionalNotation {
* @brief Format byte count to human readable string
* @note bytes must less than 1DB(DoggaByte)
*/
static
std
::
string
human_readable_byte_count
(
uintmax_t
bytes
,
PositionalNotation
po
=
PositionalNotation
::
Binary
)
static
std
::
string
human_readable_byte_count
(
uintmax_t
bytes
,
size_t
precision
=
1
,
PositionalNotation
po
=
PositionalNotation
::
Binary
)
{
// http://programming.guide/java/formatting-byte-size-to-human-readable-format.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment