- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 395 for clear (0.01 sec)
-
tests/associations_many2many_test.go
// Prepare Data for Clear if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil { t.Fatalf("Error happened when append Languages, got %v", err) } AssertAssociationCount(t, user2, "Languages", 1, "after prepare data") // Clear if err := DB.Model(&user2).Association("Languages").Clear(); err != nil { t.Errorf("Error happened when clear Languages, got %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
@Override protected boolean isUseOneTimeContainer() { return true; } public void test_maxUsernameLength() throws IOException { FessProp.propMap.clear(); FessConfig fessConfig = new FessConfig.SimpleImpl() { @Override public Integer getLdapMaxUsernameLengthAsInteger() { return Integer.valueOf(-1); } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
assertEquals(0, indexingHelper.deleteOldDocuments(client, docList)); assertEquals(0, docList.size()); assertEquals(0, deletedDocIdList.size()); docList.clear(); deletedDocIdList.clear(); docList.add(new HashMap<>(Map.of(// "config_id", "W01", // "doc_id", "1", // "url", "http://test.com/001"// )));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 29.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Clear the filter urlFilter.clear(); // After clear, all URLs should match (no filters applied) assertTrue(urlFilter.match("https://example.com/page")); assertTrue(urlFilter.match("https://other.com/page")); assertTrue(urlFilter.match("https://any.com/image.jpg")); } /** * Test clear method without initialization */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
tests/associations_has_many_test.go
// Prepare Data for Clear if err := DB.Model(&user2).Association("Pets").Append(&pet); err != nil { t.Fatalf("Error happened when append Pets, got %v", err) } AssertAssociationCount(t, user2, "Pets", 1, "after prepare data") // Clear if err := DB.Model(&user2).Association("Pets").Clear(); err != nil { t.Errorf("Error happened when clear Pets, got %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
scoreUpdater.addScoreBooster(booster1); scoreUpdater.addScoreBooster(booster2); scoreUpdater.addScoreBooster(booster3); // Clear execution order before test PriorityTrackingBooster.clearExecutionOrder(); scoreUpdater.execute(); // Boosters should be executed in priority order (3, 2, 1)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/builtin/builtin.go
func imag(c ComplexType) FloatType // The clear built-in function clears maps and slices. // For maps, clear deletes all entries, resulting in an empty map. // For slices, clear sets all elements up to the length of the slice // to the zero value of the respective element type. If the argument // type is a type parameter, the type parameter's type set must // contain only map or slice types, and clear performs the operation
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java
} public void mymodifyPropertyCancel(String propertyName) { __modifiedProperties.remove(propertyName); } public void clearModifiedInfo() { __modifiedProperties.clear(); } public boolean hasModification() { return !__modifiedProperties.isEmpty(); } protected EntityModifiedProperties newModifiedProperties() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractEntity.java
} public void mymodifyPropertyCancel(String propertyName) { __modifiedProperties.remove(propertyName); } public void clearModifiedInfo() { __modifiedProperties.clear(); } public boolean hasModification() { return !__modifiedProperties.isEmpty(); } protected EntityModifiedProperties newModifiedProperties() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
association.go
appendToRelations(reflectValue.Index(i), reflect.Indirect(reflect.ValueOf(values[i])), clear) if association.Error != nil { return } // TODO support save slice data, sql with case? association.Error = associationDB.Updates(reflectValue.Index(i).Addr().Interface()).Error } case reflect.Struct: // clear old data if clear && len(values) == 0 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0)