- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for formatString (0.2 sec)
-
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) -
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) -
cmd/format_string.go
Krishnan Parthasarathi <******@****.***> 1618853442 -0700
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 737 bytes - Viewed (0) -
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 \
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
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) -
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) -
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) -
.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:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 443 bytes - Viewed (0) -
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) -
cmd/prepare-storage.go
return nil, err } // All disks report unformatted we should initialized everyone. if shouldInitErasureDisks(sErrs) && firstDisk { logger.Info("Formatting %s pool, %v set(s), %v drives per set.", humanize.Ordinal(poolCount), setCount, setDriveCount) // Initialize erasure code format on disks
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1)