Examples of DirectMemorySegment


Examples of eu.stratosphere.nephele.services.memorymanager.DirectMemorySegment

    CheckedMemorySegment checkedSegment = new CheckedMemorySegment(segmentArray);
    long elapsedChecked = timePutByteArrayChecked(checkedSegment, sourceArray, numValues, rounds);
    checkedSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    DirectMemorySegment directSegment = new DirectMemorySegment(segmentArray);
    long elapsedDirect = timePutByteArrayDirect(directSegment, sourceArray, numValues, rounds);
    directSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    UnsafeMemorySegment unsafeSegment = new UnsafeMemorySegment(segmentArray);
View Full Code Here

Examples of eu.stratosphere.nephele.services.memorymanager.DirectMemorySegment

    CheckedMemorySegment checkedSegment = new CheckedMemorySegment(segmentArray);
    long elapsedChecked = timeGetByteArrayChecked(checkedSegment, targetArray, numValues, rounds);
    checkedSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    DirectMemorySegment directSegment = new DirectMemorySegment(segmentArray);
    long elapsedDirect = timeGetByteArrayDirect(directSegment, targetArray, numValues, rounds);
    directSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    UnsafeMemorySegment unsafeSegment = new UnsafeMemorySegment(segmentArray);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.