Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 141 for indexCon (0.34 sec)

  1. platforms/documentation/docs/src/samples/templates/java-utilities-library/src/main/java/org/gradle/sample/utilities/SplitUtils.java

    class SplitUtils {
        public static LinkedList split(String source) {
            int lastFind = 0;
            int currentFind = 0;
            LinkedList result = new LinkedList();
    
            while ((currentFind = source.indexOf(" ", lastFind)) != -1) {
                String token = source.substring(lastFind);
                if (currentFind != -1) {
                    token = token.substring(0, currentFind - lastFind);
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 952 bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
          val pathEnd = requestLine.indexOf(' ', methodEnd + 1)
          this.method = requestLine.substring(0, methodEnd)
          var path = requestLine.substring(methodEnd + 1, pathEnd)
          if (!path.startsWith("/")) {
            path = "/"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProgressLoggingFixture.groovy

            println "-> CHECKING: $progressContent"
            def lines = progressContent
            def startIndex = lines.indexOf("[START " + operation + "]")
            if (startIndex == -1) {
                return false
            }
            lines = lines[startIndex..<lines.size()]
            lines = lines[0..lines.indexOf("[END " + operation + "]")]
            lines.size() >= 2
        }
    
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ModuleNotationValidation.java

            if (!GUtil.isTrue(part)) {
                throw new UnsupportedNotationException(notation);
            }
            for (char c : INVALID_SPEC_CHARS) {
                if (part.indexOf(c) != -1) {
                    throw new UnsupportedNotationException(notation);
                }
            }
            return part;
        }
    
        public static String validate(String part) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/mutator/AbstractGroovySourceFileMutator.groovy

            }
        }
    
        @Override
        protected void applyChangeTo(BuildContext context, StringBuilder text) {
            int lastOpeningPos = text.lastIndexOf("{")
            int insertPos = text.indexOf("}", lastOpeningPos)
            boolean isClassClosing = insertPos == text.lastIndexOf("}")
            if (insertPos < 0 || isClassClosing) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectList.java

                didRemove(element);
            }
            getEventRegister().fireObjectRemoved(element);
            return element;
        }
    
        @Override
        public int indexOf(Object o) {
            return getStore().indexOf(o);
        }
    
        @Override
        public int lastIndexOf(Object o) {
            return getStore().lastIndexOf(o);
        }
    
        @Override
        public ListIterator<T> listIterator() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

          }
        } else {
          this.handshake = null
          this.handshakeServerNames = listOf()
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
          val pathEnd = requestLine.indexOf(' ', methodEnd + 1)
          this.method = requestLine.substring(0, methodEnd)
          var path = requestLine.substring(methodEnd + 1, pathEnd)
          if (!path.startsWith("/")) {
            path = "/"
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java

        @Override
        public String normalize(String url) {
            String result = url;
    
            if (result != null) {
                while (true) {
                    int idx = result.indexOf("/../");
                    if (idx < 0) {
                        break;
                    } else if (idx == 0) {
                        result = result.substring(3);
                        continue;
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        public InetAddress[] resolve(final String host) throws UnknownHostException {
            return InetAddress.getAllByName(toAscii(host));
        }
    
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
            try {
                return URLDecoder.decode(host, encoding);
            } catch (final UnsupportedEncodingException e) {
                return host;
            }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/kotlin/settings.gradle.kts

    abstract class GuavaRule: ComponentMetadataRule {
        override fun execute(context: ComponentMetadataContext) {
            val variantVersion = context.details.id.version
            val version = variantVersion.substring(0, variantVersion.indexOf("-"))
            listOf("compile", "runtime").forEach { base ->
                mapOf(6 to "android", 8 to "jre").forEach { (targetJvmVersion, jarName) ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top