/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See LICENSE.txt included in this distribution for the specific
* language governing permissions and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at LICENSE.txt.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/**
* An Extremely Fast Tagged Attribute Read-only File System
* Created on October 12, 2005
*
* A Eftar File has the following format
* FILE --> Record ( Record | tagString ) *
* Record --> 64bit:Hash 16bit:childrenOffset 16bit:(numberChildren|lenthOfTag) 16bit:tagOffset
*
* It is a tree of tagged names,
* doing binary search in sorted list of children
*
* @author Chandan
*/
public class EftarFile {
private long offset;
class Node {
public long hash;
public long tagOffset;
public long childOffset;
public long myOffset;
}
}
}
}
}
class FNode {
public long offset;
public long hash;
public int childOffset;
public int numChildren;
public int tagOffset;
offset = f.getFilePointer();
childOffset = f.readUnsignedShort();
numChildren = f.readUnsignedShort();
tagOffset = f.readUnsignedShort();
}
this.childOffset = childOffset;
this.numChildren = num;
}
if (childOffset == 0) {
return null;
}
}
int b = 0;
int e = len;
while (b <= e) {
int m = (b + e) / 2;
b = m + 1;
e = m - 1;
} else {
return new FNode(mhash, f.getFilePointer() - 8l, f.readUnsignedShort(), f.readUnsignedShort(), f.readUnsignedShort());
}
}
return null;
}
}
return 0;
}
long hash = 2861;
if (n > 100) {
n = 100;
}
for (int i = 0; i < n; i++) {
}
return hash;
}
}
} else {
} else {
}
}
} else {
}
offset += RECORD_LENGTH;
}
}
}
n.tagOffset = 0;
} else {
}
n.childOffset = offset;
} else {
n.childOffset = 0;
}
}
}
try {
readInput(r);
} finally {
}
}
}
if (tab > 0) {
while (toks.hasMoreTokens()) {
}
}
}
}
}
}
}
/**
* Main method is used to generate eftar file from the path description
* file in the run scripts.
*
* @param args Input files and output file
*/
@SuppressWarnings("PMD.SystemPrintln")
}
try {
} catch (Exception e) {
}
}
}