Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for substring (0.18 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                } else if (style == "javadoc") {
                    def base = javadocUrl.get()
                    def packageName = classMetaData.packageName
                    href = "$base/${packageName.replace('.', '/')}/${className.substring(packageName.length()+1)}.html"
                } else {
                    throw new InvalidUserDataException("Unknown api link style '$style'.")
                }
    
                if (linkMetaData.urlFragment) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

        private int pos;
        private int markPos;
    
        JavadocScanner(String rawCommentText) {
            pushText(rawCommentText);
        }
    
        @Override
        public String toString() {
            return input.substring(pos);
        }
    
        public boolean isEmpty() {
            return pos == input.length();
        }
    
        public void mark() {
            markPos = pos;
        }
    
        public void next() {
            next(1);
        }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java

            final Set<String> excludedPackages = new HashSet<>();
            for (String excludePattern : excludedPackagePatterns) {
                if (excludePattern.endsWith(".**")) {
                    String baseName = excludePattern.substring(0, excludePattern.length() - 3);
                    excludedPrefixes.add(baseName + '.');
                    excludedPackages.add(baseName);
                } else {
                    excludedPackages.add(excludePattern);
                }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

                ZipEntry zipEntry
                while (zipEntry = zin.nextEntry) {
                    String shortName = zipEntry.name
                    if (shortName.contains('/')) {
                        shortName = shortName.substring(shortName.lastIndexOf('/') + 1)
                    }
                    if (shortName.endsWith('.jar')) {
                        def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jul 08 13:44:59 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

                properties["optional"] = optional.joinForProperties()
            }
        }
    
        private
        fun FileSystemLocation.toGradleModuleName(): String = asFile.name.run { substring(0, lastIndexOf('-')) }
    
        private
        fun Iterable<String>.joinForProperties() = sorted().joinToString(",")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            fun processClassFile(zipEntry: ZipEntry, builder: Trie.Builder) {
                val endIndex = zipEntry.name.lastIndexOf("/")
                if (endIndex > 0) {
                    val packageName = zipEntry.name.substring(0, endIndex)
                    for (exclude in excludes) {
                        if ("$packageName/".startsWith("$exclude/")) {
                            return
                        }
                    }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

        sequenceOf("$path$classFileExtension", "${path}Kt$classFileExtension")
    
    
    private
    fun nestedClassNameFor(path: String) = path.run {
        lastIndexOf('/').takeIf { it > 0 }?.let { index ->
            substring(0, index) + '$' + substring(index + 1)
        }
    }
    
    
    private
    fun normaliseFileSeparators(path: String): String =
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

                return clazz.getResource(RESOURCE)
                    .readText()
                    .split('\n')
                    .filter { it.isNotBlank() }
                    .map { line -> line.substring(7, line.length - 2) }
            }
        }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String adocFileName = adocFile.getName();
                // getting_started.adoc -> getting_started-docinfo.html
                String docInfoName = adocFileName.substring(0, adocFileName.lastIndexOf('.')) + "-docinfo.html";
                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Sep 28 06:35:34 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

        }
    
        private MethodLinkMetaData findMethod(String method) {
            if (method.endsWith("...)")) {
                // Should reuse the link parsing stuff from JavadocLinkConverter instead
                method = method.substring(0, method.length() - 4) + "[])";
            }
    
            MethodLinkMetaData metaData = methods.get(method);
            if (metaData != null) {
                return metaData;
            }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.4K bytes
    - Viewed (0)
Back to top