Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 195 for PubType (0.25 sec)

  1. internal/bucket/replication/sourceselectioncriteria.go

    		return errInvalidSourceSelectionCriteria
    	}
    	return nil
    }
    
    // UnmarshalXML - decodes XML data.
    func (s *SourceSelectionCriteria) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type sourceSelectionCriteria SourceSelectionCriteria
    	ssc := sourceSelectionCriteria{}
    	if err := dec.DecodeElement(&ssc, &start); err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/KnownProblemIds.groovy

            'validation:configuration-cache-cannot-serialize-object-of-type-org-gradle-api-defaulttask-a-subtype-of-org-gradle-api-task-as-these-are-not-supported-with-the-configuration-cache' : 'cannot serialize object of type \'org.gradle.api.DefaultTask\', a subtype of \'org.gradle.api.Task\', as these are not supported with the configuration cache.',
    
            // integration test problems
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNodeBackedModelMapTest.groovy

            }
    
            then:
            registry.realize("map.foo", String) == "bar"
        }
    
        @Managed
        abstract static class Invalid<T> implements SpecialNamedThingInterface {}
    
        def "cannot create invalid subtype"() {
            when:
            mutate {
                create("foo", Invalid)
            }
            realizeAsModelMap()
    
            then:
            def e = thrown ModelRuleExecutionException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultPolymorphicNamedEntityInstantiatorTest.groovy

            when:
            instantiator.registerFactory(String, {})
    
            then:
            IllegalArgumentException e = thrown()
            e.message == "Cannot register a factory for type String because it is not a subtype of container element type Base."
        }
    
        def "registering factory for the same type more than once results in an exception"() {
            given:
            instantiator.registerFactory(TestType, {})
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 3K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginSubtypeParamIntegrationTest.groovy

            file("src/main/java/org/gradle/ruleusing/JsonHttpLayout.java") << jsonHttpLayoutCode()
        }
    
        def "unused code rule not triggered when passing subtype parameter"() {
            assumeTrue(supportsAuxclasspath() && fileLockingIssuesSolved())
    
            expect:
            succeeds "pmdMain"
        }
    
        private underAnalysisCode() {
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 07:47:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. platforms/software/signing/src/main/java/org/gradle/plugins/signing/signatory/SignatoryProvider.java

    import org.gradle.api.Project;
    import org.gradle.plugins.signing.SigningExtension;
    
    /**
     * <p>Provides implementations of signatory implementations for a project.</p>
     *
     * @param <T> The specific {@link Signatory} subtype
     */
    public interface SignatoryProvider<T extends Signatory> {
    
        /**
         * Evaluates the given DSL-containing-closure as signatory configuration.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/main/java/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMap.java

            }
    
            if (elementType.isAssignableFrom(type)) {
                Class<? extends T> castType = uncheckedCast(type);
                ModelMap<? extends T> subType = toSubtypeMap(castType);
                return uncheckedCast(subType);
            }
    
            return toNonSubtypeMap(type);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

            listener.onClosed(this)
          }
        }
      }
    
      private fun ResponseBody.isEventStream(): Boolean {
        val contentType = contentType() ?: return false
        return contentType.type == "text" && contentType.subtype == "event-stream"
      }
    
      override fun onFailure(
        call: Call,
        e: IOException,
      ) {
        listener.onFailure(this, e, null)
      }
    
      override fun request(): Request = request
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultPolymorphicDomainObjectContainerTest.groovy

        }
    
        def "throws meaningful exception if factory element type is not a subtype of container element type"() {
            when:
            container.registerFactory(String, {} as NamedDomainObjectFactory)
    
            then:
            IllegalArgumentException e = thrown()
            e.message == "Cannot register a factory for type String because it is not a subtype of " +
                "container element type Person."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 16K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                    "Task `:broken` of type `SomeTask`: cannot serialize object of type '$concreteTypeName', a subtype of '${baseType.name}', as these are not supported with the configuration cache."
                )
                withProblemsWithStackTraceCount(0)
            }
    
            and:
            outputContains("this.reference = null")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top