Update #44 - WebAssembly GC support, fix more WebRTC bugs

This commit is contained in:
lax1dude
2024-12-03 23:38:28 -08:00
parent 919014b4df
commit 70b52bbf7a
216 changed files with 34358 additions and 91 deletions

View File

@ -0,0 +1,30 @@
package com.jcraft.jorbis;
class Util {
static int ilog(int v) {
int ret = 0;
while (v != 0) {
ret++;
v >>>= 1;
}
return (ret);
}
static int ilog2(int v) {
int ret = 0;
while (v > 1) {
ret++;
v >>>= 1;
}
return (ret);
}
static int icount(int v) {
int ret = 0;
while (v != 0) {
ret += (v & 1);
v >>>= 1;
}
return (ret);
}
}