Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/e2wugui/zeze
/ parseLongSize
Method
parseLongSize
ZezeJava/ZezeJava/src/main/java/Zeze/Util/Str.java:104–106 ·
view source on GitHub ↗
(@Nullable String s)
Source
from the content-addressed store, hash-verified
102
}
103
104
public
static
long parseLongSize(@Nullable String s) {
105
return
parseLongSize(s, -1);
106
}
107
108
public
static
long parseLongSize(@Nullable String s, long defSize) {
109
if
(s == null)
Callers
4
testParseSize
Method · 0.95
RocksDatabase
Class · 0.95
parseIntSize
Method · 0.95
ServiceConf
Method · 0.95
Calls
7
local
Method · 0.95
trim
Method · 0.80
parseNumber
Method · 0.80
buf
Method · 0.80
longValue
Method · 0.45
reset
Method · 0.45
doubleValue
Method · 0.45
Tested by
1
testParseSize
Method · 0.76