Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Call (0.16 sec)

  1. internal/logger/logger.go

    // uniq swaps away duplicate elements in data, returning the size of the
    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    		return l
    	}
    	for i := 1; i < l; i++ {
    		if !data.Less(p, i) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/common-main.go

    		api.Logger = noLog
    	}
    
    	// Pass in console application config. This needs to happen before the
    	// ConfigureAPI() call.
    	consoleapi.GlobalMinIOConfig = consoleapi.MinIOConfig{
    		OpenIDProviders: buildOpenIDConsoleConfig(),
    	}
    
    	server := consoleapi.NewServer(api)
    	// register all APIs
    	server.ConfigureAPI()
    
    	consolePort, _ := strconv.Atoi(globalMinioConsolePort)
    
    	server.Host = globalMinioConsoleHost
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  3. cmd/erasure-object.go

    		// Note: we should not be defer'ing the following closeBitrotReaders() call as
    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    		// we return from this function.
    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/api-errors.go

    		Description:    "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrAllAccessDisabled: {
    		Code:           "AllAccessDisabled",
    		Description:    "All access to this resource has been disabled.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrPolicyInvalidVersion: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  5. cmd/batch-handlers.go

    		if r.Flags.Filter.OlderThan > 0 && time.Since(oi.ModTime) < r.Flags.Filter.OlderThan {
    			// skip all objects that are newer than specified older duration
    			return true
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan {
    			// skip all objects that are older than specified newer duration
    			return true
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    	return "Object name contains forward slash as prefix: " + e.Bucket + "/" + e.Object
    }
    
    // AllAccessDisabled All access to this object has been disabled
    type AllAccessDisabled GenericError
    
    // Error returns string an error formatted as the given text.
    func (e AllAccessDisabled) Error() string {
    	return "All access to this object has been disabled"
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top