Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,330 for Handles (0.14 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/DefaultWatchableFileSystemDetectorTest.groovy

        def fileSystemsService = Stub(FileSystems)
        def detector = new DefaultWatchableFileSystemDetector(fileSystemsService)
    
        def "handles no file systems"() {
            fileSystemsService.fileSystems >> []
    
            expect:
            detect() == []
        }
    
        def "handles all supported"() {
            fileSystemsService.fileSystems >> [
                fs("/dev/supported", "/", "ext4"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/translatinghandler.go

    )
    
    // translatingHandler wraps the delegate handler, implementing the
    // http.Handler interface. The delegate handles all requests unless
    // the request satisfies the passed "shouldTranslate" function
    // (currently only for WebSocket/V5 request), in which case the translator
    // handles the request.
    type translatingHandler struct {
    	delegate        http.Handler
    	translator      http.Handler
    	shouldTranslate func(*http.Request) bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/gcimporter_test.go

    	testenv.MustHaveGoBuild(t)
    
    	// This package only handles gc export data.
    	if runtime.Compiler != "gc" {
    		t.Skipf("gc-built packages not available (compiler = %s)", runtime.Compiler)
    	}
    
    	compileAndImportPkg(t, "issue15920")
    }
    
    func TestIssue20046(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	// This package only handles gc export data.
    	if runtime.Compiler != "gc" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/audit.go

    	return &auditHandler{Interface: i}
    }
    
    func (handler *auditHandler) Admit(ctx context.Context, a Attributes, o ObjectInterfaces) error {
    	if !handler.Interface.Handles(a.GetOperation()) {
    		return nil
    	}
    	if err := ensureAnnotationGetter(a); err != nil {
    		return err
    	}
    	var err error
    	if mutator, ok := handler.Interface.(MutationInterface); ok {
    		err = mutator.Admit(ctx, a, o)
    		handler.logAnnotations(ctx, a)
    	}
    	return err
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/runtime/cgo/handle_test.go

    			t.Fatalf("Duplicated Go values should have different handles, but got equal")
    		}
    
    		h1v := h1.Value()
    		h2v := h2.Value()
    		if !reflect.DeepEqual(h1v, h2v) || !reflect.DeepEqual(h1v, tt.v1) {
    			t.Fatalf("Value of a Handle got wrong, got %+v %+v, want %+v", h1v, h2v, tt.v1)
    		}
    
    		h1.Delete()
    		h2.Delete()
    	}
    
    	siz := 0
    	handles.Range(func(k, v any) bool {
    		siz++
    		return true
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java

    import static org.gradle.internal.classpath.MethodHandleUtils.lazyKotlinStaticDefaultHandle;
    import static org.gradle.internal.classpath.declarations.Handles.FOR_EACH_LINE_DEFAULT;
    import static org.gradle.internal.classpath.declarations.Handles.READ_LINES_DEFAULT;
    import static org.gradle.internal.classpath.declarations.Handles.USE_LINES_DEFAULT;
    
    @SuppressWarnings("NewMethodNamingConvention")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

            when:
            def handle = registry.start("id", DeploymentRegistry.ChangeBehavior.NONE, ParametersDeploymentHandle, "parameter")
            then:
            assert handle == testHandle
            and:
            registry.get("id", ParametersDeploymentHandle) == testHandle
        }
    
        def "cannot register a duplicate deployment handle" () {
            def testHandle = new TestDeploymentHandle()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/generate.txt

    [short] skip
    
    # Install an echo command because Windows doesn't have it.
    env GOBIN=$WORK/tmp/bin
    go install echo.go
    env PATH=$GOBIN${:}$PATH
    
    # Test go generate handles a simple command
    go generate ./generate/simple.go
    stdout 'Success'
    
    # Test go generate handles a command alias
    go generate './generate/alias.go'
    stdout 'Now is the time for all good men'
    
    # Test go generate's variable substitution
    go generate './generate/substitution.go'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 03:24:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy

        }
    
        private void concurrentBuildSucceed(int projectCount, String... taskNames) {
            def handles = []
            (1..projectCount).each { count ->
                handles << executer.inDirectory(file(createProjectName(count))).withTasks(taskNames).start()
            }
            handles.each { handle ->
                handle.waitForFinish()
            }
        }
    
        private void parallelBuildSucceeds(String... taskNames) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/go/types/unify.go

    		if _, found := u.handles[x]; found {
    			return x
    		}
    	}
    	return nil
    }
    
    // setHandle sets the handle for type parameter x
    // (and all its joined type parameters) to h.
    func (u *unifier) setHandle(x *TypeParam, h *Type) {
    	hx := u.handles[x]
    	assert(hx != nil)
    	for y, hy := range u.handles {
    		if hy == hx {
    			u.handles[y] = h
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top