- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Truncate (0.19 sec)
-
android/guava-tests/test/com/google/common/base/AsciiTest.java
assertEquals("foobar", Ascii.truncate("foobar", 6, "…")); assertEquals("foob…", Ascii.truncate("foobar", 5, "…")); assertEquals("foo", Ascii.truncate("foobar", 3, "")); assertEquals("", Ascii.truncate("", 5, "")); assertEquals("", Ascii.truncate("", 5, "...")); assertEquals("", Ascii.truncate("", 0, "")); } public void testTruncateIllegalArguments() { try { Ascii.truncate("foobar", 2, "...");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
assertEquals("foobar", Ascii.truncate("foobar", 6, "…")); assertEquals("foob…", Ascii.truncate("foobar", 5, "…")); assertEquals("foo", Ascii.truncate("foobar", 3, "")); assertEquals("", Ascii.truncate("", 5, "")); assertEquals("", Ascii.truncate("", 5, "...")); assertEquals("", Ascii.truncate("", 0, "")); } public void testTruncateIllegalArguments() { try { Ascii.truncate("foobar", 2, "...");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K 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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K 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
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K 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 {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInteger.java
* bits, returns the low 32 bits of the result. * * @since 14.0 */ @J2ktIncompatible @GwtIncompatible // Does not truncate correctly public UnsignedInteger times(UnsignedInteger val) { // TODO(lowasser): make this GWT-compatible return fromIntBits(value * checkNotNull(val).value); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 23 18:45:50 GMT 2023 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
this.fp = fh.getInitialSize(); } init(th); if ( !append && this.smb2 ) { // no open option for truncating, need to truncate the file Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId()); treq.setFileInformation(new FileEndOfFileInformation(0));
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:14:04 GMT 2021 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
.containsExactly("a:1", "b:2", "c:3") .inOrder(); } public void testZipInfiniteWithInfinite() { // zip is doing an infinite zip, but we truncate the result so we can actually test it // but we want the zip itself to work assertThat( Streams.zip( Stream.iterate(1, i -> i + 1).map(String::valueOf),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 22.4K bytes - Viewed (0)