X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2Futil%2FInodeCache.java;h=02913def80142342ac055670b0364178d5a57ddb;hb=937f88333dca3f622bd9e2669e17e7473a447dd9;hp=99d2a98d04aeca1f5c0785c527019109ba13c8cd;hpb=fadc132903078f65a4c1e790be84bac42d5cdb29;p=nestedvm.git diff --git a/src/org/ibex/nestedvm/util/InodeCache.java b/src/org/ibex/nestedvm/util/InodeCache.java index 99d2a98..02913de 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 Public Source 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(); } - } + }*/ }