示例#1
0
文件: Form1.cs 项目: xstos/alithiatec
 public void Delete(MemoryBlock block)
 {
     allocator.Free(block);
     Allocated -= block.BlockSize;
 }
示例#2
0
文件: Form1.cs 项目: xstos/alithiatec
 public string Read(MemoryBlock block)
 {
     pageFile.Seek(block.BlockAddress);
     return(pageFile.ReadString());
 }
示例#3
0
文件: Form1.cs 项目: xstos/alithiatec
 public CachedString(ref string s)
 {
     mb = pfm.WriteLengthAndString(s);
 }