- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for delegates (0.34 sec)
-
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/DelegatingCodec.kt
import org.gradle.internal.serialize.graph.withCodec /** * A codec that delegates to some more general codec, but only for a specific type */ class DelegatingCodec<T>( private val userTypesCodec: Codec<Any?>, ) : Codec<T> { override suspend fun WriteContext.encode(value: T) { // Delegate to the other codec withCodec(userTypesCodec) { write(value) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/DefaultClassPathRegistryTest.groovy
when: registry.getClassPath("name") then: IllegalArgumentException e = thrown() e.message == 'unknown classpath \'name\' requested.' } def "delegates to providers to find classpath"() { def classpath = Mock(ClassPath) given: provider1.findClassPath(_) >> null provider2.findClassPath("name") >> classpath expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* * @author Kevin Damm * @author Kyle Maddison */ @ElementTypesAreNonnullByDefault final class LittleEndianByteArray { /** The instance that actually does the work; delegates to Unsafe or a pure-Java fallback. */ private static final LittleEndianBytes byteArray; /** * Load 8 bytes into long in a little endian manner, from the substring between position and
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/WellKnownClassLoaderRegistry.java
private final PayloadClassLoaderRegistry delegate; static { ImmutableSet.Builder<ClassLoader> builder = ImmutableSet.builder(); for (ClassLoader cl = PLATFORM_CLASS_LOADER; cl != null; cl = cl.getParent()) { builder.add(cl); } PLATFORM_CLASS_LOADERS = builder.build(); } public WellKnownClassLoaderRegistry(PayloadClassLoaderRegistry delegate) { this.delegate = delegate;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* * @author Kevin Damm * @author Kyle Maddison */ @ElementTypesAreNonnullByDefault final class LittleEndianByteArray { /** The instance that actually does the work; delegates to Unsafe or a pure-Java fallback. */ private static final LittleEndianBytes byteArray; /** * Load 8 bytes into long in a little endian manner, from the substring between position and
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/SettingsDelegate.kt
} } internal abstract val delegate: Settings override fun getSettings(): Settings = delegate.settings override fun getBuildscript(): ScriptHandler = delegate.buildscript override fun getSettingsDir(): File = delegate.settingsDir override fun getRootDir(): File = delegate.rootDir override fun getRootProject(): ProjectDescriptor =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 08:36:37 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/GradleWorkerMain.java
/** * The main entry point for a worker process that is using the system ClassLoader strategy. Reads worker configuration and a serialized worker action from stdin, * sets up the worker ClassLoader, and then delegates to {@link org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker} to deserialize and execute the action. */ public class GradleWorkerMain { public void run() throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/MultiParentClassLoader.java
import java.util.Enumeration; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.concurrent.CopyOnWriteArrayList; /** * A {@code ClassLoader} which delegates to multiple parent ClassLoaders. * * Note: It's usually a good idea to add a {@link CachingClassLoader} between this ClassLoader and any
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/CachingToolingImplementationLoaderTest.groovy
final BuildCancellationToken cancellationToken = Mock() final CachingToolingImplementationLoader loader = new CachingToolingImplementationLoader(target) def "delegates to target loader to create implementation"() { def distribution = Mock(Distribution) def connection = Mock(ConsumerConnection) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 09:39:07 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/caching/internal/controller/impl/LifecycleAwareBuildCacheControllerFactory.java
createDelegate(configuration, this.delegate, buildCacheControllerFactory, identityPath, instanceGenerator); } @Override protected BuildCacheController getDelegate() { return delegate.get(); } @Override public void resetState() { discardDelegate(delegate); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:28:13 UTC 2024 - 9.5K bytes - Viewed (0)