Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 954 for delete2 (0.36 sec)

  1. cmd/local-locker.go

    					continue
    				}
    				// Collect uids, so we don't mutate while we delete
    				uids := make([]string, 0, len(lris))
    				for _, lri := range lris {
    					uids = append(uids, lri.UID)
    				}
    
    				// Delete collected uids:
    				for _, uid := range uids {
    					lris, ok := l.lockMap[resource]
    					if !ok {
    						// Just to be safe, delete uuids.
    						for idx := 0; idx < maxDeleteList; idx++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    }
    
    // setPutObjHeaders sets all the necessary headers returned back
    // upon a success Put/Copy/CompleteMultipart/Delete requests
    // to activate delete only headers set delete as true
    func setPutObjHeaders(w http.ResponseWriter, objInfo ObjectInfo, delete bool, h http.Header) {
    	// We must not use the http.Header().Set method here because some (broken)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. tests/associations_belongs_to_test.go

    	// Delete
    	if err := DB.Model(&user2).Association("Company").Delete(&Company{}); err != nil {
    		t.Fatalf("Error happened when delete Company, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Company", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Company").Delete(&company2); err != nil {
    		t.Fatalf("Error happened when delete Company, got %v", err)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    func (e ErasureInfo) ShardSize() int64 {
    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    	parityBlocks := fi.Erasure.ParityBlocks
    	correctIndexes := (fi.Erasure.Index > 0 &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. cmd/metacache-bucket.go

    	c, ok := b.caches[id]
    	if ok {
    		// Delete from root map.
    		list := b.cachesRoot[c.root]
    		for i, lid := range list {
    			if id == lid {
    				list = append(list[:i], list[i+1:]...)
    				break
    			}
    		}
    		b.cachesRoot[c.root] = list
    		delete(b.caches, id)
    		b.updated = true
    	}
    	b.mu.Unlock()
    	if ok {
    		c.delete(context.Background())
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc rm minio3/newbucket/README.md
    sleep 5
    
    ./mc stat --no-list minio2/newbucket/README.md
    if [ $? -eq 0 ]; then
    	echo "expected file to be deleted, exiting.."
    	exit_1
    fi
    
    ./mc stat --no-list minio1/newbucket/README.md
    if [ $? -eq 0 ]; then
    	echo "expected file to be deleted, exiting.."
    	exit_1
    fi
    
    ./mc mb --with-lock minio3/newbucket-olock
    sleep 5
    
    set -x
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    			expectedDangling: true,
    		},
    		{
    			name: "FileInfoDecided-case2-delete-marker",
    			metaArr: []FileInfo{
    				{},
    				{},
    				{},
    				{Deleted: true},
    			},
    			errs: []error{
    				errFileNotFound,
    				errFileNotFound,
    				errFileNotFound,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     FileInfo{Deleted: true},
    			expectedDangling: true,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  8. tests/hooks_test.go

    	}
    
    	p3 := Product{Code: "dont_delete", Price: 100}
    	DB.Save(&p3)
    	if DB.Delete(&p3).Error == nil {
    		t.Fatalf("An error from before delete callbacks happened when delete")
    	}
    
    	if DB.Where("Code = ?", "dont_delete").First(&p3).Error != nil {
    		t.Fatalf("An error from before delete callbacks happened")
    	}
    
    	p4 := Product{Code: "after_save_error", Price: 100}
    	DB.Save(&p4)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_en.properties

    labels.wizard_button_finish=Skip
    labels.search_list_configuration=Search
    labels.search_list_button_delete=Delete
    labels.search_list_delete_confirmation=Do you really want to delete?
    labels.search_list_button_delete_all=Delete all with this query
    labels.search_list_delete_all_confirmation=Do you really want to delete all with this query?
    labels.search_list_button_cancel=Cancel
    labels.failure_url_configuration=Failure URL
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  10. tests/main_test.go

    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top