Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,330 for Handles (0.16 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonStopEventsTest.groovy

        def "uniqueRecentDaemonStopEvents() handles stop events with null status and reason"() {
            expect:
            DaemonStopEvents.uniqueRecentDaemonStopEvents([gracefulStop2, nullStop1, gracefulStop1]) == [gracefulStop2, gracefulStop1]
            DaemonStopEvents.uniqueRecentDaemonStopEvents([nullStop1, nullStop1]) == [nullStop1]
        }
    
        def "uniqueRecentDaemonStopEvents() handles empty lists"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/project/CrossProjectModelAccess.java

         */
        GradleInternal gradleInstanceForProject(ProjectInternal referrerProject, GradleInternal gradle);
    
        /**
         * Provides an implementation of a tracker that handles the usages of TaskDependency API in the context
         * of the current project. The tracker checks that the usages for possible violation of cross-project model access restriction.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 04:11:36 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/tasks/internal/RelativeFileNameTransformerTest.groovy

            "current/dir/child.txt"    | "child.txt"
            "current/subdir"           | "../subdir"
            "current/subdir/child.txt" | "../subdir/child.txt"
        }
    
        def "handles mixed paths inside of root"() {
            when:
            def file = new File(rootDir, filePath)
            def current = new File(rootDir, "current/dir")
    
            then:
            transform(current, file) == relativePath
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top