- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for taskSem (0.12 sec)
-
tools/bug-report/pkg/kubectlcmd/kubectlcmd.go
// Limit the concurrency of running tasks. r.taskSem <- struct{}{} r.runningTasksMu.Lock() defer r.runningTasksMu.Unlock() log.Infof("STARTING %s", task) r.runningTasks.Insert(task) } func (r *Runner) removeRunningTask(task string) { defer func() { // Free up a slot for another running task. <-r.taskSem }() r.runningTasksMu.Lock() defer r.runningTasksMu.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 7.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/AntBuilderDelegate.java
try { Node xml = new XmlParser().parse(instr); for (Object taskdefObject : (NodeList) xml.get("taskdef")) { Node taskdef = (Node) taskdefObject; String name = (String) taskdef.get("@name"); String className = (String) taskdef.get("@classname"); addTaskDefinition(name, className); } } catch (Exception ex) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 10 10:55:07 UTC 2022 - 4.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/routine.go
"k8s.io/apiserver/pkg/endpoints/request" ) type taskKeyType int const taskKey taskKeyType = iota type Task struct { Func func() } func WithTask(parent context.Context, t *Task) context.Context { return request.WithValue(parent, taskKey, t) } func TaskFrom(ctx context.Context) *Task { t, _ := ctx.Value(taskKey).(*Task) return t }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 10:22:16 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/build.gradle
configurations { pmd } dependencies { pmd group: 'pmd', name: 'pmd', version: '4.2.5' } // end::define-classpath[] // tag::use-classpath[] tasks.register('check') { doLast { ant.taskdef(name: 'pmd', classname: 'net.sourceforge.pmd.ant.PMDTask', classpath: configurations.pmd.asPath) ant.pmd(shortFilenames: 'true', failonruleviolation: 'true',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 697 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTask/kotlin/build.gradle.kts
from(checkstyle) into("libs") } // tag::configure-task[] tasks.register("check") { val checkstyleConfig = file("checkstyle.xml") doLast { ant.withGroovyBuilder { "taskdef"("resource" to "com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties") { "classpath" { "fileset"("dir" to "libs", "includes" to "*.jar") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 837 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/groovy/build.gradle
jasper 'org.apache.tomcat.embed:tomcat-embed-jasper:9.0.2' } tasks.register('preCompileJsps') { def jasperClasspath = configurations.jasper.asPath def projectLayout = layout doLast { ant.taskdef(classname: 'org.apache.jasper.JspC', name: 'jasper', classpath: jasperClasspath) ant.jasper(validateXml: false,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 719 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/build.gradle.kts
dependencies { pmd(group = "pmd", name = "pmd", version = "4.2.5") } // end::define-classpath[] // tag::use-classpath[] tasks.register("check") { doLast { ant.withGroovyBuilder { "taskdef"("name" to "pmd", "classname" to "net.sourceforge.pmd.ant.PMDTask", "classpath" to pmd.asPath) "pmd"("shortFilenames" to true,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 800 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTask/groovy/build.gradle
from configurations.checkstyle into 'libs' } // tag::configure-task[] tasks.register('check') { def checkstyleConfig = file('checkstyle.xml') doLast { ant.taskdef(resource: 'com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties') { classpath { fileset(dir: 'libs', includes: '*.jar') } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 745 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/kotlin/build.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 791 bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AbstractAntJacocoReport.java
@SuppressWarnings("UnusedDeclaration") public Object doCall(Object it) { GroovyObjectSupport antBuilder = (GroovyObjectSupport) it; antBuilder.invokeMethod("taskdef", ImmutableMap.of( "name", "jacocoReport", "classname", "org.jacoco.ant.ReportTask" )); action.execute(antBuilder); 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)