- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,674 for factory (0.41 sec)
-
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseExceptionNoStackTrace.java
import org.gradle.internal.Factory; /** * A specialized version of multi cause exception that is cheaper to create * because we avoid to fill a stack trace, and the message MUST be generated lazily. */ @Contextual public class DefaultMultiCauseExceptionNoStackTrace extends DefaultMultiCauseException { public DefaultMultiCauseExceptionNoStackTrace(Factory<String> messageFactory) { super(messageFactory);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/meta_test.go
func TestSimpleMetaFactoryInterpret(t *testing.T) { factory := SimpleMetaFactory{} gvk, err := factory.Interpret([]byte(`{"apiVersion":"1","kind":"object"}`)) if err != nil { t.Fatalf("unexpected error: %v", err) } if gvk.Version != "1" || gvk.Kind != "object" { t.Errorf("unexpected interpret: %#v", gvk) } // no kind or version gvk, err = factory.Interpret([]byte(`{}`)) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 21 11:41:40 UTC 2021 - 1.2K bytes - Viewed (0) -
platforms/software/version-control/src/test/groovy/org/gradle/vcs/internal/DefaultVcsMappingStoreTest.groovy
class DefaultVcsMappingStoreTest extends Specification { def factory = Mock(VcsMappingFactory) def store = new DefaultVcsMappingsStore(factory) def "does nothing when no rules defined"() { def selector = Stub(ModuleComponentSelector) when: def spec = store.locateVcsFor(selector) then: spec == null 0 * factory._ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java
} public static DocumentBuilderFactory newInstance(final boolean external) { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); if (!external) { try { factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, ""); factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, ""); } catch (final Exception e) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java
*/ boolean getAllowsParallelExecution(); /** * Releases any project state locks or task execution locks currently held by the current thread and executes the {@link Factory}. * Upon completion of the {@link Factory}, if a lock was held at the time the method was called, then it will be reacquired. * If no locks were held at the time the method was called, then no attempt will be made to reacquire a lock on completion.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle
} repositories { mavenCentral() } // tag::object-factory[] tasks.register("myObjectFactoryTask") { doLast { def objectFactory = project.objects def myProperty = objectFactory.property(String) myProperty.set("Hello, Gradle!") println myProperty.get() } } // end::object-factory[] // tag::object-factory-inject[] abstract class MyObjectFactoryTask extends DefaultTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy
def result = selector.select(variantSetOf(variants), requestedAttributes, false, factory) then: result == transformed 1 * attributeMatcher.matches(_, _, _) >> Collections.emptyList() 1 * consumerProvidedVariantFinder.findTransformedVariants(variants, requestedAttributes) >> transformedVariants
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 8.3K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt
level = DeprecationLevel.HIDDEN, ) @JvmStatic fun createFactory(client: OkHttpClient) = createFactory(client as Call.Factory) @JvmStatic fun createFactory(callFactory: Call.Factory): EventSource.Factory { return EventSource.Factory { request, listener -> val actualRequest = if (request.header("Accept") == null) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:18:15 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/v1/interface.go
} type version struct { factory internalinterfaces.SharedInformerFactory namespace string tweakListOptions internalinterfaces.TweakListOptionsFunc } // New returns a new Interface. func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 16 17:13:40 UTC 2019 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/cr/v1/interface.go
} type version struct { factory internalinterfaces.SharedInformerFactory namespace string tweakListOptions internalinterfaces.TweakListOptionsFunc } // New returns a new Interface. func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 08 09:52:48 UTC 2018 - 1.5K bytes - Viewed (0)