@Before public void setup() { Assume.assumeTrue(ErasureCodeNative.isNativeCodeLoaded()); this.encoderClass = NativeRSRawEncoder.class; this.decoderClass = RSRawDecoder.class; setAllowDump(true); }
@Before public void setup() { Assume.assumeTrue(ErasureCodeNative.isNativeCodeLoaded()); this.encoderClass = NativeRSRawEncoder.class; this.decoderClass = NativeRSRawDecoder.class; setAllowDump(true); }
@Test public void testISALCoder() throws Exception { Assume.assumeTrue(ErasureCodeNative.isNativeCodeLoaded()); // ISA-L coder RawErasureCoderBenchmark.performBench("encode", RawErasureCoderBenchmark.CODER.ISAL_CODER, 5, 300, 64); RawErasureCoderBenchmark.performBench("decode", RawErasureCoderBenchmark.CODER.ISAL_CODER, 6, 200, 128); }
@Before public void setup() { Assume.assumeTrue(ErasureCodeNative.isNativeCodeLoaded()); this.encoderClass = RSRawEncoder.class; this.decoderClass = NativeRSRawDecoder.class; setAllowDump(true); }
@Test public void testEC(){ ErasureCodeNative.checkNativeCodeLoaded(); }