Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for Wathan (0.29 sec)

  1. internal/event/errors.go

    }
    
    // ErrFilterNamePrefix - more than one prefix usage error.
    type ErrFilterNamePrefix struct{}
    
    func (err ErrFilterNamePrefix) Error() string {
    	return "more than one prefix in filter rule"
    }
    
    // ErrFilterNameSuffix - more than one suffix usage error.
    type ErrFilterNameSuffix struct{}
    
    func (err ErrFilterNameSuffix) Error() string {
    	return "more than one suffix in filter rule"
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == io.EOF:
    		return n, errMissData // Less data in dense file than sparse file
    	case err != nil:
    		return n, err
    	case sr.logicalRemaining() == 0 && sr.physicalRemaining() > 0:
    		return n, errUnrefData // More data in dense file than sparse file
    	case finished:
    		return n, io.EOF
    	default:
    		return n, nil
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    	return err
    }
    
    // Peek returns the next n bytes without advancing the reader. The bytes stop
    // being valid at the next read call. If Peek returns fewer than n bytes, it
    // also returns an error explaining why the read is short. The error is
    // [ErrBufferFull] if n is larger than b's buffer size.
    //
    // Calling Peek prevents a [Reader.UnreadByte] or [Reader.UnreadRune] call from succeeding
    // until the next read operation.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    )
    
    const (
    	// Maximum allowed form data field values. 64MiB is a guessed practical value
    	// which is more than enough to accommodate any form data fields and headers.
    	requestFormDataSize = 64 * humanize.MiByte
    
    	// For any HTTP request, request body should be not more than 16GiB + requestFormDataSize
    	// where, 16GiB is the maximum allowed object size for object upload.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	// Return false for methods other than GET and HEAD.
    	if r.Method != http.MethodPut {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    // GetLock tries to get a write lock on dm before the timeout elapses.
    //
    // If the lock is already in use, the calling go routine
    // blocks until either the mutex becomes available and return success or
    // more time has passed than the timeout value and return false.
    func (dm *DRWMutex) GetLock(ctx context.Context, cancel context.CancelFunc, id, source string, opts Options) (locked bool) {
    	isReadLock := false
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/config-dir.go

    	defaultMinioConfigDir = ".minio"
    
    	// Directory contains below files/directories for HTTPS configuration.
    	certsDir = "certs"
    
    	// Directory contains all CA certificates other than system defaults for HTTPS.
    	certsCADir = "CAs"
    
    	// Public certificate file for HTTPS.
    	publicCertFile = "public.crt"
    
    	// Private key file for HTTPS.
    	privateKeyFile = "private.key"
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  8. cmd/utils_test.go

    func TestMinAllowedPartSize(t *testing.T) {
    	sizes := []struct {
    		isMin bool
    		size  int64
    	}{
    		// Test - 1 - within minimum part size.
    		{
    			true,
    			globalMinPartSize + 1,
    		},
    		// Test - 2 - smaller than minimum part size.
    		{
    			false,
    			globalMinPartSize - 1,
    		},
    	}
    
    	for i, s := range sizes {
    		isMin := isMinAllowedPartSize(s.size)
    		if isMin != s.isMin {
    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)
  9. internal/kms/kes.go

    	return c, nil
    }
    
    // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The
    // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused
    func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) {
    	ctx := context.Background()
    
    	defaultCacheDuration := 10 * time.Second
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    	errLifecycleNoRule       = Errorf("Lifecycle configuration should have at least one rule")
    	errLifecycleDuplicateID  = Errorf("Rule ID must be unique. Found same ID for more than one rule")
    	errXMLNotWellFormed      = Errorf("The XML you provided was not well-formed or did not validate against our published schema")
    )
    
    const (
    	// TransitionComplete marks completed transition
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top