- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,675 for scope_ (0.22 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceRegistryBuilderTest.groovy
import org.gradle.internal.service.scopes.Scope import org.gradle.internal.service.scopes.ServiceScope import spock.lang.Specification class ServiceRegistryBuilderTest extends Specification { def "creates a scope-validating service registry when setting a scope"() { def scopedBuilder = ServiceRegistryBuilder.builder() .scope(Scope.Build) when: scopedBuilder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt
*/ public fun KaScopeContext.getCompositeScope(filter: (KaScopeKind) -> Boolean = { true }): KaScope = withValidityAssertion { val subScopes = scopes.filter { filter(it.kind) }.map { it.scope } subScopes.asCompositeScope() } } public typealias KtScopeProviderMixIn = KaScopeProviderMixIn public class KaScopeContext(
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 15.4K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/MavenPom.groovy
class MavenPom { final Map<String, MavenScope> scopes = [:] MavenPom(File pomFile) { def pom = new XmlParser().parse(pomFile) pom.dependencies.dependency.each { dep -> def scopeElement = dep.scope def scopeName = scopeElement ? scopeElement.text() : "runtime" def scope = scopes[scopeName] if (!scope) { scope = new MavenScope()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 15 14:07:46 UTC 2021 - 1.2K bytes - Viewed (0) -
fastapi/security/oauth2.py
data = {} data["scopes"] = [] for scope in form_data.scopes: data["scopes"].append(scope) if form_data.client_id: data["client_id"] = form_data.client_id if form_data.client_secret: data["client_secret"] = form_data.client_secret return data ``` Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 21.1K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java
public Injector bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { return bindScope(scopeAnnotation, () -> scope); } public Injector bindScope(Class<? extends Annotation> scopeAnnotation, Supplier<Scope> scope) { if (scopes.put(scopeAnnotation, scope) != null) { throw new DIException( "Cannot rebind scope annotation class to a different implementation: " + scopeAnnotation);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/EventScope.java
* Events are not visible to listeners in descendent scopes. * * <p>This annotation is used primarily to indicate to developers the scopes where this listener are available. There is also * some validation when a broadcaster or listener of this type is used in an incorrect scope. * * @see Scope */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Inherited public @interface EventScope {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassEncoder.kt
} else { val newId = scopes.putInstance(scope) writeSmallInt(newId) if (scope.parent == null) { writeBoolean(false) } else { writeBoolean(true) writeScope(scope.parent) } writeString(scope.name) if (scope.origin is ClassLoaderScopeOrigin.Script) { writeBoolean(true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistry.java
servicesForHomeDir.clear(); } } ServiceRegistry userHomeServices = ServiceRegistryBuilder.builder() .scope(Scope.UserHome.class) .displayName("services for Gradle user home dir " + gradleUserHomeDir) .parent(sharedServices) .provider(new ServiceRegistrationProvider() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/use/tracker/internal/PluginVersionTracker.java
public String findPluginVersionAt(ClassLoaderScope scope, String pluginId) { while (scope != null) { String pluginVersion = pluginVersionsPerScope.getOrDefault(scope.getOriginalScope(), emptyMap()).get(pluginId); if (pluginVersion != null) { return pluginVersion; } ClassLoaderScope parent = scope.getParent(); if (scope == parent) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2.3K bytes - Viewed (0) -
test/fixedbugs/bug085.go
bug085.go:6: P: undefined Bus error */ /* expected scope hierarchy (outermost to innermost) universe scope (contains predeclared identifiers int, float32, int32, len, etc.) "solar" scope (just holds the package name P so it can be found but doesn't conflict) global scope (the package global scope) local scopes (function scopes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 13 23:11:31 UTC 2012 - 633 bytes - Viewed (0)