Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,200 for Handles (0.14 sec)

  1. pkg/test/failer.go

    // functions that take in a Failer and those that take an error.
    // The function must be called within a goroutine, or calls to Fatal will try to terminate the outer
    // test context, which will cause the test to panic. The Wrap function handles this automatically
    type errorWrapper struct {
    	mu      sync.RWMutex
    	failed  error
    	cleanup func()
    }
    
    // Wrap executes a function with a fake Failer, and returns an error if the test failed. This allows
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jul 15 23:58:50 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/process/internal/PathLimitationIntegrationTest.groovy

        public void setup() {
            broadcast.add(listenerMock)
        }
    
        @Requires(UnitTestPreconditions.NotWindows)
        def "WorkerProcessBuilder handles workingDir with absolute path length #absolutePathLength"() {
            when:
            def testWorkingDir = generateTestWorkingDirectory(absolutePathLength)
            then:
            assert testWorkingDir.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/testdata/script/chdir.txt

    # basic -C functionality
    cd $GOROOT/src/math
    go list -C ../strings
    stdout strings
    ! go list -C ../nonexist
    stderr 'chdir.*nonexist'
    
    # check for -C in subcommands with custom flag parsing
    # cmd/go/chdir_test.go handles the normal ones more directly.
    
    # go doc
    go doc -C ../strings HasPrefix
    
    # go env
    go env -C $OLD/custom GOMOD
    stdout 'custom[\\/]go.mod'
    ! go env -C ../nonexist
    stderr '^go: chdir ../nonexist: '
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 744 bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go

    	if err != nil {
    		return nil, errors.Wrap(err, "failed to create API client configuration from kubeconfig")
    	}
    	return NewClientBackedDryRunGetter(clientConfig)
    }
    
    // HandleGetAction handles GET actions to the dryrun clientset this interface supports
    func (clg *ClientBackedDryRunGetter) HandleGetAction(action core.GetAction) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 16 10:29:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_dup_cache.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # This test checks that cached corpus loading properly handles duplicate entries (this can
    # happen when a f.Add value has a duplicate entry in the cached corpus.) Duplicate entries
    # should be discarded, and the rest of the cache should be loaded as normal.
    
    env GOCACHE=$WORK/cache
    env GODEBUG=fuzzdebug=1
    
    mkdir -p $GOCACHE/fuzz/fuzztest/FuzzTarget
    go run ./populate $GOCACHE/fuzz/fuzztest/FuzzTarget
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top