- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for blocks (0.17 sec)
-
docs/debugging/inspect/main.go
if err != nil { fmt.Printf("error generating key: %s n", err) os.Exit(1) } // dump private key to file privateKeyBytes := x509.MarshalPKCS1PrivateKey(privatekey) privateKeyBlock := &pem.Block{ Type: "RSA PRIVATE KEY", Bytes: privateKeyBytes, } privatePem, err := os.Create("support_private.pem") if err != nil { fmt.Printf("error when create private.pem: %s n", err) os.Exit(1) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 4.8K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
fmt.Println("Attempting to reconstruct using parity sets:") for k, v := range parityData { if missing == 0 { break } fmt.Println("* Setup: Data shards:", k, "- Parity blocks:", len(v)) rs, err := reedsolomon.New(k, shards-k) if err != nil { return err } split, err := rs.Split(mapped) if err != nil { return err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:56:22 GMT 2024 - 20.2K bytes - Viewed (1)