- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 202 for Ftruncate (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/hash/reader_test.go
}, { desc: "Correct sha256, nested, truncated", src: mustReader(t, bytes.NewReader([]byte("abcd-more-stuff-to-be ignored")), 4, "", "", 4), size: 4, actualSize: -1, sha256hex: "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589", err: ioutil.ErrOverread, }, 7: { desc: "Correct sha256, nested, truncated, swapped",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.2K bytes - Click Count (0) -
internal/s3select/simdj/reader_amd64_test.go
err = rec.WriteJSON(&gotB) if err != nil { t.Error(err) } err = want.WriteJSON(&wantB) if err != nil { t.Error(err) } // truncate newline from 'want' wantB.Truncate(wantB.Len() - 1) if !bytes.Equal(gotB.Bytes(), wantB.Bytes()) { t.Errorf("JSON output mismatch.\nwant: %s\ngot: %s", wantB.String(), gotB.String()) } } }) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (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 { Out() throws IOException { super(bytes, options); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 1.9K bytes - Click Count (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 public enum FileWriteMode { /** Specifies that writes to the opened file should append to the end of the file. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1K bytes - Click Count (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">
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (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:linkCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Jan 18 11:38:54 GMT 2025 - 6.8K bytes - Click Count (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:linkCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
// Verify customData part (should be truncated) byte[] expectedCustomData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; byte[] actualCustomData = new byte[8]; System.arraycopy(value, 8, actualCustomData, 0, 8); assertArrayEquals(expectedCustomData, actualCustomData); // Verify machineId part (should be truncated) byte[] expectedMachineId = new byte[32];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (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() {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0)