Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Ftruncate (0.09 sec)

  1. lib/wasm/wasm_exec.js

    			fchmod(fd, mode, callback) { callback(enosys()); },
    			fchown(fd, uid, gid, callback) { callback(enosys()); },
    			fstat(fd, callback) { callback(enosys()); },
    			fsync(fd, callback) { callback(null); },
    			ftruncate(fd, length, callback) { callback(enosys()); },
    			lchown(path, uid, gid, callback) { callback(enosys()); },
    			link(path, link, callback) { callback(enosys()); },
    			lstat(path, callback) { callback(enosys()); },
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/archive/tar/writer_test.go

    		}
    
    		// The prefix field should never appear in the GNU format.
    		var blk block
    		copy(blk[:], b.Bytes())
    		prefix := string(blk.toUSTAR().prefix())
    		prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator
    		if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) {
    			t.Errorf("test %d, found prefix in GNU format: %s", i, prefix)
    		}
    
    		tr := NewReader(&b)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	KeyMarker string
    
    	// When response is truncated (the IsTruncated element value in the response
    	// is true), you can use the key name in this field as marker in the subsequent
    	// request to get next set of objects. Server lists objects in alphabetical
    	// order Note: This element is returned only if you have delimiter request parameter
    	// specified. If response does not include the NextMaker and it is truncated,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. 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() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. buildscripts/multipart-quorum-test.sh

    	export AWS_SECRET_ACCESS_KEY=minio123
    	aws --endpoint-url http://localhost:"$start_port" s3api create-multipart-upload --bucket bucket --key obj-1 >upload-id.json
    	uploadId=$(jq -r '.UploadId' upload-id.json)
    
    	truncate -s 5MiB file-5mib
    	for i in {1..2}; do
    		aws --endpoint-url http://localhost:"$start_port" s3api upload-part \
    			--upload-id "$uploadId" --bucket bucket --key obj-1 \
    			--part-number "$i" --body ./file-5mib
    	done
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/index.jsp

    									autocomplete="off" />
    							</div>
    						</div>
    						<c:if test="${!empty popularWords}">
    							<div class="clearfix">
    								<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.9K bytes
    - Viewed (0)
Back to top