Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for dispatch (0.18 sec)

  1. cmd/os-instrumented.go

    func RemoveAll(dirPath string) (err error) {
    	defer updateOSMetrics(osMetricRemoveAll, dirPath)(err)
    	return os.RemoveAll(dirPath)
    }
    
    // Mkdir captures time taken to call os.Mkdir
    func Mkdir(dirPath string, mode os.FileMode) (err error) {
    	defer updateOSMetrics(osMetricMkdir, dirPath)(err)
    	return os.Mkdir(dirPath, mode)
    }
    
    // MkdirAll captures time taken to call os.MkdirAll
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/tier-journal.go

    // journal only to process existing journal entries made from previous versions.
    func (t *TierJournal) Init(ctx context.Context) error {
    	for _, diskPath := range globalEndpoints.LocalDisksPaths() {
    		t.diskPath = diskPath
    
    		go t.deletePending(ctx)  // for existing journal entries from previous MinIO versions
    		go t.processEntries(ctx) // for newer journal entries circa free-versions
    		return nil
    	}
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. internal/crypto/metadata_test.go

    		}
    		if keyID != test.KeyID {
    			t.Errorf("Test %d: Key-ID mismatch: got '%s' - want '%s'", i, keyID, test.KeyID)
    		}
    		if !bytes.Equal(kmsKey, test.SealedDataKey) {
    			t.Errorf("Test %d: sealed KMS data mismatch: got '%v' - want '%v'", i, kmsKey, test.SealedDataKey)
    		}
    		if sealedKey.Algorithm != test.SealedKey.Algorithm {
    			t.Errorf("Test %d: seal algorithm mismatch: got '%s' - want '%s'", i, sealedKey.Algorithm, test.SealedKey.Algorithm)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. internal/hash/errors.go

    }
    
    func (e SizeTooLarge) Error() string {
    	return fmt.Sprintf("Size large: got %d, want %d", e.Got, e.Want)
    }
    
    // SizeMismatch error size mismatch
    type SizeMismatch struct {
    	Want int64
    	Got  int64
    }
    
    func (e SizeMismatch) Error() string {
    	return fmt.Sprintf("Size mismatch: got %d, want %d", e.Got, e.Want)
    }
    
    // ChecksumMismatch - when content checksum does not match with what was sent from client.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. internal/bucket/versioning/versioning_test.go

    				for i, eprefix = range tc.excludedPrefixes {
    					if eprefix != v.ExcludedPrefixes[i].Prefix {
    						mismatch = true
    						break
    					}
    				}
    				if mismatch {
    					t.Fatalf("Test %d: Expected excluded prefix %s but got %s", i+1, tc.excludedPrefixes[i], v.ExcludedPrefixes[i].Prefix)
    				}
    			}
    			if tc.excludeFolders != v.ExcludeFolders {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  6. internal/hash/reader_test.go

    			actualSize: 4,
    		},
    		{
    			desc:       "Failure md5 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "d41d8cd98f00b204e9800998ecf8427f",
    			err: BadDigest{
    				"d41d8cd98f00b204e9800998ecf8427f",
    				"e2fc714c4727ee9395f324cd2e7f331f",
    			},
    		},
    		{
    			desc:       "Failure sha256 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. cmd/data-usage_test.go

    		t.Fatalf("deserialize LastUpdate mismatch\nwant: %+v\ngot:  %+v", want, got)
    	}
    	if len(want.Cache) != len(got.Cache) {
    		t.Errorf("deserialize mismatch length\nwant: %+v\ngot:  %+v", len(want.Cache), len(got.Cache))
    	}
    	for wkey, wval := range want.Cache {
    		gotv := got.Cache[wkey]
    		if !equalAsJSON(gotv, wval) {
    			t.Errorf("deserialize mismatch, key %v\nwant: %#v\ngot:  %#v", wkey, wval, gotv)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    			t.Errorf("Md5 Mismatch")
    		}
    	}
    
    	for key, value := range objects {
    		var byteBuffer bytes.Buffer
    		err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if !bytes.Equal(byteBuffer.Bytes(), value) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  9. cmd/naughty-disk_test.go

    	}
    	return d.disk.WalkDir(ctx, opts, wr)
    }
    
    func (d *naughtyDisk) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) {
    	if err := d.calcError(); err != nil {
    		return []string{}, err
    	}
    	return d.disk.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/object-api-deleteobject_test.go

    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			continue
    		}
    
    		if len(result.Objects) != len(testCase.objectsAfterDelete) {
    			t.Errorf("Test %d: %s: mismatch number of objects after delete, expected = %v, found = %v", i+1, instanceType, testCase.objectsAfterDelete, result.Objects)
    			continue
    		}
    
    		for idx := range result.Objects {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
Back to top