- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for formatString (0.07 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) -
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) -
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) -
.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) -
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) -
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) -
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)