C# Class Lucene.Net.Support.TestByteBuffer

Inheritance: BaseBufferTestCase
显示文件 Open project: apache/lucenenet

Public Methods

Method Description
test ( byte ba ) : void
test ( int level, System.ByteBuffer b, bool direct ) : void

Private Methods

Method Description
Test ( ) : void
absGet ( System.ByteBuffer b ) : void
absPut ( System.ByteBuffer b ) : void
bulkGet ( System.ByteBuffer b ) : void
bulkPutArray ( System.ByteBuffer b ) : void
bulkPutBuffer ( System.ByteBuffer b ) : void
callReset ( System.ByteBuffer b ) : void
checkBytes ( System.ByteBuffer b, byte bs ) : void
checkInvalidMarkException ( Buffer b ) : void
checkSlice ( System.ByteBuffer b, System.ByteBuffer slice ) : void
compact ( Buffer b ) : void
fail ( string problem, System.ByteBuffer xb, System.ByteBuffer yb, byte x, byte y ) : void
relGet ( System.ByteBuffer b ) : void
relGet ( System.ByteBuffer b, int start ) : void
relPut ( System.ByteBuffer b ) : void
testAllocate ( ) : void
testHet ( int level, System.ByteBuffer b ) : void
testViews ( int level, System.ByteBuffer b, bool direct ) : void
tryCatch ( Buffer b, Type ex, System.Action thunk ) : void
tryCatch ( byte t, Type ex, System.Action thunk ) : void

Method Details

test() public static method

public static test ( byte ba ) : void
ba byte
return void

test() public static method

public static test ( int level, System.ByteBuffer b, bool direct ) : void
level int
b System.ByteBuffer
direct bool
return void