Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,200 for Handles (0.12 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/ResourceCleaningCompilationTask.java

    import javax.tools.DiagnosticListener;
    import javax.tools.JavaCompiler;
    import java.io.Closeable;
    import java.nio.charset.Charset;
    import java.util.Locale;
    
    /**
     * Cleans up resources (e.g. file handles) after compilation has finished.
     */
    class ResourceCleaningCompilationTask implements JavaCompiler.CompilationTask {
        private final JavaCompiler.CompilationTask delegate;
        private final Closeable fileManager;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. pkg/proxy/node.go

    		klog.FlushAndExit(klog.ExitFlushTimeout, 1)
    	}
    }
    
    // OnNodeDelete is a handler for Node deletes.
    func (n *NodePodCIDRHandler) OnNodeDelete(node *v1.Node) {
    	n.logger.Error(nil, "Current Node is being deleted", "node", klog.KObj(node))
    }
    
    // OnNodeSynced is a handler for Node syncs.
    func (n *NodePodCIDRHandler) OnNodeSynced() {}
    
    // NodeEligibleHandler handles the life cycle of the Node's eligibility, as
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

    // TensorFlow Resource Handles.
    //===----------------------------------------------------------------------===//
    
    inline bool IsResourceHandleAnonymous(StringRef name) {
      return name == ::tensorflow::ResourceHandle::ANONYMOUS_NAME;
    }
    
    // Helper struct representing an identifier for a resource handle. For resource
    // handles created explicitly and shared across resource allocator ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td

          /*desc=*/[{Returns resource handle values and the unique ids associated with
                     the resource handles for this op. The handles should be created
                     for only the resource tensors in the results of the op. If a
                     resource handle is reused, then an existing id will be
                     returned. The order of the resource handles in the returned
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 30 19:07:07 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientConnectionTest.groovy

            then:
            def ex = thrown(StaleDaemonAddressException)
            ex.cause == failure
            1 * staleAddressDetector.maybeStaleAddress(failure) >> true
            0 * staleAddressDetector._
        }
    
        def "handles failed dispatch"() {
            def failure = new FooException()
            def message = Stub(Message)
    
            given:
            delegate.receive() >> Stub(Message)
            delegate.dispatch(message) >> { throw failure }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

                        }
                    }
                }
            """
    
            expect:
            succeeds "compileJava"
        }
    
        def "handles -sourcepath being specified"() {
            goodCode()
            buildFile << """
                tasks.withType(JavaCompile) {
                    options.sourcepath = project.layout.files()
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy

        into 'build'
        from configurations.compile
    }
    """
    
            when: "Version 1.1 is published"
            def module = ivyHttpRepo.module("group", "projectA", "1.1").publish()
    
            and: "Server handles requests"
            module.ivy.expectGet()
            module.jar.expectGet()
    
            and: "We request 1.1 (changing)"
            run 'retrieve'
    
            then: "Version 1.1 jar is downloaded"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. src/log/slog/handler.go

    // manage this concurrency.
    //
    // Users of the slog package should not invoke Handler methods directly.
    // They should use the methods of [Logger] instead.
    type Handler interface {
    	// Enabled reports whether the handler handles records at the given level.
    	// The handler ignores records whose level is lower.
    	// It is called early, before any arguments are processed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/metadata/SwiftcMetadataProviderTest.groovy

            output(SWIFTC_OUTPUT_MAC_OS).component.version.with { [major, minor, micro] } == [4, 0, 2]
            output(SWIFTC_OUTPUT_LINUX).component.version.with { [major, minor, micro] } == [3, 1, 1]
        }
    
        def "handles output that cannot be parsed"() {
            def visitor = new TreeFormatter()
    
            expect:
            def result = output(out)
            !result.available
    
            when:
            result.explain(visitor)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. security/pkg/nodeagent/test/mock/caserver.go

    	}
    	cert := pem.EncodeToMemory(block)
    
    	return cert, nil
    }
    
    // Check handles health check requests.
    func (s *CAServer) Check(ctx context.Context, in *ghc.HealthCheckRequest) (*ghc.HealthCheckResponse, error) {
    	return &ghc.HealthCheckResponse{
    		Status: ghc.HealthCheckResponse_SERVING,
    	}, nil
    }
    
    // Watch handles health check streams.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top