Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for indexFor (0.23 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            then:
            output.indexOf('initscript1!') < output.indexOf('initscript2!')
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun 'build', '-I', initScript2.absolutePath, '-I', initScript1.absolutePath
    
            then:
            output.indexOf('initscript2!') < output.indexOf('initscript1!')
            configurationCache.assertStateStored()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    type indexValidator func(int) bool
    
    func newCacheInterval(startIndex, endIndex int, indexer indexerFunc, indexValidator indexValidator, locker sync.Locker) *watchCacheInterval {
    	return &watchCacheInterval{
    		startIndex:     startIndex,
    		endIndex:       endIndex,
    		indexer:        indexer,
    		indexValidator: indexValidator,
    		buffer:         &watchCacheIntervalBuffer{buffer: make([]*watchCacheEvent, bufferSize)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

            executer.gradleUserHomeDir.file('init.d/c.gradle') << 'println "init #c#"'
    
            when:
            run()
    
            then:
            def a = output.indexOf('init #a#')
            def b = output.indexOf('init #b#')
            def c = output.indexOf('init #c#')
            a < b
            b < c
        }
    
        def "executes init script with correct environment"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_pod_control_test.go

    	fakeClient := &fake.Clientset{}
    	claims := getPersistentVolumeClaims(set, pod)
    	indexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
    	for k := range claims {
    		claim := claims[k]
    		indexer.Add(&claim)
    	}
    	claimLister := corelisters.NewPersistentVolumeClaimLister(indexer)
    	control := NewStatefulPodControl(fakeClient, nil, claimLister, recorder)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcher.java

                    new SimpleClassNameSelector() : new FullQualifiedClassNameSelector();
                int firstWildcardIndex = pattern.indexOf('*');
                //https://github.com/gradle/gradle/issues/27572
                int firstParametrizeIndex = pattern.indexOf('[');
                if (firstWildcardIndex == -1) {
                    segments = splitPreserveAllTokens(pattern, '.');
                    if(firstParametrizeIndex == -1){
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    }
    
    func indexOf(element string, data []string) int {
    	for k, v := range data {
    		if element == v {
    			return k
    		}
    	}
    	return -1 // not found.
    }
    
    func (rb *IptablesRuleBuilder) appendInternal(ipt *[]*Rule, command log.Command, chain string, table string, params ...string) *IptablesRuleBuilder {
    	idx := indexOf("-j", params)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            List<String> lifecycleIds = Arrays.asList(STANDARD_LIFECYCLES);
    
            Comparator<String> comparator = (l, r) -> {
                int lx = lifecycleIds.indexOf(l);
                int rx = lifecycleIds.indexOf(r);
    
                if (lx < 0 || rx < 0) {
                    return rx - lx;
                } else {
                    return lx - rx;
                }
            };
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/HtmlReportTemplate.kt

        /**
         * Returns the header and footer of the html template as a pair.
         */
        fun load(): Pair<String, String> {
            val template = readHtmlTemplate()
            val headerEnd = template.indexOf(modelLine)
            require(headerEnd > 0) {
                "Invalid configuration cache report template!"
            }
            val header = template.substring(0, headerEnd)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/BaseBuildScanPluginCheckInFixture.groovy

        }
    
        void assertBackgroundJobCompletedBeforeShutdown(String output, String expectedJobOutput) {
            def jobOutputPosition = output.indexOf(expectedJobOutput)
            assert jobOutputPosition >= 0: "cannot find $expectedJobOutput"
            assert jobOutputPosition < output.indexOf("${propertyPrefix}.endOfBuild.buildResult.failure")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirTypeParameterSymbolBase.kt

            KaFirTypeParameterSymbolPointer(
                ownerPointer = analysisSession.createOwnerPointer(this),
                name = name,
                index = typeParameters.indexOf(firSymbol),
            )
        }
    
        override fun equals(other: Any?): Boolean = symbolEquals(other)
        override fun hashCode(): Int = symbolHashCode()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top