- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for truncate (0.04 sec)
-
android/guava/src/com/google/common/base/Ascii.java
* the sequence will be returned as a string with no changes to the content. * * <p>Examples: * * {@snippet : * Ascii.truncate("foobar", 7, "..."); // returns "foobar" * Ascii.truncate("foobar", 5, "..."); // returns "fo..." * } * * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
Registered: 2025-05-30 12:43 - Last Modified: 2025-03-17 20:26 - 21.7K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
ag><Key>tag2</Key><Value>value2</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Truncate(24*time.Hour).UTC().Add(-24*time.Hour).Format(time.RFC3339) + `</Date></Expiration></Rule><Rule><Filter><And><Prefix>abc/</Prefix><Tag><Key>tag2</Key><Value>value</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Truncate(24*time.Hour).UTC().Add(-24*time.Hour).Format(time.RFC3339) + `</Date></Expiration></Rule></LifecycleConfiguration>`,...
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-03 06:45 - 55.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/searchResults.jsp
type="hidden" id="rt" value="${f:h(requestedTime)}" /> <ol class="list-unstyled col-md-8"> <c:forEach var="doc" varStatus="s" items="${documentItems}"> <li id="result${s.index}"> <h3 class="title text-truncate"> <a class="link" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}" data-order="${s.index}">${doc.content_title}</a> </h3> <div class="body">
Registered: 2025-05-26 08:04 - Last Modified: 2025-01-18 05:32 - 9.1K 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: 2025-05-26 08:04 - Last Modified: 2025-01-18 11:38 - 6.8K 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: 2025-05-26 08:04 - Last Modified: 2025-01-18 11:38 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Ascii.java
* the sequence will be returned as a string with no changes to the content. * * <p>Examples: * * {@snippet : * Ascii.truncate("foobar", 7, "..."); // returns "foobar" * Ascii.truncate("foobar", 5, "..."); // returns "fo..." * } * * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
Registered: 2025-05-30 12:43 - Last Modified: 2025-03-17 20:26 - 21.7K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
return int64(f), true } return 0, false } switch x := v.value.(type) { case float64: // Truncate fractional part return int64(x), nil case int64: return x, nil case string: // Parse as number, truncate floating point if // needed. // String might contain trimming spaces, which // needs to be trimmed. res, ok := strToInt(strings.TrimSpace(x)) if !ok {
Registered: 2025-05-25 19:28 - Last Modified: 2025-02-18 16:25 - 13.2K 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: 2025-05-27 11:13 - Last Modified: 2025-05-19 17:38 - 16K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/searchResults.jsp
type="hidden" id="rt" value="${f:h(requestedTime)}" /> <ol class="list-unstyled col-md-8"> <c:forEach var="doc" varStatus="s" items="${documentItems}"> <li id="result${s.index}"> <h3 class="title text-truncate"> <a class="link" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}" data-order="${s.index}">${doc.content_title}</a> </h3> <div class="body">
Registered: 2025-05-26 08:04 - Last Modified: 2025-01-18 05:32 - 9.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
} @Test fun truncatedMetadataEntry() { val response = testCorruptingCache { corruptMetadata { // truncate metadata to 1/4 of length it.substring(0, it.length / 4) } } assertThat(response.body.string()).isEqualTo("ABC.2") // not cached assertThat(cache.requestCount()).isEqualTo(2)
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 6K bytes - Viewed (0)