Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 333 for unwrapped (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    func NewVerifier(opts x509.VerifyOptions, auth authenticator.Request, allowedCommonNames sets.String) authenticator.Request {
    	return NewDynamicCAVerifier(StaticVerifierFn(opts), auth, StaticStringSlice(allowedCommonNames.List()))
    }
    
    // NewDynamicCAVerifier create a request.Authenticator by verifying a client cert on the request, then delegating to the wrapped auth
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorProblemsApiIntegrationTest.groovy

                    @Inject
                    public abstract Problems getProblems();
    
                    @Override
                    public void execute() {
                        Exception wrappedException = new Exception("Wrapped cause");
                        // Create and report a problem
                        // This needs to be Java 6 compatible, as we are in a worker
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream_test.go

    		},
    		"UpgradeFailure error should return true": {
    			err:      &UpgradeFailureError{},
    			expected: true,
    		},
    		"Wrapped Non-UpgradeFailure error should return false": {
    			err:      fmt.Errorf("%s: %w", "first error", errors.New("Non-upgrade error")),
    			expected: false,
    		},
    		"Wrapped UpgradeFailure error should return true": {
    			err:      fmt.Errorf("%s: %w", "first error", &UpgradeFailureError{}),
    			expected: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top