Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,074 for Godel (0.19 sec)

  1. tests/named_polymorphic_test.go

    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's toys count should be 1 after Append")
    	}
    
    	// Replace
    	DB.Model(&hamster).Association("PreferredToy").Replace(&Toy{
    		Name: "bike 3",
    	})
    
    	DB.Model(&hamster).Association("OtherToy").Replace(&Toy{
    		Name: "treadmill 3",
    	})
    
    	hamsterToy = Toy{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

    import jetbrains.buildServer.configs.kotlin.buildFeatures.parallelTests
    import jetbrains.buildServer.configs.kotlin.buildFeatures.pullRequests
    import model.CIBuildModel
    import model.StageName
    
    fun checkCleanDirUnixLike(dir: String, exitOnFailure: Boolean = true) = """
        REPO=$dir
        if [ -e ${'$'}REPO ] ; then
            tree ${'$'}REPO
            rm -rf ${'$'}REPO
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            use(BuildableDOMCategory) {
                DslDocModel model = createDslDocModelClosure(loadPluginsMetaData())
                def root = doc.documentElement
                root.section.table.each { Element table ->
                    mergeContent(table, model)
                }
                model.classes.each {
                    generateDocForType(root.ownerDocument, model, linkRepository, it)
                }
            }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                }
    
                Model model;
    
                // TODO hack: don't rebuild model if it was already loaded during reactor resolution
                final WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace instanceof MavenWorkspaceReader) {
                    model = ((MavenWorkspaceReader) workspace).findModel(pomArtifact);
                    if (model != null) {
                        return model;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

        }
    
        static String getGroupId(Model model) {
            String groupId = model.getGroupId();
            if (groupId == null && model.getParent() != null) {
                groupId = model.getParent().getGroupId();
            }
            return groupId;
        }
    
        private String getVersion(Model model) {
            String version = model.getVersion();
            if (version == null && model.getParent() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  6. tests/multi_primary_keys_test.go

    	DB.Model(&blog).Association("Tags").Delete(tag5)
    	var tags3 []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags3)
    	if !compareTags(tags3, []string{"tag6"}) {
    		t.Fatalf("Should find 1 tags after Delete")
    	}
    
    	if DB.Model(&blog).Association("Tags").Count() != 1 {
    		t.Fatalf("Blog should has three tags after Delete")
    	}
    
    	DB.Model(&blog).Association("Tags").Delete(tag3)
    	var tags4 []Tag
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 12.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        }
    
        static Model transform(Model model, MavenProject project) {
            String packaging = model.getPackaging();
            if (POM_PACKAGING.equals(packaging)) {
                // raw to consumer transform
                model = model.withRoot(false).withModules(null);
                if (model.getParent() != null) {
                    model = model.withParent(model.getParent().withRelativePath(null));
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/PluginConfigurationExpander.java

         *
         * @param model The model whose build plugin configuration should be expanded, must not be <code>null</code>.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/projects/CheckProject.kt

    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.Project
    import model.CIBuildModel
    import model.FunctionalTestBucketProvider
    import model.Stage
    import model.StageName
    import model.StatisticsBasedPerformanceTestBucketProvider
    import java.io.File
    
    class CheckProject(
        model: CIBuildModel,
        functionalTestBucketProvider: FunctionalTestBucketProvider
    ) : Project({
        id("Check")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. tests/associations_has_many_test.go

    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Pets").Find(&user2.Pets)
    	CheckUser(t, user2, user)
    
    	var pets []Pet
    	DB.Model(&user).Where("name = ?", user.Pets[0].Name).Association("Pets").Find(&pets)
    
    	if len(pets) != 1 {
    		t.Fatalf("should only find one pets, but got %v", len(pets))
    	}
    
    	CheckPet(t, pets[0], *user.Pets[0])
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
Back to top