- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 249 for ftruncate (0.18 sec)
-
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/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) -
cmd/object-api-datatypes.go
type ListObjectVersionsInfo struct { // Indicates whether the returned list objects response is truncated. A // value of true indicates that the list was truncated. The list can be truncated // if the number of objects exceeds the limit allowed or specified // by max keys. IsTruncated bool // When response is truncated (the IsTruncated element value in the response is true),
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 20.8K 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 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 13.2K 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-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) -
okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.2K 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) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Mar 10 09:21:56 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSink.java
@Override public boolean wasStreamClosed() { return outputStreamClosed; } @Override public OutputStream openStream() throws IOException { outputStreamOpened = true; bytes.reset(); // truncate return new Out(); } private final class Out extends TestOutputStream { public Out() throws IOException { super(bytes, options); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.8K bytes - Viewed (0)