- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for Truncate (0.07 sec)
-
android/guava-tests/test/com/google/common/base/AsciiTest.java
public void testTruncate() { assertEquals("foobar", Ascii.truncate("foobar", 10, "...")); assertEquals("fo...", Ascii.truncate("foobar", 5, "...")); assertEquals("foobar", Ascii.truncate("foobar", 6, "...")); assertEquals("...", Ascii.truncate("foobar", 3, "...")); assertEquals("foobar", Ascii.truncate("foobar", 10, "…")); assertEquals("foo…", Ascii.truncate("foobar", 4, "…"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/search.jsp
</c:forEach> </c:forEach> </c:if> </a></li> </c:if> </ul> <c:if test="${!empty popularWords}"> <div class="row"> <div class="col"> <p class="text-truncate"> <la:message key="labels.search_popular_word_word" /> <c:forEach var="item" varStatus="s" items="${popularWords}"> <c:if test="${s.index < 3}"> <la:link
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/search.jsp
</c:forEach> </c:forEach> </c:if> </a></li> </c:if> </ul> <c:if test="${!empty popularWords}"> <div class="row"> <div class="col"> <p class="text-truncate"> <la:message key="labels.search_popular_word_word" /> <c:forEach var="item" varStatus="s" items="${popularWords}"> <c:if test="${s.index < 3}"> <la:link
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 6.6K bytes - Viewed (0) -
src/bytes/buffer.go
func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) } // Truncate discards all but the first n unread bytes from the buffer // but continues to use the same allocated storage. // It panics if n is negative or greater than the length of the buffer. func (b *Buffer) Truncate(n int) { if n == 0 { b.Reset() return } b.lastRead = opInvalid if n < 0 || n > b.Len() {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 29 16:47:05 UTC 2024 - 15.7K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
export AWS_SECRET_ACCESS_KEY=minio123 aws --endpoint-url http://localhost:"$start_port" s3api create-multipart-upload --bucket bucket --key obj-1 >upload-id.json uploadId=$(jq -r '.UploadId' upload-id.json) truncate -s 5MiB file-5mib for i in {1..2}; do aws --endpoint-url http://localhost:"$start_port" s3api upload-part \ --upload-id "$uploadId" --bucket bucket --key obj-1 \ --part-number "$i" --body ./file-5mib done
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/index.jsp
autocomplete="off" /> </div> </div> <c:if test="${!empty popularWords}"> <div class="clearfix"> <p class="text-truncate"> <la:message key="labels.search_popular_word_word" /> <c:forEach var="item" varStatus="s" items="${popularWords}"> <c:if test="${s.index < 3}"> <la:link
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 6.9K bytes - Viewed (0) -
internal/jwt/parser.go
} bufp := base64BufPool.Get().(*[]byte) defer base64BufPool.Put(bufp) tokenBuf := base64BufPool.Get().(*[]byte) defer base64BufPool.Put(tokenBuf) token := *tokenBuf // Copy token to buffer, truncate to length. token = token[:copy(token[:base64BufferSize], tokenStr)] signer, err := ParseUnverifiedStandardClaims(token, claims, *bufp) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 14.1K bytes - Viewed (0) -
src/bytes/buffer_test.go
t.Errorf("Write: got (%d, %v), want (%d, %v)", n, err, want, nil) } check(t, "TestBasicOperations (6)", &buf, testString[0:26]) buf.Truncate(26) check(t, "TestBasicOperations (7)", &buf, testString[0:26]) buf.Truncate(20) check(t, "TestBasicOperations (8)", &buf, testString[0:20]) empty(t, "TestBasicOperations (9)", &buf, testString[0:20], make([]byte, 5))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/index.jsp
autocomplete="off" /> </div> </div> <c:if test="${!empty popularWords}"> <div class="clearfix"> <p class="text-truncate"> <la:message key="labels.search_popular_word_word" /> <c:forEach var="item" varStatus="s" items="${popularWords}"> <c:if test="${s.index < 3}"> <la:link
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 6.9K bytes - Viewed (0) -
internal/s3select/select.go
} if buf.Bytes()[buf.Len()-1] == '\n' { buf.Truncate(buf.Len() - 1) } buf.WriteString(s3Select.Output.CSVArgs.RecordDelimiter) return nil case jsonFormat: err := record.WriteJSON(buf) if err != nil { return err } // Trim trailing newline from non-simd output if buf.Bytes()[buf.Len()-1] == '\n' { buf.Truncate(buf.Len() - 1) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 21.2K bytes - Viewed (0)