Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 223 for indexFor (0.2 sec)

  1. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpResponseResource.java

            if (disposition != null) {
                // extracts file name from header field
                int beginIndex = disposition.indexOf("filename=\"");
                if (beginIndex > 0) {
                    int endIndex = disposition.indexOf(';', beginIndex + 11); // find the next semicolon
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PluginDslSupport.groovy

            withPlugins([:], aliases.collectEntries { [it, null] })
        }
    
        void withPluginsBlockContents(String block) {
            def text = buildFile.text
            int idx = text.indexOf('allprojects')
            text = """${text.substring(0, idx)}
                plugins {
                    $block
                }
    
    ${text.substring(idx)}
            """
            buildFile.text = text
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        collection = getSubjectGenerator().create(arrayAndDuplicate.elements);
        E duplicate = arrayAndDuplicate.duplicate;
    
        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.5K 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