Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 407 for unwrapped (0.17 sec)

  1. 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)
  2. src/main/java/org/codelibs/core/exception/InterruptedRuntimeException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    /**
     * Wrapped InterruptedException.
     *
     * @author shinsuke
     *
     */
    public class InterruptedRuntimeException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 947 bytes
    - Viewed (0)
  3. 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)
  4. src/internal/abi/stack.go

    	// Functions that need frames <= StackBig can assume that neither
    	// SP-framesize nor stackGuard-StackSmall will underflow, and thus use a
    	// more efficient check. In order to ensure this, StackBig must be <= the
    	// size of the unmapped space at zero.
    	StackBig = 4096
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromStringList(), "execute(command)", "", ""],
                [fromObjectList(), "execute(command)", "", ""],
                // Spread calls
                [fromString(), "execute(*[command])", "", ""],
                // type-wrapped arguments
                [fromGroovyString(), "execute(command as String)", "", ""],
            ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1QualifiedStaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromObjectList(), "ProcessGroovyMethods.execute(command)", "", ""],
                // Spread calls
                [fromString(), "ProcessGroovyMethods.execute(*[command])", "", ""],
                // type-wrapped arguments
                [fromGroovyString(), "ProcessGroovyMethods.execute(command as String)", "", ""],
            ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top