Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for separator (0.48 sec)

  1. cmd/metacache-set.go

    	InclDeleted bool
    
    	// Scan recursively.
    	// If false only main directory will be scanned.
    	// Should always be true if Separator is n SlashSeparator.
    	Recursive bool
    
    	// Separator to use.
    	Separator string
    
    	// Create indicates that the lister should not attempt to load an existing cache.
    	Create bool
    
    	// Include pure directories.
    	IncludeDirectories bool
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. internal/kms/context.go

    			if start < i {
    				dst.WriteString(s[start:i])
    			}
    			dst.WriteString(`\ufffd`)
    			i += size
    			start = i
    			continue
    		}
    		// U+2028 is LINE SEPARATOR.
    		// U+2029 is PARAGRAPH SEPARATOR.
    		// They are both technically valid characters in JSON strings,
    		// but don't work in JSONP, which has to be evaluated as JavaScript,
    		// and can lead to security holes there. It is valid JSON to
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    	}
    
    	for _, defaultgoPathString := range defaultgoPathList {
    		trimStrings = append(trimStrings, filepath.Join(defaultgoPathString, "src")+string(filepath.Separator))
    	}
    
    	for _, defaultgoRootString := range defaultgoRootList {
    		trimStrings = append(trimStrings, filepath.Join(defaultgoRootString, "src")+string(filepath.Separator))
    	}
    
    	// Remove duplicate entries.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/streaming-v4-unsigned.go

    	for input.Scan() {
    		line := strings.TrimSpace(input.Text())
    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("Could not find separator, got %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := strings.ToLower(line[:idx])
    		value := line[idx+1:]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  5. cmd/utils_test.go

    		},
    		// Test case 5 object has many trailing separators.
    		{
    			path:   "/bucket/object/1///",
    			bucket: "bucket",
    			object: "object/1///",
    		},
    		// Test case 6 object has only trailing separators.
    		{
    			path:   "/bucket/object///////",
    			bucket: "bucket",
    			object: "object///////",
    		},
    		// Test case 7 object has preceding separators.
    		{
    			path:   "/bucket////object////",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    	}
    }
    
    // Trim this from start+end of hashes.
    var hashPathCutSet = dataUsageRoot
    
    func init() {
    	if dataUsageRoot != string(filepath.Separator) {
    		hashPathCutSet = dataUsageRoot + string(filepath.Separator)
    	}
    }
    
    // hashPath calculates a hash of the provided string.
    func hashPath(data string) dataUsageHash {
    	if data != dataUsageRoot {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  7. cmd/metacache-entries.go

    func (e metaCacheEntry) isInDir(dir, separator string) bool {
    	if len(dir) == 0 {
    		// Root
    		idx := strings.Index(e.name, separator)
    		return idx == -1 || idx == len(e.name)-len(separator)
    	}
    	ext := strings.TrimPrefix(e.name, dir)
    	if len(ext) != len(e.name) {
    		idx := strings.Index(ext, separator)
    		// If separator is not found or is last entry, ok.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. cmd/endpoint.go

    		// path on windows might become C:/C:/ this will cause problems
    		// of starting minio server properly in distributed mode on windows.
    		// As a special case make sure to trim the separator.
    
    		// NOTE: It is also perfectly fine for windows users to have a path
    		// without C:/ since at that point we treat it as relative path
    		// and obtain the full filesystem path as well. Providing C:/
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  9. internal/config/constants.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    // Config value separator
    const (
    	ValueSeparator = ","
    )
    
    // Top level common ENVs
    const (
    	EnvAccessKey    = "MINIO_ACCESS_KEY"
    	EnvSecretKey    = "MINIO_SECRET_KEY"
    	EnvRootUser     = "MINIO_ROOT_USER"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  10. cmd/metacache-entries_test.go

    	}
    }
    
    func Test_metaCacheEntries_filterRecursiveRootSep(t *testing.T) {
    	data := loadMetacacheSampleEntries(t)
    	// This will remove anything with "bzip2/" in the path since it is separator
    	data.filterRecursiveEntries("", "bzip2/")
    	got := data.entries().names()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
Back to top