Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 287 for chroot (0.06 sec)

  1. cmd/kms-handlers_test.go

    		// Version test
    		{
    			name:   "version as root want success",
    			method: http.MethodGet,
    			path:   kmsVersionPath,
    			asRoot: true,
    
    			wantStatusCode: http.StatusOK,
    			wantResp:       []string{"version"},
    		},
    		{
    			name:   "version as user with no policy want forbidden",
    			method: http.MethodGet,
    			path:   kmsVersionPath,
    			asRoot: false,
    
    			wantStatusCode: http.StatusForbidden,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. misc/go_android_exec/main.go

    		gorootPath = runtime.GOROOT()
    		if gorootPath != "" {
    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    		// -trimpath and GOROOT is unset. Try 'go env GOROOT' as a fallback,
    		// assuming that the 'go' command in $PATH is the correct one.
    
    		cmd := exec.Command("go", "env", "GOROOT")
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    	importDir   map[string]string            // canonical import path -> dir
    
    }
    
    func NewWalker(context *build.Context, root string) *Walker {
    	w := &Walker{
    		context:  context,
    		root:     root,
    		features: map[string]bool{},
    		imported: map[string]*apiPackage{"unsafe": &apiPackage{Package: types.Unsafe}},
    	}
    	w.loadImports()
    	return w
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                }
            }
            return null;
        }
    
    
        static String[] list ( SmbFile root, String wildcard, int searchAttributes, final SmbFilenameFilter fnf, final SmbFileFilter ff )
                throws SmbException {
            try ( CloseableIterator<SmbResource> it = doEnum(root, wildcard, searchAttributes, fnf == null ? null : new ResourceNameFilter() {
    
                @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  5. cmd/common-main.go

    	// for each directory whether it contains a public.crt and private.key.
    	// If so, we try to add it to certificate manager.
    	root, err := Open(globalCertsDir.Get())
    	if err != nil {
    		return nil, nil, false, err
    	}
    	defer root.Close()
    
    	files, err := root.Readdir(-1)
    	if err != nil {
    		return nil, nil, false, err
    	}
    	for _, file := range files {
    		// Ignore all
    		// - regular files
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    	}
    
    	goPathList = strings.Split(goPath, pathSeparator)
    	goRootList = strings.Split(goRoot, pathSeparator)
    	defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator)
    	defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator)
    
    	// Add trim string "{GOROOT}/src/" into trimStrings
    	trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        boolean hasNextAddress () {
            return this.addressIndex < this.addresses.length;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#isRoot()
         */
        @Override
        public boolean isRoot () {
            // length == 0 should not happen
            return getShare() == null && getUNCPath().length() <= 1;
        }
    
    
        boolean isRootOrShare () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/DfsTest.java

                String dfsTestSharePath = getDFSTestSharePath();
                DfsReferralData ref = doResolve(dfsTestSharePath.toUpperCase(Locale.ROOT), "foo", false);
                assertNotNull(ref);
                assertEquals(getTestServer().toLowerCase(Locale.ROOT), ref.getServer().toLowerCase(Locale.ROOT));
            }
    
        }
    
    
        @Test
        public void testStandaloneDFSCache () throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

                     */
                    CacheEntry links = (CacheEntry)roots.get(root);
                    if (links != null && now > links.expiration) {
                        roots.remove(root);
                        links = null;
                    }
    
                    if (links == null) {
                        if ((trans = getDc(domain, auth)) == null)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DfsImpl.java

        public DfsReferralData resolve ( CIFSContext tf, String domain, String root, String path ) throws SmbAuthException {
            return resolve(tf, domain, root, path, 5);
        }
    
    
        private DfsReferralData resolve ( CIFSContext tf, String domain, String root, String path, int depthLimit ) throws SmbAuthException {
    
            if ( tf.getConfig().isDfsDisabled() || root == null || root.equals("IPC$") || depthLimit <= 0 ) {
                return null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top