pike.git / lib / modules / Search.pmod / MergeFile.pike

version» Context lines:

pike.git/lib/modules/Search.pmod/MergeFile.pike:2:      private Stdio.File fd;      //!   protected void create(Stdio.File _fd)   {    fd = _fd;   }      protected void write_blob(String.Buffer buf, string word, string blob, -  void|string blob2) +  string blob2="")   {    buf->add(sprintf("%4c%s%4c",    sizeof(word), word, -  sizeof(blob) + sizeof(blob2||"")), +  sizeof(blob) + sizeof(blob2)),    blob);    if(blob2)    buf->add(blob2);   }      //!   void write_blobs(_WhiteFish.Blobs blobs)   {    String.Buffer buf = String.Buffer();    foreach(blobs->read_all_sorted(), array(string) pair)