代码搜索:MappedByteBuffer
找到约 53 项符合「MappedByteBuffer」的源代码
代码结果 53
www.eeworm.com/read/150914/12245749
java largemappedfiles.java
//: c12:LargeMappedFiles.java
// Creating a very large file using mapping.
// {RunByHand}
// {Clean: test.dat}
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See
www.eeworm.com/read/230049/14307230
java largemappedfiles.java
//: c12:LargeMappedFiles.java
// Creating a very large file using mapping.
// {RunByHand}
// {Clean: test.dat}
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See
www.eeworm.com/read/326554/13136376
c java.c
共享内存在java中的实现
在jdk1.4中提供的类<mark>MappedByteBuffer</mark>为我们实现共享内存提供了较好的方法。该缓 冲区实际上是一个磁盘文件的内存映像。二者的变化将保持同步,即内存数据发生变化会立 刻反映到磁盘文件中,这样会有效的保证共享内存的实现。
将共享内存和磁盘文件建立联系的是文件通道类:FileChannel。该类的加入是JDK为了统一对外部设备(文件、网络接口等)的访 ...
www.eeworm.com/read/119340/6089306
java memorymappedfile.java
/*
* Created on Apr 24, 2004
* Created by Alon Rohter
* Copyright (C) 2004 Aelitis, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under
www.eeworm.com/read/127767/14337033
txt e167. persisting changes to a memory-mapped bytebuffer.txt
Changes to a memory-mapped ByteBuffer are not necessarily sent immediately to the underlying storage device. In some applications, such as with a memory-mapped register, the change should be sent imme
www.eeworm.com/read/401625/11553338
java filechannelexample3.java
import java.io.*;
import java.nio.*;
import java.nio.channels.*;
public class FileChannelExample3
{
public static void main(String args[]) throws Exception
{
RandomAccessFile fin= new Ran
www.eeworm.com/read/475669/1383821
java nitfsutil.java
package gov.nasa.worldwind.formats.nitfs;
import java.io.*;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
/*
Copyright (C) 2001, 2007 United States Government
as repr
www.eeworm.com/read/237048/4632818
cpp genericmappedbytefilebuffer.cpp
package gnu.java.nio;
import java.nio.*;
import java.io.IOException;
#include "temp.h"
final public class MappedTYPEFileBuffer
#if SIZE == 1
extends MappedByteBuffer
#else
extends TYPEBuffer
#end
www.eeworm.com/read/416638/11018885
java ipseeker.java
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteOrder;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChan
www.eeworm.com/read/467969/1494331
java datacollector.java
package dms.business.collectProcess;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.MappedByteBuffer;
import java.util.Vector;
import