/[classpath]/classpath/java/nio/MappedByteBufferImpl.java
ViewVC logotype

Diff of /classpath/java/nio/MappedByteBufferImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by mark, Sat Jul 2 20:32:39 2005 UTC revision 1.18 by glavaux, Wed Aug 3 13:12:59 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package java.nio;  package java.nio;
40    
41  import gnu.classpath.RawData;  import gnu.classpath.Pointer;
42    
43  import java.io.IOException;  import java.io.IOException;
44    
# Line 48  final class MappedByteBufferImpl extends Line 48  final class MappedByteBufferImpl extends
48    
49    /** Posix uses this for the pointer returned by mmap;    /** Posix uses this for the pointer returned by mmap;
50     * Win32 uses it for the pointer returned by MapViewOfFile. */     * Win32 uses it for the pointer returned by MapViewOfFile. */
51    public RawData implPtr;    public Pointer implPtr;
52    /** Posix uses this for the actual length passed to mmap;    /** Posix uses this for the actual length passed to mmap;
53     * Win32 uses it for the pointer returned by CreateFileMapping. */     * Win32 uses it for the pointer returned by CreateFileMapping. */
54    public long implLen;    public long implLen;
55        
56    public MappedByteBufferImpl(RawData address, int size, boolean readOnly)    public MappedByteBufferImpl(Pointer address, int size, boolean readOnly)
57      throws IOException      throws IOException
58    {    {
59      super(size, size, 0, -1);      super(size, size, 0, -1);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26