Lines Matching refs:update
14 //! you can create a hasher that you can repeatedly update to add bytes to.
21 //! hasher.update(b"Hello, ");
22 //! hasher.update(b"world");
138 pub fn update(&mut self, buf: &[u8]) {
184 pub fn update(&mut self, buf: &[u8]) {
230 pub fn update(&mut self, buf: &[u8]) {
276 pub fn update(&mut self, buf: &[u8]) {
322 pub fn update(&mut self, buf: &[u8]) {
360 hasher.update(b"a");
361 hasher.update(b"bc");
371 hasher.update(b"a");
374 incr_hasher.update(b"bc");
394 hasher.update(b"a");
395 hasher.update(b"bc");
413 hasher.update(b"a");
414 hasher.update(b"bc");
436 hasher.update(b"a");
437 hasher.update(b"bc");
459 hasher.update(b"a");
460 hasher.update(b"bc");