文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Dalvik 线性分配

Dalvik 线性分配

时间:2010-08-20  来源:hunterzy416

Dalvik线性分配的数据结构

/*

 * Linear allocation state.  We could tuck this into the start of the

 * allocated region, but that would prevent us from sharing the rest of

 * that first page.

 */

typedef struct LinearAllocHdr {

    int     curOffset;          /* offset where next data goes */

    pthread_mutex_t lock;       /* controls updates to this struct */

 

    char*   mapAddr;            /* start of mmap()ed region */

    int     mapLength;          /* length of region */

    int     firstOffset;        /* for chasing through */

 

    short*  writeRefCount;      /* for ENFORCE_READ_ONLY */

} LinearAllocHdr;

线性表数据结构

相关阅读 更多 +
排行榜 更多 +
方块拼凑最新版 v1.0 安卓版

方块拼凑最新版 v1.0 安卓版

休闲益智 下载
方块拼凑最新版 v1.0 安卓版

方块拼凑最新版 v1.0 安卓版

休闲益智 下载
愤怒的小鸟爆破安卓版 v2.7.0 手机版

愤怒的小鸟爆破安卓版 v2.7.0 手机版

飞行射击 下载