- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 415 for wrapseed (0.14 sec)
-
guava/src/com/google/common/util/concurrent/Callables.java
* running will have the given name. * * @param callable The callable to wrap * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once * for each invocation of the wrapped callable. */ @J2ktIncompatible @GwtIncompatible // threads static <T extends @Nullable Object> Callable<T> threadRenaming( Callable<T> callable, Supplier<String> nameSupplier) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/io/IoFunctionTest.groovy
import static org.gradle.internal.io.IoFunction.wrap class IoFunctionTest extends AbstractIoTest { def "executed when it doesn't throw"() { expect: wrap({ String t -> "wrapped:$t" }).apply("lajos") == "wrapped:lajos" } @Override protected void executeWithException(Throwable exception) { wrap({ String t -> assert t == "lajos" throw exception
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/io/AbstractIoTest.groovy
new RuntimeException("lajos"), new Error("lajos"), new UncheckedIOException(new IOException("lajos")) ] type = original.class } def "IOException is thrown wrapped in UncheckedIOException"() { def original = new IOException("lajos") when: executeWithException(original) then: def ex = thrown UncheckedIOException ex.cause === original
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:22:02 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ErroringActionTest.groovy
* limitations under the License. */ package org.gradle.internal import spock.lang.Specification class ErroringActionTest extends Specification { def "checked exceptions are wrapped"() { when: new ErroringAction() { @Override void doExecute(Object thing) { throw new Exception() } }.execute("foo") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1QualifiedStaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
* delegates to {@link #wrapTask(Callable)}. */ protected Runnable wrapTask(Runnable command) { Callable<Object> wrapped = wrapTask(Executors.callable(command, null)); return () -> { try { wrapped.call(); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throwIfUnchecked(e); throw new RuntimeException(e); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/WrappingExecutorService.java
* delegates to {@link #wrapTask(Callable)}. */ protected Runnable wrapTask(Runnable command) { Callable<Object> wrapped = wrapTask(Executors.callable(command, null)); return () -> { try { wrapped.call(); } catch (Exception e) { restoreInterruptIfIsInterruptedException(e); throwIfUnchecked(e); throw new RuntimeException(e); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 5.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/properties/ScriptSourceAwareImplementationResolverTest.groovy
where: type | implementation "Closure" | { it } "Action" | new Action<String>() { @Override void execute(String s) {} } } def "correct implementation for closure wrapped in Action is tracked"() { given: def closure = { it } expect: ScriptSourceAwareImplementationResolver.unwrapBean(ConfigureUtil.configureUsing(closure)) == closure and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 16 20:27:03 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/volume/downwardapi/downwardapi.go
klog.V(3).Infof("Setting up a downwardAPI volume %v for pod %v/%v at %v", b.volName, b.pod.Namespace, b.pod.Name, dir) // Wrap EmptyDir. Here we rely on the idempotency of the wrapped plugin to avoid repeatedly mounting wrapped, err := b.plugin.host.NewWrapperMounter(b.volName, wrappedVolumeSpec(), b.pod, *b.opts) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10.4K bytes - Viewed (0)