Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,512 for creat (0.05 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                    void addTasks(ModelMap<Task> tasks) {
                        tasks.create("requested") {
                            dependsOn "dependency"
                            finalizedBy "finalizer"
                        }
                    }
                }
    
                apply type: Rules
    
                tasks.create("dependency", EchoTask)
                tasks.create("finalizer", EchoTask)
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyFactory.java

         */
        ExternalModuleDependency create(CharSequence dependencyNotation);
    
        /**
         * Create an {@link ExternalModuleDependency} from a series of strings.
         *
         * @param group the group (optional)
         * @param name the name
         * @param version the version (optional)
         * @return the new dependency
         */
        ExternalModuleDependency create(@Nullable String group, String name, @Nullable String version);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 06 21:43:58 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectUndecoratedTest.groovy

            expect:
            generator.generate(Bean).generatedClass == Bean
        }
    
        def "can create instance of final class when a subclass is not required"() {
            expect:
            create(FinalBean) != null
        }
    
        def "can create instance of private class when a subclass is not required"() {
            expect:
            create(PrivateBean) != null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tests/update_has_one_test.go

    	}
    
    	t.Run("Polymorphic", func(t *testing.T) {
    		pet := Pet{Name: "create"}
    
    		if err := DB.Create(&pet).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    
    		pet.Toy = Toy{Name: "Update-HasOneAssociation-Polymorphic"}
    
    		if err := DB.Save(&pet).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    
    		var pet2 Pet
    		DB.Preload("Toy").Find(&pet2, "id = ?", pet.ID)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. api/discovery/apis__authorization.k8s.io__v1.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 963 bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyConstraintFactory.java

         */
        DependencyConstraint create(CharSequence dependencyConstraintNotation);
    
        /**
         * Create a {@link DependencyConstraint} from a series of strings.
         *
         * @param group the group (optional)
         * @param name the name
         * @param version the version (optional)
         * @return the new dependency constraint
         * @since 8.7
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. api/discovery/apis__storage.k8s.io__v1.json

      "resources": [
        {
          "kind": "CSIDriver",
          "name": "csidrivers",
          "namespaced": false,
          "singularName": "csidriver",
          "storageVersionHash": "hL6j/rwBV5w=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
            "list",
            "patch",
            "update",
            "watch"
          ]
        },
        {
          "kind": "CSINode",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. tests/benchmark_test.go

    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    func BenchmarkScan(b *testing.B) {
    	user := *GetUser("scan", Config{})
    	DB.Create(&user)
    
    	var u User
    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/groovy/build.gradle

    class PersonRules extends RuleSource {
    // tag::create-rule[]
      @Model void person(Person p) {}
    // end::create-rule[]
    
    // tag::plugin-mutate-rule[]
      //Create a rule that modifies a Person and takes no other inputs
      @Mutate void setFirstName(Person p) {
        p.firstName = "John"
      }
    // end::plugin-mutate-rule[]
    
    // tag::task-create-rule[]
      //Create a rule that modifies a ModelMap<Task> and takes as input a Person
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

    import org.junit.Test
    
    
    class PluginDependenciesSpecScopeTest {
    
        @Test
        fun `given a single id, it should create a single request with no version`() {
            expecting(plugin(id = "plugin-id")) {
                id("plugin-id")
            }
        }
    
        @Test
        fun `given a single id and apply value, it should create a single request with no version`() {
            listOf(true, false).forEach { applyValue ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top