mirror of
https://github.com/hanzoai/traces.git
synced 2026-11-03 04:05:45 +00:00
* Bump github.com/parquet-go/parquet-go Bumps [github.com/parquet-go/parquet-go](https://github.com/parquet-go/parquet-go) from 0.23.1-0.20241011155651-6446d1d0d2fe to 0.24.0. - [Release notes](https://github.com/parquet-go/parquet-go/releases) - [Changelog](https://github.com/parquet-go/parquet-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/parquet-go/parquet-go/commits/v0.24.0) --- updated-dependencies: - dependency-name: github.com/parquet-go/parquet-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update serverless gomod --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: tempo-gh-bot[bot] <[email protected]>
20 lines
831 B
Go
20 lines
831 B
Go
//go:build s390x
|
|
|
|
package parquet
|
|
|
|
// On a big endian system, a boolean/byte value, which is in little endian byte
|
|
// format, is byte aligned to the 7th byte in a u64 (8 bytes) variable.
|
|
// Hence the data will be available at 7th byte when interpreted as a little
|
|
// endian byte format. So, in order to access a boolean/byte value out of u64
|
|
// variable, we need to add an offset of "7".
|
|
//
|
|
// In the same way, an int32/uint32/float value, which is in little endian byte
|
|
// format, is byte aligned to the 4th byte in a u64 (8 bytes) variable.
|
|
// Hence the data will be available at 4th byte when interpreted as a little
|
|
// endian byte format. So, in order to access an int32/uint32/float value out of
|
|
// u64 variable, we need to add an offset of "4".
|
|
const (
|
|
firstByteOffsetOfBooleanValue = 7
|
|
firstByteOffsetOf32BitsValue = 4
|
|
)
|