- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for getDataBlockLen (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/erasure-utils.go
package cmd import ( "context" "encoding/base64" "fmt" "io" "strings" "github.com/klauspost/reedsolomon" ) // getDataBlockLen - get length of data blocks from encoded blocks. func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int { size := 0 // Figure out the data block length. for _, block := range enBlocks[:dataBlocks] { size += len(block) } return size }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Click Count (0)