- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for truncate (0.61 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) -
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: * * <pre>{@code * Ascii.truncate("foobar", 7, "..."); // returns "foobar" * Ascii.truncate("foobar", 5, "..."); // returns "fo..." * }</pre> * * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 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: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
utils/tests/utils.go
format := "2006-01-02T15:04:05Z07:00" if curTime.Round(time.Second).UTC().Format(format) != expect.(time.Time).Round(time.Second).UTC().Format(format) && curTime.Truncate(time.Second).UTC().Format(format) != expect.(time.Time).Truncate(time.Second).UTC().Format(format) { t.Errorf("%v: expect: %v, got %v after time round", utils.FileWithLineNum(), expect.(time.Time), curTime) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileWriteMode.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Modes for opening a file for writing. The default when mode when none is specified is to truncate * the file before writing. * * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public enum FileWriteMode {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 1.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: 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) -
cmd/metacache-server-pool.go
return entries, listErr } entries.reuse = true truncated := entries.len() > o.Limit || err == nil entries.truncate(o.Limit) if !o.Transient && truncated { if o.ID == "" { entries.listID = mustGetUUID() } else { entries.listID = o.ID } } if !truncated { return entries, io.EOF } return entries, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 12.7K 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: * * <pre>{@code * Ascii.truncate("foobar", 7, "..."); // returns "foobar" * Ascii.truncate("foobar", 5, "..."); // returns "fo..." * }</pre> * * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 21.7K bytes - Viewed (0) -
common-protos/k8s.io/api/imagepolicy/v1alpha1/generated.proto
optional bool allowed = 1; // Reason should be empty unless Allowed is false in which case it // may contain a short description of what is wrong. Kubernetes // may truncate excessively long errors when displaying to the user. // +optional optional string reason = 2; // AuditAnnotations will be added to the attributes object of the
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 3.2K bytes - Viewed (0)