Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,176 for depleted (0.06 seconds)

  1. tests/soft_delete_test.go

    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    } else if (getParamValue(localParams, "event.delete", "delete").equals(eventType)) {
                        // deleted file
                        deleteDocument(localParams, dataMap);
                    } else {
                        logger.warn("Unknown event type: '{}'. Supported: [create, modify, delete]. url={}", eventType,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            // Test that deleting already deleted file doesn't throw
            Path tempFile = Files.createTempFile("already_deleted", ".tmp");
            Files.delete(tempFile);
            assertFalse(Files.exists(tempFile));
    
            // Should return false without throwing
            boolean deleted = Files.deleteIfExists(tempFile);
            assertFalse(deleted);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/IoTestCase.java

      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
          return false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  5. tests/joins_table_test.go

    		t.Fatalf("Should found soft deleted addresses with unscoped")
    	}
    
    	if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
    		t.Fatalf("Should found soft deleted addresses with unscoped")
    	}
    
    	DB.Model(&person).Association("Addresses").Clear()
    
    	if DB.Model(&person).Association("Addresses").Count() != 0 {
    		t.Fatalf("Should deleted all addresses")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Sep 10 13:46:18 GMT 2020
    - 3.5K bytes
    - Click Count (1)
  6. tests/delete_test.go

    		return
    	}
    
    	users := []*User{
    		GetUser("delete-returning-1", Config{}),
    		GetUser("delete-returning-2", Config{}),
    		GetUser("delete-returning-3", Config{}),
    	}
    	DB.Create(&users)
    
    	var results []User
    	DB.Where("name IN ?", []string{users[0].Name, users[1].Name}).Clauses(clause.Returning{}).Delete(&results)
    	if len(results) != 2 {
    		t.Errorf("failed to return delete data, got %v", results)
    	}
    
    	var count int64
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         */
        public void delete(final DataConfig dataConfig) {
            dataConfigBhv.delete(dataConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        /**
         * Retrieves a data configuration by its unique identifier.
         *
         * @param id the unique identifier of the data configuration
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. cmd/iam-store.go

    					delete(cache.iamUsersMap, k)
    				}
    			}
    			for k, u := range cache.iamSTSAccountsMap {
    				if u.Credentials.ParentUser == accessKey {
    					delete(cache.iamSTSAccountsMap, k)
    				}
    			}
    		}
    
    		// 3. Delete any mapped policy
    		cache.iamUserPolicyMap.Delete(accessKey)
    
    		return nil
    	}
    
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  9. cmd/erasure-healing.go

    	}
    
    	cannotHeal := !latestMeta.XLV1 && !latestMeta.Deleted && xlMetaToHealCount > latestMeta.Erasure.ParityBlocks
    	if cannotHeal && quorumETag != "" {
    		// This is an object that is supposed to be removed by the dangling code
    		// but we noticed that ETag is the same for all objects, let's give it a shot
    		cannotHeal = false
    	}
    
    	if !latestMeta.Deleted && !latestMeta.IsRemote() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        }
    
        /**
         * Deletes documents from the specified index based on the given query.
         *
         * @param client the OpenSearch client to use for executing the query and delete operations
         * @param settings the settings for the suggest feature, including timeouts and scroll settings
         * @param index the name of the index from which documents should be deleted
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
Back to Top