Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 476 for indexFor (0.36 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller_test.go

    		t.Run(scenario.name, func(t *testing.T) {
    			// test data
    			indexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{})
    			if err := indexer.Add(scenario.cm); err != nil {
    				t.Fatal(err.Error())
    			}
    			target := newDefaultTarget()
    			target.configmapLister = corev1listers.NewConfigMapLister(indexer).ConfigMaps(defConfigMapNamespace)
    
    			// act
    			err := target.sync()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 07 14:37:01 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/LatestVersionSelector.java

            return true;
        }
    
        @Override
        public boolean accept(ComponentMetadata candidate) {
            int selectorStatusIndex = candidate.getStatusScheme().indexOf(selectorStatus);
            int candidateStatusIndex = candidate.getStatusScheme().indexOf(candidate.getStatus());
            return selectorStatusIndex >=0 && selectorStatusIndex <= candidateStatusIndex;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/utilities/SplitUtils.scala.template

            var currentFind = source.indexOf(" ", lastFind)
            while (currentFind != -1) {
                var token = source.substring(lastFind)
                if (currentFind != -1) {
                    token = token.substring(0, currentFind - lastFind)
                }
    
                addIfValid(token, result)
                lastFind = currentFind + 1
                currentFind = source.indexOf(" ", lastFind)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 982 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

            if (buf.indexOf("dd") == -1) {
                final int pos = buf.indexOf("d");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "dd");
                }
            }
            if (buf.indexOf("HH") == -1) {
                final int pos = buf.indexOf("H");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "HH");
                }
            }
            if (buf.indexOf("mm") == -1) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppCompilerArgsTransformerTest.groovy

            then:
            assertHasArguments(args, "/I", includes)
            assertHasArguments(args, "/I", systemIncludes)
    
            and:
            args.indexOf("/I" + includes.last().absoluteFile.toString()) < args.indexOf("/I" + systemIncludes.first().absoluteFile.toString())
        }
    
        def "does not include an empty string in compiler options"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            assertThat(list.indexOf(null), is(0));
            assertThat(list.indexOf("1"), is(1));
            assertThat(list.indexOf("2"), is(2));
            assertThat(list.indexOf("3"), is(3));
            assertThat(list.indexOf("4"), is(-1));
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                return null;
            }
    
            String expression = stripTokens(expr);
            if (expression.equals(expr)) {
                int index = expr.indexOf("${");
                if (index >= 0) {
                    int lastIndex = expr.indexOf('}', index);
                    if (lastIndex >= 0) {
                        String retVal = expr.substring(0, index);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	}
    
    	// Validate Pod0 Results
    	ps, found := indexPods[prf0]
    	assert.True(t, found)
    	assert.Len(t, ps.Containers, 2)
    	indexCon := make(map[string]statsapi.ContainerStats, len(ps.Containers))
    	for _, con := range ps.Containers {
    		indexCon[con.Name] = con
    	}
    	con := indexCon[cName00]
    	assert.EqualValues(t, testTime(creationTime, seedPod0Container0).Unix(), con.StartTime.Time.Unix())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/JavaClassNameFormatter.java

        private static final char PACKAGE_SEPARATOR = '.';
    
        public static String abbreviateJavaPackage(@Nonnull String qualifiedClassName, int maxLength) {
            if (qualifiedClassName.length() <= maxLength || qualifiedClassName.indexOf(PACKAGE_SEPARATOR) == -1) {
                return qualifiedClassName;
            }
    
            final int maxLengthWithoutEllipsis = maxLength - 3;
            int beginIdx = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/performanceReport.js

            if (selectedTags.some(tag => currentTags.indexOf(tag) != -1)) {
                $(row).show()
            } else {
                $(row).hide()
            }
        })
    
        $("#filter-popover .form-check-input").toArray().forEach(function (checkbox) {
            if (selectedTags.indexOf(checkbox.value) != -1) {
                checkbox.setAttribute('checked', 'true');
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top