Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/e2wugui/zeze
/ ensure
Method
ensure
ZezeJava/ZezeJava/src/main/java/Zeze/Util/JsonWriter.java:302–305 ·
view source on GitHub ↗
(int len)
Source
from the content-addressed store, hash-verified
300
}
301
302
public
void
ensure(
int
len) {
303
if
(pos + len > buf.length)
304
appendBlock(len);
305
}
306
307
public
void
writeByte(byte b) {
308
ensure(1);
Callers
7
writeByte
Method · 0.95
writeNewLineTabs
Method · 0.95
write
Method · 0.95
testInt
Method · 0.80
testLong
Method · 0.80
testDouble
Method · 0.80
Json
Class · 0.80
Calls
1
appendBlock
Method · 0.95
Tested by
3
testInt
Method · 0.64
testLong
Method · 0.64
testDouble
Method · 0.64