test
Class TestPNamePerf

java.lang.Object
  extended by test.TestPNamePerf

public final class TestPNamePerf
extends Object


Field Summary
protected  char[] mNameBuffer
           
protected  int[] mQuadBuffer
           
 
Constructor Summary
TestPNamePerf(byte[] data, int repCount)
           
 
Method Summary
protected  ByteBasedPName addPName(int hash, int[] quads, int qlen, int lastQuadBytes)
           
static void main(String[] args)
           
protected  ByteBasedPName parsePName(byte b)
           
protected  ByteBasedPName parsePNameNew(byte b)
           
protected  ByteBasedPName parsePNameNew2(byte b)
           
protected  ByteBasedPName parsePNameNewLong(int q, int[] quads)
           
protected  ByteBasedPName parsePNameNewMedium(int i2, int q1)
           
 void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mQuadBuffer

protected int[] mQuadBuffer

mNameBuffer

protected char[] mNameBuffer
Constructor Detail

TestPNamePerf

public TestPNamePerf(byte[] data,
                     int repCount)
Method Detail

test

public void test()
          throws IOException,
                 XMLStreamException
Throws:
IOException
XMLStreamException

parsePName

protected ByteBasedPName parsePName(byte b)
                             throws XMLStreamException
Throws:
XMLStreamException

parsePNameNew

protected ByteBasedPName parsePNameNew(byte b)
                                throws XMLStreamException
Throws:
XMLStreamException

parsePNameNew2

protected ByteBasedPName parsePNameNew2(byte b)
                                 throws XMLStreamException
Throws:
XMLStreamException

parsePNameNewMedium

protected ByteBasedPName parsePNameNewMedium(int i2,
                                             int q1)
                                      throws XMLStreamException
Throws:
XMLStreamException

parsePNameNewLong

protected ByteBasedPName parsePNameNewLong(int q,
                                           int[] quads)
                                    throws XMLStreamException
Throws:
XMLStreamException

addPName

protected final ByteBasedPName addPName(int hash,
                                        int[] quads,
                                        int qlen,
                                        int lastQuadBytes)
                                 throws XMLStreamException
Throws:
XMLStreamException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2012 Fasterxml.com. All Rights Reserved.