(hash string)
| 422 | } |
| 423 | |
| 424 | func (this *SQLiteFileList) GetDBIndex(hash string) uint64 { |
| 425 | return fnv.HashString(hash) % CountFileDB |
| 426 | } |
| 427 | |
| 428 | func (this *SQLiteFileList) GetDB(hash string) *SQLiteFileListDB { |
| 429 | return this.dbList[fnv.HashString(hash)%CountFileDB] |