- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,630 for match (0.01 seconds)
-
cmd/erasure-multipart-conditional_test.go
erasureDisks[i] = nil } return erasureDisks } z.serverPools[0].erasureDisksMu.Unlock() t.Run("if-none-match with read quorum failure", func(t *testing.T) { // Test Case 1: if-none-match (create only if doesn't exist) // With if-none-match: *, this should only succeed if object doesn't exist. // Since read quorum fails, we can't determine if object exists. opts := ObjectOptions{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
tests/test_multipart_installation.py
with warnings.catch_warnings(record=True): warnings.simplefilter("always") monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False) with pytest.raises(RuntimeError, match=multipart_incorrect_install_error): app = FastAPI() @app.post("/") async def root(username: str = Form()): return username # pragma: nocover
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Oct 27 21:46:26 GMT 2024 - 5.7K bytes - Click Count (0) -
internal/hash/errors.go
) // SHA256Mismatch - when content sha256 does not match with what was sent from client. type SHA256Mismatch struct { ExpectedSHA256 string CalculatedSHA256 string } func (e SHA256Mismatch) Error() string { return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256 } // BadDigest - Content-MD5 you specified did not match what we received. type BadDigest struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 15 21:08:54 GMT 2023 - 2.4K bytes - Click Count (0) -
cmd/object-handlers-common.go
// 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 func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool { return checkCopyObjectPreconditions(ctx, w, r, objInfo) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 23 12:36:06 GMT 2025 - 15.2K bytes - Click Count (0) -
cmd/erasure-object-conditional_test.go
if !isErrReadQuorum(err) { t.Errorf("Expected read quorum error when if-none-match is used with quorum failure, got: %v", err) } }) t.Run("if-match with read quorum failure", func(t *testing.T) { // Test Case 2: if-match (update only if ETag matches) // With if-match: <etag>, this should only succeed if object exists with matching ETag.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0) -
callbacks/callbacks.go
deleteCallback.Match(enableTransaction).Register("gorm:begin_transaction", BeginTransaction) deleteCallback.Register("gorm:before_delete", BeforeDelete) deleteCallback.Register("gorm:delete_before_associations", DeleteBeforeAssociations) deleteCallback.Register("gorm:delete", Delete(config)) deleteCallback.Register("gorm:after_delete", AfterDelete)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Oct 27 23:56:55 GMT 2021 - 3.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
val match = dependencyRegex.find(dependency) if (match != null) { val oldDependency = match.groupValues[3] + match.groupValues[2] val newDependency = match.groupValues[1] + match.groupValues[2] lines.replaceAll { it.replace(oldDependency, newDependency) } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
cmd/batch-job-common-types.go
func (kv BatchJobKV) Empty() bool { return kv.Key == "" && kv.Value == "" } // Match matches input kv with kv, value will be wildcard matched depending on the user input func (kv BatchJobKV) Match(ikv BatchJobKV) bool { if kv.Empty() { return true } if strings.EqualFold(kv.Key, ikv.Key) { return wildcard.Match(kv.Value, ikv.Value) } return false }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/site-replication/run-ssec-object-replication.sh
echo "BUG: Etag: '${rep_obj1_etag}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_etag}'" exit_1 fi if [ "${rep_obj1_size}" != "${src_obj1_size}" ]; then echo "BUG: Size: '${rep_obj1_size}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_size}'" exit_1 fi if [ "${rep_obj2_etag}" != "${src_obj2_etag}" ]; then
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 9.9K bytes - Click Count (0) -
misc/chrome/gophertool/gopher.js
} return "https://golang.org/cl/" + t; } if (gerritChangeIdRE.test(t)) { return "https://golang.org/cl/" + t; } var match = commitRE.exec(t); if (match) { return "https://golang.org/change/" + match[1]; } if (pkgRE.test(t)) { // TODO: make this smarter, using a list of packages + substring matches. // Get the list from godoc itself in JSON format?Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sat Jul 11 14:36:33 GMT 2015 - 1.2K bytes - Click Count (0)