Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 852 for return (0.18 sec)

  1. internal/bucket/object/lock/lock.go

    		return &ret, ErrPastObjectLockRetainDate
    	}
    
    	if !ret.RetainUntilDate.IsZero() && ret.RetainUntilDate.Before(t) {
    		return &ret, ErrPastObjectLockRetainDate
    	}
    
    	return &ret, nil
    }
    
    // IsObjectLockRetentionRequested returns true if object lock retention headers are set.
    func IsObjectLockRetentionRequested(h http.Header) bool {
    	if _, ok := h[AmzObjectLockMode]; ok {
    		return true
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

            return false;
          }
        }
        return false;
      }
    
      /**
       * Returns an unmodifiable view of the specified navigable set. This method allows modules to
       * provide users with "read-only" access to internal navigable sets. Query operations on the
       * returned set "read through" to the specified set, and attempts to modify the returned set,
    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)
  3. cmd/bucket-metadata-sys.go

    		if errors.Is(err, errConfigNotFound) {
    			return nil, time.Time{}, BucketTaggingNotFound{Bucket: bucket}
    		}
    		return nil, time.Time{}, err
    	}
    	if meta.taggingConfig == nil {
    		return nil, time.Time{}, BucketTaggingNotFound{Bucket: bucket}
    	}
    	return meta.taggingConfig, meta.TaggingConfigUpdatedAt, nil
    }
    
    // GetObjectLockConfig returns configured object lock config
    // The returned object may not be modified.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    					case ObjectNotFound, BucketNotFound:
    						return false, nil
    					case InsufficientReadQuorum, StorageErr:
    						return true, nil
    					}
    					return false, err
    				}
    				err = d.deserialize(r)
    				r.Close()
    				return err != nil, nil
    			case InsufficientReadQuorum, StorageErr:
    				return true, nil
    			}
    			return false, err
    		}
    		err = d.deserialize(r)
    		r.Close()
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            val propertyReferenceExpression = firPropertyAccess.correspondingNameReference ?: return
            val qualifiedProperty = propertyReferenceExpression.getQualifiedElement() as? KtDotQualifiedExpression ?: return
    
            if (!qualifiedProperty.inSelection) return
    
            val propertySymbol = firPropertyAccess.referencedSymbol ?: return
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // isETagEqual return true if the canonical representations of two ETag strings
    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)
  7. cmd/notification.go

    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.workers.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    // The first call to return a non-nil error will be
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    	return Status{
    		Name:       "KES",
    		Endpoints:  endpoints,
    		DefaultKey: c.defaultKeyID,
    		Details:    st,
    	}, nil
    }
    
    // IsLocal returns true if the KMS is a local implementation
    func (c *kesClient) IsLocal() bool {
    	return env.IsSet(EnvKMSSecretKey)
    }
    
    // List returns an array of local KMS Names
    func (c *kesClient) List() []kes.KeyInfo {
    	var kmsSecret []kes.KeyInfo
    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)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

        checkEntryNotNull(key, value);
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    				if r.TLS != nil {
    					scheme = "https"
    				}
    				return scheme
    			}(),
    		}
    	}
    	return nil
    }
    
    // guessIsHealthCheckReq - returns true if incoming request looks
    // like healthCheck request
    func guessIsHealthCheckReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    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)
Back to top