Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for Formatting (0.06 seconds)

  1. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

    /*
     * This script plugin configures formatting for Java source using Spotless
     * for Gradle. Since the act of formatting existing source can interfere
     * with developers' workflows, we don't automatically format all code
     * (yet). Instead, we maintain a list of projects that are excluded from
     * formatting, until we reach a point where we can comfortably format them
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  2. ci/official/utilities/code_check_changed_files.bats

        fi
    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check buildifier formatting on BUILD files" {
        echo "buildifier formatting is recommended. Here are the suggested fixes:"
        echo "============================="
        grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

            // Configure OWASP HTML Sanitizer with allowed tags
            htmlSanitizer = new HtmlPolicyBuilder()
                    // Headings
                    .allowElements("h1", "h2", "h3", "h4", "h5", "h6")
                    // Text formatting
                    .allowElements("p", "br", "hr")
                    .allowElements("strong", "em", "b", "i", "u", "s", "del")
                    // Lists
                    .allowElements("ul", "ol", "li")
                    // Code
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. internal/logger/target/console/console.go

    		fmt.Fprintln(c.output, entry.Message)
    		return nil
    	}
    
    	traceLength := len(entry.Trace.Source)
    	trace := make([]string, traceLength)
    
    	// Add a sequence number and formatting for each stack trace
    	// No formatting is required for the first entry
    	for i, element := range entry.Trace.Source {
    		trace[i] = fmt.Sprintf("%8v: %s", traceLength-i, element)
    	}
    
    	tagString := ""
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

            return parent.child(name).orElse(null);
        }
    
        /**
         * Serializes a domtrip Document to XML string with preserved formatting.
         *
         * @param document the domtrip Document
         * @return the XML string with preserved formatting
         *
         */
        public static String toXml(Document document) {
            Editor editor = new Editor(document);
            return editor.toXml();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

    /**
     * Utility class for handling Maven model version operations during upgrades.
     *
     * <p>This class uses domtrip internally for superior formatting preservation
     * and simplified API while maintaining the same external interface.
     */
    public final class ModelVersionUtils {
    
        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         */
        private static String toPlatformSpecific(String expected) {
            return expected.replace("/", File.separator).replace(":", File.pathSeparator);
        }
    
        /**
         * Tests the formatting of an option without module name.
         */
        @Test
        public void testOption() {
            String[] formatted = JavaPathType.MODULES.option(paths());
            assertEquals(2, formatted.length);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 13 14:20:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. .github/workflows/shfmt.yml

    name: Shell formatting checks
    
    on:
      pull_request:
        branches:
          - master
    
    permissions:
      contents: read
        
    jobs:
      build:
        name: runner / shfmt
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: luizm/action-sh-checker@master
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              SHFMT_OPTS: "-s"
            with:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 22 23:07:14 GMT 2024
    - 443 bytes
    - Click Count (0)
  9. .github/workflows/release-branch-cherrypick.yml

        steps:
        - name: Checkout code
          uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
          with:
            ref: ${{ github.event.inputs.release_branch }}
        - name: Get some helpful info for formatting
          id: cherrypick
          run: |
              git config --global user.name "TensorFlow Release Automation"
              git config --global user.email "******@****.***"
              git fetch origin master
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
       * Used to delay string formatting until actually required, as it otherwise shows up in the test
       * execution profile when running an extremely large numbers of tests.
       */
      private String reportContext(List<E> expected) {
        return Platform.format(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top