- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 988 for runLen (0.09 sec)
-
src/cmd/compile/internal/walk/switch.go
} return si < sj }) // runLen returns the string length associated with a // particular run of exprClauses. runLen := func(run []exprClause) int64 { return int64(len(ir.StringVal(run[0].lo))) } // Collapse runs of consecutive strings with the same length. var runs [][]exprClause start := 0 for i := 1; i < len(cc); i++ { if runLen(cc[start:]) != runLen(cc[i:]) { runs = append(runs, cc[start:i])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/workflow/runner.go
// path of the phase in the workflow managed by the Runner. generatedName string // use is the phase usage string that will be printed in the workflow help. // It corresponds to the relative path of the phase in the workflow managed by the Runner. use string } // NewRunner return a new runner for composable kubeadm workflows. func NewRunner() *Runner { return &Runner{ Phases: []Phase{}, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 21 05:35:15 UTC 2022 - 16K bytes - Viewed (0) -
pkg/util/async/runner.go
func NewRunner(f ...func(stop chan struct{})) *Runner { return &Runner{loopFuncs: f} } // Start begins running. func (r *Runner) Start() { r.lock.Lock() defer r.lock.Unlock() if r.stop == nil { c := make(chan struct{}) r.stop = &c for i := range r.loopFuncs { go r.loopFuncs[i](*r.stop) } } } // Stop stops running. func (r *Runner) Stop() { r.lock.Lock() defer r.lock.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 29 06:37:00 UTC 2016 - 1.4K bytes - Viewed (0) -
test/rune.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test rune constants, expressions and types. // Compiles but does not run. package rune var ( r0 = 'a' r1 = 'a'+1 r2 = 1+'a' r3 = 'a'*2 r4 = 'a'/2 r5 = 'a'<<1 r6 = 'b'<<2 r7 int32 r = []rune{r0, r1, r2, r3, r4, r5, r6, r7} ) var ( f0 = 1.2 f1 = 1.2/'a' f = []float64{f0, f1}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 603 bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy
def setup() { runner.warmUpRuns = 11 runner.runs = 21 runner.minimumBaseVersion = "3.5" } def "clean assemble with remote http cache"() { setupTestProject(runner) protocol = "http" pushToRemote = true runner.useDaemon = false runner.warmUpRuns = 2 runner.runs = 8 runner.addBuildMutator { cleanLocalCache() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 13:08:21 UTC 2024 - 7.1K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaFirstUsePerformanceTest.groovy
given: runner.tasksToRun = ['tasks'] runner.runs = (runner.testProject == (LARGE_JAVA_MULTI_PROJECT_KOTLIN_DSL.projectName) ? 5 : 10) runner.useDaemon = false runner.addBuildMutator { invocationSettings -> new ClearGradleUserHomeMutator(invocationSettings.gradleUserHome, AbstractCleanupMutator.CleanupSchedule.BUILD) } runner.addBuildMutator { invocationSettings ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/proxy/ipvs/util/ipvs_linux.go
func (runner *runner) UpdateVirtualServer(vs *VirtualServer) error { svc, err := toIPVSService(vs) if err != nil { return fmt.Errorf("could not convert local virtual server to IPVS service: %w", err) } runner.mu.Lock() defer runner.mu.Unlock() return runner.ipvsHandle.UpdateService(svc) } // DeleteVirtualServer is part of ipvs.Interface.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 9K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/inception/BuildSrcApiChangePerformanceTest.groovy
def setup() { runner.minimumBaseVersion = "6.8" runner.warmUpRuns = 3 } def setupGradleOpts() { useG1GarbageCollectorOnJava8(runner) } def "buildSrc abi change"() { given: setupGradleOpts() runner.tasksToRun = ['help'] runner.runs = determineNumberOfRuns(runner.testProject) and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.4K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/maven/JavaTestGradleVsMavenPerformanceTest.groovy
given: runner.testGroup = "Gradle vs Maven test build using Java plugin" configureMavenOptions(JavaTestProject.projectFor(runner.testProject)) runner.gradleTasks = ["clean", gradleTask] runner.equivalentMavenTasks = ["clean", mavenTask] if (mavenTask == "package") { runner.mvnArgs << "-Dmaven.test.skip=true" } runner.warmUpRuns = 2 runner.runs = 5
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.4K bytes - Viewed (0) -
test-site/app/Global.java
} @Override public void onStop(Application var1) { ComponentsUtil.runner.close(); ComponentsUtil.runner.clean(); } private void esRun() { ElasticsearchClusterRunner runner = new ElasticsearchClusterRunner(); runner.onBuild((number, settingsBuilder) -> { settingsBuilder.put("http.cors.enabled", true);
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Sat Feb 23 14:02:03 UTC 2019 - 2.2K bytes - Viewed (0)