- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for perblock (0.18 sec)
-
security/pkg/pki/util/crypto.go
certs := []string{} var cert string pemBlock := caCerts for block, rest := pem.Decode(pemBlock); block != nil && len(block.Bytes) != 0; block, rest = pem.Decode(pemBlock) { if len(rest) == 0 { cert = strings.TrimPrefix(strings.TrimSuffix(string(pemBlock), "\n"), "\n") certs = append(certs, cert) break } cert = string(pemBlock[0 : len(pemBlock)-len(rest)])
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/config/certs.go
// Parse all certs in the chain. current := data for len(current) > 0 { var pemBlock *pem.Block if pemBlock, current = pem.Decode(current); pemBlock == nil { return nil, ErrTLSUnexpectedData(nil).Msg("Could not read PEM block from file %s", certFile) } var x509Cert *x509.Certificate if x509Cert, err = x509.ParseCertificate(pemBlock.Bytes); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/source.html
{{/* instructions for this source line */ -}} <span class=asm>{{"" -}} {{range .Instructions -}} {{/* separate when we hit a new basic block */ -}} {{if .NewBlock -}}{{printf " %8s %28s\n" "" "⋮"}}{{end -}} {{/* inlined calls leading to this instruction */ -}} {{range .InlinedCalls -}} {{printf " %8s %10s %10s %8s " "" "" "" "" -}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 2.5K bytes - Viewed (0)