Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for charAt (0.18 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

        public void next(int n) {
            pos += n;
        }
    
        public boolean lookingAt(char c) {
            return input.charAt(pos) == c;
        }
    
        public boolean lookingAt(CharSequence prefix) {
            int i = 0;
            int cpos = pos;
            while (i < prefix.length() && cpos < input.length()) {
                if (prefix.charAt(i) != input.charAt(cpos)) {
                    return false;
                }
                i++;
    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)
  2. build-logic/buildquality/src/main/kotlin/gradlebuild.verify-build-environment.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import java.nio.charset.Charset
    
    tasks.register("verifyIsProductionBuildEnvironment") {
        doLast {
            val systemCharset = Charset.defaultCharset().name()
            assert(systemCharset == "UTF-8") {
                "Platform encoding must be UTF-8. Is currently $systemCharset. Set -Dfile.encoding=UTF-8"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Feb 01 09:48:30 GMT 2021
    - 941 bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

    import org.gradle.api.provider.MapProperty;
    import org.gradle.api.tasks.TaskContainer;
    import org.gradle.api.tasks.TaskProvider;
    import org.gradle.util.GradleVersion;
    
    import java.nio.charset.Charset;
    
    /**
     * Opinionated plugin that generates the release notes for a Gradle release.
     *
     * TODO: Maybe eventually convert this asciidoc too, so everything uses the same markup language.
     */
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 10 11:32:18 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. .editorconfig

    # editorconfig.org
    
    root = true
    
    [*]
    # Change these settings to your own preference
    indent_style = space
    indent_size = 4
    
    # We recommend you to keep these unchanged
    end_of_line = lf
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    # Markdown files sometimes need trailing whitespaces.
    [*.md]
    trim_trailing_whitespace = false
    
    [*.{yml,yaml}]
    indent_size = 2
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Oct 02 11:48:19 GMT 2023
    - 643 bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            document.outputSettings().indentAmount(2).prettyPrint(true);
            document.prependChild(new DocumentType("html", "", ""));
            document.head().
                    append("<meta charset='utf-8'>").
                    append("<meta name='viewport' content='width=device-width, initial-scale=1'>").
                    append("<title>Gradle @version@ Release Notes</title>").
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

            outputFile.printWriter(Charsets.UTF_8).use { writer ->
                writer.println(
                    """<html lang="en">
        <head>
           <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
           <title>Incubating APIs</title>
           <link xmlns:xslthl="http://xslthl.sf.net" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,400i,700">
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 18 06:55:55 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  7. .cm/plugins/filters/summaryTable/index.js

        let totalDeletions = Object.values(preppedStatistics).reduce((acc, summary) => acc + summary.deletions, 0);
        let newRatio = totalAdditions / (totalAdditions + totalDeletions) * 100;
    
        let result = `:bar_chart: **Changes by ${title}: this PR is ${Math.round(newRatio, 2)}% new code**`;
    
        // Only title by Platform
        if (title === "Platform") {
            result += `
      <br>${platformsAffected(preppedStatistics)}`;
        }
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.util.internal.TextUtil
    import java.io.File
    import java.nio.charset.StandardCharsets
    import javax.inject.Inject
    
    
    @CacheableTask
    abstract class GradleStartScriptGenerator : DefaultTask() {
    
        @get:Internal
        abstract val launcherJar: ConfigurableFileCollection
    
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import org.gradle.tooling.events.task.TaskFinishEvent
    import org.gradle.tooling.events.task.TaskSuccessResult
    import java.io.File
    import java.io.FileOutputStream
    import java.io.IOException
    import java.nio.charset.StandardCharsets
    import java.nio.file.Files
    import java.nio.file.LinkOption
    import java.util.stream.Collectors
    import java.util.zip.ZipEntry
    import java.util.zip.ZipOutputStream
    import javax.inject.Inject
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

            HtmlRenderer renderer = HtmlRenderer.builder(options).build();
            File markdownFile = getMarkdownFile().get().getAsFile();
            Charset inputEncoding = Charset.forName(getInputEncoding().get());
    
            File destination = getDestinationFile().get().getAsFile();
            Charset outputEncoding = Charset.forName(getOutputEncoding().get());
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.2K bytes
    - Viewed (0)
Back to top