Examples of Extent


Examples of org.jnode.apps.vmware.disk.extent.Extent

                    ")");
        }
    }

    protected ExtentIO getExtentIO(long sector, boolean mode) throws IOException {
        Extent extent = getExtent(sector, mode);
        return getExtentIO(extent);
    }
View Full Code Here

Examples of org.jnode.apps.vmware.disk.extent.Extent

    protected ExtentIO createExtentIO(RandomAccessFile raf, Extent extent) {
        return new ExtentIO(raf, extent);
    }

    protected Extent getExtent(long sector, boolean mode) throws IOException {
        Extent handler = null;
        for (Extent extent : descriptor.getExtents()) {
            // LOG.debug(extent.getFileName()+":
            // SizeInSectors="+extent.getSizeInSectors());

            if (sector < extent.getSizeInSectors()) {
View Full Code Here

Examples of org.jnode.fs.hfsplus.extent.Extent

            log.info(getDevice().getId()
                + " Filesystem is journaled, write access is not supported. Mounting it readonly");
            setReadOnly(true);
        }
        try {
            extentOverflow = new Extent(this);
        } catch (IOException e) {
            throw new FileSystemException(e);
        }
        try {
            catalog = new Catalog(this);
View Full Code Here

Examples of org.jnode.fs.hfsplus.extent.Extent

            log.debug("Write allocation bitmap bits to disk.");
            writeAllocationFile((int) volumeBlockUsed);
            log.debug("Write Catalog to disk.");
            Catalog catalog = new Catalog(params, this);
            catalog.update();
            extentOverflow = new Extent(params);
            log.debug("Write volume header to disk.");
            volumeHeader.update();
            flush();
        } catch (IOException e) {
            throw new FileSystemException("Unable to create HFS+ filesystem", e);
View Full Code Here

Examples of org.jpox.store.Extent

                candidateClass = query.resolveClassDeclaration(candidateClassName);
            }
        }

        // Set the "candidates"
        Extent candidateExtent = ((AbstractJavaQuery)query).getCandidateExtent();
        Collection candidateCollection = ((AbstractJavaQuery)query).getCandidateCollection();
        if (candidateExtent != null)
        {
            candidates = (Queryable)candidateExtent;
        }
View Full Code Here

Examples of org.opengis.metadata.extent.Extent

    private static ReferencedEnvelope getCRSBounds(CoordinateReferenceSystem crs) {
        if (crs == null)
            return new ReferencedEnvelope();
        try {
            Extent extent = crs.getDomainOfValidity();
            Collection<? extends GeographicExtent> elem = extent.getGeographicElements();
            double xmin = Double.MAX_VALUE, ymin = Double.MAX_VALUE;
            double xmax = Double.MIN_VALUE, ymax = Double.MIN_VALUE;
            for (GeographicExtent ext : elem) {
                if (ext instanceof BoundingPolygon) {
                    BoundingPolygon bp = (BoundingPolygon) ext;
View Full Code Here

Examples of org.vmmagic.unboxed.Extent

        if (pageCursor.isZero()) {
            Unsafe.debug("pageCursor is zero");
        }

        final Extent pageSize = getPageSize(region);
        while (!size.isZero()) {
            mapPage(start, physAddr, pageSize, (region == ACPI));
            start = start.add(pageSize);
            size = size.sub(pageSize);
            if (!physAddr.isMax()) {
View Full Code Here

Examples of org.vmmagic.unboxed.Extent

            final Word diff = start.sub(alignedStart).toWord();
            start = alignedStart.toAddress();
            size = size.add(diff);
        }
        size = pageAlign(region, size.toWord(), true).toExtent();
        final Extent pageSize = getPageSize(region);

        removeVirtualMMap(start.toWord(), start.add(size).toWord(), pageSize);
        return true;
    }
View Full Code Here

Examples of org.vmmagic.unboxed.Extent

        if (emptyMMap) {
            // Remove all page mappings between AVAILABLE_START-END
            final Word start = Word.fromIntZeroExtend(AVAILABLE_START);
            final Word end = Word.fromIntZeroExtend(AVAILABLE_END);
            final Extent pageSize = Extent.fromIntZeroExtend(AVAILABLE_PAGE_SIZE);
            removeVirtualMMap(start, end, pageSize);
        }
    }
View Full Code Here

Examples of org.vmmagic.unboxed.Extent

        final Address bootImgStart = helper.getBootImageStart();
        final Address bootImgEnd = helper.getBootImageEnd();
        final int bootImgSize = bootImgEnd.sub(bootImgStart.toWord()).toInt();
        LazyMmapper.boot(bootImgStart, bootImgSize);

        final Extent heapSize = helper.getHeapSize();
        HeapGrowthManager.boot(heapSize, heapSize);
        bootPlan();
        SynchronizedCounter.boot();
        initializing = false;
        Unsafe.debug("MmtkHeapManager#initialize done\n");
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.