Examples of DLLInfo


Examples of com.oracle.truffle.r.runtime.ffi.DLL.DLLInfo

    public void init(int seed) throws RNGException {
        userUnifRand = findSymbol(USER_UNIF_RAND, !OPTIONAL);
        userUnifInit = findSymbol(USER_UNIF_INIT, OPTIONAL);
        userUnifNSeed = findSymbol(USER_UNIF_INIT, OPTIONAL);
        userUnifSeedloc = findSymbol(USER_UNIF_INIT, OPTIONAL);
        DLLInfo libInfo = DLL.findLibraryContainingSymbol(USER_UNIF_RAND);
        userRngRFFI = RFFIFactory.getRFFI().getUserRngRFFI();
        userRngRFFI.setLibrary(libInfo.path);
        userRngRFFI.init(seed);
        if (userUnifSeedloc != 0 && userUnifNSeed == 0) {
            throw RNGException.raise(RError.Message.RNG_READ_SEEDS, false);
View Full Code Here

Examples of com.oracle.truffle.r.runtime.ffi.DLL.DLLInfo

            }
            String lib = libVec.getDataAt(0);
            // Length not checked by GnuR
            byte local = localVec.getDataAt(0);
            try {
                DLLInfo info = DLL.load(lib, asBoolean(local), asBoolean(now));
                RList result = createDLLInfoList(info.toRValues());
                return result;
            } catch (DLLException ex) {
                throw RError.error(getEncapsulatingSourceSection(), ex);
            }
        }
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.