Examples of BoundedMemoryIO


Examples of jnr.ffi.provider.BoundedMemoryIO

    public Pointer allocateTemporary(int size) {
        return new BoundedMemoryIO(TransientNativeMemory.allocate(runtime, size, 8, true), 0, size);
    }

    public Pointer allocateTemporary(int size, boolean clear) {
        return new BoundedMemoryIO(TransientNativeMemory.allocate(runtime, size, 8, clear), 0, size);
    }
View Full Code Here

Examples of jnr.ffi.provider.BoundedMemoryIO

    public Pointer newPointer(long address) {
        return new DirectMemoryIO(runtime, address & addressMask);
    }

    public Pointer newPointer(long address, long size) {
        return new BoundedMemoryIO(new DirectMemoryIO(runtime, address & addressMask), 0, size);
    }
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.