Searched refs:buf (Results 1 – 5 of 5) sorted by relevance
29 fn next_chunk(buf: &mut MultiBufs) -> &[u8]; in next_chunk()56 pub fn next_chunk(buf: &mut MultiBufs) -> &[u8] { in next_chunk()57 let next = buf.chunks.get(buf.pos); in next_chunk()58 buf.pos += 1; in next_chunk()68 let mut buf = MultiBufs { chunks, pos: 0 }; in main() localVariable69 let blobid = client.put_buf(&mut buf); in main()
42 uint64_t client_blobstore::put_buf(MultiBufs &buf) const in put_buf()51 auto res_chunk = next_chunk(buf); in put_buf()
35 buf = file_obj.read(__MAX_BUF)36 if not buf:38 sha256obj.update(buf)
28 uint64_t put_buf(MultiBufs &buf) const;
32 buf = f.read(self.__max_buf)33 if not buf:35 sha256obj.update(buf)