public class oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator extends java.lang.Object { private final oadd.org.apache.hadoop.io.erasurecode.rawcoder.RawErasureDecoder decoder; private java.nio.ByteBuffer buffer; private int[] newValidIndexes; private int newErasedIndex; public void (oadd.org.apache.hadoop.io.erasurecode.rawcoder.RawErasureDecoder) { oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator v; oadd.org.apache.hadoop.io.erasurecode.rawcoder.RawErasureDecoder v; v := @this: oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator; v := @parameter: oadd.org.apache.hadoop.io.erasurecode.rawcoder.RawErasureDecoder; specialinvoke v.()>(); v. = v; return; } public void validate(java.nio.ByteBuffer[], int[], java.nio.ByteBuffer[]) throws java.io.IOException { oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator v; java.nio.ByteBuffer v, v, v, v, v, v, v, v, v, v, v, v, v, v; int[] v, v, v, v; oadd.org.apache.hadoop.io.erasurecode.rawcoder.RawErasureDecoder v; boolean v, v, v, v; java.nio.ByteBuffer[] v, v, v, v; java.lang.Throwable v; int v, v, v, v, v, v, v, v, v, v, v, v, v, v; java.lang.Object v; oadd.org.apache.hadoop.io.erasurecode.rawcoder.InvalidDecodingException v; v := @this: oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator; v := @parameter: java.nio.ByteBuffer[]; v := @parameter: int[]; v := @parameter: java.nio.ByteBuffer[]; staticinvoke (v); label: v = staticinvoke (v); v = virtualinvoke v.(); v = virtualinvoke v.(); v = virtualinvoke v.(); v = v.; if v == null goto label; v = v.; v = virtualinvoke v.(); if v != v goto label; v = v.; v = virtualinvoke v.(); if v >= v goto label; label: v = specialinvoke v.(v, v); v. = v; label: v = v.; v = virtualinvoke v.(); virtualinvoke v.(v); v = lengthof v; v = newarray (java.nio.ByteBuffer)[v]; v = 0; v = 0; label: v = lengthof v; if v >= v goto label; v = v[v]; v = v[v]; v[v] = v; v = v + 1; v = v + 1; goto label; label: v = (int) -1; v. = v; v = 0; v = staticinvoke (v); v = lengthof v; v = 0; label: v = lengthof v; if v >= v goto label; if v == v goto label; if v != 0 goto label; v = v[v]; if v == null goto label; v. = v; v[v] = null; v = 1; goto label; label: v = v[v]; if v != null goto label; v = v[v]; v[v] = v; v = v[v]; if v == null goto label; v = v + 1; label: v = v + 1; goto label; label: v = staticinvoke (v); v. = v; v = v.; v = newarray (int)[1]; v = v.; v[0] = v; v = newarray (java.nio.ByteBuffer)[1]; v = v.; v[0] = v; virtualinvoke v.(v, v, v); v = v.; v = v.; v = v[v]; v = virtualinvoke v.(v); if v != 0 goto label; v = new oadd.org.apache.hadoop.io.erasurecode.rawcoder.InvalidDecodingException; specialinvoke v.(java.lang.String)>("Failed to validate decoding"); throw v; label: staticinvoke (v); staticinvoke (v); goto label; label: v := @caughtexception; staticinvoke (v); staticinvoke (v); throw v; label: return; catch java.lang.Throwable from label to label with label; } public void validate(oadd.org.apache.hadoop.io.erasurecode.ECChunk[], int[], oadd.org.apache.hadoop.io.erasurecode.ECChunk[]) throws java.io.IOException { java.nio.ByteBuffer[] v, v; int[] v; oadd.org.apache.hadoop.io.erasurecode.ECChunk[] v, v; oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator v; v := @this: oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator; v := @parameter: oadd.org.apache.hadoop.io.erasurecode.ECChunk[]; v := @parameter: int[]; v := @parameter: oadd.org.apache.hadoop.io.erasurecode.ECChunk[]; v = staticinvoke (v); v = staticinvoke (v); virtualinvoke v.(v, v, v); return; } private java.nio.ByteBuffer allocateBuffer(boolean, int) { int v; oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator v; java.nio.ByteBuffer v, v, v; boolean v; v := @this: oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator; v := @parameter: boolean; v := @parameter: int; if v == 0 goto label; v = staticinvoke (v); v. = v; goto label; label: v = staticinvoke (v); v. = v; label: v = v.; return v; } private static void markBuffers(java.nio.ByteBuffer[]) { java.nio.ByteBuffer[] v; int v, v; java.nio.ByteBuffer v; v := @parameter: java.nio.ByteBuffer[]; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; if v == null goto label; virtualinvoke v.(); label: v = v + 1; goto label; label: return; } private static void resetBuffers(java.nio.ByteBuffer[]) { java.nio.ByteBuffer[] v; int v, v; java.nio.ByteBuffer v; v := @parameter: java.nio.ByteBuffer[]; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; if v == null goto label; virtualinvoke v.(); label: v = v + 1; goto label; label: return; } private static void toLimits(java.nio.ByteBuffer[]) { java.nio.ByteBuffer[] v; int v, v, v; java.nio.ByteBuffer v; v := @parameter: java.nio.ByteBuffer[]; v = lengthof v; v = 0; label: if v >= v goto label; v = v[v]; if v == null goto label; v = virtualinvoke v.(); virtualinvoke v.(v); label: v = v + 1; goto label; label: return; } protected int[] getNewValidIndexes() { oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator v; int[] v; v := @this: oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator; v = v.; return v; } protected int getNewErasedIndex() { int v; oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator v; v := @this: oadd.org.apache.hadoop.io.erasurecode.rawcoder.DecodingValidator; v = v.; return v; } }