Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,768 for setThing (0.19 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

                    }
                }
    
                abstract class CalculateName extends RuleSource {
                    @RuleInput
                    abstract Thing getThing()
                    abstract void setThing(Thing t)
    
                    @Defaults
                    void defaultB(@Path('thingB') Thing thingB) {
                        assert thing.name == 'thing a from dsl'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

        static interface MisalignedSetterType {
            String getThing()
            void setThing(Object name)
        }
    
        def "misaligned setter type"() {
            when: extract MisalignedSetterType
            then: def ex = thrown InvalidManagedTypeException
            ex.message == """Type ${fullyQualifiedNameOf(MisalignedSetterType)} is not a valid managed type:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            abstract String getThing();
        }
    
        public static abstract class AbstractSetterBean {
            String getThing() {
                return "";
            }
    
            abstract void setThing(String value);
        }
    
        public static abstract class AbstractSetMethodBean {
            String getThing() {
                return "";
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

        @Managed
        interface SpecialThing extends Thing {}
    
        @Managed
        interface SimpleModel {
            Thing getThing()
        }
    
        @Managed
        interface SpecialModel extends SimpleModel {
            SpecialThing getThing()
    
            void setThing(SpecialThing thing)
        }
    
        def "a subclass may specialize a property type"() {
            when:
            def schema = extract(SpecialModel)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

        Number getThing()
    }
    
    class BeanWithServices {
        @Inject
        Number getThing() {
            throw new UnsupportedOperationException()
        }
    }
    
    class BeanWithMutableServices extends BeanWithServices {
        void setThing(Number number) {
            throw new UnsupportedOperationException()
        }
    }
    
    class BeanWithServicesAndServiceRegistry extends BeanWithServices {
        ServiceRegistry getServices() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

        @Managed
        static interface MissingUnmanaged {
            InputStream getThing();
    
            void setThing(InputStream inputStream);
        }
    
        @Managed
        static abstract class UnmanagedModelMapInManagedType {
            abstract ModelMap<InputStream> getThings()
        }
    
        @Managed
        static interface OnlyGetGetter {
            boolean getThing()
        }
    
        @Managed
        static interface OnlyIsGetter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go

    	if err := storage.CustomResource.Storage.Create(ctx, key, &validCustomResource, &cr, 0, false); err != nil {
    		t.Fatalf("error setting new custom resource (key: %s) %v: %v", key, validCustomResource, err)
    	}
    
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale, ok := obj.(*autoscalingv1.Scale)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/README.md

    `bazel` as the rest of TensorFlow.
    
    ### Using local LLVM repo
    
    To develop across MLIR core and TensorFlow, it is useful to override the repo to
    use a local version instead of fetching from head. This can be achieved by
    setting up your local repository for Bazel build. For this you will need to
    create bazel workspace and build files:
    
    ```sh
    LLVM_SRC=... # this the path to the LLVM local source directory you intend to use.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 21:50:47 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.h

    namespace tf_saved_model {
    // Marks all variables in 'function' whether they are initialized
    // in 'session' or not by setting an attribute named 'is_initialized'
    // on each variable op with value true/false based on variable is initialized
    // in the session or not.
    // If 'session' is NULL the function is no-op.
    // Returns failure in case fetching variables from session failed, success
    // otherwise.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ObjectHolder.java

     */
    public interface ObjectHolder<T> {
        /**
         * Fetches the value from this cache. A shared or exclusive lock is held while fetching the value, depending on implementation.
         */
        T get();
    
        /**
         * Sets the value for this cache. An exclusive lock is held while setting the value.
         */
        void set(T newValue);
    
        /**
         * Replaces the value for this cache.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top