Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,139 for delete1 (0.07 seconds)

  1. 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) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-utils.go

    	}
    	if err == nil && len(versions) == 0 {
    		// This special case is needed to handle len(xlMeta.versions) == 0
    		versions = []FileInfo{
    			{
    				Volume:   volume,
    				Name:     path,
    				Deleted:  true,
    				IsLatest: true,
    				ModTime:  timeSentinel1970,
    			},
    		}
    	}
    	if err != nil {
    		return FileInfoVersions{}, err
    	}
    
    	return FileInfoVersions{
    		Volume:        volume,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. 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 &&
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

        }
    
        /**
         * Deletes a key match setting by ID.
         *
         * @param id the ID of the key match setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/keymatch/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            keyMatchService.getKeyMatch(id).ifPresent(entity -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. 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)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Click Count (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
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 12.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

        }
    
        // DELETE /api/admin/accesstoken/setting/{id}
        /**
         * Deletes an access token setting by ID.
         *
         * @param id the access token ID to delete
         * @return JSON response confirming deletion
         */
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

        }
    
        /**
         * Deletes a request header setting by ID.
         *
         * @param id the ID of the request header setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/reqheader/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

        }
    
        /**
         * Deletes a web authentication setting by ID.
         *
         * @param id the ID of the web authentication setting to delete
         * @return JSON response indicating success or failure
         */
        // DELETE /api/admin/webauth/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. 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,
    		},
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
Back to Top