Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 533 for callableId (0.21 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

        /**
         * Returns a [KaScope] containing the *static* callables (functions and properties) and all classifiers (classes and objects) explicitly
         * declared in the given [KaSymbolWithMembers].
         *
         * It is worth noting that, while Java classes may contain declarations of static callables freely, in Kotlin only enum classes define
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeTest.java

            for (int i = 0; i < numThreads; i++) {
                visitors.add(new CountingVisitor());
            }
    
            // Create callables that will send the visitors to visit the archive
            List<Callable<List<Long>>> callables = visitors.stream().map(v -> {
                    return new Callable<List<Long>>() {
                        @Override
                        public List<Long> call() {
                            getTree().visit(v);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CheckstylePlugin.java

            taskMapping.map("checkstyleClasspath", Callables.returning(configuration));
            taskMapping.map("config", (Callable<TextResource>) () -> extension.getConfig());
            taskMapping.map("configProperties", (Callable<Map<String, Object>>) () -> extension.getConfigProperties());
            taskMapping.map("showViolations", (Callable<Boolean>) () -> extension.isShowViolations());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAbbreviatedTypeTest.kt

    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.test.services.TestServices
    
    /**
     * Renders the properties and the textual representation of a callable's return type specified via `// callable: ID`. The varying
     * [TestModuleKind][org.jetbrains.kotlin.analysis.test.framework.test.configurators.TestModuleKind] supplied by generated tests applies to
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java

         */
        void onExecute(Runnable command);
    
        /**
         * Special behavior when a task is executed.
         *
         * The Callable's call() needs to be called from this method.
         */
        <T> T onExecute(Callable<T> command) throws Exception;
    
        /**
         * Special behavior after an executor is stopped.
         *
         * This is called after the underlying Executor has been stopped.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        List<Callable<T>> tasks = ImmutableList.of();
        List<? extends Future<?>> unused = executor.invokeAll(tasks);
      }
    
      public void testListeningDecorator() throws Exception {
        ListeningExecutorService service = listeningDecorator(newDirectExecutorService());
        assertSame(service, listeningDecorator(service));
        List<Callable<String>> callables = ImmutableList.of(Callables.returning("x"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt

     * non-static scopes.
     */
    internal class FirNonStaticMembersScope(
        private val delegate: FirContainingNamesAwareScope,
    ) : FirCallableFilteringScope(delegate) {
        override fun isTargetCallable(callable: FirCallableSymbol<*>): Boolean = !callable.fir.isStatic
    
        override fun processDeclaredConstructors(processor: (FirConstructorSymbol) -> Unit) {
            delegate.processDeclaredConstructors(processor)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Oct 10 13:38:00 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        List<Callable<T>> tasks = ImmutableList.of();
        List<? extends Future<?>> unused = executor.invokeAll(tasks);
      }
    
      public void testListeningDecorator() throws Exception {
        ListeningExecutorService service = listeningDecorator(newDirectExecutorService());
        assertSame(service, listeningDecorator(service));
        List<Callable<String>> callables = ImmutableList.of(Callables.returning("x"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/AbstractCodeQualityPlugin.java

        private void configureExtensionRule() {
            final ConventionMapping extensionMapping = conventionMappingOf(extension);
            extensionMapping.map("sourceSets", Callables.returning(new ArrayList<>()));
            extensionMapping.map("reportsDir", new Callable<File>() {
                @Override
                public File call() {
                    return project.getExtensions().getByType(ReportingExtension.class).file(getReportName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDependencyTest.groovy

        }
    
        def "can depend on a callable"() {
            Callable callable = Mock(Callable)
    
            given:
            1 * callable.call() >> otherTask
    
            when:
            dependency.add(callable)
    
            then:
            dependency.getDependencies(task) == toSet(otherTask)
        }
    
        def "can depend on a callable that returns null"() {
            Callable callable = Mock(Callable)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top