Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for checksum (0.1 sec)

  1. cmd/bucket-handlers.go

    		return
    	}
    	checksum, err := hash.GetContentChecksum(formValues)
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, fmt.Errorf("Invalid checksum: %w", err))
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	if checksum != nil && checksum.Type.Trailing() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "SuccessorModTime")
    				return
    			}
    		case "Checksum":
    			z.Checksum, bts, err = msgp.ReadBytesBytes(bts, z.Checksum)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksum")
    				return
    			}
    		case "Inlined":
    			z.Inlined, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    				actualSize = int64(decSize)
    			}
    		default:
    			actualSize = n
    		}
    	}
    	if fi.Checksum == nil {
    		// Trailing headers checksums should now be filled.
    		fi.Checksum = opts.WantChecksum.AppendTo(nil, nil)
    		if opts.EncryptFn != nil {
    			fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    		}
    	}
    	for i, w := range writers {
    		if w == nil {
    			onlineDisks[i] = nil
    			continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    )
    
    func (e ErasureAlgo) valid() bool {
    	return e > invalidErasureAlgo && e < lastErasureAlgo
    }
    
    // ChecksumAlgo defines common type of different checksum algorithms
    type ChecksumAlgo uint8
    
    // List of currently supported checksum algorithms
    const (
    	invalidChecksumAlgo ChecksumAlgo = 0
    	HighwayHash         ChecksumAlgo = 1
    	lastChecksumAlgo    ChecksumAlgo = 2
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                slf4jLogger.info("Disabling strict checksum verification on all artifact downloads.");
            } else if (MavenExecutionRequest.CHECKSUM_POLICY_FAIL.equals(cliRequest.request.getGlobalChecksumPolicy())) {
                slf4jLogger.info("Enabling strict checksum verification on all artifact downloads.");
            }
    
            if (slf4jLogger.isDebugEnabled()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrContentChecksumMismatch: {
    		Code:           "XAmzContentChecksumMismatch",
    		Description:    "The provided 'x-amz-checksum' header does not match what was computed.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	// MinIO extensions.
    	ErrStorageFull: {
    		Code:           "XMinioStorageFull",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    legacyJSON = `{"version":"1.0.1","format":"xl","stat":{"size":2016,"modTime":"2021-10-11T23:40:34.914361617Z"},"erasure":{"algorithm":"klauspost/reedsolomon/vandermonde","data":2,"parity":2,"blockSize":10485760,"index":2,"distribution":[2,3,4,1],"checksum":[{"name":"part.1","algorithm":"highwayhash256S"}]},"minio":{"release":"RELEASE.2019-12-30T05-45-39Z"},"meta":{"X-Minio-Internal-Server-Side-Encryption-Iv":"kInsJB/0yxyz/40ZI+lmQYJfZacDYqZsGh2wEiv+N50=","X-Minio-Internal-Server-Side-Encryption-S...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. cmd/iam.go

    			group:         group,
    		}
    	} else {
    		sys.store = &IAMStoreSys{IAMStorageAPI: newIAMEtcdStore(etcdClient, sys.usersSysType)}
    	}
    }
    
    // Initialized checks if IAM is initialized
    func (sys *IAMSys) Initialized() bool {
    	if sys == nil {
    		return false
    	}
    	sys.Lock()
    	defer sys.Unlock()
    	return sys.store != nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		if str != "" {
    			f.Edit.Replace(start, end, str)
    			if nu {
    				needsUnsafe = true
    			}
    		}
    	}
    	return needsUnsafe
    }
    
    // rewriteCall rewrites one call to add pointer checks.
    // If any pointer checks are required, we rewrite the call into a
    // function literal that calls _cgoCheckPointer for each pointer
    // argument and then calls the original function.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * redundancy for such URLs.
     *
     * Because they don't attempt canonical form, these classes are surprisingly difficult to use
     * securely. Suppose you're building a webservice that checks that incoming paths are prefixed
     * "/static/images/" before serving the corresponding assets from the filesystem.
     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top