- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DefaultHash (0.11 sec)
-
pkg/ledger/smt_tools.go
// visit right node return s.get(rnode, key, batch, 2*iBatch+2, height-1) } // visit left node return s.get(lnode, key, batch, 2*iBatch+1, height-1) } // DefaultHash is a getter for the defaultHashes array func (s *smt) DefaultHash(height int) []byte { return s.defaultHashes[height]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/verify.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 16:56:35 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go
package dirhash import ( "archive/zip" "crypto/sha256" "encoding/base64" "errors" "fmt" "io" "os" "path/filepath" "sort" "strings" ) // DefaultHash is the default hash function used in new go.sum entries. var DefaultHash Hash = Hash1 // A Hash is a directory hash function. // It accepts a list of files along with a function that opens the content of each file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
// an error and does not write ziphashfile. func hashZip(mod module.Version, zipfile, ziphashfile string) (err error) { hash, err := dirhash.HashZip(zipfile, dirhash.DefaultHash) if err != nil { return err } if err := checkModSum(mod, hash); err != nil { return err } hf, err := lockedfile.Create(ziphashfile) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0)