From c345da770c49fa9a07a9685b60a125c9cd62be74 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Sun, 18 Oct 2009 09:56:13 +0000 Subject: [PATCH] missing class --- .../Benchmarks/SingleTM/Yada/bytereader.java | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 Robust/src/Benchmarks/SingleTM/Yada/bytereader.java diff --git a/Robust/src/Benchmarks/SingleTM/Yada/bytereader.java b/Robust/src/Benchmarks/SingleTM/Yada/bytereader.java new file mode 100644 index 00000000..60f4f2f8 --- /dev/null +++ b/Robust/src/Benchmarks/SingleTM/Yada/bytereader.java @@ -0,0 +1,86 @@ +public class bytereader { + FileInputStream fis; + byte[] buffer; + int lastlocation; + int pos; + byte[] tmp; + + public bytereader(FileInputStream fis) { + this.fis=fis; + this.buffer=new byte[1024]; + this.tmp=new byte[200]; + lastlocation=0; + pos=0; + } + + public void jumptonextline() { + while(true) { + for(;pos