您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
392 B

  1. // +build appengine
  2. // This file contains the safe implementations of otherwise unsafe-using code.
  3. package xxhash
  4. // Sum64String computes the 64-bit xxHash digest of s.
  5. func Sum64String(s string) uint64 {
  6. return Sum64([]byte(s))
  7. }
  8. // WriteString adds more data to d. It always returns len(s), nil.
  9. func (d *Digest) WriteString(s string) (n int, err error) {
  10. return d.Write([]byte(s))
  11. }