Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 482 for callableId (0.22 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

            } else if (callable.getKind() == CallableKindInfo.AFTER_CONSTRUCTOR) {
                generateInvocationAfterConstructor(implTypeField, method, callable, implementationName, implementationDescriptor);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/CallableExtensions.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl
    
    import java.util.concurrent.Callable
    
    
    /**
     * Enables function invocation syntax on [Callable] references.
     * @see Callable.call
     */
    operator fun <V> Callable<V>.invoke(): V =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 835 bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/SignatureTree.java

        }
    
        @Nonnull
        private static List<ParameterMatchEntry> parameterMatchEntries(CallableInfo callable) {
            Optional<ParameterInfo> varargParameter = callable.getParameters().stream().filter(it -> it.getKind() == ParameterKindInfo.VARARG_METHOD_PARAMETER).findAny();
            CallableKindInfo kind = callable.getKind();
            return Stream.of(
                // Match the `Class<?>` in `receiver` for static methods and constructors
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AbstractManagedExecutor.java

                    } finally {
                        executing.remove();
                    }
                }
            };
        }
    
        protected <V> Callable<V> trackedCommand(final Callable<V> command) {
            return new Callable<V>() {
                @Override
                public V call() throws Exception {
                    executing.set(command);
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/EarPlugin.java

                project.getTasks().withType(Ear.class).configureEach(task -> {
                    task.dependsOn((Callable<FileCollection>) () ->
                        mainFeature.getSourceSet().getRuntimeClasspath()
                    );
                    task.from((Callable<FileCollection>) () ->
                        mainFeature.getSourceSet().getOutput()
                    );
                });
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 16:57:15 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

        }
    
        @Test
        public void canMapPropertiesUsingCallable() {
            Callable callable = new Callable() {
                public Object call() throws Exception {
                    return toList("a");
                }
            };
    
            conventionAware.map("list1", callable);
            assertThat(conventionAware.getConventionValue(null, "list1", false), equalTo((Object) toList("a")));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                long unused = ticker.read();
                return null;
              }
            });
    
        assertEquals(incrementByNanos * numberOfThreads, ticker.read());
      }
    
      /** Runs {@code callable} concurrently {@code numberOfThreads} times. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 14:40:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        taskDone = false;
        Callable<Integer> task =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                taskDone = true;
                return 6;
              }
            };
        Future<Integer> future =
            TestingExecutors.sameThreadScheduledExecutor().schedule(task, 10000, TimeUnit.MILLISECONDS);
        assertTrue("Should run callable immediately", taskDone);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        taskDone = false;
        Callable<Integer> task =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                taskDone = true;
                return 6;
              }
            };
        Future<Integer> future =
            TestingExecutors.sameThreadScheduledExecutor().schedule(task, 10000, TimeUnit.MILLISECONDS);
        assertTrue("Should run callable immediately", taskDone);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top