Package xbird.util.struct

Examples of xbird.util.struct.LongRange


        }
        return dst;
    }

    public int[] transferBuffers(long startPageOffset, int aryLength, ILongCache<int[]> _pool) {
        LongRange range = _serContext.ranges().getRangeOf(startPageOffset);
        final int pageSize = _pageSize;
        long endPageOffset = (range == null) ? startPageOffset + pageSize : range.getEnd();
        final long lastPageOffset = restrictEndOffset(startPageOffset, endPageOffset, aryLength, pageSize);
        assert (lastPageOffset > startPageOffset) : "Illegal condition.. start:" + startPageOffset
                + " < end:" + lastPageOffset;
        final ByteChannel channel;
        try {
View Full Code Here

TOP

Related Classes of xbird.util.struct.LongRange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.