Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ iceil
Function
iceil
modules/crypt/ssl/ssl_prf.js:44–47 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
42
import
{SHA384} from
"ssl/constants"
;
43
44
function
iceil(x, y)
45
{
46
return
Math.idiv(x, y) + (Math.irem(x, y) ? 1 : 0);
47
}
48
49
function
p_hash(hash, secret, seed, sz)
50
{
Callers
2
p_hash
Function · 0.85
PRF
Function · 0.85
Calls
2
idiv
Method · 0.80
irem
Method · 0.80
Tested by
no test coverage detected