Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 162 for Ftruncate (0.24 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                // truncate the file
                if ((flags & SmbConstants.O_CREAT) == SmbConstants.O_CREAT) {
                    // create it if necessary
                    this.openFunction = OPEN_FN_TRUNC | OPEN_FN_CREATE;
                } else {
                    this.openFunction = OPEN_FN_TRUNC;
                }
            } else // don't truncate the file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 05:32:37 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    type readBadSeeker struct{ io.ReadSeeker }
    
    func (rbs *readBadSeeker) Seek(int64, int) (int64, error) { return 0, fmt.Errorf("illegal seek") }
    
    // TestReadTruncation test the ending condition on various truncated files and
    // that truncated files are still detected even if the underlying io.Reader
    // satisfies io.Seeker.
    func TestReadTruncation(t *testing.T) {
    	var ss []string
    	for _, p := range []string{
    		"testdata/gnu.tar",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. 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. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. api/go1.20.txt

    pkg syscall (freebsd-riscv64), func Fstatfs(int, *Statfs_t) error #53466
    pkg syscall (freebsd-riscv64), func Fsync(int) error #53466
    pkg syscall (freebsd-riscv64), func Ftruncate(int, int64) error #53466
    pkg syscall (freebsd-riscv64), func Futimes(int, []Timeval) error #53466
    pkg syscall (freebsd-riscv64), func Getdirentries(int, []uint8, *uintptr) (int, error) #53466
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  7. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. 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];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	if err != nil {
    		w.Close()
    		return err
    	}
    
    	if written < fileSize && fileSize >= 0 {
    		if truncate {
    			w.Truncate(0) // zero-in the file size to indicate that its unreadable
    		}
    		w.Close()
    		return errLessData
    	} else if written > fileSize && fileSize >= 0 {
    		if truncate {
    			w.Truncate(0) // zero-in the file size to indicate that its unreadable
    		}
    		w.Close()
    		return errMoreData
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top