- Sort Score
- Result 10 results
- Languages All
Results 1801 - 1810 of 2,390 for when (0.08 sec)
-
callbacks/query.go
db.Statement.Build(db.Statement.BuildClauses...) } } func Preload(db *gorm.DB) { if db.Error == nil && len(db.Statement.Preloads) > 0 { if db.Statement.Schema == nil { db.AddError(fmt.Errorf("%w when using preload", gorm.ErrModelValueRequired)) return } joins := make([]string, 0, len(db.Statement.Joins)) for _, join := range db.Statement.Joins { joins = append(joins, join.Name) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (3) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
results = relatedQueryHelper.getRelatedQueries("test"); assertEquals("updated", results[0]); } public void test_relatedQueryMap_volatile() { // Test that the map is properly replaced when load() is called List<RelatedQuery> testData1 = new ArrayList<>(); testData1.add(createRelatedQuery("term1", new String[] { "query1" }, "")); mockBhv.setTestData(testData1);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
fun hostContainsOnlyStrippedCharacters() { val url = "http://>/".toHttpUrl() assertThat(url.host).isEqualTo(">") assertThat(url.toUri().host).isNull() } /** * Strip unexpected characters when converting to URI (which is more strict). * https://github.com/square/okhttp/issues/5667 */ @Test fun hostToUriStripsCharacters() { val httpUrl = "http://example\".com/".toHttpUrl()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
import java.util.TreeMap; import org.jspecify.annotations.Nullable; /** * Implementation of {@code Table} whose row keys and column keys are ordered by their natural * ordering or by supplied comparators. When constructing a {@code TreeBasedTable}, you may provide * comparators for the row keys and the column keys, or you may use natural ordering for both. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
/** * Returns the path to the pom file for this project. * A project is usually read from a file named {@code pom.xml}, * which contains the {@linkplain #getModel() model} in an XML form. * When a custom {@code org.apache.maven.api.spi.ModelParser} is used, * the path may point to a non XML file. * <p> * The POM path is also used to define the {@linkplain #getBasedir() base directory}Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Feb 27 11:07:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
// Verify main key is removed (archives stay) assertFalse(keyManager.hasSessionKey(sessionId), "Main key should be removed"); // Note: Archives are not automatically removed when removing main key }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/archive/zip/reader_test.go
t.Errorf("sigs: error=%v, want %v", err, ErrFormat) } // negative size _, err = NewReader(bytes.NewReader([]byte("foobar")), -1) if err == nil { t.Errorf("archive/zip.NewReader: expected error when negative size is passed") } } func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) { data, err := os.ReadFile(filepath.Join("testdata", fileName)) if err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
@Test @DisplayName("Should return null when hash algorithms is null") void testGetHashAlgosNull() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, new byte[] { 0x01 }); assertNull(context.getHashAlgos()); } @Test @DisplayName("Should return null when salt is null") void testGetSaltNull() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
crawlJob.webConfigIds(null); crawlJob.fileConfigIds(null); crawlJob.dataConfigIds(null); String result = crawlJob.execute(); assertNotNull(result); // When all configs are null, runAll is true, so they show ALL assertTrue(result.contains("Web Config Id: ALL")); assertTrue(result.contains("File Config Id: ALL"));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
Map<String, Object> dataMap = new HashMap<>(); dataMap.put("url", "http://example.com/test"); indexUpdateCallback.store(paramMap, dataMap); // When disabled, the fields should not be added assertFalse(dataMap.containsKey("click_count")); assertFalse(dataMap.containsKey("favorite_count")); } public void test_store_withExistingDocId() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0)