Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 962 for Handles (0.13 sec)

  1. pkg/volume/util/subpath/subpath_windows.go

    }
    
    // unlockPath unlock directories
    func unlockPath(fileHandles []uintptr) {
    	if fileHandles != nil {
    		for _, handle := range fileHandles {
    			syscall.CloseHandle(syscall.Handle(handle))
    		}
    	}
    }
    
    // lockPath locks a directory or symlink, return handle, exec "syscall.CloseHandle(handle)" to unlock the path
    func lockPath(path string) (uintptr, error) {
    	if len(path) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. pkg/controller/nodeipam/ipam/sync/sync.go

    }
    
    // syncOp is the interface for generic sync operation.
    type syncOp interface {
    	// run the requested sync operation.
    	run(logger klog.Logger, sync *NodeSync) error
    }
    
    // updateOp handles creation and updates of a node.
    type updateOp struct {
    	node *v1.Node
    }
    
    func (op *updateOp) String() string {
    	if op.node == nil {
    		return fmt.Sprintf("updateOp(nil)")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

                configurations { conf }
            """
    
            when:
            run(":a:resolveConf", "-i")
    
            then:
            fixture.assertProjectsConfigured(":", ":a", ":b")
        }
    
        def "handles buildNeeded"() {
            createDirs("a", "b", "c")
            settingsFile << "include 'a', 'b', 'c'"
            file("a/build.gradle") << """ apply plugin: 'java' """
            file("b/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. pkg/kube/krt/README.md

      * `krt` can accept any object type, from any source, and handle them the same.
    * Provide high level abstractions.
      * Controller authors can write simple transformation functions from `Input` -> `Output` (with dependencies); the framework handles all the state automatically.
    
    ## Key Primitives
    
    The most important primitive provided is the `Collection` interface.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyArtifactsIntegrationTest.groovy

            when:
            resolveArtifacts()
    
            then:
            executedInOrder ":buildB:compileJava", ":buildB:jar", ":buildC:compileJava", ":buildC:jar"
        }
    
        def "handles compileOnly dependencies for different subprojects from the same build included via separate dependency paths"() {
            given:
            dependency 'org.test:b1:1.0'
            dependency 'org.test:buildC:1.0'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:28 UTC 2020
    - 21.1K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicatorTest.groovy

            when:
            deduplicateNames()
    
            then:
            elementName("root") == "root"
            elementName("root:app") == "root-app"
            elementName("root:app:app") == "app-app"
    
        }
    
        def "handles calculated name matches existing element name"() {
            given:
            element("root") {
                element("root-foo-bar") {}
                element("foo-bar") {}
                element("foo") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go

    			queryPart = "?" + req.URL.RawQuery
    		}
    		w.Header().Set("Location", req.URL.Path+"/"+queryPart)
    		w.WriteHeader(http.StatusMovedPermanently)
    		redirect = true
    	}
    	return redirect
    }
    
    // ServeHTTP handles the proxy request
    func (h *UpgradeAwareHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
    	if h.tryUpgrade(w, req) {
    		return
    	}
    	if h.UpgradeRequired {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

        return nullptr;
      }
      tensorflow::TensorHandle* handle =
          tensorflow::TensorHandleFromInterface(unwrapped_handle);
    
      if (handle->Type() != tensorflow::TensorHandle::LOCAL) {
        status->status = tensorflow::errors::InvalidArgument(
            "TFE_TensorHandleDevicePointer may not be called on a ",
            handle->TypeString(), " tensor handle.");
        return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.cc

        tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle =
            tensorflow::unwrap(handles[i]);
        if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
          // One of the inputs we're trying to pack is on a custom device. We'll let
          // the first custom device we see handle all of the packing.
          auto* custom_device_handle =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. pkg/quota/v1/evaluator/core/pods.go

    func (p *podEvaluator) GroupResource() schema.GroupResource {
    	return corev1.SchemeGroupVersion.WithResource("pods").GroupResource()
    }
    
    // Handles returns true if the evaluator should handle the specified attributes.
    func (p *podEvaluator) Handles(a admission.Attributes) bool {
    	op := a.GetOperation()
    	if op == admission.Create {
    		return true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 17.4K bytes
    - Viewed (0)
Back to top