Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for formatter (0.11 sec)

  1. src/archive/tar/writer.go

    	var namePrefix string
    	if prefix, suffix, ok := splitUSTARPath(hdr.Name); ok {
    		namePrefix, hdr.Name = prefix, suffix
    	}
    
    	// Pack the main header.
    	var f formatter
    	blk := tw.templateV7Plus(hdr, f.formatString, f.formatOctal)
    	f.formatString(blk.toUSTAR().prefix(), namePrefix)
    	blk.setFormat(FormatUSTAR)
    	if f.err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         */
        @Nonnull
        default MessageBuilder newline() {
            return append(System.lineSeparator());
        }
    
        /**
         * Append formatted content to the buffer.
         * @see String#format(String, Object...)
         *
         * @param pattern a <a href="../util/Formatter.html#syntax">format string</a>
         * @param args arguments referenced by the format specifiers in the format string
         * @return the current builder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                HelpFormatter formatter = new HelpFormatter();
    
                int width = MessageUtils.getTerminalWidth();
                if (width <= 0) {
                    width = HelpFormatter.DEFAULT_WIDTH;
                }
    
                pw.accept("");
    
                StringWriter sw = new StringWriter();
                PrintWriter pw2 = new PrintWriter(sw);
                formatter.printHelp(
                        pw2,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        }
    
        public void displayHelp(PrintWriter pw) {
            HelpFormatter formatter = new HelpFormatter();
    
            int width = MessageUtils.getTerminalWidth();
            if (width <= 0) {
                width = HelpFormatter.DEFAULT_WIDTH;
            }
    
            pw.println();
    
            formatter.printHelp(
                    pw,
                    width,
                    "mvn [args]",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/archive/tar/strconv_test.go

    		{math.MaxInt64, "\x80\x7f\xff\xff\xff\xff\xff\xff\xff", true},
    		{math.MinInt64, "\xff\x80\x00\x00\x00\x00\x00\x00\x00", true},
    	}
    
    	for _, v := range vectors {
    		var f formatter
    		got := make([]byte, len(v.want))
    		f.formatNumeric(got, v.in)
    		ok := (f.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("formatNumeric(%d): got formatting failure, want success", v.in)
    			} else {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    	// application can only parse GNU formatted archives.
    	//
    	// Reference:
    	//	https://www.gnu.org/software/tar/manual/html_node/Standard.html
    	FormatGNU
    
    	// Schily's tar format, which is incompatible with USTAR.
    	// This does not cover STAR extensions to the PAX format; these fall under
    	// the PAX format.
    	formatSTAR
    
    	formatMax
    )
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Verify.java

     * of {@link java.util.Formatter} specifiers. However, note that if the number of arguments does not
     * match the number of occurrences of {@code "%s"} in the format string, {@code Verify} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Verify.java

     * of {@link java.util.Formatter} specifiers. However, note that if the number of arguments does not
     * match the number of occurrences of {@code "%s"} in the format string, {@code Verify} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  9. pom.xml

    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>com.mycila</groupId>
    				<artifactId>license-maven-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>net.revelc.code.formatter</groupId>
    				<artifactId>formatter-maven-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>net.alchim31.maven</groupId>
    				<artifactId>yuicompressor-maven-plugin</artifactId>
    				<executions>
    					<execution>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                    .filter(rap -> !allAvailableProfiles.contains(rap))
                    .collect(toSet());
    
            if (!notFoundRequiredProfiles.isEmpty()) {
                // Use SLF4J formatter for consistency with warnings reported by logger
                final String message = MessageFormatter.format(
                                "The requested profiles {} could not be activated or deactivated because they do not"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top