Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,867 for Handles (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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