- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 820 for blobs (0.05 sec)
-
src/internal/coverage/encodemeta/encodefile.go
// Emit string table if err = m.stab.Write(m.w); err != nil { return err } // Now emit blobs themselves. for k, blob := range blobs { if m.debug { fmt.Fprintf(os.Stderr, "=+= writing blob %d len %d at off=%d hash %s\n", k, len(blob), off2, fmt.Sprintf("%x", md5.Sum(blob))) } if _, err = m.w.Write(blob); err != nil { return fmt.Errorf("error writing %s: %v", m.mfname, err) } if m.debug {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 11 12:40:42 UTC 2022 - 3.4K bytes - Viewed (0) -
pkg/test/fakes/imageregistry/main.go
return } log.Infof("Get %q, send redirect to %q", r.URL, rurl) http.Redirect(w, r, rurl, http.StatusMovedPermanently) case !strings.Contains(p, "/v2/") || !strings.Contains(p, "/blobs/"): // only requires authentication for getting manifests, not blobs encoded := base64.StdEncoding.EncodeToString([]byte(fmt.Sprintf("%v:%v", User, Passwd))) authHdr := r.Header.Get("Authorization") wantHdr := fmt.Sprintf("Basic %s", encoded)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
fh := md5.New() blobs := [][]byte{} tlen := uint64(unsafe.Sizeof(coverage.MetaFileHeader{})) for _, p := range mm.pkgs { var blob []byte if pcombine { mdw := &slicewriter.WriteSeeker{} p.cmdb.Emit(mdw) blob = mdw.BytesWritten() } else { blob = p.mdblob } ph := md5.Sum(blob) blobs = append(blobs, blob) if _, err := fh.Write(ph[:]); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/internal/codesign/codesign.go
// // The code signature is a block of bytes that contains // a SuperBlob, which contains one or more Blobs. For ad-hoc // signing, a single CodeDirectory Blob suffices. // // A SuperBlob starts with its header (the binary representation // of the SuperBlob struct), followed by a list of (in our case, // one) Blobs (offset and size). A CodeDirectory Blob starts // with its head (the binary representation of CodeDirectory struct),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:19 UTC 2022 - 8.3K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
mfw := encodemeta.NewCoverageMetaFileWriter("<io.Writer>", w) var blobs [][]byte for _, e := range metalist { sd := unsafe.Slice(e.P, int(e.Len)) blobs = append(blobs, sd) } return mfw.Write(finalHash, blobs, cmode, gran) } func (s *emitState) VisitFuncs(f encodecounter.CounterVisitorFn) error { var tcounters []uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
src/crypto/tls/cache.go
// reaches zero, the entry is evicted from the cache. // // The main difference between this implementation and CRYPTO_BUFFER_POOL is that // CRYPTO_BUFFER_POOL is a more generic structure which supports blobs of data, // rather than specific structures. Since we only care about x509.Certificates, // certCache is implemented as a specific cache, rather than a generic one. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 23:56:41 UTC 2023 - 3.4K bytes - Viewed (0) -
src/internal/coverage/test/roundtrip_test.go
t.Fatalf("opening covmeta: %v", err) } //t.Logf("meta-file path is %s", mfpath) blobs := createMetaDataBlobs(t, 7) gran := coverage.CtrGranularityPerBlock mfw := encodemeta.NewCoverageMetaFileWriter(mfpath, of) finalHash := [16]byte{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15} err = mfw.Write(finalHash, blobs, coverage.CtrModeAtomic, gran) if err != nil { t.Fatalf("writing meta-file: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 21:42:05 UTC 2023 - 8.5K bytes - Viewed (0) -
src/internal/coverage/rtcov/rtcov.go
} // AddMeta is invoked during package "init" functions by the // compiler when compiling for coverage instrumentation; here 'p' is a // meta-data blob of length 'dlen' for the package in question, 'hash' // is a compiler-computed md5.sum for the blob, 'pkpath' is the // package path, 'pkid' is the hard-coded ID that the compiler is // using for the package (or -1 if the compiler doesn't think a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 3.1K bytes - Viewed (0) -
src/internal/coverage/defs.go
// <meta-symbol for pkg 1> // ... // // Each package payload is a stand-alone blob emitted by the compiler, // and does not depend on anything else in the meta-data file. In // particular, each blob has it's own string table. Note that the // file-level string table is expected to be very short (most strings // will be in the meta-data blobs themselves). // CovMetaMagic holds the magic string for a meta-data file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0) -
src/internal/coverage/decodemeta/decodefile.go
func (r *CoverageMetaFileReader) CounterGranularity() coverage.CounterGranularity { return r.hdr.CGranularity } // FileHash returns the hash computed for all of the package meta-data // blobs. Coverage counter data files refer to this hash, and the // hash will be encoded into the meta-data file name. func (r *CoverageMetaFileReader) FileHash() [16]byte { return r.hdr.MetaFileHash }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 14 22:30:23 UTC 2023 - 6.8K bytes - Viewed (0)