- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 359 for finds (0.02 seconds)
-
tests/default_value_test.go
if err := DB.First(&result, "email = ?", "******@****.***").Error; err != nil { t.Fatalf("Failed to find created data, got error: %v", err) } else if result.Name != "foo" || result.Name2 != "foo" || result.Name3 != "" || result.Age != 18 || !result.Enabled || result.Created.Format("20060102") != "20000102" { t.Fatalf("Failed to find created data with default data, got %+v", result) } type Harumph2 struct {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Apr 08 03:29:55 GMT 2024 - 2.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
Map<AccessorKey, ReplacedAccessor> oldAccessorsOfUpgradedProperties = (Map<AccessorKey, ReplacedAccessor>) context.getUserData().get(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES); // Find accessors that were not removed but should be Map<AccessorKey, ReplacedAccessor> keptAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties); keptAccessors.entrySet().removeIf(e -> {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 19 15:30:48 GMT 2024 - 3.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java
public UnknownRepositoryLayoutException(String repositoryId, String layoutId) { super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId); this.layoutId = layoutId; } public UnknownRepositoryLayoutException(String repositoryId, String layoutId, ComponentLookupException e) { super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId, e); this.layoutId = layoutId;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
tests/main_test.go
t.Errorf("Should got error with invalid SQL") } if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } var count1, count2 int64 DB.Model(&User{}).Count(&count1) if count1 <= 0 { t.Errorf("Should find some users") } if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Mar 24 01:31:58 GMT 2022 - 1.4K bytes - Click Count (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
private fun BaseGradleBuildType.getGradleTasks(): String { val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep return runnerStep.tasks!! } private fun BaseGradleBuildType.getGradleParams(): String { val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStepCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0) -
buildscripts/verify-healing.sh
fi for ((i = 0; i < 20; i++)); do test -f ${WORK_DIR}/$1/1/.minio.sys/format.json v1=$? nextInES=$(($1 + 1)) && [ $nextInES -gt 3 ] && nextInES=1 foundFiles1=$(find ${WORK_DIR}/$1/1/ | grep -v .minio.sys | grep xl.meta | wc -l) foundFiles2=$(find ${WORK_DIR}/$nextInES/1/ | grep -v .minio.sys | grep xl.meta | wc -l) test $foundFiles1 -eq $foundFiles2 v2=$? [ $v1 == 0 -a $v2 == 0 ] && return 0 sleep 10 done
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 4K bytes - Click Count (0) -
tests/update_test.go
} } func TestIdempotentSave(t *testing.T) { create := Company{ Name: "company_idempotent", } DB.Create(&create) var company Company if err := DB.Find(&company, "id = ?", create.ID).Error; err != nil { t.Fatalf("failed to find created company, got err: %v", err) } if err := DB.Save(&company).Error; err != nil || company.ID != create.ID { t.Errorf("failed to save company, got err: %v", err) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0) -
cmd/data-usage-cache.go
maps.Copy(ch, e.Children) e.Children = ch } if e.AllTierStats != nil { e.AllTierStats = e.AllTierStats.clone() } return e } // find a path in the cache. // Returns nil if not found. func (d *dataUsageCache) find(path string) *dataUsageEntry { due, ok := d.Cache[hashPath(path).Key()] if !ok { return nil } return &due }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
README.md
* Hooks (Before/After Create/Save/Update/Delete/Find) * Eager loading with `Preload`, `Joins` * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point * Context, Prepared Statement Mode, DryRun Mode * Batch Insert, FindInBatches, Find To Map * SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Oct 30 09:30:20 GMT 2025 - 1.8K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy
ClassMetaData targetClass = Mock() MethodMetaData method = method('someName') _ * nameResolver.resolve('SomeClass', classMetaData) >> 'org.gradle.SomeClass' _ * repository.find('org.gradle.SomeClass') >> targetClass _ * targetClass.declaredMethods >> ([method] as Set) _ * linkRenderer.link(method, listener) >> parse('<someLinkElement/>') when:
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 8.7K bytes - Click Count (0)