Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Truncate (0.1 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                // truncate the file
                if(( flags & SmbFile.O_CREAT ) == SmbFile.O_CREAT ) {
                    // create it if necessary
                    openFunction = OPEN_FN_TRUNC | OPEN_FN_CREATE;
                } else {
                    openFunction = OPEN_FN_TRUNC;
                }
            } else {
                // don't truncate the file
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  3. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            // openFunction
            if ( ( flags & SmbConstants.O_TRUNC ) == SmbConstants.O_TRUNC ) {
                // truncate the file
                if ( ( flags & SmbConstants.O_CREAT ) == SmbConstants.O_CREAT ) {
                    // create it if necessary
                    this.openFunction = OPEN_FN_TRUNC | OPEN_FN_CREATE;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  5. 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)
    				}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. 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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. 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())
    				}
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                // truncate the file
                if(( flags & SmbFile.O_CREAT ) == SmbFile.O_CREAT ) {
                    // create it if necessary
                    createDisposition = FILE_OVERWRITE_IF;
                } else {
                    createDisposition = FILE_OVERWRITE;
                }
            } else {
                // don't truncate the file
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top