Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for segment (0.18 sec)

  1. cmd/xl-storage.go

    	}
    
    	// On Unix we reject paths if they are just '.', '..' or '/'
    	if pathName == "." || pathName == ".." || pathName == slashSeparator {
    		return errFileAccessDenied
    	}
    
    	// Check each path segment length is > 255 on all Unix
    	// platforms, look for this value as NAME_MAX in
    	// /usr/include/linux/limits.h
    	var count int64
    	for _, p := range pathName {
    		switch p {
    		case '/':
    			count = 0 // Reset
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/collect/Sets.java

          collection = ((Multiset<?>) collection).elementSet();
        }
        /*
         * AbstractSet.removeAll(List) has quadratic behavior if the list size
         * is just more than the set's size.  We augment the test by
         * assuming that sets have fast contains() performance, and other
         * collections don't.  See
         * http://code.google.com/p/guava-libraries/issues/detail?id=1013
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top