Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/yume-chan/ya-webadb
/ random
Method
random
libraries/scrcpy/src/2_0/impl/init.ts:8–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
static readonly NONE = /* #__PURE__ */
new
InstanceId(-1);
7
8
static random(): InstanceId {
9
// A random 31-bit unsigned integer
10
return
new
InstanceId((Math.random() * 0x80000000) | 0);
11
}
12
13
value: number;
14
Callers
4
benchmark.js
File · 0.80
pushAndInstallStream
Method · 0.80
randomUint8Array
Function · 0.80
addReverseTunnel
Method · 0.80
Calls
no outgoing calls
Tested by
1
randomUint8Array
Function · 0.64