Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,342 for Handles (0.12 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            when:
            buildFile << customTaskCode('foo', 'bar')
            succeeds('customTask')
    
            then:
            operations.hasOperation(SnapshotTaskInputsBuildOperationType)
        }
    
        def "handles task with no outputs"() {
            when:
            buildScript """
                task noOutputs {
                    doLast {}
                }
            """
            succeeds('noOutputs', "--build-cache")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K 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. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/eager/abstract_tensor_handle.cc

                          ", dtype=", DataType_Name(DataType()),
                          ", type=", FullType().DebugString(), ")");
    }
    
    Status AbstractTensorHandle::TensorHandleStatus() const {
      // Tensor handles in current runtime don't carry error info and this method
      // should always return OK status.
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. plugin/pkg/admission/podnodeselector/admission_test.go

    		}
    		handler.clusterNodeSelectors = make(map[string]string)
    		handler.clusterNodeSelectors["clusterDefaultNodeSelector"] = test.defaultNodeSelector
    		handler.clusterNodeSelectors[namespace.Name] = test.whitelist
    		pod.Spec = api.PodSpec{NodeSelector: test.podNodeSelector}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server.go

    // filteringContainer delegates all Handle(...) calls to Container.HandleWithFilter(...),
    // so we can ensure restful.FilterFunctions are used for all handlers
    type filteringContainer struct {
    	*restful.Container
    
    	registeredHandlePaths []string
    }
    
    func (a *filteringContainer) Handle(path string, handler http.Handler) {
    	a.HandleWithFilter(path, handler)
    	a.registeredHandlePaths = append(a.registeredHandlePaths, path)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/HiddenInDslTest.kt

        @get:HiddenInDeclarativeDsl
        var y: Int = 0
    }
    
    
    class HiddenInDslTest {
        val schema = schemaFromTypes(HasHiddenProperty::class, listOf(HasHiddenProperty::class))
    
        @Test
        fun `handles the hidden properties correctly`() {
            val aType = schema.dataClassesByFqName.getValue(DefaultFqName.parse(HasHiddenProperty::class.qualifiedName!!))
            assertTrue { aType.properties.single { it.name == "y" }.isHiddenInDsl }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/api/services/model/PluginConfigurationExpander.java

    package org.apache.maven.api.services.model;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelBuilderRequest;
    import org.apache.maven.api.services.ModelProblemCollector;
    
    /**
     * Handles expansion of general build plugin configuration into individual executions.
     *
     */
    public interface PluginConfigurationExpander {
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top