uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Blodow (Updated) (JIRA)" <...@uima.apache.org>
Subject [jira] [Updated] (UIMA-2307) BasicArrayFS has two unimplemented Functions: copyToArray, copyFromArray.
Date Mon, 12 Dec 2011 12:52:31 GMT

     [ https://issues.apache.org/jira/browse/UIMA-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Nico Blodow updated UIMA-2307:

    Attachment: first_impl_of_copyToArray_and_copyFromArray_for_ByteArrayFS.patch

This implements the resp. functions for the case of ByteArrayFS.
> BasicArrayFS has two unimplemented Functions: copyToArray, copyFromArray.
> -------------------------------------------------------------------------
>                 Key: UIMA-2307
>                 URL: https://issues.apache.org/jira/browse/UIMA-2307
>             Project: UIMA
>          Issue Type: Bug
>          Components: C++ Framework
>         Environment: Ubuntu 11.10
>            Reporter: Nico Blodow
>         Attachments: first_impl_of_copyToArray_and_copyFromArray_for_ByteArrayFS.patch
> When trying to use any non-atomic type in an ArrayFS, two functions are vital to copy
from / to the FS:
> void 	copyToArray (size_t uiStart, size_t uiEnd, T *destArray, size_t uiDestOffset) const

> void 	copyFromArray (T const *sourceArray, size_t uiStart, size_t uiEnd, size_t uiOffset)
> As far as I can tell, these need FSHeap::get8BitArray etc to be public.
> These raise a NotYetImplementedError. Will attach a patch if I find out how to.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message