Skip to content

Commit

Permalink
Ignore syscall frequencies for IndexMap
Browse files Browse the repository at this point in the history
  • Loading branch information
amrabed committed Aug 10, 2017
1 parent b77f3cd commit 563e68f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/edu/vt/rhids/common/IndexMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/**
* Lookup table for system call index
*
*
* @author AmrAbed
*
*/
Expand All @@ -19,10 +19,10 @@ public class IndexMap extends HashMap<String, Integer>
private IndexMap()
{
}

/**
* Build index map from count file
*
*
* @param reader
*/
public IndexMap(BufferedReader reader)
Expand All @@ -33,10 +33,10 @@ public IndexMap(BufferedReader reader)
while ((line = reader.readLine()) != null)
{
String[] words = line.split("\t");
if (Integer.parseInt(words[1]) < size())
{
break;
}
// if (Integer.parseInt(words[1]) < size())
// {
// break;
// }
put(words[0], size());
}
reader.close();
Expand All @@ -50,7 +50,7 @@ public IndexMap(BufferedReader reader)

/**
* Build index map from first epoch
*
*
* @param reader
* @param epochSize
* @throws IOException
Expand Down

0 comments on commit 563e68f

Please sign in to comment.