Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 80 for truncatedTo (0.15 seconds)

  1. cmd/perf-tests.go

    				r.Close()
    				if err == nil {
    					response := time.Since(t)
    					ttfb := time.Since(*fbr.t)
    					// Only capture success criteria - do not
    					// have to capture failed reads, truncated
    					// reads etc.
    					atomic.AddUint64(&totalBytesRead, uint64(n))
    					mu.Lock()
    					downloadTimes = append(downloadTimes, response)
    					downloadTTFB = append(downloadTTFB, ttfb)
    					mu.Unlock()
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * @throws SmbException if an I/O error occurs
         */
        public long length() throws SmbException {
            return file.length();
        }
    
        /**
         * Sets the length of the file. The file will be truncated or extended as necessary.
         *
         * @param newLength the new file length in bytes
         * @throws SmbException if an I/O error occurs
         */
        public void setLength(final long newLength) throws SmbException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. internal/s3select/csv/reader_contrib_test.go

    		fieldDelimiter  string
    		sendErr         error
    		header          bool
    		wantColumns     []string
    		wantFields      string
    		wantErr         error
    	}{
    		{
    			file:            "truncated-records.csv",
    			recordDelimiter: "^Y",
    			fieldDelimiter:  ",",
    			header:          true,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        val part = parts.nextPart()!!
        assertThat(part.body.readUtf8()).isEqualTo("abcd")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `truncated multipart`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |efgh
          |
          """.trimMargin()
            .replace("\n", "\r\n")
    
        val parts =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Returns a new {@link ByteSink} for writing bytes to the given file. The given {@code modes}
       * control how the file is opened for writing. When no mode is provided, the file will be
       * truncated before writing. When the {@link FileWriteMode#APPEND APPEND} mode is provided, writes
       * will append to the end of the file without truncating it.
       *
       * @since 14.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * body. If fewer than [byteCount] bytes are in the response body, the full response body is
       * returned. If more than [byteCount] bytes are in the response body, the returned value
       * will be truncated to [byteCount] bytes.
       *
       * It is an error to call this method after the body has been consumed.
       *
       * **Warning:** this method loads the requested bytes into memory. Most applications should set
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. src/archive/tar/writer_test.go

    				Gid:      1000,
    				Uname:    "strings",
    				Gname:    "strings",
    				ModTime:  time.Unix(1314603082, 0),
    			}, nil},
    			testWrite{"", 0, nil},
    
    			testClose{nil},
    		},
    	}, {
    		// The truncated test file was produced using these commands:
    		//   dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt
    		//   tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar
    		file: "testdata/writer-big.tar",
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          this.notAfter = notAfter
        }
    
        /**
         * Sets the certificate to be valid immediately and until the specified duration has elapsed.
         * The precision of this field is seconds; further precision will be truncated.
         */
        fun duration(
          duration: Long,
          unit: TimeUnit,
        ) = apply {
          val now = System.currentTimeMillis()
          validityInterval(now, now + unit.toMillis(duration))
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/io/Files.java

        }
      }
    
      /**
       * Returns a new {@link ByteSink} for writing bytes to the given file. The given {@code modes}
       * control how the file is opened for writing. When no mode is provided, the file will be
       * truncated before writing. When the {@link FileWriteMode#APPEND APPEND} mode is provided, writes
       * will append to the end of the file without truncating it.
       *
       * @since 14.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * If the encoded string exceeds the maximum allowed length, it truncates the string
         * to the specified maximum length.
         *
         * @param text the input text to be encoded
         * @return the encoded string, truncated if necessary
         */
        public static String createSuggestTextId(final String text) {
            final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8));
            if (id.length() > ID_MAX_LENGTH) {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
Back to Top