- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for Closure (0.05 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
} public static void setChildren(Node element, Closure cl) { while (element.hasChildNodes()) { element.removeChild(element.getFirstChild()) } leftShift(element, cl) } public static def leftShift(Node parent, Closure cl) { DomBuilder builder = new DomBuilder(parent) cl.delegate = builder cl.call()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Aug 11 15:32:19 GMT 2022 - 2.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenApisPrecommitPlugin.java
*/ package org.elasticsearch.gradle.internal.precommit; import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis; import de.thetaphi.forbiddenapis.gradle.ForbiddenApisPlugin; import groovy.lang.Closure; import org.elasticsearch.gradle.internal.ExportElasticsearchBuildResourcesTask; import org.elasticsearch.gradle.internal.info.BuildParams; import org.elasticsearch.gradle.internal.InternalPlugin;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.8K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntTask.groovy
if (buffer.isEmpty() == false) { logger.error("=== Ant output ===\n${buffer}") } throw e } } /** Runs the doAnt closure. This can be overridden by subclasses instead of having to set a closure. */ protected abstract void runAnt(AntBuilder ant) /** Create the logger the ant runner will use, with the given stream for error/output. */
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/html/HtmlEscapers.java
* systems and high-level APIs that provide autoescaping. * One Google-authored templating system available for external use is <a * href="https://developers.google.com/closure/templates/">Closure Templates</a>. * * <p>HTML escaping is particularly tricky: For example, <a * href="https://www.w3.org/TR/html4/types.html#h-6.2">some elements' text contents must not be HTML
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java
throw new SmbException(rpc.retval, false); } } /** * Closes this SAM alias handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc); if (rpc.retval != 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/elasticsearch.forbidden-dependencies.gradle
*/ // we do not want any of these dependencies on the compilation classpath // because they could then be used within Elasticsearch List<String> FORBIDDEN_DEPENDENCIES = [ 'guava' ] Closure checkDeps = { Configuration configuration -> configuration.resolutionStrategy.eachDependency { String artifactName = it.target.name if (FORBIDDEN_DEPENDENCIES.contains(artifactName)) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalPluginBuildPlugin.java
* in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ package org.elasticsearch.gradle.internal; import groovy.lang.Closure; import org.elasticsearch.gradle.internal.precommit.TestingConventionsTasks; import org.elasticsearch.gradle.internal.test.RestTestBasePlugin; import org.elasticsearch.gradle.internal.conventions.util.Util;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5K bytes - Click Count (0) -
architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md
Existing Groovy methods will not be removed immediately. ## Consequences * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`. * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration. Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
throw new SmbException(rpc.retval, false); } } /** * Closes this SAM domain handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc); if (rpc.retval != 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
handle.sendrecv(rpc2); } } /** * Closes this SAM policy handle. * * @throws IOException if an I/O error occurs during handle closure */ public void close() throws IOException { final MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); handle.sendrecv(rpc); if (rpc.retval != 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0)