Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for formatString (0.06 sec)

  1. src/archive/tar/strconv.go

    func (*parser) parseString(b []byte) string {
    	if i := bytes.IndexByte(b, 0); i >= 0 {
    		return string(b[:i])
    	}
    	return string(b)
    }
    
    // formatString copies s into b, NUL-terminating if possible.
    func (f *formatter) formatString(b []byte, s string) {
    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    	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 {
    		return f.err // Should never happen since header is validated
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. README.md

    - **Type Safe** - Comprehensive use of generics and modern Java type system features
    
    ### Additional Components
    - **Text Processing** (`org.codelibs.core.text`) - JSON utilities, tokenization, decimal formatting, and text manipulation
    - **Logging Abstraction** (`org.codelibs.core.log`) - Flexible logging system supporting JCL (Jakarta Commons Logging) and JUL (Java Util Logging)
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Strings.java

       *
       * <ul>
       *   <li>{@code padStart("7", 3, '0')} returns {@code "007"}
       *   <li>{@code padStart("2010", 3, '0')} returns {@code "2010"}
       * </ul>
       *
       * <p>See {@link java.util.Formatter} for a richer set of formatting capabilities.
       *
       * @param string the string which should appear at the end of the result
       * @param minLength the minimum length the resulting string must have. Can be zero or negative, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. .github/workflows/release-branch-cherrypick.yml

        steps:
        - name: Checkout code
          uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          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
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.core.xcontent.XContentHelper;
    import org.opensearch.search.SearchHit;
    
    /**
     * Utility class for search engine operations and content formatting.
     * Provides helper methods for working with XContent builders, scrolling through search results,
     * and converting XContent objects to different output formats.
     */
    public final class SearchEngineUtil {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. 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(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

         */
        public NotificationHelper() {
            // Default constructor
        }
    
        private static final Logger logger = LogManager.getLogger(NotificationHelper.class);
    
        /** Line feed character for message formatting. */
        protected static final char LF = '\n';
    
        /**
         * Sends notifications to configured platforms.
         *
         * @param cardView the card view for the notification
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top