X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Futil%2FInodeCache.java;h=12e2aeaa1d047697034dedbf89dd4c31fb4962b6;hp=99d2a98d04aeca1f5c0785c527019109ba13c8cd;hb=b11e7c6c29f2b5f7b0828bf93eb741c4a30ec411;hpb=fadc132903078f65a4c1e790be84bac42d5cdb29 diff --git a/src/org/ibex/nestedvm/util/InodeCache.java b/src/org/ibex/nestedvm/util/InodeCache.java index 99d2a98..12e2aea 100644 --- a/src/org/ibex/nestedvm/util/InodeCache.java +++ b/src/org/ibex/nestedvm/util/InodeCache.java @@ -1,6 +1,8 @@ -package org.ibex.nestedvm.util; +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the Apache License 2.0 ("the License"). +// You may not use this file except in compliance with the License. -import java.util.Arrays; +package org.ibex.nestedvm.util; // Based on the various org.xwt.util.* classes by Adam Megacz @@ -37,12 +39,14 @@ public class InodeCache { clear(); } + private static void fill(Object[] a,Object o) { for(int i=0;i " + c.reverse(n)); + System.err.println("" + n + " -> " + c.reverse(n)); } else { - //System.err.println("Adding " + s); - short n = c.get(s); - System.err.println("Added " + s + " -> " + n); - //c.dump(); + //System.err.println("Adding " + s); + short n = c.get(s); + System.err.println("Added " + s + " -> " + n); + //c.dump(); } } good = true; } finally { if(!good) c.stats(); } - } + }*/ }