- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 548 for validateId (0.07 seconds)
-
cmd/event-notification.go
func (evnot *EventNotifier) set(bucket string, meta BucketMetadata) { config := meta.notificationConfig if config == nil { return } region := globalSite.Region() config.SetRegion(region) if err := config.Validate(region, globalEventNotifier.targetList); err != nil { if _, ok := err.(*event.ErrARNNotFound); !ok { internalLogIf(GlobalContext, err) } } evnot.AddRulesMap(bucket, config.ToRulesMap()) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 21 22:22:24 GMT 2024 - 7.7K bytes - Click Count (0) -
internal/bucket/lifecycle/filter_test.go
var filter Filter err := xml.Unmarshal([]byte(tc.inputXML), &filter) if err != nil { t.Fatalf("%d: Expected no error but got %v", i+1, err) } err = filter.Validate() if err != tc.expectedErr { t.Fatalf("%d: Expected %v but got %v", i+1, tc.expectedErr, err) } }) } } func TestObjectSizeFilters(t *testing.T) { f1 := Filter{ set: true,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 7.2K bytes - Click Count (0) -
internal/hash/checksum_test.go
t.Run(tt.name, func(t *testing.T) { // Skip invalid cases where SHA1 or SHA256 is used with full object if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj { // Validate that NewChecksumType correctly marks these as invalid alg := tt.checksum.String() typ := NewChecksumType(alg, xhttp.AmzChecksumTypeFullObject) if !typ.Is(ChecksumInvalid) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand"); assertEquals((byte) 0x00, dst[1], "Second byte must be 0"); } /** * Validates writeParametersWireFormat encodes values in the correct order and endianness. */ @Test void testWriteParametersWireFormat() { // Given int sid = 0x1234;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
cmd/api-resources_test.go
} if encodingType != testCase.encodingType { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.encodingType, encodingType) } } } // Validates extracting information for object resources. func TestGetObjectsResources(t *testing.T) { testCases := []struct { values url.Values uploadID stringCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 7.1K bytes - Click Count (0) -
cmd/erasure-sets_test.go
ctx, cancel := context.WithCancel(t.Context()) defer cancel() nDisks := 16 // Maximum disks. var erasureDisks []string for range nDisks { // Do not attempt to create this path, the test validates // so that newErasureSets initializes non existing paths // and successfully returns initialized object layer. disk := filepath.Join(globalTestTmpDir, "minio-"+nextSuffix()) erasureDisks = append(erasureDisks, disk)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.8K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.32.md
- kube-apiserver `--admission-control-config-file` files are now validated strictly (EnableStrict). Duplicate and unknown fields in the configuration will now cause an error. ([#128013](https://github.com/kubernetes/kubernetes/pull/128013), [@seans3](https://github.com/seans3))
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Feb 26 23:58:21 GMT 2026 - 470.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
byte[] buffer = new byte[20]; int len = cmd.writeParameterWordsWireFormat(buffer, 0); assertEquals(-12, len, "writeParameterWordsWireFormat should write 12 Bytes"); // Validate parameter bytes using reflection since fields are private assertEquals(getField(cmd, "fid"), SMBUtil.readInt2(buffer, 0)); assertEquals(getField(cmd, "typeOfLock"), buffer[2]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
cmd/streaming-signature-v4_test.go
[]byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648 \t \n"), []byte("10000"), []byte("ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"), }, } // Validate chunk extension removal. for i, tt := range tests { // Extract chunk size and chunk signature after parsing a standard chunk-extension format. hexChunkSize, hexChunkSignature := parseS3ChunkExtension(tt.buf)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.7K bytes - Click Count (0) -
cmd/object-api-interface.go
type CheckPreconditionFn func(o ObjectInfo) bool // EvalMetadataFn validates input objInfo and GetObjectInfo error and returns an updated metadata and replication decision if any type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error) // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.5K bytes - Click Count (0)