Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 784 for setThing (0.33 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      TF_SetStatus(status, TF_OK, "");
      while (true) {
        switch (block->state) {
          case FetchState::ERROR:
            // TF_FALLTHROUGH_INTENDED
          case FetchState::CREATED:
            block->state = FetchState::FETCHING;
            block->mu.Unlock();  // Release the lock while making the API call.
            block->data.clear();
            block->data.resize(block_size_, 0);
            int64_t bytes_transferred;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  8. pkg/registry/core/replicationcontroller/storage/storage_test.go

    			Selector: labels.SelectorFromSet(validController.Spec.Template.Labels).String(),
    		},
    	}
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	got := obj.(*autoscaling.Scale)
    	if !apiequality.Semantic.DeepEqual(want, got) {
    		t.Errorf("unexpected scale: %s", cmp.Diff(want, got))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/config/eclipse/formatter/java.xml

    <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
    <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
    <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
    <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
    <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Mar 23 21:27:06 UTC 2015
    - 30.5K bytes
    - Viewed (0)
  10. src/config/eclipse/formatter/javascript.xml

    <setting id="org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
    <setting id="org.eclipse.wst.jsdt.core.formatter.indent_empty_lines" value="false"/>
    <setting id="org.eclipse.wst.jsdt.core.formatter.alignment_for_compact_if" value="16"/>
    <setting id="org.eclipse.wst.jsdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Mar 23 21:27:06 UTC 2015
    - 29.2K bytes
    - Viewed (0)
Back to top