Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for rootKey (0.28 sec)

  1. src/internal/filepathlite/path_windows.go

    )
    
    func IsPathSeparator(c uint8) bool {
    	return c == '\\' || c == '/'
    }
    
    func isLocal(path string) bool {
    	if path == "" {
    		return false
    	}
    	if IsPathSeparator(path[0]) {
    		// Path rooted in the current drive.
    		return false
    	}
    	if stringslite.IndexByte(path, ':') >= 0 {
    		// Colons are only valid when marking a drive letter ("C:foo").
    		// Rejecting any path with a colon is conservative but safe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/net/dnsclient_unix.go

    func (conf *dnsConfig) nameList(name string) []string {
    	// Check name length (see isDomainName).
    	l := len(name)
    	rooted := l > 0 && name[l-1] == '.'
    	if l > 254 || l == 254 && !rooted {
    		return nil
    	}
    
    	// If name is rooted (trailing dot), try only that name.
    	if rooted {
    		if avoidDNS(name) {
    			return nil
    		}
    		return []string{name}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. pkg/spiffe/spiffe.go

    		block, rest = pem.Decode(rest)
    	}
    
    	rootCAs, err := x509.ParseCertificates(blockBytes)
    	if err != nil {
    		spiffeLog.Errorf("parse certificate from rootPEM got error: %v", err)
    		return fmt.Errorf("parse certificate from rootPEM got error: %v", err)
    	}
    
    	v.AddMapping(trustDomain, rootCAs)
    	return nil
    }
    
    // AddMappings merges a trust domain to certs map to the certPools map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    	}
    	osOpen := func(name string) (io.ReadCloser, error) {
    		return os.Open(filepath.Join(dir, strings.TrimPrefix(name, prefix)))
    	}
    	return hash(files, osOpen)
    }
    
    // DirFiles returns the list of files in the tree rooted at dir,
    // replacing the directory name dir with prefix in each name.
    // The resulting names always use forward slashes.
    func DirFiles(dir, prefix string) ([]string, error) {
    	var files []string
    	dir = filepath.Clean(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. src/io/fs/walk.go

    		if err := walkDir(fsys, name1, d1, walkDirFn); err != nil {
    			if err == SkipDir {
    				break
    			}
    			return err
    		}
    	}
    	return nil
    }
    
    // WalkDir walks the file tree rooted at root, calling fn for each file or
    // directory in the tree, including root.
    //
    // All errors that arise visiting files and directories are filtered by fn:
    // see the [fs.WalkDirFunc] documentation for details.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 08:50:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_dot.txt

    ! go get .
    stderr '^go: .: no package to get in current directory$'
    ! go get ./subdir
    stderr '^go: \.[/\\]subdir \('$WORK'[/\\]gopath[/\\]src[/\\]dir[/\\]subdir\) is not a package in module rooted at '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    ! go list
    ! stderr 'cannot find module providing package'
    stderr '^no Go files in '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    
    cd subdir
    ! go list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 22:30:03 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

            when:
            def outputFile = compiler.getOutputFileDir(sourceFile, testDir, extension)
    
            then:
            // Creates directory
            outputFile.parentFile.exists()
            // Rooted under test directory
            outputFile.parentFile.parentFile == testDir
            // TODO: Test for MD5 directory name?
            outputFile.name == "source$extension"
    
            where:
            extension | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    	}
    	defer os.RemoveAll(tmpdir)
    
    	rootCert2, rootKey2, err := NewCertificateAuthority(&CertConfig{
    		Config: certutil.Config{CommonName: "Root CA 2"},
    	})
    	if err != nil {
    		t.Errorf("failed to create root CA cert and key with an error: %v", err)
    	}
    
    	intCert2, intKey2, err := NewIntermediateCertificateAuthority(rootCert2, rootKey2, &CertConfig{
    		Config: certutil.Config{
    			CommonName: "Intermediate CA 2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. src/crypto/tls/key_schedule.go

    		// Rather than calling BytesOrPanic, we explicitly handle this error, in
    		// order to provide a reasonable error message. It should be basically
    		// impossible for this to panic, and routing errors back through the
    		// tree rooted in this function is quite painful. The labels are fixed
    		// size, and the context is either a fixed-length computed hash, or
    		// parsed from a field which has the same length limitation. As such, an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/generate/generate.go

    }
    
    // A Generator represents the state of a single Go source file
    // being scanned for generator commands.
    type Generator struct {
    	r        io.Reader
    	path     string // full rooted path name.
    	dir      string // full rooted directory of file.
    	file     string // base name of file.
    	pkg      string
    	commands map[string][]string
    	lineNum  int // current line number.
    	env      []string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top