Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,001 for registered_ (0.24 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

            e.message == "Cannot add extension with name 'foo', as there is an extension already registered with that name."
    
            when:
            container.foo = 'other'
    
            then:
            IllegalArgumentException e2 = thrown()
            e2.message == "There's an extension registered with name 'foo'. You should not reassign it via a property setter."
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtraPropertiesExtension.java

         * </pre>
         *
         * @param name The name of the property to check for
         * @return {@code true} if a property has been registered with this name, otherwise {@code false}.
         */
        boolean has(String name);
    
        /**
         * Returns the value for the registered property with the given name.
         *
         * When using an extra properties extension from Groovy, you can also get properties via Groovy's property syntax.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:35:02 UTC 2017
    - 6.8K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/legacy/BuildScanEndOfBuildNotifierIntegrationTest.groovy

            when:
            buildFile << """
                notifier.notify {
                    println "failure is null: \${it.failure == null}"
                }
                // user logic registered _after_ listener registered
                gradle.projectsEvaluated {
                    println "projects evaluated"
                }
            """
    
            run()
    
            then:
            output.contains("projects evaluated")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/encoding/gob/example_interface_test.go

    	// 10
    	// 15
    }
    
    // interfaceEncode encodes the interface value into the encoder.
    func interfaceEncode(enc *gob.Encoder, p Pythagoras) {
    	// The encode will fail unless the concrete type has been
    	// registered. We registered it in the calling function.
    
    	// Pass pointer to interface so Encode sees (and hence sends) a value of
    	// interface type. If we passed p directly it would see the concrete type instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultPolymorphicNamedEntityInstantiatorTest.groovy

        class Base {
            String value
        }
    
        class TestType extends Base {}
    
        class AnotherTestType extends Base {}
    
        def "trying to create an entity for which there is no factory registered results in an exception"() {
            given:
            instantiator.registerFactory(TestType, {})
    
            when:
            instantiator.create("foo", Integer)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/utils/utils.h

    //   tf__concat_v2 => tf.ConcatV2
    std::string GetTFOpName(StringRef compose_func_name);
    
    // Validate the attributes of 'src' is either contained in the registered
    // attribute sets or in the allowed list.
    LogicalResult ValidateAttrs(Operation* src, const StringSet<>& registered);
    
    // Copies all the allowed attributes in 'src' to 'dst'. The copy failed if the
    // 'dst' has the attribute. Return a failure if there are any attributes are not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/eventbus/EventBus.java

       */
      public void register(Object object) {
        subscribers.register(object);
      }
    
      /**
       * Unregisters all subscriber methods on a registered {@code object}.
       *
       * @param object object whose subscriber methods should be unregistered.
       * @throws IllegalArgumentException if the object was not previously registered.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 17 16:01:41 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceRegistryBuilder.java

            this.strict = false;
            return this;
        }
    
        /**
         * Providing a scope makes the resulting {@link ServiceRegistry}
         * validate all registered services for being annotated with the given scope.
         * <p>
         * All registered services require the {@link org.gradle.internal.service.scopes.ServiceScope @ServiceScope}
         * annotation to be present and contain the given scope.
         *
         * @see #scope(Class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/SettingsSchemaAccessorsIntegrationTest.kt

            )
        }
    
        private
        fun withPluginSourceFile(fileName: String, text: String) {
            withFile("plugins/src/main/kotlin/$fileName", text)
        }
    
        @Test
        fun `can access extension registered by included build plugin`() {
            // when:
            val result = build("ok")
    
            // then:
            result.assertOutputContains("It's 42!")
    
            // when: plugin changes in an incompatible way
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_activity_listener.h

    namespace tensorflow {
    // Broadcast `auto_clustering_activity` to all the registered listeners.
    Status BroadcastXlaActivity(XlaAutoClusteringActivity auto_clustering_activity);
    
    // Broadcast `jit_compilation_activity` to all the registered listeners.
    Status BroadcastXlaActivity(XlaJitCompilationActivity jit_compilation_activity);
    
    // Broadcast `jit_compilation_activity` to all the registered listeners.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 07 11:04:01 UTC 2019
    - 2.9K bytes
    - Viewed (0)
Back to top