- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Trim (0.46 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
assertTrue(responseData.getUrl().endsWith("test/text1.txt")); final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8"); assertEquals("test1", content.trim()); } public void test_doGet_file_with_space() throws Exception { final File file = ResourceUtil.getResourceAsFile("test/text 3.txt"); String path = file.getAbsolutePath();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 8K bytes - Viewed (0) -
src/archive/tar/strconv.go
// Because unused fields are filled with NULs, we need // to skip leading NULs. Fields may also be padded with // spaces or NULs. // So we remove leading and trailing NULs and spaces to // be sure. b = bytes.Trim(b, " \x00") if len(b) == 0 { return 0 } x, perr := strconv.ParseUint(p.parseString(b), 8, 64) if perr != nil { p.err = ErrHeader } return int64(x) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
assertTrue(responseData.getUrl().endsWith("text1.txt")); final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8"); assertEquals("test1", content.trim()); } finally { if (server != null) { server.stop(); } } } public void test_doGet_file_with_space() throws Exception {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 18K bytes - Viewed (0) -
src/bytes/bytes.go
func containsRune(s string, r rune) bool { for _, c := range s { if c == r { return true } } return false } // Trim returns a subslice of s by slicing off all leading and // trailing UTF-8-encoded code points contained in cutset. func Trim(s []byte, cutset string) []byte { if len(s) == 0 { // This is what we've historically done. return nil } if cutset == "" { return s }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* 🌐 Add Korean translation for `docs/ko/docs/python-types.md`. PR [#2267](https://github.com/tiangolo/fastapi/pull/2267) by [@jrim](https://github.com/jrim). * 🌐 Add Korean translation for `docs/ko/docs/tutorial/body-nested-models.md`. PR [#2506](https://github.com/tiangolo/fastapi/pull/2506) by [@hard-coders](https://github.com/hard-coders).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0)