final class oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher extends oadd.org.apache.curator.shaded.com.google.common.base.CharMatcher$NamedFastMatcher
{
static final int MAX_SIZE;
private final char[] table;
private final boolean containsZero;
private final long filter;
private static final int C1;
private static final int C2;
private static final double DESIRED_LOAD_FACTOR;
private void <init>(char[], long, boolean, java.lang.String)
{
char[] v;
long v;
java.lang.String v;
oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher v;
boolean v;
v := @this: oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher;
v := @parameter: char[];
v := @parameter: long;
v := @parameter: boolean;
v := @parameter: java.lang.String;
specialinvoke v.<oadd.org.apache.curator.shaded.com.google.common.base.CharMatcher$NamedFastMatcher: void <init>(java.lang.String)>(v);
v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: char[] table> = v;
v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: long filter> = v;
v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: boolean containsZero> = v;
return;
}
static int smear(int)
{
int v, v, v, v;
v := @parameter: int;
v = v * -862048943;
v = staticinvoke <java.lang.Integer: int rotateLeft(int,int)>(v, 15);
v = 461845907 * v;
return v;
}
private boolean checkFilter(int)
{
byte v;
int v;
long v, v, v;
oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher v;
boolean v;
v := @this: oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher;
v := @parameter: int;
v = v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: long filter>;
v = v >> v;
v = 1L & v;
v = 1L cmp v;
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
static int chooseTableSize(int)
{
byte v;
int v, v, v, v;
double v;
v := @parameter: int;
if v != 1 goto label;
return 2;
label:
v = v - 1;
v = staticinvoke <java.lang.Integer: int highestOneBit(int)>(v);
v = v << 1;
label:
v = v * 0.5;
v = v cmpg v;
if v >= 0 goto label;
v = v << 1;
goto label;
label:
return v;
}
static oadd.org.apache.curator.shaded.com.google.common.base.CharMatcher 'from'(java.util.BitSet, java.lang.String)
{
long v, v;
int v, v, v, v, v, v, v, v, v, v;
java.lang.String v;
boolean v;
char v;
char[] v;
java.util.BitSet v;
oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher v;
v := @parameter: java.util.BitSet;
v := @parameter: java.lang.String;
v = 0L;
v = virtualinvoke v.<java.util.BitSet: int cardinality()>();
v = virtualinvoke v.<java.util.BitSet: boolean get(int)>(0);
v = staticinvoke <oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: int chooseTableSize(int)>(v);
v = newarray (char)[v];
v = lengthof v;
v = v - 1;
v = virtualinvoke v.<java.util.BitSet: int nextSetBit(int)>(0);
label:
v = (int) -1;
if v == v goto label;
v = 1L << v;
v = v | v;
v = staticinvoke <oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: int smear(int)>(v);
v = v & v;
label:
v = v[v];
if v != 0 goto label;
v[v] = v;
goto label;
label:
v = v + 1;
v = v & v;
goto label;
label:
v = v + 1;
v = virtualinvoke v.<java.util.BitSet: int nextSetBit(int)>(v);
goto label;
label:
v = new oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher;
specialinvoke v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: void <init>(char[],long,boolean,java.lang.String)>(v, v, v, v);
return v;
}
public boolean matches(char)
{
char v, v, v;
int v, v, v, v, v, v;
char[] v, v, v;
oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher v;
boolean v, v;
v := @this: oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher;
v := @parameter: char;
if v != 0 goto label;
v = v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: boolean containsZero>;
return v;
label:
v = specialinvoke v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: boolean checkFilter(int)>(v);
if v != 0 goto label;
return 0;
label:
v = v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: char[] table>;
v = lengthof v;
v = v - 1;
v = staticinvoke <oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: int smear(int)>(v);
v = v & v;
v = v;
label:
v = v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: char[] table>;
v = v[v];
if v != 0 goto label;
return 0;
label:
v = v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: char[] table>;
v = v[v];
if v != v goto label;
return 1;
label:
v = v + 1;
v = v & v;
if v != v goto label;
return 0;
}
void setBits(java.util.BitSet)
{
int v, v;
char[] v;
char v;
java.util.BitSet v;
oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher v;
boolean v;
v := @this: oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher;
v := @parameter: java.util.BitSet;
v = v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: boolean containsZero>;
if v == 0 goto label;
virtualinvoke v.<java.util.BitSet: void set(int)>(0);
label:
v = v.<oadd.org.apache.curator.shaded.com.google.common.base.SmallCharMatcher: char[] table>;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
if v == 0 goto label;
virtualinvoke v.<java.util.BitSet: void set(int)>(v);
label:
v = v + 1;
goto label;
label:
return;
}
}