Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 783 for Handles (0.13 sec)

  1. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplierTest.groovy

        }
    
        def "handles absent adoptopenjdk keys"() {
            given:
            registry.getSubkeys(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, _) >> { throw new MissingRegistryEntryException() }
            def supplier = createSupplier()
    
            when:
            def locations = supplier.get()
    
            then:
            locations.isEmpty()
        }
    
        def "gracefully handles unavailable native integration"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 22:14:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/admission/initializer_test.go

    )
    
    type doNothingAdmission struct{}
    
    func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	return nil
    }
    func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
    func (doNothingAdmission) Validate() error                    { return nil }
    
    type WantsCloudConfigAdmissionPlugin struct {
    	doNothingAdmission
    	cloudConfig []byte
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceMethodFactory.java

     */
    package org.gradle.internal.service;
    
    import java.lang.reflect.Method;
    
    import static org.gradle.internal.Cast.uncheckedNonnullCast;
    
    /**
     * A service method factory that will try to use method handles if available, otherwise fallback on reflection.
     */
    class DefaultServiceMethodFactory implements ServiceMethodFactory {
        private final ServiceMethodFactory delegate = getOptimalServiceMethodFactory();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/traces.go

    	"k8s.io/apiserver/pkg/endpoints/request"
    
    	tracing "k8s.io/component-base/tracing"
    )
    
    // WithTracing adds tracing to requests if the incoming request is sampled
    func WithTracing(handler http.Handler, tp trace.TracerProvider) http.Handler {
    	opts := []otelhttp.Option{
    		otelhttp.WithPropagators(tracing.Propagators()),
    		otelhttp.WithPublicEndpoint(),
    		otelhttp.WithTracerProvider(tp),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 15 01:42:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/test/TestTaskPropertiesServiceIntegrationTest.groovy

                                .addConverter(new groovy.json.JsonGenerator.Converter() {
                                    @Override
                                    boolean handles(Class<?> type) {
                                        ${Stream.name}.isAssignableFrom(type)
                                    }
                                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/StreamedValueListener.java

     *
     * @since 8.6
     */
    @Incubating
    public interface StreamedValueListener {
        /**
         * Handles the next value.
         *
         * @since 8.6
         */
        void onValue(Object value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpEncodingDependencyResolutionIntegrationTest.groovy

    package org.gradle.integtests.resolve.http
    
    import org.gradle.integtests.fixtures.AbstractHttpDependencyResolutionTest
    
    class HttpEncodingDependencyResolutionIntegrationTest extends AbstractHttpDependencyResolutionTest {
        def "handles gzip encoded content"() {
            given:
            def repo = ivyRepo()
            def module = repo.module('group', 'projectA', '1.2')
            module.publish()
    
            and:
            buildFile << """
    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/go/ast/walk_test.go

    package ast_test
    
    import (
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"testing"
    )
    
    func TestPreorderBreak(t *testing.T) {
    	// This test checks that Preorder correctly handles a break statement while
    	// in the middle of walking a node. Previously, incorrect handling of the
    	// boolean returned by the yield function resulted in the iterator calling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
  9. pkg/kubelet/cadvisor/helpers_unsupported.go

    */
    
    package cadvisor
    
    import "errors"
    
    type unsupportedImageFsInfoProvider struct{}
    
    // ImageFsInfoLabel returns the image fs label for the configured runtime.
    // For remote runtimes, it handles additional runtimes natively understood by cAdvisor.
    func (i *unsupportedImageFsInfoProvider) ImageFsInfoLabel() (string, error) {
    	return "", errors.New("unsupported")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/PropertyAwareCallInterceptor.java

    /**
     * A call interceptor that can also tell about the type of the property that it intercepts access to.
     */
    @NonNullApi
    public interface PropertyAwareCallInterceptor {
        /**
         * Checks if the interceptor handles property access on instances of the specified receiver type.
         * @return If property access is intercepted, the type of the property. Null otherwise.
         */
        @Nullable
        Class<?> matchesProperty(Class<?> receiverClass);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:57 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top