- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for Closure (0.06 seconds)
-
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy
/** * Repeatedly match the pattern to the string, calling the closure with the * matchers each time there is a match. If there are characters that don't * match then blow up. If the closure takes two parameters then the second * one is "is this the last match?". */ protected parse(String location, String s, String pattern, Closure c) { if (s == null) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 10:08:26 GMT 2021 - 17.8K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
*/ protected boolean spawn = true /** * A closure to call before the fixture is considered ready. The closure is passed the fixture object, * as well as a groovy AntBuilder, to enable running ant condition checks. The default wait * condition is for http on the http port. */ @Internal Closure waitCondition = { AntFixture fixture, AntBuilder ant ->Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
// edges, so this traversal would require reusing the undirected AB edge. return false; } /** * Returns the transitive closure of {@code graph}. The transitive closure of a graph {@code G} is * a graph {@code T} that is a supergraph of {@code G}, augmented by, for each pair of nodes A andCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java
public LicenseHeadersTask() { setDescription("Checks sources for missing, incorrect, or unacceptable license headers"); } /** * The list of java files to check. protected so the afterEvaluate closure in the * constructor can write to it. */ @InputFiles @SkipWhenEmpty @PathSensitive(PathSensitivity.RELATIVE) public List<FileCollection> getJavaFiles() {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 09 18:53:35 GMT 2021 - 10.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.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.precommit; import groovy.lang.Closure; import org.elasticsearch.gradle.util.GradleUtils; import org.elasticsearch.gradle.internal.conventions.util.Util; import org.gradle.api.DefaultTask; import org.gradle.api.NamedDomainObjectContainer;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public void recordConnectionCreated() { connectionsCreated.incrementAndGet(); connectionsActive.incrementAndGet(); } /** * Record RDMA connection closure */ public void recordConnectionClosed() { connectionsActive.decrementAndGet(); } /** * Record memory region allocation */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 10.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
directedGraph.putEdge(N1, N2); directedGraph.putEdge(N1, N3); directedGraph.putEdge(N2, N3); directedGraph.addNode(N4); // the above graph is its own transitive closure MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build(); expectedClosure.putEdge(N1, N2); expectedClosure.putEdge(N1, N3); expectedClosure.putEdge(N2, N3);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:06 GMT 2026 - 30.1K bytes - Click Count (0) -
src/bytes/bytes.go
// punctuation properly. Use golang.org/x/text/cases instead. func Title(s []byte) []byte { // Use a closure here to remember state. // Hackish but effective. Depends on Map scanning in order and calling // the closure once per rune. prev := ' ' return Map( func(r rune) rune { if isSeparator(prev) { prev = r return unicode.ToTitle(r) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
doc/go_mem.html
mentioned in the previous paragraph, limited to the information that <i>W</i> directly observes. </p> <p> The <i>happens before</i> relation is defined as the transitive closure of the union of the sequenced before and synchronized before relations. </p> <p> <b>Requirement 3</b>: For an ordinary (non-synchronizing) data read <i>r</i> on a memory location <i>x</i>,
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
cmd/erasure-sets.go
eps := make([]Endpoint, s.setDriveCount) copy(eps, s.endpoints.Endpoints[setIndex*s.setDriveCount:setIndex*s.setDriveCount+s.setDriveCount]) return eps } } // GetDisks returns a closure for a given set, which provides list of disks per set. func (s *erasureSets) GetDisks(setIndex int) func() []StorageAPI { return func() []StorageAPI { s.erasureDisksMu.RLock() defer s.erasureDisksMu.RUnlock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1)