- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 105 for no_scope (0.11 sec)
-
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractTypeScopeTest.kt
appendLine("${KaTypeScope::class.simpleName}:") appendLine(typeScope?.let { renderForTests(it) } ?: "NO_SCOPE") appendLine() appendLine("Declaration Scope:") appendLine(declaredScopeByTypeScope?.let { renderForTests(it) } ?: "NO_SCOPE") } val signaturePretty = prettyPrint { appendLine("${KaTypeScope::class.simpleName}:")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy
constraint("org.test:foo:1.0") constraint("org.test:bar:1.0") noMoreDependencies() } javaPlatform.parsedPom.scopes.keySet() == ['no_scope'] as Set javaPlatform.parsedPom.scope('no_scope') { assertNoDependencies() assertDependencyManagement("org.test:bar:1.0", "org.test:foo:1.0") } } def "can define a platform with local projects"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenPom.groovy
scopesByDependency.put(mavenDependency.getKey(), scope.name) } pom.dependencyManagement.dependencies.dependency.each { dep -> def scope = createScope(dep.scope, 'no_scope') MavenDependency mavenDependency = createDependency(dep) scope.dependencyManagement[mavenDependency.getKey()] = mavenDependency }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy
javaLibrary.parsedPom.scopes.keySet() == ["compile", "no_scope", "runtime"] as Set javaLibrary.parsedPom.scopes.compile.assertDependsOn("org.springframework:spring-core:1.2.9") javaLibrary.parsedPom.scopes.runtime.assertDependsOn("org.apache.commons:commons-compress:1.5") javaLibrary.parsedPom.scopes.no_scope.assertDependencyManagement("commons-logging:commons-logging:1.1", "org.tukaani:xz:1.6")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 45.6K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishMultiProjectIntegTest.groovy
then: platformModule.parsedPom.packaging == 'pom' platformModule.parsedPom.scopes.compile.assertDependsOn("org.test:foo:1.0") platformModule.parsedPom.scopes.no_scope.assertDependencyManagement("org.test:bar:1.1") platformModule.parsedModuleMetadata.variant('apiElements') { dependency("org.test:foo:1.0").exists() constraint("org.test:bar:1.1").exists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/DefaultAsyncIOScopeFactoryTest.kt
val failedScope = newScope().apply { io { throw IllegalStateException() } } awaitExceptionFrom(failedScope) // then: actions can still be scheduled in separate scope val isolatedScopeAction = CompletableFuture<Unit>() newScope().apply { io { isolatedScopeAction.complete(Unit) } } assertThat(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/IO.kt
* * [close] guarantees all scheduled IO actions are executed before returning. * * Each [IOScope] operates independently and failures in one [IOScope] * do not affect existing or future [IOScope]s. * * Each [IOScope] can only be used from a single thread at a time. */ interface IOScope : IO, AutoCloseable /** * A Gradle build service to offload IO actions to a dedicated thread. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt
executorServiceProvider: () -> ExecutorService ) : Closeable, AsyncIOScopeFactory { private val executorService = lazy(executorServiceProvider) override fun newScope(): IOScope = object : IOScope { private val failure = AtomicReference<Throwable?>(null) private var pending: Future<*>? = null override fun io(action: () -> Unit) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 3.5K bytes - Viewed (0) -
src/go/parser/resolver.go
} if debugResolve { r.trace("opening scope @%v", pos) } r.topScope = ast.NewScope(r.topScope) } func (r *resolver) closeScope() { r.depth-- if debugResolve { r.trace("closing scope") } r.topScope = r.topScope.Outer } func (r *resolver) openLabelScope() { r.labelScope = ast.NewScope(r.labelScope) r.targetStack = append(r.targetStack, nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 15.8K bytes - Viewed (0) -
src/go/printer/testdata/parser.go
p.openScope() p.pkgScope = p.topScope // for the same reason, set up a label scope p.openLabelScope() } // ---------------------------------------------------------------------------- // Scoping support func (p *parser) openScope() { p.topScope = ast.NewScope(p.topScope) } func (p *parser) closeScope() { p.topScope = p.topScope.Outer } func (p *parser) openLabelScope() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0)