- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for forall (0.1 sec)
-
pkg/test/framework/components/echo/config/builder.go
})) } } return out } // BuildAll builds the config for all sources. func (b *Builder) BuildAll(fromAll echo.Callers, toAll echo.Services) *Builder { b.t.Helper() return b.BuildCompleteSources(). BuildFrom(fromAll...). BuildFromAndTo(fromAll, toAll) } func (b *Builder) Apply(opts ...apply.Option) { if b.yamlCount == 0 { // Nothing to do. return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 7.6K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AbstractAntJacocoReport.java
@SuppressWarnings("UnusedDeclaration") public Object doCall(Object ignore) { antBuilder.invokeMethod("executiondata", new Object[]{emptyArgs, new Closure<Object>(this, this) { public Object doCall(Object ignore) { executionData.addToAntBuilder(antBuilder, "resources"); return null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:19:29 UTC 2024 - 4.1K bytes - Viewed (0) -
src/internal/singleflight/singleflight.go
g.mu.Unlock() return ch } c := &call{chans: []chan<- Result{ch}} c.wg.Add(1) g.m[key] = c g.mu.Unlock() go g.doCall(c, key, fn) return ch } // doCall handles the single call for a key. func (g *Group) doCall(c *call, key string, fn func() (any, error)) { c.val, c.err = fn() g.mu.Lock() c.wg.Done() if g.m[key] == c { delete(g.m, key) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 20:49:56 UTC 2022 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt
* * @see [KotlinClosure1] */ fun <T> Any.delegateClosureOf(action: T.() -> Unit) = object : Closure<Unit>(this, this) { @Suppress("unused") // to be called dynamically by Groovy fun doCall() = uncheckedCast<T>(delegate).action() } /** * Adapts a parameterless Kotlin function to a parameterless Groovy [Closure]. * * @param V the return type. * @param function the function to be adapted.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 9.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/ClosureInstrumentationIntegrationTest.groovy
} @Override public abstract void setDelegate(Object delegate); public abstract String doCall(String argument); } """ file("ReverseClosure.java") << """ public class ReverseClosure extends MyBaseClosure {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 01:16:36 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileCollectionMatchingTaskBuilder.java
} dynamicObject.invokeMethod("or", new Closure<Void>(this) { public Object doCall(Object ignore) { for (final DirectoryTree fileTree : existing) { dynamicObject.invokeMethod("and", new Closure<Void>(this) { public Object doCall(Object ignore) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/AntGroovydoc.java
} ant.withClasspath(combinedClasspath).execute(new Closure<Object>(this, this) { @SuppressWarnings("UnusedDeclaration") public Object doCall(Object it) { final GroovyObjectSupport antBuilder = (GroovyObjectSupport) it; antBuilder.invokeMethod("taskdef", ImmutableMap.of( "name", "groovy",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py
"""Substitutes the for loop templates in the given module.""" compiled_regex = re.compile( r'^\s*for\s(.*?)\sin\s(\[.*?\])\s\{(.*?)\}\s//\send\sfor\n', re.MULTILINE | re.DOTALL) while True: func_match = re.search(compiled_regex, module) if func_match is None: break try: arg_name = func_match.group(1) arg_values = ast.literal_eval(func_match.group(2))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 20 01:38:06 UTC 2022 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AntFileTreeBuilder.java
final DynamicObject dynamicObject = new BeanDynamicObject(node); dynamicObject.invokeMethod(childNodeName == null ? "resources" : childNodeName, new Closure(this) { public Object doCall(Object ignore) { for (Map.Entry<String, File> entry : files.entrySet()) { String name = entry.getKey(); File file = entry.getValue();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AntJacocoCheck.java
antBuilder.invokeMethod("check", new Object[] {checkArgs, new Closure<Object>(this, this) { @SuppressWarnings("UnusedDeclaration") public Object doCall(Object ignore) { for (final JacocoViolationRule rule : filter(violationRules.getRules(), RULE_ENABLED_PREDICATE)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:19:29 UTC 2024 - 5.5K bytes - Viewed (0)