Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 261 for leaf3 (0.13 sec)

  1. src/crypto/x509/name_constraints_test.go

    }
    
    func makeConstraintsLeafCert(leaf leafSpec, key *ecdsa.PrivateKey, parent *Certificate, parentKey *ecdsa.PrivateKey) (*Certificate, error) {
    	var serialBytes [16]byte
    	rand.Read(serialBytes[:])
    
    	template := &Certificate{
    		SerialNumber: new(big.Int).SetBytes(serialBytes[:]),
    		Subject: pkix.Name{
    			OrganizationalUnit: []string{"Leaf"},
    			CommonName:         leaf.cn,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. src/compress/flate/huffman_code.go

    	levels[maxBits].needed = 2*n - 4
    
    	level := maxBits
    	for {
    		l := &levels[level]
    		if l.nextPairFreq == math.MaxInt32 && l.nextCharFreq == math.MaxInt32 {
    			// We've run out of both leafs and pairs.
    			// End all calculations for this level.
    			// To make sure we never come back to this level or any lower level,
    			// set nextPairFreq impossibly large.
    			l.needed = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  3. src/crypto/tls/boring_test.go

    		return
    	}
    
    	for l := 1; l <= 2; l++ {
    		leaf := L1_I
    		if l == 2 {
    			leaf = L2_I
    		}
    		for i := 0; i < 64; i++ {
    			reachable := map[string]bool{leaf.parentOrg: true}
    			reachableFIPS := map[string]bool{leaf.parentOrg: leaf.fipsOK}
    			list := [][]byte{leaf.der}
    			listName := leaf.name
    			addList := func(cond int, c *boringCertificate) {
    				if cond != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. samples/certs/README.md

    - `workload-bar-root-certs.pem`: root and intermediate CA certificates for bar workload certificate.
    - `leaf-workload-foo-cert.pem`: leaf workload certificate for URI SAN `spiffe://trust-domain-foo/ns/foo/sa/foo`.
    - `leaf-workload-bar-cert.pem`: leaf workload certificate for URI SAN `spiffe://trust-domain-bar/ns/bar/sa/bar`.
    
    The workload cert and key are generated by:
    
    ```shell script
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 16:44:37 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. security/pkg/pki/ra/k8s_ra_test.go

    			rootCertForMeshConfig: path.Join(env.IstioSrc, "samples/certs", "root-cert.pem"),
    			certChain:             path.Join(env.IstioSrc, "samples/certs", "leaf-workload-foo-cert.pem"),
    			expectedFail:          true,
    		},
    		{
    			name:                  "Root cert and intermediate CA are specified in mesh config and Root cert from cert chain is empty(only one leaf cert)",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 00:44:54 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. tools/bug-report/pkg/filter/filter.go

    	for pe, n := range node {
    		np := append(path, pe)
    		if nn, ok := n.(map[string]any); ok {
    			// non-leaf node
    			mp, err := getMatchingPathsForSpecImpl(config, cluster, nn, np, matchingPaths)
    			if err != nil {
    				return nil, err
    			}
    			matchingPaths = matchingPaths.Union(mp)
    			continue
    		}
    		// container name leaf
    		cn, ok := n.(string)
    		if !ok && n != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. src/net/http/routing_tree.go

    // when that fails we will try against /a/{x}/c.
    
    package http
    
    import (
    	"strings"
    )
    
    // A routingNode is a node in the decision tree.
    // The same struct is used for leaf and interior nodes.
    type routingNode struct {
    	// A leaf node holds a single pattern and the Handler it was registered
    	// with.
    	pattern *pattern
    	handler Handler
    
    	// An interior node maps parts of the incoming request to child nodes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/compress/bzip2/huffman.go

    	node := &t.nodes[t.nextNode]
    	t.nextNode++
    
    	if len(left) == 1 {
    		// leaf node
    		node.left = invalidNodeValue
    		node.leftValue = left[0].value
    	} else {
    		node.left, err = buildHuffmanNode(t, left, level+1)
    	}
    
    	if err != nil {
    		return
    	}
    
    	if len(right) == 1 {
    		// leaf node
    		node.right = invalidNodeValue
    		node.rightValue = right[0].value
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/mips/obj0.go

    			}
    
    			if autosize == 0 && c.cursym.Func().Text.Mark&LEAF == 0 {
    				if c.cursym.Func().Text.From.Sym.NoSplit() {
    					if ctxt.Debugvlog {
    						ctxt.Logf("save suppressed in: %s\n", c.cursym.Name)
    					}
    
    					c.cursym.Func().Text.Mark |= LEAF
    				}
    			}
    
    			p.To.Offset = int64(autosize) - ctxt.Arch.FixedFrameSize
    
    			if c.cursym.Func().Text.Mark&LEAF != 0 {
    				c.cursym.Set(obj.AttrLeaf, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  10. src/crypto/x509/root_darwin.go

    	certs := macOS.CFArrayCreateMutable()
    	defer macOS.ReleaseCFArray(certs)
    	leaf, err := macOS.SecCertificateCreateWithData(c.Raw)
    	if err != nil {
    		return nil, errors.New("invalid leaf certificate")
    	}
    	macOS.CFArrayAppendValue(certs, leaf)
    	if opts.Intermediates != nil {
    		for _, lc := range opts.Intermediates.lazyCerts {
    			c, err := lc.getCert()
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top