Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for precondition (0.11 sec)

  1. guava/src/com/google/common/collect/CollectPreconditions.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CollectPreconditions.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Precondition checks useful in collection implementations. */
    @GwtCompatible
    final class CollectPreconditions {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. cmd/object-handlers-common.go

    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$")
    
    // Validates the preconditions for CopyObjectPart, returns true if CopyObjectPart
    // operation should not proceed. Preconditions supported are:
    //
    //	x-amz-copy-source-if-modified-since
    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  4. docs/metrics/healthcheck/README.md

    ```
    curl http://minio1:9001/minio/health/cluster?maintenance=true
    HTTP/1.1 412 Precondition Failed
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jul 06 16:18:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        }
    
        /**
         * Asserts that the argument is valid.
         *
         * @param argName
         *            The name of the argument that must not be invalid.
         * @param expression
         *            The precondition.
         * @param description
         *            The description of why the argument is invalid.
         * @throws ClIllegalArgumentException
         *             If {@code expression} is false.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static com.google.common.base.Preconditions.checkState;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PreconditionsTest.java

    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static com.google.common.base.Preconditions.checkState;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    )
    
    //go:generate msgp -file $GOFILE -io=false -tests=false -unexported=false
    
    //msgp:ignore ObjectOptions TransitionOptions DeleteBucketOptions
    
    // CheckPreconditionFn returns true if precondition check failed.
    type CheckPreconditionFn func(o ObjectInfo) bool
    
    // EvalMetadataFn validates input objInfo and GetObjectInfo error and returns an updated metadata and replication decision if any
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    func isErrSignatureDoesNotMatch(err error) bool {
    	var signatureDoesNotMatch SignatureDoesNotMatch
    	return errors.As(err, &signatureDoesNotMatch)
    }
    
    // PreConditionFailed - Check if copy precondition failed
    type PreConditionFailed struct{}
    
    func (e PreConditionFailed) Error() string {
    	return "At least one of the pre-conditions you specified did not hold"
    }
    
    func isErrPreconditionFailed(err error) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top