mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix renaming for 5bytes
This commit is contained in:
parent
7256902fb0
commit
9e06ef66b9
|
@ -71,7 +71,7 @@ func ToOffset(offset int64) Offset {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (offset Offset) ToAcutalOffset() (actualOffset int64) {
|
func (offset Offset) ToActualOffset() (actualOffset int64) {
|
||||||
return (int64(offset.b0) + int64(offset.b1)<<8 + int64(offset.b2)<<16 + int64(offset.b3)<<24 + int64(offset.b4)<<32) * int64(NeedlePaddingSize)
|
return (int64(offset.b0) + int64(offset.b1)<<8 + int64(offset.b2)<<16 + int64(offset.b3)<<24 + int64(offset.b4)<<32) * int64(NeedlePaddingSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue